@etherisc/gif-next 0.0.2-f9bc4c7-556 → 0.0.2-fbe22f0-239
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +314 -2
- package/artifacts/contracts/components/Component.sol/Component.dbg.json +4 -0
- package/artifacts/contracts/components/Component.sol/Component.json +858 -0
- package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +4 -0
- package/artifacts/contracts/components/Distribution.sol/Distribution.json +1114 -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} +281 -226
- package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +4 -0
- package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.json +695 -0
- package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +1 -1
- package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.json +601 -76
- package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +1 -1
- package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.json +582 -61
- package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +1 -1
- package/artifacts/contracts/components/Pool.sol/Pool.json +1099 -159
- package/artifacts/contracts/components/Product.sol/Product.dbg.json +1 -1
- package/artifacts/contracts/components/Product.sol/Product.json +1030 -84
- package/artifacts/contracts/experiment/cloning/Cloner.sol/Cloner.dbg.json +4 -0
- package/artifacts/contracts/experiment/cloning/Cloner.sol/Cloner.json +66 -0
- package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock1.dbg.json +4 -0
- package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock1.json +24 -0
- package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock2.dbg.json +4 -0
- package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock2.json +42 -0
- package/artifacts/contracts/experiment/errors/Require.sol/Require.dbg.json +1 -1
- package/artifacts/contracts/experiment/errors/Revert.sol/Revert.dbg.json +1 -1
- package/artifacts/contracts/experiment/inheritance/A.sol/A.dbg.json +1 -1
- package/artifacts/contracts/experiment/inheritance/A.sol/AShared.dbg.json +1 -1
- package/artifacts/contracts/experiment/inheritance/B.sol/B.dbg.json +1 -1
- package/artifacts/contracts/experiment/inheritance/C.sol/C.dbg.json +1 -1
- package/artifacts/contracts/experiment/inheritance/IA.sol/IA.dbg.json +1 -1
- package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.dbg.json +1 -1
- package/artifacts/contracts/experiment/inheritance/IB.sol/IB.dbg.json +1 -1
- package/artifacts/contracts/experiment/inheritance/IC.sol/IC.dbg.json +1 -1
- package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.dbg.json +1 -1
- package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.json +2 -2
- package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.dbg.json +1 -1
- package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.dbg.json +1 -1
- package/artifacts/contracts/experiment/statemachine/SM.sol/SM.dbg.json +1 -1
- package/artifacts/contracts/experiment/statemachine/SM.sol/SM.json +2 -2
- package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.dbg.json +1 -1
- package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.json +2 -2
- package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.dbg.json +1 -1
- package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.dbg.json +1 -1
- 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 +1150 -1021
- package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +4 -0
- package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +591 -0
- package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
- package/artifacts/contracts/instance/Instance.sol/Instance.json +2047 -1067
- 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 +1386 -0
- package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +4 -0
- package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +1164 -0
- package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +4 -0
- package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +584 -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 +728 -0
- package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +1 -1
- package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.json +45 -127
- package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.dbg.json +1 -1
- package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +1 -1
- package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.json +55 -245
- package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +1 -1
- package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +4 -4
- 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/module/{bundle/IBundle.sol → IBundle.sol}/IBundle.json +1 -1
- package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +4 -0
- package/artifacts/contracts/instance/module/{access/IAccess.sol/IAccess.json → IDistribution.sol/IDistribution.json} +2 -2
- package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +4 -0
- package/artifacts/contracts/instance/module/{policy/IPolicy.sol → IPolicy.sol}/IPolicy.json +1 -1
- package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +4 -0
- package/artifacts/contracts/instance/module/{risk/IRisk.sol → IRisk.sol}/IRisk.json +1 -1
- package/artifacts/contracts/instance/module/ISetup.sol/ISetup.dbg.json +4 -0
- package/artifacts/contracts/instance/{base/ModuleBase.sol/ModuleBase.json → module/ISetup.sol/ISetup.json} +2 -2
- package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.dbg.json +4 -0
- package/artifacts/contracts/instance/module/{treasury/ITreasury.sol → 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 +1091 -0
- package/artifacts/contracts/instance/service/BundleService.sol/BundleService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/BundleService.sol/BundleService.json +1292 -0
- package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.dbg.json +4 -0
- package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.json +560 -0
- package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +897 -0
- package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +4 -0
- package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.json +548 -0
- package/artifacts/contracts/instance/service/IApplicationService.sol/IApplicationService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/IApplicationService.sol/IApplicationService.json +625 -0
- package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.json +785 -0
- package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +4 -0
- package/artifacts/contracts/instance/{base/InstanceBase.sol/InstanceBase.json → service/IDistributionService.sol/IDistributionService.json} +205 -85
- package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.json +771 -0
- package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.json +203 -80
- package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/IProductService.sol/IProductService.json +209 -150
- package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.json +1352 -0
- package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +4 -0
- package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.json +616 -0
- package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +546 -86
- package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.dbg.json +4 -0
- package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.json +548 -0
- package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +521 -213
- package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.dbg.json +4 -0
- package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.json +548 -0
- package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
- package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +186 -12
- package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
- package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +466 -34
- package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +4 -0
- package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +986 -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 +470 -103
- 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 +1325 -0
- package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +4 -0
- package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +575 -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 +505 -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 +1 -1
- package/artifacts/contracts/shared/ERC165.sol/ERC165.json +41 -3
- package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +4 -0
- package/artifacts/contracts/{components/IBaseComponent.sol/IBaseComponent.json → shared/INftOwnable.sol/INftOwnable.json} +56 -79
- package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +4 -0
- package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.json +129 -0
- package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
- package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +116 -36
- package/artifacts/contracts/shared/IService.sol/IService.dbg.json +4 -0
- package/artifacts/contracts/{instance/service/IComponentOwnerService.sol/IComponentOwnerService.json → shared/IService.sol/IService.json} +174 -117
- package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +1 -1
- package/artifacts/contracts/shared/IVersionable.sol/IVersionable.json +55 -14
- package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +4 -0
- package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +277 -0
- package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +4 -0
- package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +172 -0
- package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +4 -0
- package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +473 -0
- package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
- package/artifacts/contracts/shared/Registerable.sol/Registerable.json +293 -25
- package/artifacts/contracts/shared/Service.sol/Service.dbg.json +4 -0
- package/artifacts/contracts/shared/Service.sol/Service.json +601 -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 +1 -1
- package/artifacts/contracts/shared/Versionable.sol/Versionable.json +78 -14
- package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +1 -1
- package/artifacts/contracts/test/TestFee.sol/TestFee.json +4 -4
- package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +1 -1
- package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +309 -26
- package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +1 -1
- package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +14 -14
- package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +1 -1
- package/artifacts/contracts/test/TestService.sol/TestService.json +412 -58
- package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +1 -1
- package/artifacts/contracts/test/TestToken.sol/TestUsdc.json +91 -53
- package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +1 -1
- package/artifacts/contracts/test/TestVersion.sol/TestVersion.json +2 -2
- package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +1 -1
- package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +103 -23
- package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +1 -1
- package/artifacts/contracts/test/Usdc.sol/USDC.json +91 -53
- package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +1 -1
- 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/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 +1 -1
- package/artifacts/contracts/types/Fee.sol/FeeLib.json +52 -13
- package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +1 -1
- package/artifacts/contracts/types/Key32.sol/Key32Lib.json +31 -17
- package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +1 -1
- package/artifacts/contracts/types/NftId.sol/NftIdLib.json +2 -2
- package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +1 -1
- package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.json +26 -3
- 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/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 +1 -1
- package/artifacts/contracts/types/RoleId.sol/RoleIdLib.json +134 -8
- 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 +15 -2
- package/artifacts/contracts/types/UFixed.sol/MathLib.dbg.json +4 -0
- package/artifacts/contracts/types/UFixed.sol/MathLib.json +10 -0
- package/artifacts/contracts/types/UFixed.sol/UFixedLib.dbg.json +4 -0
- package/artifacts/contracts/types/UFixed.sol/{UFixedMathLib.json → UFixedLib.json} +3 -3
- package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +1 -1
- package/artifacts/contracts/types/Version.sol/VersionLib.json +40 -2
- package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +1 -1
- package/artifacts/contracts/types/Version.sol/VersionPartLib.json +22 -3
- package/contracts/components/Component.sol +230 -0
- package/contracts/components/Distribution.sol +156 -0
- package/contracts/components/IComponent.sol +50 -0
- package/contracts/components/IDistributionComponent.sol +47 -0
- package/contracts/components/IPoolComponent.sol +65 -35
- package/contracts/components/IProductComponent.sol +29 -9
- package/contracts/components/Pool.sol +180 -100
- package/contracts/components/Product.sol +203 -42
- package/contracts/experiment/cloning/Cloner.sol +47 -0
- package/contracts/instance/BundleManager.sol +125 -0
- package/contracts/instance/Cloneable.sol +46 -0
- package/contracts/instance/IInstance.sol +65 -45
- package/contracts/instance/IInstanceService.sol +41 -0
- package/contracts/instance/Instance.sol +253 -53
- package/contracts/instance/InstanceAccessManager.sol +297 -0
- package/contracts/instance/InstanceReader.sol +293 -0
- package/contracts/instance/InstanceService.sol +434 -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 +13 -13
- package/contracts/instance/base/ILifecycle.sol +3 -3
- package/contracts/instance/base/KeyValueStore.sol +53 -37
- package/contracts/instance/base/Lifecycle.sol +16 -11
- package/contracts/instance/module/IAccess.sol +47 -0
- package/contracts/instance/module/IBundle.sol +20 -0
- package/contracts/instance/module/IDistribution.sol +39 -0
- package/contracts/instance/module/IPolicy.sol +45 -0
- package/contracts/instance/module/IRisk.sol +11 -0
- package/contracts/instance/module/ISetup.sol +47 -0
- package/contracts/instance/module/ITreasury.sol +23 -0
- package/contracts/instance/service/ApplicationService.sol +268 -0
- package/contracts/instance/service/BundleService.sol +298 -0
- package/contracts/instance/service/BundleServiceManager.sol +51 -0
- package/contracts/instance/service/DistributionService.sol +105 -0
- package/contracts/instance/service/DistributionServiceManager.sol +51 -0
- package/contracts/instance/service/IApplicationService.sol +82 -0
- package/contracts/instance/service/IBundleService.sol +54 -0
- package/contracts/instance/service/IDistributionService.sol +12 -0
- package/contracts/instance/service/IPolicyService.sol +88 -0
- package/contracts/instance/service/IPoolService.sol +8 -18
- package/contracts/instance/service/IProductService.sol +21 -39
- package/contracts/instance/service/PolicyService.sol +524 -0
- package/contracts/instance/service/PolicyServiceManager.sol +54 -0
- package/contracts/instance/service/PoolService.sol +78 -92
- package/contracts/instance/service/PoolServiceManager.sol +51 -0
- package/contracts/instance/service/ProductService.sol +168 -289
- package/contracts/instance/service/ProductServiceManager.sol +54 -0
- package/contracts/registry/ChainNft.sol +79 -36
- package/contracts/registry/IRegistry.sol +66 -24
- package/contracts/registry/IRegistryService.sol +65 -0
- package/contracts/registry/ITransferInterceptor.sol +6 -0
- package/contracts/registry/Registry.sol +364 -283
- package/contracts/registry/RegistryAccessManager.sol +216 -0
- package/contracts/registry/RegistryService.sol +261 -0
- package/contracts/registry/RegistryServiceManager.sol +62 -0
- package/contracts/registry/ReleaseManager.sol +332 -0
- package/contracts/registry/TokenRegistry.sol +113 -0
- package/contracts/shared/ContractDeployerLib.sol +72 -0
- package/contracts/shared/ERC165.sol +13 -8
- package/contracts/shared/INftOwnable.sol +27 -0
- package/contracts/shared/IPolicyHolder.sol +26 -0
- package/contracts/shared/IRegisterable.sol +10 -19
- package/contracts/shared/IService.sol +16 -0
- package/contracts/shared/IVersionable.sol +55 -11
- package/contracts/shared/NftOwnable.sol +187 -0
- package/contracts/shared/PolicyHolder.sol +52 -0
- package/contracts/shared/ProxyManager.sol +95 -0
- package/contracts/shared/Registerable.sol +58 -63
- package/contracts/shared/Service.sol +60 -0
- package/contracts/shared/TokenHandler.sol +27 -0
- package/contracts/shared/UpgradableProxyWithAdmin.sol +16 -0
- package/contracts/shared/Versionable.sol +113 -54
- package/contracts/test/TestFee.sol +2 -2
- package/contracts/test/TestRegisterable.sol +5 -6
- package/contracts/test/TestRoleId.sol +1 -1
- package/contracts/test/TestService.sol +7 -14
- package/contracts/types/DistributorType.sol +55 -0
- package/contracts/types/Fee.sol +10 -5
- package/contracts/types/Key32.sol +8 -3
- package/contracts/types/NftIdSet.sol +26 -24
- package/contracts/types/NumberId.sol +52 -0
- package/contracts/types/ObjectType.sol +55 -14
- package/contracts/types/Referral.sol +85 -0
- package/contracts/types/RiskId.sol +43 -0
- package/contracts/types/RoleId.sol +62 -10
- package/contracts/types/StateId.sol +5 -1
- package/contracts/types/Timestamp.sol +7 -3
- package/contracts/types/UFixed.sol +128 -12
- package/contracts/types/Version.sol +13 -1
- package/package.json +6 -5
- package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.dbg.json +0 -4
- package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.json +0 -174
- package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.dbg.json +0 -4
- package/artifacts/contracts/instance/IInstanceLinked.sol/IInstanceLinked.dbg.json +0 -4
- package/artifacts/contracts/instance/IInstanceLinked.sol/IInstanceLinked.json +0 -24
- package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.dbg.json +0 -4
- package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.json +0 -300
- package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.dbg.json +0 -4
- package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.json +0 -63
- package/artifacts/contracts/instance/base/IService.sol/IService.dbg.json +0 -4
- package/artifacts/contracts/instance/base/IService.sol/IService.json +0 -300
- package/artifacts/contracts/instance/base/InstanceBase.sol/InstanceBase.dbg.json +0 -4
- package/artifacts/contracts/instance/base/ModuleBase.sol/ModuleBase.dbg.json +0 -4
- package/artifacts/contracts/instance/base/ServiceBase.sol/ServiceBase.dbg.json +0 -4
- package/artifacts/contracts/instance/base/ServiceBase.sol/ServiceBase.json +0 -300
- package/artifacts/contracts/instance/module/access/Access.sol/AccessModule.dbg.json +0 -4
- package/artifacts/contracts/instance/module/access/Access.sol/AccessModule.json +0 -333
- package/artifacts/contracts/instance/module/access/IAccess.sol/IAccess.dbg.json +0 -4
- package/artifacts/contracts/instance/module/access/IAccess.sol/IAccessModule.dbg.json +0 -4
- package/artifacts/contracts/instance/module/access/IAccess.sol/IAccessModule.json +0 -333
- package/artifacts/contracts/instance/module/bundle/BundleModule.sol/BundleModule.dbg.json +0 -4
- package/artifacts/contracts/instance/module/bundle/BundleModule.sol/BundleModule.json +0 -296
- package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundle.dbg.json +0 -4
- package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundleModule.dbg.json +0 -4
- package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundleModule.json +0 -296
- package/artifacts/contracts/instance/module/compensation/CompensationModule.sol/CompensationModule.dbg.json +0 -4
- package/artifacts/contracts/instance/module/compensation/CompensationModule.sol/CompensationModule.json +0 -10
- package/artifacts/contracts/instance/module/compensation/ICompensation.sol/ICompensation.dbg.json +0 -4
- package/artifacts/contracts/instance/module/compensation/ICompensation.sol/ICompensation.json +0 -10
- package/artifacts/contracts/instance/module/compensation/ICompensation.sol/ICompensationModule.dbg.json +0 -4
- package/artifacts/contracts/instance/module/compensation/ICompensation.sol/ICompensationModule.json +0 -10
- package/artifacts/contracts/instance/module/component/ComponentModule.sol/ComponentModule.dbg.json +0 -4
- package/artifacts/contracts/instance/module/component/ComponentModule.sol/ComponentModule.json +0 -188
- package/artifacts/contracts/instance/module/component/IComponent.sol/IComponent.dbg.json +0 -4
- package/artifacts/contracts/instance/module/component/IComponent.sol/IComponent.json +0 -10
- package/artifacts/contracts/instance/module/component/IComponent.sol/IComponentModule.dbg.json +0 -4
- package/artifacts/contracts/instance/module/component/IComponent.sol/IComponentModule.json +0 -188
- package/artifacts/contracts/instance/module/policy/IPolicy.sol/IPolicy.dbg.json +0 -4
- package/artifacts/contracts/instance/module/policy/IPolicy.sol/IPolicyModule.dbg.json +0 -4
- package/artifacts/contracts/instance/module/policy/IPolicy.sol/IPolicyModule.json +0 -261
- package/artifacts/contracts/instance/module/policy/PolicyModule.sol/PolicyModule.dbg.json +0 -4
- package/artifacts/contracts/instance/module/policy/PolicyModule.sol/PolicyModule.json +0 -261
- package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPool.dbg.json +0 -4
- package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPool.json +0 -10
- package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPoolModule.dbg.json +0 -4
- package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPoolModule.json +0 -149
- package/artifacts/contracts/instance/module/pool/PoolModule.sol/PoolModule.dbg.json +0 -4
- package/artifacts/contracts/instance/module/pool/PoolModule.sol/PoolModule.json +0 -149
- package/artifacts/contracts/instance/module/risk/IRisk.sol/IRisk.dbg.json +0 -4
- package/artifacts/contracts/instance/module/risk/IRisk.sol/IRiskModule.dbg.json +0 -4
- package/artifacts/contracts/instance/module/risk/IRisk.sol/IRiskModule.json +0 -10
- package/artifacts/contracts/instance/module/risk/RiskModule.sol/RiskModule.dbg.json +0 -4
- package/artifacts/contracts/instance/module/risk/RiskModule.sol/RiskModule.json +0 -10
- package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasury.dbg.json +0 -4
- package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasuryModule.dbg.json +0 -4
- package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasuryModule.json +0 -533
- package/artifacts/contracts/instance/module/treasury/TokenHandler.sol/TokenHandler.dbg.json +0 -4
- package/artifacts/contracts/instance/module/treasury/TokenHandler.sol/TokenHandler.json +0 -76
- package/artifacts/contracts/instance/module/treasury/TreasuryModule.sol/TreasuryModule.dbg.json +0 -4
- package/artifacts/contracts/instance/module/treasury/TreasuryModule.sol/TreasuryModule.json +0 -533
- package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.dbg.json +0 -4
- package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.json +0 -523
- package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.dbg.json +0 -4
- package/artifacts/contracts/registry/IChainNft.sol/IChainNft.dbg.json +0 -4
- package/artifacts/contracts/registry/IRegistryLinked.sol/IRegistryLinked.dbg.json +0 -4
- package/artifacts/contracts/registry/IRegistryLinked.sol/IRegistryLinked.json +0 -24
- package/artifacts/contracts/shared/IOwnable.sol/IOwnable.dbg.json +0 -4
- package/artifacts/contracts/shared/IOwnable.sol/IOwnable.json +0 -24
- package/artifacts/contracts/test/TestPool.sol/TestPool.dbg.json +0 -4
- package/artifacts/contracts/test/TestPool.sol/TestPool.json +0 -387
- package/artifacts/contracts/test/TestProduct.sol/TestProduct.dbg.json +0 -4
- package/artifacts/contracts/test/TestProduct.sol/TestProduct.json +0 -393
- package/artifacts/contracts/types/UFixed.sol/UFixedMathLib.dbg.json +0 -4
- package/contracts/components/BaseComponent.sol +0 -88
- package/contracts/components/IBaseComponent.sol +0 -19
- package/contracts/experiment/statemachine/README.md +0 -112
- package/contracts/instance/IInstanceLinked.sol +0 -8
- package/contracts/instance/base/ComponentServiceBase.sol +0 -42
- package/contracts/instance/base/IInstanceBase.sol +0 -14
- package/contracts/instance/base/IService.sol +0 -15
- package/contracts/instance/base/InstanceBase.sol +0 -80
- package/contracts/instance/base/ModuleBase.sol +0 -52
- package/contracts/instance/base/ServiceBase.sol +0 -37
- package/contracts/instance/module/access/Access.sol +0 -149
- package/contracts/instance/module/access/IAccess.sol +0 -53
- package/contracts/instance/module/bundle/BundleModule.sol +0 -136
- package/contracts/instance/module/bundle/IBundle.sol +0 -58
- package/contracts/instance/module/compensation/CompensationModule.sol +0 -8
- package/contracts/instance/module/compensation/ICompensation.sol +0 -10
- package/contracts/instance/module/component/ComponentModule.sol +0 -95
- package/contracts/instance/module/component/IComponent.sol +0 -53
- package/contracts/instance/module/policy/IPolicy.sol +0 -60
- package/contracts/instance/module/policy/PolicyModule.sol +0 -76
- package/contracts/instance/module/pool/IPoolModule.sol +0 -41
- package/contracts/instance/module/pool/PoolModule.sol +0 -87
- package/contracts/instance/module/risk/IRisk.sol +0 -10
- package/contracts/instance/module/risk/RiskModule.sol +0 -8
- package/contracts/instance/module/treasury/ITreasury.sol +0 -103
- package/contracts/instance/module/treasury/TokenHandler.sol +0 -48
- package/contracts/instance/module/treasury/TreasuryModule.sol +0 -152
- package/contracts/instance/service/ComponentOwnerService.sol +0 -170
- package/contracts/instance/service/IComponentOwnerService.sol +0 -22
- package/contracts/registry/IChainNft.sol +0 -21
- package/contracts/registry/IRegistryLinked.sol +0 -8
- package/contracts/shared/IOwnable.sol +0 -6
- package/contracts/test/TestPool.sol +0 -22
- package/contracts/test/TestProduct.sol +0 -44
@@ -0,0 +1,473 @@
|
|
1
|
+
{
|
2
|
+
"_format": "hh-sol-artifact-1",
|
3
|
+
"contractName": "ProxyManager",
|
4
|
+
"sourceName": "contracts/shared/ProxyManager.sol",
|
5
|
+
"abi": [
|
6
|
+
{
|
7
|
+
"inputs": [],
|
8
|
+
"stateMutability": "nonpayable",
|
9
|
+
"type": "constructor"
|
10
|
+
},
|
11
|
+
{
|
12
|
+
"inputs": [],
|
13
|
+
"name": "ErrorAlreadyDeployed",
|
14
|
+
"type": "error"
|
15
|
+
},
|
16
|
+
{
|
17
|
+
"inputs": [],
|
18
|
+
"name": "ErrorAlreadyDeployedWithSalt",
|
19
|
+
"type": "error"
|
20
|
+
},
|
21
|
+
{
|
22
|
+
"inputs": [
|
23
|
+
{
|
24
|
+
"internalType": "address",
|
25
|
+
"name": "registry",
|
26
|
+
"type": "address"
|
27
|
+
},
|
28
|
+
{
|
29
|
+
"internalType": "NftId",
|
30
|
+
"name": "nftId",
|
31
|
+
"type": "uint96"
|
32
|
+
}
|
33
|
+
],
|
34
|
+
"name": "ErrorAlreadyLinked",
|
35
|
+
"type": "error"
|
36
|
+
},
|
37
|
+
{
|
38
|
+
"inputs": [
|
39
|
+
{
|
40
|
+
"internalType": "address",
|
41
|
+
"name": "contractAddress",
|
42
|
+
"type": "address"
|
43
|
+
}
|
44
|
+
],
|
45
|
+
"name": "ErrorContractNotRegistered",
|
46
|
+
"type": "error"
|
47
|
+
},
|
48
|
+
{
|
49
|
+
"inputs": [],
|
50
|
+
"name": "ErrorInitialOwnerZero",
|
51
|
+
"type": "error"
|
52
|
+
},
|
53
|
+
{
|
54
|
+
"inputs": [
|
55
|
+
{
|
56
|
+
"internalType": "address",
|
57
|
+
"name": "account",
|
58
|
+
"type": "address"
|
59
|
+
}
|
60
|
+
],
|
61
|
+
"name": "ErrorNotOwner",
|
62
|
+
"type": "error"
|
63
|
+
},
|
64
|
+
{
|
65
|
+
"inputs": [
|
66
|
+
{
|
67
|
+
"internalType": "address",
|
68
|
+
"name": "registryAddress",
|
69
|
+
"type": "address"
|
70
|
+
}
|
71
|
+
],
|
72
|
+
"name": "ErrorNotRegistry",
|
73
|
+
"type": "error"
|
74
|
+
},
|
75
|
+
{
|
76
|
+
"inputs": [],
|
77
|
+
"name": "ErrorNotYetDeployed",
|
78
|
+
"type": "error"
|
79
|
+
},
|
80
|
+
{
|
81
|
+
"inputs": [],
|
82
|
+
"name": "ErrorRegistryAddressZero",
|
83
|
+
"type": "error"
|
84
|
+
},
|
85
|
+
{
|
86
|
+
"inputs": [
|
87
|
+
{
|
88
|
+
"internalType": "address",
|
89
|
+
"name": "registry",
|
90
|
+
"type": "address"
|
91
|
+
}
|
92
|
+
],
|
93
|
+
"name": "ErrorRegistryAlreadyInitialized",
|
94
|
+
"type": "error"
|
95
|
+
},
|
96
|
+
{
|
97
|
+
"inputs": [],
|
98
|
+
"name": "ErrorRegistryNotInitialized",
|
99
|
+
"type": "error"
|
100
|
+
},
|
101
|
+
{
|
102
|
+
"inputs": [],
|
103
|
+
"name": "InvalidInitialization",
|
104
|
+
"type": "error"
|
105
|
+
},
|
106
|
+
{
|
107
|
+
"inputs": [],
|
108
|
+
"name": "NotInitializing",
|
109
|
+
"type": "error"
|
110
|
+
},
|
111
|
+
{
|
112
|
+
"anonymous": false,
|
113
|
+
"inputs": [
|
114
|
+
{
|
115
|
+
"indexed": false,
|
116
|
+
"internalType": "uint64",
|
117
|
+
"name": "version",
|
118
|
+
"type": "uint64"
|
119
|
+
}
|
120
|
+
],
|
121
|
+
"name": "Initialized",
|
122
|
+
"type": "event"
|
123
|
+
},
|
124
|
+
{
|
125
|
+
"anonymous": false,
|
126
|
+
"inputs": [
|
127
|
+
{
|
128
|
+
"indexed": true,
|
129
|
+
"internalType": "address",
|
130
|
+
"name": "proxy",
|
131
|
+
"type": "address"
|
132
|
+
},
|
133
|
+
{
|
134
|
+
"indexed": false,
|
135
|
+
"internalType": "address",
|
136
|
+
"name": "initialImplementation",
|
137
|
+
"type": "address"
|
138
|
+
}
|
139
|
+
],
|
140
|
+
"name": "LogProxyDeployed",
|
141
|
+
"type": "event"
|
142
|
+
},
|
143
|
+
{
|
144
|
+
"anonymous": false,
|
145
|
+
"inputs": [
|
146
|
+
{
|
147
|
+
"indexed": true,
|
148
|
+
"internalType": "address",
|
149
|
+
"name": "proxy",
|
150
|
+
"type": "address"
|
151
|
+
},
|
152
|
+
{
|
153
|
+
"indexed": false,
|
154
|
+
"internalType": "address",
|
155
|
+
"name": "initialImplementation",
|
156
|
+
"type": "address"
|
157
|
+
}
|
158
|
+
],
|
159
|
+
"name": "LogProxyDeployedWithSalt",
|
160
|
+
"type": "event"
|
161
|
+
},
|
162
|
+
{
|
163
|
+
"anonymous": false,
|
164
|
+
"inputs": [
|
165
|
+
{
|
166
|
+
"indexed": true,
|
167
|
+
"internalType": "address",
|
168
|
+
"name": "proxy",
|
169
|
+
"type": "address"
|
170
|
+
},
|
171
|
+
{
|
172
|
+
"indexed": false,
|
173
|
+
"internalType": "address",
|
174
|
+
"name": "upgradedImplementation",
|
175
|
+
"type": "address"
|
176
|
+
}
|
177
|
+
],
|
178
|
+
"name": "LogProxyUpgraded",
|
179
|
+
"type": "event"
|
180
|
+
},
|
181
|
+
{
|
182
|
+
"inputs": [],
|
183
|
+
"name": "NFT_OWNABLE_STORAGE_LOCATION_V1",
|
184
|
+
"outputs": [
|
185
|
+
{
|
186
|
+
"internalType": "bytes32",
|
187
|
+
"name": "",
|
188
|
+
"type": "bytes32"
|
189
|
+
}
|
190
|
+
],
|
191
|
+
"stateMutability": "view",
|
192
|
+
"type": "function"
|
193
|
+
},
|
194
|
+
{
|
195
|
+
"inputs": [
|
196
|
+
{
|
197
|
+
"internalType": "address",
|
198
|
+
"name": "initialImplementation",
|
199
|
+
"type": "address"
|
200
|
+
},
|
201
|
+
{
|
202
|
+
"internalType": "bytes",
|
203
|
+
"name": "initializationData",
|
204
|
+
"type": "bytes"
|
205
|
+
}
|
206
|
+
],
|
207
|
+
"name": "deploy",
|
208
|
+
"outputs": [
|
209
|
+
{
|
210
|
+
"internalType": "contract IVersionable",
|
211
|
+
"name": "versionable",
|
212
|
+
"type": "address"
|
213
|
+
}
|
214
|
+
],
|
215
|
+
"stateMutability": "nonpayable",
|
216
|
+
"type": "function"
|
217
|
+
},
|
218
|
+
{
|
219
|
+
"inputs": [
|
220
|
+
{
|
221
|
+
"internalType": "address",
|
222
|
+
"name": "implementation",
|
223
|
+
"type": "address"
|
224
|
+
},
|
225
|
+
{
|
226
|
+
"internalType": "address",
|
227
|
+
"name": "proxyOwner",
|
228
|
+
"type": "address"
|
229
|
+
},
|
230
|
+
{
|
231
|
+
"internalType": "bytes",
|
232
|
+
"name": "deployData",
|
233
|
+
"type": "bytes"
|
234
|
+
}
|
235
|
+
],
|
236
|
+
"name": "getDeployData",
|
237
|
+
"outputs": [
|
238
|
+
{
|
239
|
+
"internalType": "bytes",
|
240
|
+
"name": "data",
|
241
|
+
"type": "bytes"
|
242
|
+
}
|
243
|
+
],
|
244
|
+
"stateMutability": "pure",
|
245
|
+
"type": "function"
|
246
|
+
},
|
247
|
+
{
|
248
|
+
"inputs": [],
|
249
|
+
"name": "getInitialOwner",
|
250
|
+
"outputs": [
|
251
|
+
{
|
252
|
+
"internalType": "address",
|
253
|
+
"name": "",
|
254
|
+
"type": "address"
|
255
|
+
}
|
256
|
+
],
|
257
|
+
"stateMutability": "view",
|
258
|
+
"type": "function"
|
259
|
+
},
|
260
|
+
{
|
261
|
+
"inputs": [],
|
262
|
+
"name": "getNftId",
|
263
|
+
"outputs": [
|
264
|
+
{
|
265
|
+
"internalType": "NftId",
|
266
|
+
"name": "",
|
267
|
+
"type": "uint96"
|
268
|
+
}
|
269
|
+
],
|
270
|
+
"stateMutability": "view",
|
271
|
+
"type": "function"
|
272
|
+
},
|
273
|
+
{
|
274
|
+
"inputs": [],
|
275
|
+
"name": "getOwner",
|
276
|
+
"outputs": [
|
277
|
+
{
|
278
|
+
"internalType": "address",
|
279
|
+
"name": "",
|
280
|
+
"type": "address"
|
281
|
+
}
|
282
|
+
],
|
283
|
+
"stateMutability": "view",
|
284
|
+
"type": "function"
|
285
|
+
},
|
286
|
+
{
|
287
|
+
"inputs": [],
|
288
|
+
"name": "getProxy",
|
289
|
+
"outputs": [
|
290
|
+
{
|
291
|
+
"internalType": "contract UpgradableProxyWithAdmin",
|
292
|
+
"name": "",
|
293
|
+
"type": "address"
|
294
|
+
}
|
295
|
+
],
|
296
|
+
"stateMutability": "nonpayable",
|
297
|
+
"type": "function"
|
298
|
+
},
|
299
|
+
{
|
300
|
+
"inputs": [],
|
301
|
+
"name": "getRegistry",
|
302
|
+
"outputs": [
|
303
|
+
{
|
304
|
+
"internalType": "contract IRegistry",
|
305
|
+
"name": "",
|
306
|
+
"type": "address"
|
307
|
+
}
|
308
|
+
],
|
309
|
+
"stateMutability": "view",
|
310
|
+
"type": "function"
|
311
|
+
},
|
312
|
+
{
|
313
|
+
"inputs": [
|
314
|
+
{
|
315
|
+
"internalType": "address",
|
316
|
+
"name": "implementation",
|
317
|
+
"type": "address"
|
318
|
+
},
|
319
|
+
{
|
320
|
+
"internalType": "address",
|
321
|
+
"name": "proxyOwner",
|
322
|
+
"type": "address"
|
323
|
+
},
|
324
|
+
{
|
325
|
+
"internalType": "bytes",
|
326
|
+
"name": "upgradeData",
|
327
|
+
"type": "bytes"
|
328
|
+
}
|
329
|
+
],
|
330
|
+
"name": "getUpgradeData",
|
331
|
+
"outputs": [
|
332
|
+
{
|
333
|
+
"internalType": "bytes",
|
334
|
+
"name": "data",
|
335
|
+
"type": "bytes"
|
336
|
+
}
|
337
|
+
],
|
338
|
+
"stateMutability": "pure",
|
339
|
+
"type": "function"
|
340
|
+
},
|
341
|
+
{
|
342
|
+
"inputs": [],
|
343
|
+
"name": "initializeERC165",
|
344
|
+
"outputs": [],
|
345
|
+
"stateMutability": "nonpayable",
|
346
|
+
"type": "function"
|
347
|
+
},
|
348
|
+
{
|
349
|
+
"inputs": [
|
350
|
+
{
|
351
|
+
"internalType": "address",
|
352
|
+
"name": "initialOwner",
|
353
|
+
"type": "address"
|
354
|
+
},
|
355
|
+
{
|
356
|
+
"internalType": "address",
|
357
|
+
"name": "registryAddress",
|
358
|
+
"type": "address"
|
359
|
+
}
|
360
|
+
],
|
361
|
+
"name": "initializeNftOwnable",
|
362
|
+
"outputs": [],
|
363
|
+
"stateMutability": "nonpayable",
|
364
|
+
"type": "function"
|
365
|
+
},
|
366
|
+
{
|
367
|
+
"inputs": [
|
368
|
+
{
|
369
|
+
"internalType": "address",
|
370
|
+
"name": "initialOwner",
|
371
|
+
"type": "address"
|
372
|
+
}
|
373
|
+
],
|
374
|
+
"name": "initializeOwner",
|
375
|
+
"outputs": [],
|
376
|
+
"stateMutability": "nonpayable",
|
377
|
+
"type": "function"
|
378
|
+
},
|
379
|
+
{
|
380
|
+
"inputs": [],
|
381
|
+
"name": "linkToRegisteredNftId",
|
382
|
+
"outputs": [],
|
383
|
+
"stateMutability": "nonpayable",
|
384
|
+
"type": "function"
|
385
|
+
},
|
386
|
+
{
|
387
|
+
"inputs": [
|
388
|
+
{
|
389
|
+
"internalType": "bytes4",
|
390
|
+
"name": "interfaceId",
|
391
|
+
"type": "bytes4"
|
392
|
+
}
|
393
|
+
],
|
394
|
+
"name": "registerInterface",
|
395
|
+
"outputs": [],
|
396
|
+
"stateMutability": "nonpayable",
|
397
|
+
"type": "function"
|
398
|
+
},
|
399
|
+
{
|
400
|
+
"inputs": [
|
401
|
+
{
|
402
|
+
"internalType": "bytes4",
|
403
|
+
"name": "interfaceId",
|
404
|
+
"type": "bytes4"
|
405
|
+
}
|
406
|
+
],
|
407
|
+
"name": "supportsInterface",
|
408
|
+
"outputs": [
|
409
|
+
{
|
410
|
+
"internalType": "bool",
|
411
|
+
"name": "",
|
412
|
+
"type": "bool"
|
413
|
+
}
|
414
|
+
],
|
415
|
+
"stateMutability": "view",
|
416
|
+
"type": "function"
|
417
|
+
},
|
418
|
+
{
|
419
|
+
"inputs": [
|
420
|
+
{
|
421
|
+
"internalType": "address",
|
422
|
+
"name": "newImplementation",
|
423
|
+
"type": "address"
|
424
|
+
},
|
425
|
+
{
|
426
|
+
"internalType": "bytes",
|
427
|
+
"name": "upgradeData",
|
428
|
+
"type": "bytes"
|
429
|
+
}
|
430
|
+
],
|
431
|
+
"name": "upgrade",
|
432
|
+
"outputs": [
|
433
|
+
{
|
434
|
+
"internalType": "contract IVersionable",
|
435
|
+
"name": "versionable",
|
436
|
+
"type": "address"
|
437
|
+
}
|
438
|
+
],
|
439
|
+
"stateMutability": "nonpayable",
|
440
|
+
"type": "function"
|
441
|
+
}
|
442
|
+
],
|
443
|
+
"bytecode": "0x60806040523480156200001157600080fd5b506200001d3362000023565b62000299565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000810460ff1615906001600160401b03166000811580156200006e5750825b90506000826001600160401b031660011480156200008b5750303b155b9050811580156200009a575080155b15620000b95760405163f92ee8a960e01b815260040160405180910390fd5b84546001600160401b03191660011785558315620000e857845460ff60401b1916680100000000000000001785555b620000f3866200015e565b620000fd620001d1565b6200010f63a444b9bb60e01b62000219565b83156200015657845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b505050505050565b6200016862000248565b6001600160a01b03811662000190576040516352e2d0c160e01b815260040160405180910390fd5b7f07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f0180546001600160a01b0319166001600160a01b0392909216919091179055565b620001db62000248565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b6200022362000248565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a005468010000000000000000900460ff166200029757604051631afcd79f60e31b815260040160405180910390fd5b565b6120c680620002a96000396000f3fe60806040523480156200001157600080fd5b5060043610620001155760003560e01c8063933a9ce811620000a3578063e97fac05116200006e578063e97fac051462000290578063f687676814620002a7578063f7c34ee014620002be578063fb2cb10114620002d557600080fd5b8063933a9ce8146200021b578063ada9652e146200022d578063aef485a01462000253578063c987336c146200027957600080fd5b80635ab1bd5311620000e45780635ab1bd53146200018c578063644c45e014620001c0578063893d20e814620001fa5780638c5f36bb146200020457600080fd5b806301ffc9a7146200011a578063138461e0146200015f578063214cdb80146200016b57806336fc697e1462000182575b600080fd5b6200014a6200012b36600462000e29565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b62000169620002df565b005b620001696200017c36600462000e29565b6200051b565b620001696200054a565b60008051602062002071833981519152546001600160a01b03165b6040516001600160a01b03909116815260200162000156565b6000805160206200207183398151915254600160a01b90046001600160601b03166040516001600160601b03909116815260200162000156565b620001a762000592565b620001696200021536600462000e75565b620006cb565b6001546001600160a01b0316620001a7565b620002446000805160206200207183398151915281565b60405190815260200162000156565b6200026a6200026436600462000f40565b620007ff565b60405162000156919062000ff2565b620001a76200028a36600462001007565b6200085b565b620001a7620002a136600462001007565b62000a28565b6200026a620002b836600462000f40565b62000b66565b62000169620002cf3660046200105d565b62000b87565b620001a762000bc7565b60006000805160206200207183398151915280546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af415801562000356573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200037c91906200109b565b15620003c35780546040516316322c0f60e31b81526001600160a01b0382166004820152600160a01b9091046001600160601b031660248201526044015b60405180910390fd5b80546001600160a01b0316620003ec5760405163cf29926160e01b815260040160405180910390fd5b805460405163c3c5a54760e01b81523060048201819052916001600160a01b03169063c3c5a54790602401602060405180830381865afa15801562000435573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200045b91906200109b565b62000485576040516372657a5160e01b81526001600160a01b0382166004820152602401620003ba565b8154604051636939560f60e11b81526001600160a01b0383811660048301529091169063d272ac1e90602401602060405180830381865afa158015620004cf573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620004f59190620010bf565b82546001600160601b0391909116600160a01b026001600160a01b039091161790915550565b6200052562000bdf565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b6200055462000bdf565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b6000806000805160206200207183398151915280546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af41580156200060a573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200063091906200109b565b15620006b9578054604051631c5da14d60e11b8152600160a01b82046001600160601b031660048201526001600160a01b03909116906338bb429a90602401602060405180830381865afa1580156200068d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620006b39190620010ea565b91505090565b600101546001600160a01b0316919050565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b810460ff16159067ffffffffffffffff16600081158015620007125750825b905060008267ffffffffffffffff166001148015620007305750303b155b9050811580156200073f575080155b156200075e5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff1916600117855583156200078957845460ff60401b1916600160401b1785555b620007948662000c2b565b6200079e6200054a565b620007b063a444b9bb60e01b6200051b565b8315620007f757845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b505050505050565b6060632a90401860e01b84848460405160240162000820939291906200110a565b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b03199093169290921790915290509392505050565b60006200086762000592565b6001600160a01b0316336001600160a01b0316146200089c5760405163700dd81160e01b8152336004820152602401620003ba565b600154600160a01b900460ff16620008c757604051631e35411160e31b815260040160405180910390fd5b6000620008d362000592565b90506000620008ea6001546001600160a01b031690565b6001600160a01b0316638b3240a06040518163ffffffff1660e01b81526004016020604051808303816000875af11580156200092a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620009509190620010ea565b6001549091506001600160a01b031660006200096e878588620007ff565b604051639623609d60e01b81529091506001600160a01b03841690639623609d90620009a39085908b9086906004016200110a565b600060405180830381600087803b158015620009be57600080fd5b505af1158015620009d3573d6000803e3d6000fd5b50506001546040516001600160a01b038b8116825290911697508792507f5f1d3094af018381967fbedd54b80ffb09c5a9799db985f5e17e322672686306915060200160405180910390a25050505092915050565b600062000a3462000592565b6001600160a01b0316336001600160a01b03161462000a695760405163700dd81160e01b8152336004820152602401620003ba565b600154600160a01b900460ff161562000a95576040516375842f8760e01b815260040160405180910390fd5b6001805460ff60a01b1916600160a01b179055600062000ab462000592565b905030600062000ac686848762000b66565b905085828260405162000ad99062000e1b565b62000ae7939291906200110a565b604051809103906000f08015801562000b04573d6000803e3d6000fd5b50600180546001600160a01b0319166001600160a01b039283169081179091556040519188168252945084907fc5c7b8d20d7cac78e56fc596f8d26c700e5077f096017736e3526ab8af4850359060200160405180910390a250505092915050565b6060631647f91e60e01b84848460405160240162000820939291906200110a565b62000b9162000bdf565b62000b9c8262000c2b565b62000ba78162000c9e565b62000bb16200054a565b62000bc363a444b9bb60e01b6200051b565b5050565b600060008051602062002071833981519152620006b9565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0054600160401b900460ff1662000c2957604051631afcd79f60e31b815260040160405180910390fd5b565b62000c3562000bdf565b6001600160a01b03811662000c5d576040516352e2d0c160e01b815260040160405180910390fd5b7f07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f0180546001600160a01b0319166001600160a01b0392909216919091179055565b6000805160206200207183398151915280546001600160a01b03161562000ce757805460405163fcdbf2d960e01b81526001600160a01b039091166004820152602401620003ba565b6001600160a01b03821662000d0f5760405163f5c4d07d60e01b815260040160405180910390fd5b816001600160a01b03163b60000362000d475760405163fdeac91f60e01b81526001600160a01b0383166004820152602401620003ba565b80546001600160a01b0319166001600160a01b03831690811782556040516301ffc9a760e01b815263230c0c8160e11b60048201526301ffc9a790602401602060405180830381865afa92505050801562000dc1575060408051601f3d908101601f1916820190925262000dbe918101906200109b565b60015b62000deb5760405163fdeac91f60e01b81526001600160a01b0383166004820152602401620003ba565b8062000e165760405163fdeac91f60e01b81526001600160a01b0384166004820152602401620003ba565b505050565b610f2f806200114283390190565b60006020828403121562000e3c57600080fd5b81356001600160e01b03198116811462000e5557600080fd5b9392505050565b6001600160a01b038116811462000e7257600080fd5b50565b60006020828403121562000e8857600080fd5b813562000e558162000e5c565b634e487b7160e01b600052604160045260246000fd5b600082601f83011262000ebd57600080fd5b813567ffffffffffffffff8082111562000edb5762000edb62000e95565b604051601f8301601f19908116603f0116810190828211818310171562000f065762000f0662000e95565b8160405283815286602085880101111562000f2057600080fd5b836020870160208301376000602085830101528094505050505092915050565b60008060006060848603121562000f5657600080fd5b833562000f638162000e5c565b9250602084013562000f758162000e5c565b9150604084013567ffffffffffffffff81111562000f9257600080fd5b62000fa08682870162000eab565b9150509250925092565b6000815180845260005b8181101562000fd25760208185018101518683018201520162000fb4565b506000602082860101526020601f19601f83011685010191505092915050565b60208152600062000e55602083018462000faa565b600080604083850312156200101b57600080fd5b8235620010288162000e5c565b9150602083013567ffffffffffffffff8111156200104557600080fd5b620010538582860162000eab565b9150509250929050565b600080604083850312156200107157600080fd5b82356200107e8162000e5c565b91506020830135620010908162000e5c565b809150509250929050565b600060208284031215620010ae57600080fd5b8151801515811462000e5557600080fd5b600060208284031215620010d257600080fd5b81516001600160601b038116811462000e5557600080fd5b600060208284031215620010fd57600080fd5b815162000e558162000e5c565b6001600160a01b03848116825283166020820152606060408201819052600090620011389083018462000faa565b9594505050505056fe60a06040523480156200001157600080fd5b5060405162000f2f38038062000f2f8339810160408190526200003491620003e1565b8282828281620000458282620000b0565b50508160405162000056906200037a565b6001600160a01b039091168152602001604051809103906000f08015801562000083573d6000803e3d6000fd5b506001600160a01b0316608052620000a46200009e60805190565b62000116565b505050505050620004df565b620000bb8262000188565b6040516001600160a01b038316907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a2805115620001085762000103828262000208565b505050565b6200011262000285565b5050565b7f7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f6200015860008051602062000f0f833981519152546001600160a01b031690565b604080516001600160a01b03928316815291841660208301520160405180910390a16200018581620002a7565b50565b806001600160a01b03163b600003620001c457604051634c9c8ce360e01b81526001600160a01b03821660048201526024015b60405180910390fd5b807f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc5b80546001600160a01b0319166001600160a01b039290921691909117905550565b6060600080846001600160a01b031684604051620002279190620004c1565b600060405180830381855af49150503d806000811462000264576040519150601f19603f3d011682016040523d82523d6000602084013e62000269565b606091505b5090925090506200027c858383620002ea565b95945050505050565b3415620002a55760405163b398979f60e01b815260040160405180910390fd5b565b6001600160a01b038116620002d357604051633173bdd160e11b815260006004820152602401620001bb565b8060008051602062000f0f833981519152620001e7565b6060826200030357620002fd8262000350565b62000349565b81511580156200031b57506001600160a01b0384163b155b156200034657604051639996b31560e01b81526001600160a01b0385166004820152602401620001bb565b50805b9392505050565b805115620003615780518082602001fd5b604051630a12f52160e11b815260040160405180910390fd5b61052480620009eb83390190565b80516001600160a01b0381168114620003a057600080fd5b919050565b634e487b7160e01b600052604160045260246000fd5b60005b83811015620003d8578181015183820152602001620003be565b50506000910152565b600080600060608486031215620003f757600080fd5b620004028462000388565b9250620004126020850162000388565b60408501519092506001600160401b03808211156200043057600080fd5b818601915086601f8301126200044557600080fd5b8151818111156200045a576200045a620003a5565b604051601f8201601f19908116603f01168101908382118183101715620004855762000485620003a5565b816040528281528960208487010111156200049f57600080fd5b620004b2836020830160208801620003bb565b80955050505050509250925092565b60008251620004d5818460208701620003bb565b9190910192915050565b6080516104eb620005006000396000818160370152607401526104eb6000f3fe60806040526004361061001e5760003560e01c80638b3240a014610028575b610026610072565b005b34801561003457600080fd5b507f00000000000000000000000000000000000000000000000000000000000000006040516001600160a01b03909116815260200160405180910390f35b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031633036100df576000356001600160e01b03191663278f794360e11b146100d5576040516334ad5dbb60e21b815260040160405180910390fd5b6100dd6100ec565b565b6100dd61011b565b905090565b6000806100fc3660048184610376565b81019061010991906103b6565b91509150610117828261012b565b5050565b6100dd610126610186565b6101b9565b610134826101dd565b6040516001600160a01b038316907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a280511561017e576101798282610259565b505050565b6101176102cf565b60006100e77f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc546001600160a01b031690565b3660008037600080366000845af43d6000803e8080156101d8573d6000f35b3d6000fd5b806001600160a01b03163b60000361021857604051634c9c8ce360e01b81526001600160a01b03821660048201526024015b60405180910390fd5b7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc80546001600160a01b0319166001600160a01b0392909216919091179055565b6060600080846001600160a01b0316846040516102769190610486565b600060405180830381855af49150503d80600081146102b1576040519150601f19603f3d011682016040523d82523d6000602084013e6102b6565b606091505b50915091506102c68583836102ee565b95945050505050565b34156100dd5760405163b398979f60e01b815260040160405180910390fd5b606082610303576102fe8261034d565b610346565b815115801561031a57506001600160a01b0384163b155b1561034357604051639996b31560e01b81526001600160a01b038516600482015260240161020f565b50805b9392505050565b80511561035d5780518082602001fd5b604051630a12f52160e11b815260040160405180910390fd5b6000808585111561038657600080fd5b8386111561039357600080fd5b5050820193919092039150565b634e487b7160e01b600052604160045260246000fd5b600080604083850312156103c957600080fd5b82356001600160a01b03811681146103e057600080fd5b9150602083013567ffffffffffffffff808211156103fd57600080fd5b818501915085601f83011261041157600080fd5b813581811115610423576104236103a0565b604051601f8201601f19908116603f0116810190838211818310171561044b5761044b6103a0565b8160405282815288602084870101111561046457600080fd5b8260208601602083013760006020848301015280955050505050509250929050565b6000825160005b818110156104a7576020818601810151858301520161048d565b50600092019182525091905056fea26469706673582212203a14d0ccd5aa6a98fdea74c9c09e7975c82e76e3c9c954cdb391653caa14eafc64736f6c63430008140033608060405234801561001057600080fd5b5060405161052438038061052483398101604081905261002f916100be565b806001600160a01b03811661005e57604051631e4fbdf760e01b81526000600482015260240160405180910390fd5b6100678161006e565b50506100ee565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000602082840312156100d057600080fd5b81516001600160a01b03811681146100e757600080fd5b9392505050565b610427806100fd6000396000f3fe60806040526004361061004a5760003560e01c8063715018a61461004f5780638da5cb5b146100665780639623609d14610093578063ad3cb1cc146100a6578063f2fde38b146100e4575b600080fd5b34801561005b57600080fd5b50610064610104565b005b34801561007257600080fd5b506000546040516001600160a01b0390911681526020015b60405180910390f35b6100646100a1366004610272565b610118565b3480156100b257600080fd5b506100d7604051806040016040528060058152602001640352e302e360dc1b81525081565b60405161008a919061038e565b3480156100f057600080fd5b506100646100ff3660046103a8565b610187565b61010c6101ca565b61011660006101f7565b565b6101206101ca565b60405163278f794360e11b81526001600160a01b03841690634f1ef28690349061015090869086906004016103c5565b6000604051808303818588803b15801561016957600080fd5b505af115801561017d573d6000803e3d6000fd5b5050505050505050565b61018f6101ca565b6001600160a01b0381166101be57604051631e4fbdf760e01b8152600060048201526024015b60405180910390fd5b6101c7816101f7565b50565b6000546001600160a01b031633146101165760405163118cdaa760e01b81523360048201526024016101b5565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6001600160a01b03811681146101c757600080fd5b634e487b7160e01b600052604160045260246000fd5b60008060006060848603121561028757600080fd5b833561029281610247565b925060208401356102a281610247565b9150604084013567ffffffffffffffff808211156102bf57600080fd5b818601915086601f8301126102d357600080fd5b8135818111156102e5576102e561025c565b604051601f8201601f19908116603f0116810190838211818310171561030d5761030d61025c565b8160405282815289602084870101111561032657600080fd5b8260208601602083013760006020848301015280955050505050509250925092565b6000815180845260005b8181101561036e57602081850181015186830182015201610352565b506000602082860101526020601f19601f83011685010191505092915050565b6020815260006103a16020830184610348565b9392505050565b6000602082840312156103ba57600080fd5b81356103a181610247565b6001600160a01b03831681526040602082018190526000906103e990830184610348565b94935050505056fea2646970667358221220cb46d8eee562c2068d4d3afab9e2a7f48be119bb61a6a1c3d7ef6ba5a8aff09464736f6c63430008140033b53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d610307ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00a26469706673582212209c6cfea580570798ee1e0e4aab2f329ee3d925ca0b31477a27cc645d43a8390b64736f6c63430008140033",
|
444
|
+
"deployedBytecode": "0x60806040523480156200001157600080fd5b5060043610620001155760003560e01c8063933a9ce811620000a3578063e97fac05116200006e578063e97fac051462000290578063f687676814620002a7578063f7c34ee014620002be578063fb2cb10114620002d557600080fd5b8063933a9ce8146200021b578063ada9652e146200022d578063aef485a01462000253578063c987336c146200027957600080fd5b80635ab1bd5311620000e45780635ab1bd53146200018c578063644c45e014620001c0578063893d20e814620001fa5780638c5f36bb146200020457600080fd5b806301ffc9a7146200011a578063138461e0146200015f578063214cdb80146200016b57806336fc697e1462000182575b600080fd5b6200014a6200012b36600462000e29565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b62000169620002df565b005b620001696200017c36600462000e29565b6200051b565b620001696200054a565b60008051602062002071833981519152546001600160a01b03165b6040516001600160a01b03909116815260200162000156565b6000805160206200207183398151915254600160a01b90046001600160601b03166040516001600160601b03909116815260200162000156565b620001a762000592565b620001696200021536600462000e75565b620006cb565b6001546001600160a01b0316620001a7565b620002446000805160206200207183398151915281565b60405190815260200162000156565b6200026a6200026436600462000f40565b620007ff565b60405162000156919062000ff2565b620001a76200028a36600462001007565b6200085b565b620001a7620002a136600462001007565b62000a28565b6200026a620002b836600462000f40565b62000b66565b62000169620002cf3660046200105d565b62000b87565b620001a762000bc7565b60006000805160206200207183398151915280546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af415801562000356573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200037c91906200109b565b15620003c35780546040516316322c0f60e31b81526001600160a01b0382166004820152600160a01b9091046001600160601b031660248201526044015b60405180910390fd5b80546001600160a01b0316620003ec5760405163cf29926160e01b815260040160405180910390fd5b805460405163c3c5a54760e01b81523060048201819052916001600160a01b03169063c3c5a54790602401602060405180830381865afa15801562000435573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200045b91906200109b565b62000485576040516372657a5160e01b81526001600160a01b0382166004820152602401620003ba565b8154604051636939560f60e11b81526001600160a01b0383811660048301529091169063d272ac1e90602401602060405180830381865afa158015620004cf573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620004f59190620010bf565b82546001600160601b0391909116600160a01b026001600160a01b039091161790915550565b6200052562000bdf565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b6200055462000bdf565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b6000806000805160206200207183398151915280546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af41580156200060a573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200063091906200109b565b15620006b9578054604051631c5da14d60e11b8152600160a01b82046001600160601b031660048201526001600160a01b03909116906338bb429a90602401602060405180830381865afa1580156200068d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620006b39190620010ea565b91505090565b600101546001600160a01b0316919050565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b810460ff16159067ffffffffffffffff16600081158015620007125750825b905060008267ffffffffffffffff166001148015620007305750303b155b9050811580156200073f575080155b156200075e5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff1916600117855583156200078957845460ff60401b1916600160401b1785555b620007948662000c2b565b6200079e6200054a565b620007b063a444b9bb60e01b6200051b565b8315620007f757845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b505050505050565b6060632a90401860e01b84848460405160240162000820939291906200110a565b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b03199093169290921790915290509392505050565b60006200086762000592565b6001600160a01b0316336001600160a01b0316146200089c5760405163700dd81160e01b8152336004820152602401620003ba565b600154600160a01b900460ff16620008c757604051631e35411160e31b815260040160405180910390fd5b6000620008d362000592565b90506000620008ea6001546001600160a01b031690565b6001600160a01b0316638b3240a06040518163ffffffff1660e01b81526004016020604051808303816000875af11580156200092a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620009509190620010ea565b6001549091506001600160a01b031660006200096e878588620007ff565b604051639623609d60e01b81529091506001600160a01b03841690639623609d90620009a39085908b9086906004016200110a565b600060405180830381600087803b158015620009be57600080fd5b505af1158015620009d3573d6000803e3d6000fd5b50506001546040516001600160a01b038b8116825290911697508792507f5f1d3094af018381967fbedd54b80ffb09c5a9799db985f5e17e322672686306915060200160405180910390a25050505092915050565b600062000a3462000592565b6001600160a01b0316336001600160a01b03161462000a695760405163700dd81160e01b8152336004820152602401620003ba565b600154600160a01b900460ff161562000a95576040516375842f8760e01b815260040160405180910390fd5b6001805460ff60a01b1916600160a01b179055600062000ab462000592565b905030600062000ac686848762000b66565b905085828260405162000ad99062000e1b565b62000ae7939291906200110a565b604051809103906000f08015801562000b04573d6000803e3d6000fd5b50600180546001600160a01b0319166001600160a01b039283169081179091556040519188168252945084907fc5c7b8d20d7cac78e56fc596f8d26c700e5077f096017736e3526ab8af4850359060200160405180910390a250505092915050565b6060631647f91e60e01b84848460405160240162000820939291906200110a565b62000b9162000bdf565b62000b9c8262000c2b565b62000ba78162000c9e565b62000bb16200054a565b62000bc363a444b9bb60e01b6200051b565b5050565b600060008051602062002071833981519152620006b9565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0054600160401b900460ff1662000c2957604051631afcd79f60e31b815260040160405180910390fd5b565b62000c3562000bdf565b6001600160a01b03811662000c5d576040516352e2d0c160e01b815260040160405180910390fd5b7f07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f0180546001600160a01b0319166001600160a01b0392909216919091179055565b6000805160206200207183398151915280546001600160a01b03161562000ce757805460405163fcdbf2d960e01b81526001600160a01b039091166004820152602401620003ba565b6001600160a01b03821662000d0f5760405163f5c4d07d60e01b815260040160405180910390fd5b816001600160a01b03163b60000362000d475760405163fdeac91f60e01b81526001600160a01b0383166004820152602401620003ba565b80546001600160a01b0319166001600160a01b03831690811782556040516301ffc9a760e01b815263230c0c8160e11b60048201526301ffc9a790602401602060405180830381865afa92505050801562000dc1575060408051601f3d908101601f1916820190925262000dbe918101906200109b565b60015b62000deb5760405163fdeac91f60e01b81526001600160a01b0383166004820152602401620003ba565b8062000e165760405163fdeac91f60e01b81526001600160a01b0384166004820152602401620003ba565b505050565b610f2f806200114283390190565b60006020828403121562000e3c57600080fd5b81356001600160e01b03198116811462000e5557600080fd5b9392505050565b6001600160a01b038116811462000e7257600080fd5b50565b60006020828403121562000e8857600080fd5b813562000e558162000e5c565b634e487b7160e01b600052604160045260246000fd5b600082601f83011262000ebd57600080fd5b813567ffffffffffffffff8082111562000edb5762000edb62000e95565b604051601f8301601f19908116603f0116810190828211818310171562000f065762000f0662000e95565b8160405283815286602085880101111562000f2057600080fd5b836020870160208301376000602085830101528094505050505092915050565b60008060006060848603121562000f5657600080fd5b833562000f638162000e5c565b9250602084013562000f758162000e5c565b9150604084013567ffffffffffffffff81111562000f9257600080fd5b62000fa08682870162000eab565b9150509250925092565b6000815180845260005b8181101562000fd25760208185018101518683018201520162000fb4565b506000602082860101526020601f19601f83011685010191505092915050565b60208152600062000e55602083018462000faa565b600080604083850312156200101b57600080fd5b8235620010288162000e5c565b9150602083013567ffffffffffffffff8111156200104557600080fd5b620010538582860162000eab565b9150509250929050565b600080604083850312156200107157600080fd5b82356200107e8162000e5c565b91506020830135620010908162000e5c565b809150509250929050565b600060208284031215620010ae57600080fd5b8151801515811462000e5557600080fd5b600060208284031215620010d257600080fd5b81516001600160601b038116811462000e5557600080fd5b600060208284031215620010fd57600080fd5b815162000e558162000e5c565b6001600160a01b03848116825283166020820152606060408201819052600090620011389083018462000faa565b9594505050505056fe60a06040523480156200001157600080fd5b5060405162000f2f38038062000f2f8339810160408190526200003491620003e1565b8282828281620000458282620000b0565b50508160405162000056906200037a565b6001600160a01b039091168152602001604051809103906000f08015801562000083573d6000803e3d6000fd5b506001600160a01b0316608052620000a46200009e60805190565b62000116565b505050505050620004df565b620000bb8262000188565b6040516001600160a01b038316907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a2805115620001085762000103828262000208565b505050565b6200011262000285565b5050565b7f7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f6200015860008051602062000f0f833981519152546001600160a01b031690565b604080516001600160a01b03928316815291841660208301520160405180910390a16200018581620002a7565b50565b806001600160a01b03163b600003620001c457604051634c9c8ce360e01b81526001600160a01b03821660048201526024015b60405180910390fd5b807f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc5b80546001600160a01b0319166001600160a01b039290921691909117905550565b6060600080846001600160a01b031684604051620002279190620004c1565b600060405180830381855af49150503d806000811462000264576040519150601f19603f3d011682016040523d82523d6000602084013e62000269565b606091505b5090925090506200027c858383620002ea565b95945050505050565b3415620002a55760405163b398979f60e01b815260040160405180910390fd5b565b6001600160a01b038116620002d357604051633173bdd160e11b815260006004820152602401620001bb565b8060008051602062000f0f833981519152620001e7565b6060826200030357620002fd8262000350565b62000349565b81511580156200031b57506001600160a01b0384163b155b156200034657604051639996b31560e01b81526001600160a01b0385166004820152602401620001bb565b50805b9392505050565b805115620003615780518082602001fd5b604051630a12f52160e11b815260040160405180910390fd5b61052480620009eb83390190565b80516001600160a01b0381168114620003a057600080fd5b919050565b634e487b7160e01b600052604160045260246000fd5b60005b83811015620003d8578181015183820152602001620003be565b50506000910152565b600080600060608486031215620003f757600080fd5b620004028462000388565b9250620004126020850162000388565b60408501519092506001600160401b03808211156200043057600080fd5b818601915086601f8301126200044557600080fd5b8151818111156200045a576200045a620003a5565b604051601f8201601f19908116603f01168101908382118183101715620004855762000485620003a5565b816040528281528960208487010111156200049f57600080fd5b620004b2836020830160208801620003bb565b80955050505050509250925092565b60008251620004d5818460208701620003bb565b9190910192915050565b6080516104eb620005006000396000818160370152607401526104eb6000f3fe60806040526004361061001e5760003560e01c80638b3240a014610028575b610026610072565b005b34801561003457600080fd5b507f00000000000000000000000000000000000000000000000000000000000000006040516001600160a01b03909116815260200160405180910390f35b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031633036100df576000356001600160e01b03191663278f794360e11b146100d5576040516334ad5dbb60e21b815260040160405180910390fd5b6100dd6100ec565b565b6100dd61011b565b905090565b6000806100fc3660048184610376565b81019061010991906103b6565b91509150610117828261012b565b5050565b6100dd610126610186565b6101b9565b610134826101dd565b6040516001600160a01b038316907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a280511561017e576101798282610259565b505050565b6101176102cf565b60006100e77f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc546001600160a01b031690565b3660008037600080366000845af43d6000803e8080156101d8573d6000f35b3d6000fd5b806001600160a01b03163b60000361021857604051634c9c8ce360e01b81526001600160a01b03821660048201526024015b60405180910390fd5b7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc80546001600160a01b0319166001600160a01b0392909216919091179055565b6060600080846001600160a01b0316846040516102769190610486565b600060405180830381855af49150503d80600081146102b1576040519150601f19603f3d011682016040523d82523d6000602084013e6102b6565b606091505b50915091506102c68583836102ee565b95945050505050565b34156100dd5760405163b398979f60e01b815260040160405180910390fd5b606082610303576102fe8261034d565b610346565b815115801561031a57506001600160a01b0384163b155b1561034357604051639996b31560e01b81526001600160a01b038516600482015260240161020f565b50805b9392505050565b80511561035d5780518082602001fd5b604051630a12f52160e11b815260040160405180910390fd5b6000808585111561038657600080fd5b8386111561039357600080fd5b5050820193919092039150565b634e487b7160e01b600052604160045260246000fd5b600080604083850312156103c957600080fd5b82356001600160a01b03811681146103e057600080fd5b9150602083013567ffffffffffffffff808211156103fd57600080fd5b818501915085601f83011261041157600080fd5b813581811115610423576104236103a0565b604051601f8201601f19908116603f0116810190838211818310171561044b5761044b6103a0565b8160405282815288602084870101111561046457600080fd5b8260208601602083013760006020848301015280955050505050509250929050565b6000825160005b818110156104a7576020818601810151858301520161048d565b50600092019182525091905056fea26469706673582212203a14d0ccd5aa6a98fdea74c9c09e7975c82e76e3c9c954cdb391653caa14eafc64736f6c63430008140033608060405234801561001057600080fd5b5060405161052438038061052483398101604081905261002f916100be565b806001600160a01b03811661005e57604051631e4fbdf760e01b81526000600482015260240160405180910390fd5b6100678161006e565b50506100ee565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000602082840312156100d057600080fd5b81516001600160a01b03811681146100e757600080fd5b9392505050565b610427806100fd6000396000f3fe60806040526004361061004a5760003560e01c8063715018a61461004f5780638da5cb5b146100665780639623609d14610093578063ad3cb1cc146100a6578063f2fde38b146100e4575b600080fd5b34801561005b57600080fd5b50610064610104565b005b34801561007257600080fd5b506000546040516001600160a01b0390911681526020015b60405180910390f35b6100646100a1366004610272565b610118565b3480156100b257600080fd5b506100d7604051806040016040528060058152602001640352e302e360dc1b81525081565b60405161008a919061038e565b3480156100f057600080fd5b506100646100ff3660046103a8565b610187565b61010c6101ca565b61011660006101f7565b565b6101206101ca565b60405163278f794360e11b81526001600160a01b03841690634f1ef28690349061015090869086906004016103c5565b6000604051808303818588803b15801561016957600080fd5b505af115801561017d573d6000803e3d6000fd5b5050505050505050565b61018f6101ca565b6001600160a01b0381166101be57604051631e4fbdf760e01b8152600060048201526024015b60405180910390fd5b6101c7816101f7565b50565b6000546001600160a01b031633146101165760405163118cdaa760e01b81523360048201526024016101b5565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6001600160a01b03811681146101c757600080fd5b634e487b7160e01b600052604160045260246000fd5b60008060006060848603121561028757600080fd5b833561029281610247565b925060208401356102a281610247565b9150604084013567ffffffffffffffff808211156102bf57600080fd5b818601915086601f8301126102d357600080fd5b8135818111156102e5576102e561025c565b604051601f8201601f19908116603f0116810190838211818310171561030d5761030d61025c565b8160405282815289602084870101111561032657600080fd5b8260208601602083013760006020848301015280955050505050509250925092565b6000815180845260005b8181101561036e57602081850181015186830182015201610352565b506000602082860101526020601f19601f83011685010191505092915050565b6020815260006103a16020830184610348565b9392505050565b6000602082840312156103ba57600080fd5b81356103a181610247565b6001600160a01b03831681526040602082018190526000906103e990830184610348565b94935050505056fea2646970667358221220cb46d8eee562c2068d4d3afab9e2a7f48be119bb61a6a1c3d7ef6ba5a8aff09464736f6c63430008140033b53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d610307ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00a26469706673582212209c6cfea580570798ee1e0e4aab2f329ee3d925ca0b31477a27cc645d43a8390b64736f6c63430008140033",
|
445
|
+
"linkReferences": {
|
446
|
+
"contracts/types/NftId.sol": {
|
447
|
+
"NftIdLib": [
|
448
|
+
{
|
449
|
+
"length": 20,
|
450
|
+
"start": 1476
|
451
|
+
},
|
452
|
+
{
|
453
|
+
"length": 20,
|
454
|
+
"start": 2168
|
455
|
+
}
|
456
|
+
]
|
457
|
+
}
|
458
|
+
},
|
459
|
+
"deployedLinkReferences": {
|
460
|
+
"contracts/types/NftId.sol": {
|
461
|
+
"NftIdLib": [
|
462
|
+
{
|
463
|
+
"length": 20,
|
464
|
+
"start": 795
|
465
|
+
},
|
466
|
+
{
|
467
|
+
"length": 20,
|
468
|
+
"start": 1487
|
469
|
+
}
|
470
|
+
]
|
471
|
+
}
|
472
|
+
}
|
473
|
+
}
|