@ercworldio/blockchain-shared 1.0.3-dev.7 → 1.0.5-dev.1
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/build/chains/networks_dev.json +17 -17
- package/build/chains/networks_prod-dz.json +0 -35
- package/build/chains/networks_prod-sh.json +40 -4
- package/build/chains/networks_prod-yb.json +40 -4
- package/build/contracts/Escrow.d.ts +16 -6
- package/build/contracts/Escrow.d.ts.map +1 -1
- package/build/contracts/Escrow.js +112 -4
- package/build/contracts/EscrowErrors.d.ts +110 -1
- package/build/contracts/EscrowErrors.d.ts.map +1 -1
- package/build/contracts/EscrowErrors.js +71 -14
- package/build/contracts/artifacts/Escrow.json +244 -14
- package/build/contracts/contract-events/AccessControlEvents.d.ts +12 -2
- package/build/contracts/contract-events/AccessControlEvents.d.ts.map +1 -1
- package/build/contracts/contract-events/AccessControlEvents.js +29 -5
- package/build/contracts/contract-events/EscrowEvents.d.ts +134 -2
- package/build/contracts/contract-events/EscrowEvents.d.ts.map +1 -1
- package/build/contracts/contract-events/EscrowEvents.js +67 -17
- package/build/contracts/contract-events/types/events.d.ts +35 -1
- package/build/contracts/contract-events/types/events.d.ts.map +1 -1
- package/build/contracts/typechain-types/contracts/escrow/Escrow.d.ts +76 -15
- package/build/contracts/typechain-types/contracts/escrow/Escrow.d.ts.map +1 -1
- package/build/contracts/typechain-types/contracts/lib/Events.d.ts +2 -8
- package/build/contracts/typechain-types/contracts/lib/Events.d.ts.map +1 -1
- package/build/contracts/typechain-types/factories/contracts/escrow/EscrowAccessControl__factory.d.ts +69 -1
- package/build/contracts/typechain-types/factories/contracts/escrow/EscrowAccessControl__factory.d.ts.map +1 -1
- package/build/contracts/typechain-types/factories/contracts/escrow/EscrowAccessControl__factory.js +91 -1
- package/build/contracts/typechain-types/factories/contracts/escrow/EscrowErrors__factory.d.ts +69 -1
- package/build/contracts/typechain-types/factories/contracts/escrow/EscrowErrors__factory.d.ts.map +1 -1
- package/build/contracts/typechain-types/factories/contracts/escrow/EscrowErrors__factory.js +91 -1
- package/build/contracts/typechain-types/factories/contracts/escrow/EscrowSignature__factory.d.ts +1 -1
- package/build/contracts/typechain-types/factories/contracts/escrow/EscrowSignature__factory.js +1 -1
- package/build/contracts/typechain-types/factories/contracts/escrow/Escrow__factory.d.ts +188 -13
- package/build/contracts/typechain-types/factories/contracts/escrow/Escrow__factory.d.ts.map +1 -1
- package/build/contracts/typechain-types/factories/contracts/escrow/Escrow__factory.js +245 -15
- package/build/contracts/typechain-types/factories/contracts/lib/Events__factory.d.ts +1 -11
- package/build/contracts/typechain-types/factories/contracts/lib/Events__factory.d.ts.map +1 -1
- package/build/contracts/typechain-types/factories/contracts/lib/Events__factory.js +1 -13
- package/build/contracts/typechain-types/factories/contracts/lib/MultisigLib__factory.d.ts +45 -1
- package/build/contracts/typechain-types/factories/contracts/lib/MultisigLib__factory.d.ts.map +1 -1
- package/build/contracts/typechain-types/factories/contracts/lib/MultisigLib__factory.js +59 -1
- package/build/contracts/types/escrow.d.ts +16 -2
- package/build/contracts/types/escrow.d.ts.map +1 -1
- package/build/contracts/types/escrow.js +4 -0
- package/build/entities/AdminOperationThresholds.d.ts +0 -1
- package/build/entities/AdminOperationThresholds.d.ts.map +1 -1
- package/build/entities/AdminOperationThresholds.js +1 -5
- package/build/entities/ClaimJob.d.ts +1 -0
- package/build/entities/ClaimJob.d.ts.map +1 -1
- package/build/entities/ClaimJob.js +4 -0
- package/build/entities/EscrowRoles.js +1 -1
- package/build/entities/GlobalTimelock.d.ts +0 -1
- package/build/entities/GlobalTimelock.d.ts.map +1 -1
- package/build/entities/GlobalTimelock.js +1 -5
- package/build/entities/RoleHash.js +1 -1
- package/build/entities/TokenExecutionThresholds.d.ts +0 -1
- package/build/entities/TokenExecutionThresholds.d.ts.map +1 -1
- package/build/entities/TokenExecutionThresholds.js +1 -5
- package/build/errors/errors.d.ts +33 -0
- package/build/errors/errors.d.ts.map +1 -1
- package/build/errors/errors.js +70 -2
- package/build/index.d.ts +6 -9
- package/build/index.d.ts.map +1 -1
- package/build/index.js +22 -11
- package/build/interfaces.d.ts +2 -2
- package/build/interfaces.d.ts.map +1 -1
- package/build/services/AlchemyService.d.ts +2 -1
- package/build/services/AlchemyService.d.ts.map +1 -1
- package/build/services/AlchemyService.js +8 -2
- package/build/services/AlchemyWebhooks.d.ts.map +1 -1
- package/build/services/AlchemyWebhooks.js +34 -29
- package/build/services/AzureEventHubHandler.d.ts.map +1 -1
- package/build/services/AzureEventHubHandler.js +17 -5
- package/build/services/ClaimJobService.d.ts +6 -2
- package/build/services/ClaimJobService.d.ts.map +1 -1
- package/build/services/ClaimJobService.js +155 -24
- package/build/services/WithdrawalService.d.ts.map +1 -1
- package/build/services/WithdrawalService.js +4 -2
- package/build/services/db/roles/ContractRoles.d.ts +2 -2
- package/build/services/db/roles/ContractRoles.d.ts.map +1 -1
- package/build/services/db/roles/ContractRoles.js +18 -12
- package/build/services/types/azure_event_hub_handler.d.ts +9 -1
- package/build/services/types/azure_event_hub_handler.d.ts.map +1 -1
- package/build/services/types/azure_event_hub_handler.js +8 -0
- package/build/services/types/claim.d.ts +17 -1
- package/build/services/types/claim.d.ts.map +1 -1
- package/build/services/types/claim_job_service.d.ts +9 -1
- package/build/services/types/claim_job_service.d.ts.map +1 -1
- package/build/services/types/index.d.ts +1 -0
- package/build/services/types/index.d.ts.map +1 -1
- package/build/services/types/index.js +1 -0
- package/build/services/utils/alchemy.d.ts.map +1 -1
- package/build/services/utils/alchemy.js +6 -1
- package/build/utils/AsyncTTLCache.d.ts +2 -0
- package/build/utils/AsyncTTLCache.d.ts.map +1 -1
- package/build/utils/AsyncTTLCache.js +10 -2
- package/build/utils/custodial.d.ts +9 -0
- package/build/utils/custodial.d.ts.map +1 -1
- package/build/utils/custodial.js +32 -4
- package/package.json +6 -3
package/build/contracts/typechain-types/factories/contracts/escrow/EscrowAccessControl__factory.js
CHANGED
|
@@ -116,6 +116,27 @@ const _abi = [
|
|
|
116
116
|
name: "ExceedsMaxBatch",
|
|
117
117
|
type: "error",
|
|
118
118
|
},
|
|
119
|
+
{
|
|
120
|
+
inputs: [
|
|
121
|
+
{
|
|
122
|
+
internalType: "uint256",
|
|
123
|
+
name: "requestId",
|
|
124
|
+
type: "uint256",
|
|
125
|
+
},
|
|
126
|
+
{
|
|
127
|
+
internalType: "uint256",
|
|
128
|
+
name: "delta",
|
|
129
|
+
type: "uint256",
|
|
130
|
+
},
|
|
131
|
+
{
|
|
132
|
+
internalType: "uint256",
|
|
133
|
+
name: "maxAllowed",
|
|
134
|
+
type: "uint256",
|
|
135
|
+
},
|
|
136
|
+
],
|
|
137
|
+
name: "FeeDeltaExceedsCap",
|
|
138
|
+
type: "error",
|
|
139
|
+
},
|
|
119
140
|
{
|
|
120
141
|
inputs: [
|
|
121
142
|
{
|
|
@@ -158,6 +179,27 @@ const _abi = [
|
|
|
158
179
|
name: "InsufficientExecutiveSigs",
|
|
159
180
|
type: "error",
|
|
160
181
|
},
|
|
182
|
+
{
|
|
183
|
+
inputs: [
|
|
184
|
+
{
|
|
185
|
+
internalType: "uint256",
|
|
186
|
+
name: "requestId",
|
|
187
|
+
type: "uint256",
|
|
188
|
+
},
|
|
189
|
+
{
|
|
190
|
+
internalType: "uint256",
|
|
191
|
+
name: "required",
|
|
192
|
+
type: "uint256",
|
|
193
|
+
},
|
|
194
|
+
{
|
|
195
|
+
internalType: "uint256",
|
|
196
|
+
name: "provided",
|
|
197
|
+
type: "uint256",
|
|
198
|
+
},
|
|
199
|
+
],
|
|
200
|
+
name: "InsufficientExecutiveSigsForRequest",
|
|
201
|
+
type: "error",
|
|
202
|
+
},
|
|
161
203
|
{
|
|
162
204
|
inputs: [
|
|
163
205
|
{
|
|
@@ -174,6 +216,27 @@ const _abi = [
|
|
|
174
216
|
name: "InsufficientManagerSigs",
|
|
175
217
|
type: "error",
|
|
176
218
|
},
|
|
219
|
+
{
|
|
220
|
+
inputs: [
|
|
221
|
+
{
|
|
222
|
+
internalType: "uint256",
|
|
223
|
+
name: "requestId",
|
|
224
|
+
type: "uint256",
|
|
225
|
+
},
|
|
226
|
+
{
|
|
227
|
+
internalType: "uint256",
|
|
228
|
+
name: "required",
|
|
229
|
+
type: "uint256",
|
|
230
|
+
},
|
|
231
|
+
{
|
|
232
|
+
internalType: "uint256",
|
|
233
|
+
name: "provided",
|
|
234
|
+
type: "uint256",
|
|
235
|
+
},
|
|
236
|
+
],
|
|
237
|
+
name: "InsufficientManagerSigsForRequest",
|
|
238
|
+
type: "error",
|
|
239
|
+
},
|
|
177
240
|
{
|
|
178
241
|
inputs: [],
|
|
179
242
|
name: "InsufficientReserves",
|
|
@@ -200,6 +263,33 @@ const _abi = [
|
|
|
200
263
|
name: "InvalidMultiSig",
|
|
201
264
|
type: "error",
|
|
202
265
|
},
|
|
266
|
+
{
|
|
267
|
+
inputs: [
|
|
268
|
+
{
|
|
269
|
+
internalType: "uint256",
|
|
270
|
+
name: "requestId",
|
|
271
|
+
type: "uint256",
|
|
272
|
+
},
|
|
273
|
+
{
|
|
274
|
+
internalType: "uint256",
|
|
275
|
+
name: "sig_idx",
|
|
276
|
+
type: "uint256",
|
|
277
|
+
},
|
|
278
|
+
],
|
|
279
|
+
name: "InvalidMultiSigForRequest",
|
|
280
|
+
type: "error",
|
|
281
|
+
},
|
|
282
|
+
{
|
|
283
|
+
inputs: [
|
|
284
|
+
{
|
|
285
|
+
internalType: "uint256",
|
|
286
|
+
name: "request_id",
|
|
287
|
+
type: "uint256",
|
|
288
|
+
},
|
|
289
|
+
],
|
|
290
|
+
name: "InvalidNegativeFee",
|
|
291
|
+
type: "error",
|
|
292
|
+
},
|
|
203
293
|
{
|
|
204
294
|
inputs: [
|
|
205
295
|
{
|
|
@@ -877,7 +967,7 @@ const _abi = [
|
|
|
877
967
|
type: "function",
|
|
878
968
|
},
|
|
879
969
|
];
|
|
880
|
-
const _bytecode = "
|
|
970
|
+
const _bytecode = "0x60808060405234601557610f52908161001a8239f35b5f80fdfe6080806040526004361015610012575f80fd5b5f3560e01c90816301ffc9a71461070a5750806320f5117c146106d2578063248a9ca3146106a05780632f2ff15d1461066357806336568abe1461061f5780633945c4a6146106025780633aa98a941461051c5780634a78b2f5146104e2578063518713d21461049b5780637026cb58146104615780637ef066c8146104275780638e8b3f2f1461040a57806391d14854146103da578063a0c7f799146103a0578063a217fddf14610386578063b2065f601461034c578063b700f45614610312578063bec4742c146102f5578063c0608667146102bb578063c4707a8314610294578063d547741f1461024e578063ebdf690f14610214578063f01068a1146101da578063f5b541a6146101b3578063fa07bb54146101795763fddbf3f31461013a575f80fd5b34610175576020366003190112610175576001600160a01b0361015b61075d565b165f526003602052602060ff60405f205416604051908152f35b5f80fd5b34610175575f3660031901126101755760206040517faf82374944a6f0200e0a96e99d9d9aa4925409c95c28b14a1d426baddd614aa88152f35b34610175575f3660031901126101755760206040515f516020610efd5f395f51905f528152f35b34610175575f3660031901126101755760206040517fb7733e58c7517dbd9e44ca467a39c0556186bc3a7271956f0a22baafb5dc93c38152f35b34610175575f3660031901126101755760206040517fede9dcdb0ce99dc7cec9c7be9246ad08b37853683ad91569c187b647ddf5e21c8152f35b346101755760403660031901126101755761029260043561026d610773565b9061028d610286825f525f602052600160405f20015490565b3390610d73565b610abe565b005b34610175575f3660031901126101755760206040515f516020610edd5f395f51905f528152f35b34610175575f3660031901126101755760206040517ff7401a2aa2d57dbee8bd296c5ac47eac2db8a2db2ff59d50c0534dc8be92dc6e8152f35b34610175575f366003190112610175576020600754604051908152f35b34610175575f3660031901126101755760206040517fdd7d143944313e9468ffd66e8786351a1538ac1bd6bac96fbbaac11d42f60a518152f35b34610175575f3660031901126101755760206040517f4d7d81d86b902e627e6f0ca462e1191bd8af9cb4b8de2660c10b6349acb6ff9b8152f35b34610175575f3660031901126101755760206040515f8152f35b34610175575f3660031901126101755760206040517fbbfb55d933c2bfa638763473275b1d84c4418e58d26cf9d2cd5758237756d9f08152f35b346101755760403660031901126101755760206104006103f8610773565b600435610951565b6040519015158152f35b34610175575f366003190112610175576020600554604051908152f35b34610175575f3660031901126101755760206040517f20eabc094169e10bc6be263d742d992b10fb206c3c0411e1cbabdd3cf47922298152f35b34610175575f3660031901126101755760206040517f3261beaeb016c41750eb5ecd6c92c85305d1a0aecaaaa6e0f4cf499f7ae258fb8152f35b346101755760203660031901126101755760206104b661075d565b6104bf81610789565b9081156104d2575b506040519015158152f35b6104dc91506108bd565b826104c7565b34610175575f3660031901126101755760206040517fd64fcb6a6f590e3ec3e331a5d9c60e0ca7468054939fe8e8dfe25f11ad1c1e7a8152f35b346101755760603660031901126101755761053561075d565b61053d610773565b60443591906001600160a01b03831683036101755760ff7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a005460401c16156105f357600180546001600160a01b0319166001600160a01b0384161790556105a381610789565b156105e3575b506105b381610829565b156105d3575b506105c3816108bd565b156105ca57005b61029290610a7c565b6105dc90610a4e565b50816105b9565b6105ec906109c4565b50826105a9565b631afcd79f60e31b5f5260045ffd5b34610175575f366003190112610175576020600654604051908152f35b3461017557604036600319011261017557610638610773565b336001600160a01b038216036106545761029290600435610abe565b63334bd91960e11b5f5260045ffd5b3461017557604036600319011261017557610292600435610682610773565b9061069b610286825f525f602052600160405f20015490565b610aaa565b346101755760203660031901126101755760206106ca6004355f525f602052600160405f20015490565b604051908152f35b34610175576020366003190112610175576001600160a01b036106f361075d565b165f526004602052602060405f2054604051908152f35b34610175576020366003190112610175576004359063ffffffff60e01b821680920361017557602091637965db0b60e01b811490811561074c575b5015158152f35b6301ffc9a760e01b14905083610745565b600435906001600160a01b038216820361017557565b602435906001600160a01b038216820361017557565b6107925f610b60565b906020820151156107eb576001600160a01b03165f9081526003602052604090205490519060088210156107d757600160ff8093161b16166107d2575f90565b600190565b634e487b7160e01b5f52602160045260245ffd5b6001600160a01b03165f9081527fad3228b676f7d3cd4284a5443f17f1962b36e491b30a40b2405849e597ba5fb5602052604090205460ff16919050565b61083f5f516020610efd5f395f51905f52610b60565b9060208201511561087f576001600160a01b03165f9081526003602052604090205490519060088210156107d757600160ff8093161b16166107d2575f90565b6001600160a01b03165f9081527fee57cd81e84075558e8fcc182a1f4393f91fc97f963a136e66b7f949a62f319f602052604090205460ff16919050565b6108d35f516020610edd5f395f51905f52610b60565b90602082015115610913576001600160a01b03165f9081526003602052604090205490519060088210156107d757600160ff8093161b16166107d2575f90565b6001600160a01b03165f9081527f4272c0e29c36ddb672dd25a254bda59e4d959f5c13bec396162edadccdbf7935602052604090205460ff16919050565b9061095b82610b60565b9160208301511561099c57506001600160a01b03165f9081526003602052604090205490519060088210156107d757600160ff8093161b16166107d2575f90565b5f908152602081815260408083206001600160a01b039094168352929052205460ff16919050565b6109ce815f610e06565b906109d85f610b60565b90602082015115610a49576001600160a01b03165f8181526003602052604090205490919060ff16610a3657519060088210156107d7575f52600360205260ff8060018160405f2094161b1681835416171660ff1982541617905590565b5063f893a86f60e01b5f5260045260245ffd5b505090565b610a65815f516020610efd5f395f51905f52610e06565b906109d85f516020610efd5f395f51905f52610b60565b610a93815f516020610edd5f395f51905f52610e06565b906109d85f516020610edd5f395f51905f52610b60565b906109d8610ab88284610e06565b92610b60565b90610acc610ab88284610e75565b90602082015115610a49576001600160a01b03165f8181526003602052604090205490919060ff1615610a4957519060088210156107d7575f52600360205260ff808060018160405f2095161b1619835416161660ff1982541617905590565b604051906040820182811067ffffffffffffffff821117610b4c57604052565b634e487b7160e01b5f52604160045260245ffd5b610b68610b2c565b5f8082526020909101527fede9dcdb0ce99dc7cec9c7be9246ad08b37853683ad91569c187b647ddf5e21c8103610baf5750610ba2610b2c565b5f81526001602082015290565b7ff7401a2aa2d57dbee8bd296c5ac47eac2db8a2db2ff59d50c0534dc8be92dc6e8103610bed5750610bdf610b2c565b600181526001602082015290565b7f4d7d81d86b902e627e6f0ca462e1191bd8af9cb4b8de2660c10b6349acb6ff9b8103610c2b5750610c1d610b2c565b600281526001602082015290565b7f20eabc094169e10bc6be263d742d992b10fb206c3c0411e1cbabdd3cf47922298103610c695750610c5b610b2c565b600381526001602082015290565b7fbbfb55d933c2bfa638763473275b1d84c4418e58d26cf9d2cd5758237756d9f08103610ca75750610c99610b2c565b600481526001602082015290565b7f3261beaeb016c41750eb5ecd6c92c85305d1a0aecaaaa6e0f4cf499f7ae258fb8103610ce55750610cd7610b2c565b600581526001602082015290565b7fd64fcb6a6f590e3ec3e331a5d9c60e0ca7468054939fe8e8dfe25f11ad1c1e7a8103610d235750610d15610b2c565b600681526001602082015290565b7faf82374944a6f0200e0a96e99d9d9aa4925409c95c28b14a1d426baddd614aa814610d5d57610d51610b2c565b5f81525f602082015290565b610d65610b2c565b600781526001602082015290565b90610d7d82610b60565b90602082015115610dd4576001600160a01b03165f818152600360205260409020549151909160088210156107d757600160ff8093161b161615610dbf575050565b63e2517d3f60e01b5f5260045260245260445ffd5b9050610de08183610951565b15610de9575050565b63e2517d3f60e01b5f5260018060a01b031660045260245260445ffd5b610e108282610951565b610e6f575f818152602081815260408083206001600160a01b0395909516808452949091528120805460ff19166001179055339291907f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d9080a4600190565b50505f90565b610e7f8282610951565b15610e6f575f818152602081815260408083206001600160a01b0395909516808452949091528120805460ff19169055339291907ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9080a460019056fe9d98d3d08f0062b192694645e127c98e5f96f3bbec331d061acaac3ace2327f997667070c54ef182b0f5858b034beac1b6f3089aa2d3188bb1e8929f4fa9b929a26469706673582212200527b5ba8eb9f41c5baf9c11d93bd080ac2c0b9f72eed7ccad4e1286b79a971464736f6c634300081c0033";
|
|
881
971
|
const isSuperArgs = (xs) => xs.length > 1;
|
|
882
972
|
class EscrowAccessControl__factory extends ethers_1.ContractFactory {
|
|
883
973
|
constructor(...args) {
|
package/build/contracts/typechain-types/factories/contracts/escrow/EscrowErrors__factory.d.ts
CHANGED
|
@@ -14,7 +14,7 @@ export declare class EscrowErrors__factory extends ContractFactory {
|
|
|
14
14
|
deploymentTransaction(): ContractTransactionResponse;
|
|
15
15
|
}>;
|
|
16
16
|
connect(runner: ContractRunner | null): EscrowErrors__factory;
|
|
17
|
-
static readonly bytecode = "
|
|
17
|
+
static readonly bytecode = "0x608080604052346013576039908160188239f35b5f80fdfe5f80fdfea26469706673582212204ade273a5becc8a7280ac2fea8132948c83f4aea0eceddceb6814a2b222a05f164736f6c634300081c0033";
|
|
18
18
|
static readonly abi: readonly [{
|
|
19
19
|
readonly inputs: readonly [{
|
|
20
20
|
readonly internalType: "address";
|
|
@@ -83,6 +83,22 @@ export declare class EscrowErrors__factory extends ContractFactory {
|
|
|
83
83
|
readonly inputs: readonly [];
|
|
84
84
|
readonly name: "ExceedsMaxBatch";
|
|
85
85
|
readonly type: "error";
|
|
86
|
+
}, {
|
|
87
|
+
readonly inputs: readonly [{
|
|
88
|
+
readonly internalType: "uint256";
|
|
89
|
+
readonly name: "requestId";
|
|
90
|
+
readonly type: "uint256";
|
|
91
|
+
}, {
|
|
92
|
+
readonly internalType: "uint256";
|
|
93
|
+
readonly name: "delta";
|
|
94
|
+
readonly type: "uint256";
|
|
95
|
+
}, {
|
|
96
|
+
readonly internalType: "uint256";
|
|
97
|
+
readonly name: "maxAllowed";
|
|
98
|
+
readonly type: "uint256";
|
|
99
|
+
}];
|
|
100
|
+
readonly name: "FeeDeltaExceedsCap";
|
|
101
|
+
readonly type: "error";
|
|
86
102
|
}, {
|
|
87
103
|
readonly inputs: readonly [{
|
|
88
104
|
readonly internalType: "address";
|
|
@@ -115,6 +131,22 @@ export declare class EscrowErrors__factory extends ContractFactory {
|
|
|
115
131
|
}];
|
|
116
132
|
readonly name: "InsufficientExecutiveSigs";
|
|
117
133
|
readonly type: "error";
|
|
134
|
+
}, {
|
|
135
|
+
readonly inputs: readonly [{
|
|
136
|
+
readonly internalType: "uint256";
|
|
137
|
+
readonly name: "requestId";
|
|
138
|
+
readonly type: "uint256";
|
|
139
|
+
}, {
|
|
140
|
+
readonly internalType: "uint256";
|
|
141
|
+
readonly name: "required";
|
|
142
|
+
readonly type: "uint256";
|
|
143
|
+
}, {
|
|
144
|
+
readonly internalType: "uint256";
|
|
145
|
+
readonly name: "provided";
|
|
146
|
+
readonly type: "uint256";
|
|
147
|
+
}];
|
|
148
|
+
readonly name: "InsufficientExecutiveSigsForRequest";
|
|
149
|
+
readonly type: "error";
|
|
118
150
|
}, {
|
|
119
151
|
readonly inputs: readonly [{
|
|
120
152
|
readonly internalType: "uint256";
|
|
@@ -127,6 +159,22 @@ export declare class EscrowErrors__factory extends ContractFactory {
|
|
|
127
159
|
}];
|
|
128
160
|
readonly name: "InsufficientManagerSigs";
|
|
129
161
|
readonly type: "error";
|
|
162
|
+
}, {
|
|
163
|
+
readonly inputs: readonly [{
|
|
164
|
+
readonly internalType: "uint256";
|
|
165
|
+
readonly name: "requestId";
|
|
166
|
+
readonly type: "uint256";
|
|
167
|
+
}, {
|
|
168
|
+
readonly internalType: "uint256";
|
|
169
|
+
readonly name: "required";
|
|
170
|
+
readonly type: "uint256";
|
|
171
|
+
}, {
|
|
172
|
+
readonly internalType: "uint256";
|
|
173
|
+
readonly name: "provided";
|
|
174
|
+
readonly type: "uint256";
|
|
175
|
+
}];
|
|
176
|
+
readonly name: "InsufficientManagerSigsForRequest";
|
|
177
|
+
readonly type: "error";
|
|
130
178
|
}, {
|
|
131
179
|
readonly inputs: readonly [];
|
|
132
180
|
readonly name: "InsufficientReserves";
|
|
@@ -143,6 +191,26 @@ export declare class EscrowErrors__factory extends ContractFactory {
|
|
|
143
191
|
}];
|
|
144
192
|
readonly name: "InvalidMultiSig";
|
|
145
193
|
readonly type: "error";
|
|
194
|
+
}, {
|
|
195
|
+
readonly inputs: readonly [{
|
|
196
|
+
readonly internalType: "uint256";
|
|
197
|
+
readonly name: "requestId";
|
|
198
|
+
readonly type: "uint256";
|
|
199
|
+
}, {
|
|
200
|
+
readonly internalType: "uint256";
|
|
201
|
+
readonly name: "sig_idx";
|
|
202
|
+
readonly type: "uint256";
|
|
203
|
+
}];
|
|
204
|
+
readonly name: "InvalidMultiSigForRequest";
|
|
205
|
+
readonly type: "error";
|
|
206
|
+
}, {
|
|
207
|
+
readonly inputs: readonly [{
|
|
208
|
+
readonly internalType: "uint256";
|
|
209
|
+
readonly name: "request_id";
|
|
210
|
+
readonly type: "uint256";
|
|
211
|
+
}];
|
|
212
|
+
readonly name: "InvalidNegativeFee";
|
|
213
|
+
readonly type: "error";
|
|
146
214
|
}, {
|
|
147
215
|
readonly inputs: readonly [{
|
|
148
216
|
readonly internalType: "uint256";
|
package/build/contracts/typechain-types/factories/contracts/escrow/EscrowErrors__factory.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"EscrowErrors__factory.d.ts","sourceRoot":"","sources":["../../../../../../src/contracts/typechain-types/factories/contracts/escrow/EscrowErrors__factory.ts"],"names":[],"mappings":"AAGA,OAAO,EAEL,eAAe,EACf,2BAA2B,EAE5B,MAAM,QAAQ,CAAC;AAChB,OAAO,KAAK,EAAE,MAAM,EAAE,yBAAyB,EAAE,cAAc,EAAE,MAAM,QAAQ,CAAC;AAChF,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,iBAAiB,CAAC;AAC3D,OAAO,KAAK,EACV,YAAY,EACZ,qBAAqB,EACtB,MAAM,wCAAwC,CAAC;
|
|
1
|
+
{"version":3,"file":"EscrowErrors__factory.d.ts","sourceRoot":"","sources":["../../../../../../src/contracts/typechain-types/factories/contracts/escrow/EscrowErrors__factory.ts"],"names":[],"mappings":"AAGA,OAAO,EAEL,eAAe,EACf,2BAA2B,EAE5B,MAAM,QAAQ,CAAC;AAChB,OAAO,KAAK,EAAE,MAAM,EAAE,yBAAyB,EAAE,cAAc,EAAE,MAAM,QAAQ,CAAC;AAChF,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,iBAAiB,CAAC;AAC3D,OAAO,KAAK,EACV,YAAY,EACZ,qBAAqB,EACtB,MAAM,wCAAwC,CAAC;AA6bhD,KAAK,6BAA6B,GAC9B,CAAC,MAAM,CAAC,EAAE,MAAM,CAAC,GACjB,qBAAqB,CAAC,OAAO,eAAe,CAAC,CAAC;AAMlD,qBAAa,qBAAsB,SAAQ,eAAe;gBAC5C,GAAG,IAAI,EAAE,6BAA6B;IAQzC,oBAAoB,CAC3B,SAAS,CAAC,EAAE,mBAAmB,GAAG;QAAE,IAAI,CAAC,EAAE,MAAM,CAAA;KAAE,GAClD,OAAO,CAAC,yBAAyB,CAAC;IAG5B,MAAM,CAAC,SAAS,CAAC,EAAE,mBAAmB,GAAG;QAAE,IAAI,CAAC,EAAE,MAAM,CAAA;KAAE,GACzB,OAAO,CAC7C,YAAY,GAAG;QACb,qBAAqB,IAAI,2BAA2B,CAAC;KACtD,CACF;IAEM,OAAO,CAAC,MAAM,EAAE,cAAc,GAAG,IAAI,GAAG,qBAAqB;IAItE,MAAM,CAAC,QAAQ,CAAC,QAAQ,0KAAa;IACrC,MAAM,CAAC,QAAQ,CAAC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAAQ;IAC3B,MAAM,CAAC,eAAe,IAAI,qBAAqB;IAG/C,MAAM,CAAC,OAAO,CACZ,OAAO,EAAE,MAAM,EACf,MAAM,CAAC,EAAE,cAAc,GAAG,IAAI,GAC7B,YAAY;CAGhB"}
|
|
@@ -95,6 +95,27 @@ const _abi = [
|
|
|
95
95
|
name: "ExceedsMaxBatch",
|
|
96
96
|
type: "error",
|
|
97
97
|
},
|
|
98
|
+
{
|
|
99
|
+
inputs: [
|
|
100
|
+
{
|
|
101
|
+
internalType: "uint256",
|
|
102
|
+
name: "requestId",
|
|
103
|
+
type: "uint256",
|
|
104
|
+
},
|
|
105
|
+
{
|
|
106
|
+
internalType: "uint256",
|
|
107
|
+
name: "delta",
|
|
108
|
+
type: "uint256",
|
|
109
|
+
},
|
|
110
|
+
{
|
|
111
|
+
internalType: "uint256",
|
|
112
|
+
name: "maxAllowed",
|
|
113
|
+
type: "uint256",
|
|
114
|
+
},
|
|
115
|
+
],
|
|
116
|
+
name: "FeeDeltaExceedsCap",
|
|
117
|
+
type: "error",
|
|
118
|
+
},
|
|
98
119
|
{
|
|
99
120
|
inputs: [
|
|
100
121
|
{
|
|
@@ -137,6 +158,27 @@ const _abi = [
|
|
|
137
158
|
name: "InsufficientExecutiveSigs",
|
|
138
159
|
type: "error",
|
|
139
160
|
},
|
|
161
|
+
{
|
|
162
|
+
inputs: [
|
|
163
|
+
{
|
|
164
|
+
internalType: "uint256",
|
|
165
|
+
name: "requestId",
|
|
166
|
+
type: "uint256",
|
|
167
|
+
},
|
|
168
|
+
{
|
|
169
|
+
internalType: "uint256",
|
|
170
|
+
name: "required",
|
|
171
|
+
type: "uint256",
|
|
172
|
+
},
|
|
173
|
+
{
|
|
174
|
+
internalType: "uint256",
|
|
175
|
+
name: "provided",
|
|
176
|
+
type: "uint256",
|
|
177
|
+
},
|
|
178
|
+
],
|
|
179
|
+
name: "InsufficientExecutiveSigsForRequest",
|
|
180
|
+
type: "error",
|
|
181
|
+
},
|
|
140
182
|
{
|
|
141
183
|
inputs: [
|
|
142
184
|
{
|
|
@@ -153,6 +195,27 @@ const _abi = [
|
|
|
153
195
|
name: "InsufficientManagerSigs",
|
|
154
196
|
type: "error",
|
|
155
197
|
},
|
|
198
|
+
{
|
|
199
|
+
inputs: [
|
|
200
|
+
{
|
|
201
|
+
internalType: "uint256",
|
|
202
|
+
name: "requestId",
|
|
203
|
+
type: "uint256",
|
|
204
|
+
},
|
|
205
|
+
{
|
|
206
|
+
internalType: "uint256",
|
|
207
|
+
name: "required",
|
|
208
|
+
type: "uint256",
|
|
209
|
+
},
|
|
210
|
+
{
|
|
211
|
+
internalType: "uint256",
|
|
212
|
+
name: "provided",
|
|
213
|
+
type: "uint256",
|
|
214
|
+
},
|
|
215
|
+
],
|
|
216
|
+
name: "InsufficientManagerSigsForRequest",
|
|
217
|
+
type: "error",
|
|
218
|
+
},
|
|
156
219
|
{
|
|
157
220
|
inputs: [],
|
|
158
221
|
name: "InsufficientReserves",
|
|
@@ -174,6 +237,33 @@ const _abi = [
|
|
|
174
237
|
name: "InvalidMultiSig",
|
|
175
238
|
type: "error",
|
|
176
239
|
},
|
|
240
|
+
{
|
|
241
|
+
inputs: [
|
|
242
|
+
{
|
|
243
|
+
internalType: "uint256",
|
|
244
|
+
name: "requestId",
|
|
245
|
+
type: "uint256",
|
|
246
|
+
},
|
|
247
|
+
{
|
|
248
|
+
internalType: "uint256",
|
|
249
|
+
name: "sig_idx",
|
|
250
|
+
type: "uint256",
|
|
251
|
+
},
|
|
252
|
+
],
|
|
253
|
+
name: "InvalidMultiSigForRequest",
|
|
254
|
+
type: "error",
|
|
255
|
+
},
|
|
256
|
+
{
|
|
257
|
+
inputs: [
|
|
258
|
+
{
|
|
259
|
+
internalType: "uint256",
|
|
260
|
+
name: "request_id",
|
|
261
|
+
type: "uint256",
|
|
262
|
+
},
|
|
263
|
+
],
|
|
264
|
+
name: "InvalidNegativeFee",
|
|
265
|
+
type: "error",
|
|
266
|
+
},
|
|
177
267
|
{
|
|
178
268
|
inputs: [
|
|
179
269
|
{
|
|
@@ -354,7 +444,7 @@ const _abi = [
|
|
|
354
444
|
type: "error",
|
|
355
445
|
},
|
|
356
446
|
];
|
|
357
|
-
const _bytecode = "
|
|
447
|
+
const _bytecode = "0x608080604052346013576039908160188239f35b5f80fdfe5f80fdfea26469706673582212204ade273a5becc8a7280ac2fea8132948c83f4aea0eceddceb6814a2b222a05f164736f6c634300081c0033";
|
|
358
448
|
const isSuperArgs = (xs) => xs.length > 1;
|
|
359
449
|
class EscrowErrors__factory extends ethers_1.ContractFactory {
|
|
360
450
|
constructor(...args) {
|
package/build/contracts/typechain-types/factories/contracts/escrow/EscrowSignature__factory.d.ts
CHANGED
|
@@ -14,7 +14,7 @@ export declare class EscrowSignature__factory extends ContractFactory {
|
|
|
14
14
|
deploymentTransaction(): ContractTransactionResponse;
|
|
15
15
|
}>;
|
|
16
16
|
connect(runner: ContractRunner | null): EscrowSignature__factory;
|
|
17
|
-
static readonly bytecode = "
|
|
17
|
+
static readonly bytecode = "0x608080604052346015576104e6908161001a8239f35b5f80fdfe60806040526004361015610011575f80fd5b5f5f3560e01c806331993fdf1461021a5780633644e515146101fe578063ac21242d146101465763d37dbaa214610046575f80fd5b3461014357610054366103e9565b94806080604096939495965161006981610355565b6001815260208101948552604081019760018060a01b03168852606081019660018060a01b031687520193845261012f57602061011d8787878787519260018060a01b039051169160018060a01b0390511690519060405192878401947f30df4329ee18debd99f937f6d70edc594d2957d5c194e77ab788df398c193af28652600160408601526060850152608084015260a083015260c082015260c0815261011360e082610371565b5190205f54610435565b6040516001600160a01b039091168152f35b634e487b7160e01b81526021600452602490fd5b80fd5b346101fa57602061011d610159366103e9565b93608060405161016881610355565b5f8082528982019384526001600160a01b03968716604080840191825296881660608085019182529490930186905293519351915186517fe35cf8b8df51aa49768d4a7859037953b72f9188d7c60825dfd506ac7c8d430c818d0190815297810192909252928101939093528516608083015290931660a084015260c08084019190915282529061011360e082610371565b5f80fd5b346101fa575f3660031901126101fa5760205f54604051908152f35b346101fa5760403660031901126101fa5760043567ffffffffffffffff81116101fa5761024b903690600401610393565b60243567ffffffffffffffff81116101fa5761026b903690600401610393565b9060ff7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a005460401c1615610346576040516080810181811067ffffffffffffffff821117610332576040528181528260208201524660408201526060309101526020815191012090602081519101206040519060208201927f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f8452604083015260608201524660808201523060a082015260a0815261032b60c082610371565b5190205f55005b634e487b7160e01b5f52604160045260245ffd5b631afcd79f60e31b5f5260045ffd5b60a0810190811067ffffffffffffffff82111761033257604052565b90601f8019910116810190811067ffffffffffffffff82111761033257604052565b81601f820112156101fa5780359067ffffffffffffffff821161033257604051926103c8601f8401601f191660200185610371565b828452602083830101116101fa57815f926020809301838601378301015290565b60e06003198201126101fa57600435916024356001600160a01b03811681036101fa57916044356001600160a01b03811681036101fa579160606064359260831901126101fa57608490565b9060405190602082019261190160f01b84526022830152604282015260428152610460606282610371565b5190209080359060ff82168092036101fa5760209260406080925f9482519384528684015285810135828401520135606082015282805260015afa156104a5575f5190565b6040513d5f823e3d90fdfea2646970667358221220e3501da6bb415904c62fe4cbc5d9bfb6c43580e10abf4422618f27d041da6ba364736f6c634300081c0033";
|
|
18
18
|
static readonly abi: readonly [{
|
|
19
19
|
readonly inputs: readonly [];
|
|
20
20
|
readonly name: "InvalidInitialization";
|
package/build/contracts/typechain-types/factories/contracts/escrow/EscrowSignature__factory.js
CHANGED
|
@@ -173,7 +173,7 @@ const _abi = [
|
|
|
173
173
|
type: "function",
|
|
174
174
|
},
|
|
175
175
|
];
|
|
176
|
-
const _bytecode = "
|
|
176
|
+
const _bytecode = "0x608080604052346015576104e6908161001a8239f35b5f80fdfe60806040526004361015610011575f80fd5b5f5f3560e01c806331993fdf1461021a5780633644e515146101fe578063ac21242d146101465763d37dbaa214610046575f80fd5b3461014357610054366103e9565b94806080604096939495965161006981610355565b6001815260208101948552604081019760018060a01b03168852606081019660018060a01b031687520193845261012f57602061011d8787878787519260018060a01b039051169160018060a01b0390511690519060405192878401947f30df4329ee18debd99f937f6d70edc594d2957d5c194e77ab788df398c193af28652600160408601526060850152608084015260a083015260c082015260c0815261011360e082610371565b5190205f54610435565b6040516001600160a01b039091168152f35b634e487b7160e01b81526021600452602490fd5b80fd5b346101fa57602061011d610159366103e9565b93608060405161016881610355565b5f8082528982019384526001600160a01b03968716604080840191825296881660608085019182529490930186905293519351915186517fe35cf8b8df51aa49768d4a7859037953b72f9188d7c60825dfd506ac7c8d430c818d0190815297810192909252928101939093528516608083015290931660a084015260c08084019190915282529061011360e082610371565b5f80fd5b346101fa575f3660031901126101fa5760205f54604051908152f35b346101fa5760403660031901126101fa5760043567ffffffffffffffff81116101fa5761024b903690600401610393565b60243567ffffffffffffffff81116101fa5761026b903690600401610393565b9060ff7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a005460401c1615610346576040516080810181811067ffffffffffffffff821117610332576040528181528260208201524660408201526060309101526020815191012090602081519101206040519060208201927f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f8452604083015260608201524660808201523060a082015260a0815261032b60c082610371565b5190205f55005b634e487b7160e01b5f52604160045260245ffd5b631afcd79f60e31b5f5260045ffd5b60a0810190811067ffffffffffffffff82111761033257604052565b90601f8019910116810190811067ffffffffffffffff82111761033257604052565b81601f820112156101fa5780359067ffffffffffffffff821161033257604051926103c8601f8401601f191660200185610371565b828452602083830101116101fa57815f926020809301838601378301015290565b60e06003198201126101fa57600435916024356001600160a01b03811681036101fa57916044356001600160a01b03811681036101fa579160606064359260831901126101fa57608490565b9060405190602082019261190160f01b84526022830152604282015260428152610460606282610371565b5190209080359060ff82168092036101fa5760209260406080925f9482519384528684015285810135828401520135606082015282805260015afa156104a5575f5190565b6040513d5f823e3d90fdfea2646970667358221220e3501da6bb415904c62fe4cbc5d9bfb6c43580e10abf4422618f27d041da6ba364736f6c634300081c0033";
|
|
177
177
|
const isSuperArgs = (xs) => xs.length > 1;
|
|
178
178
|
class EscrowSignature__factory extends ethers_1.ContractFactory {
|
|
179
179
|
constructor(...args) {
|