@etherisc/gif-next 0.0.2-de0a1d3-009 → 0.0.2-e37834a-021
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +40 -25
- package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.dbg.json +1 -1
- package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.json +80 -41
- package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +1 -1
- package/artifacts/contracts/components/Distribution.sol/Distribution.json +101 -61
- package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.dbg.json +1 -1
- package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.json +43 -40
- package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +1 -1
- package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.json +0 -163
- package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +1 -1
- package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.json +6 -185
- package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +1 -1
- package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.json +0 -163
- package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +1 -1
- package/artifacts/contracts/components/Pool.sol/Pool.json +150 -126
- package/artifacts/contracts/components/Product.sol/Product.dbg.json +1 -1
- package/artifacts/contracts/components/Product.sol/Product.json +110 -52
- package/artifacts/contracts/experiment/errors/Require.sol/Require.dbg.json +1 -1
- package/artifacts/contracts/experiment/errors/Revert.sol/Revert.dbg.json +1 -1
- package/artifacts/contracts/experiment/inheritance/A.sol/A.dbg.json +1 -1
- package/artifacts/contracts/experiment/inheritance/A.sol/AShared.dbg.json +1 -1
- package/artifacts/contracts/experiment/inheritance/B.sol/B.dbg.json +1 -1
- package/artifacts/contracts/experiment/inheritance/C.sol/C.dbg.json +1 -1
- package/artifacts/contracts/experiment/inheritance/IA.sol/IA.dbg.json +1 -1
- package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.dbg.json +1 -1
- package/artifacts/contracts/experiment/inheritance/IB.sol/IB.dbg.json +1 -1
- package/artifacts/contracts/experiment/inheritance/IC.sol/IC.dbg.json +1 -1
- package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.dbg.json +1 -1
- package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.dbg.json +1 -1
- package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.dbg.json +1 -1
- package/artifacts/contracts/experiment/statemachine/SM.sol/SM.dbg.json +1 -1
- package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.dbg.json +1 -1
- package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.dbg.json +1 -1
- package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.dbg.json +1 -1
- package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
- package/artifacts/contracts/instance/IInstance.sol/IInstance.json +198 -74
- package/artifacts/contracts/instance/IInstanceLinked.sol/IInstanceLinked.dbg.json +1 -1
- package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
- package/artifacts/contracts/instance/Instance.sol/Instance.json +285 -178
- package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.dbg.json +1 -1
- package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.json +59 -53
- package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.dbg.json +1 -1
- package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.json +1 -1
- package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +1 -1
- package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.dbg.json +1 -1
- package/artifacts/contracts/instance/base/IService.sol/IService.dbg.json +1 -1
- package/artifacts/contracts/instance/base/IService.sol/IService.json +45 -42
- package/artifacts/contracts/instance/base/InstanceBase.sol/InstanceBase.dbg.json +1 -1
- package/artifacts/contracts/instance/base/InstanceBase.sol/InstanceBase.json +62 -69
- package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +1 -1
- package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +1 -1
- package/artifacts/contracts/instance/base/ModuleBase.sol/ModuleBase.dbg.json +1 -1
- package/artifacts/contracts/instance/base/ServiceBase.sol/ServiceBase.dbg.json +1 -1
- package/artifacts/contracts/instance/base/ServiceBase.sol/ServiceBase.json +55 -62
- package/artifacts/contracts/instance/module/access/Access.sol/AccessModule.dbg.json +1 -1
- package/artifacts/contracts/instance/module/access/IAccess.sol/IAccess.dbg.json +1 -1
- package/artifacts/contracts/instance/module/access/IAccess.sol/IAccessModule.dbg.json +1 -1
- package/artifacts/contracts/instance/module/bundle/BundleModule.sol/BundleModule.dbg.json +1 -1
- package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundle.dbg.json +1 -1
- package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundleModule.dbg.json +1 -1
- package/artifacts/contracts/instance/module/component/ComponentModule.sol/ComponentModule.dbg.json +1 -1
- package/artifacts/contracts/instance/module/component/IComponent.sol/IComponent.dbg.json +1 -1
- package/artifacts/contracts/instance/module/component/IComponent.sol/IComponentModule.dbg.json +1 -1
- package/artifacts/contracts/instance/module/distribution/DistributionModule.sol/DistributionModule.dbg.json +1 -1
- package/artifacts/contracts/instance/module/distribution/DistributionModule.sol/DistributionModule.json +2 -2
- package/artifacts/contracts/instance/module/distribution/IDistribution.sol/IDistribution.dbg.json +1 -1
- package/artifacts/contracts/instance/module/distribution/IDistribution.sol/IDistributionModule.dbg.json +1 -1
- package/artifacts/contracts/instance/module/policy/IPolicy.sol/IPolicy.dbg.json +1 -1
- package/artifacts/contracts/instance/module/policy/IPolicy.sol/IPolicyModule.dbg.json +1 -1
- package/artifacts/contracts/instance/module/policy/PolicyModule.sol/PolicyModule.dbg.json +1 -1
- package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPool.dbg.json +1 -1
- package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPoolModule.dbg.json +1 -1
- package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPoolModule.json +29 -9
- package/artifacts/contracts/instance/module/pool/PoolModule.sol/PoolModule.dbg.json +1 -1
- package/artifacts/contracts/instance/module/pool/PoolModule.sol/PoolModule.json +28 -8
- package/artifacts/contracts/instance/module/risk/IRisk.sol/IRisk.dbg.json +1 -1
- package/artifacts/contracts/instance/module/risk/IRisk.sol/IRiskModule.dbg.json +1 -1
- package/artifacts/contracts/instance/module/risk/RiskModule.sol/RiskModule.dbg.json +1 -1
- package/artifacts/contracts/instance/module/risk/RiskModule.sol/RiskModule.json +2 -2
- package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasury.dbg.json +1 -1
- package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasuryModule.dbg.json +1 -1
- package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasuryModule.json +138 -11
- package/artifacts/contracts/instance/module/treasury/TokenHandler.sol/TokenHandler.dbg.json +1 -1
- package/artifacts/contracts/instance/module/treasury/TokenHandler.sol/TokenHandler.json +2 -2
- package/artifacts/contracts/instance/module/treasury/TreasuryModule.sol/TreasuryModule.dbg.json +1 -1
- package/artifacts/contracts/instance/module/treasury/TreasuryModule.sol/TreasuryModule.json +138 -11
- package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.json +165 -93
- package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +87 -68
- package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.json +45 -61
- package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.json +45 -42
- package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.json +45 -42
- package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/IProductService.sol/IProductService.json +45 -42
- package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +89 -70
- package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +117 -98
- package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
- package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +141 -12
- package/artifacts/contracts/registry/IChainNft.sol/IChainNft.dbg.json +1 -1
- package/artifacts/contracts/registry/IChainNft.sol/IChainNft.json +5 -0
- package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
- package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +293 -40
- package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +4 -0
- package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +668 -0
- package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +4 -0
- package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.json +34 -0
- package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
- package/artifacts/contracts/registry/Registry.sol/Registry.json +483 -120
- package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +4 -0
- package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +885 -0
- package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +4 -0
- package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +460 -0
- package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.dbg.json +4 -0
- package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.json +107 -0
- package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +1 -1
- package/artifacts/contracts/shared/ERC165.sol/ERC165.json +2 -2
- package/artifacts/contracts/shared/IOwnable.sol/IOwnable.dbg.json +1 -1
- package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
- package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +43 -40
- package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +1 -1
- package/artifacts/contracts/shared/IVersionable.sol/IVersionable.json +2 -2
- package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +4 -0
- package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +132 -0
- package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +4 -0
- package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +344 -0
- package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
- package/artifacts/contracts/shared/Registerable.sol/Registerable.json +76 -37
- package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +4 -0
- package/artifacts/contracts/shared/{Proxy.sol/ProxyWithProxyAdminGetter.json → UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json} +4 -4
- package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +1 -1
- package/artifacts/contracts/shared/Versionable.sol/Versionable.json +4 -27
- package/artifacts/contracts/test/TestDistribution.sol/TestDistribution.dbg.json +1 -1
- package/artifacts/contracts/test/TestDistribution.sol/TestDistribution.json +101 -61
- package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +1 -1
- package/artifacts/contracts/test/TestPool.sol/TestPool.dbg.json +1 -1
- package/artifacts/contracts/test/TestPool.sol/TestPool.json +150 -126
- package/artifacts/contracts/test/TestProduct.sol/TestProduct.dbg.json +1 -1
- package/artifacts/contracts/test/TestProduct.sol/TestProduct.json +115 -58
- package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +1 -1
- package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +93 -39
- package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +1 -1
- package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +1 -1
- package/artifacts/contracts/test/TestService.sol/TestService.json +81 -75
- package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +1 -1
- package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +1 -1
- package/artifacts/contracts/test/TestVersion.sol/TestVersion.json +2 -2
- package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +1 -1
- package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +15 -38
- package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +1 -1
- package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +1 -1
- package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +1 -1
- package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +1 -1
- package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +1 -1
- package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +1 -1
- package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +1 -1
- package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +1 -1
- package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +1 -1
- package/artifacts/contracts/types/ReferralId.sol/ReferralIdLib.dbg.json +1 -1
- package/artifacts/contracts/types/RiskId.sol/RiskIdLib.dbg.json +1 -1
- package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +1 -1
- package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +1 -1
- package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +1 -1
- package/artifacts/contracts/types/UFixed.sol/UFixedMathLib.dbg.json +1 -1
- package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +1 -1
- package/artifacts/contracts/types/Version.sol/VersionLib.json +2 -2
- package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +1 -1
- package/artifacts/contracts/types/Version.sol/VersionPartLib.json +2 -2
- package/contracts/components/BaseComponent.sol +12 -27
- package/contracts/components/Distribution.sol +29 -6
- package/contracts/components/IBaseComponent.sol +2 -2
- package/contracts/components/IDistributionComponent.sol +1 -2
- package/contracts/components/IPoolComponent.sol +3 -10
- package/contracts/components/IProductComponent.sol +2 -3
- package/contracts/components/Pool.sol +84 -73
- package/contracts/components/Product.sol +85 -13
- package/contracts/instance/IInstance.sol +4 -3
- package/contracts/instance/Instance.sol +14 -3
- package/contracts/instance/base/ComponentServiceBase.sol +13 -6
- package/contracts/instance/base/IInstanceBase.sol +3 -2
- package/contracts/instance/base/InstanceBase.sol +6 -8
- package/contracts/instance/base/ServiceBase.sol +19 -13
- package/contracts/instance/module/component/ComponentModule.sol +5 -4
- package/contracts/instance/module/component/IComponent.sol +2 -2
- package/contracts/instance/module/pool/IPoolModule.sol +4 -3
- package/contracts/instance/module/pool/PoolModule.sol +12 -7
- package/contracts/instance/module/treasury/ITreasury.sol +7 -5
- package/contracts/instance/module/treasury/TokenHandler.sol +2 -2
- package/contracts/instance/module/treasury/TreasuryModule.sol +21 -28
- package/contracts/instance/service/ComponentOwnerService.sol +181 -66
- package/contracts/instance/service/DistributionService.sol +6 -11
- package/contracts/instance/service/IComponentOwnerService.sol +0 -2
- package/contracts/instance/service/PoolService.sol +19 -19
- package/contracts/instance/service/ProductService.sol +25 -24
- package/contracts/registry/ChainNft.sol +43 -15
- package/contracts/registry/IChainNft.sol +3 -2
- package/contracts/registry/IRegistry.sol +44 -28
- package/contracts/registry/IRegistryService.sol +29 -0
- package/contracts/registry/ITransferInterceptor.sol +6 -0
- package/contracts/registry/Registry.sol +382 -273
- package/contracts/registry/RegistryService.sol +375 -0
- package/contracts/registry/RegistryServiceManager.sol +52 -0
- package/contracts/shared/ContractDeployerLib.sol +72 -0
- package/contracts/shared/ERC165.sol +1 -1
- package/contracts/shared/IRegisterable.sol +7 -9
- package/contracts/shared/IVersionable.sol +40 -9
- package/contracts/shared/NftOwnable.sol +87 -0
- package/contracts/shared/ProxyManager.sol +103 -0
- package/contracts/shared/Registerable.sol +74 -43
- package/contracts/shared/UpgradableProxyWithAdmin.sol +16 -0
- package/contracts/shared/Versionable.sol +108 -60
- package/contracts/test/TestDistribution.sol +3 -2
- package/contracts/test/TestPool.sol +4 -2
- package/contracts/test/TestProduct.sol +4 -2
- package/contracts/test/TestRegisterable.sol +5 -6
- package/contracts/test/TestService.sol +5 -11
- package/contracts/types/Version.sol +1 -0
- package/package.json +1 -1
- package/artifacts/contracts/registry/IRegistryLinked.sol/IRegistryLinked.dbg.json +0 -4
- package/artifacts/contracts/registry/IRegistryLinked.sol/IRegistryLinked.json +0 -24
- package/artifacts/contracts/registry/RegistryUpgradeable.sol/RegistryUpgradeable.dbg.json +0 -4
- package/artifacts/contracts/registry/RegistryUpgradeable.sol/RegistryUpgradeable.json +0 -724
- package/artifacts/contracts/shared/Proxy.sol/ProxyDeployer.dbg.json +0 -4
- package/artifacts/contracts/shared/Proxy.sol/ProxyDeployer.json +0 -248
- package/artifacts/contracts/shared/Proxy.sol/ProxyWithProxyAdminGetter.dbg.json +0 -4
- package/artifacts/contracts/shared/VersionableUpgradeable.sol/VersionableUpgradeable.dbg.json +0 -4
- package/artifacts/contracts/shared/VersionableUpgradeable.sol/VersionableUpgradeable.json +0 -228
- package/contracts/experiment/statemachine/README.md +0 -112
- package/contracts/registry/IRegistryLinked.sol +0 -8
- package/contracts/registry/RegistryUpgradeable.sol +0 -473
- package/contracts/shared/Proxy.sol +0 -94
- package/contracts/shared/VersionableUpgradeable.sol +0 -133
@@ -20,6 +20,11 @@
|
|
20
20
|
"name": "token",
|
21
21
|
"type": "address"
|
22
22
|
},
|
23
|
+
{
|
24
|
+
"internalType": "bool",
|
25
|
+
"name": "isInterceptor",
|
26
|
+
"type": "bool"
|
27
|
+
},
|
23
28
|
{
|
24
29
|
"internalType": "address",
|
25
30
|
"name": "pool",
|
@@ -63,11 +68,39 @@
|
|
63
68
|
"internalType": "struct Fee",
|
64
69
|
"name": "processingFee",
|
65
70
|
"type": "tuple"
|
71
|
+
},
|
72
|
+
{
|
73
|
+
"internalType": "address",
|
74
|
+
"name": "initialOwner",
|
75
|
+
"type": "address"
|
66
76
|
}
|
67
77
|
],
|
68
78
|
"stateMutability": "nonpayable",
|
69
79
|
"type": "constructor"
|
70
80
|
},
|
81
|
+
{
|
82
|
+
"inputs": [],
|
83
|
+
"name": "InvalidInitialization",
|
84
|
+
"type": "error"
|
85
|
+
},
|
86
|
+
{
|
87
|
+
"inputs": [],
|
88
|
+
"name": "NotInitializing",
|
89
|
+
"type": "error"
|
90
|
+
},
|
91
|
+
{
|
92
|
+
"anonymous": false,
|
93
|
+
"inputs": [
|
94
|
+
{
|
95
|
+
"indexed": false,
|
96
|
+
"internalType": "uint64",
|
97
|
+
"name": "version",
|
98
|
+
"type": "uint64"
|
99
|
+
}
|
100
|
+
],
|
101
|
+
"name": "Initialized",
|
102
|
+
"type": "event"
|
103
|
+
},
|
71
104
|
{
|
72
105
|
"anonymous": false,
|
73
106
|
"inputs": [
|
@@ -94,6 +127,19 @@
|
|
94
127
|
"stateMutability": "view",
|
95
128
|
"type": "function"
|
96
129
|
},
|
130
|
+
{
|
131
|
+
"inputs": [],
|
132
|
+
"name": "REGISTERABLE_LOCATION_V1",
|
133
|
+
"outputs": [
|
134
|
+
{
|
135
|
+
"internalType": "bytes32",
|
136
|
+
"name": "",
|
137
|
+
"type": "bytes32"
|
138
|
+
}
|
139
|
+
],
|
140
|
+
"stateMutability": "view",
|
141
|
+
"type": "function"
|
142
|
+
},
|
97
143
|
{
|
98
144
|
"inputs": [
|
99
145
|
{
|
@@ -224,19 +270,6 @@
|
|
224
270
|
"stateMutability": "nonpayable",
|
225
271
|
"type": "function"
|
226
272
|
},
|
227
|
-
{
|
228
|
-
"inputs": [],
|
229
|
-
"name": "getData",
|
230
|
-
"outputs": [
|
231
|
-
{
|
232
|
-
"internalType": "bytes",
|
233
|
-
"name": "data",
|
234
|
-
"type": "bytes"
|
235
|
-
}
|
236
|
-
],
|
237
|
-
"stateMutability": "view",
|
238
|
-
"type": "function"
|
239
|
-
},
|
240
273
|
{
|
241
274
|
"inputs": [],
|
242
275
|
"name": "getDefaultRiskId",
|
@@ -263,6 +296,61 @@
|
|
263
296
|
"stateMutability": "view",
|
264
297
|
"type": "function"
|
265
298
|
},
|
299
|
+
{
|
300
|
+
"inputs": [],
|
301
|
+
"name": "getInitialInfo",
|
302
|
+
"outputs": [
|
303
|
+
{
|
304
|
+
"components": [
|
305
|
+
{
|
306
|
+
"internalType": "NftId",
|
307
|
+
"name": "nftId",
|
308
|
+
"type": "uint96"
|
309
|
+
},
|
310
|
+
{
|
311
|
+
"internalType": "NftId",
|
312
|
+
"name": "parentNftId",
|
313
|
+
"type": "uint96"
|
314
|
+
},
|
315
|
+
{
|
316
|
+
"internalType": "ObjectType",
|
317
|
+
"name": "objectType",
|
318
|
+
"type": "uint8"
|
319
|
+
},
|
320
|
+
{
|
321
|
+
"internalType": "bool",
|
322
|
+
"name": "isInterceptor",
|
323
|
+
"type": "bool"
|
324
|
+
},
|
325
|
+
{
|
326
|
+
"internalType": "address",
|
327
|
+
"name": "objectAddress",
|
328
|
+
"type": "address"
|
329
|
+
},
|
330
|
+
{
|
331
|
+
"internalType": "address",
|
332
|
+
"name": "initialOwner",
|
333
|
+
"type": "address"
|
334
|
+
},
|
335
|
+
{
|
336
|
+
"internalType": "bytes",
|
337
|
+
"name": "data",
|
338
|
+
"type": "bytes"
|
339
|
+
}
|
340
|
+
],
|
341
|
+
"internalType": "struct IRegistry.ObjectInfo",
|
342
|
+
"name": "",
|
343
|
+
"type": "tuple"
|
344
|
+
},
|
345
|
+
{
|
346
|
+
"internalType": "bytes",
|
347
|
+
"name": "",
|
348
|
+
"type": "bytes"
|
349
|
+
}
|
350
|
+
],
|
351
|
+
"stateMutability": "view",
|
352
|
+
"type": "function"
|
353
|
+
},
|
266
354
|
{
|
267
355
|
"inputs": [],
|
268
356
|
"name": "getInstance",
|
@@ -295,26 +383,13 @@
|
|
295
383
|
"outputs": [
|
296
384
|
{
|
297
385
|
"internalType": "address",
|
298
|
-
"name": "
|
386
|
+
"name": "",
|
299
387
|
"type": "address"
|
300
388
|
}
|
301
389
|
],
|
302
390
|
"stateMutability": "view",
|
303
391
|
"type": "function"
|
304
392
|
},
|
305
|
-
{
|
306
|
-
"inputs": [],
|
307
|
-
"name": "getParentNftId",
|
308
|
-
"outputs": [
|
309
|
-
{
|
310
|
-
"internalType": "NftId",
|
311
|
-
"name": "nftId",
|
312
|
-
"type": "uint96"
|
313
|
-
}
|
314
|
-
],
|
315
|
-
"stateMutability": "view",
|
316
|
-
"type": "function"
|
317
|
-
},
|
318
393
|
{
|
319
394
|
"inputs": [],
|
320
395
|
"name": "getPoolNftId",
|
@@ -404,19 +479,6 @@
|
|
404
479
|
"stateMutability": "view",
|
405
480
|
"type": "function"
|
406
481
|
},
|
407
|
-
{
|
408
|
-
"inputs": [],
|
409
|
-
"name": "getType",
|
410
|
-
"outputs": [
|
411
|
-
{
|
412
|
-
"internalType": "ObjectType",
|
413
|
-
"name": "",
|
414
|
-
"type": "uint8"
|
415
|
-
}
|
416
|
-
],
|
417
|
-
"stateMutability": "pure",
|
418
|
-
"type": "function"
|
419
|
-
},
|
420
482
|
{
|
421
483
|
"inputs": [],
|
422
484
|
"name": "getWallet",
|
@@ -437,19 +499,6 @@
|
|
437
499
|
"stateMutability": "nonpayable",
|
438
500
|
"type": "function"
|
439
501
|
},
|
440
|
-
{
|
441
|
-
"inputs": [],
|
442
|
-
"name": "register",
|
443
|
-
"outputs": [
|
444
|
-
{
|
445
|
-
"internalType": "NftId",
|
446
|
-
"name": "componentId",
|
447
|
-
"type": "uint96"
|
448
|
-
}
|
449
|
-
],
|
450
|
-
"stateMutability": "nonpayable",
|
451
|
-
"type": "function"
|
452
|
-
},
|
453
502
|
{
|
454
503
|
"inputs": [
|
455
504
|
{
|
@@ -542,14 +591,14 @@
|
|
542
591
|
"type": "function"
|
543
592
|
}
|
544
593
|
],
|
545
|
-
"bytecode": "0x60e06040523480156200001157600080fd5b506040516200213d3803806200213d833981016040819052620000349162000711565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff191660011790558686868686868686868682826001600160a01b038216620000d85760405162461bcd60e51b815260206004820152601b60248201527f4552524f523a5247422d3031303a52454749535452595f5a45524f000000000060448201526064015b60405180910390fd5b6001600160a01b03821660808190526040516301ffc9a760e01b81526306ecd8ef60e01b60048201526301ffc9a790602401602060405180830381865afa15801562000128573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200014e9190620007b3565b6200019c5760405162461bcd60e51b815260206004820152601a60248201527f4552524f523a5247422d3031313a4e4f545f52454749535452590000000000006044820152606401620000cf565b6001600160601b03811660a081905260805160405163e74d052f60e01b815260048101929092526001600160a01b03169063e74d052f90602401602060405180830381865afa158015620001f4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200021a9190620007b3565b620002745760405162461bcd60e51b815260206004820152602360248201527f4552524f523a5247422d3031323a504152454e545f4e4f545f5245474953544560448201526214915160ea1b6064820152608401620000cf565b3360c052631dfba64760e11b60009081526020527f95e5a2564f7af40498dc043c6da135e06324c5edb1f60c2bf4dcdf2da207fa45805460ff1916600117905550506080516040516305247a1760e51b81526001600160601b03841660048201526000916001600160a01b03169063a48f42e090602401600060405180830381865afa15801562000309573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526200033391908101906200086b565b6060810151600580546001600160a01b0319166001600160a01b0390921691821790556040516301ffc9a760e01b8152630de7806f60e41b6004820152919250906301ffc9a790602401602060405180830381865afa1580156200039b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620003c19190620007b3565b620003e95760405162461bcd60e51b81526020600482015260006024820152604401620000cf565b600560009054906101000a90046001600160a01b03166001600160a01b0316636fa298536040518163ffffffff1660e01b8152600401602060405180830381865afa1580156200043d573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000463919062000945565b600180546001600160a01b039283166001600160a01b0319918216179091556003805482163017905560048054928516929091169190911781556005805460ff60a01b1916905560408051632bd182d360e01b8152815173__$a23651848365a6a5ca15f07b4331037f48$__93632bd182d39383820193909291908290030181865af4158015620004f8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200051e919062000965565b805160065560209081015160075560055460408051634288121d60e01b815290516001600160a01b039092169650634288121d9550600480820195509293509091908290030181865afa1580156200057a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620005a0919062000945565b600880546001600160a01b03199081166001600160a01b039384161790915560098054821696831696909617909555600a80549095169316929092179092558151600b55602091820151600c558051600d550151600e55506200098498505050505050505050565b6001600160a01b03811681146200061e57600080fd5b50565b80516200062e8162000608565b919050565b80516001600160601b03811681146200062e57600080fd5b634e487b7160e01b600052604160045260246000fd5b60405160c081016001600160401b03811182821017156200068657620006866200064b565b60405290565b604051601f8201601f191681016001600160401b0381118282101715620006b757620006b76200064b565b604052919050565b600060408284031215620006d257600080fd5b604080519081016001600160401b0381118282101715620006f757620006f76200064b565b604052825181526020928301519281019290925250919050565b6000806000806000806000610120888a0312156200072e57600080fd5b87516200073b8162000608565b96506200074b6020890162000633565b955060408801516200075d8162000608565b6060890151909550620007708162000608565b6080890151909450620007838162000608565b9250620007948960a08a01620006bf565b9150620007a58960e08a01620006bf565b905092959891949750929550565b600060208284031215620007c657600080fd5b81518015158114620007d757600080fd5b9392505050565b600082601f830112620007f057600080fd5b81516001600160401b038111156200080c576200080c6200064b565b602062000822601f8301601f191682016200068c565b82815285828487010111156200083757600080fd5b60005b83811015620008575785810183015182820184015282016200083a565b506000928101909101919091529392505050565b6000602082840312156200087e57600080fd5b81516001600160401b03808211156200089657600080fd5b9083019060c08286031215620008ab57600080fd5b620008b562000661565b620008c08362000633565b8152620008d06020840162000633565b6020820152604083015160ff81168114620008ea57600080fd5b6040820152620008fd6060840162000621565b6060820152620009106080840162000621565b608082015260a0830151828111156200092857600080fd5b6200093687828601620007de565b60a08301525095945050505050565b6000602082840312156200095857600080fd5b8151620007d78162000608565b6000604082840312156200097857600080fd5b620007d78383620006bf565b60805160a05160c051611758620009e560003960006109be0152600061025f0152600081816102b5015281816105c50152818161065b015281816107c4015281816108e60152818161093f01528181610a010152610d4901526117586000f3fe608060405234801561001057600080fd5b50600436106101735760003560e01c80635e78426b116100de578063abd732ef11610097578063daafed4011610071578063daafed401461038b578063db6dcc9514610393578063de7b5d141461039b578063f83d08ba146103ac57600080fd5b8063abd732ef1461033a578063b6b412ba14610365578063bbfbbfba1461037857600080fd5b80635e78426b146102d9578063630361f6146102ec578063644c45e014610301578063893d20e814610309578063955fd78214610311578063a69df4b51461033257600080fd5b80631bdd6b76116101305780631bdd6b761461024457806321df0da71461024c57806331b62a3b1461025d5780633bc5de30146102835780633f28c2ec146102a05780635ab1bd53146102b357600080fd5b806301ffc9a71461017857806312abb9b3146101ba57806313299604146101db5780631380bf231461020057806315dae03e146102155780631aa3a00814610224575b600080fd5b6101a5610186366004610ff5565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6101cd6101c8366004611144565b6103b4565b6040519081526020016101b1565b6003546001600160a01b03165b6040516001600160a01b0390911681526020016101b1565b610208610440565b6040516101b191906111cd565b604051606e81526020016101b1565b61022c61057a565b6040516001600160601b0390911681526020016101b1565b61022c61079f565b6004546001600160a01b03166101e8565b7f000000000000000000000000000000000000000000000000000000000000000061022c565b6040805160208101909152600081525b6040516101b1919061122a565b61022c6102ae36600461123d565b61080c565b7f00000000000000000000000000000000000000000000000000000000000000006101e8565b6101cd6102e7366004611287565b610875565b6102ff6102fa366004611312565b61088b565b005b61022c6108ce565b6101e861091d565b610319610a7a565b6040516001600160c01b031990911681526020016101b1565b6102ff610aa9565b6102936040518060400160405280600c81526020016b44454641554c545f5249534b60a01b81525081565b6102ff610373366004611389565b610b41565b6102ff6103863660046113be565b610be1565b610208610bef565b61022c610d24565b6005546001600160a01b03166101e8565b6102ff610d78565b600854604051639cdaa7f960e01b81526000916001600160a01b031690639cdaa7f9906103ef9089908b908a908a9089908b906004016113ea565b60a060405180830381865afa15801561040c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104309190611441565b50929a9950505050505050505050565b6040805180820190915260008082526020820152600061045e6108ce565b60055460405163278b381b60e01b81526001600160601b03831660048201529192506001600160a01b03169063278b381b90602401602060405180830381865afa1580156104b0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104d49190611481565b156105595760055460405163f2b246c360e01b81526001600160601b03831660048201526001600160a01b039091169063f2b246c3906024016101e060405180830381865afa15801561052b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061054f91906114f9565b6060015191505090565b505060408051808201909152600b548152600c54602082015290565b905090565b600061058461091d565b6001600160a01b0316336001600160a01b0316146105c35760405162461bcd60e51b815260206004820152600060248201526044015b60405180910390fd5b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166106395760405162461bcd60e51b815260206004820152601b60248201527f4552524f523a434f422d3030313a52454749535452595f5a45524f000000000060448201526064016105ba565b60055460405163c3c5a54760e01b81526001600160a01b0391821660048201527f00000000000000000000000000000000000000000000000000000000000000009091169063c3c5a54790602401602060405180830381865afa1580156106a4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106c89190611481565b61071e5760405162461bcd60e51b815260206004820152602160248201527f4552524f523a434f423a494e5354414e43455f4e4f545f5245474953544552456044820152601160fa1b60648201526084016105ba565b6005805460ff60a01b1916600160a01b179055600154604051632210724360e11b81523060048201526001600160a01b0390911690634420e486906024016020604051808303816000875af115801561077b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061057591906115b8565b600954604051636939560f60e11b81526001600160a01b0391821660048201526000917f0000000000000000000000000000000000000000000000000000000000000000169063d272ac1e906024015b602060405180830381865afa15801561077b573d6000803e3d6000fd5b600080610817610a7a565b604080516020810190915260008152600f549192509060ff1661085b5761084d8260405180602001604052806000815250610de0565b600f805460ff191660011790555b61086a33838989858a8a610e12565b979650505050505050565b6000610882600a866115d5565b95945050505050565b6040513381527fb00037f8426b35b13d3428bd0d8bb6059e05f90d0da23ee636f827aee1718e489060200160405180910390a16108c9838383610e9e565b505050565b604051636939560f60e11b81523060048201526000907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063d272ac1e906024016107ef565b604051636939560f60e11b815230600482015260009081906001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063d272ac1e90602401602060405180830381865afa158015610986573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109aa91906115b8565b90506109b7816000610f1e565b156109e3577f000000000000000000000000000000000000000000000000000000000000000091505090565b60405163df33330b60e01b81526001600160601b03821660048201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063df33330b90602401602060405180830381865afa158015610a50573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a7491906115f7565b91505090565b60006105756040518060400160405280600c81526020016b44454641554c545f5249534b60a01b815250610f34565b610ab161091d565b6001600160a01b0316336001600160a01b031614610ae15760405162461bcd60e51b81526004016105ba90611614565b600154604051630bdb124f60e21b81523060048201526001600160a01b0390911690632f6c493c906024015b600060405180830381600087803b158015610b2757600080fd5b505af1158015610b3b573d6000803e3d6000fd5b50505050565b610b4961091d565b6001600160a01b0316336001600160a01b031614610b795760405162461bcd60e51b81526004016105ba90611614565b600854604051635b5a095d60e11b81526001600160a01b039091169063b6b412ba90610bab908590859060040161164b565b600060405180830381600087803b158015610bc557600080fd5b505af1158015610bd9573d6000803e3d6000fd5b505050505050565b610beb8282610faf565b5050565b60408051808201909152600080825260208201526000610c0d6108ce565b60055460405163278b381b60e01b81526001600160601b03831660048201529192506001600160a01b03169063278b381b90602401602060405180830381865afa158015610c5f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c839190611481565b15610d085760055460405163f2b246c360e01b81526001600160601b03831660048201526001600160a01b039091169063f2b246c3906024016101e060405180830381865afa158015610cda573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cfe91906114f9565b6080015191505090565b505060408051808201909152600d548152600e54602082015290565b600a54604051636939560f60e11b81526001600160a01b0391821660048201526000917f0000000000000000000000000000000000000000000000000000000000000000169063d272ac1e906024016107ef565b610d8061091d565b6001600160a01b0316336001600160a01b031614610db05760405162461bcd60e51b81526004016105ba90611614565b60015460405163f435f5a760e01b81523060048201526001600160a01b039091169063f435f5a790602401610b0d565b6008546040516304af15b960e11b81526001600160a01b039091169063095e2b7290610bab9085908590600401611671565b60085460405163c2c7498760e01b81526000916001600160a01b03169063c2c7498790610e4f908b908b908b908b908b908b908b9060040161169f565b6020604051808303816000875af1158015610e6e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e9291906115b8565b98975050505050505050565b600854604051633181b0fb60e11b81526001600160601b0385166004820152831515602482015264ffffffffff831660448201526001600160a01b039091169063630361f690606401600060405180830381600087803b158015610f0157600080fd5b505af1158015610f15573d6000803e3d6000fd5b50505050505050565b6001600160601b03828116908216145b92915050565b60405163253a42dd60e11b815260009073__$19a201e37be2e25dc57bd4aa563a0edb25$__90634a7485ba90610f6e90859060040161122a565b602060405180830381865af4158015610f8b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f2e9190611705565b600854604051635dfddfdd60e11b81526001600160601b038416600482015264ffffffffff831660248201526001600160a01b039091169063bbfbbfba90604401610bab565b60006020828403121561100757600080fd5b81356001600160e01b03198116811461101f57600080fd5b9392505050565b6001600160c01b03198116811461103c57600080fd5b50565b634e487b7160e01b600052604160045260246000fd5b6040805190810167ffffffffffffffff811182821017156110785761107861103f565b60405290565b604051610120810167ffffffffffffffff811182821017156110785761107861103f565b600082601f8301126110b357600080fd5b813567ffffffffffffffff808211156110ce576110ce61103f565b604051601f8301601f19908116603f011681019082821181831017156110f6576110f661103f565b8160405283815286602085880101111561110f57600080fd5b836020870160208301376000602085830101528094505050505092915050565b6001600160601b038116811461103c57600080fd5b60008060008060008060c0878903121561115d57600080fd5b86359550602087013561116f81611026565b945060408701359350606087013567ffffffffffffffff81111561119257600080fd5b61119e89828a016110a2565b93505060808701356111af81611026565b915060a08701356111bf8161112f565b809150509295509295509295565b815181526020808301519082015260408101610f2e565b6000815180845260005b8181101561120a576020818501810151868301820152016111ee565b506000602082860101526020601f19601f83011685010191505092915050565b60208152600061101f60208301846111e4565b6000806000806080858703121561125357600080fd5b8435935060208501359250604085013561126c8161112f565b9150606085013561127c81611026565b939692955090935050565b6000806000806080858703121561129d57600080fd5b8435935060208501356112af81611026565b925060408501359150606085013567ffffffffffffffff8111156112d257600080fd5b6112de878288016110a2565b91505092959194509250565b801515811461103c57600080fd5b803564ffffffffff8116811461130d57600080fd5b919050565b60008060006060848603121561132757600080fd5b83356113328161112f565b92506020840135611342816112ea565b9150611350604085016112f8565b90509250925092565b60006040828403121561136b57600080fd5b611373611055565b9050813581526020820135602082015292915050565b6000806080838503121561139c57600080fd5b6113a68484611359565b91506113b58460408501611359565b90509250929050565b600080604083850312156113d157600080fd5b82356113dc8161112f565b91506113b5602084016112f8565b600067ffffffffffffffff60c01b808916835287602084015286604084015260c0606084015261141d60c08401876111e4565b6001600160601b039590951660808401529290921660a09091015250949350505050565b600080600080600060a0868803121561145957600080fd5b5050835160208501516040860151606087015160809097015192989197509594509092509050565b60006020828403121561149357600080fd5b815161101f816112ea565b805161130d8161112f565b6001600160a01b038116811461103c57600080fd5b805161130d816114a9565b6000604082840312156114db57600080fd5b6114e3611055565b9050815181526020820151602082015292915050565b60006101e0828403121561150c57600080fd5b61151461107e565b61151d8361149e565b815261152b6020840161149e565b602082015261153c604084016114be565b604082015261154e84606085016114c9565b60608201526115608460a085016114c9565b60808201526115728460e085016114c9565b60a08201526115858461012085016114c9565b60c08201526115988461016085016114c9565b60e08201526115ab846101a085016114c9565b6101008201529392505050565b6000602082840312156115ca57600080fd5b815161101f8161112f565b6000826115f257634e487b7160e01b600052601260045260246000fd5b500490565b60006020828403121561160957600080fd5b815161101f816114a9565b60208082526017908201527f4552524f523a5247422d3030313a4e4f545f4f574e4552000000000000000000604082015260600190565b82518152602080840151818301528251604083015282015160608201526080810161101f565b67ffffffffffffffff60c01b8316815260406020820152600061169760408301846111e4565b949350505050565b60018060a01b0388168152600067ffffffffffffffff60c01b808916602084015287604084015286606084015260e060808401526116e060e08401876111e4565b6001600160601b039590951660a08401529290921660c0909101525095945050505050565b60006020828403121561171757600080fd5b815161101f8161102656fea264697066735822122054e8378e69c48ed05237df4ae76d3d7e180fe03ef9ce25712885fbc65a540f5964736f6c63430008140033",
|
546
|
-
"deployedBytecode": "0x608060405234801561001057600080fd5b50600436106101735760003560e01c80635e78426b116100de578063abd732ef11610097578063daafed4011610071578063daafed401461038b578063db6dcc9514610393578063de7b5d141461039b578063f83d08ba146103ac57600080fd5b8063abd732ef1461033a578063b6b412ba14610365578063bbfbbfba1461037857600080fd5b80635e78426b146102d9578063630361f6146102ec578063644c45e014610301578063893d20e814610309578063955fd78214610311578063a69df4b51461033257600080fd5b80631bdd6b76116101305780631bdd6b761461024457806321df0da71461024c57806331b62a3b1461025d5780633bc5de30146102835780633f28c2ec146102a05780635ab1bd53146102b357600080fd5b806301ffc9a71461017857806312abb9b3146101ba57806313299604146101db5780631380bf231461020057806315dae03e146102155780631aa3a00814610224575b600080fd5b6101a5610186366004610ff5565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6101cd6101c8366004611144565b6103b4565b6040519081526020016101b1565b6003546001600160a01b03165b6040516001600160a01b0390911681526020016101b1565b610208610440565b6040516101b191906111cd565b604051606e81526020016101b1565b61022c61057a565b6040516001600160601b0390911681526020016101b1565b61022c61079f565b6004546001600160a01b03166101e8565b7f000000000000000000000000000000000000000000000000000000000000000061022c565b6040805160208101909152600081525b6040516101b1919061122a565b61022c6102ae36600461123d565b61080c565b7f00000000000000000000000000000000000000000000000000000000000000006101e8565b6101cd6102e7366004611287565b610875565b6102ff6102fa366004611312565b61088b565b005b61022c6108ce565b6101e861091d565b610319610a7a565b6040516001600160c01b031990911681526020016101b1565b6102ff610aa9565b6102936040518060400160405280600c81526020016b44454641554c545f5249534b60a01b81525081565b6102ff610373366004611389565b610b41565b6102ff6103863660046113be565b610be1565b610208610bef565b61022c610d24565b6005546001600160a01b03166101e8565b6102ff610d78565b600854604051639cdaa7f960e01b81526000916001600160a01b031690639cdaa7f9906103ef9089908b908a908a9089908b906004016113ea565b60a060405180830381865afa15801561040c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104309190611441565b50929a9950505050505050505050565b6040805180820190915260008082526020820152600061045e6108ce565b60055460405163278b381b60e01b81526001600160601b03831660048201529192506001600160a01b03169063278b381b90602401602060405180830381865afa1580156104b0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104d49190611481565b156105595760055460405163f2b246c360e01b81526001600160601b03831660048201526001600160a01b039091169063f2b246c3906024016101e060405180830381865afa15801561052b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061054f91906114f9565b6060015191505090565b505060408051808201909152600b548152600c54602082015290565b905090565b600061058461091d565b6001600160a01b0316336001600160a01b0316146105c35760405162461bcd60e51b815260206004820152600060248201526044015b60405180910390fd5b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166106395760405162461bcd60e51b815260206004820152601b60248201527f4552524f523a434f422d3030313a52454749535452595f5a45524f000000000060448201526064016105ba565b60055460405163c3c5a54760e01b81526001600160a01b0391821660048201527f00000000000000000000000000000000000000000000000000000000000000009091169063c3c5a54790602401602060405180830381865afa1580156106a4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106c89190611481565b61071e5760405162461bcd60e51b815260206004820152602160248201527f4552524f523a434f423a494e5354414e43455f4e4f545f5245474953544552456044820152601160fa1b60648201526084016105ba565b6005805460ff60a01b1916600160a01b179055600154604051632210724360e11b81523060048201526001600160a01b0390911690634420e486906024016020604051808303816000875af115801561077b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061057591906115b8565b600954604051636939560f60e11b81526001600160a01b0391821660048201526000917f0000000000000000000000000000000000000000000000000000000000000000169063d272ac1e906024015b602060405180830381865afa15801561077b573d6000803e3d6000fd5b600080610817610a7a565b604080516020810190915260008152600f549192509060ff1661085b5761084d8260405180602001604052806000815250610de0565b600f805460ff191660011790555b61086a33838989858a8a610e12565b979650505050505050565b6000610882600a866115d5565b95945050505050565b6040513381527fb00037f8426b35b13d3428bd0d8bb6059e05f90d0da23ee636f827aee1718e489060200160405180910390a16108c9838383610e9e565b505050565b604051636939560f60e11b81523060048201526000907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063d272ac1e906024016107ef565b604051636939560f60e11b815230600482015260009081906001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063d272ac1e90602401602060405180830381865afa158015610986573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109aa91906115b8565b90506109b7816000610f1e565b156109e3577f000000000000000000000000000000000000000000000000000000000000000091505090565b60405163df33330b60e01b81526001600160601b03821660048201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063df33330b90602401602060405180830381865afa158015610a50573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a7491906115f7565b91505090565b60006105756040518060400160405280600c81526020016b44454641554c545f5249534b60a01b815250610f34565b610ab161091d565b6001600160a01b0316336001600160a01b031614610ae15760405162461bcd60e51b81526004016105ba90611614565b600154604051630bdb124f60e21b81523060048201526001600160a01b0390911690632f6c493c906024015b600060405180830381600087803b158015610b2757600080fd5b505af1158015610b3b573d6000803e3d6000fd5b50505050565b610b4961091d565b6001600160a01b0316336001600160a01b031614610b795760405162461bcd60e51b81526004016105ba90611614565b600854604051635b5a095d60e11b81526001600160a01b039091169063b6b412ba90610bab908590859060040161164b565b600060405180830381600087803b158015610bc557600080fd5b505af1158015610bd9573d6000803e3d6000fd5b505050505050565b610beb8282610faf565b5050565b60408051808201909152600080825260208201526000610c0d6108ce565b60055460405163278b381b60e01b81526001600160601b03831660048201529192506001600160a01b03169063278b381b90602401602060405180830381865afa158015610c5f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c839190611481565b15610d085760055460405163f2b246c360e01b81526001600160601b03831660048201526001600160a01b039091169063f2b246c3906024016101e060405180830381865afa158015610cda573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cfe91906114f9565b6080015191505090565b505060408051808201909152600d548152600e54602082015290565b600a54604051636939560f60e11b81526001600160a01b0391821660048201526000917f0000000000000000000000000000000000000000000000000000000000000000169063d272ac1e906024016107ef565b610d8061091d565b6001600160a01b0316336001600160a01b031614610db05760405162461bcd60e51b81526004016105ba90611614565b60015460405163f435f5a760e01b81523060048201526001600160a01b039091169063f435f5a790602401610b0d565b6008546040516304af15b960e11b81526001600160a01b039091169063095e2b7290610bab9085908590600401611671565b60085460405163c2c7498760e01b81526000916001600160a01b03169063c2c7498790610e4f908b908b908b908b908b908b908b9060040161169f565b6020604051808303816000875af1158015610e6e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e9291906115b8565b98975050505050505050565b600854604051633181b0fb60e11b81526001600160601b0385166004820152831515602482015264ffffffffff831660448201526001600160a01b039091169063630361f690606401600060405180830381600087803b158015610f0157600080fd5b505af1158015610f15573d6000803e3d6000fd5b50505050505050565b6001600160601b03828116908216145b92915050565b60405163253a42dd60e11b815260009073__$19a201e37be2e25dc57bd4aa563a0edb25$__90634a7485ba90610f6e90859060040161122a565b602060405180830381865af4158015610f8b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f2e9190611705565b600854604051635dfddfdd60e11b81526001600160601b038416600482015264ffffffffff831660248201526001600160a01b039091169063bbfbbfba90604401610bab565b60006020828403121561100757600080fd5b81356001600160e01b03198116811461101f57600080fd5b9392505050565b6001600160c01b03198116811461103c57600080fd5b50565b634e487b7160e01b600052604160045260246000fd5b6040805190810167ffffffffffffffff811182821017156110785761107861103f565b60405290565b604051610120810167ffffffffffffffff811182821017156110785761107861103f565b600082601f8301126110b357600080fd5b813567ffffffffffffffff808211156110ce576110ce61103f565b604051601f8301601f19908116603f011681019082821181831017156110f6576110f661103f565b8160405283815286602085880101111561110f57600080fd5b836020870160208301376000602085830101528094505050505092915050565b6001600160601b038116811461103c57600080fd5b60008060008060008060c0878903121561115d57600080fd5b86359550602087013561116f81611026565b945060408701359350606087013567ffffffffffffffff81111561119257600080fd5b61119e89828a016110a2565b93505060808701356111af81611026565b915060a08701356111bf8161112f565b809150509295509295509295565b815181526020808301519082015260408101610f2e565b6000815180845260005b8181101561120a576020818501810151868301820152016111ee565b506000602082860101526020601f19601f83011685010191505092915050565b60208152600061101f60208301846111e4565b6000806000806080858703121561125357600080fd5b8435935060208501359250604085013561126c8161112f565b9150606085013561127c81611026565b939692955090935050565b6000806000806080858703121561129d57600080fd5b8435935060208501356112af81611026565b925060408501359150606085013567ffffffffffffffff8111156112d257600080fd5b6112de878288016110a2565b91505092959194509250565b801515811461103c57600080fd5b803564ffffffffff8116811461130d57600080fd5b919050565b60008060006060848603121561132757600080fd5b83356113328161112f565b92506020840135611342816112ea565b9150611350604085016112f8565b90509250925092565b60006040828403121561136b57600080fd5b611373611055565b9050813581526020820135602082015292915050565b6000806080838503121561139c57600080fd5b6113a68484611359565b91506113b58460408501611359565b90509250929050565b600080604083850312156113d157600080fd5b82356113dc8161112f565b91506113b5602084016112f8565b600067ffffffffffffffff60c01b808916835287602084015286604084015260c0606084015261141d60c08401876111e4565b6001600160601b039590951660808401529290921660a09091015250949350505050565b600080600080600060a0868803121561145957600080fd5b5050835160208501516040860151606087015160809097015192989197509594509092509050565b60006020828403121561149357600080fd5b815161101f816112ea565b805161130d8161112f565b6001600160a01b038116811461103c57600080fd5b805161130d816114a9565b6000604082840312156114db57600080fd5b6114e3611055565b9050815181526020820151602082015292915050565b60006101e0828403121561150c57600080fd5b61151461107e565b61151d8361149e565b815261152b6020840161149e565b602082015261153c604084016114be565b604082015261154e84606085016114c9565b60608201526115608460a085016114c9565b60808201526115728460e085016114c9565b60a08201526115858461012085016114c9565b60c08201526115988461016085016114c9565b60e08201526115ab846101a085016114c9565b6101008201529392505050565b6000602082840312156115ca57600080fd5b815161101f8161112f565b6000826115f257634e487b7160e01b600052601260045260246000fd5b500490565b60006020828403121561160957600080fd5b815161101f816114a9565b60208082526017908201527f4552524f523a5247422d3030313a4e4f545f4f574e4552000000000000000000604082015260600190565b82518152602080840151818301528251604083015282015160608201526080810161101f565b67ffffffffffffffff60c01b8316815260406020820152600061169760408301846111e4565b949350505050565b60018060a01b0388168152600067ffffffffffffffff60c01b808916602084015287604084015286606084015260e060808401526116e060e08401876111e4565b6001600160601b039590951660a08401529290921660c0909101525095945050505050565b60006020828403121561171757600080fd5b815161101f8161102656fea264697066735822122054e8378e69c48ed05237df4ae76d3d7e180fe03ef9ce25712885fbc65a540f5964736f6c63430008140033",
|
594
|
+
"bytecode": "0x60806040523480156200001157600080fd5b50604051620028c3380380620028c38339810160408190526200003491620008ae565b888888888888888888888888606e6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff1916600117905589856040805160208101909152600081526200009f87878686868662000574565b6000620000c2600080516020620028a3833981519152546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03891660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa15801562000112573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526200013c919081019062000a18565b6080810151600580546001600160a01b0319166001600160a01b0390921691821790556040516301ffc9a760e01b8152630de7806f60e41b6004820152919250906301ffc9a790602401602060405180830381865afa158015620001a4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620001ca919062000afe565b620001f65760405162461bcd60e51b815260206004820152600060248201526044015b60405180910390fd5b600560009054906101000a90046001600160a01b03166001600160a01b0316636fa298536040518163ffffffff1660e01b8152600401602060405180830381865afa1580156200024a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000270919062000b23565b600180546001600160a01b03199081166001600160a01b0393841617825560038054309083161790556004805490911692891692909217909155631b1599eb60e21b60009081526020527f82dc1aafdf8e16d475718790c9464a2912866acb395e292abd1ea37be80f5b28805460ff191690911790555050505050505050600560009054906101000a90046001600160a01b03166001600160a01b0316634288121d6040518163ffffffff1660e01b8152600401602060405180830381865afa15801562000342573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000368919062000b23565b600680546001600160a01b03199081166001600160a01b0393841617909155600780548216888416179055600880549091168683161790558351600955602080850151600a558351600b55830151600c55600080516020620028a38339815191525416600754604051636939560f60e11b81526001600160a01b03918216600482015291169063d272ac1e90602401602060405180830381865afa15801562000415573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200043b919062000b43565b600d80546001600160601b0319166001600160601b03929092169190911790556200047c600080516020620028a3833981519152546001600160a01b031690565b600854604051636939560f60e11b81526001600160a01b03918216600482015291169063d272ac1e90602401602060405180830381865afa158015620004c6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620004ec919062000b43565b600d80546001600160601b03929092166c0100000000000000000000000002600160601b600160c01b03199092169190911790556379fc0e7160e11b60009081526020527fae37458bb8945ae7571d1722238fea83f3c5619cf829a972c67f136a0bac29d2805460ff1916600117905550505050505050505050505050505050505062000cbc565b6001600160a01b038616620005cc5760405162461bcd60e51b815260206004820152601b60248201527f4552524f523a5247422d3031303a52454749535452595f5a45524f00000000006044820152606401620001ed565b6040516301ffc9a760e01b8152636882e63f60e11b600482015286906001600160a01b038216906301ffc9a790602401602060405180830381865afa1580156200061a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000640919062000afe565b6200068e5760405162461bcd60e51b815260206004820152601a60248201527f4552524f523a5247422d3031313a4e4f545f52454749535452590000000000006044820152606401620001ed565b6001600160a01b03818116600160a01b6001600160601b038916810291909117600080516020620028a38339815191529081557f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30180546001600160a01b031961ffff60a01b1990911660ff8b1690940260ff60a81b191693909317600160a81b8915150217929092169286169290921790557f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa3026200074d848262000bf0565b5063a6d3826560e01b60009081526020527f164a5a3a3a16df858f794c5fc01b962add2c2151ae53ddb31581eabdf1156730805460ff191660011790555050505050505050565b6001600160a01b0381168114620007aa57600080fd5b50565b8051620007ba8162000794565b919050565b80516001600160601b0381168114620007ba57600080fd5b80518015158114620007ba57600080fd5b634e487b7160e01b600052604160045260246000fd5b60405160e081016001600160401b0381118282101715620008235762000823620007e8565b60405290565b604051601f8201601f191681016001600160401b0381118282101715620008545762000854620007e8565b604052919050565b6000604082840312156200086f57600080fd5b604080519081016001600160401b0381118282101715620008945762000894620007e8565b604052825181526020928301519281019290925250919050565b60008060008060008060008060006101608a8c031215620008ce57600080fd5b8951620008db8162000794565b9850620008eb60208b01620007bf565b975060408a0151620008fd8162000794565b96506200090d60608b01620007d7565b955060808a01516200091f8162000794565b60a08b0151909550620009328162000794565b9350620009438b60c08c016200085c565b9250620009558b6101008c016200085c565b91506101408a0151620009688162000794565b809150509295985092959850929598565b805160ff81168114620007ba57600080fd5b600082601f8301126200099d57600080fd5b81516001600160401b03811115620009b957620009b9620007e8565b6020620009cf601f8301601f1916820162000829565b8281528582848701011115620009e457600080fd5b60005b8381101562000a04578581018301518282018401528201620009e7565b506000928101909101919091529392505050565b60006020828403121562000a2b57600080fd5b81516001600160401b038082111562000a4357600080fd5b9083019060e0828603121562000a5857600080fd5b62000a62620007fe565b62000a6d83620007bf565b815262000a7d60208401620007bf565b602082015262000a906040840162000979565b604082015262000aa360608401620007d7565b606082015262000ab660808401620007ad565b608082015262000ac960a08401620007ad565b60a082015260c08301518281111562000ae157600080fd5b62000aef878286016200098b565b60c08301525095945050505050565b60006020828403121562000b1157600080fd5b62000b1c82620007d7565b9392505050565b60006020828403121562000b3657600080fd5b815162000b1c8162000794565b60006020828403121562000b5657600080fd5b62000b1c82620007bf565b600181811c9082168062000b7657607f821691505b60208210810362000b9757634e487b7160e01b600052602260045260246000fd5b50919050565b601f82111562000beb57600081815260208120601f850160051c8101602086101562000bc65750805b601f850160051c820191505b8181101562000be75782815560010162000bd2565b5050505b505050565b81516001600160401b0381111562000c0c5762000c0c620007e8565b62000c248162000c1d845462000b61565b8462000b9d565b602080601f83116001811462000c5c576000841562000c435750858301515b600019600386901b1c1916600185901b17855562000be7565b600085815260208120601f198616915b8281101562000c8d5788860151825594840194600190910190840162000c6c565b508582101562000cac5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b611bd78062000ccc6000396000f3fe608060405234801561001057600080fd5b506004361061014d5760003560e01c8063630361f6116100c3578063b6b412ba1161007c578063b6b412ba146102ff578063bbfbbfba14610312578063daafed4014610325578063db6dcc951461032d578063de7b5d1414610335578063f83d08ba1461034657600080fd5b8063630361f614610279578063644c45e01461028e578063893d20e814610296578063955fd7821461029e578063a69df4b5146102bf578063abd732ef146102c757600080fd5b80631bdd6b76116101155780631bdd6b76146102055780631eff4b221461022557806321df0da71461023a5780633f28c2ec1461024b5780635ab1bd531461025e5780635e78426b1461026657600080fd5b806301ffc9a7146101525780630fec111c1461019457806312abb9b3146101aa57806313299604146101cb5780631380bf23146101f0575b600080fd5b61017f61016036600461101c565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b61019c61034e565b60405161018b92919061109d565b6101bd6101b836600461129e565b610578565b60405190815260200161018b565b6003546001600160a01b03165b6040516001600160a01b03909116815260200161018b565b6101f8610604565b60405161018b9190611327565b61020d610739565b6040516001600160601b03909116815260200161018b565b6101bd600080516020611b8283398151915281565b6004546001600160a01b03166101d8565b61020d61025936600461133e565b6107b6565b6101d861082c565b6101bd610274366004611388565b610848565b61028c610287366004611413565b61085e565b005b61020d6108a1565b6101d86108df565b6102a661095a565b6040516001600160c01b0319909116815260200161018b565b61028c610989565b6102f26040518060400160405280600c81526020016b44454641554c545f5249534b60a01b81525081565b60405161018b919061145a565b61028c61030d36600461149d565b610a2a565b61028c6103203660046114d2565b610aca565b6101f8610ad8565b61020d610c0d565b6005546001600160a01b03166101d8565b61028c610c48565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c08201819052909180610392610cb0565b91509150600080600760009054906101000a90046001600160a01b03166001600160a01b0316630fec111c6040518163ffffffff1660e01b8152600401600060405180830381865afa1580156103ec573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526104149190810190611592565b9150915060008060008380602001905181019061043191906116bb565b6040805161012081018252600d546001600160601b038082168352600160601b90910416602080830191909152600480546001600160a01b031683850152835180850185526009548152600a5481840152606084015283518085018552600b548152600c5492810192909252608083019190915260a0820186905260c0820185905260e082018490528251632bd182d360e01b81528351969c50949a509298508e975095506101008601945073__$a23651848365a6a5ca15f07b4331037f48$__93632bd182d39380840193908290030181865af4158015610517573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061053b9190611760565b905260035460405161055a92916001600160a01b03169060200161177c565b60405160208183030381529060405298509850505050505050509091565b600654604051639cdaa7f960e01b81526000916001600160a01b031690639cdaa7f9906105b39089908b908a908a9089908b90600401611872565b60a060405180830381865afa1580156105d0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105f491906118c9565b50929a9950505050505050505050565b604080518082019091526000808252602082015260006106226108a1565b60055460405163278b381b60e01b81526001600160601b03831660048201529192506001600160a01b03169063278b381b90602401602060405180830381865afa158015610674573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106989190611909565b1561071d5760055460405163f2b246c360e01b81526001600160601b03831660048201526001600160a01b039091169063f2b246c3906024016101e060405180830381865afa1580156106ef573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107139190611926565b6060015191505090565b5050604080518082019091526009548152600a54602082015290565b600061074361082c565b600754604051636939560f60e11b81526001600160a01b03918216600482015291169063d272ac1e906024015b602060405180830381865afa15801561078d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107b191906119e5565b905090565b6000806107c161095a565b604080516020810190915260008152600d5491925090600160c01b900460ff16610812576107fe8260405180602001604052806000815250610e17565b600d805460ff60c01b1916600160c01b1790555b61082133838989858a8a610e49565b979650505050505050565b600080516020611b82833981519152546001600160a01b031690565b6000610855600a86611a02565b95945050505050565b6040513381527fb00037f8426b35b13d3428bd0d8bb6059e05f90d0da23ee636f827aee1718e489060200160405180910390a161089c838383610ed5565b505050565b600080516020611b8283398151915254604051636939560f60e11b81523060048201526000916001600160a01b03169063d272ac1e90602401610770565b6000600080516020611b8283398151915254604051630a57ebcf60e11b81523060048201526001600160a01b03909116906314afd79e90602401602060405180830381865afa158015610936573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107b19190611a24565b60006107b16040518060400160405280600c81526020016b44454641554c545f5249534b60a01b815250610f55565b6109916108df565b6001600160a01b0316336001600160a01b0316146109ca5760405162461bcd60e51b81526004016109c190611a41565b60405180910390fd5b600154604051630bdb124f60e21b81523060048201526001600160a01b0390911690632f6c493c906024015b600060405180830381600087803b158015610a1057600080fd5b505af1158015610a24573d6000803e3d6000fd5b50505050565b610a326108df565b6001600160a01b0316336001600160a01b031614610a625760405162461bcd60e51b81526004016109c190611a41565b600654604051635b5a095d60e11b81526001600160a01b039091169063b6b412ba90610a949085908590600401611a78565b600060405180830381600087803b158015610aae57600080fd5b505af1158015610ac2573d6000803e3d6000fd5b505050505050565b610ad48282610fd6565b5050565b60408051808201909152600080825260208201526000610af66108a1565b60055460405163278b381b60e01b81526001600160601b03831660048201529192506001600160a01b03169063278b381b90602401602060405180830381865afa158015610b48573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b6c9190611909565b15610bf15760055460405163f2b246c360e01b81526001600160601b03831660048201526001600160a01b039091169063f2b246c3906024016101e060405180830381865afa158015610bc3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610be79190611926565b6080015191505090565b505060408051808201909152600b548152600c54602082015290565b6000610c1761082c565b600854604051636939560f60e11b81526001600160a01b03918216600482015291169063d272ac1e90602401610770565b610c506108df565b6001600160a01b0316336001600160a01b031614610c805760405162461bcd60e51b81526004016109c190611a41565b60015460405163f435f5a760e01b81523060048201526001600160a01b039091169063f435f5a7906024016109f6565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c081019190915260606000600080516020611b8283398151915290506040518060e00160405280610d13600090565b6001600160601b0390811682528354600160a01b908190049091166020830152600184015490810460ff9081166040840152600160a81b820416151560608301523060808301526001600160a01b031660a082015260028301805460c090920191610d7d90611a9e565b80601f0160208091040260200160405190810160405280929190818152602001828054610da990611a9e565b8015610df65780601f10610dcb57610100808354040283529160200191610df6565b820191906000526020600020905b815481529060010190602001808311610dd957829003601f168201915b50505050508152506040518060200160405280600081525092509250509091565b6006546040516304af15b960e11b81526001600160a01b039091169063095e2b7290610a949085908590600401611ad8565b60065460405163c2c7498760e01b81526000916001600160a01b03169063c2c7498790610e86908b908b908b908b908b908b908b90600401611afe565b6020604051808303816000875af1158015610ea5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ec991906119e5565b98975050505050505050565b600654604051633181b0fb60e11b81526001600160601b0385166004820152831515602482015264ffffffffff831660448201526001600160a01b039091169063630361f690606401600060405180830381600087803b158015610f3857600080fd5b505af1158015610f4c573d6000803e3d6000fd5b50505050505050565b60405163253a42dd60e11b815260009073__$19a201e37be2e25dc57bd4aa563a0edb25$__90634a7485ba90610f8f90859060040161145a565b602060405180830381865af4158015610fac573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fd09190611b64565b92915050565b600654604051635dfddfdd60e11b81526001600160601b038416600482015264ffffffffff831660248201526001600160a01b039091169063bbfbbfba90604401610a94565b60006020828403121561102e57600080fd5b81356001600160e01b03198116811461104657600080fd5b9392505050565b60005b83811015611068578181015183820152602001611050565b50506000910152565b6000815180845261108981602086016020860161104d565b601f01601f19169290920160200192915050565b6040815260006001600160601b038085511660408401528060208601511660608401525060ff604085015116608083015260608401516110e160a084018215159052565b5060808401516001600160a01b03811660c08401525060a08401516001600160a01b03811660e08401525060c084015160e0610100840152611127610120840182611071565b905082810360208401526108558185611071565b6001600160c01b03198116811461115157600080fd5b50565b634e487b7160e01b600052604160045260246000fd5b6040805190810167ffffffffffffffff8111828210171561118d5761118d611154565b60405290565b60405160e0810167ffffffffffffffff8111828210171561118d5761118d611154565b604051610120810167ffffffffffffffff8111828210171561118d5761118d611154565b604051601f8201601f1916810167ffffffffffffffff8111828210171561120357611203611154565b604052919050565b600067ffffffffffffffff82111561122557611225611154565b50601f01601f191660200190565b600082601f83011261124457600080fd5b81356112576112528261120b565b6111da565b81815284602083860101111561126c57600080fd5b816020850160208301376000918101602001919091529392505050565b6001600160601b038116811461115157600080fd5b60008060008060008060c087890312156112b757600080fd5b8635955060208701356112c98161113b565b945060408701359350606087013567ffffffffffffffff8111156112ec57600080fd5b6112f889828a01611233565b93505060808701356113098161113b565b915060a087013561131981611289565b809150509295509295509295565b815181526020808301519082015260408101610fd0565b6000806000806080858703121561135457600080fd5b8435935060208501359250604085013561136d81611289565b9150606085013561137d8161113b565b939692955090935050565b6000806000806080858703121561139e57600080fd5b8435935060208501356113b08161113b565b925060408501359150606085013567ffffffffffffffff8111156113d357600080fd5b6113df87828801611233565b91505092959194509250565b801515811461115157600080fd5b803564ffffffffff8116811461140e57600080fd5b919050565b60008060006060848603121561142857600080fd5b833561143381611289565b92506020840135611443816113eb565b9150611451604085016113f9565b90509250925092565b6020815260006110466020830184611071565b60006040828403121561147f57600080fd5b61148761116a565b9050813581526020820135602082015292915050565b600080608083850312156114b057600080fd5b6114ba848461146d565b91506114c9846040850161146d565b90509250929050565b600080604083850312156114e557600080fd5b82356114f081611289565b91506114c9602084016113f9565b805161140e81611289565b805160ff8116811461140e57600080fd5b805161140e816113eb565b6001600160a01b038116811461115157600080fd5b805161140e81611525565b600082601f83011261155657600080fd5b81516115646112528261120b565b81815284602083860101111561157957600080fd5b61158a82602083016020870161104d565b949350505050565b600080604083850312156115a557600080fd5b825167ffffffffffffffff808211156115bd57600080fd5b9084019060e082870312156115d157600080fd5b6115d9611193565b6115e2836114fe565b81526115f0602084016114fe565b602082015261160160408401611509565b60408201526116126060840161151a565b60608201526116236080840161153a565b608082015261163460a0840161153a565b60a082015260c08301518281111561164b57600080fd5b61165788828601611545565b60c083015250602086015190945091508082111561167457600080fd5b5061168185828601611545565b9150509250929050565b60006040828403121561169d57600080fd5b6116a561116a565b9050815181526020820151602082015292915050565b6000806000806000808688036101408112156116d657600080fd5b60408112156116e457600080fd5b506116ed61116a565b87516116f8816113eb565b815260208881015190820152604088015190965061171581611525565b606088015190955061172681611525565b9350611735886080890161168b565b92506117448860c0890161168b565b915061175488610100890161168b565b90509295509295509295565b60006040828403121561177257600080fd5b611046838361168b565b82516001600160601b031681526020808401516102008301916117a9908401826001600160601b03169052565b5060408401516117c460408401826001600160a01b03169052565b5060608401516117e1606084018280518252602090810151910152565b506080840151805160a0840152602081015160c08401525060a0840151805160e084015260208101516101008401525060c0840151805161012084015260208101516101408401525060e0840151805161016084015260208101516101808401525061010084015180516101a084015260208101516101c0840152506001600160a01b0383166101e0830152611046565b600067ffffffffffffffff60c01b808916835287602084015286604084015260c060608401526118a560c0840187611071565b6001600160601b039590951660808401529290921660a09091015250949350505050565b600080600080600060a086880312156118e157600080fd5b5050835160208501516040860151606087015160809097015192989197509594509092509050565b60006020828403121561191b57600080fd5b8151611046816113eb565b60006101e0828403121561193957600080fd5b6119416111b6565b61194a836114fe565b8152611958602084016114fe565b60208201526119696040840161153a565b604082015261197b846060850161168b565b606082015261198d8460a0850161168b565b608082015261199f8460e0850161168b565b60a08201526119b284610120850161168b565b60c08201526119c584610160850161168b565b60e08201526119d8846101a0850161168b565b6101008201529392505050565b6000602082840312156119f757600080fd5b815161104681611289565b600082611a1f57634e487b7160e01b600052601260045260246000fd5b500490565b600060208284031215611a3657600080fd5b815161104681611525565b60208082526017908201527f4552524f523a5247422d3030313a4e4f545f4f574e4552000000000000000000604082015260600190565b825181526020808401518183015282516040830152820151606082015260808101611046565b600181811c90821680611ab257607f821691505b602082108103611ad257634e487b7160e01b600052602260045260246000fd5b50919050565b67ffffffffffffffff60c01b8316815260406020820152600061158a6040830184611071565b60018060a01b0388168152600067ffffffffffffffff60c01b808916602084015287604084015286606084015260e06080840152611b3f60e0840187611071565b6001600160601b039590951660a08401529290921660c0909101525095945050505050565b600060208284031215611b7657600080fd5b81516110468161113b56fe6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa300a264697066735822122004699364faef762bacf89af1a323d0e12c924ee340a2071fa9dab20a798c956764736f6c634300081400336548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa300",
|
595
|
+
"deployedBytecode": "0x608060405234801561001057600080fd5b506004361061014d5760003560e01c8063630361f6116100c3578063b6b412ba1161007c578063b6b412ba146102ff578063bbfbbfba14610312578063daafed4014610325578063db6dcc951461032d578063de7b5d1414610335578063f83d08ba1461034657600080fd5b8063630361f614610279578063644c45e01461028e578063893d20e814610296578063955fd7821461029e578063a69df4b5146102bf578063abd732ef146102c757600080fd5b80631bdd6b76116101155780631bdd6b76146102055780631eff4b221461022557806321df0da71461023a5780633f28c2ec1461024b5780635ab1bd531461025e5780635e78426b1461026657600080fd5b806301ffc9a7146101525780630fec111c1461019457806312abb9b3146101aa57806313299604146101cb5780631380bf23146101f0575b600080fd5b61017f61016036600461101c565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b61019c61034e565b60405161018b92919061109d565b6101bd6101b836600461129e565b610578565b60405190815260200161018b565b6003546001600160a01b03165b6040516001600160a01b03909116815260200161018b565b6101f8610604565b60405161018b9190611327565b61020d610739565b6040516001600160601b03909116815260200161018b565b6101bd600080516020611b8283398151915281565b6004546001600160a01b03166101d8565b61020d61025936600461133e565b6107b6565b6101d861082c565b6101bd610274366004611388565b610848565b61028c610287366004611413565b61085e565b005b61020d6108a1565b6101d86108df565b6102a661095a565b6040516001600160c01b0319909116815260200161018b565b61028c610989565b6102f26040518060400160405280600c81526020016b44454641554c545f5249534b60a01b81525081565b60405161018b919061145a565b61028c61030d36600461149d565b610a2a565b61028c6103203660046114d2565b610aca565b6101f8610ad8565b61020d610c0d565b6005546001600160a01b03166101d8565b61028c610c48565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c08201819052909180610392610cb0565b91509150600080600760009054906101000a90046001600160a01b03166001600160a01b0316630fec111c6040518163ffffffff1660e01b8152600401600060405180830381865afa1580156103ec573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526104149190810190611592565b9150915060008060008380602001905181019061043191906116bb565b6040805161012081018252600d546001600160601b038082168352600160601b90910416602080830191909152600480546001600160a01b031683850152835180850185526009548152600a5481840152606084015283518085018552600b548152600c5492810192909252608083019190915260a0820186905260c0820185905260e082018490528251632bd182d360e01b81528351969c50949a509298508e975095506101008601945073__$a23651848365a6a5ca15f07b4331037f48$__93632bd182d39380840193908290030181865af4158015610517573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061053b9190611760565b905260035460405161055a92916001600160a01b03169060200161177c565b60405160208183030381529060405298509850505050505050509091565b600654604051639cdaa7f960e01b81526000916001600160a01b031690639cdaa7f9906105b39089908b908a908a9089908b90600401611872565b60a060405180830381865afa1580156105d0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105f491906118c9565b50929a9950505050505050505050565b604080518082019091526000808252602082015260006106226108a1565b60055460405163278b381b60e01b81526001600160601b03831660048201529192506001600160a01b03169063278b381b90602401602060405180830381865afa158015610674573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106989190611909565b1561071d5760055460405163f2b246c360e01b81526001600160601b03831660048201526001600160a01b039091169063f2b246c3906024016101e060405180830381865afa1580156106ef573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107139190611926565b6060015191505090565b5050604080518082019091526009548152600a54602082015290565b600061074361082c565b600754604051636939560f60e11b81526001600160a01b03918216600482015291169063d272ac1e906024015b602060405180830381865afa15801561078d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107b191906119e5565b905090565b6000806107c161095a565b604080516020810190915260008152600d5491925090600160c01b900460ff16610812576107fe8260405180602001604052806000815250610e17565b600d805460ff60c01b1916600160c01b1790555b61082133838989858a8a610e49565b979650505050505050565b600080516020611b82833981519152546001600160a01b031690565b6000610855600a86611a02565b95945050505050565b6040513381527fb00037f8426b35b13d3428bd0d8bb6059e05f90d0da23ee636f827aee1718e489060200160405180910390a161089c838383610ed5565b505050565b600080516020611b8283398151915254604051636939560f60e11b81523060048201526000916001600160a01b03169063d272ac1e90602401610770565b6000600080516020611b8283398151915254604051630a57ebcf60e11b81523060048201526001600160a01b03909116906314afd79e90602401602060405180830381865afa158015610936573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107b19190611a24565b60006107b16040518060400160405280600c81526020016b44454641554c545f5249534b60a01b815250610f55565b6109916108df565b6001600160a01b0316336001600160a01b0316146109ca5760405162461bcd60e51b81526004016109c190611a41565b60405180910390fd5b600154604051630bdb124f60e21b81523060048201526001600160a01b0390911690632f6c493c906024015b600060405180830381600087803b158015610a1057600080fd5b505af1158015610a24573d6000803e3d6000fd5b50505050565b610a326108df565b6001600160a01b0316336001600160a01b031614610a625760405162461bcd60e51b81526004016109c190611a41565b600654604051635b5a095d60e11b81526001600160a01b039091169063b6b412ba90610a949085908590600401611a78565b600060405180830381600087803b158015610aae57600080fd5b505af1158015610ac2573d6000803e3d6000fd5b505050505050565b610ad48282610fd6565b5050565b60408051808201909152600080825260208201526000610af66108a1565b60055460405163278b381b60e01b81526001600160601b03831660048201529192506001600160a01b03169063278b381b90602401602060405180830381865afa158015610b48573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b6c9190611909565b15610bf15760055460405163f2b246c360e01b81526001600160601b03831660048201526001600160a01b039091169063f2b246c3906024016101e060405180830381865afa158015610bc3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610be79190611926565b6080015191505090565b505060408051808201909152600b548152600c54602082015290565b6000610c1761082c565b600854604051636939560f60e11b81526001600160a01b03918216600482015291169063d272ac1e90602401610770565b610c506108df565b6001600160a01b0316336001600160a01b031614610c805760405162461bcd60e51b81526004016109c190611a41565b60015460405163f435f5a760e01b81523060048201526001600160a01b039091169063f435f5a7906024016109f6565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c081019190915260606000600080516020611b8283398151915290506040518060e00160405280610d13600090565b6001600160601b0390811682528354600160a01b908190049091166020830152600184015490810460ff9081166040840152600160a81b820416151560608301523060808301526001600160a01b031660a082015260028301805460c090920191610d7d90611a9e565b80601f0160208091040260200160405190810160405280929190818152602001828054610da990611a9e565b8015610df65780601f10610dcb57610100808354040283529160200191610df6565b820191906000526020600020905b815481529060010190602001808311610dd957829003601f168201915b50505050508152506040518060200160405280600081525092509250509091565b6006546040516304af15b960e11b81526001600160a01b039091169063095e2b7290610a949085908590600401611ad8565b60065460405163c2c7498760e01b81526000916001600160a01b03169063c2c7498790610e86908b908b908b908b908b908b908b90600401611afe565b6020604051808303816000875af1158015610ea5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ec991906119e5565b98975050505050505050565b600654604051633181b0fb60e11b81526001600160601b0385166004820152831515602482015264ffffffffff831660448201526001600160a01b039091169063630361f690606401600060405180830381600087803b158015610f3857600080fd5b505af1158015610f4c573d6000803e3d6000fd5b50505050505050565b60405163253a42dd60e11b815260009073__$19a201e37be2e25dc57bd4aa563a0edb25$__90634a7485ba90610f8f90859060040161145a565b602060405180830381865af4158015610fac573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fd09190611b64565b92915050565b600654604051635dfddfdd60e11b81526001600160601b038416600482015264ffffffffff831660248201526001600160a01b039091169063bbfbbfba90604401610a94565b60006020828403121561102e57600080fd5b81356001600160e01b03198116811461104657600080fd5b9392505050565b60005b83811015611068578181015183820152602001611050565b50506000910152565b6000815180845261108981602086016020860161104d565b601f01601f19169290920160200192915050565b6040815260006001600160601b038085511660408401528060208601511660608401525060ff604085015116608083015260608401516110e160a084018215159052565b5060808401516001600160a01b03811660c08401525060a08401516001600160a01b03811660e08401525060c084015160e0610100840152611127610120840182611071565b905082810360208401526108558185611071565b6001600160c01b03198116811461115157600080fd5b50565b634e487b7160e01b600052604160045260246000fd5b6040805190810167ffffffffffffffff8111828210171561118d5761118d611154565b60405290565b60405160e0810167ffffffffffffffff8111828210171561118d5761118d611154565b604051610120810167ffffffffffffffff8111828210171561118d5761118d611154565b604051601f8201601f1916810167ffffffffffffffff8111828210171561120357611203611154565b604052919050565b600067ffffffffffffffff82111561122557611225611154565b50601f01601f191660200190565b600082601f83011261124457600080fd5b81356112576112528261120b565b6111da565b81815284602083860101111561126c57600080fd5b816020850160208301376000918101602001919091529392505050565b6001600160601b038116811461115157600080fd5b60008060008060008060c087890312156112b757600080fd5b8635955060208701356112c98161113b565b945060408701359350606087013567ffffffffffffffff8111156112ec57600080fd5b6112f889828a01611233565b93505060808701356113098161113b565b915060a087013561131981611289565b809150509295509295509295565b815181526020808301519082015260408101610fd0565b6000806000806080858703121561135457600080fd5b8435935060208501359250604085013561136d81611289565b9150606085013561137d8161113b565b939692955090935050565b6000806000806080858703121561139e57600080fd5b8435935060208501356113b08161113b565b925060408501359150606085013567ffffffffffffffff8111156113d357600080fd5b6113df87828801611233565b91505092959194509250565b801515811461115157600080fd5b803564ffffffffff8116811461140e57600080fd5b919050565b60008060006060848603121561142857600080fd5b833561143381611289565b92506020840135611443816113eb565b9150611451604085016113f9565b90509250925092565b6020815260006110466020830184611071565b60006040828403121561147f57600080fd5b61148761116a565b9050813581526020820135602082015292915050565b600080608083850312156114b057600080fd5b6114ba848461146d565b91506114c9846040850161146d565b90509250929050565b600080604083850312156114e557600080fd5b82356114f081611289565b91506114c9602084016113f9565b805161140e81611289565b805160ff8116811461140e57600080fd5b805161140e816113eb565b6001600160a01b038116811461115157600080fd5b805161140e81611525565b600082601f83011261155657600080fd5b81516115646112528261120b565b81815284602083860101111561157957600080fd5b61158a82602083016020870161104d565b949350505050565b600080604083850312156115a557600080fd5b825167ffffffffffffffff808211156115bd57600080fd5b9084019060e082870312156115d157600080fd5b6115d9611193565b6115e2836114fe565b81526115f0602084016114fe565b602082015261160160408401611509565b60408201526116126060840161151a565b60608201526116236080840161153a565b608082015261163460a0840161153a565b60a082015260c08301518281111561164b57600080fd5b61165788828601611545565b60c083015250602086015190945091508082111561167457600080fd5b5061168185828601611545565b9150509250929050565b60006040828403121561169d57600080fd5b6116a561116a565b9050815181526020820151602082015292915050565b6000806000806000808688036101408112156116d657600080fd5b60408112156116e457600080fd5b506116ed61116a565b87516116f8816113eb565b815260208881015190820152604088015190965061171581611525565b606088015190955061172681611525565b9350611735886080890161168b565b92506117448860c0890161168b565b915061175488610100890161168b565b90509295509295509295565b60006040828403121561177257600080fd5b611046838361168b565b82516001600160601b031681526020808401516102008301916117a9908401826001600160601b03169052565b5060408401516117c460408401826001600160a01b03169052565b5060608401516117e1606084018280518252602090810151910152565b506080840151805160a0840152602081015160c08401525060a0840151805160e084015260208101516101008401525060c0840151805161012084015260208101516101408401525060e0840151805161016084015260208101516101808401525061010084015180516101a084015260208101516101c0840152506001600160a01b0383166101e0830152611046565b600067ffffffffffffffff60c01b808916835287602084015286604084015260c060608401526118a560c0840187611071565b6001600160601b039590951660808401529290921660a09091015250949350505050565b600080600080600060a086880312156118e157600080fd5b5050835160208501516040860151606087015160809097015192989197509594509092509050565b60006020828403121561191b57600080fd5b8151611046816113eb565b60006101e0828403121561193957600080fd5b6119416111b6565b61194a836114fe565b8152611958602084016114fe565b60208201526119696040840161153a565b604082015261197b846060850161168b565b606082015261198d8460a0850161168b565b608082015261199f8460e0850161168b565b60a08201526119b284610120850161168b565b60c08201526119c584610160850161168b565b60e08201526119d8846101a0850161168b565b6101008201529392505050565b6000602082840312156119f757600080fd5b815161104681611289565b600082611a1f57634e487b7160e01b600052601260045260246000fd5b500490565b600060208284031215611a3657600080fd5b815161104681611525565b60208082526017908201527f4552524f523a5247422d3030313a4e4f545f4f574e4552000000000000000000604082015260600190565b825181526020808401518183015282516040830152820151606082015260808101611046565b600181811c90821680611ab257607f821691505b602082108103611ad257634e487b7160e01b600052602260045260246000fd5b50919050565b67ffffffffffffffff60c01b8316815260406020820152600061158a6040830184611071565b60018060a01b0388168152600067ffffffffffffffff60c01b808916602084015287604084015286606084015260e06080840152611b3f60e0840187611071565b6001600160601b039590951660a08401529290921660c0909101525095945050505050565b600060208284031215611b7657600080fd5b81516110468161113b56fe6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa300a264697066735822122004699364faef762bacf89af1a323d0e12c924ee340a2071fa9dab20a798c956764736f6c63430008140033",
|
547
596
|
"linkReferences": {
|
548
597
|
"contracts/types/Fee.sol": {
|
549
598
|
"FeeLib": [
|
550
599
|
{
|
551
600
|
"length": 20,
|
552
|
-
"start":
|
601
|
+
"start": 4523
|
553
602
|
}
|
554
603
|
]
|
555
604
|
},
|
@@ -557,17 +606,25 @@
|
|
557
606
|
"RiskIdLib": [
|
558
607
|
{
|
559
608
|
"length": 20,
|
560
|
-
"start":
|
609
|
+
"start": 7219
|
561
610
|
}
|
562
611
|
]
|
563
612
|
}
|
564
613
|
},
|
565
614
|
"deployedLinkReferences": {
|
615
|
+
"contracts/types/Fee.sol": {
|
616
|
+
"FeeLib": [
|
617
|
+
{
|
618
|
+
"length": 20,
|
619
|
+
"start": 1247
|
620
|
+
}
|
621
|
+
]
|
622
|
+
},
|
566
623
|
"contracts/types/RiskId.sol": {
|
567
624
|
"RiskIdLib": [
|
568
625
|
{
|
569
626
|
"length": 20,
|
570
|
-
"start":
|
627
|
+
"start": 3943
|
571
628
|
}
|
572
629
|
]
|
573
630
|
}
|
@@ -14,6 +14,21 @@
|
|
14
14
|
"internalType": "NftId",
|
15
15
|
"name": "registryNftId",
|
16
16
|
"type": "uint96"
|
17
|
+
},
|
18
|
+
{
|
19
|
+
"internalType": "ObjectType",
|
20
|
+
"name": "objectType",
|
21
|
+
"type": "uint8"
|
22
|
+
},
|
23
|
+
{
|
24
|
+
"internalType": "bool",
|
25
|
+
"name": "isInterceptor",
|
26
|
+
"type": "bool"
|
27
|
+
},
|
28
|
+
{
|
29
|
+
"internalType": "address",
|
30
|
+
"name": "initialOwner",
|
31
|
+
"type": "address"
|
17
32
|
}
|
18
33
|
],
|
19
34
|
"stateMutability": "nonpayable",
|
@@ -21,25 +36,35 @@
|
|
21
36
|
},
|
22
37
|
{
|
23
38
|
"inputs": [],
|
24
|
-
"name": "
|
25
|
-
"
|
39
|
+
"name": "InvalidInitialization",
|
40
|
+
"type": "error"
|
41
|
+
},
|
42
|
+
{
|
43
|
+
"inputs": [],
|
44
|
+
"name": "NotInitializing",
|
45
|
+
"type": "error"
|
46
|
+
},
|
47
|
+
{
|
48
|
+
"anonymous": false,
|
49
|
+
"inputs": [
|
26
50
|
{
|
27
|
-
"
|
28
|
-
"
|
29
|
-
"
|
51
|
+
"indexed": false,
|
52
|
+
"internalType": "uint64",
|
53
|
+
"name": "version",
|
54
|
+
"type": "uint64"
|
30
55
|
}
|
31
56
|
],
|
32
|
-
"
|
33
|
-
"type": "
|
57
|
+
"name": "Initialized",
|
58
|
+
"type": "event"
|
34
59
|
},
|
35
60
|
{
|
36
61
|
"inputs": [],
|
37
|
-
"name": "
|
62
|
+
"name": "REGISTERABLE_LOCATION_V1",
|
38
63
|
"outputs": [
|
39
64
|
{
|
40
|
-
"internalType": "
|
41
|
-
"name": "
|
42
|
-
"type": "
|
65
|
+
"internalType": "bytes32",
|
66
|
+
"name": "",
|
67
|
+
"type": "bytes32"
|
43
68
|
}
|
44
69
|
],
|
45
70
|
"stateMutability": "view",
|
@@ -47,12 +72,54 @@
|
|
47
72
|
},
|
48
73
|
{
|
49
74
|
"inputs": [],
|
50
|
-
"name": "
|
75
|
+
"name": "getInitialInfo",
|
51
76
|
"outputs": [
|
52
77
|
{
|
53
|
-
"
|
54
|
-
|
55
|
-
|
78
|
+
"components": [
|
79
|
+
{
|
80
|
+
"internalType": "NftId",
|
81
|
+
"name": "nftId",
|
82
|
+
"type": "uint96"
|
83
|
+
},
|
84
|
+
{
|
85
|
+
"internalType": "NftId",
|
86
|
+
"name": "parentNftId",
|
87
|
+
"type": "uint96"
|
88
|
+
},
|
89
|
+
{
|
90
|
+
"internalType": "ObjectType",
|
91
|
+
"name": "objectType",
|
92
|
+
"type": "uint8"
|
93
|
+
},
|
94
|
+
{
|
95
|
+
"internalType": "bool",
|
96
|
+
"name": "isInterceptor",
|
97
|
+
"type": "bool"
|
98
|
+
},
|
99
|
+
{
|
100
|
+
"internalType": "address",
|
101
|
+
"name": "objectAddress",
|
102
|
+
"type": "address"
|
103
|
+
},
|
104
|
+
{
|
105
|
+
"internalType": "address",
|
106
|
+
"name": "initialOwner",
|
107
|
+
"type": "address"
|
108
|
+
},
|
109
|
+
{
|
110
|
+
"internalType": "bytes",
|
111
|
+
"name": "data",
|
112
|
+
"type": "bytes"
|
113
|
+
}
|
114
|
+
],
|
115
|
+
"internalType": "struct IRegistry.ObjectInfo",
|
116
|
+
"name": "",
|
117
|
+
"type": "tuple"
|
118
|
+
},
|
119
|
+
{
|
120
|
+
"internalType": "bytes",
|
121
|
+
"name": "data",
|
122
|
+
"type": "bytes"
|
56
123
|
}
|
57
124
|
],
|
58
125
|
"stateMutability": "view",
|
@@ -60,7 +127,7 @@
|
|
60
127
|
},
|
61
128
|
{
|
62
129
|
"inputs": [],
|
63
|
-
"name": "
|
130
|
+
"name": "getNftId",
|
64
131
|
"outputs": [
|
65
132
|
{
|
66
133
|
"internalType": "NftId",
|
@@ -73,11 +140,11 @@
|
|
73
140
|
},
|
74
141
|
{
|
75
142
|
"inputs": [],
|
76
|
-
"name": "
|
143
|
+
"name": "getOwner",
|
77
144
|
"outputs": [
|
78
145
|
{
|
79
|
-
"internalType": "
|
80
|
-
"name": "
|
146
|
+
"internalType": "address",
|
147
|
+
"name": "",
|
81
148
|
"type": "address"
|
82
149
|
}
|
83
150
|
],
|
@@ -86,28 +153,15 @@
|
|
86
153
|
},
|
87
154
|
{
|
88
155
|
"inputs": [],
|
89
|
-
"name": "
|
90
|
-
"outputs": [
|
91
|
-
{
|
92
|
-
"internalType": "ObjectType",
|
93
|
-
"name": "",
|
94
|
-
"type": "uint8"
|
95
|
-
}
|
96
|
-
],
|
97
|
-
"stateMutability": "pure",
|
98
|
-
"type": "function"
|
99
|
-
},
|
100
|
-
{
|
101
|
-
"inputs": [],
|
102
|
-
"name": "register",
|
156
|
+
"name": "getRegistry",
|
103
157
|
"outputs": [
|
104
158
|
{
|
105
|
-
"internalType": "
|
106
|
-
"name": "
|
107
|
-
"type": "
|
159
|
+
"internalType": "contract IRegistry",
|
160
|
+
"name": "registry",
|
161
|
+
"type": "address"
|
108
162
|
}
|
109
163
|
],
|
110
|
-
"stateMutability": "
|
164
|
+
"stateMutability": "view",
|
111
165
|
"type": "function"
|
112
166
|
},
|
113
167
|
{
|
@@ -130,8 +184,8 @@
|
|
130
184
|
"type": "function"
|
131
185
|
}
|
132
186
|
],
|
133
|
-
"bytecode": "
|
134
|
-
"deployedBytecode": "
|
187
|
+
"bytecode": "0x608060405234801561001057600080fd5b5060405162000a9538038062000a95833981016040819052610031916102ee565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff1916600117905560408051602081019091526000815261008a868686868686610095565b5050505050506104eb565b6001600160a01b0386166100f05760405162461bcd60e51b815260206004820152601b60248201527f4552524f523a5247422d3031303a52454749535452595f5a45524f000000000060448201526064015b60405180910390fd5b6040516301ffc9a760e01b8152636882e63f60e11b600482015286906001600160a01b038216906301ffc9a790602401602060405180830381865afa15801561013d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610161919061036b565b6101ad5760405162461bcd60e51b815260206004820152601a60248201527f4552524f523a5247422d3031313a4e4f545f524547495354525900000000000060448201526064016100e7565b6001600160a01b03818116600160a01b6001600160601b0389168102919091177f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa3009081557f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30180546001600160a01b031961ffff60a01b1990911660ff8b1690940260ff60a81b191693909317600160a81b8915150217929092169286169290921790557f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30261027b848261042c565b5063a6d3826560e01b60009081526020527f164a5a3a3a16df858f794c5fc01b962add2c2151ae53ddb31581eabdf1156730805460ff191660011790555050505050505050565b80516001600160a01b03811681146102d957600080fd5b919050565b805180151581146102d957600080fd5b600080600080600060a0868803121561030657600080fd5b61030f866102c2565b60208701519095506001600160601b038116811461032c57600080fd5b604087015190945060ff8116811461034357600080fd5b9250610351606087016102de565b915061035f608087016102c2565b90509295509295909350565b60006020828403121561037d57600080fd5b610386826102de565b9392505050565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806103b757607f821691505b6020821081036103d757634e487b7160e01b600052602260045260246000fd5b50919050565b601f82111561042757600081815260208120601f850160051c810160208610156104045750805b601f850160051c820191505b8181101561042357828155600101610410565b5050505b505050565b81516001600160401b038111156104455761044561038d565b6104598161045384546103a3565b846103dd565b602080601f83116001811461048e57600084156104765750858301515b600019600386901b1c1916600185901b178555610423565b600085815260208120601f198616915b828110156104bd5788860151825594840194600190910190840161049e565b50858210156104db5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b61059a80620004fb6000396000f3fe608060405234801561001057600080fd5b50600436106100625760003560e01c806301ffc9a7146100675780630fec111c146100a95780631eff4b22146100bf5780635ab1bd53146100e2578063644c45e014610114578063893d20e814610134575b600080fd5b61009461007536600461039a565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6100b161013c565b6040516100a0929190610411565b6100d460008051602061054583398151915281565b6040519081526020016100a0565b600080516020610545833981519152546001600160a01b03165b6040516001600160a01b0390911681526020016100a0565b61011c61029f565b6040516001600160601b0390911681526020016100a0565b6100fc61031f565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c08201819052909160008051602061054583398151915290506040518060e0016040528061019b600090565b6001600160601b0390811682528354600160a01b908190049091166020830152600184015490810460ff9081166040840152600160a81b820416151560608301523060808301526001600160a01b031660a082015260028301805460c090920191610205906104b8565b80601f0160208091040260200160405190810160405280929190818152602001828054610231906104b8565b801561027e5780601f106102535761010080835404028352916020019161027e565b820191906000526020600020905b81548152906001019060200180831161026157829003601f168201915b50505050508152506040518060200160405280600081525092509250509091565b600060008051602061054583398151915254604051636939560f60e11b81523060048201526001600160a01b039091169063d272ac1e90602401602060405180830381865afa1580156102f6573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061031a91906104f2565b905090565b600060008051602061054583398151915254604051630a57ebcf60e11b81523060048201526001600160a01b03909116906314afd79e90602401602060405180830381865afa158015610376573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061031a919061051b565b6000602082840312156103ac57600080fd5b81356001600160e01b0319811681146103c457600080fd5b9392505050565b6000815180845260005b818110156103f1576020818501810151868301820152016103d5565b506000602082860101526020601f19601f83011685010191505092915050565b6040815260006001600160601b038085511660408401528060208601511660608401525060ff6040850151166080830152606084015161045560a084018215159052565b5060808401516001600160a01b03811660c08401525060a08401516001600160a01b03811660e08401525060c084015160e061010084015261049b6101208401826103cb565b905082810360208401526104af81856103cb565b95945050505050565b600181811c908216806104cc57607f821691505b6020821081036104ec57634e487b7160e01b600052602260045260246000fd5b50919050565b60006020828403121561050457600080fd5b81516001600160601b03811681146103c457600080fd5b60006020828403121561052d57600080fd5b81516001600160a01b03811681146103c457600080fdfe6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa300a2646970667358221220f10b53a7d39e21ec4e52d9042e2a00608ccfa51c73b212f31e50530d5e15245664736f6c63430008140033",
|
188
|
+
"deployedBytecode": "0x608060405234801561001057600080fd5b50600436106100625760003560e01c806301ffc9a7146100675780630fec111c146100a95780631eff4b22146100bf5780635ab1bd53146100e2578063644c45e014610114578063893d20e814610134575b600080fd5b61009461007536600461039a565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6100b161013c565b6040516100a0929190610411565b6100d460008051602061054583398151915281565b6040519081526020016100a0565b600080516020610545833981519152546001600160a01b03165b6040516001600160a01b0390911681526020016100a0565b61011c61029f565b6040516001600160601b0390911681526020016100a0565b6100fc61031f565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c08201819052909160008051602061054583398151915290506040518060e0016040528061019b600090565b6001600160601b0390811682528354600160a01b908190049091166020830152600184015490810460ff9081166040840152600160a81b820416151560608301523060808301526001600160a01b031660a082015260028301805460c090920191610205906104b8565b80601f0160208091040260200160405190810160405280929190818152602001828054610231906104b8565b801561027e5780601f106102535761010080835404028352916020019161027e565b820191906000526020600020905b81548152906001019060200180831161026157829003601f168201915b50505050508152506040518060200160405280600081525092509250509091565b600060008051602061054583398151915254604051636939560f60e11b81523060048201526001600160a01b039091169063d272ac1e90602401602060405180830381865afa1580156102f6573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061031a91906104f2565b905090565b600060008051602061054583398151915254604051630a57ebcf60e11b81523060048201526001600160a01b03909116906314afd79e90602401602060405180830381865afa158015610376573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061031a919061051b565b6000602082840312156103ac57600080fd5b81356001600160e01b0319811681146103c457600080fd5b9392505050565b6000815180845260005b818110156103f1576020818501810151868301820152016103d5565b506000602082860101526020601f19601f83011685010191505092915050565b6040815260006001600160601b038085511660408401528060208601511660608401525060ff6040850151166080830152606084015161045560a084018215159052565b5060808401516001600160a01b03811660c08401525060a08401516001600160a01b03811660e08401525060c084015160e061010084015261049b6101208401826103cb565b905082810360208401526104af81856103cb565b95945050505050565b600181811c908216806104cc57607f821691505b6020821081036104ec57634e487b7160e01b600052602260045260246000fd5b50919050565b60006020828403121561050457600080fd5b81516001600160601b03811681146103c457600080fd5b60006020828403121561052d57600080fd5b81516001600160a01b03811681146103c457600080fdfe6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa300a2646970667358221220f10b53a7d39e21ec4e52d9042e2a00608ccfa51c73b212f31e50530d5e15245664736f6c63430008140033",
|
135
189
|
"linkReferences": {},
|
136
190
|
"deployedLinkReferences": {}
|
137
191
|
}
|