@nucypher/shared 0.1.0-rc.3 → 0.1.0-rc.5
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 +1 -1
- package/dist/cjs/contracts/agents/coordinator.d.ts +6 -5
- package/dist/cjs/contracts/agents/coordinator.js +11 -9
- package/dist/cjs/contracts/agents/coordinator.js.map +1 -1
- package/dist/cjs/contracts/agents/global-allow-list.js +4 -3
- package/dist/cjs/contracts/agents/global-allow-list.js.map +1 -1
- package/dist/cjs/contracts/agents/subscription-manager.js +4 -3
- package/dist/cjs/contracts/agents/subscription-manager.js.map +1 -1
- package/dist/cjs/contracts/const.d.ts +1 -0
- package/dist/cjs/contracts/const.js +5 -0
- package/dist/cjs/contracts/const.js.map +1 -0
- package/dist/cjs/contracts/ethers-typechain/Coordinator.d.ts +282 -231
- package/dist/cjs/contracts/ethers-typechain/GlobalAllowList.d.ts +32 -348
- package/dist/cjs/contracts/ethers-typechain/SubscriptionManager.d.ts +71 -71
- package/dist/cjs/contracts/ethers-typechain/common.d.ts +3 -3
- package/dist/cjs/contracts/ethers-typechain/factories/Coordinator__factory.d.ts +164 -30
- package/dist/cjs/contracts/ethers-typechain/factories/Coordinator__factory.js +869 -692
- package/dist/cjs/contracts/ethers-typechain/factories/Coordinator__factory.js.map +1 -1
- package/dist/cjs/contracts/ethers-typechain/factories/GlobalAllowList__factory.d.ts +22 -300
- package/dist/cjs/contracts/ethers-typechain/factories/GlobalAllowList__factory.js +80 -435
- package/dist/cjs/contracts/ethers-typechain/factories/GlobalAllowList__factory.js.map +1 -1
- package/dist/cjs/contracts/ethers-typechain/factories/SubscriptionManager__factory.d.ts +3 -3
- package/dist/cjs/contracts/ethers-typechain/factories/SubscriptionManager__factory.js +229 -229
- package/dist/cjs/contracts/ethers-typechain/factories/SubscriptionManager__factory.js.map +1 -1
- package/dist/cjs/contracts/ethers-typechain/factories/index.d.ts +3 -3
- package/dist/cjs/contracts/ethers-typechain/index.d.ts +7 -7
- package/dist/cjs/contracts/index.d.ts +0 -1
- package/dist/cjs/contracts/index.js +0 -1
- package/dist/cjs/contracts/index.js.map +1 -1
- package/dist/cjs/porter.js +1 -1
- package/dist/cjs/porter.js.map +1 -1
- package/dist/cjs/utils.d.ts +1 -1
- package/dist/cjs/utils.js +9 -9
- package/dist/cjs/utils.js.map +1 -1
- package/dist/cjs/web3.d.ts +1 -0
- package/dist/cjs/web3.js +1 -0
- package/dist/cjs/web3.js.map +1 -1
- package/dist/es/contracts/agents/coordinator.d.ts +6 -5
- package/dist/es/contracts/agents/coordinator.js +9 -7
- package/dist/es/contracts/agents/coordinator.js.map +1 -1
- package/dist/es/contracts/agents/global-allow-list.js +2 -1
- package/dist/es/contracts/agents/global-allow-list.js.map +1 -1
- package/dist/es/contracts/agents/subscription-manager.js +2 -1
- package/dist/es/contracts/agents/subscription-manager.js.map +1 -1
- package/dist/es/contracts/const.d.ts +1 -0
- package/dist/es/contracts/const.js +2 -0
- package/dist/es/contracts/const.js.map +1 -0
- package/dist/es/contracts/ethers-typechain/Coordinator.d.ts +282 -231
- package/dist/es/contracts/ethers-typechain/GlobalAllowList.d.ts +32 -348
- package/dist/es/contracts/ethers-typechain/SubscriptionManager.d.ts +71 -71
- package/dist/es/contracts/ethers-typechain/common.d.ts +3 -3
- package/dist/es/contracts/ethers-typechain/factories/Coordinator__factory.d.ts +164 -30
- package/dist/es/contracts/ethers-typechain/factories/Coordinator__factory.js +870 -693
- package/dist/es/contracts/ethers-typechain/factories/Coordinator__factory.js.map +1 -1
- package/dist/es/contracts/ethers-typechain/factories/GlobalAllowList__factory.d.ts +22 -300
- package/dist/es/contracts/ethers-typechain/factories/GlobalAllowList__factory.js +81 -436
- package/dist/es/contracts/ethers-typechain/factories/GlobalAllowList__factory.js.map +1 -1
- package/dist/es/contracts/ethers-typechain/factories/SubscriptionManager__factory.d.ts +3 -3
- package/dist/es/contracts/ethers-typechain/factories/SubscriptionManager__factory.js +230 -230
- package/dist/es/contracts/ethers-typechain/factories/SubscriptionManager__factory.js.map +1 -1
- package/dist/es/contracts/ethers-typechain/factories/index.d.ts +3 -3
- package/dist/es/contracts/ethers-typechain/factories/index.js +3 -3
- package/dist/es/contracts/ethers-typechain/index.d.ts +7 -7
- package/dist/es/contracts/ethers-typechain/index.js +4 -4
- package/dist/es/contracts/index.d.ts +0 -1
- package/dist/es/contracts/index.js +0 -1
- package/dist/es/contracts/index.js.map +1 -1
- package/dist/es/porter.js +1 -1
- package/dist/es/porter.js.map +1 -1
- package/dist/es/utils.d.ts +1 -1
- package/dist/es/utils.js +7 -7
- package/dist/es/utils.js.map +1 -1
- package/dist/es/web3.d.ts +1 -0
- package/dist/es/web3.js +1 -0
- package/dist/es/web3.js.map +1 -1
- package/dist/tsconfig.cjs.tsbuildinfo +1 -1
- package/dist/tsconfig.es.tsbuildinfo +1 -1
- package/package.json +11 -11
- package/dist/cjs/contracts/registry.d.ts +0 -20
- package/dist/cjs/contracts/registry.js +0 -41
- package/dist/cjs/contracts/registry.js.map +0 -1
- package/dist/es/contracts/registry.d.ts +0 -20
- package/dist/es/contracts/registry.js +0 -34
- package/dist/es/contracts/registry.js.map +0 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
import type {
|
|
3
|
-
import type {
|
|
4
|
-
import type {
|
|
1
|
+
import type { EventFragment, FunctionFragment, Result } from '@ethersproject/abi';
|
|
2
|
+
import type { Listener, Provider } from '@ethersproject/providers';
|
|
3
|
+
import type { BaseContract, BigNumber, BigNumberish, BytesLike, CallOverrides, ContractTransaction, Overrides, PopulatedTransaction, Signer, utils } from 'ethers';
|
|
4
|
+
import type { OnEvent, TypedEvent, TypedEventFilter, TypedListener } from './common';
|
|
5
5
|
export declare namespace BLS12381 {
|
|
6
6
|
type G2PointStruct = {
|
|
7
7
|
word0: BytesLike;
|
|
@@ -38,202 +38,211 @@ export declare namespace Coordinator {
|
|
|
38
38
|
}
|
|
39
39
|
export interface CoordinatorInterface extends utils.Interface {
|
|
40
40
|
functions: {
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
41
|
+
'DEFAULT_ADMIN_ROLE()': FunctionFragment;
|
|
42
|
+
'INITIATOR_ROLE()': FunctionFragment;
|
|
43
|
+
'TREASURY_ROLE()': FunctionFragment;
|
|
44
|
+
'acceptDefaultAdminTransfer()': FunctionFragment;
|
|
45
|
+
'application()': FunctionFragment;
|
|
46
|
+
'beginDefaultAdminTransfer(address)': FunctionFragment;
|
|
47
|
+
'cancelDefaultAdminTransfer()': FunctionFragment;
|
|
48
|
+
'changeDefaultAdminDelay(uint48)': FunctionFragment;
|
|
49
|
+
'cohortFingerprint(address[])': FunctionFragment;
|
|
50
|
+
'currency()': FunctionFragment;
|
|
51
|
+
'defaultAdmin()': FunctionFragment;
|
|
52
|
+
'defaultAdminDelay()': FunctionFragment;
|
|
53
|
+
'defaultAdminDelayIncreaseWait()': FunctionFragment;
|
|
54
|
+
'feeRatePerSecond()': FunctionFragment;
|
|
55
|
+
'getAuthority(uint32)': FunctionFragment;
|
|
56
|
+
'getParticipantFromProvider(uint32,address)': FunctionFragment;
|
|
57
|
+
'getParticipants(uint32)': FunctionFragment;
|
|
58
|
+
'getProviderPublicKey(address,uint256)': FunctionFragment;
|
|
59
|
+
'getPublicKeyFromRitualId(uint32)': FunctionFragment;
|
|
60
|
+
'getRitualIdFromPublicKey((bytes32,bytes16))': FunctionFragment;
|
|
61
|
+
'getRitualInitiationCost(address[],uint32)': FunctionFragment;
|
|
62
|
+
'getRitualState(uint32)': FunctionFragment;
|
|
63
|
+
'getRoleAdmin(bytes32)': FunctionFragment;
|
|
64
|
+
'getThresholdForRitualSize(uint16)': FunctionFragment;
|
|
65
|
+
'grantRole(bytes32,address)': FunctionFragment;
|
|
66
|
+
'hasRole(bytes32,address)': FunctionFragment;
|
|
67
|
+
'initialize(uint32,uint16,address)': FunctionFragment;
|
|
68
|
+
'initiateRitual(address[],address,uint32,address)': FunctionFragment;
|
|
69
|
+
'isEncryptionAuthorized(uint32,bytes,bytes)': FunctionFragment;
|
|
70
|
+
'isInitiationPublic()': FunctionFragment;
|
|
71
|
+
'isProviderPublicKeySet(address)': FunctionFragment;
|
|
72
|
+
'isRitualActive(uint32)': FunctionFragment;
|
|
73
|
+
'makeInitiationPublic()': FunctionFragment;
|
|
74
|
+
'maxDkgSize()': FunctionFragment;
|
|
75
|
+
'numberOfRituals()': FunctionFragment;
|
|
76
|
+
'owner()': FunctionFragment;
|
|
77
|
+
'pendingDefaultAdmin()': FunctionFragment;
|
|
78
|
+
'pendingDefaultAdminDelay()': FunctionFragment;
|
|
79
|
+
'pendingFees(uint256)': FunctionFragment;
|
|
80
|
+
'postAggregation(uint32,bytes,(bytes32,bytes16),bytes)': FunctionFragment;
|
|
81
|
+
'postTranscript(uint32,bytes)': FunctionFragment;
|
|
82
|
+
'processPendingFee(uint32)': FunctionFragment;
|
|
83
|
+
'renounceRole(bytes32,address)': FunctionFragment;
|
|
84
|
+
'revokeRole(bytes32,address)': FunctionFragment;
|
|
85
|
+
'rituals(uint256)': FunctionFragment;
|
|
86
|
+
'rollbackDefaultAdminDelay()': FunctionFragment;
|
|
87
|
+
'setMaxDkgSize(uint16)': FunctionFragment;
|
|
88
|
+
'setProviderPublicKey((bytes32,bytes32,bytes32))': FunctionFragment;
|
|
89
|
+
'setReimbursementPool(address)': FunctionFragment;
|
|
90
|
+
'setTimeout(uint32)': FunctionFragment;
|
|
91
|
+
'supportsInterface(bytes4)': FunctionFragment;
|
|
92
|
+
'timeout()': FunctionFragment;
|
|
93
|
+
'totalPendingFees()': FunctionFragment;
|
|
94
|
+
'transferRitualAuthority(uint32,address)': FunctionFragment;
|
|
95
|
+
'withdrawTokens(address,uint256)': FunctionFragment;
|
|
95
96
|
};
|
|
96
|
-
getFunction(nameOrSignatureOrTopic:
|
|
97
|
-
encodeFunctionData(functionFragment:
|
|
98
|
-
encodeFunctionData(functionFragment:
|
|
99
|
-
encodeFunctionData(functionFragment:
|
|
100
|
-
encodeFunctionData(functionFragment:
|
|
101
|
-
encodeFunctionData(functionFragment:
|
|
102
|
-
encodeFunctionData(functionFragment:
|
|
103
|
-
encodeFunctionData(functionFragment:
|
|
104
|
-
encodeFunctionData(functionFragment:
|
|
105
|
-
encodeFunctionData(functionFragment:
|
|
106
|
-
encodeFunctionData(functionFragment:
|
|
107
|
-
encodeFunctionData(functionFragment:
|
|
108
|
-
encodeFunctionData(functionFragment:
|
|
109
|
-
encodeFunctionData(functionFragment:
|
|
110
|
-
encodeFunctionData(functionFragment:
|
|
111
|
-
encodeFunctionData(functionFragment:
|
|
112
|
-
encodeFunctionData(functionFragment:
|
|
113
|
-
encodeFunctionData(functionFragment:
|
|
114
|
-
encodeFunctionData(functionFragment:
|
|
115
|
-
encodeFunctionData(functionFragment:
|
|
116
|
-
encodeFunctionData(functionFragment:
|
|
117
|
-
encodeFunctionData(functionFragment:
|
|
118
|
-
encodeFunctionData(functionFragment:
|
|
119
|
-
encodeFunctionData(functionFragment:
|
|
120
|
-
encodeFunctionData(functionFragment:
|
|
121
|
-
encodeFunctionData(functionFragment:
|
|
122
|
-
encodeFunctionData(functionFragment:
|
|
123
|
-
encodeFunctionData(functionFragment:
|
|
124
|
-
encodeFunctionData(functionFragment:
|
|
125
|
-
encodeFunctionData(functionFragment:
|
|
126
|
-
encodeFunctionData(functionFragment:
|
|
127
|
-
encodeFunctionData(functionFragment:
|
|
128
|
-
encodeFunctionData(functionFragment:
|
|
129
|
-
encodeFunctionData(functionFragment:
|
|
130
|
-
encodeFunctionData(functionFragment:
|
|
131
|
-
encodeFunctionData(functionFragment:
|
|
132
|
-
encodeFunctionData(functionFragment:
|
|
133
|
-
encodeFunctionData(functionFragment:
|
|
134
|
-
encodeFunctionData(functionFragment:
|
|
135
|
-
encodeFunctionData(functionFragment:
|
|
136
|
-
encodeFunctionData(functionFragment:
|
|
137
|
-
encodeFunctionData(functionFragment:
|
|
138
|
-
encodeFunctionData(functionFragment:
|
|
139
|
-
encodeFunctionData(functionFragment:
|
|
140
|
-
encodeFunctionData(functionFragment:
|
|
141
|
-
encodeFunctionData(functionFragment:
|
|
142
|
-
encodeFunctionData(functionFragment:
|
|
143
|
-
encodeFunctionData(functionFragment:
|
|
144
|
-
encodeFunctionData(functionFragment:
|
|
145
|
-
encodeFunctionData(functionFragment:
|
|
146
|
-
encodeFunctionData(functionFragment:
|
|
147
|
-
encodeFunctionData(functionFragment:
|
|
148
|
-
encodeFunctionData(functionFragment:
|
|
149
|
-
encodeFunctionData(functionFragment:
|
|
150
|
-
encodeFunctionData(functionFragment:
|
|
151
|
-
|
|
152
|
-
decodeFunctionResult(functionFragment:
|
|
153
|
-
decodeFunctionResult(functionFragment:
|
|
154
|
-
decodeFunctionResult(functionFragment:
|
|
155
|
-
decodeFunctionResult(functionFragment:
|
|
156
|
-
decodeFunctionResult(functionFragment:
|
|
157
|
-
decodeFunctionResult(functionFragment:
|
|
158
|
-
decodeFunctionResult(functionFragment:
|
|
159
|
-
decodeFunctionResult(functionFragment:
|
|
160
|
-
decodeFunctionResult(functionFragment:
|
|
161
|
-
decodeFunctionResult(functionFragment:
|
|
162
|
-
decodeFunctionResult(functionFragment:
|
|
163
|
-
decodeFunctionResult(functionFragment:
|
|
164
|
-
decodeFunctionResult(functionFragment:
|
|
165
|
-
decodeFunctionResult(functionFragment:
|
|
166
|
-
decodeFunctionResult(functionFragment:
|
|
167
|
-
decodeFunctionResult(functionFragment:
|
|
168
|
-
decodeFunctionResult(functionFragment:
|
|
169
|
-
decodeFunctionResult(functionFragment:
|
|
170
|
-
decodeFunctionResult(functionFragment:
|
|
171
|
-
decodeFunctionResult(functionFragment:
|
|
172
|
-
decodeFunctionResult(functionFragment:
|
|
173
|
-
decodeFunctionResult(functionFragment:
|
|
174
|
-
decodeFunctionResult(functionFragment:
|
|
175
|
-
decodeFunctionResult(functionFragment:
|
|
176
|
-
decodeFunctionResult(functionFragment:
|
|
177
|
-
decodeFunctionResult(functionFragment:
|
|
178
|
-
decodeFunctionResult(functionFragment:
|
|
179
|
-
decodeFunctionResult(functionFragment:
|
|
180
|
-
decodeFunctionResult(functionFragment:
|
|
181
|
-
decodeFunctionResult(functionFragment:
|
|
182
|
-
decodeFunctionResult(functionFragment:
|
|
183
|
-
decodeFunctionResult(functionFragment:
|
|
184
|
-
decodeFunctionResult(functionFragment:
|
|
185
|
-
decodeFunctionResult(functionFragment:
|
|
186
|
-
decodeFunctionResult(functionFragment:
|
|
187
|
-
decodeFunctionResult(functionFragment:
|
|
188
|
-
decodeFunctionResult(functionFragment:
|
|
189
|
-
decodeFunctionResult(functionFragment:
|
|
190
|
-
decodeFunctionResult(functionFragment:
|
|
191
|
-
decodeFunctionResult(functionFragment:
|
|
192
|
-
decodeFunctionResult(functionFragment:
|
|
193
|
-
decodeFunctionResult(functionFragment:
|
|
194
|
-
decodeFunctionResult(functionFragment:
|
|
195
|
-
decodeFunctionResult(functionFragment:
|
|
196
|
-
decodeFunctionResult(functionFragment:
|
|
197
|
-
decodeFunctionResult(functionFragment:
|
|
198
|
-
decodeFunctionResult(functionFragment:
|
|
199
|
-
decodeFunctionResult(functionFragment:
|
|
200
|
-
decodeFunctionResult(functionFragment:
|
|
201
|
-
decodeFunctionResult(functionFragment:
|
|
202
|
-
decodeFunctionResult(functionFragment:
|
|
203
|
-
decodeFunctionResult(functionFragment:
|
|
204
|
-
decodeFunctionResult(functionFragment:
|
|
97
|
+
getFunction(nameOrSignatureOrTopic: 'DEFAULT_ADMIN_ROLE' | 'INITIATOR_ROLE' | 'TREASURY_ROLE' | 'acceptDefaultAdminTransfer' | 'application' | 'beginDefaultAdminTransfer' | 'cancelDefaultAdminTransfer' | 'changeDefaultAdminDelay' | 'cohortFingerprint' | 'currency' | 'defaultAdmin' | 'defaultAdminDelay' | 'defaultAdminDelayIncreaseWait' | 'feeRatePerSecond' | 'getAuthority' | 'getParticipantFromProvider' | 'getParticipants' | 'getProviderPublicKey' | 'getPublicKeyFromRitualId' | 'getRitualIdFromPublicKey' | 'getRitualInitiationCost' | 'getRitualState' | 'getRoleAdmin' | 'getThresholdForRitualSize' | 'grantRole' | 'hasRole' | 'initialize' | 'initiateRitual' | 'isEncryptionAuthorized' | 'isInitiationPublic' | 'isProviderPublicKeySet' | 'isRitualActive' | 'makeInitiationPublic' | 'maxDkgSize' | 'numberOfRituals' | 'owner' | 'pendingDefaultAdmin' | 'pendingDefaultAdminDelay' | 'pendingFees' | 'postAggregation' | 'postTranscript' | 'processPendingFee' | 'renounceRole' | 'revokeRole' | 'rituals' | 'rollbackDefaultAdminDelay' | 'setMaxDkgSize' | 'setProviderPublicKey' | 'setReimbursementPool' | 'setTimeout' | 'supportsInterface' | 'timeout' | 'totalPendingFees' | 'transferRitualAuthority' | 'withdrawTokens'): FunctionFragment;
|
|
98
|
+
encodeFunctionData(functionFragment: 'DEFAULT_ADMIN_ROLE', values?: undefined): string;
|
|
99
|
+
encodeFunctionData(functionFragment: 'INITIATOR_ROLE', values?: undefined): string;
|
|
100
|
+
encodeFunctionData(functionFragment: 'TREASURY_ROLE', values?: undefined): string;
|
|
101
|
+
encodeFunctionData(functionFragment: 'acceptDefaultAdminTransfer', values?: undefined): string;
|
|
102
|
+
encodeFunctionData(functionFragment: 'application', values?: undefined): string;
|
|
103
|
+
encodeFunctionData(functionFragment: 'beginDefaultAdminTransfer', values: [string]): string;
|
|
104
|
+
encodeFunctionData(functionFragment: 'cancelDefaultAdminTransfer', values?: undefined): string;
|
|
105
|
+
encodeFunctionData(functionFragment: 'changeDefaultAdminDelay', values: [BigNumberish]): string;
|
|
106
|
+
encodeFunctionData(functionFragment: 'cohortFingerprint', values: [string[]]): string;
|
|
107
|
+
encodeFunctionData(functionFragment: 'currency', values?: undefined): string;
|
|
108
|
+
encodeFunctionData(functionFragment: 'defaultAdmin', values?: undefined): string;
|
|
109
|
+
encodeFunctionData(functionFragment: 'defaultAdminDelay', values?: undefined): string;
|
|
110
|
+
encodeFunctionData(functionFragment: 'defaultAdminDelayIncreaseWait', values?: undefined): string;
|
|
111
|
+
encodeFunctionData(functionFragment: 'feeRatePerSecond', values?: undefined): string;
|
|
112
|
+
encodeFunctionData(functionFragment: 'getAuthority', values: [BigNumberish]): string;
|
|
113
|
+
encodeFunctionData(functionFragment: 'getParticipantFromProvider', values: [BigNumberish, string]): string;
|
|
114
|
+
encodeFunctionData(functionFragment: 'getParticipants', values: [BigNumberish]): string;
|
|
115
|
+
encodeFunctionData(functionFragment: 'getProviderPublicKey', values: [string, BigNumberish]): string;
|
|
116
|
+
encodeFunctionData(functionFragment: 'getPublicKeyFromRitualId', values: [BigNumberish]): string;
|
|
117
|
+
encodeFunctionData(functionFragment: 'getRitualIdFromPublicKey', values: [BLS12381.G1PointStruct]): string;
|
|
118
|
+
encodeFunctionData(functionFragment: 'getRitualInitiationCost', values: [string[], BigNumberish]): string;
|
|
119
|
+
encodeFunctionData(functionFragment: 'getRitualState', values: [BigNumberish]): string;
|
|
120
|
+
encodeFunctionData(functionFragment: 'getRoleAdmin', values: [BytesLike]): string;
|
|
121
|
+
encodeFunctionData(functionFragment: 'getThresholdForRitualSize', values: [BigNumberish]): string;
|
|
122
|
+
encodeFunctionData(functionFragment: 'grantRole', values: [BytesLike, string]): string;
|
|
123
|
+
encodeFunctionData(functionFragment: 'hasRole', values: [BytesLike, string]): string;
|
|
124
|
+
encodeFunctionData(functionFragment: 'initialize', values: [BigNumberish, BigNumberish, string]): string;
|
|
125
|
+
encodeFunctionData(functionFragment: 'initiateRitual', values: [string[], string, BigNumberish, string]): string;
|
|
126
|
+
encodeFunctionData(functionFragment: 'isEncryptionAuthorized', values: [BigNumberish, BytesLike, BytesLike]): string;
|
|
127
|
+
encodeFunctionData(functionFragment: 'isInitiationPublic', values?: undefined): string;
|
|
128
|
+
encodeFunctionData(functionFragment: 'isProviderPublicKeySet', values: [string]): string;
|
|
129
|
+
encodeFunctionData(functionFragment: 'isRitualActive', values: [BigNumberish]): string;
|
|
130
|
+
encodeFunctionData(functionFragment: 'makeInitiationPublic', values?: undefined): string;
|
|
131
|
+
encodeFunctionData(functionFragment: 'maxDkgSize', values?: undefined): string;
|
|
132
|
+
encodeFunctionData(functionFragment: 'numberOfRituals', values?: undefined): string;
|
|
133
|
+
encodeFunctionData(functionFragment: 'owner', values?: undefined): string;
|
|
134
|
+
encodeFunctionData(functionFragment: 'pendingDefaultAdmin', values?: undefined): string;
|
|
135
|
+
encodeFunctionData(functionFragment: 'pendingDefaultAdminDelay', values?: undefined): string;
|
|
136
|
+
encodeFunctionData(functionFragment: 'pendingFees', values: [BigNumberish]): string;
|
|
137
|
+
encodeFunctionData(functionFragment: 'postAggregation', values: [BigNumberish, BytesLike, BLS12381.G1PointStruct, BytesLike]): string;
|
|
138
|
+
encodeFunctionData(functionFragment: 'postTranscript', values: [BigNumberish, BytesLike]): string;
|
|
139
|
+
encodeFunctionData(functionFragment: 'processPendingFee', values: [BigNumberish]): string;
|
|
140
|
+
encodeFunctionData(functionFragment: 'renounceRole', values: [BytesLike, string]): string;
|
|
141
|
+
encodeFunctionData(functionFragment: 'revokeRole', values: [BytesLike, string]): string;
|
|
142
|
+
encodeFunctionData(functionFragment: 'rituals', values: [BigNumberish]): string;
|
|
143
|
+
encodeFunctionData(functionFragment: 'rollbackDefaultAdminDelay', values?: undefined): string;
|
|
144
|
+
encodeFunctionData(functionFragment: 'setMaxDkgSize', values: [BigNumberish]): string;
|
|
145
|
+
encodeFunctionData(functionFragment: 'setProviderPublicKey', values: [BLS12381.G2PointStruct]): string;
|
|
146
|
+
encodeFunctionData(functionFragment: 'setReimbursementPool', values: [string]): string;
|
|
147
|
+
encodeFunctionData(functionFragment: 'setTimeout', values: [BigNumberish]): string;
|
|
148
|
+
encodeFunctionData(functionFragment: 'supportsInterface', values: [BytesLike]): string;
|
|
149
|
+
encodeFunctionData(functionFragment: 'timeout', values?: undefined): string;
|
|
150
|
+
encodeFunctionData(functionFragment: 'totalPendingFees', values?: undefined): string;
|
|
151
|
+
encodeFunctionData(functionFragment: 'transferRitualAuthority', values: [BigNumberish, string]): string;
|
|
152
|
+
encodeFunctionData(functionFragment: 'withdrawTokens', values: [string, BigNumberish]): string;
|
|
153
|
+
decodeFunctionResult(functionFragment: 'DEFAULT_ADMIN_ROLE', data: BytesLike): Result;
|
|
154
|
+
decodeFunctionResult(functionFragment: 'INITIATOR_ROLE', data: BytesLike): Result;
|
|
155
|
+
decodeFunctionResult(functionFragment: 'TREASURY_ROLE', data: BytesLike): Result;
|
|
156
|
+
decodeFunctionResult(functionFragment: 'acceptDefaultAdminTransfer', data: BytesLike): Result;
|
|
157
|
+
decodeFunctionResult(functionFragment: 'application', data: BytesLike): Result;
|
|
158
|
+
decodeFunctionResult(functionFragment: 'beginDefaultAdminTransfer', data: BytesLike): Result;
|
|
159
|
+
decodeFunctionResult(functionFragment: 'cancelDefaultAdminTransfer', data: BytesLike): Result;
|
|
160
|
+
decodeFunctionResult(functionFragment: 'changeDefaultAdminDelay', data: BytesLike): Result;
|
|
161
|
+
decodeFunctionResult(functionFragment: 'cohortFingerprint', data: BytesLike): Result;
|
|
162
|
+
decodeFunctionResult(functionFragment: 'currency', data: BytesLike): Result;
|
|
163
|
+
decodeFunctionResult(functionFragment: 'defaultAdmin', data: BytesLike): Result;
|
|
164
|
+
decodeFunctionResult(functionFragment: 'defaultAdminDelay', data: BytesLike): Result;
|
|
165
|
+
decodeFunctionResult(functionFragment: 'defaultAdminDelayIncreaseWait', data: BytesLike): Result;
|
|
166
|
+
decodeFunctionResult(functionFragment: 'feeRatePerSecond', data: BytesLike): Result;
|
|
167
|
+
decodeFunctionResult(functionFragment: 'getAuthority', data: BytesLike): Result;
|
|
168
|
+
decodeFunctionResult(functionFragment: 'getParticipantFromProvider', data: BytesLike): Result;
|
|
169
|
+
decodeFunctionResult(functionFragment: 'getParticipants', data: BytesLike): Result;
|
|
170
|
+
decodeFunctionResult(functionFragment: 'getProviderPublicKey', data: BytesLike): Result;
|
|
171
|
+
decodeFunctionResult(functionFragment: 'getPublicKeyFromRitualId', data: BytesLike): Result;
|
|
172
|
+
decodeFunctionResult(functionFragment: 'getRitualIdFromPublicKey', data: BytesLike): Result;
|
|
173
|
+
decodeFunctionResult(functionFragment: 'getRitualInitiationCost', data: BytesLike): Result;
|
|
174
|
+
decodeFunctionResult(functionFragment: 'getRitualState', data: BytesLike): Result;
|
|
175
|
+
decodeFunctionResult(functionFragment: 'getRoleAdmin', data: BytesLike): Result;
|
|
176
|
+
decodeFunctionResult(functionFragment: 'getThresholdForRitualSize', data: BytesLike): Result;
|
|
177
|
+
decodeFunctionResult(functionFragment: 'grantRole', data: BytesLike): Result;
|
|
178
|
+
decodeFunctionResult(functionFragment: 'hasRole', data: BytesLike): Result;
|
|
179
|
+
decodeFunctionResult(functionFragment: 'initialize', data: BytesLike): Result;
|
|
180
|
+
decodeFunctionResult(functionFragment: 'initiateRitual', data: BytesLike): Result;
|
|
181
|
+
decodeFunctionResult(functionFragment: 'isEncryptionAuthorized', data: BytesLike): Result;
|
|
182
|
+
decodeFunctionResult(functionFragment: 'isInitiationPublic', data: BytesLike): Result;
|
|
183
|
+
decodeFunctionResult(functionFragment: 'isProviderPublicKeySet', data: BytesLike): Result;
|
|
184
|
+
decodeFunctionResult(functionFragment: 'isRitualActive', data: BytesLike): Result;
|
|
185
|
+
decodeFunctionResult(functionFragment: 'makeInitiationPublic', data: BytesLike): Result;
|
|
186
|
+
decodeFunctionResult(functionFragment: 'maxDkgSize', data: BytesLike): Result;
|
|
187
|
+
decodeFunctionResult(functionFragment: 'numberOfRituals', data: BytesLike): Result;
|
|
188
|
+
decodeFunctionResult(functionFragment: 'owner', data: BytesLike): Result;
|
|
189
|
+
decodeFunctionResult(functionFragment: 'pendingDefaultAdmin', data: BytesLike): Result;
|
|
190
|
+
decodeFunctionResult(functionFragment: 'pendingDefaultAdminDelay', data: BytesLike): Result;
|
|
191
|
+
decodeFunctionResult(functionFragment: 'pendingFees', data: BytesLike): Result;
|
|
192
|
+
decodeFunctionResult(functionFragment: 'postAggregation', data: BytesLike): Result;
|
|
193
|
+
decodeFunctionResult(functionFragment: 'postTranscript', data: BytesLike): Result;
|
|
194
|
+
decodeFunctionResult(functionFragment: 'processPendingFee', data: BytesLike): Result;
|
|
195
|
+
decodeFunctionResult(functionFragment: 'renounceRole', data: BytesLike): Result;
|
|
196
|
+
decodeFunctionResult(functionFragment: 'revokeRole', data: BytesLike): Result;
|
|
197
|
+
decodeFunctionResult(functionFragment: 'rituals', data: BytesLike): Result;
|
|
198
|
+
decodeFunctionResult(functionFragment: 'rollbackDefaultAdminDelay', data: BytesLike): Result;
|
|
199
|
+
decodeFunctionResult(functionFragment: 'setMaxDkgSize', data: BytesLike): Result;
|
|
200
|
+
decodeFunctionResult(functionFragment: 'setProviderPublicKey', data: BytesLike): Result;
|
|
201
|
+
decodeFunctionResult(functionFragment: 'setReimbursementPool', data: BytesLike): Result;
|
|
202
|
+
decodeFunctionResult(functionFragment: 'setTimeout', data: BytesLike): Result;
|
|
203
|
+
decodeFunctionResult(functionFragment: 'supportsInterface', data: BytesLike): Result;
|
|
204
|
+
decodeFunctionResult(functionFragment: 'timeout', data: BytesLike): Result;
|
|
205
|
+
decodeFunctionResult(functionFragment: 'totalPendingFees', data: BytesLike): Result;
|
|
206
|
+
decodeFunctionResult(functionFragment: 'transferRitualAuthority', data: BytesLike): Result;
|
|
207
|
+
decodeFunctionResult(functionFragment: 'withdrawTokens', data: BytesLike): Result;
|
|
205
208
|
events: {
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
209
|
+
'AggregationPosted(uint32,address,bytes32)': EventFragment;
|
|
210
|
+
'DefaultAdminDelayChangeCanceled()': EventFragment;
|
|
211
|
+
'DefaultAdminDelayChangeScheduled(uint48,uint48)': EventFragment;
|
|
212
|
+
'DefaultAdminTransferCanceled()': EventFragment;
|
|
213
|
+
'DefaultAdminTransferScheduled(address,uint48)': EventFragment;
|
|
214
|
+
'EndRitual(uint32,bool)': EventFragment;
|
|
215
|
+
'Initialized(uint64)': EventFragment;
|
|
216
|
+
'MaxDkgSizeChanged(uint16,uint16)': EventFragment;
|
|
217
|
+
'ParticipantPublicKeySet(uint32,address,(bytes32,bytes32,bytes32))': EventFragment;
|
|
218
|
+
'ReimbursementPoolSet(address)': EventFragment;
|
|
219
|
+
'RitualAuthorityTransferred(uint32,address,address)': EventFragment;
|
|
220
|
+
'RoleAdminChanged(bytes32,bytes32,bytes32)': EventFragment;
|
|
221
|
+
'RoleGranted(bytes32,address,address)': EventFragment;
|
|
222
|
+
'RoleRevoked(bytes32,address,address)': EventFragment;
|
|
223
|
+
'StartAggregationRound(uint32)': EventFragment;
|
|
224
|
+
'StartRitual(uint32,address,address[])': EventFragment;
|
|
225
|
+
'TimeoutChanged(uint32,uint32)': EventFragment;
|
|
226
|
+
'TranscriptPosted(uint32,address,bytes32)': EventFragment;
|
|
221
227
|
};
|
|
222
|
-
getEvent(nameOrSignatureOrTopic:
|
|
223
|
-
getEvent(nameOrSignatureOrTopic:
|
|
224
|
-
getEvent(nameOrSignatureOrTopic:
|
|
225
|
-
getEvent(nameOrSignatureOrTopic:
|
|
226
|
-
getEvent(nameOrSignatureOrTopic:
|
|
227
|
-
getEvent(nameOrSignatureOrTopic:
|
|
228
|
-
getEvent(nameOrSignatureOrTopic:
|
|
229
|
-
getEvent(nameOrSignatureOrTopic:
|
|
230
|
-
getEvent(nameOrSignatureOrTopic:
|
|
231
|
-
getEvent(nameOrSignatureOrTopic:
|
|
232
|
-
getEvent(nameOrSignatureOrTopic:
|
|
233
|
-
getEvent(nameOrSignatureOrTopic:
|
|
234
|
-
getEvent(nameOrSignatureOrTopic:
|
|
235
|
-
getEvent(nameOrSignatureOrTopic:
|
|
236
|
-
getEvent(nameOrSignatureOrTopic:
|
|
228
|
+
getEvent(nameOrSignatureOrTopic: 'AggregationPosted'): EventFragment;
|
|
229
|
+
getEvent(nameOrSignatureOrTopic: 'DefaultAdminDelayChangeCanceled'): EventFragment;
|
|
230
|
+
getEvent(nameOrSignatureOrTopic: 'DefaultAdminDelayChangeScheduled'): EventFragment;
|
|
231
|
+
getEvent(nameOrSignatureOrTopic: 'DefaultAdminTransferCanceled'): EventFragment;
|
|
232
|
+
getEvent(nameOrSignatureOrTopic: 'DefaultAdminTransferScheduled'): EventFragment;
|
|
233
|
+
getEvent(nameOrSignatureOrTopic: 'EndRitual'): EventFragment;
|
|
234
|
+
getEvent(nameOrSignatureOrTopic: 'Initialized'): EventFragment;
|
|
235
|
+
getEvent(nameOrSignatureOrTopic: 'MaxDkgSizeChanged'): EventFragment;
|
|
236
|
+
getEvent(nameOrSignatureOrTopic: 'ParticipantPublicKeySet'): EventFragment;
|
|
237
|
+
getEvent(nameOrSignatureOrTopic: 'ReimbursementPoolSet'): EventFragment;
|
|
238
|
+
getEvent(nameOrSignatureOrTopic: 'RitualAuthorityTransferred'): EventFragment;
|
|
239
|
+
getEvent(nameOrSignatureOrTopic: 'RoleAdminChanged'): EventFragment;
|
|
240
|
+
getEvent(nameOrSignatureOrTopic: 'RoleGranted'): EventFragment;
|
|
241
|
+
getEvent(nameOrSignatureOrTopic: 'RoleRevoked'): EventFragment;
|
|
242
|
+
getEvent(nameOrSignatureOrTopic: 'StartAggregationRound'): EventFragment;
|
|
243
|
+
getEvent(nameOrSignatureOrTopic: 'StartRitual'): EventFragment;
|
|
244
|
+
getEvent(nameOrSignatureOrTopic: 'TimeoutChanged'): EventFragment;
|
|
245
|
+
getEvent(nameOrSignatureOrTopic: 'TranscriptPosted'): EventFragment;
|
|
237
246
|
}
|
|
238
247
|
export interface AggregationPostedEventObject {
|
|
239
248
|
ritualId: number;
|
|
@@ -283,6 +292,11 @@ export type EndRitualEvent = TypedEvent<[
|
|
|
283
292
|
boolean
|
|
284
293
|
], EndRitualEventObject>;
|
|
285
294
|
export type EndRitualEventFilter = TypedEventFilter<EndRitualEvent>;
|
|
295
|
+
export interface InitializedEventObject {
|
|
296
|
+
version: BigNumber;
|
|
297
|
+
}
|
|
298
|
+
export type InitializedEvent = TypedEvent<[BigNumber], InitializedEventObject>;
|
|
299
|
+
export type InitializedEventFilter = TypedEventFilter<InitializedEvent>;
|
|
286
300
|
export interface MaxDkgSizeChangedEventObject {
|
|
287
301
|
oldSize: number;
|
|
288
302
|
newSize: number;
|
|
@@ -303,6 +317,24 @@ export type ParticipantPublicKeySetEvent = TypedEvent<[
|
|
|
303
317
|
BLS12381.G2PointStructOutput
|
|
304
318
|
], ParticipantPublicKeySetEventObject>;
|
|
305
319
|
export type ParticipantPublicKeySetEventFilter = TypedEventFilter<ParticipantPublicKeySetEvent>;
|
|
320
|
+
export interface ReimbursementPoolSetEventObject {
|
|
321
|
+
pool: string;
|
|
322
|
+
}
|
|
323
|
+
export type ReimbursementPoolSetEvent = TypedEvent<[
|
|
324
|
+
string
|
|
325
|
+
], ReimbursementPoolSetEventObject>;
|
|
326
|
+
export type ReimbursementPoolSetEventFilter = TypedEventFilter<ReimbursementPoolSetEvent>;
|
|
327
|
+
export interface RitualAuthorityTransferredEventObject {
|
|
328
|
+
ritualId: number;
|
|
329
|
+
previousAuthority: string;
|
|
330
|
+
newAuthority: string;
|
|
331
|
+
}
|
|
332
|
+
export type RitualAuthorityTransferredEvent = TypedEvent<[
|
|
333
|
+
number,
|
|
334
|
+
string,
|
|
335
|
+
string
|
|
336
|
+
], RitualAuthorityTransferredEventObject>;
|
|
337
|
+
export type RitualAuthorityTransferredEventFilter = TypedEventFilter<RitualAuthorityTransferredEvent>;
|
|
306
338
|
export interface RoleAdminChangedEventObject {
|
|
307
339
|
role: string;
|
|
308
340
|
previousAdminRole: string;
|
|
@@ -431,13 +463,16 @@ export interface Coordinator extends BaseContract {
|
|
|
431
463
|
from?: string;
|
|
432
464
|
}): Promise<ContractTransaction>;
|
|
433
465
|
hasRole(role: BytesLike, account: string, overrides?: CallOverrides): Promise<[boolean]>;
|
|
466
|
+
initialize(_timeout: BigNumberish, _maxDkgSize: BigNumberish, _admin: string, overrides?: Overrides & {
|
|
467
|
+
from?: string;
|
|
468
|
+
}): Promise<ContractTransaction>;
|
|
434
469
|
initiateRitual(providers: string[], authority: string, duration: BigNumberish, accessController: string, overrides?: Overrides & {
|
|
435
470
|
from?: string;
|
|
436
471
|
}): Promise<ContractTransaction>;
|
|
437
472
|
isEncryptionAuthorized(ritualId: BigNumberish, evidence: BytesLike, ciphertextHeader: BytesLike, overrides?: CallOverrides): Promise<[boolean]>;
|
|
438
473
|
isInitiationPublic(overrides?: CallOverrides): Promise<[boolean]>;
|
|
439
474
|
isProviderPublicKeySet(_provider: string, overrides?: CallOverrides): Promise<[boolean]>;
|
|
440
|
-
|
|
475
|
+
isRitualActive(ritualId: BigNumberish, overrides?: CallOverrides): Promise<[boolean]>;
|
|
441
476
|
makeInitiationPublic(overrides?: Overrides & {
|
|
442
477
|
from?: string;
|
|
443
478
|
}): Promise<ContractTransaction>;
|
|
@@ -507,15 +542,15 @@ export interface Coordinator extends BaseContract {
|
|
|
507
542
|
setReimbursementPool(pool: string, overrides?: Overrides & {
|
|
508
543
|
from?: string;
|
|
509
544
|
}): Promise<ContractTransaction>;
|
|
510
|
-
setRitualAuthority(ritualId: BigNumberish, authority: string, overrides?: Overrides & {
|
|
511
|
-
from?: string;
|
|
512
|
-
}): Promise<ContractTransaction>;
|
|
513
545
|
setTimeout(newTimeout: BigNumberish, overrides?: Overrides & {
|
|
514
546
|
from?: string;
|
|
515
547
|
}): Promise<ContractTransaction>;
|
|
516
548
|
supportsInterface(interfaceId: BytesLike, overrides?: CallOverrides): Promise<[boolean]>;
|
|
517
549
|
timeout(overrides?: CallOverrides): Promise<[number]>;
|
|
518
550
|
totalPendingFees(overrides?: CallOverrides): Promise<[BigNumber]>;
|
|
551
|
+
transferRitualAuthority(ritualId: BigNumberish, newAuthority: string, overrides?: Overrides & {
|
|
552
|
+
from?: string;
|
|
553
|
+
}): Promise<ContractTransaction>;
|
|
519
554
|
withdrawTokens(token: string, amount: BigNumberish, overrides?: Overrides & {
|
|
520
555
|
from?: string;
|
|
521
556
|
}): Promise<ContractTransaction>;
|
|
@@ -556,13 +591,16 @@ export interface Coordinator extends BaseContract {
|
|
|
556
591
|
from?: string;
|
|
557
592
|
}): Promise<ContractTransaction>;
|
|
558
593
|
hasRole(role: BytesLike, account: string, overrides?: CallOverrides): Promise<boolean>;
|
|
594
|
+
initialize(_timeout: BigNumberish, _maxDkgSize: BigNumberish, _admin: string, overrides?: Overrides & {
|
|
595
|
+
from?: string;
|
|
596
|
+
}): Promise<ContractTransaction>;
|
|
559
597
|
initiateRitual(providers: string[], authority: string, duration: BigNumberish, accessController: string, overrides?: Overrides & {
|
|
560
598
|
from?: string;
|
|
561
599
|
}): Promise<ContractTransaction>;
|
|
562
600
|
isEncryptionAuthorized(ritualId: BigNumberish, evidence: BytesLike, ciphertextHeader: BytesLike, overrides?: CallOverrides): Promise<boolean>;
|
|
563
601
|
isInitiationPublic(overrides?: CallOverrides): Promise<boolean>;
|
|
564
602
|
isProviderPublicKeySet(_provider: string, overrides?: CallOverrides): Promise<boolean>;
|
|
565
|
-
|
|
603
|
+
isRitualActive(ritualId: BigNumberish, overrides?: CallOverrides): Promise<boolean>;
|
|
566
604
|
makeInitiationPublic(overrides?: Overrides & {
|
|
567
605
|
from?: string;
|
|
568
606
|
}): Promise<ContractTransaction>;
|
|
@@ -632,15 +670,15 @@ export interface Coordinator extends BaseContract {
|
|
|
632
670
|
setReimbursementPool(pool: string, overrides?: Overrides & {
|
|
633
671
|
from?: string;
|
|
634
672
|
}): Promise<ContractTransaction>;
|
|
635
|
-
setRitualAuthority(ritualId: BigNumberish, authority: string, overrides?: Overrides & {
|
|
636
|
-
from?: string;
|
|
637
|
-
}): Promise<ContractTransaction>;
|
|
638
673
|
setTimeout(newTimeout: BigNumberish, overrides?: Overrides & {
|
|
639
674
|
from?: string;
|
|
640
675
|
}): Promise<ContractTransaction>;
|
|
641
676
|
supportsInterface(interfaceId: BytesLike, overrides?: CallOverrides): Promise<boolean>;
|
|
642
677
|
timeout(overrides?: CallOverrides): Promise<number>;
|
|
643
678
|
totalPendingFees(overrides?: CallOverrides): Promise<BigNumber>;
|
|
679
|
+
transferRitualAuthority(ritualId: BigNumberish, newAuthority: string, overrides?: Overrides & {
|
|
680
|
+
from?: string;
|
|
681
|
+
}): Promise<ContractTransaction>;
|
|
644
682
|
withdrawTokens(token: string, amount: BigNumberish, overrides?: Overrides & {
|
|
645
683
|
from?: string;
|
|
646
684
|
}): Promise<ContractTransaction>;
|
|
@@ -671,11 +709,12 @@ export interface Coordinator extends BaseContract {
|
|
|
671
709
|
getThresholdForRitualSize(size: BigNumberish, overrides?: CallOverrides): Promise<number>;
|
|
672
710
|
grantRole(role: BytesLike, account: string, overrides?: CallOverrides): Promise<void>;
|
|
673
711
|
hasRole(role: BytesLike, account: string, overrides?: CallOverrides): Promise<boolean>;
|
|
712
|
+
initialize(_timeout: BigNumberish, _maxDkgSize: BigNumberish, _admin: string, overrides?: CallOverrides): Promise<void>;
|
|
674
713
|
initiateRitual(providers: string[], authority: string, duration: BigNumberish, accessController: string, overrides?: CallOverrides): Promise<number>;
|
|
675
714
|
isEncryptionAuthorized(ritualId: BigNumberish, evidence: BytesLike, ciphertextHeader: BytesLike, overrides?: CallOverrides): Promise<boolean>;
|
|
676
715
|
isInitiationPublic(overrides?: CallOverrides): Promise<boolean>;
|
|
677
716
|
isProviderPublicKeySet(_provider: string, overrides?: CallOverrides): Promise<boolean>;
|
|
678
|
-
|
|
717
|
+
isRitualActive(ritualId: BigNumberish, overrides?: CallOverrides): Promise<boolean>;
|
|
679
718
|
makeInitiationPublic(overrides?: CallOverrides): Promise<void>;
|
|
680
719
|
maxDkgSize(overrides?: CallOverrides): Promise<number>;
|
|
681
720
|
numberOfRituals(overrides?: CallOverrides): Promise<BigNumber>;
|
|
@@ -691,7 +730,7 @@ export interface Coordinator extends BaseContract {
|
|
|
691
730
|
pendingFees(arg0: BigNumberish, overrides?: CallOverrides): Promise<BigNumber>;
|
|
692
731
|
postAggregation(ritualId: BigNumberish, aggregatedTranscript: BytesLike, dkgPublicKey: BLS12381.G1PointStruct, decryptionRequestStaticKey: BytesLike, overrides?: CallOverrides): Promise<void>;
|
|
693
732
|
postTranscript(ritualId: BigNumberish, transcript: BytesLike, overrides?: CallOverrides): Promise<void>;
|
|
694
|
-
processPendingFee(ritualId: BigNumberish, overrides?: CallOverrides): Promise<
|
|
733
|
+
processPendingFee(ritualId: BigNumberish, overrides?: CallOverrides): Promise<BigNumber>;
|
|
695
734
|
renounceRole(role: BytesLike, account: string, overrides?: CallOverrides): Promise<void>;
|
|
696
735
|
revokeRole(role: BytesLike, account: string, overrides?: CallOverrides): Promise<void>;
|
|
697
736
|
rituals(arg0: BigNumberish, overrides?: CallOverrides): Promise<[
|
|
@@ -725,43 +764,49 @@ export interface Coordinator extends BaseContract {
|
|
|
725
764
|
setMaxDkgSize(newSize: BigNumberish, overrides?: CallOverrides): Promise<void>;
|
|
726
765
|
setProviderPublicKey(_publicKey: BLS12381.G2PointStruct, overrides?: CallOverrides): Promise<void>;
|
|
727
766
|
setReimbursementPool(pool: string, overrides?: CallOverrides): Promise<void>;
|
|
728
|
-
setRitualAuthority(ritualId: BigNumberish, authority: string, overrides?: CallOverrides): Promise<void>;
|
|
729
767
|
setTimeout(newTimeout: BigNumberish, overrides?: CallOverrides): Promise<void>;
|
|
730
768
|
supportsInterface(interfaceId: BytesLike, overrides?: CallOverrides): Promise<boolean>;
|
|
731
769
|
timeout(overrides?: CallOverrides): Promise<number>;
|
|
732
770
|
totalPendingFees(overrides?: CallOverrides): Promise<BigNumber>;
|
|
771
|
+
transferRitualAuthority(ritualId: BigNumberish, newAuthority: string, overrides?: CallOverrides): Promise<void>;
|
|
733
772
|
withdrawTokens(token: string, amount: BigNumberish, overrides?: CallOverrides): Promise<void>;
|
|
734
773
|
};
|
|
735
774
|
filters: {
|
|
736
|
-
|
|
775
|
+
'AggregationPosted(uint32,address,bytes32)'(ritualId?: BigNumberish | null, node?: string | null, aggregatedTranscriptDigest?: null): AggregationPostedEventFilter;
|
|
737
776
|
AggregationPosted(ritualId?: BigNumberish | null, node?: string | null, aggregatedTranscriptDigest?: null): AggregationPostedEventFilter;
|
|
738
|
-
|
|
777
|
+
'DefaultAdminDelayChangeCanceled()'(): DefaultAdminDelayChangeCanceledEventFilter;
|
|
739
778
|
DefaultAdminDelayChangeCanceled(): DefaultAdminDelayChangeCanceledEventFilter;
|
|
740
|
-
|
|
779
|
+
'DefaultAdminDelayChangeScheduled(uint48,uint48)'(newDelay?: null, effectSchedule?: null): DefaultAdminDelayChangeScheduledEventFilter;
|
|
741
780
|
DefaultAdminDelayChangeScheduled(newDelay?: null, effectSchedule?: null): DefaultAdminDelayChangeScheduledEventFilter;
|
|
742
|
-
|
|
781
|
+
'DefaultAdminTransferCanceled()'(): DefaultAdminTransferCanceledEventFilter;
|
|
743
782
|
DefaultAdminTransferCanceled(): DefaultAdminTransferCanceledEventFilter;
|
|
744
|
-
|
|
783
|
+
'DefaultAdminTransferScheduled(address,uint48)'(newAdmin?: string | null, acceptSchedule?: null): DefaultAdminTransferScheduledEventFilter;
|
|
745
784
|
DefaultAdminTransferScheduled(newAdmin?: string | null, acceptSchedule?: null): DefaultAdminTransferScheduledEventFilter;
|
|
746
|
-
|
|
785
|
+
'EndRitual(uint32,bool)'(ritualId?: BigNumberish | null, successful?: null): EndRitualEventFilter;
|
|
747
786
|
EndRitual(ritualId?: BigNumberish | null, successful?: null): EndRitualEventFilter;
|
|
748
|
-
|
|
787
|
+
'Initialized(uint64)'(version?: null): InitializedEventFilter;
|
|
788
|
+
Initialized(version?: null): InitializedEventFilter;
|
|
789
|
+
'MaxDkgSizeChanged(uint16,uint16)'(oldSize?: null, newSize?: null): MaxDkgSizeChangedEventFilter;
|
|
749
790
|
MaxDkgSizeChanged(oldSize?: null, newSize?: null): MaxDkgSizeChangedEventFilter;
|
|
750
|
-
|
|
791
|
+
'ParticipantPublicKeySet(uint32,address,(bytes32,bytes32,bytes32))'(ritualId?: BigNumberish | null, participant?: string | null, publicKey?: null): ParticipantPublicKeySetEventFilter;
|
|
751
792
|
ParticipantPublicKeySet(ritualId?: BigNumberish | null, participant?: string | null, publicKey?: null): ParticipantPublicKeySetEventFilter;
|
|
752
|
-
|
|
793
|
+
'ReimbursementPoolSet(address)'(pool?: string | null): ReimbursementPoolSetEventFilter;
|
|
794
|
+
ReimbursementPoolSet(pool?: string | null): ReimbursementPoolSetEventFilter;
|
|
795
|
+
'RitualAuthorityTransferred(uint32,address,address)'(ritualId?: BigNumberish | null, previousAuthority?: string | null, newAuthority?: string | null): RitualAuthorityTransferredEventFilter;
|
|
796
|
+
RitualAuthorityTransferred(ritualId?: BigNumberish | null, previousAuthority?: string | null, newAuthority?: string | null): RitualAuthorityTransferredEventFilter;
|
|
797
|
+
'RoleAdminChanged(bytes32,bytes32,bytes32)'(role?: BytesLike | null, previousAdminRole?: BytesLike | null, newAdminRole?: BytesLike | null): RoleAdminChangedEventFilter;
|
|
753
798
|
RoleAdminChanged(role?: BytesLike | null, previousAdminRole?: BytesLike | null, newAdminRole?: BytesLike | null): RoleAdminChangedEventFilter;
|
|
754
|
-
|
|
799
|
+
'RoleGranted(bytes32,address,address)'(role?: BytesLike | null, account?: string | null, sender?: string | null): RoleGrantedEventFilter;
|
|
755
800
|
RoleGranted(role?: BytesLike | null, account?: string | null, sender?: string | null): RoleGrantedEventFilter;
|
|
756
|
-
|
|
801
|
+
'RoleRevoked(bytes32,address,address)'(role?: BytesLike | null, account?: string | null, sender?: string | null): RoleRevokedEventFilter;
|
|
757
802
|
RoleRevoked(role?: BytesLike | null, account?: string | null, sender?: string | null): RoleRevokedEventFilter;
|
|
758
|
-
|
|
803
|
+
'StartAggregationRound(uint32)'(ritualId?: BigNumberish | null): StartAggregationRoundEventFilter;
|
|
759
804
|
StartAggregationRound(ritualId?: BigNumberish | null): StartAggregationRoundEventFilter;
|
|
760
|
-
|
|
805
|
+
'StartRitual(uint32,address,address[])'(ritualId?: BigNumberish | null, authority?: string | null, participants?: null): StartRitualEventFilter;
|
|
761
806
|
StartRitual(ritualId?: BigNumberish | null, authority?: string | null, participants?: null): StartRitualEventFilter;
|
|
762
|
-
|
|
807
|
+
'TimeoutChanged(uint32,uint32)'(oldTimeout?: null, newTimeout?: null): TimeoutChangedEventFilter;
|
|
763
808
|
TimeoutChanged(oldTimeout?: null, newTimeout?: null): TimeoutChangedEventFilter;
|
|
764
|
-
|
|
809
|
+
'TranscriptPosted(uint32,address,bytes32)'(ritualId?: BigNumberish | null, node?: string | null, transcriptDigest?: null): TranscriptPostedEventFilter;
|
|
765
810
|
TranscriptPosted(ritualId?: BigNumberish | null, node?: string | null, transcriptDigest?: null): TranscriptPostedEventFilter;
|
|
766
811
|
};
|
|
767
812
|
estimateGas: {
|
|
@@ -801,13 +846,16 @@ export interface Coordinator extends BaseContract {
|
|
|
801
846
|
from?: string;
|
|
802
847
|
}): Promise<BigNumber>;
|
|
803
848
|
hasRole(role: BytesLike, account: string, overrides?: CallOverrides): Promise<BigNumber>;
|
|
849
|
+
initialize(_timeout: BigNumberish, _maxDkgSize: BigNumberish, _admin: string, overrides?: Overrides & {
|
|
850
|
+
from?: string;
|
|
851
|
+
}): Promise<BigNumber>;
|
|
804
852
|
initiateRitual(providers: string[], authority: string, duration: BigNumberish, accessController: string, overrides?: Overrides & {
|
|
805
853
|
from?: string;
|
|
806
854
|
}): Promise<BigNumber>;
|
|
807
855
|
isEncryptionAuthorized(ritualId: BigNumberish, evidence: BytesLike, ciphertextHeader: BytesLike, overrides?: CallOverrides): Promise<BigNumber>;
|
|
808
856
|
isInitiationPublic(overrides?: CallOverrides): Promise<BigNumber>;
|
|
809
857
|
isProviderPublicKeySet(_provider: string, overrides?: CallOverrides): Promise<BigNumber>;
|
|
810
|
-
|
|
858
|
+
isRitualActive(ritualId: BigNumberish, overrides?: CallOverrides): Promise<BigNumber>;
|
|
811
859
|
makeInitiationPublic(overrides?: Overrides & {
|
|
812
860
|
from?: string;
|
|
813
861
|
}): Promise<BigNumber>;
|
|
@@ -845,15 +893,15 @@ export interface Coordinator extends BaseContract {
|
|
|
845
893
|
setReimbursementPool(pool: string, overrides?: Overrides & {
|
|
846
894
|
from?: string;
|
|
847
895
|
}): Promise<BigNumber>;
|
|
848
|
-
setRitualAuthority(ritualId: BigNumberish, authority: string, overrides?: Overrides & {
|
|
849
|
-
from?: string;
|
|
850
|
-
}): Promise<BigNumber>;
|
|
851
896
|
setTimeout(newTimeout: BigNumberish, overrides?: Overrides & {
|
|
852
897
|
from?: string;
|
|
853
898
|
}): Promise<BigNumber>;
|
|
854
899
|
supportsInterface(interfaceId: BytesLike, overrides?: CallOverrides): Promise<BigNumber>;
|
|
855
900
|
timeout(overrides?: CallOverrides): Promise<BigNumber>;
|
|
856
901
|
totalPendingFees(overrides?: CallOverrides): Promise<BigNumber>;
|
|
902
|
+
transferRitualAuthority(ritualId: BigNumberish, newAuthority: string, overrides?: Overrides & {
|
|
903
|
+
from?: string;
|
|
904
|
+
}): Promise<BigNumber>;
|
|
857
905
|
withdrawTokens(token: string, amount: BigNumberish, overrides?: Overrides & {
|
|
858
906
|
from?: string;
|
|
859
907
|
}): Promise<BigNumber>;
|
|
@@ -895,13 +943,16 @@ export interface Coordinator extends BaseContract {
|
|
|
895
943
|
from?: string;
|
|
896
944
|
}): Promise<PopulatedTransaction>;
|
|
897
945
|
hasRole(role: BytesLike, account: string, overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
946
|
+
initialize(_timeout: BigNumberish, _maxDkgSize: BigNumberish, _admin: string, overrides?: Overrides & {
|
|
947
|
+
from?: string;
|
|
948
|
+
}): Promise<PopulatedTransaction>;
|
|
898
949
|
initiateRitual(providers: string[], authority: string, duration: BigNumberish, accessController: string, overrides?: Overrides & {
|
|
899
950
|
from?: string;
|
|
900
951
|
}): Promise<PopulatedTransaction>;
|
|
901
952
|
isEncryptionAuthorized(ritualId: BigNumberish, evidence: BytesLike, ciphertextHeader: BytesLike, overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
902
953
|
isInitiationPublic(overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
903
954
|
isProviderPublicKeySet(_provider: string, overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
904
|
-
|
|
955
|
+
isRitualActive(ritualId: BigNumberish, overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
905
956
|
makeInitiationPublic(overrides?: Overrides & {
|
|
906
957
|
from?: string;
|
|
907
958
|
}): Promise<PopulatedTransaction>;
|
|
@@ -939,15 +990,15 @@ export interface Coordinator extends BaseContract {
|
|
|
939
990
|
setReimbursementPool(pool: string, overrides?: Overrides & {
|
|
940
991
|
from?: string;
|
|
941
992
|
}): Promise<PopulatedTransaction>;
|
|
942
|
-
setRitualAuthority(ritualId: BigNumberish, authority: string, overrides?: Overrides & {
|
|
943
|
-
from?: string;
|
|
944
|
-
}): Promise<PopulatedTransaction>;
|
|
945
993
|
setTimeout(newTimeout: BigNumberish, overrides?: Overrides & {
|
|
946
994
|
from?: string;
|
|
947
995
|
}): Promise<PopulatedTransaction>;
|
|
948
996
|
supportsInterface(interfaceId: BytesLike, overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
949
997
|
timeout(overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
950
998
|
totalPendingFees(overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
999
|
+
transferRitualAuthority(ritualId: BigNumberish, newAuthority: string, overrides?: Overrides & {
|
|
1000
|
+
from?: string;
|
|
1001
|
+
}): Promise<PopulatedTransaction>;
|
|
951
1002
|
withdrawTokens(token: string, amount: BigNumberish, overrides?: Overrides & {
|
|
952
1003
|
from?: string;
|
|
953
1004
|
}): Promise<PopulatedTransaction>;
|