@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
@@ -14,19 +14,143 @@
|
|
14
14
|
"internalType": "NftId",
|
15
15
|
"name": "registryNftId",
|
16
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"
|
17
32
|
}
|
18
33
|
],
|
19
34
|
"stateMutability": "nonpayable",
|
20
35
|
"type": "constructor"
|
21
36
|
},
|
37
|
+
{
|
38
|
+
"inputs": [
|
39
|
+
{
|
40
|
+
"internalType": "address",
|
41
|
+
"name": "registry",
|
42
|
+
"type": "address"
|
43
|
+
},
|
44
|
+
{
|
45
|
+
"internalType": "NftId",
|
46
|
+
"name": "nftId",
|
47
|
+
"type": "uint96"
|
48
|
+
}
|
49
|
+
],
|
50
|
+
"name": "ErrorAlreadyLinked",
|
51
|
+
"type": "error"
|
52
|
+
},
|
53
|
+
{
|
54
|
+
"inputs": [
|
55
|
+
{
|
56
|
+
"internalType": "address",
|
57
|
+
"name": "contractAddress",
|
58
|
+
"type": "address"
|
59
|
+
}
|
60
|
+
],
|
61
|
+
"name": "ErrorContractNotRegistered",
|
62
|
+
"type": "error"
|
63
|
+
},
|
22
64
|
{
|
23
65
|
"inputs": [],
|
24
|
-
"name": "
|
66
|
+
"name": "ErrorInitialOwnerZero",
|
67
|
+
"type": "error"
|
68
|
+
},
|
69
|
+
{
|
70
|
+
"inputs": [
|
71
|
+
{
|
72
|
+
"internalType": "address",
|
73
|
+
"name": "account",
|
74
|
+
"type": "address"
|
75
|
+
}
|
76
|
+
],
|
77
|
+
"name": "ErrorNotOwner",
|
78
|
+
"type": "error"
|
79
|
+
},
|
80
|
+
{
|
81
|
+
"inputs": [
|
82
|
+
{
|
83
|
+
"internalType": "address",
|
84
|
+
"name": "registryAddress",
|
85
|
+
"type": "address"
|
86
|
+
}
|
87
|
+
],
|
88
|
+
"name": "ErrorNotRegistry",
|
89
|
+
"type": "error"
|
90
|
+
},
|
91
|
+
{
|
92
|
+
"inputs": [
|
93
|
+
{
|
94
|
+
"internalType": "address",
|
95
|
+
"name": "registryAddress",
|
96
|
+
"type": "address"
|
97
|
+
}
|
98
|
+
],
|
99
|
+
"name": "ErrorRegisterableNotRegistry",
|
100
|
+
"type": "error"
|
101
|
+
},
|
102
|
+
{
|
103
|
+
"inputs": [],
|
104
|
+
"name": "ErrorRegistryAddressZero",
|
105
|
+
"type": "error"
|
106
|
+
},
|
107
|
+
{
|
108
|
+
"inputs": [
|
109
|
+
{
|
110
|
+
"internalType": "address",
|
111
|
+
"name": "registry",
|
112
|
+
"type": "address"
|
113
|
+
}
|
114
|
+
],
|
115
|
+
"name": "ErrorRegistryAlreadyInitialized",
|
116
|
+
"type": "error"
|
117
|
+
},
|
118
|
+
{
|
119
|
+
"inputs": [],
|
120
|
+
"name": "ErrorRegistryNotInitialized",
|
121
|
+
"type": "error"
|
122
|
+
},
|
123
|
+
{
|
124
|
+
"inputs": [],
|
125
|
+
"name": "InvalidInitialization",
|
126
|
+
"type": "error"
|
127
|
+
},
|
128
|
+
{
|
129
|
+
"inputs": [],
|
130
|
+
"name": "NotInitializing",
|
131
|
+
"type": "error"
|
132
|
+
},
|
133
|
+
{
|
134
|
+
"anonymous": false,
|
135
|
+
"inputs": [
|
136
|
+
{
|
137
|
+
"indexed": false,
|
138
|
+
"internalType": "uint64",
|
139
|
+
"name": "version",
|
140
|
+
"type": "uint64"
|
141
|
+
}
|
142
|
+
],
|
143
|
+
"name": "Initialized",
|
144
|
+
"type": "event"
|
145
|
+
},
|
146
|
+
{
|
147
|
+
"inputs": [],
|
148
|
+
"name": "NFT_OWNABLE_STORAGE_LOCATION_V1",
|
25
149
|
"outputs": [
|
26
150
|
{
|
27
|
-
"internalType": "
|
28
|
-
"name": "
|
29
|
-
"type": "
|
151
|
+
"internalType": "bytes32",
|
152
|
+
"name": "",
|
153
|
+
"type": "bytes32"
|
30
154
|
}
|
31
155
|
],
|
32
156
|
"stateMutability": "view",
|
@@ -34,12 +158,12 @@
|
|
34
158
|
},
|
35
159
|
{
|
36
160
|
"inputs": [],
|
37
|
-
"name": "
|
161
|
+
"name": "REGISTERABLE_LOCATION_V1",
|
38
162
|
"outputs": [
|
39
163
|
{
|
40
|
-
"internalType": "
|
41
|
-
"name": "
|
42
|
-
"type": "
|
164
|
+
"internalType": "bytes32",
|
165
|
+
"name": "",
|
166
|
+
"type": "bytes32"
|
43
167
|
}
|
44
168
|
],
|
45
169
|
"stateMutability": "view",
|
@@ -47,11 +171,61 @@
|
|
47
171
|
},
|
48
172
|
{
|
49
173
|
"inputs": [],
|
50
|
-
"name": "
|
174
|
+
"name": "getInitialInfo",
|
175
|
+
"outputs": [
|
176
|
+
{
|
177
|
+
"components": [
|
178
|
+
{
|
179
|
+
"internalType": "NftId",
|
180
|
+
"name": "nftId",
|
181
|
+
"type": "uint96"
|
182
|
+
},
|
183
|
+
{
|
184
|
+
"internalType": "NftId",
|
185
|
+
"name": "parentNftId",
|
186
|
+
"type": "uint96"
|
187
|
+
},
|
188
|
+
{
|
189
|
+
"internalType": "ObjectType",
|
190
|
+
"name": "objectType",
|
191
|
+
"type": "uint8"
|
192
|
+
},
|
193
|
+
{
|
194
|
+
"internalType": "bool",
|
195
|
+
"name": "isInterceptor",
|
196
|
+
"type": "bool"
|
197
|
+
},
|
198
|
+
{
|
199
|
+
"internalType": "address",
|
200
|
+
"name": "objectAddress",
|
201
|
+
"type": "address"
|
202
|
+
},
|
203
|
+
{
|
204
|
+
"internalType": "address",
|
205
|
+
"name": "initialOwner",
|
206
|
+
"type": "address"
|
207
|
+
},
|
208
|
+
{
|
209
|
+
"internalType": "bytes",
|
210
|
+
"name": "data",
|
211
|
+
"type": "bytes"
|
212
|
+
}
|
213
|
+
],
|
214
|
+
"internalType": "struct IRegistry.ObjectInfo",
|
215
|
+
"name": "info",
|
216
|
+
"type": "tuple"
|
217
|
+
}
|
218
|
+
],
|
219
|
+
"stateMutability": "view",
|
220
|
+
"type": "function"
|
221
|
+
},
|
222
|
+
{
|
223
|
+
"inputs": [],
|
224
|
+
"name": "getInitialOwner",
|
51
225
|
"outputs": [
|
52
226
|
{
|
53
227
|
"internalType": "address",
|
54
|
-
"name": "
|
228
|
+
"name": "",
|
55
229
|
"type": "address"
|
56
230
|
}
|
57
231
|
],
|
@@ -60,11 +234,11 @@
|
|
60
234
|
},
|
61
235
|
{
|
62
236
|
"inputs": [],
|
63
|
-
"name": "
|
237
|
+
"name": "getNftId",
|
64
238
|
"outputs": [
|
65
239
|
{
|
66
240
|
"internalType": "NftId",
|
67
|
-
"name": "
|
241
|
+
"name": "",
|
68
242
|
"type": "uint96"
|
69
243
|
}
|
70
244
|
],
|
@@ -73,11 +247,11 @@
|
|
73
247
|
},
|
74
248
|
{
|
75
249
|
"inputs": [],
|
76
|
-
"name": "
|
250
|
+
"name": "getOwner",
|
77
251
|
"outputs": [
|
78
252
|
{
|
79
|
-
"internalType": "
|
80
|
-
"name": "
|
253
|
+
"internalType": "address",
|
254
|
+
"name": "",
|
81
255
|
"type": "address"
|
82
256
|
}
|
83
257
|
],
|
@@ -86,27 +260,110 @@
|
|
86
260
|
},
|
87
261
|
{
|
88
262
|
"inputs": [],
|
89
|
-
"name": "
|
263
|
+
"name": "getRegistry",
|
90
264
|
"outputs": [
|
91
265
|
{
|
92
|
-
"internalType": "
|
266
|
+
"internalType": "contract IRegistry",
|
93
267
|
"name": "",
|
94
|
-
"type": "
|
268
|
+
"type": "address"
|
95
269
|
}
|
96
270
|
],
|
97
|
-
"stateMutability": "
|
271
|
+
"stateMutability": "view",
|
98
272
|
"type": "function"
|
99
273
|
},
|
100
274
|
{
|
101
275
|
"inputs": [],
|
102
|
-
"name": "
|
103
|
-
"outputs": [
|
276
|
+
"name": "initializeERC165",
|
277
|
+
"outputs": [],
|
278
|
+
"stateMutability": "nonpayable",
|
279
|
+
"type": "function"
|
280
|
+
},
|
281
|
+
{
|
282
|
+
"inputs": [
|
283
|
+
{
|
284
|
+
"internalType": "address",
|
285
|
+
"name": "initialOwner",
|
286
|
+
"type": "address"
|
287
|
+
},
|
288
|
+
{
|
289
|
+
"internalType": "address",
|
290
|
+
"name": "registryAddress",
|
291
|
+
"type": "address"
|
292
|
+
}
|
293
|
+
],
|
294
|
+
"name": "initializeNftOwnable",
|
295
|
+
"outputs": [],
|
296
|
+
"stateMutability": "nonpayable",
|
297
|
+
"type": "function"
|
298
|
+
},
|
299
|
+
{
|
300
|
+
"inputs": [
|
301
|
+
{
|
302
|
+
"internalType": "address",
|
303
|
+
"name": "initialOwner",
|
304
|
+
"type": "address"
|
305
|
+
}
|
306
|
+
],
|
307
|
+
"name": "initializeOwner",
|
308
|
+
"outputs": [],
|
309
|
+
"stateMutability": "nonpayable",
|
310
|
+
"type": "function"
|
311
|
+
},
|
312
|
+
{
|
313
|
+
"inputs": [
|
314
|
+
{
|
315
|
+
"internalType": "address",
|
316
|
+
"name": "registryAddress",
|
317
|
+
"type": "address"
|
318
|
+
},
|
104
319
|
{
|
105
320
|
"internalType": "NftId",
|
106
|
-
"name": "
|
321
|
+
"name": "parentNftId",
|
107
322
|
"type": "uint96"
|
323
|
+
},
|
324
|
+
{
|
325
|
+
"internalType": "ObjectType",
|
326
|
+
"name": "objectType",
|
327
|
+
"type": "uint8"
|
328
|
+
},
|
329
|
+
{
|
330
|
+
"internalType": "bool",
|
331
|
+
"name": "isInterceptor",
|
332
|
+
"type": "bool"
|
333
|
+
},
|
334
|
+
{
|
335
|
+
"internalType": "address",
|
336
|
+
"name": "initialOwner",
|
337
|
+
"type": "address"
|
338
|
+
},
|
339
|
+
{
|
340
|
+
"internalType": "bytes",
|
341
|
+
"name": "data",
|
342
|
+
"type": "bytes"
|
343
|
+
}
|
344
|
+
],
|
345
|
+
"name": "initializeRegisterable",
|
346
|
+
"outputs": [],
|
347
|
+
"stateMutability": "nonpayable",
|
348
|
+
"type": "function"
|
349
|
+
},
|
350
|
+
{
|
351
|
+
"inputs": [],
|
352
|
+
"name": "linkToRegisteredNftId",
|
353
|
+
"outputs": [],
|
354
|
+
"stateMutability": "nonpayable",
|
355
|
+
"type": "function"
|
356
|
+
},
|
357
|
+
{
|
358
|
+
"inputs": [
|
359
|
+
{
|
360
|
+
"internalType": "bytes4",
|
361
|
+
"name": "interfaceId",
|
362
|
+
"type": "bytes4"
|
108
363
|
}
|
109
364
|
],
|
365
|
+
"name": "registerInterface",
|
366
|
+
"outputs": [],
|
110
367
|
"stateMutability": "nonpayable",
|
111
368
|
"type": "function"
|
112
369
|
},
|
@@ -130,8 +387,34 @@
|
|
130
387
|
"type": "function"
|
131
388
|
}
|
132
389
|
],
|
133
|
-
"bytecode": "0x60e060405234801561001057600080fd5b506040516108b73803806108b783398101604081905261002f916102a3565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff1916600117905581816001600160a01b0382166100c85760405162461bcd60e51b815260206004820152601b60248201527f4552524f523a5247422d3031303a52454749535452595f5a45524f000000000060448201526064015b60405180910390fd5b6001600160a01b03821660808190526040516301ffc9a760e01b81526306ecd8ef60e01b60048201526301ffc9a790602401602060405180830381865afa158015610117573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061013b91906102f5565b6101875760405162461bcd60e51b815260206004820152601a60248201527f4552524f523a5247422d3031313a4e4f545f524547495354525900000000000060448201526064016100bf565b6001600160601b03811660a081905260805160405163e74d052f60e01b815260048101929092526001600160a01b03169063e74d052f90602401602060405180830381865afa1580156101de573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061020291906102f5565b61025a5760405162461bcd60e51b815260206004820152602360248201527f4552524f523a5247422d3031323a504152454e545f4e4f545f5245474953544560448201526214915160ea1b60648201526084016100bf565b3360c052631dfba64760e11b60009081526020527f95e5a2564f7af40498dc043c6da135e06324c5edb1f60c2bf4dcdf2da207fa45805460ff191660011790555050505061031e565b600080604083850312156102b657600080fd5b82516001600160a01b03811681146102cd57600080fd5b60208401519092506001600160601b03811681146102ea57600080fd5b809150509250929050565b60006020828403121561030757600080fd5b8151801515811461031757600080fd5b9392505050565b60805160a05160c05161054e610369600039600061038b01526000610100015260008181610140015281816102100152818161029d0152818161030e01526103ce015261054e6000f3fe608060405234801561001057600080fd5b50600436106100885760003560e01c80633bc5de301161005b5780633bc5de30146101245780635ab1bd531461013e578063644c45e014610178578063893d20e81461018057600080fd5b806301ffc9a71461008d57806315dae03e146100cf5780631aa3a008146100de57806331b62a3b146100fe575b600080fd5b6100ba61009b366004610447565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b604051601e81526020016100c6565b6100e661018d565b6040516001600160601b0390911681526020016100c6565b7f00000000000000000000000000000000000000000000000000000000000000006100e6565b604080516020810182526000815290516100c69190610478565b7f00000000000000000000000000000000000000000000000000000000000000005b6040516001600160a01b0390911681526020016100c6565b6100e6610285565b6101606102ec565b905090565b60006101976102ec565b6001600160a01b0316336001600160a01b0316146101fb5760405162461bcd60e51b815260206004820152601760248201527f4552524f523a5247422d3030313a4e4f545f4f574e4552000000000000000000604482015260640160405180910390fd5b604051632210724360e11b81523060048201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031690634420e486906024016020604051808303816000875af1158015610261573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061018891906104c6565b604051636939560f60e11b81523060048201526000907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063d272ac1e90602401602060405180830381865afa158015610261573d6000803e3d6000fd5b604051636939560f60e11b815230600482015260009081906001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063d272ac1e90602401602060405180830381865afa158015610355573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061037991906104c6565b90506001600160601b0381166103b0577f000000000000000000000000000000000000000000000000000000000000000091505090565b60405163df33330b60e01b81526001600160601b03821660048201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063df33330b90602401602060405180830381865afa15801561041d573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061044191906104ef565b91505090565b60006020828403121561045957600080fd5b81356001600160e01b03198116811461047157600080fd5b9392505050565b600060208083528351808285015260005b818110156104a557858101830151858201604001528201610489565b506000604082860101526040601f19601f8301168501019250505092915050565b6000602082840312156104d857600080fd5b81516001600160601b038116811461047157600080fd5b60006020828403121561050157600080fd5b81516001600160a01b038116811461047157600080fdfea2646970667358221220b71b6348c1749a1401959f56e3a037fc052c167e77c7cb746e4eb1a95f2261e964736f6c63430008140033",
|
134
|
-
"deployedBytecode": "
|
135
|
-
"linkReferences": {
|
136
|
-
|
390
|
+
"bytecode": "0x60806040523480156200001157600080fd5b50604051620017433803806200174383398101604081905262000034916200044b565b604080516020810190915260008152620000538686868686866200005f565b50505050505062000666565b6200006962000110565b62000075828762000161565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166001600160681b0319909116176c0100000000000000000000000060ff8816021760ff60681b19166d010000000000000000000000000086151502178155905060018101620000f4838262000575565b50620001076303fb044760e21b620001a1565b50505050505050565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a005468010000000000000000900460ff166200015f57604051631afcd79f60e31b815260040160405180910390fd5b565b6200016b62000110565b6200017682620001d0565b620001818162000243565b6200018b620003d5565b6200019d63a444b9bb60e01b620001a1565b5050565b620001ab62000110565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b620001da62000110565b6001600160a01b03811662000202576040516352e2d0c160e01b815260040160405180910390fd5b7f07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f0180546001600160a01b0319166001600160a01b0392909216919091179055565b7f07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f0080546001600160a01b031615620002a157805460405163fcdbf2d960e01b81526001600160a01b0390911660048201526024015b60405180910390fd5b6001600160a01b038216620002c95760405163f5c4d07d60e01b815260040160405180910390fd5b816001600160a01b03163b600003620003015760405163fdeac91f60e01b81526001600160a01b038316600482015260240162000298565b80546001600160a01b0319166001600160a01b03831690811782556040516301ffc9a760e01b815263230c0c8160e11b60048201526301ffc9a790602401602060405180830381865afa9250505080156200037b575060408051601f3d908101601f19168201909252620003789181019062000641565b60015b620003a55760405163fdeac91f60e01b81526001600160a01b038316600482015260240162000298565b80620003d05760405163fdeac91f60e01b81526001600160a01b038416600482015260240162000298565b505050565b620003df62000110565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b80516001600160a01b03811681146200043557600080fd5b919050565b805180151581146200043557600080fd5b600080600080600060a086880312156200046457600080fd5b6200046f866200041d565b60208701519095506001600160601b03811681146200048d57600080fd5b604087015190945060ff81168114620004a557600080fd5b9250620004b5606087016200043a565b9150620004c5608087016200041d565b90509295509295909350565b634e487b7160e01b600052604160045260246000fd5b600181811c90821680620004fc57607f821691505b6020821081036200051d57634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115620003d057600081815260208120601f850160051c810160208610156200054c5750805b601f850160051c820191505b818110156200056d5782815560010162000558565b505050505050565b81516001600160401b03811115620005915762000591620004d1565b620005a981620005a28454620004e7565b8462000523565b602080601f831160018114620005e15760008415620005c85750858301515b600019600386901b1c1916600185901b1785556200056d565b600085815260208120601f198616915b828110156200061257888601518255948401946001909101908401620005f1565b5085821015620006315787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6000602082840312156200065457600080fd5b6200065f826200043a565b9392505050565b6110cd80620006766000396000f3fe608060405234801561001057600080fd5b50600436106100ea5760003560e01c80635ab1bd531161008c5780638c5f36bb116100665780638c5f36bb14610225578063ada9652e14610238578063f7c34ee01461024d578063fb2cb1011461026057600080fd5b80635ab1bd53146101b3578063644c45e0146101e5578063893d20e81461021d57600080fd5b80631eff4b22116100c85780631eff4b2214610150578063214cdb801461018557806327bb7a331461019857806336fc697e146101ab57600080fd5b806301ffc9a7146100ef5780630fec111c14610131578063138461e014610146575b600080fd5b61011c6100fd366004610c24565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b610139610268565b6040516101289190610c9b565b61014e610417565b005b6101777f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610128565b61014e610193366004610c24565b610645565b61014e6101a6366004610d77565b610672565b61014e61070e565b600080516020611078833981519152546001600160a01b03165b6040516001600160a01b039091168152602001610128565b60008051602061107883398151915254600160a01b90046001600160601b03166040516001600160601b039091168152602001610128565b6101cd610754565b61014e610233366004610e8a565b610885565b61017760008051602061107883398151915281565b61014e61025b366004610ea7565b6109ad565b6101cd6109e3565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820152907f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa3006040805160808101825282546001600160601b038116825260ff600160601b820481166020840152600160681b9091041615159181019190915260018201805491929160608401919061031390610ee0565b80601f016020809104026020016040519081016040528092919081815260200182805461033f90610ee0565b801561038c5780601f106103615761010080835404028352916020019161038c565b820191906000526020600020905b81548152906001019060200180831161036f57829003601f168201915b50505050508152505090506040518060e001604052806103aa600090565b6001600160601b0316815260200182600001516001600160601b03168152602001826020015160ff168152602001826040015115158152602001306001600160a01b031681526020016103fb6109e3565b6001600160a01b03168152602001826060015181525091505090565b600060008051602061107883398151915280546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af415801561048c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104b09190610f1a565b156104f65780546040516316322c0f60e31b81526001600160a01b0382166004820152600160a01b9091046001600160601b031660248201526044015b60405180910390fd5b80546001600160a01b031661051e5760405163cf29926160e01b815260040160405180910390fd5b805460405163c3c5a54760e01b81523060048201819052916001600160a01b03169063c3c5a54790602401602060405180830381865afa158015610566573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061058a9190610f1a565b6105b2576040516372657a5160e01b81526001600160a01b03821660048201526024016104ed565b8154604051636939560f60e11b81526001600160a01b0383811660048301529091169063d272ac1e90602401602060405180830381865afa1580156105fb573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061061f9190610f37565b82546001600160601b0391909116600160a01b026001600160a01b039091161790915550565b61064d6109f9565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b61067a6109f9565b61068482876109ad565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b861515021781559050600181016106f48382610f9a565b506107056303fb044760e21b610645565b50505050505050565b6107166109f9565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b60008060008051602061107883398151915280546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af41580156107ca573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107ee9190610f1a565b15610873578054604051631c5da14d60e11b8152600160a01b82046001600160601b031660048201526001600160a01b03909116906338bb429a90602401602060405180830381865afa158015610849573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061086d919061105a565b91505090565b600101546001600160a01b0316919050565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b810460ff16159067ffffffffffffffff166000811580156108cb5750825b905060008267ffffffffffffffff1660011480156108e85750303b155b9050811580156108f6575080155b156109145760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561093e57845460ff60401b1916600160401b1785555b61094786610a44565b61094f61070e565b61095f63a444b9bb60e01b610645565b83156109a557845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b505050505050565b6109b56109f9565b6109be82610a44565b6109c781610ab4565b6109cf61070e565b6109df63a444b9bb60e01b610645565b5050565b6000600080516020611078833981519152610873565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0054600160401b900460ff16610a4257604051631afcd79f60e31b815260040160405180910390fd5b565b610a4c6109f9565b6001600160a01b038116610a73576040516352e2d0c160e01b815260040160405180910390fd5b7f07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f0180546001600160a01b0319166001600160a01b0392909216919091179055565b60008051602061107883398151915280546001600160a01b031615610afa57805460405163fcdbf2d960e01b81526001600160a01b0390911660048201526024016104ed565b6001600160a01b038216610b215760405163f5c4d07d60e01b815260040160405180910390fd5b816001600160a01b03163b600003610b575760405163fdeac91f60e01b81526001600160a01b03831660048201526024016104ed565b80546001600160a01b0319166001600160a01b03831690811782556040516301ffc9a760e01b815263230c0c8160e11b60048201526301ffc9a790602401602060405180830381865afa925050508015610bce575060408051601f3d908101601f19168201909252610bcb91810190610f1a565b60015b610bf65760405163fdeac91f60e01b81526001600160a01b03831660048201526024016104ed565b80610c1f5760405163fdeac91f60e01b81526001600160a01b03841660048201526024016104ed565b505050565b600060208284031215610c3657600080fd5b81356001600160e01b031981168114610c4e57600080fd5b9392505050565b6000815180845260005b81811015610c7b57602081850181015186830182015201610c5f565b506000602082860101526020601f19601f83011685010191505092915050565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260608301511515608083015260018060a01b0360808401511660a083015260a0830151610d0460c08401826001600160a01b03169052565b5060c083015160e080840152610d1e610100840182610c55565b949350505050565b6001600160a01b0381168114610d3b57600080fd5b50565b6001600160601b0381168114610d3b57600080fd5b8015158114610d3b57600080fd5b634e487b7160e01b600052604160045260246000fd5b60008060008060008060c08789031215610d9057600080fd5b8635610d9b81610d26565b95506020870135610dab81610d3e565b9450604087013560ff81168114610dc157600080fd5b93506060870135610dd181610d53565b92506080870135610de181610d26565b915060a087013567ffffffffffffffff80821115610dfe57600080fd5b818901915089601f830112610e1257600080fd5b813581811115610e2457610e24610d61565b604051601f8201601f19908116603f01168101908382118183101715610e4c57610e4c610d61565b816040528281528c6020848701011115610e6557600080fd5b8260208601602083013760006020848301015280955050505050509295509295509295565b600060208284031215610e9c57600080fd5b8135610c4e81610d26565b60008060408385031215610eba57600080fd5b8235610ec581610d26565b91506020830135610ed581610d26565b809150509250929050565b600181811c90821680610ef457607f821691505b602082108103610f1457634e487b7160e01b600052602260045260246000fd5b50919050565b600060208284031215610f2c57600080fd5b8151610c4e81610d53565b600060208284031215610f4957600080fd5b8151610c4e81610d3e565b601f821115610c1f57600081815260208120601f850160051c81016020861015610f7b5750805b601f850160051c820191505b818110156109a557828155600101610f87565b815167ffffffffffffffff811115610fb457610fb4610d61565b610fc881610fc28454610ee0565b84610f54565b602080601f831160018114610ffd5760008415610fe55750858301515b600019600386901b1c1916600185901b1785556109a5565b600085815260208120601f198616915b8281101561102c5788860151825594840194600190910190840161100d565b508582101561104a5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b60006020828403121561106c57600080fd5b8151610c4e81610d2656fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00a2646970667358221220e796d58346343a8de9cfe65dcd0084adc66d09838ef517d8c9f57da4f419036c64736f6c63430008140033",
|
391
|
+
"deployedBytecode": "0x608060405234801561001057600080fd5b50600436106100ea5760003560e01c80635ab1bd531161008c5780638c5f36bb116100665780638c5f36bb14610225578063ada9652e14610238578063f7c34ee01461024d578063fb2cb1011461026057600080fd5b80635ab1bd53146101b3578063644c45e0146101e5578063893d20e81461021d57600080fd5b80631eff4b22116100c85780631eff4b2214610150578063214cdb801461018557806327bb7a331461019857806336fc697e146101ab57600080fd5b806301ffc9a7146100ef5780630fec111c14610131578063138461e014610146575b600080fd5b61011c6100fd366004610c24565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b610139610268565b6040516101289190610c9b565b61014e610417565b005b6101777f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610128565b61014e610193366004610c24565b610645565b61014e6101a6366004610d77565b610672565b61014e61070e565b600080516020611078833981519152546001600160a01b03165b6040516001600160a01b039091168152602001610128565b60008051602061107883398151915254600160a01b90046001600160601b03166040516001600160601b039091168152602001610128565b6101cd610754565b61014e610233366004610e8a565b610885565b61017760008051602061107883398151915281565b61014e61025b366004610ea7565b6109ad565b6101cd6109e3565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820152907f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa3006040805160808101825282546001600160601b038116825260ff600160601b820481166020840152600160681b9091041615159181019190915260018201805491929160608401919061031390610ee0565b80601f016020809104026020016040519081016040528092919081815260200182805461033f90610ee0565b801561038c5780601f106103615761010080835404028352916020019161038c565b820191906000526020600020905b81548152906001019060200180831161036f57829003601f168201915b50505050508152505090506040518060e001604052806103aa600090565b6001600160601b0316815260200182600001516001600160601b03168152602001826020015160ff168152602001826040015115158152602001306001600160a01b031681526020016103fb6109e3565b6001600160a01b03168152602001826060015181525091505090565b600060008051602061107883398151915280546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af415801561048c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104b09190610f1a565b156104f65780546040516316322c0f60e31b81526001600160a01b0382166004820152600160a01b9091046001600160601b031660248201526044015b60405180910390fd5b80546001600160a01b031661051e5760405163cf29926160e01b815260040160405180910390fd5b805460405163c3c5a54760e01b81523060048201819052916001600160a01b03169063c3c5a54790602401602060405180830381865afa158015610566573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061058a9190610f1a565b6105b2576040516372657a5160e01b81526001600160a01b03821660048201526024016104ed565b8154604051636939560f60e11b81526001600160a01b0383811660048301529091169063d272ac1e90602401602060405180830381865afa1580156105fb573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061061f9190610f37565b82546001600160601b0391909116600160a01b026001600160a01b039091161790915550565b61064d6109f9565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b61067a6109f9565b61068482876109ad565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b861515021781559050600181016106f48382610f9a565b506107056303fb044760e21b610645565b50505050505050565b6107166109f9565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b60008060008051602061107883398151915280546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af41580156107ca573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107ee9190610f1a565b15610873578054604051631c5da14d60e11b8152600160a01b82046001600160601b031660048201526001600160a01b03909116906338bb429a90602401602060405180830381865afa158015610849573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061086d919061105a565b91505090565b600101546001600160a01b0316919050565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b810460ff16159067ffffffffffffffff166000811580156108cb5750825b905060008267ffffffffffffffff1660011480156108e85750303b155b9050811580156108f6575080155b156109145760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561093e57845460ff60401b1916600160401b1785555b61094786610a44565b61094f61070e565b61095f63a444b9bb60e01b610645565b83156109a557845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b505050505050565b6109b56109f9565b6109be82610a44565b6109c781610ab4565b6109cf61070e565b6109df63a444b9bb60e01b610645565b5050565b6000600080516020611078833981519152610873565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0054600160401b900460ff16610a4257604051631afcd79f60e31b815260040160405180910390fd5b565b610a4c6109f9565b6001600160a01b038116610a73576040516352e2d0c160e01b815260040160405180910390fd5b7f07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f0180546001600160a01b0319166001600160a01b0392909216919091179055565b60008051602061107883398151915280546001600160a01b031615610afa57805460405163fcdbf2d960e01b81526001600160a01b0390911660048201526024016104ed565b6001600160a01b038216610b215760405163f5c4d07d60e01b815260040160405180910390fd5b816001600160a01b03163b600003610b575760405163fdeac91f60e01b81526001600160a01b03831660048201526024016104ed565b80546001600160a01b0319166001600160a01b03831690811782556040516301ffc9a760e01b815263230c0c8160e11b60048201526301ffc9a790602401602060405180830381865afa925050508015610bce575060408051601f3d908101601f19168201909252610bcb91810190610f1a565b60015b610bf65760405163fdeac91f60e01b81526001600160a01b03831660048201526024016104ed565b80610c1f5760405163fdeac91f60e01b81526001600160a01b03841660048201526024016104ed565b505050565b600060208284031215610c3657600080fd5b81356001600160e01b031981168114610c4e57600080fd5b9392505050565b6000815180845260005b81811015610c7b57602081850181015186830182015201610c5f565b506000602082860101526020601f19601f83011685010191505092915050565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260608301511515608083015260018060a01b0360808401511660a083015260a0830151610d0460c08401826001600160a01b03169052565b5060c083015160e080840152610d1e610100840182610c55565b949350505050565b6001600160a01b0381168114610d3b57600080fd5b50565b6001600160601b0381168114610d3b57600080fd5b8015158114610d3b57600080fd5b634e487b7160e01b600052604160045260246000fd5b60008060008060008060c08789031215610d9057600080fd5b8635610d9b81610d26565b95506020870135610dab81610d3e565b9450604087013560ff81168114610dc157600080fd5b93506060870135610dd181610d53565b92506080870135610de181610d26565b915060a087013567ffffffffffffffff80821115610dfe57600080fd5b818901915089601f830112610e1257600080fd5b813581811115610e2457610e24610d61565b604051601f8201601f19908116603f01168101908382118183101715610e4c57610e4c610d61565b816040528281528c6020848701011115610e6557600080fd5b8260208601602083013760006020848301015280955050505050509295509295509295565b600060208284031215610e9c57600080fd5b8135610c4e81610d26565b60008060408385031215610eba57600080fd5b8235610ec581610d26565b91506020830135610ed581610d26565b809150509250929050565b600181811c90821680610ef457607f821691505b602082108103610f1457634e487b7160e01b600052602260045260246000fd5b50919050565b600060208284031215610f2c57600080fd5b8151610c4e81610d53565b600060208284031215610f4957600080fd5b8151610c4e81610d3e565b601f821115610c1f57600081815260208120601f850160051c81016020861015610f7b5750805b601f850160051c820191505b818110156109a557828155600101610f87565b815167ffffffffffffffff811115610fb457610fb4610d61565b610fc881610fc28454610ee0565b84610f54565b602080601f831160018114610ffd5760008415610fe55750858301515b600019600386901b1c1916600185901b1785556109a5565b600085815260208120601f198616915b8281101561102c5788860151825594840194600190910190840161100d565b508582101561104a5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b60006020828403121561106c57600080fd5b8151610c4e81610d2656fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00a2646970667358221220e796d58346343a8de9cfe65dcd0084adc66d09838ef517d8c9f57da4f419036c64736f6c63430008140033",
|
392
|
+
"linkReferences": {
|
393
|
+
"contracts/types/NftId.sol": {
|
394
|
+
"NftIdLib": [
|
395
|
+
{
|
396
|
+
"length": 20,
|
397
|
+
"start": 2760
|
398
|
+
},
|
399
|
+
{
|
400
|
+
"length": 20,
|
401
|
+
"start": 3590
|
402
|
+
}
|
403
|
+
]
|
404
|
+
}
|
405
|
+
},
|
406
|
+
"deployedLinkReferences": {
|
407
|
+
"contracts/types/NftId.sol": {
|
408
|
+
"NftIdLib": [
|
409
|
+
{
|
410
|
+
"length": 20,
|
411
|
+
"start": 1106
|
412
|
+
},
|
413
|
+
{
|
414
|
+
"length": 20,
|
415
|
+
"start": 1936
|
416
|
+
}
|
417
|
+
]
|
418
|
+
}
|
419
|
+
}
|
137
420
|
}
|
@@ -10,7 +10,7 @@
|
|
10
10
|
{
|
11
11
|
"internalType": "RoleId",
|
12
12
|
"name": "",
|
13
|
-
"type": "
|
13
|
+
"type": "uint64"
|
14
14
|
}
|
15
15
|
],
|
16
16
|
"stateMutability": "pure",
|
@@ -36,7 +36,7 @@
|
|
36
36
|
{
|
37
37
|
"internalType": "RoleId",
|
38
38
|
"name": "",
|
39
|
-
"type": "
|
39
|
+
"type": "uint64"
|
40
40
|
}
|
41
41
|
],
|
42
42
|
"stateMutability": "pure",
|
@@ -58,9 +58,9 @@
|
|
58
58
|
{
|
59
59
|
"inputs": [
|
60
60
|
{
|
61
|
-
"internalType": "
|
62
|
-
"name": "
|
63
|
-
"type": "
|
61
|
+
"internalType": "uint256",
|
62
|
+
"name": "roleNum",
|
63
|
+
"type": "uint256"
|
64
64
|
}
|
65
65
|
],
|
66
66
|
"name": "getRole",
|
@@ -68,29 +68,29 @@
|
|
68
68
|
{
|
69
69
|
"internalType": "RoleId",
|
70
70
|
"name": "",
|
71
|
-
"type": "
|
71
|
+
"type": "uint64"
|
72
72
|
}
|
73
73
|
],
|
74
74
|
"stateMutability": "pure",
|
75
75
|
"type": "function"
|
76
76
|
}
|
77
77
|
],
|
78
|
-
"bytecode": "
|
79
|
-
"deployedBytecode": "
|
78
|
+
"bytecode": "0x608060405234801561001057600080fd5b5061032e806100206000396000f3fe608060405234801561001057600080fd5b50600436106100575760003560e01c80631fa8a7301461005c5780635312fdc214610082578063775a404814610095578063b844f20e1461009d578063c4ce6e5b146100b2575b600080fd5b6100646100ba565b60405167ffffffffffffffff90911681526020015b60405180910390f35b610064610090366004610260565b6100c9565b610064610146565b6100a5610150565b6040516100799190610279565b6100a561017f565b60006100c46101ab565b905090565b6040516368aebf7b60e01b81526004810182905260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b90602401602060405180830381865af415801561011c573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061014091906102c7565b92915050565b60006100c4610224565b60606100c460408051808201909152601081526f50726f647563744f776e6572526f6c6560801b602082015290565b60606100c460408051808201909152600d81526c506f6f6c4f776e6572526f6c6560981b602082015290565b6040516368aebf7b60e01b815261012c600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b906024015b602060405180830381865af4158015610200573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906100c491906102c7565b6040516368aebf7b60e01b8152610190600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b906024016101e3565b60006020828403121561027257600080fd5b5035919050565b600060208083528351808285015260005b818110156102a65785810183015185820160400152820161028a565b506000604082860101526040601f19601f8301168501019250505092915050565b6000602082840312156102d957600080fd5b815167ffffffffffffffff811681146102f157600080fd5b939250505056fea2646970667358221220e7bd5463ab28f442b95b42b48309bcedcbdec489b9a5140eef138234436137d764736f6c63430008140033",
|
79
|
+
"deployedBytecode": "0x608060405234801561001057600080fd5b50600436106100575760003560e01c80631fa8a7301461005c5780635312fdc214610082578063775a404814610095578063b844f20e1461009d578063c4ce6e5b146100b2575b600080fd5b6100646100ba565b60405167ffffffffffffffff90911681526020015b60405180910390f35b610064610090366004610260565b6100c9565b610064610146565b6100a5610150565b6040516100799190610279565b6100a561017f565b60006100c46101ab565b905090565b6040516368aebf7b60e01b81526004810182905260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b90602401602060405180830381865af415801561011c573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061014091906102c7565b92915050565b60006100c4610224565b60606100c460408051808201909152601081526f50726f647563744f776e6572526f6c6560801b602082015290565b60606100c460408051808201909152600d81526c506f6f6c4f776e6572526f6c6560981b602082015290565b6040516368aebf7b60e01b815261012c600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b906024015b602060405180830381865af4158015610200573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906100c491906102c7565b6040516368aebf7b60e01b8152610190600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b906024016101e3565b60006020828403121561027257600080fd5b5035919050565b600060208083528351808285015260005b818110156102a65785810183015185820160400152820161028a565b506000604082860101526040601f19601f8301168501019250505092915050565b6000602082840312156102d957600080fd5b815167ffffffffffffffff811681146102f157600080fd5b939250505056fea2646970667358221220e7bd5463ab28f442b95b42b48309bcedcbdec489b9a5140eef138234436137d764736f6c63430008140033",
|
80
80
|
"linkReferences": {
|
81
81
|
"contracts/types/RoleId.sol": {
|
82
82
|
"RoleIdLib": [
|
83
83
|
{
|
84
84
|
"length": 20,
|
85
|
-
"start":
|
85
|
+
"start": 258
|
86
86
|
},
|
87
87
|
{
|
88
88
|
"length": 20,
|
89
|
-
"start":
|
89
|
+
"start": 485
|
90
90
|
},
|
91
91
|
{
|
92
92
|
"length": 20,
|
93
|
-
"start":
|
93
|
+
"start": 606
|
94
94
|
}
|
95
95
|
]
|
96
96
|
}
|
@@ -100,15 +100,15 @@
|
|
100
100
|
"RoleIdLib": [
|
101
101
|
{
|
102
102
|
"length": 20,
|
103
|
-
"start":
|
103
|
+
"start": 226
|
104
104
|
},
|
105
105
|
{
|
106
106
|
"length": 20,
|
107
|
-
"start":
|
107
|
+
"start": 453
|
108
108
|
},
|
109
109
|
{
|
110
110
|
"length": 20,
|
111
|
-
"start":
|
111
|
+
"start": 574
|
112
112
|
}
|
113
113
|
]
|
114
114
|
}
|