@noosphere/contracts 0.1.0-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +191 -0
- package/dist/index.cjs +8293 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.d.mts +5658 -0
- package/dist/index.d.ts +5658 -0
- package/dist/index.js +8262 -0
- package/dist/index.js.map +1 -0
- package/package.json +66 -0
- package/src/abis/Coordinator.abi.json +920 -0
- package/src/abis/Router.abi.json +1830 -0
- package/src/abis/SubscriptionBatchReader.abi.json +140 -0
- package/src/abis/Wallet.abi.json +842 -0
- package/src/abis/WalletFactory.abi.json +104 -0
|
@@ -0,0 +1,140 @@
|
|
|
1
|
+
[
|
|
2
|
+
{
|
|
3
|
+
"type": "constructor",
|
|
4
|
+
"inputs": [
|
|
5
|
+
{
|
|
6
|
+
"name": "_router",
|
|
7
|
+
"type": "address",
|
|
8
|
+
"internalType": "address"
|
|
9
|
+
},
|
|
10
|
+
{
|
|
11
|
+
"name": "_coordinator",
|
|
12
|
+
"type": "address",
|
|
13
|
+
"internalType": "address"
|
|
14
|
+
}
|
|
15
|
+
],
|
|
16
|
+
"stateMutability": "nonpayable"
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
"type": "function",
|
|
20
|
+
"name": "getIntervalStatuses",
|
|
21
|
+
"inputs": [
|
|
22
|
+
{
|
|
23
|
+
"name": "ids",
|
|
24
|
+
"type": "uint64[]",
|
|
25
|
+
"internalType": "uint64[]"
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
"name": "intervals",
|
|
29
|
+
"type": "uint32[]",
|
|
30
|
+
"internalType": "uint32[]"
|
|
31
|
+
}
|
|
32
|
+
],
|
|
33
|
+
"outputs": [
|
|
34
|
+
{
|
|
35
|
+
"name": "statuses",
|
|
36
|
+
"type": "tuple[]",
|
|
37
|
+
"internalType": "struct SubscriptionBatchReader.IntervalStatus[]",
|
|
38
|
+
"components": [
|
|
39
|
+
{
|
|
40
|
+
"name": "redundancyCount",
|
|
41
|
+
"type": "uint16",
|
|
42
|
+
"internalType": "uint16"
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
"name": "commitmentExists",
|
|
46
|
+
"type": "bool",
|
|
47
|
+
"internalType": "bool"
|
|
48
|
+
}
|
|
49
|
+
]
|
|
50
|
+
}
|
|
51
|
+
],
|
|
52
|
+
"stateMutability": "view"
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
"type": "function",
|
|
56
|
+
"name": "getSubscriptions",
|
|
57
|
+
"inputs": [
|
|
58
|
+
{
|
|
59
|
+
"name": "startId",
|
|
60
|
+
"type": "uint64",
|
|
61
|
+
"internalType": "uint64"
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
"name": "endId",
|
|
65
|
+
"type": "uint64",
|
|
66
|
+
"internalType": "uint64"
|
|
67
|
+
}
|
|
68
|
+
],
|
|
69
|
+
"outputs": [
|
|
70
|
+
{
|
|
71
|
+
"name": "subscriptions",
|
|
72
|
+
"type": "tuple[]",
|
|
73
|
+
"internalType": "struct ComputeSubscription[]",
|
|
74
|
+
"components": [
|
|
75
|
+
{
|
|
76
|
+
"name": "routeId",
|
|
77
|
+
"type": "bytes32",
|
|
78
|
+
"internalType": "bytes32"
|
|
79
|
+
},
|
|
80
|
+
{
|
|
81
|
+
"name": "containerId",
|
|
82
|
+
"type": "bytes32",
|
|
83
|
+
"internalType": "bytes32"
|
|
84
|
+
},
|
|
85
|
+
{
|
|
86
|
+
"name": "feeAmount",
|
|
87
|
+
"type": "uint256",
|
|
88
|
+
"internalType": "uint256"
|
|
89
|
+
},
|
|
90
|
+
{
|
|
91
|
+
"name": "client",
|
|
92
|
+
"type": "address",
|
|
93
|
+
"internalType": "address"
|
|
94
|
+
},
|
|
95
|
+
{
|
|
96
|
+
"name": "activeAt",
|
|
97
|
+
"type": "uint32",
|
|
98
|
+
"internalType": "uint32"
|
|
99
|
+
},
|
|
100
|
+
{
|
|
101
|
+
"name": "intervalSeconds",
|
|
102
|
+
"type": "uint32",
|
|
103
|
+
"internalType": "uint32"
|
|
104
|
+
},
|
|
105
|
+
{
|
|
106
|
+
"name": "maxExecutions",
|
|
107
|
+
"type": "uint32",
|
|
108
|
+
"internalType": "uint32"
|
|
109
|
+
},
|
|
110
|
+
{
|
|
111
|
+
"name": "wallet",
|
|
112
|
+
"type": "address",
|
|
113
|
+
"internalType": "address payable"
|
|
114
|
+
},
|
|
115
|
+
{
|
|
116
|
+
"name": "feeToken",
|
|
117
|
+
"type": "address",
|
|
118
|
+
"internalType": "address"
|
|
119
|
+
},
|
|
120
|
+
{
|
|
121
|
+
"name": "verifier",
|
|
122
|
+
"type": "address",
|
|
123
|
+
"internalType": "address payable"
|
|
124
|
+
},
|
|
125
|
+
{
|
|
126
|
+
"name": "redundancy",
|
|
127
|
+
"type": "uint16",
|
|
128
|
+
"internalType": "uint16"
|
|
129
|
+
},
|
|
130
|
+
{
|
|
131
|
+
"name": "useDeliveryInbox",
|
|
132
|
+
"type": "bool",
|
|
133
|
+
"internalType": "bool"
|
|
134
|
+
}
|
|
135
|
+
]
|
|
136
|
+
}
|
|
137
|
+
],
|
|
138
|
+
"stateMutability": "view"
|
|
139
|
+
}
|
|
140
|
+
]
|