Skip to content

Commit 7a85be0

Browse files
committed
init
0 parents  commit 7a85be0

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

43 files changed

+4202
-0
lines changed

.fluence/aqua-dependencies/package-lock.json

+35
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.fluence/aqua/deals.aqua

+56
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
aqua Deals declares *
2+
3+
data MyDeployment2:
4+
chainNetworkId: u64
5+
dealId: string
6+
dealIdOriginal: string
7+
definition: string
8+
matched: bool
9+
timestamp: string
10+
11+
data MyDeployment3:
12+
chainNetworkId: u64
13+
dealId: string
14+
dealIdOriginal: string
15+
definition: string
16+
matched: bool
17+
timestamp: string
18+
19+
data MyDeployment:
20+
chainNetworkId: u64
21+
dealId: string
22+
dealIdOriginal: string
23+
definition: string
24+
timestamp: string
25+
26+
data Deals:
27+
myDeployment2: ?MyDeployment2
28+
myDeployment3: ?MyDeployment3
29+
myDeployment: ?MyDeployment
30+
31+
func get() -> Deals:
32+
<- Deals(
33+
myDeployment3=?[MyDeployment3(
34+
definition="bafkreihwjgur2lhrlho54ioamyzyqe7qxnkl4r7eyhvupkpnlsnrv4jqfq",
35+
timestamp="2024-05-31T11:31:37.412Z",
36+
dealIdOriginal="0xadeb03C7f210900A7f0521b73A013935C8943C6a",
37+
dealId="adeb03c7f210900a7f0521b73a013935c8943c6a",
38+
chainNetworkId=2358716091832359,
39+
matched=true
40+
)],
41+
myDeployment=?[MyDeployment(
42+
definition="bafkreihwjgur2lhrlho54ioamyzyqe7qxnkl4r7eyhvupkpnlsnrv4jqfq",
43+
timestamp="2024-05-31T11:16:30.226Z",
44+
dealIdOriginal="0x2cD0091c6a04613386af1966aea8183C1070171B",
45+
dealId="2cd0091c6a04613386af1966aea8183c1070171b",
46+
chainNetworkId=2358716091832359
47+
)],
48+
myDeployment2=?[MyDeployment2(
49+
definition="bafkreihwjgur2lhrlho54ioamyzyqe7qxnkl4r7eyhvupkpnlsnrv4jqfq",
50+
timestamp="2024-05-31T11:26:59.551Z",
51+
dealIdOriginal="0x3d0276bD4e2370B56133AE9B3Ebb5ed9ea0b9BED",
52+
dealId="3d0276bd4e2370b56133ae9b3ebb5ed9ea0b9bed",
53+
chainNetworkId=2358716091832359,
54+
matched=false
55+
)]
56+
)

.fluence/aqua/hosts.aqua

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
aqua Hosts declares *
2+
3+
func get() -> ?u8:
4+
<- nil

.fluence/aqua/services.aqua

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
aqua Services declares *
2+
3+
4+
service MyService("myService"):
5+
create_vector(dimension: i32, path: string)
+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
[rpc-endpoint]
2+
host = "0.0.0.0"
3+
port = 9_389
4+
utility-thread-ids = [ 1 ]
5+
6+
[prometheus-endpoint]
7+
host = "0.0.0.0"
8+
port = 9_384
9+
10+
[logs]
11+
report-hashrate = false
12+
log-level = "info"
+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
[rpc-endpoint]
2+
host = "0.0.0.0"
3+
port = 9_389
4+
utility-thread-ids = [ 1 ]
5+
6+
[prometheus-endpoint]
7+
host = "0.0.0.0"
8+
port = 9_384
9+
10+
[logs]
11+
report-hashrate = false
12+
log-level = "info"
+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
[rpc-endpoint]
2+
host = "0.0.0.0"
3+
port = 9_389
4+
utility-thread-ids = [ 1 ]
5+
6+
[prometheus-endpoint]
7+
host = "0.0.0.0"
8+
port = 9_384
9+
10+
[logs]
11+
report-hashrate = false
12+
log-level = "info"

.fluence/configs/nox-0_Config.toml

+39
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
aquavm_pool_size = 2
2+
tcp_port = 7_771
3+
websocket_port = 9_991
4+
http_port = 18_080
5+
tokio_metrics_enabled = true
6+
metrics_enabled = true
7+
metrics_timer_resolution = "1 minute"
8+
9+
[system_services]
10+
enable = [ "aqua-ipfs", "decider" ]
11+
12+
[system_services.decider]
13+
decider_period_sec = 60
14+
worker_ipfs_multiaddr = "/dns4/ipfs/tcp/5001"
15+
network_api_endpoint = "http://chain-rpc:8545"
16+
matcher_address = "0x3Aa5ebB10DC797CAC828524e59A333d0A371443c"
17+
wallet_key = "0x0c7613601b0dbdbed438c69b8d9841ace346f1af420052082d700fc9b7c1305a"
18+
start_block = "earliest"
19+
network_id = 31_337
20+
21+
[system_services.aqua_ipfs]
22+
external_api_multiaddr = "/ip4/127.0.0.1/tcp/5001"
23+
local_api_multiaddr = "/dns4/ipfs/tcp/5001"
24+
ipfs_binary_path = "/usr/bin/ipfs"
25+
26+
[effectors.curl]
27+
wasm_cid = "bafkreids22lgia5bqs63uigw4mqwhsoxvtnkpfqxqy5uwyyerrldsr32ce"
28+
29+
[effectors.curl.allowed_binaries]
30+
curl = "/usr/bin/curl"
31+
32+
[chain_config]
33+
http_endpoint = "http://chain-rpc:8545"
34+
core_contract_address = "0x0B306BF915C4d645ff596e518fAf3F9669b97016"
35+
cc_contract_address = "0xc6e7DF5E7b4f2A278906862b61205850344D4e7d"
36+
market_contract_address = "0x3Aa5ebB10DC797CAC828524e59A333d0A371443c"
37+
network_id = 31_337
38+
wallet_key = "0x0c7613601b0dbdbed438c69b8d9841ace346f1af420052082d700fc9b7c1305a"
39+
default_priority_fee = 0

.fluence/configs/nox-1_Config.toml

+39
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
aquavm_pool_size = 2
2+
tcp_port = 7_772
3+
websocket_port = 9_992
4+
http_port = 18_081
5+
tokio_metrics_enabled = true
6+
metrics_enabled = true
7+
metrics_timer_resolution = "1 minute"
8+
9+
[system_services]
10+
enable = [ "aqua-ipfs", "decider" ]
11+
12+
[system_services.decider]
13+
decider_period_sec = 60
14+
worker_ipfs_multiaddr = "/dns4/ipfs/tcp/5001"
15+
network_api_endpoint = "http://chain-rpc:8545"
16+
matcher_address = "0x3Aa5ebB10DC797CAC828524e59A333d0A371443c"
17+
wallet_key = "0xc3209df2fe66513b25ed83ca86c4f43ddf0770d1f6b68918f166cce9f7016798"
18+
start_block = "earliest"
19+
network_id = 31_337
20+
21+
[system_services.aqua_ipfs]
22+
external_api_multiaddr = "/ip4/127.0.0.1/tcp/5001"
23+
local_api_multiaddr = "/dns4/ipfs/tcp/5001"
24+
ipfs_binary_path = "/usr/bin/ipfs"
25+
26+
[effectors.curl]
27+
wasm_cid = "bafkreids22lgia5bqs63uigw4mqwhsoxvtnkpfqxqy5uwyyerrldsr32ce"
28+
29+
[effectors.curl.allowed_binaries]
30+
curl = "/usr/bin/curl"
31+
32+
[chain_config]
33+
http_endpoint = "http://chain-rpc:8545"
34+
core_contract_address = "0x0B306BF915C4d645ff596e518fAf3F9669b97016"
35+
cc_contract_address = "0xc6e7DF5E7b4f2A278906862b61205850344D4e7d"
36+
market_contract_address = "0x3Aa5ebB10DC797CAC828524e59A333d0A371443c"
37+
network_id = 31_337
38+
wallet_key = "0xc3209df2fe66513b25ed83ca86c4f43ddf0770d1f6b68918f166cce9f7016798"
39+
default_priority_fee = 0

.fluence/configs/nox-2_Config.toml

+39
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
aquavm_pool_size = 2
2+
tcp_port = 7_773
3+
websocket_port = 9_993
4+
http_port = 18_082
5+
tokio_metrics_enabled = true
6+
metrics_enabled = true
7+
metrics_timer_resolution = "1 minute"
8+
9+
[system_services]
10+
enable = [ "aqua-ipfs", "decider" ]
11+
12+
[system_services.decider]
13+
decider_period_sec = 60
14+
worker_ipfs_multiaddr = "/dns4/ipfs/tcp/5001"
15+
network_api_endpoint = "http://chain-rpc:8545"
16+
matcher_address = "0x3Aa5ebB10DC797CAC828524e59A333d0A371443c"
17+
wallet_key = "0xf9ad43b73f976b5fce9b581ab1905c352f0e09e21e20aa89d626330d78e95284"
18+
start_block = "earliest"
19+
network_id = 31_337
20+
21+
[system_services.aqua_ipfs]
22+
external_api_multiaddr = "/ip4/127.0.0.1/tcp/5001"
23+
local_api_multiaddr = "/dns4/ipfs/tcp/5001"
24+
ipfs_binary_path = "/usr/bin/ipfs"
25+
26+
[effectors.curl]
27+
wasm_cid = "bafkreids22lgia5bqs63uigw4mqwhsoxvtnkpfqxqy5uwyyerrldsr32ce"
28+
29+
[effectors.curl.allowed_binaries]
30+
curl = "/usr/bin/curl"
31+
32+
[chain_config]
33+
http_endpoint = "http://chain-rpc:8545"
34+
core_contract_address = "0x0B306BF915C4d645ff596e518fAf3F9669b97016"
35+
cc_contract_address = "0xc6e7DF5E7b4f2A278906862b61205850344D4e7d"
36+
market_contract_address = "0x3Aa5ebB10DC797CAC828524e59A333d0A371443c"
37+
network_id = 31_337
38+
wallet_key = "0xf9ad43b73f976b5fce9b581ab1905c352f0e09e21e20aa89d626330d78e95284"
39+
default_priority_fee = 0

0 commit comments

Comments
 (0)