@keep-network/tbtc-v2 1.6.0-dev.16 → 1.6.0-dev.18
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/BLS.json +1 -1
- package/artifacts/Bank.json +3 -3
- package/artifacts/BeaconAuthorization.json +1 -1
- package/artifacts/BeaconDkg.json +1 -1
- package/artifacts/BeaconDkgValidator.json +1 -1
- package/artifacts/BeaconInactivity.json +1 -1
- package/artifacts/BeaconSortitionPool.json +3 -3
- package/artifacts/Bridge.json +5 -5
- package/artifacts/BridgeGovernance.json +2 -2
- package/artifacts/BridgeGovernanceParameters.json +2 -2
- package/artifacts/Deposit.json +2 -2
- package/artifacts/DepositSweep.json +2 -2
- package/artifacts/DonationVault.json +3 -3
- package/artifacts/EcdsaDkgValidator.json +1 -1
- package/artifacts/EcdsaInactivity.json +1 -1
- package/artifacts/EcdsaSortitionPool.json +3 -3
- package/artifacts/Fraud.json +2 -2
- package/artifacts/LightRelay.json +18 -18
- package/artifacts/LightRelayMaintainerProxy.json +8 -8
- package/artifacts/MaintainerProxy.json +19 -19
- package/artifacts/MovingFunds.json +2 -2
- package/artifacts/NuCypherToken.json +2 -2
- package/artifacts/RandomBeacon.json +2 -2
- package/artifacts/RandomBeaconChaosnet.json +2 -2
- package/artifacts/RandomBeaconGovernance.json +2 -2
- package/artifacts/Redemption.json +2 -2
- package/artifacts/ReimbursementPool.json +2 -2
- package/artifacts/T.json +2 -2
- package/artifacts/TBTC.json +3 -3
- package/artifacts/TBTCToken.json +3 -3
- package/artifacts/TBTCVault.json +23 -23
- package/artifacts/TokenStaking.json +1 -1
- package/artifacts/TokenholderGovernor.json +9 -9
- package/artifacts/TokenholderTimelock.json +8 -8
- package/artifacts/VendingMachine.json +3 -3
- package/artifacts/VendingMachineNuCypher.json +1 -1
- package/artifacts/VendingMachineV2.json +3 -3
- package/artifacts/VendingMachineV3.json +3 -3
- package/artifacts/WalletProposalValidator.json +2 -2
- package/artifacts/WalletRegistry.json +5 -5
- package/artifacts/WalletRegistryGovernance.json +2 -2
- package/artifacts/Wallets.json +2 -2
- package/artifacts/solcInputs/{8bdb4098420884547fe701093440e1b8.json → d86f3b9c8cafe2e77604a4fc30b88b09.json} +2 -2
- package/build/contracts/GovernanceUtils.sol/GovernanceUtils.dbg.json +1 -1
- package/build/contracts/bank/Bank.sol/Bank.dbg.json +1 -1
- package/build/contracts/bank/IReceiveBalanceApproval.sol/IReceiveBalanceApproval.dbg.json +1 -1
- package/build/contracts/bridge/BitcoinTx.sol/BitcoinTx.dbg.json +1 -1
- package/build/contracts/bridge/Bridge.sol/Bridge.dbg.json +1 -1
- package/build/contracts/bridge/BridgeGovernanceParameters.sol/BridgeGovernanceParameters.dbg.json +1 -1
- package/build/contracts/bridge/BridgeState.sol/BridgeState.dbg.json +1 -1
- package/build/contracts/bridge/Deposit.sol/Deposit.dbg.json +1 -1
- package/build/contracts/bridge/DepositSweep.sol/DepositSweep.dbg.json +1 -1
- package/build/contracts/bridge/EcdsaLib.sol/EcdsaLib.dbg.json +1 -1
- package/build/contracts/bridge/Fraud.sol/Fraud.dbg.json +1 -1
- package/build/contracts/bridge/Heartbeat.sol/Heartbeat.dbg.json +1 -1
- package/build/contracts/bridge/IRelay.sol/IRelay.dbg.json +1 -1
- package/build/contracts/bridge/MovingFunds.sol/MovingFunds.dbg.json +1 -1
- package/build/contracts/bridge/Redemption.sol/OutboundTx.dbg.json +1 -1
- package/build/contracts/bridge/Redemption.sol/Redemption.dbg.json +1 -1
- package/build/contracts/bridge/VendingMachine.sol/VendingMachine.dbg.json +1 -1
- package/build/contracts/bridge/VendingMachineV2.sol/VendingMachineV2.dbg.json +1 -1
- package/build/contracts/bridge/VendingMachineV3.sol/VendingMachineV3.dbg.json +1 -1
- package/build/contracts/bridge/WalletProposalValidator.sol/WalletProposalValidator.dbg.json +1 -1
- package/build/contracts/bridge/Wallets.sol/Wallets.dbg.json +1 -1
- package/build/contracts/integrator/AbstractTBTCDepositor.sol/AbstractTBTCDepositor.dbg.json +1 -1
- package/build/contracts/integrator/IBridge.sol/IBridge.dbg.json +1 -1
- package/build/contracts/integrator/IBridge.sol/IBridgeTypes.dbg.json +1 -1
- package/build/contracts/integrator/ITBTCVault.sol/ITBTCVault.dbg.json +1 -1
- package/build/contracts/l2/L2TBTC.sol/L2TBTC.dbg.json +1 -1
- package/build/contracts/l2/L2WormholeGateway.sol/IWormholeTokenBridge.dbg.json +1 -1
- package/build/contracts/l2/L2WormholeGateway.sol/L2WormholeGateway.dbg.json +1 -1
- package/build/contracts/maintainer/MaintainerProxy.sol/MaintainerProxy.dbg.json +1 -1
- package/build/contracts/relay/LightRelay.sol/ILightRelay.dbg.json +1 -1
- package/build/contracts/relay/LightRelay.sol/LightRelay.dbg.json +1 -1
- package/build/contracts/relay/LightRelay.sol/RelayUtils.dbg.json +1 -1
- package/build/contracts/relay/LightRelayMaintainerProxy.sol/LightRelayMaintainerProxy.dbg.json +1 -1
- package/build/contracts/test/BankStub.sol/BankStub.dbg.json +4 -0
- package/build/contracts/test/BankStub.sol/BankStub.json +555 -0
- package/build/contracts/test/BridgeStub.sol/BridgeStub.dbg.json +4 -0
- package/build/contracts/test/BridgeStub.sol/BridgeStub.json +3318 -0
- package/build/contracts/test/HeartbeatStub.sol/HeartbeatStub.dbg.json +4 -0
- package/build/contracts/test/HeartbeatStub.sol/HeartbeatStub.json +30 -0
- package/build/contracts/test/LightRelayStub.sol/LightRelayStub.dbg.json +4 -0
- package/build/contracts/test/LightRelayStub.sol/LightRelayStub.json +467 -0
- package/build/contracts/test/ReceiveApprovalStub.sol/ReceiveApprovalStub.dbg.json +4 -0
- package/build/contracts/test/ReceiveApprovalStub.sol/ReceiveApprovalStub.json +96 -0
- package/build/contracts/test/SepoliaLightRelay.sol/SepoliaLightRelay.dbg.json +4 -0
- package/build/contracts/test/SepoliaLightRelay.sol/SepoliaLightRelay.json +456 -0
- package/build/contracts/test/SystemTestRelay.sol/SystemTestRelay.dbg.json +4 -0
- package/build/contracts/test/SystemTestRelay.sol/SystemTestRelay.json +89 -0
- package/build/contracts/test/TestBitcoinTx.sol/TestBitcoinTx.dbg.json +4 -0
- package/build/contracts/test/TestBitcoinTx.sol/TestBitcoinTx.json +102 -0
- package/build/contracts/test/TestERC20.sol/TestERC20.dbg.json +4 -0
- package/build/contracts/test/TestERC20.sol/TestERC20.json +508 -0
- package/build/contracts/test/TestERC721.sol/TestERC721.dbg.json +4 -0
- package/build/contracts/test/TestERC721.sol/TestERC721.json +390 -0
- package/build/contracts/test/TestEcdsaLib.sol/TestEcdsaLib.dbg.json +4 -0
- package/build/contracts/test/TestEcdsaLib.sol/TestEcdsaLib.json +35 -0
- package/build/contracts/test/TestTBTCDepositor.sol/MockBridge.dbg.json +4 -0
- package/build/contracts/test/TestTBTCDepositor.sol/MockBridge.json +224 -0
- package/build/contracts/test/TestTBTCDepositor.sol/MockTBTCVault.dbg.json +4 -0
- package/build/contracts/test/TestTBTCDepositor.sol/MockTBTCVault.json +87 -0
- package/build/contracts/test/TestTBTCDepositor.sol/TestTBTCDepositor.dbg.json +4 -0
- package/build/contracts/test/TestTBTCDepositor.sol/TestTBTCDepositor.json +283 -0
- package/build/contracts/test/WormholeBridgeStub.sol/WormholeBridgeStub.dbg.json +4 -0
- package/build/contracts/test/WormholeBridgeStub.sol/WormholeBridgeStub.json +372 -0
- package/build/contracts/token/TBTC.sol/TBTC.dbg.json +1 -1
- package/build/contracts/vault/DonationVault.sol/DonationVault.dbg.json +1 -1
- package/build/contracts/vault/IVault.sol/IVault.dbg.json +1 -1
- package/build/contracts/vault/TBTCOptimisticMinting.sol/TBTCOptimisticMinting.dbg.json +1 -1
- package/build/contracts/vault/TBTCVault.sol/TBTCVault.dbg.json +1 -1
- package/contracts/integrator/AbstractTBTCDepositor.sol +16 -3
- package/contracts/test/BankStub.sol +11 -0
- package/contracts/test/BridgeStub.sol +174 -0
- package/contracts/test/HeartbeatStub.sol +16 -0
- package/contracts/test/LightRelayStub.sol +15 -0
- package/contracts/test/ReceiveApprovalStub.sol +33 -0
- package/contracts/test/SepoliaLightRelay.sol +48 -0
- package/contracts/test/SystemTestRelay.sol +57 -0
- package/contracts/test/TestBitcoinTx.sol +24 -0
- package/contracts/test/TestERC20.sol +12 -0
- package/contracts/test/TestERC721.sol +16 -0
- package/contracts/test/TestEcdsaLib.sol +17 -0
- package/contracts/test/TestTBTCDepositor.sol +196 -0
- package/contracts/test/WormholeBridgeStub.sol +125 -0
- package/export/artifacts/contracts/bridge/VendingMachine.sol/VendingMachine.json +6 -6
- package/export/artifacts/contracts/bridge/VendingMachineV2.sol/VendingMachineV2.json +6 -6
- package/export/artifacts/contracts/bridge/VendingMachineV3.sol/VendingMachineV3.json +6 -6
- package/export/artifacts/contracts/l2/L2TBTC.sol/L2TBTC.json +40 -40
- package/export/artifacts/contracts/l2/L2WormholeGateway.sol/L2WormholeGateway.json +47 -47
- package/export/artifacts/contracts/maintainer/MaintainerProxy.sol/MaintainerProxy.json +88 -88
- package/export/artifacts/contracts/relay/LightRelay.sol/LightRelay.json +57 -57
- package/export/artifacts/contracts/relay/LightRelayMaintainerProxy.sol/LightRelayMaintainerProxy.json +31 -31
- package/export/artifacts/contracts/test/BankStub.sol/BankStub.json +2 -2
- package/export/artifacts/contracts/test/BridgeStub.sol/BridgeStub.json +30 -30
- package/export/artifacts/contracts/test/HeartbeatStub.sol/HeartbeatStub.json +2 -2
- package/export/artifacts/contracts/test/LightRelayStub.sol/LightRelayStub.json +59 -59
- package/export/artifacts/contracts/test/ReceiveApprovalStub.sol/ReceiveApprovalStub.json +7 -7
- package/export/artifacts/contracts/test/SepoliaLightRelay.sol/SepoliaLightRelay.json +59 -59
- package/export/artifacts/contracts/test/SystemTestRelay.sol/SystemTestRelay.json +14 -14
- package/export/artifacts/contracts/test/TestBitcoinTx.sol/TestBitcoinTx.json +5 -5
- package/export/artifacts/contracts/test/TestERC20.sol/TestERC20.json +6 -6
- package/export/artifacts/contracts/test/TestERC721.sol/TestERC721.json +8 -8
- package/export/artifacts/contracts/test/TestEcdsaLib.sol/TestEcdsaLib.json +2 -2
- package/export/artifacts/contracts/test/TestTBTCDepositor.sol/MockBridge.json +2565 -805
- package/export/artifacts/contracts/test/TestTBTCDepositor.sol/MockTBTCVault.json +25 -25
- package/export/artifacts/contracts/test/TestTBTCDepositor.sol/TestTBTCDepositor.json +1628 -1573
- package/export/artifacts/contracts/test/WormholeBridgeStub.sol/WormholeBridgeStub.json +37 -37
- package/export/artifacts/contracts/token/TBTC.sol/TBTC.json +2 -2
- package/export/artifacts/contracts/vault/DonationVault.sol/DonationVault.json +11 -11
- package/export/artifacts/contracts/vault/TBTCVault.sol/TBTCVault.json +135 -135
- package/export/typechain/factories/MockBridge__factory.js +14 -1
- package/export/typechain/factories/MockTBTCVault__factory.js +1 -1
- package/export/typechain/factories/TestTBTCDepositor__factory.js +7 -1
- package/package.json +1 -2
|
@@ -0,0 +1,390 @@
|
|
|
1
|
+
{
|
|
2
|
+
"_format": "hh-sol-artifact-1",
|
|
3
|
+
"contractName": "TestERC721",
|
|
4
|
+
"sourceName": "contracts/test/TestERC721.sol",
|
|
5
|
+
"abi": [
|
|
6
|
+
{
|
|
7
|
+
"inputs": [],
|
|
8
|
+
"stateMutability": "nonpayable",
|
|
9
|
+
"type": "constructor"
|
|
10
|
+
},
|
|
11
|
+
{
|
|
12
|
+
"anonymous": false,
|
|
13
|
+
"inputs": [
|
|
14
|
+
{
|
|
15
|
+
"indexed": true,
|
|
16
|
+
"internalType": "address",
|
|
17
|
+
"name": "owner",
|
|
18
|
+
"type": "address"
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
"indexed": true,
|
|
22
|
+
"internalType": "address",
|
|
23
|
+
"name": "approved",
|
|
24
|
+
"type": "address"
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
"indexed": true,
|
|
28
|
+
"internalType": "uint256",
|
|
29
|
+
"name": "tokenId",
|
|
30
|
+
"type": "uint256"
|
|
31
|
+
}
|
|
32
|
+
],
|
|
33
|
+
"name": "Approval",
|
|
34
|
+
"type": "event"
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
"anonymous": false,
|
|
38
|
+
"inputs": [
|
|
39
|
+
{
|
|
40
|
+
"indexed": true,
|
|
41
|
+
"internalType": "address",
|
|
42
|
+
"name": "owner",
|
|
43
|
+
"type": "address"
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
"indexed": true,
|
|
47
|
+
"internalType": "address",
|
|
48
|
+
"name": "operator",
|
|
49
|
+
"type": "address"
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
"indexed": false,
|
|
53
|
+
"internalType": "bool",
|
|
54
|
+
"name": "approved",
|
|
55
|
+
"type": "bool"
|
|
56
|
+
}
|
|
57
|
+
],
|
|
58
|
+
"name": "ApprovalForAll",
|
|
59
|
+
"type": "event"
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
"anonymous": false,
|
|
63
|
+
"inputs": [
|
|
64
|
+
{
|
|
65
|
+
"indexed": true,
|
|
66
|
+
"internalType": "address",
|
|
67
|
+
"name": "from",
|
|
68
|
+
"type": "address"
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
"indexed": true,
|
|
72
|
+
"internalType": "address",
|
|
73
|
+
"name": "to",
|
|
74
|
+
"type": "address"
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
"indexed": true,
|
|
78
|
+
"internalType": "uint256",
|
|
79
|
+
"name": "tokenId",
|
|
80
|
+
"type": "uint256"
|
|
81
|
+
}
|
|
82
|
+
],
|
|
83
|
+
"name": "Transfer",
|
|
84
|
+
"type": "event"
|
|
85
|
+
},
|
|
86
|
+
{
|
|
87
|
+
"inputs": [],
|
|
88
|
+
"name": "NAME",
|
|
89
|
+
"outputs": [
|
|
90
|
+
{
|
|
91
|
+
"internalType": "string",
|
|
92
|
+
"name": "",
|
|
93
|
+
"type": "string"
|
|
94
|
+
}
|
|
95
|
+
],
|
|
96
|
+
"stateMutability": "view",
|
|
97
|
+
"type": "function"
|
|
98
|
+
},
|
|
99
|
+
{
|
|
100
|
+
"inputs": [],
|
|
101
|
+
"name": "SYMBOL",
|
|
102
|
+
"outputs": [
|
|
103
|
+
{
|
|
104
|
+
"internalType": "string",
|
|
105
|
+
"name": "",
|
|
106
|
+
"type": "string"
|
|
107
|
+
}
|
|
108
|
+
],
|
|
109
|
+
"stateMutability": "view",
|
|
110
|
+
"type": "function"
|
|
111
|
+
},
|
|
112
|
+
{
|
|
113
|
+
"inputs": [
|
|
114
|
+
{
|
|
115
|
+
"internalType": "address",
|
|
116
|
+
"name": "to",
|
|
117
|
+
"type": "address"
|
|
118
|
+
},
|
|
119
|
+
{
|
|
120
|
+
"internalType": "uint256",
|
|
121
|
+
"name": "tokenId",
|
|
122
|
+
"type": "uint256"
|
|
123
|
+
}
|
|
124
|
+
],
|
|
125
|
+
"name": "approve",
|
|
126
|
+
"outputs": [],
|
|
127
|
+
"stateMutability": "nonpayable",
|
|
128
|
+
"type": "function"
|
|
129
|
+
},
|
|
130
|
+
{
|
|
131
|
+
"inputs": [
|
|
132
|
+
{
|
|
133
|
+
"internalType": "address",
|
|
134
|
+
"name": "owner",
|
|
135
|
+
"type": "address"
|
|
136
|
+
}
|
|
137
|
+
],
|
|
138
|
+
"name": "balanceOf",
|
|
139
|
+
"outputs": [
|
|
140
|
+
{
|
|
141
|
+
"internalType": "uint256",
|
|
142
|
+
"name": "",
|
|
143
|
+
"type": "uint256"
|
|
144
|
+
}
|
|
145
|
+
],
|
|
146
|
+
"stateMutability": "view",
|
|
147
|
+
"type": "function"
|
|
148
|
+
},
|
|
149
|
+
{
|
|
150
|
+
"inputs": [
|
|
151
|
+
{
|
|
152
|
+
"internalType": "uint256",
|
|
153
|
+
"name": "tokenId",
|
|
154
|
+
"type": "uint256"
|
|
155
|
+
}
|
|
156
|
+
],
|
|
157
|
+
"name": "getApproved",
|
|
158
|
+
"outputs": [
|
|
159
|
+
{
|
|
160
|
+
"internalType": "address",
|
|
161
|
+
"name": "",
|
|
162
|
+
"type": "address"
|
|
163
|
+
}
|
|
164
|
+
],
|
|
165
|
+
"stateMutability": "view",
|
|
166
|
+
"type": "function"
|
|
167
|
+
},
|
|
168
|
+
{
|
|
169
|
+
"inputs": [
|
|
170
|
+
{
|
|
171
|
+
"internalType": "address",
|
|
172
|
+
"name": "owner",
|
|
173
|
+
"type": "address"
|
|
174
|
+
},
|
|
175
|
+
{
|
|
176
|
+
"internalType": "address",
|
|
177
|
+
"name": "operator",
|
|
178
|
+
"type": "address"
|
|
179
|
+
}
|
|
180
|
+
],
|
|
181
|
+
"name": "isApprovedForAll",
|
|
182
|
+
"outputs": [
|
|
183
|
+
{
|
|
184
|
+
"internalType": "bool",
|
|
185
|
+
"name": "",
|
|
186
|
+
"type": "bool"
|
|
187
|
+
}
|
|
188
|
+
],
|
|
189
|
+
"stateMutability": "view",
|
|
190
|
+
"type": "function"
|
|
191
|
+
},
|
|
192
|
+
{
|
|
193
|
+
"inputs": [
|
|
194
|
+
{
|
|
195
|
+
"internalType": "address",
|
|
196
|
+
"name": "to",
|
|
197
|
+
"type": "address"
|
|
198
|
+
},
|
|
199
|
+
{
|
|
200
|
+
"internalType": "uint256",
|
|
201
|
+
"name": "tokenId",
|
|
202
|
+
"type": "uint256"
|
|
203
|
+
}
|
|
204
|
+
],
|
|
205
|
+
"name": "mint",
|
|
206
|
+
"outputs": [],
|
|
207
|
+
"stateMutability": "nonpayable",
|
|
208
|
+
"type": "function"
|
|
209
|
+
},
|
|
210
|
+
{
|
|
211
|
+
"inputs": [],
|
|
212
|
+
"name": "name",
|
|
213
|
+
"outputs": [
|
|
214
|
+
{
|
|
215
|
+
"internalType": "string",
|
|
216
|
+
"name": "",
|
|
217
|
+
"type": "string"
|
|
218
|
+
}
|
|
219
|
+
],
|
|
220
|
+
"stateMutability": "view",
|
|
221
|
+
"type": "function"
|
|
222
|
+
},
|
|
223
|
+
{
|
|
224
|
+
"inputs": [
|
|
225
|
+
{
|
|
226
|
+
"internalType": "uint256",
|
|
227
|
+
"name": "tokenId",
|
|
228
|
+
"type": "uint256"
|
|
229
|
+
}
|
|
230
|
+
],
|
|
231
|
+
"name": "ownerOf",
|
|
232
|
+
"outputs": [
|
|
233
|
+
{
|
|
234
|
+
"internalType": "address",
|
|
235
|
+
"name": "",
|
|
236
|
+
"type": "address"
|
|
237
|
+
}
|
|
238
|
+
],
|
|
239
|
+
"stateMutability": "view",
|
|
240
|
+
"type": "function"
|
|
241
|
+
},
|
|
242
|
+
{
|
|
243
|
+
"inputs": [
|
|
244
|
+
{
|
|
245
|
+
"internalType": "address",
|
|
246
|
+
"name": "from",
|
|
247
|
+
"type": "address"
|
|
248
|
+
},
|
|
249
|
+
{
|
|
250
|
+
"internalType": "address",
|
|
251
|
+
"name": "to",
|
|
252
|
+
"type": "address"
|
|
253
|
+
},
|
|
254
|
+
{
|
|
255
|
+
"internalType": "uint256",
|
|
256
|
+
"name": "tokenId",
|
|
257
|
+
"type": "uint256"
|
|
258
|
+
}
|
|
259
|
+
],
|
|
260
|
+
"name": "safeTransferFrom",
|
|
261
|
+
"outputs": [],
|
|
262
|
+
"stateMutability": "nonpayable",
|
|
263
|
+
"type": "function"
|
|
264
|
+
},
|
|
265
|
+
{
|
|
266
|
+
"inputs": [
|
|
267
|
+
{
|
|
268
|
+
"internalType": "address",
|
|
269
|
+
"name": "from",
|
|
270
|
+
"type": "address"
|
|
271
|
+
},
|
|
272
|
+
{
|
|
273
|
+
"internalType": "address",
|
|
274
|
+
"name": "to",
|
|
275
|
+
"type": "address"
|
|
276
|
+
},
|
|
277
|
+
{
|
|
278
|
+
"internalType": "uint256",
|
|
279
|
+
"name": "tokenId",
|
|
280
|
+
"type": "uint256"
|
|
281
|
+
},
|
|
282
|
+
{
|
|
283
|
+
"internalType": "bytes",
|
|
284
|
+
"name": "data",
|
|
285
|
+
"type": "bytes"
|
|
286
|
+
}
|
|
287
|
+
],
|
|
288
|
+
"name": "safeTransferFrom",
|
|
289
|
+
"outputs": [],
|
|
290
|
+
"stateMutability": "nonpayable",
|
|
291
|
+
"type": "function"
|
|
292
|
+
},
|
|
293
|
+
{
|
|
294
|
+
"inputs": [
|
|
295
|
+
{
|
|
296
|
+
"internalType": "address",
|
|
297
|
+
"name": "operator",
|
|
298
|
+
"type": "address"
|
|
299
|
+
},
|
|
300
|
+
{
|
|
301
|
+
"internalType": "bool",
|
|
302
|
+
"name": "approved",
|
|
303
|
+
"type": "bool"
|
|
304
|
+
}
|
|
305
|
+
],
|
|
306
|
+
"name": "setApprovalForAll",
|
|
307
|
+
"outputs": [],
|
|
308
|
+
"stateMutability": "nonpayable",
|
|
309
|
+
"type": "function"
|
|
310
|
+
},
|
|
311
|
+
{
|
|
312
|
+
"inputs": [
|
|
313
|
+
{
|
|
314
|
+
"internalType": "bytes4",
|
|
315
|
+
"name": "interfaceId",
|
|
316
|
+
"type": "bytes4"
|
|
317
|
+
}
|
|
318
|
+
],
|
|
319
|
+
"name": "supportsInterface",
|
|
320
|
+
"outputs": [
|
|
321
|
+
{
|
|
322
|
+
"internalType": "bool",
|
|
323
|
+
"name": "",
|
|
324
|
+
"type": "bool"
|
|
325
|
+
}
|
|
326
|
+
],
|
|
327
|
+
"stateMutability": "view",
|
|
328
|
+
"type": "function"
|
|
329
|
+
},
|
|
330
|
+
{
|
|
331
|
+
"inputs": [],
|
|
332
|
+
"name": "symbol",
|
|
333
|
+
"outputs": [
|
|
334
|
+
{
|
|
335
|
+
"internalType": "string",
|
|
336
|
+
"name": "",
|
|
337
|
+
"type": "string"
|
|
338
|
+
}
|
|
339
|
+
],
|
|
340
|
+
"stateMutability": "view",
|
|
341
|
+
"type": "function"
|
|
342
|
+
},
|
|
343
|
+
{
|
|
344
|
+
"inputs": [
|
|
345
|
+
{
|
|
346
|
+
"internalType": "uint256",
|
|
347
|
+
"name": "tokenId",
|
|
348
|
+
"type": "uint256"
|
|
349
|
+
}
|
|
350
|
+
],
|
|
351
|
+
"name": "tokenURI",
|
|
352
|
+
"outputs": [
|
|
353
|
+
{
|
|
354
|
+
"internalType": "string",
|
|
355
|
+
"name": "",
|
|
356
|
+
"type": "string"
|
|
357
|
+
}
|
|
358
|
+
],
|
|
359
|
+
"stateMutability": "view",
|
|
360
|
+
"type": "function"
|
|
361
|
+
},
|
|
362
|
+
{
|
|
363
|
+
"inputs": [
|
|
364
|
+
{
|
|
365
|
+
"internalType": "address",
|
|
366
|
+
"name": "from",
|
|
367
|
+
"type": "address"
|
|
368
|
+
},
|
|
369
|
+
{
|
|
370
|
+
"internalType": "address",
|
|
371
|
+
"name": "to",
|
|
372
|
+
"type": "address"
|
|
373
|
+
},
|
|
374
|
+
{
|
|
375
|
+
"internalType": "uint256",
|
|
376
|
+
"name": "tokenId",
|
|
377
|
+
"type": "uint256"
|
|
378
|
+
}
|
|
379
|
+
],
|
|
380
|
+
"name": "transferFrom",
|
|
381
|
+
"outputs": [],
|
|
382
|
+
"stateMutability": "nonpayable",
|
|
383
|
+
"type": "function"
|
|
384
|
+
}
|
|
385
|
+
],
|
|
386
|
+
"bytecode": "0x60806040523480156200001157600080fd5b50604051806040016040528060118152602001702a32b9ba1022a9219b9918902a37b5b2b760791b81525060405180604001604052806002815260200161151560f21b815250816000908162000068919062000125565b50600162000077828262000125565b505050620001f1565b634e487b7160e01b600052604160045260246000fd5b600181811c90821680620000ab57607f821691505b602082108103620000cc57634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200012057600081815260208120601f850160051c81016020861015620000fb5750805b601f850160051c820191505b818110156200011c5782815560010162000107565b5050505b505050565b81516001600160401b0381111562000141576200014162000080565b620001598162000152845462000096565b84620000d2565b602080601f831160018114620001915760008415620001785750858301515b600019600386901b1c1916600185901b1785556200011c565b600085815260208120601f198616915b82811015620001c257888601518255948401946001909101908401620001a1565b5085821015620001e15787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6115ec80620002016000396000f3fe608060405234801561001057600080fd5b50600436106101005760003560e01c806370a0823111610097578063b88d4fde11610066578063b88d4fde14610246578063c87b56dd14610259578063e985e9c51461026c578063f76f8d78146102a857600080fd5b806370a08231146101ce57806395d89b41146101ef578063a22cb465146101f7578063a3f4df7e1461020a57600080fd5b806323b872dd116100d357806323b872dd1461018257806340c10f191461019557806342842e0e146101a85780636352211e146101bb57600080fd5b806301ffc9a71461010557806306fdde031461012d578063081812fc14610142578063095ea7b31461016d575b600080fd5b610118610113366004611221565b6102e4565b60405190151581526020015b60405180910390f35b610135610381565b604051610124919061128e565b6101556101503660046112a1565b610413565b6040516001600160a01b039091168152602001610124565b61018061017b3660046112d6565b61043a565b005b610180610190366004611300565b61058e565b6101806101a33660046112d6565b610605565b6101806101b6366004611300565b610613565b6101556101c93660046112a1565b61062e565b6101e16101dc36600461133c565b610693565b604051908152602001610124565b61013561072d565b610180610205366004611357565b61073c565b6101356040518060400160405280601181526020017f546573742045524337323120546f6b656e00000000000000000000000000000081525081565b6101806102543660046113a9565b610747565b6101356102673660046112a1565b6107c5565b61011861027a366004611485565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b6101356040518060400160405280600281526020017f545400000000000000000000000000000000000000000000000000000000000081525081565b60006001600160e01b031982167f80ac58cd00000000000000000000000000000000000000000000000000000000148061034757506001600160e01b031982167f5b5e139f00000000000000000000000000000000000000000000000000000000145b8061037b57507f01ffc9a7000000000000000000000000000000000000000000000000000000006001600160e01b03198316145b92915050565b606060008054610390906114b8565b80601f01602080910402602001604051908101604052809291908181526020018280546103bc906114b8565b80156104095780601f106103de57610100808354040283529160200191610409565b820191906000526020600020905b8154815290600101906020018083116103ec57829003601f168201915b5050505050905090565b600061041e82610839565b506000908152600460205260409020546001600160a01b031690565b60006104458261062e565b9050806001600160a01b0316836001600160a01b0316036104d35760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560448201527f720000000000000000000000000000000000000000000000000000000000000060648201526084015b60405180910390fd5b336001600160a01b038216148061050d57506001600160a01b038116600090815260056020908152604080832033845290915290205460ff165b61057f5760405162461bcd60e51b815260206004820152603d60248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60448201527f6b656e206f776e6572206f7220617070726f76656420666f7220616c6c00000060648201526084016104ca565b61058983836108a0565b505050565b610598338261091b565b6105fa5760405162461bcd60e51b815260206004820152602d60248201527f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560448201526c1c881bdc88185c1c1c9bdd9959609a1b60648201526084016104ca565b61058983838361099a565b61060f8282610bad565b5050565b61058983838360405180602001604052806000815250610747565b6000818152600260205260408120546001600160a01b03168061037b5760405162461bcd60e51b815260206004820152601860248201527f4552433732313a20696e76616c696420746f6b656e204944000000000000000060448201526064016104ca565b60006001600160a01b0382166107115760405162461bcd60e51b815260206004820152602960248201527f4552433732313a2061646472657373207a65726f206973206e6f74206120766160448201527f6c6964206f776e6572000000000000000000000000000000000000000000000060648201526084016104ca565b506001600160a01b031660009081526003602052604090205490565b606060018054610390906114b8565b61060f338383610d53565b610751338361091b565b6107b35760405162461bcd60e51b815260206004820152602d60248201527f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560448201526c1c881bdc88185c1c1c9bdd9959609a1b60648201526084016104ca565b6107bf84848484610e21565b50505050565b60606107d082610839565b60006107e760408051602081019091526000815290565b905060008151116108075760405180602001604052806000815250610832565b8061081184610eaa565b6040516020016108229291906114f2565b6040516020818303038152906040525b9392505050565b6000818152600260205260409020546001600160a01b031661089d5760405162461bcd60e51b815260206004820152601860248201527f4552433732313a20696e76616c696420746f6b656e204944000000000000000060448201526064016104ca565b50565b6000818152600460205260409020805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b03841690811790915581906108e28261062e565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000806109278361062e565b9050806001600160a01b0316846001600160a01b0316148061096e57506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b806109925750836001600160a01b031661098784610413565b6001600160a01b0316145b949350505050565b826001600160a01b03166109ad8261062e565b6001600160a01b031614610a115760405162461bcd60e51b815260206004820152602560248201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060448201526437bbb732b960d91b60648201526084016104ca565b6001600160a01b038216610a8c5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f2061646460448201527f726573730000000000000000000000000000000000000000000000000000000060648201526084016104ca565b610a998383836001610f4a565b826001600160a01b0316610aac8261062e565b6001600160a01b031614610b105760405162461bcd60e51b815260206004820152602560248201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060448201526437bbb732b960d91b60648201526084016104ca565b6000818152600460209081526040808320805473ffffffffffffffffffffffffffffffffffffffff199081169091556001600160a01b0387811680865260038552838620805460001901905590871680865283862080546001019055868652600290945282852080549092168417909155905184937fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b6001600160a01b038216610c035760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f206164647265737360448201526064016104ca565b6000818152600260205260409020546001600160a01b031615610c685760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016104ca565b610c76600083836001610f4a565b6000818152600260205260409020546001600160a01b031615610cdb5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016104ca565b6001600160a01b0382166000818152600360209081526040808320805460010190558483526002909152808220805473ffffffffffffffffffffffffffffffffffffffff19168417905551839291907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b816001600160a01b0316836001600160a01b031603610db45760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c65720000000000000060448201526064016104ca565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b610e2c84848461099a565b610e3884848484610fd2565b6107bf5760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e746572000000000000000000000000000060648201526084016104ca565b60606000610eb783611129565b600101905060008167ffffffffffffffff811115610ed757610ed7611393565b6040519080825280601f01601f191660200182016040528015610f01576020820181803683370190505b5090508181016020015b600019017f3031323334353637383961626364656600000000000000000000000000000000600a86061a8153600a8504945084610f0b57509392505050565b60018111156107bf576001600160a01b03841615610f90576001600160a01b03841660009081526003602052604081208054839290610f8a908490611537565b90915550505b6001600160a01b038316156107bf576001600160a01b03831660009081526003602052604081208054839290610fc790849061154a565b909155505050505050565b60006001600160a01b0384163b1561111e57604051630a85bd0160e11b81526001600160a01b0385169063150b7a029061101690339089908890889060040161155d565b6020604051808303816000875af1925050508015611051575060408051601f3d908101601f1916820190925261104e91810190611599565b60015b611104573d80801561107f576040519150601f19603f3d011682016040523d82523d6000602084013e611084565b606091505b5080516000036110fc5760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e746572000000000000000000000000000060648201526084016104ca565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050610992565b506001949350505050565b6000807a184f03e93ff9f4daa797ed6e38ed64bf6a1f0100000000000000008310611172577a184f03e93ff9f4daa797ed6e38ed64bf6a1f010000000000000000830492506040015b6d04ee2d6d415b85acef8100000000831061119e576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc1000083106111bc57662386f26fc10000830492506010015b6305f5e10083106111d4576305f5e100830492506008015b61271083106111e857612710830492506004015b606483106111fa576064830492506002015b600a831061037b5760010192915050565b6001600160e01b03198116811461089d57600080fd5b60006020828403121561123357600080fd5b81356108328161120b565b60005b83811015611259578181015183820152602001611241565b50506000910152565b6000815180845261127a81602086016020860161123e565b601f01601f19169290920160200192915050565b6020815260006108326020830184611262565b6000602082840312156112b357600080fd5b5035919050565b80356001600160a01b03811681146112d157600080fd5b919050565b600080604083850312156112e957600080fd5b6112f2836112ba565b946020939093013593505050565b60008060006060848603121561131557600080fd5b61131e846112ba565b925061132c602085016112ba565b9150604084013590509250925092565b60006020828403121561134e57600080fd5b610832826112ba565b6000806040838503121561136a57600080fd5b611373836112ba565b91506020830135801515811461138857600080fd5b809150509250929050565b634e487b7160e01b600052604160045260246000fd5b600080600080608085870312156113bf57600080fd5b6113c8856112ba565b93506113d6602086016112ba565b925060408501359150606085013567ffffffffffffffff808211156113fa57600080fd5b818701915087601f83011261140e57600080fd5b81358181111561142057611420611393565b604051601f8201601f19908116603f0116810190838211818310171561144857611448611393565b816040528281528a602084870101111561146157600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b6000806040838503121561149857600080fd5b6114a1836112ba565b91506114af602084016112ba565b90509250929050565b600181811c908216806114cc57607f821691505b6020821081036114ec57634e487b7160e01b600052602260045260246000fd5b50919050565b6000835161150481846020880161123e565b83519083019061151881836020880161123e565b01949350505050565b634e487b7160e01b600052601160045260246000fd5b8181038181111561037b5761037b611521565b8082018082111561037b5761037b611521565b60006001600160a01b0380871683528086166020840152508360408301526080606083015261158f6080830184611262565b9695505050505050565b6000602082840312156115ab57600080fd5b81516108328161120b56fea2646970667358221220643f8f8ddc5da7086f3afbc64d22218f6b04f736465d09b27e70688b206ae3d864736f6c63430008110033",
|
|
387
|
+
"deployedBytecode": "0x608060405234801561001057600080fd5b50600436106101005760003560e01c806370a0823111610097578063b88d4fde11610066578063b88d4fde14610246578063c87b56dd14610259578063e985e9c51461026c578063f76f8d78146102a857600080fd5b806370a08231146101ce57806395d89b41146101ef578063a22cb465146101f7578063a3f4df7e1461020a57600080fd5b806323b872dd116100d357806323b872dd1461018257806340c10f191461019557806342842e0e146101a85780636352211e146101bb57600080fd5b806301ffc9a71461010557806306fdde031461012d578063081812fc14610142578063095ea7b31461016d575b600080fd5b610118610113366004611221565b6102e4565b60405190151581526020015b60405180910390f35b610135610381565b604051610124919061128e565b6101556101503660046112a1565b610413565b6040516001600160a01b039091168152602001610124565b61018061017b3660046112d6565b61043a565b005b610180610190366004611300565b61058e565b6101806101a33660046112d6565b610605565b6101806101b6366004611300565b610613565b6101556101c93660046112a1565b61062e565b6101e16101dc36600461133c565b610693565b604051908152602001610124565b61013561072d565b610180610205366004611357565b61073c565b6101356040518060400160405280601181526020017f546573742045524337323120546f6b656e00000000000000000000000000000081525081565b6101806102543660046113a9565b610747565b6101356102673660046112a1565b6107c5565b61011861027a366004611485565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b6101356040518060400160405280600281526020017f545400000000000000000000000000000000000000000000000000000000000081525081565b60006001600160e01b031982167f80ac58cd00000000000000000000000000000000000000000000000000000000148061034757506001600160e01b031982167f5b5e139f00000000000000000000000000000000000000000000000000000000145b8061037b57507f01ffc9a7000000000000000000000000000000000000000000000000000000006001600160e01b03198316145b92915050565b606060008054610390906114b8565b80601f01602080910402602001604051908101604052809291908181526020018280546103bc906114b8565b80156104095780601f106103de57610100808354040283529160200191610409565b820191906000526020600020905b8154815290600101906020018083116103ec57829003601f168201915b5050505050905090565b600061041e82610839565b506000908152600460205260409020546001600160a01b031690565b60006104458261062e565b9050806001600160a01b0316836001600160a01b0316036104d35760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560448201527f720000000000000000000000000000000000000000000000000000000000000060648201526084015b60405180910390fd5b336001600160a01b038216148061050d57506001600160a01b038116600090815260056020908152604080832033845290915290205460ff165b61057f5760405162461bcd60e51b815260206004820152603d60248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60448201527f6b656e206f776e6572206f7220617070726f76656420666f7220616c6c00000060648201526084016104ca565b61058983836108a0565b505050565b610598338261091b565b6105fa5760405162461bcd60e51b815260206004820152602d60248201527f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560448201526c1c881bdc88185c1c1c9bdd9959609a1b60648201526084016104ca565b61058983838361099a565b61060f8282610bad565b5050565b61058983838360405180602001604052806000815250610747565b6000818152600260205260408120546001600160a01b03168061037b5760405162461bcd60e51b815260206004820152601860248201527f4552433732313a20696e76616c696420746f6b656e204944000000000000000060448201526064016104ca565b60006001600160a01b0382166107115760405162461bcd60e51b815260206004820152602960248201527f4552433732313a2061646472657373207a65726f206973206e6f74206120766160448201527f6c6964206f776e6572000000000000000000000000000000000000000000000060648201526084016104ca565b506001600160a01b031660009081526003602052604090205490565b606060018054610390906114b8565b61060f338383610d53565b610751338361091b565b6107b35760405162461bcd60e51b815260206004820152602d60248201527f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560448201526c1c881bdc88185c1c1c9bdd9959609a1b60648201526084016104ca565b6107bf84848484610e21565b50505050565b60606107d082610839565b60006107e760408051602081019091526000815290565b905060008151116108075760405180602001604052806000815250610832565b8061081184610eaa565b6040516020016108229291906114f2565b6040516020818303038152906040525b9392505050565b6000818152600260205260409020546001600160a01b031661089d5760405162461bcd60e51b815260206004820152601860248201527f4552433732313a20696e76616c696420746f6b656e204944000000000000000060448201526064016104ca565b50565b6000818152600460205260409020805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b03841690811790915581906108e28261062e565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000806109278361062e565b9050806001600160a01b0316846001600160a01b0316148061096e57506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b806109925750836001600160a01b031661098784610413565b6001600160a01b0316145b949350505050565b826001600160a01b03166109ad8261062e565b6001600160a01b031614610a115760405162461bcd60e51b815260206004820152602560248201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060448201526437bbb732b960d91b60648201526084016104ca565b6001600160a01b038216610a8c5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f2061646460448201527f726573730000000000000000000000000000000000000000000000000000000060648201526084016104ca565b610a998383836001610f4a565b826001600160a01b0316610aac8261062e565b6001600160a01b031614610b105760405162461bcd60e51b815260206004820152602560248201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060448201526437bbb732b960d91b60648201526084016104ca565b6000818152600460209081526040808320805473ffffffffffffffffffffffffffffffffffffffff199081169091556001600160a01b0387811680865260038552838620805460001901905590871680865283862080546001019055868652600290945282852080549092168417909155905184937fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b6001600160a01b038216610c035760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f206164647265737360448201526064016104ca565b6000818152600260205260409020546001600160a01b031615610c685760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016104ca565b610c76600083836001610f4a565b6000818152600260205260409020546001600160a01b031615610cdb5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016104ca565b6001600160a01b0382166000818152600360209081526040808320805460010190558483526002909152808220805473ffffffffffffffffffffffffffffffffffffffff19168417905551839291907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b816001600160a01b0316836001600160a01b031603610db45760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c65720000000000000060448201526064016104ca565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b610e2c84848461099a565b610e3884848484610fd2565b6107bf5760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e746572000000000000000000000000000060648201526084016104ca565b60606000610eb783611129565b600101905060008167ffffffffffffffff811115610ed757610ed7611393565b6040519080825280601f01601f191660200182016040528015610f01576020820181803683370190505b5090508181016020015b600019017f3031323334353637383961626364656600000000000000000000000000000000600a86061a8153600a8504945084610f0b57509392505050565b60018111156107bf576001600160a01b03841615610f90576001600160a01b03841660009081526003602052604081208054839290610f8a908490611537565b90915550505b6001600160a01b038316156107bf576001600160a01b03831660009081526003602052604081208054839290610fc790849061154a565b909155505050505050565b60006001600160a01b0384163b1561111e57604051630a85bd0160e11b81526001600160a01b0385169063150b7a029061101690339089908890889060040161155d565b6020604051808303816000875af1925050508015611051575060408051601f3d908101601f1916820190925261104e91810190611599565b60015b611104573d80801561107f576040519150601f19603f3d011682016040523d82523d6000602084013e611084565b606091505b5080516000036110fc5760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e746572000000000000000000000000000060648201526084016104ca565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050610992565b506001949350505050565b6000807a184f03e93ff9f4daa797ed6e38ed64bf6a1f0100000000000000008310611172577a184f03e93ff9f4daa797ed6e38ed64bf6a1f010000000000000000830492506040015b6d04ee2d6d415b85acef8100000000831061119e576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc1000083106111bc57662386f26fc10000830492506010015b6305f5e10083106111d4576305f5e100830492506008015b61271083106111e857612710830492506004015b606483106111fa576064830492506002015b600a831061037b5760010192915050565b6001600160e01b03198116811461089d57600080fd5b60006020828403121561123357600080fd5b81356108328161120b565b60005b83811015611259578181015183820152602001611241565b50506000910152565b6000815180845261127a81602086016020860161123e565b601f01601f19169290920160200192915050565b6020815260006108326020830184611262565b6000602082840312156112b357600080fd5b5035919050565b80356001600160a01b03811681146112d157600080fd5b919050565b600080604083850312156112e957600080fd5b6112f2836112ba565b946020939093013593505050565b60008060006060848603121561131557600080fd5b61131e846112ba565b925061132c602085016112ba565b9150604084013590509250925092565b60006020828403121561134e57600080fd5b610832826112ba565b6000806040838503121561136a57600080fd5b611373836112ba565b91506020830135801515811461138857600080fd5b809150509250929050565b634e487b7160e01b600052604160045260246000fd5b600080600080608085870312156113bf57600080fd5b6113c8856112ba565b93506113d6602086016112ba565b925060408501359150606085013567ffffffffffffffff808211156113fa57600080fd5b818701915087601f83011261140e57600080fd5b81358181111561142057611420611393565b604051601f8201601f19908116603f0116810190838211818310171561144857611448611393565b816040528281528a602084870101111561146157600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b6000806040838503121561149857600080fd5b6114a1836112ba565b91506114af602084016112ba565b90509250929050565b600181811c908216806114cc57607f821691505b6020821081036114ec57634e487b7160e01b600052602260045260246000fd5b50919050565b6000835161150481846020880161123e565b83519083019061151881836020880161123e565b01949350505050565b634e487b7160e01b600052601160045260246000fd5b8181038181111561037b5761037b611521565b8082018082111561037b5761037b611521565b60006001600160a01b0380871683528086166020840152508360408301526080606083015261158f6080830184611262565b9695505050505050565b6000602082840312156115ab57600080fd5b81516108328161120b56fea2646970667358221220643f8f8ddc5da7086f3afbc64d22218f6b04f736465d09b27e70688b206ae3d864736f6c63430008110033",
|
|
388
|
+
"linkReferences": {},
|
|
389
|
+
"deployedLinkReferences": {}
|
|
390
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
{
|
|
2
|
+
"_format": "hh-sol-artifact-1",
|
|
3
|
+
"contractName": "TestEcdsaLib",
|
|
4
|
+
"sourceName": "contracts/test/TestEcdsaLib.sol",
|
|
5
|
+
"abi": [
|
|
6
|
+
{
|
|
7
|
+
"inputs": [
|
|
8
|
+
{
|
|
9
|
+
"internalType": "bytes32",
|
|
10
|
+
"name": "x",
|
|
11
|
+
"type": "bytes32"
|
|
12
|
+
},
|
|
13
|
+
{
|
|
14
|
+
"internalType": "bytes32",
|
|
15
|
+
"name": "y",
|
|
16
|
+
"type": "bytes32"
|
|
17
|
+
}
|
|
18
|
+
],
|
|
19
|
+
"name": "compressPublicKey",
|
|
20
|
+
"outputs": [
|
|
21
|
+
{
|
|
22
|
+
"internalType": "bytes",
|
|
23
|
+
"name": "",
|
|
24
|
+
"type": "bytes"
|
|
25
|
+
}
|
|
26
|
+
],
|
|
27
|
+
"stateMutability": "pure",
|
|
28
|
+
"type": "function"
|
|
29
|
+
}
|
|
30
|
+
],
|
|
31
|
+
"bytecode": "0x608060405234801561001057600080fd5b506101fa806100206000396000f3fe608060405234801561001057600080fd5b506004361061002b5760003560e01c806366ee38f114610030575b600080fd5b61004361003e366004610119565b610059565b604051610050919061013b565b60405180910390f35b6060610065838361006c565b9392505050565b6060600061007b600284610189565b6000036100a957507f02000000000000000000000000000000000000000000000000000000000000006100cc565b507f03000000000000000000000000000000000000000000000000000000000000005b6040517fff00000000000000000000000000000000000000000000000000000000000000821660208201526021810185905260410160405160208183030381529060405291505092915050565b6000806040838503121561012c57600080fd5b50508035926020909101359150565b600060208083528351808285015260005b818110156101685785810183015185820160400152820161014c565b506000604082860101526040601f19601f8301168501019250505092915050565b6000826101bf577f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b50069056fea264697066735822122038adba65c4db3d7afb309cf8416fe8e87c7741a406200885710c68f941b584f064736f6c63430008110033",
|
|
32
|
+
"deployedBytecode": "0x608060405234801561001057600080fd5b506004361061002b5760003560e01c806366ee38f114610030575b600080fd5b61004361003e366004610119565b610059565b604051610050919061013b565b60405180910390f35b6060610065838361006c565b9392505050565b6060600061007b600284610189565b6000036100a957507f02000000000000000000000000000000000000000000000000000000000000006100cc565b507f03000000000000000000000000000000000000000000000000000000000000005b6040517fff00000000000000000000000000000000000000000000000000000000000000821660208201526021810185905260410160405160208183030381529060405291505092915050565b6000806040838503121561012c57600080fd5b50508035926020909101359150565b600060208083528351808285015260005b818110156101685785810183015185820160400152820161014c565b506000604082860101526040601f19601f8301168501019250505092915050565b6000826101bf577f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b50069056fea264697066735822122038adba65c4db3d7afb309cf8416fe8e87c7741a406200885710c68f941b584f064736f6c63430008110033",
|
|
33
|
+
"linkReferences": {},
|
|
34
|
+
"deployedLinkReferences": {}
|
|
35
|
+
}
|