@argonprotocol/mainchain 1.5.2-dev.aad85636 → 1.5.2-dev.b031c548

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.
Files changed (38) hide show
  1. package/README.md +87 -0
  2. package/browser/artifacts/contracts/ArgonBuyAndTransfer.sol/ArgonBuyAndTransfer.json +439 -0
  3. package/browser/artifacts/contracts/ArgonToken.sol/ArgonToken.json +11 -11
  4. package/browser/artifacts/contracts/ArgonotToken.sol/ArgonotToken.json +11 -11
  5. package/browser/artifacts/contracts/MintingGateway.sol/MintingGateway.json +319 -16
  6. package/browser/artifacts/contracts/ProxyArtifacts.sol/ProxyAdmin.json +3 -3
  7. package/browser/artifacts/contracts/ProxyArtifacts.sol/TransparentUpgradeableProxy.json +4 -4
  8. package/browser/artifacts/contracts/StabilizationPoolHook.sol/StabilizationPoolHook.json +699 -0
  9. package/browser/artifacts/contracts/StabilizationPoolSubscriber.sol/StabilizationPoolSubscriber.json +187 -0
  10. package/browser/artifacts/contracts/UniswapV4PriceQuoter.sol/UniswapV4PriceQuoter.json +391 -0
  11. package/browser/index.d.ts +5031 -461
  12. package/browser/index.js +4852 -1346
  13. package/browser/index.js.map +1 -1
  14. package/lib/artifacts/contracts/ArgonBuyAndTransfer.sol/ArgonBuyAndTransfer.json +439 -0
  15. package/lib/artifacts/contracts/ArgonToken.sol/ArgonToken.json +11 -11
  16. package/lib/artifacts/contracts/ArgonotToken.sol/ArgonotToken.json +11 -11
  17. package/lib/artifacts/contracts/MintingGateway.sol/MintingGateway.json +319 -16
  18. package/lib/artifacts/contracts/ProxyArtifacts.sol/ProxyAdmin.json +3 -3
  19. package/lib/artifacts/contracts/ProxyArtifacts.sol/TransparentUpgradeableProxy.json +4 -4
  20. package/lib/artifacts/contracts/StabilizationPoolHook.sol/StabilizationPoolHook.json +699 -0
  21. package/lib/artifacts/contracts/StabilizationPoolSubscriber.sol/StabilizationPoolSubscriber.json +187 -0
  22. package/lib/artifacts/contracts/UniswapV4PriceQuoter.sol/UniswapV4PriceQuoter.json +391 -0
  23. package/lib/index.cjs +4430 -949
  24. package/lib/index.cjs.map +1 -1
  25. package/lib/index.d.cts +5031 -461
  26. package/lib/index.d.ts +5031 -461
  27. package/lib/index.js +4454 -973
  28. package/lib/index.js.map +1 -1
  29. package/package.json +8 -7
  30. package/src/interfaces/augment-api-consts.ts +67 -0
  31. package/src/interfaces/augment-api-errors.ts +135 -1
  32. package/src/interfaces/augment-api-events.ts +132 -2
  33. package/src/interfaces/augment-api-query.ts +218 -5
  34. package/src/interfaces/augment-api-rpc.ts +0 -1
  35. package/src/interfaces/augment-api-tx.ts +134 -27
  36. package/src/interfaces/lookup.ts +697 -266
  37. package/src/interfaces/registry.ts +60 -4
  38. package/src/interfaces/types-lookup.ts +762 -279
package/README.md CHANGED
@@ -53,3 +53,90 @@ interface IArgonCpiSnapshot {
53
53
  tick: bigint;
54
54
  }
55
55
  ```
56
+
57
+ ## Ethereum Beacon Sync
58
+
59
+ Pass an execution source when building beacon sync or bootstrap transactions:
60
+
61
+ ```ts
62
+ const transactions = await getNextEthereumBeaconSyncTxs(client, beaconApiUrl, {
63
+ executionRpcUrl,
64
+ });
65
+ ```
66
+
67
+ Gloas light-client headers contain an execution block hash rather than a payload header. The
68
+ execution RPC supplies the matching header bytes, which the client checks against that hash.
69
+ Original pre-Gloas payload-header responses can omit the execution source. Historical headers
70
+ upgraded to the hash-only format also need it. `getEthereumBeaconSyncBootstrapTx` accepts the same
71
+ third argument.
72
+
73
+ Existing verifier state migrates with Gloas disabled. Once its version and epoch are known,
74
+ governance can call `setGloasFork` as root without resetting the checkpoint, committees, or anchors.
75
+ That call preserves earlier forks and rejects changes to finalized Gloas history.
76
+
77
+ ## Gateway Activity Proof Flow
78
+
79
+ Discovery, storage-witness capture, and relay preparation are separate operations. Apps own caching,
80
+ scheduling, RPC fallback, and submission:
81
+
82
+ 1. Call `discoverMissingGatewayActivityLocators(...)` with a finalized execution block number plus
83
+ the minimum gateway activity nonce you care about. If you already cache finalized locators, pass
84
+ `afterLocatorIndex` to fetch only the new suffix.
85
+ 2. Cache those finalized locator blocks in the app as you collect them.
86
+ 3. If `supportsGatewayActivityStorageProofs(client)` is true, call
87
+ `captureGatewayActivityStorageProofs(...)` against a recent, mined execution block while the RPC
88
+ still has its state. This operation needs no Argon client or retained anchor. It captures the
89
+ selected slots in one `eth_getProof` request and verifies them against that block's state root.
90
+ 4. Cache the returned enriched locator records in the app. Their witness block may not be finalized
91
+ yet; keep the finalized locator records separately so a witness can be replaced after a reorg.
92
+ 5. Call `buildGatewayActivityProof(...)` with cached captures for storage runtimes, or plain
93
+ discovered locators for receipt-only runtimes. It prefers storage when supported, selects the
94
+ closest retained anchor, and attaches the bounded ancestry path. Storage relay preparation does
95
+ not refetch witnesses, logs, or contract state. Each payload proves one complete locator.
96
+ 6. Submit receipt payloads to `proveGatewayActivity(...)` and storage payloads (identified by
97
+ `locatorIndex` in `payload.proof`) to `proveGatewayActivityStorage(...)`. Keep any
98
+ `deferredLocators` for a later attempt. Replace captures listed in `recaptureLocators` using a
99
+ newer execution block: they are orphaned or outside the retained anchor's ancestry bound.
100
+
101
+ For explicit proof selection, use `buildGatewayActivityReceiptProofPayloads(...)` with discovered
102
+ locators or `buildGatewayActivityStorageProofs(...)` with captured locators. Capabilities are
103
+ independent; a runtime may accept either format.
104
+
105
+ ```ts
106
+ const captures = await captureGatewayActivityStorageProofs({
107
+ executionClient,
108
+ executionBlock: await executionClient.getBlock({ blockTag: 'latest' }),
109
+ gatewayAddress,
110
+ locators,
111
+ });
112
+ // Persist captures in the app, then prepare relay transactions when anchors become available.
113
+ const result = await buildGatewayActivityProof(client, {
114
+ executionClient,
115
+ gatewayAddress,
116
+ locators: captures,
117
+ });
118
+ ```
119
+
120
+ Storage proofs include the full locator's activity logs and its `activityRootSeed`, even when the
121
+ last proven nonce falls inside that locator. Only `payload.activities` and
122
+ `payload.gatewayActivityNonceRange` describe the newly applied suffix. No bootstrap call or stored
123
+ last-locator hash is needed.
124
+
125
+ Receipt inclusion alone does not make a log the next gateway activity. Undecodable or unrelated
126
+ gateway logs are rejected without pausing synchronization; decoded activities must have the next
127
+ contiguous nonce. A valid next activity that conflicts with local business state can pause syncing.
128
+ After repairing that state, an operator can unpause and rebuild from the current nonce. Storage
129
+ proofs still authenticate the full locator, but do not apply its already-consumed prefix again. If
130
+ expiry cleanup failed after the final activity was committed, unpause alone does not retry it: the
131
+ next successfully processed activity block retries cleanup at its authenticated block boundary.
132
+
133
+ Deferred locators are waiting for missing predecessors or an execution anchor. A locator that
134
+ exceeds the runtime's proof capacity is a configuration/support error, not deferred work: waiting
135
+ cannot make it fit. This flow targets the contract with its 128-activity per-block cap. The pallet's
136
+ integrity checks cover that hard cap, maximum-size events, encoded proof bytes, and provider
137
+ weights.
138
+
139
+ The client library does not keep a long-lived locator or witness cache. App-side code should own it,
140
+ scoped to the range between the last proven gateway locator and the latest collected finalized
141
+ Ethereum block. Keep locators whose blocks are not yet anchored on Argon, and pass the cached
142
+ locators into both gateway proof building and execution-header backfill planning.
@@ -0,0 +1,439 @@
1
+ {
2
+ "_format": "hh3-artifact-1",
3
+ "contractName": "ArgonBuyAndTransfer",
4
+ "sourceName": "contracts/ArgonBuyAndTransfer.sol",
5
+ "abi": [
6
+ {
7
+ "inputs": [
8
+ {
9
+ "internalType": "address",
10
+ "name": "usdcAddress",
11
+ "type": "address"
12
+ },
13
+ {
14
+ "internalType": "address",
15
+ "name": "argonAddress",
16
+ "type": "address"
17
+ },
18
+ {
19
+ "internalType": "address",
20
+ "name": "gatewayAddress",
21
+ "type": "address"
22
+ },
23
+ {
24
+ "internalType": "address",
25
+ "name": "routerAddress",
26
+ "type": "address"
27
+ },
28
+ {
29
+ "internalType": "address",
30
+ "name": "permit2Address",
31
+ "type": "address"
32
+ }
33
+ ],
34
+ "stateMutability": "nonpayable",
35
+ "type": "constructor"
36
+ },
37
+ {
38
+ "inputs": [],
39
+ "name": "InsufficientOutput",
40
+ "type": "error"
41
+ },
42
+ {
43
+ "inputs": [],
44
+ "name": "InvalidPool",
45
+ "type": "error"
46
+ },
47
+ {
48
+ "inputs": [],
49
+ "name": "InvalidRequest",
50
+ "type": "error"
51
+ },
52
+ {
53
+ "inputs": [],
54
+ "name": "PurchaseTooSmall",
55
+ "type": "error"
56
+ },
57
+ {
58
+ "inputs": [],
59
+ "name": "ReentrancyGuardReentrantCall",
60
+ "type": "error"
61
+ },
62
+ {
63
+ "inputs": [
64
+ {
65
+ "internalType": "uint8",
66
+ "name": "bits",
67
+ "type": "uint8"
68
+ },
69
+ {
70
+ "internalType": "uint256",
71
+ "name": "value",
72
+ "type": "uint256"
73
+ }
74
+ ],
75
+ "name": "SafeCastOverflowedUintDowncast",
76
+ "type": "error"
77
+ },
78
+ {
79
+ "inputs": [
80
+ {
81
+ "internalType": "address",
82
+ "name": "token",
83
+ "type": "address"
84
+ }
85
+ ],
86
+ "name": "SafeERC20FailedOperation",
87
+ "type": "error"
88
+ },
89
+ {
90
+ "inputs": [],
91
+ "name": "argon",
92
+ "outputs": [
93
+ {
94
+ "internalType": "contract IERC20",
95
+ "name": "",
96
+ "type": "address"
97
+ }
98
+ ],
99
+ "stateMutability": "view",
100
+ "type": "function"
101
+ },
102
+ {
103
+ "inputs": [
104
+ {
105
+ "components": [
106
+ {
107
+ "internalType": "bytes32",
108
+ "name": "argonAccountId",
109
+ "type": "bytes32"
110
+ },
111
+ {
112
+ "internalType": "uint128",
113
+ "name": "maxUsdcIn",
114
+ "type": "uint128"
115
+ },
116
+ {
117
+ "internalType": "uint128",
118
+ "name": "minMicrogonsOut",
119
+ "type": "uint128"
120
+ },
121
+ {
122
+ "internalType": "uint256",
123
+ "name": "deadline",
124
+ "type": "uint256"
125
+ }
126
+ ],
127
+ "internalType": "struct ArgonBuyAndTransfer.Request",
128
+ "name": "request",
129
+ "type": "tuple"
130
+ },
131
+ {
132
+ "components": [
133
+ {
134
+ "internalType": "Currency",
135
+ "name": "currency0",
136
+ "type": "address"
137
+ },
138
+ {
139
+ "internalType": "Currency",
140
+ "name": "currency1",
141
+ "type": "address"
142
+ },
143
+ {
144
+ "internalType": "uint24",
145
+ "name": "fee",
146
+ "type": "uint24"
147
+ },
148
+ {
149
+ "internalType": "int24",
150
+ "name": "tickSpacing",
151
+ "type": "int24"
152
+ },
153
+ {
154
+ "internalType": "contract IHooks",
155
+ "name": "hooks",
156
+ "type": "address"
157
+ }
158
+ ],
159
+ "internalType": "struct PoolKey",
160
+ "name": "key",
161
+ "type": "tuple"
162
+ },
163
+ {
164
+ "internalType": "bytes",
165
+ "name": "hookData",
166
+ "type": "bytes"
167
+ }
168
+ ],
169
+ "name": "buyAndTransfer",
170
+ "outputs": [
171
+ {
172
+ "internalType": "uint128",
173
+ "name": "microgons",
174
+ "type": "uint128"
175
+ },
176
+ {
177
+ "internalType": "uint64",
178
+ "name": "activityNonce",
179
+ "type": "uint64"
180
+ }
181
+ ],
182
+ "stateMutability": "nonpayable",
183
+ "type": "function"
184
+ },
185
+ {
186
+ "inputs": [],
187
+ "name": "gateway",
188
+ "outputs": [
189
+ {
190
+ "internalType": "contract MintingGateway",
191
+ "name": "",
192
+ "type": "address"
193
+ }
194
+ ],
195
+ "stateMutability": "view",
196
+ "type": "function"
197
+ },
198
+ {
199
+ "inputs": [],
200
+ "name": "permit2",
201
+ "outputs": [
202
+ {
203
+ "internalType": "contract IAllowanceTransfer",
204
+ "name": "",
205
+ "type": "address"
206
+ }
207
+ ],
208
+ "stateMutability": "view",
209
+ "type": "function"
210
+ },
211
+ {
212
+ "inputs": [],
213
+ "name": "poolManager",
214
+ "outputs": [
215
+ {
216
+ "internalType": "contract IPoolManager",
217
+ "name": "",
218
+ "type": "address"
219
+ }
220
+ ],
221
+ "stateMutability": "view",
222
+ "type": "function"
223
+ },
224
+ {
225
+ "inputs": [],
226
+ "name": "router",
227
+ "outputs": [
228
+ {
229
+ "internalType": "contract IUniversalRouter",
230
+ "name": "",
231
+ "type": "address"
232
+ }
233
+ ],
234
+ "stateMutability": "view",
235
+ "type": "function"
236
+ },
237
+ {
238
+ "inputs": [],
239
+ "name": "usdc",
240
+ "outputs": [
241
+ {
242
+ "internalType": "contract IERC20",
243
+ "name": "",
244
+ "type": "address"
245
+ }
246
+ ],
247
+ "stateMutability": "view",
248
+ "type": "function"
249
+ }
250
+ ],
251
+ "bytecode": "0x610140604052348015610010575f5ffd5b50604051611d03380380611d0383398101604081905261002f91610108565b60017f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f00556001600160a01b0380861660805284811660a05283811660c05282811660e0819052908216610100526040805163dc4c90d360e01b8152905163dc4c90d3916004808201926020929091908290030181865afa1580156100b5573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906100d99190610179565b6001600160a01b0316610120525061019b9350505050565b6001600160a01b0381168114610105575f5ffd5b50565b5f5f5f5f5f60a0868803121561011c575f5ffd5b8551610127816100f1565b6020870151909550610138816100f1565b6040870151909450610149816100f1565b606087015190935061015a816100f1565b608087015190925061016b816100f1565b809150509295509295909350565b5f60208284031215610189575f5ffd5b8151610194816100f1565b9392505050565b60805160a05160c05160e0516101005161012051611a266102dd5f395f8181610177015281816104ec01528181610537015261087801525f8181610102015281816106f80152818161076b0152818161092101526109ab01525f818161019e015281816107b3015281816108ec015261123101525f818160c30152818161025401528181610bc50152610c0101525f81816101290152818161031d0152818161036a015281816104190152818161063801528181610aa601528181610ba301528181610cda01528181610f92015261114e01525f81816101500152818161034001528181610390015281816103f3015281816104c4015281816105a5015281816106c20152818161073101528181610792015281816108c401528181610987015281816109f101528181610c8d01528181610fbc01526110c70152611a265ff3fe608060405234801561000f575f5ffd5b506004361061007a575f3560e01c80632df460af116100585780632df460af146101245780633e413bee1461014b578063dc4c90d314610172578063f887ea4014610199575f5ffd5b80630936e2611461007e578063116191b6146100be57806312261ee7146100fd575b5f5ffd5b61009161008c3660046114c5565b6101c0565b604080516001600160801b03909316835267ffffffffffffffff9091166020830152015b60405180910390f35b6100e57f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b0390911681526020016100b5565b6100e57f000000000000000000000000000000000000000000000000000000000000000081565b6100e57f000000000000000000000000000000000000000000000000000000000000000081565b6100e57f000000000000000000000000000000000000000000000000000000000000000081565b6100e57f000000000000000000000000000000000000000000000000000000000000000081565b6100e57f000000000000000000000000000000000000000000000000000000000000000081565b5f5f6101ca610d39565b853515806101ee57506101e36040870160208801611578565b6001600160801b0316155b8061020f57506102046060870160408801611578565b6001600160801b0316155b1561022d576040516341abc80160e01b815260040160405180910390fd5b4286606001351015610252576040516341abc80160e01b815260040160405180910390fd5b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316636c548b9a6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156102ae573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906102d2919061159a565b6001600160801b03166102eb6060880160408901611578565b6001600160801b03161015610313576040516391e88d6160e01b815260040160405180910390fd5b6001600160a01b037f000000000000000000000000000000000000000000000000000000000000000081167f0000000000000000000000000000000000000000000000000000000000000000909116108061038e577f00000000000000000000000000000000000000000000000000000000000000006103b0565b7f00000000000000000000000000000000000000000000000000000000000000005b6001600160a01b03166103c660208801886115d9565b6001600160a01b0316146103ec5760405162820f3560e61b815260040160405180910390fd5b80610417577f0000000000000000000000000000000000000000000000000000000000000000610439565b7f00000000000000000000000000000000000000000000000000000000000000005b6001600160a01b031661045260408801602089016115d9565b6001600160a01b0316146104785760405162820f3560e61b815260040160405180910390fd5b5060408051610140810182525f8082526080820181905260a0820181905260e0820181905261010082018190526101208201523360208201528735918101919091526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000811660608301527f00000000000000000000000000000000000000000000000000000000000000001660c082015261052a61052336889003880188611617565b60a0902090565b60e0820181905261055c907f000000000000000000000000000000000000000000000000000000000000000090610d67565b5050506001600160a01b031661010082018190525f0361058e5760405162820f3560e61b815260040160405180910390fd5b6040516370a0823160e01b81523060048201525f907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906370a0823190602401602060405180830381865afa1580156105f2573d5f5f3e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061061691906116b1565b6040516370a0823160e01b81523060048201529091505f906001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016906370a0823190602401602060405180830381865afa15801561067d573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906106a191906116b1565b90506106f333306106b860408d0160208e01611578565b6001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169291906001600160801b0316610e19565b6107617f000000000000000000000000000000000000000000000000000000000000000061072760408c0160208d01611578565b6001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001691906001600160801b0316610e5a565b6001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000166387517c457f00000000000000000000000000000000000000000000000000000000000000007f00000000000000000000000000000000000000000000000000000000000000006107e260408e0160208f01611578565b6107ef8e60600135610ed9565b6040516001600160e01b031960e087901b1681526001600160a01b0394851660048201529390921660248401526001600160801b0316604483015265ffffffffffff1660648201526084015f604051808303815f87803b158015610851575f5ffd5b505af1158015610863573d5f5f3e3d5ffd5b5050505061087389898989610f0f565b6108a17f00000000000000000000000000000000000000000000000000000000000000008460e00151610d67565b5050506001600160a01b039081166101208501526040516387517c4560e01b81527f0000000000000000000000000000000000000000000000000000000000000000821660048201527f0000000000000000000000000000000000000000000000000000000000000000821660248201525f6044820181905260648201527f0000000000000000000000000000000000000000000000000000000000000000909116906387517c45906084015f604051808303815f87803b158015610964575f5ffd5b505af1158015610976573d5f5f3e3d5ffd5b506109d09250506001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001690507f00000000000000000000000000000000000000000000000000000000000000005f610e5a565b6040516370a0823160e01b81523060048201525f9083906001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016906370a0823190602401602060405180830381865afa158015610a36573d5f5f3e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a5a91906116b1565b610a6491906116dc565b905080610a7760408c0160208d01611578565b6001600160801b0316610a8a91906116dc565b60808501526040516370a0823160e01b815230600482015282907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906370a0823190602401602060405180830381865afa158015610af3573d5f5f3e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b1791906116b1565b610b2191906116dc565b60a085015264e8d4a51000610b3c60608c0160408d01611578565b6001600160801b0316610b4f91906116f5565b8460a001511015610b735760405163bb2875c360e01b815260040160405180910390fd5b5f64e8d4a51000808660a00151610b8a919061170c565b610b9491906116f5565b9050610bea6001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000167f000000000000000000000000000000000000000000000000000000000000000083610e5a565b60405163fac4e25360e01b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063fac4e25390610c3690889060040161172b565b60408051808303815f875af1158015610c51573d5f5f3e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c7591906117f7565b90975095508115610cb457610cb46001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001633846112ec565b5f818660a00151610cc591906116dc565b90508015610d0157610d016001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001633836112ec565b505050505050610d3060017f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f0055565b94509492505050565b610d416112f9565b60027f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f0055565b5f5f5f5f5f610d758661133d565b604051631e2eaeaf60e01b8152600481018290529091505f906001600160a01b03891690631e2eaeaf90602401602060405180830381865afa158015610dbd573d5f5f3e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610de191906116b1565b90506001600160a01b03811695508060a01c60020b945062ffffff8160b81c16935062ffffff8160d01c169250505092959194509250565b610e27848484846001611379565b610e5457604051635274afe760e01b81526001600160a01b03851660048201526024015b60405180910390fd5b50505050565b610e668383835f6113e6565b610ed457610e7783835f60016113e6565b610e9f57604051635274afe760e01b81526001600160a01b0384166004820152602401610e4b565b610eac83838360016113e6565b610ed457604051635274afe760e01b81526001600160a01b0384166004820152602401610e4b565b505050565b5f65ffffffffffff821115610f0b576040516306dfcc6560e41b81526030600482015260248101839052604401610e4b565b5090565b604051600360f91b6020820152600360fa1b6021820152600f60f81b60228201525f9060230160408051808303601f1901815260038084526080840190925292505f9190816020015b6060815260200190600190039081610f585790505090506040518060c0016040528086803603810190610f8b9190611617565b81526020017f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03167f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03161015158152602001876020016020810190610fff9190611578565b6001600160801b0316815260200161103e64e8d4a5100061102660608b0160408c01611578565b6001600160801b031661103991906116f5565b611448565b6001600160801b031681526020015f815260200185858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525050509152506040516110999190602001611869565b604051602081830303815290604052815f815181106110ba576110ba611920565b60200260200101819052507f00000000000000000000000000000000000000000000000000000000000000008660200160208101906110f99190611578565b604080516001600160a01b0390931660208401526001600160801b03909116908201526060016040516020818303038152906040528160018151811061114157611141611920565b60200260200101819052507f00000000000000000000000000000000000000000000000000000000000000005f6040516020016111969291906001600160a01b0392909216825260ff16602082015260400190565b604051602081830303815290604052816002815181106111b8576111b8611920565b60209081029190910101526040805160018082528183019092525f91816020015b60608152602001906001900390816111d9579050509050828260405160200161120392919061198e565b604051602081830303815290604052815f8151811061122457611224611920565b60200260200101819052507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316633593564c6010604051602001611283919060f89190911b6001600160f81b031916815260010190565b604051602081830303815290604052838a606001356040518463ffffffff1660e01b81526004016112b6939291906119bb565b5f604051808303815f87803b1580156112cd575f5ffd5b505af11580156112df573d5f5f3e3d5ffd5b5050505050505050505050565b610eac838383600161147b565b7f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f005460020361133b57604051633ee5aeb560e01b815260040160405180910390fd5b565b6040515f9061135c908390600690602001918252602082015260400190565b604051602081830303815290604052805190602001209050919050565b6040516323b872dd60e01b5f8181526001600160a01b038781166004528616602452604485905291602083606481808c5af1925060015f511483166113d55783831516156113c9573d5f823e3d81fd5b5f883b113d1516831692505b604052505f60605295945050505050565b60405163095ea7b360e01b5f8181526001600160a01b038616600452602485905291602083604481808b5af1925060015f5114831661143c578383151615611430573d5f823e3d81fd5b5f873b113d1516831692505b60405250949350505050565b5f6001600160801b03821115610f0b576040516306dfcc6560e41b81526080600482015260248101839052604401610e4b565b60405163a9059cbb60e01b5f8181526001600160a01b038616600452602485905291602083604481808b5af1925060015f5114831661143c578383151615611430573d5f823e3d81fd5b5f5f5f5f8486036101408112156114da575f5ffd5b60808112156114e7575f5ffd5b85945060a0607f19820112156114fb575f5ffd5b5060808501925061012085013567ffffffffffffffff81111561151c575f5ffd5b8501601f8101871361152c575f5ffd5b803567ffffffffffffffff811115611542575f5ffd5b876020828401011115611553575f5ffd5b949793965060200194505050565b6001600160801b0381168114611575575f5ffd5b50565b5f60208284031215611588575f5ffd5b813561159381611561565b9392505050565b5f602082840312156115aa575f5ffd5b815161159381611561565b6001600160a01b0381168114611575575f5ffd5b80356115d4816115b5565b919050565b5f602082840312156115e9575f5ffd5b8135611593816115b5565b803562ffffff811681146115d4575f5ffd5b8035600281900b81146115d4575f5ffd5b5f60a0828403128015611628575f5ffd5b5060405160a0810167ffffffffffffffff8111828210171561165857634e487b7160e01b5f52604160045260245ffd5b604052611664836115c9565b8152611672602084016115c9565b6020820152611683604084016115f4565b604082015261169460608401611606565b60608201526116a5608084016115c9565b60808201529392505050565b5f602082840312156116c1575f5ffd5b5051919050565b634e487b7160e01b5f52601160045260245ffd5b818103818111156116ef576116ef6116c8565b92915050565b80820281158282048414176116ef576116ef6116c8565b5f8261172657634e487b7160e01b5f52601260045260245ffd5b500490565b815167ffffffffffffffff1681526101408101602083015161175860208401826001600160a01b03169052565b5060408301516040830152606083015161177d60608401826001600160a01b03169052565b506080830151608083015260a083015160a083015260c08301516117ac60c08401826001600160a01b03169052565b5060e083015160e08301526101008301516117d36101008401826001600160a01b03169052565b506101208301516117f06101208401826001600160a01b03169052565b5092915050565b5f5f60408385031215611808575f5ffd5b825161181381611561565b602084015190925067ffffffffffffffff81168114611830575f5ffd5b809150509250929050565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b6020808252825180516001600160a01b039081168484015281830151811660408086019190915282015162ffffff1660608086019190915282015160020b608080860191909152909101511660a083015282015180151560c08301525f905060408301516001600160801b03811660e08401525060608301516001600160801b03811661010084015250608083015161012083015260a08301516101408084015261191861016084018261183b565b949350505050565b634e487b7160e01b5f52603260045260245ffd5b5f82825180855260208501945060208160051b830101602085015f5b8381101561198257601f1985840301885261196c83835161183b565b6020988901989093509190910190600101611950565b50909695505050505050565b604081525f6119a0604083018561183b565b82810360208401526119b28185611934565b95945050505050565b606081525f6119cd606083018661183b565b82810360208401526119df8186611934565b91505082604083015294935050505056fea26469706673582212200f0285c92dc6d9f47d48f1fb2a0904d6887cc22ce3f791a042b2155d14e2df4d64736f6c63430008230033",
252
+ "deployedBytecode": "0x608060405234801561000f575f5ffd5b506004361061007a575f3560e01c80632df460af116100585780632df460af146101245780633e413bee1461014b578063dc4c90d314610172578063f887ea4014610199575f5ffd5b80630936e2611461007e578063116191b6146100be57806312261ee7146100fd575b5f5ffd5b61009161008c3660046114c5565b6101c0565b604080516001600160801b03909316835267ffffffffffffffff9091166020830152015b60405180910390f35b6100e57f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b0390911681526020016100b5565b6100e57f000000000000000000000000000000000000000000000000000000000000000081565b6100e57f000000000000000000000000000000000000000000000000000000000000000081565b6100e57f000000000000000000000000000000000000000000000000000000000000000081565b6100e57f000000000000000000000000000000000000000000000000000000000000000081565b6100e57f000000000000000000000000000000000000000000000000000000000000000081565b5f5f6101ca610d39565b853515806101ee57506101e36040870160208801611578565b6001600160801b0316155b8061020f57506102046060870160408801611578565b6001600160801b0316155b1561022d576040516341abc80160e01b815260040160405180910390fd5b4286606001351015610252576040516341abc80160e01b815260040160405180910390fd5b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316636c548b9a6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156102ae573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906102d2919061159a565b6001600160801b03166102eb6060880160408901611578565b6001600160801b03161015610313576040516391e88d6160e01b815260040160405180910390fd5b6001600160a01b037f000000000000000000000000000000000000000000000000000000000000000081167f0000000000000000000000000000000000000000000000000000000000000000909116108061038e577f00000000000000000000000000000000000000000000000000000000000000006103b0565b7f00000000000000000000000000000000000000000000000000000000000000005b6001600160a01b03166103c660208801886115d9565b6001600160a01b0316146103ec5760405162820f3560e61b815260040160405180910390fd5b80610417577f0000000000000000000000000000000000000000000000000000000000000000610439565b7f00000000000000000000000000000000000000000000000000000000000000005b6001600160a01b031661045260408801602089016115d9565b6001600160a01b0316146104785760405162820f3560e61b815260040160405180910390fd5b5060408051610140810182525f8082526080820181905260a0820181905260e0820181905261010082018190526101208201523360208201528735918101919091526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000811660608301527f00000000000000000000000000000000000000000000000000000000000000001660c082015261052a61052336889003880188611617565b60a0902090565b60e0820181905261055c907f000000000000000000000000000000000000000000000000000000000000000090610d67565b5050506001600160a01b031661010082018190525f0361058e5760405162820f3560e61b815260040160405180910390fd5b6040516370a0823160e01b81523060048201525f907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906370a0823190602401602060405180830381865afa1580156105f2573d5f5f3e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061061691906116b1565b6040516370a0823160e01b81523060048201529091505f906001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016906370a0823190602401602060405180830381865afa15801561067d573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906106a191906116b1565b90506106f333306106b860408d0160208e01611578565b6001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169291906001600160801b0316610e19565b6107617f000000000000000000000000000000000000000000000000000000000000000061072760408c0160208d01611578565b6001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001691906001600160801b0316610e5a565b6001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000166387517c457f00000000000000000000000000000000000000000000000000000000000000007f00000000000000000000000000000000000000000000000000000000000000006107e260408e0160208f01611578565b6107ef8e60600135610ed9565b6040516001600160e01b031960e087901b1681526001600160a01b0394851660048201529390921660248401526001600160801b0316604483015265ffffffffffff1660648201526084015f604051808303815f87803b158015610851575f5ffd5b505af1158015610863573d5f5f3e3d5ffd5b5050505061087389898989610f0f565b6108a17f00000000000000000000000000000000000000000000000000000000000000008460e00151610d67565b5050506001600160a01b039081166101208501526040516387517c4560e01b81527f0000000000000000000000000000000000000000000000000000000000000000821660048201527f0000000000000000000000000000000000000000000000000000000000000000821660248201525f6044820181905260648201527f0000000000000000000000000000000000000000000000000000000000000000909116906387517c45906084015f604051808303815f87803b158015610964575f5ffd5b505af1158015610976573d5f5f3e3d5ffd5b506109d09250506001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001690507f00000000000000000000000000000000000000000000000000000000000000005f610e5a565b6040516370a0823160e01b81523060048201525f9083906001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016906370a0823190602401602060405180830381865afa158015610a36573d5f5f3e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a5a91906116b1565b610a6491906116dc565b905080610a7760408c0160208d01611578565b6001600160801b0316610a8a91906116dc565b60808501526040516370a0823160e01b815230600482015282907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906370a0823190602401602060405180830381865afa158015610af3573d5f5f3e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b1791906116b1565b610b2191906116dc565b60a085015264e8d4a51000610b3c60608c0160408d01611578565b6001600160801b0316610b4f91906116f5565b8460a001511015610b735760405163bb2875c360e01b815260040160405180910390fd5b5f64e8d4a51000808660a00151610b8a919061170c565b610b9491906116f5565b9050610bea6001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000167f000000000000000000000000000000000000000000000000000000000000000083610e5a565b60405163fac4e25360e01b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063fac4e25390610c3690889060040161172b565b60408051808303815f875af1158015610c51573d5f5f3e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c7591906117f7565b90975095508115610cb457610cb46001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001633846112ec565b5f818660a00151610cc591906116dc565b90508015610d0157610d016001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001633836112ec565b505050505050610d3060017f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f0055565b94509492505050565b610d416112f9565b60027f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f0055565b5f5f5f5f5f610d758661133d565b604051631e2eaeaf60e01b8152600481018290529091505f906001600160a01b03891690631e2eaeaf90602401602060405180830381865afa158015610dbd573d5f5f3e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610de191906116b1565b90506001600160a01b03811695508060a01c60020b945062ffffff8160b81c16935062ffffff8160d01c169250505092959194509250565b610e27848484846001611379565b610e5457604051635274afe760e01b81526001600160a01b03851660048201526024015b60405180910390fd5b50505050565b610e668383835f6113e6565b610ed457610e7783835f60016113e6565b610e9f57604051635274afe760e01b81526001600160a01b0384166004820152602401610e4b565b610eac83838360016113e6565b610ed457604051635274afe760e01b81526001600160a01b0384166004820152602401610e4b565b505050565b5f65ffffffffffff821115610f0b576040516306dfcc6560e41b81526030600482015260248101839052604401610e4b565b5090565b604051600360f91b6020820152600360fa1b6021820152600f60f81b60228201525f9060230160408051808303601f1901815260038084526080840190925292505f9190816020015b6060815260200190600190039081610f585790505090506040518060c0016040528086803603810190610f8b9190611617565b81526020017f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03167f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03161015158152602001876020016020810190610fff9190611578565b6001600160801b0316815260200161103e64e8d4a5100061102660608b0160408c01611578565b6001600160801b031661103991906116f5565b611448565b6001600160801b031681526020015f815260200185858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525050509152506040516110999190602001611869565b604051602081830303815290604052815f815181106110ba576110ba611920565b60200260200101819052507f00000000000000000000000000000000000000000000000000000000000000008660200160208101906110f99190611578565b604080516001600160a01b0390931660208401526001600160801b03909116908201526060016040516020818303038152906040528160018151811061114157611141611920565b60200260200101819052507f00000000000000000000000000000000000000000000000000000000000000005f6040516020016111969291906001600160a01b0392909216825260ff16602082015260400190565b604051602081830303815290604052816002815181106111b8576111b8611920565b60209081029190910101526040805160018082528183019092525f91816020015b60608152602001906001900390816111d9579050509050828260405160200161120392919061198e565b604051602081830303815290604052815f8151811061122457611224611920565b60200260200101819052507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316633593564c6010604051602001611283919060f89190911b6001600160f81b031916815260010190565b604051602081830303815290604052838a606001356040518463ffffffff1660e01b81526004016112b6939291906119bb565b5f604051808303815f87803b1580156112cd575f5ffd5b505af11580156112df573d5f5f3e3d5ffd5b5050505050505050505050565b610eac838383600161147b565b7f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f005460020361133b57604051633ee5aeb560e01b815260040160405180910390fd5b565b6040515f9061135c908390600690602001918252602082015260400190565b604051602081830303815290604052805190602001209050919050565b6040516323b872dd60e01b5f8181526001600160a01b038781166004528616602452604485905291602083606481808c5af1925060015f511483166113d55783831516156113c9573d5f823e3d81fd5b5f883b113d1516831692505b604052505f60605295945050505050565b60405163095ea7b360e01b5f8181526001600160a01b038616600452602485905291602083604481808b5af1925060015f5114831661143c578383151615611430573d5f823e3d81fd5b5f873b113d1516831692505b60405250949350505050565b5f6001600160801b03821115610f0b576040516306dfcc6560e41b81526080600482015260248101839052604401610e4b565b60405163a9059cbb60e01b5f8181526001600160a01b038616600452602485905291602083604481808b5af1925060015f5114831661143c578383151615611430573d5f823e3d81fd5b5f5f5f5f8486036101408112156114da575f5ffd5b60808112156114e7575f5ffd5b85945060a0607f19820112156114fb575f5ffd5b5060808501925061012085013567ffffffffffffffff81111561151c575f5ffd5b8501601f8101871361152c575f5ffd5b803567ffffffffffffffff811115611542575f5ffd5b876020828401011115611553575f5ffd5b949793965060200194505050565b6001600160801b0381168114611575575f5ffd5b50565b5f60208284031215611588575f5ffd5b813561159381611561565b9392505050565b5f602082840312156115aa575f5ffd5b815161159381611561565b6001600160a01b0381168114611575575f5ffd5b80356115d4816115b5565b919050565b5f602082840312156115e9575f5ffd5b8135611593816115b5565b803562ffffff811681146115d4575f5ffd5b8035600281900b81146115d4575f5ffd5b5f60a0828403128015611628575f5ffd5b5060405160a0810167ffffffffffffffff8111828210171561165857634e487b7160e01b5f52604160045260245ffd5b604052611664836115c9565b8152611672602084016115c9565b6020820152611683604084016115f4565b604082015261169460608401611606565b60608201526116a5608084016115c9565b60808201529392505050565b5f602082840312156116c1575f5ffd5b5051919050565b634e487b7160e01b5f52601160045260245ffd5b818103818111156116ef576116ef6116c8565b92915050565b80820281158282048414176116ef576116ef6116c8565b5f8261172657634e487b7160e01b5f52601260045260245ffd5b500490565b815167ffffffffffffffff1681526101408101602083015161175860208401826001600160a01b03169052565b5060408301516040830152606083015161177d60608401826001600160a01b03169052565b506080830151608083015260a083015160a083015260c08301516117ac60c08401826001600160a01b03169052565b5060e083015160e08301526101008301516117d36101008401826001600160a01b03169052565b506101208301516117f06101208401826001600160a01b03169052565b5092915050565b5f5f60408385031215611808575f5ffd5b825161181381611561565b602084015190925067ffffffffffffffff81168114611830575f5ffd5b809150509250929050565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b6020808252825180516001600160a01b039081168484015281830151811660408086019190915282015162ffffff1660608086019190915282015160020b608080860191909152909101511660a083015282015180151560c08301525f905060408301516001600160801b03811660e08401525060608301516001600160801b03811661010084015250608083015161012083015260a08301516101408084015261191861016084018261183b565b949350505050565b634e487b7160e01b5f52603260045260245ffd5b5f82825180855260208501945060208160051b830101602085015f5b8381101561198257601f1985840301885261196c83835161183b565b6020988901989093509190910190600101611950565b50909695505050505050565b604081525f6119a0604083018561183b565b82810360208401526119b28185611934565b95945050505050565b606081525f6119cd606083018661183b565b82810360208401526119df8186611934565b91505082604083015294935050505056fea26469706673582212200f0285c92dc6d9f47d48f1fb2a0904d6887cc22ce3f791a042b2155d14e2df4d64736f6c63430008230033",
253
+ "linkReferences": {},
254
+ "deployedLinkReferences": {},
255
+ "immutableReferences": {
256
+ "17771": [
257
+ {
258
+ "length": 32,
259
+ "start": 336
260
+ },
261
+ {
262
+ "length": 32,
263
+ "start": 832
264
+ },
265
+ {
266
+ "length": 32,
267
+ "start": 912
268
+ },
269
+ {
270
+ "length": 32,
271
+ "start": 1011
272
+ },
273
+ {
274
+ "length": 32,
275
+ "start": 1220
276
+ },
277
+ {
278
+ "length": 32,
279
+ "start": 1445
280
+ },
281
+ {
282
+ "length": 32,
283
+ "start": 1730
284
+ },
285
+ {
286
+ "length": 32,
287
+ "start": 1841
288
+ },
289
+ {
290
+ "length": 32,
291
+ "start": 1938
292
+ },
293
+ {
294
+ "length": 32,
295
+ "start": 2244
296
+ },
297
+ {
298
+ "length": 32,
299
+ "start": 2439
300
+ },
301
+ {
302
+ "length": 32,
303
+ "start": 2545
304
+ },
305
+ {
306
+ "length": 32,
307
+ "start": 3213
308
+ },
309
+ {
310
+ "length": 32,
311
+ "start": 4028
312
+ },
313
+ {
314
+ "length": 32,
315
+ "start": 4295
316
+ }
317
+ ],
318
+ "17774": [
319
+ {
320
+ "length": 32,
321
+ "start": 297
322
+ },
323
+ {
324
+ "length": 32,
325
+ "start": 797
326
+ },
327
+ {
328
+ "length": 32,
329
+ "start": 874
330
+ },
331
+ {
332
+ "length": 32,
333
+ "start": 1049
334
+ },
335
+ {
336
+ "length": 32,
337
+ "start": 1592
338
+ },
339
+ {
340
+ "length": 32,
341
+ "start": 2726
342
+ },
343
+ {
344
+ "length": 32,
345
+ "start": 2979
346
+ },
347
+ {
348
+ "length": 32,
349
+ "start": 3290
350
+ },
351
+ {
352
+ "length": 32,
353
+ "start": 3986
354
+ },
355
+ {
356
+ "length": 32,
357
+ "start": 4430
358
+ }
359
+ ],
360
+ "17777": [
361
+ {
362
+ "length": 32,
363
+ "start": 195
364
+ },
365
+ {
366
+ "length": 32,
367
+ "start": 596
368
+ },
369
+ {
370
+ "length": 32,
371
+ "start": 3013
372
+ },
373
+ {
374
+ "length": 32,
375
+ "start": 3073
376
+ }
377
+ ],
378
+ "17780": [
379
+ {
380
+ "length": 32,
381
+ "start": 414
382
+ },
383
+ {
384
+ "length": 32,
385
+ "start": 1971
386
+ },
387
+ {
388
+ "length": 32,
389
+ "start": 2284
390
+ },
391
+ {
392
+ "length": 32,
393
+ "start": 4657
394
+ }
395
+ ],
396
+ "17783": [
397
+ {
398
+ "length": 32,
399
+ "start": 258
400
+ },
401
+ {
402
+ "length": 32,
403
+ "start": 1784
404
+ },
405
+ {
406
+ "length": 32,
407
+ "start": 1899
408
+ },
409
+ {
410
+ "length": 32,
411
+ "start": 2337
412
+ },
413
+ {
414
+ "length": 32,
415
+ "start": 2475
416
+ }
417
+ ],
418
+ "17786": [
419
+ {
420
+ "length": 32,
421
+ "start": 375
422
+ },
423
+ {
424
+ "length": 32,
425
+ "start": 1260
426
+ },
427
+ {
428
+ "length": 32,
429
+ "start": 1335
430
+ },
431
+ {
432
+ "length": 32,
433
+ "start": 2168
434
+ }
435
+ ]
436
+ },
437
+ "inputSourceName": "project/contracts/ArgonBuyAndTransfer.sol",
438
+ "buildInfoId": "solc-0_8_35-b6ffbe8ed4e22808fc6923e63c55d2f9578df061"
439
+ }