@etherisc/gif-next 0.0.2-8a352ce → 0.0.2-8d47fa1-080
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +193 -6
- package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.dbg.json +4 -0
- package/artifacts/contracts/components/{IProduct.sol/IProductComponent.json → BaseComponent.sol/BaseComponent.json} +88 -67
- package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +4 -0
- package/artifacts/contracts/components/Distribution.sol/Distribution.json +445 -0
- package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.dbg.json +4 -0
- package/artifacts/contracts/components/{IPool.sol/IPoolComponent.json → IBaseComponent.sol/IBaseComponent.json} +69 -71
- package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +4 -0
- package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.json +343 -0
- package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +4 -0
- package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.json +474 -0
- package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +4 -0
- package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.json +373 -0
- package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +1 -1
- package/artifacts/contracts/components/Pool.sol/Pool.json +445 -56
- package/artifacts/contracts/components/Product.sol/Product.dbg.json +1 -1
- package/artifacts/contracts/components/Product.sol/Product.json +324 -53
- package/artifacts/contracts/experiment/errors/Require.sol/Require.dbg.json +1 -1
- package/artifacts/contracts/experiment/errors/Require.sol/Require.json +2 -2
- package/artifacts/contracts/experiment/errors/Revert.sol/Revert.dbg.json +1 -1
- package/artifacts/contracts/experiment/errors/Revert.sol/Revert.json +2 -2
- package/artifacts/contracts/experiment/inheritance/A.sol/A.dbg.json +1 -1
- package/artifacts/contracts/experiment/inheritance/A.sol/A.json +2 -2
- package/artifacts/contracts/experiment/inheritance/A.sol/AShared.dbg.json +1 -1
- package/artifacts/contracts/experiment/inheritance/A.sol/AShared.json +2 -2
- 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 +4 -0
- package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.json +59 -0
- package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.dbg.json +4 -0
- package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.json +124 -0
- package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.dbg.json +4 -0
- package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.json +74 -0
- package/artifacts/contracts/experiment/statemachine/SM.sol/SM.dbg.json +4 -0
- package/artifacts/contracts/experiment/statemachine/SM.sol/SM.json +124 -0
- package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.dbg.json +4 -0
- package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.json +207 -0
- package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.dbg.json +1 -1
- package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.json +2 -2
- package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.dbg.json +1 -1
- package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.json +2 -2
- package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
- package/artifacts/contracts/instance/IInstance.sol/IInstance.json +1575 -295
- 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 +1888 -376
- package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.dbg.json +4 -0
- package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.json +393 -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/base/ILifecycle.sol/ILifecycle.json +115 -0
- package/artifacts/contracts/instance/base/IService.sol/IService.dbg.json +4 -0
- package/artifacts/contracts/instance/{component/ComponentModule.sol/ComponentModule.json → base/IService.sol/IService.json} +171 -154
- package/artifacts/contracts/instance/base/InstanceBase.sol/InstanceBase.dbg.json +4 -0
- package/artifacts/contracts/instance/base/InstanceBase.sol/InstanceBase.json +456 -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 +380 -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/module/component/ComponentModule.sol/ComponentModule.json +117 -0
- 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} +56 -53
- 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 +159 -106
- package/artifacts/contracts/instance/module/policy/PolicyModule.sol/PolicyModule.dbg.json +4 -0
- package/artifacts/contracts/instance/{policy → module/policy}/PolicyModule.sol/PolicyModule.json +159 -106
- 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/{pool → module/pool}/IPoolModule.sol/IPoolModule.json +74 -59
- package/artifacts/contracts/instance/module/pool/PoolModule.sol/PoolModule.dbg.json +4 -0
- package/artifacts/contracts/instance/{pool → module/pool}/PoolModule.sol/PoolModule.json +64 -62
- 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/module/treasury/ITreasury.sol/ITreasury.json +10 -0
- 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 +690 -0
- package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +526 -0
- package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.json +389 -0
- package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.json +369 -0
- package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.json +484 -0
- package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/IProductService.sol/IProductService.json +674 -0
- package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +649 -0
- package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +964 -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 +364 -72
- package/artifacts/contracts/registry/IRegistryLinked.sol/IRegistryLinked.dbg.json +4 -0
- package/artifacts/contracts/registry/IRegistryLinked.sol/IRegistryLinked.json +24 -0
- package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +4 -0
- package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +668 -0
- package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +4 -0
- package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.json +34 -0
- package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
- package/artifacts/contracts/registry/Registry.sol/Registry.json +570 -82
- package/artifacts/contracts/registry/RegistryInstaller.sol/RegistryInstaller.dbg.json +4 -0
- package/artifacts/contracts/registry/RegistryInstaller.sol/RegistryInstaller.json +344 -0
- package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +4 -0
- package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +861 -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/IOwnable.sol/IOwnable.dbg.json +4 -0
- package/artifacts/contracts/{registry/IRegistry.sol → shared/IOwnable.sol}/IOwnable.json +1 -1
- package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +4 -0
- package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +124 -0
- 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/ProxyManager.sol/ProxyManager.dbg.json +4 -0
- package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +310 -0
- package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +4 -0
- package/artifacts/contracts/{registry/Registry.sol → shared/Registerable.sol}/Registerable.json +71 -77
- 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 +445 -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 +602 -0
- package/artifacts/contracts/test/TestProduct.sol/TestProduct.dbg.json +4 -0
- package/artifacts/contracts/test/TestProduct.sol/TestProduct.json +632 -0
- package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +4 -0
- package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +191 -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 +472 -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/test/Usdc.sol/USDC.json +338 -0
- 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 +4 -0
- package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.json +174 -0
- package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +1 -1
- package/artifacts/contracts/types/ChainId.sol/ChainIdLib.json +2 -2
- 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 +4 -0
- package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.json +92 -0
- 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 +4 -0
- package/artifacts/contracts/types/StateId.sol/StateIdLib.json +92 -0
- package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +4 -0
- package/artifacts/contracts/types/Timestamp.sol/TimestampLib.json +236 -0
- package/artifacts/contracts/types/UFixed.sol/UFixedMathLib.dbg.json +4 -0
- package/artifacts/contracts/types/UFixed.sol/UFixedMathLib.json +479 -0
- 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 +47 -0
- package/contracts/components/IPoolComponent.sol +65 -0
- package/contracts/components/IProductComponent.sol +39 -0
- package/contracts/components/Pool.sol +235 -18
- package/contracts/components/Product.sol +268 -35
- package/contracts/experiment/errors/Require.sol +10 -5
- package/contracts/experiment/errors/Revert.sol +13 -8
- package/contracts/experiment/inheritance/A.sol +8 -11
- package/contracts/experiment/inheritance/B.sol +10 -5
- package/contracts/experiment/inheritance/C.sol +11 -5
- package/contracts/experiment/inheritance/IA.sol +2 -7
- package/contracts/experiment/inheritance/IB.sol +3 -2
- package/contracts/experiment/inheritance/IC.sol +4 -3
- package/contracts/experiment/statemachine/Dummy.sol +27 -0
- package/contracts/experiment/statemachine/ISM.sol +25 -0
- package/contracts/experiment/statemachine/SM.sol +57 -0
- package/contracts/experiment/statemachine/SimpleStateMachine.sol +31 -0
- package/contracts/experiment/types/TypeA.sol +14 -9
- package/contracts/experiment/types/TypeB.sol +14 -9
- package/contracts/instance/IInstance.sol +42 -8
- package/contracts/instance/IInstanceLinked.sol +8 -0
- package/contracts/instance/Instance.sol +62 -41
- 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/base/ILifecycle.sol +30 -0
- 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 +43 -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 +272 -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 +509 -0
- package/contracts/registry/ChainNft.sol +111 -97
- package/contracts/registry/IChainNft.sol +13 -9
- package/contracts/registry/IRegistry.sol +61 -56
- package/contracts/registry/IRegistryLinked.sol +8 -0
- package/contracts/registry/IRegistryService.sol +29 -0
- package/contracts/registry/ITransferInterceptor.sol +6 -0
- package/contracts/registry/Registry.sol +443 -120
- package/contracts/registry/RegistryInstaller.sol +100 -0
- package/contracts/registry/RegistryService.sol +383 -0
- package/contracts/shared/ERC165.sol +21 -0
- package/contracts/shared/IOwnable.sol +6 -0
- package/contracts/shared/IRegisterable.sol +22 -0
- package/contracts/shared/IVersionable.sol +96 -0
- package/contracts/shared/ProxyManager.sol +115 -0
- package/contracts/shared/Registerable.sol +117 -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/test/TestToken.sol +26 -0
- package/contracts/test/TestVersion.sol +44 -0
- package/contracts/test/TestVersionable.sol +17 -0
- package/contracts/test/Usdc.sol +26 -0
- package/contracts/types/AddressSet.sol +58 -0
- package/contracts/types/Blocknumber.sol +118 -0
- package/contracts/types/ChainId.sol +18 -10
- package/contracts/types/Fee.sol +56 -0
- package/contracts/types/Key32.sol +45 -0
- package/contracts/types/NftId.sol +48 -11
- package/contracts/types/NftIdSet.sol +60 -0
- package/contracts/types/ObjectType.sol +131 -0
- 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 +101 -0
- package/contracts/types/Timestamp.sol +123 -0
- package/contracts/types/UFixed.sol +209 -0
- package/contracts/types/Version.sol +104 -0
- package/package.json +19 -5
- package/artifacts/contracts/components/Component.sol/Component.dbg.json +0 -4
- package/artifacts/contracts/components/Component.sol/Component.json +0 -179
- 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/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 -147
- 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 -179
- package/artifacts/contracts/instance/component/IComponent.sol/IComponentModule.dbg.json +0 -4
- package/artifacts/contracts/instance/component/IComponent.sol/IComponentModule.json +0 -245
- package/artifacts/contracts/instance/component/IComponent.sol/IComponentOwnerService.dbg.json +0 -4
- package/artifacts/contracts/instance/component/IComponent.sol/IComponentOwnerService.json +0 -94
- package/artifacts/contracts/instance/component/IComponent.sol/IInstanceLinked.dbg.json +0 -4
- 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 -167
- package/artifacts/contracts/registry/IRegistry.sol/IOwnable.dbg.json +0 -4
- 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/RegistryLinked.dbg.json +0 -4
- package/artifacts/contracts/registry/Registry.sol/RegistryLinked.json +0 -60
- package/contracts/components/Component.sol +0 -62
- package/contracts/components/IPool.sol +0 -9
- package/contracts/components/IProduct.sol +0 -12
- package/contracts/instance/access/Access.sol +0 -218
- package/contracts/instance/access/IAccess.sol +0 -83
- package/contracts/instance/component/ComponentModule.sol +0 -248
- package/contracts/instance/component/IComponent.sol +0 -95
- package/contracts/instance/policy/IPolicy.sol +0 -66
- package/contracts/instance/policy/PolicyModule.sol +0 -107
- package/contracts/instance/pool/IPoolModule.sol +0 -41
- package/contracts/instance/pool/PoolModule.sol +0 -86
- package/contracts/instance/product/IProductService.sol +0 -46
- package/contracts/instance/product/ProductService.sol +0 -108
@@ -0,0 +1,861 @@
|
|
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": "registerableAddress",
|
11
|
+
"type": "address"
|
12
|
+
}
|
13
|
+
],
|
14
|
+
"name": "InvalidAddress",
|
15
|
+
"type": "error"
|
16
|
+
},
|
17
|
+
{
|
18
|
+
"inputs": [
|
19
|
+
{
|
20
|
+
"internalType": "address",
|
21
|
+
"name": "initialOwner",
|
22
|
+
"type": "address"
|
23
|
+
}
|
24
|
+
],
|
25
|
+
"name": "InvalidInitialOwner",
|
26
|
+
"type": "error"
|
27
|
+
},
|
28
|
+
{
|
29
|
+
"inputs": [],
|
30
|
+
"name": "InvalidInitialization",
|
31
|
+
"type": "error"
|
32
|
+
},
|
33
|
+
{
|
34
|
+
"inputs": [
|
35
|
+
{
|
36
|
+
"internalType": "ObjectType",
|
37
|
+
"name": "objectType",
|
38
|
+
"type": "uint8"
|
39
|
+
}
|
40
|
+
],
|
41
|
+
"name": "InvalidType",
|
42
|
+
"type": "error"
|
43
|
+
},
|
44
|
+
{
|
45
|
+
"inputs": [],
|
46
|
+
"name": "MissingAllowance",
|
47
|
+
"type": "error"
|
48
|
+
},
|
49
|
+
{
|
50
|
+
"inputs": [],
|
51
|
+
"name": "NotComponent",
|
52
|
+
"type": "error"
|
53
|
+
},
|
54
|
+
{
|
55
|
+
"inputs": [],
|
56
|
+
"name": "NotInitializing",
|
57
|
+
"type": "error"
|
58
|
+
},
|
59
|
+
{
|
60
|
+
"inputs": [],
|
61
|
+
"name": "NotInstance",
|
62
|
+
"type": "error"
|
63
|
+
},
|
64
|
+
{
|
65
|
+
"inputs": [],
|
66
|
+
"name": "NotRegistryOwner",
|
67
|
+
"type": "error"
|
68
|
+
},
|
69
|
+
{
|
70
|
+
"inputs": [],
|
71
|
+
"name": "NotService",
|
72
|
+
"type": "error"
|
73
|
+
},
|
74
|
+
{
|
75
|
+
"inputs": [],
|
76
|
+
"name": "NotToken",
|
77
|
+
"type": "error"
|
78
|
+
},
|
79
|
+
{
|
80
|
+
"inputs": [],
|
81
|
+
"name": "SelfRegistration",
|
82
|
+
"type": "error"
|
83
|
+
},
|
84
|
+
{
|
85
|
+
"anonymous": false,
|
86
|
+
"inputs": [
|
87
|
+
{
|
88
|
+
"indexed": false,
|
89
|
+
"internalType": "uint64",
|
90
|
+
"name": "version",
|
91
|
+
"type": "uint64"
|
92
|
+
}
|
93
|
+
],
|
94
|
+
"name": "Initialized",
|
95
|
+
"type": "event"
|
96
|
+
},
|
97
|
+
{
|
98
|
+
"anonymous": false,
|
99
|
+
"inputs": [
|
100
|
+
{
|
101
|
+
"indexed": false,
|
102
|
+
"internalType": "Version",
|
103
|
+
"name": "version",
|
104
|
+
"type": "uint24"
|
105
|
+
},
|
106
|
+
{
|
107
|
+
"indexed": false,
|
108
|
+
"internalType": "address",
|
109
|
+
"name": "implementation",
|
110
|
+
"type": "address"
|
111
|
+
},
|
112
|
+
{
|
113
|
+
"indexed": false,
|
114
|
+
"internalType": "address",
|
115
|
+
"name": "activatedBy",
|
116
|
+
"type": "address"
|
117
|
+
}
|
118
|
+
],
|
119
|
+
"name": "LogVersionableInitialized",
|
120
|
+
"type": "event"
|
121
|
+
},
|
122
|
+
{
|
123
|
+
"inputs": [],
|
124
|
+
"name": "NAME",
|
125
|
+
"outputs": [
|
126
|
+
{
|
127
|
+
"internalType": "string",
|
128
|
+
"name": "",
|
129
|
+
"type": "string"
|
130
|
+
}
|
131
|
+
],
|
132
|
+
"stateMutability": "view",
|
133
|
+
"type": "function"
|
134
|
+
},
|
135
|
+
{
|
136
|
+
"inputs": [],
|
137
|
+
"name": "NFT_LOCK_ADDRESS",
|
138
|
+
"outputs": [
|
139
|
+
{
|
140
|
+
"internalType": "address",
|
141
|
+
"name": "",
|
142
|
+
"type": "address"
|
143
|
+
}
|
144
|
+
],
|
145
|
+
"stateMutability": "view",
|
146
|
+
"type": "function"
|
147
|
+
},
|
148
|
+
{
|
149
|
+
"inputs": [],
|
150
|
+
"name": "REGISTERABLE_LOCATION_V1",
|
151
|
+
"outputs": [
|
152
|
+
{
|
153
|
+
"internalType": "bytes32",
|
154
|
+
"name": "",
|
155
|
+
"type": "bytes32"
|
156
|
+
}
|
157
|
+
],
|
158
|
+
"stateMutability": "view",
|
159
|
+
"type": "function"
|
160
|
+
},
|
161
|
+
{
|
162
|
+
"inputs": [],
|
163
|
+
"name": "REGISTRY_CREATIONCODE_HASH",
|
164
|
+
"outputs": [
|
165
|
+
{
|
166
|
+
"internalType": "bytes32",
|
167
|
+
"name": "",
|
168
|
+
"type": "bytes32"
|
169
|
+
}
|
170
|
+
],
|
171
|
+
"stateMutability": "view",
|
172
|
+
"type": "function"
|
173
|
+
},
|
174
|
+
{
|
175
|
+
"inputs": [],
|
176
|
+
"name": "getInitialInfo",
|
177
|
+
"outputs": [
|
178
|
+
{
|
179
|
+
"components": [
|
180
|
+
{
|
181
|
+
"internalType": "NftId",
|
182
|
+
"name": "nftId",
|
183
|
+
"type": "uint96"
|
184
|
+
},
|
185
|
+
{
|
186
|
+
"internalType": "NftId",
|
187
|
+
"name": "parentNftId",
|
188
|
+
"type": "uint96"
|
189
|
+
},
|
190
|
+
{
|
191
|
+
"internalType": "ObjectType",
|
192
|
+
"name": "objectType",
|
193
|
+
"type": "uint8"
|
194
|
+
},
|
195
|
+
{
|
196
|
+
"internalType": "bool",
|
197
|
+
"name": "isInterceptor",
|
198
|
+
"type": "bool"
|
199
|
+
},
|
200
|
+
{
|
201
|
+
"internalType": "address",
|
202
|
+
"name": "objectAddress",
|
203
|
+
"type": "address"
|
204
|
+
},
|
205
|
+
{
|
206
|
+
"internalType": "address",
|
207
|
+
"name": "initialOwner",
|
208
|
+
"type": "address"
|
209
|
+
},
|
210
|
+
{
|
211
|
+
"internalType": "bytes",
|
212
|
+
"name": "data",
|
213
|
+
"type": "bytes"
|
214
|
+
}
|
215
|
+
],
|
216
|
+
"internalType": "struct IRegistry.ObjectInfo",
|
217
|
+
"name": "",
|
218
|
+
"type": "tuple"
|
219
|
+
},
|
220
|
+
{
|
221
|
+
"internalType": "bytes",
|
222
|
+
"name": "data",
|
223
|
+
"type": "bytes"
|
224
|
+
}
|
225
|
+
],
|
226
|
+
"stateMutability": "view",
|
227
|
+
"type": "function"
|
228
|
+
},
|
229
|
+
{
|
230
|
+
"inputs": [],
|
231
|
+
"name": "getInitializedVersion",
|
232
|
+
"outputs": [
|
233
|
+
{
|
234
|
+
"internalType": "uint64",
|
235
|
+
"name": "",
|
236
|
+
"type": "uint64"
|
237
|
+
}
|
238
|
+
],
|
239
|
+
"stateMutability": "view",
|
240
|
+
"type": "function"
|
241
|
+
},
|
242
|
+
{
|
243
|
+
"inputs": [],
|
244
|
+
"name": "getMajorVersion",
|
245
|
+
"outputs": [
|
246
|
+
{
|
247
|
+
"internalType": "VersionPart",
|
248
|
+
"name": "majorVersion",
|
249
|
+
"type": "uint8"
|
250
|
+
}
|
251
|
+
],
|
252
|
+
"stateMutability": "view",
|
253
|
+
"type": "function"
|
254
|
+
},
|
255
|
+
{
|
256
|
+
"inputs": [],
|
257
|
+
"name": "getName",
|
258
|
+
"outputs": [
|
259
|
+
{
|
260
|
+
"internalType": "string",
|
261
|
+
"name": "",
|
262
|
+
"type": "string"
|
263
|
+
}
|
264
|
+
],
|
265
|
+
"stateMutability": "pure",
|
266
|
+
"type": "function"
|
267
|
+
},
|
268
|
+
{
|
269
|
+
"inputs": [],
|
270
|
+
"name": "getNftId",
|
271
|
+
"outputs": [
|
272
|
+
{
|
273
|
+
"internalType": "NftId",
|
274
|
+
"name": "nftId",
|
275
|
+
"type": "uint96"
|
276
|
+
}
|
277
|
+
],
|
278
|
+
"stateMutability": "view",
|
279
|
+
"type": "function"
|
280
|
+
},
|
281
|
+
{
|
282
|
+
"inputs": [],
|
283
|
+
"name": "getOwner",
|
284
|
+
"outputs": [
|
285
|
+
{
|
286
|
+
"internalType": "address",
|
287
|
+
"name": "",
|
288
|
+
"type": "address"
|
289
|
+
}
|
290
|
+
],
|
291
|
+
"stateMutability": "view",
|
292
|
+
"type": "function"
|
293
|
+
},
|
294
|
+
{
|
295
|
+
"inputs": [],
|
296
|
+
"name": "getRegistry",
|
297
|
+
"outputs": [
|
298
|
+
{
|
299
|
+
"internalType": "contract IRegistry",
|
300
|
+
"name": "registry",
|
301
|
+
"type": "address"
|
302
|
+
}
|
303
|
+
],
|
304
|
+
"stateMutability": "view",
|
305
|
+
"type": "function"
|
306
|
+
},
|
307
|
+
{
|
308
|
+
"inputs": [],
|
309
|
+
"name": "getVersion",
|
310
|
+
"outputs": [
|
311
|
+
{
|
312
|
+
"internalType": "Version",
|
313
|
+
"name": "",
|
314
|
+
"type": "uint24"
|
315
|
+
}
|
316
|
+
],
|
317
|
+
"stateMutability": "pure",
|
318
|
+
"type": "function"
|
319
|
+
},
|
320
|
+
{
|
321
|
+
"inputs": [
|
322
|
+
{
|
323
|
+
"internalType": "uint256",
|
324
|
+
"name": "idx",
|
325
|
+
"type": "uint256"
|
326
|
+
}
|
327
|
+
],
|
328
|
+
"name": "getVersion",
|
329
|
+
"outputs": [
|
330
|
+
{
|
331
|
+
"internalType": "Version",
|
332
|
+
"name": "",
|
333
|
+
"type": "uint24"
|
334
|
+
}
|
335
|
+
],
|
336
|
+
"stateMutability": "view",
|
337
|
+
"type": "function"
|
338
|
+
},
|
339
|
+
{
|
340
|
+
"inputs": [],
|
341
|
+
"name": "getVersionCount",
|
342
|
+
"outputs": [
|
343
|
+
{
|
344
|
+
"internalType": "uint256",
|
345
|
+
"name": "",
|
346
|
+
"type": "uint256"
|
347
|
+
}
|
348
|
+
],
|
349
|
+
"stateMutability": "view",
|
350
|
+
"type": "function"
|
351
|
+
},
|
352
|
+
{
|
353
|
+
"inputs": [
|
354
|
+
{
|
355
|
+
"internalType": "Version",
|
356
|
+
"name": "_version",
|
357
|
+
"type": "uint24"
|
358
|
+
}
|
359
|
+
],
|
360
|
+
"name": "getVersionInfo",
|
361
|
+
"outputs": [
|
362
|
+
{
|
363
|
+
"components": [
|
364
|
+
{
|
365
|
+
"internalType": "Version",
|
366
|
+
"name": "version",
|
367
|
+
"type": "uint24"
|
368
|
+
},
|
369
|
+
{
|
370
|
+
"internalType": "address",
|
371
|
+
"name": "implementation",
|
372
|
+
"type": "address"
|
373
|
+
},
|
374
|
+
{
|
375
|
+
"internalType": "address",
|
376
|
+
"name": "activatedBy",
|
377
|
+
"type": "address"
|
378
|
+
},
|
379
|
+
{
|
380
|
+
"internalType": "Timestamp",
|
381
|
+
"name": "activatedAt",
|
382
|
+
"type": "uint40"
|
383
|
+
},
|
384
|
+
{
|
385
|
+
"internalType": "Blocknumber",
|
386
|
+
"name": "activatedIn",
|
387
|
+
"type": "uint32"
|
388
|
+
}
|
389
|
+
],
|
390
|
+
"internalType": "struct IVersionable.VersionInfo",
|
391
|
+
"name": "",
|
392
|
+
"type": "tuple"
|
393
|
+
}
|
394
|
+
],
|
395
|
+
"stateMutability": "view",
|
396
|
+
"type": "function"
|
397
|
+
},
|
398
|
+
{
|
399
|
+
"inputs": [
|
400
|
+
{
|
401
|
+
"internalType": "address",
|
402
|
+
"name": "implementation",
|
403
|
+
"type": "address"
|
404
|
+
},
|
405
|
+
{
|
406
|
+
"internalType": "address",
|
407
|
+
"name": "activatedBy",
|
408
|
+
"type": "address"
|
409
|
+
},
|
410
|
+
{
|
411
|
+
"internalType": "bytes",
|
412
|
+
"name": "data",
|
413
|
+
"type": "bytes"
|
414
|
+
}
|
415
|
+
],
|
416
|
+
"name": "initialize",
|
417
|
+
"outputs": [],
|
418
|
+
"stateMutability": "nonpayable",
|
419
|
+
"type": "function"
|
420
|
+
},
|
421
|
+
{
|
422
|
+
"inputs": [
|
423
|
+
{
|
424
|
+
"internalType": "Version",
|
425
|
+
"name": "_version",
|
426
|
+
"type": "uint24"
|
427
|
+
}
|
428
|
+
],
|
429
|
+
"name": "isInitialized",
|
430
|
+
"outputs": [
|
431
|
+
{
|
432
|
+
"internalType": "bool",
|
433
|
+
"name": "",
|
434
|
+
"type": "bool"
|
435
|
+
}
|
436
|
+
],
|
437
|
+
"stateMutability": "view",
|
438
|
+
"type": "function"
|
439
|
+
},
|
440
|
+
{
|
441
|
+
"inputs": [
|
442
|
+
{
|
443
|
+
"components": [
|
444
|
+
{
|
445
|
+
"internalType": "NftId",
|
446
|
+
"name": "nftId",
|
447
|
+
"type": "uint96"
|
448
|
+
},
|
449
|
+
{
|
450
|
+
"internalType": "NftId",
|
451
|
+
"name": "parentNftId",
|
452
|
+
"type": "uint96"
|
453
|
+
},
|
454
|
+
{
|
455
|
+
"internalType": "ObjectType",
|
456
|
+
"name": "objectType",
|
457
|
+
"type": "uint8"
|
458
|
+
},
|
459
|
+
{
|
460
|
+
"internalType": "bool",
|
461
|
+
"name": "isInterceptor",
|
462
|
+
"type": "bool"
|
463
|
+
},
|
464
|
+
{
|
465
|
+
"internalType": "address",
|
466
|
+
"name": "objectAddress",
|
467
|
+
"type": "address"
|
468
|
+
},
|
469
|
+
{
|
470
|
+
"internalType": "address",
|
471
|
+
"name": "initialOwner",
|
472
|
+
"type": "address"
|
473
|
+
},
|
474
|
+
{
|
475
|
+
"internalType": "bytes",
|
476
|
+
"name": "data",
|
477
|
+
"type": "bytes"
|
478
|
+
}
|
479
|
+
],
|
480
|
+
"internalType": "struct IRegistry.ObjectInfo",
|
481
|
+
"name": "info",
|
482
|
+
"type": "tuple"
|
483
|
+
}
|
484
|
+
],
|
485
|
+
"name": "registerBundle",
|
486
|
+
"outputs": [
|
487
|
+
{
|
488
|
+
"internalType": "NftId",
|
489
|
+
"name": "nftId",
|
490
|
+
"type": "uint96"
|
491
|
+
}
|
492
|
+
],
|
493
|
+
"stateMutability": "nonpayable",
|
494
|
+
"type": "function"
|
495
|
+
},
|
496
|
+
{
|
497
|
+
"inputs": [
|
498
|
+
{
|
499
|
+
"internalType": "contract IBaseComponent",
|
500
|
+
"name": "component",
|
501
|
+
"type": "address"
|
502
|
+
},
|
503
|
+
{
|
504
|
+
"internalType": "ObjectType",
|
505
|
+
"name": "componentType",
|
506
|
+
"type": "uint8"
|
507
|
+
},
|
508
|
+
{
|
509
|
+
"internalType": "address",
|
510
|
+
"name": "owner",
|
511
|
+
"type": "address"
|
512
|
+
}
|
513
|
+
],
|
514
|
+
"name": "registerComponent",
|
515
|
+
"outputs": [
|
516
|
+
{
|
517
|
+
"components": [
|
518
|
+
{
|
519
|
+
"internalType": "NftId",
|
520
|
+
"name": "nftId",
|
521
|
+
"type": "uint96"
|
522
|
+
},
|
523
|
+
{
|
524
|
+
"internalType": "NftId",
|
525
|
+
"name": "parentNftId",
|
526
|
+
"type": "uint96"
|
527
|
+
},
|
528
|
+
{
|
529
|
+
"internalType": "ObjectType",
|
530
|
+
"name": "objectType",
|
531
|
+
"type": "uint8"
|
532
|
+
},
|
533
|
+
{
|
534
|
+
"internalType": "bool",
|
535
|
+
"name": "isInterceptor",
|
536
|
+
"type": "bool"
|
537
|
+
},
|
538
|
+
{
|
539
|
+
"internalType": "address",
|
540
|
+
"name": "objectAddress",
|
541
|
+
"type": "address"
|
542
|
+
},
|
543
|
+
{
|
544
|
+
"internalType": "address",
|
545
|
+
"name": "initialOwner",
|
546
|
+
"type": "address"
|
547
|
+
},
|
548
|
+
{
|
549
|
+
"internalType": "bytes",
|
550
|
+
"name": "data",
|
551
|
+
"type": "bytes"
|
552
|
+
}
|
553
|
+
],
|
554
|
+
"internalType": "struct IRegistry.ObjectInfo",
|
555
|
+
"name": "info",
|
556
|
+
"type": "tuple"
|
557
|
+
},
|
558
|
+
{
|
559
|
+
"internalType": "bytes",
|
560
|
+
"name": "data",
|
561
|
+
"type": "bytes"
|
562
|
+
}
|
563
|
+
],
|
564
|
+
"stateMutability": "nonpayable",
|
565
|
+
"type": "function"
|
566
|
+
},
|
567
|
+
{
|
568
|
+
"inputs": [
|
569
|
+
{
|
570
|
+
"internalType": "contract IRegisterable",
|
571
|
+
"name": "instance",
|
572
|
+
"type": "address"
|
573
|
+
}
|
574
|
+
],
|
575
|
+
"name": "registerInstance",
|
576
|
+
"outputs": [
|
577
|
+
{
|
578
|
+
"components": [
|
579
|
+
{
|
580
|
+
"internalType": "NftId",
|
581
|
+
"name": "nftId",
|
582
|
+
"type": "uint96"
|
583
|
+
},
|
584
|
+
{
|
585
|
+
"internalType": "NftId",
|
586
|
+
"name": "parentNftId",
|
587
|
+
"type": "uint96"
|
588
|
+
},
|
589
|
+
{
|
590
|
+
"internalType": "ObjectType",
|
591
|
+
"name": "objectType",
|
592
|
+
"type": "uint8"
|
593
|
+
},
|
594
|
+
{
|
595
|
+
"internalType": "bool",
|
596
|
+
"name": "isInterceptor",
|
597
|
+
"type": "bool"
|
598
|
+
},
|
599
|
+
{
|
600
|
+
"internalType": "address",
|
601
|
+
"name": "objectAddress",
|
602
|
+
"type": "address"
|
603
|
+
},
|
604
|
+
{
|
605
|
+
"internalType": "address",
|
606
|
+
"name": "initialOwner",
|
607
|
+
"type": "address"
|
608
|
+
},
|
609
|
+
{
|
610
|
+
"internalType": "bytes",
|
611
|
+
"name": "data",
|
612
|
+
"type": "bytes"
|
613
|
+
}
|
614
|
+
],
|
615
|
+
"internalType": "struct IRegistry.ObjectInfo",
|
616
|
+
"name": "info",
|
617
|
+
"type": "tuple"
|
618
|
+
},
|
619
|
+
{
|
620
|
+
"internalType": "bytes",
|
621
|
+
"name": "data",
|
622
|
+
"type": "bytes"
|
623
|
+
}
|
624
|
+
],
|
625
|
+
"stateMutability": "nonpayable",
|
626
|
+
"type": "function"
|
627
|
+
},
|
628
|
+
{
|
629
|
+
"inputs": [
|
630
|
+
{
|
631
|
+
"components": [
|
632
|
+
{
|
633
|
+
"internalType": "NftId",
|
634
|
+
"name": "nftId",
|
635
|
+
"type": "uint96"
|
636
|
+
},
|
637
|
+
{
|
638
|
+
"internalType": "NftId",
|
639
|
+
"name": "parentNftId",
|
640
|
+
"type": "uint96"
|
641
|
+
},
|
642
|
+
{
|
643
|
+
"internalType": "ObjectType",
|
644
|
+
"name": "objectType",
|
645
|
+
"type": "uint8"
|
646
|
+
},
|
647
|
+
{
|
648
|
+
"internalType": "bool",
|
649
|
+
"name": "isInterceptor",
|
650
|
+
"type": "bool"
|
651
|
+
},
|
652
|
+
{
|
653
|
+
"internalType": "address",
|
654
|
+
"name": "objectAddress",
|
655
|
+
"type": "address"
|
656
|
+
},
|
657
|
+
{
|
658
|
+
"internalType": "address",
|
659
|
+
"name": "initialOwner",
|
660
|
+
"type": "address"
|
661
|
+
},
|
662
|
+
{
|
663
|
+
"internalType": "bytes",
|
664
|
+
"name": "data",
|
665
|
+
"type": "bytes"
|
666
|
+
}
|
667
|
+
],
|
668
|
+
"internalType": "struct IRegistry.ObjectInfo",
|
669
|
+
"name": "info",
|
670
|
+
"type": "tuple"
|
671
|
+
}
|
672
|
+
],
|
673
|
+
"name": "registerPolicy",
|
674
|
+
"outputs": [
|
675
|
+
{
|
676
|
+
"internalType": "NftId",
|
677
|
+
"name": "nftId",
|
678
|
+
"type": "uint96"
|
679
|
+
}
|
680
|
+
],
|
681
|
+
"stateMutability": "nonpayable",
|
682
|
+
"type": "function"
|
683
|
+
},
|
684
|
+
{
|
685
|
+
"inputs": [
|
686
|
+
{
|
687
|
+
"internalType": "contract IService",
|
688
|
+
"name": "service",
|
689
|
+
"type": "address"
|
690
|
+
}
|
691
|
+
],
|
692
|
+
"name": "registerService",
|
693
|
+
"outputs": [
|
694
|
+
{
|
695
|
+
"components": [
|
696
|
+
{
|
697
|
+
"internalType": "NftId",
|
698
|
+
"name": "nftId",
|
699
|
+
"type": "uint96"
|
700
|
+
},
|
701
|
+
{
|
702
|
+
"internalType": "NftId",
|
703
|
+
"name": "parentNftId",
|
704
|
+
"type": "uint96"
|
705
|
+
},
|
706
|
+
{
|
707
|
+
"internalType": "ObjectType",
|
708
|
+
"name": "objectType",
|
709
|
+
"type": "uint8"
|
710
|
+
},
|
711
|
+
{
|
712
|
+
"internalType": "bool",
|
713
|
+
"name": "isInterceptor",
|
714
|
+
"type": "bool"
|
715
|
+
},
|
716
|
+
{
|
717
|
+
"internalType": "address",
|
718
|
+
"name": "objectAddress",
|
719
|
+
"type": "address"
|
720
|
+
},
|
721
|
+
{
|
722
|
+
"internalType": "address",
|
723
|
+
"name": "initialOwner",
|
724
|
+
"type": "address"
|
725
|
+
},
|
726
|
+
{
|
727
|
+
"internalType": "bytes",
|
728
|
+
"name": "data",
|
729
|
+
"type": "bytes"
|
730
|
+
}
|
731
|
+
],
|
732
|
+
"internalType": "struct IRegistry.ObjectInfo",
|
733
|
+
"name": "info",
|
734
|
+
"type": "tuple"
|
735
|
+
},
|
736
|
+
{
|
737
|
+
"internalType": "bytes",
|
738
|
+
"name": "data",
|
739
|
+
"type": "bytes"
|
740
|
+
}
|
741
|
+
],
|
742
|
+
"stateMutability": "nonpayable",
|
743
|
+
"type": "function"
|
744
|
+
},
|
745
|
+
{
|
746
|
+
"inputs": [
|
747
|
+
{
|
748
|
+
"internalType": "address",
|
749
|
+
"name": "tokenAddress",
|
750
|
+
"type": "address"
|
751
|
+
}
|
752
|
+
],
|
753
|
+
"name": "registerToken",
|
754
|
+
"outputs": [
|
755
|
+
{
|
756
|
+
"internalType": "NftId",
|
757
|
+
"name": "nftId",
|
758
|
+
"type": "uint96"
|
759
|
+
}
|
760
|
+
],
|
761
|
+
"stateMutability": "nonpayable",
|
762
|
+
"type": "function"
|
763
|
+
},
|
764
|
+
{
|
765
|
+
"inputs": [
|
766
|
+
{
|
767
|
+
"internalType": "bytes4",
|
768
|
+
"name": "interfaceId",
|
769
|
+
"type": "bytes4"
|
770
|
+
}
|
771
|
+
],
|
772
|
+
"name": "supportsInterface",
|
773
|
+
"outputs": [
|
774
|
+
{
|
775
|
+
"internalType": "bool",
|
776
|
+
"name": "",
|
777
|
+
"type": "bool"
|
778
|
+
}
|
779
|
+
],
|
780
|
+
"stateMutability": "view",
|
781
|
+
"type": "function"
|
782
|
+
},
|
783
|
+
{
|
784
|
+
"inputs": [
|
785
|
+
{
|
786
|
+
"internalType": "address",
|
787
|
+
"name": "implementation",
|
788
|
+
"type": "address"
|
789
|
+
},
|
790
|
+
{
|
791
|
+
"internalType": "address",
|
792
|
+
"name": "activatedBy",
|
793
|
+
"type": "address"
|
794
|
+
},
|
795
|
+
{
|
796
|
+
"internalType": "bytes",
|
797
|
+
"name": "data",
|
798
|
+
"type": "bytes"
|
799
|
+
}
|
800
|
+
],
|
801
|
+
"name": "upgrade",
|
802
|
+
"outputs": [],
|
803
|
+
"stateMutability": "nonpayable",
|
804
|
+
"type": "function"
|
805
|
+
}
|
806
|
+
],
|
807
|
+
"bytecode": "0x60806040523480156200001157600080fd5b506301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055620000586200005e565b62000112565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000900460ff1615620000af5760405163f92ee8a960e01b815260040160405180910390fd5b80546001600160401b03908116146200010f5780546001600160401b0319166001600160401b0390811782556040519081527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50565b6129e780620001226000396000f3fe608060405234801561001057600080fd5b50600436106101735760003560e01c8063893d20e8116100de578063c2bf08c811610097578063d943342d11610071578063d943342d146104cd578063e285c9c4146104e0578063e6ab65d9146104e8578063fdd9ec7d1461050f57600080fd5b8063c2bf08c81461048d578063cde749f4146104a0578063cf7a1d77146104ba57600080fd5b8063893d20e8146103e8578063946dfcfe146103f0578063a3f4df7e14610417578063a745e3df14610445578063b3c650151461045a578063b88da7591461047a57600080fd5b80634d459c90116101305780634d459c901461026e5780634f421333146103875780635ab1bd531461039a5780635c992fed146103ba578063644c45e0146103cd578063834af153146103d557600080fd5b806301ffc9a71461017857806309824a80146101ba5780630d8e6e2c146101e55780630fec111c1461020157806317d7de7c146102175780631eff4b221461024b575b600080fd5b6101a56101863660046120c0565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6101cd6101c8366004612119565b610522565b6040516001600160601b0390911681526020016101b1565b6101ed6107b4565b60405162ffffff90911681526020016101b1565b61020961083e565b6040516101b19291906121f7565b60408051808201909152600f81526e52656769737472795365727669636560881b60208201525b6040516101b19190612225565b61026060008051602061295283398151915281565b6040519081526020016101b1565b61032a61027c366004612249565b6040805160a08101825260008082526020820181905291810182905260608101829052608081019190915260008051602061299283398151915262ffffff92831660009081526020918252604090819020815160a0810183528154958616815263010000009095046001600160a01b03908116938601939093526001015491821690840152600160a01b810464ffffffffff166060840152600160c81b900463ffffffff1660808301525090565b60408051825162ffffff1681526020808401516001600160a01b039081169183019190915283830151169181019190915260608083015164ffffffffff169082015260809182015163ffffffff169181019190915260a0016101b1565b6101a5610395366004612249565b610972565b6103a2610a25565b6040516001600160a01b0390911681526020016101b1565b6101cd6103c83660046123a4565b610a41565b6101cd610be2565b6102096103e3366004612119565b610c5d565b6103a2610d9f565b7f4f61291a8ac3d020d0a7d919a76b8592aa88385744dee3f8b4f3873b969ed90154610260565b61023e6040518060400160405280600f81526020016e52656769737472795365727669636560881b81525081565b610458610453366004612476565b610e1a565b005b610462610f74565b6040516001600160401b0390911681526020016101b1565b6101ed6104883660046124d7565b610f95565b6101cd61049b3660046123a4565b610fe6565b6104a8611110565b60405160ff90911681526020016101b1565b6104586104c8366004612476565b611193565b6102096104db3660046124f0565b61129c565b6103a2600181565b6102607f7e569c7200a12c63728b648d78f84be7e32ef6804f9ee723e15363ce34d0125181565b61020961051d366004612119565b6114e9565b6040516301ffc9a760e01b8152600090829082906001600160a01b038316906301ffc9a79061055c90633111e9af60e01b9060040161253b565b602060405180830381865afa925050508015610595575060408051601f3d908101601f191682019092526105929181019061255b565b60015b6105a1575060006105a4565b90505b80156105c35760405163087cada760e21b815260040160405180910390fd5b60006105cd610a25565b604051630a57ebcf60e11b81526001600160a01b038216600482018190529192506314afd79e90602401602060405180830381865afa158015610614573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106389190612583565b6001600160a01b0316336001600160a01b0316146106695760405163778d468d60e11b815260040160405180910390fd5b60006040518060e0016040528061067e600090565b6001600160601b03168152604051636939560f60e11b81526001600160a01b038516600482018190526020909201919063d272ac1e90602401602060405180830381865afa1580156106d4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106f891906125ab565b6001600160601b03168152602001601e60ff168152600060208083018290526001600160a01b03808b166040808601919091526001606086015280519283018152928252608090930152516352efcf2760e11b815291925083169063a5df9e4e906107679084906004016125c8565b6020604051808303816000875af1158015610786573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107aa91906125ab565b9695505050505050565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af4158015610815573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061083991906125db565b905090565b610846612082565b6060600060008051602061295283398151915290506040518060e0016040528061086e600090565b6001600160601b0390811682528354600160a01b908190049091166020830152600184015490810460ff9081166040840152600160a81b820416151560608301523060808301526001600160a01b031660a082015260028301805460c0909201916108d8906125f8565b80601f0160208091040260200160405190810160405280929190818152602001828054610904906125f8565b80156109515780601f1061092657610100808354040283529160200191610951565b820191906000526020600020905b81548152906001019060200180831161093457829003601f168201915b50505050508152506040518060200160405280600081525092509250509091565b60008060008051602061299283398151915262ffffff84166000908152602091909152604090819020600101549051631bbffab160e21b8152600160c81b90910463ffffffff16600482015273__$5f476116ae21c5294e0c0761c07efa7e1c$__90636effeac490602401602060405180830381865af41580156109fa573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a1e9190612632565b1192915050565b600080516020612952833981519152546001600160a01b031690565b600080610a4c610a25565b604051636939560f60e11b81523360048201529091506000906001600160a01b0383169063d272ac1e90602401602060405180830381865afa158015610a96573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610aba91906125ab565b90506001600160a01b038216635f1561518260d26040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff166024820152604401602060405180830381865afa158015610b1a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b3e919061255b565b1515600003610b6057604051632bb46a5f60e01b815260040160405180910390fd5b610b6b8460d2611673565b6040516352efcf2760e11b81526001600160a01b0383169063a5df9e4e90610b979087906004016125c8565b6020604051808303816000875af1158015610bb6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bda91906125ab565b949350505050565b600060008051602061295283398151915254604051636939560f60e11b81523060048201526001600160a01b039091169063d272ac1e90602401602060405180830381865afa158015610c39573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061083991906125ab565b610c65612082565b6040516301ffc9a760e01b81526060906001600160a01b038416906301ffc9a790610c9b90630de7806f60e41b9060040161253b565b602060405180830381865afa158015610cb8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cdc919061255b565b1515600003610cfe57604051636795c76360e01b815260040160405180910390fd5b610d0b8360325b336117aa565b90925090506000610d1a610a25565b6040516352efcf2760e11b81529091506001600160a01b0382169063a5df9e4e90610d499086906004016125c8565b6020604051808303816000875af1158015610d68573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d8c91906125ab565b6001600160601b03168352509092909150565b600060008051602061295283398151915254604051630a57ebcf60e11b81523060048201526001600160a01b03909116906314afd79e90602401602060405180830381865afa158015610df6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108399190612583565b73__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__63a123b37c610e3c6107b4565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af4158015610e7c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ea0919061264b565b6000805160206129728339815191528054600160401b900460ff1680610ed3575080546001600160401b03808416911610155b15610ef15760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b178155610f1c8585611982565b610f2583611bbd565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15050505050565b6000610839600080516020612972833981519152546001600160401b031690565b60006000805160206129928339815191526001018281548110610fba57610fba612674565b90600052602060002090600a91828204019190066003029054906101000a900462ffffff169050919050565b600080610ff1610a25565b604051636939560f60e11b81523360048201529091506000906001600160a01b0383169063d272ac1e90602401602060405180830381865afa15801561103b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061105f91906125ab565b90506001600160a01b038216635f1561518260dc6040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff166024820152604401602060405180830381865afa1580156110bf573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110e3919061255b565b151560000361110557604051632bb46a5f60e01b815260040160405180910390fd5b610b6b8460dc611673565b600061111a6107b4565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af415801561116f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108399190612695565b6000805160206129728339815191528054600160401b810460ff1615906001600160401b03166000811580156111c65750825b90506000826001600160401b031660011480156111e25750303b155b9050811580156111f0575080155b1561120e5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561123857845460ff60401b1916600160401b1785555b6112428888611982565b61124c8787611bc5565b831561129257845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b5050505050505050565b6112a4612082565b6040516301ffc9a760e01b81526060906001600160a01b038616906301ffc9a7906112da90631b1599eb60e21b9060040161253b565b602060405180830381865afa1580156112f7573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061131b919061255b565b151560000361133d57604051634138dc2760e11b815260040160405180910390fd5b6113488585856117aa565b90925090506000611357610a25565b604051636939560f60e11b81523360048201529091506000906001600160a01b0383169063d272ac1e90602401602060405180830381865afa1580156113a1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113c591906125ab565b604051635f15615160e01b81526001600160601b038216600482015260ff881660248201529091506001600160a01b03831690635f15615190604401602060405180830381865afa15801561141e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611442919061255b565b151560000361146457604051632bb46a5f60e01b815260040160405180910390fd5b6040516352efcf2760e11b81526001600160a01b0383169063a5df9e4e906114909087906004016125c8565b6020604051808303816000875af11580156114af573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114d391906125ab565b6001600160601b0316845250505b935093915050565b6114f1612082565b6040516301ffc9a760e01b81526060906001600160a01b038416906301ffc9a79061152790631b4612f160e31b9060040161253b565b602060405180830381865afa158015611544573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611568919061255b565b151560000361158a57604051635458064d60e11b815260040160405180910390fd5b611595836028610d05565b909250905060006115a4610a25565b604051630a57ebcf60e11b81526001600160a01b038216600482018190529192506314afd79e90602401602060405180830381865afa1580156115eb573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061160f9190612583565b6001600160a01b0316336001600160a01b0316146116405760405163778d468d60e11b815260040160405180910390fd5b600160a08401526040516352efcf2760e11b81526001600160a01b0382169063a5df9e4e90610d499086906004016125c8565b60808201516001600160a01b0316156116b5576080820151604051634726455360e11b81526001600160a01b0390911660048201526024015b60405180910390fd5b6116bd610a25565b60a083015160405163c3c5a54760e01b81526001600160a01b03918216600482015291169063c3c5a54790602401602060405180830381865afa158015611708573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061172c919061255b565b80611742575060a08201516001600160a01b0316155b156117715760a082015160405163711c133360e01b81526001600160a01b0390911660048201526024016116ac565b604082015160ff8281169116146117a657604080830151905163f503452760e01b815260ff90911660048201526024016116ac565b5050565b6117b2612082565b6060846001600160a01b0316630fec111c6040518163ffffffff1660e01b8152600401600060405180830381865afa1580156117f2573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261181a91908101906126f7565b608082015191935091506001600160a01b03868116911614611860576080820151604051634726455360e11b81526001600160a01b0390911660048201526024016116ac565b611868610a25565b60405163c3c5a54760e01b81526001600160a01b038581166004830152919091169063c3c5a54790602401602060405180830381865afa1580156118b0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118d4919061255b565b806118f55750826001600160a01b03168260a001516001600160a01b031614155b156119245760a082015160405163711c133360e01b81526001600160a01b0390911660048201526024016116ac565b6001600160a01b038516330361194d576040516317faf4db60e11b815260040160405180910390fd5b604082015160ff8581169116146114e157604080830151905163f503452760e01b815260ff90911660048201526024016116ac565b61198a611dbb565b60008051602061299283398151915260006119ba600080516020612972833981519152546001600160401b031690565b905060006119c66107b4565b9050816001600160401b03166001036119f35760028301805462ffffff191662ffffff8316179055611a41565b600283015462ffffff90811690821611611a415760405162461bcd60e51b815260206004820152600f60248201526e24a72b20a624a2102b22a929a4a7a760891b60448201526064016116ac565b6001808401805491820181556000908152602090819020600a808404909101805462ffffff808716600394909606939093026101000a858102930219169190911790556040805160a0810182529283526001600160a01b03808916928401929092529086169082015260608101611ab54290565b64ffffffffff1681526020014363ffffffff90811690915262ffffff8084166000908152602087815260409182902085518154928701516001600160a01b039081166301000000026001600160b81b0319909416919095161791909117815584820151600190910180546060870151608090970151909516600160c81b0263ffffffff60c81b1964ffffffffff909716600160a01b026001600160c81b031990961692909416919091179390931793909316179055517fad0a0fc10465a8dd9da3ad5f43e1a7fff4b4578551c76f0ae8deb844f0d0bf6890610f659083908890889062ffffff9390931683526001600160a01b03918216602084015216604082015260600190565b610173611dbb565b6000805160206129728339815191528054600160401b810460ff1615906001600160401b0316600081158015611bf85750825b90506000826001600160401b03166001148015611c145750303b155b905081158015611c22575080155b15611c405760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315611c6a57845460ff60401b1916600160401b1785555b60008688611c76611110565b604080516001600160a01b03909316602084015260ff9091169082015260600160408051601f1981840301815290829052611cb492916020016127ef565b604051602081830303815290604052905060008151602083016000f09050803b611cdd57600080fd5b604051636939560f60e11b81526001600160a01b0382166004820181905282916000919063d272ac1e90602401602060405180830381865afa158015611d27573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611d4b91906125ab565b9050611d5883828d611df4565b611d6863183a225360e11b611e78565b505050508315611db257845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50505050505050565b60008051602061297283398151915254600160401b900460ff16611df257604051631afcd79f60e31b815260040160405180910390fd5b565b6000611e2260408051808201909152600f81526e52656769737472795365727669636560881b602082015290565b611e2a611110565b604051602001611e3b92919061281e565b6040516020818303038152906040529050611e628484611e59602890565b60008686611e9d565b611e72631b4612f160e31b611e78565b50505050565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b6001600160a01b038616611ef35760405162461bcd60e51b815260206004820152601b60248201527f4552524f523a5247422d3031303a52454749535452595f5a45524f000000000060448201526064016116ac565b6040516301ffc9a760e01b815286906001600160a01b038216906301ffc9a790611f289063d053988160e01b9060040161253b565b602060405180830381865afa158015611f45573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611f69919061255b565b611fb55760405162461bcd60e51b815260206004820152601a60248201527f4552524f523a5247422d3031313a4e4f545f524547495354525900000000000060448201526064016116ac565b6001600160a01b03818116600160a01b6001600160601b0389168102919091176000805160206129528339815191529081557f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30180546001600160a01b031961ffff60a01b1990911660ff8b1690940260ff60a81b191693909317600160a81b8915150217929092169286169290921790557f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa3026120718482612892565b5061129263a6d3826560e01b611e78565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c081019190915290565b6000602082840312156120d257600080fd5b81356001600160e01b0319811681146120ea57600080fd5b9392505050565b6001600160a01b038116811461210657600080fd5b50565b8035612114816120f1565b919050565b60006020828403121561212b57600080fd5b81356120ea816120f1565b60005b83811015612151578181015183820152602001612139565b50506000910152565b60008151808452612172816020860160208601612136565b601f01601f19169290920160200192915050565b60006001600160601b038083511684528060208401511660208501525060ff6040830151166040840152606082015115156060840152608082015160018060a01b0380821660808601528060a08501511660a0860152505060c082015160e060c0850152610bda60e085018261215a565b60408152600061220a6040830185612186565b828103602084015261221c818561215a565b95945050505050565b6020815260006120ea602083018461215a565b62ffffff8116811461210657600080fd5b60006020828403121561225b57600080fd5b81356120ea81612238565b634e487b7160e01b600052604160045260246000fd5b60405160e081016001600160401b038111828210171561229e5761229e612266565b60405290565b604051601f8201601f191681016001600160401b03811182821017156122cc576122cc612266565b604052919050565b6001600160601b038116811461210657600080fd5b8035612114816122d4565b60ff8116811461210657600080fd5b8035612114816122f4565b801515811461210657600080fd5b80356121148161230e565b60006001600160401b0382111561234057612340612266565b50601f01601f191660200190565b600082601f83011261235f57600080fd5b813561237261236d82612327565b6122a4565b81815284602083860101111561238757600080fd5b816020850160208301376000918101602001919091529392505050565b6000602082840312156123b657600080fd5b81356001600160401b03808211156123cd57600080fd5b9083019060e082860312156123e157600080fd5b6123e961227c565b6123f2836122e9565b8152612400602084016122e9565b602082015261241160408401612303565b60408201526124226060840161231c565b606082015261243360808401612109565b608082015261244460a08401612109565b60a082015260c08301358281111561245b57600080fd5b6124678782860161234e565b60c08301525095945050505050565b60008060006060848603121561248b57600080fd5b8335612496816120f1565b925060208401356124a6816120f1565b915060408401356001600160401b038111156124c157600080fd5b6124cd8682870161234e565b9150509250925092565b6000602082840312156124e957600080fd5b5035919050565b60008060006060848603121561250557600080fd5b8335612510816120f1565b92506020840135612520816122f4565b91506040840135612530816120f1565b809150509250925092565b6001600160e01b031991909116815260200190565b80516121148161230e565b60006020828403121561256d57600080fd5b81516120ea8161230e565b8051612114816120f1565b60006020828403121561259557600080fd5b81516120ea816120f1565b8051612114816122d4565b6000602082840312156125bd57600080fd5b81516120ea816122d4565b6020815260006120ea6020830184612186565b6000602082840312156125ed57600080fd5b81516120ea81612238565b600181811c9082168061260c57607f821691505b60208210810361262c57634e487b7160e01b600052602260045260246000fd5b50919050565b60006020828403121561264457600080fd5b5051919050565b60006020828403121561265d57600080fd5b81516001600160401b03811681146120ea57600080fd5b634e487b7160e01b600052603260045260246000fd5b8051612114816122f4565b6000602082840312156126a757600080fd5b81516120ea816122f4565b600082601f8301126126c357600080fd5b81516126d161236d82612327565b8181528460208386010111156126e657600080fd5b610bda826020830160208701612136565b6000806040838503121561270a57600080fd5b82516001600160401b038082111561272157600080fd5b9084019060e0828703121561273557600080fd5b61273d61227c565b612746836125a0565b8152612754602084016125a0565b60208201526127656040840161268a565b604082015261277660608401612550565b606082015261278760808401612578565b608082015261279860a08401612578565b60a082015260c0830151828111156127af57600080fd5b6127bb888286016126b2565b60c08301525060208601519094509150808211156127d857600080fd5b506127e5858286016126b2565b9150509250929050565b60008351612801818460208801612136565b835190830190612815818360208801612136565b01949350505050565b604081526000612831604083018561215a565b905060ff831660208301529392505050565b601f82111561288d57600081815260208120601f850160051c8101602086101561286a5750805b601f850160051c820191505b8181101561288957828155600101612876565b5050505b505050565b81516001600160401b038111156128ab576128ab612266565b6128bf816128b984546125f8565b84612843565b602080601f8311600181146128f457600084156128dc5750858301515b600019600386901b1c1916600185901b178555612889565b600085815260208120601f198616915b8281101561292357888601518255948401946001909101908401612904565b50858210156129415787850151600019600388901b60f8161c191681555b5050505050600190811b0190555056fe6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa300f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a004f61291a8ac3d020d0a7d919a76b8592aa88385744dee3f8b4f3873b969ed900a26469706673582212200fcc2899f20947795b41a94e5a28ec6b66ab90e107b932c8b8f2bdc72305021864736f6c63430008140033",
|
808
|
+
"deployedBytecode": "0x608060405234801561001057600080fd5b50600436106101735760003560e01c8063893d20e8116100de578063c2bf08c811610097578063d943342d11610071578063d943342d146104cd578063e285c9c4146104e0578063e6ab65d9146104e8578063fdd9ec7d1461050f57600080fd5b8063c2bf08c81461048d578063cde749f4146104a0578063cf7a1d77146104ba57600080fd5b8063893d20e8146103e8578063946dfcfe146103f0578063a3f4df7e14610417578063a745e3df14610445578063b3c650151461045a578063b88da7591461047a57600080fd5b80634d459c90116101305780634d459c901461026e5780634f421333146103875780635ab1bd531461039a5780635c992fed146103ba578063644c45e0146103cd578063834af153146103d557600080fd5b806301ffc9a71461017857806309824a80146101ba5780630d8e6e2c146101e55780630fec111c1461020157806317d7de7c146102175780631eff4b221461024b575b600080fd5b6101a56101863660046120c0565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6101cd6101c8366004612119565b610522565b6040516001600160601b0390911681526020016101b1565b6101ed6107b4565b60405162ffffff90911681526020016101b1565b61020961083e565b6040516101b19291906121f7565b60408051808201909152600f81526e52656769737472795365727669636560881b60208201525b6040516101b19190612225565b61026060008051602061295283398151915281565b6040519081526020016101b1565b61032a61027c366004612249565b6040805160a08101825260008082526020820181905291810182905260608101829052608081019190915260008051602061299283398151915262ffffff92831660009081526020918252604090819020815160a0810183528154958616815263010000009095046001600160a01b03908116938601939093526001015491821690840152600160a01b810464ffffffffff166060840152600160c81b900463ffffffff1660808301525090565b60408051825162ffffff1681526020808401516001600160a01b039081169183019190915283830151169181019190915260608083015164ffffffffff169082015260809182015163ffffffff169181019190915260a0016101b1565b6101a5610395366004612249565b610972565b6103a2610a25565b6040516001600160a01b0390911681526020016101b1565b6101cd6103c83660046123a4565b610a41565b6101cd610be2565b6102096103e3366004612119565b610c5d565b6103a2610d9f565b7f4f61291a8ac3d020d0a7d919a76b8592aa88385744dee3f8b4f3873b969ed90154610260565b61023e6040518060400160405280600f81526020016e52656769737472795365727669636560881b81525081565b610458610453366004612476565b610e1a565b005b610462610f74565b6040516001600160401b0390911681526020016101b1565b6101ed6104883660046124d7565b610f95565b6101cd61049b3660046123a4565b610fe6565b6104a8611110565b60405160ff90911681526020016101b1565b6104586104c8366004612476565b611193565b6102096104db3660046124f0565b61129c565b6103a2600181565b6102607f7e569c7200a12c63728b648d78f84be7e32ef6804f9ee723e15363ce34d0125181565b61020961051d366004612119565b6114e9565b6040516301ffc9a760e01b8152600090829082906001600160a01b038316906301ffc9a79061055c90633111e9af60e01b9060040161253b565b602060405180830381865afa925050508015610595575060408051601f3d908101601f191682019092526105929181019061255b565b60015b6105a1575060006105a4565b90505b80156105c35760405163087cada760e21b815260040160405180910390fd5b60006105cd610a25565b604051630a57ebcf60e11b81526001600160a01b038216600482018190529192506314afd79e90602401602060405180830381865afa158015610614573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106389190612583565b6001600160a01b0316336001600160a01b0316146106695760405163778d468d60e11b815260040160405180910390fd5b60006040518060e0016040528061067e600090565b6001600160601b03168152604051636939560f60e11b81526001600160a01b038516600482018190526020909201919063d272ac1e90602401602060405180830381865afa1580156106d4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106f891906125ab565b6001600160601b03168152602001601e60ff168152600060208083018290526001600160a01b03808b166040808601919091526001606086015280519283018152928252608090930152516352efcf2760e11b815291925083169063a5df9e4e906107679084906004016125c8565b6020604051808303816000875af1158015610786573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107aa91906125ab565b9695505050505050565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af4158015610815573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061083991906125db565b905090565b610846612082565b6060600060008051602061295283398151915290506040518060e0016040528061086e600090565b6001600160601b0390811682528354600160a01b908190049091166020830152600184015490810460ff9081166040840152600160a81b820416151560608301523060808301526001600160a01b031660a082015260028301805460c0909201916108d8906125f8565b80601f0160208091040260200160405190810160405280929190818152602001828054610904906125f8565b80156109515780601f1061092657610100808354040283529160200191610951565b820191906000526020600020905b81548152906001019060200180831161093457829003601f168201915b50505050508152506040518060200160405280600081525092509250509091565b60008060008051602061299283398151915262ffffff84166000908152602091909152604090819020600101549051631bbffab160e21b8152600160c81b90910463ffffffff16600482015273__$5f476116ae21c5294e0c0761c07efa7e1c$__90636effeac490602401602060405180830381865af41580156109fa573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a1e9190612632565b1192915050565b600080516020612952833981519152546001600160a01b031690565b600080610a4c610a25565b604051636939560f60e11b81523360048201529091506000906001600160a01b0383169063d272ac1e90602401602060405180830381865afa158015610a96573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610aba91906125ab565b90506001600160a01b038216635f1561518260d26040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff166024820152604401602060405180830381865afa158015610b1a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b3e919061255b565b1515600003610b6057604051632bb46a5f60e01b815260040160405180910390fd5b610b6b8460d2611673565b6040516352efcf2760e11b81526001600160a01b0383169063a5df9e4e90610b979087906004016125c8565b6020604051808303816000875af1158015610bb6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bda91906125ab565b949350505050565b600060008051602061295283398151915254604051636939560f60e11b81523060048201526001600160a01b039091169063d272ac1e90602401602060405180830381865afa158015610c39573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061083991906125ab565b610c65612082565b6040516301ffc9a760e01b81526060906001600160a01b038416906301ffc9a790610c9b90630de7806f60e41b9060040161253b565b602060405180830381865afa158015610cb8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cdc919061255b565b1515600003610cfe57604051636795c76360e01b815260040160405180910390fd5b610d0b8360325b336117aa565b90925090506000610d1a610a25565b6040516352efcf2760e11b81529091506001600160a01b0382169063a5df9e4e90610d499086906004016125c8565b6020604051808303816000875af1158015610d68573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d8c91906125ab565b6001600160601b03168352509092909150565b600060008051602061295283398151915254604051630a57ebcf60e11b81523060048201526001600160a01b03909116906314afd79e90602401602060405180830381865afa158015610df6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108399190612583565b73__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__63a123b37c610e3c6107b4565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af4158015610e7c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ea0919061264b565b6000805160206129728339815191528054600160401b900460ff1680610ed3575080546001600160401b03808416911610155b15610ef15760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b178155610f1c8585611982565b610f2583611bbd565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15050505050565b6000610839600080516020612972833981519152546001600160401b031690565b60006000805160206129928339815191526001018281548110610fba57610fba612674565b90600052602060002090600a91828204019190066003029054906101000a900462ffffff169050919050565b600080610ff1610a25565b604051636939560f60e11b81523360048201529091506000906001600160a01b0383169063d272ac1e90602401602060405180830381865afa15801561103b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061105f91906125ab565b90506001600160a01b038216635f1561518260dc6040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff166024820152604401602060405180830381865afa1580156110bf573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110e3919061255b565b151560000361110557604051632bb46a5f60e01b815260040160405180910390fd5b610b6b8460dc611673565b600061111a6107b4565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af415801561116f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108399190612695565b6000805160206129728339815191528054600160401b810460ff1615906001600160401b03166000811580156111c65750825b90506000826001600160401b031660011480156111e25750303b155b9050811580156111f0575080155b1561120e5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561123857845460ff60401b1916600160401b1785555b6112428888611982565b61124c8787611bc5565b831561129257845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b5050505050505050565b6112a4612082565b6040516301ffc9a760e01b81526060906001600160a01b038616906301ffc9a7906112da90631b1599eb60e21b9060040161253b565b602060405180830381865afa1580156112f7573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061131b919061255b565b151560000361133d57604051634138dc2760e11b815260040160405180910390fd5b6113488585856117aa565b90925090506000611357610a25565b604051636939560f60e11b81523360048201529091506000906001600160a01b0383169063d272ac1e90602401602060405180830381865afa1580156113a1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113c591906125ab565b604051635f15615160e01b81526001600160601b038216600482015260ff881660248201529091506001600160a01b03831690635f15615190604401602060405180830381865afa15801561141e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611442919061255b565b151560000361146457604051632bb46a5f60e01b815260040160405180910390fd5b6040516352efcf2760e11b81526001600160a01b0383169063a5df9e4e906114909087906004016125c8565b6020604051808303816000875af11580156114af573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114d391906125ab565b6001600160601b0316845250505b935093915050565b6114f1612082565b6040516301ffc9a760e01b81526060906001600160a01b038416906301ffc9a79061152790631b4612f160e31b9060040161253b565b602060405180830381865afa158015611544573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611568919061255b565b151560000361158a57604051635458064d60e11b815260040160405180910390fd5b611595836028610d05565b909250905060006115a4610a25565b604051630a57ebcf60e11b81526001600160a01b038216600482018190529192506314afd79e90602401602060405180830381865afa1580156115eb573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061160f9190612583565b6001600160a01b0316336001600160a01b0316146116405760405163778d468d60e11b815260040160405180910390fd5b600160a08401526040516352efcf2760e11b81526001600160a01b0382169063a5df9e4e90610d499086906004016125c8565b60808201516001600160a01b0316156116b5576080820151604051634726455360e11b81526001600160a01b0390911660048201526024015b60405180910390fd5b6116bd610a25565b60a083015160405163c3c5a54760e01b81526001600160a01b03918216600482015291169063c3c5a54790602401602060405180830381865afa158015611708573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061172c919061255b565b80611742575060a08201516001600160a01b0316155b156117715760a082015160405163711c133360e01b81526001600160a01b0390911660048201526024016116ac565b604082015160ff8281169116146117a657604080830151905163f503452760e01b815260ff90911660048201526024016116ac565b5050565b6117b2612082565b6060846001600160a01b0316630fec111c6040518163ffffffff1660e01b8152600401600060405180830381865afa1580156117f2573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261181a91908101906126f7565b608082015191935091506001600160a01b03868116911614611860576080820151604051634726455360e11b81526001600160a01b0390911660048201526024016116ac565b611868610a25565b60405163c3c5a54760e01b81526001600160a01b038581166004830152919091169063c3c5a54790602401602060405180830381865afa1580156118b0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118d4919061255b565b806118f55750826001600160a01b03168260a001516001600160a01b031614155b156119245760a082015160405163711c133360e01b81526001600160a01b0390911660048201526024016116ac565b6001600160a01b038516330361194d576040516317faf4db60e11b815260040160405180910390fd5b604082015160ff8581169116146114e157604080830151905163f503452760e01b815260ff90911660048201526024016116ac565b61198a611dbb565b60008051602061299283398151915260006119ba600080516020612972833981519152546001600160401b031690565b905060006119c66107b4565b9050816001600160401b03166001036119f35760028301805462ffffff191662ffffff8316179055611a41565b600283015462ffffff90811690821611611a415760405162461bcd60e51b815260206004820152600f60248201526e24a72b20a624a2102b22a929a4a7a760891b60448201526064016116ac565b6001808401805491820181556000908152602090819020600a808404909101805462ffffff808716600394909606939093026101000a858102930219169190911790556040805160a0810182529283526001600160a01b03808916928401929092529086169082015260608101611ab54290565b64ffffffffff1681526020014363ffffffff90811690915262ffffff8084166000908152602087815260409182902085518154928701516001600160a01b039081166301000000026001600160b81b0319909416919095161791909117815584820151600190910180546060870151608090970151909516600160c81b0263ffffffff60c81b1964ffffffffff909716600160a01b026001600160c81b031990961692909416919091179390931793909316179055517fad0a0fc10465a8dd9da3ad5f43e1a7fff4b4578551c76f0ae8deb844f0d0bf6890610f659083908890889062ffffff9390931683526001600160a01b03918216602084015216604082015260600190565b610173611dbb565b6000805160206129728339815191528054600160401b810460ff1615906001600160401b0316600081158015611bf85750825b90506000826001600160401b03166001148015611c145750303b155b905081158015611c22575080155b15611c405760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315611c6a57845460ff60401b1916600160401b1785555b60008688611c76611110565b604080516001600160a01b03909316602084015260ff9091169082015260600160408051601f1981840301815290829052611cb492916020016127ef565b604051602081830303815290604052905060008151602083016000f09050803b611cdd57600080fd5b604051636939560f60e11b81526001600160a01b0382166004820181905282916000919063d272ac1e90602401602060405180830381865afa158015611d27573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611d4b91906125ab565b9050611d5883828d611df4565b611d6863183a225360e11b611e78565b505050508315611db257845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50505050505050565b60008051602061297283398151915254600160401b900460ff16611df257604051631afcd79f60e31b815260040160405180910390fd5b565b6000611e2260408051808201909152600f81526e52656769737472795365727669636560881b602082015290565b611e2a611110565b604051602001611e3b92919061281e565b6040516020818303038152906040529050611e628484611e59602890565b60008686611e9d565b611e72631b4612f160e31b611e78565b50505050565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b6001600160a01b038616611ef35760405162461bcd60e51b815260206004820152601b60248201527f4552524f523a5247422d3031303a52454749535452595f5a45524f000000000060448201526064016116ac565b6040516301ffc9a760e01b815286906001600160a01b038216906301ffc9a790611f289063d053988160e01b9060040161253b565b602060405180830381865afa158015611f45573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611f69919061255b565b611fb55760405162461bcd60e51b815260206004820152601a60248201527f4552524f523a5247422d3031313a4e4f545f524547495354525900000000000060448201526064016116ac565b6001600160a01b03818116600160a01b6001600160601b0389168102919091176000805160206129528339815191529081557f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30180546001600160a01b031961ffff60a01b1990911660ff8b1690940260ff60a81b191693909317600160a81b8915150217929092169286169290921790557f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa3026120718482612892565b5061129263a6d3826560e01b611e78565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c081019190915290565b6000602082840312156120d257600080fd5b81356001600160e01b0319811681146120ea57600080fd5b9392505050565b6001600160a01b038116811461210657600080fd5b50565b8035612114816120f1565b919050565b60006020828403121561212b57600080fd5b81356120ea816120f1565b60005b83811015612151578181015183820152602001612139565b50506000910152565b60008151808452612172816020860160208601612136565b601f01601f19169290920160200192915050565b60006001600160601b038083511684528060208401511660208501525060ff6040830151166040840152606082015115156060840152608082015160018060a01b0380821660808601528060a08501511660a0860152505060c082015160e060c0850152610bda60e085018261215a565b60408152600061220a6040830185612186565b828103602084015261221c818561215a565b95945050505050565b6020815260006120ea602083018461215a565b62ffffff8116811461210657600080fd5b60006020828403121561225b57600080fd5b81356120ea81612238565b634e487b7160e01b600052604160045260246000fd5b60405160e081016001600160401b038111828210171561229e5761229e612266565b60405290565b604051601f8201601f191681016001600160401b03811182821017156122cc576122cc612266565b604052919050565b6001600160601b038116811461210657600080fd5b8035612114816122d4565b60ff8116811461210657600080fd5b8035612114816122f4565b801515811461210657600080fd5b80356121148161230e565b60006001600160401b0382111561234057612340612266565b50601f01601f191660200190565b600082601f83011261235f57600080fd5b813561237261236d82612327565b6122a4565b81815284602083860101111561238757600080fd5b816020850160208301376000918101602001919091529392505050565b6000602082840312156123b657600080fd5b81356001600160401b03808211156123cd57600080fd5b9083019060e082860312156123e157600080fd5b6123e961227c565b6123f2836122e9565b8152612400602084016122e9565b602082015261241160408401612303565b60408201526124226060840161231c565b606082015261243360808401612109565b608082015261244460a08401612109565b60a082015260c08301358281111561245b57600080fd5b6124678782860161234e565b60c08301525095945050505050565b60008060006060848603121561248b57600080fd5b8335612496816120f1565b925060208401356124a6816120f1565b915060408401356001600160401b038111156124c157600080fd5b6124cd8682870161234e565b9150509250925092565b6000602082840312156124e957600080fd5b5035919050565b60008060006060848603121561250557600080fd5b8335612510816120f1565b92506020840135612520816122f4565b91506040840135612530816120f1565b809150509250925092565b6001600160e01b031991909116815260200190565b80516121148161230e565b60006020828403121561256d57600080fd5b81516120ea8161230e565b8051612114816120f1565b60006020828403121561259557600080fd5b81516120ea816120f1565b8051612114816122d4565b6000602082840312156125bd57600080fd5b81516120ea816122d4565b6020815260006120ea6020830184612186565b6000602082840312156125ed57600080fd5b81516120ea81612238565b600181811c9082168061260c57607f821691505b60208210810361262c57634e487b7160e01b600052602260045260246000fd5b50919050565b60006020828403121561264457600080fd5b5051919050565b60006020828403121561265d57600080fd5b81516001600160401b03811681146120ea57600080fd5b634e487b7160e01b600052603260045260246000fd5b8051612114816122f4565b6000602082840312156126a757600080fd5b81516120ea816122f4565b600082601f8301126126c357600080fd5b81516126d161236d82612327565b8181528460208386010111156126e657600080fd5b610bda826020830160208701612136565b6000806040838503121561270a57600080fd5b82516001600160401b038082111561272157600080fd5b9084019060e0828703121561273557600080fd5b61273d61227c565b612746836125a0565b8152612754602084016125a0565b60208201526127656040840161268a565b604082015261277660608401612550565b606082015261278760808401612578565b608082015261279860a08401612578565b60a082015260c0830151828111156127af57600080fd5b6127bb888286016126b2565b60c08301525060208601519094509150808211156127d857600080fd5b506127e5858286016126b2565b9150509250929050565b60008351612801818460208801612136565b835190830190612815818360208801612136565b01949350505050565b604081526000612831604083018561215a565b905060ff831660208301529392505050565b601f82111561288d57600081815260208120601f850160051c8101602086101561286a5750805b601f850160051c820191505b8181101561288957828155600101612876565b5050505b505050565b81516001600160401b038111156128ab576128ab612266565b6128bf816128b984546125f8565b84612843565b602080601f8311600181146128f457600084156128dc5750858301515b600019600386901b1c1916600185901b178555612889565b600085815260208120601f198616915b8281101561292357888601518255948401946001909101908401612904565b50858210156129415787850151600019600388901b60f8161c191681555b5050505050600190811b0190555056fe6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa300f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a004f61291a8ac3d020d0a7d919a76b8592aa88385744dee3f8b4f3873b969ed900a26469706673582212200fcc2899f20947795b41a94e5a28ec6b66ab90e107b932c8b8f2bdc72305021864736f6c63430008140033",
|
809
|
+
"linkReferences": {
|
810
|
+
"contracts/types/Blocknumber.sol": {
|
811
|
+
"BlocknumberLib": [
|
812
|
+
{
|
813
|
+
"length": 20,
|
814
|
+
"start": 2786
|
815
|
+
}
|
816
|
+
]
|
817
|
+
},
|
818
|
+
"contracts/types/Version.sol": {
|
819
|
+
"VersionLib": [
|
820
|
+
{
|
821
|
+
"length": 20,
|
822
|
+
"start": 2301
|
823
|
+
},
|
824
|
+
{
|
825
|
+
"length": 20,
|
826
|
+
"start": 3902
|
827
|
+
},
|
828
|
+
{
|
829
|
+
"length": 20,
|
830
|
+
"start": 4695
|
831
|
+
}
|
832
|
+
]
|
833
|
+
}
|
834
|
+
},
|
835
|
+
"deployedLinkReferences": {
|
836
|
+
"contracts/types/Blocknumber.sol": {
|
837
|
+
"BlocknumberLib": [
|
838
|
+
{
|
839
|
+
"length": 20,
|
840
|
+
"start": 2496
|
841
|
+
}
|
842
|
+
]
|
843
|
+
},
|
844
|
+
"contracts/types/Version.sol": {
|
845
|
+
"VersionLib": [
|
846
|
+
{
|
847
|
+
"length": 20,
|
848
|
+
"start": 2011
|
849
|
+
},
|
850
|
+
{
|
851
|
+
"length": 20,
|
852
|
+
"start": 3612
|
853
|
+
},
|
854
|
+
{
|
855
|
+
"length": 20,
|
856
|
+
"start": 4405
|
857
|
+
}
|
858
|
+
]
|
859
|
+
}
|
860
|
+
}
|
861
|
+
}
|