@etherisc/gif-next 0.0.2-cc253b3 → 0.0.2-cd89a0b-062
Sign up to get free protection for your applications and to get access to all the features.
- 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 +1894 -374
- 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 +351 -72
- 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 +567 -79
- package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +4 -0
- package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +885 -0
- package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +4 -0
- package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +460 -0
- package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.dbg.json +4 -0
- package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.json +107 -0
- package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +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/NftOwnable.sol/NftOwnable.dbg.json +4 -0
- package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +132 -0
- package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +4 -0
- package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +344 -0
- package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +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 +91 -6
- 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 +59 -56
- package/contracts/registry/IRegistryService.sol +29 -0
- package/contracts/registry/ITransferInterceptor.sol +6 -0
- package/contracts/registry/Registry.sol +429 -121
- package/contracts/registry/RegistryService.sol +375 -0
- package/contracts/registry/RegistryServiceManager.sol +52 -0
- package/contracts/shared/ContractDeployerLib.sol +72 -0
- package/contracts/shared/ERC165.sol +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/NftOwnable.sol +87 -0
- package/contracts/shared/ProxyManager.sol +103 -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 +24 -10
- package/contracts/types/Fee.sol +56 -0
- package/contracts/types/Key32.sol +45 -0
- package/contracts/types/NftId.sol +55 -9
- 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,526 @@
|
|
1
|
+
{
|
2
|
+
"_format": "hh-sol-artifact-1",
|
3
|
+
"contractName": "DistributionService",
|
4
|
+
"sourceName": "contracts/instance/service/DistributionService.sol",
|
5
|
+
"abi": [
|
6
|
+
{
|
7
|
+
"inputs": [
|
8
|
+
{
|
9
|
+
"internalType": "address",
|
10
|
+
"name": "registry",
|
11
|
+
"type": "address"
|
12
|
+
},
|
13
|
+
{
|
14
|
+
"internalType": "NftId",
|
15
|
+
"name": "registryNftId",
|
16
|
+
"type": "uint96"
|
17
|
+
},
|
18
|
+
{
|
19
|
+
"internalType": "address",
|
20
|
+
"name": "initialOwner",
|
21
|
+
"type": "address"
|
22
|
+
}
|
23
|
+
],
|
24
|
+
"stateMutability": "nonpayable",
|
25
|
+
"type": "constructor"
|
26
|
+
},
|
27
|
+
{
|
28
|
+
"inputs": [],
|
29
|
+
"name": "InvalidInitialization",
|
30
|
+
"type": "error"
|
31
|
+
},
|
32
|
+
{
|
33
|
+
"inputs": [],
|
34
|
+
"name": "NotInitializing",
|
35
|
+
"type": "error"
|
36
|
+
},
|
37
|
+
{
|
38
|
+
"anonymous": false,
|
39
|
+
"inputs": [
|
40
|
+
{
|
41
|
+
"indexed": false,
|
42
|
+
"internalType": "uint64",
|
43
|
+
"name": "version",
|
44
|
+
"type": "uint64"
|
45
|
+
}
|
46
|
+
],
|
47
|
+
"name": "Initialized",
|
48
|
+
"type": "event"
|
49
|
+
},
|
50
|
+
{
|
51
|
+
"anonymous": false,
|
52
|
+
"inputs": [
|
53
|
+
{
|
54
|
+
"indexed": false,
|
55
|
+
"internalType": "Version",
|
56
|
+
"name": "version",
|
57
|
+
"type": "uint24"
|
58
|
+
},
|
59
|
+
{
|
60
|
+
"indexed": false,
|
61
|
+
"internalType": "address",
|
62
|
+
"name": "implementation",
|
63
|
+
"type": "address"
|
64
|
+
},
|
65
|
+
{
|
66
|
+
"indexed": false,
|
67
|
+
"internalType": "address",
|
68
|
+
"name": "activatedBy",
|
69
|
+
"type": "address"
|
70
|
+
}
|
71
|
+
],
|
72
|
+
"name": "LogVersionableInitialized",
|
73
|
+
"type": "event"
|
74
|
+
},
|
75
|
+
{
|
76
|
+
"inputs": [],
|
77
|
+
"name": "NAME",
|
78
|
+
"outputs": [
|
79
|
+
{
|
80
|
+
"internalType": "string",
|
81
|
+
"name": "",
|
82
|
+
"type": "string"
|
83
|
+
}
|
84
|
+
],
|
85
|
+
"stateMutability": "view",
|
86
|
+
"type": "function"
|
87
|
+
},
|
88
|
+
{
|
89
|
+
"inputs": [],
|
90
|
+
"name": "REGISTERABLE_LOCATION_V1",
|
91
|
+
"outputs": [
|
92
|
+
{
|
93
|
+
"internalType": "bytes32",
|
94
|
+
"name": "",
|
95
|
+
"type": "bytes32"
|
96
|
+
}
|
97
|
+
],
|
98
|
+
"stateMutability": "view",
|
99
|
+
"type": "function"
|
100
|
+
},
|
101
|
+
{
|
102
|
+
"inputs": [],
|
103
|
+
"name": "getInitialInfo",
|
104
|
+
"outputs": [
|
105
|
+
{
|
106
|
+
"components": [
|
107
|
+
{
|
108
|
+
"internalType": "NftId",
|
109
|
+
"name": "nftId",
|
110
|
+
"type": "uint96"
|
111
|
+
},
|
112
|
+
{
|
113
|
+
"internalType": "NftId",
|
114
|
+
"name": "parentNftId",
|
115
|
+
"type": "uint96"
|
116
|
+
},
|
117
|
+
{
|
118
|
+
"internalType": "ObjectType",
|
119
|
+
"name": "objectType",
|
120
|
+
"type": "uint8"
|
121
|
+
},
|
122
|
+
{
|
123
|
+
"internalType": "bool",
|
124
|
+
"name": "isInterceptor",
|
125
|
+
"type": "bool"
|
126
|
+
},
|
127
|
+
{
|
128
|
+
"internalType": "address",
|
129
|
+
"name": "objectAddress",
|
130
|
+
"type": "address"
|
131
|
+
},
|
132
|
+
{
|
133
|
+
"internalType": "address",
|
134
|
+
"name": "initialOwner",
|
135
|
+
"type": "address"
|
136
|
+
},
|
137
|
+
{
|
138
|
+
"internalType": "bytes",
|
139
|
+
"name": "data",
|
140
|
+
"type": "bytes"
|
141
|
+
}
|
142
|
+
],
|
143
|
+
"internalType": "struct IRegistry.ObjectInfo",
|
144
|
+
"name": "",
|
145
|
+
"type": "tuple"
|
146
|
+
},
|
147
|
+
{
|
148
|
+
"internalType": "bytes",
|
149
|
+
"name": "data",
|
150
|
+
"type": "bytes"
|
151
|
+
}
|
152
|
+
],
|
153
|
+
"stateMutability": "view",
|
154
|
+
"type": "function"
|
155
|
+
},
|
156
|
+
{
|
157
|
+
"inputs": [],
|
158
|
+
"name": "getInitializedVersion",
|
159
|
+
"outputs": [
|
160
|
+
{
|
161
|
+
"internalType": "uint64",
|
162
|
+
"name": "",
|
163
|
+
"type": "uint64"
|
164
|
+
}
|
165
|
+
],
|
166
|
+
"stateMutability": "view",
|
167
|
+
"type": "function"
|
168
|
+
},
|
169
|
+
{
|
170
|
+
"inputs": [],
|
171
|
+
"name": "getMajorVersion",
|
172
|
+
"outputs": [
|
173
|
+
{
|
174
|
+
"internalType": "VersionPart",
|
175
|
+
"name": "majorVersion",
|
176
|
+
"type": "uint8"
|
177
|
+
}
|
178
|
+
],
|
179
|
+
"stateMutability": "view",
|
180
|
+
"type": "function"
|
181
|
+
},
|
182
|
+
{
|
183
|
+
"inputs": [],
|
184
|
+
"name": "getName",
|
185
|
+
"outputs": [
|
186
|
+
{
|
187
|
+
"internalType": "string",
|
188
|
+
"name": "name",
|
189
|
+
"type": "string"
|
190
|
+
}
|
191
|
+
],
|
192
|
+
"stateMutability": "pure",
|
193
|
+
"type": "function"
|
194
|
+
},
|
195
|
+
{
|
196
|
+
"inputs": [],
|
197
|
+
"name": "getNftId",
|
198
|
+
"outputs": [
|
199
|
+
{
|
200
|
+
"internalType": "NftId",
|
201
|
+
"name": "nftId",
|
202
|
+
"type": "uint96"
|
203
|
+
}
|
204
|
+
],
|
205
|
+
"stateMutability": "view",
|
206
|
+
"type": "function"
|
207
|
+
},
|
208
|
+
{
|
209
|
+
"inputs": [],
|
210
|
+
"name": "getOwner",
|
211
|
+
"outputs": [
|
212
|
+
{
|
213
|
+
"internalType": "address",
|
214
|
+
"name": "",
|
215
|
+
"type": "address"
|
216
|
+
}
|
217
|
+
],
|
218
|
+
"stateMutability": "view",
|
219
|
+
"type": "function"
|
220
|
+
},
|
221
|
+
{
|
222
|
+
"inputs": [],
|
223
|
+
"name": "getRegistry",
|
224
|
+
"outputs": [
|
225
|
+
{
|
226
|
+
"internalType": "contract IRegistry",
|
227
|
+
"name": "registry",
|
228
|
+
"type": "address"
|
229
|
+
}
|
230
|
+
],
|
231
|
+
"stateMutability": "view",
|
232
|
+
"type": "function"
|
233
|
+
},
|
234
|
+
{
|
235
|
+
"inputs": [],
|
236
|
+
"name": "getRegistryService",
|
237
|
+
"outputs": [
|
238
|
+
{
|
239
|
+
"internalType": "contract IRegistryService",
|
240
|
+
"name": "",
|
241
|
+
"type": "address"
|
242
|
+
}
|
243
|
+
],
|
244
|
+
"stateMutability": "view",
|
245
|
+
"type": "function"
|
246
|
+
},
|
247
|
+
{
|
248
|
+
"inputs": [],
|
249
|
+
"name": "getVersion",
|
250
|
+
"outputs": [
|
251
|
+
{
|
252
|
+
"internalType": "Version",
|
253
|
+
"name": "",
|
254
|
+
"type": "uint24"
|
255
|
+
}
|
256
|
+
],
|
257
|
+
"stateMutability": "pure",
|
258
|
+
"type": "function"
|
259
|
+
},
|
260
|
+
{
|
261
|
+
"inputs": [
|
262
|
+
{
|
263
|
+
"internalType": "uint256",
|
264
|
+
"name": "idx",
|
265
|
+
"type": "uint256"
|
266
|
+
}
|
267
|
+
],
|
268
|
+
"name": "getVersion",
|
269
|
+
"outputs": [
|
270
|
+
{
|
271
|
+
"internalType": "Version",
|
272
|
+
"name": "",
|
273
|
+
"type": "uint24"
|
274
|
+
}
|
275
|
+
],
|
276
|
+
"stateMutability": "view",
|
277
|
+
"type": "function"
|
278
|
+
},
|
279
|
+
{
|
280
|
+
"inputs": [],
|
281
|
+
"name": "getVersionCount",
|
282
|
+
"outputs": [
|
283
|
+
{
|
284
|
+
"internalType": "uint256",
|
285
|
+
"name": "",
|
286
|
+
"type": "uint256"
|
287
|
+
}
|
288
|
+
],
|
289
|
+
"stateMutability": "view",
|
290
|
+
"type": "function"
|
291
|
+
},
|
292
|
+
{
|
293
|
+
"inputs": [
|
294
|
+
{
|
295
|
+
"internalType": "Version",
|
296
|
+
"name": "_version",
|
297
|
+
"type": "uint24"
|
298
|
+
}
|
299
|
+
],
|
300
|
+
"name": "getVersionInfo",
|
301
|
+
"outputs": [
|
302
|
+
{
|
303
|
+
"components": [
|
304
|
+
{
|
305
|
+
"internalType": "Version",
|
306
|
+
"name": "version",
|
307
|
+
"type": "uint24"
|
308
|
+
},
|
309
|
+
{
|
310
|
+
"internalType": "address",
|
311
|
+
"name": "implementation",
|
312
|
+
"type": "address"
|
313
|
+
},
|
314
|
+
{
|
315
|
+
"internalType": "address",
|
316
|
+
"name": "activatedBy",
|
317
|
+
"type": "address"
|
318
|
+
},
|
319
|
+
{
|
320
|
+
"internalType": "Timestamp",
|
321
|
+
"name": "activatedAt",
|
322
|
+
"type": "uint40"
|
323
|
+
},
|
324
|
+
{
|
325
|
+
"internalType": "Blocknumber",
|
326
|
+
"name": "activatedIn",
|
327
|
+
"type": "uint32"
|
328
|
+
}
|
329
|
+
],
|
330
|
+
"internalType": "struct IVersionable.VersionInfo",
|
331
|
+
"name": "",
|
332
|
+
"type": "tuple"
|
333
|
+
}
|
334
|
+
],
|
335
|
+
"stateMutability": "view",
|
336
|
+
"type": "function"
|
337
|
+
},
|
338
|
+
{
|
339
|
+
"inputs": [
|
340
|
+
{
|
341
|
+
"internalType": "address",
|
342
|
+
"name": "implementation",
|
343
|
+
"type": "address"
|
344
|
+
},
|
345
|
+
{
|
346
|
+
"internalType": "address",
|
347
|
+
"name": "activatedBy",
|
348
|
+
"type": "address"
|
349
|
+
},
|
350
|
+
{
|
351
|
+
"internalType": "bytes",
|
352
|
+
"name": "data",
|
353
|
+
"type": "bytes"
|
354
|
+
}
|
355
|
+
],
|
356
|
+
"name": "initialize",
|
357
|
+
"outputs": [],
|
358
|
+
"stateMutability": "nonpayable",
|
359
|
+
"type": "function"
|
360
|
+
},
|
361
|
+
{
|
362
|
+
"inputs": [
|
363
|
+
{
|
364
|
+
"internalType": "Version",
|
365
|
+
"name": "_version",
|
366
|
+
"type": "uint24"
|
367
|
+
}
|
368
|
+
],
|
369
|
+
"name": "isInitialized",
|
370
|
+
"outputs": [
|
371
|
+
{
|
372
|
+
"internalType": "bool",
|
373
|
+
"name": "",
|
374
|
+
"type": "bool"
|
375
|
+
}
|
376
|
+
],
|
377
|
+
"stateMutability": "view",
|
378
|
+
"type": "function"
|
379
|
+
},
|
380
|
+
{
|
381
|
+
"inputs": [
|
382
|
+
{
|
383
|
+
"components": [
|
384
|
+
{
|
385
|
+
"internalType": "UFixed",
|
386
|
+
"name": "fractionalFee",
|
387
|
+
"type": "uint256"
|
388
|
+
},
|
389
|
+
{
|
390
|
+
"internalType": "uint256",
|
391
|
+
"name": "fixedFee",
|
392
|
+
"type": "uint256"
|
393
|
+
}
|
394
|
+
],
|
395
|
+
"internalType": "struct Fee",
|
396
|
+
"name": "distributionFee",
|
397
|
+
"type": "tuple"
|
398
|
+
}
|
399
|
+
],
|
400
|
+
"name": "setFees",
|
401
|
+
"outputs": [],
|
402
|
+
"stateMutability": "nonpayable",
|
403
|
+
"type": "function"
|
404
|
+
},
|
405
|
+
{
|
406
|
+
"inputs": [
|
407
|
+
{
|
408
|
+
"internalType": "bytes4",
|
409
|
+
"name": "interfaceId",
|
410
|
+
"type": "bytes4"
|
411
|
+
}
|
412
|
+
],
|
413
|
+
"name": "supportsInterface",
|
414
|
+
"outputs": [
|
415
|
+
{
|
416
|
+
"internalType": "bool",
|
417
|
+
"name": "",
|
418
|
+
"type": "bool"
|
419
|
+
}
|
420
|
+
],
|
421
|
+
"stateMutability": "view",
|
422
|
+
"type": "function"
|
423
|
+
},
|
424
|
+
{
|
425
|
+
"inputs": [
|
426
|
+
{
|
427
|
+
"internalType": "address",
|
428
|
+
"name": "implementation",
|
429
|
+
"type": "address"
|
430
|
+
},
|
431
|
+
{
|
432
|
+
"internalType": "address",
|
433
|
+
"name": "activatedBy",
|
434
|
+
"type": "address"
|
435
|
+
},
|
436
|
+
{
|
437
|
+
"internalType": "bytes",
|
438
|
+
"name": "data",
|
439
|
+
"type": "bytes"
|
440
|
+
}
|
441
|
+
],
|
442
|
+
"name": "upgrade",
|
443
|
+
"outputs": [],
|
444
|
+
"stateMutability": "nonpayable",
|
445
|
+
"type": "function"
|
446
|
+
}
|
447
|
+
],
|
448
|
+
"bytecode": "0x60806040523480156200001157600080fd5b5060405162002380380380620023808339810160408190526200003491620005ae565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff191660011790558282826200007d620000d3565b6200008a83838362000187565b505050620000a5631fa9607b60e11b620000ae60201b60201c565b50505062000848565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000900460ff1615620001245760405163f92ee8a960e01b815260040160405180910390fd5b80546001600160401b0390811614620001845780546001600160401b0319166001600160401b0390811782556040519081527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50565b6000620001c460408051808201909152601381527f446973747269627574696f6e5365727669636500000000000000000000000000602082015290565b620001ce62000247565b604051602001620001e192919062000606565b60408051808303601f190181529190529050620002058484602860008686620002d4565b631b4612f160e31b60009081526020527ffc58a5a01198e68c5a5d0bcd463f9ab550fc4337b1df271aed6dbb33d25fef25805460ff1916600117905550505050565b60006200025362000509565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af4158015620002a9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620002cf919062000660565b905090565b6001600160a01b038616620003305760405162461bcd60e51b815260206004820152601b60248201527f4552524f523a5247422d3031303a52454749535452595f5a45524f000000000060448201526064015b60405180910390fd5b6040516301ffc9a760e01b8152636882e63f60e11b600482015286906001600160a01b038216906301ffc9a790602401602060405180830381865afa1580156200037e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620003a491906200068c565b620003f25760405162461bcd60e51b815260206004820152601a60248201527f4552524f523a5247422d3031313a4e4f545f5245474953545259000000000000604482015260640162000327565b6001600160a01b03818116600160a01b6001600160601b0389168102919091177f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa3009081557f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30180546001600160a01b031961ffff60a01b1990911660ff8b1690940260ff60a81b191693909317600160a81b8915150217929092169286169290921790557f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa302620004c2848262000755565b5063a6d3826560e01b60009081526020527f164a5a3a3a16df858f794c5fc01b962add2c2151ae53ddb31581eabdf1156730805460ff191660011790555050505050505050565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af41580156200056b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620002cf919062000821565b80516001600160a01b0381168114620005a957600080fd5b919050565b600080600060608486031215620005c457600080fd5b620005cf8462000591565b60208501519093506001600160601b0381168114620005ed57600080fd5b9150620005fd6040850162000591565b90509250925092565b604081526000835180604084015260005b8181101562000636576020818701810151606086840101520162000617565b506000606082850101526060601f19601f83011684010191505060ff831660208301529392505050565b6000602082840312156200067357600080fd5b815160ff811681146200068557600080fd5b9392505050565b6000602082840312156200069f57600080fd5b815180151581146200068557600080fd5b634e487b7160e01b600052604160045260246000fd5b600181811c90821680620006db57607f821691505b602082108103620006fc57634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200075057600081815260208120601f850160051c810160208610156200072b5750805b601f850160051c820191505b818110156200074c5782815560010162000737565b5050505b505050565b81516001600160401b03811115620007715762000771620006b0565b6200078981620007828454620006c6565b8462000702565b602080601f831160018114620007c15760008415620007a85750858301515b600019600386901b1c1916600185901b1785556200074c565b600085815260208120601f198616915b82811015620007f257888601518255948401946001909101908401620007d1565b5085821015620008115787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6000602082840312156200083457600080fd5b815162ffffff811681146200068557600080fd5b611b2880620008586000396000f3fe608060405234801561001057600080fd5b50600436106101215760003560e01c8063644c45e0116100ad578063b3c6501511610071578063b3c65015146103ea578063b88da7591461040a578063caf4e3d41461041d578063cde749f414610425578063cf7a1d771461043f57600080fd5b8063644c45e014610356578063893d20e814610376578063946dfcfe1461037e578063a3f4df7e146103a5578063a745e3df146103d757600080fd5b80631eff4b22116100f45780631eff4b22146101d25780633f52c0f6146101f55780634d459c901461020a5780634f421333146103235780635ab1bd531461033657600080fd5b806301ffc9a7146101265780630d8e6e2c146101685780630fec111c1461018457806317d7de7c1461019a575b600080fd5b6101536101343660046112e3565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b610170610452565b60405162ffffff909116815260200161015f565b61018c6104dc565b60405161015f929190611364565b604080518082019091526013815272446973747269627574696f6e5365727669636560681b60208201525b60405161015f919061140b565b6101e7600080516020611a9383398151915281565b60405190815260200161015f565b6102086102033660046114d1565b610643565b005b6102c6610218366004611517565b6040805160a081018252600080825260208201819052918101829052606081018290526080810191909152600080516020611ad383398151915262ffffff92831660009081526020918252604090819020815160a0810183528154958616815263010000009095046001600160a01b03908116938601939093526001015491821690840152600160a01b810464ffffffffff166060840152600160c81b900463ffffffff1660808301525090565b60408051825162ffffff1681526020808401516001600160a01b039081169183019190915283830151169181019190915260608083015164ffffffffff169082015260809182015163ffffffff169181019190915260a00161015f565b610153610331366004611517565b6107b6565b61033e610869565b6040516001600160a01b03909116815260200161015f565b61035e610885565b6040516001600160601b03909116815260200161015f565b61033e610900565b7f4f61291a8ac3d020d0a7d919a76b8592aa88385744dee3f8b4f3873b969ed901546101e7565b6101c560405180604001604052806013815260200172446973747269627574696f6e5365727669636560681b81525081565b6102086103e5366004611570565b61097b565b6103f2610ad5565b6040516001600160401b03909116815260200161015f565b610170610418366004611614565b610af6565b61033e610b47565b61042d610bf8565b60405160ff909116815260200161015f565b61020861044d366004611570565b610c7b565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af41580156104b3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104d7919061162d565b905090565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c081019190915260606000600080516020611a9383398151915290506040518060e0016040528061053f600090565b6001600160601b0390811682528354600160a01b908190049091166020830152600184015490810460ff9081166040840152600160a81b820416151560608301523060808301526001600160a01b031660a082015260028301805460c0909201916105a99061164a565b80601f01602080910402602001604051908101604052809291908181526020018280546105d59061164a565b80156106225780601f106105f757610100808354040283529160200191610622565b820191906000526020600020905b81548152906001019060200180831161060557829003601f168201915b50505050508152506040518060200160405280600081525092509250509091565b6000806106506078610d84565b8151604051639ae31ff560e01b81526001600160601b03909116600482015291935091506000906001600160a01b03831690639ae31ff590602401602060405180830381865afa1580156106a8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106cc91906116a0565b60405163f2b246c360e01b81526001600160601b03821660048201529091506000906001600160a01b0384169063f2b246c3906024016101e060405180830381865afa158015610720573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061074491906116f6565b61010081018690526040516306a5298b60e01b81529091506001600160a01b038416906306a5298b9061077d90859085906004016117b5565b600060405180830381600087803b15801561079757600080fd5b505af11580156107ab573d6000803e3d6000fd5b505050505050505050565b600080600080516020611ad383398151915262ffffff84166000908152602091909152604090819020600101549051631bbffab160e21b8152600160c81b90910463ffffffff16600482015273__$5f476116ae21c5294e0c0761c07efa7e1c$__90636effeac490602401602060405180830381865af415801561083e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610862919061189c565b1192915050565b600080516020611a93833981519152546001600160a01b031690565b6000600080516020611a9383398151915254604051636939560f60e11b81523060048201526001600160a01b039091169063d272ac1e90602401602060405180830381865afa1580156108dc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104d791906116a0565b6000600080516020611a9383398151915254604051630a57ebcf60e11b81523060048201526001600160a01b03909116906314afd79e90602401602060405180830381865afa158015610957573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104d791906118b5565b73__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__63a123b37c61099d610452565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af41580156109dd573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a0191906118d2565b600080516020611ab38339815191528054600160401b900460ff1680610a34575080546001600160401b03808416911610155b15610a525760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b178155610a7d858561106b565b610a86836112a6565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15050505050565b60006104d7600080516020611ab3833981519152546001600160401b031690565b6000600080516020611ad38339815191526001018281548110610b1b57610b1b6118fb565b90600052602060002090600a91828204019190066003029054906101000a900462ffffff169050919050565b600080610b52610869565b6001600160a01b031663a3bcd81d610b68610bf8565b604080516001600160e01b031960e085901b1681526004810191909152600f60448201526e52656769737472795365727669636560881b606482015260ff9091166024820152608401602060405180830381865afa158015610bce573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bf291906118b5565b92915050565b6000610c02610452565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af4158015610c57573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104d7919061192b565b600080516020611ab38339815191528054600160401b810460ff1615906001600160401b0316600081158015610cae5750825b90506000826001600160401b03166001148015610cca5750303b155b905081158015610cd8575080155b15610cf65760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315610d2057845460ff60401b1916600160401b1785555b610d2a888861106b565b610d3487876112a6565b8315610d7a57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b5050505050505050565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c08201529080610dc5610869565b604051636939560f60e11b81523360048201526001600160a01b03919091169063d272ac1e90602401602060405180830381865afa158015610e0b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e2f91906116a0565b6040516330b8415f60e01b81526001600160601b038216600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610e8a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610eae9190611958565b610eff5760405162461bcd60e51b815260206004820152601760248201527f4552524f525f434f4d504f4e454e545f554e4b4e4f574e00000000000000000060448201526064015b60405180910390fd5b610f07610869565b6040516305247a1760e51b81526001600160601b03831660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa158015610f56573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610f7e91908101906119c0565b9250610f9483604001518560ff90811691161490565b610fd65760405162461bcd60e51b815260206004820152601360248201527213d0929150d517d516541157d2539590531251606a1b6044820152606401610ef6565b6000610fe0610869565b60208501516040516305247a1760e51b81526001600160601b0390911660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa158015611035573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261105d91908101906119c0565b608001519395939450505050565b6110736112aa565b600080516020611ad383398151915260006110a3600080516020611ab3833981519152546001600160401b031690565b905060006110af610452565b9050816001600160401b03166001036110dc5760028301805462ffffff191662ffffff831617905561112a565b600283015462ffffff9081169082161161112a5760405162461bcd60e51b815260206004820152600f60248201526e24a72b20a624a2102b22a929a4a7a760891b6044820152606401610ef6565b6001808401805491820181556000908152602090819020600a808404909101805462ffffff808716600394909606939093026101000a858102930219169190911790556040805160a0810182529283526001600160a01b0380891692840192909252908616908201526060810161119e4290565b64ffffffffff1681526020014363ffffffff90811690915262ffffff8084166000908152602087815260409182902085518154928701516001600160a01b039081166301000000026001600160b81b0319909416919095161791909117815584820151600190910180546060870151608090970151909516600160c81b0263ffffffff60c81b1964ffffffffff909716600160a01b026001600160c81b031990961692909416919091179390931793909316179055517fad0a0fc10465a8dd9da3ad5f43e1a7fff4b4578551c76f0ae8deb844f0d0bf6890610ac69083908890889062ffffff9390931683526001600160a01b03918216602084015216604082015260600190565b6101215b600080516020611ab383398151915254600160401b900460ff166112e157604051631afcd79f60e31b815260040160405180910390fd5b565b6000602082840312156112f557600080fd5b81356001600160e01b03198116811461130d57600080fd5b9392505050565b60005b8381101561132f578181015183820152602001611317565b50506000910152565b60008151808452611350816020860160208601611314565b601f01601f19169290920160200192915050565b6040815260006001600160601b038085511660408401528060208601511660608401525060ff604085015116608083015260608401516113a860a084018215159052565b5060808401516001600160a01b03811660c08401525060a08401516001600160a01b03811660e08401525060c084015160e06101008401526113ee610120840182611338565b905082810360208401526114028185611338565b95945050505050565b60208152600061130d6020830184611338565b634e487b7160e01b600052604160045260246000fd5b604080519081016001600160401b03811182821017156114565761145661141e565b60405290565b60405161012081016001600160401b03811182821017156114565761145661141e565b60405160e081016001600160401b03811182821017156114565761145661141e565b604051601f8201601f191681016001600160401b03811182821017156114c9576114c961141e565b604052919050565b6000604082840312156114e357600080fd5b6114eb611434565b82358152602083013560208201528091505092915050565b62ffffff8116811461151457600080fd5b50565b60006020828403121561152957600080fd5b813561130d81611503565b6001600160a01b038116811461151457600080fd5b60006001600160401b038211156115625761156261141e565b50601f01601f191660200190565b60008060006060848603121561158557600080fd5b833561159081611534565b925060208401356115a081611534565b915060408401356001600160401b038111156115bb57600080fd5b8401601f810186136115cc57600080fd5b80356115df6115da82611549565b6114a1565b8181528760208385010111156115f457600080fd5b816020840160208301376000602083830101528093505050509250925092565b60006020828403121561162657600080fd5b5035919050565b60006020828403121561163f57600080fd5b815161130d81611503565b600181811c9082168061165e57607f821691505b60208210810361167e57634e487b7160e01b600052602260045260246000fd5b50919050565b80516001600160601b038116811461169b57600080fd5b919050565b6000602082840312156116b257600080fd5b61130d82611684565b805161169b81611534565b6000604082840312156116d857600080fd5b6116e0611434565b9050815181526020820151602082015292915050565b60006101e0828403121561170957600080fd5b61171161145c565b61171a83611684565b815261172860208401611684565b6020820152611739604084016116bb565b604082015261174b84606085016116c6565b606082015261175d8460a085016116c6565b608082015261176f8460e085016116c6565b60a08201526117828461012085016116c6565b60c08201526117958461016085016116c6565b60e08201526117a8846101a085016116c6565b6101008201529392505050565b6001600160601b0383811682528251166020808301919091528201516102008201906117ec60408401826001600160601b03169052565b5060408301516001600160a01b038116606084015250606083015180516080840152602081015160a0840152506080830151805160c0840152602081015160e08401525060a083015161010061184e8185018380518252602090810151910152565b60c0850151805161014086015260209081015161016086015260e086015180516101808701528101516101a086015294015180516101c0850152909301516101e09092019190915292915050565b6000602082840312156118ae57600080fd5b5051919050565b6000602082840312156118c757600080fd5b815161130d81611534565b6000602082840312156118e457600080fd5b81516001600160401b038116811461130d57600080fd5b634e487b7160e01b600052603260045260246000fd5b60ff8116811461151457600080fd5b805161169b81611911565b60006020828403121561193d57600080fd5b815161130d81611911565b8051801515811461169b57600080fd5b60006020828403121561196a57600080fd5b61130d82611948565b600082601f83011261198457600080fd5b81516119926115da82611549565b8181528460208386010111156119a757600080fd5b6119b8826020830160208701611314565b949350505050565b6000602082840312156119d257600080fd5b81516001600160401b03808211156119e957600080fd5b9083019060e082860312156119fd57600080fd5b611a0561147f565b611a0e83611684565b8152611a1c60208401611684565b6020820152611a2d60408401611920565b6040820152611a3e60608401611948565b6060820152611a4f608084016116bb565b6080820152611a6060a084016116bb565b60a082015260c083015182811115611a7757600080fd5b611a8387828601611973565b60c0830152509594505050505056fe6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa300f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a004f61291a8ac3d020d0a7d919a76b8592aa88385744dee3f8b4f3873b969ed900a2646970667358221220df5ea377323d42b74e6cde95e92c09647dc01929b683d4b17bd375c51d193ce764736f6c63430008140033",
|
449
|
+
"deployedBytecode": "0x608060405234801561001057600080fd5b50600436106101215760003560e01c8063644c45e0116100ad578063b3c6501511610071578063b3c65015146103ea578063b88da7591461040a578063caf4e3d41461041d578063cde749f414610425578063cf7a1d771461043f57600080fd5b8063644c45e014610356578063893d20e814610376578063946dfcfe1461037e578063a3f4df7e146103a5578063a745e3df146103d757600080fd5b80631eff4b22116100f45780631eff4b22146101d25780633f52c0f6146101f55780634d459c901461020a5780634f421333146103235780635ab1bd531461033657600080fd5b806301ffc9a7146101265780630d8e6e2c146101685780630fec111c1461018457806317d7de7c1461019a575b600080fd5b6101536101343660046112e3565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b610170610452565b60405162ffffff909116815260200161015f565b61018c6104dc565b60405161015f929190611364565b604080518082019091526013815272446973747269627574696f6e5365727669636560681b60208201525b60405161015f919061140b565b6101e7600080516020611a9383398151915281565b60405190815260200161015f565b6102086102033660046114d1565b610643565b005b6102c6610218366004611517565b6040805160a081018252600080825260208201819052918101829052606081018290526080810191909152600080516020611ad383398151915262ffffff92831660009081526020918252604090819020815160a0810183528154958616815263010000009095046001600160a01b03908116938601939093526001015491821690840152600160a01b810464ffffffffff166060840152600160c81b900463ffffffff1660808301525090565b60408051825162ffffff1681526020808401516001600160a01b039081169183019190915283830151169181019190915260608083015164ffffffffff169082015260809182015163ffffffff169181019190915260a00161015f565b610153610331366004611517565b6107b6565b61033e610869565b6040516001600160a01b03909116815260200161015f565b61035e610885565b6040516001600160601b03909116815260200161015f565b61033e610900565b7f4f61291a8ac3d020d0a7d919a76b8592aa88385744dee3f8b4f3873b969ed901546101e7565b6101c560405180604001604052806013815260200172446973747269627574696f6e5365727669636560681b81525081565b6102086103e5366004611570565b61097b565b6103f2610ad5565b6040516001600160401b03909116815260200161015f565b610170610418366004611614565b610af6565b61033e610b47565b61042d610bf8565b60405160ff909116815260200161015f565b61020861044d366004611570565b610c7b565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af41580156104b3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104d7919061162d565b905090565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c081019190915260606000600080516020611a9383398151915290506040518060e0016040528061053f600090565b6001600160601b0390811682528354600160a01b908190049091166020830152600184015490810460ff9081166040840152600160a81b820416151560608301523060808301526001600160a01b031660a082015260028301805460c0909201916105a99061164a565b80601f01602080910402602001604051908101604052809291908181526020018280546105d59061164a565b80156106225780601f106105f757610100808354040283529160200191610622565b820191906000526020600020905b81548152906001019060200180831161060557829003601f168201915b50505050508152506040518060200160405280600081525092509250509091565b6000806106506078610d84565b8151604051639ae31ff560e01b81526001600160601b03909116600482015291935091506000906001600160a01b03831690639ae31ff590602401602060405180830381865afa1580156106a8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106cc91906116a0565b60405163f2b246c360e01b81526001600160601b03821660048201529091506000906001600160a01b0384169063f2b246c3906024016101e060405180830381865afa158015610720573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061074491906116f6565b61010081018690526040516306a5298b60e01b81529091506001600160a01b038416906306a5298b9061077d90859085906004016117b5565b600060405180830381600087803b15801561079757600080fd5b505af11580156107ab573d6000803e3d6000fd5b505050505050505050565b600080600080516020611ad383398151915262ffffff84166000908152602091909152604090819020600101549051631bbffab160e21b8152600160c81b90910463ffffffff16600482015273__$5f476116ae21c5294e0c0761c07efa7e1c$__90636effeac490602401602060405180830381865af415801561083e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610862919061189c565b1192915050565b600080516020611a93833981519152546001600160a01b031690565b6000600080516020611a9383398151915254604051636939560f60e11b81523060048201526001600160a01b039091169063d272ac1e90602401602060405180830381865afa1580156108dc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104d791906116a0565b6000600080516020611a9383398151915254604051630a57ebcf60e11b81523060048201526001600160a01b03909116906314afd79e90602401602060405180830381865afa158015610957573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104d791906118b5565b73__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__63a123b37c61099d610452565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af41580156109dd573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a0191906118d2565b600080516020611ab38339815191528054600160401b900460ff1680610a34575080546001600160401b03808416911610155b15610a525760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b178155610a7d858561106b565b610a86836112a6565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15050505050565b60006104d7600080516020611ab3833981519152546001600160401b031690565b6000600080516020611ad38339815191526001018281548110610b1b57610b1b6118fb565b90600052602060002090600a91828204019190066003029054906101000a900462ffffff169050919050565b600080610b52610869565b6001600160a01b031663a3bcd81d610b68610bf8565b604080516001600160e01b031960e085901b1681526004810191909152600f60448201526e52656769737472795365727669636560881b606482015260ff9091166024820152608401602060405180830381865afa158015610bce573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bf291906118b5565b92915050565b6000610c02610452565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af4158015610c57573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104d7919061192b565b600080516020611ab38339815191528054600160401b810460ff1615906001600160401b0316600081158015610cae5750825b90506000826001600160401b03166001148015610cca5750303b155b905081158015610cd8575080155b15610cf65760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315610d2057845460ff60401b1916600160401b1785555b610d2a888861106b565b610d3487876112a6565b8315610d7a57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b5050505050505050565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c08201529080610dc5610869565b604051636939560f60e11b81523360048201526001600160a01b03919091169063d272ac1e90602401602060405180830381865afa158015610e0b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e2f91906116a0565b6040516330b8415f60e01b81526001600160601b038216600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610e8a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610eae9190611958565b610eff5760405162461bcd60e51b815260206004820152601760248201527f4552524f525f434f4d504f4e454e545f554e4b4e4f574e00000000000000000060448201526064015b60405180910390fd5b610f07610869565b6040516305247a1760e51b81526001600160601b03831660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa158015610f56573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610f7e91908101906119c0565b9250610f9483604001518560ff90811691161490565b610fd65760405162461bcd60e51b815260206004820152601360248201527213d0929150d517d516541157d2539590531251606a1b6044820152606401610ef6565b6000610fe0610869565b60208501516040516305247a1760e51b81526001600160601b0390911660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa158015611035573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261105d91908101906119c0565b608001519395939450505050565b6110736112aa565b600080516020611ad383398151915260006110a3600080516020611ab3833981519152546001600160401b031690565b905060006110af610452565b9050816001600160401b03166001036110dc5760028301805462ffffff191662ffffff831617905561112a565b600283015462ffffff9081169082161161112a5760405162461bcd60e51b815260206004820152600f60248201526e24a72b20a624a2102b22a929a4a7a760891b6044820152606401610ef6565b6001808401805491820181556000908152602090819020600a808404909101805462ffffff808716600394909606939093026101000a858102930219169190911790556040805160a0810182529283526001600160a01b0380891692840192909252908616908201526060810161119e4290565b64ffffffffff1681526020014363ffffffff90811690915262ffffff8084166000908152602087815260409182902085518154928701516001600160a01b039081166301000000026001600160b81b0319909416919095161791909117815584820151600190910180546060870151608090970151909516600160c81b0263ffffffff60c81b1964ffffffffff909716600160a01b026001600160c81b031990961692909416919091179390931793909316179055517fad0a0fc10465a8dd9da3ad5f43e1a7fff4b4578551c76f0ae8deb844f0d0bf6890610ac69083908890889062ffffff9390931683526001600160a01b03918216602084015216604082015260600190565b6101215b600080516020611ab383398151915254600160401b900460ff166112e157604051631afcd79f60e31b815260040160405180910390fd5b565b6000602082840312156112f557600080fd5b81356001600160e01b03198116811461130d57600080fd5b9392505050565b60005b8381101561132f578181015183820152602001611317565b50506000910152565b60008151808452611350816020860160208601611314565b601f01601f19169290920160200192915050565b6040815260006001600160601b038085511660408401528060208601511660608401525060ff604085015116608083015260608401516113a860a084018215159052565b5060808401516001600160a01b03811660c08401525060a08401516001600160a01b03811660e08401525060c084015160e06101008401526113ee610120840182611338565b905082810360208401526114028185611338565b95945050505050565b60208152600061130d6020830184611338565b634e487b7160e01b600052604160045260246000fd5b604080519081016001600160401b03811182821017156114565761145661141e565b60405290565b60405161012081016001600160401b03811182821017156114565761145661141e565b60405160e081016001600160401b03811182821017156114565761145661141e565b604051601f8201601f191681016001600160401b03811182821017156114c9576114c961141e565b604052919050565b6000604082840312156114e357600080fd5b6114eb611434565b82358152602083013560208201528091505092915050565b62ffffff8116811461151457600080fd5b50565b60006020828403121561152957600080fd5b813561130d81611503565b6001600160a01b038116811461151457600080fd5b60006001600160401b038211156115625761156261141e565b50601f01601f191660200190565b60008060006060848603121561158557600080fd5b833561159081611534565b925060208401356115a081611534565b915060408401356001600160401b038111156115bb57600080fd5b8401601f810186136115cc57600080fd5b80356115df6115da82611549565b6114a1565b8181528760208385010111156115f457600080fd5b816020840160208301376000602083830101528093505050509250925092565b60006020828403121561162657600080fd5b5035919050565b60006020828403121561163f57600080fd5b815161130d81611503565b600181811c9082168061165e57607f821691505b60208210810361167e57634e487b7160e01b600052602260045260246000fd5b50919050565b80516001600160601b038116811461169b57600080fd5b919050565b6000602082840312156116b257600080fd5b61130d82611684565b805161169b81611534565b6000604082840312156116d857600080fd5b6116e0611434565b9050815181526020820151602082015292915050565b60006101e0828403121561170957600080fd5b61171161145c565b61171a83611684565b815261172860208401611684565b6020820152611739604084016116bb565b604082015261174b84606085016116c6565b606082015261175d8460a085016116c6565b608082015261176f8460e085016116c6565b60a08201526117828461012085016116c6565b60c08201526117958461016085016116c6565b60e08201526117a8846101a085016116c6565b6101008201529392505050565b6001600160601b0383811682528251166020808301919091528201516102008201906117ec60408401826001600160601b03169052565b5060408301516001600160a01b038116606084015250606083015180516080840152602081015160a0840152506080830151805160c0840152602081015160e08401525060a083015161010061184e8185018380518252602090810151910152565b60c0850151805161014086015260209081015161016086015260e086015180516101808701528101516101a086015294015180516101c0850152909301516101e09092019190915292915050565b6000602082840312156118ae57600080fd5b5051919050565b6000602082840312156118c757600080fd5b815161130d81611534565b6000602082840312156118e457600080fd5b81516001600160401b038116811461130d57600080fd5b634e487b7160e01b600052603260045260246000fd5b60ff8116811461151457600080fd5b805161169b81611911565b60006020828403121561193d57600080fd5b815161130d81611911565b8051801515811461169b57600080fd5b60006020828403121561196a57600080fd5b61130d82611948565b600082601f83011261198457600080fd5b81516119926115da82611549565b8181528460208386010111156119a757600080fd5b6119b8826020830160208701611314565b949350505050565b6000602082840312156119d257600080fd5b81516001600160401b03808211156119e957600080fd5b9083019060e082860312156119fd57600080fd5b611a0561147f565b611a0e83611684565b8152611a1c60208401611684565b6020820152611a2d60408401611920565b6040820152611a3e60608401611948565b6060820152611a4f608084016116bb565b6080820152611a6060a084016116bb565b60a082015260c083015182811115611a7757600080fd5b611a8387828601611973565b60c0830152509594505050505056fe6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa300f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a004f61291a8ac3d020d0a7d919a76b8592aa88385744dee3f8b4f3873b969ed900a2646970667358221220df5ea377323d42b74e6cde95e92c09647dc01929b683d4b17bd375c51d193ce764736f6c63430008140033",
|
450
|
+
"linkReferences": {
|
451
|
+
"contracts/types/Blocknumber.sol": {
|
452
|
+
"BlocknumberLib": [
|
453
|
+
{
|
454
|
+
"length": 20,
|
455
|
+
"start": 4188
|
456
|
+
}
|
457
|
+
]
|
458
|
+
},
|
459
|
+
"contracts/types/NftId.sol": {
|
460
|
+
"NftIdLib": [
|
461
|
+
{
|
462
|
+
"length": 20,
|
463
|
+
"start": 5800
|
464
|
+
}
|
465
|
+
]
|
466
|
+
},
|
467
|
+
"contracts/types/Version.sol": {
|
468
|
+
"VersionLib": [
|
469
|
+
{
|
470
|
+
"length": 20,
|
471
|
+
"start": 622
|
472
|
+
},
|
473
|
+
{
|
474
|
+
"length": 20,
|
475
|
+
"start": 1328
|
476
|
+
},
|
477
|
+
{
|
478
|
+
"length": 20,
|
479
|
+
"start": 3281
|
480
|
+
},
|
481
|
+
{
|
482
|
+
"length": 20,
|
483
|
+
"start": 4565
|
484
|
+
},
|
485
|
+
{
|
486
|
+
"length": 20,
|
487
|
+
"start": 5237
|
488
|
+
}
|
489
|
+
]
|
490
|
+
}
|
491
|
+
},
|
492
|
+
"deployedLinkReferences": {
|
493
|
+
"contracts/types/Blocknumber.sol": {
|
494
|
+
"BlocknumberLib": [
|
495
|
+
{
|
496
|
+
"length": 20,
|
497
|
+
"start": 2052
|
498
|
+
}
|
499
|
+
]
|
500
|
+
},
|
501
|
+
"contracts/types/NftId.sol": {
|
502
|
+
"NftIdLib": [
|
503
|
+
{
|
504
|
+
"length": 20,
|
505
|
+
"start": 3664
|
506
|
+
}
|
507
|
+
]
|
508
|
+
},
|
509
|
+
"contracts/types/Version.sol": {
|
510
|
+
"VersionLib": [
|
511
|
+
{
|
512
|
+
"length": 20,
|
513
|
+
"start": 1145
|
514
|
+
},
|
515
|
+
{
|
516
|
+
"length": 20,
|
517
|
+
"start": 2429
|
518
|
+
},
|
519
|
+
{
|
520
|
+
"length": 20,
|
521
|
+
"start": 3101
|
522
|
+
}
|
523
|
+
]
|
524
|
+
}
|
525
|
+
}
|
526
|
+
}
|