@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,78 @@
|
|
1
|
+
{
|
2
|
+
"_format": "hh-sol-artifact-1",
|
3
|
+
"contractName": "Versionable",
|
4
|
+
"sourceName": "contracts/shared/Versionable.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": "getVersion",
|
32
|
+
"outputs": [
|
33
|
+
{
|
34
|
+
"internalType": "Version",
|
35
|
+
"name": "",
|
36
|
+
"type": "uint24"
|
37
|
+
}
|
38
|
+
],
|
39
|
+
"stateMutability": "pure",
|
40
|
+
"type": "function"
|
41
|
+
},
|
42
|
+
{
|
43
|
+
"inputs": [
|
44
|
+
{
|
45
|
+
"internalType": "address",
|
46
|
+
"name": "activatedBy",
|
47
|
+
"type": "address"
|
48
|
+
},
|
49
|
+
{
|
50
|
+
"internalType": "bytes",
|
51
|
+
"name": "data",
|
52
|
+
"type": "bytes"
|
53
|
+
}
|
54
|
+
],
|
55
|
+
"name": "initializeVersionable",
|
56
|
+
"outputs": [],
|
57
|
+
"stateMutability": "nonpayable",
|
58
|
+
"type": "function"
|
59
|
+
},
|
60
|
+
{
|
61
|
+
"inputs": [
|
62
|
+
{
|
63
|
+
"internalType": "bytes",
|
64
|
+
"name": "data",
|
65
|
+
"type": "bytes"
|
66
|
+
}
|
67
|
+
],
|
68
|
+
"name": "upgradeVersionable",
|
69
|
+
"outputs": [],
|
70
|
+
"stateMutability": "nonpayable",
|
71
|
+
"type": "function"
|
72
|
+
}
|
73
|
+
],
|
74
|
+
"bytecode": "0x",
|
75
|
+
"deployedBytecode": "0x",
|
76
|
+
"linkReferences": {},
|
77
|
+
"deployedLinkReferences": {}
|
78
|
+
}
|
@@ -0,0 +1,119 @@
|
|
1
|
+
{
|
2
|
+
"_format": "hh-sol-artifact-1",
|
3
|
+
"contractName": "TestFee",
|
4
|
+
"sourceName": "contracts/test/TestFee.sol",
|
5
|
+
"abi": [
|
6
|
+
{
|
7
|
+
"inputs": [
|
8
|
+
{
|
9
|
+
"internalType": "uint256",
|
10
|
+
"name": "fractionalValue",
|
11
|
+
"type": "uint256"
|
12
|
+
},
|
13
|
+
{
|
14
|
+
"internalType": "int8",
|
15
|
+
"name": "exponent",
|
16
|
+
"type": "int8"
|
17
|
+
},
|
18
|
+
{
|
19
|
+
"internalType": "uint256",
|
20
|
+
"name": "fixedValue",
|
21
|
+
"type": "uint256"
|
22
|
+
}
|
23
|
+
],
|
24
|
+
"name": "createFee",
|
25
|
+
"outputs": [
|
26
|
+
{
|
27
|
+
"components": [
|
28
|
+
{
|
29
|
+
"internalType": "UFixed",
|
30
|
+
"name": "fractionalFee",
|
31
|
+
"type": "uint256"
|
32
|
+
},
|
33
|
+
{
|
34
|
+
"internalType": "uint256",
|
35
|
+
"name": "fixedFee",
|
36
|
+
"type": "uint256"
|
37
|
+
}
|
38
|
+
],
|
39
|
+
"internalType": "struct Fee",
|
40
|
+
"name": "fee",
|
41
|
+
"type": "tuple"
|
42
|
+
}
|
43
|
+
],
|
44
|
+
"stateMutability": "pure",
|
45
|
+
"type": "function"
|
46
|
+
},
|
47
|
+
{
|
48
|
+
"inputs": [],
|
49
|
+
"name": "getZeroFee",
|
50
|
+
"outputs": [
|
51
|
+
{
|
52
|
+
"components": [
|
53
|
+
{
|
54
|
+
"internalType": "UFixed",
|
55
|
+
"name": "fractionalFee",
|
56
|
+
"type": "uint256"
|
57
|
+
},
|
58
|
+
{
|
59
|
+
"internalType": "uint256",
|
60
|
+
"name": "fixedFee",
|
61
|
+
"type": "uint256"
|
62
|
+
}
|
63
|
+
],
|
64
|
+
"internalType": "struct Fee",
|
65
|
+
"name": "fee",
|
66
|
+
"type": "tuple"
|
67
|
+
}
|
68
|
+
],
|
69
|
+
"stateMutability": "pure",
|
70
|
+
"type": "function"
|
71
|
+
}
|
72
|
+
],
|
73
|
+
"bytecode": "0x608060405234801561001057600080fd5b50610301806100206000396000f3fe608060405234801561001057600080fd5b50600436106100365760003560e01c80634e3dca121461003b57806387c565861461006d575b600080fd5b61004e610049366004610217565b610075565b6040805182518152602092830151928101929092520160405180910390f35b61004e610192565b6040805180820190915260008082526020820152604051631488c84560e01b815260048101859052600084900b602482015273__$a23651848365a6a5ca15f07b4331037f48$__9063c7010dfa9073__$5ac3274b8cf1e01ea223bf093142af05b0$__90631488c84590604401602060405180830381865af41580156100ff573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906101239190610255565b846040518363ffffffff1660e01b815260040161014a929190918252602082015260400190565b6040805180830381865af4158015610166573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061018a919061026e565b949350505050565b604080518082019091526000808252602082015273__$a23651848365a6a5ca15f07b4331037f48$__632bd182d36040518163ffffffff1660e01b81526004016040805180830381865af41580156101ee573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610212919061026e565b905090565b60008060006060848603121561022c57600080fd5b8335925060208401358060000b811461024457600080fd5b929592945050506040919091013590565b60006020828403121561026757600080fd5b5051919050565b60006040828403121561028057600080fd5b6040516040810181811067ffffffffffffffff821117156102b157634e487b7160e01b600052604160045260246000fd5b60405282518152602092830151928101929092525091905056fea264697066735822122041aa15510fb37657a6c552e37f03f0eaede74e53f7efbffea09948301a33eef864736f6c63430008140033",
|
74
|
+
"deployedBytecode": "0x608060405234801561001057600080fd5b50600436106100365760003560e01c80634e3dca121461003b57806387c565861461006d575b600080fd5b61004e610049366004610217565b610075565b6040805182518152602092830151928101929092520160405180910390f35b61004e610192565b6040805180820190915260008082526020820152604051631488c84560e01b815260048101859052600084900b602482015273__$a23651848365a6a5ca15f07b4331037f48$__9063c7010dfa9073__$5ac3274b8cf1e01ea223bf093142af05b0$__90631488c84590604401602060405180830381865af41580156100ff573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906101239190610255565b846040518363ffffffff1660e01b815260040161014a929190918252602082015260400190565b6040805180830381865af4158015610166573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061018a919061026e565b949350505050565b604080518082019091526000808252602082015273__$a23651848365a6a5ca15f07b4331037f48$__632bd182d36040518163ffffffff1660e01b81526004016040805180830381865af41580156101ee573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610212919061026e565b905090565b60008060006060848603121561022c57600080fd5b8335925060208401358060000b811461024457600080fd5b929592945050506040919091013590565b60006020828403121561026757600080fd5b5051919050565b60006040828403121561028057600080fd5b6040516040810181811067ffffffffffffffff821117156102b157634e487b7160e01b600052604160045260246000fd5b60405282518152602092830151928101929092525091905056fea264697066735822122041aa15510fb37657a6c552e37f03f0eaede74e53f7efbffea09948301a33eef864736f6c63430008140033",
|
75
|
+
"linkReferences": {
|
76
|
+
"contracts/types/Fee.sol": {
|
77
|
+
"FeeLib": [
|
78
|
+
{
|
79
|
+
"length": 20,
|
80
|
+
"start": 201
|
81
|
+
},
|
82
|
+
{
|
83
|
+
"length": 20,
|
84
|
+
"start": 456
|
85
|
+
}
|
86
|
+
]
|
87
|
+
},
|
88
|
+
"contracts/types/UFixed.sol": {
|
89
|
+
"UFixedLib": [
|
90
|
+
{
|
91
|
+
"length": 20,
|
92
|
+
"start": 229
|
93
|
+
}
|
94
|
+
]
|
95
|
+
}
|
96
|
+
},
|
97
|
+
"deployedLinkReferences": {
|
98
|
+
"contracts/types/Fee.sol": {
|
99
|
+
"FeeLib": [
|
100
|
+
{
|
101
|
+
"length": 20,
|
102
|
+
"start": 169
|
103
|
+
},
|
104
|
+
{
|
105
|
+
"length": 20,
|
106
|
+
"start": 424
|
107
|
+
}
|
108
|
+
]
|
109
|
+
},
|
110
|
+
"contracts/types/UFixed.sol": {
|
111
|
+
"UFixedLib": [
|
112
|
+
{
|
113
|
+
"length": 20,
|
114
|
+
"start": 197
|
115
|
+
}
|
116
|
+
]
|
117
|
+
}
|
118
|
+
}
|
119
|
+
}
|
@@ -0,0 +1,383 @@
|
|
1
|
+
{
|
2
|
+
"_format": "hh-sol-artifact-1",
|
3
|
+
"contractName": "TestRegisterable",
|
4
|
+
"sourceName": "contracts/test/TestRegisterable.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": "ObjectType",
|
20
|
+
"name": "objectType",
|
21
|
+
"type": "uint8"
|
22
|
+
},
|
23
|
+
{
|
24
|
+
"internalType": "bool",
|
25
|
+
"name": "isInterceptor",
|
26
|
+
"type": "bool"
|
27
|
+
},
|
28
|
+
{
|
29
|
+
"internalType": "address",
|
30
|
+
"name": "initialOwner",
|
31
|
+
"type": "address"
|
32
|
+
}
|
33
|
+
],
|
34
|
+
"stateMutability": "nonpayable",
|
35
|
+
"type": "constructor"
|
36
|
+
},
|
37
|
+
{
|
38
|
+
"inputs": [
|
39
|
+
{
|
40
|
+
"internalType": "NftId",
|
41
|
+
"name": "nftId",
|
42
|
+
"type": "uint96"
|
43
|
+
}
|
44
|
+
],
|
45
|
+
"name": "ErrorNftOwnableAlreadyLinked",
|
46
|
+
"type": "error"
|
47
|
+
},
|
48
|
+
{
|
49
|
+
"inputs": [
|
50
|
+
{
|
51
|
+
"internalType": "address",
|
52
|
+
"name": "contractAddress",
|
53
|
+
"type": "address"
|
54
|
+
}
|
55
|
+
],
|
56
|
+
"name": "ErrorNftOwnableContractNotRegistered",
|
57
|
+
"type": "error"
|
58
|
+
},
|
59
|
+
{
|
60
|
+
"inputs": [],
|
61
|
+
"name": "ErrorNftOwnableInitialOwnerZero",
|
62
|
+
"type": "error"
|
63
|
+
},
|
64
|
+
{
|
65
|
+
"inputs": [
|
66
|
+
{
|
67
|
+
"internalType": "address",
|
68
|
+
"name": "account",
|
69
|
+
"type": "address"
|
70
|
+
}
|
71
|
+
],
|
72
|
+
"name": "ErrorNftOwnableNotOwner",
|
73
|
+
"type": "error"
|
74
|
+
},
|
75
|
+
{
|
76
|
+
"inputs": [
|
77
|
+
{
|
78
|
+
"internalType": "address",
|
79
|
+
"name": "registryAddress",
|
80
|
+
"type": "address"
|
81
|
+
}
|
82
|
+
],
|
83
|
+
"name": "ErrorNotRegistry",
|
84
|
+
"type": "error"
|
85
|
+
},
|
86
|
+
{
|
87
|
+
"inputs": [],
|
88
|
+
"name": "InvalidInitialization",
|
89
|
+
"type": "error"
|
90
|
+
},
|
91
|
+
{
|
92
|
+
"inputs": [],
|
93
|
+
"name": "NotInitializing",
|
94
|
+
"type": "error"
|
95
|
+
},
|
96
|
+
{
|
97
|
+
"anonymous": false,
|
98
|
+
"inputs": [
|
99
|
+
{
|
100
|
+
"indexed": false,
|
101
|
+
"internalType": "uint64",
|
102
|
+
"name": "version",
|
103
|
+
"type": "uint64"
|
104
|
+
}
|
105
|
+
],
|
106
|
+
"name": "Initialized",
|
107
|
+
"type": "event"
|
108
|
+
},
|
109
|
+
{
|
110
|
+
"inputs": [],
|
111
|
+
"name": "NFT_OWNABLE_STORAGE_LOCATION_V1",
|
112
|
+
"outputs": [
|
113
|
+
{
|
114
|
+
"internalType": "bytes32",
|
115
|
+
"name": "",
|
116
|
+
"type": "bytes32"
|
117
|
+
}
|
118
|
+
],
|
119
|
+
"stateMutability": "view",
|
120
|
+
"type": "function"
|
121
|
+
},
|
122
|
+
{
|
123
|
+
"inputs": [],
|
124
|
+
"name": "REGISTERABLE_LOCATION_V1",
|
125
|
+
"outputs": [
|
126
|
+
{
|
127
|
+
"internalType": "bytes32",
|
128
|
+
"name": "",
|
129
|
+
"type": "bytes32"
|
130
|
+
}
|
131
|
+
],
|
132
|
+
"stateMutability": "view",
|
133
|
+
"type": "function"
|
134
|
+
},
|
135
|
+
{
|
136
|
+
"inputs": [],
|
137
|
+
"name": "getInitialInfo",
|
138
|
+
"outputs": [
|
139
|
+
{
|
140
|
+
"components": [
|
141
|
+
{
|
142
|
+
"internalType": "NftId",
|
143
|
+
"name": "nftId",
|
144
|
+
"type": "uint96"
|
145
|
+
},
|
146
|
+
{
|
147
|
+
"internalType": "NftId",
|
148
|
+
"name": "parentNftId",
|
149
|
+
"type": "uint96"
|
150
|
+
},
|
151
|
+
{
|
152
|
+
"internalType": "ObjectType",
|
153
|
+
"name": "objectType",
|
154
|
+
"type": "uint8"
|
155
|
+
},
|
156
|
+
{
|
157
|
+
"internalType": "bool",
|
158
|
+
"name": "isInterceptor",
|
159
|
+
"type": "bool"
|
160
|
+
},
|
161
|
+
{
|
162
|
+
"internalType": "address",
|
163
|
+
"name": "objectAddress",
|
164
|
+
"type": "address"
|
165
|
+
},
|
166
|
+
{
|
167
|
+
"internalType": "address",
|
168
|
+
"name": "initialOwner",
|
169
|
+
"type": "address"
|
170
|
+
},
|
171
|
+
{
|
172
|
+
"internalType": "bytes",
|
173
|
+
"name": "data",
|
174
|
+
"type": "bytes"
|
175
|
+
}
|
176
|
+
],
|
177
|
+
"internalType": "struct IRegistry.ObjectInfo",
|
178
|
+
"name": "info",
|
179
|
+
"type": "tuple"
|
180
|
+
}
|
181
|
+
],
|
182
|
+
"stateMutability": "view",
|
183
|
+
"type": "function"
|
184
|
+
},
|
185
|
+
{
|
186
|
+
"inputs": [],
|
187
|
+
"name": "getNftId",
|
188
|
+
"outputs": [
|
189
|
+
{
|
190
|
+
"internalType": "NftId",
|
191
|
+
"name": "",
|
192
|
+
"type": "uint96"
|
193
|
+
}
|
194
|
+
],
|
195
|
+
"stateMutability": "view",
|
196
|
+
"type": "function"
|
197
|
+
},
|
198
|
+
{
|
199
|
+
"inputs": [],
|
200
|
+
"name": "getOwner",
|
201
|
+
"outputs": [
|
202
|
+
{
|
203
|
+
"internalType": "address",
|
204
|
+
"name": "",
|
205
|
+
"type": "address"
|
206
|
+
}
|
207
|
+
],
|
208
|
+
"stateMutability": "view",
|
209
|
+
"type": "function"
|
210
|
+
},
|
211
|
+
{
|
212
|
+
"inputs": [],
|
213
|
+
"name": "getRegistry",
|
214
|
+
"outputs": [
|
215
|
+
{
|
216
|
+
"internalType": "contract IRegistry",
|
217
|
+
"name": "",
|
218
|
+
"type": "address"
|
219
|
+
}
|
220
|
+
],
|
221
|
+
"stateMutability": "view",
|
222
|
+
"type": "function"
|
223
|
+
},
|
224
|
+
{
|
225
|
+
"inputs": [],
|
226
|
+
"name": "getRegistryAddress",
|
227
|
+
"outputs": [
|
228
|
+
{
|
229
|
+
"internalType": "address",
|
230
|
+
"name": "",
|
231
|
+
"type": "address"
|
232
|
+
}
|
233
|
+
],
|
234
|
+
"stateMutability": "view",
|
235
|
+
"type": "function"
|
236
|
+
},
|
237
|
+
{
|
238
|
+
"inputs": [],
|
239
|
+
"name": "initializeERC165",
|
240
|
+
"outputs": [],
|
241
|
+
"stateMutability": "nonpayable",
|
242
|
+
"type": "function"
|
243
|
+
},
|
244
|
+
{
|
245
|
+
"inputs": [
|
246
|
+
{
|
247
|
+
"internalType": "address",
|
248
|
+
"name": "initialOwner",
|
249
|
+
"type": "address"
|
250
|
+
},
|
251
|
+
{
|
252
|
+
"internalType": "address",
|
253
|
+
"name": "registryAddress",
|
254
|
+
"type": "address"
|
255
|
+
}
|
256
|
+
],
|
257
|
+
"name": "initializeNftOwnable",
|
258
|
+
"outputs": [],
|
259
|
+
"stateMutability": "nonpayable",
|
260
|
+
"type": "function"
|
261
|
+
},
|
262
|
+
{
|
263
|
+
"inputs": [
|
264
|
+
{
|
265
|
+
"internalType": "address",
|
266
|
+
"name": "registryAddress",
|
267
|
+
"type": "address"
|
268
|
+
},
|
269
|
+
{
|
270
|
+
"internalType": "NftId",
|
271
|
+
"name": "parentNftId",
|
272
|
+
"type": "uint96"
|
273
|
+
},
|
274
|
+
{
|
275
|
+
"internalType": "ObjectType",
|
276
|
+
"name": "objectType",
|
277
|
+
"type": "uint8"
|
278
|
+
},
|
279
|
+
{
|
280
|
+
"internalType": "bool",
|
281
|
+
"name": "isInterceptor",
|
282
|
+
"type": "bool"
|
283
|
+
},
|
284
|
+
{
|
285
|
+
"internalType": "address",
|
286
|
+
"name": "initialOwner",
|
287
|
+
"type": "address"
|
288
|
+
},
|
289
|
+
{
|
290
|
+
"internalType": "bytes",
|
291
|
+
"name": "registryData",
|
292
|
+
"type": "bytes"
|
293
|
+
}
|
294
|
+
],
|
295
|
+
"name": "initializeRegisterable",
|
296
|
+
"outputs": [],
|
297
|
+
"stateMutability": "nonpayable",
|
298
|
+
"type": "function"
|
299
|
+
},
|
300
|
+
{
|
301
|
+
"inputs": [
|
302
|
+
{
|
303
|
+
"internalType": "address",
|
304
|
+
"name": "registryAddress",
|
305
|
+
"type": "address"
|
306
|
+
}
|
307
|
+
],
|
308
|
+
"name": "initializeRegistryLinked",
|
309
|
+
"outputs": [],
|
310
|
+
"stateMutability": "nonpayable",
|
311
|
+
"type": "function"
|
312
|
+
},
|
313
|
+
{
|
314
|
+
"inputs": [],
|
315
|
+
"name": "linkToRegisteredNftId",
|
316
|
+
"outputs": [],
|
317
|
+
"stateMutability": "nonpayable",
|
318
|
+
"type": "function"
|
319
|
+
},
|
320
|
+
{
|
321
|
+
"inputs": [
|
322
|
+
{
|
323
|
+
"internalType": "bytes4",
|
324
|
+
"name": "interfaceId",
|
325
|
+
"type": "bytes4"
|
326
|
+
}
|
327
|
+
],
|
328
|
+
"name": "registerInterface",
|
329
|
+
"outputs": [],
|
330
|
+
"stateMutability": "nonpayable",
|
331
|
+
"type": "function"
|
332
|
+
},
|
333
|
+
{
|
334
|
+
"inputs": [
|
335
|
+
{
|
336
|
+
"internalType": "bytes4",
|
337
|
+
"name": "interfaceId",
|
338
|
+
"type": "bytes4"
|
339
|
+
}
|
340
|
+
],
|
341
|
+
"name": "supportsInterface",
|
342
|
+
"outputs": [
|
343
|
+
{
|
344
|
+
"internalType": "bool",
|
345
|
+
"name": "",
|
346
|
+
"type": "bool"
|
347
|
+
}
|
348
|
+
],
|
349
|
+
"stateMutability": "view",
|
350
|
+
"type": "function"
|
351
|
+
}
|
352
|
+
],
|
353
|
+
"bytecode": "0x60806040523480156200001157600080fd5b50604051620014593803806200145983398101604081905262000034916200037a565b604080516020810190915260008152620000538686868686866200005f565b50505050505062000596565b62000069620000fe565b6200007582876200014f565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166001600160681b0319909116176c0100000000000000000000000060ff8816021760ff60681b19166d010000000000000000000000000086151502178155905060018101620000f48382620004a5565b5050505050505050565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a005468010000000000000000900460ff166200014d57604051631afcd79f60e31b815260040160405180910390fd5b565b62000159620000fe565b6200016481620001e8565b6200016e62000304565b6001600160a01b038216620001965760405163f17ef42d60e01b815260040160405180910390fd5b507f07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f0080546001600160601b03166c010000000000000000000000006001600160a01b0390931692909202919091179055565b620001f2620000fe565b806001600160a01b03163b6000036200022e5760405163fdeac91f60e01b81526001600160a01b03821660048201526024015b60405180910390fd5b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b815263230c0c8160e11b60048201526301ffc9a790602401602060405180830381865afa925050508015620002ab575060408051601f3d908101601f19168201909252620002a89181019062000571565b60015b620002d55760405163fdeac91f60e01b81526001600160a01b038216600482015260240162000225565b80620003005760405163fdeac91f60e01b81526001600160a01b038316600482015260240162000225565b5050565b6200030e620000fe565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b80516001600160a01b03811681146200036457600080fd5b919050565b805180151581146200036457600080fd5b600080600080600060a086880312156200039357600080fd5b6200039e866200034c565b60208701519095506001600160601b0381168114620003bc57600080fd5b604087015190945060ff81168114620003d457600080fd5b9250620003e46060870162000369565b9150620003f4608087016200034c565b90509295509295909350565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200042b57607f821691505b6020821081036200044c57634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115620004a057600081815260208120601f850160051c810160208610156200047b5750805b601f850160051c820191505b818110156200049c5782815560010162000487565b5050505b505050565b81516001600160401b03811115620004c157620004c162000400565b620004d981620004d2845462000416565b8462000452565b602080601f831160018114620005115760008415620004f85750858301515b600019600386901b1c1916600185901b1785556200049c565b600085815260208120601f198616915b82811015620005425788860151825594840194600190910190840162000521565b5085821015620005615787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6000602082840312156200058457600080fd5b6200058f8262000369565b9392505050565b610eb380620005a66000396000f3fe608060405234801561001057600080fd5b50600436106100ea5760003560e01c80635ab1bd531161008c578063893d20e811610066578063893d20e814610213578063ada9652e1461021b578063f21de1e8146101b3578063f7c34ee01461023057600080fd5b80635ab1bd53146101b3578063644c45e0146101d8578063675393bf1461020057600080fd5b80631eff4b22116100c85780631eff4b2214610150578063214cdb801461018557806327bb7a331461019857806336fc697e146101ab57600080fd5b806301ffc9a7146100ef5780630fec111c14610131578063138461e014610146575b600080fd5b61011c6100fd366004610a04565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b610139610243565b6040516101289190610a7b565b61014e6103f2565b005b6101777f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610128565b61014e610193366004610a04565b6105f9565b61014e6101a6366004610b54565b610626565b61014e6106b2565b6001546001600160a01b03165b6040516001600160a01b039091168152602001610128565b600080516020610e5e833981519152546040516001600160601b039091168152602001610128565b61014e61020e366004610c67565b6106f8565b6101c0610806565b610177600080516020610e5e83398151915281565b61014e61023e366004610c84565b61093d565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820152907f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa3006040805160808101825282546001600160601b038116825260ff600160601b820481166020840152600160681b909104161515918101919091526001820180549192916060840191906102ee90610cbd565b80601f016020809104026020016040519081016040528092919081815260200182805461031a90610cbd565b80156103675780601f1061033c57610100808354040283529160200191610367565b820191906000526020600020905b81548152906001019060200180831161034a57829003601f168201915b50505050508152505090506040518060e00160405280610385600090565b6001600160601b0316815260200182600001516001600160601b03168152602001826020015160ff168152602001826040015115158152602001306001600160a01b031681526020016103d6610806565b6001600160a01b03168152602001826060015181525091505090565b6000600080516020610e5e83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610461573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104859190610cf7565b156104b65780546040516301ab8b6760e21b81526001600160601b0390911660048201526024015b60405180910390fd5b306104c96001546001600160a01b031690565b60405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa158015610511573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105359190610cf7565b61055d5760405163b9304b0d60e01b81526001600160a01b03821660048201526024016104ad565b6001546001600160a01b0316604051636939560f60e11b81526001600160a01b038381166004830152919091169063d272ac1e90602401602060405180830381865afa1580156105b1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105d59190610d14565b82546bffffffffffffffffffffffff19166001600160601b03919091161790915550565b6106016109b4565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b61062e6109b4565b610638828761093d565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b861515021781559050600181016106a88382610d80565b5050505050505050565b6106ba6109b4565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b6107006109b4565b806001600160a01b03163b6000036107365760405163fdeac91f60e01b81526001600160a01b03821660048201526024016104ad565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b815263230c0c8160e11b60048201526301ffc9a790602401602060405180830381865afa9250505080156107b0575060408051601f3d908101601f191682019092526107ad91810190610cf7565b60015b6107d85760405163fdeac91f60e01b81526001600160a01b03821660048201526024016104ad565b806108015760405163fdeac91f60e01b81526001600160a01b03831660048201526024016104ad565b505b50565b600080600080516020610e5e83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610876573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061089a9190610cf7565b15610927576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa1580156108fd573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109219190610e40565b91505090565b54600160601b90046001600160a01b0316919050565b6109456109b4565b61094e816106f8565b6109566106b2565b6001600160a01b03821661097d5760405163f17ef42d60e01b815260040160405180910390fd5b50600080516020610e5e83398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a005468010000000000000000900460ff16610a0257604051631afcd79f60e31b815260040160405180910390fd5b565b600060208284031215610a1657600080fd5b81356001600160e01b031981168114610a2e57600080fd5b9392505050565b6000815180845260005b81811015610a5b57602081850181015186830182015201610a3f565b506000602082860101526020601f19601f83011685010191505092915050565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260608301511515608083015260018060a01b0360808401511660a083015260a0830151610ae460c08401826001600160a01b03169052565b5060c083015160e080840152610afe610100840182610a35565b949350505050565b6001600160a01b038116811461080357600080fd5b6001600160601b038116811461080357600080fd5b801515811461080357600080fd5b634e487b7160e01b600052604160045260246000fd5b60008060008060008060c08789031215610b6d57600080fd5b8635610b7881610b06565b95506020870135610b8881610b1b565b9450604087013560ff81168114610b9e57600080fd5b93506060870135610bae81610b30565b92506080870135610bbe81610b06565b915060a087013567ffffffffffffffff80821115610bdb57600080fd5b818901915089601f830112610bef57600080fd5b813581811115610c0157610c01610b3e565b604051601f8201601f19908116603f01168101908382118183101715610c2957610c29610b3e565b816040528281528c6020848701011115610c4257600080fd5b8260208601602083013760006020848301015280955050505050509295509295509295565b600060208284031215610c7957600080fd5b8135610a2e81610b06565b60008060408385031215610c9757600080fd5b8235610ca281610b06565b91506020830135610cb281610b06565b809150509250929050565b600181811c90821680610cd157607f821691505b602082108103610cf157634e487b7160e01b600052602260045260246000fd5b50919050565b600060208284031215610d0957600080fd5b8151610a2e81610b30565b600060208284031215610d2657600080fd5b8151610a2e81610b1b565b601f821115610d7b57600081815260208120601f850160051c81016020861015610d585750805b601f850160051c820191505b81811015610d7757828155600101610d64565b5050505b505050565b815167ffffffffffffffff811115610d9a57610d9a610b3e565b610dae81610da88454610cbd565b84610d31565b602080601f831160018114610de35760008415610dcb5750858301515b600019600386901b1c1916600185901b178555610d77565b600085815260208120601f198616915b82811015610e1257888601518255948401946001909101908401610df3565b5085821015610e305787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b600060208284031215610e5257600080fd5b8151610a2e81610b0656fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00a2646970667358221220c8d16299789d8c78a58d09ca7e13502e2dcb60392865def84ac186ac253dd6ab64736f6c63430008140033",
|
354
|
+
"deployedBytecode": "0x608060405234801561001057600080fd5b50600436106100ea5760003560e01c80635ab1bd531161008c578063893d20e811610066578063893d20e814610213578063ada9652e1461021b578063f21de1e8146101b3578063f7c34ee01461023057600080fd5b80635ab1bd53146101b3578063644c45e0146101d8578063675393bf1461020057600080fd5b80631eff4b22116100c85780631eff4b2214610150578063214cdb801461018557806327bb7a331461019857806336fc697e146101ab57600080fd5b806301ffc9a7146100ef5780630fec111c14610131578063138461e014610146575b600080fd5b61011c6100fd366004610a04565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b610139610243565b6040516101289190610a7b565b61014e6103f2565b005b6101777f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610128565b61014e610193366004610a04565b6105f9565b61014e6101a6366004610b54565b610626565b61014e6106b2565b6001546001600160a01b03165b6040516001600160a01b039091168152602001610128565b600080516020610e5e833981519152546040516001600160601b039091168152602001610128565b61014e61020e366004610c67565b6106f8565b6101c0610806565b610177600080516020610e5e83398151915281565b61014e61023e366004610c84565b61093d565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820152907f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa3006040805160808101825282546001600160601b038116825260ff600160601b820481166020840152600160681b909104161515918101919091526001820180549192916060840191906102ee90610cbd565b80601f016020809104026020016040519081016040528092919081815260200182805461031a90610cbd565b80156103675780601f1061033c57610100808354040283529160200191610367565b820191906000526020600020905b81548152906001019060200180831161034a57829003601f168201915b50505050508152505090506040518060e00160405280610385600090565b6001600160601b0316815260200182600001516001600160601b03168152602001826020015160ff168152602001826040015115158152602001306001600160a01b031681526020016103d6610806565b6001600160a01b03168152602001826060015181525091505090565b6000600080516020610e5e83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610461573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104859190610cf7565b156104b65780546040516301ab8b6760e21b81526001600160601b0390911660048201526024015b60405180910390fd5b306104c96001546001600160a01b031690565b60405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa158015610511573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105359190610cf7565b61055d5760405163b9304b0d60e01b81526001600160a01b03821660048201526024016104ad565b6001546001600160a01b0316604051636939560f60e11b81526001600160a01b038381166004830152919091169063d272ac1e90602401602060405180830381865afa1580156105b1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105d59190610d14565b82546bffffffffffffffffffffffff19166001600160601b03919091161790915550565b6106016109b4565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b61062e6109b4565b610638828761093d565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b861515021781559050600181016106a88382610d80565b5050505050505050565b6106ba6109b4565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b6107006109b4565b806001600160a01b03163b6000036107365760405163fdeac91f60e01b81526001600160a01b03821660048201526024016104ad565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b815263230c0c8160e11b60048201526301ffc9a790602401602060405180830381865afa9250505080156107b0575060408051601f3d908101601f191682019092526107ad91810190610cf7565b60015b6107d85760405163fdeac91f60e01b81526001600160a01b03821660048201526024016104ad565b806108015760405163fdeac91f60e01b81526001600160a01b03831660048201526024016104ad565b505b50565b600080600080516020610e5e83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610876573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061089a9190610cf7565b15610927576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa1580156108fd573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109219190610e40565b91505090565b54600160601b90046001600160a01b0316919050565b6109456109b4565b61094e816106f8565b6109566106b2565b6001600160a01b03821661097d5760405163f17ef42d60e01b815260040160405180910390fd5b50600080516020610e5e83398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a005468010000000000000000900460ff16610a0257604051631afcd79f60e31b815260040160405180910390fd5b565b600060208284031215610a1657600080fd5b81356001600160e01b031981168114610a2e57600080fd5b9392505050565b6000815180845260005b81811015610a5b57602081850181015186830182015201610a3f565b506000602082860101526020601f19601f83011685010191505092915050565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260608301511515608083015260018060a01b0360808401511660a083015260a0830151610ae460c08401826001600160a01b03169052565b5060c083015160e080840152610afe610100840182610a35565b949350505050565b6001600160a01b038116811461080357600080fd5b6001600160601b038116811461080357600080fd5b801515811461080357600080fd5b634e487b7160e01b600052604160045260246000fd5b60008060008060008060c08789031215610b6d57600080fd5b8635610b7881610b06565b95506020870135610b8881610b1b565b9450604087013560ff81168114610b9e57600080fd5b93506060870135610bae81610b30565b92506080870135610bbe81610b06565b915060a087013567ffffffffffffffff80821115610bdb57600080fd5b818901915089601f830112610bef57600080fd5b813581811115610c0157610c01610b3e565b604051601f8201601f19908116603f01168101908382118183101715610c2957610c29610b3e565b816040528281528c6020848701011115610c4257600080fd5b8260208601602083013760006020848301015280955050505050509295509295509295565b600060208284031215610c7957600080fd5b8135610a2e81610b06565b60008060408385031215610c9757600080fd5b8235610ca281610b06565b91506020830135610cb281610b06565b809150509250929050565b600181811c90821680610cd157607f821691505b602082108103610cf157634e487b7160e01b600052602260045260246000fd5b50919050565b600060208284031215610d0957600080fd5b8151610a2e81610b30565b600060208284031215610d2657600080fd5b8151610a2e81610b1b565b601f821115610d7b57600081815260208120601f850160051c81016020861015610d585750805b601f850160051c820191505b81811015610d7757828155600101610d64565b5050505b505050565b815167ffffffffffffffff811115610d9a57610d9a610b3e565b610dae81610da88454610cbd565b84610d31565b602080601f831160018114610de35760008415610dcb5750858301515b600019600386901b1c1916600185901b178555610d77565b600085815260208120601f198616915b82811015610e1257888601518255948401946001909101908401610df3565b5085821015610e305787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b600060208284031215610e5257600080fd5b8151610a2e81610b0656fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00a2646970667358221220c8d16299789d8c78a58d09ca7e13502e2dcb60392865def84ac186ac253dd6ab64736f6c63430008140033",
|
355
|
+
"linkReferences": {
|
356
|
+
"contracts/types/NftId.sol": {
|
357
|
+
"NftIdLib": [
|
358
|
+
{
|
359
|
+
"length": 20,
|
360
|
+
"start": 2509
|
361
|
+
},
|
362
|
+
{
|
363
|
+
"length": 20,
|
364
|
+
"start": 3554
|
365
|
+
}
|
366
|
+
]
|
367
|
+
}
|
368
|
+
},
|
369
|
+
"deployedLinkReferences": {
|
370
|
+
"contracts/types/NftId.sol": {
|
371
|
+
"NftIdLib": [
|
372
|
+
{
|
373
|
+
"length": 20,
|
374
|
+
"start": 1063
|
375
|
+
},
|
376
|
+
{
|
377
|
+
"length": 20,
|
378
|
+
"start": 2108
|
379
|
+
}
|
380
|
+
]
|
381
|
+
}
|
382
|
+
}
|
383
|
+
}
|