@underscore-finance/sdk 1.2.17 → 1.2.19
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/AGENTS.md +161 -0
- package/README.md +17 -116
- package/abis.json +179426 -0
- package/addresses.json +75 -0
- package/dist/contracts/AaveV3.d.ts.map +1 -1
- package/dist/contracts/AaveV3.js +1898 -1919
- package/dist/contracts/AeroClassic.d.ts.map +1 -1
- package/dist/contracts/AeroClassic.js +1518 -1533
- package/dist/contracts/AeroSlipstream.d.ts.map +1 -1
- package/dist/contracts/AeroSlipstream.js +1620 -1641
- package/dist/contracts/AgentSenderGeneric.d.ts +1 -1
- package/dist/contracts/AgentSenderGeneric.d.ts.map +1 -1
- package/dist/contracts/AgentSenderGeneric.js +3093 -3108
- package/dist/contracts/AgentSenderSpecial.d.ts +1 -1
- package/dist/contracts/AgentSenderSpecial.d.ts.map +1 -1
- package/dist/contracts/AgentSenderSpecial.js +1495 -1510
- package/dist/contracts/AgentSenderSpecialSigHelper.d.ts +1 -1
- package/dist/contracts/AgentSenderSpecialSigHelper.d.ts.map +1 -1
- package/dist/contracts/AgentSenderSpecialSigHelper.js +1733 -1733
- package/dist/contracts/AgentWrapper.d.ts +1 -1
- package/dist/contracts/AgentWrapper.d.ts.map +1 -1
- package/dist/contracts/AgentWrapper.js +1926 -1929
- package/dist/contracts/AgentWrapperV1.d.ts +1 -1
- package/dist/contracts/AgentWrapperV1.d.ts.map +1 -1
- package/dist/contracts/AgentWrapperV1.js +2727 -2742
- package/dist/contracts/AgentWrapperV2.d.ts +1 -1
- package/dist/contracts/AgentWrapperV2.d.ts.map +1 -1
- package/dist/contracts/AgentWrapperV2.js +1832 -1835
- package/dist/contracts/Appraiser.d.ts.map +1 -1
- package/dist/contracts/Appraiser.js +404 -410
- package/dist/contracts/Avantis.d.ts.map +1 -1
- package/dist/contracts/Avantis.js +1905 -1929
- package/dist/contracts/Billing.d.ts.map +1 -1
- package/dist/contracts/Billing.js +235 -247
- package/dist/contracts/ChequeBook.d.ts.map +1 -1
- package/dist/contracts/ChequeBook.js +868 -877
- package/dist/contracts/CompoundV3.d.ts.map +1 -1
- package/dist/contracts/CompoundV3.js +1919 -1943
- package/dist/contracts/ConvertVaultToken.d.ts.map +1 -1
- package/dist/contracts/ConvertVaultToken.js +31 -31
- package/dist/contracts/Curve.d.ts.map +1 -1
- package/dist/contracts/Curve.js +787 -802
- package/dist/contracts/DefaultsBase.d.ts.map +1 -1
- package/dist/contracts/DefaultsBase.js +178 -178
- package/dist/contracts/ERC20.d.ts.map +1 -1
- package/dist/contracts/ERC20.js +186 -192
- package/dist/contracts/EarnVault.d.ts.map +1 -1
- package/dist/contracts/EarnVault.js +1262 -1292
- package/dist/contracts/EarnVaultAgent.d.ts.map +1 -1
- package/dist/contracts/EarnVaultAgent.js +745 -760
- package/dist/contracts/EarnVaultAgentSigHelper.d.ts.map +1 -1
- package/dist/contracts/EarnVaultAgentSigHelper.js +665 -665
- package/dist/contracts/Euler.d.ts.map +1 -1
- package/dist/contracts/Euler.js +1948 -1975
- package/dist/contracts/ExtraFi.d.ts.map +1 -1
- package/dist/contracts/ExtraFi.js +1929 -1953
- package/dist/contracts/Fluid.d.ts.map +1 -1
- package/dist/contracts/Fluid.js +1927 -1951
- package/dist/contracts/FortyAcres.d.ts.map +1 -1
- package/dist/contracts/FortyAcres.js +1916 -1940
- package/dist/contracts/Hatchery.d.ts.map +1 -1
- package/dist/contracts/Hatchery.js +255 -264
- package/dist/contracts/Helpers.d.ts.map +1 -1
- package/dist/contracts/Helpers.js +1069 -1123
- package/dist/contracts/HighCommand.d.ts.map +1 -1
- package/dist/contracts/HighCommand.js +1395 -1407
- package/dist/contracts/Kernel.d.ts.map +1 -1
- package/dist/contracts/Kernel.js +224 -236
- package/dist/contracts/Ledger.d.ts +9 -12
- package/dist/contracts/Ledger.d.ts.map +1 -1
- package/dist/contracts/Ledger.js +480 -486
- package/dist/contracts/LegoBook.d.ts.map +1 -1
- package/dist/contracts/LegoBook.js +1069 -1123
- package/dist/contracts/LegoTools.d.ts +16 -22
- package/dist/contracts/LegoTools.d.ts.map +1 -1
- package/dist/contracts/LegoTools.js +1420 -1426
- package/dist/contracts/LevgVault.d.ts.map +1 -1
- package/dist/contracts/LevgVault.js +1544 -1580
- package/dist/contracts/LevgVaultAgent.d.ts.map +1 -1
- package/dist/contracts/LevgVaultAgent.js +1514 -1529
- package/dist/contracts/LevgVaultAgentSigHelper.d.ts.map +1 -1
- package/dist/contracts/LevgVaultAgentSigHelper.js +1769 -1769
- package/dist/contracts/LevgVaultHelper.d.ts.map +1 -1
- package/dist/contracts/LevgVaultHelper.js +732 -732
- package/dist/contracts/LevgVaultTools.d.ts.map +1 -1
- package/dist/contracts/LevgVaultTools.js +2118 -2118
- package/dist/contracts/LootDistributor.d.ts.map +1 -1
- package/dist/contracts/LootDistributor.js +753 -789
- package/dist/contracts/Migrator.d.ts.map +1 -1
- package/dist/contracts/Migrator.js +168 -174
- package/dist/contracts/MissionControl.d.ts.map +1 -1
- package/dist/contracts/MissionControl.js +956 -962
- package/dist/contracts/Moonwell.d.ts.map +1 -1
- package/dist/contracts/Moonwell.js +1918 -1942
- package/dist/contracts/Morpho.d.ts.map +1 -1
- package/dist/contracts/Morpho.js +1948 -1975
- package/dist/contracts/Paymaster.d.ts.map +1 -1
- package/dist/contracts/Paymaster.js +1203 -1224
- package/dist/contracts/RipeLego.d.ts.map +1 -1
- package/dist/contracts/RipeLego.js +2134 -2176
- package/dist/contracts/Sentinel.d.ts +32 -41
- package/dist/contracts/Sentinel.d.ts.map +1 -1
- package/dist/contracts/Sentinel.js +1398 -1398
- package/dist/contracts/SignatureHelper.d.ts.map +1 -1
- package/dist/contracts/SignatureHelper.js +3202 -3202
- package/dist/contracts/SignatureHelperV1.d.ts +1 -1
- package/dist/contracts/SignatureHelperV1.d.ts.map +1 -1
- package/dist/contracts/SignatureHelperV1.js +3223 -3223
- package/dist/contracts/SkyPsm.d.ts.map +1 -1
- package/dist/contracts/SkyPsm.js +1953 -1980
- package/dist/contracts/Switchboard.d.ts.map +1 -1
- package/dist/contracts/Switchboard.js +1085 -1139
- package/dist/contracts/SwitchboardAlpha.d.ts.map +1 -1
- package/dist/contracts/SwitchboardAlpha.js +2333 -2474
- package/dist/contracts/SwitchboardBravo.d.ts.map +1 -1
- package/dist/contracts/SwitchboardBravo.js +1138 -1216
- package/dist/contracts/SwitchboardCharlie.d.ts.map +1 -1
- package/dist/contracts/SwitchboardCharlie.js +2295 -2475
- package/dist/contracts/UnderscoreLego.d.ts.map +1 -1
- package/dist/contracts/UnderscoreLego.js +1894 -1918
- package/dist/contracts/UndyAero.d.ts.map +1 -1
- package/dist/contracts/UndyAero.js +1342 -1372
- package/dist/contracts/UndyBtc.d.ts.map +1 -1
- package/dist/contracts/UndyBtc.js +1342 -1372
- package/dist/contracts/UndyCbeth.d.ts.map +1 -1
- package/dist/contracts/UndyCbeth.js +1342 -1372
- package/dist/contracts/UndyEth.d.ts.map +1 -1
- package/dist/contracts/UndyEth.js +1342 -1372
- package/dist/contracts/UndyEurc.d.ts.map +1 -1
- package/dist/contracts/UndyEurc.js +1342 -1372
- package/dist/contracts/UndyGho.d.ts.map +1 -1
- package/dist/contracts/UndyGho.js +1342 -1372
- package/dist/contracts/UndyHq.d.ts.map +1 -1
- package/dist/contracts/UndyHq.js +1234 -1300
- package/dist/contracts/UndyRewardsLego.d.ts.map +1 -1
- package/dist/contracts/UndyRewardsLego.js +1120 -1120
- package/dist/contracts/UndyUsd.d.ts.map +1 -1
- package/dist/contracts/UndyUsd.js +1342 -1372
- package/dist/contracts/UndyUsds.d.ts.map +1 -1
- package/dist/contracts/UndyUsds.js +1342 -1372
- package/dist/contracts/UndyVirtual.d.ts.map +1 -1
- package/dist/contracts/UndyVirtual.js +1363 -1396
- package/dist/contracts/UniswapV2.d.ts.map +1 -1
- package/dist/contracts/UniswapV2.js +1518 -1533
- package/dist/contracts/UniswapV3.d.ts.map +1 -1
- package/dist/contracts/UniswapV3.js +1620 -1641
- package/dist/contracts/UserWallet.d.ts.map +1 -1
- package/dist/contracts/UserWallet.js +1999 -2005
- package/dist/contracts/UserWalletConfig.d.ts.map +1 -1
- package/dist/contracts/UserWalletConfig.js +2572 -2593
- package/dist/contracts/UserWalletConfigV1.d.ts.map +1 -1
- package/dist/contracts/UserWalletConfigV1.js +2327 -2348
- package/dist/contracts/UserWalletSignatureHelper.d.ts +1 -1
- package/dist/contracts/UserWalletSignatureHelper.d.ts.map +1 -1
- package/dist/contracts/UserWalletSignatureHelper.js +3458 -3458
- package/dist/contracts/UserWalletV1.d.ts.map +1 -1
- package/dist/contracts/UserWalletV1.js +1914 -1920
- package/dist/contracts/VaultRegistry.d.ts +11 -14
- package/dist/contracts/VaultRegistry.d.ts.map +1 -1
- package/dist/contracts/VaultRegistry.js +2343 -2439
- package/dist/contracts/WalletBackpack.d.ts.map +1 -1
- package/dist/contracts/WalletBackpack.js +926 -965
- package/dist/contracts/Wasabi.d.ts.map +1 -1
- package/dist/contracts/Wasabi.js +1916 -1940
- package/dist/contracts/sdk.d.ts +8 -8
- package/dist/contracts/sdk.d.ts.map +1 -1
- package/dist/contracts/sdk.js +8 -8
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +9 -5
- package/package.json +44 -24
- package/LICENSE +0 -41
- package/dist/contracts/Agent.d.ts +0 -3773
- package/dist/contracts/Agent.d.ts.map +0 -1
- package/dist/contracts/Agent.js +0 -4942
- package/dist/getContracts.d.ts +0 -77
- package/dist/getContracts.d.ts.map +0 -1
- package/dist/getContracts.js +0 -64
|
@@ -3,1486 +3,1486 @@
|
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
/* @ts-nocheck */
|
|
5
5
|
import { singleQuery, mutate } from '@dappql/async';
|
|
6
|
-
import { encodeEventTopics, parseEventLogs
|
|
6
|
+
import { encodeEventTopics, parseEventLogs } from 'viem';
|
|
7
7
|
export const abi = [
|
|
8
8
|
{
|
|
9
|
-
name:
|
|
10
|
-
inputs: [
|
|
9
|
+
"name": "ChequeCreated",
|
|
10
|
+
"inputs": [
|
|
11
11
|
{
|
|
12
|
-
name:
|
|
13
|
-
type:
|
|
14
|
-
indexed: true
|
|
12
|
+
"name": "user",
|
|
13
|
+
"type": "address",
|
|
14
|
+
"indexed": true
|
|
15
15
|
},
|
|
16
16
|
{
|
|
17
|
-
name:
|
|
18
|
-
type:
|
|
19
|
-
indexed: true
|
|
17
|
+
"name": "recipient",
|
|
18
|
+
"type": "address",
|
|
19
|
+
"indexed": true
|
|
20
20
|
},
|
|
21
21
|
{
|
|
22
|
-
name:
|
|
23
|
-
type:
|
|
24
|
-
indexed: false
|
|
22
|
+
"name": "asset",
|
|
23
|
+
"type": "address",
|
|
24
|
+
"indexed": false
|
|
25
25
|
},
|
|
26
26
|
{
|
|
27
|
-
name:
|
|
28
|
-
type:
|
|
29
|
-
indexed: false
|
|
27
|
+
"name": "amount",
|
|
28
|
+
"type": "uint256",
|
|
29
|
+
"indexed": false
|
|
30
30
|
},
|
|
31
31
|
{
|
|
32
|
-
name:
|
|
33
|
-
type:
|
|
34
|
-
indexed: false
|
|
32
|
+
"name": "usdValue",
|
|
33
|
+
"type": "uint256",
|
|
34
|
+
"indexed": false
|
|
35
35
|
},
|
|
36
36
|
{
|
|
37
|
-
name:
|
|
38
|
-
type:
|
|
39
|
-
indexed: false
|
|
37
|
+
"name": "unlockBlock",
|
|
38
|
+
"type": "uint256",
|
|
39
|
+
"indexed": false
|
|
40
40
|
},
|
|
41
41
|
{
|
|
42
|
-
name:
|
|
43
|
-
type:
|
|
44
|
-
indexed: false
|
|
42
|
+
"name": "expiryBlock",
|
|
43
|
+
"type": "uint256",
|
|
44
|
+
"indexed": false
|
|
45
45
|
},
|
|
46
46
|
{
|
|
47
|
-
name:
|
|
48
|
-
type:
|
|
49
|
-
indexed: false
|
|
47
|
+
"name": "canManagerPay",
|
|
48
|
+
"type": "bool",
|
|
49
|
+
"indexed": false
|
|
50
50
|
},
|
|
51
51
|
{
|
|
52
|
-
name:
|
|
53
|
-
type:
|
|
54
|
-
indexed: false
|
|
52
|
+
"name": "canBePulled",
|
|
53
|
+
"type": "bool",
|
|
54
|
+
"indexed": false
|
|
55
55
|
},
|
|
56
56
|
{
|
|
57
|
-
name:
|
|
58
|
-
type:
|
|
59
|
-
indexed: true
|
|
60
|
-
}
|
|
57
|
+
"name": "creator",
|
|
58
|
+
"type": "address",
|
|
59
|
+
"indexed": true
|
|
60
|
+
}
|
|
61
61
|
],
|
|
62
|
-
anonymous: false,
|
|
63
|
-
type:
|
|
62
|
+
"anonymous": false,
|
|
63
|
+
"type": "event"
|
|
64
64
|
},
|
|
65
65
|
{
|
|
66
|
-
name:
|
|
67
|
-
inputs: [
|
|
66
|
+
"name": "ChequeCancelled",
|
|
67
|
+
"inputs": [
|
|
68
68
|
{
|
|
69
|
-
name:
|
|
70
|
-
type:
|
|
71
|
-
indexed: true
|
|
69
|
+
"name": "user",
|
|
70
|
+
"type": "address",
|
|
71
|
+
"indexed": true
|
|
72
72
|
},
|
|
73
73
|
{
|
|
74
|
-
name:
|
|
75
|
-
type:
|
|
76
|
-
indexed: true
|
|
74
|
+
"name": "recipient",
|
|
75
|
+
"type": "address",
|
|
76
|
+
"indexed": true
|
|
77
77
|
},
|
|
78
78
|
{
|
|
79
|
-
name:
|
|
80
|
-
type:
|
|
81
|
-
indexed: false
|
|
79
|
+
"name": "asset",
|
|
80
|
+
"type": "address",
|
|
81
|
+
"indexed": false
|
|
82
82
|
},
|
|
83
83
|
{
|
|
84
|
-
name:
|
|
85
|
-
type:
|
|
86
|
-
indexed: false
|
|
84
|
+
"name": "amount",
|
|
85
|
+
"type": "uint256",
|
|
86
|
+
"indexed": false
|
|
87
87
|
},
|
|
88
88
|
{
|
|
89
|
-
name:
|
|
90
|
-
type:
|
|
91
|
-
indexed: false
|
|
89
|
+
"name": "usdValue",
|
|
90
|
+
"type": "uint256",
|
|
91
|
+
"indexed": false
|
|
92
92
|
},
|
|
93
93
|
{
|
|
94
|
-
name:
|
|
95
|
-
type:
|
|
96
|
-
indexed: false
|
|
94
|
+
"name": "unlockBlock",
|
|
95
|
+
"type": "uint256",
|
|
96
|
+
"indexed": false
|
|
97
97
|
},
|
|
98
98
|
{
|
|
99
|
-
name:
|
|
100
|
-
type:
|
|
101
|
-
indexed: false
|
|
99
|
+
"name": "expiryBlock",
|
|
100
|
+
"type": "uint256",
|
|
101
|
+
"indexed": false
|
|
102
102
|
},
|
|
103
103
|
{
|
|
104
|
-
name:
|
|
105
|
-
type:
|
|
106
|
-
indexed: false
|
|
104
|
+
"name": "canManagerPay",
|
|
105
|
+
"type": "bool",
|
|
106
|
+
"indexed": false
|
|
107
107
|
},
|
|
108
108
|
{
|
|
109
|
-
name:
|
|
110
|
-
type:
|
|
111
|
-
indexed: false
|
|
109
|
+
"name": "canBePulled",
|
|
110
|
+
"type": "bool",
|
|
111
|
+
"indexed": false
|
|
112
112
|
},
|
|
113
113
|
{
|
|
114
|
-
name:
|
|
115
|
-
type:
|
|
116
|
-
indexed: true
|
|
117
|
-
}
|
|
114
|
+
"name": "cancelledBy",
|
|
115
|
+
"type": "address",
|
|
116
|
+
"indexed": true
|
|
117
|
+
}
|
|
118
118
|
],
|
|
119
|
-
anonymous: false,
|
|
120
|
-
type:
|
|
119
|
+
"anonymous": false,
|
|
120
|
+
"type": "event"
|
|
121
121
|
},
|
|
122
122
|
{
|
|
123
|
-
name:
|
|
124
|
-
inputs: [
|
|
123
|
+
"name": "ChequeSettingsModified",
|
|
124
|
+
"inputs": [
|
|
125
125
|
{
|
|
126
|
-
name:
|
|
127
|
-
type:
|
|
128
|
-
indexed: true
|
|
126
|
+
"name": "user",
|
|
127
|
+
"type": "address",
|
|
128
|
+
"indexed": true
|
|
129
129
|
},
|
|
130
130
|
{
|
|
131
|
-
name:
|
|
132
|
-
type:
|
|
133
|
-
indexed: false
|
|
131
|
+
"name": "maxNumActiveCheques",
|
|
132
|
+
"type": "uint256",
|
|
133
|
+
"indexed": false
|
|
134
134
|
},
|
|
135
135
|
{
|
|
136
|
-
name:
|
|
137
|
-
type:
|
|
138
|
-
indexed: false
|
|
136
|
+
"name": "maxChequeUsdValue",
|
|
137
|
+
"type": "uint256",
|
|
138
|
+
"indexed": false
|
|
139
139
|
},
|
|
140
140
|
{
|
|
141
|
-
name:
|
|
142
|
-
type:
|
|
143
|
-
indexed: false
|
|
141
|
+
"name": "instantUsdThreshold",
|
|
142
|
+
"type": "uint256",
|
|
143
|
+
"indexed": false
|
|
144
144
|
},
|
|
145
145
|
{
|
|
146
|
-
name:
|
|
147
|
-
type:
|
|
148
|
-
indexed: false
|
|
146
|
+
"name": "perPeriodPaidUsdCap",
|
|
147
|
+
"type": "uint256",
|
|
148
|
+
"indexed": false
|
|
149
149
|
},
|
|
150
150
|
{
|
|
151
|
-
name:
|
|
152
|
-
type:
|
|
153
|
-
indexed: false
|
|
151
|
+
"name": "maxNumChequesPaidPerPeriod",
|
|
152
|
+
"type": "uint256",
|
|
153
|
+
"indexed": false
|
|
154
154
|
},
|
|
155
155
|
{
|
|
156
|
-
name:
|
|
157
|
-
type:
|
|
158
|
-
indexed: false
|
|
156
|
+
"name": "payCooldownBlocks",
|
|
157
|
+
"type": "uint256",
|
|
158
|
+
"indexed": false
|
|
159
159
|
},
|
|
160
160
|
{
|
|
161
|
-
name:
|
|
162
|
-
type:
|
|
163
|
-
indexed: false
|
|
161
|
+
"name": "perPeriodCreatedUsdCap",
|
|
162
|
+
"type": "uint256",
|
|
163
|
+
"indexed": false
|
|
164
164
|
},
|
|
165
165
|
{
|
|
166
|
-
name:
|
|
167
|
-
type:
|
|
168
|
-
indexed: false
|
|
166
|
+
"name": "maxNumChequesCreatedPerPeriod",
|
|
167
|
+
"type": "uint256",
|
|
168
|
+
"indexed": false
|
|
169
169
|
},
|
|
170
170
|
{
|
|
171
|
-
name:
|
|
172
|
-
type:
|
|
173
|
-
indexed: false
|
|
171
|
+
"name": "createCooldownBlocks",
|
|
172
|
+
"type": "uint256",
|
|
173
|
+
"indexed": false
|
|
174
174
|
},
|
|
175
175
|
{
|
|
176
|
-
name:
|
|
177
|
-
type:
|
|
178
|
-
indexed: false
|
|
176
|
+
"name": "periodLength",
|
|
177
|
+
"type": "uint256",
|
|
178
|
+
"indexed": false
|
|
179
179
|
},
|
|
180
180
|
{
|
|
181
|
-
name:
|
|
182
|
-
type:
|
|
183
|
-
indexed: false
|
|
181
|
+
"name": "expensiveDelayBlocks",
|
|
182
|
+
"type": "uint256",
|
|
183
|
+
"indexed": false
|
|
184
184
|
},
|
|
185
185
|
{
|
|
186
|
-
name:
|
|
187
|
-
type:
|
|
188
|
-
indexed: false
|
|
186
|
+
"name": "defaultExpiryBlocks",
|
|
187
|
+
"type": "uint256",
|
|
188
|
+
"indexed": false
|
|
189
189
|
},
|
|
190
190
|
{
|
|
191
|
-
name:
|
|
192
|
-
type:
|
|
193
|
-
indexed: false
|
|
191
|
+
"name": "canManagersCreateCheques",
|
|
192
|
+
"type": "bool",
|
|
193
|
+
"indexed": false
|
|
194
194
|
},
|
|
195
195
|
{
|
|
196
|
-
name:
|
|
197
|
-
type:
|
|
198
|
-
indexed: false
|
|
196
|
+
"name": "canManagerPay",
|
|
197
|
+
"type": "bool",
|
|
198
|
+
"indexed": false
|
|
199
199
|
},
|
|
200
200
|
{
|
|
201
|
-
name:
|
|
202
|
-
type:
|
|
203
|
-
indexed: false
|
|
204
|
-
}
|
|
201
|
+
"name": "canBePulled",
|
|
202
|
+
"type": "bool",
|
|
203
|
+
"indexed": false
|
|
204
|
+
}
|
|
205
205
|
],
|
|
206
|
-
anonymous: false,
|
|
207
|
-
type:
|
|
206
|
+
"anonymous": false,
|
|
207
|
+
"type": "event"
|
|
208
208
|
},
|
|
209
209
|
{
|
|
210
|
-
stateMutability:
|
|
211
|
-
type:
|
|
212
|
-
name:
|
|
213
|
-
inputs: [
|
|
210
|
+
"stateMutability": "nonpayable",
|
|
211
|
+
"type": "function",
|
|
212
|
+
"name": "createCheque",
|
|
213
|
+
"inputs": [
|
|
214
214
|
{
|
|
215
|
-
name:
|
|
216
|
-
type:
|
|
215
|
+
"name": "_userWallet",
|
|
216
|
+
"type": "address"
|
|
217
217
|
},
|
|
218
218
|
{
|
|
219
|
-
name:
|
|
220
|
-
type:
|
|
219
|
+
"name": "_recipient",
|
|
220
|
+
"type": "address"
|
|
221
221
|
},
|
|
222
222
|
{
|
|
223
|
-
name:
|
|
224
|
-
type:
|
|
223
|
+
"name": "_asset",
|
|
224
|
+
"type": "address"
|
|
225
225
|
},
|
|
226
226
|
{
|
|
227
|
-
name:
|
|
228
|
-
type:
|
|
227
|
+
"name": "_amount",
|
|
228
|
+
"type": "uint256"
|
|
229
229
|
},
|
|
230
230
|
{
|
|
231
|
-
name:
|
|
232
|
-
type:
|
|
231
|
+
"name": "_unlockNumBlocks",
|
|
232
|
+
"type": "uint256"
|
|
233
233
|
},
|
|
234
234
|
{
|
|
235
|
-
name:
|
|
236
|
-
type:
|
|
235
|
+
"name": "_expiryNumBlocks",
|
|
236
|
+
"type": "uint256"
|
|
237
237
|
},
|
|
238
238
|
{
|
|
239
|
-
name:
|
|
240
|
-
type:
|
|
239
|
+
"name": "_canManagerPay",
|
|
240
|
+
"type": "bool"
|
|
241
241
|
},
|
|
242
242
|
{
|
|
243
|
-
name:
|
|
244
|
-
type:
|
|
245
|
-
}
|
|
243
|
+
"name": "_canBePulled",
|
|
244
|
+
"type": "bool"
|
|
245
|
+
}
|
|
246
246
|
],
|
|
247
|
-
outputs: [
|
|
247
|
+
"outputs": [
|
|
248
248
|
{
|
|
249
|
-
name:
|
|
250
|
-
type:
|
|
251
|
-
}
|
|
252
|
-
]
|
|
249
|
+
"name": "",
|
|
250
|
+
"type": "bool"
|
|
251
|
+
}
|
|
252
|
+
]
|
|
253
253
|
},
|
|
254
254
|
{
|
|
255
|
-
stateMutability:
|
|
256
|
-
type:
|
|
257
|
-
name:
|
|
258
|
-
inputs: [
|
|
255
|
+
"stateMutability": "view",
|
|
256
|
+
"type": "function",
|
|
257
|
+
"name": "canCreateCheque",
|
|
258
|
+
"inputs": [
|
|
259
259
|
{
|
|
260
|
-
name:
|
|
261
|
-
type:
|
|
260
|
+
"name": "_isCreatorOwner",
|
|
261
|
+
"type": "bool"
|
|
262
262
|
},
|
|
263
263
|
{
|
|
264
|
-
name:
|
|
265
|
-
type:
|
|
264
|
+
"name": "_isCreatorManager",
|
|
265
|
+
"type": "bool"
|
|
266
266
|
},
|
|
267
267
|
{
|
|
268
|
-
name:
|
|
269
|
-
type:
|
|
268
|
+
"name": "_canManagersCreateCheques",
|
|
269
|
+
"type": "bool"
|
|
270
270
|
},
|
|
271
271
|
{
|
|
272
|
-
name:
|
|
273
|
-
type:
|
|
272
|
+
"name": "_asset",
|
|
273
|
+
"type": "address"
|
|
274
274
|
},
|
|
275
275
|
{
|
|
276
|
-
name:
|
|
277
|
-
type:
|
|
278
|
-
components: [
|
|
276
|
+
"name": "_globalManagerSettings",
|
|
277
|
+
"type": "tuple",
|
|
278
|
+
"components": [
|
|
279
279
|
{
|
|
280
|
-
name:
|
|
281
|
-
type:
|
|
280
|
+
"name": "managerPeriod",
|
|
281
|
+
"type": "uint256"
|
|
282
282
|
},
|
|
283
283
|
{
|
|
284
|
-
name:
|
|
285
|
-
type:
|
|
284
|
+
"name": "startDelay",
|
|
285
|
+
"type": "uint256"
|
|
286
286
|
},
|
|
287
287
|
{
|
|
288
|
-
name:
|
|
289
|
-
type:
|
|
288
|
+
"name": "activationLength",
|
|
289
|
+
"type": "uint256"
|
|
290
290
|
},
|
|
291
291
|
{
|
|
292
|
-
name:
|
|
293
|
-
type:
|
|
292
|
+
"name": "canOwnerManage",
|
|
293
|
+
"type": "bool"
|
|
294
294
|
},
|
|
295
295
|
{
|
|
296
|
-
name:
|
|
297
|
-
type:
|
|
298
|
-
components: [
|
|
296
|
+
"name": "limits",
|
|
297
|
+
"type": "tuple",
|
|
298
|
+
"components": [
|
|
299
299
|
{
|
|
300
|
-
name:
|
|
301
|
-
type:
|
|
300
|
+
"name": "maxUsdValuePerTx",
|
|
301
|
+
"type": "uint256"
|
|
302
302
|
},
|
|
303
303
|
{
|
|
304
|
-
name:
|
|
305
|
-
type:
|
|
304
|
+
"name": "maxUsdValuePerPeriod",
|
|
305
|
+
"type": "uint256"
|
|
306
306
|
},
|
|
307
307
|
{
|
|
308
|
-
name:
|
|
309
|
-
type:
|
|
308
|
+
"name": "maxUsdValueLifetime",
|
|
309
|
+
"type": "uint256"
|
|
310
310
|
},
|
|
311
311
|
{
|
|
312
|
-
name:
|
|
313
|
-
type:
|
|
312
|
+
"name": "maxNumTxsPerPeriod",
|
|
313
|
+
"type": "uint256"
|
|
314
314
|
},
|
|
315
315
|
{
|
|
316
|
-
name:
|
|
317
|
-
type:
|
|
316
|
+
"name": "txCooldownBlocks",
|
|
317
|
+
"type": "uint256"
|
|
318
318
|
},
|
|
319
319
|
{
|
|
320
|
-
name:
|
|
321
|
-
type:
|
|
322
|
-
}
|
|
323
|
-
]
|
|
320
|
+
"name": "failOnZeroPrice",
|
|
321
|
+
"type": "bool"
|
|
322
|
+
}
|
|
323
|
+
]
|
|
324
324
|
},
|
|
325
325
|
{
|
|
326
|
-
name:
|
|
327
|
-
type:
|
|
328
|
-
components: [
|
|
326
|
+
"name": "legoPerms",
|
|
327
|
+
"type": "tuple",
|
|
328
|
+
"components": [
|
|
329
329
|
{
|
|
330
|
-
name:
|
|
331
|
-
type:
|
|
330
|
+
"name": "canManageYield",
|
|
331
|
+
"type": "bool"
|
|
332
332
|
},
|
|
333
333
|
{
|
|
334
|
-
name:
|
|
335
|
-
type:
|
|
334
|
+
"name": "canBuyAndSell",
|
|
335
|
+
"type": "bool"
|
|
336
336
|
},
|
|
337
337
|
{
|
|
338
|
-
name:
|
|
339
|
-
type:
|
|
338
|
+
"name": "canManageDebt",
|
|
339
|
+
"type": "bool"
|
|
340
340
|
},
|
|
341
341
|
{
|
|
342
|
-
name:
|
|
343
|
-
type:
|
|
342
|
+
"name": "canManageLiq",
|
|
343
|
+
"type": "bool"
|
|
344
344
|
},
|
|
345
345
|
{
|
|
346
|
-
name:
|
|
347
|
-
type:
|
|
346
|
+
"name": "canClaimRewards",
|
|
347
|
+
"type": "bool"
|
|
348
348
|
},
|
|
349
349
|
{
|
|
350
|
-
name:
|
|
351
|
-
type:
|
|
350
|
+
"name": "onlyApprovedYieldOpps",
|
|
351
|
+
"type": "bool"
|
|
352
352
|
},
|
|
353
353
|
{
|
|
354
|
-
name:
|
|
355
|
-
type:
|
|
356
|
-
}
|
|
357
|
-
]
|
|
354
|
+
"name": "allowedLegos",
|
|
355
|
+
"type": "uint256[]"
|
|
356
|
+
}
|
|
357
|
+
]
|
|
358
358
|
},
|
|
359
359
|
{
|
|
360
|
-
name:
|
|
361
|
-
type:
|
|
362
|
-
components: [
|
|
360
|
+
"name": "swapPerms",
|
|
361
|
+
"type": "tuple",
|
|
362
|
+
"components": [
|
|
363
363
|
{
|
|
364
|
-
name:
|
|
365
|
-
type:
|
|
364
|
+
"name": "mustHaveUsdValue",
|
|
365
|
+
"type": "bool"
|
|
366
366
|
},
|
|
367
367
|
{
|
|
368
|
-
name:
|
|
369
|
-
type:
|
|
368
|
+
"name": "maxNumSwapsPerPeriod",
|
|
369
|
+
"type": "uint256"
|
|
370
370
|
},
|
|
371
371
|
{
|
|
372
|
-
name:
|
|
373
|
-
type:
|
|
374
|
-
}
|
|
375
|
-
]
|
|
372
|
+
"name": "maxSlippage",
|
|
373
|
+
"type": "uint256"
|
|
374
|
+
}
|
|
375
|
+
]
|
|
376
376
|
},
|
|
377
377
|
{
|
|
378
|
-
name:
|
|
379
|
-
type:
|
|
380
|
-
components: [
|
|
378
|
+
"name": "whitelistPerms",
|
|
379
|
+
"type": "tuple",
|
|
380
|
+
"components": [
|
|
381
381
|
{
|
|
382
|
-
name:
|
|
383
|
-
type:
|
|
382
|
+
"name": "canAddPending",
|
|
383
|
+
"type": "bool"
|
|
384
384
|
},
|
|
385
385
|
{
|
|
386
|
-
name:
|
|
387
|
-
type:
|
|
386
|
+
"name": "canConfirm",
|
|
387
|
+
"type": "bool"
|
|
388
388
|
},
|
|
389
389
|
{
|
|
390
|
-
name:
|
|
391
|
-
type:
|
|
390
|
+
"name": "canCancel",
|
|
391
|
+
"type": "bool"
|
|
392
392
|
},
|
|
393
393
|
{
|
|
394
|
-
name:
|
|
395
|
-
type:
|
|
396
|
-
}
|
|
397
|
-
]
|
|
394
|
+
"name": "canRemove",
|
|
395
|
+
"type": "bool"
|
|
396
|
+
}
|
|
397
|
+
]
|
|
398
398
|
},
|
|
399
399
|
{
|
|
400
|
-
name:
|
|
401
|
-
type:
|
|
402
|
-
components: [
|
|
400
|
+
"name": "transferPerms",
|
|
401
|
+
"type": "tuple",
|
|
402
|
+
"components": [
|
|
403
403
|
{
|
|
404
|
-
name:
|
|
405
|
-
type:
|
|
404
|
+
"name": "canTransfer",
|
|
405
|
+
"type": "bool"
|
|
406
406
|
},
|
|
407
407
|
{
|
|
408
|
-
name:
|
|
409
|
-
type:
|
|
408
|
+
"name": "canCreateCheque",
|
|
409
|
+
"type": "bool"
|
|
410
410
|
},
|
|
411
411
|
{
|
|
412
|
-
name:
|
|
413
|
-
type:
|
|
412
|
+
"name": "canAddPendingPayee",
|
|
413
|
+
"type": "bool"
|
|
414
414
|
},
|
|
415
415
|
{
|
|
416
|
-
name:
|
|
417
|
-
type:
|
|
418
|
-
}
|
|
419
|
-
]
|
|
416
|
+
"name": "allowedPayees",
|
|
417
|
+
"type": "address[]"
|
|
418
|
+
}
|
|
419
|
+
]
|
|
420
420
|
},
|
|
421
421
|
{
|
|
422
|
-
name:
|
|
423
|
-
type:
|
|
424
|
-
}
|
|
425
|
-
]
|
|
422
|
+
"name": "allowedAssets",
|
|
423
|
+
"type": "address[]"
|
|
424
|
+
}
|
|
425
|
+
]
|
|
426
426
|
},
|
|
427
427
|
{
|
|
428
|
-
name:
|
|
429
|
-
type:
|
|
430
|
-
components: [
|
|
428
|
+
"name": "_managerSettings",
|
|
429
|
+
"type": "tuple",
|
|
430
|
+
"components": [
|
|
431
431
|
{
|
|
432
|
-
name:
|
|
433
|
-
type:
|
|
432
|
+
"name": "startBlock",
|
|
433
|
+
"type": "uint256"
|
|
434
434
|
},
|
|
435
435
|
{
|
|
436
|
-
name:
|
|
437
|
-
type:
|
|
436
|
+
"name": "expiryBlock",
|
|
437
|
+
"type": "uint256"
|
|
438
438
|
},
|
|
439
439
|
{
|
|
440
|
-
name:
|
|
441
|
-
type:
|
|
442
|
-
components: [
|
|
440
|
+
"name": "limits",
|
|
441
|
+
"type": "tuple",
|
|
442
|
+
"components": [
|
|
443
443
|
{
|
|
444
|
-
name:
|
|
445
|
-
type:
|
|
444
|
+
"name": "maxUsdValuePerTx",
|
|
445
|
+
"type": "uint256"
|
|
446
446
|
},
|
|
447
447
|
{
|
|
448
|
-
name:
|
|
449
|
-
type:
|
|
448
|
+
"name": "maxUsdValuePerPeriod",
|
|
449
|
+
"type": "uint256"
|
|
450
450
|
},
|
|
451
451
|
{
|
|
452
|
-
name:
|
|
453
|
-
type:
|
|
452
|
+
"name": "maxUsdValueLifetime",
|
|
453
|
+
"type": "uint256"
|
|
454
454
|
},
|
|
455
455
|
{
|
|
456
|
-
name:
|
|
457
|
-
type:
|
|
456
|
+
"name": "maxNumTxsPerPeriod",
|
|
457
|
+
"type": "uint256"
|
|
458
458
|
},
|
|
459
459
|
{
|
|
460
|
-
name:
|
|
461
|
-
type:
|
|
460
|
+
"name": "txCooldownBlocks",
|
|
461
|
+
"type": "uint256"
|
|
462
462
|
},
|
|
463
463
|
{
|
|
464
|
-
name:
|
|
465
|
-
type:
|
|
466
|
-
}
|
|
467
|
-
]
|
|
464
|
+
"name": "failOnZeroPrice",
|
|
465
|
+
"type": "bool"
|
|
466
|
+
}
|
|
467
|
+
]
|
|
468
468
|
},
|
|
469
469
|
{
|
|
470
|
-
name:
|
|
471
|
-
type:
|
|
472
|
-
components: [
|
|
470
|
+
"name": "legoPerms",
|
|
471
|
+
"type": "tuple",
|
|
472
|
+
"components": [
|
|
473
473
|
{
|
|
474
|
-
name:
|
|
475
|
-
type:
|
|
474
|
+
"name": "canManageYield",
|
|
475
|
+
"type": "bool"
|
|
476
476
|
},
|
|
477
477
|
{
|
|
478
|
-
name:
|
|
479
|
-
type:
|
|
478
|
+
"name": "canBuyAndSell",
|
|
479
|
+
"type": "bool"
|
|
480
480
|
},
|
|
481
481
|
{
|
|
482
|
-
name:
|
|
483
|
-
type:
|
|
482
|
+
"name": "canManageDebt",
|
|
483
|
+
"type": "bool"
|
|
484
484
|
},
|
|
485
485
|
{
|
|
486
|
-
name:
|
|
487
|
-
type:
|
|
486
|
+
"name": "canManageLiq",
|
|
487
|
+
"type": "bool"
|
|
488
488
|
},
|
|
489
489
|
{
|
|
490
|
-
name:
|
|
491
|
-
type:
|
|
490
|
+
"name": "canClaimRewards",
|
|
491
|
+
"type": "bool"
|
|
492
492
|
},
|
|
493
493
|
{
|
|
494
|
-
name:
|
|
495
|
-
type:
|
|
494
|
+
"name": "onlyApprovedYieldOpps",
|
|
495
|
+
"type": "bool"
|
|
496
496
|
},
|
|
497
497
|
{
|
|
498
|
-
name:
|
|
499
|
-
type:
|
|
500
|
-
}
|
|
501
|
-
]
|
|
498
|
+
"name": "allowedLegos",
|
|
499
|
+
"type": "uint256[]"
|
|
500
|
+
}
|
|
501
|
+
]
|
|
502
502
|
},
|
|
503
503
|
{
|
|
504
|
-
name:
|
|
505
|
-
type:
|
|
506
|
-
components: [
|
|
504
|
+
"name": "swapPerms",
|
|
505
|
+
"type": "tuple",
|
|
506
|
+
"components": [
|
|
507
507
|
{
|
|
508
|
-
name:
|
|
509
|
-
type:
|
|
508
|
+
"name": "mustHaveUsdValue",
|
|
509
|
+
"type": "bool"
|
|
510
510
|
},
|
|
511
511
|
{
|
|
512
|
-
name:
|
|
513
|
-
type:
|
|
512
|
+
"name": "maxNumSwapsPerPeriod",
|
|
513
|
+
"type": "uint256"
|
|
514
514
|
},
|
|
515
515
|
{
|
|
516
|
-
name:
|
|
517
|
-
type:
|
|
518
|
-
}
|
|
519
|
-
]
|
|
516
|
+
"name": "maxSlippage",
|
|
517
|
+
"type": "uint256"
|
|
518
|
+
}
|
|
519
|
+
]
|
|
520
520
|
},
|
|
521
521
|
{
|
|
522
|
-
name:
|
|
523
|
-
type:
|
|
524
|
-
components: [
|
|
522
|
+
"name": "whitelistPerms",
|
|
523
|
+
"type": "tuple",
|
|
524
|
+
"components": [
|
|
525
525
|
{
|
|
526
|
-
name:
|
|
527
|
-
type:
|
|
526
|
+
"name": "canAddPending",
|
|
527
|
+
"type": "bool"
|
|
528
528
|
},
|
|
529
529
|
{
|
|
530
|
-
name:
|
|
531
|
-
type:
|
|
530
|
+
"name": "canConfirm",
|
|
531
|
+
"type": "bool"
|
|
532
532
|
},
|
|
533
533
|
{
|
|
534
|
-
name:
|
|
535
|
-
type:
|
|
534
|
+
"name": "canCancel",
|
|
535
|
+
"type": "bool"
|
|
536
536
|
},
|
|
537
537
|
{
|
|
538
|
-
name:
|
|
539
|
-
type:
|
|
540
|
-
}
|
|
541
|
-
]
|
|
538
|
+
"name": "canRemove",
|
|
539
|
+
"type": "bool"
|
|
540
|
+
}
|
|
541
|
+
]
|
|
542
542
|
},
|
|
543
543
|
{
|
|
544
|
-
name:
|
|
545
|
-
type:
|
|
546
|
-
components: [
|
|
544
|
+
"name": "transferPerms",
|
|
545
|
+
"type": "tuple",
|
|
546
|
+
"components": [
|
|
547
547
|
{
|
|
548
|
-
name:
|
|
549
|
-
type:
|
|
548
|
+
"name": "canTransfer",
|
|
549
|
+
"type": "bool"
|
|
550
550
|
},
|
|
551
551
|
{
|
|
552
|
-
name:
|
|
553
|
-
type:
|
|
552
|
+
"name": "canCreateCheque",
|
|
553
|
+
"type": "bool"
|
|
554
554
|
},
|
|
555
555
|
{
|
|
556
|
-
name:
|
|
557
|
-
type:
|
|
556
|
+
"name": "canAddPendingPayee",
|
|
557
|
+
"type": "bool"
|
|
558
558
|
},
|
|
559
559
|
{
|
|
560
|
-
name:
|
|
561
|
-
type:
|
|
562
|
-
}
|
|
563
|
-
]
|
|
560
|
+
"name": "allowedPayees",
|
|
561
|
+
"type": "address[]"
|
|
562
|
+
}
|
|
563
|
+
]
|
|
564
564
|
},
|
|
565
565
|
{
|
|
566
|
-
name:
|
|
567
|
-
type:
|
|
566
|
+
"name": "allowedAssets",
|
|
567
|
+
"type": "address[]"
|
|
568
568
|
},
|
|
569
569
|
{
|
|
570
|
-
name:
|
|
571
|
-
type:
|
|
572
|
-
}
|
|
573
|
-
]
|
|
574
|
-
}
|
|
570
|
+
"name": "canClaimLoot",
|
|
571
|
+
"type": "bool"
|
|
572
|
+
}
|
|
573
|
+
]
|
|
574
|
+
}
|
|
575
575
|
],
|
|
576
|
-
outputs: [
|
|
576
|
+
"outputs": [
|
|
577
577
|
{
|
|
578
|
-
name:
|
|
579
|
-
type:
|
|
580
|
-
}
|
|
581
|
-
]
|
|
578
|
+
"name": "",
|
|
579
|
+
"type": "bool"
|
|
580
|
+
}
|
|
581
|
+
]
|
|
582
582
|
},
|
|
583
583
|
{
|
|
584
|
-
stateMutability:
|
|
585
|
-
type:
|
|
586
|
-
name:
|
|
587
|
-
inputs: [
|
|
584
|
+
"stateMutability": "view",
|
|
585
|
+
"type": "function",
|
|
586
|
+
"name": "isValidNewCheque",
|
|
587
|
+
"inputs": [
|
|
588
588
|
{
|
|
589
|
-
name:
|
|
590
|
-
type:
|
|
589
|
+
"name": "_wallet",
|
|
590
|
+
"type": "address"
|
|
591
591
|
},
|
|
592
592
|
{
|
|
593
|
-
name:
|
|
594
|
-
type:
|
|
593
|
+
"name": "_walletConfig",
|
|
594
|
+
"type": "address"
|
|
595
595
|
},
|
|
596
596
|
{
|
|
597
|
-
name:
|
|
598
|
-
type:
|
|
597
|
+
"name": "_owner",
|
|
598
|
+
"type": "address"
|
|
599
599
|
},
|
|
600
600
|
{
|
|
601
|
-
name:
|
|
602
|
-
type:
|
|
601
|
+
"name": "_isRecipientOnWhitelist",
|
|
602
|
+
"type": "bool"
|
|
603
603
|
},
|
|
604
604
|
{
|
|
605
|
-
name:
|
|
606
|
-
type:
|
|
607
|
-
components: [
|
|
605
|
+
"name": "_chequeSettings",
|
|
606
|
+
"type": "tuple",
|
|
607
|
+
"components": [
|
|
608
608
|
{
|
|
609
|
-
name:
|
|
610
|
-
type:
|
|
609
|
+
"name": "maxNumActiveCheques",
|
|
610
|
+
"type": "uint256"
|
|
611
611
|
},
|
|
612
612
|
{
|
|
613
|
-
name:
|
|
614
|
-
type:
|
|
613
|
+
"name": "maxChequeUsdValue",
|
|
614
|
+
"type": "uint256"
|
|
615
615
|
},
|
|
616
616
|
{
|
|
617
|
-
name:
|
|
618
|
-
type:
|
|
617
|
+
"name": "instantUsdThreshold",
|
|
618
|
+
"type": "uint256"
|
|
619
619
|
},
|
|
620
620
|
{
|
|
621
|
-
name:
|
|
622
|
-
type:
|
|
621
|
+
"name": "perPeriodPaidUsdCap",
|
|
622
|
+
"type": "uint256"
|
|
623
623
|
},
|
|
624
624
|
{
|
|
625
|
-
name:
|
|
626
|
-
type:
|
|
625
|
+
"name": "maxNumChequesPaidPerPeriod",
|
|
626
|
+
"type": "uint256"
|
|
627
627
|
},
|
|
628
628
|
{
|
|
629
|
-
name:
|
|
630
|
-
type:
|
|
629
|
+
"name": "payCooldownBlocks",
|
|
630
|
+
"type": "uint256"
|
|
631
631
|
},
|
|
632
632
|
{
|
|
633
|
-
name:
|
|
634
|
-
type:
|
|
633
|
+
"name": "perPeriodCreatedUsdCap",
|
|
634
|
+
"type": "uint256"
|
|
635
635
|
},
|
|
636
636
|
{
|
|
637
|
-
name:
|
|
638
|
-
type:
|
|
637
|
+
"name": "maxNumChequesCreatedPerPeriod",
|
|
638
|
+
"type": "uint256"
|
|
639
639
|
},
|
|
640
640
|
{
|
|
641
|
-
name:
|
|
642
|
-
type:
|
|
641
|
+
"name": "createCooldownBlocks",
|
|
642
|
+
"type": "uint256"
|
|
643
643
|
},
|
|
644
644
|
{
|
|
645
|
-
name:
|
|
646
|
-
type:
|
|
645
|
+
"name": "periodLength",
|
|
646
|
+
"type": "uint256"
|
|
647
647
|
},
|
|
648
648
|
{
|
|
649
|
-
name:
|
|
650
|
-
type:
|
|
649
|
+
"name": "expensiveDelayBlocks",
|
|
650
|
+
"type": "uint256"
|
|
651
651
|
},
|
|
652
652
|
{
|
|
653
|
-
name:
|
|
654
|
-
type:
|
|
653
|
+
"name": "defaultExpiryBlocks",
|
|
654
|
+
"type": "uint256"
|
|
655
655
|
},
|
|
656
656
|
{
|
|
657
|
-
name:
|
|
658
|
-
type:
|
|
657
|
+
"name": "allowedAssets",
|
|
658
|
+
"type": "address[]"
|
|
659
659
|
},
|
|
660
660
|
{
|
|
661
|
-
name:
|
|
662
|
-
type:
|
|
661
|
+
"name": "canManagersCreateCheques",
|
|
662
|
+
"type": "bool"
|
|
663
663
|
},
|
|
664
664
|
{
|
|
665
|
-
name:
|
|
666
|
-
type:
|
|
665
|
+
"name": "canManagerPay",
|
|
666
|
+
"type": "bool"
|
|
667
667
|
},
|
|
668
668
|
{
|
|
669
|
-
name:
|
|
670
|
-
type:
|
|
671
|
-
}
|
|
672
|
-
]
|
|
669
|
+
"name": "canBePulled",
|
|
670
|
+
"type": "bool"
|
|
671
|
+
}
|
|
672
|
+
]
|
|
673
673
|
},
|
|
674
674
|
{
|
|
675
|
-
name:
|
|
676
|
-
type:
|
|
677
|
-
components: [
|
|
675
|
+
"name": "_chequeData",
|
|
676
|
+
"type": "tuple",
|
|
677
|
+
"components": [
|
|
678
678
|
{
|
|
679
|
-
name:
|
|
680
|
-
type:
|
|
679
|
+
"name": "numChequesPaidInPeriod",
|
|
680
|
+
"type": "uint256"
|
|
681
681
|
},
|
|
682
682
|
{
|
|
683
|
-
name:
|
|
684
|
-
type:
|
|
683
|
+
"name": "totalUsdValuePaidInPeriod",
|
|
684
|
+
"type": "uint256"
|
|
685
685
|
},
|
|
686
686
|
{
|
|
687
|
-
name:
|
|
688
|
-
type:
|
|
687
|
+
"name": "totalNumChequesPaid",
|
|
688
|
+
"type": "uint256"
|
|
689
689
|
},
|
|
690
690
|
{
|
|
691
|
-
name:
|
|
692
|
-
type:
|
|
691
|
+
"name": "totalUsdValuePaid",
|
|
692
|
+
"type": "uint256"
|
|
693
693
|
},
|
|
694
694
|
{
|
|
695
|
-
name:
|
|
696
|
-
type:
|
|
695
|
+
"name": "lastChequePaidBlock",
|
|
696
|
+
"type": "uint256"
|
|
697
697
|
},
|
|
698
698
|
{
|
|
699
|
-
name:
|
|
700
|
-
type:
|
|
699
|
+
"name": "numChequesCreatedInPeriod",
|
|
700
|
+
"type": "uint256"
|
|
701
701
|
},
|
|
702
702
|
{
|
|
703
|
-
name:
|
|
704
|
-
type:
|
|
703
|
+
"name": "totalUsdValueCreatedInPeriod",
|
|
704
|
+
"type": "uint256"
|
|
705
705
|
},
|
|
706
706
|
{
|
|
707
|
-
name:
|
|
708
|
-
type:
|
|
707
|
+
"name": "totalNumChequesCreated",
|
|
708
|
+
"type": "uint256"
|
|
709
709
|
},
|
|
710
710
|
{
|
|
711
|
-
name:
|
|
712
|
-
type:
|
|
711
|
+
"name": "totalUsdValueCreated",
|
|
712
|
+
"type": "uint256"
|
|
713
713
|
},
|
|
714
714
|
{
|
|
715
|
-
name:
|
|
716
|
-
type:
|
|
715
|
+
"name": "lastChequeCreatedBlock",
|
|
716
|
+
"type": "uint256"
|
|
717
717
|
},
|
|
718
718
|
{
|
|
719
|
-
name:
|
|
720
|
-
type:
|
|
721
|
-
}
|
|
722
|
-
]
|
|
719
|
+
"name": "periodStartBlock",
|
|
720
|
+
"type": "uint256"
|
|
721
|
+
}
|
|
722
|
+
]
|
|
723
723
|
},
|
|
724
724
|
{
|
|
725
|
-
name:
|
|
726
|
-
type:
|
|
725
|
+
"name": "_isExistingCheque",
|
|
726
|
+
"type": "bool"
|
|
727
727
|
},
|
|
728
728
|
{
|
|
729
|
-
name:
|
|
730
|
-
type:
|
|
729
|
+
"name": "_numActiveCheques",
|
|
730
|
+
"type": "uint256"
|
|
731
731
|
},
|
|
732
732
|
{
|
|
733
|
-
name:
|
|
734
|
-
type:
|
|
733
|
+
"name": "_isExistingPayee",
|
|
734
|
+
"type": "bool"
|
|
735
735
|
},
|
|
736
736
|
{
|
|
737
|
-
name:
|
|
738
|
-
type:
|
|
737
|
+
"name": "_timeLock",
|
|
738
|
+
"type": "uint256"
|
|
739
739
|
},
|
|
740
740
|
{
|
|
741
|
-
name:
|
|
742
|
-
type:
|
|
741
|
+
"name": "_recipient",
|
|
742
|
+
"type": "address"
|
|
743
743
|
},
|
|
744
744
|
{
|
|
745
|
-
name:
|
|
746
|
-
type:
|
|
745
|
+
"name": "_asset",
|
|
746
|
+
"type": "address"
|
|
747
747
|
},
|
|
748
748
|
{
|
|
749
|
-
name:
|
|
750
|
-
type:
|
|
749
|
+
"name": "_amount",
|
|
750
|
+
"type": "uint256"
|
|
751
751
|
},
|
|
752
752
|
{
|
|
753
|
-
name:
|
|
754
|
-
type:
|
|
753
|
+
"name": "_unlockNumBlocks",
|
|
754
|
+
"type": "uint256"
|
|
755
755
|
},
|
|
756
756
|
{
|
|
757
|
-
name:
|
|
758
|
-
type:
|
|
757
|
+
"name": "_expiryNumBlocks",
|
|
758
|
+
"type": "uint256"
|
|
759
759
|
},
|
|
760
760
|
{
|
|
761
|
-
name:
|
|
762
|
-
type:
|
|
761
|
+
"name": "_canManagerPay",
|
|
762
|
+
"type": "bool"
|
|
763
763
|
},
|
|
764
764
|
{
|
|
765
|
-
name:
|
|
766
|
-
type:
|
|
765
|
+
"name": "_canBePulled",
|
|
766
|
+
"type": "bool"
|
|
767
767
|
},
|
|
768
768
|
{
|
|
769
|
-
name:
|
|
770
|
-
type:
|
|
769
|
+
"name": "_creator",
|
|
770
|
+
"type": "address"
|
|
771
771
|
},
|
|
772
772
|
{
|
|
773
|
-
name:
|
|
774
|
-
type:
|
|
775
|
-
}
|
|
773
|
+
"name": "_usdValue",
|
|
774
|
+
"type": "uint256"
|
|
775
|
+
}
|
|
776
776
|
],
|
|
777
|
-
outputs: [
|
|
777
|
+
"outputs": [
|
|
778
778
|
{
|
|
779
|
-
name:
|
|
780
|
-
type:
|
|
781
|
-
}
|
|
782
|
-
]
|
|
779
|
+
"name": "",
|
|
780
|
+
"type": "bool"
|
|
781
|
+
}
|
|
782
|
+
]
|
|
783
783
|
},
|
|
784
784
|
{
|
|
785
|
-
stateMutability:
|
|
786
|
-
type:
|
|
787
|
-
name:
|
|
788
|
-
inputs: [
|
|
785
|
+
"stateMutability": "nonpayable",
|
|
786
|
+
"type": "function",
|
|
787
|
+
"name": "cancelCheque",
|
|
788
|
+
"inputs": [
|
|
789
789
|
{
|
|
790
|
-
name:
|
|
791
|
-
type:
|
|
790
|
+
"name": "_userWallet",
|
|
791
|
+
"type": "address"
|
|
792
792
|
},
|
|
793
793
|
{
|
|
794
|
-
name:
|
|
795
|
-
type:
|
|
796
|
-
}
|
|
794
|
+
"name": "_recipient",
|
|
795
|
+
"type": "address"
|
|
796
|
+
}
|
|
797
797
|
],
|
|
798
|
-
outputs: [
|
|
798
|
+
"outputs": [
|
|
799
799
|
{
|
|
800
|
-
name:
|
|
801
|
-
type:
|
|
802
|
-
}
|
|
803
|
-
]
|
|
800
|
+
"name": "",
|
|
801
|
+
"type": "bool"
|
|
802
|
+
}
|
|
803
|
+
]
|
|
804
804
|
},
|
|
805
805
|
{
|
|
806
|
-
stateMutability:
|
|
807
|
-
type:
|
|
808
|
-
name:
|
|
809
|
-
inputs: [
|
|
806
|
+
"stateMutability": "nonpayable",
|
|
807
|
+
"type": "function",
|
|
808
|
+
"name": "setChequeSettings",
|
|
809
|
+
"inputs": [
|
|
810
810
|
{
|
|
811
|
-
name:
|
|
812
|
-
type:
|
|
811
|
+
"name": "_userWallet",
|
|
812
|
+
"type": "address"
|
|
813
813
|
},
|
|
814
814
|
{
|
|
815
|
-
name:
|
|
816
|
-
type:
|
|
815
|
+
"name": "_maxNumActiveCheques",
|
|
816
|
+
"type": "uint256"
|
|
817
817
|
},
|
|
818
818
|
{
|
|
819
|
-
name:
|
|
820
|
-
type:
|
|
819
|
+
"name": "_maxChequeUsdValue",
|
|
820
|
+
"type": "uint256"
|
|
821
821
|
},
|
|
822
822
|
{
|
|
823
|
-
name:
|
|
824
|
-
type:
|
|
823
|
+
"name": "_instantUsdThreshold",
|
|
824
|
+
"type": "uint256"
|
|
825
825
|
},
|
|
826
826
|
{
|
|
827
|
-
name:
|
|
828
|
-
type:
|
|
827
|
+
"name": "_perPeriodPaidUsdCap",
|
|
828
|
+
"type": "uint256"
|
|
829
829
|
},
|
|
830
830
|
{
|
|
831
|
-
name:
|
|
832
|
-
type:
|
|
831
|
+
"name": "_maxNumChequesPaidPerPeriod",
|
|
832
|
+
"type": "uint256"
|
|
833
833
|
},
|
|
834
834
|
{
|
|
835
|
-
name:
|
|
836
|
-
type:
|
|
835
|
+
"name": "_payCooldownBlocks",
|
|
836
|
+
"type": "uint256"
|
|
837
837
|
},
|
|
838
838
|
{
|
|
839
|
-
name:
|
|
840
|
-
type:
|
|
839
|
+
"name": "_perPeriodCreatedUsdCap",
|
|
840
|
+
"type": "uint256"
|
|
841
841
|
},
|
|
842
842
|
{
|
|
843
|
-
name:
|
|
844
|
-
type:
|
|
843
|
+
"name": "_maxNumChequesCreatedPerPeriod",
|
|
844
|
+
"type": "uint256"
|
|
845
845
|
},
|
|
846
846
|
{
|
|
847
|
-
name:
|
|
848
|
-
type:
|
|
847
|
+
"name": "_createCooldownBlocks",
|
|
848
|
+
"type": "uint256"
|
|
849
849
|
},
|
|
850
850
|
{
|
|
851
|
-
name:
|
|
852
|
-
type:
|
|
851
|
+
"name": "_periodLength",
|
|
852
|
+
"type": "uint256"
|
|
853
853
|
},
|
|
854
854
|
{
|
|
855
|
-
name:
|
|
856
|
-
type:
|
|
855
|
+
"name": "_expensiveDelayBlocks",
|
|
856
|
+
"type": "uint256"
|
|
857
857
|
},
|
|
858
858
|
{
|
|
859
|
-
name:
|
|
860
|
-
type:
|
|
859
|
+
"name": "_defaultExpiryBlocks",
|
|
860
|
+
"type": "uint256"
|
|
861
861
|
},
|
|
862
862
|
{
|
|
863
|
-
name:
|
|
864
|
-
type:
|
|
863
|
+
"name": "_allowedAssets",
|
|
864
|
+
"type": "address[]"
|
|
865
865
|
},
|
|
866
866
|
{
|
|
867
|
-
name:
|
|
868
|
-
type:
|
|
867
|
+
"name": "_canManagersCreateCheques",
|
|
868
|
+
"type": "bool"
|
|
869
869
|
},
|
|
870
870
|
{
|
|
871
|
-
name:
|
|
872
|
-
type:
|
|
871
|
+
"name": "_canManagerPay",
|
|
872
|
+
"type": "bool"
|
|
873
873
|
},
|
|
874
874
|
{
|
|
875
|
-
name:
|
|
876
|
-
type:
|
|
877
|
-
}
|
|
875
|
+
"name": "_canBePulled",
|
|
876
|
+
"type": "bool"
|
|
877
|
+
}
|
|
878
878
|
],
|
|
879
|
-
outputs: [
|
|
879
|
+
"outputs": [
|
|
880
880
|
{
|
|
881
|
-
name:
|
|
882
|
-
type:
|
|
883
|
-
}
|
|
884
|
-
]
|
|
881
|
+
"name": "",
|
|
882
|
+
"type": "bool"
|
|
883
|
+
}
|
|
884
|
+
]
|
|
885
885
|
},
|
|
886
886
|
{
|
|
887
|
-
stateMutability:
|
|
888
|
-
type:
|
|
889
|
-
name:
|
|
890
|
-
inputs: [
|
|
887
|
+
"stateMutability": "view",
|
|
888
|
+
"type": "function",
|
|
889
|
+
"name": "isValidChequeSettings",
|
|
890
|
+
"inputs": [
|
|
891
891
|
{
|
|
892
|
-
name:
|
|
893
|
-
type:
|
|
892
|
+
"name": "_maxNumActiveCheques",
|
|
893
|
+
"type": "uint256"
|
|
894
894
|
},
|
|
895
895
|
{
|
|
896
|
-
name:
|
|
897
|
-
type:
|
|
896
|
+
"name": "_maxChequeUsdValue",
|
|
897
|
+
"type": "uint256"
|
|
898
898
|
},
|
|
899
899
|
{
|
|
900
|
-
name:
|
|
901
|
-
type:
|
|
900
|
+
"name": "_instantUsdThreshold",
|
|
901
|
+
"type": "uint256"
|
|
902
902
|
},
|
|
903
903
|
{
|
|
904
|
-
name:
|
|
905
|
-
type:
|
|
904
|
+
"name": "_perPeriodPaidUsdCap",
|
|
905
|
+
"type": "uint256"
|
|
906
906
|
},
|
|
907
907
|
{
|
|
908
|
-
name:
|
|
909
|
-
type:
|
|
908
|
+
"name": "_maxNumChequesPaidPerPeriod",
|
|
909
|
+
"type": "uint256"
|
|
910
910
|
},
|
|
911
911
|
{
|
|
912
|
-
name:
|
|
913
|
-
type:
|
|
912
|
+
"name": "_payCooldownBlocks",
|
|
913
|
+
"type": "uint256"
|
|
914
914
|
},
|
|
915
915
|
{
|
|
916
|
-
name:
|
|
917
|
-
type:
|
|
916
|
+
"name": "_perPeriodCreatedUsdCap",
|
|
917
|
+
"type": "uint256"
|
|
918
918
|
},
|
|
919
919
|
{
|
|
920
|
-
name:
|
|
921
|
-
type:
|
|
920
|
+
"name": "_maxNumChequesCreatedPerPeriod",
|
|
921
|
+
"type": "uint256"
|
|
922
922
|
},
|
|
923
923
|
{
|
|
924
|
-
name:
|
|
925
|
-
type:
|
|
924
|
+
"name": "_createCooldownBlocks",
|
|
925
|
+
"type": "uint256"
|
|
926
926
|
},
|
|
927
927
|
{
|
|
928
|
-
name:
|
|
929
|
-
type:
|
|
928
|
+
"name": "_periodLength",
|
|
929
|
+
"type": "uint256"
|
|
930
930
|
},
|
|
931
931
|
{
|
|
932
|
-
name:
|
|
933
|
-
type:
|
|
932
|
+
"name": "_expensiveDelayBlocks",
|
|
933
|
+
"type": "uint256"
|
|
934
934
|
},
|
|
935
935
|
{
|
|
936
|
-
name:
|
|
937
|
-
type:
|
|
936
|
+
"name": "_defaultExpiryBlocks",
|
|
937
|
+
"type": "uint256"
|
|
938
938
|
},
|
|
939
939
|
{
|
|
940
|
-
name:
|
|
941
|
-
type:
|
|
942
|
-
}
|
|
940
|
+
"name": "_timeLock",
|
|
941
|
+
"type": "uint256"
|
|
942
|
+
}
|
|
943
943
|
],
|
|
944
|
-
outputs: [
|
|
944
|
+
"outputs": [
|
|
945
945
|
{
|
|
946
|
-
name:
|
|
947
|
-
type:
|
|
948
|
-
}
|
|
949
|
-
]
|
|
946
|
+
"name": "",
|
|
947
|
+
"type": "bool"
|
|
948
|
+
}
|
|
949
|
+
]
|
|
950
950
|
},
|
|
951
951
|
{
|
|
952
|
-
stateMutability:
|
|
953
|
-
type:
|
|
954
|
-
name:
|
|
955
|
-
inputs: [
|
|
952
|
+
"stateMutability": "view",
|
|
953
|
+
"type": "function",
|
|
954
|
+
"name": "getChequeConfig",
|
|
955
|
+
"inputs": [
|
|
956
956
|
{
|
|
957
|
-
name:
|
|
958
|
-
type:
|
|
957
|
+
"name": "_userWallet",
|
|
958
|
+
"type": "address"
|
|
959
959
|
},
|
|
960
960
|
{
|
|
961
|
-
name:
|
|
962
|
-
type:
|
|
961
|
+
"name": "_creator",
|
|
962
|
+
"type": "address"
|
|
963
963
|
},
|
|
964
964
|
{
|
|
965
|
-
name:
|
|
966
|
-
type:
|
|
967
|
-
}
|
|
965
|
+
"name": "_recipient",
|
|
966
|
+
"type": "address"
|
|
967
|
+
}
|
|
968
968
|
],
|
|
969
|
-
outputs: [
|
|
969
|
+
"outputs": [
|
|
970
970
|
{
|
|
971
|
-
name:
|
|
972
|
-
type:
|
|
973
|
-
components: [
|
|
971
|
+
"name": "",
|
|
972
|
+
"type": "tuple",
|
|
973
|
+
"components": [
|
|
974
974
|
{
|
|
975
|
-
name:
|
|
976
|
-
type:
|
|
975
|
+
"name": "wallet",
|
|
976
|
+
"type": "address"
|
|
977
977
|
},
|
|
978
978
|
{
|
|
979
|
-
name:
|
|
980
|
-
type:
|
|
979
|
+
"name": "walletConfig",
|
|
980
|
+
"type": "address"
|
|
981
981
|
},
|
|
982
982
|
{
|
|
983
|
-
name:
|
|
984
|
-
type:
|
|
983
|
+
"name": "owner",
|
|
984
|
+
"type": "address"
|
|
985
985
|
},
|
|
986
986
|
{
|
|
987
|
-
name:
|
|
988
|
-
type:
|
|
987
|
+
"name": "isRecipientOnWhitelist",
|
|
988
|
+
"type": "bool"
|
|
989
989
|
},
|
|
990
990
|
{
|
|
991
|
-
name:
|
|
992
|
-
type:
|
|
991
|
+
"name": "isCreatorManager",
|
|
992
|
+
"type": "bool"
|
|
993
993
|
},
|
|
994
994
|
{
|
|
995
|
-
name:
|
|
996
|
-
type:
|
|
997
|
-
components: [
|
|
995
|
+
"name": "managerSettings",
|
|
996
|
+
"type": "tuple",
|
|
997
|
+
"components": [
|
|
998
998
|
{
|
|
999
|
-
name:
|
|
1000
|
-
type:
|
|
999
|
+
"name": "startBlock",
|
|
1000
|
+
"type": "uint256"
|
|
1001
1001
|
},
|
|
1002
1002
|
{
|
|
1003
|
-
name:
|
|
1004
|
-
type:
|
|
1003
|
+
"name": "expiryBlock",
|
|
1004
|
+
"type": "uint256"
|
|
1005
1005
|
},
|
|
1006
1006
|
{
|
|
1007
|
-
name:
|
|
1008
|
-
type:
|
|
1009
|
-
components: [
|
|
1007
|
+
"name": "limits",
|
|
1008
|
+
"type": "tuple",
|
|
1009
|
+
"components": [
|
|
1010
1010
|
{
|
|
1011
|
-
name:
|
|
1012
|
-
type:
|
|
1011
|
+
"name": "maxUsdValuePerTx",
|
|
1012
|
+
"type": "uint256"
|
|
1013
1013
|
},
|
|
1014
1014
|
{
|
|
1015
|
-
name:
|
|
1016
|
-
type:
|
|
1015
|
+
"name": "maxUsdValuePerPeriod",
|
|
1016
|
+
"type": "uint256"
|
|
1017
1017
|
},
|
|
1018
1018
|
{
|
|
1019
|
-
name:
|
|
1020
|
-
type:
|
|
1019
|
+
"name": "maxUsdValueLifetime",
|
|
1020
|
+
"type": "uint256"
|
|
1021
1021
|
},
|
|
1022
1022
|
{
|
|
1023
|
-
name:
|
|
1024
|
-
type:
|
|
1023
|
+
"name": "maxNumTxsPerPeriod",
|
|
1024
|
+
"type": "uint256"
|
|
1025
1025
|
},
|
|
1026
1026
|
{
|
|
1027
|
-
name:
|
|
1028
|
-
type:
|
|
1027
|
+
"name": "txCooldownBlocks",
|
|
1028
|
+
"type": "uint256"
|
|
1029
1029
|
},
|
|
1030
1030
|
{
|
|
1031
|
-
name:
|
|
1032
|
-
type:
|
|
1033
|
-
}
|
|
1034
|
-
]
|
|
1031
|
+
"name": "failOnZeroPrice",
|
|
1032
|
+
"type": "bool"
|
|
1033
|
+
}
|
|
1034
|
+
]
|
|
1035
1035
|
},
|
|
1036
1036
|
{
|
|
1037
|
-
name:
|
|
1038
|
-
type:
|
|
1039
|
-
components: [
|
|
1037
|
+
"name": "legoPerms",
|
|
1038
|
+
"type": "tuple",
|
|
1039
|
+
"components": [
|
|
1040
1040
|
{
|
|
1041
|
-
name:
|
|
1042
|
-
type:
|
|
1041
|
+
"name": "canManageYield",
|
|
1042
|
+
"type": "bool"
|
|
1043
1043
|
},
|
|
1044
1044
|
{
|
|
1045
|
-
name:
|
|
1046
|
-
type:
|
|
1045
|
+
"name": "canBuyAndSell",
|
|
1046
|
+
"type": "bool"
|
|
1047
1047
|
},
|
|
1048
1048
|
{
|
|
1049
|
-
name:
|
|
1050
|
-
type:
|
|
1049
|
+
"name": "canManageDebt",
|
|
1050
|
+
"type": "bool"
|
|
1051
1051
|
},
|
|
1052
1052
|
{
|
|
1053
|
-
name:
|
|
1054
|
-
type:
|
|
1053
|
+
"name": "canManageLiq",
|
|
1054
|
+
"type": "bool"
|
|
1055
1055
|
},
|
|
1056
1056
|
{
|
|
1057
|
-
name:
|
|
1058
|
-
type:
|
|
1057
|
+
"name": "canClaimRewards",
|
|
1058
|
+
"type": "bool"
|
|
1059
1059
|
},
|
|
1060
1060
|
{
|
|
1061
|
-
name:
|
|
1062
|
-
type:
|
|
1061
|
+
"name": "onlyApprovedYieldOpps",
|
|
1062
|
+
"type": "bool"
|
|
1063
1063
|
},
|
|
1064
1064
|
{
|
|
1065
|
-
name:
|
|
1066
|
-
type:
|
|
1067
|
-
}
|
|
1068
|
-
]
|
|
1065
|
+
"name": "allowedLegos",
|
|
1066
|
+
"type": "uint256[]"
|
|
1067
|
+
}
|
|
1068
|
+
]
|
|
1069
1069
|
},
|
|
1070
1070
|
{
|
|
1071
|
-
name:
|
|
1072
|
-
type:
|
|
1073
|
-
components: [
|
|
1071
|
+
"name": "swapPerms",
|
|
1072
|
+
"type": "tuple",
|
|
1073
|
+
"components": [
|
|
1074
1074
|
{
|
|
1075
|
-
name:
|
|
1076
|
-
type:
|
|
1075
|
+
"name": "mustHaveUsdValue",
|
|
1076
|
+
"type": "bool"
|
|
1077
1077
|
},
|
|
1078
1078
|
{
|
|
1079
|
-
name:
|
|
1080
|
-
type:
|
|
1079
|
+
"name": "maxNumSwapsPerPeriod",
|
|
1080
|
+
"type": "uint256"
|
|
1081
1081
|
},
|
|
1082
1082
|
{
|
|
1083
|
-
name:
|
|
1084
|
-
type:
|
|
1085
|
-
}
|
|
1086
|
-
]
|
|
1083
|
+
"name": "maxSlippage",
|
|
1084
|
+
"type": "uint256"
|
|
1085
|
+
}
|
|
1086
|
+
]
|
|
1087
1087
|
},
|
|
1088
1088
|
{
|
|
1089
|
-
name:
|
|
1090
|
-
type:
|
|
1091
|
-
components: [
|
|
1089
|
+
"name": "whitelistPerms",
|
|
1090
|
+
"type": "tuple",
|
|
1091
|
+
"components": [
|
|
1092
1092
|
{
|
|
1093
|
-
name:
|
|
1094
|
-
type:
|
|
1093
|
+
"name": "canAddPending",
|
|
1094
|
+
"type": "bool"
|
|
1095
1095
|
},
|
|
1096
1096
|
{
|
|
1097
|
-
name:
|
|
1098
|
-
type:
|
|
1097
|
+
"name": "canConfirm",
|
|
1098
|
+
"type": "bool"
|
|
1099
1099
|
},
|
|
1100
1100
|
{
|
|
1101
|
-
name:
|
|
1102
|
-
type:
|
|
1101
|
+
"name": "canCancel",
|
|
1102
|
+
"type": "bool"
|
|
1103
1103
|
},
|
|
1104
1104
|
{
|
|
1105
|
-
name:
|
|
1106
|
-
type:
|
|
1107
|
-
}
|
|
1108
|
-
]
|
|
1105
|
+
"name": "canRemove",
|
|
1106
|
+
"type": "bool"
|
|
1107
|
+
}
|
|
1108
|
+
]
|
|
1109
1109
|
},
|
|
1110
1110
|
{
|
|
1111
|
-
name:
|
|
1112
|
-
type:
|
|
1113
|
-
components: [
|
|
1111
|
+
"name": "transferPerms",
|
|
1112
|
+
"type": "tuple",
|
|
1113
|
+
"components": [
|
|
1114
1114
|
{
|
|
1115
|
-
name:
|
|
1116
|
-
type:
|
|
1115
|
+
"name": "canTransfer",
|
|
1116
|
+
"type": "bool"
|
|
1117
1117
|
},
|
|
1118
1118
|
{
|
|
1119
|
-
name:
|
|
1120
|
-
type:
|
|
1119
|
+
"name": "canCreateCheque",
|
|
1120
|
+
"type": "bool"
|
|
1121
1121
|
},
|
|
1122
1122
|
{
|
|
1123
|
-
name:
|
|
1124
|
-
type:
|
|
1123
|
+
"name": "canAddPendingPayee",
|
|
1124
|
+
"type": "bool"
|
|
1125
1125
|
},
|
|
1126
1126
|
{
|
|
1127
|
-
name:
|
|
1128
|
-
type:
|
|
1129
|
-
}
|
|
1130
|
-
]
|
|
1127
|
+
"name": "allowedPayees",
|
|
1128
|
+
"type": "address[]"
|
|
1129
|
+
}
|
|
1130
|
+
]
|
|
1131
1131
|
},
|
|
1132
1132
|
{
|
|
1133
|
-
name:
|
|
1134
|
-
type:
|
|
1133
|
+
"name": "allowedAssets",
|
|
1134
|
+
"type": "address[]"
|
|
1135
1135
|
},
|
|
1136
1136
|
{
|
|
1137
|
-
name:
|
|
1138
|
-
type:
|
|
1139
|
-
}
|
|
1140
|
-
]
|
|
1137
|
+
"name": "canClaimLoot",
|
|
1138
|
+
"type": "bool"
|
|
1139
|
+
}
|
|
1140
|
+
]
|
|
1141
1141
|
},
|
|
1142
1142
|
{
|
|
1143
|
-
name:
|
|
1144
|
-
type:
|
|
1145
|
-
components: [
|
|
1143
|
+
"name": "chequeSettings",
|
|
1144
|
+
"type": "tuple",
|
|
1145
|
+
"components": [
|
|
1146
1146
|
{
|
|
1147
|
-
name:
|
|
1148
|
-
type:
|
|
1147
|
+
"name": "maxNumActiveCheques",
|
|
1148
|
+
"type": "uint256"
|
|
1149
1149
|
},
|
|
1150
1150
|
{
|
|
1151
|
-
name:
|
|
1152
|
-
type:
|
|
1151
|
+
"name": "maxChequeUsdValue",
|
|
1152
|
+
"type": "uint256"
|
|
1153
1153
|
},
|
|
1154
1154
|
{
|
|
1155
|
-
name:
|
|
1156
|
-
type:
|
|
1155
|
+
"name": "instantUsdThreshold",
|
|
1156
|
+
"type": "uint256"
|
|
1157
1157
|
},
|
|
1158
1158
|
{
|
|
1159
|
-
name:
|
|
1160
|
-
type:
|
|
1159
|
+
"name": "perPeriodPaidUsdCap",
|
|
1160
|
+
"type": "uint256"
|
|
1161
1161
|
},
|
|
1162
1162
|
{
|
|
1163
|
-
name:
|
|
1164
|
-
type:
|
|
1163
|
+
"name": "maxNumChequesPaidPerPeriod",
|
|
1164
|
+
"type": "uint256"
|
|
1165
1165
|
},
|
|
1166
1166
|
{
|
|
1167
|
-
name:
|
|
1168
|
-
type:
|
|
1167
|
+
"name": "payCooldownBlocks",
|
|
1168
|
+
"type": "uint256"
|
|
1169
1169
|
},
|
|
1170
1170
|
{
|
|
1171
|
-
name:
|
|
1172
|
-
type:
|
|
1171
|
+
"name": "perPeriodCreatedUsdCap",
|
|
1172
|
+
"type": "uint256"
|
|
1173
1173
|
},
|
|
1174
1174
|
{
|
|
1175
|
-
name:
|
|
1176
|
-
type:
|
|
1175
|
+
"name": "maxNumChequesCreatedPerPeriod",
|
|
1176
|
+
"type": "uint256"
|
|
1177
1177
|
},
|
|
1178
1178
|
{
|
|
1179
|
-
name:
|
|
1180
|
-
type:
|
|
1179
|
+
"name": "createCooldownBlocks",
|
|
1180
|
+
"type": "uint256"
|
|
1181
1181
|
},
|
|
1182
1182
|
{
|
|
1183
|
-
name:
|
|
1184
|
-
type:
|
|
1183
|
+
"name": "periodLength",
|
|
1184
|
+
"type": "uint256"
|
|
1185
1185
|
},
|
|
1186
1186
|
{
|
|
1187
|
-
name:
|
|
1188
|
-
type:
|
|
1187
|
+
"name": "expensiveDelayBlocks",
|
|
1188
|
+
"type": "uint256"
|
|
1189
1189
|
},
|
|
1190
1190
|
{
|
|
1191
|
-
name:
|
|
1192
|
-
type:
|
|
1191
|
+
"name": "defaultExpiryBlocks",
|
|
1192
|
+
"type": "uint256"
|
|
1193
1193
|
},
|
|
1194
1194
|
{
|
|
1195
|
-
name:
|
|
1196
|
-
type:
|
|
1195
|
+
"name": "allowedAssets",
|
|
1196
|
+
"type": "address[]"
|
|
1197
1197
|
},
|
|
1198
1198
|
{
|
|
1199
|
-
name:
|
|
1200
|
-
type:
|
|
1199
|
+
"name": "canManagersCreateCheques",
|
|
1200
|
+
"type": "bool"
|
|
1201
1201
|
},
|
|
1202
1202
|
{
|
|
1203
|
-
name:
|
|
1204
|
-
type:
|
|
1203
|
+
"name": "canManagerPay",
|
|
1204
|
+
"type": "bool"
|
|
1205
1205
|
},
|
|
1206
1206
|
{
|
|
1207
|
-
name:
|
|
1208
|
-
type:
|
|
1209
|
-
}
|
|
1210
|
-
]
|
|
1207
|
+
"name": "canBePulled",
|
|
1208
|
+
"type": "bool"
|
|
1209
|
+
}
|
|
1210
|
+
]
|
|
1211
1211
|
},
|
|
1212
1212
|
{
|
|
1213
|
-
name:
|
|
1214
|
-
type:
|
|
1215
|
-
components: [
|
|
1213
|
+
"name": "chequeData",
|
|
1214
|
+
"type": "tuple",
|
|
1215
|
+
"components": [
|
|
1216
1216
|
{
|
|
1217
|
-
name:
|
|
1218
|
-
type:
|
|
1217
|
+
"name": "numChequesPaidInPeriod",
|
|
1218
|
+
"type": "uint256"
|
|
1219
1219
|
},
|
|
1220
1220
|
{
|
|
1221
|
-
name:
|
|
1222
|
-
type:
|
|
1221
|
+
"name": "totalUsdValuePaidInPeriod",
|
|
1222
|
+
"type": "uint256"
|
|
1223
1223
|
},
|
|
1224
1224
|
{
|
|
1225
|
-
name:
|
|
1226
|
-
type:
|
|
1225
|
+
"name": "totalNumChequesPaid",
|
|
1226
|
+
"type": "uint256"
|
|
1227
1227
|
},
|
|
1228
1228
|
{
|
|
1229
|
-
name:
|
|
1230
|
-
type:
|
|
1229
|
+
"name": "totalUsdValuePaid",
|
|
1230
|
+
"type": "uint256"
|
|
1231
1231
|
},
|
|
1232
1232
|
{
|
|
1233
|
-
name:
|
|
1234
|
-
type:
|
|
1233
|
+
"name": "lastChequePaidBlock",
|
|
1234
|
+
"type": "uint256"
|
|
1235
1235
|
},
|
|
1236
1236
|
{
|
|
1237
|
-
name:
|
|
1238
|
-
type:
|
|
1237
|
+
"name": "numChequesCreatedInPeriod",
|
|
1238
|
+
"type": "uint256"
|
|
1239
1239
|
},
|
|
1240
1240
|
{
|
|
1241
|
-
name:
|
|
1242
|
-
type:
|
|
1241
|
+
"name": "totalUsdValueCreatedInPeriod",
|
|
1242
|
+
"type": "uint256"
|
|
1243
1243
|
},
|
|
1244
1244
|
{
|
|
1245
|
-
name:
|
|
1246
|
-
type:
|
|
1245
|
+
"name": "totalNumChequesCreated",
|
|
1246
|
+
"type": "uint256"
|
|
1247
1247
|
},
|
|
1248
1248
|
{
|
|
1249
|
-
name:
|
|
1250
|
-
type:
|
|
1249
|
+
"name": "totalUsdValueCreated",
|
|
1250
|
+
"type": "uint256"
|
|
1251
1251
|
},
|
|
1252
1252
|
{
|
|
1253
|
-
name:
|
|
1254
|
-
type:
|
|
1253
|
+
"name": "lastChequeCreatedBlock",
|
|
1254
|
+
"type": "uint256"
|
|
1255
1255
|
},
|
|
1256
1256
|
{
|
|
1257
|
-
name:
|
|
1258
|
-
type:
|
|
1259
|
-
}
|
|
1260
|
-
]
|
|
1257
|
+
"name": "periodStartBlock",
|
|
1258
|
+
"type": "uint256"
|
|
1259
|
+
}
|
|
1260
|
+
]
|
|
1261
1261
|
},
|
|
1262
1262
|
{
|
|
1263
|
-
name:
|
|
1264
|
-
type:
|
|
1263
|
+
"name": "isExistingCheque",
|
|
1264
|
+
"type": "bool"
|
|
1265
1265
|
},
|
|
1266
1266
|
{
|
|
1267
|
-
name:
|
|
1268
|
-
type:
|
|
1267
|
+
"name": "numActiveCheques",
|
|
1268
|
+
"type": "uint256"
|
|
1269
1269
|
},
|
|
1270
1270
|
{
|
|
1271
|
-
name:
|
|
1272
|
-
type:
|
|
1271
|
+
"name": "isExistingPayee",
|
|
1272
|
+
"type": "bool"
|
|
1273
1273
|
},
|
|
1274
1274
|
{
|
|
1275
|
-
name:
|
|
1276
|
-
type:
|
|
1277
|
-
}
|
|
1278
|
-
]
|
|
1279
|
-
}
|
|
1280
|
-
]
|
|
1275
|
+
"name": "timeLock",
|
|
1276
|
+
"type": "uint256"
|
|
1277
|
+
}
|
|
1278
|
+
]
|
|
1279
|
+
}
|
|
1280
|
+
]
|
|
1281
1281
|
},
|
|
1282
1282
|
{
|
|
1283
|
-
stateMutability:
|
|
1284
|
-
type:
|
|
1285
|
-
name:
|
|
1286
|
-
inputs: [
|
|
1283
|
+
"stateMutability": "view",
|
|
1284
|
+
"type": "function",
|
|
1285
|
+
"name": "createDefaultChequeSettings",
|
|
1286
|
+
"inputs": [
|
|
1287
1287
|
{
|
|
1288
|
-
name:
|
|
1289
|
-
type:
|
|
1288
|
+
"name": "_maxNumActiveCheques",
|
|
1289
|
+
"type": "uint256"
|
|
1290
1290
|
},
|
|
1291
1291
|
{
|
|
1292
|
-
name:
|
|
1293
|
-
type:
|
|
1292
|
+
"name": "_instantUsdThreshold",
|
|
1293
|
+
"type": "uint256"
|
|
1294
1294
|
},
|
|
1295
1295
|
{
|
|
1296
|
-
name:
|
|
1297
|
-
type:
|
|
1296
|
+
"name": "_periodLength",
|
|
1297
|
+
"type": "uint256"
|
|
1298
1298
|
},
|
|
1299
1299
|
{
|
|
1300
|
-
name:
|
|
1301
|
-
type:
|
|
1300
|
+
"name": "_expensiveDelayBlocks",
|
|
1301
|
+
"type": "uint256"
|
|
1302
1302
|
},
|
|
1303
1303
|
{
|
|
1304
|
-
name:
|
|
1305
|
-
type:
|
|
1306
|
-
}
|
|
1304
|
+
"name": "_defaultExpiryBlocks",
|
|
1305
|
+
"type": "uint256"
|
|
1306
|
+
}
|
|
1307
1307
|
],
|
|
1308
|
-
outputs: [
|
|
1308
|
+
"outputs": [
|
|
1309
1309
|
{
|
|
1310
|
-
name:
|
|
1311
|
-
type:
|
|
1312
|
-
components: [
|
|
1310
|
+
"name": "",
|
|
1311
|
+
"type": "tuple",
|
|
1312
|
+
"components": [
|
|
1313
1313
|
{
|
|
1314
|
-
name:
|
|
1315
|
-
type:
|
|
1314
|
+
"name": "maxNumActiveCheques",
|
|
1315
|
+
"type": "uint256"
|
|
1316
1316
|
},
|
|
1317
1317
|
{
|
|
1318
|
-
name:
|
|
1319
|
-
type:
|
|
1318
|
+
"name": "maxChequeUsdValue",
|
|
1319
|
+
"type": "uint256"
|
|
1320
1320
|
},
|
|
1321
1321
|
{
|
|
1322
|
-
name:
|
|
1323
|
-
type:
|
|
1322
|
+
"name": "instantUsdThreshold",
|
|
1323
|
+
"type": "uint256"
|
|
1324
1324
|
},
|
|
1325
1325
|
{
|
|
1326
|
-
name:
|
|
1327
|
-
type:
|
|
1326
|
+
"name": "perPeriodPaidUsdCap",
|
|
1327
|
+
"type": "uint256"
|
|
1328
1328
|
},
|
|
1329
1329
|
{
|
|
1330
|
-
name:
|
|
1331
|
-
type:
|
|
1330
|
+
"name": "maxNumChequesPaidPerPeriod",
|
|
1331
|
+
"type": "uint256"
|
|
1332
1332
|
},
|
|
1333
1333
|
{
|
|
1334
|
-
name:
|
|
1335
|
-
type:
|
|
1334
|
+
"name": "payCooldownBlocks",
|
|
1335
|
+
"type": "uint256"
|
|
1336
1336
|
},
|
|
1337
1337
|
{
|
|
1338
|
-
name:
|
|
1339
|
-
type:
|
|
1338
|
+
"name": "perPeriodCreatedUsdCap",
|
|
1339
|
+
"type": "uint256"
|
|
1340
1340
|
},
|
|
1341
1341
|
{
|
|
1342
|
-
name:
|
|
1343
|
-
type:
|
|
1342
|
+
"name": "maxNumChequesCreatedPerPeriod",
|
|
1343
|
+
"type": "uint256"
|
|
1344
1344
|
},
|
|
1345
1345
|
{
|
|
1346
|
-
name:
|
|
1347
|
-
type:
|
|
1346
|
+
"name": "createCooldownBlocks",
|
|
1347
|
+
"type": "uint256"
|
|
1348
1348
|
},
|
|
1349
1349
|
{
|
|
1350
|
-
name:
|
|
1351
|
-
type:
|
|
1350
|
+
"name": "periodLength",
|
|
1351
|
+
"type": "uint256"
|
|
1352
1352
|
},
|
|
1353
1353
|
{
|
|
1354
|
-
name:
|
|
1355
|
-
type:
|
|
1354
|
+
"name": "expensiveDelayBlocks",
|
|
1355
|
+
"type": "uint256"
|
|
1356
1356
|
},
|
|
1357
1357
|
{
|
|
1358
|
-
name:
|
|
1359
|
-
type:
|
|
1358
|
+
"name": "defaultExpiryBlocks",
|
|
1359
|
+
"type": "uint256"
|
|
1360
1360
|
},
|
|
1361
1361
|
{
|
|
1362
|
-
name:
|
|
1363
|
-
type:
|
|
1362
|
+
"name": "allowedAssets",
|
|
1363
|
+
"type": "address[]"
|
|
1364
1364
|
},
|
|
1365
1365
|
{
|
|
1366
|
-
name:
|
|
1367
|
-
type:
|
|
1366
|
+
"name": "canManagersCreateCheques",
|
|
1367
|
+
"type": "bool"
|
|
1368
1368
|
},
|
|
1369
1369
|
{
|
|
1370
|
-
name:
|
|
1371
|
-
type:
|
|
1370
|
+
"name": "canManagerPay",
|
|
1371
|
+
"type": "bool"
|
|
1372
1372
|
},
|
|
1373
1373
|
{
|
|
1374
|
-
name:
|
|
1375
|
-
type:
|
|
1376
|
-
}
|
|
1377
|
-
]
|
|
1378
|
-
}
|
|
1379
|
-
]
|
|
1374
|
+
"name": "canBePulled",
|
|
1375
|
+
"type": "bool"
|
|
1376
|
+
}
|
|
1377
|
+
]
|
|
1378
|
+
}
|
|
1379
|
+
]
|
|
1380
1380
|
},
|
|
1381
1381
|
{
|
|
1382
|
-
stateMutability:
|
|
1383
|
-
type:
|
|
1384
|
-
name:
|
|
1385
|
-
inputs: [],
|
|
1386
|
-
outputs: [
|
|
1387
|
-
{
|
|
1388
|
-
name:
|
|
1389
|
-
type:
|
|
1390
|
-
}
|
|
1391
|
-
]
|
|
1382
|
+
"stateMutability": "view",
|
|
1383
|
+
"type": "function",
|
|
1384
|
+
"name": "UNDY_HQ",
|
|
1385
|
+
"inputs": [],
|
|
1386
|
+
"outputs": [
|
|
1387
|
+
{
|
|
1388
|
+
"name": "",
|
|
1389
|
+
"type": "address"
|
|
1390
|
+
}
|
|
1391
|
+
]
|
|
1392
1392
|
},
|
|
1393
1393
|
{
|
|
1394
|
-
stateMutability:
|
|
1395
|
-
type:
|
|
1396
|
-
name:
|
|
1397
|
-
inputs: [],
|
|
1398
|
-
outputs: [
|
|
1399
|
-
{
|
|
1400
|
-
name:
|
|
1401
|
-
type:
|
|
1402
|
-
}
|
|
1403
|
-
]
|
|
1394
|
+
"stateMutability": "view",
|
|
1395
|
+
"type": "function",
|
|
1396
|
+
"name": "MIN_CHEQUE_PERIOD",
|
|
1397
|
+
"inputs": [],
|
|
1398
|
+
"outputs": [
|
|
1399
|
+
{
|
|
1400
|
+
"name": "",
|
|
1401
|
+
"type": "uint256"
|
|
1402
|
+
}
|
|
1403
|
+
]
|
|
1404
1404
|
},
|
|
1405
1405
|
{
|
|
1406
|
-
stateMutability:
|
|
1407
|
-
type:
|
|
1408
|
-
name:
|
|
1409
|
-
inputs: [],
|
|
1410
|
-
outputs: [
|
|
1411
|
-
{
|
|
1412
|
-
name:
|
|
1413
|
-
type:
|
|
1414
|
-
}
|
|
1415
|
-
]
|
|
1406
|
+
"stateMutability": "view",
|
|
1407
|
+
"type": "function",
|
|
1408
|
+
"name": "MAX_CHEQUE_PERIOD",
|
|
1409
|
+
"inputs": [],
|
|
1410
|
+
"outputs": [
|
|
1411
|
+
{
|
|
1412
|
+
"name": "",
|
|
1413
|
+
"type": "uint256"
|
|
1414
|
+
}
|
|
1415
|
+
]
|
|
1416
1416
|
},
|
|
1417
1417
|
{
|
|
1418
|
-
stateMutability:
|
|
1419
|
-
type:
|
|
1420
|
-
name:
|
|
1421
|
-
inputs: [],
|
|
1422
|
-
outputs: [
|
|
1423
|
-
{
|
|
1424
|
-
name:
|
|
1425
|
-
type:
|
|
1426
|
-
}
|
|
1427
|
-
]
|
|
1418
|
+
"stateMutability": "view",
|
|
1419
|
+
"type": "function",
|
|
1420
|
+
"name": "MIN_EXPENSIVE_CHEQUE_DELAY",
|
|
1421
|
+
"inputs": [],
|
|
1422
|
+
"outputs": [
|
|
1423
|
+
{
|
|
1424
|
+
"name": "",
|
|
1425
|
+
"type": "uint256"
|
|
1426
|
+
}
|
|
1427
|
+
]
|
|
1428
1428
|
},
|
|
1429
1429
|
{
|
|
1430
|
-
stateMutability:
|
|
1431
|
-
type:
|
|
1432
|
-
name:
|
|
1433
|
-
inputs: [],
|
|
1434
|
-
outputs: [
|
|
1435
|
-
{
|
|
1436
|
-
name:
|
|
1437
|
-
type:
|
|
1438
|
-
}
|
|
1439
|
-
]
|
|
1430
|
+
"stateMutability": "view",
|
|
1431
|
+
"type": "function",
|
|
1432
|
+
"name": "MAX_UNLOCK_BLOCKS",
|
|
1433
|
+
"inputs": [],
|
|
1434
|
+
"outputs": [
|
|
1435
|
+
{
|
|
1436
|
+
"name": "",
|
|
1437
|
+
"type": "uint256"
|
|
1438
|
+
}
|
|
1439
|
+
]
|
|
1440
1440
|
},
|
|
1441
1441
|
{
|
|
1442
|
-
stateMutability:
|
|
1443
|
-
type:
|
|
1444
|
-
name:
|
|
1445
|
-
inputs: [],
|
|
1446
|
-
outputs: [
|
|
1447
|
-
{
|
|
1448
|
-
name:
|
|
1449
|
-
type:
|
|
1450
|
-
}
|
|
1451
|
-
]
|
|
1442
|
+
"stateMutability": "view",
|
|
1443
|
+
"type": "function",
|
|
1444
|
+
"name": "MAX_EXPIRY_BLOCKS",
|
|
1445
|
+
"inputs": [],
|
|
1446
|
+
"outputs": [
|
|
1447
|
+
{
|
|
1448
|
+
"name": "",
|
|
1449
|
+
"type": "uint256"
|
|
1450
|
+
}
|
|
1451
|
+
]
|
|
1452
1452
|
},
|
|
1453
1453
|
{
|
|
1454
|
-
stateMutability:
|
|
1455
|
-
type:
|
|
1456
|
-
inputs: [
|
|
1454
|
+
"stateMutability": "nonpayable",
|
|
1455
|
+
"type": "constructor",
|
|
1456
|
+
"inputs": [
|
|
1457
1457
|
{
|
|
1458
|
-
name:
|
|
1459
|
-
type:
|
|
1458
|
+
"name": "_undyHq",
|
|
1459
|
+
"type": "address"
|
|
1460
1460
|
},
|
|
1461
1461
|
{
|
|
1462
|
-
name:
|
|
1463
|
-
type:
|
|
1462
|
+
"name": "_minChequePeriod",
|
|
1463
|
+
"type": "uint256"
|
|
1464
1464
|
},
|
|
1465
1465
|
{
|
|
1466
|
-
name:
|
|
1467
|
-
type:
|
|
1466
|
+
"name": "_maxChequePeriod",
|
|
1467
|
+
"type": "uint256"
|
|
1468
1468
|
},
|
|
1469
1469
|
{
|
|
1470
|
-
name:
|
|
1471
|
-
type:
|
|
1470
|
+
"name": "_minExpensiveChequeDelay",
|
|
1471
|
+
"type": "uint256"
|
|
1472
1472
|
},
|
|
1473
1473
|
{
|
|
1474
|
-
name:
|
|
1475
|
-
type:
|
|
1474
|
+
"name": "_maxUnlockBlocks",
|
|
1475
|
+
"type": "uint256"
|
|
1476
1476
|
},
|
|
1477
1477
|
{
|
|
1478
|
-
name:
|
|
1479
|
-
type:
|
|
1480
|
-
}
|
|
1478
|
+
"name": "_maxExpiryBlocks",
|
|
1479
|
+
"type": "uint256"
|
|
1480
|
+
}
|
|
1481
1481
|
],
|
|
1482
|
-
outputs: []
|
|
1483
|
-
}
|
|
1482
|
+
"outputs": []
|
|
1483
|
+
}
|
|
1484
1484
|
];
|
|
1485
|
-
export const deployAddress = '
|
|
1485
|
+
export const deployAddress = '0x68ad259f7Fd1C734779EB4e8b94b826d7D11a61e';
|
|
1486
1486
|
function getRequest(method, args, contractAddressOrOptions) {
|
|
1487
1487
|
const address = typeof contractAddressOrOptions === 'string' ? contractAddressOrOptions : contractAddressOrOptions?.contractAddress;
|
|
1488
1488
|
const defaultValue = typeof contractAddressOrOptions === 'string' ? undefined : contractAddressOrOptions?.defaultValue;
|
|
@@ -1557,18 +1557,9 @@ export function toSdk(publicClient, walletClient, addressResolver) {
|
|
|
1557
1557
|
deployAddress,
|
|
1558
1558
|
abi,
|
|
1559
1559
|
events: {
|
|
1560
|
-
ChequeCreated: {
|
|
1561
|
-
|
|
1562
|
-
|
|
1563
|
-
},
|
|
1564
|
-
ChequeCancelled: {
|
|
1565
|
-
topic: getEventTopic('ChequeCancelled'),
|
|
1566
|
-
parse: (events) => parseEvents('ChequeCancelled', events),
|
|
1567
|
-
},
|
|
1568
|
-
ChequeSettingsModified: {
|
|
1569
|
-
topic: getEventTopic('ChequeSettingsModified'),
|
|
1570
|
-
parse: (events) => parseEvents('ChequeSettingsModified', events),
|
|
1571
|
-
},
|
|
1560
|
+
ChequeCreated: { topic: getEventTopic('ChequeCreated'), parse: (events) => parseEvents('ChequeCreated', events) },
|
|
1561
|
+
ChequeCancelled: { topic: getEventTopic('ChequeCancelled'), parse: (events) => parseEvents('ChequeCancelled', events) },
|
|
1562
|
+
ChequeSettingsModified: { topic: getEventTopic('ChequeSettingsModified'), parse: (events) => parseEvents('ChequeSettingsModified', events) },
|
|
1572
1563
|
},
|
|
1573
1564
|
// Queries
|
|
1574
1565
|
canCreateCheque: (...args) => singleQuery(publicClient, call.canCreateCheque(...args), {}, addressResolver),
|