@etherisc/gif-next 0.0.2-f7be756-963 → 0.0.2-f7c17b4-970
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +403 -8
- package/artifacts/contracts/components/Component.sol/Component.dbg.json +1 -1
- package/artifacts/contracts/components/Component.sol/Component.json +604 -35
- package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +4 -0
- package/artifacts/contracts/components/Distribution.sol/Distribution.json +1310 -0
- package/artifacts/contracts/components/IComponent.sol/IComponent.dbg.json +4 -0
- package/artifacts/contracts/{registry/IChainNft.sol/IChainNft.json → components/IComponent.sol/IComponent.json} +234 -239
- package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +4 -0
- package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.json +877 -0
- package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +4 -0
- package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.json +1029 -0
- package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +4 -0
- package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.json +740 -0
- package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +1 -1
- package/artifacts/contracts/components/Pool.sol/Pool.json +1253 -130
- package/artifacts/contracts/components/Product.sol/Product.dbg.json +1 -1
- package/artifacts/contracts/components/Product.sol/Product.json +978 -157
- package/artifacts/contracts/instance/BundleManager.sol/BundleManager.dbg.json +4 -0
- package/artifacts/contracts/instance/BundleManager.sol/BundleManager.json +764 -0
- package/artifacts/contracts/instance/Cloneable.sol/Cloneable.dbg.json +4 -0
- package/artifacts/contracts/instance/Cloneable.sol/Cloneable.json +185 -0
- package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
- package/artifacts/contracts/instance/IInstance.sol/IInstance.json +1791 -776
- package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +4 -0
- package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +498 -0
- package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
- package/artifacts/contracts/instance/Instance.sol/Instance.json +2497 -824
- package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +4 -0
- package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +984 -0
- package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +4 -0
- package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +1391 -0
- package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +4 -0
- package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +1035 -0
- package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +4 -0
- package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +693 -0
- package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.dbg.json +4 -0
- package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.json +261 -0
- package/artifacts/contracts/instance/base/ComponentService.sol/ComponentService.dbg.json +4 -0
- package/artifacts/contracts/instance/base/ComponentService.sol/ComponentService.json +541 -0
- package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +4 -0
- package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.json +429 -0
- package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.dbg.json +4 -0
- package/artifacts/contracts/instance/{lifecycle/ILifecycle.sol/ILifecycleModule.json → base/ILifecycle.sol/ILifecycle.json} +10 -77
- package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +4 -0
- package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.json +502 -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/module/IAccess.sol/IAccess.dbg.json +4 -0
- package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +254 -0
- package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +4 -0
- package/artifacts/contracts/instance/{access/IAccess.sol/IAccess.json → module/IBundle.sol/IBundle.json} +2 -2
- package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +4 -0
- package/artifacts/contracts/instance/{component/IComponent.sol/IComponent.json → module/IDistribution.sol/IDistribution.json} +2 -2
- package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +4 -0
- package/artifacts/contracts/instance/{policy → module}/IPolicy.sol/IPolicy.json +1 -1
- package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +4 -0
- package/artifacts/contracts/instance/{pool/IPoolModule.sol/IPool.json → module/IRisk.sol/IRisk.json} +2 -2
- package/artifacts/contracts/instance/module/ISetup.sol/ISetup.dbg.json +4 -0
- package/artifacts/contracts/instance/module/ISetup.sol/ISetup.json +10 -0
- package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.dbg.json +4 -0
- package/artifacts/contracts/instance/{treasury → module}/ITreasury.sol/ITreasury.json +1 -1
- package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.json +858 -0
- package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +4 -0
- package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.json +657 -0
- package/artifacts/contracts/instance/service/BundleService.sol/BundleService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/BundleService.sol/BundleService.json +1085 -0
- package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.dbg.json +4 -0
- package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.json +661 -0
- package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.json +743 -0
- package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +4 -0
- package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.json +637 -0
- package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +935 -0
- package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +4 -0
- package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.json +677 -0
- package/artifacts/contracts/instance/service/IApplicationService.sol/IApplicationService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/IApplicationService.sol/IApplicationService.json +462 -0
- package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.json +622 -0
- package/artifacts/contracts/instance/service/IClaimService.sol/IClaimService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/IClaimService.sol/IClaimService.json +398 -0
- package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.json +480 -0
- package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.json +572 -0
- package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.json +336 -0
- package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/IProductService.sol/IProductService.json +373 -0
- package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.json +1109 -0
- package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +4 -0
- package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.json +717 -0
- package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +716 -0
- package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.dbg.json +4 -0
- package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.json +649 -0
- package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +766 -0
- package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.dbg.json +4 -0
- package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.json +649 -0
- package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
- package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +239 -2
- package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
- package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +578 -29
- package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +4 -0
- package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +879 -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 +651 -68
- package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.dbg.json +4 -0
- package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.json +285 -0
- package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +4 -0
- package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +1166 -0
- package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +4 -0
- package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +670 -0
- package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.dbg.json +4 -0
- package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.json +547 -0
- package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +4 -0
- package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +498 -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 +73 -0
- package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +4 -0
- package/artifacts/contracts/{registry/Registry.sol/Registerable.json → shared/INftOwnable.sol/INftOwnable.json} +46 -74
- package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +4 -0
- package/artifacts/contracts/{instance/product/IProductService.sol/IProductService.json → shared/IPolicyHolder.sol/IPolicyHolder.json} +68 -66
- package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +4 -0
- package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +188 -0
- package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +4 -0
- package/artifacts/contracts/{registry/IRegistry.sol → shared/IRegistryLinked.sol}/IRegistryLinked.json +18 -19
- package/artifacts/contracts/shared/IService.sol/IService.dbg.json +4 -0
- package/artifacts/contracts/{components/IPool.sol/IPoolComponent.json → shared/IService.sol/IService.json} +120 -117
- package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +4 -0
- package/artifacts/contracts/shared/IVersionable.sol/IVersionable.json +55 -0
- package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +4 -0
- package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +251 -0
- package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +4 -0
- package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +248 -0
- package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +4 -0
- package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +582 -0
- package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +4 -0
- package/artifacts/contracts/shared/Registerable.sol/Registerable.json +352 -0
- package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +4 -0
- package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +84 -0
- package/artifacts/contracts/shared/Service.sol/Service.dbg.json +4 -0
- package/artifacts/contracts/shared/Service.sol/Service.json +414 -0
- package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +4 -0
- package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +96 -0
- package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +4 -0
- package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +129 -0
- package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +4 -0
- package/artifacts/contracts/shared/Versionable.sol/Versionable.json +78 -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/TestRegisterable.sol/TestRegisterable.dbg.json +4 -0
- package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +383 -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 +510 -0
- package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +4 -0
- package/artifacts/contracts/test/TestToken.sol/TestUsdc.json +376 -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 +104 -0
- package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +4 -0
- package/artifacts/contracts/test/Usdc.sol/USDC.json +376 -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 +1 -1
- package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +1 -1
- package/artifacts/contracts/types/ClaimId.sol/ClaimIdLib.dbg.json +4 -0
- package/artifacts/contracts/types/ClaimId.sol/ClaimIdLib.json +100 -0
- package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.dbg.json +4 -0
- package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.json +104 -0
- 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 +125 -0
- package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +1 -1
- package/artifacts/contracts/types/NftId.sol/NftIdLib.json +65 -4
- package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +4 -0
- package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.json +33 -0
- package/artifacts/contracts/types/NumberId.sol/NumberIdLib.dbg.json +4 -0
- package/artifacts/contracts/types/NumberId.sol/NumberIdLib.json +100 -0
- package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +1 -1
- package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.json +2 -2
- package/artifacts/contracts/types/PayoutId.sol/PayoutIdLib.dbg.json +4 -0
- package/artifacts/contracts/types/PayoutId.sol/PayoutIdLib.json +100 -0
- package/artifacts/contracts/types/Referral.sol/ReferralLib.dbg.json +4 -0
- package/artifacts/contracts/types/Referral.sol/ReferralLib.json +123 -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 +156 -0
- package/artifacts/contracts/types/Seconds.sol/SecondsLib.dbg.json +4 -0
- package/artifacts/contracts/types/Seconds.sol/SecondsLib.json +124 -0
- package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +1 -1
- package/artifacts/contracts/types/StateId.sol/StateIdLib.json +2 -2
- package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +1 -1
- package/artifacts/contracts/types/Timestamp.sol/TimestampLib.json +97 -4
- package/artifacts/contracts/types/UFixed.sol/MathLib.dbg.json +4 -0
- package/artifacts/contracts/{experiment/types/TypeB.sol/TypeBLib.json → types/UFixed.sol/MathLib.json} +4 -4
- package/artifacts/contracts/types/UFixed.sol/UFixedLib.dbg.json +4 -0
- package/artifacts/contracts/types/UFixed.sol/UFixedLib.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 +49 -0
- package/contracts/components/Component.sol +195 -51
- package/contracts/components/Distribution.sol +308 -0
- package/contracts/components/IComponent.sol +68 -0
- package/contracts/components/IDistributionComponent.sol +100 -0
- package/contracts/components/IPoolComponent.sol +151 -0
- package/contracts/components/IProductComponent.sol +40 -0
- package/contracts/components/Pool.sol +356 -30
- package/contracts/components/Product.sol +252 -48
- package/contracts/instance/BundleManager.sol +125 -0
- package/contracts/instance/Cloneable.sol +46 -0
- package/contracts/instance/IInstance.sol +91 -24
- package/contracts/instance/IInstanceService.sol +59 -0
- package/contracts/instance/Instance.sol +270 -51
- package/contracts/instance/InstanceAccessManager.sol +297 -0
- package/contracts/instance/InstanceReader.sol +293 -0
- package/contracts/instance/InstanceService.sol +490 -0
- package/contracts/instance/InstanceServiceManager.sol +54 -0
- package/contracts/instance/ObjectManager.sol +84 -0
- package/contracts/instance/base/ComponentService.sol +134 -0
- package/contracts/instance/base/IKeyValueStore.sol +49 -0
- package/contracts/instance/base/ILifecycle.sol +30 -0
- package/contracts/instance/base/KeyValueStore.sol +172 -0
- package/contracts/instance/base/Lifecycle.sol +100 -0
- package/contracts/instance/module/IAccess.sol +47 -0
- package/contracts/instance/module/IBundle.sol +21 -0
- package/contracts/instance/module/IDistribution.sol +39 -0
- package/contracts/instance/module/IPolicy.sol +48 -0
- package/contracts/instance/module/IRisk.sol +11 -0
- package/contracts/instance/module/ISetup.sol +48 -0
- package/contracts/instance/module/ITreasury.sol +23 -0
- package/contracts/instance/service/ApplicationService.sol +269 -0
- package/contracts/instance/service/ApplicationServiceManager.sol +35 -0
- package/contracts/instance/service/BundleService.sol +299 -0
- package/contracts/instance/service/BundleServiceManager.sol +51 -0
- package/contracts/instance/service/ClaimService.sol +151 -0
- package/contracts/instance/service/ClaimServiceManager.sol +35 -0
- package/contracts/instance/service/DistributionService.sol +277 -0
- package/contracts/instance/service/DistributionServiceManager.sol +51 -0
- package/contracts/instance/service/IApplicationService.sol +83 -0
- package/contracts/instance/service/IBundleService.sol +55 -0
- package/contracts/instance/service/IClaimService.sol +61 -0
- package/contracts/instance/service/IDistributionService.sol +65 -0
- package/contracts/instance/service/IPolicyService.sol +90 -0
- package/contracts/instance/service/IPoolService.sol +20 -0
- package/contracts/instance/service/IProductService.sol +40 -0
- package/contracts/instance/service/PolicyService.sol +476 -0
- package/contracts/instance/service/PolicyServiceManager.sol +54 -0
- package/contracts/instance/service/PoolService.sol +109 -0
- package/contracts/instance/service/PoolServiceManager.sol +51 -0
- package/contracts/instance/service/ProductService.sol +233 -0
- package/contracts/instance/service/ProductServiceManager.sol +54 -0
- package/contracts/registry/ChainNft.sol +129 -62
- package/contracts/registry/IRegistry.sol +73 -41
- package/contracts/registry/IRegistryService.sol +67 -0
- package/contracts/registry/ITransferInterceptor.sol +6 -0
- package/contracts/registry/Registry.sol +408 -126
- package/contracts/registry/RegistryAccessManager.sol +216 -0
- package/contracts/registry/RegistryService.sol +283 -0
- package/contracts/registry/RegistryServiceManager.sol +62 -0
- package/contracts/registry/ReleaseManager.sol +322 -0
- package/contracts/registry/TokenRegistry.sol +116 -0
- package/contracts/shared/ContractDeployerLib.sol +72 -0
- package/contracts/shared/ERC165.sol +27 -0
- package/contracts/shared/INftOwnable.sol +23 -0
- package/contracts/shared/IPolicyHolder.sol +26 -0
- package/contracts/shared/IRegisterable.sol +15 -0
- package/contracts/shared/IRegistryLinked.sol +12 -0
- package/contracts/shared/IService.sol +16 -0
- package/contracts/shared/IVersionable.sol +53 -0
- package/contracts/shared/NftOwnable.sol +120 -0
- package/contracts/shared/PolicyHolder.sol +81 -0
- package/contracts/shared/ProxyManager.sol +169 -0
- package/contracts/shared/Registerable.sol +74 -0
- package/contracts/shared/RegistryLinked.sol +48 -0
- package/contracts/shared/Service.sol +58 -0
- package/contracts/shared/TokenHandler.sol +27 -0
- package/contracts/shared/UpgradableProxyWithAdmin.sol +16 -0
- package/contracts/shared/Versionable.sol +59 -0
- package/contracts/test/TestFee.sol +25 -0
- package/contracts/test/TestRegisterable.sol +18 -0
- package/contracts/test/TestRoleId.sol +14 -0
- package/contracts/test/TestService.sol +25 -0
- package/contracts/{mock/Dip.sol → test/TestToken.sol} +5 -5
- package/contracts/test/TestVersion.sol +44 -0
- package/contracts/test/TestVersionable.sol +17 -0
- package/contracts/{mock → test}/Usdc.sol +1 -1
- package/contracts/types/AddressSet.sol +58 -0
- package/contracts/types/ClaimId.sol +52 -0
- package/contracts/types/DistributorType.sol +55 -0
- package/contracts/types/Fee.sol +44 -20
- package/contracts/types/Key32.sol +50 -0
- package/contracts/types/NftId.sol +22 -1
- package/contracts/types/NftIdSet.sol +62 -0
- package/contracts/types/NumberId.sol +52 -0
- package/contracts/types/ObjectType.sol +64 -15
- package/contracts/types/PayoutId.sol +54 -0
- package/contracts/types/Referral.sol +85 -0
- package/contracts/types/RiskId.sol +43 -0
- package/contracts/types/RoleId.sol +95 -0
- package/contracts/types/Seconds.sol +54 -0
- package/contracts/types/StateId.sol +18 -4
- package/contracts/types/Timestamp.sol +30 -6
- package/contracts/types/UFixed.sol +138 -23
- package/contracts/types/Version.sol +107 -0
- package/package.json +11 -5
- package/artifacts/contracts/components/Component.sol/InstanceLinked.dbg.json +0 -4
- package/artifacts/contracts/components/Component.sol/InstanceLinked.json +0 -35
- package/artifacts/contracts/components/IPool.sol/IPoolComponent.dbg.json +0 -4
- package/artifacts/contracts/components/IProduct.sol/IProductComponent.dbg.json +0 -4
- package/artifacts/contracts/components/IProduct.sol/IProductComponent.json +0 -74
- package/artifacts/contracts/experiment/errors/Require.sol/Require.dbg.json +0 -4
- package/artifacts/contracts/experiment/errors/Require.sol/Require.json +0 -105
- package/artifacts/contracts/experiment/errors/Revert.sol/Revert.dbg.json +0 -4
- package/artifacts/contracts/experiment/errors/Revert.sol/Revert.json +0 -105
- package/artifacts/contracts/experiment/inheritance/A.sol/A.dbg.json +0 -4
- package/artifacts/contracts/experiment/inheritance/A.sol/A.json +0 -128
- package/artifacts/contracts/experiment/inheritance/A.sol/AShared.dbg.json +0 -4
- package/artifacts/contracts/experiment/inheritance/A.sol/AShared.json +0 -42
- package/artifacts/contracts/experiment/inheritance/B.sol/B.dbg.json +0 -4
- package/artifacts/contracts/experiment/inheritance/B.sol/B.json +0 -76
- package/artifacts/contracts/experiment/inheritance/C.sol/C.dbg.json +0 -4
- package/artifacts/contracts/experiment/inheritance/C.sol/C.json +0 -89
- package/artifacts/contracts/experiment/inheritance/IA.sol/IA.dbg.json +0 -4
- package/artifacts/contracts/experiment/inheritance/IA.sol/IA.json +0 -128
- package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.dbg.json +0 -4
- package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.json +0 -37
- package/artifacts/contracts/experiment/inheritance/IB.sol/IB.dbg.json +0 -4
- package/artifacts/contracts/experiment/inheritance/IB.sol/IB.json +0 -50
- package/artifacts/contracts/experiment/inheritance/IC.sol/IC.dbg.json +0 -4
- package/artifacts/contracts/experiment/inheritance/IC.sol/IC.json +0 -63
- package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.dbg.json +0 -4
- package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.json +0 -59
- package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.dbg.json +0 -4
- package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.json +0 -124
- package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.dbg.json +0 -4
- package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.json +0 -74
- package/artifacts/contracts/experiment/statemachine/SM.sol/SM.dbg.json +0 -4
- package/artifacts/contracts/experiment/statemachine/SM.sol/SM.json +0 -124
- package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.dbg.json +0 -4
- package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.json +0 -207
- package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.dbg.json +0 -4
- package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.json +0 -10
- package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.dbg.json +0 -4
- package/artifacts/contracts/instance/access/Access.sol/AccessModule.dbg.json +0 -4
- package/artifacts/contracts/instance/access/Access.sol/AccessModule.json +0 -400
- 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/access/IAccess.sol/IAccessModule.json +0 -336
- package/artifacts/contracts/instance/component/ComponentModule.sol/ComponentModule.dbg.json +0 -4
- package/artifacts/contracts/instance/component/ComponentModule.sol/ComponentModule.json +0 -299
- package/artifacts/contracts/instance/component/ComponentModule.sol/ComponentOwnerService.dbg.json +0 -4
- package/artifacts/contracts/instance/component/ComponentModule.sol/ComponentOwnerService.json +0 -202
- package/artifacts/contracts/instance/component/IComponent.sol/IComponent.dbg.json +0 -4
- package/artifacts/contracts/instance/component/IComponent.sol/IComponentContract.dbg.json +0 -4
- package/artifacts/contracts/instance/component/IComponent.sol/IComponentContract.json +0 -205
- package/artifacts/contracts/instance/component/IComponent.sol/IComponentModule.dbg.json +0 -4
- package/artifacts/contracts/instance/component/IComponent.sol/IComponentModule.json +0 -217
- package/artifacts/contracts/instance/component/IComponent.sol/IComponentOwnerService.dbg.json +0 -4
- package/artifacts/contracts/instance/component/IComponent.sol/IComponentOwnerService.json +0 -141
- package/artifacts/contracts/instance/component/IComponent.sol/IInstanceLinked.dbg.json +0 -4
- package/artifacts/contracts/instance/component/IComponent.sol/IInstanceLinked.json +0 -24
- package/artifacts/contracts/instance/lifecycle/ILifecycle.sol/ILifecycle.dbg.json +0 -4
- package/artifacts/contracts/instance/lifecycle/ILifecycle.sol/ILifecycle.json +0 -134
- package/artifacts/contracts/instance/lifecycle/ILifecycle.sol/ILifecycleModule.dbg.json +0 -4
- package/artifacts/contracts/instance/lifecycle/LifecycleModule.sol/LifecycleModule.dbg.json +0 -4
- package/artifacts/contracts/instance/lifecycle/LifecycleModule.sol/LifecycleModule.json +0 -221
- package/artifacts/contracts/instance/policy/IPolicy.sol/IPolicy.dbg.json +0 -4
- package/artifacts/contracts/instance/policy/IPolicy.sol/IPolicyModule.dbg.json +0 -4
- package/artifacts/contracts/instance/policy/IPolicy.sol/IPolicyModule.json +0 -254
- package/artifacts/contracts/instance/policy/PolicyModule.sol/PolicyModule.dbg.json +0 -4
- package/artifacts/contracts/instance/policy/PolicyModule.sol/PolicyModule.json +0 -254
- 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/IPoolModule.sol/IPoolModule.json +0 -129
- package/artifacts/contracts/instance/pool/PoolModule.sol/PoolModule.dbg.json +0 -4
- package/artifacts/contracts/instance/pool/PoolModule.sol/PoolModule.json +0 -155
- package/artifacts/contracts/instance/product/IProductService.sol/IProductModule.dbg.json +0 -4
- package/artifacts/contracts/instance/product/IProductService.sol/IProductModule.json +0 -75
- package/artifacts/contracts/instance/product/IProductService.sol/IProductService.dbg.json +0 -4
- package/artifacts/contracts/instance/product/ProductService.sol/ProductModule.dbg.json +0 -4
- package/artifacts/contracts/instance/product/ProductService.sol/ProductModule.json +0 -75
- package/artifacts/contracts/instance/product/ProductService.sol/ProductService.dbg.json +0 -4
- package/artifacts/contracts/instance/product/ProductService.sol/ProductService.json +0 -196
- package/artifacts/contracts/instance/treasury/ITreasury.sol/ITreasury.dbg.json +0 -4
- package/artifacts/contracts/instance/treasury/ITreasury.sol/ITreasuryModule.dbg.json +0 -4
- package/artifacts/contracts/instance/treasury/ITreasury.sol/ITreasuryModule.json +0 -490
- package/artifacts/contracts/instance/treasury/TokenHandler.sol/TokenHandler.dbg.json +0 -4
- package/artifacts/contracts/instance/treasury/TokenHandler.sol/TokenHandler.json +0 -45
- package/artifacts/contracts/instance/treasury/TreasuryModule.sol/TreasuryModule.dbg.json +0 -4
- package/artifacts/contracts/instance/treasury/TreasuryModule.sol/TreasuryModule.json +0 -490
- package/artifacts/contracts/mock/Dip.sol/DIP.dbg.json +0 -4
- package/artifacts/contracts/mock/Dip.sol/DIP.json +0 -338
- package/artifacts/contracts/mock/TestPool.sol/TestPool.dbg.json +0 -4
- package/artifacts/contracts/mock/TestPool.sol/TestPool.json +0 -294
- package/artifacts/contracts/mock/TestProduct.sol/TestProduct.dbg.json +0 -4
- package/artifacts/contracts/mock/TestProduct.sol/TestProduct.json +0 -384
- package/artifacts/contracts/mock/Usdc.sol/USDC.dbg.json +0 -4
- package/artifacts/contracts/mock/Usdc.sol/USDC.json +0 -338
- package/artifacts/contracts/registry/IChainNft.sol/IChainNft.dbg.json +0 -4
- package/artifacts/contracts/registry/IRegistry.sol/IOwnable.dbg.json +0 -4
- package/artifacts/contracts/registry/IRegistry.sol/IOwnable.json +0 -24
- package/artifacts/contracts/registry/IRegistry.sol/IRegisterable.dbg.json +0 -4
- package/artifacts/contracts/registry/IRegistry.sol/IRegisterable.json +0 -166
- package/artifacts/contracts/registry/IRegistry.sol/IRegistryLinked.dbg.json +0 -4
- package/artifacts/contracts/registry/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/artifacts/contracts/types/UFixed.sol/UFixedMathLib.dbg.json +0 -4
- package/artifacts/contracts/types/UFixed.sol/UFixedMathLib.json +0 -479
- package/contracts/components/IPool.sol +0 -15
- package/contracts/components/IProduct.sol +0 -16
- package/contracts/experiment/errors/Require.sol +0 -38
- package/contracts/experiment/errors/Revert.sol +0 -44
- package/contracts/experiment/inheritance/A.sol +0 -53
- package/contracts/experiment/inheritance/B.sol +0 -28
- package/contracts/experiment/inheritance/C.sol +0 -34
- package/contracts/experiment/inheritance/IA.sol +0 -13
- package/contracts/experiment/inheritance/IB.sol +0 -10
- package/contracts/experiment/inheritance/IC.sol +0 -12
- package/contracts/experiment/statemachine/Dummy.sol +0 -27
- package/contracts/experiment/statemachine/ISM.sol +0 -25
- package/contracts/experiment/statemachine/README.md +0 -112
- package/contracts/experiment/statemachine/SM.sol +0 -57
- package/contracts/experiment/statemachine/SimpleStateMachine.sol +0 -31
- package/contracts/experiment/types/TypeA.sol +0 -47
- package/contracts/experiment/types/TypeB.sol +0 -29
- package/contracts/instance/access/Access.sol +0 -165
- package/contracts/instance/access/IAccess.sol +0 -63
- package/contracts/instance/component/ComponentModule.sol +0 -274
- package/contracts/instance/component/IComponent.sol +0 -74
- package/contracts/instance/lifecycle/ILifecycle.sol +0 -47
- package/contracts/instance/lifecycle/LifecycleModule.sol +0 -88
- package/contracts/instance/policy/IPolicy.sol +0 -50
- package/contracts/instance/policy/PolicyModule.sol +0 -114
- package/contracts/instance/pool/IPoolModule.sol +0 -23
- package/contracts/instance/pool/PoolModule.sol +0 -81
- package/contracts/instance/product/IProductService.sol +0 -36
- package/contracts/instance/product/ProductService.sol +0 -136
- package/contracts/instance/treasury/ITreasury.sol +0 -91
- package/contracts/instance/treasury/TokenHandler.sol +0 -24
- package/contracts/instance/treasury/TreasuryModule.sol +0 -168
- package/contracts/mock/TestPool.sol +0 -16
- package/contracts/mock/TestProduct.sol +0 -39
- package/contracts/registry/IChainNft.sol +0 -21
@@ -0,0 +1,116 @@
|
|
1
|
+
{
|
2
|
+
"_format": "hh-sol-artifact-1",
|
3
|
+
"contractName": "TestRoleId",
|
4
|
+
"sourceName": "contracts/test/TestRoleId.sol",
|
5
|
+
"abi": [
|
6
|
+
{
|
7
|
+
"inputs": [],
|
8
|
+
"name": "getPoolOwnerRole",
|
9
|
+
"outputs": [
|
10
|
+
{
|
11
|
+
"internalType": "RoleId",
|
12
|
+
"name": "",
|
13
|
+
"type": "uint64"
|
14
|
+
}
|
15
|
+
],
|
16
|
+
"stateMutability": "pure",
|
17
|
+
"type": "function"
|
18
|
+
},
|
19
|
+
{
|
20
|
+
"inputs": [],
|
21
|
+
"name": "getPoolOwnerRoleName",
|
22
|
+
"outputs": [
|
23
|
+
{
|
24
|
+
"internalType": "string",
|
25
|
+
"name": "",
|
26
|
+
"type": "string"
|
27
|
+
}
|
28
|
+
],
|
29
|
+
"stateMutability": "pure",
|
30
|
+
"type": "function"
|
31
|
+
},
|
32
|
+
{
|
33
|
+
"inputs": [],
|
34
|
+
"name": "getProductOwnerRole",
|
35
|
+
"outputs": [
|
36
|
+
{
|
37
|
+
"internalType": "RoleId",
|
38
|
+
"name": "",
|
39
|
+
"type": "uint64"
|
40
|
+
}
|
41
|
+
],
|
42
|
+
"stateMutability": "pure",
|
43
|
+
"type": "function"
|
44
|
+
},
|
45
|
+
{
|
46
|
+
"inputs": [],
|
47
|
+
"name": "getProductOwnerRoleName",
|
48
|
+
"outputs": [
|
49
|
+
{
|
50
|
+
"internalType": "string",
|
51
|
+
"name": "",
|
52
|
+
"type": "string"
|
53
|
+
}
|
54
|
+
],
|
55
|
+
"stateMutability": "pure",
|
56
|
+
"type": "function"
|
57
|
+
},
|
58
|
+
{
|
59
|
+
"inputs": [
|
60
|
+
{
|
61
|
+
"internalType": "uint256",
|
62
|
+
"name": "roleNum",
|
63
|
+
"type": "uint256"
|
64
|
+
}
|
65
|
+
],
|
66
|
+
"name": "getRole",
|
67
|
+
"outputs": [
|
68
|
+
{
|
69
|
+
"internalType": "RoleId",
|
70
|
+
"name": "",
|
71
|
+
"type": "uint64"
|
72
|
+
}
|
73
|
+
],
|
74
|
+
"stateMutability": "pure",
|
75
|
+
"type": "function"
|
76
|
+
}
|
77
|
+
],
|
78
|
+
"bytecode": "0x608060405234801561001057600080fd5b5061032e806100206000396000f3fe608060405234801561001057600080fd5b50600436106100575760003560e01c80631fa8a7301461005c5780635312fdc214610082578063775a404814610095578063b844f20e1461009d578063c4ce6e5b146100b2575b600080fd5b6100646100ba565b60405167ffffffffffffffff90911681526020015b60405180910390f35b610064610090366004610260565b6100c9565b610064610146565b6100a5610150565b6040516100799190610279565b6100a561017f565b60006100c46101ab565b905090565b6040516368aebf7b60e01b81526004810182905260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b90602401602060405180830381865af415801561011c573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061014091906102c7565b92915050565b60006100c4610224565b60606100c460408051808201909152601081526f50726f647563744f776e6572526f6c6560801b602082015290565b60606100c460408051808201909152600d81526c506f6f6c4f776e6572526f6c6560981b602082015290565b6040516368aebf7b60e01b815261012c600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b906024015b602060405180830381865af4158015610200573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906100c491906102c7565b6040516368aebf7b60e01b8152610190600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b906024016101e3565b60006020828403121561027257600080fd5b5035919050565b600060208083528351808285015260005b818110156102a65785810183015185820160400152820161028a565b506000604082860101526040601f19601f8301168501019250505092915050565b6000602082840312156102d957600080fd5b815167ffffffffffffffff811681146102f157600080fd5b939250505056fea264697066735822122002606735f1504d2afdda3834a08af6a4e1ec7c2f49ae620f6c3c1baa9ad40c5564736f6c63430008140033",
|
79
|
+
"deployedBytecode": "0x608060405234801561001057600080fd5b50600436106100575760003560e01c80631fa8a7301461005c5780635312fdc214610082578063775a404814610095578063b844f20e1461009d578063c4ce6e5b146100b2575b600080fd5b6100646100ba565b60405167ffffffffffffffff90911681526020015b60405180910390f35b610064610090366004610260565b6100c9565b610064610146565b6100a5610150565b6040516100799190610279565b6100a561017f565b60006100c46101ab565b905090565b6040516368aebf7b60e01b81526004810182905260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b90602401602060405180830381865af415801561011c573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061014091906102c7565b92915050565b60006100c4610224565b60606100c460408051808201909152601081526f50726f647563744f776e6572526f6c6560801b602082015290565b60606100c460408051808201909152600d81526c506f6f6c4f776e6572526f6c6560981b602082015290565b6040516368aebf7b60e01b815261012c600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b906024015b602060405180830381865af4158015610200573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906100c491906102c7565b6040516368aebf7b60e01b8152610190600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b906024016101e3565b60006020828403121561027257600080fd5b5035919050565b600060208083528351808285015260005b818110156102a65785810183015185820160400152820161028a565b506000604082860101526040601f19601f8301168501019250505092915050565b6000602082840312156102d957600080fd5b815167ffffffffffffffff811681146102f157600080fd5b939250505056fea264697066735822122002606735f1504d2afdda3834a08af6a4e1ec7c2f49ae620f6c3c1baa9ad40c5564736f6c63430008140033",
|
80
|
+
"linkReferences": {
|
81
|
+
"contracts/types/RoleId.sol": {
|
82
|
+
"RoleIdLib": [
|
83
|
+
{
|
84
|
+
"length": 20,
|
85
|
+
"start": 258
|
86
|
+
},
|
87
|
+
{
|
88
|
+
"length": 20,
|
89
|
+
"start": 485
|
90
|
+
},
|
91
|
+
{
|
92
|
+
"length": 20,
|
93
|
+
"start": 606
|
94
|
+
}
|
95
|
+
]
|
96
|
+
}
|
97
|
+
},
|
98
|
+
"deployedLinkReferences": {
|
99
|
+
"contracts/types/RoleId.sol": {
|
100
|
+
"RoleIdLib": [
|
101
|
+
{
|
102
|
+
"length": 20,
|
103
|
+
"start": 226
|
104
|
+
},
|
105
|
+
{
|
106
|
+
"length": 20,
|
107
|
+
"start": 453
|
108
|
+
},
|
109
|
+
{
|
110
|
+
"length": 20,
|
111
|
+
"start": 574
|
112
|
+
}
|
113
|
+
]
|
114
|
+
}
|
115
|
+
}
|
116
|
+
}
|
@@ -0,0 +1,510 @@
|
|
1
|
+
{
|
2
|
+
"_format": "hh-sol-artifact-1",
|
3
|
+
"contractName": "TestService",
|
4
|
+
"sourceName": "contracts/test/TestService.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
|
+
{
|
30
|
+
"internalType": "NftId",
|
31
|
+
"name": "nftId",
|
32
|
+
"type": "uint96"
|
33
|
+
}
|
34
|
+
],
|
35
|
+
"name": "ErrorNftOwnableAlreadyLinked",
|
36
|
+
"type": "error"
|
37
|
+
},
|
38
|
+
{
|
39
|
+
"inputs": [
|
40
|
+
{
|
41
|
+
"internalType": "address",
|
42
|
+
"name": "contractAddress",
|
43
|
+
"type": "address"
|
44
|
+
}
|
45
|
+
],
|
46
|
+
"name": "ErrorNftOwnableContractNotRegistered",
|
47
|
+
"type": "error"
|
48
|
+
},
|
49
|
+
{
|
50
|
+
"inputs": [],
|
51
|
+
"name": "ErrorNftOwnableInitialOwnerZero",
|
52
|
+
"type": "error"
|
53
|
+
},
|
54
|
+
{
|
55
|
+
"inputs": [
|
56
|
+
{
|
57
|
+
"internalType": "address",
|
58
|
+
"name": "account",
|
59
|
+
"type": "address"
|
60
|
+
}
|
61
|
+
],
|
62
|
+
"name": "ErrorNftOwnableNotOwner",
|
63
|
+
"type": "error"
|
64
|
+
},
|
65
|
+
{
|
66
|
+
"inputs": [
|
67
|
+
{
|
68
|
+
"internalType": "address",
|
69
|
+
"name": "registryAddress",
|
70
|
+
"type": "address"
|
71
|
+
}
|
72
|
+
],
|
73
|
+
"name": "ErrorNotRegistry",
|
74
|
+
"type": "error"
|
75
|
+
},
|
76
|
+
{
|
77
|
+
"inputs": [],
|
78
|
+
"name": "InvalidInitialization",
|
79
|
+
"type": "error"
|
80
|
+
},
|
81
|
+
{
|
82
|
+
"inputs": [],
|
83
|
+
"name": "NotInitializing",
|
84
|
+
"type": "error"
|
85
|
+
},
|
86
|
+
{
|
87
|
+
"anonymous": false,
|
88
|
+
"inputs": [
|
89
|
+
{
|
90
|
+
"indexed": false,
|
91
|
+
"internalType": "uint64",
|
92
|
+
"name": "version",
|
93
|
+
"type": "uint64"
|
94
|
+
}
|
95
|
+
],
|
96
|
+
"name": "Initialized",
|
97
|
+
"type": "event"
|
98
|
+
},
|
99
|
+
{
|
100
|
+
"inputs": [],
|
101
|
+
"name": "NAME",
|
102
|
+
"outputs": [
|
103
|
+
{
|
104
|
+
"internalType": "string",
|
105
|
+
"name": "",
|
106
|
+
"type": "string"
|
107
|
+
}
|
108
|
+
],
|
109
|
+
"stateMutability": "view",
|
110
|
+
"type": "function"
|
111
|
+
},
|
112
|
+
{
|
113
|
+
"inputs": [],
|
114
|
+
"name": "NFT_OWNABLE_STORAGE_LOCATION_V1",
|
115
|
+
"outputs": [
|
116
|
+
{
|
117
|
+
"internalType": "bytes32",
|
118
|
+
"name": "",
|
119
|
+
"type": "bytes32"
|
120
|
+
}
|
121
|
+
],
|
122
|
+
"stateMutability": "view",
|
123
|
+
"type": "function"
|
124
|
+
},
|
125
|
+
{
|
126
|
+
"inputs": [],
|
127
|
+
"name": "REGISTERABLE_LOCATION_V1",
|
128
|
+
"outputs": [
|
129
|
+
{
|
130
|
+
"internalType": "bytes32",
|
131
|
+
"name": "",
|
132
|
+
"type": "bytes32"
|
133
|
+
}
|
134
|
+
],
|
135
|
+
"stateMutability": "view",
|
136
|
+
"type": "function"
|
137
|
+
},
|
138
|
+
{
|
139
|
+
"inputs": [],
|
140
|
+
"name": "getDomain",
|
141
|
+
"outputs": [
|
142
|
+
{
|
143
|
+
"internalType": "ObjectType",
|
144
|
+
"name": "",
|
145
|
+
"type": "uint8"
|
146
|
+
}
|
147
|
+
],
|
148
|
+
"stateMutability": "pure",
|
149
|
+
"type": "function"
|
150
|
+
},
|
151
|
+
{
|
152
|
+
"inputs": [],
|
153
|
+
"name": "getInitialInfo",
|
154
|
+
"outputs": [
|
155
|
+
{
|
156
|
+
"components": [
|
157
|
+
{
|
158
|
+
"internalType": "NftId",
|
159
|
+
"name": "nftId",
|
160
|
+
"type": "uint96"
|
161
|
+
},
|
162
|
+
{
|
163
|
+
"internalType": "NftId",
|
164
|
+
"name": "parentNftId",
|
165
|
+
"type": "uint96"
|
166
|
+
},
|
167
|
+
{
|
168
|
+
"internalType": "ObjectType",
|
169
|
+
"name": "objectType",
|
170
|
+
"type": "uint8"
|
171
|
+
},
|
172
|
+
{
|
173
|
+
"internalType": "bool",
|
174
|
+
"name": "isInterceptor",
|
175
|
+
"type": "bool"
|
176
|
+
},
|
177
|
+
{
|
178
|
+
"internalType": "address",
|
179
|
+
"name": "objectAddress",
|
180
|
+
"type": "address"
|
181
|
+
},
|
182
|
+
{
|
183
|
+
"internalType": "address",
|
184
|
+
"name": "initialOwner",
|
185
|
+
"type": "address"
|
186
|
+
},
|
187
|
+
{
|
188
|
+
"internalType": "bytes",
|
189
|
+
"name": "data",
|
190
|
+
"type": "bytes"
|
191
|
+
}
|
192
|
+
],
|
193
|
+
"internalType": "struct IRegistry.ObjectInfo",
|
194
|
+
"name": "info",
|
195
|
+
"type": "tuple"
|
196
|
+
}
|
197
|
+
],
|
198
|
+
"stateMutability": "view",
|
199
|
+
"type": "function"
|
200
|
+
},
|
201
|
+
{
|
202
|
+
"inputs": [],
|
203
|
+
"name": "getMajorVersion",
|
204
|
+
"outputs": [
|
205
|
+
{
|
206
|
+
"internalType": "VersionPart",
|
207
|
+
"name": "majorVersion",
|
208
|
+
"type": "uint8"
|
209
|
+
}
|
210
|
+
],
|
211
|
+
"stateMutability": "view",
|
212
|
+
"type": "function"
|
213
|
+
},
|
214
|
+
{
|
215
|
+
"inputs": [],
|
216
|
+
"name": "getNftId",
|
217
|
+
"outputs": [
|
218
|
+
{
|
219
|
+
"internalType": "NftId",
|
220
|
+
"name": "",
|
221
|
+
"type": "uint96"
|
222
|
+
}
|
223
|
+
],
|
224
|
+
"stateMutability": "view",
|
225
|
+
"type": "function"
|
226
|
+
},
|
227
|
+
{
|
228
|
+
"inputs": [],
|
229
|
+
"name": "getOwner",
|
230
|
+
"outputs": [
|
231
|
+
{
|
232
|
+
"internalType": "address",
|
233
|
+
"name": "",
|
234
|
+
"type": "address"
|
235
|
+
}
|
236
|
+
],
|
237
|
+
"stateMutability": "view",
|
238
|
+
"type": "function"
|
239
|
+
},
|
240
|
+
{
|
241
|
+
"inputs": [],
|
242
|
+
"name": "getRegistry",
|
243
|
+
"outputs": [
|
244
|
+
{
|
245
|
+
"internalType": "contract IRegistry",
|
246
|
+
"name": "",
|
247
|
+
"type": "address"
|
248
|
+
}
|
249
|
+
],
|
250
|
+
"stateMutability": "view",
|
251
|
+
"type": "function"
|
252
|
+
},
|
253
|
+
{
|
254
|
+
"inputs": [],
|
255
|
+
"name": "getRegistryAddress",
|
256
|
+
"outputs": [
|
257
|
+
{
|
258
|
+
"internalType": "address",
|
259
|
+
"name": "",
|
260
|
+
"type": "address"
|
261
|
+
}
|
262
|
+
],
|
263
|
+
"stateMutability": "view",
|
264
|
+
"type": "function"
|
265
|
+
},
|
266
|
+
{
|
267
|
+
"inputs": [],
|
268
|
+
"name": "getVersion",
|
269
|
+
"outputs": [
|
270
|
+
{
|
271
|
+
"internalType": "Version",
|
272
|
+
"name": "",
|
273
|
+
"type": "uint24"
|
274
|
+
}
|
275
|
+
],
|
276
|
+
"stateMutability": "pure",
|
277
|
+
"type": "function"
|
278
|
+
},
|
279
|
+
{
|
280
|
+
"inputs": [],
|
281
|
+
"name": "initializeERC165",
|
282
|
+
"outputs": [],
|
283
|
+
"stateMutability": "nonpayable",
|
284
|
+
"type": "function"
|
285
|
+
},
|
286
|
+
{
|
287
|
+
"inputs": [
|
288
|
+
{
|
289
|
+
"internalType": "address",
|
290
|
+
"name": "initialOwner",
|
291
|
+
"type": "address"
|
292
|
+
},
|
293
|
+
{
|
294
|
+
"internalType": "address",
|
295
|
+
"name": "registryAddress",
|
296
|
+
"type": "address"
|
297
|
+
}
|
298
|
+
],
|
299
|
+
"name": "initializeNftOwnable",
|
300
|
+
"outputs": [],
|
301
|
+
"stateMutability": "nonpayable",
|
302
|
+
"type": "function"
|
303
|
+
},
|
304
|
+
{
|
305
|
+
"inputs": [
|
306
|
+
{
|
307
|
+
"internalType": "address",
|
308
|
+
"name": "registryAddress",
|
309
|
+
"type": "address"
|
310
|
+
},
|
311
|
+
{
|
312
|
+
"internalType": "NftId",
|
313
|
+
"name": "parentNftId",
|
314
|
+
"type": "uint96"
|
315
|
+
},
|
316
|
+
{
|
317
|
+
"internalType": "ObjectType",
|
318
|
+
"name": "objectType",
|
319
|
+
"type": "uint8"
|
320
|
+
},
|
321
|
+
{
|
322
|
+
"internalType": "bool",
|
323
|
+
"name": "isInterceptor",
|
324
|
+
"type": "bool"
|
325
|
+
},
|
326
|
+
{
|
327
|
+
"internalType": "address",
|
328
|
+
"name": "initialOwner",
|
329
|
+
"type": "address"
|
330
|
+
},
|
331
|
+
{
|
332
|
+
"internalType": "bytes",
|
333
|
+
"name": "registryData",
|
334
|
+
"type": "bytes"
|
335
|
+
}
|
336
|
+
],
|
337
|
+
"name": "initializeRegisterable",
|
338
|
+
"outputs": [],
|
339
|
+
"stateMutability": "nonpayable",
|
340
|
+
"type": "function"
|
341
|
+
},
|
342
|
+
{
|
343
|
+
"inputs": [
|
344
|
+
{
|
345
|
+
"internalType": "address",
|
346
|
+
"name": "registryAddress",
|
347
|
+
"type": "address"
|
348
|
+
}
|
349
|
+
],
|
350
|
+
"name": "initializeRegistryLinked",
|
351
|
+
"outputs": [],
|
352
|
+
"stateMutability": "nonpayable",
|
353
|
+
"type": "function"
|
354
|
+
},
|
355
|
+
{
|
356
|
+
"inputs": [
|
357
|
+
{
|
358
|
+
"internalType": "address",
|
359
|
+
"name": "registry",
|
360
|
+
"type": "address"
|
361
|
+
},
|
362
|
+
{
|
363
|
+
"internalType": "address",
|
364
|
+
"name": "initialOwner",
|
365
|
+
"type": "address"
|
366
|
+
}
|
367
|
+
],
|
368
|
+
"name": "initializeService",
|
369
|
+
"outputs": [],
|
370
|
+
"stateMutability": "nonpayable",
|
371
|
+
"type": "function"
|
372
|
+
},
|
373
|
+
{
|
374
|
+
"inputs": [
|
375
|
+
{
|
376
|
+
"internalType": "address",
|
377
|
+
"name": "activatedBy",
|
378
|
+
"type": "address"
|
379
|
+
},
|
380
|
+
{
|
381
|
+
"internalType": "bytes",
|
382
|
+
"name": "data",
|
383
|
+
"type": "bytes"
|
384
|
+
}
|
385
|
+
],
|
386
|
+
"name": "initializeVersionable",
|
387
|
+
"outputs": [],
|
388
|
+
"stateMutability": "nonpayable",
|
389
|
+
"type": "function"
|
390
|
+
},
|
391
|
+
{
|
392
|
+
"inputs": [],
|
393
|
+
"name": "linkToRegisteredNftId",
|
394
|
+
"outputs": [],
|
395
|
+
"stateMutability": "nonpayable",
|
396
|
+
"type": "function"
|
397
|
+
},
|
398
|
+
{
|
399
|
+
"inputs": [
|
400
|
+
{
|
401
|
+
"internalType": "bytes4",
|
402
|
+
"name": "interfaceId",
|
403
|
+
"type": "bytes4"
|
404
|
+
}
|
405
|
+
],
|
406
|
+
"name": "registerInterface",
|
407
|
+
"outputs": [],
|
408
|
+
"stateMutability": "nonpayable",
|
409
|
+
"type": "function"
|
410
|
+
},
|
411
|
+
{
|
412
|
+
"inputs": [
|
413
|
+
{
|
414
|
+
"internalType": "bytes4",
|
415
|
+
"name": "interfaceId",
|
416
|
+
"type": "bytes4"
|
417
|
+
}
|
418
|
+
],
|
419
|
+
"name": "supportsInterface",
|
420
|
+
"outputs": [
|
421
|
+
{
|
422
|
+
"internalType": "bool",
|
423
|
+
"name": "",
|
424
|
+
"type": "bool"
|
425
|
+
}
|
426
|
+
],
|
427
|
+
"stateMutability": "view",
|
428
|
+
"type": "function"
|
429
|
+
},
|
430
|
+
{
|
431
|
+
"inputs": [
|
432
|
+
{
|
433
|
+
"internalType": "bytes",
|
434
|
+
"name": "data",
|
435
|
+
"type": "bytes"
|
436
|
+
}
|
437
|
+
],
|
438
|
+
"name": "upgradeVersionable",
|
439
|
+
"outputs": [],
|
440
|
+
"stateMutability": "nonpayable",
|
441
|
+
"type": "function"
|
442
|
+
}
|
443
|
+
],
|
444
|
+
"bytecode": "0x60806040523480156200001157600080fd5b5060405162001bf238038062001bf28339810160408190526200003491620004ff565b6200003e62000053565b6200004a838262000107565b50505062000703565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000900460ff1615620000a45760405163f92ee8a960e01b815260040160405180910390fd5b80546001600160401b0390811614620001045780546001600160401b0319166001600160401b0390811782556040519081527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50565b62000111620001b2565b6200019c82836001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa15801562000155573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200017b919062000549565b603c600085604051806020016040528060008152506200020360201b60201c565b620001ae637b6a51fd60e01b620002a2565b5050565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a005468010000000000000000900460ff166200020157604051631afcd79f60e31b815260040160405180910390fd5b565b6200020d620001b2565b620002198287620002d1565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166001600160681b0319909116176c0100000000000000000000000060ff8816021760ff60681b19166d01000000000000000000000000008615150217815590506001810162000298838262000613565b5050505050505050565b620002ac620001b2565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b620002db620001b2565b620002e6816200036a565b620002f062000482565b6001600160a01b038216620003185760405163f17ef42d60e01b815260040160405180910390fd5b507f07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f0080546001600160601b03166c010000000000000000000000006001600160a01b0390931692909202919091179055565b62000374620001b2565b806001600160a01b03163b600003620003b05760405163fdeac91f60e01b81526001600160a01b03821660048201526024015b60405180910390fd5b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b815263230c0c8160e11b60048201526301ffc9a790602401602060405180830381865afa9250505080156200042d575060408051601f3d908101601f191682019092526200042a91810190620006df565b60015b620004575760405163fdeac91f60e01b81526001600160a01b0382166004820152602401620003a7565b80620001ae5760405163fdeac91f60e01b81526001600160a01b0383166004820152602401620003a7565b6200048c620001b2565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b80516001600160a01b0381168114620004e257600080fd5b919050565b80516001600160601b0381168114620004e257600080fd5b6000806000606084860312156200051557600080fd5b6200052084620004ca565b92506200053060208501620004e7565b91506200054060408501620004ca565b90509250925092565b6000602082840312156200055c57600080fd5b6200056782620004e7565b9392505050565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200059957607f821691505b602082108103620005ba57634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200060e57600081815260208120601f850160051c81016020861015620005e95750805b601f850160051c820191505b818110156200060a57828155600101620005f5565b5050505b505050565b81516001600160401b038111156200062f576200062f6200056e565b620006478162000640845462000584565b84620005c0565b602080601f8311600181146200067f5760008415620006665750858301515b600019600386901b1c1916600185901b1785556200060a565b600085815260208120601f198616915b82811015620006b0578886015182559484019460019091019084016200068f565b5085821015620006cf5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b600060208284031215620006f257600080fd5b815180151581146200056757600080fd5b6114df80620007136000396000f3fe608060405234801561001057600080fd5b50600436106101375760003560e01c80635ab1bd53116100b8578063ada9652e1161007c578063ada9652e146102e1578063b68d1809146102f6578063cde749f41461030b578063ea86657214610313578063f21de1e814610242578063f7c34ee01461032657600080fd5b80635ab1bd5314610242578063644c45e014610267578063675393bf1461028f578063893d20e8146102a2578063a3f4df7e146102aa57600080fd5b8063214cdb80116100ff578063214cdb80146101ee57806327bb7a3314610201578063329d6e741461021457806336fc697e1461022757806349bb9e4b1461022f57600080fd5b806301ffc9a71461013c5780630d8e6e2c1461017e5780630fec111c1461019a578063138461e0146101af5780631eff4b22146101b9575b600080fd5b61016961014a366004610f0a565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b610186610339565b60405162ffffff9091168152602001610175565b6101a26103c3565b6040516101759190610f81565b6101b7610572565b005b6101e07f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610175565b6101b76101fc366004610f0a565b610779565b6101b761020f3660046110f6565b6107a6565b6101b761022236600461118f565b610832565b6101b7610994565b6101b761023d3660046111c4565b6109da565b6001546001600160a01b03165b6040516001600160a01b039091168152602001610175565b60008051602061148a833981519152546040516001600160601b039091168152602001610175565b6101b761029d366004611214565b610aec565b61024f610bfa565b6102d46040518060400160405280600b81526020016a546573745365727669636560a81b81525081565b6040516101759190611231565b6101e060008051602061148a83398151915281565b606e5b60405160ff9091168152602001610175565b6102f9610d31565b6101b7610321366004611244565b610da8565b6101b7610334366004611244565b610e40565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af415801561039a573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103be919061127d565b905090565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820152907f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa3006040805160808101825282546001600160601b038116825260ff600160601b820481166020840152600160681b9091041615159181019190915260018201805491929160608401919061046e906112a2565b80601f016020809104026020016040519081016040528092919081815260200182805461049a906112a2565b80156104e75780601f106104bc576101008083540402835291602001916104e7565b820191906000526020600020905b8154815290600101906020018083116104ca57829003601f168201915b50505050508152505090506040518060e00160405280610505600090565b6001600160601b0316815260200182600001516001600160601b03168152602001826020015160ff168152602001826040015115158152602001306001600160a01b03168152602001610556610bfa565b6001600160a01b03168152602001826060015181525091505090565b600060008051602061148a83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af41580156105e1573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061060591906112dc565b156106365780546040516301ab8b6760e21b81526001600160601b0390911660048201526024015b60405180910390fd5b306106496001546001600160a01b031690565b60405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa158015610691573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106b591906112dc565b6106dd5760405163b9304b0d60e01b81526001600160a01b038216600482015260240161062d565b6001546001600160a01b0316604051636939560f60e11b81526001600160a01b038381166004830152919091169063d272ac1e90602401602060405180830381865afa158015610731573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061075591906112f9565b82546bffffffffffffffffffffffff19166001600160601b03919091161790915550565b610781610eb7565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b6107ae610eb7565b6107b88287610e40565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b861515021781559050600181016108288382611365565b5050505050505050565b73__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__63a123b37c610854610339565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af4158015610894573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108b89190611425565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b900460ff16806108fe5750805467ffffffffffffffff808416911610155b1561091c5760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff191667ffffffffffffffff831617600160401b17815561094783610f02565b805460ff60401b1916815560405167ffffffffffffffff831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a1505050565b61099c610eb7565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b810460ff16159067ffffffffffffffff16600081158015610a205750825b905060008267ffffffffffffffff166001148015610a3d5750303b155b905081158015610a4b575080155b15610a695760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315610a9357845460ff60401b1916600160401b1785555b610a9d8787610f02565b8315610ae357845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50505050505050565b610af4610eb7565b806001600160a01b03163b600003610b2a5760405163fdeac91f60e01b81526001600160a01b038216600482015260240161062d565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b815263230c0c8160e11b60048201526301ffc9a790602401602060405180830381865afa925050508015610ba4575060408051601f3d908101601f19168201909252610ba1918101906112dc565b60015b610bcc5760405163fdeac91f60e01b81526001600160a01b038216600482015260240161062d565b80610bf55760405163fdeac91f60e01b81526001600160a01b038316600482015260240161062d565b505b50565b60008060008051602061148a83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610c6a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c8e91906112dc565b15610d1b576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015610cf1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d15919061144f565b91505090565b54600160601b90046001600160a01b0316919050565b604051632392b61b60e21b81526003600482015260009073__$9dab98ad7ae1a426029e5739f922230a41$__90638e4ad86c90602401602060405180830381865af4158015610d84573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103be919061146c565b610db0610eb7565b610e3082836001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015610df2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e1691906112f9565b603c600085604051806020016040528060008152506107a6565b610bf5637b6a51fd60e01b610779565b610e48610eb7565b610e5181610aec565b610e59610994565b6001600160a01b038216610e805760405163f17ef42d60e01b815260040160405180910390fd5b5060008051602061148a83398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0054600160401b900460ff16610f0057604051631afcd79f60e31b815260040160405180910390fd5b565b610137610eb7565b600060208284031215610f1c57600080fd5b81356001600160e01b031981168114610f3457600080fd5b9392505050565b6000815180845260005b81811015610f6157602081850181015186830182015201610f45565b506000602082860101526020601f19601f83011685010191505092915050565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260608301511515608083015260018060a01b0360808401511660a083015260a0830151610fea60c08401826001600160a01b03169052565b5060c083015160e080840152611004610100840182610f3b565b949350505050565b6001600160a01b0381168114610bf757600080fd5b6001600160601b0381168114610bf757600080fd5b60ff81168114610bf757600080fd5b8015158114610bf757600080fd5b634e487b7160e01b600052604160045260246000fd5b600082601f83011261107a57600080fd5b813567ffffffffffffffff8082111561109557611095611053565b604051601f8301601f19908116603f011681019082821181831017156110bd576110bd611053565b816040528381528660208588010111156110d657600080fd5b836020870160208301376000602085830101528094505050505092915050565b60008060008060008060c0878903121561110f57600080fd5b863561111a8161100c565b9550602087013561112a81611021565b9450604087013561113a81611036565b9350606087013561114a81611045565b9250608087013561115a8161100c565b915060a087013567ffffffffffffffff81111561117657600080fd5b61118289828a01611069565b9150509295509295509295565b6000602082840312156111a157600080fd5b813567ffffffffffffffff8111156111b857600080fd5b61100484828501611069565b600080604083850312156111d757600080fd5b82356111e28161100c565b9150602083013567ffffffffffffffff8111156111fe57600080fd5b61120a85828601611069565b9150509250929050565b60006020828403121561122657600080fd5b8135610f348161100c565b602081526000610f346020830184610f3b565b6000806040838503121561125757600080fd5b82356112628161100c565b915060208301356112728161100c565b809150509250929050565b60006020828403121561128f57600080fd5b815162ffffff81168114610f3457600080fd5b600181811c908216806112b657607f821691505b6020821081036112d657634e487b7160e01b600052602260045260246000fd5b50919050565b6000602082840312156112ee57600080fd5b8151610f3481611045565b60006020828403121561130b57600080fd5b8151610f3481611021565b601f82111561136057600081815260208120601f850160051c8101602086101561133d5750805b601f850160051c820191505b8181101561135c57828155600101611349565b5050505b505050565b815167ffffffffffffffff81111561137f5761137f611053565b6113938161138d84546112a2565b84611316565b602080601f8311600181146113c857600084156113b05750858301515b600019600386901b1c1916600185901b17855561135c565b600085815260208120601f198616915b828110156113f7578886015182559484019460019091019084016113d8565b50858210156114155787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b60006020828403121561143757600080fd5b815167ffffffffffffffff81168114610f3457600080fd5b60006020828403121561146157600080fd5b8151610f348161100c565b60006020828403121561147e57600080fd5b8151610f348161103656fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00a26469706673582212208a8b62da3b9095cf46ab8e3521f9dcb540ef34cbf7205da13df858a21a300ed664736f6c63430008140033",
|
445
|
+
"deployedBytecode": "0x608060405234801561001057600080fd5b50600436106101375760003560e01c80635ab1bd53116100b8578063ada9652e1161007c578063ada9652e146102e1578063b68d1809146102f6578063cde749f41461030b578063ea86657214610313578063f21de1e814610242578063f7c34ee01461032657600080fd5b80635ab1bd5314610242578063644c45e014610267578063675393bf1461028f578063893d20e8146102a2578063a3f4df7e146102aa57600080fd5b8063214cdb80116100ff578063214cdb80146101ee57806327bb7a3314610201578063329d6e741461021457806336fc697e1461022757806349bb9e4b1461022f57600080fd5b806301ffc9a71461013c5780630d8e6e2c1461017e5780630fec111c1461019a578063138461e0146101af5780631eff4b22146101b9575b600080fd5b61016961014a366004610f0a565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b610186610339565b60405162ffffff9091168152602001610175565b6101a26103c3565b6040516101759190610f81565b6101b7610572565b005b6101e07f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610175565b6101b76101fc366004610f0a565b610779565b6101b761020f3660046110f6565b6107a6565b6101b761022236600461118f565b610832565b6101b7610994565b6101b761023d3660046111c4565b6109da565b6001546001600160a01b03165b6040516001600160a01b039091168152602001610175565b60008051602061148a833981519152546040516001600160601b039091168152602001610175565b6101b761029d366004611214565b610aec565b61024f610bfa565b6102d46040518060400160405280600b81526020016a546573745365727669636560a81b81525081565b6040516101759190611231565b6101e060008051602061148a83398151915281565b606e5b60405160ff9091168152602001610175565b6102f9610d31565b6101b7610321366004611244565b610da8565b6101b7610334366004611244565b610e40565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af415801561039a573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103be919061127d565b905090565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820152907f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa3006040805160808101825282546001600160601b038116825260ff600160601b820481166020840152600160681b9091041615159181019190915260018201805491929160608401919061046e906112a2565b80601f016020809104026020016040519081016040528092919081815260200182805461049a906112a2565b80156104e75780601f106104bc576101008083540402835291602001916104e7565b820191906000526020600020905b8154815290600101906020018083116104ca57829003601f168201915b50505050508152505090506040518060e00160405280610505600090565b6001600160601b0316815260200182600001516001600160601b03168152602001826020015160ff168152602001826040015115158152602001306001600160a01b03168152602001610556610bfa565b6001600160a01b03168152602001826060015181525091505090565b600060008051602061148a83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af41580156105e1573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061060591906112dc565b156106365780546040516301ab8b6760e21b81526001600160601b0390911660048201526024015b60405180910390fd5b306106496001546001600160a01b031690565b60405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa158015610691573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106b591906112dc565b6106dd5760405163b9304b0d60e01b81526001600160a01b038216600482015260240161062d565b6001546001600160a01b0316604051636939560f60e11b81526001600160a01b038381166004830152919091169063d272ac1e90602401602060405180830381865afa158015610731573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061075591906112f9565b82546bffffffffffffffffffffffff19166001600160601b03919091161790915550565b610781610eb7565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b6107ae610eb7565b6107b88287610e40565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b861515021781559050600181016108288382611365565b5050505050505050565b73__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__63a123b37c610854610339565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af4158015610894573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108b89190611425565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b900460ff16806108fe5750805467ffffffffffffffff808416911610155b1561091c5760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff191667ffffffffffffffff831617600160401b17815561094783610f02565b805460ff60401b1916815560405167ffffffffffffffff831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a1505050565b61099c610eb7565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b810460ff16159067ffffffffffffffff16600081158015610a205750825b905060008267ffffffffffffffff166001148015610a3d5750303b155b905081158015610a4b575080155b15610a695760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315610a9357845460ff60401b1916600160401b1785555b610a9d8787610f02565b8315610ae357845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50505050505050565b610af4610eb7565b806001600160a01b03163b600003610b2a5760405163fdeac91f60e01b81526001600160a01b038216600482015260240161062d565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b815263230c0c8160e11b60048201526301ffc9a790602401602060405180830381865afa925050508015610ba4575060408051601f3d908101601f19168201909252610ba1918101906112dc565b60015b610bcc5760405163fdeac91f60e01b81526001600160a01b038216600482015260240161062d565b80610bf55760405163fdeac91f60e01b81526001600160a01b038316600482015260240161062d565b505b50565b60008060008051602061148a83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610c6a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c8e91906112dc565b15610d1b576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015610cf1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d15919061144f565b91505090565b54600160601b90046001600160a01b0316919050565b604051632392b61b60e21b81526003600482015260009073__$9dab98ad7ae1a426029e5739f922230a41$__90638e4ad86c90602401602060405180830381865af4158015610d84573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103be919061146c565b610db0610eb7565b610e3082836001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015610df2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e1691906112f9565b603c600085604051806020016040528060008152506107a6565b610bf5637b6a51fd60e01b610779565b610e48610eb7565b610e5181610aec565b610e59610994565b6001600160a01b038216610e805760405163f17ef42d60e01b815260040160405180910390fd5b5060008051602061148a83398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0054600160401b900460ff16610f0057604051631afcd79f60e31b815260040160405180910390fd5b565b610137610eb7565b600060208284031215610f1c57600080fd5b81356001600160e01b031981168114610f3457600080fd5b9392505050565b6000815180845260005b81811015610f6157602081850181015186830182015201610f45565b506000602082860101526020601f19601f83011685010191505092915050565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260608301511515608083015260018060a01b0360808401511660a083015260a0830151610fea60c08401826001600160a01b03169052565b5060c083015160e080840152611004610100840182610f3b565b949350505050565b6001600160a01b0381168114610bf757600080fd5b6001600160601b0381168114610bf757600080fd5b60ff81168114610bf757600080fd5b8015158114610bf757600080fd5b634e487b7160e01b600052604160045260246000fd5b600082601f83011261107a57600080fd5b813567ffffffffffffffff8082111561109557611095611053565b604051601f8301601f19908116603f011681019082821181831017156110bd576110bd611053565b816040528381528660208588010111156110d657600080fd5b836020870160208301376000602085830101528094505050505092915050565b60008060008060008060c0878903121561110f57600080fd5b863561111a8161100c565b9550602087013561112a81611021565b9450604087013561113a81611036565b9350606087013561114a81611045565b9250608087013561115a8161100c565b915060a087013567ffffffffffffffff81111561117657600080fd5b61118289828a01611069565b9150509295509295509295565b6000602082840312156111a157600080fd5b813567ffffffffffffffff8111156111b857600080fd5b61100484828501611069565b600080604083850312156111d757600080fd5b82356111e28161100c565b9150602083013567ffffffffffffffff8111156111fe57600080fd5b61120a85828601611069565b9150509250929050565b60006020828403121561122657600080fd5b8135610f348161100c565b602081526000610f346020830184610f3b565b6000806040838503121561125757600080fd5b82356112628161100c565b915060208301356112728161100c565b809150509250929050565b60006020828403121561128f57600080fd5b815162ffffff81168114610f3457600080fd5b600181811c908216806112b657607f821691505b6020821081036112d657634e487b7160e01b600052602260045260246000fd5b50919050565b6000602082840312156112ee57600080fd5b8151610f3481611045565b60006020828403121561130b57600080fd5b8151610f3481611021565b601f82111561136057600081815260208120601f850160051c8101602086101561133d5750805b601f850160051c820191505b8181101561135c57828155600101611349565b5050505b505050565b815167ffffffffffffffff81111561137f5761137f611053565b6113938161138d84546112a2565b84611316565b602080601f8311600181146113c857600084156113b05750858301515b600019600386901b1c1916600185901b17855561135c565b600085815260208120601f198616915b828110156113f7578886015182559484019460019091019084016113d8565b50858210156114155787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b60006020828403121561143757600080fd5b815167ffffffffffffffff81168114610f3457600080fd5b60006020828403121561146157600080fd5b8151610f348161100c565b60006020828403121561147e57600080fd5b8151610f348161103656fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00a26469706673582212208a8b62da3b9095cf46ab8e3521f9dcb540ef34cbf7205da13df858a21a300ed664736f6c63430008140033",
|
446
|
+
"linkReferences": {
|
447
|
+
"contracts/types/NftId.sol": {
|
448
|
+
"NftIdLib": [
|
449
|
+
{
|
450
|
+
"length": 20,
|
451
|
+
"start": 3258
|
452
|
+
},
|
453
|
+
{
|
454
|
+
"length": 20,
|
455
|
+
"start": 4931
|
456
|
+
}
|
457
|
+
]
|
458
|
+
},
|
459
|
+
"contracts/types/Version.sol": {
|
460
|
+
"VersionLib": [
|
461
|
+
{
|
462
|
+
"length": 20,
|
463
|
+
"start": 2675
|
464
|
+
},
|
465
|
+
{
|
466
|
+
"length": 20,
|
467
|
+
"start": 3911
|
468
|
+
}
|
469
|
+
],
|
470
|
+
"VersionPartLib": [
|
471
|
+
{
|
472
|
+
"length": 20,
|
473
|
+
"start": 5213
|
474
|
+
}
|
475
|
+
]
|
476
|
+
}
|
477
|
+
},
|
478
|
+
"deployedLinkReferences": {
|
479
|
+
"contracts/types/NftId.sol": {
|
480
|
+
"NftIdLib": [
|
481
|
+
{
|
482
|
+
"length": 20,
|
483
|
+
"start": 1447
|
484
|
+
},
|
485
|
+
{
|
486
|
+
"length": 20,
|
487
|
+
"start": 3120
|
488
|
+
}
|
489
|
+
]
|
490
|
+
},
|
491
|
+
"contracts/types/Version.sol": {
|
492
|
+
"VersionLib": [
|
493
|
+
{
|
494
|
+
"length": 20,
|
495
|
+
"start": 864
|
496
|
+
},
|
497
|
+
{
|
498
|
+
"length": 20,
|
499
|
+
"start": 2100
|
500
|
+
}
|
501
|
+
],
|
502
|
+
"VersionPartLib": [
|
503
|
+
{
|
504
|
+
"length": 20,
|
505
|
+
"start": 3402
|
506
|
+
}
|
507
|
+
]
|
508
|
+
}
|
509
|
+
}
|
510
|
+
}
|