@instadapp/interop-x 0.0.0-dev.9b1fcb8 → 0.0.0-dev.a145c8e
Sign up to get free protection for your applications and to get access to all the features.
- package/.github/workflows/ci.yml +19 -0
- package/dist/package.json +21 -17
- package/dist/src/abi/connectors/index.js +36 -0
- package/dist/src/abi/connectors/v1/aave.js +148 -0
- package/dist/src/abi/connectors/v1/aave_claim.js +4 -0
- package/dist/src/abi/connectors/v1/aave_migrate.js +109 -0
- package/dist/src/abi/connectors/v1/aave_polygon_migrate.js +110 -0
- package/dist/src/abi/connectors/v1/aave_stake.js +4 -0
- package/dist/src/abi/connectors/v1/aave_v1_import.js +54 -0
- package/dist/src/abi/connectors/v1/aave_v2.js +230 -0
- package/dist/src/abi/connectors/v1/aave_v2_import.js +59 -0
- package/dist/src/abi/connectors/v1/authority.js +100 -0
- package/dist/src/abi/connectors/v1/basic.js +136 -0
- package/dist/src/abi/connectors/v1/chi.js +36 -0
- package/dist/src/abi/connectors/v1/comp.js +4 -0
- package/dist/src/abi/connectors/v1/compound.js +4 -0
- package/dist/src/abi/connectors/v1/compoundImport.js +69 -0
- package/dist/src/abi/connectors/v1/compoundImport_v2.js +4 -0
- package/dist/src/abi/connectors/v1/compound_old.js +448 -0
- package/dist/src/abi/connectors/v1/curve.js +140 -0
- package/dist/src/abi/connectors/v1/curve_claim.js +63 -0
- package/dist/src/abi/connectors/v1/curve_gauge.js +158 -0
- package/dist/src/abi/connectors/v1/curve_sbtc.js +140 -0
- package/dist/src/abi/connectors/v1/curve_susd.js +140 -0
- package/dist/src/abi/connectors/v1/curve_three.js +79 -0
- package/dist/src/abi/connectors/v1/curve_y.js +140 -0
- package/dist/src/abi/connectors/v1/dsa_migrate_v1_to_v2.js +4 -0
- package/dist/src/abi/connectors/v1/dydx.js +148 -0
- package/dist/src/abi/connectors/v1/dydx_flash.js +52 -0
- package/dist/src/abi/connectors/v1/fee.js +50 -0
- package/dist/src/abi/connectors/v1/gelato.js +1138 -0
- package/dist/src/abi/connectors/v1/index.js +58 -0
- package/dist/src/abi/connectors/v1/instapool.js +439 -0
- package/dist/src/abi/connectors/v1/instapool_v2.js +126 -0
- package/dist/src/abi/connectors/v1/kyber.js +117 -0
- package/dist/src/abi/connectors/v1/maker.js +480 -0
- package/dist/src/abi/connectors/v1/maker_old.js +300 -0
- package/dist/src/abi/connectors/v1/math.js +43 -0
- package/dist/src/abi/connectors/v1/migrate.js +46 -0
- package/dist/src/abi/connectors/v1/oasis.js +198 -0
- package/dist/src/abi/connectors/v1/oneInch.js +160 -0
- package/dist/src/abi/connectors/v1/polygon_bridge.js +4 -0
- package/dist/src/abi/connectors/v1/refinance.js +4 -0
- package/dist/src/abi/connectors/v1/staking.js +220 -0
- package/dist/src/abi/connectors/v1/swerve.js +179 -0
- package/dist/src/abi/connectors/v1/uniswap.js +297 -0
- package/dist/src/abi/connectors/v2/1INCH-A.js +4 -0
- package/dist/src/abi/connectors/v2/1INCH-B.js +4 -0
- package/dist/src/abi/connectors/v2/AAVE-CLAIM-A.js +4 -0
- package/dist/src/abi/connectors/v2/AAVE-CLAIM-B.js +166 -0
- package/dist/src/abi/connectors/v2/AAVE-STAKE-A.js +4 -0
- package/dist/src/abi/connectors/v2/AAVE-V1-A.js +130 -0
- package/dist/src/abi/connectors/v2/AAVE-V1-IMPORT-A.js +4 -0
- package/dist/src/abi/connectors/v2/AAVE-V2-A.js +230 -0
- package/dist/src/abi/connectors/v2/AAVE-V2-IMPORT-A.js +4 -0
- package/dist/src/abi/connectors/v2/AAVE-V2-IMPORT-B.js +225 -0
- package/dist/src/abi/connectors/v2/AUTHORITY-A.js +100 -0
- package/dist/src/abi/connectors/v2/B-COMPOUND-A.js +4 -0
- package/dist/src/abi/connectors/v2/B-LIQUITY-A.js +4 -0
- package/dist/src/abi/connectors/v2/B-MAKERDAO-A.js +4 -0
- package/dist/src/abi/connectors/v2/BASIC-A.js +136 -0
- package/dist/src/abi/connectors/v2/BASIC-B.js +4 -0
- package/dist/src/abi/connectors/v2/BASIC-C.js +4 -0
- package/dist/src/abi/connectors/v2/COMP-A.js +4 -0
- package/dist/src/abi/connectors/v2/COMPOUND-A.js +4 -0
- package/dist/src/abi/connectors/v2/COMPOUND-IMPORT-A.js +4 -0
- package/dist/src/abi/connectors/v2/COMPOUND-IMPORT-B.js +195 -0
- package/dist/src/abi/connectors/v2/G-UNISWAP-A.js +4 -0
- package/dist/src/abi/connectors/v2/GELATO-AAVE-A.js +4 -0
- package/dist/src/abi/connectors/v2/INST-A.js +4 -0
- package/dist/src/abi/connectors/v2/INST-LM-A.js +4 -0
- package/dist/src/abi/connectors/v2/INST-STAKING-A.js +4 -0
- package/dist/src/abi/connectors/v2/INST-STAKING-B.js +4 -0
- package/dist/src/abi/connectors/v2/INSTAPOOL-A.js +4 -0
- package/dist/src/abi/connectors/v2/LIQUITY-A.js +4 -0
- package/dist/src/abi/connectors/v2/MAKERDAO-A.js +4 -0
- package/dist/src/abi/connectors/v2/MAKERDAO-CLAIM-A.js +136 -0
- package/dist/src/abi/connectors/v2/PARASWAP-A.js +4 -0
- package/dist/src/abi/connectors/v2/POLYGON-BRIDGE-A.js +4 -0
- package/dist/src/abi/connectors/v2/REFINANCE-A.js +4 -0
- package/dist/src/abi/connectors/v2/REFLEXER-A.js +4 -0
- package/dist/src/abi/connectors/v2/STAKE-ERC20-A.js +4 -0
- package/dist/src/abi/connectors/v2/UNISWAP-A.js +297 -0
- package/dist/src/abi/connectors/v2/UNISWAP-V2-A.js +4 -0
- package/dist/src/abi/connectors/v2/UNISWAP-V3-A.js +4 -0
- package/dist/src/abi/connectors/v2/UNISWAP-V3-STAKE-A.js +4 -0
- package/dist/src/abi/connectors/v2/WETH-A.js +4 -0
- package/dist/src/abi/connectors/v2/YEARN-VAULT-A.js +4 -0
- package/dist/src/abi/connectors/v2/index.js +89 -0
- package/dist/src/abi/index.js +4 -4
- package/dist/src/abi/interopX.json +1436 -0
- package/dist/src/alias.js +10 -0
- package/dist/src/api/index.js +6 -3
- package/dist/src/config/index.js +11 -1
- package/dist/src/constants/addresses.js +4 -7
- package/dist/src/constants/blockConfirmations.js +8 -0
- package/dist/src/constants/index.js +1 -1
- package/dist/src/constants/tokens.js +62 -39
- package/dist/src/db/models/transaction.js +37 -15
- package/dist/src/gnosis/actions/aaveV2/index.js +11 -0
- package/dist/src/gnosis/actions/aaveV2/source.js +73 -0
- package/dist/src/gnosis/actions/aaveV2/target.js +85 -0
- package/dist/src/gnosis/actions/index.js +9 -0
- package/dist/src/gnosis/index.js +20 -0
- package/dist/src/index.js +75 -24
- package/dist/src/net/peer/index.js +2 -1
- package/dist/src/net/pool/index.js +18 -2
- package/dist/src/net/protocol/dial/SignatureDialProtocol.js +9 -10
- package/dist/src/net/protocol/dial/TransactionStatusDialProtocol.js +30 -0
- package/dist/src/net/protocol/index.js +51 -1
- package/dist/src/tasks/AutoUpdateTask.js +70 -0
- package/dist/src/tasks/BaseTask.js +11 -3
- package/dist/src/tasks/InteropX/ProcessSubmitSubmitEvents.js +179 -0
- package/dist/src/tasks/InteropX/SyncLogSubmitEvents.js +87 -0
- package/dist/src/tasks/InteropX/SyncLogValidateEvents.js +105 -0
- package/dist/src/tasks/Transactions/SyncTransactionStatusTask.js +58 -0
- package/dist/src/tasks/index.js +17 -13
- package/dist/src/typechain/{InteropBridgeToken.js → InteropX.js} +0 -0
- package/dist/src/typechain/factories/InteropX__factory.js +1928 -0
- package/dist/src/typechain/factories/index.js +3 -5
- package/dist/src/typechain/index.js +3 -5
- package/dist/src/utils/index.js +111 -66
- package/package.json +21 -17
- package/src/abi/connectors/index.ts +14 -0
- package/src/abi/connectors/v1/aave.ts +147 -0
- package/src/abi/connectors/v1/aave_claim.ts +3 -0
- package/src/abi/connectors/v1/aave_migrate.ts +108 -0
- package/src/abi/connectors/v1/aave_polygon_migrate.ts +109 -0
- package/src/abi/connectors/v1/aave_stake.ts +3 -0
- package/src/abi/connectors/v1/aave_v1_import.ts +53 -0
- package/src/abi/connectors/v1/aave_v2.ts +229 -0
- package/src/abi/connectors/v1/aave_v2_import.ts +58 -0
- package/src/abi/connectors/v1/authority.ts +99 -0
- package/src/abi/connectors/v1/basic.ts +135 -0
- package/src/abi/connectors/v1/chi.ts +35 -0
- package/src/abi/connectors/v1/comp.ts +3 -0
- package/src/abi/connectors/v1/compound.ts +3 -0
- package/src/abi/connectors/v1/compoundImport.ts +68 -0
- package/src/abi/connectors/v1/compoundImport_v2.ts +3 -0
- package/src/abi/connectors/v1/compound_old.ts +447 -0
- package/src/abi/connectors/v1/curve.ts +139 -0
- package/src/abi/connectors/v1/curve_claim.ts +62 -0
- package/src/abi/connectors/v1/curve_gauge.ts +157 -0
- package/src/abi/connectors/v1/curve_sbtc.ts +139 -0
- package/src/abi/connectors/v1/curve_susd.ts +139 -0
- package/src/abi/connectors/v1/curve_three.ts +78 -0
- package/src/abi/connectors/v1/curve_y.ts +139 -0
- package/src/abi/connectors/v1/dsa_migrate_v1_to_v2.ts +3 -0
- package/src/abi/connectors/v1/dydx.ts +147 -0
- package/src/abi/connectors/v1/dydx_flash.ts +51 -0
- package/src/abi/connectors/v1/fee.ts +49 -0
- package/src/abi/connectors/v1/gelato.ts +1137 -0
- package/src/abi/connectors/v1/index.ts +42 -0
- package/src/abi/connectors/v1/instapool.ts +438 -0
- package/src/abi/connectors/v1/instapool_v2.ts +125 -0
- package/src/abi/connectors/v1/kyber.ts +116 -0
- package/src/abi/connectors/v1/maker.ts +479 -0
- package/src/abi/connectors/v1/maker_old.ts +299 -0
- package/src/abi/connectors/v1/math.ts +42 -0
- package/src/abi/connectors/v1/migrate.ts +45 -0
- package/src/abi/connectors/v1/oasis.ts +197 -0
- package/src/abi/connectors/v1/oneInch.ts +159 -0
- package/src/abi/connectors/v1/polygon_bridge.ts +3 -0
- package/src/abi/connectors/v1/refinance.ts +3 -0
- package/src/abi/connectors/v1/staking.ts +219 -0
- package/src/abi/connectors/v1/swerve.ts +178 -0
- package/src/abi/connectors/v1/uniswap.ts +297 -0
- package/src/abi/connectors/v2/1INCH-A.ts +3 -0
- package/src/abi/connectors/v2/1INCH-B.ts +3 -0
- package/src/abi/connectors/v2/AAVE-CLAIM-A.ts +3 -0
- package/src/abi/connectors/v2/AAVE-CLAIM-B.ts +165 -0
- package/src/abi/connectors/v2/AAVE-STAKE-A.ts +3 -0
- package/src/abi/connectors/v2/AAVE-V1-A.ts +130 -0
- package/src/abi/connectors/v2/AAVE-V1-IMPORT-A.ts +3 -0
- package/src/abi/connectors/v2/AAVE-V2-A.ts +229 -0
- package/src/abi/connectors/v2/AAVE-V2-IMPORT-A.ts +3 -0
- package/src/abi/connectors/v2/AAVE-V2-IMPORT-B.ts +224 -0
- package/src/abi/connectors/v2/AUTHORITY-A.ts +99 -0
- package/src/abi/connectors/v2/B-COMPOUND-A.ts +3 -0
- package/src/abi/connectors/v2/B-LIQUITY-A.ts +3 -0
- package/src/abi/connectors/v2/B-MAKERDAO-A.ts +3 -0
- package/src/abi/connectors/v2/BASIC-A.ts +135 -0
- package/src/abi/connectors/v2/BASIC-B.ts +3 -0
- package/src/abi/connectors/v2/BASIC-C.ts +3 -0
- package/src/abi/connectors/v2/COMP-A.ts +3 -0
- package/src/abi/connectors/v2/COMPOUND-A.ts +3 -0
- package/src/abi/connectors/v2/COMPOUND-IMPORT-A.ts +3 -0
- package/src/abi/connectors/v2/COMPOUND-IMPORT-B.ts +194 -0
- package/src/abi/connectors/v2/G-UNISWAP-A.ts +3 -0
- package/src/abi/connectors/v2/GELATO-AAVE-A.ts +3 -0
- package/src/abi/connectors/v2/INST-A.ts +3 -0
- package/src/abi/connectors/v2/INST-LM-A.ts +3 -0
- package/src/abi/connectors/v2/INST-STAKING-A.ts +3 -0
- package/src/abi/connectors/v2/INST-STAKING-B.ts +3 -0
- package/src/abi/connectors/v2/INSTAPOOL-A.ts +3 -0
- package/src/abi/connectors/v2/LIQUITY-A.ts +3 -0
- package/src/abi/connectors/v2/MAKERDAO-A.ts +3 -0
- package/src/abi/connectors/v2/MAKERDAO-CLAIM-A.ts +135 -0
- package/src/abi/connectors/v2/PARASWAP-A.ts +3 -0
- package/src/abi/connectors/v2/POLYGON-BRIDGE-A.ts +3 -0
- package/src/abi/connectors/v2/REFINANCE-A.ts +3 -0
- package/src/abi/connectors/v2/REFLEXER-A.ts +3 -0
- package/src/abi/connectors/v2/STAKE-ERC20-A.ts +3 -0
- package/src/abi/connectors/v2/UNISWAP-A.ts +297 -0
- package/src/abi/connectors/v2/UNISWAP-V2-A.ts +3 -0
- package/src/abi/connectors/v2/UNISWAP-V3-A.ts +3 -0
- package/src/abi/connectors/v2/UNISWAP-V3-STAKE-A.ts +3 -0
- package/src/abi/connectors/v2/WETH-A.ts +3 -0
- package/src/abi/connectors/v2/YEARN-VAULT-A.ts +3 -0
- package/src/abi/connectors/v2/index.ts +87 -0
- package/src/abi/index.ts +7 -7
- package/src/abi/interopX.json +1436 -0
- package/src/alias.ts +6 -0
- package/src/api/index.ts +5 -2
- package/src/config/index.ts +11 -1
- package/src/constants/addresses.ts +5 -8
- package/src/constants/blockConfirmations.ts +5 -0
- package/src/constants/index.ts +1 -1
- package/src/constants/tokens.ts +63 -40
- package/src/db/models/transaction.ts +138 -65
- package/src/gnosis/actions/aaveV2/index.ts +9 -0
- package/src/gnosis/actions/aaveV2/source.ts +118 -0
- package/src/gnosis/actions/aaveV2/target.ts +132 -0
- package/src/gnosis/actions/index.ts +5 -0
- package/src/gnosis/index.ts +19 -0
- package/src/index.ts +96 -26
- package/src/net/peer/index.ts +2 -1
- package/src/net/pool/index.ts +25 -5
- package/src/net/protocol/dial/SignatureDialProtocol.ts +12 -13
- package/src/net/protocol/dial/TransactionStatusDialProtocol.ts +33 -0
- package/src/net/protocol/index.ts +67 -1
- package/src/tasks/AutoUpdateTask.ts +82 -0
- package/src/tasks/BaseTask.ts +13 -3
- package/src/tasks/InteropX/ProcessSubmitSubmitEvents.ts +269 -0
- package/src/tasks/InteropX/SyncLogSubmitEvents.ts +139 -0
- package/src/tasks/InteropX/SyncLogValidateEvents.ts +152 -0
- package/src/tasks/Transactions/SyncTransactionStatusTask.ts +70 -0
- package/src/tasks/index.ts +25 -16
- package/src/typechain/InteropX.ts +1216 -0
- package/src/typechain/factories/InteropX__factory.ts +1932 -0
- package/src/typechain/factories/index.ts +1 -2
- package/src/typechain/index.ts +2 -4
- package/src/utils/index.ts +244 -117
- package/tsconfig.json +7 -2
- package/dist/src/abi/interopBridgeToken.json +0 -286
- package/dist/src/abi/interopXGateway.json +0 -184
- package/dist/src/constants/itokens.js +0 -13
- package/dist/src/tasks/InteropBridge/SyncWithdrawEvents.js +0 -68
- package/dist/src/tasks/InteropXGateway/ProcessDepositEvents.js +0 -147
- package/dist/src/tasks/InteropXGateway/SyncDepositEvents.js +0 -75
- package/dist/src/typechain/InteropXGateway.js +0 -2
- package/dist/src/typechain/factories/InteropBridgeToken__factory.js +0 -459
- package/dist/src/typechain/factories/InteropXGateway__factory.js +0 -265
- package/src/abi/interopBridgeToken.json +0 -286
- package/src/abi/interopXGateway.json +0 -184
- package/src/constants/itokens.ts +0 -10
- package/src/tasks/InteropBridge/SyncWithdrawEvents.ts +0 -119
- package/src/tasks/InteropXGateway/ProcessDepositEvents.ts +0 -241
- package/src/tasks/InteropXGateway/SyncDepositEvents.ts +0 -126
- package/src/typechain/InteropBridgeToken.ts +0 -686
- package/src/typechain/InteropXGateway.ts +0 -407
- package/src/typechain/factories/InteropBridgeToken__factory.ts +0 -466
- package/src/typechain/factories/InteropXGateway__factory.ts +0 -272
@@ -0,0 +1,1138 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.gelato = void 0;
|
4
|
+
exports.gelato = [
|
5
|
+
{
|
6
|
+
inputs: [{ internalType: "uint256", name: "_id", type: "uint256" }],
|
7
|
+
stateMutability: "nonpayable",
|
8
|
+
type: "constructor",
|
9
|
+
},
|
10
|
+
{
|
11
|
+
anonymous: false,
|
12
|
+
inputs: [
|
13
|
+
{
|
14
|
+
components: [
|
15
|
+
{ internalType: "uint256", name: "id", type: "uint256" },
|
16
|
+
{
|
17
|
+
internalType: "address",
|
18
|
+
name: "userProxy",
|
19
|
+
type: "address",
|
20
|
+
},
|
21
|
+
{
|
22
|
+
components: [
|
23
|
+
{
|
24
|
+
internalType: "address",
|
25
|
+
name: "addr",
|
26
|
+
type: "address",
|
27
|
+
},
|
28
|
+
{
|
29
|
+
internalType: "address",
|
30
|
+
name: "module",
|
31
|
+
type: "address",
|
32
|
+
},
|
33
|
+
],
|
34
|
+
internalType: "struct Provider",
|
35
|
+
name: "provider",
|
36
|
+
type: "tuple",
|
37
|
+
},
|
38
|
+
{ internalType: "uint256", name: "index", type: "uint256" },
|
39
|
+
{
|
40
|
+
components: [
|
41
|
+
{
|
42
|
+
components: [
|
43
|
+
{
|
44
|
+
internalType: "address",
|
45
|
+
name: "inst",
|
46
|
+
type: "address",
|
47
|
+
},
|
48
|
+
{
|
49
|
+
internalType: "bytes",
|
50
|
+
name: "data",
|
51
|
+
type: "bytes",
|
52
|
+
},
|
53
|
+
],
|
54
|
+
internalType: "struct Condition[]",
|
55
|
+
name: "conditions",
|
56
|
+
type: "tuple[]",
|
57
|
+
},
|
58
|
+
{
|
59
|
+
components: [
|
60
|
+
{
|
61
|
+
internalType: "address",
|
62
|
+
name: "addr",
|
63
|
+
type: "address",
|
64
|
+
},
|
65
|
+
{
|
66
|
+
internalType: "bytes",
|
67
|
+
name: "data",
|
68
|
+
type: "bytes",
|
69
|
+
},
|
70
|
+
{
|
71
|
+
internalType: "enum Operation",
|
72
|
+
name: "operation",
|
73
|
+
type: "uint8",
|
74
|
+
},
|
75
|
+
{
|
76
|
+
internalType: "enum DataFlow",
|
77
|
+
name: "dataFlow",
|
78
|
+
type: "uint8",
|
79
|
+
},
|
80
|
+
{
|
81
|
+
internalType: "uint256",
|
82
|
+
name: "value",
|
83
|
+
type: "uint256",
|
84
|
+
},
|
85
|
+
{
|
86
|
+
internalType: "bool",
|
87
|
+
name: "termsOkCheck",
|
88
|
+
type: "bool",
|
89
|
+
},
|
90
|
+
],
|
91
|
+
internalType: "struct Action[]",
|
92
|
+
name: "actions",
|
93
|
+
type: "tuple[]",
|
94
|
+
},
|
95
|
+
{
|
96
|
+
internalType: "uint256",
|
97
|
+
name: "selfProviderGasLimit",
|
98
|
+
type: "uint256",
|
99
|
+
},
|
100
|
+
{
|
101
|
+
internalType: "uint256",
|
102
|
+
name: "selfProviderGasPriceCeil",
|
103
|
+
type: "uint256",
|
104
|
+
},
|
105
|
+
],
|
106
|
+
internalType: "struct Task[]",
|
107
|
+
name: "tasks",
|
108
|
+
type: "tuple[]",
|
109
|
+
},
|
110
|
+
{
|
111
|
+
internalType: "uint256",
|
112
|
+
name: "expiryDate",
|
113
|
+
type: "uint256",
|
114
|
+
},
|
115
|
+
{ internalType: "uint256", name: "cycleId", type: "uint256" },
|
116
|
+
{
|
117
|
+
internalType: "uint256",
|
118
|
+
name: "submissionsLeft",
|
119
|
+
type: "uint256",
|
120
|
+
},
|
121
|
+
],
|
122
|
+
indexed: true,
|
123
|
+
internalType: "struct TaskReceipt[]",
|
124
|
+
name: "taskReceipt",
|
125
|
+
type: "tuple[]",
|
126
|
+
},
|
127
|
+
{
|
128
|
+
indexed: false,
|
129
|
+
internalType: "uint256",
|
130
|
+
name: "getId",
|
131
|
+
type: "uint256",
|
132
|
+
},
|
133
|
+
{
|
134
|
+
indexed: false,
|
135
|
+
internalType: "uint256",
|
136
|
+
name: "setId",
|
137
|
+
type: "uint256",
|
138
|
+
},
|
139
|
+
],
|
140
|
+
name: "LogMultiCancelTasks",
|
141
|
+
type: "event",
|
142
|
+
},
|
143
|
+
{
|
144
|
+
anonymous: false,
|
145
|
+
inputs: [
|
146
|
+
{
|
147
|
+
indexed: true,
|
148
|
+
internalType: "address",
|
149
|
+
name: "executor",
|
150
|
+
type: "address",
|
151
|
+
},
|
152
|
+
{
|
153
|
+
components: [
|
154
|
+
{
|
155
|
+
internalType: "address[]",
|
156
|
+
name: "conditions",
|
157
|
+
type: "address[]",
|
158
|
+
},
|
159
|
+
{
|
160
|
+
components: [
|
161
|
+
{
|
162
|
+
internalType: "address",
|
163
|
+
name: "addr",
|
164
|
+
type: "address",
|
165
|
+
},
|
166
|
+
{ internalType: "bytes", name: "data", type: "bytes" },
|
167
|
+
{
|
168
|
+
internalType: "enum Operation",
|
169
|
+
name: "operation",
|
170
|
+
type: "uint8",
|
171
|
+
},
|
172
|
+
{
|
173
|
+
internalType: "enum DataFlow",
|
174
|
+
name: "dataFlow",
|
175
|
+
type: "uint8",
|
176
|
+
},
|
177
|
+
{
|
178
|
+
internalType: "uint256",
|
179
|
+
name: "value",
|
180
|
+
type: "uint256",
|
181
|
+
},
|
182
|
+
{
|
183
|
+
internalType: "bool",
|
184
|
+
name: "termsOkCheck",
|
185
|
+
type: "bool",
|
186
|
+
},
|
187
|
+
],
|
188
|
+
internalType: "struct Action[]",
|
189
|
+
name: "actions",
|
190
|
+
type: "tuple[]",
|
191
|
+
},
|
192
|
+
{
|
193
|
+
internalType: "uint256",
|
194
|
+
name: "gasPriceCeil",
|
195
|
+
type: "uint256",
|
196
|
+
},
|
197
|
+
],
|
198
|
+
indexed: true,
|
199
|
+
internalType: "struct TaskSpec[]",
|
200
|
+
name: "taskspecs",
|
201
|
+
type: "tuple[]",
|
202
|
+
},
|
203
|
+
{
|
204
|
+
indexed: true,
|
205
|
+
internalType: "address[]",
|
206
|
+
name: "modules",
|
207
|
+
type: "address[]",
|
208
|
+
},
|
209
|
+
{
|
210
|
+
indexed: false,
|
211
|
+
internalType: "uint256",
|
212
|
+
name: "ethToDeposit",
|
213
|
+
type: "uint256",
|
214
|
+
},
|
215
|
+
{
|
216
|
+
indexed: false,
|
217
|
+
internalType: "uint256",
|
218
|
+
name: "getId",
|
219
|
+
type: "uint256",
|
220
|
+
},
|
221
|
+
{
|
222
|
+
indexed: false,
|
223
|
+
internalType: "uint256",
|
224
|
+
name: "setId",
|
225
|
+
type: "uint256",
|
226
|
+
},
|
227
|
+
],
|
228
|
+
name: "LogMultiProvide",
|
229
|
+
type: "event",
|
230
|
+
},
|
231
|
+
{
|
232
|
+
anonymous: false,
|
233
|
+
inputs: [
|
234
|
+
{
|
235
|
+
components: [
|
236
|
+
{
|
237
|
+
internalType: "address[]",
|
238
|
+
name: "conditions",
|
239
|
+
type: "address[]",
|
240
|
+
},
|
241
|
+
{
|
242
|
+
components: [
|
243
|
+
{
|
244
|
+
internalType: "address",
|
245
|
+
name: "addr",
|
246
|
+
type: "address",
|
247
|
+
},
|
248
|
+
{ internalType: "bytes", name: "data", type: "bytes" },
|
249
|
+
{
|
250
|
+
internalType: "enum Operation",
|
251
|
+
name: "operation",
|
252
|
+
type: "uint8",
|
253
|
+
},
|
254
|
+
{
|
255
|
+
internalType: "enum DataFlow",
|
256
|
+
name: "dataFlow",
|
257
|
+
type: "uint8",
|
258
|
+
},
|
259
|
+
{
|
260
|
+
internalType: "uint256",
|
261
|
+
name: "value",
|
262
|
+
type: "uint256",
|
263
|
+
},
|
264
|
+
{
|
265
|
+
internalType: "bool",
|
266
|
+
name: "termsOkCheck",
|
267
|
+
type: "bool",
|
268
|
+
},
|
269
|
+
],
|
270
|
+
internalType: "struct Action[]",
|
271
|
+
name: "actions",
|
272
|
+
type: "tuple[]",
|
273
|
+
},
|
274
|
+
{
|
275
|
+
internalType: "uint256",
|
276
|
+
name: "gasPriceCeil",
|
277
|
+
type: "uint256",
|
278
|
+
},
|
279
|
+
],
|
280
|
+
indexed: true,
|
281
|
+
internalType: "struct TaskSpec[]",
|
282
|
+
name: "taskspecs",
|
283
|
+
type: "tuple[]",
|
284
|
+
},
|
285
|
+
{
|
286
|
+
indexed: true,
|
287
|
+
internalType: "address[]",
|
288
|
+
name: "modules",
|
289
|
+
type: "address[]",
|
290
|
+
},
|
291
|
+
{
|
292
|
+
indexed: false,
|
293
|
+
internalType: "uint256",
|
294
|
+
name: "ethToWithdraw",
|
295
|
+
type: "uint256",
|
296
|
+
},
|
297
|
+
{
|
298
|
+
indexed: false,
|
299
|
+
internalType: "uint256",
|
300
|
+
name: "getId",
|
301
|
+
type: "uint256",
|
302
|
+
},
|
303
|
+
{
|
304
|
+
indexed: false,
|
305
|
+
internalType: "uint256",
|
306
|
+
name: "setId",
|
307
|
+
type: "uint256",
|
308
|
+
},
|
309
|
+
],
|
310
|
+
name: "LogMultiUnprovide",
|
311
|
+
type: "event",
|
312
|
+
},
|
313
|
+
{
|
314
|
+
anonymous: false,
|
315
|
+
inputs: [
|
316
|
+
{
|
317
|
+
components: [
|
318
|
+
{ internalType: "address", name: "addr", type: "address" },
|
319
|
+
{ internalType: "address", name: "module", type: "address" },
|
320
|
+
],
|
321
|
+
indexed: true,
|
322
|
+
internalType: "struct Provider",
|
323
|
+
name: "provider",
|
324
|
+
type: "tuple",
|
325
|
+
},
|
326
|
+
{
|
327
|
+
components: [
|
328
|
+
{
|
329
|
+
components: [
|
330
|
+
{
|
331
|
+
internalType: "address",
|
332
|
+
name: "inst",
|
333
|
+
type: "address",
|
334
|
+
},
|
335
|
+
{ internalType: "bytes", name: "data", type: "bytes" },
|
336
|
+
],
|
337
|
+
internalType: "struct Condition[]",
|
338
|
+
name: "conditions",
|
339
|
+
type: "tuple[]",
|
340
|
+
},
|
341
|
+
{
|
342
|
+
components: [
|
343
|
+
{
|
344
|
+
internalType: "address",
|
345
|
+
name: "addr",
|
346
|
+
type: "address",
|
347
|
+
},
|
348
|
+
{ internalType: "bytes", name: "data", type: "bytes" },
|
349
|
+
{
|
350
|
+
internalType: "enum Operation",
|
351
|
+
name: "operation",
|
352
|
+
type: "uint8",
|
353
|
+
},
|
354
|
+
{
|
355
|
+
internalType: "enum DataFlow",
|
356
|
+
name: "dataFlow",
|
357
|
+
type: "uint8",
|
358
|
+
},
|
359
|
+
{
|
360
|
+
internalType: "uint256",
|
361
|
+
name: "value",
|
362
|
+
type: "uint256",
|
363
|
+
},
|
364
|
+
{
|
365
|
+
internalType: "bool",
|
366
|
+
name: "termsOkCheck",
|
367
|
+
type: "bool",
|
368
|
+
},
|
369
|
+
],
|
370
|
+
internalType: "struct Action[]",
|
371
|
+
name: "actions",
|
372
|
+
type: "tuple[]",
|
373
|
+
},
|
374
|
+
{
|
375
|
+
internalType: "uint256",
|
376
|
+
name: "selfProviderGasLimit",
|
377
|
+
type: "uint256",
|
378
|
+
},
|
379
|
+
{
|
380
|
+
internalType: "uint256",
|
381
|
+
name: "selfProviderGasPriceCeil",
|
382
|
+
type: "uint256",
|
383
|
+
},
|
384
|
+
],
|
385
|
+
indexed: true,
|
386
|
+
internalType: "struct Task",
|
387
|
+
name: "task",
|
388
|
+
type: "tuple",
|
389
|
+
},
|
390
|
+
{
|
391
|
+
indexed: true,
|
392
|
+
internalType: "uint256",
|
393
|
+
name: "expiryDate",
|
394
|
+
type: "uint256",
|
395
|
+
},
|
396
|
+
{
|
397
|
+
indexed: false,
|
398
|
+
internalType: "uint256",
|
399
|
+
name: "getId",
|
400
|
+
type: "uint256",
|
401
|
+
},
|
402
|
+
{
|
403
|
+
indexed: false,
|
404
|
+
internalType: "uint256",
|
405
|
+
name: "setId",
|
406
|
+
type: "uint256",
|
407
|
+
},
|
408
|
+
],
|
409
|
+
name: "LogSubmitTask",
|
410
|
+
type: "event",
|
411
|
+
},
|
412
|
+
{
|
413
|
+
anonymous: false,
|
414
|
+
inputs: [
|
415
|
+
{
|
416
|
+
components: [
|
417
|
+
{ internalType: "address", name: "addr", type: "address" },
|
418
|
+
{ internalType: "address", name: "module", type: "address" },
|
419
|
+
],
|
420
|
+
indexed: true,
|
421
|
+
internalType: "struct Provider",
|
422
|
+
name: "provider",
|
423
|
+
type: "tuple",
|
424
|
+
},
|
425
|
+
{
|
426
|
+
components: [
|
427
|
+
{
|
428
|
+
components: [
|
429
|
+
{
|
430
|
+
internalType: "address",
|
431
|
+
name: "inst",
|
432
|
+
type: "address",
|
433
|
+
},
|
434
|
+
{ internalType: "bytes", name: "data", type: "bytes" },
|
435
|
+
],
|
436
|
+
internalType: "struct Condition[]",
|
437
|
+
name: "conditions",
|
438
|
+
type: "tuple[]",
|
439
|
+
},
|
440
|
+
{
|
441
|
+
components: [
|
442
|
+
{
|
443
|
+
internalType: "address",
|
444
|
+
name: "addr",
|
445
|
+
type: "address",
|
446
|
+
},
|
447
|
+
{ internalType: "bytes", name: "data", type: "bytes" },
|
448
|
+
{
|
449
|
+
internalType: "enum Operation",
|
450
|
+
name: "operation",
|
451
|
+
type: "uint8",
|
452
|
+
},
|
453
|
+
{
|
454
|
+
internalType: "enum DataFlow",
|
455
|
+
name: "dataFlow",
|
456
|
+
type: "uint8",
|
457
|
+
},
|
458
|
+
{
|
459
|
+
internalType: "uint256",
|
460
|
+
name: "value",
|
461
|
+
type: "uint256",
|
462
|
+
},
|
463
|
+
{
|
464
|
+
internalType: "bool",
|
465
|
+
name: "termsOkCheck",
|
466
|
+
type: "bool",
|
467
|
+
},
|
468
|
+
],
|
469
|
+
internalType: "struct Action[]",
|
470
|
+
name: "actions",
|
471
|
+
type: "tuple[]",
|
472
|
+
},
|
473
|
+
{
|
474
|
+
internalType: "uint256",
|
475
|
+
name: "selfProviderGasLimit",
|
476
|
+
type: "uint256",
|
477
|
+
},
|
478
|
+
{
|
479
|
+
internalType: "uint256",
|
480
|
+
name: "selfProviderGasPriceCeil",
|
481
|
+
type: "uint256",
|
482
|
+
},
|
483
|
+
],
|
484
|
+
indexed: true,
|
485
|
+
internalType: "struct Task[]",
|
486
|
+
name: "tasks",
|
487
|
+
type: "tuple[]",
|
488
|
+
},
|
489
|
+
{
|
490
|
+
indexed: true,
|
491
|
+
internalType: "uint256",
|
492
|
+
name: "expiryDate",
|
493
|
+
type: "uint256",
|
494
|
+
},
|
495
|
+
{
|
496
|
+
indexed: false,
|
497
|
+
internalType: "uint256",
|
498
|
+
name: "getId",
|
499
|
+
type: "uint256",
|
500
|
+
},
|
501
|
+
{
|
502
|
+
indexed: false,
|
503
|
+
internalType: "uint256",
|
504
|
+
name: "setId",
|
505
|
+
type: "uint256",
|
506
|
+
},
|
507
|
+
],
|
508
|
+
name: "LogSubmitTaskChain",
|
509
|
+
type: "event",
|
510
|
+
},
|
511
|
+
{
|
512
|
+
anonymous: false,
|
513
|
+
inputs: [
|
514
|
+
{
|
515
|
+
components: [
|
516
|
+
{ internalType: "address", name: "addr", type: "address" },
|
517
|
+
{ internalType: "address", name: "module", type: "address" },
|
518
|
+
],
|
519
|
+
indexed: true,
|
520
|
+
internalType: "struct Provider",
|
521
|
+
name: "provider",
|
522
|
+
type: "tuple",
|
523
|
+
},
|
524
|
+
{
|
525
|
+
components: [
|
526
|
+
{
|
527
|
+
components: [
|
528
|
+
{
|
529
|
+
internalType: "address",
|
530
|
+
name: "inst",
|
531
|
+
type: "address",
|
532
|
+
},
|
533
|
+
{ internalType: "bytes", name: "data", type: "bytes" },
|
534
|
+
],
|
535
|
+
internalType: "struct Condition[]",
|
536
|
+
name: "conditions",
|
537
|
+
type: "tuple[]",
|
538
|
+
},
|
539
|
+
{
|
540
|
+
components: [
|
541
|
+
{
|
542
|
+
internalType: "address",
|
543
|
+
name: "addr",
|
544
|
+
type: "address",
|
545
|
+
},
|
546
|
+
{ internalType: "bytes", name: "data", type: "bytes" },
|
547
|
+
{
|
548
|
+
internalType: "enum Operation",
|
549
|
+
name: "operation",
|
550
|
+
type: "uint8",
|
551
|
+
},
|
552
|
+
{
|
553
|
+
internalType: "enum DataFlow",
|
554
|
+
name: "dataFlow",
|
555
|
+
type: "uint8",
|
556
|
+
},
|
557
|
+
{
|
558
|
+
internalType: "uint256",
|
559
|
+
name: "value",
|
560
|
+
type: "uint256",
|
561
|
+
},
|
562
|
+
{
|
563
|
+
internalType: "bool",
|
564
|
+
name: "termsOkCheck",
|
565
|
+
type: "bool",
|
566
|
+
},
|
567
|
+
],
|
568
|
+
internalType: "struct Action[]",
|
569
|
+
name: "actions",
|
570
|
+
type: "tuple[]",
|
571
|
+
},
|
572
|
+
{
|
573
|
+
internalType: "uint256",
|
574
|
+
name: "selfProviderGasLimit",
|
575
|
+
type: "uint256",
|
576
|
+
},
|
577
|
+
{
|
578
|
+
internalType: "uint256",
|
579
|
+
name: "selfProviderGasPriceCeil",
|
580
|
+
type: "uint256",
|
581
|
+
},
|
582
|
+
],
|
583
|
+
indexed: true,
|
584
|
+
internalType: "struct Task[]",
|
585
|
+
name: "tasks",
|
586
|
+
type: "tuple[]",
|
587
|
+
},
|
588
|
+
{
|
589
|
+
indexed: true,
|
590
|
+
internalType: "uint256",
|
591
|
+
name: "expiryDate",
|
592
|
+
type: "uint256",
|
593
|
+
},
|
594
|
+
{
|
595
|
+
indexed: false,
|
596
|
+
internalType: "uint256",
|
597
|
+
name: "getId",
|
598
|
+
type: "uint256",
|
599
|
+
},
|
600
|
+
{
|
601
|
+
indexed: false,
|
602
|
+
internalType: "uint256",
|
603
|
+
name: "setId",
|
604
|
+
type: "uint256",
|
605
|
+
},
|
606
|
+
],
|
607
|
+
name: "LogSubmitTaskCycle",
|
608
|
+
type: "event",
|
609
|
+
},
|
610
|
+
{
|
611
|
+
inputs: [],
|
612
|
+
name: "connectorID",
|
613
|
+
outputs: [
|
614
|
+
{ internalType: "uint256", name: "_type", type: "uint256" },
|
615
|
+
{ internalType: "uint256", name: "id", type: "uint256" },
|
616
|
+
],
|
617
|
+
stateMutability: "view",
|
618
|
+
type: "function",
|
619
|
+
},
|
620
|
+
{
|
621
|
+
inputs: [
|
622
|
+
{
|
623
|
+
components: [
|
624
|
+
{ internalType: "uint256", name: "id", type: "uint256" },
|
625
|
+
{
|
626
|
+
internalType: "address",
|
627
|
+
name: "userProxy",
|
628
|
+
type: "address",
|
629
|
+
},
|
630
|
+
{
|
631
|
+
components: [
|
632
|
+
{
|
633
|
+
internalType: "address",
|
634
|
+
name: "addr",
|
635
|
+
type: "address",
|
636
|
+
},
|
637
|
+
{
|
638
|
+
internalType: "address",
|
639
|
+
name: "module",
|
640
|
+
type: "address",
|
641
|
+
},
|
642
|
+
],
|
643
|
+
internalType: "struct Provider",
|
644
|
+
name: "provider",
|
645
|
+
type: "tuple",
|
646
|
+
},
|
647
|
+
{ internalType: "uint256", name: "index", type: "uint256" },
|
648
|
+
{
|
649
|
+
components: [
|
650
|
+
{
|
651
|
+
components: [
|
652
|
+
{
|
653
|
+
internalType: "address",
|
654
|
+
name: "inst",
|
655
|
+
type: "address",
|
656
|
+
},
|
657
|
+
{
|
658
|
+
internalType: "bytes",
|
659
|
+
name: "data",
|
660
|
+
type: "bytes",
|
661
|
+
},
|
662
|
+
],
|
663
|
+
internalType: "struct Condition[]",
|
664
|
+
name: "conditions",
|
665
|
+
type: "tuple[]",
|
666
|
+
},
|
667
|
+
{
|
668
|
+
components: [
|
669
|
+
{
|
670
|
+
internalType: "address",
|
671
|
+
name: "addr",
|
672
|
+
type: "address",
|
673
|
+
},
|
674
|
+
{
|
675
|
+
internalType: "bytes",
|
676
|
+
name: "data",
|
677
|
+
type: "bytes",
|
678
|
+
},
|
679
|
+
{
|
680
|
+
internalType: "enum Operation",
|
681
|
+
name: "operation",
|
682
|
+
type: "uint8",
|
683
|
+
},
|
684
|
+
{
|
685
|
+
internalType: "enum DataFlow",
|
686
|
+
name: "dataFlow",
|
687
|
+
type: "uint8",
|
688
|
+
},
|
689
|
+
{
|
690
|
+
internalType: "uint256",
|
691
|
+
name: "value",
|
692
|
+
type: "uint256",
|
693
|
+
},
|
694
|
+
{
|
695
|
+
internalType: "bool",
|
696
|
+
name: "termsOkCheck",
|
697
|
+
type: "bool",
|
698
|
+
},
|
699
|
+
],
|
700
|
+
internalType: "struct Action[]",
|
701
|
+
name: "actions",
|
702
|
+
type: "tuple[]",
|
703
|
+
},
|
704
|
+
{
|
705
|
+
internalType: "uint256",
|
706
|
+
name: "selfProviderGasLimit",
|
707
|
+
type: "uint256",
|
708
|
+
},
|
709
|
+
{
|
710
|
+
internalType: "uint256",
|
711
|
+
name: "selfProviderGasPriceCeil",
|
712
|
+
type: "uint256",
|
713
|
+
},
|
714
|
+
],
|
715
|
+
internalType: "struct Task[]",
|
716
|
+
name: "tasks",
|
717
|
+
type: "tuple[]",
|
718
|
+
},
|
719
|
+
{
|
720
|
+
internalType: "uint256",
|
721
|
+
name: "expiryDate",
|
722
|
+
type: "uint256",
|
723
|
+
},
|
724
|
+
{ internalType: "uint256", name: "cycleId", type: "uint256" },
|
725
|
+
{
|
726
|
+
internalType: "uint256",
|
727
|
+
name: "submissionsLeft",
|
728
|
+
type: "uint256",
|
729
|
+
},
|
730
|
+
],
|
731
|
+
internalType: "struct TaskReceipt[]",
|
732
|
+
name: "_taskReceipts",
|
733
|
+
type: "tuple[]",
|
734
|
+
},
|
735
|
+
],
|
736
|
+
name: "multiCancelTasks",
|
737
|
+
outputs: [],
|
738
|
+
stateMutability: "payable",
|
739
|
+
type: "function",
|
740
|
+
},
|
741
|
+
{
|
742
|
+
inputs: [
|
743
|
+
{ internalType: "address", name: "_executor", type: "address" },
|
744
|
+
{
|
745
|
+
components: [
|
746
|
+
{
|
747
|
+
internalType: "address[]",
|
748
|
+
name: "conditions",
|
749
|
+
type: "address[]",
|
750
|
+
},
|
751
|
+
{
|
752
|
+
components: [
|
753
|
+
{
|
754
|
+
internalType: "address",
|
755
|
+
name: "addr",
|
756
|
+
type: "address",
|
757
|
+
},
|
758
|
+
{ internalType: "bytes", name: "data", type: "bytes" },
|
759
|
+
{
|
760
|
+
internalType: "enum Operation",
|
761
|
+
name: "operation",
|
762
|
+
type: "uint8",
|
763
|
+
},
|
764
|
+
{
|
765
|
+
internalType: "enum DataFlow",
|
766
|
+
name: "dataFlow",
|
767
|
+
type: "uint8",
|
768
|
+
},
|
769
|
+
{
|
770
|
+
internalType: "uint256",
|
771
|
+
name: "value",
|
772
|
+
type: "uint256",
|
773
|
+
},
|
774
|
+
{
|
775
|
+
internalType: "bool",
|
776
|
+
name: "termsOkCheck",
|
777
|
+
type: "bool",
|
778
|
+
},
|
779
|
+
],
|
780
|
+
internalType: "struct Action[]",
|
781
|
+
name: "actions",
|
782
|
+
type: "tuple[]",
|
783
|
+
},
|
784
|
+
{
|
785
|
+
internalType: "uint256",
|
786
|
+
name: "gasPriceCeil",
|
787
|
+
type: "uint256",
|
788
|
+
},
|
789
|
+
],
|
790
|
+
internalType: "struct TaskSpec[]",
|
791
|
+
name: "_taskSpecs",
|
792
|
+
type: "tuple[]",
|
793
|
+
},
|
794
|
+
{
|
795
|
+
internalType: "address[]",
|
796
|
+
name: "_modules",
|
797
|
+
type: "address[]",
|
798
|
+
},
|
799
|
+
{
|
800
|
+
internalType: "uint256",
|
801
|
+
name: "_ethToDeposit",
|
802
|
+
type: "uint256",
|
803
|
+
},
|
804
|
+
{ internalType: "uint256", name: "_getId", type: "uint256" },
|
805
|
+
{ internalType: "uint256", name: "_setId", type: "uint256" },
|
806
|
+
],
|
807
|
+
name: "multiProvide",
|
808
|
+
outputs: [],
|
809
|
+
stateMutability: "payable",
|
810
|
+
type: "function",
|
811
|
+
},
|
812
|
+
{
|
813
|
+
inputs: [
|
814
|
+
{
|
815
|
+
internalType: "uint256",
|
816
|
+
name: "_withdrawAmount",
|
817
|
+
type: "uint256",
|
818
|
+
},
|
819
|
+
{
|
820
|
+
components: [
|
821
|
+
{
|
822
|
+
internalType: "address[]",
|
823
|
+
name: "conditions",
|
824
|
+
type: "address[]",
|
825
|
+
},
|
826
|
+
{
|
827
|
+
components: [
|
828
|
+
{
|
829
|
+
internalType: "address",
|
830
|
+
name: "addr",
|
831
|
+
type: "address",
|
832
|
+
},
|
833
|
+
{ internalType: "bytes", name: "data", type: "bytes" },
|
834
|
+
{
|
835
|
+
internalType: "enum Operation",
|
836
|
+
name: "operation",
|
837
|
+
type: "uint8",
|
838
|
+
},
|
839
|
+
{
|
840
|
+
internalType: "enum DataFlow",
|
841
|
+
name: "dataFlow",
|
842
|
+
type: "uint8",
|
843
|
+
},
|
844
|
+
{
|
845
|
+
internalType: "uint256",
|
846
|
+
name: "value",
|
847
|
+
type: "uint256",
|
848
|
+
},
|
849
|
+
{
|
850
|
+
internalType: "bool",
|
851
|
+
name: "termsOkCheck",
|
852
|
+
type: "bool",
|
853
|
+
},
|
854
|
+
],
|
855
|
+
internalType: "struct Action[]",
|
856
|
+
name: "actions",
|
857
|
+
type: "tuple[]",
|
858
|
+
},
|
859
|
+
{
|
860
|
+
internalType: "uint256",
|
861
|
+
name: "gasPriceCeil",
|
862
|
+
type: "uint256",
|
863
|
+
},
|
864
|
+
],
|
865
|
+
internalType: "struct TaskSpec[]",
|
866
|
+
name: "_taskSpecs",
|
867
|
+
type: "tuple[]",
|
868
|
+
},
|
869
|
+
{
|
870
|
+
internalType: "address[]",
|
871
|
+
name: "_modules",
|
872
|
+
type: "address[]",
|
873
|
+
},
|
874
|
+
{ internalType: "uint256", name: "_getId", type: "uint256" },
|
875
|
+
{ internalType: "uint256", name: "_setId", type: "uint256" },
|
876
|
+
],
|
877
|
+
name: "multiUnprovide",
|
878
|
+
outputs: [],
|
879
|
+
stateMutability: "payable",
|
880
|
+
type: "function",
|
881
|
+
},
|
882
|
+
{
|
883
|
+
inputs: [],
|
884
|
+
name: "name",
|
885
|
+
outputs: [{ internalType: "string", name: "", type: "string" }],
|
886
|
+
stateMutability: "view",
|
887
|
+
type: "function",
|
888
|
+
},
|
889
|
+
{
|
890
|
+
inputs: [
|
891
|
+
{
|
892
|
+
components: [
|
893
|
+
{ internalType: "address", name: "addr", type: "address" },
|
894
|
+
{ internalType: "address", name: "module", type: "address" },
|
895
|
+
],
|
896
|
+
internalType: "struct Provider",
|
897
|
+
name: "_provider",
|
898
|
+
type: "tuple",
|
899
|
+
},
|
900
|
+
{
|
901
|
+
components: [
|
902
|
+
{
|
903
|
+
components: [
|
904
|
+
{
|
905
|
+
internalType: "address",
|
906
|
+
name: "inst",
|
907
|
+
type: "address",
|
908
|
+
},
|
909
|
+
{ internalType: "bytes", name: "data", type: "bytes" },
|
910
|
+
],
|
911
|
+
internalType: "struct Condition[]",
|
912
|
+
name: "conditions",
|
913
|
+
type: "tuple[]",
|
914
|
+
},
|
915
|
+
{
|
916
|
+
components: [
|
917
|
+
{
|
918
|
+
internalType: "address",
|
919
|
+
name: "addr",
|
920
|
+
type: "address",
|
921
|
+
},
|
922
|
+
{ internalType: "bytes", name: "data", type: "bytes" },
|
923
|
+
{
|
924
|
+
internalType: "enum Operation",
|
925
|
+
name: "operation",
|
926
|
+
type: "uint8",
|
927
|
+
},
|
928
|
+
{
|
929
|
+
internalType: "enum DataFlow",
|
930
|
+
name: "dataFlow",
|
931
|
+
type: "uint8",
|
932
|
+
},
|
933
|
+
{
|
934
|
+
internalType: "uint256",
|
935
|
+
name: "value",
|
936
|
+
type: "uint256",
|
937
|
+
},
|
938
|
+
{
|
939
|
+
internalType: "bool",
|
940
|
+
name: "termsOkCheck",
|
941
|
+
type: "bool",
|
942
|
+
},
|
943
|
+
],
|
944
|
+
internalType: "struct Action[]",
|
945
|
+
name: "actions",
|
946
|
+
type: "tuple[]",
|
947
|
+
},
|
948
|
+
{
|
949
|
+
internalType: "uint256",
|
950
|
+
name: "selfProviderGasLimit",
|
951
|
+
type: "uint256",
|
952
|
+
},
|
953
|
+
{
|
954
|
+
internalType: "uint256",
|
955
|
+
name: "selfProviderGasPriceCeil",
|
956
|
+
type: "uint256",
|
957
|
+
},
|
958
|
+
],
|
959
|
+
internalType: "struct Task",
|
960
|
+
name: "_task",
|
961
|
+
type: "tuple",
|
962
|
+
},
|
963
|
+
{ internalType: "uint256", name: "_expiryDate", type: "uint256" },
|
964
|
+
],
|
965
|
+
name: "submitTask",
|
966
|
+
outputs: [],
|
967
|
+
stateMutability: "payable",
|
968
|
+
type: "function",
|
969
|
+
},
|
970
|
+
{
|
971
|
+
inputs: [
|
972
|
+
{
|
973
|
+
components: [
|
974
|
+
{ internalType: "address", name: "addr", type: "address" },
|
975
|
+
{ internalType: "address", name: "module", type: "address" },
|
976
|
+
],
|
977
|
+
internalType: "struct Provider",
|
978
|
+
name: "_provider",
|
979
|
+
type: "tuple",
|
980
|
+
},
|
981
|
+
{
|
982
|
+
components: [
|
983
|
+
{
|
984
|
+
components: [
|
985
|
+
{
|
986
|
+
internalType: "address",
|
987
|
+
name: "inst",
|
988
|
+
type: "address",
|
989
|
+
},
|
990
|
+
{ internalType: "bytes", name: "data", type: "bytes" },
|
991
|
+
],
|
992
|
+
internalType: "struct Condition[]",
|
993
|
+
name: "conditions",
|
994
|
+
type: "tuple[]",
|
995
|
+
},
|
996
|
+
{
|
997
|
+
components: [
|
998
|
+
{
|
999
|
+
internalType: "address",
|
1000
|
+
name: "addr",
|
1001
|
+
type: "address",
|
1002
|
+
},
|
1003
|
+
{ internalType: "bytes", name: "data", type: "bytes" },
|
1004
|
+
{
|
1005
|
+
internalType: "enum Operation",
|
1006
|
+
name: "operation",
|
1007
|
+
type: "uint8",
|
1008
|
+
},
|
1009
|
+
{
|
1010
|
+
internalType: "enum DataFlow",
|
1011
|
+
name: "dataFlow",
|
1012
|
+
type: "uint8",
|
1013
|
+
},
|
1014
|
+
{
|
1015
|
+
internalType: "uint256",
|
1016
|
+
name: "value",
|
1017
|
+
type: "uint256",
|
1018
|
+
},
|
1019
|
+
{
|
1020
|
+
internalType: "bool",
|
1021
|
+
name: "termsOkCheck",
|
1022
|
+
type: "bool",
|
1023
|
+
},
|
1024
|
+
],
|
1025
|
+
internalType: "struct Action[]",
|
1026
|
+
name: "actions",
|
1027
|
+
type: "tuple[]",
|
1028
|
+
},
|
1029
|
+
{
|
1030
|
+
internalType: "uint256",
|
1031
|
+
name: "selfProviderGasLimit",
|
1032
|
+
type: "uint256",
|
1033
|
+
},
|
1034
|
+
{
|
1035
|
+
internalType: "uint256",
|
1036
|
+
name: "selfProviderGasPriceCeil",
|
1037
|
+
type: "uint256",
|
1038
|
+
},
|
1039
|
+
],
|
1040
|
+
internalType: "struct Task[]",
|
1041
|
+
name: "_tasks",
|
1042
|
+
type: "tuple[]",
|
1043
|
+
},
|
1044
|
+
{ internalType: "uint256", name: "_expiryDate", type: "uint256" },
|
1045
|
+
{
|
1046
|
+
internalType: "uint256",
|
1047
|
+
name: "_sumOfRequestedTaskSubmits",
|
1048
|
+
type: "uint256",
|
1049
|
+
},
|
1050
|
+
],
|
1051
|
+
name: "submitTaskChain",
|
1052
|
+
outputs: [],
|
1053
|
+
stateMutability: "payable",
|
1054
|
+
type: "function",
|
1055
|
+
},
|
1056
|
+
{
|
1057
|
+
inputs: [
|
1058
|
+
{
|
1059
|
+
components: [
|
1060
|
+
{ internalType: "address", name: "addr", type: "address" },
|
1061
|
+
{ internalType: "address", name: "module", type: "address" },
|
1062
|
+
],
|
1063
|
+
internalType: "struct Provider",
|
1064
|
+
name: "_provider",
|
1065
|
+
type: "tuple",
|
1066
|
+
},
|
1067
|
+
{
|
1068
|
+
components: [
|
1069
|
+
{
|
1070
|
+
components: [
|
1071
|
+
{
|
1072
|
+
internalType: "address",
|
1073
|
+
name: "inst",
|
1074
|
+
type: "address",
|
1075
|
+
},
|
1076
|
+
{ internalType: "bytes", name: "data", type: "bytes" },
|
1077
|
+
],
|
1078
|
+
internalType: "struct Condition[]",
|
1079
|
+
name: "conditions",
|
1080
|
+
type: "tuple[]",
|
1081
|
+
},
|
1082
|
+
{
|
1083
|
+
components: [
|
1084
|
+
{
|
1085
|
+
internalType: "address",
|
1086
|
+
name: "addr",
|
1087
|
+
type: "address",
|
1088
|
+
},
|
1089
|
+
{ internalType: "bytes", name: "data", type: "bytes" },
|
1090
|
+
{
|
1091
|
+
internalType: "enum Operation",
|
1092
|
+
name: "operation",
|
1093
|
+
type: "uint8",
|
1094
|
+
},
|
1095
|
+
{
|
1096
|
+
internalType: "enum DataFlow",
|
1097
|
+
name: "dataFlow",
|
1098
|
+
type: "uint8",
|
1099
|
+
},
|
1100
|
+
{
|
1101
|
+
internalType: "uint256",
|
1102
|
+
name: "value",
|
1103
|
+
type: "uint256",
|
1104
|
+
},
|
1105
|
+
{
|
1106
|
+
internalType: "bool",
|
1107
|
+
name: "termsOkCheck",
|
1108
|
+
type: "bool",
|
1109
|
+
},
|
1110
|
+
],
|
1111
|
+
internalType: "struct Action[]",
|
1112
|
+
name: "actions",
|
1113
|
+
type: "tuple[]",
|
1114
|
+
},
|
1115
|
+
{
|
1116
|
+
internalType: "uint256",
|
1117
|
+
name: "selfProviderGasLimit",
|
1118
|
+
type: "uint256",
|
1119
|
+
},
|
1120
|
+
{
|
1121
|
+
internalType: "uint256",
|
1122
|
+
name: "selfProviderGasPriceCeil",
|
1123
|
+
type: "uint256",
|
1124
|
+
},
|
1125
|
+
],
|
1126
|
+
internalType: "struct Task[]",
|
1127
|
+
name: "_tasks",
|
1128
|
+
type: "tuple[]",
|
1129
|
+
},
|
1130
|
+
{ internalType: "uint256", name: "_expiryDate", type: "uint256" },
|
1131
|
+
{ internalType: "uint256", name: "_cycles", type: "uint256" },
|
1132
|
+
],
|
1133
|
+
name: "submitTaskCycle",
|
1134
|
+
outputs: [],
|
1135
|
+
stateMutability: "payable",
|
1136
|
+
type: "function",
|
1137
|
+
},
|
1138
|
+
];
|