@etherisc/gif-next 0.0.2-f74fcad-685 → 0.0.2-f7b8c9f-436
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +160 -6
- package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.dbg.json +4 -0
- package/artifacts/contracts/{instance/component/ComponentModule.sol/ComponentModule.json → components/BaseComponent.sol/BaseComponent.json} +152 -150
- package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +4 -0
- package/artifacts/contracts/components/Distribution.sol/Distribution.json +557 -0
- package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.dbg.json +4 -0
- package/artifacts/contracts/components/{IPool.sol/IPoolComponent.json → IBaseComponent.sol/IBaseComponent.json} +115 -116
- package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +4 -0
- package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.json +177 -0
- package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +4 -0
- package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.json +308 -0
- package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +4 -0
- package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.json +207 -0
- package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +1 -1
- package/artifacts/contracts/components/Pool.sol/Pool.json +471 -83
- package/artifacts/contracts/components/Product.sol/Product.dbg.json +1 -1
- package/artifacts/contracts/components/Product.sol/Product.json +345 -77
- 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/Dummy.sol/LifeCycleModule.json +2 -2
- 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/SM.sol/SM.json +2 -2
- package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.dbg.json +1 -1
- package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.json +2 -2
- 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 +1430 -660
- package/artifacts/contracts/instance/IInstanceLinked.sol/IInstanceLinked.dbg.json +4 -0
- package/artifacts/contracts/instance/{component/IComponent.sol → IInstanceLinked.sol}/IInstanceLinked.json +1 -1
- package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
- package/artifacts/contracts/instance/Instance.sol/Instance.json +1759 -801
- package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.dbg.json +4 -0
- package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.json +481 -0
- package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.dbg.json +4 -0
- package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.json +113 -0
- package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +4 -0
- package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.json +560 -0
- package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.dbg.json +4 -0
- package/artifacts/contracts/instance/{lifecycle/ILifecycle.sol/ILifecycleModule.json → base/ILifecycle.sol/ILifecycle.json} +10 -77
- package/artifacts/contracts/instance/base/IService.sol/IService.dbg.json +4 -0
- package/artifacts/contracts/instance/base/IService.sol/IService.json +421 -0
- package/artifacts/contracts/instance/base/InstanceBase.sol/InstanceBase.dbg.json +4 -0
- package/artifacts/contracts/instance/base/InstanceBase.sol/InstanceBase.json +544 -0
- package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +4 -0
- package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.json +710 -0
- package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +4 -0
- package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +169 -0
- package/artifacts/contracts/instance/base/ModuleBase.sol/ModuleBase.dbg.json +4 -0
- package/artifacts/contracts/instance/base/ModuleBase.sol/ModuleBase.json +10 -0
- package/artifacts/contracts/instance/base/ServiceBase.sol/ServiceBase.dbg.json +4 -0
- package/artifacts/contracts/instance/base/ServiceBase.sol/ServiceBase.json +468 -0
- package/artifacts/contracts/instance/module/access/Access.sol/AccessModule.dbg.json +4 -0
- package/artifacts/contracts/instance/{access → module/access}/Access.sol/AccessModule.json +85 -152
- package/artifacts/contracts/instance/module/access/IAccess.sol/IAccess.dbg.json +4 -0
- package/artifacts/contracts/instance/{access → module/access}/IAccess.sol/IAccess.json +1 -1
- package/artifacts/contracts/instance/module/access/IAccess.sol/IAccessModule.dbg.json +4 -0
- package/artifacts/contracts/instance/{access → module/access}/IAccess.sol/IAccessModule.json +96 -99
- package/artifacts/contracts/instance/module/bundle/BundleModule.sol/BundleModule.dbg.json +4 -0
- package/artifacts/contracts/instance/module/bundle/BundleModule.sol/BundleModule.json +297 -0
- package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundle.dbg.json +4 -0
- package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundle.json +10 -0
- package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundleModule.dbg.json +4 -0
- package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundleModule.json +297 -0
- package/artifacts/contracts/instance/module/component/ComponentModule.sol/ComponentModule.dbg.json +4 -0
- package/artifacts/contracts/instance/{pool/IPoolModule.sol/IPoolModule.json → module/component/ComponentModule.sol/ComponentModule.json} +49 -61
- package/artifacts/contracts/instance/module/component/IComponent.sol/IComponent.dbg.json +4 -0
- package/artifacts/contracts/instance/{component → module/component}/IComponent.sol/IComponent.json +1 -1
- package/artifacts/contracts/instance/module/component/IComponent.sol/IComponentModule.dbg.json +4 -0
- package/artifacts/contracts/instance/{product/IProductService.sol/IProductService.json → module/component/IComponent.sol/IComponentModule.json} +51 -61
- package/artifacts/contracts/instance/module/distribution/DistributionModule.sol/DistributionModule.dbg.json +4 -0
- package/artifacts/contracts/instance/module/distribution/DistributionModule.sol/DistributionModule.json +10 -0
- package/artifacts/contracts/instance/module/distribution/IDistribution.sol/IDistribution.dbg.json +4 -0
- package/artifacts/contracts/instance/module/distribution/IDistribution.sol/IDistribution.json +10 -0
- package/artifacts/contracts/instance/module/distribution/IDistribution.sol/IDistributionModule.dbg.json +4 -0
- package/artifacts/contracts/instance/module/distribution/IDistribution.sol/IDistributionModule.json +10 -0
- package/artifacts/contracts/instance/module/policy/IPolicy.sol/IPolicy.dbg.json +4 -0
- package/artifacts/contracts/instance/{policy → module/policy}/IPolicy.sol/IPolicy.json +1 -1
- package/artifacts/contracts/instance/module/policy/IPolicy.sol/IPolicyModule.dbg.json +4 -0
- package/artifacts/contracts/instance/{policy → module/policy}/IPolicy.sol/IPolicyModule.json +136 -119
- package/artifacts/contracts/instance/module/policy/PolicyModule.sol/PolicyModule.dbg.json +4 -0
- package/artifacts/contracts/instance/{policy → module/policy}/PolicyModule.sol/PolicyModule.json +137 -120
- package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPool.dbg.json +4 -0
- package/artifacts/contracts/instance/{pool → module/pool}/IPoolModule.sol/IPool.json +1 -1
- package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPoolModule.dbg.json +4 -0
- package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPoolModule.json +164 -0
- package/artifacts/contracts/instance/module/pool/PoolModule.sol/PoolModule.dbg.json +4 -0
- package/artifacts/contracts/instance/{pool → module/pool}/PoolModule.sol/PoolModule.json +66 -57
- package/artifacts/contracts/instance/module/risk/IRisk.sol/IRisk.dbg.json +4 -0
- package/artifacts/contracts/instance/module/risk/IRisk.sol/IRisk.json +10 -0
- package/artifacts/contracts/instance/module/risk/IRisk.sol/IRiskModule.dbg.json +4 -0
- package/artifacts/contracts/instance/module/risk/IRisk.sol/IRiskModule.json +113 -0
- package/artifacts/contracts/instance/module/risk/RiskModule.sol/RiskModule.dbg.json +4 -0
- package/artifacts/contracts/instance/module/risk/RiskModule.sol/RiskModule.json +131 -0
- package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasury.dbg.json +4 -0
- package/artifacts/contracts/instance/{treasury → module/treasury}/ITreasury.sol/ITreasury.json +1 -1
- package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasuryModule.dbg.json +4 -0
- package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasuryModule.json +638 -0
- package/artifacts/contracts/instance/module/treasury/TokenHandler.sol/TokenHandler.dbg.json +4 -0
- package/artifacts/contracts/instance/module/treasury/TokenHandler.sol/TokenHandler.json +76 -0
- package/artifacts/contracts/instance/module/treasury/TreasuryModule.sol/TreasuryModule.dbg.json +4 -0
- package/artifacts/contracts/instance/module/treasury/TreasuryModule.sol/TreasuryModule.json +638 -0
- package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.json +794 -0
- package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +630 -0
- package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.json +466 -0
- package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.json +446 -0
- package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.json +561 -0
- package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/IProductService.sol/IProductService.json +751 -0
- package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +753 -0
- package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +1068 -0
- package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
- package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +194 -2
- 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 +408 -32
- package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +4 -0
- package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +745 -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 +637 -52
- package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +4 -0
- package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +997 -0
- package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +4 -0
- package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +468 -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 +4 -0
- package/artifacts/contracts/shared/ERC165.sol/ERC165.json +35 -0
- package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +4 -0
- package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +127 -0
- package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +4 -0
- package/artifacts/contracts/{components/Component.sol/Component.json → shared/IRegisterable.sol/IRegisterable.json} +98 -102
- package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +4 -0
- package/artifacts/contracts/shared/IVersionable.sol/IVersionable.json +205 -0
- package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +4 -0
- package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +158 -0
- package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +4 -0
- package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +349 -0
- package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +4 -0
- package/artifacts/contracts/shared/Registerable.sol/Registerable.json +274 -0
- package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +4 -0
- package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +129 -0
- package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +4 -0
- package/artifacts/contracts/shared/Versionable.sol/Versionable.json +228 -0
- package/artifacts/contracts/test/TestDistribution.sol/TestDistribution.dbg.json +4 -0
- package/artifacts/contracts/test/TestDistribution.sol/TestDistribution.json +557 -0
- package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +4 -0
- package/artifacts/contracts/test/TestFee.sol/TestFee.json +119 -0
- package/artifacts/contracts/test/TestPool.sol/TestPool.dbg.json +4 -0
- package/artifacts/contracts/test/TestPool.sol/TestPool.json +716 -0
- package/artifacts/contracts/test/TestProduct.sol/TestProduct.dbg.json +4 -0
- package/artifacts/contracts/test/TestProduct.sol/TestProduct.json +744 -0
- package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +4 -0
- package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +305 -0
- package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +4 -0
- package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +116 -0
- package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +4 -0
- package/artifacts/contracts/test/TestService.sol/TestService.json +584 -0
- package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +4 -0
- package/artifacts/contracts/test/TestToken.sol/TestUsdc.json +338 -0
- package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +4 -0
- package/artifacts/contracts/test/TestVersion.sol/TestVersion.json +218 -0
- package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +4 -0
- package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +270 -0
- package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +4 -0
- package/artifacts/contracts/{mock → test}/Usdc.sol/USDC.json +3 -3
- package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +4 -0
- package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.json +10 -0
- 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 +4 -0
- package/artifacts/contracts/types/Fee.sol/FeeLib.json +257 -0
- package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +4 -0
- package/artifacts/contracts/types/Key32.sol/Key32Lib.json +111 -0
- package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +1 -1
- package/artifacts/contracts/types/NftId.sol/NftIdLib.json +65 -4
- package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +4 -0
- package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.json +10 -0
- package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +1 -1
- package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.json +2 -2
- package/artifacts/contracts/types/ReferralId.sol/ReferralIdLib.dbg.json +4 -0
- package/artifacts/contracts/types/ReferralId.sol/ReferralIdLib.json +99 -0
- package/artifacts/contracts/types/RiskId.sol/RiskIdLib.dbg.json +4 -0
- package/artifacts/contracts/types/RiskId.sol/RiskIdLib.json +86 -0
- package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +4 -0
- package/artifacts/contracts/types/RoleId.sol/RoleIdLib.json +30 -0
- package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +1 -1
- package/artifacts/contracts/types/StateId.sol/StateIdLib.json +2 -2
- package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +1 -1
- package/artifacts/contracts/types/Timestamp.sol/TimestampLib.json +64 -2
- package/artifacts/contracts/types/UFixed.sol/UFixedMathLib.dbg.json +1 -1
- package/artifacts/contracts/types/UFixed.sol/UFixedMathLib.json +58 -58
- package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +4 -0
- package/artifacts/contracts/types/Version.sol/VersionLib.json +177 -0
- package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +4 -0
- package/artifacts/contracts/types/Version.sol/VersionPartLib.json +30 -0
- package/contracts/components/BaseComponent.sol +79 -0
- package/contracts/components/Distribution.sol +155 -0
- package/contracts/components/IBaseComponent.sol +19 -0
- package/contracts/components/IDistributionComponent.sol +46 -0
- package/contracts/components/IPoolComponent.sol +64 -0
- package/contracts/components/IProductComponent.sol +37 -0
- package/contracts/components/Pool.sol +218 -24
- package/contracts/components/Product.sol +248 -38
- package/contracts/instance/IInstance.sol +40 -11
- package/contracts/instance/IInstanceLinked.sol +8 -0
- package/contracts/instance/Instance.sol +60 -45
- package/contracts/instance/base/ComponentServiceBase.sol +49 -0
- package/contracts/instance/base/IInstanceBase.sol +23 -0
- package/contracts/instance/base/IKeyValueStore.sol +50 -0
- package/contracts/instance/{lifecycle → base}/ILifecycle.sol +4 -21
- package/contracts/instance/base/IService.sol +15 -0
- package/contracts/instance/base/InstanceBase.sol +89 -0
- package/contracts/instance/base/KeyValueStore.sol +161 -0
- package/contracts/instance/base/Lifecycle.sol +100 -0
- package/contracts/instance/base/ModuleBase.sol +57 -0
- package/contracts/instance/base/ServiceBase.sol +44 -0
- package/contracts/instance/module/access/Access.sol +149 -0
- package/contracts/instance/module/access/IAccess.sol +53 -0
- package/contracts/instance/module/bundle/BundleModule.sol +134 -0
- package/contracts/instance/module/bundle/IBundle.sol +53 -0
- package/contracts/instance/module/component/ComponentModule.sol +71 -0
- package/contracts/instance/module/component/IComponent.sol +28 -0
- package/contracts/instance/module/distribution/DistributionModule.sol +17 -0
- package/contracts/instance/module/distribution/IDistribution.sol +10 -0
- package/contracts/instance/module/policy/IPolicy.sol +63 -0
- package/contracts/instance/module/policy/PolicyModule.sol +91 -0
- package/contracts/instance/module/pool/IPoolModule.sol +41 -0
- package/contracts/instance/module/pool/PoolModule.sol +95 -0
- package/contracts/instance/module/risk/IRisk.sol +26 -0
- package/contracts/instance/module/risk/RiskModule.sol +62 -0
- package/contracts/instance/module/treasury/ITreasury.sol +84 -0
- package/contracts/instance/module/treasury/TokenHandler.sol +48 -0
- package/contracts/instance/module/treasury/TreasuryModule.sol +131 -0
- package/contracts/instance/service/ComponentOwnerService.sol +275 -0
- package/contracts/instance/service/DistributionService.sol +54 -0
- package/contracts/instance/service/IComponentOwnerService.sol +20 -0
- package/contracts/instance/service/IDistributionService.sol +12 -0
- package/contracts/instance/service/IPoolService.sol +37 -0
- package/contracts/instance/service/IProductService.sol +107 -0
- package/contracts/instance/service/PoolService.sol +149 -0
- package/contracts/instance/service/ProductService.sol +510 -0
- package/contracts/registry/ChainNft.sol +94 -42
- package/contracts/registry/IChainNft.sol +3 -2
- package/contracts/registry/IRegistry.sol +50 -44
- package/contracts/registry/IRegistryService.sol +29 -0
- package/contracts/registry/ITransferInterceptor.sol +6 -0
- package/contracts/registry/Registry.sol +435 -126
- package/contracts/registry/RegistryService.sol +368 -0
- package/contracts/registry/RegistryServiceManager.sol +43 -0
- package/contracts/shared/ContractDeployerLib.sol +72 -0
- package/contracts/shared/ERC165.sol +21 -0
- package/contracts/shared/INftOwnable.sol +22 -0
- package/contracts/shared/IRegisterable.sol +17 -0
- package/contracts/shared/IVersionable.sol +96 -0
- package/contracts/shared/NftOwnable.sol +136 -0
- package/contracts/shared/ProxyManager.sol +94 -0
- package/contracts/shared/Registerable.sol +89 -0
- package/contracts/shared/UpgradableProxyWithAdmin.sol +16 -0
- package/contracts/shared/Versionable.sol +147 -0
- package/contracts/test/TestDistribution.sol +22 -0
- package/contracts/test/TestFee.sol +25 -0
- package/contracts/test/TestPool.sol +27 -0
- package/contracts/test/TestProduct.sol +74 -0
- package/contracts/test/TestRegisterable.sol +18 -0
- package/contracts/test/TestRoleId.sol +14 -0
- package/contracts/test/TestService.sol +26 -0
- package/contracts/{mock/Dip.sol → test/TestToken.sol} +5 -5
- package/contracts/test/TestVersion.sol +44 -0
- package/contracts/test/TestVersionable.sol +17 -0
- package/contracts/{mock → test}/Usdc.sol +1 -1
- package/contracts/types/AddressSet.sol +58 -0
- package/contracts/types/Fee.sol +44 -20
- package/contracts/types/Key32.sol +45 -0
- package/contracts/types/NftId.sol +22 -1
- package/contracts/types/NftIdSet.sol +60 -0
- package/contracts/types/ObjectType.sol +37 -13
- package/contracts/types/ReferralId.sol +48 -0
- package/contracts/types/RiskId.sol +43 -0
- package/contracts/types/RoleId.sol +38 -0
- package/contracts/types/StateId.sol +13 -3
- package/contracts/types/Timestamp.sol +22 -1
- package/contracts/types/UFixed.sol +12 -13
- package/contracts/types/Version.sol +104 -0
- package/package.json +8 -3
- package/artifacts/contracts/components/Component.sol/Component.dbg.json +0 -4
- package/artifacts/contracts/components/Component.sol/InstanceLinked.dbg.json +0 -4
- package/artifacts/contracts/components/Component.sol/InstanceLinked.json +0 -35
- package/artifacts/contracts/components/IPool.sol/IPoolComponent.dbg.json +0 -4
- package/artifacts/contracts/components/IProduct.sol/IProductComponent.dbg.json +0 -4
- package/artifacts/contracts/components/IProduct.sol/IProductComponent.json +0 -74
- package/artifacts/contracts/instance/access/Access.sol/AccessModule.dbg.json +0 -4
- package/artifacts/contracts/instance/access/IAccess.sol/IAccess.dbg.json +0 -4
- package/artifacts/contracts/instance/access/IAccess.sol/IAccessCheckRole.dbg.json +0 -4
- package/artifacts/contracts/instance/access/IAccess.sol/IAccessCheckRole.json +0 -35
- package/artifacts/contracts/instance/access/IAccess.sol/IAccessComponentTypeRoles.dbg.json +0 -4
- package/artifacts/contracts/instance/access/IAccess.sol/IAccessComponentTypeRoles.json +0 -50
- package/artifacts/contracts/instance/access/IAccess.sol/IAccessModule.dbg.json +0 -4
- package/artifacts/contracts/instance/component/ComponentModule.sol/ComponentModule.dbg.json +0 -4
- package/artifacts/contracts/instance/component/ComponentModule.sol/ComponentOwnerService.dbg.json +0 -4
- package/artifacts/contracts/instance/component/ComponentModule.sol/ComponentOwnerService.json +0 -202
- package/artifacts/contracts/instance/component/IComponent.sol/IComponent.dbg.json +0 -4
- package/artifacts/contracts/instance/component/IComponent.sol/IComponentContract.dbg.json +0 -4
- package/artifacts/contracts/instance/component/IComponent.sol/IComponentContract.json +0 -205
- package/artifacts/contracts/instance/component/IComponent.sol/IComponentModule.dbg.json +0 -4
- package/artifacts/contracts/instance/component/IComponent.sol/IComponentModule.json +0 -217
- package/artifacts/contracts/instance/component/IComponent.sol/IComponentOwnerService.dbg.json +0 -4
- package/artifacts/contracts/instance/component/IComponent.sol/IComponentOwnerService.json +0 -141
- package/artifacts/contracts/instance/component/IComponent.sol/IInstanceLinked.dbg.json +0 -4
- package/artifacts/contracts/instance/lifecycle/ILifecycle.sol/ILifecycle.dbg.json +0 -4
- package/artifacts/contracts/instance/lifecycle/ILifecycle.sol/ILifecycle.json +0 -134
- package/artifacts/contracts/instance/lifecycle/ILifecycle.sol/ILifecycleModule.dbg.json +0 -4
- package/artifacts/contracts/instance/lifecycle/LifecycleModule.sol/LifecycleModule.dbg.json +0 -4
- package/artifacts/contracts/instance/lifecycle/LifecycleModule.sol/LifecycleModule.json +0 -221
- package/artifacts/contracts/instance/policy/IPolicy.sol/IPolicy.dbg.json +0 -4
- package/artifacts/contracts/instance/policy/IPolicy.sol/IPolicyModule.dbg.json +0 -4
- package/artifacts/contracts/instance/policy/PolicyModule.sol/PolicyModule.dbg.json +0 -4
- package/artifacts/contracts/instance/pool/IPoolModule.sol/IPool.dbg.json +0 -4
- package/artifacts/contracts/instance/pool/IPoolModule.sol/IPoolModule.dbg.json +0 -4
- package/artifacts/contracts/instance/pool/PoolModule.sol/PoolModule.dbg.json +0 -4
- package/artifacts/contracts/instance/product/IProductService.sol/IProductModule.dbg.json +0 -4
- package/artifacts/contracts/instance/product/IProductService.sol/IProductModule.json +0 -75
- package/artifacts/contracts/instance/product/IProductService.sol/IProductService.dbg.json +0 -4
- package/artifacts/contracts/instance/product/ProductService.sol/ProductModule.dbg.json +0 -4
- package/artifacts/contracts/instance/product/ProductService.sol/ProductModule.json +0 -75
- package/artifacts/contracts/instance/product/ProductService.sol/ProductService.dbg.json +0 -4
- package/artifacts/contracts/instance/product/ProductService.sol/ProductService.json +0 -196
- package/artifacts/contracts/instance/treasury/ITreasury.sol/ITreasury.dbg.json +0 -4
- package/artifacts/contracts/instance/treasury/ITreasury.sol/ITreasuryModule.dbg.json +0 -4
- package/artifacts/contracts/instance/treasury/ITreasury.sol/ITreasuryModule.json +0 -490
- package/artifacts/contracts/instance/treasury/TokenHandler.sol/TokenHandler.dbg.json +0 -4
- package/artifacts/contracts/instance/treasury/TokenHandler.sol/TokenHandler.json +0 -45
- package/artifacts/contracts/instance/treasury/TreasuryModule.sol/TreasuryModule.dbg.json +0 -4
- package/artifacts/contracts/instance/treasury/TreasuryModule.sol/TreasuryModule.json +0 -490
- package/artifacts/contracts/mock/Dip.sol/DIP.dbg.json +0 -4
- package/artifacts/contracts/mock/Dip.sol/DIP.json +0 -338
- package/artifacts/contracts/mock/TestPool.sol/TestPool.dbg.json +0 -4
- package/artifacts/contracts/mock/TestPool.sol/TestPool.json +0 -294
- package/artifacts/contracts/mock/TestProduct.sol/TestProduct.dbg.json +0 -4
- package/artifacts/contracts/mock/TestProduct.sol/TestProduct.json +0 -384
- package/artifacts/contracts/mock/Usdc.sol/USDC.dbg.json +0 -4
- package/artifacts/contracts/registry/IRegistry.sol/IOwnable.dbg.json +0 -4
- package/artifacts/contracts/registry/IRegistry.sol/IOwnable.json +0 -24
- package/artifacts/contracts/registry/IRegistry.sol/IRegisterable.dbg.json +0 -4
- package/artifacts/contracts/registry/IRegistry.sol/IRegisterable.json +0 -166
- package/artifacts/contracts/registry/IRegistry.sol/IRegistryLinked.dbg.json +0 -4
- package/artifacts/contracts/registry/IRegistry.sol/IRegistryLinked.json +0 -49
- package/artifacts/contracts/registry/Registry.sol/Registerable.dbg.json +0 -4
- package/artifacts/contracts/registry/Registry.sol/Registerable.json +0 -166
- package/artifacts/contracts/registry/Registry.sol/RegistryLinked.dbg.json +0 -4
- package/artifacts/contracts/registry/Registry.sol/RegistryLinked.json +0 -60
- package/contracts/components/Component.sol +0 -77
- package/contracts/components/IPool.sol +0 -15
- package/contracts/components/IProduct.sol +0 -16
- package/contracts/experiment/statemachine/README.md +0 -112
- package/contracts/instance/access/Access.sol +0 -165
- package/contracts/instance/access/IAccess.sol +0 -63
- package/contracts/instance/component/ComponentModule.sol +0 -274
- package/contracts/instance/component/IComponent.sol +0 -74
- package/contracts/instance/lifecycle/LifecycleModule.sol +0 -88
- package/contracts/instance/policy/IPolicy.sol +0 -50
- package/contracts/instance/policy/PolicyModule.sol +0 -114
- package/contracts/instance/pool/IPoolModule.sol +0 -23
- package/contracts/instance/pool/PoolModule.sol +0 -81
- package/contracts/instance/product/IProductService.sol +0 -36
- package/contracts/instance/product/ProductService.sol +0 -136
- package/contracts/instance/treasury/ITreasury.sol +0 -91
- package/contracts/instance/treasury/TokenHandler.sol +0 -24
- package/contracts/instance/treasury/TreasuryModule.sol +0 -168
- package/contracts/mock/TestPool.sol +0 -16
- package/contracts/mock/TestProduct.sol +0 -39
@@ -0,0 +1,997 @@
|
|
1
|
+
{
|
2
|
+
"_format": "hh-sol-artifact-1",
|
3
|
+
"contractName": "RegistryService",
|
4
|
+
"sourceName": "contracts/registry/RegistryService.sol",
|
5
|
+
"abi": [
|
6
|
+
{
|
7
|
+
"inputs": [
|
8
|
+
{
|
9
|
+
"internalType": "address",
|
10
|
+
"name": "registry",
|
11
|
+
"type": "address"
|
12
|
+
},
|
13
|
+
{
|
14
|
+
"internalType": "NftId",
|
15
|
+
"name": "nftId",
|
16
|
+
"type": "uint96"
|
17
|
+
}
|
18
|
+
],
|
19
|
+
"name": "ErrorAlreadyLinked",
|
20
|
+
"type": "error"
|
21
|
+
},
|
22
|
+
{
|
23
|
+
"inputs": [
|
24
|
+
{
|
25
|
+
"internalType": "address",
|
26
|
+
"name": "contractAddress",
|
27
|
+
"type": "address"
|
28
|
+
}
|
29
|
+
],
|
30
|
+
"name": "ErrorContractNotRegistered",
|
31
|
+
"type": "error"
|
32
|
+
},
|
33
|
+
{
|
34
|
+
"inputs": [
|
35
|
+
{
|
36
|
+
"internalType": "address",
|
37
|
+
"name": "account",
|
38
|
+
"type": "address"
|
39
|
+
}
|
40
|
+
],
|
41
|
+
"name": "ErrorNotOwner",
|
42
|
+
"type": "error"
|
43
|
+
},
|
44
|
+
{
|
45
|
+
"inputs": [
|
46
|
+
{
|
47
|
+
"internalType": "address",
|
48
|
+
"name": "registryAddress",
|
49
|
+
"type": "address"
|
50
|
+
}
|
51
|
+
],
|
52
|
+
"name": "ErrorNotRegistry",
|
53
|
+
"type": "error"
|
54
|
+
},
|
55
|
+
{
|
56
|
+
"inputs": [
|
57
|
+
{
|
58
|
+
"internalType": "address",
|
59
|
+
"name": "registryAddress",
|
60
|
+
"type": "address"
|
61
|
+
}
|
62
|
+
],
|
63
|
+
"name": "ErrorRegisterableNotRegistry",
|
64
|
+
"type": "error"
|
65
|
+
},
|
66
|
+
{
|
67
|
+
"inputs": [],
|
68
|
+
"name": "ErrorRegistryAddressZero",
|
69
|
+
"type": "error"
|
70
|
+
},
|
71
|
+
{
|
72
|
+
"inputs": [
|
73
|
+
{
|
74
|
+
"internalType": "address",
|
75
|
+
"name": "registry",
|
76
|
+
"type": "address"
|
77
|
+
}
|
78
|
+
],
|
79
|
+
"name": "ErrorRegistryAlreadyInitialized",
|
80
|
+
"type": "error"
|
81
|
+
},
|
82
|
+
{
|
83
|
+
"inputs": [],
|
84
|
+
"name": "ErrorRegistryNotInitialized",
|
85
|
+
"type": "error"
|
86
|
+
},
|
87
|
+
{
|
88
|
+
"inputs": [
|
89
|
+
{
|
90
|
+
"internalType": "address",
|
91
|
+
"name": "registerableAddress",
|
92
|
+
"type": "address"
|
93
|
+
}
|
94
|
+
],
|
95
|
+
"name": "InvalidAddress",
|
96
|
+
"type": "error"
|
97
|
+
},
|
98
|
+
{
|
99
|
+
"inputs": [
|
100
|
+
{
|
101
|
+
"internalType": "address",
|
102
|
+
"name": "initialOwner",
|
103
|
+
"type": "address"
|
104
|
+
}
|
105
|
+
],
|
106
|
+
"name": "InvalidInitialOwner",
|
107
|
+
"type": "error"
|
108
|
+
},
|
109
|
+
{
|
110
|
+
"inputs": [],
|
111
|
+
"name": "InvalidInitialization",
|
112
|
+
"type": "error"
|
113
|
+
},
|
114
|
+
{
|
115
|
+
"inputs": [
|
116
|
+
{
|
117
|
+
"internalType": "ObjectType",
|
118
|
+
"name": "objectType",
|
119
|
+
"type": "uint8"
|
120
|
+
}
|
121
|
+
],
|
122
|
+
"name": "InvalidType",
|
123
|
+
"type": "error"
|
124
|
+
},
|
125
|
+
{
|
126
|
+
"inputs": [],
|
127
|
+
"name": "MissingAllowance",
|
128
|
+
"type": "error"
|
129
|
+
},
|
130
|
+
{
|
131
|
+
"inputs": [],
|
132
|
+
"name": "NotComponent",
|
133
|
+
"type": "error"
|
134
|
+
},
|
135
|
+
{
|
136
|
+
"inputs": [],
|
137
|
+
"name": "NotInitializing",
|
138
|
+
"type": "error"
|
139
|
+
},
|
140
|
+
{
|
141
|
+
"inputs": [],
|
142
|
+
"name": "NotInstance",
|
143
|
+
"type": "error"
|
144
|
+
},
|
145
|
+
{
|
146
|
+
"inputs": [],
|
147
|
+
"name": "NotRegistryOwner",
|
148
|
+
"type": "error"
|
149
|
+
},
|
150
|
+
{
|
151
|
+
"inputs": [],
|
152
|
+
"name": "NotService",
|
153
|
+
"type": "error"
|
154
|
+
},
|
155
|
+
{
|
156
|
+
"inputs": [],
|
157
|
+
"name": "NotToken",
|
158
|
+
"type": "error"
|
159
|
+
},
|
160
|
+
{
|
161
|
+
"inputs": [],
|
162
|
+
"name": "SelfRegistration",
|
163
|
+
"type": "error"
|
164
|
+
},
|
165
|
+
{
|
166
|
+
"anonymous": false,
|
167
|
+
"inputs": [
|
168
|
+
{
|
169
|
+
"indexed": false,
|
170
|
+
"internalType": "uint64",
|
171
|
+
"name": "version",
|
172
|
+
"type": "uint64"
|
173
|
+
}
|
174
|
+
],
|
175
|
+
"name": "Initialized",
|
176
|
+
"type": "event"
|
177
|
+
},
|
178
|
+
{
|
179
|
+
"anonymous": false,
|
180
|
+
"inputs": [
|
181
|
+
{
|
182
|
+
"indexed": false,
|
183
|
+
"internalType": "Version",
|
184
|
+
"name": "version",
|
185
|
+
"type": "uint24"
|
186
|
+
},
|
187
|
+
{
|
188
|
+
"indexed": false,
|
189
|
+
"internalType": "address",
|
190
|
+
"name": "implementation",
|
191
|
+
"type": "address"
|
192
|
+
},
|
193
|
+
{
|
194
|
+
"indexed": false,
|
195
|
+
"internalType": "address",
|
196
|
+
"name": "activatedBy",
|
197
|
+
"type": "address"
|
198
|
+
}
|
199
|
+
],
|
200
|
+
"name": "LogVersionableInitialized",
|
201
|
+
"type": "event"
|
202
|
+
},
|
203
|
+
{
|
204
|
+
"inputs": [],
|
205
|
+
"name": "NAME",
|
206
|
+
"outputs": [
|
207
|
+
{
|
208
|
+
"internalType": "string",
|
209
|
+
"name": "",
|
210
|
+
"type": "string"
|
211
|
+
}
|
212
|
+
],
|
213
|
+
"stateMutability": "view",
|
214
|
+
"type": "function"
|
215
|
+
},
|
216
|
+
{
|
217
|
+
"inputs": [],
|
218
|
+
"name": "NFT_LOCK_ADDRESS",
|
219
|
+
"outputs": [
|
220
|
+
{
|
221
|
+
"internalType": "address",
|
222
|
+
"name": "",
|
223
|
+
"type": "address"
|
224
|
+
}
|
225
|
+
],
|
226
|
+
"stateMutability": "view",
|
227
|
+
"type": "function"
|
228
|
+
},
|
229
|
+
{
|
230
|
+
"inputs": [],
|
231
|
+
"name": "REGISTERABLE_LOCATION_V1",
|
232
|
+
"outputs": [
|
233
|
+
{
|
234
|
+
"internalType": "bytes32",
|
235
|
+
"name": "",
|
236
|
+
"type": "bytes32"
|
237
|
+
}
|
238
|
+
],
|
239
|
+
"stateMutability": "view",
|
240
|
+
"type": "function"
|
241
|
+
},
|
242
|
+
{
|
243
|
+
"inputs": [],
|
244
|
+
"name": "REGISTRY_CREATION_CODE_HASH",
|
245
|
+
"outputs": [
|
246
|
+
{
|
247
|
+
"internalType": "bytes32",
|
248
|
+
"name": "",
|
249
|
+
"type": "bytes32"
|
250
|
+
}
|
251
|
+
],
|
252
|
+
"stateMutability": "view",
|
253
|
+
"type": "function"
|
254
|
+
},
|
255
|
+
{
|
256
|
+
"inputs": [],
|
257
|
+
"name": "getInitialInfo",
|
258
|
+
"outputs": [
|
259
|
+
{
|
260
|
+
"components": [
|
261
|
+
{
|
262
|
+
"internalType": "NftId",
|
263
|
+
"name": "nftId",
|
264
|
+
"type": "uint96"
|
265
|
+
},
|
266
|
+
{
|
267
|
+
"internalType": "NftId",
|
268
|
+
"name": "parentNftId",
|
269
|
+
"type": "uint96"
|
270
|
+
},
|
271
|
+
{
|
272
|
+
"internalType": "ObjectType",
|
273
|
+
"name": "objectType",
|
274
|
+
"type": "uint8"
|
275
|
+
},
|
276
|
+
{
|
277
|
+
"internalType": "bool",
|
278
|
+
"name": "isInterceptor",
|
279
|
+
"type": "bool"
|
280
|
+
},
|
281
|
+
{
|
282
|
+
"internalType": "address",
|
283
|
+
"name": "objectAddress",
|
284
|
+
"type": "address"
|
285
|
+
},
|
286
|
+
{
|
287
|
+
"internalType": "address",
|
288
|
+
"name": "initialOwner",
|
289
|
+
"type": "address"
|
290
|
+
},
|
291
|
+
{
|
292
|
+
"internalType": "bytes",
|
293
|
+
"name": "data",
|
294
|
+
"type": "bytes"
|
295
|
+
}
|
296
|
+
],
|
297
|
+
"internalType": "struct IRegistry.ObjectInfo",
|
298
|
+
"name": "",
|
299
|
+
"type": "tuple"
|
300
|
+
},
|
301
|
+
{
|
302
|
+
"internalType": "bytes",
|
303
|
+
"name": "data",
|
304
|
+
"type": "bytes"
|
305
|
+
}
|
306
|
+
],
|
307
|
+
"stateMutability": "view",
|
308
|
+
"type": "function"
|
309
|
+
},
|
310
|
+
{
|
311
|
+
"inputs": [],
|
312
|
+
"name": "getInitializedVersion",
|
313
|
+
"outputs": [
|
314
|
+
{
|
315
|
+
"internalType": "uint64",
|
316
|
+
"name": "",
|
317
|
+
"type": "uint64"
|
318
|
+
}
|
319
|
+
],
|
320
|
+
"stateMutability": "view",
|
321
|
+
"type": "function"
|
322
|
+
},
|
323
|
+
{
|
324
|
+
"inputs": [],
|
325
|
+
"name": "getMajorVersion",
|
326
|
+
"outputs": [
|
327
|
+
{
|
328
|
+
"internalType": "VersionPart",
|
329
|
+
"name": "majorVersion",
|
330
|
+
"type": "uint8"
|
331
|
+
}
|
332
|
+
],
|
333
|
+
"stateMutability": "view",
|
334
|
+
"type": "function"
|
335
|
+
},
|
336
|
+
{
|
337
|
+
"inputs": [],
|
338
|
+
"name": "getName",
|
339
|
+
"outputs": [
|
340
|
+
{
|
341
|
+
"internalType": "string",
|
342
|
+
"name": "",
|
343
|
+
"type": "string"
|
344
|
+
}
|
345
|
+
],
|
346
|
+
"stateMutability": "pure",
|
347
|
+
"type": "function"
|
348
|
+
},
|
349
|
+
{
|
350
|
+
"inputs": [],
|
351
|
+
"name": "getNftId",
|
352
|
+
"outputs": [
|
353
|
+
{
|
354
|
+
"internalType": "NftId",
|
355
|
+
"name": "",
|
356
|
+
"type": "uint96"
|
357
|
+
}
|
358
|
+
],
|
359
|
+
"stateMutability": "view",
|
360
|
+
"type": "function"
|
361
|
+
},
|
362
|
+
{
|
363
|
+
"inputs": [],
|
364
|
+
"name": "getOwner",
|
365
|
+
"outputs": [
|
366
|
+
{
|
367
|
+
"internalType": "address",
|
368
|
+
"name": "",
|
369
|
+
"type": "address"
|
370
|
+
}
|
371
|
+
],
|
372
|
+
"stateMutability": "view",
|
373
|
+
"type": "function"
|
374
|
+
},
|
375
|
+
{
|
376
|
+
"inputs": [],
|
377
|
+
"name": "getRegistry",
|
378
|
+
"outputs": [
|
379
|
+
{
|
380
|
+
"internalType": "contract IRegistry",
|
381
|
+
"name": "",
|
382
|
+
"type": "address"
|
383
|
+
}
|
384
|
+
],
|
385
|
+
"stateMutability": "view",
|
386
|
+
"type": "function"
|
387
|
+
},
|
388
|
+
{
|
389
|
+
"inputs": [],
|
390
|
+
"name": "getVersion",
|
391
|
+
"outputs": [
|
392
|
+
{
|
393
|
+
"internalType": "Version",
|
394
|
+
"name": "",
|
395
|
+
"type": "uint24"
|
396
|
+
}
|
397
|
+
],
|
398
|
+
"stateMutability": "pure",
|
399
|
+
"type": "function"
|
400
|
+
},
|
401
|
+
{
|
402
|
+
"inputs": [
|
403
|
+
{
|
404
|
+
"internalType": "uint256",
|
405
|
+
"name": "idx",
|
406
|
+
"type": "uint256"
|
407
|
+
}
|
408
|
+
],
|
409
|
+
"name": "getVersion",
|
410
|
+
"outputs": [
|
411
|
+
{
|
412
|
+
"internalType": "Version",
|
413
|
+
"name": "",
|
414
|
+
"type": "uint24"
|
415
|
+
}
|
416
|
+
],
|
417
|
+
"stateMutability": "view",
|
418
|
+
"type": "function"
|
419
|
+
},
|
420
|
+
{
|
421
|
+
"inputs": [],
|
422
|
+
"name": "getVersionCount",
|
423
|
+
"outputs": [
|
424
|
+
{
|
425
|
+
"internalType": "uint256",
|
426
|
+
"name": "",
|
427
|
+
"type": "uint256"
|
428
|
+
}
|
429
|
+
],
|
430
|
+
"stateMutability": "view",
|
431
|
+
"type": "function"
|
432
|
+
},
|
433
|
+
{
|
434
|
+
"inputs": [
|
435
|
+
{
|
436
|
+
"internalType": "Version",
|
437
|
+
"name": "_version",
|
438
|
+
"type": "uint24"
|
439
|
+
}
|
440
|
+
],
|
441
|
+
"name": "getVersionInfo",
|
442
|
+
"outputs": [
|
443
|
+
{
|
444
|
+
"components": [
|
445
|
+
{
|
446
|
+
"internalType": "Version",
|
447
|
+
"name": "version",
|
448
|
+
"type": "uint24"
|
449
|
+
},
|
450
|
+
{
|
451
|
+
"internalType": "address",
|
452
|
+
"name": "implementation",
|
453
|
+
"type": "address"
|
454
|
+
},
|
455
|
+
{
|
456
|
+
"internalType": "address",
|
457
|
+
"name": "activatedBy",
|
458
|
+
"type": "address"
|
459
|
+
},
|
460
|
+
{
|
461
|
+
"internalType": "Timestamp",
|
462
|
+
"name": "activatedAt",
|
463
|
+
"type": "uint40"
|
464
|
+
},
|
465
|
+
{
|
466
|
+
"internalType": "Blocknumber",
|
467
|
+
"name": "activatedIn",
|
468
|
+
"type": "uint32"
|
469
|
+
}
|
470
|
+
],
|
471
|
+
"internalType": "struct IVersionable.VersionInfo",
|
472
|
+
"name": "",
|
473
|
+
"type": "tuple"
|
474
|
+
}
|
475
|
+
],
|
476
|
+
"stateMutability": "view",
|
477
|
+
"type": "function"
|
478
|
+
},
|
479
|
+
{
|
480
|
+
"inputs": [
|
481
|
+
{
|
482
|
+
"internalType": "address",
|
483
|
+
"name": "implementation",
|
484
|
+
"type": "address"
|
485
|
+
},
|
486
|
+
{
|
487
|
+
"internalType": "address",
|
488
|
+
"name": "activatedBy",
|
489
|
+
"type": "address"
|
490
|
+
},
|
491
|
+
{
|
492
|
+
"internalType": "bytes",
|
493
|
+
"name": "data",
|
494
|
+
"type": "bytes"
|
495
|
+
}
|
496
|
+
],
|
497
|
+
"name": "initialize",
|
498
|
+
"outputs": [],
|
499
|
+
"stateMutability": "nonpayable",
|
500
|
+
"type": "function"
|
501
|
+
},
|
502
|
+
{
|
503
|
+
"inputs": [
|
504
|
+
{
|
505
|
+
"internalType": "Version",
|
506
|
+
"name": "_version",
|
507
|
+
"type": "uint24"
|
508
|
+
}
|
509
|
+
],
|
510
|
+
"name": "isInitialized",
|
511
|
+
"outputs": [
|
512
|
+
{
|
513
|
+
"internalType": "bool",
|
514
|
+
"name": "",
|
515
|
+
"type": "bool"
|
516
|
+
}
|
517
|
+
],
|
518
|
+
"stateMutability": "view",
|
519
|
+
"type": "function"
|
520
|
+
},
|
521
|
+
{
|
522
|
+
"inputs": [],
|
523
|
+
"name": "linkToRegisteredNftId",
|
524
|
+
"outputs": [],
|
525
|
+
"stateMutability": "nonpayable",
|
526
|
+
"type": "function"
|
527
|
+
},
|
528
|
+
{
|
529
|
+
"inputs": [
|
530
|
+
{
|
531
|
+
"components": [
|
532
|
+
{
|
533
|
+
"internalType": "NftId",
|
534
|
+
"name": "nftId",
|
535
|
+
"type": "uint96"
|
536
|
+
},
|
537
|
+
{
|
538
|
+
"internalType": "NftId",
|
539
|
+
"name": "parentNftId",
|
540
|
+
"type": "uint96"
|
541
|
+
},
|
542
|
+
{
|
543
|
+
"internalType": "ObjectType",
|
544
|
+
"name": "objectType",
|
545
|
+
"type": "uint8"
|
546
|
+
},
|
547
|
+
{
|
548
|
+
"internalType": "bool",
|
549
|
+
"name": "isInterceptor",
|
550
|
+
"type": "bool"
|
551
|
+
},
|
552
|
+
{
|
553
|
+
"internalType": "address",
|
554
|
+
"name": "objectAddress",
|
555
|
+
"type": "address"
|
556
|
+
},
|
557
|
+
{
|
558
|
+
"internalType": "address",
|
559
|
+
"name": "initialOwner",
|
560
|
+
"type": "address"
|
561
|
+
},
|
562
|
+
{
|
563
|
+
"internalType": "bytes",
|
564
|
+
"name": "data",
|
565
|
+
"type": "bytes"
|
566
|
+
}
|
567
|
+
],
|
568
|
+
"internalType": "struct IRegistry.ObjectInfo",
|
569
|
+
"name": "info",
|
570
|
+
"type": "tuple"
|
571
|
+
}
|
572
|
+
],
|
573
|
+
"name": "registerBundle",
|
574
|
+
"outputs": [
|
575
|
+
{
|
576
|
+
"internalType": "NftId",
|
577
|
+
"name": "nftId",
|
578
|
+
"type": "uint96"
|
579
|
+
}
|
580
|
+
],
|
581
|
+
"stateMutability": "nonpayable",
|
582
|
+
"type": "function"
|
583
|
+
},
|
584
|
+
{
|
585
|
+
"inputs": [
|
586
|
+
{
|
587
|
+
"internalType": "contract IBaseComponent",
|
588
|
+
"name": "component",
|
589
|
+
"type": "address"
|
590
|
+
},
|
591
|
+
{
|
592
|
+
"internalType": "ObjectType",
|
593
|
+
"name": "componentType",
|
594
|
+
"type": "uint8"
|
595
|
+
},
|
596
|
+
{
|
597
|
+
"internalType": "address",
|
598
|
+
"name": "owner",
|
599
|
+
"type": "address"
|
600
|
+
}
|
601
|
+
],
|
602
|
+
"name": "registerComponent",
|
603
|
+
"outputs": [
|
604
|
+
{
|
605
|
+
"components": [
|
606
|
+
{
|
607
|
+
"internalType": "NftId",
|
608
|
+
"name": "nftId",
|
609
|
+
"type": "uint96"
|
610
|
+
},
|
611
|
+
{
|
612
|
+
"internalType": "NftId",
|
613
|
+
"name": "parentNftId",
|
614
|
+
"type": "uint96"
|
615
|
+
},
|
616
|
+
{
|
617
|
+
"internalType": "ObjectType",
|
618
|
+
"name": "objectType",
|
619
|
+
"type": "uint8"
|
620
|
+
},
|
621
|
+
{
|
622
|
+
"internalType": "bool",
|
623
|
+
"name": "isInterceptor",
|
624
|
+
"type": "bool"
|
625
|
+
},
|
626
|
+
{
|
627
|
+
"internalType": "address",
|
628
|
+
"name": "objectAddress",
|
629
|
+
"type": "address"
|
630
|
+
},
|
631
|
+
{
|
632
|
+
"internalType": "address",
|
633
|
+
"name": "initialOwner",
|
634
|
+
"type": "address"
|
635
|
+
},
|
636
|
+
{
|
637
|
+
"internalType": "bytes",
|
638
|
+
"name": "data",
|
639
|
+
"type": "bytes"
|
640
|
+
}
|
641
|
+
],
|
642
|
+
"internalType": "struct IRegistry.ObjectInfo",
|
643
|
+
"name": "info",
|
644
|
+
"type": "tuple"
|
645
|
+
},
|
646
|
+
{
|
647
|
+
"internalType": "bytes",
|
648
|
+
"name": "data",
|
649
|
+
"type": "bytes"
|
650
|
+
}
|
651
|
+
],
|
652
|
+
"stateMutability": "nonpayable",
|
653
|
+
"type": "function"
|
654
|
+
},
|
655
|
+
{
|
656
|
+
"inputs": [
|
657
|
+
{
|
658
|
+
"internalType": "contract IRegisterable",
|
659
|
+
"name": "instance",
|
660
|
+
"type": "address"
|
661
|
+
}
|
662
|
+
],
|
663
|
+
"name": "registerInstance",
|
664
|
+
"outputs": [
|
665
|
+
{
|
666
|
+
"components": [
|
667
|
+
{
|
668
|
+
"internalType": "NftId",
|
669
|
+
"name": "nftId",
|
670
|
+
"type": "uint96"
|
671
|
+
},
|
672
|
+
{
|
673
|
+
"internalType": "NftId",
|
674
|
+
"name": "parentNftId",
|
675
|
+
"type": "uint96"
|
676
|
+
},
|
677
|
+
{
|
678
|
+
"internalType": "ObjectType",
|
679
|
+
"name": "objectType",
|
680
|
+
"type": "uint8"
|
681
|
+
},
|
682
|
+
{
|
683
|
+
"internalType": "bool",
|
684
|
+
"name": "isInterceptor",
|
685
|
+
"type": "bool"
|
686
|
+
},
|
687
|
+
{
|
688
|
+
"internalType": "address",
|
689
|
+
"name": "objectAddress",
|
690
|
+
"type": "address"
|
691
|
+
},
|
692
|
+
{
|
693
|
+
"internalType": "address",
|
694
|
+
"name": "initialOwner",
|
695
|
+
"type": "address"
|
696
|
+
},
|
697
|
+
{
|
698
|
+
"internalType": "bytes",
|
699
|
+
"name": "data",
|
700
|
+
"type": "bytes"
|
701
|
+
}
|
702
|
+
],
|
703
|
+
"internalType": "struct IRegistry.ObjectInfo",
|
704
|
+
"name": "info",
|
705
|
+
"type": "tuple"
|
706
|
+
},
|
707
|
+
{
|
708
|
+
"internalType": "bytes",
|
709
|
+
"name": "data",
|
710
|
+
"type": "bytes"
|
711
|
+
}
|
712
|
+
],
|
713
|
+
"stateMutability": "nonpayable",
|
714
|
+
"type": "function"
|
715
|
+
},
|
716
|
+
{
|
717
|
+
"inputs": [
|
718
|
+
{
|
719
|
+
"components": [
|
720
|
+
{
|
721
|
+
"internalType": "NftId",
|
722
|
+
"name": "nftId",
|
723
|
+
"type": "uint96"
|
724
|
+
},
|
725
|
+
{
|
726
|
+
"internalType": "NftId",
|
727
|
+
"name": "parentNftId",
|
728
|
+
"type": "uint96"
|
729
|
+
},
|
730
|
+
{
|
731
|
+
"internalType": "ObjectType",
|
732
|
+
"name": "objectType",
|
733
|
+
"type": "uint8"
|
734
|
+
},
|
735
|
+
{
|
736
|
+
"internalType": "bool",
|
737
|
+
"name": "isInterceptor",
|
738
|
+
"type": "bool"
|
739
|
+
},
|
740
|
+
{
|
741
|
+
"internalType": "address",
|
742
|
+
"name": "objectAddress",
|
743
|
+
"type": "address"
|
744
|
+
},
|
745
|
+
{
|
746
|
+
"internalType": "address",
|
747
|
+
"name": "initialOwner",
|
748
|
+
"type": "address"
|
749
|
+
},
|
750
|
+
{
|
751
|
+
"internalType": "bytes",
|
752
|
+
"name": "data",
|
753
|
+
"type": "bytes"
|
754
|
+
}
|
755
|
+
],
|
756
|
+
"internalType": "struct IRegistry.ObjectInfo",
|
757
|
+
"name": "info",
|
758
|
+
"type": "tuple"
|
759
|
+
}
|
760
|
+
],
|
761
|
+
"name": "registerPolicy",
|
762
|
+
"outputs": [
|
763
|
+
{
|
764
|
+
"internalType": "NftId",
|
765
|
+
"name": "nftId",
|
766
|
+
"type": "uint96"
|
767
|
+
}
|
768
|
+
],
|
769
|
+
"stateMutability": "nonpayable",
|
770
|
+
"type": "function"
|
771
|
+
},
|
772
|
+
{
|
773
|
+
"inputs": [
|
774
|
+
{
|
775
|
+
"internalType": "contract IService",
|
776
|
+
"name": "service",
|
777
|
+
"type": "address"
|
778
|
+
}
|
779
|
+
],
|
780
|
+
"name": "registerService",
|
781
|
+
"outputs": [
|
782
|
+
{
|
783
|
+
"components": [
|
784
|
+
{
|
785
|
+
"internalType": "NftId",
|
786
|
+
"name": "nftId",
|
787
|
+
"type": "uint96"
|
788
|
+
},
|
789
|
+
{
|
790
|
+
"internalType": "NftId",
|
791
|
+
"name": "parentNftId",
|
792
|
+
"type": "uint96"
|
793
|
+
},
|
794
|
+
{
|
795
|
+
"internalType": "ObjectType",
|
796
|
+
"name": "objectType",
|
797
|
+
"type": "uint8"
|
798
|
+
},
|
799
|
+
{
|
800
|
+
"internalType": "bool",
|
801
|
+
"name": "isInterceptor",
|
802
|
+
"type": "bool"
|
803
|
+
},
|
804
|
+
{
|
805
|
+
"internalType": "address",
|
806
|
+
"name": "objectAddress",
|
807
|
+
"type": "address"
|
808
|
+
},
|
809
|
+
{
|
810
|
+
"internalType": "address",
|
811
|
+
"name": "initialOwner",
|
812
|
+
"type": "address"
|
813
|
+
},
|
814
|
+
{
|
815
|
+
"internalType": "bytes",
|
816
|
+
"name": "data",
|
817
|
+
"type": "bytes"
|
818
|
+
}
|
819
|
+
],
|
820
|
+
"internalType": "struct IRegistry.ObjectInfo",
|
821
|
+
"name": "info",
|
822
|
+
"type": "tuple"
|
823
|
+
},
|
824
|
+
{
|
825
|
+
"internalType": "bytes",
|
826
|
+
"name": "data",
|
827
|
+
"type": "bytes"
|
828
|
+
}
|
829
|
+
],
|
830
|
+
"stateMutability": "nonpayable",
|
831
|
+
"type": "function"
|
832
|
+
},
|
833
|
+
{
|
834
|
+
"inputs": [
|
835
|
+
{
|
836
|
+
"internalType": "address",
|
837
|
+
"name": "tokenAddress",
|
838
|
+
"type": "address"
|
839
|
+
}
|
840
|
+
],
|
841
|
+
"name": "registerToken",
|
842
|
+
"outputs": [
|
843
|
+
{
|
844
|
+
"internalType": "NftId",
|
845
|
+
"name": "nftId",
|
846
|
+
"type": "uint96"
|
847
|
+
}
|
848
|
+
],
|
849
|
+
"stateMutability": "nonpayable",
|
850
|
+
"type": "function"
|
851
|
+
},
|
852
|
+
{
|
853
|
+
"inputs": [
|
854
|
+
{
|
855
|
+
"internalType": "bytes4",
|
856
|
+
"name": "interfaceId",
|
857
|
+
"type": "bytes4"
|
858
|
+
}
|
859
|
+
],
|
860
|
+
"name": "supportsInterface",
|
861
|
+
"outputs": [
|
862
|
+
{
|
863
|
+
"internalType": "bool",
|
864
|
+
"name": "",
|
865
|
+
"type": "bool"
|
866
|
+
}
|
867
|
+
],
|
868
|
+
"stateMutability": "view",
|
869
|
+
"type": "function"
|
870
|
+
},
|
871
|
+
{
|
872
|
+
"inputs": [
|
873
|
+
{
|
874
|
+
"internalType": "address",
|
875
|
+
"name": "implementation",
|
876
|
+
"type": "address"
|
877
|
+
},
|
878
|
+
{
|
879
|
+
"internalType": "address",
|
880
|
+
"name": "activatedBy",
|
881
|
+
"type": "address"
|
882
|
+
},
|
883
|
+
{
|
884
|
+
"internalType": "bytes",
|
885
|
+
"name": "data",
|
886
|
+
"type": "bytes"
|
887
|
+
}
|
888
|
+
],
|
889
|
+
"name": "upgrade",
|
890
|
+
"outputs": [],
|
891
|
+
"stateMutability": "nonpayable",
|
892
|
+
"type": "function"
|
893
|
+
}
|
894
|
+
],
|
895
|
+
"bytecode": "0x60806040523480156200001157600080fd5b506301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055600280546001600160a01b031916331790556200006a62000070565b62000124565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000900460ff1615620000c15760405163f92ee8a960e01b815260040160405180910390fd5b80546001600160401b0390811614620001215780546001600160401b0319166001600160401b0390811782556040519081527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50565b612f2880620001346000396000f3fe608060405234801561001057600080fd5b506004361061018e5760003560e01c8063893d20e8116100de578063c2bf08c811610097578063d943342d11610071578063d943342d14610517578063e285c9c41461052a578063ed841d0c14610532578063fdd9ec7d1461053a57600080fd5b8063c2bf08c8146104d7578063cde749f4146104ea578063cf7a1d771461050457600080fd5b8063893d20e814610434578063946dfcfe1461043c578063a3f4df7e14610463578063a745e3df14610491578063b3c65015146104a4578063b88da759146104c457600080fd5b80631eff4b221161014b5780635ab1bd53116101255780635ab1bd53146103d15780635c992fed146103f6578063644c45e014610409578063834af1531461042157600080fd5b80631eff4b22146102705780634d459c90146102a55780634f421333146103be57600080fd5b806301ffc9a71461019357806309824a80146101d55780630d8e6e2c146102005780630fec111c1461021c578063138461e01461023257806317d7de7c1461023c575b600080fd5b6101c06101a13660046125e9565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6101e86101e3366004612638565b61054d565b6040516001600160601b0390911681526020016101cc565b6102086107f1565b60405162ffffff90911681526020016101cc565b61022461087b565b6040516101cc92919061271e565b61023a6109bc565b005b60408051808201909152600f81526e52656769737472795365727669636560881b60208201525b6040516101cc919061274c565b6102977f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b6040519081526020016101cc565b6103616102b3366004612770565b6040805160a081018252600080825260208201819052918101829052606081018290526080810191909152600080516020612ed383398151915262ffffff92831660009081526020918252604090819020815160a0810183528154958616815263010000009095046001600160a01b03908116938601939093526001015491821690840152600160a01b810464ffffffffff166060840152600160c81b900463ffffffff1660808301525090565b60408051825162ffffff1681526020808401516001600160a01b039081169183019190915283830151169181019190915260608083015164ffffffffff169082015260809182015163ffffffff169181019190915260a0016101cc565b6101c06103cc366004612770565b610bde565b6001546001600160a01b03165b6040516001600160a01b0390911681526020016101cc565b6101e86104043660046128cb565b610c91565b600154600160a01b90046001600160601b03166101e8565b61022461042f366004612638565b610e30565b6103de610fbd565b7f4f61291a8ac3d020d0a7d919a76b8592aa88385744dee3f8b4f3873b969ed90154610297565b6102636040518060400160405280600f81526020016e52656769737472795365727669636560881b81525081565b61023a61049f36600461299d565b6110d6565b6104ac611230565b6040516001600160401b0390911681526020016101cc565b6102086104d23660046129fe565b611251565b6101e86104e53660046128cb565b6112a2565b6104f26113c7565b60405160ff90911681526020016101cc565b61023a61051236600461299d565b61144a565b610224610525366004612a17565b611553565b6103de600181565b610297600081565b610224610548366004612638565b6117eb565b6040516301ffc9a760e01b8152600090829082906001600160a01b038316906301ffc9a790610587906303fb044760e21b90600401612a62565b602060405180830381865afa9250505080156105c0575060408051601f3d908101601f191682019092526105bd91810190612a82565b60015b6105cc575060006105cf565b90505b80156105ee5760405163087cada760e21b815260040160405180910390fd5b600154604051636939560f60e11b81526001600160a01b039091166004820181905260009163d272ac1e90602401602060405180830381865afa158015610639573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061065d9190612aaa565b600154604051631c5da14d60e11b81526001600160601b03831660048201529192506001600160a01b0316906338bb429a90602401602060405180830381865afa1580156106af573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106d39190612ad2565b6001600160a01b0316336001600160a01b0316146107045760405163778d468d60e11b815260040160405180910390fd5b60006040518060e00160405280610719600090565b6001600160601b03168152602001836001600160601b0316815260200161073e601e90565b60ff168152600060208083018290526001600160a01b03808b1660408086019190915260016060860181905281519384018252938352608090940191909152905491516352efcf2760e11b8152929350169063a5df9e4e906107a4908490600401612aef565b6020604051808303816000875af11580156107c3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107e79190612aaa565b9695505050505050565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af4158015610852573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108769190612b02565b905090565b6108836125ab565b606060007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e001604052806108bd600090565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a001610905610fbd565b6001600160a01b0316815260200182600101805461092290612b1f565b80601f016020809104026020016040519081016040528092919081815260200182805461094e90612b1f565b801561099b5780601f106109705761010080835404028352916020019161099b565b820191906000526020600020905b81548152906001019060200180831161097e57829003601f168201915b50505050508152506040518060200160405280600081525092509250509091565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610a1e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a429190612a82565b15610a89576001546040516316322c0f60e31b81526001600160a01b0382166004820152600160a01b9091046001600160601b031660248201526044015b60405180910390fd5b6001546001600160a01b0316610ab25760405163cf29926160e01b815260040160405180910390fd5b60015460405163c3c5a54760e01b81523060048201819052916001600160a01b03169063c3c5a54790602401602060405180830381865afa158015610afb573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b1f9190612a82565b610b47576040516372657a5160e01b81526001600160a01b0382166004820152602401610a80565b600154604051636939560f60e11b81526001600160a01b0383811660048301529091169063d272ac1e90602401602060405180830381865afa158015610b91573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bb59190612aaa565b600160146101000a8154816001600160601b0302191690836001600160601b0316021790555050565b600080600080516020612ed383398151915262ffffff84166000908152602091909152604090819020600101549051631bbffab160e21b8152600160c81b90910463ffffffff16600482015273__$5f476116ae21c5294e0c0761c07efa7e1c$__90636effeac490602401602060405180830381865af4158015610c66573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c8a9190612b59565b1192915050565b600154604051636939560f60e11b815233600482015260009182916001600160a01b039091169063d272ac1e90602401602060405180830381865afa158015610cde573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d029190612aaa565b6001549091506001600160a01b0316635f1561518260d26040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff166024820152604401602060405180830381865afa158015610d65573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d899190612a82565b1515600003610dab57604051632bb46a5f60e01b815260040160405180910390fd5b610db68360d2611a97565b6001546040516352efcf2760e11b81526001600160a01b039091169063a5df9e4e90610de6908690600401612aef565b6020604051808303816000875af1158015610e05573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e299190612aaa565b9392505050565b610e386125ab565b6040516301ffc9a760e01b81526060906001600160a01b038416906301ffc9a790610e6e90630de7806f60e41b90600401612a62565b602060405180830381865afa158015610e8b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610eaf9190612a82565b1515600003610ed157604051636795c76360e01b815260040160405180910390fd5b610ede8360325b33611bcd565b6001546040516352efcf2760e11b81529294509092506001600160a01b03169063a5df9e4e90610f12908590600401612aef565b6020604051808303816000875af1158015610f31573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f559190612aaa565b6001600160601b0316825260408051629c230f60e51b815290516001600160a01b0385169163138461e091600480830192600092919082900301818387803b158015610fa057600080fd5b505af1158015610fb4573d6000803e3d6000fd5b50505050915091565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015260009073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015611022573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110469190612a82565b156110c657600154604051631c5da14d60e11b8152600160a01b82046001600160601b031660048201526001600160a01b03909116906338bb429a90602401602060405180830381865afa1580156110a2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108769190612ad2565b506002546001600160a01b031690565b73__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__63a123b37c6110f86107f1565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af4158015611138573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061115c9190612b72565b600080516020612eb38339815191528054600160401b900460ff168061118f575080546001600160401b03808416911610155b156111ad5760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b1781556111d88585611da9565b6111e183611fe4565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15050505050565b6000610876600080516020612eb3833981519152546001600160401b031690565b6000600080516020612ed3833981519152600101828154811061127657611276612b9b565b90600052602060002090600a91828204019190066003029054906101000a900462ffffff169050919050565b600154604051636939560f60e11b815233600482015260009182916001600160a01b039091169063d272ac1e90602401602060405180830381865afa1580156112ef573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113139190612aaa565b6001549091506001600160a01b0316635f1561518260dc6040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff166024820152604401602060405180830381865afa158015611376573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061139a9190612a82565b15156000036113bc57604051632bb46a5f60e01b815260040160405180910390fd5b610db68360dc611a97565b60006113d16107f1565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af4158015611426573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108769190612bbc565b600080516020612eb38339815191528054600160401b810460ff1615906001600160401b031660008115801561147d5750825b90506000826001600160401b031660011480156114995750303b155b9050811580156114a7575080155b156114c55760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff1916600117855583156114ef57845460ff60401b1916600160401b1785555b6114f98888611da9565b6115038787611fec565b831561154957845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b5050505050505050565b61155b6125ab565b6040516301ffc9a760e01b81526060906001600160a01b038616906301ffc9a79061159190631b1599eb60e21b90600401612a62565b602060405180830381865afa1580156115ae573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115d29190612a82565b6115ef57604051634138dc2760e11b815260040160405180910390fd5b6115fa858585611bcd565b600154604051636939560f60e11b81523360048201529294509092506000916001600160a01b039091169063d272ac1e90602401602060405180830381865afa15801561164b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061166f9190612aaa565b600154604051635f15615160e01b81526001600160601b038316600482015260ff881660248201529192506001600160a01b031690635f15615190604401602060405180830381865afa1580156116ca573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116ee9190612a82565b61170b57604051632bb46a5f60e01b815260040160405180910390fd5b6001546040516352efcf2760e11b81526001600160a01b039091169063a5df9e4e9061173b908690600401612aef565b6020604051808303816000875af115801561175a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061177e9190612aaa565b6001600160601b0316835260408051629c230f60e51b815290516001600160a01b0388169163138461e091600480830192600092919082900301818387803b1580156117c957600080fd5b505af11580156117dd573d6000803e3d6000fd5b50505050505b935093915050565b6117f36125ab565b6040516301ffc9a760e01b81526060906001600160a01b038416906301ffc9a79061182990631b4612f160e31b90600401612a62565b602060405180830381865afa158015611846573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061186a9190612a82565b151560000361188c57604051635458064d60e11b815260040160405180910390fd5b611897836028610ed8565b600154604051636939560f60e11b81526001600160a01b03909116600482018190529294509092506000919063d272ac1e90602401602060405180830381865afa1580156118e9573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061190d9190612aaa565b600154604051631c5da14d60e11b81526001600160601b03831660048201529192506001600160a01b0316906338bb429a90602401602060405180830381865afa15801561195f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119839190612ad2565b6001600160a01b0316336001600160a01b0316146119b45760405163778d468d60e11b815260040160405180910390fd5b600160a08401819052546040516352efcf2760e11b81526001600160a01b039091169063a5df9e4e906119eb908690600401612aef565b6020604051808303816000875af1158015611a0a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a2e9190612aaa565b6001600160601b0316835260408051629c230f60e51b815290516001600160a01b0386169163138461e091600480830192600092919082900301818387803b158015611a7957600080fd5b505af1158015611a8d573d6000803e3d6000fd5b5050505050915091565b60808201516001600160a01b031615611ad4576080820151604051634726455360e11b81526001600160a01b039091166004820152602401610a80565b6001546001600160a01b031660a083015160405163c3c5a54760e01b81526001600160a01b03918216600482015291169063c3c5a54790602401602060405180830381865afa158015611b2b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b4f9190612a82565b80611b65575060a08201516001600160a01b0316155b15611b945760a082015160405163711c133360e01b81526001600160a01b039091166004820152602401610a80565b604082015160ff828116911614611bc957604080830151905163f503452760e01b815260ff9091166004820152602401610a80565b5050565b611bd56125ab565b6060846001600160a01b0316630fec111c6040518163ffffffff1660e01b8152600401600060405180830381865afa158015611c15573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611c3d9190810190612c1e565b608082015191935091506001600160a01b03868116911614611c83576080820151604051634726455360e11b81526001600160a01b039091166004820152602401610a80565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038581166004830152919091169063c3c5a54790602401602060405180830381865afa158015611cd7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611cfb9190612a82565b80611d1c5750826001600160a01b03168260a001516001600160a01b031614155b15611d4b5760a082015160405163711c133360e01b81526001600160a01b039091166004820152602401610a80565b6001600160a01b0385163303611d74576040516317faf4db60e11b815260040160405180910390fd5b604082015160ff8581169116146117e357604080830151905163f503452760e01b815260ff9091166004820152602401610a80565b611db16122b6565b600080516020612ed38339815191526000611de1600080516020612eb3833981519152546001600160401b031690565b90506000611ded6107f1565b9050816001600160401b0316600103611e1a5760028301805462ffffff191662ffffff8316179055611e68565b600283015462ffffff90811690821611611e685760405162461bcd60e51b815260206004820152600f60248201526e24a72b20a624a2102b22a929a4a7a760891b6044820152606401610a80565b6001808401805491820181556000908152602090819020600a808404909101805462ffffff808716600394909606939093026101000a858102930219169190911790556040805160a0810182529283526001600160a01b03808916928401929092529086169082015260608101611edc4290565b64ffffffffff1681526020014363ffffffff90811690915262ffffff8084166000908152602087815260409182902085518154928701516001600160a01b039081166301000000026001600160b81b0319909416919095161791909117815584820151600190910180546060870151608090970151909516600160c81b0263ffffffff60c81b1964ffffffffff909716600160a01b026001600160c81b031990961692909416919091179390931793909316179055517fad0a0fc10465a8dd9da3ad5f43e1a7fff4b4578551c76f0ae8deb844f0d0bf68906112219083908890889062ffffff9390931683526001600160a01b03918216602084015216604082015260600190565b61018e6122b6565b600080516020612eb38339815191528054600160401b810460ff1615906001600160401b031660008115801561201f5750825b90506000826001600160401b0316600114801561203b5750303b155b905081158015612049575080155b156120675760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561209157845460ff60401b1916600160401b1785555b60008761209c6113c7565b604080516001600160a01b03909316602084015260ff9091169082015260600160408051601f1981840301815290829052631585e94960e21b8252915060009073__$b2e3f5fb9dc49bcf3e057142c7696ab68d$__90635617a52490612108908b908690600401612d16565b600060405180830381865af4158015612125573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261214d9190810190612d29565b60405163257b1f8160e11b815290915060009073__$b2e3f5fb9dc49bcf3e057142c7696ab68d$__90634af63f029061218c9085908590600401612d5d565b602060405180830381865af41580156121a9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906121cd9190612ad2565b604051636939560f60e11b81526001600160a01b03821660048201819052919250829160009163d272ac1e90602401602060405180830381865afa158015612219573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061223d9190612aaa565b905061224a83828e6122ef565b6122526109bc565b61226263183a225360e11b612373565b505050505083156122ad57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50505050505050565b600080516020612eb383398151915254600160401b900460ff166122ed57604051631afcd79f60e31b815260040160405180910390fd5b565b600061231d60408051808201909152600f81526e52656769737472795365727669636560881b602082015290565b6123256113c7565b604051602001612336929190612d7f565b604051602081830303815290604052905061235d8484612354602890565b60008686612398565b61236d631b4612f160e31b612373565b50505050565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b6123a28287612423565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b861515021781559050600181016124128382612df3565b506122ad6303fb044760e21b612373565b600280546001600160a01b0319166001600160a01b038416179055611bc9816001546001600160a01b03161561247b5760015460405163fcdbf2d960e01b81526001600160a01b039091166004820152602401610a80565b6001600160a01b0381166124a25760405163f5c4d07d60e01b815260040160405180910390fd5b806001600160a01b03163b6000036124d85760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610a80565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b81526301ffc9a79061251e90632c1c764b60e11b90600401612a62565b602060405180830381865afa925050508015612557575060408051601f3d908101601f1916820190925261255491810190612a82565b60015b61257f5760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610a80565b80611bc95760405163fdeac91f60e01b81526001600160a01b0383166004820152602401610a80565b50565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c081019190915290565b6000602082840312156125fb57600080fd5b81356001600160e01b031981168114610e2957600080fd5b6001600160a01b03811681146125a857600080fd5b803561263381612613565b919050565b60006020828403121561264a57600080fd5b8135610e2981612613565b60005b83811015612670578181015183820152602001612658565b50506000910152565b60008151808452612691816020860160208601612655565b601f01601f19169290920160200192915050565b60006001600160601b038083511684528060208401511660208501525060ff6040830151166040840152606082015115156060840152608082015160018060a01b0380821660808601528060a08501511660a0860152505060c082015160e060c085015261271660e0850182612679565b949350505050565b60408152600061273160408301856126a5565b82810360208401526127438185612679565b95945050505050565b602081526000610e296020830184612679565b62ffffff811681146125a857600080fd5b60006020828403121561278257600080fd5b8135610e298161275f565b634e487b7160e01b600052604160045260246000fd5b60405160e081016001600160401b03811182821017156127c5576127c561278d565b60405290565b604051601f8201601f191681016001600160401b03811182821017156127f3576127f361278d565b604052919050565b6001600160601b03811681146125a857600080fd5b8035612633816127fb565b60ff811681146125a857600080fd5b80356126338161281b565b80151581146125a857600080fd5b803561263381612835565b60006001600160401b038211156128675761286761278d565b50601f01601f191660200190565b600082601f83011261288657600080fd5b81356128996128948261284e565b6127cb565b8181528460208386010111156128ae57600080fd5b816020850160208301376000918101602001919091529392505050565b6000602082840312156128dd57600080fd5b81356001600160401b03808211156128f457600080fd5b9083019060e0828603121561290857600080fd5b6129106127a3565b61291983612810565b815261292760208401612810565b60208201526129386040840161282a565b604082015261294960608401612843565b606082015261295a60808401612628565b608082015261296b60a08401612628565b60a082015260c08301358281111561298257600080fd5b61298e87828601612875565b60c08301525095945050505050565b6000806000606084860312156129b257600080fd5b83356129bd81612613565b925060208401356129cd81612613565b915060408401356001600160401b038111156129e857600080fd5b6129f486828701612875565b9150509250925092565b600060208284031215612a1057600080fd5b5035919050565b600080600060608486031215612a2c57600080fd5b8335612a3781612613565b92506020840135612a478161281b565b91506040840135612a5781612613565b809150509250925092565b6001600160e01b031991909116815260200190565b805161263381612835565b600060208284031215612a9457600080fd5b8151610e2981612835565b8051612633816127fb565b600060208284031215612abc57600080fd5b8151610e29816127fb565b805161263381612613565b600060208284031215612ae457600080fd5b8151610e2981612613565b602081526000610e2960208301846126a5565b600060208284031215612b1457600080fd5b8151610e298161275f565b600181811c90821680612b3357607f821691505b602082108103612b5357634e487b7160e01b600052602260045260246000fd5b50919050565b600060208284031215612b6b57600080fd5b5051919050565b600060208284031215612b8457600080fd5b81516001600160401b0381168114610e2957600080fd5b634e487b7160e01b600052603260045260246000fd5b80516126338161281b565b600060208284031215612bce57600080fd5b8151610e298161281b565b600082601f830112612bea57600080fd5b8151612bf86128948261284e565b818152846020838601011115612c0d57600080fd5b612716826020830160208701612655565b60008060408385031215612c3157600080fd5b82516001600160401b0380821115612c4857600080fd5b9084019060e08287031215612c5c57600080fd5b612c646127a3565b612c6d83612a9f565b8152612c7b60208401612a9f565b6020820152612c8c60408401612bb1565b6040820152612c9d60608401612a77565b6060820152612cae60808401612ac7565b6080820152612cbf60a08401612ac7565b60a082015260c083015182811115612cd657600080fd5b612ce288828601612bd9565b60c0830152506020860151909450915080821115612cff57600080fd5b50612d0c85828601612bd9565b9150509250929050565b6040815260006127316040830185612679565b600060208284031215612d3b57600080fd5b81516001600160401b03811115612d5157600080fd5b61271684828501612bd9565b604081526000612d706040830185612679565b90508260208301529392505050565b604081526000612d926040830185612679565b905060ff831660208301529392505050565b601f821115612dee57600081815260208120601f850160051c81016020861015612dcb5750805b601f850160051c820191505b81811015612dea57828155600101612dd7565b5050505b505050565b81516001600160401b03811115612e0c57612e0c61278d565b612e2081612e1a8454612b1f565b84612da4565b602080601f831160018114612e555760008415612e3d5750858301515b600019600386901b1c1916600185901b178555612dea565b600085815260208120601f198616915b82811015612e8457888601518255948401946001909101908401612e65565b5085821015612ea25787850151600019600388901b60f8161c191681555b5050505050600190811b0190555056fef0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a004f61291a8ac3d020d0a7d919a76b8592aa88385744dee3f8b4f3873b969ed900a2646970667358221220c26a3db4026ab2ed0ce89b761a0c8cf34c0b8cc5adec67e2d9f17d6e19b32cf064736f6c63430008140033",
|
896
|
+
"deployedBytecode": "0x608060405234801561001057600080fd5b506004361061018e5760003560e01c8063893d20e8116100de578063c2bf08c811610097578063d943342d11610071578063d943342d14610517578063e285c9c41461052a578063ed841d0c14610532578063fdd9ec7d1461053a57600080fd5b8063c2bf08c8146104d7578063cde749f4146104ea578063cf7a1d771461050457600080fd5b8063893d20e814610434578063946dfcfe1461043c578063a3f4df7e14610463578063a745e3df14610491578063b3c65015146104a4578063b88da759146104c457600080fd5b80631eff4b221161014b5780635ab1bd53116101255780635ab1bd53146103d15780635c992fed146103f6578063644c45e014610409578063834af1531461042157600080fd5b80631eff4b22146102705780634d459c90146102a55780634f421333146103be57600080fd5b806301ffc9a71461019357806309824a80146101d55780630d8e6e2c146102005780630fec111c1461021c578063138461e01461023257806317d7de7c1461023c575b600080fd5b6101c06101a13660046125e9565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6101e86101e3366004612638565b61054d565b6040516001600160601b0390911681526020016101cc565b6102086107f1565b60405162ffffff90911681526020016101cc565b61022461087b565b6040516101cc92919061271e565b61023a6109bc565b005b60408051808201909152600f81526e52656769737472795365727669636560881b60208201525b6040516101cc919061274c565b6102977f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b6040519081526020016101cc565b6103616102b3366004612770565b6040805160a081018252600080825260208201819052918101829052606081018290526080810191909152600080516020612ed383398151915262ffffff92831660009081526020918252604090819020815160a0810183528154958616815263010000009095046001600160a01b03908116938601939093526001015491821690840152600160a01b810464ffffffffff166060840152600160c81b900463ffffffff1660808301525090565b60408051825162ffffff1681526020808401516001600160a01b039081169183019190915283830151169181019190915260608083015164ffffffffff169082015260809182015163ffffffff169181019190915260a0016101cc565b6101c06103cc366004612770565b610bde565b6001546001600160a01b03165b6040516001600160a01b0390911681526020016101cc565b6101e86104043660046128cb565b610c91565b600154600160a01b90046001600160601b03166101e8565b61022461042f366004612638565b610e30565b6103de610fbd565b7f4f61291a8ac3d020d0a7d919a76b8592aa88385744dee3f8b4f3873b969ed90154610297565b6102636040518060400160405280600f81526020016e52656769737472795365727669636560881b81525081565b61023a61049f36600461299d565b6110d6565b6104ac611230565b6040516001600160401b0390911681526020016101cc565b6102086104d23660046129fe565b611251565b6101e86104e53660046128cb565b6112a2565b6104f26113c7565b60405160ff90911681526020016101cc565b61023a61051236600461299d565b61144a565b610224610525366004612a17565b611553565b6103de600181565b610297600081565b610224610548366004612638565b6117eb565b6040516301ffc9a760e01b8152600090829082906001600160a01b038316906301ffc9a790610587906303fb044760e21b90600401612a62565b602060405180830381865afa9250505080156105c0575060408051601f3d908101601f191682019092526105bd91810190612a82565b60015b6105cc575060006105cf565b90505b80156105ee5760405163087cada760e21b815260040160405180910390fd5b600154604051636939560f60e11b81526001600160a01b039091166004820181905260009163d272ac1e90602401602060405180830381865afa158015610639573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061065d9190612aaa565b600154604051631c5da14d60e11b81526001600160601b03831660048201529192506001600160a01b0316906338bb429a90602401602060405180830381865afa1580156106af573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106d39190612ad2565b6001600160a01b0316336001600160a01b0316146107045760405163778d468d60e11b815260040160405180910390fd5b60006040518060e00160405280610719600090565b6001600160601b03168152602001836001600160601b0316815260200161073e601e90565b60ff168152600060208083018290526001600160a01b03808b1660408086019190915260016060860181905281519384018252938352608090940191909152905491516352efcf2760e11b8152929350169063a5df9e4e906107a4908490600401612aef565b6020604051808303816000875af11580156107c3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107e79190612aaa565b9695505050505050565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af4158015610852573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108769190612b02565b905090565b6108836125ab565b606060007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e001604052806108bd600090565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a001610905610fbd565b6001600160a01b0316815260200182600101805461092290612b1f565b80601f016020809104026020016040519081016040528092919081815260200182805461094e90612b1f565b801561099b5780601f106109705761010080835404028352916020019161099b565b820191906000526020600020905b81548152906001019060200180831161097e57829003601f168201915b50505050508152506040518060200160405280600081525092509250509091565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610a1e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a429190612a82565b15610a89576001546040516316322c0f60e31b81526001600160a01b0382166004820152600160a01b9091046001600160601b031660248201526044015b60405180910390fd5b6001546001600160a01b0316610ab25760405163cf29926160e01b815260040160405180910390fd5b60015460405163c3c5a54760e01b81523060048201819052916001600160a01b03169063c3c5a54790602401602060405180830381865afa158015610afb573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b1f9190612a82565b610b47576040516372657a5160e01b81526001600160a01b0382166004820152602401610a80565b600154604051636939560f60e11b81526001600160a01b0383811660048301529091169063d272ac1e90602401602060405180830381865afa158015610b91573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bb59190612aaa565b600160146101000a8154816001600160601b0302191690836001600160601b0316021790555050565b600080600080516020612ed383398151915262ffffff84166000908152602091909152604090819020600101549051631bbffab160e21b8152600160c81b90910463ffffffff16600482015273__$5f476116ae21c5294e0c0761c07efa7e1c$__90636effeac490602401602060405180830381865af4158015610c66573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c8a9190612b59565b1192915050565b600154604051636939560f60e11b815233600482015260009182916001600160a01b039091169063d272ac1e90602401602060405180830381865afa158015610cde573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d029190612aaa565b6001549091506001600160a01b0316635f1561518260d26040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff166024820152604401602060405180830381865afa158015610d65573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d899190612a82565b1515600003610dab57604051632bb46a5f60e01b815260040160405180910390fd5b610db68360d2611a97565b6001546040516352efcf2760e11b81526001600160a01b039091169063a5df9e4e90610de6908690600401612aef565b6020604051808303816000875af1158015610e05573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e299190612aaa565b9392505050565b610e386125ab565b6040516301ffc9a760e01b81526060906001600160a01b038416906301ffc9a790610e6e90630de7806f60e41b90600401612a62565b602060405180830381865afa158015610e8b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610eaf9190612a82565b1515600003610ed157604051636795c76360e01b815260040160405180910390fd5b610ede8360325b33611bcd565b6001546040516352efcf2760e11b81529294509092506001600160a01b03169063a5df9e4e90610f12908590600401612aef565b6020604051808303816000875af1158015610f31573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f559190612aaa565b6001600160601b0316825260408051629c230f60e51b815290516001600160a01b0385169163138461e091600480830192600092919082900301818387803b158015610fa057600080fd5b505af1158015610fb4573d6000803e3d6000fd5b50505050915091565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015260009073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015611022573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110469190612a82565b156110c657600154604051631c5da14d60e11b8152600160a01b82046001600160601b031660048201526001600160a01b03909116906338bb429a90602401602060405180830381865afa1580156110a2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108769190612ad2565b506002546001600160a01b031690565b73__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__63a123b37c6110f86107f1565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af4158015611138573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061115c9190612b72565b600080516020612eb38339815191528054600160401b900460ff168061118f575080546001600160401b03808416911610155b156111ad5760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b1781556111d88585611da9565b6111e183611fe4565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15050505050565b6000610876600080516020612eb3833981519152546001600160401b031690565b6000600080516020612ed3833981519152600101828154811061127657611276612b9b565b90600052602060002090600a91828204019190066003029054906101000a900462ffffff169050919050565b600154604051636939560f60e11b815233600482015260009182916001600160a01b039091169063d272ac1e90602401602060405180830381865afa1580156112ef573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113139190612aaa565b6001549091506001600160a01b0316635f1561518260dc6040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff166024820152604401602060405180830381865afa158015611376573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061139a9190612a82565b15156000036113bc57604051632bb46a5f60e01b815260040160405180910390fd5b610db68360dc611a97565b60006113d16107f1565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af4158015611426573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108769190612bbc565b600080516020612eb38339815191528054600160401b810460ff1615906001600160401b031660008115801561147d5750825b90506000826001600160401b031660011480156114995750303b155b9050811580156114a7575080155b156114c55760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff1916600117855583156114ef57845460ff60401b1916600160401b1785555b6114f98888611da9565b6115038787611fec565b831561154957845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b5050505050505050565b61155b6125ab565b6040516301ffc9a760e01b81526060906001600160a01b038616906301ffc9a79061159190631b1599eb60e21b90600401612a62565b602060405180830381865afa1580156115ae573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115d29190612a82565b6115ef57604051634138dc2760e11b815260040160405180910390fd5b6115fa858585611bcd565b600154604051636939560f60e11b81523360048201529294509092506000916001600160a01b039091169063d272ac1e90602401602060405180830381865afa15801561164b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061166f9190612aaa565b600154604051635f15615160e01b81526001600160601b038316600482015260ff881660248201529192506001600160a01b031690635f15615190604401602060405180830381865afa1580156116ca573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116ee9190612a82565b61170b57604051632bb46a5f60e01b815260040160405180910390fd5b6001546040516352efcf2760e11b81526001600160a01b039091169063a5df9e4e9061173b908690600401612aef565b6020604051808303816000875af115801561175a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061177e9190612aaa565b6001600160601b0316835260408051629c230f60e51b815290516001600160a01b0388169163138461e091600480830192600092919082900301818387803b1580156117c957600080fd5b505af11580156117dd573d6000803e3d6000fd5b50505050505b935093915050565b6117f36125ab565b6040516301ffc9a760e01b81526060906001600160a01b038416906301ffc9a79061182990631b4612f160e31b90600401612a62565b602060405180830381865afa158015611846573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061186a9190612a82565b151560000361188c57604051635458064d60e11b815260040160405180910390fd5b611897836028610ed8565b600154604051636939560f60e11b81526001600160a01b03909116600482018190529294509092506000919063d272ac1e90602401602060405180830381865afa1580156118e9573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061190d9190612aaa565b600154604051631c5da14d60e11b81526001600160601b03831660048201529192506001600160a01b0316906338bb429a90602401602060405180830381865afa15801561195f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119839190612ad2565b6001600160a01b0316336001600160a01b0316146119b45760405163778d468d60e11b815260040160405180910390fd5b600160a08401819052546040516352efcf2760e11b81526001600160a01b039091169063a5df9e4e906119eb908690600401612aef565b6020604051808303816000875af1158015611a0a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a2e9190612aaa565b6001600160601b0316835260408051629c230f60e51b815290516001600160a01b0386169163138461e091600480830192600092919082900301818387803b158015611a7957600080fd5b505af1158015611a8d573d6000803e3d6000fd5b5050505050915091565b60808201516001600160a01b031615611ad4576080820151604051634726455360e11b81526001600160a01b039091166004820152602401610a80565b6001546001600160a01b031660a083015160405163c3c5a54760e01b81526001600160a01b03918216600482015291169063c3c5a54790602401602060405180830381865afa158015611b2b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b4f9190612a82565b80611b65575060a08201516001600160a01b0316155b15611b945760a082015160405163711c133360e01b81526001600160a01b039091166004820152602401610a80565b604082015160ff828116911614611bc957604080830151905163f503452760e01b815260ff9091166004820152602401610a80565b5050565b611bd56125ab565b6060846001600160a01b0316630fec111c6040518163ffffffff1660e01b8152600401600060405180830381865afa158015611c15573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611c3d9190810190612c1e565b608082015191935091506001600160a01b03868116911614611c83576080820151604051634726455360e11b81526001600160a01b039091166004820152602401610a80565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038581166004830152919091169063c3c5a54790602401602060405180830381865afa158015611cd7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611cfb9190612a82565b80611d1c5750826001600160a01b03168260a001516001600160a01b031614155b15611d4b5760a082015160405163711c133360e01b81526001600160a01b039091166004820152602401610a80565b6001600160a01b0385163303611d74576040516317faf4db60e11b815260040160405180910390fd5b604082015160ff8581169116146117e357604080830151905163f503452760e01b815260ff9091166004820152602401610a80565b611db16122b6565b600080516020612ed38339815191526000611de1600080516020612eb3833981519152546001600160401b031690565b90506000611ded6107f1565b9050816001600160401b0316600103611e1a5760028301805462ffffff191662ffffff8316179055611e68565b600283015462ffffff90811690821611611e685760405162461bcd60e51b815260206004820152600f60248201526e24a72b20a624a2102b22a929a4a7a760891b6044820152606401610a80565b6001808401805491820181556000908152602090819020600a808404909101805462ffffff808716600394909606939093026101000a858102930219169190911790556040805160a0810182529283526001600160a01b03808916928401929092529086169082015260608101611edc4290565b64ffffffffff1681526020014363ffffffff90811690915262ffffff8084166000908152602087815260409182902085518154928701516001600160a01b039081166301000000026001600160b81b0319909416919095161791909117815584820151600190910180546060870151608090970151909516600160c81b0263ffffffff60c81b1964ffffffffff909716600160a01b026001600160c81b031990961692909416919091179390931793909316179055517fad0a0fc10465a8dd9da3ad5f43e1a7fff4b4578551c76f0ae8deb844f0d0bf68906112219083908890889062ffffff9390931683526001600160a01b03918216602084015216604082015260600190565b61018e6122b6565b600080516020612eb38339815191528054600160401b810460ff1615906001600160401b031660008115801561201f5750825b90506000826001600160401b0316600114801561203b5750303b155b905081158015612049575080155b156120675760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561209157845460ff60401b1916600160401b1785555b60008761209c6113c7565b604080516001600160a01b03909316602084015260ff9091169082015260600160408051601f1981840301815290829052631585e94960e21b8252915060009073__$b2e3f5fb9dc49bcf3e057142c7696ab68d$__90635617a52490612108908b908690600401612d16565b600060405180830381865af4158015612125573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261214d9190810190612d29565b60405163257b1f8160e11b815290915060009073__$b2e3f5fb9dc49bcf3e057142c7696ab68d$__90634af63f029061218c9085908590600401612d5d565b602060405180830381865af41580156121a9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906121cd9190612ad2565b604051636939560f60e11b81526001600160a01b03821660048201819052919250829160009163d272ac1e90602401602060405180830381865afa158015612219573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061223d9190612aaa565b905061224a83828e6122ef565b6122526109bc565b61226263183a225360e11b612373565b505050505083156122ad57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50505050505050565b600080516020612eb383398151915254600160401b900460ff166122ed57604051631afcd79f60e31b815260040160405180910390fd5b565b600061231d60408051808201909152600f81526e52656769737472795365727669636560881b602082015290565b6123256113c7565b604051602001612336929190612d7f565b604051602081830303815290604052905061235d8484612354602890565b60008686612398565b61236d631b4612f160e31b612373565b50505050565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b6123a28287612423565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b861515021781559050600181016124128382612df3565b506122ad6303fb044760e21b612373565b600280546001600160a01b0319166001600160a01b038416179055611bc9816001546001600160a01b03161561247b5760015460405163fcdbf2d960e01b81526001600160a01b039091166004820152602401610a80565b6001600160a01b0381166124a25760405163f5c4d07d60e01b815260040160405180910390fd5b806001600160a01b03163b6000036124d85760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610a80565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b81526301ffc9a79061251e90632c1c764b60e11b90600401612a62565b602060405180830381865afa925050508015612557575060408051601f3d908101601f1916820190925261255491810190612a82565b60015b61257f5760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610a80565b80611bc95760405163fdeac91f60e01b81526001600160a01b0383166004820152602401610a80565b50565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c081019190915290565b6000602082840312156125fb57600080fd5b81356001600160e01b031981168114610e2957600080fd5b6001600160a01b03811681146125a857600080fd5b803561263381612613565b919050565b60006020828403121561264a57600080fd5b8135610e2981612613565b60005b83811015612670578181015183820152602001612658565b50506000910152565b60008151808452612691816020860160208601612655565b601f01601f19169290920160200192915050565b60006001600160601b038083511684528060208401511660208501525060ff6040830151166040840152606082015115156060840152608082015160018060a01b0380821660808601528060a08501511660a0860152505060c082015160e060c085015261271660e0850182612679565b949350505050565b60408152600061273160408301856126a5565b82810360208401526127438185612679565b95945050505050565b602081526000610e296020830184612679565b62ffffff811681146125a857600080fd5b60006020828403121561278257600080fd5b8135610e298161275f565b634e487b7160e01b600052604160045260246000fd5b60405160e081016001600160401b03811182821017156127c5576127c561278d565b60405290565b604051601f8201601f191681016001600160401b03811182821017156127f3576127f361278d565b604052919050565b6001600160601b03811681146125a857600080fd5b8035612633816127fb565b60ff811681146125a857600080fd5b80356126338161281b565b80151581146125a857600080fd5b803561263381612835565b60006001600160401b038211156128675761286761278d565b50601f01601f191660200190565b600082601f83011261288657600080fd5b81356128996128948261284e565b6127cb565b8181528460208386010111156128ae57600080fd5b816020850160208301376000918101602001919091529392505050565b6000602082840312156128dd57600080fd5b81356001600160401b03808211156128f457600080fd5b9083019060e0828603121561290857600080fd5b6129106127a3565b61291983612810565b815261292760208401612810565b60208201526129386040840161282a565b604082015261294960608401612843565b606082015261295a60808401612628565b608082015261296b60a08401612628565b60a082015260c08301358281111561298257600080fd5b61298e87828601612875565b60c08301525095945050505050565b6000806000606084860312156129b257600080fd5b83356129bd81612613565b925060208401356129cd81612613565b915060408401356001600160401b038111156129e857600080fd5b6129f486828701612875565b9150509250925092565b600060208284031215612a1057600080fd5b5035919050565b600080600060608486031215612a2c57600080fd5b8335612a3781612613565b92506020840135612a478161281b565b91506040840135612a5781612613565b809150509250925092565b6001600160e01b031991909116815260200190565b805161263381612835565b600060208284031215612a9457600080fd5b8151610e2981612835565b8051612633816127fb565b600060208284031215612abc57600080fd5b8151610e29816127fb565b805161263381612613565b600060208284031215612ae457600080fd5b8151610e2981612613565b602081526000610e2960208301846126a5565b600060208284031215612b1457600080fd5b8151610e298161275f565b600181811c90821680612b3357607f821691505b602082108103612b5357634e487b7160e01b600052602260045260246000fd5b50919050565b600060208284031215612b6b57600080fd5b5051919050565b600060208284031215612b8457600080fd5b81516001600160401b0381168114610e2957600080fd5b634e487b7160e01b600052603260045260246000fd5b80516126338161281b565b600060208284031215612bce57600080fd5b8151610e298161281b565b600082601f830112612bea57600080fd5b8151612bf86128948261284e565b818152846020838601011115612c0d57600080fd5b612716826020830160208701612655565b60008060408385031215612c3157600080fd5b82516001600160401b0380821115612c4857600080fd5b9084019060e08287031215612c5c57600080fd5b612c646127a3565b612c6d83612a9f565b8152612c7b60208401612a9f565b6020820152612c8c60408401612bb1565b6040820152612c9d60608401612a77565b6060820152612cae60808401612ac7565b6080820152612cbf60a08401612ac7565b60a082015260c083015182811115612cd657600080fd5b612ce288828601612bd9565b60c0830152506020860151909450915080821115612cff57600080fd5b50612d0c85828601612bd9565b9150509250929050565b6040815260006127316040830185612679565b600060208284031215612d3b57600080fd5b81516001600160401b03811115612d5157600080fd5b61271684828501612bd9565b604081526000612d706040830185612679565b90508260208301529392505050565b604081526000612d926040830185612679565b905060ff831660208301529392505050565b601f821115612dee57600081815260208120601f850160051c81016020861015612dcb5750805b601f850160051c820191505b81811015612dea57828155600101612dd7565b5050505b505050565b81516001600160401b03811115612e0c57612e0c61278d565b612e2081612e1a8454612b1f565b84612da4565b602080601f831160018114612e555760008415612e3d5750858301515b600019600386901b1c1916600185901b178555612dea565b600085815260208120601f198616915b82811015612e8457888601518255948401946001909101908401612e65565b5085821015612ea25787850151600019600388901b60f8161c191681555b5050505050600190811b0190555056fef0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a004f61291a8ac3d020d0a7d919a76b8592aa88385744dee3f8b4f3873b969ed900a2646970667358221220c26a3db4026ab2ed0ce89b761a0c8cf34c0b8cc5adec67e2d9f17d6e19b32cf064736f6c63430008140033",
|
897
|
+
"linkReferences": {
|
898
|
+
"contracts/shared/ContractDeployerLib.sol": {
|
899
|
+
"ContractDeployerLib": [
|
900
|
+
{
|
901
|
+
"length": 20,
|
902
|
+
"start": 8722
|
903
|
+
},
|
904
|
+
{
|
905
|
+
"length": 20,
|
906
|
+
"start": 8854
|
907
|
+
}
|
908
|
+
]
|
909
|
+
},
|
910
|
+
"contracts/types/Blocknumber.sol": {
|
911
|
+
"BlocknumberLib": [
|
912
|
+
{
|
913
|
+
"length": 20,
|
914
|
+
"start": 3424
|
915
|
+
}
|
916
|
+
]
|
917
|
+
},
|
918
|
+
"contracts/types/NftId.sol": {
|
919
|
+
"NftIdLib": [
|
920
|
+
{
|
921
|
+
"length": 20,
|
922
|
+
"start": 2840
|
923
|
+
},
|
924
|
+
{
|
925
|
+
"length": 20,
|
926
|
+
"start": 4380
|
927
|
+
}
|
928
|
+
]
|
929
|
+
},
|
930
|
+
"contracts/types/Version.sol": {
|
931
|
+
"VersionLib": [
|
932
|
+
{
|
933
|
+
"length": 20,
|
934
|
+
"start": 2380
|
935
|
+
},
|
936
|
+
{
|
937
|
+
"length": 20,
|
938
|
+
"start": 4620
|
939
|
+
},
|
940
|
+
{
|
941
|
+
"length": 20,
|
942
|
+
"start": 5408
|
943
|
+
}
|
944
|
+
]
|
945
|
+
}
|
946
|
+
},
|
947
|
+
"deployedLinkReferences": {
|
948
|
+
"contracts/shared/ContractDeployerLib.sol": {
|
949
|
+
"ContractDeployerLib": [
|
950
|
+
{
|
951
|
+
"length": 20,
|
952
|
+
"start": 8414
|
953
|
+
},
|
954
|
+
{
|
955
|
+
"length": 20,
|
956
|
+
"start": 8546
|
957
|
+
}
|
958
|
+
]
|
959
|
+
},
|
960
|
+
"contracts/types/Blocknumber.sol": {
|
961
|
+
"BlocknumberLib": [
|
962
|
+
{
|
963
|
+
"length": 20,
|
964
|
+
"start": 3116
|
965
|
+
}
|
966
|
+
]
|
967
|
+
},
|
968
|
+
"contracts/types/NftId.sol": {
|
969
|
+
"NftIdLib": [
|
970
|
+
{
|
971
|
+
"length": 20,
|
972
|
+
"start": 2532
|
973
|
+
},
|
974
|
+
{
|
975
|
+
"length": 20,
|
976
|
+
"start": 4072
|
977
|
+
}
|
978
|
+
]
|
979
|
+
},
|
980
|
+
"contracts/types/Version.sol": {
|
981
|
+
"VersionLib": [
|
982
|
+
{
|
983
|
+
"length": 20,
|
984
|
+
"start": 2072
|
985
|
+
},
|
986
|
+
{
|
987
|
+
"length": 20,
|
988
|
+
"start": 4312
|
989
|
+
},
|
990
|
+
{
|
991
|
+
"length": 20,
|
992
|
+
"start": 5100
|
993
|
+
}
|
994
|
+
]
|
995
|
+
}
|
996
|
+
}
|
997
|
+
}
|