@stargatefinance/stg-evm-sdk-v2 0.0.11
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/artifacts/src/StargateBase.sol/StargateBase.json +1348 -0
- package/artifacts/src/StargateOFT.sol/StargateOFT.json +1374 -0
- package/artifacts/src/StargatePool.sol/StargatePool.json +1722 -0
- package/artifacts/src/StargatePoolNative.sol/StargatePoolNative.json +1717 -0
- package/artifacts/src/feelibs/FeeLibBase.sol/FeeLibBase.json +313 -0
- package/artifacts/src/feelibs/FeeLibV1.sol/FeeConfigLib.json +10 -0
- package/artifacts/src/feelibs/FeeLibV1.sol/FeeLibV1.json +561 -0
- package/artifacts/src/intent/IntentBase.sol/IntentBase.json +231 -0
- package/artifacts/src/intent/IntentOFT.sol/IntentOFT.json +247 -0
- package/artifacts/src/intent/IntentPool.sol/IntentPool.json +350 -0
- package/artifacts/src/intent/IntentPoolNative.sol/IWETH.json +24 -0
- package/artifacts/src/intent/IntentPoolNative.sol/IntentPoolNative.json +367 -0
- package/artifacts/src/interfaces/IBridgedUSDCMinter.sol/IBridgedUSDCMinter.json +48 -0
- package/artifacts/src/interfaces/ICreditMessaging.sol/ICreditMessaging.json +113 -0
- package/artifacts/src/interfaces/ICreditMessagingHandler.sol/ICreditMessagingHandler.json +71 -0
- package/artifacts/src/interfaces/IERC20Minter.sol/IERC20Minter.json +47 -0
- package/artifacts/src/interfaces/IStargate.sol/IStargate.json +661 -0
- package/artifacts/src/interfaces/IStargateFeeLib.sol/IStargateFeeLib.json +230 -0
- package/artifacts/src/interfaces/IStargatePool.sol/IStargatePool.json +939 -0
- package/artifacts/src/interfaces/ITokenMessaging.sol/ITokenMessaging.json +494 -0
- package/artifacts/src/interfaces/ITokenMessagingHandler.sol/ITokenMessagingHandler.json +78 -0
- package/artifacts/src/interfaces/permit2/IAllowanceTransfer.sol/IAllowanceTransfer.json +495 -0
- package/artifacts/src/interfaces/permit2/IEIP712.sol/IEIP712.json +24 -0
- package/artifacts/src/interfaces/permit2/IPermit2.sol/IPermit2.json +874 -0
- package/artifacts/src/interfaces/permit2/ISignatureTransfer.sol/ISignatureTransfer.json +403 -0
- package/artifacts/src/libs/AddressCast.sol/AddressCast.json +10 -0
- package/artifacts/src/libs/Bus.sol/BusLib.json +92 -0
- package/artifacts/src/libs/CreditMsgCodec.sol/CreditMsgCodec.json +16 -0
- package/artifacts/src/libs/MessagingHelper.sol/MessagingHelper.json +10 -0
- package/artifacts/src/libs/PassengerCodec.sol/PassengerCodec.json +16 -0
- package/artifacts/src/libs/Path.sol/PathLib.json +26 -0
- package/artifacts/src/libs/RideBusOptionsLibV1.sol/RideBusOptionsLibV1.json +16 -0
- package/artifacts/src/libs/TokenMsgCodec.sol/TokenMsgCodec.json +16 -0
- package/artifacts/src/libs/Transfer.sol/Transfer.json +21 -0
- package/artifacts/src/libs/Transfer.sol/TransferLib.json +21 -0
- package/artifacts/src/messaging/CreditMessaging.sol/CreditMessaging.json +1033 -0
- package/artifacts/src/messaging/CreditMessagingOptions.sol/CreditMessagingOptions.json +229 -0
- package/artifacts/src/messaging/MessagingBase.sol/MessagingBase.json +701 -0
- package/artifacts/src/messaging/TokenMessaging.sol/TokenMessaging.json +1692 -0
- package/artifacts/src/messaging/TokenMessagingOptions.sol/TokenMessagingOptions.json +239 -0
- package/artifacts/src/mocks/ERC20Token.sol/ERC20Token.json +335 -0
- package/artifacts/src/mocks/FeeLibMock.sol/FeeLibMock.json +230 -0
- package/artifacts/src/mocks/OFTToken.sol/OFTToken.json +380 -0
- package/artifacts/src/mocks/PoolToken.sol/PoolToken.json +406 -0
- package/artifacts/src/mocks/USDC.sol/USDC.json +381 -0
- package/artifacts/src/mocks/WETH.sol/WETH.json +310 -0
- package/artifacts/src/peripheral/Planner.sol/Planner.json +212 -0
- package/artifacts/src/peripheral/RebateCampaign.sol/RebateCampaign.json +237 -0
- package/artifacts/src/peripheral/Treasurer.sol/Treasurer.json +194 -0
- package/artifacts/src/usdc/StargateOFTUSDC.sol/StargateOFTUSDC.json +1374 -0
- package/artifacts/src/usdc/StargatePoolUSDC.sol/StargatePoolUSDC.json +1748 -0
- package/artifacts/src/utils/LPToken.sol/LPToken.json +496 -0
- package/deployments/arbsep-testnet/FeeLibV1ETH.json +466 -0
- package/deployments/arbsep-testnet/MessagingETH.json +1356 -0
- package/deployments/arbsep-testnet/StargatePoolNative.json +1933 -0
- package/deployments/avalanche-testnet/FeeLibV1USDT.json +466 -0
- package/deployments/avalanche-testnet/MessagingUSDT.json +1356 -0
- package/deployments/avalanche-testnet/StargatePoolUSDT.json +1939 -0
- package/deployments/bsc-sandbox-local/CreditMessaging.json +1393 -0
- package/deployments/bsc-sandbox-local/FeeLibV1BUSD.json +828 -0
- package/deployments/bsc-sandbox-local/FeeLibV1ETH.json +828 -0
- package/deployments/bsc-sandbox-local/FeeLibV1LUSD.json +828 -0
- package/deployments/bsc-sandbox-local/FeeLibV1USDC.json +828 -0
- package/deployments/bsc-sandbox-local/FeeLibV1USDT.json +828 -0
- package/deployments/bsc-sandbox-local/IntentOFTBUSD.json +337 -0
- package/deployments/bsc-sandbox-local/IntentOFTETH.json +337 -0
- package/deployments/bsc-sandbox-local/IntentOFTLUSD.json +337 -0
- package/deployments/bsc-sandbox-local/IntentOFTUSDC.json +337 -0
- package/deployments/bsc-sandbox-local/IntentOFTUSDT.json +337 -0
- package/deployments/bsc-sandbox-local/OFTTokenBUSD.json +571 -0
- package/deployments/bsc-sandbox-local/OFTTokenETH.json +571 -0
- package/deployments/bsc-sandbox-local/OFTTokenLUSD.json +571 -0
- package/deployments/bsc-sandbox-local/OFTTokenUSDC.json +558 -0
- package/deployments/bsc-sandbox-local/OFTTokenUSDT.json +571 -0
- package/deployments/bsc-sandbox-local/Permit2Mock.json +923 -0
- package/deployments/bsc-sandbox-local/StargateOFTBUSD.json +1803 -0
- package/deployments/bsc-sandbox-local/StargateOFTETH.json +1803 -0
- package/deployments/bsc-sandbox-local/StargateOFTLUSD.json +1803 -0
- package/deployments/bsc-sandbox-local/StargateOFTUSDC.json +1792 -0
- package/deployments/bsc-sandbox-local/StargateOFTUSDT.json +1803 -0
- package/deployments/bsc-sandbox-local/TokenMessaging.json +2166 -0
- package/deployments/bsc-sandbox-local/WETH.json +453 -0
- package/deployments/bsc-testnet/FeeLibV1ETH.json +466 -0
- package/deployments/bsc-testnet/FeeLibV1USDT.json +466 -0
- package/deployments/bsc-testnet/MessagingETH.json +1356 -0
- package/deployments/bsc-testnet/MessagingUSDT.json +1356 -0
- package/deployments/bsc-testnet/OFTTokenETH.json +557 -0
- package/deployments/bsc-testnet/StargateOFTETH.json +1601 -0
- package/deployments/bsc-testnet/StargatePoolUSDT.json +1939 -0
- package/deployments/ethereum-sandbox-local/CreditMessaging.json +1393 -0
- package/deployments/ethereum-sandbox-local/FeeLibV1BUSD.json +828 -0
- package/deployments/ethereum-sandbox-local/FeeLibV1ETH.json +828 -0
- package/deployments/ethereum-sandbox-local/FeeLibV1LUSD.json +828 -0
- package/deployments/ethereum-sandbox-local/FeeLibV1USDC.json +828 -0
- package/deployments/ethereum-sandbox-local/FeeLibV1USDT.json +828 -0
- package/deployments/ethereum-sandbox-local/IntentOFTBUSD.json +337 -0
- package/deployments/ethereum-sandbox-local/IntentPoolLUSD.json +440 -0
- package/deployments/ethereum-sandbox-local/IntentPoolNative.json +444 -0
- package/deployments/ethereum-sandbox-local/IntentPoolUSDC.json +440 -0
- package/deployments/ethereum-sandbox-local/IntentPoolUSDT.json +440 -0
- package/deployments/ethereum-sandbox-local/OFTTokenBUSD.json +571 -0
- package/deployments/ethereum-sandbox-local/Permit2Mock.json +923 -0
- package/deployments/ethereum-sandbox-local/PoolTokenLUSD.json +597 -0
- package/deployments/ethereum-sandbox-local/PoolTokenUSDC.json +597 -0
- package/deployments/ethereum-sandbox-local/PoolTokenUSDT.json +597 -0
- package/deployments/ethereum-sandbox-local/StargateOFTBUSD.json +1803 -0
- package/deployments/ethereum-sandbox-local/StargatePoolLUSD.json +2239 -0
- package/deployments/ethereum-sandbox-local/StargatePoolNative.json +2233 -0
- package/deployments/ethereum-sandbox-local/StargatePoolUSDC.json +2257 -0
- package/deployments/ethereum-sandbox-local/StargatePoolUSDT.json +2239 -0
- package/deployments/ethereum-sandbox-local/TokenMessaging.json +2166 -0
- package/deployments/ethereum-sandbox-local/WETH.json +453 -0
- package/deployments/polygon-sandbox-local/CreditMessaging.json +1393 -0
- package/deployments/polygon-sandbox-local/FeeLibV1BUSD.json +828 -0
- package/deployments/polygon-sandbox-local/FeeLibV1ETH.json +828 -0
- package/deployments/polygon-sandbox-local/FeeLibV1LUSD.json +828 -0
- package/deployments/polygon-sandbox-local/FeeLibV1USDC.json +828 -0
- package/deployments/polygon-sandbox-local/FeeLibV1USDT.json +828 -0
- package/deployments/polygon-sandbox-local/IntentOFTBUSD.json +337 -0
- package/deployments/polygon-sandbox-local/IntentOFTETH.json +337 -0
- package/deployments/polygon-sandbox-local/IntentOFTLUSD.json +337 -0
- package/deployments/polygon-sandbox-local/IntentOFTUSDC.json +337 -0
- package/deployments/polygon-sandbox-local/IntentPoolUSDT.json +440 -0
- package/deployments/polygon-sandbox-local/OFTTokenBUSD.json +571 -0
- package/deployments/polygon-sandbox-local/OFTTokenETH.json +571 -0
- package/deployments/polygon-sandbox-local/OFTTokenLUSD.json +571 -0
- package/deployments/polygon-sandbox-local/OFTTokenUSDC.json +558 -0
- package/deployments/polygon-sandbox-local/Permit2Mock.json +923 -0
- package/deployments/polygon-sandbox-local/PoolTokenUSDT.json +597 -0
- package/deployments/polygon-sandbox-local/StargateOFTBUSD.json +1803 -0
- package/deployments/polygon-sandbox-local/StargateOFTETH.json +1803 -0
- package/deployments/polygon-sandbox-local/StargateOFTLUSD.json +1803 -0
- package/deployments/polygon-sandbox-local/StargateOFTUSDC.json +1792 -0
- package/deployments/polygon-sandbox-local/StargatePoolUSDT.json +2239 -0
- package/deployments/polygon-sandbox-local/TokenMessaging.json +2166 -0
- package/deployments/polygon-sandbox-local/WETH.json +453 -0
- package/deployments/polygon-testnet/FeeLibV1USDT.json +481 -0
- package/deployments/polygon-testnet/MessagingUSDT.json +1371 -0
- package/deployments/polygon-testnet/OFTTokenUSDT.json +572 -0
- package/deployments/polygon-testnet/StargateOFTUSDT.json +1616 -0
- package/deployments/sepolia-testnet/FeeLibV1ETH.json +466 -0
- package/deployments/sepolia-testnet/MessagingETH.json +1356 -0
- package/deployments/sepolia-testnet/StargatePoolNative.json +1933 -0
- package/dist/index.cjs +24634 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.d.mts +31486 -0
- package/dist/index.d.ts +31486 -0
- package/dist/index.mjs +24558 -0
- package/dist/index.mjs.map +1 -0
- package/package.json +42 -0
|
@@ -0,0 +1,350 @@
|
|
|
1
|
+
{
|
|
2
|
+
"_format": "hh-sol-artifact-1",
|
|
3
|
+
"contractName": "IntentPool",
|
|
4
|
+
"sourceName": "src/intent/IntentPool.sol",
|
|
5
|
+
"abi": [
|
|
6
|
+
{
|
|
7
|
+
"inputs": [
|
|
8
|
+
{
|
|
9
|
+
"internalType": "address",
|
|
10
|
+
"name": "_stargate",
|
|
11
|
+
"type": "address"
|
|
12
|
+
},
|
|
13
|
+
{
|
|
14
|
+
"internalType": "address",
|
|
15
|
+
"name": "_permit2",
|
|
16
|
+
"type": "address"
|
|
17
|
+
}
|
|
18
|
+
],
|
|
19
|
+
"stateMutability": "nonpayable",
|
|
20
|
+
"type": "constructor"
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
"inputs": [],
|
|
24
|
+
"name": "Intent_RedeemNotFull",
|
|
25
|
+
"type": "error"
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
"inputs": [],
|
|
29
|
+
"name": "Intent_SlippageTooHigh",
|
|
30
|
+
"type": "error"
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
"inputs": [],
|
|
34
|
+
"name": "Transfer_ApproveFailed",
|
|
35
|
+
"type": "error"
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
"anonymous": false,
|
|
39
|
+
"inputs": [
|
|
40
|
+
{
|
|
41
|
+
"indexed": true,
|
|
42
|
+
"internalType": "address",
|
|
43
|
+
"name": "owner",
|
|
44
|
+
"type": "address"
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
"indexed": true,
|
|
48
|
+
"internalType": "address",
|
|
49
|
+
"name": "receiver",
|
|
50
|
+
"type": "address"
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
"indexed": false,
|
|
54
|
+
"internalType": "uint256",
|
|
55
|
+
"name": "amountLD",
|
|
56
|
+
"type": "uint256"
|
|
57
|
+
}
|
|
58
|
+
],
|
|
59
|
+
"name": "IntentRedeemed",
|
|
60
|
+
"type": "event"
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
"anonymous": false,
|
|
64
|
+
"inputs": [
|
|
65
|
+
{
|
|
66
|
+
"indexed": true,
|
|
67
|
+
"internalType": "address",
|
|
68
|
+
"name": "sender",
|
|
69
|
+
"type": "address"
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
"indexed": true,
|
|
73
|
+
"internalType": "uint32",
|
|
74
|
+
"name": "dstEid",
|
|
75
|
+
"type": "uint32"
|
|
76
|
+
},
|
|
77
|
+
{
|
|
78
|
+
"indexed": false,
|
|
79
|
+
"internalType": "bytes32",
|
|
80
|
+
"name": "to",
|
|
81
|
+
"type": "bytes32"
|
|
82
|
+
},
|
|
83
|
+
{
|
|
84
|
+
"indexed": false,
|
|
85
|
+
"internalType": "uint256",
|
|
86
|
+
"name": "amountLD",
|
|
87
|
+
"type": "uint256"
|
|
88
|
+
}
|
|
89
|
+
],
|
|
90
|
+
"name": "IntentSent",
|
|
91
|
+
"type": "event"
|
|
92
|
+
},
|
|
93
|
+
{
|
|
94
|
+
"anonymous": false,
|
|
95
|
+
"inputs": [
|
|
96
|
+
{
|
|
97
|
+
"indexed": true,
|
|
98
|
+
"internalType": "address",
|
|
99
|
+
"name": "previousOwner",
|
|
100
|
+
"type": "address"
|
|
101
|
+
},
|
|
102
|
+
{
|
|
103
|
+
"indexed": true,
|
|
104
|
+
"internalType": "address",
|
|
105
|
+
"name": "newOwner",
|
|
106
|
+
"type": "address"
|
|
107
|
+
}
|
|
108
|
+
],
|
|
109
|
+
"name": "OwnershipTransferred",
|
|
110
|
+
"type": "event"
|
|
111
|
+
},
|
|
112
|
+
{
|
|
113
|
+
"inputs": [],
|
|
114
|
+
"name": "lpToken",
|
|
115
|
+
"outputs": [
|
|
116
|
+
{
|
|
117
|
+
"internalType": "address",
|
|
118
|
+
"name": "",
|
|
119
|
+
"type": "address"
|
|
120
|
+
}
|
|
121
|
+
],
|
|
122
|
+
"stateMutability": "view",
|
|
123
|
+
"type": "function"
|
|
124
|
+
},
|
|
125
|
+
{
|
|
126
|
+
"inputs": [],
|
|
127
|
+
"name": "owner",
|
|
128
|
+
"outputs": [
|
|
129
|
+
{
|
|
130
|
+
"internalType": "address",
|
|
131
|
+
"name": "",
|
|
132
|
+
"type": "address"
|
|
133
|
+
}
|
|
134
|
+
],
|
|
135
|
+
"stateMutability": "view",
|
|
136
|
+
"type": "function"
|
|
137
|
+
},
|
|
138
|
+
{
|
|
139
|
+
"inputs": [],
|
|
140
|
+
"name": "permit2",
|
|
141
|
+
"outputs": [
|
|
142
|
+
{
|
|
143
|
+
"internalType": "contract IPermit2",
|
|
144
|
+
"name": "",
|
|
145
|
+
"type": "address"
|
|
146
|
+
}
|
|
147
|
+
],
|
|
148
|
+
"stateMutability": "view",
|
|
149
|
+
"type": "function"
|
|
150
|
+
},
|
|
151
|
+
{
|
|
152
|
+
"inputs": [
|
|
153
|
+
{
|
|
154
|
+
"components": [
|
|
155
|
+
{
|
|
156
|
+
"internalType": "address",
|
|
157
|
+
"name": "owner",
|
|
158
|
+
"type": "address"
|
|
159
|
+
},
|
|
160
|
+
{
|
|
161
|
+
"internalType": "address",
|
|
162
|
+
"name": "receiver",
|
|
163
|
+
"type": "address"
|
|
164
|
+
},
|
|
165
|
+
{
|
|
166
|
+
"internalType": "uint256",
|
|
167
|
+
"name": "amountLD",
|
|
168
|
+
"type": "uint256"
|
|
169
|
+
},
|
|
170
|
+
{
|
|
171
|
+
"internalType": "uint256",
|
|
172
|
+
"name": "minAmountLD",
|
|
173
|
+
"type": "uint256"
|
|
174
|
+
},
|
|
175
|
+
{
|
|
176
|
+
"internalType": "uint256",
|
|
177
|
+
"name": "nonce",
|
|
178
|
+
"type": "uint256"
|
|
179
|
+
},
|
|
180
|
+
{
|
|
181
|
+
"internalType": "uint256",
|
|
182
|
+
"name": "deadline",
|
|
183
|
+
"type": "uint256"
|
|
184
|
+
}
|
|
185
|
+
],
|
|
186
|
+
"internalType": "struct IntentPool.IntentRedeem",
|
|
187
|
+
"name": "_intentRedeem",
|
|
188
|
+
"type": "tuple"
|
|
189
|
+
},
|
|
190
|
+
{
|
|
191
|
+
"internalType": "bytes",
|
|
192
|
+
"name": "_signature",
|
|
193
|
+
"type": "bytes"
|
|
194
|
+
},
|
|
195
|
+
{
|
|
196
|
+
"internalType": "uint256",
|
|
197
|
+
"name": "_intentFee",
|
|
198
|
+
"type": "uint256"
|
|
199
|
+
}
|
|
200
|
+
],
|
|
201
|
+
"name": "redeem",
|
|
202
|
+
"outputs": [],
|
|
203
|
+
"stateMutability": "nonpayable",
|
|
204
|
+
"type": "function"
|
|
205
|
+
},
|
|
206
|
+
{
|
|
207
|
+
"inputs": [],
|
|
208
|
+
"name": "renounceOwnership",
|
|
209
|
+
"outputs": [],
|
|
210
|
+
"stateMutability": "nonpayable",
|
|
211
|
+
"type": "function"
|
|
212
|
+
},
|
|
213
|
+
{
|
|
214
|
+
"inputs": [
|
|
215
|
+
{
|
|
216
|
+
"components": [
|
|
217
|
+
{
|
|
218
|
+
"internalType": "address",
|
|
219
|
+
"name": "sender",
|
|
220
|
+
"type": "address"
|
|
221
|
+
},
|
|
222
|
+
{
|
|
223
|
+
"internalType": "uint32",
|
|
224
|
+
"name": "dstEid",
|
|
225
|
+
"type": "uint32"
|
|
226
|
+
},
|
|
227
|
+
{
|
|
228
|
+
"internalType": "bytes32",
|
|
229
|
+
"name": "to",
|
|
230
|
+
"type": "bytes32"
|
|
231
|
+
},
|
|
232
|
+
{
|
|
233
|
+
"internalType": "uint256",
|
|
234
|
+
"name": "amountLD",
|
|
235
|
+
"type": "uint256"
|
|
236
|
+
},
|
|
237
|
+
{
|
|
238
|
+
"internalType": "uint256",
|
|
239
|
+
"name": "minAmountLD",
|
|
240
|
+
"type": "uint256"
|
|
241
|
+
},
|
|
242
|
+
{
|
|
243
|
+
"internalType": "uint256",
|
|
244
|
+
"name": "nonce",
|
|
245
|
+
"type": "uint256"
|
|
246
|
+
},
|
|
247
|
+
{
|
|
248
|
+
"internalType": "uint256",
|
|
249
|
+
"name": "deadline",
|
|
250
|
+
"type": "uint256"
|
|
251
|
+
}
|
|
252
|
+
],
|
|
253
|
+
"internalType": "struct IntentBase.IntentSend",
|
|
254
|
+
"name": "_intentSend",
|
|
255
|
+
"type": "tuple"
|
|
256
|
+
},
|
|
257
|
+
{
|
|
258
|
+
"internalType": "bytes",
|
|
259
|
+
"name": "_oftCmd",
|
|
260
|
+
"type": "bytes"
|
|
261
|
+
},
|
|
262
|
+
{
|
|
263
|
+
"internalType": "bytes",
|
|
264
|
+
"name": "_signature",
|
|
265
|
+
"type": "bytes"
|
|
266
|
+
},
|
|
267
|
+
{
|
|
268
|
+
"internalType": "uint256",
|
|
269
|
+
"name": "_intentFee",
|
|
270
|
+
"type": "uint256"
|
|
271
|
+
},
|
|
272
|
+
{
|
|
273
|
+
"internalType": "address",
|
|
274
|
+
"name": "_refundAddress",
|
|
275
|
+
"type": "address"
|
|
276
|
+
}
|
|
277
|
+
],
|
|
278
|
+
"name": "send",
|
|
279
|
+
"outputs": [],
|
|
280
|
+
"stateMutability": "payable",
|
|
281
|
+
"type": "function"
|
|
282
|
+
},
|
|
283
|
+
{
|
|
284
|
+
"inputs": [],
|
|
285
|
+
"name": "stargate",
|
|
286
|
+
"outputs": [
|
|
287
|
+
{
|
|
288
|
+
"internalType": "address",
|
|
289
|
+
"name": "",
|
|
290
|
+
"type": "address"
|
|
291
|
+
}
|
|
292
|
+
],
|
|
293
|
+
"stateMutability": "view",
|
|
294
|
+
"type": "function"
|
|
295
|
+
},
|
|
296
|
+
{
|
|
297
|
+
"inputs": [],
|
|
298
|
+
"name": "token",
|
|
299
|
+
"outputs": [
|
|
300
|
+
{
|
|
301
|
+
"internalType": "address",
|
|
302
|
+
"name": "",
|
|
303
|
+
"type": "address"
|
|
304
|
+
}
|
|
305
|
+
],
|
|
306
|
+
"stateMutability": "view",
|
|
307
|
+
"type": "function"
|
|
308
|
+
},
|
|
309
|
+
{
|
|
310
|
+
"inputs": [
|
|
311
|
+
{
|
|
312
|
+
"internalType": "address",
|
|
313
|
+
"name": "newOwner",
|
|
314
|
+
"type": "address"
|
|
315
|
+
}
|
|
316
|
+
],
|
|
317
|
+
"name": "transferOwnership",
|
|
318
|
+
"outputs": [],
|
|
319
|
+
"stateMutability": "nonpayable",
|
|
320
|
+
"type": "function"
|
|
321
|
+
},
|
|
322
|
+
{
|
|
323
|
+
"inputs": [
|
|
324
|
+
{
|
|
325
|
+
"internalType": "address",
|
|
326
|
+
"name": "_token",
|
|
327
|
+
"type": "address"
|
|
328
|
+
},
|
|
329
|
+
{
|
|
330
|
+
"internalType": "address",
|
|
331
|
+
"name": "_to",
|
|
332
|
+
"type": "address"
|
|
333
|
+
},
|
|
334
|
+
{
|
|
335
|
+
"internalType": "uint256",
|
|
336
|
+
"name": "_amount",
|
|
337
|
+
"type": "uint256"
|
|
338
|
+
}
|
|
339
|
+
],
|
|
340
|
+
"name": "withdrawFee",
|
|
341
|
+
"outputs": [],
|
|
342
|
+
"stateMutability": "nonpayable",
|
|
343
|
+
"type": "function"
|
|
344
|
+
}
|
|
345
|
+
],
|
|
346
|
+
"bytecode": "0x6101006040523480156200001257600080fd5b5060405162001edb38038062001edb833981016040819052620000359162000307565b818162000042336200014c565b6001600160a01b038216608081905260408051637e062a3560e11b8152905163fc0c546a916004808201926020929091908290030181865afa1580156200008d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620000b391906200033f565b6001600160a01b0390811660a052811660c052620000d06200019c565b5050816001600160a01b0316635fcbd2856040518163ffffffff1660e01b8152600401602060405180830381865afa15801562000111573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200013791906200033f565b6001600160a01b031660e05250620003b99050565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b620001b560a051608051600019620001b760201b60201c565b565b620001c4838383620001e7565b620001e2576040516373c4154f60e01b815260040160405180910390fd5b505050565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b0390811663095ea7b360e01b1790915260009162000243918691906200024b16565b949350505050565b6000806000846001600160a01b0316846040516200026a919062000364565b6000604051808303816000865af19150503d8060008114620002a9576040519150601f19603f3d011682016040523d82523d6000602084013e620002ae565b606091505b509150915081620002c1576000620002e1565b80511580620002e1575080806020019051810190620002e1919062000395565b95945050505050565b80516001600160a01b03811681146200030257600080fd5b919050565b600080604083850312156200031b57600080fd5b6200032683620002ea565b91506200033660208401620002ea565b90509250929050565b6000602082840312156200035257600080fd5b6200035d82620002ea565b9392505050565b6000825160005b818110156200038757602081860181015185830152016200036b565b506000920191825250919050565b600060208284031215620003a857600080fd5b815180151581146200035d57600080fd5b60805160a05160c05160e051611ab86200042360003960008181610167015261070001526000818160ea015281816107600152610ad8015260008181610242015281816103dd0152610a7501526000818161019b015281816102e20152610ca30152611ab86000f3fe6080604052600436106100b15760003560e01c8063715018a6116100695780638da5cb5b1161004e5780638da5cb5b146101e5578063f2fde38b14610210578063fc0c546a1461023057600080fd5b8063715018a6146101bd57806388e19535146101d257600080fd5b80633a6207db1161009a5780633a6207db146101355780635fcbd285146101555780636c099dee1461018957600080fd5b80631095b6d7146100b657806312261ee7146100d8575b600080fd5b3480156100c257600080fd5b506100d66100d13660046113b6565b610264565b005b3480156100e457600080fd5b5061010c7f000000000000000000000000000000000000000000000000000000000000000081565b60405173ffffffffffffffffffffffffffffffffffffffff909116815260200160405180910390f35b34801561014157600080fd5b506100d661015036600461143b565b61027f565b34801561016157600080fd5b5061010c7f000000000000000000000000000000000000000000000000000000000000000081565b34801561019557600080fd5b5061010c7f000000000000000000000000000000000000000000000000000000000000000081565b3480156101c957600080fd5b506100d661049c565b6100d66101e036600461149e565b6104b0565b3480156101f157600080fd5b5060005473ffffffffffffffffffffffffffffffffffffffff1661010c565b34801561021c57600080fd5b506100d661022b366004611544565b61055c565b34801561023c57600080fd5b5061010c7f000000000000000000000000000000000000000000000000000000000000000081565b61026c610618565b6102798383836000610699565b50505050565b610287610618565b6102928484846106de565b604080517f7bde82f200000000000000000000000000000000000000000000000000000000815290850135600482015230602482015260009073ffffffffffffffffffffffffffffffffffffffff7f00000000000000000000000000000000000000000000000000000000000000001690637bde82f2906044016020604051808303816000875af115801561032b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061034f9190611566565b90508460400135811461038e576040517f3ce25c7900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610398828261157f565b905084606001358110156103d8576040517f73b7c9e200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6104127f000000000000000000000000000000000000000000000000000000000000000061040c6040880160208901611544565b8361094e565b506104236040860160208701611544565b73ffffffffffffffffffffffffffffffffffffffff166104466020870187611544565b73ffffffffffffffffffffffffffffffffffffffff167f819aaddcbcb4ff5f195d5717f8114d8cc87b705894d89e6207fe5977db256d938360405161048d91815260200190565b60405180910390a35050505050565b6104a4610618565b6104ae60006109de565b565b6104b8610618565b6104c3878585610a53565b6104d08787878585610c80565b6104e060408801602089016115b9565b63ffffffff166104f36020890189611544565b73ffffffffffffffffffffffffffffffffffffffff167fcccecabef4685fec18cb21dd1732514f063e7add1c432277e0fa89ffb486fb4689604001358a6060013560405161054b929190918252602082015260400190565b60405180910390a350505050505050565b610564610618565b73ffffffffffffffffffffffffffffffffffffffff811661060c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f646472657373000000000000000000000000000000000000000000000000000060648201526084015b60405180910390fd5b610615816109de565b50565b60005473ffffffffffffffffffffffffffffffffffffffff1633146104ae576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610603565b600073ffffffffffffffffffffffffffffffffffffffff85166106c8576106c1848484610e20565b90506106d6565b6106d385858561094e565b90505b949350505050565b6040805160a0808201835273ffffffffffffffffffffffffffffffffffffffff7f00000000000000000000000000000000000000000000000000000000000000008116606084019081528785013560808086018290529185529088013560208086019190915292880135848601528451808601909552308552848301529192917f0000000000000000000000000000000000000000000000000000000000000000169063137c29fe9084908490610797908a018a611544565b6107a08a610ef3565b604080517f496e74656e7452656465656d280000000000000000000000000000000000000060208201527f61646472657373206f776e65722c000000000000000000000000000000000000602d8201527f616464726573732072656365697665722c000000000000000000000000000000603b8201527f75696e7432353620616d6f756e744c442c000000000000000000000000000000604c8201527f75696e74323536206d696e416d6f756e744c442c000000000000000000000000605d8201527f75696e74323536206e6f6e63652c00000000000000000000000000000000000060718201527f75696e7432353620646561646c696e6529000000000000000000000000000000607f8201528151607081830301815260f08201909252602e6090820181815291611a559060b001396040516020016108e2929190611603565b6040516020818303038152906040528a8a6040518863ffffffff1660e01b815260040161091597969594939291906116a8565b600060405180830381600087803b15801561092f57600080fd5b505af1158015610943573d6000803e3d6000fd5b505050505050505050565b6040805173ffffffffffffffffffffffffffffffffffffffff8416602482015260448082018490528251808303909101815260649091019091526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fa9059cbb000000000000000000000000000000000000000000000000000000001790526000906106d69085906110d9565b6000805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6040805160a0808201835273ffffffffffffffffffffffffffffffffffffffff7f000000000000000000000000000000000000000000000000000000000000000081166060808501918252880135608085018190529084529187013560208085019190915260c0880135848601528451808601909552308552848101929092529192917f0000000000000000000000000000000000000000000000000000000000000000169063137c29fe9084908490610b0f908a018a611544565b610b188a61117c565b604080517f496e74656e7453656e642800000000000000000000000000000000000000000060208201527f616464726573732073656e6465722c0000000000000000000000000000000000602b8201527f75696e743332206473744569642c000000000000000000000000000000000000603a8201527f6279746573333220746f2c00000000000000000000000000000000000000000060488201527f75696e7432353620616d6f756e744c442c00000000000000000000000000000060538201527f75696e74323536206d696e416d6f756e744c442c00000000000000000000000060648201527f75696e74323536206e6f6e63652c00000000000000000000000000000000000060788201527f75696e7432353620646561646c696e652900000000000000000000000000000060868201528151607781830301815260f78201909252602e6097820181815291611a559060b701396040516020016108e29291906117a6565b346000610c9184606089013561157f565b90506000610c9f8383611385565b90507f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663c7c7f5b3826040518060e001604052808c6020016020810190610cfc91906115b9565b63ffffffff1681526020018c6040013581526020018681526020018c6080013581526020016040518060200160405280600081525081526020016040518060200160405280600081525081526020018b8b8080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201829052509390945250506040805180820182528a81526020810192909252517fffffffff0000000000000000000000000000000000000000000000000000000060e087901b168152610dd19392508a90600401611801565b60c06040518083038185885af1158015610def573d6000803e3d6000fd5b50505050506040513d601f19601f82011682018060405250810190610e14919061195b565b50505050505050505050565b600081610e885760405173ffffffffffffffffffffffffffffffffffffffff8516908490600081818185875af1925050503d8060008114610e7d576040519150601f19603f3d011682016040523d82523d6000602084013e610e82565b606091505b50610eea565b60405173ffffffffffffffffffffffffffffffffffffffff8516906108fc9085906000818181858888f193505050503d8060008114610ee3576040519150601f19603f3d011682016040523d82523d6000602084013e610ee8565b606091505b505b50949350505050565b6040517f496e74656e7452656465656d280000000000000000000000000000000000000060208201527f61646472657373206f776e65722c000000000000000000000000000000000000602d8201527f616464726573732072656365697665722c000000000000000000000000000000603b8201527f75696e7432353620616d6f756e744c442c000000000000000000000000000000604c8201527f75696e74323536206d696e416d6f756e744c442c000000000000000000000000605d8201527f75696e74323536206e6f6e63652c00000000000000000000000000000000000060718201527f75696e7432353620646561646c696e6529000000000000000000000000000000607f820152600090609001604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe081840301815291905280516020918201209061104990840184611544565b6110596040850160208601611544565b60408051602081019490945273ffffffffffffffffffffffffffffffffffffffff928316848201529116606083810191909152908401356080838101919091529084013560a0838101919091529084013560c083015283013560e0820152610100015b604051602081830303815290604052805190602001209050919050565b60008060008473ffffffffffffffffffffffffffffffffffffffff16846040516111039190611a16565b6000604051808303816000865af19150503d8060008114611140576040519150601f19603f3d011682016040523d82523d6000602084013e611145565b606091505b509150915081611156576000611173565b805115806111735750808060200190518101906111739190611a32565b95945050505050565b6040517f496e74656e7453656e642800000000000000000000000000000000000000000060208201527f616464726573732073656e6465722c0000000000000000000000000000000000602b8201527f75696e743332206473744569642c000000000000000000000000000000000000603a8201527f6279746573333220746f2c00000000000000000000000000000000000000000060488201527f75696e7432353620616d6f756e744c442c00000000000000000000000000000060538201527f75696e74323536206d696e416d6f756e744c442c00000000000000000000000060648201527f75696e74323536206e6f6e63652c00000000000000000000000000000000000060788201527f75696e7432353620646561646c696e65290000000000000000000000000000006086820152600090609701604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529190528051602091820120906112f890840184611544565b61130860408501602086016115b9565b8460400135856060013586608001358760a001358860c001356040516020016110bc98979695949392919097885273ffffffffffffffffffffffffffffffffffffffff96909616602088015263ffffffff9490941660408701526060860192909252608085015260a084015260c083015260e08201526101000190565b815b92915050565b803573ffffffffffffffffffffffffffffffffffffffff811681146113b157600080fd5b919050565b6000806000606084860312156113cb57600080fd5b6113d48461138d565b92506113e26020850161138d565b9150604084013590509250925092565b60008083601f84011261140457600080fd5b50813567ffffffffffffffff81111561141c57600080fd5b60208301915083602082850101111561143457600080fd5b9250929050565b60008060008084860361010081121561145357600080fd5b60c081121561146157600080fd5b5084935060c085013567ffffffffffffffff81111561147f57600080fd5b61148b878288016113f2565b9598909750949560e00135949350505050565b60008060008060008060008789036101608112156114bb57600080fd5b60e08112156114c957600080fd5b5087965060e088013567ffffffffffffffff808211156114e857600080fd5b6114f48b838c016113f2565b90985096506101008a013591508082111561150e57600080fd5b5061151b8a828b016113f2565b9095509350506101208801359150611536610140890161138d565b905092959891949750929550565b60006020828403121561155657600080fd5b61155f8261138d565b9392505050565b60006020828403121561157857600080fd5b5051919050565b81810381811115611387577f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000602082840312156115cb57600080fd5b813563ffffffff8116811461155f57600080fd5b60005b838110156115fa5781810151838201526020016115e2565b50506000910152565b7f496e74656e7452656465656d207769746e65737329000000000000000000000081526000835161163b8160158501602088016115df565b8351908301906116528160158401602088016115df565b01601501949350505050565b600081518084526116768160208601602086016115df565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b60006101406116d8838b51805173ffffffffffffffffffffffffffffffffffffffff168252602090810151910152565b60208a0151604084015260408a01516060840152611719608084018a805173ffffffffffffffffffffffffffffffffffffffff168252602090810151910152565b73ffffffffffffffffffffffffffffffffffffffff881660c08401528660e08401528061010084015261174e8184018761165e565b90508281036101208401528381528385602083013760006020858301015260207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f86011682010191505098975050505050505050565b7f496e74656e7453656e64207769746e65737329000000000000000000000000008152600083516117de8160138501602088016115df565b8351908301906117f58160138401602088016115df565b01601301949350505050565b6080815263ffffffff8451166080820152602084015160a0820152604084015160c0820152606084015160e08201526000608085015160e061010084015261184d61016084018261165e565b905060a08601517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff80808584030161012086015261188a838361165e565b925060c088015191508085840301610140860152506118a9828261165e565b925050506118c4602083018580518252602090810151910152565b73ffffffffffffffffffffffffffffffffffffffff831660608301526106d6565b6000604082840312156118f757600080fd5b6040516040810181811067ffffffffffffffff82111715611941577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b604052825181526020928301519281019290925250919050565b60008082840360c081121561196f57600080fd5b608081121561197d57600080fd5b506040516060810167ffffffffffffffff82821081831117156119c9577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b81604052855183526020860151915080821682146119e657600080fd5b5060208201526119f985604086016118e5565b60408201529150611a0d84608085016118e5565b90509250929050565b60008251611a288184602087016115df565b9190910192915050565b600060208284031215611a4457600080fd5b8151801515811461155f57600080fdfe546f6b656e5065726d697373696f6e73286164647265737320746f6b656e2c75696e7432353620616d6f756e7429a26469706673582212209b8bfd859d0380939024db6283f5cd5de8ae12116b79f2dc5c9a923cf5c014a964736f6c63430008160033",
|
|
347
|
+
"deployedBytecode": "0x6080604052600436106100b15760003560e01c8063715018a6116100695780638da5cb5b1161004e5780638da5cb5b146101e5578063f2fde38b14610210578063fc0c546a1461023057600080fd5b8063715018a6146101bd57806388e19535146101d257600080fd5b80633a6207db1161009a5780633a6207db146101355780635fcbd285146101555780636c099dee1461018957600080fd5b80631095b6d7146100b657806312261ee7146100d8575b600080fd5b3480156100c257600080fd5b506100d66100d13660046113b6565b610264565b005b3480156100e457600080fd5b5061010c7f000000000000000000000000000000000000000000000000000000000000000081565b60405173ffffffffffffffffffffffffffffffffffffffff909116815260200160405180910390f35b34801561014157600080fd5b506100d661015036600461143b565b61027f565b34801561016157600080fd5b5061010c7f000000000000000000000000000000000000000000000000000000000000000081565b34801561019557600080fd5b5061010c7f000000000000000000000000000000000000000000000000000000000000000081565b3480156101c957600080fd5b506100d661049c565b6100d66101e036600461149e565b6104b0565b3480156101f157600080fd5b5060005473ffffffffffffffffffffffffffffffffffffffff1661010c565b34801561021c57600080fd5b506100d661022b366004611544565b61055c565b34801561023c57600080fd5b5061010c7f000000000000000000000000000000000000000000000000000000000000000081565b61026c610618565b6102798383836000610699565b50505050565b610287610618565b6102928484846106de565b604080517f7bde82f200000000000000000000000000000000000000000000000000000000815290850135600482015230602482015260009073ffffffffffffffffffffffffffffffffffffffff7f00000000000000000000000000000000000000000000000000000000000000001690637bde82f2906044016020604051808303816000875af115801561032b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061034f9190611566565b90508460400135811461038e576040517f3ce25c7900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610398828261157f565b905084606001358110156103d8576040517f73b7c9e200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6104127f000000000000000000000000000000000000000000000000000000000000000061040c6040880160208901611544565b8361094e565b506104236040860160208701611544565b73ffffffffffffffffffffffffffffffffffffffff166104466020870187611544565b73ffffffffffffffffffffffffffffffffffffffff167f819aaddcbcb4ff5f195d5717f8114d8cc87b705894d89e6207fe5977db256d938360405161048d91815260200190565b60405180910390a35050505050565b6104a4610618565b6104ae60006109de565b565b6104b8610618565b6104c3878585610a53565b6104d08787878585610c80565b6104e060408801602089016115b9565b63ffffffff166104f36020890189611544565b73ffffffffffffffffffffffffffffffffffffffff167fcccecabef4685fec18cb21dd1732514f063e7add1c432277e0fa89ffb486fb4689604001358a6060013560405161054b929190918252602082015260400190565b60405180910390a350505050505050565b610564610618565b73ffffffffffffffffffffffffffffffffffffffff811661060c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f646472657373000000000000000000000000000000000000000000000000000060648201526084015b60405180910390fd5b610615816109de565b50565b60005473ffffffffffffffffffffffffffffffffffffffff1633146104ae576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610603565b600073ffffffffffffffffffffffffffffffffffffffff85166106c8576106c1848484610e20565b90506106d6565b6106d385858561094e565b90505b949350505050565b6040805160a0808201835273ffffffffffffffffffffffffffffffffffffffff7f00000000000000000000000000000000000000000000000000000000000000008116606084019081528785013560808086018290529185529088013560208086019190915292880135848601528451808601909552308552848301529192917f0000000000000000000000000000000000000000000000000000000000000000169063137c29fe9084908490610797908a018a611544565b6107a08a610ef3565b604080517f496e74656e7452656465656d280000000000000000000000000000000000000060208201527f61646472657373206f776e65722c000000000000000000000000000000000000602d8201527f616464726573732072656365697665722c000000000000000000000000000000603b8201527f75696e7432353620616d6f756e744c442c000000000000000000000000000000604c8201527f75696e74323536206d696e416d6f756e744c442c000000000000000000000000605d8201527f75696e74323536206e6f6e63652c00000000000000000000000000000000000060718201527f75696e7432353620646561646c696e6529000000000000000000000000000000607f8201528151607081830301815260f08201909252602e6090820181815291611a559060b001396040516020016108e2929190611603565b6040516020818303038152906040528a8a6040518863ffffffff1660e01b815260040161091597969594939291906116a8565b600060405180830381600087803b15801561092f57600080fd5b505af1158015610943573d6000803e3d6000fd5b505050505050505050565b6040805173ffffffffffffffffffffffffffffffffffffffff8416602482015260448082018490528251808303909101815260649091019091526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fa9059cbb000000000000000000000000000000000000000000000000000000001790526000906106d69085906110d9565b6000805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6040805160a0808201835273ffffffffffffffffffffffffffffffffffffffff7f000000000000000000000000000000000000000000000000000000000000000081166060808501918252880135608085018190529084529187013560208085019190915260c0880135848601528451808601909552308552848101929092529192917f0000000000000000000000000000000000000000000000000000000000000000169063137c29fe9084908490610b0f908a018a611544565b610b188a61117c565b604080517f496e74656e7453656e642800000000000000000000000000000000000000000060208201527f616464726573732073656e6465722c0000000000000000000000000000000000602b8201527f75696e743332206473744569642c000000000000000000000000000000000000603a8201527f6279746573333220746f2c00000000000000000000000000000000000000000060488201527f75696e7432353620616d6f756e744c442c00000000000000000000000000000060538201527f75696e74323536206d696e416d6f756e744c442c00000000000000000000000060648201527f75696e74323536206e6f6e63652c00000000000000000000000000000000000060788201527f75696e7432353620646561646c696e652900000000000000000000000000000060868201528151607781830301815260f78201909252602e6097820181815291611a559060b701396040516020016108e29291906117a6565b346000610c9184606089013561157f565b90506000610c9f8383611385565b90507f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663c7c7f5b3826040518060e001604052808c6020016020810190610cfc91906115b9565b63ffffffff1681526020018c6040013581526020018681526020018c6080013581526020016040518060200160405280600081525081526020016040518060200160405280600081525081526020018b8b8080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201829052509390945250506040805180820182528a81526020810192909252517fffffffff0000000000000000000000000000000000000000000000000000000060e087901b168152610dd19392508a90600401611801565b60c06040518083038185885af1158015610def573d6000803e3d6000fd5b50505050506040513d601f19601f82011682018060405250810190610e14919061195b565b50505050505050505050565b600081610e885760405173ffffffffffffffffffffffffffffffffffffffff8516908490600081818185875af1925050503d8060008114610e7d576040519150601f19603f3d011682016040523d82523d6000602084013e610e82565b606091505b50610eea565b60405173ffffffffffffffffffffffffffffffffffffffff8516906108fc9085906000818181858888f193505050503d8060008114610ee3576040519150601f19603f3d011682016040523d82523d6000602084013e610ee8565b606091505b505b50949350505050565b6040517f496e74656e7452656465656d280000000000000000000000000000000000000060208201527f61646472657373206f776e65722c000000000000000000000000000000000000602d8201527f616464726573732072656365697665722c000000000000000000000000000000603b8201527f75696e7432353620616d6f756e744c442c000000000000000000000000000000604c8201527f75696e74323536206d696e416d6f756e744c442c000000000000000000000000605d8201527f75696e74323536206e6f6e63652c00000000000000000000000000000000000060718201527f75696e7432353620646561646c696e6529000000000000000000000000000000607f820152600090609001604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe081840301815291905280516020918201209061104990840184611544565b6110596040850160208601611544565b60408051602081019490945273ffffffffffffffffffffffffffffffffffffffff928316848201529116606083810191909152908401356080838101919091529084013560a0838101919091529084013560c083015283013560e0820152610100015b604051602081830303815290604052805190602001209050919050565b60008060008473ffffffffffffffffffffffffffffffffffffffff16846040516111039190611a16565b6000604051808303816000865af19150503d8060008114611140576040519150601f19603f3d011682016040523d82523d6000602084013e611145565b606091505b509150915081611156576000611173565b805115806111735750808060200190518101906111739190611a32565b95945050505050565b6040517f496e74656e7453656e642800000000000000000000000000000000000000000060208201527f616464726573732073656e6465722c0000000000000000000000000000000000602b8201527f75696e743332206473744569642c000000000000000000000000000000000000603a8201527f6279746573333220746f2c00000000000000000000000000000000000000000060488201527f75696e7432353620616d6f756e744c442c00000000000000000000000000000060538201527f75696e74323536206d696e416d6f756e744c442c00000000000000000000000060648201527f75696e74323536206e6f6e63652c00000000000000000000000000000000000060788201527f75696e7432353620646561646c696e65290000000000000000000000000000006086820152600090609701604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529190528051602091820120906112f890840184611544565b61130860408501602086016115b9565b8460400135856060013586608001358760a001358860c001356040516020016110bc98979695949392919097885273ffffffffffffffffffffffffffffffffffffffff96909616602088015263ffffffff9490941660408701526060860192909252608085015260a084015260c083015260e08201526101000190565b815b92915050565b803573ffffffffffffffffffffffffffffffffffffffff811681146113b157600080fd5b919050565b6000806000606084860312156113cb57600080fd5b6113d48461138d565b92506113e26020850161138d565b9150604084013590509250925092565b60008083601f84011261140457600080fd5b50813567ffffffffffffffff81111561141c57600080fd5b60208301915083602082850101111561143457600080fd5b9250929050565b60008060008084860361010081121561145357600080fd5b60c081121561146157600080fd5b5084935060c085013567ffffffffffffffff81111561147f57600080fd5b61148b878288016113f2565b9598909750949560e00135949350505050565b60008060008060008060008789036101608112156114bb57600080fd5b60e08112156114c957600080fd5b5087965060e088013567ffffffffffffffff808211156114e857600080fd5b6114f48b838c016113f2565b90985096506101008a013591508082111561150e57600080fd5b5061151b8a828b016113f2565b9095509350506101208801359150611536610140890161138d565b905092959891949750929550565b60006020828403121561155657600080fd5b61155f8261138d565b9392505050565b60006020828403121561157857600080fd5b5051919050565b81810381811115611387577f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000602082840312156115cb57600080fd5b813563ffffffff8116811461155f57600080fd5b60005b838110156115fa5781810151838201526020016115e2565b50506000910152565b7f496e74656e7452656465656d207769746e65737329000000000000000000000081526000835161163b8160158501602088016115df565b8351908301906116528160158401602088016115df565b01601501949350505050565b600081518084526116768160208601602086016115df565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b60006101406116d8838b51805173ffffffffffffffffffffffffffffffffffffffff168252602090810151910152565b60208a0151604084015260408a01516060840152611719608084018a805173ffffffffffffffffffffffffffffffffffffffff168252602090810151910152565b73ffffffffffffffffffffffffffffffffffffffff881660c08401528660e08401528061010084015261174e8184018761165e565b90508281036101208401528381528385602083013760006020858301015260207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f86011682010191505098975050505050505050565b7f496e74656e7453656e64207769746e65737329000000000000000000000000008152600083516117de8160138501602088016115df565b8351908301906117f58160138401602088016115df565b01601301949350505050565b6080815263ffffffff8451166080820152602084015160a0820152604084015160c0820152606084015160e08201526000608085015160e061010084015261184d61016084018261165e565b905060a08601517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff80808584030161012086015261188a838361165e565b925060c088015191508085840301610140860152506118a9828261165e565b925050506118c4602083018580518252602090810151910152565b73ffffffffffffffffffffffffffffffffffffffff831660608301526106d6565b6000604082840312156118f757600080fd5b6040516040810181811067ffffffffffffffff82111715611941577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b604052825181526020928301519281019290925250919050565b60008082840360c081121561196f57600080fd5b608081121561197d57600080fd5b506040516060810167ffffffffffffffff82821081831117156119c9577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b81604052855183526020860151915080821682146119e657600080fd5b5060208201526119f985604086016118e5565b60408201529150611a0d84608085016118e5565b90509250929050565b60008251611a288184602087016115df565b9190910192915050565b600060208284031215611a4457600080fd5b8151801515811461155f57600080fdfe546f6b656e5065726d697373696f6e73286164647265737320746f6b656e2c75696e7432353620616d6f756e7429a26469706673582212209b8bfd859d0380939024db6283f5cd5de8ae12116b79f2dc5c9a923cf5c014a964736f6c63430008160033",
|
|
348
|
+
"linkReferences": {},
|
|
349
|
+
"deployedLinkReferences": {}
|
|
350
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
{
|
|
2
|
+
"_format": "hh-sol-artifact-1",
|
|
3
|
+
"contractName": "IWETH",
|
|
4
|
+
"sourceName": "src/intent/IntentPoolNative.sol",
|
|
5
|
+
"abi": [
|
|
6
|
+
{
|
|
7
|
+
"inputs": [
|
|
8
|
+
{
|
|
9
|
+
"internalType": "uint256",
|
|
10
|
+
"name": "_amount",
|
|
11
|
+
"type": "uint256"
|
|
12
|
+
}
|
|
13
|
+
],
|
|
14
|
+
"name": "withdraw",
|
|
15
|
+
"outputs": [],
|
|
16
|
+
"stateMutability": "nonpayable",
|
|
17
|
+
"type": "function"
|
|
18
|
+
}
|
|
19
|
+
],
|
|
20
|
+
"bytecode": "0x",
|
|
21
|
+
"deployedBytecode": "0x",
|
|
22
|
+
"linkReferences": {},
|
|
23
|
+
"deployedLinkReferences": {}
|
|
24
|
+
}
|