@etherisc/gif-next 0.0.2-cc253b3 → 0.0.2-cddad6b-504
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +178 -6
- package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.dbg.json +4 -0
- package/artifacts/contracts/components/{Component.sol/Component.json → BaseComponent.sol/BaseComponent.json} +48 -53
- package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +4 -0
- package/artifacts/contracts/components/Distribution.sol/Distribution.json +405 -0
- package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.dbg.json +4 -0
- package/artifacts/contracts/components/{IPool.sol/IPoolComponent.json → IBaseComponent.sol/IBaseComponent.json} +48 -53
- package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +4 -0
- package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.json +340 -0
- package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +4 -0
- package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.json +487 -0
- package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +4 -0
- package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.json +370 -0
- package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +1 -1
- package/artifacts/contracts/components/Pool.sol/Pool.json +405 -40
- package/artifacts/contracts/components/Product.sol/Product.dbg.json +1 -1
- package/artifacts/contracts/components/Product.sol/Product.json +258 -45
- 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 +1362 -247
- 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 +1682 -356
- package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.dbg.json +4 -0
- package/artifacts/contracts/instance/{component/IComponent.sol/IComponentModule.json → base/ComponentServiceBase.sol/ComponentServiceBase.json} +156 -101
- 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/IComponent.sol/IComponentContract.json → base/IService.sol/IService.json} +148 -27
- package/artifacts/contracts/instance/base/InstanceBase.sol/InstanceBase.dbg.json +4 -0
- package/artifacts/contracts/instance/base/InstanceBase.sol/InstanceBase.json +376 -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/{components/IProduct.sol/IProductComponent.json → instance/base/ServiceBase.sol/ServiceBase.json} +145 -37
- 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 +57 -62
- package/artifacts/contracts/instance/module/pool/PoolModule.sol/PoolModule.dbg.json +4 -0
- package/artifacts/contracts/instance/module/pool/PoolModule.sol/PoolModule.json +144 -0
- 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 +511 -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 +511 -0
- package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.json +531 -0
- package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +420 -0
- package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.json +364 -0
- package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +4 -0
- package/artifacts/contracts/instance/{component/ComponentModule.sol/ComponentModule.json → service/IDistributionService.sol/IDistributionService.json} +137 -139
- package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.json +440 -0
- package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/IProductService.sol/IProductService.json +630 -0
- package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +543 -0
- package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +858 -0
- package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
- package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +65 -2
- package/artifacts/contracts/registry/IChainNft.sol/IChainNft.dbg.json +1 -1
- package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
- package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +103 -77
- 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/Registry.sol/Registry.dbg.json +1 -1
- package/artifacts/contracts/registry/Registry.sol/Registry.json +194 -69
- package/artifacts/contracts/registry/RegistryUpgradeable.sol/RegistryUpgradeable.dbg.json +4 -0
- package/artifacts/contracts/registry/RegistryUpgradeable.sol/RegistryUpgradeable.json +495 -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/{registry/IRegistry.sol → shared/IRegisterable.sol}/IRegisterable.json +18 -63
- package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +4 -0
- package/artifacts/contracts/shared/IVersionable.sol/IVersionable.json +164 -0
- package/artifacts/contracts/shared/Proxy.sol/Proxy.dbg.json +4 -0
- package/artifacts/contracts/shared/Proxy.sol/Proxy.json +178 -0
- package/artifacts/contracts/shared/Proxy.sol/ProxyWithProxyAdminGetter.dbg.json +4 -0
- package/artifacts/contracts/shared/Proxy.sol/ProxyWithProxyAdminGetter.json +129 -0
- package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +4 -0
- package/artifacts/contracts/{registry/Registry.sol → shared/Registerable.sol}/Registerable.json +18 -63
- package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +4 -0
- package/artifacts/contracts/{instance/pool/PoolModule.sol/PoolModule.json → shared/Versionable.sol/Versionable.json} +74 -72
- package/artifacts/contracts/shared/VersionableUpgradeable.sol/VersionableUpgradeable.dbg.json +4 -0
- package/artifacts/contracts/shared/VersionableUpgradeable.sol/VersionableUpgradeable.json +187 -0
- package/artifacts/contracts/test/TestDistribution.sol/TestDistribution.dbg.json +4 -0
- package/artifacts/contracts/test/TestDistribution.sol/TestDistribution.json +405 -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 +578 -0
- package/artifacts/contracts/test/TestProduct.sol/TestProduct.dbg.json +4 -0
- package/artifacts/contracts/test/TestProduct.sol/TestProduct.json +575 -0
- package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +4 -0
- package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +137 -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 +379 -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 +206 -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 +139 -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 +94 -0
- package/contracts/components/Distribution.sol +132 -0
- package/contracts/components/IBaseComponent.sol +19 -0
- package/contracts/components/IDistributionComponent.sol +47 -0
- package/contracts/components/IPoolComponent.sol +71 -0
- package/contracts/components/IProductComponent.sol +38 -0
- package/contracts/components/Pool.sol +222 -16
- package/contracts/components/Product.sol +193 -32
- 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/README.md +112 -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 +41 -8
- package/contracts/instance/IInstanceLinked.sol +8 -0
- package/contracts/instance/Instance.sol +54 -44
- package/contracts/instance/base/ComponentServiceBase.sol +42 -0
- package/contracts/instance/base/IInstanceBase.sol +22 -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 +91 -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 +37 -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 +70 -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 +40 -0
- package/contracts/instance/module/pool/PoolModule.sol +90 -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 +82 -0
- package/contracts/instance/module/treasury/TokenHandler.sol +48 -0
- package/contracts/instance/module/treasury/TreasuryModule.sol +138 -0
- package/contracts/instance/service/ComponentOwnerService.sol +157 -0
- package/contracts/instance/service/DistributionService.sol +59 -0
- package/contracts/instance/service/IComponentOwnerService.sol +22 -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 +80 -94
- package/contracts/registry/IChainNft.sol +10 -7
- package/contracts/registry/IRegistry.sol +38 -51
- package/contracts/registry/IRegistryLinked.sol +8 -0
- package/contracts/registry/Registry.sol +310 -111
- package/contracts/registry/RegistryUpgradeable.sol +416 -0
- package/contracts/shared/ERC165.sol +21 -0
- package/contracts/shared/IOwnable.sol +6 -0
- package/contracts/shared/IRegisterable.sol +24 -0
- package/contracts/shared/IVersionable.sol +52 -0
- package/contracts/shared/Proxy.sol +83 -0
- package/contracts/shared/Registerable.sol +86 -0
- package/contracts/shared/Versionable.sol +89 -0
- package/contracts/shared/VersionableUpgradeable.sol +108 -0
- package/contracts/test/TestDistribution.sol +21 -0
- package/contracts/test/TestFee.sol +25 -0
- package/contracts/test/TestPool.sol +25 -0
- package/contracts/test/TestProduct.sol +72 -0
- package/contracts/test/TestRegisterable.sol +19 -0
- package/contracts/test/TestRoleId.sol +14 -0
- package/contracts/test/TestService.sol +32 -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 +95 -0
- package/package.json +19 -5
- package/artifacts/contracts/components/Component.sol/Component.dbg.json +0 -4
- package/artifacts/contracts/components/Component.sol/InstanceLinked.dbg.json +0 -4
- package/artifacts/contracts/components/Component.sol/InstanceLinked.json +0 -35
- package/artifacts/contracts/components/IPool.sol/IPoolComponent.dbg.json +0 -4
- package/artifacts/contracts/components/IProduct.sol/IProductComponent.dbg.json +0 -4
- package/artifacts/contracts/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/IComponentModule.dbg.json +0 -4
- 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/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,495 @@
|
|
1
|
+
{
|
2
|
+
"_format": "hh-sol-artifact-1",
|
3
|
+
"contractName": "RegistryUpgradeable",
|
4
|
+
"sourceName": "contracts/registry/RegistryUpgradeable.sol",
|
5
|
+
"abi": [
|
6
|
+
{
|
7
|
+
"inputs": [],
|
8
|
+
"name": "InvalidInitialization",
|
9
|
+
"type": "error"
|
10
|
+
},
|
11
|
+
{
|
12
|
+
"inputs": [],
|
13
|
+
"name": "NotInitializing",
|
14
|
+
"type": "error"
|
15
|
+
},
|
16
|
+
{
|
17
|
+
"anonymous": false,
|
18
|
+
"inputs": [
|
19
|
+
{
|
20
|
+
"indexed": false,
|
21
|
+
"internalType": "uint64",
|
22
|
+
"name": "version",
|
23
|
+
"type": "uint64"
|
24
|
+
}
|
25
|
+
],
|
26
|
+
"name": "Initialized",
|
27
|
+
"type": "event"
|
28
|
+
},
|
29
|
+
{
|
30
|
+
"inputs": [],
|
31
|
+
"name": "EMPTY_URI",
|
32
|
+
"outputs": [
|
33
|
+
{
|
34
|
+
"internalType": "string",
|
35
|
+
"name": "",
|
36
|
+
"type": "string"
|
37
|
+
}
|
38
|
+
],
|
39
|
+
"stateMutability": "view",
|
40
|
+
"type": "function"
|
41
|
+
},
|
42
|
+
{
|
43
|
+
"inputs": [],
|
44
|
+
"name": "getChainNft",
|
45
|
+
"outputs": [
|
46
|
+
{
|
47
|
+
"internalType": "contract IChainNft",
|
48
|
+
"name": "",
|
49
|
+
"type": "address"
|
50
|
+
}
|
51
|
+
],
|
52
|
+
"stateMutability": "view",
|
53
|
+
"type": "function"
|
54
|
+
},
|
55
|
+
{
|
56
|
+
"inputs": [],
|
57
|
+
"name": "getData",
|
58
|
+
"outputs": [
|
59
|
+
{
|
60
|
+
"internalType": "bytes",
|
61
|
+
"name": "data",
|
62
|
+
"type": "bytes"
|
63
|
+
}
|
64
|
+
],
|
65
|
+
"stateMutability": "pure",
|
66
|
+
"type": "function"
|
67
|
+
},
|
68
|
+
{
|
69
|
+
"inputs": [
|
70
|
+
{
|
71
|
+
"internalType": "NftId",
|
72
|
+
"name": "nftId",
|
73
|
+
"type": "uint96"
|
74
|
+
}
|
75
|
+
],
|
76
|
+
"name": "getName",
|
77
|
+
"outputs": [
|
78
|
+
{
|
79
|
+
"internalType": "string",
|
80
|
+
"name": "name",
|
81
|
+
"type": "string"
|
82
|
+
}
|
83
|
+
],
|
84
|
+
"stateMutability": "view",
|
85
|
+
"type": "function"
|
86
|
+
},
|
87
|
+
{
|
88
|
+
"inputs": [],
|
89
|
+
"name": "getNftId",
|
90
|
+
"outputs": [
|
91
|
+
{
|
92
|
+
"internalType": "NftId",
|
93
|
+
"name": "nftId",
|
94
|
+
"type": "uint96"
|
95
|
+
}
|
96
|
+
],
|
97
|
+
"stateMutability": "view",
|
98
|
+
"type": "function"
|
99
|
+
},
|
100
|
+
{
|
101
|
+
"inputs": [
|
102
|
+
{
|
103
|
+
"internalType": "address",
|
104
|
+
"name": "object",
|
105
|
+
"type": "address"
|
106
|
+
}
|
107
|
+
],
|
108
|
+
"name": "getNftId",
|
109
|
+
"outputs": [
|
110
|
+
{
|
111
|
+
"internalType": "NftId",
|
112
|
+
"name": "id",
|
113
|
+
"type": "uint96"
|
114
|
+
}
|
115
|
+
],
|
116
|
+
"stateMutability": "view",
|
117
|
+
"type": "function"
|
118
|
+
},
|
119
|
+
{
|
120
|
+
"inputs": [],
|
121
|
+
"name": "getObjectCount",
|
122
|
+
"outputs": [
|
123
|
+
{
|
124
|
+
"internalType": "uint256",
|
125
|
+
"name": "",
|
126
|
+
"type": "uint256"
|
127
|
+
}
|
128
|
+
],
|
129
|
+
"stateMutability": "view",
|
130
|
+
"type": "function"
|
131
|
+
},
|
132
|
+
{
|
133
|
+
"inputs": [
|
134
|
+
{
|
135
|
+
"internalType": "NftId",
|
136
|
+
"name": "nftId",
|
137
|
+
"type": "uint96"
|
138
|
+
}
|
139
|
+
],
|
140
|
+
"name": "getObjectInfo",
|
141
|
+
"outputs": [
|
142
|
+
{
|
143
|
+
"components": [
|
144
|
+
{
|
145
|
+
"internalType": "NftId",
|
146
|
+
"name": "nftId",
|
147
|
+
"type": "uint96"
|
148
|
+
},
|
149
|
+
{
|
150
|
+
"internalType": "NftId",
|
151
|
+
"name": "parentNftId",
|
152
|
+
"type": "uint96"
|
153
|
+
},
|
154
|
+
{
|
155
|
+
"internalType": "ObjectType",
|
156
|
+
"name": "objectType",
|
157
|
+
"type": "uint8"
|
158
|
+
},
|
159
|
+
{
|
160
|
+
"internalType": "address",
|
161
|
+
"name": "objectAddress",
|
162
|
+
"type": "address"
|
163
|
+
},
|
164
|
+
{
|
165
|
+
"internalType": "address",
|
166
|
+
"name": "initialOwner",
|
167
|
+
"type": "address"
|
168
|
+
},
|
169
|
+
{
|
170
|
+
"internalType": "bytes",
|
171
|
+
"name": "data",
|
172
|
+
"type": "bytes"
|
173
|
+
}
|
174
|
+
],
|
175
|
+
"internalType": "struct IRegistry.ObjectInfo",
|
176
|
+
"name": "info",
|
177
|
+
"type": "tuple"
|
178
|
+
}
|
179
|
+
],
|
180
|
+
"stateMutability": "view",
|
181
|
+
"type": "function"
|
182
|
+
},
|
183
|
+
{
|
184
|
+
"inputs": [],
|
185
|
+
"name": "getOwner",
|
186
|
+
"outputs": [
|
187
|
+
{
|
188
|
+
"internalType": "address",
|
189
|
+
"name": "owner",
|
190
|
+
"type": "address"
|
191
|
+
}
|
192
|
+
],
|
193
|
+
"stateMutability": "view",
|
194
|
+
"type": "function"
|
195
|
+
},
|
196
|
+
{
|
197
|
+
"inputs": [
|
198
|
+
{
|
199
|
+
"internalType": "NftId",
|
200
|
+
"name": "nftId",
|
201
|
+
"type": "uint96"
|
202
|
+
}
|
203
|
+
],
|
204
|
+
"name": "getOwner",
|
205
|
+
"outputs": [
|
206
|
+
{
|
207
|
+
"internalType": "address",
|
208
|
+
"name": "",
|
209
|
+
"type": "address"
|
210
|
+
}
|
211
|
+
],
|
212
|
+
"stateMutability": "view",
|
213
|
+
"type": "function"
|
214
|
+
},
|
215
|
+
{
|
216
|
+
"inputs": [],
|
217
|
+
"name": "getParentNftId",
|
218
|
+
"outputs": [
|
219
|
+
{
|
220
|
+
"internalType": "NftId",
|
221
|
+
"name": "nftId",
|
222
|
+
"type": "uint96"
|
223
|
+
}
|
224
|
+
],
|
225
|
+
"stateMutability": "view",
|
226
|
+
"type": "function"
|
227
|
+
},
|
228
|
+
{
|
229
|
+
"inputs": [],
|
230
|
+
"name": "getProtocolOwner",
|
231
|
+
"outputs": [
|
232
|
+
{
|
233
|
+
"internalType": "address",
|
234
|
+
"name": "",
|
235
|
+
"type": "address"
|
236
|
+
}
|
237
|
+
],
|
238
|
+
"stateMutability": "view",
|
239
|
+
"type": "function"
|
240
|
+
},
|
241
|
+
{
|
242
|
+
"inputs": [],
|
243
|
+
"name": "getRegistry",
|
244
|
+
"outputs": [
|
245
|
+
{
|
246
|
+
"internalType": "contract IRegistry",
|
247
|
+
"name": "registry",
|
248
|
+
"type": "address"
|
249
|
+
}
|
250
|
+
],
|
251
|
+
"stateMutability": "view",
|
252
|
+
"type": "function"
|
253
|
+
},
|
254
|
+
{
|
255
|
+
"inputs": [
|
256
|
+
{
|
257
|
+
"internalType": "string",
|
258
|
+
"name": "serviceName",
|
259
|
+
"type": "string"
|
260
|
+
},
|
261
|
+
{
|
262
|
+
"internalType": "VersionPart",
|
263
|
+
"name": "majorVersion",
|
264
|
+
"type": "uint8"
|
265
|
+
}
|
266
|
+
],
|
267
|
+
"name": "getServiceAddress",
|
268
|
+
"outputs": [
|
269
|
+
{
|
270
|
+
"internalType": "address",
|
271
|
+
"name": "serviceAddress",
|
272
|
+
"type": "address"
|
273
|
+
}
|
274
|
+
],
|
275
|
+
"stateMutability": "view",
|
276
|
+
"type": "function"
|
277
|
+
},
|
278
|
+
{
|
279
|
+
"inputs": [],
|
280
|
+
"name": "getType",
|
281
|
+
"outputs": [
|
282
|
+
{
|
283
|
+
"internalType": "ObjectType",
|
284
|
+
"name": "objectType",
|
285
|
+
"type": "uint8"
|
286
|
+
}
|
287
|
+
],
|
288
|
+
"stateMutability": "pure",
|
289
|
+
"type": "function"
|
290
|
+
},
|
291
|
+
{
|
292
|
+
"inputs": [
|
293
|
+
{
|
294
|
+
"internalType": "address",
|
295
|
+
"name": "chainNft",
|
296
|
+
"type": "address"
|
297
|
+
},
|
298
|
+
{
|
299
|
+
"internalType": "address",
|
300
|
+
"name": "protocolOwner",
|
301
|
+
"type": "address"
|
302
|
+
}
|
303
|
+
],
|
304
|
+
"name": "initialize",
|
305
|
+
"outputs": [],
|
306
|
+
"stateMutability": "nonpayable",
|
307
|
+
"type": "function"
|
308
|
+
},
|
309
|
+
{
|
310
|
+
"inputs": [
|
311
|
+
{
|
312
|
+
"internalType": "address",
|
313
|
+
"name": "object",
|
314
|
+
"type": "address"
|
315
|
+
}
|
316
|
+
],
|
317
|
+
"name": "isRegistered",
|
318
|
+
"outputs": [
|
319
|
+
{
|
320
|
+
"internalType": "bool",
|
321
|
+
"name": "",
|
322
|
+
"type": "bool"
|
323
|
+
}
|
324
|
+
],
|
325
|
+
"stateMutability": "view",
|
326
|
+
"type": "function"
|
327
|
+
},
|
328
|
+
{
|
329
|
+
"inputs": [
|
330
|
+
{
|
331
|
+
"internalType": "NftId",
|
332
|
+
"name": "nftId",
|
333
|
+
"type": "uint96"
|
334
|
+
}
|
335
|
+
],
|
336
|
+
"name": "isRegistered",
|
337
|
+
"outputs": [
|
338
|
+
{
|
339
|
+
"internalType": "bool",
|
340
|
+
"name": "",
|
341
|
+
"type": "bool"
|
342
|
+
}
|
343
|
+
],
|
344
|
+
"stateMutability": "view",
|
345
|
+
"type": "function"
|
346
|
+
},
|
347
|
+
{
|
348
|
+
"inputs": [],
|
349
|
+
"name": "register",
|
350
|
+
"outputs": [
|
351
|
+
{
|
352
|
+
"internalType": "NftId",
|
353
|
+
"name": "nftId",
|
354
|
+
"type": "uint96"
|
355
|
+
}
|
356
|
+
],
|
357
|
+
"stateMutability": "pure",
|
358
|
+
"type": "function"
|
359
|
+
},
|
360
|
+
{
|
361
|
+
"inputs": [
|
362
|
+
{
|
363
|
+
"internalType": "address",
|
364
|
+
"name": "objectAddress",
|
365
|
+
"type": "address"
|
366
|
+
}
|
367
|
+
],
|
368
|
+
"name": "register",
|
369
|
+
"outputs": [
|
370
|
+
{
|
371
|
+
"internalType": "NftId",
|
372
|
+
"name": "nftId",
|
373
|
+
"type": "uint96"
|
374
|
+
}
|
375
|
+
],
|
376
|
+
"stateMutability": "nonpayable",
|
377
|
+
"type": "function"
|
378
|
+
},
|
379
|
+
{
|
380
|
+
"inputs": [
|
381
|
+
{
|
382
|
+
"internalType": "NftId",
|
383
|
+
"name": "parentNftId",
|
384
|
+
"type": "uint96"
|
385
|
+
},
|
386
|
+
{
|
387
|
+
"internalType": "ObjectType",
|
388
|
+
"name": "objectType",
|
389
|
+
"type": "uint8"
|
390
|
+
},
|
391
|
+
{
|
392
|
+
"internalType": "address",
|
393
|
+
"name": "initialOwner",
|
394
|
+
"type": "address"
|
395
|
+
},
|
396
|
+
{
|
397
|
+
"internalType": "bytes",
|
398
|
+
"name": "data",
|
399
|
+
"type": "bytes"
|
400
|
+
}
|
401
|
+
],
|
402
|
+
"name": "registerObjectForInstance",
|
403
|
+
"outputs": [
|
404
|
+
{
|
405
|
+
"internalType": "NftId",
|
406
|
+
"name": "nftId",
|
407
|
+
"type": "uint96"
|
408
|
+
}
|
409
|
+
],
|
410
|
+
"stateMutability": "nonpayable",
|
411
|
+
"type": "function"
|
412
|
+
},
|
413
|
+
{
|
414
|
+
"inputs": [
|
415
|
+
{
|
416
|
+
"internalType": "bytes4",
|
417
|
+
"name": "interfaceId",
|
418
|
+
"type": "bytes4"
|
419
|
+
}
|
420
|
+
],
|
421
|
+
"name": "supportsInterface",
|
422
|
+
"outputs": [
|
423
|
+
{
|
424
|
+
"internalType": "bool",
|
425
|
+
"name": "",
|
426
|
+
"type": "bool"
|
427
|
+
}
|
428
|
+
],
|
429
|
+
"stateMutability": "pure",
|
430
|
+
"type": "function"
|
431
|
+
}
|
432
|
+
],
|
433
|
+
"bytecode": "0x608060405234801561001057600080fd5b50612743806100206000396000f3fe608060405234801561001057600080fd5b50600436106101425760003560e01c80635ef14b5e116100b8578063bc36dc911161007c578063bc36dc911461029f578063c3c5a547146102a7578063d272ac1e146102ba578063df33330b146102cd578063e74d052f146102e0578063f16f93c2146102f357600080fd5b80635ef14b5e14610249578063644c45e01461025c578063893d20e814610264578063a3bcd81d1461026c578063a48f42e01461027f57600080fd5b806331b62a3b1161010a57806331b62a3b146101e05780633bc5de30146101e85780633fe9300e146102055780634420e4861461021b578063485cc9551461022e5780635ab1bd531461024357600080fd5b8063015654ff1461014757806301ffc9a71461016c57806315dae03e146101a05780631a848cfb146101af5780631aa3a008146101c5575b600080fd5b61014f610306565b6040516001600160a01b0390911681526020015b60405180910390f35b61019061017a36600461214e565b6001600160e01b0319166306ecd8ef60e01b1490565b6040519015158152602001610163565b60405160148152602001610163565b6101b7610327565b604051908152602001610163565b60005b6040516001600160601b039091168152602001610163565b6101c86103a9565b6040805160208101909152600081525b60405161016391906121cf565b6101f86040518060200160405280600081525081565b6101c86102293660046121fa565b610485565b61024161023c366004612217565b610c77565b005b3061014f565b6101c8610257366004612321565b610e9a565b6101c8611119565b61014f611135565b61014f61027a3660046123aa565b61124a565b61029261028d366004612405565b6112ad565b6040516101639190612422565b61014f6113f1565b6101906102b53660046121fa565b611414565b6101c86102c83660046121fa565b6114c0565b61014f6102db366004612405565b6114f5565b6101906102ee366004612405565b6115ff565b6101f8610301366004612405565b611665565b600061031061171b565b600901546001600160a01b0316919050565b905090565b600061033161171b565b600601600c9054906101000a90046001600160a01b03166001600160a01b03166318160ddd6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610385573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103229190612495565b6000806103b461171b565b90504660010361043857600781015460408051632cc7144960e11b81529051610432926001600160a01b03169163598e28929160048083019260209291908290030181865afa15801561040b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061042f9190612495565b90565b91505090565b600781015460408051632e85b1f360e01b81529051610432926001600160a01b031691632e85b1f39160048083019260209291908290030181865afa15801561040b573d6000803e3d6000fd5b60008061049061171b565b6001600160a01b038416600090815260018201602052604090819020549051630a4d29dd60e31b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906352694ee890602401602060405180830381865af4158015610508573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061052c91906124ae565b61057d5760405162461bcd60e51b815260206004820181905260248201527f4552524f523a5245472d3030323a414c52454144595f5245474953544552454460448201526064015b60405180910390fd5b6040516301ffc9a760e01b8152631dfba64760e11b600482015283906001600160a01b038216906301ffc9a790602401602060405180830381865afa1580156105ca573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105ee91906124ae565b61063a5760405162461bcd60e51b815260206004820152601e60248201527f4552524f523a5245472d3030333a4e4f545f524547495354455241424c4500006044820152606401610574565b6000816001600160a01b03166315dae03e6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561067a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061069e91906124d0565b60ff8082166000908152600286016020526040902054919250166107045760405162461bcd60e51b815260206004820152601a60248201527f4552524f523a5245472d3030343a545950455f494e56414c49440000000000006044820152606401610574565b6000826001600160a01b03166331b62a3b6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610744573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061076891906124ed565b9050610773816115ff565b6107cb5760405162461bcd60e51b815260206004820152602360248201527f4552524f523a5245472d3030353a504152454e545f4e4f545f5245474953544560448201526214915160ea1b6064820152608401610574565b60ff808316600090815260038601602090815260408083206001600160601b038616845288835281842054600160c01b9004851684529091529020541661085e5760405162461bcd60e51b815260206004820152602160248201527f4552524f523a5245472d3030363a504152454e545f545950455f494e56414c496044820152601160fa1b6064820152608401610574565b600084600601600c9054906101000a90046001600160a01b03166001600160a01b031663d0def521856001600160a01b031663893d20e86040518163ffffffff1660e01b8152600401602060405180830381865afa1580156108c4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108e8919061250a565b604051806020016040528060008152506040518363ffffffff1660e01b8152600401610915929190612527565b6020604051808303816000875af1158015610934573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109589190612495565b90508095506109d0846001600160a01b03166315dae03e6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561099e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109c291906124d0565b60285b60ff90811691161490565b15610c63576040516301ffc9a760e01b8152631b4612f160e31b600482015287906001600160a01b038216906301ffc9a790602401602060405180830381865afa158015610a22573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a4691906124ae565b610a925760405162461bcd60e51b815260206004820152601960248201527f4552524f523a5245472d3030373a4e4f545f53455256494345000000000000006044820152606401610574565b6000816001600160a01b03166317d7de7c6040518163ffffffff1660e01b8152600401600060405180830381865afa158015610ad2573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610afa919081019061257b565b90506000826001600160a01b031663cde749f46040518163ffffffff1660e01b8152600401602060405180830381865afa158015610b3c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b6091906124d0565b9050600082604051602001610b7591906121cf565b60408051601f1981840301815291815281516020928301206001600160601b038d16600090815260048d019093529120909150610bb2848261264d565b50600081815260058a016020908152604080832060ff861684529091529020546001600160a01b031615610c285760405162461bcd60e51b815260206004820181905260248201527f4552524f523a5245472d3030383a414c52454144595f524547495354455245446044820152606401610574565b6000908152600589016020908152604080832060ff9490941683529290522080546001600160a01b0319166001600160a01b038b1617905550505b610c6d848761173f565b5050505050919050565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b810460ff16159067ffffffffffffffff16600081158015610cbd5750825b905060008267ffffffffffffffff166001148015610cda5750303b155b905081158015610ce8575080155b15610d065760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315610d3057845460ff60401b1916600160401b1785555b6000610d3a61171b565b6006810154909150600160601b90046001600160a01b031615610da95760405162461bcd60e51b815260206004820152602160248201527f4552524f523a5245472d3030313a414c52454144595f494e495449414c495a456044820152601160fa1b6064820152608401610574565b600881018054336001600160a01b03199182161790915560098201805482166001600160a01b038a8116919091179091556006830180546001600160601b0316600160601b928c16928302179055600783018054909216179055610e0b611a23565b610e13611c36565b6006820180546bffffffffffffffffffffffff19166001600160601b0392909216919091179055610e42611dbd565b610e4a611ea0565b508315610e9157845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50505050505050565b600080610ea561171b565b9050610eb28560d26109c5565b80610ec35750610ec38560dc6109c5565b610f0f5760405162461bcd60e51b815260206004820152601a60248201527f4552524f523a5245472d3031303a545950455f494e56414c49440000000000006044820152606401610574565b6006810154604080516020810182526000808252915163d0def52160e01b81529192600160601b90046001600160a01b03169163d0def52191610f5791899190600401612527565b6020604051808303816000875af1158015610f76573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f9a9190612495565b905080925060006040518060c00160405280856001600160601b03168152602001896001600160601b031681526020018860ff16815260200160006001600160a01b03168152602001876001600160a01b0316815260200186815250905080836000016000866001600160601b03166001600160601b0316815260200190815260200160002060008201518160000160006101000a8154816001600160601b0302191690836001600160601b03160217905550602082015181600001600c6101000a8154816001600160601b0302191690836001600160601b0316021790555060408201518160000160186101000a81548160ff021916908360ff16021790555060608201518160010160006101000a8154816001600160a01b0302191690836001600160a01b0316021790555060808201518160020160006101000a8154816001600160a01b0302191690836001600160a01b0316021790555060a082015181600301908161110a919061264d565b50905050505050949350505050565b600061112361171b565b600601546001600160601b0316919050565b60008061114061171b565b60068101546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af41580156111a1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111c591906124ae565b6111dc5760088101546001600160a01b0316610432565b600681015460405163df33330b60e01b81526001600160601b039091166004820152309063df33330b90602401602060405180830381865afa158015611226573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610432919061250a565b6000808360405160200161125e91906121cf565b60405160208183030381529060405280519060200120905061127e61171b565b60009182526005016020908152604080832060ff861684529091529020546001600160a01b0316905092915050565b6040805160c0810182526000808252602082018190529181018290526060808201839052608082019290925260a08101919091526112e961171b565b6001600160601b0383811660009081526020928352604090819020815160c08101835281548085168252600160601b810490941694810194909452600160c01b90920460ff169083015260018101546001600160a01b039081166060840152600282015416608083015260038101805460a084019190611368906125c4565b80601f0160208091040260200160405190810160405280929190818152602001828054611394906125c4565b80156113e15780601f106113b6576101008083540402835291602001916113e1565b820191906000526020600020905b8154815290600101906020018083116113c457829003601f168201915b5050505050815250509050919050565b60006113fb61171b565b60060154600160601b90046001600160a01b0316919050565b600061141e61171b565b6001600160a01b03831660009081526001919091016020526040908190205490516330b8415f60e01b81526001600160601b03909116600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f906024015b602060405180830381865af4158015611496573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114ba91906124ae565b92915050565b60006114ca61171b565b6001600160a01b0390921660009081526001929092016020525060409020546001600160601b031690565b60006114ff61171b565b6006015460405163046e44af60e11b81526001600160601b0384166004820152600160601b9091046001600160a01b031690636352211e9073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906308dc895e90602401602060405180830381865af4158015611573573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061159791906124ed565b6040516001600160e01b031960e084901b1681526001600160601b039091166004820152602401602060405180830381865afa1580156115db573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114ba919061250a565b600061160961171b565b6001600160601b038316600090815260209190915260409081902054905163b2466acf60e01b8152600160c01b90910460ff16600482015273__$fb4566b39bd2075cb32f600f6f40bfaef2$__9063b2466acf90602401611479565b606061166f61171b565b6001600160601b0383166000908152600491909101602052604090208054611696906125c4565b80601f01602080910402602001604051908101604052809291908181526020018280546116c2906125c4565b801561170f5780601f106116e45761010080835404028352916020019161170f565b820191906000526020600020905b8154815290600101906020018083116116f257829003601f168201915b50505050509050919050565b7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090565b600061174961171b565b9050600083905060006040518060c00160405280856001600160601b03168152602001866001600160a01b03166331b62a3b6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156117aa573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117ce91906124ed565b6001600160601b03168152602001866001600160a01b03166315dae03e6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561181a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061183e91906124d0565b60ff168152602001836001600160a01b03168152602001866001600160a01b031663893d20e86040518163ffffffff1660e01b8152600401602060405180830381865afa158015611893573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118b7919061250a565b6001600160a01b03168152602001866001600160a01b0316633bc5de306040518163ffffffff1660e01b8152600401600060405180830381865afa158015611903573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261192b919081019061257b565b90526001600160601b038086166000908152602086815260409182902084518154928601519386015160ff16600160c01b0260ff60c01b19948616600160601b026001600160c01b03199094169190951617919091179190911691909117815560608201516001820180546001600160a01b039283166001600160a01b031991821617909155608084015160028401805491909316911617905560a0820151919250829160038201906119de908261264d565b505050506001600160a01b031660009081526001919091016020526040902080546bffffffffffffffffffffffff19166001600160601b039290921691909117905550565b6000611a2d61171b565b905060008160070160009054906101000a90046001600160a01b03166001600160a01b031663598e28926040518163ffffffff1660e01b8152600401602060405180830381865afa158015611a86573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611aaa9190612495565b600783015460098401546040516340c10f1960e01b81526001600160a01b0391821660048201526024810184905292935016906340c10f1990604401600060405180830381600087803b158015611b0057600080fd5b505af1158015611b14573d6000803e3d6000fd5b505050506000611b218290565b905060006040518060c00160405280836001600160601b03168152602001611b47600090565b6001600160601b03168152602001600a5b60ff90811682526000602080840182905260098901546001600160a01b03908116604080870191909152805180840182528481526060968701526001600160601b03808a1685528b845293819020875181549489015192890151909616600160c01b0260ff60c01b19928616600160601b026001600160c01b031990951696909516959095179290921791909116919091178255918301516001820180549184166001600160a01b031992831617905560808401516002830180549190941691161790915560a082015191925082916003820190610e91908261264d565b600080611c4161171b565b6007810154604051630559ea4760e01b8152600260048201529192506000916001600160a01b0390911690630559ea4790602401602060405180830381865afa158015611c92573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611cb69190612495565b90508092508160070160009054906101000a90046001600160a01b03166001600160a01b0316632e85b1f36040518163ffffffff1660e01b8152600401602060405180830381865afa158015611d10573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611d349190612495565b8114611d4257611d42611fc5565b600782015460098301546040516340c10f1960e01b81526001600160a01b039182166004820152602481018490529116906340c10f1990604401600060405180830381600087803b158015611d9657600080fd5b505af1158015611daa573d6000803e3d6000fd5b50505050611db8308461173f565b505090565b6000611dc761171b565b6014600090815260028201602081905260408083208054600160ff199182168117909255601e85528285208054821683179055602885528285208054821683179055603285528285208054821683179055603c85528285208054821683179055606e85528285208054821683179055608285528285208054821683179055608c8552828520805482168317905560788552828520805482168317905560d28552918420805490921681179091559293509060dc5b60ff1681526020810191909152604001600020805460ff191691151591909117905550565b6000611eaa61171b565b601e6000908152600382016020818152604080842060148086529083528185208054600160ff199182168117909255602887528585528387208388528552838720805482168317905560328088528686528488209388529285528387208054821683179055606e8088528686528488208489528652848820805483168417905560788852868652848820848952865284882080548316841790556082885286865284882084895286528488208054831684179055608c808952878752858920948952938652848820805483168417905560d288528686528488209088528552838720805482168317905560dc87528585528387208388528552838720805490911682179055603c865293909252832093945090929190611e7b565b6000611fcf61171b565b905060008160070160009054906101000a90046001600160a01b03166001600160a01b0316632e85b1f36040518163ffffffff1660e01b8152600401602060405180830381865afa158015612028573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061204c9190612495565b600783015460098401546040516340c10f1960e01b81526001600160a01b0391821660048201526024810184905292935016906340c10f1990604401600060405180830381600087803b1580156120a257600080fd5b505af11580156120b6573d6000803e3d6000fd5b5050505060006120c38290565b905060006040518060c00160405280836001600160601b031681526020016121398660070160009054906101000a90046001600160a01b03166001600160a01b031663598e28926040518163ffffffff1660e01b8152600401602060405180830381865afa15801561040b573d6000803e3d6000fd5b6001600160601b031681526020016014611b58565b60006020828403121561216057600080fd5b81356001600160e01b03198116811461217857600080fd5b9392505050565b60005b8381101561219a578181015183820152602001612182565b50506000910152565b600081518084526121bb81602086016020860161217f565b601f01601f19169290920160200192915050565b60208152600061217860208301846121a3565b6001600160a01b03811681146121f757600080fd5b50565b60006020828403121561220c57600080fd5b8135612178816121e2565b6000806040838503121561222a57600080fd5b8235612235816121e2565b91506020830135612245816121e2565b809150509250929050565b6001600160601b03811681146121f757600080fd5b60ff811681146121f757600080fd5b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff811182821017156122b3576122b3612274565b604052919050565b600067ffffffffffffffff8211156122d5576122d5612274565b50601f01601f191660200190565b60006122f66122f1846122bb565b61228a565b905082815283838301111561230a57600080fd5b828260208301376000602084830101529392505050565b6000806000806080858703121561233757600080fd5b843561234281612250565b9350602085013561235281612265565b92506040850135612362816121e2565b9150606085013567ffffffffffffffff81111561237e57600080fd5b8501601f8101871361238f57600080fd5b61239e878235602084016122e3565b91505092959194509250565b600080604083850312156123bd57600080fd5b823567ffffffffffffffff8111156123d457600080fd5b8301601f810185136123e557600080fd5b6123f4858235602084016122e3565b925050602083013561224581612265565b60006020828403121561241757600080fd5b813561217881612250565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff6040840151166060830152606083015160018060a01b0380821660808501528060808601511660a0850152505060a083015160c08084015261248d60e08401826121a3565b949350505050565b6000602082840312156124a757600080fd5b5051919050565b6000602082840312156124c057600080fd5b8151801515811461217857600080fd5b6000602082840312156124e257600080fd5b815161217881612265565b6000602082840312156124ff57600080fd5b815161217881612250565b60006020828403121561251c57600080fd5b8151612178816121e2565b6001600160a01b038316815260406020820181905260009061248d908301846121a3565b60006125596122f1846122bb565b905082815283838301111561256d57600080fd5b61217883602083018461217f565b60006020828403121561258d57600080fd5b815167ffffffffffffffff8111156125a457600080fd5b8201601f810184136125b557600080fd5b61248d8482516020840161254b565b600181811c908216806125d857607f821691505b6020821081036125f857634e487b7160e01b600052602260045260246000fd5b50919050565b601f82111561264857600081815260208120601f850160051c810160208610156126255750805b601f850160051c820191505b8181101561264457828155600101612631565b5050505b505050565b815167ffffffffffffffff81111561266757612667612274565b61267b8161267584546125c4565b846125fe565b602080601f8311600181146126b057600084156126985750858301515b600019600386901b1c1916600185901b178555612644565b600085815260208120601f198616915b828110156126df578886015182559484019460019091019084016126c0565b50858210156126fd5787850151600019600388901b60f8161c191681555b5050505050600190811b0190555056fea26469706673582212203d1b70d2ac287cc1326eedd9aff4913d065069c390ac6f65a21a7e1751ec9fd864736f6c63430008140033",
|
434
|
+
"deployedBytecode": "0x608060405234801561001057600080fd5b50600436106101425760003560e01c80635ef14b5e116100b8578063bc36dc911161007c578063bc36dc911461029f578063c3c5a547146102a7578063d272ac1e146102ba578063df33330b146102cd578063e74d052f146102e0578063f16f93c2146102f357600080fd5b80635ef14b5e14610249578063644c45e01461025c578063893d20e814610264578063a3bcd81d1461026c578063a48f42e01461027f57600080fd5b806331b62a3b1161010a57806331b62a3b146101e05780633bc5de30146101e85780633fe9300e146102055780634420e4861461021b578063485cc9551461022e5780635ab1bd531461024357600080fd5b8063015654ff1461014757806301ffc9a71461016c57806315dae03e146101a05780631a848cfb146101af5780631aa3a008146101c5575b600080fd5b61014f610306565b6040516001600160a01b0390911681526020015b60405180910390f35b61019061017a36600461214e565b6001600160e01b0319166306ecd8ef60e01b1490565b6040519015158152602001610163565b60405160148152602001610163565b6101b7610327565b604051908152602001610163565b60005b6040516001600160601b039091168152602001610163565b6101c86103a9565b6040805160208101909152600081525b60405161016391906121cf565b6101f86040518060200160405280600081525081565b6101c86102293660046121fa565b610485565b61024161023c366004612217565b610c77565b005b3061014f565b6101c8610257366004612321565b610e9a565b6101c8611119565b61014f611135565b61014f61027a3660046123aa565b61124a565b61029261028d366004612405565b6112ad565b6040516101639190612422565b61014f6113f1565b6101906102b53660046121fa565b611414565b6101c86102c83660046121fa565b6114c0565b61014f6102db366004612405565b6114f5565b6101906102ee366004612405565b6115ff565b6101f8610301366004612405565b611665565b600061031061171b565b600901546001600160a01b0316919050565b905090565b600061033161171b565b600601600c9054906101000a90046001600160a01b03166001600160a01b03166318160ddd6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610385573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103229190612495565b6000806103b461171b565b90504660010361043857600781015460408051632cc7144960e11b81529051610432926001600160a01b03169163598e28929160048083019260209291908290030181865afa15801561040b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061042f9190612495565b90565b91505090565b600781015460408051632e85b1f360e01b81529051610432926001600160a01b031691632e85b1f39160048083019260209291908290030181865afa15801561040b573d6000803e3d6000fd5b60008061049061171b565b6001600160a01b038416600090815260018201602052604090819020549051630a4d29dd60e31b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906352694ee890602401602060405180830381865af4158015610508573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061052c91906124ae565b61057d5760405162461bcd60e51b815260206004820181905260248201527f4552524f523a5245472d3030323a414c52454144595f5245474953544552454460448201526064015b60405180910390fd5b6040516301ffc9a760e01b8152631dfba64760e11b600482015283906001600160a01b038216906301ffc9a790602401602060405180830381865afa1580156105ca573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105ee91906124ae565b61063a5760405162461bcd60e51b815260206004820152601e60248201527f4552524f523a5245472d3030333a4e4f545f524547495354455241424c4500006044820152606401610574565b6000816001600160a01b03166315dae03e6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561067a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061069e91906124d0565b60ff8082166000908152600286016020526040902054919250166107045760405162461bcd60e51b815260206004820152601a60248201527f4552524f523a5245472d3030343a545950455f494e56414c49440000000000006044820152606401610574565b6000826001600160a01b03166331b62a3b6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610744573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061076891906124ed565b9050610773816115ff565b6107cb5760405162461bcd60e51b815260206004820152602360248201527f4552524f523a5245472d3030353a504152454e545f4e4f545f5245474953544560448201526214915160ea1b6064820152608401610574565b60ff808316600090815260038601602090815260408083206001600160601b038616845288835281842054600160c01b9004851684529091529020541661085e5760405162461bcd60e51b815260206004820152602160248201527f4552524f523a5245472d3030363a504152454e545f545950455f494e56414c496044820152601160fa1b6064820152608401610574565b600084600601600c9054906101000a90046001600160a01b03166001600160a01b031663d0def521856001600160a01b031663893d20e86040518163ffffffff1660e01b8152600401602060405180830381865afa1580156108c4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108e8919061250a565b604051806020016040528060008152506040518363ffffffff1660e01b8152600401610915929190612527565b6020604051808303816000875af1158015610934573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109589190612495565b90508095506109d0846001600160a01b03166315dae03e6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561099e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109c291906124d0565b60285b60ff90811691161490565b15610c63576040516301ffc9a760e01b8152631b4612f160e31b600482015287906001600160a01b038216906301ffc9a790602401602060405180830381865afa158015610a22573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a4691906124ae565b610a925760405162461bcd60e51b815260206004820152601960248201527f4552524f523a5245472d3030373a4e4f545f53455256494345000000000000006044820152606401610574565b6000816001600160a01b03166317d7de7c6040518163ffffffff1660e01b8152600401600060405180830381865afa158015610ad2573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610afa919081019061257b565b90506000826001600160a01b031663cde749f46040518163ffffffff1660e01b8152600401602060405180830381865afa158015610b3c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b6091906124d0565b9050600082604051602001610b7591906121cf565b60408051601f1981840301815291815281516020928301206001600160601b038d16600090815260048d019093529120909150610bb2848261264d565b50600081815260058a016020908152604080832060ff861684529091529020546001600160a01b031615610c285760405162461bcd60e51b815260206004820181905260248201527f4552524f523a5245472d3030383a414c52454144595f524547495354455245446044820152606401610574565b6000908152600589016020908152604080832060ff9490941683529290522080546001600160a01b0319166001600160a01b038b1617905550505b610c6d848761173f565b5050505050919050565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b810460ff16159067ffffffffffffffff16600081158015610cbd5750825b905060008267ffffffffffffffff166001148015610cda5750303b155b905081158015610ce8575080155b15610d065760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315610d3057845460ff60401b1916600160401b1785555b6000610d3a61171b565b6006810154909150600160601b90046001600160a01b031615610da95760405162461bcd60e51b815260206004820152602160248201527f4552524f523a5245472d3030313a414c52454144595f494e495449414c495a456044820152601160fa1b6064820152608401610574565b600881018054336001600160a01b03199182161790915560098201805482166001600160a01b038a8116919091179091556006830180546001600160601b0316600160601b928c16928302179055600783018054909216179055610e0b611a23565b610e13611c36565b6006820180546bffffffffffffffffffffffff19166001600160601b0392909216919091179055610e42611dbd565b610e4a611ea0565b508315610e9157845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50505050505050565b600080610ea561171b565b9050610eb28560d26109c5565b80610ec35750610ec38560dc6109c5565b610f0f5760405162461bcd60e51b815260206004820152601a60248201527f4552524f523a5245472d3031303a545950455f494e56414c49440000000000006044820152606401610574565b6006810154604080516020810182526000808252915163d0def52160e01b81529192600160601b90046001600160a01b03169163d0def52191610f5791899190600401612527565b6020604051808303816000875af1158015610f76573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f9a9190612495565b905080925060006040518060c00160405280856001600160601b03168152602001896001600160601b031681526020018860ff16815260200160006001600160a01b03168152602001876001600160a01b0316815260200186815250905080836000016000866001600160601b03166001600160601b0316815260200190815260200160002060008201518160000160006101000a8154816001600160601b0302191690836001600160601b03160217905550602082015181600001600c6101000a8154816001600160601b0302191690836001600160601b0316021790555060408201518160000160186101000a81548160ff021916908360ff16021790555060608201518160010160006101000a8154816001600160a01b0302191690836001600160a01b0316021790555060808201518160020160006101000a8154816001600160a01b0302191690836001600160a01b0316021790555060a082015181600301908161110a919061264d565b50905050505050949350505050565b600061112361171b565b600601546001600160601b0316919050565b60008061114061171b565b60068101546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af41580156111a1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111c591906124ae565b6111dc5760088101546001600160a01b0316610432565b600681015460405163df33330b60e01b81526001600160601b039091166004820152309063df33330b90602401602060405180830381865afa158015611226573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610432919061250a565b6000808360405160200161125e91906121cf565b60405160208183030381529060405280519060200120905061127e61171b565b60009182526005016020908152604080832060ff861684529091529020546001600160a01b0316905092915050565b6040805160c0810182526000808252602082018190529181018290526060808201839052608082019290925260a08101919091526112e961171b565b6001600160601b0383811660009081526020928352604090819020815160c08101835281548085168252600160601b810490941694810194909452600160c01b90920460ff169083015260018101546001600160a01b039081166060840152600282015416608083015260038101805460a084019190611368906125c4565b80601f0160208091040260200160405190810160405280929190818152602001828054611394906125c4565b80156113e15780601f106113b6576101008083540402835291602001916113e1565b820191906000526020600020905b8154815290600101906020018083116113c457829003601f168201915b5050505050815250509050919050565b60006113fb61171b565b60060154600160601b90046001600160a01b0316919050565b600061141e61171b565b6001600160a01b03831660009081526001919091016020526040908190205490516330b8415f60e01b81526001600160601b03909116600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f906024015b602060405180830381865af4158015611496573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114ba91906124ae565b92915050565b60006114ca61171b565b6001600160a01b0390921660009081526001929092016020525060409020546001600160601b031690565b60006114ff61171b565b6006015460405163046e44af60e11b81526001600160601b0384166004820152600160601b9091046001600160a01b031690636352211e9073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906308dc895e90602401602060405180830381865af4158015611573573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061159791906124ed565b6040516001600160e01b031960e084901b1681526001600160601b039091166004820152602401602060405180830381865afa1580156115db573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114ba919061250a565b600061160961171b565b6001600160601b038316600090815260209190915260409081902054905163b2466acf60e01b8152600160c01b90910460ff16600482015273__$fb4566b39bd2075cb32f600f6f40bfaef2$__9063b2466acf90602401611479565b606061166f61171b565b6001600160601b0383166000908152600491909101602052604090208054611696906125c4565b80601f01602080910402602001604051908101604052809291908181526020018280546116c2906125c4565b801561170f5780601f106116e45761010080835404028352916020019161170f565b820191906000526020600020905b8154815290600101906020018083116116f257829003601f168201915b50505050509050919050565b7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090565b600061174961171b565b9050600083905060006040518060c00160405280856001600160601b03168152602001866001600160a01b03166331b62a3b6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156117aa573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117ce91906124ed565b6001600160601b03168152602001866001600160a01b03166315dae03e6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561181a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061183e91906124d0565b60ff168152602001836001600160a01b03168152602001866001600160a01b031663893d20e86040518163ffffffff1660e01b8152600401602060405180830381865afa158015611893573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118b7919061250a565b6001600160a01b03168152602001866001600160a01b0316633bc5de306040518163ffffffff1660e01b8152600401600060405180830381865afa158015611903573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261192b919081019061257b565b90526001600160601b038086166000908152602086815260409182902084518154928601519386015160ff16600160c01b0260ff60c01b19948616600160601b026001600160c01b03199094169190951617919091179190911691909117815560608201516001820180546001600160a01b039283166001600160a01b031991821617909155608084015160028401805491909316911617905560a0820151919250829160038201906119de908261264d565b505050506001600160a01b031660009081526001919091016020526040902080546bffffffffffffffffffffffff19166001600160601b039290921691909117905550565b6000611a2d61171b565b905060008160070160009054906101000a90046001600160a01b03166001600160a01b031663598e28926040518163ffffffff1660e01b8152600401602060405180830381865afa158015611a86573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611aaa9190612495565b600783015460098401546040516340c10f1960e01b81526001600160a01b0391821660048201526024810184905292935016906340c10f1990604401600060405180830381600087803b158015611b0057600080fd5b505af1158015611b14573d6000803e3d6000fd5b505050506000611b218290565b905060006040518060c00160405280836001600160601b03168152602001611b47600090565b6001600160601b03168152602001600a5b60ff90811682526000602080840182905260098901546001600160a01b03908116604080870191909152805180840182528481526060968701526001600160601b03808a1685528b845293819020875181549489015192890151909616600160c01b0260ff60c01b19928616600160601b026001600160c01b031990951696909516959095179290921791909116919091178255918301516001820180549184166001600160a01b031992831617905560808401516002830180549190941691161790915560a082015191925082916003820190610e91908261264d565b600080611c4161171b565b6007810154604051630559ea4760e01b8152600260048201529192506000916001600160a01b0390911690630559ea4790602401602060405180830381865afa158015611c92573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611cb69190612495565b90508092508160070160009054906101000a90046001600160a01b03166001600160a01b0316632e85b1f36040518163ffffffff1660e01b8152600401602060405180830381865afa158015611d10573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611d349190612495565b8114611d4257611d42611fc5565b600782015460098301546040516340c10f1960e01b81526001600160a01b039182166004820152602481018490529116906340c10f1990604401600060405180830381600087803b158015611d9657600080fd5b505af1158015611daa573d6000803e3d6000fd5b50505050611db8308461173f565b505090565b6000611dc761171b565b6014600090815260028201602081905260408083208054600160ff199182168117909255601e85528285208054821683179055602885528285208054821683179055603285528285208054821683179055603c85528285208054821683179055606e85528285208054821683179055608285528285208054821683179055608c8552828520805482168317905560788552828520805482168317905560d28552918420805490921681179091559293509060dc5b60ff1681526020810191909152604001600020805460ff191691151591909117905550565b6000611eaa61171b565b601e6000908152600382016020818152604080842060148086529083528185208054600160ff199182168117909255602887528585528387208388528552838720805482168317905560328088528686528488209388529285528387208054821683179055606e8088528686528488208489528652848820805483168417905560788852868652848820848952865284882080548316841790556082885286865284882084895286528488208054831684179055608c808952878752858920948952938652848820805483168417905560d288528686528488209088528552838720805482168317905560dc87528585528387208388528552838720805490911682179055603c865293909252832093945090929190611e7b565b6000611fcf61171b565b905060008160070160009054906101000a90046001600160a01b03166001600160a01b0316632e85b1f36040518163ffffffff1660e01b8152600401602060405180830381865afa158015612028573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061204c9190612495565b600783015460098401546040516340c10f1960e01b81526001600160a01b0391821660048201526024810184905292935016906340c10f1990604401600060405180830381600087803b1580156120a257600080fd5b505af11580156120b6573d6000803e3d6000fd5b5050505060006120c38290565b905060006040518060c00160405280836001600160601b031681526020016121398660070160009054906101000a90046001600160a01b03166001600160a01b031663598e28926040518163ffffffff1660e01b8152600401602060405180830381865afa15801561040b573d6000803e3d6000fd5b6001600160601b031681526020016014611b58565b60006020828403121561216057600080fd5b81356001600160e01b03198116811461217857600080fd5b9392505050565b60005b8381101561219a578181015183820152602001612182565b50506000910152565b600081518084526121bb81602086016020860161217f565b601f01601f19169290920160200192915050565b60208152600061217860208301846121a3565b6001600160a01b03811681146121f757600080fd5b50565b60006020828403121561220c57600080fd5b8135612178816121e2565b6000806040838503121561222a57600080fd5b8235612235816121e2565b91506020830135612245816121e2565b809150509250929050565b6001600160601b03811681146121f757600080fd5b60ff811681146121f757600080fd5b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff811182821017156122b3576122b3612274565b604052919050565b600067ffffffffffffffff8211156122d5576122d5612274565b50601f01601f191660200190565b60006122f66122f1846122bb565b61228a565b905082815283838301111561230a57600080fd5b828260208301376000602084830101529392505050565b6000806000806080858703121561233757600080fd5b843561234281612250565b9350602085013561235281612265565b92506040850135612362816121e2565b9150606085013567ffffffffffffffff81111561237e57600080fd5b8501601f8101871361238f57600080fd5b61239e878235602084016122e3565b91505092959194509250565b600080604083850312156123bd57600080fd5b823567ffffffffffffffff8111156123d457600080fd5b8301601f810185136123e557600080fd5b6123f4858235602084016122e3565b925050602083013561224581612265565b60006020828403121561241757600080fd5b813561217881612250565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff6040840151166060830152606083015160018060a01b0380821660808501528060808601511660a0850152505060a083015160c08084015261248d60e08401826121a3565b949350505050565b6000602082840312156124a757600080fd5b5051919050565b6000602082840312156124c057600080fd5b8151801515811461217857600080fd5b6000602082840312156124e257600080fd5b815161217881612265565b6000602082840312156124ff57600080fd5b815161217881612250565b60006020828403121561251c57600080fd5b8151612178816121e2565b6001600160a01b038316815260406020820181905260009061248d908301846121a3565b60006125596122f1846122bb565b905082815283838301111561256d57600080fd5b61217883602083018461217f565b60006020828403121561258d57600080fd5b815167ffffffffffffffff8111156125a457600080fd5b8201601f810184136125b557600080fd5b61248d8482516020840161254b565b600181811c908216806125d857607f821691505b6020821081036125f857634e487b7160e01b600052602260045260246000fd5b50919050565b601f82111561264857600081815260208120601f850160051c810160208610156126255750805b601f850160051c820191505b8181101561264457828155600101612631565b5050505b505050565b815167ffffffffffffffff81111561266757612667612274565b61267b8161267584546125c4565b846125fe565b602080601f8311600181146126b057600084156126985750858301515b600019600386901b1c1916600185901b178555612644565b600085815260208120601f198616915b828110156126df578886015182559484019460019091019084016126c0565b50858210156126fd5787850151600019600388901b60f8161c191681555b5050505050600190811b0190555056fea26469706673582212203d1b70d2ac287cc1326eedd9aff4913d065069c390ac6f65a21a7e1751ec9fd864736f6c63430008140033",
|
435
|
+
"linkReferences": {
|
436
|
+
"contracts/types/NftId.sol": {
|
437
|
+
"NftIdLib": [
|
438
|
+
{
|
439
|
+
"length": 20,
|
440
|
+
"start": 1262
|
441
|
+
},
|
442
|
+
{
|
443
|
+
"length": 20,
|
444
|
+
"start": 4487
|
445
|
+
},
|
446
|
+
{
|
447
|
+
"length": 20,
|
448
|
+
"start": 5243
|
449
|
+
},
|
450
|
+
{
|
451
|
+
"length": 20,
|
452
|
+
"start": 5465
|
453
|
+
}
|
454
|
+
]
|
455
|
+
},
|
456
|
+
"contracts/types/ObjectType.sol": {
|
457
|
+
"ObjectTypeLib": [
|
458
|
+
{
|
459
|
+
"length": 20,
|
460
|
+
"start": 5731
|
461
|
+
}
|
462
|
+
]
|
463
|
+
}
|
464
|
+
},
|
465
|
+
"deployedLinkReferences": {
|
466
|
+
"contracts/types/NftId.sol": {
|
467
|
+
"NftIdLib": [
|
468
|
+
{
|
469
|
+
"length": 20,
|
470
|
+
"start": 1230
|
471
|
+
},
|
472
|
+
{
|
473
|
+
"length": 20,
|
474
|
+
"start": 4455
|
475
|
+
},
|
476
|
+
{
|
477
|
+
"length": 20,
|
478
|
+
"start": 5211
|
479
|
+
},
|
480
|
+
{
|
481
|
+
"length": 20,
|
482
|
+
"start": 5433
|
483
|
+
}
|
484
|
+
]
|
485
|
+
},
|
486
|
+
"contracts/types/ObjectType.sol": {
|
487
|
+
"ObjectTypeLib": [
|
488
|
+
{
|
489
|
+
"length": 20,
|
490
|
+
"start": 5699
|
491
|
+
}
|
492
|
+
]
|
493
|
+
}
|
494
|
+
}
|
495
|
+
}
|
@@ -0,0 +1,35 @@
|
|
1
|
+
{
|
2
|
+
"_format": "hh-sol-artifact-1",
|
3
|
+
"contractName": "ERC165",
|
4
|
+
"sourceName": "contracts/shared/ERC165.sol",
|
5
|
+
"abi": [
|
6
|
+
{
|
7
|
+
"inputs": [],
|
8
|
+
"stateMutability": "nonpayable",
|
9
|
+
"type": "constructor"
|
10
|
+
},
|
11
|
+
{
|
12
|
+
"inputs": [
|
13
|
+
{
|
14
|
+
"internalType": "bytes4",
|
15
|
+
"name": "interfaceId",
|
16
|
+
"type": "bytes4"
|
17
|
+
}
|
18
|
+
],
|
19
|
+
"name": "supportsInterface",
|
20
|
+
"outputs": [
|
21
|
+
{
|
22
|
+
"internalType": "bool",
|
23
|
+
"name": "",
|
24
|
+
"type": "bool"
|
25
|
+
}
|
26
|
+
],
|
27
|
+
"stateMutability": "view",
|
28
|
+
"type": "function"
|
29
|
+
}
|
30
|
+
],
|
31
|
+
"bytecode": "0x608060405234801561001057600080fd5b506301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff1916600117905560d08061005b6000396000f3fe6080604052348015600f57600080fd5b506004361060285760003560e01c806301ffc9a714602d575b600080fd5b60576038366004606b565b6001600160e01b03191660009081526020819052604090205460ff1690565b604051901515815260200160405180910390f35b600060208284031215607c57600080fd5b81356001600160e01b031981168114609357600080fd5b939250505056fea264697066735822122001544f23bad3d3747e20b89bffeb821826a4686fba99541711a192d4109679db64736f6c63430008140033",
|
32
|
+
"deployedBytecode": "0x6080604052348015600f57600080fd5b506004361060285760003560e01c806301ffc9a714602d575b600080fd5b60576038366004606b565b6001600160e01b03191660009081526020819052604090205460ff1690565b604051901515815260200160405180910390f35b600060208284031215607c57600080fd5b81356001600160e01b031981168114609357600080fd5b939250505056fea264697066735822122001544f23bad3d3747e20b89bffeb821826a4686fba99541711a192d4109679db64736f6c63430008140033",
|
33
|
+
"linkReferences": {},
|
34
|
+
"deployedLinkReferences": {}
|
35
|
+
}
|