@dripfi/drip-sdk 1.4.34 → 1.4.35-beta.2
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/package.json +11 -12
- package/dist/PerqApi.d.ts +0 -49
- package/dist/PerqApi.js +0 -475
- package/dist/PerqSdk.d.ts +0 -40
- package/dist/PerqSdk.js +0 -75
- package/dist/abi/ERC20.json +0 -222
- package/dist/abi/SlotBurnTokenAbi.json +0 -130
- package/dist/abi/WethTokenAbi.json +0 -25
- package/dist/abi/index.d.ts +0 -411
- package/dist/abi/index.js +0 -23
- package/dist/abi/perq/BridgeMainnetPerqToSonicAbi.json +0 -598
- package/dist/abi/perq/BridgeSonicPerqToMainnetAbi.json +0 -733
- package/dist/abi/perq/PerqSwapAndRecyclerAbi.json +0 -95
- package/dist/abi/perq/PerqTokenAbi.json +0 -48
- package/dist/abi/perq/PerqVestingAbi.json +0 -126
- package/dist/abi/perq/TokenRecyclerAbi.json +0 -41
- package/dist/constants.d.ts +0 -2
- package/dist/constants.js +0 -5
- package/dist/contracts/BaseContract.d.ts +0 -7
- package/dist/contracts/BaseContract.js +0 -16
- package/dist/contracts/BridgeMainnetPerqToSonicContract.d.ts +0 -9
- package/dist/contracts/BridgeMainnetPerqToSonicContract.js +0 -48
- package/dist/contracts/BridgeSonicPerqToMainnetContract.d.ts +0 -9
- package/dist/contracts/BridgeSonicPerqToMainnetContract.js +0 -47
- package/dist/contracts/ERC20TokenContract.d.ts +0 -10
- package/dist/contracts/ERC20TokenContract.js +0 -34
- package/dist/contracts/SlotBurnTokenContract.d.ts +0 -8
- package/dist/contracts/SlotBurnTokenContract.js +0 -26
- package/dist/contracts/index.d.ts +0 -9
- package/dist/contracts/index.js +0 -22
- package/dist/contracts/perq/PerqSwapAndRecyclerContract.d.ts +0 -8
- package/dist/contracts/perq/PerqSwapAndRecyclerContract.js +0 -28
- package/dist/contracts/perq/PerqTokenContract.d.ts +0 -7
- package/dist/contracts/perq/PerqTokenContract.js +0 -26
- package/dist/contracts/perq/PerqTokenRecyclerContract.d.ts +0 -7
- package/dist/contracts/perq/PerqTokenRecyclerContract.js +0 -20
- package/dist/contracts/perq/PerqVestingContract.d.ts +0 -13
- package/dist/contracts/perq/PerqVestingContract.js +0 -56
- package/dist/index.d.ts +0 -5
- package/dist/index.js +0 -28
- package/dist/subpackages/BridgePerqPackage.d.ts +0 -36
- package/dist/subpackages/BridgePerqPackage.js +0 -205
- package/dist/subpackages/LitePackage.d.ts +0 -19
- package/dist/subpackages/LitePackage.js +0 -106
- package/dist/subpackages/LoyaltyCardsPackage.d.ts +0 -21
- package/dist/subpackages/LoyaltyCardsPackage.js +0 -123
- package/dist/subpackages/PoolsPackage.d.ts +0 -21
- package/dist/subpackages/PoolsPackage.js +0 -58
- package/dist/subpackages/RecyclerPackage.d.ts +0 -13
- package/dist/subpackages/RecyclerPackage.js +0 -87
- package/dist/subpackages/SignHandlerPackage.d.ts +0 -8
- package/dist/subpackages/SignHandlerPackage.js +0 -33
- package/dist/subpackages/SiloPackage.d.ts +0 -18
- package/dist/subpackages/SiloPackage.js +0 -112
- package/dist/subpackages/SiloVaultOperations.d.ts +0 -31
- package/dist/subpackages/SiloVaultOperations.js +0 -119
- package/dist/subpackages/TokenUtilsPackage.d.ts +0 -27
- package/dist/subpackages/TokenUtilsPackage.js +0 -93
- package/dist/subpackages/UserPackage.d.ts +0 -11
- package/dist/subpackages/UserPackage.js +0 -43
- package/dist/subpackages/VaultHandlerPackage.d.ts +0 -54
- package/dist/subpackages/VaultHandlerPackage.js +0 -107
- package/dist/subpackages/VestingPackage.d.ts +0 -14
- package/dist/subpackages/VestingPackage.js +0 -112
- package/dist/subpackages/YelayVaultOperations.d.ts +0 -13
- package/dist/subpackages/YelayVaultOperations.js +0 -107
- package/dist/types/Asset.d.ts +0 -5
- package/dist/types/Asset.js +0 -2
- package/dist/types/BeanEntry.d.ts +0 -12
- package/dist/types/BeanEntry.js +0 -2
- package/dist/types/BeansBalance.d.ts +0 -5
- package/dist/types/BeansBalance.js +0 -2
- package/dist/types/BridgePerq.d.ts +0 -14
- package/dist/types/BridgePerq.js +0 -2
- package/dist/types/ChainId.d.ts +0 -7
- package/dist/types/ChainId.js +0 -9
- package/dist/types/ClaimSpecialEditionLoyaltyCardPayload.d.ts +0 -4
- package/dist/types/ClaimSpecialEditionLoyaltyCardPayload.js +0 -2
- package/dist/types/DeployedProject.d.ts +0 -55
- package/dist/types/DeployedProject.js +0 -2
- package/dist/types/DeployedVault.d.ts +0 -14
- package/dist/types/DeployedVault.js +0 -2
- package/dist/types/DepositToken.d.ts +0 -8
- package/dist/types/DepositToken.js +0 -2
- package/dist/types/DetailedProjectData.d.ts +0 -34
- package/dist/types/DetailedProjectData.js +0 -2
- package/dist/types/DistributionToken.d.ts +0 -6
- package/dist/types/DistributionToken.js +0 -2
- package/dist/types/ELoyaltyCardTier.d.ts +0 -10
- package/dist/types/ELoyaltyCardTier.js +0 -13
- package/dist/types/Earnings.d.ts +0 -11
- package/dist/types/Earnings.js +0 -2
- package/dist/types/LinkWalletPayload.d.ts +0 -9
- package/dist/types/LinkWalletPayload.js +0 -2
- package/dist/types/LinkedPodWallets.d.ts +0 -6
- package/dist/types/LinkedPodWallets.js +0 -2
- package/dist/types/LoyaltyCard.d.ts +0 -11
- package/dist/types/LoyaltyCard.js +0 -2
- package/dist/types/MigrationOption.d.ts +0 -6
- package/dist/types/MigrationOption.js +0 -2
- package/dist/types/MyPerqData.d.ts +0 -19
- package/dist/types/MyPerqData.js +0 -2
- package/dist/types/NFTBoost.d.ts +0 -10
- package/dist/types/NFTBoost.js +0 -2
- package/dist/types/OverallStats.d.ts +0 -7
- package/dist/types/OverallStats.js +0 -2
- package/dist/types/PerqConfig.d.ts +0 -18
- package/dist/types/PerqConfig.js +0 -37
- package/dist/types/PerqToBeansSwapInfo.d.ts +0 -8
- package/dist/types/PerqToBeansSwapInfo.js +0 -2
- package/dist/types/ProjectHistoricalTvl.d.ts +0 -4
- package/dist/types/ProjectHistoricalTvl.js +0 -2
- package/dist/types/QLFastRedeem.d.ts +0 -16
- package/dist/types/QLFastRedeem.js +0 -2
- package/dist/types/ReducedProjectData.d.ts +0 -21
- package/dist/types/ReducedProjectData.js +0 -2
- package/dist/types/SdkType.d.ts +0 -2
- package/dist/types/SdkType.js +0 -2
- package/dist/types/SignedPayload.d.ts +0 -12
- package/dist/types/SignedPayload.js +0 -2
- package/dist/types/SlotMachineSpinCost.d.ts +0 -7
- package/dist/types/SlotMachineSpinCost.js +0 -2
- package/dist/types/SpecialEditionLoyaltyCard.d.ts +0 -9
- package/dist/types/SpecialEditionLoyaltyCard.js +0 -2
- package/dist/types/Strategy.d.ts +0 -9
- package/dist/types/Strategy.js +0 -2
- package/dist/types/StretchGoal.d.ts +0 -5
- package/dist/types/StretchGoal.js +0 -2
- package/dist/types/SwapInfo.d.ts +0 -6
- package/dist/types/SwapInfo.js +0 -2
- package/dist/types/UpgradeLoyaltyCardPayload.d.ts +0 -4
- package/dist/types/UpgradeLoyaltyCardPayload.js +0 -2
- package/dist/types/UserRewards.d.ts +0 -6
- package/dist/types/UserRewards.js +0 -2
- package/dist/types/VaultData.d.ts +0 -32
- package/dist/types/VaultData.js +0 -2
- package/dist/types/VaultOperationParams.d.ts +0 -12
- package/dist/types/VaultOperationParams.js +0 -2
- package/dist/types/VaultReward.d.ts +0 -16
- package/dist/types/VaultReward.js +0 -4
- package/dist/types/VaultStats.d.ts +0 -6
- package/dist/types/VaultStats.js +0 -2
- package/dist/types/VaultType.d.ts +0 -3
- package/dist/types/VaultType.js +0 -4
- package/dist/types/VestingInfo.d.ts +0 -8
- package/dist/types/VestingInfo.js +0 -2
- package/dist/types/YelayVersion.d.ts +0 -2
- package/dist/types/YelayVersion.js +0 -2
- package/dist/types/index.d.ts +0 -34
- package/dist/types/index.js +0 -8
package/dist/abi/ERC20.json
DELETED
|
@@ -1,222 +0,0 @@
|
|
|
1
|
-
[
|
|
2
|
-
{
|
|
3
|
-
"constant": true,
|
|
4
|
-
"inputs": [],
|
|
5
|
-
"name": "name",
|
|
6
|
-
"outputs": [
|
|
7
|
-
{
|
|
8
|
-
"name": "",
|
|
9
|
-
"type": "string"
|
|
10
|
-
}
|
|
11
|
-
],
|
|
12
|
-
"payable": false,
|
|
13
|
-
"stateMutability": "view",
|
|
14
|
-
"type": "function"
|
|
15
|
-
},
|
|
16
|
-
{
|
|
17
|
-
"constant": false,
|
|
18
|
-
"inputs": [
|
|
19
|
-
{
|
|
20
|
-
"name": "_spender",
|
|
21
|
-
"type": "address"
|
|
22
|
-
},
|
|
23
|
-
{
|
|
24
|
-
"name": "_value",
|
|
25
|
-
"type": "uint256"
|
|
26
|
-
}
|
|
27
|
-
],
|
|
28
|
-
"name": "approve",
|
|
29
|
-
"outputs": [
|
|
30
|
-
{
|
|
31
|
-
"name": "",
|
|
32
|
-
"type": "bool"
|
|
33
|
-
}
|
|
34
|
-
],
|
|
35
|
-
"payable": false,
|
|
36
|
-
"stateMutability": "nonpayable",
|
|
37
|
-
"type": "function"
|
|
38
|
-
},
|
|
39
|
-
{
|
|
40
|
-
"constant": true,
|
|
41
|
-
"inputs": [],
|
|
42
|
-
"name": "totalSupply",
|
|
43
|
-
"outputs": [
|
|
44
|
-
{
|
|
45
|
-
"name": "",
|
|
46
|
-
"type": "uint256"
|
|
47
|
-
}
|
|
48
|
-
],
|
|
49
|
-
"payable": false,
|
|
50
|
-
"stateMutability": "view",
|
|
51
|
-
"type": "function"
|
|
52
|
-
},
|
|
53
|
-
{
|
|
54
|
-
"constant": false,
|
|
55
|
-
"inputs": [
|
|
56
|
-
{
|
|
57
|
-
"name": "_from",
|
|
58
|
-
"type": "address"
|
|
59
|
-
},
|
|
60
|
-
{
|
|
61
|
-
"name": "_to",
|
|
62
|
-
"type": "address"
|
|
63
|
-
},
|
|
64
|
-
{
|
|
65
|
-
"name": "_value",
|
|
66
|
-
"type": "uint256"
|
|
67
|
-
}
|
|
68
|
-
],
|
|
69
|
-
"name": "transferFrom",
|
|
70
|
-
"outputs": [
|
|
71
|
-
{
|
|
72
|
-
"name": "",
|
|
73
|
-
"type": "bool"
|
|
74
|
-
}
|
|
75
|
-
],
|
|
76
|
-
"payable": false,
|
|
77
|
-
"stateMutability": "nonpayable",
|
|
78
|
-
"type": "function"
|
|
79
|
-
},
|
|
80
|
-
{
|
|
81
|
-
"constant": true,
|
|
82
|
-
"inputs": [],
|
|
83
|
-
"name": "decimals",
|
|
84
|
-
"outputs": [
|
|
85
|
-
{
|
|
86
|
-
"name": "",
|
|
87
|
-
"type": "uint8"
|
|
88
|
-
}
|
|
89
|
-
],
|
|
90
|
-
"payable": false,
|
|
91
|
-
"stateMutability": "view",
|
|
92
|
-
"type": "function"
|
|
93
|
-
},
|
|
94
|
-
{
|
|
95
|
-
"constant": true,
|
|
96
|
-
"inputs": [
|
|
97
|
-
{
|
|
98
|
-
"name": "_owner",
|
|
99
|
-
"type": "address"
|
|
100
|
-
}
|
|
101
|
-
],
|
|
102
|
-
"name": "balanceOf",
|
|
103
|
-
"outputs": [
|
|
104
|
-
{
|
|
105
|
-
"name": "balance",
|
|
106
|
-
"type": "uint256"
|
|
107
|
-
}
|
|
108
|
-
],
|
|
109
|
-
"payable": false,
|
|
110
|
-
"stateMutability": "view",
|
|
111
|
-
"type": "function"
|
|
112
|
-
},
|
|
113
|
-
{
|
|
114
|
-
"constant": true,
|
|
115
|
-
"inputs": [],
|
|
116
|
-
"name": "symbol",
|
|
117
|
-
"outputs": [
|
|
118
|
-
{
|
|
119
|
-
"name": "",
|
|
120
|
-
"type": "string"
|
|
121
|
-
}
|
|
122
|
-
],
|
|
123
|
-
"payable": false,
|
|
124
|
-
"stateMutability": "view",
|
|
125
|
-
"type": "function"
|
|
126
|
-
},
|
|
127
|
-
{
|
|
128
|
-
"constant": false,
|
|
129
|
-
"inputs": [
|
|
130
|
-
{
|
|
131
|
-
"name": "_to",
|
|
132
|
-
"type": "address"
|
|
133
|
-
},
|
|
134
|
-
{
|
|
135
|
-
"name": "_value",
|
|
136
|
-
"type": "uint256"
|
|
137
|
-
}
|
|
138
|
-
],
|
|
139
|
-
"name": "transfer",
|
|
140
|
-
"outputs": [
|
|
141
|
-
{
|
|
142
|
-
"name": "",
|
|
143
|
-
"type": "bool"
|
|
144
|
-
}
|
|
145
|
-
],
|
|
146
|
-
"payable": false,
|
|
147
|
-
"stateMutability": "nonpayable",
|
|
148
|
-
"type": "function"
|
|
149
|
-
},
|
|
150
|
-
{
|
|
151
|
-
"constant": true,
|
|
152
|
-
"inputs": [
|
|
153
|
-
{
|
|
154
|
-
"name": "_owner",
|
|
155
|
-
"type": "address"
|
|
156
|
-
},
|
|
157
|
-
{
|
|
158
|
-
"name": "_spender",
|
|
159
|
-
"type": "address"
|
|
160
|
-
}
|
|
161
|
-
],
|
|
162
|
-
"name": "allowance",
|
|
163
|
-
"outputs": [
|
|
164
|
-
{
|
|
165
|
-
"name": "",
|
|
166
|
-
"type": "uint256"
|
|
167
|
-
}
|
|
168
|
-
],
|
|
169
|
-
"payable": false,
|
|
170
|
-
"stateMutability": "view",
|
|
171
|
-
"type": "function"
|
|
172
|
-
},
|
|
173
|
-
{
|
|
174
|
-
"payable": true,
|
|
175
|
-
"stateMutability": "payable",
|
|
176
|
-
"type": "fallback"
|
|
177
|
-
},
|
|
178
|
-
{
|
|
179
|
-
"anonymous": false,
|
|
180
|
-
"inputs": [
|
|
181
|
-
{
|
|
182
|
-
"indexed": true,
|
|
183
|
-
"name": "owner",
|
|
184
|
-
"type": "address"
|
|
185
|
-
},
|
|
186
|
-
{
|
|
187
|
-
"indexed": true,
|
|
188
|
-
"name": "spender",
|
|
189
|
-
"type": "address"
|
|
190
|
-
},
|
|
191
|
-
{
|
|
192
|
-
"indexed": false,
|
|
193
|
-
"name": "value",
|
|
194
|
-
"type": "uint256"
|
|
195
|
-
}
|
|
196
|
-
],
|
|
197
|
-
"name": "Approval",
|
|
198
|
-
"type": "event"
|
|
199
|
-
},
|
|
200
|
-
{
|
|
201
|
-
"anonymous": false,
|
|
202
|
-
"inputs": [
|
|
203
|
-
{
|
|
204
|
-
"indexed": true,
|
|
205
|
-
"name": "from",
|
|
206
|
-
"type": "address"
|
|
207
|
-
},
|
|
208
|
-
{
|
|
209
|
-
"indexed": true,
|
|
210
|
-
"name": "to",
|
|
211
|
-
"type": "address"
|
|
212
|
-
},
|
|
213
|
-
{
|
|
214
|
-
"indexed": false,
|
|
215
|
-
"name": "value",
|
|
216
|
-
"type": "uint256"
|
|
217
|
-
}
|
|
218
|
-
],
|
|
219
|
-
"name": "Transfer",
|
|
220
|
-
"type": "event"
|
|
221
|
-
}
|
|
222
|
-
]
|
|
@@ -1,130 +0,0 @@
|
|
|
1
|
-
[
|
|
2
|
-
{
|
|
3
|
-
"inputs": [
|
|
4
|
-
{ "internalType": "address", "name": "admin", "type": "address" },
|
|
5
|
-
{ "internalType": "contract IERC20[]", "name": "whitelistedTokens", "type": "address[]" }
|
|
6
|
-
],
|
|
7
|
-
"stateMutability": "nonpayable",
|
|
8
|
-
"type": "constructor"
|
|
9
|
-
},
|
|
10
|
-
{
|
|
11
|
-
"inputs": [{ "internalType": "address", "name": "owner", "type": "address" }],
|
|
12
|
-
"name": "OwnableInvalidOwner",
|
|
13
|
-
"type": "error"
|
|
14
|
-
},
|
|
15
|
-
{
|
|
16
|
-
"inputs": [{ "internalType": "address", "name": "account", "type": "address" }],
|
|
17
|
-
"name": "OwnableUnauthorizedAccount",
|
|
18
|
-
"type": "error"
|
|
19
|
-
},
|
|
20
|
-
{
|
|
21
|
-
"inputs": [{ "internalType": "address", "name": "token", "type": "address" }],
|
|
22
|
-
"name": "SafeERC20FailedOperation",
|
|
23
|
-
"type": "error"
|
|
24
|
-
},
|
|
25
|
-
{
|
|
26
|
-
"anonymous": false,
|
|
27
|
-
"inputs": [{ "indexed": false, "internalType": "contract IERC20[]", "name": "tokens", "type": "address[]" }],
|
|
28
|
-
"name": "AddedTokens",
|
|
29
|
-
"type": "event"
|
|
30
|
-
},
|
|
31
|
-
{
|
|
32
|
-
"anonymous": false,
|
|
33
|
-
"inputs": [
|
|
34
|
-
{ "indexed": true, "internalType": "contract IERC20", "name": "token", "type": "address" },
|
|
35
|
-
{ "indexed": true, "internalType": "address", "name": "depositor", "type": "address" },
|
|
36
|
-
{ "indexed": false, "internalType": "uint256", "name": "amount", "type": "uint256" }
|
|
37
|
-
],
|
|
38
|
-
"name": "Deposit",
|
|
39
|
-
"type": "event"
|
|
40
|
-
},
|
|
41
|
-
{
|
|
42
|
-
"anonymous": false,
|
|
43
|
-
"inputs": [
|
|
44
|
-
{ "indexed": true, "internalType": "address", "name": "previousOwner", "type": "address" },
|
|
45
|
-
{ "indexed": true, "internalType": "address", "name": "newOwner", "type": "address" }
|
|
46
|
-
],
|
|
47
|
-
"name": "OwnershipTransferred",
|
|
48
|
-
"type": "event"
|
|
49
|
-
},
|
|
50
|
-
{
|
|
51
|
-
"anonymous": false,
|
|
52
|
-
"inputs": [{ "indexed": false, "internalType": "contract IERC20[]", "name": "tokens", "type": "address[]" }],
|
|
53
|
-
"name": "RemovedTokens",
|
|
54
|
-
"type": "event"
|
|
55
|
-
},
|
|
56
|
-
{
|
|
57
|
-
"anonymous": false,
|
|
58
|
-
"inputs": [
|
|
59
|
-
{ "indexed": true, "internalType": "contract IERC20", "name": "token", "type": "address" },
|
|
60
|
-
{ "indexed": true, "internalType": "address", "name": "to", "type": "address" },
|
|
61
|
-
{ "indexed": false, "internalType": "uint256", "name": "amount", "type": "uint256" }
|
|
62
|
-
],
|
|
63
|
-
"name": "Withdraw",
|
|
64
|
-
"type": "event"
|
|
65
|
-
},
|
|
66
|
-
{
|
|
67
|
-
"inputs": [],
|
|
68
|
-
"name": "WRAPPED_SONIC",
|
|
69
|
-
"outputs": [{ "internalType": "contract IERC20", "name": "", "type": "address" }],
|
|
70
|
-
"stateMutability": "view",
|
|
71
|
-
"type": "function"
|
|
72
|
-
},
|
|
73
|
-
{
|
|
74
|
-
"inputs": [{ "internalType": "contract IERC20[]", "name": "tokens", "type": "address[]" }],
|
|
75
|
-
"name": "addTokens",
|
|
76
|
-
"outputs": [],
|
|
77
|
-
"stateMutability": "nonpayable",
|
|
78
|
-
"type": "function"
|
|
79
|
-
},
|
|
80
|
-
{
|
|
81
|
-
"inputs": [
|
|
82
|
-
{ "internalType": "contract IERC20", "name": "token", "type": "address" },
|
|
83
|
-
{ "internalType": "uint256", "name": "amount", "type": "uint256" }
|
|
84
|
-
],
|
|
85
|
-
"name": "deposit",
|
|
86
|
-
"outputs": [],
|
|
87
|
-
"stateMutability": "nonpayable",
|
|
88
|
-
"type": "function"
|
|
89
|
-
},
|
|
90
|
-
{ "inputs": [], "name": "depositNative", "outputs": [], "stateMutability": "payable", "type": "function" },
|
|
91
|
-
{
|
|
92
|
-
"inputs": [{ "internalType": "contract IERC20", "name": "", "type": "address" }],
|
|
93
|
-
"name": "isTokenWhitelisted",
|
|
94
|
-
"outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],
|
|
95
|
-
"stateMutability": "view",
|
|
96
|
-
"type": "function"
|
|
97
|
-
},
|
|
98
|
-
{
|
|
99
|
-
"inputs": [],
|
|
100
|
-
"name": "owner",
|
|
101
|
-
"outputs": [{ "internalType": "address", "name": "", "type": "address" }],
|
|
102
|
-
"stateMutability": "view",
|
|
103
|
-
"type": "function"
|
|
104
|
-
},
|
|
105
|
-
{
|
|
106
|
-
"inputs": [{ "internalType": "contract IERC20[]", "name": "tokens", "type": "address[]" }],
|
|
107
|
-
"name": "removeTokens",
|
|
108
|
-
"outputs": [],
|
|
109
|
-
"stateMutability": "nonpayable",
|
|
110
|
-
"type": "function"
|
|
111
|
-
},
|
|
112
|
-
{ "inputs": [], "name": "renounceOwnership", "outputs": [], "stateMutability": "nonpayable", "type": "function" },
|
|
113
|
-
{
|
|
114
|
-
"inputs": [{ "internalType": "address", "name": "newOwner", "type": "address" }],
|
|
115
|
-
"name": "transferOwnership",
|
|
116
|
-
"outputs": [],
|
|
117
|
-
"stateMutability": "nonpayable",
|
|
118
|
-
"type": "function"
|
|
119
|
-
},
|
|
120
|
-
{
|
|
121
|
-
"inputs": [
|
|
122
|
-
{ "internalType": "contract IERC20", "name": "token", "type": "address" },
|
|
123
|
-
{ "internalType": "uint256", "name": "amount", "type": "uint256" }
|
|
124
|
-
],
|
|
125
|
-
"name": "withdraw",
|
|
126
|
-
"outputs": [],
|
|
127
|
-
"stateMutability": "nonpayable",
|
|
128
|
-
"type": "function"
|
|
129
|
-
}
|
|
130
|
-
]
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
[
|
|
2
|
-
{
|
|
3
|
-
"constant": true,
|
|
4
|
-
"inputs": [],
|
|
5
|
-
"name": "decimals",
|
|
6
|
-
"outputs": [
|
|
7
|
-
{
|
|
8
|
-
"name": "",
|
|
9
|
-
"type": "uint8"
|
|
10
|
-
}
|
|
11
|
-
],
|
|
12
|
-
"payable": false,
|
|
13
|
-
"stateMutability": "view",
|
|
14
|
-
"type": "function"
|
|
15
|
-
},
|
|
16
|
-
{
|
|
17
|
-
"constant": false,
|
|
18
|
-
"inputs": [],
|
|
19
|
-
"name": "deposit",
|
|
20
|
-
"outputs": [],
|
|
21
|
-
"payable": true,
|
|
22
|
-
"stateMutability": "payable",
|
|
23
|
-
"type": "function"
|
|
24
|
-
}
|
|
25
|
-
]
|