@etherisc/gif-next 0.0.2-d3ee0cc-268 → 0.0.2-d48ae55-246
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +314 -11
- package/artifacts/contracts/components/Component.sol/Component.dbg.json +4 -0
- package/artifacts/contracts/components/Component.sol/Component.json +897 -0
- package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +4 -0
- package/artifacts/contracts/components/Distribution.sol/Distribution.json +1433 -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} +292 -224
- package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +4 -0
- package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.json +950 -0
- package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +1 -1
- package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.json +614 -76
- package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +1 -1
- package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.json +594 -60
- package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +1 -1
- package/artifacts/contracts/components/Pool.sol/Pool.json +1138 -159
- package/artifacts/contracts/components/Product.sol/Product.dbg.json +1 -1
- package/artifacts/contracts/components/Product.sol/Product.json +1084 -99
- 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 +1539 -1018
- package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +4 -0
- package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +674 -0
- package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
- package/artifacts/contracts/instance/Instance.sol/Instance.json +2262 -1095
- 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 +1260 -0
- package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +4 -0
- package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +610 -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 +754 -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 +1117 -0
- package/artifacts/contracts/instance/service/BundleService.sol/BundleService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/BundleService.sol/BundleService.json +1318 -0
- package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.dbg.json +4 -0
- package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.json +586 -0
- package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +1200 -0
- package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +4 -0
- package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.json +614 -0
- package/artifacts/contracts/instance/service/IApplicationService.sol/IApplicationService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/IApplicationService.sol/IApplicationService.json +638 -0
- package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.json +798 -0
- package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.json +656 -0
- package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.json +784 -0
- package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.json +208 -72
- package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/IProductService.sol/IProductService.json +217 -145
- package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.json +1378 -0
- package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +4 -0
- package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.json +642 -0
- package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +570 -84
- package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.dbg.json +4 -0
- package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.json +574 -0
- package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +546 -212
- package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.dbg.json +4 -0
- package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.json +574 -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 +1055 -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 +1407 -0
- package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +4 -0
- package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +601 -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 +531 -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} +62 -72
- 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 +125 -32
- package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +4 -0
- package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.json +69 -0
- 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} +181 -111
- 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 +303 -0
- package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +4 -0
- package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +269 -0
- package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +4 -0
- package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +499 -0
- package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
- package/artifacts/contracts/shared/Registerable.sol/Registerable.json +318 -24
- package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +4 -0
- package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +105 -0
- package/artifacts/contracts/shared/Service.sol/Service.dbg.json +4 -0
- package/artifacts/contracts/shared/Service.sol/Service.json +627 -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 +333 -24
- package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +1 -1
- package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +44 -10
- package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +1 -1
- package/artifacts/contracts/test/TestService.sol/TestService.json +436 -56
- 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 +4 -0
- package/artifacts/contracts/types/RoleId.sol/RoleIdLib.json +156 -0
- package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +1 -1
- package/artifacts/contracts/types/StateId.sol/StateIdLib.json +2 -2
- package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +1 -1
- package/artifacts/contracts/types/Timestamp.sol/TimestampLib.json +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 +236 -0
- package/contracts/components/Distribution.sol +316 -0
- package/contracts/components/IComponent.sol +50 -0
- package/contracts/components/IDistributionComponent.sol +100 -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 +79 -45
- package/contracts/instance/IInstanceService.sol +59 -0
- package/contracts/instance/Instance.sol +266 -53
- package/contracts/instance/InstanceAccessManager.sol +297 -0
- package/contracts/instance/InstanceReader.sol +293 -0
- package/contracts/instance/InstanceService.sol +442 -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 +291 -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 +65 -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 +67 -0
- package/contracts/registry/ITransferInterceptor.sol +6 -0
- package/contracts/registry/Registry.sol +366 -283
- package/contracts/registry/RegistryAccessManager.sol +216 -0
- package/contracts/registry/RegistryService.sol +277 -0
- package/contracts/registry/RegistryServiceManager.sol +62 -0
- package/contracts/registry/ReleaseManager.sol +331 -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 +28 -0
- package/contracts/shared/IPolicyHolder.sol +26 -0
- package/contracts/shared/IRegisterable.sol +10 -19
- package/contracts/shared/IRegistryLinked.sol +15 -0
- package/contracts/shared/IService.sol +16 -0
- package/contracts/shared/IVersionable.sol +55 -11
- package/contracts/shared/NftOwnable.sol +190 -0
- package/contracts/shared/PolicyHolder.sol +81 -0
- package/contracts/shared/ProxyManager.sol +95 -0
- package/contracts/shared/Registerable.sol +58 -63
- package/contracts/shared/RegistryLinked.sol +64 -0
- 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 +2 -2
- 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 +65 -11
- 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/InstanceBase.sol/InstanceBase.json +0 -326
- 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 -491
- 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
|
+
},
|
64
|
+
{
|
65
|
+
"inputs": [],
|
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
|
+
},
|
22
123
|
{
|
23
124
|
"inputs": [],
|
24
|
-
"name": "
|
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,24 +234,37 @@
|
|
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
|
],
|
71
245
|
"stateMutability": "view",
|
72
246
|
"type": "function"
|
73
247
|
},
|
248
|
+
{
|
249
|
+
"inputs": [],
|
250
|
+
"name": "getOwner",
|
251
|
+
"outputs": [
|
252
|
+
{
|
253
|
+
"internalType": "address",
|
254
|
+
"name": "",
|
255
|
+
"type": "address"
|
256
|
+
}
|
257
|
+
],
|
258
|
+
"stateMutability": "view",
|
259
|
+
"type": "function"
|
260
|
+
},
|
74
261
|
{
|
75
262
|
"inputs": [],
|
76
263
|
"name": "getRegistry",
|
77
264
|
"outputs": [
|
78
265
|
{
|
79
266
|
"internalType": "contract IRegistry",
|
80
|
-
"name": "
|
267
|
+
"name": "",
|
81
268
|
"type": "address"
|
82
269
|
}
|
83
270
|
],
|
@@ -86,27 +273,123 @@
|
|
86
273
|
},
|
87
274
|
{
|
88
275
|
"inputs": [],
|
89
|
-
"name": "
|
276
|
+
"name": "getRegistryAddress",
|
90
277
|
"outputs": [
|
91
278
|
{
|
92
|
-
"internalType": "
|
279
|
+
"internalType": "address",
|
93
280
|
"name": "",
|
94
|
-
"type": "
|
281
|
+
"type": "address"
|
95
282
|
}
|
96
283
|
],
|
97
|
-
"stateMutability": "
|
284
|
+
"stateMutability": "view",
|
98
285
|
"type": "function"
|
99
286
|
},
|
100
287
|
{
|
101
288
|
"inputs": [],
|
102
|
-
"name": "
|
103
|
-
"outputs": [
|
289
|
+
"name": "initializeERC165",
|
290
|
+
"outputs": [],
|
291
|
+
"stateMutability": "nonpayable",
|
292
|
+
"type": "function"
|
293
|
+
},
|
294
|
+
{
|
295
|
+
"inputs": [
|
296
|
+
{
|
297
|
+
"internalType": "address",
|
298
|
+
"name": "initialOwner",
|
299
|
+
"type": "address"
|
300
|
+
},
|
301
|
+
{
|
302
|
+
"internalType": "address",
|
303
|
+
"name": "registryAddress",
|
304
|
+
"type": "address"
|
305
|
+
}
|
306
|
+
],
|
307
|
+
"name": "initializeNftOwnable",
|
308
|
+
"outputs": [],
|
309
|
+
"stateMutability": "nonpayable",
|
310
|
+
"type": "function"
|
311
|
+
},
|
312
|
+
{
|
313
|
+
"inputs": [
|
314
|
+
{
|
315
|
+
"internalType": "address",
|
316
|
+
"name": "initialOwner",
|
317
|
+
"type": "address"
|
318
|
+
}
|
319
|
+
],
|
320
|
+
"name": "initializeOwner",
|
321
|
+
"outputs": [],
|
322
|
+
"stateMutability": "nonpayable",
|
323
|
+
"type": "function"
|
324
|
+
},
|
325
|
+
{
|
326
|
+
"inputs": [
|
327
|
+
{
|
328
|
+
"internalType": "address",
|
329
|
+
"name": "registryAddress",
|
330
|
+
"type": "address"
|
331
|
+
},
|
104
332
|
{
|
105
333
|
"internalType": "NftId",
|
106
|
-
"name": "
|
334
|
+
"name": "parentNftId",
|
107
335
|
"type": "uint96"
|
336
|
+
},
|
337
|
+
{
|
338
|
+
"internalType": "ObjectType",
|
339
|
+
"name": "objectType",
|
340
|
+
"type": "uint8"
|
341
|
+
},
|
342
|
+
{
|
343
|
+
"internalType": "bool",
|
344
|
+
"name": "isInterceptor",
|
345
|
+
"type": "bool"
|
346
|
+
},
|
347
|
+
{
|
348
|
+
"internalType": "address",
|
349
|
+
"name": "initialOwner",
|
350
|
+
"type": "address"
|
351
|
+
},
|
352
|
+
{
|
353
|
+
"internalType": "bytes",
|
354
|
+
"name": "data",
|
355
|
+
"type": "bytes"
|
356
|
+
}
|
357
|
+
],
|
358
|
+
"name": "initializeRegisterable",
|
359
|
+
"outputs": [],
|
360
|
+
"stateMutability": "nonpayable",
|
361
|
+
"type": "function"
|
362
|
+
},
|
363
|
+
{
|
364
|
+
"inputs": [
|
365
|
+
{
|
366
|
+
"internalType": "address",
|
367
|
+
"name": "registryAddress",
|
368
|
+
"type": "address"
|
108
369
|
}
|
109
370
|
],
|
371
|
+
"name": "initializeRegistryLinked",
|
372
|
+
"outputs": [],
|
373
|
+
"stateMutability": "nonpayable",
|
374
|
+
"type": "function"
|
375
|
+
},
|
376
|
+
{
|
377
|
+
"inputs": [],
|
378
|
+
"name": "linkToRegisteredNftId",
|
379
|
+
"outputs": [],
|
380
|
+
"stateMutability": "nonpayable",
|
381
|
+
"type": "function"
|
382
|
+
},
|
383
|
+
{
|
384
|
+
"inputs": [
|
385
|
+
{
|
386
|
+
"internalType": "bytes4",
|
387
|
+
"name": "interfaceId",
|
388
|
+
"type": "bytes4"
|
389
|
+
}
|
390
|
+
],
|
391
|
+
"name": "registerInterface",
|
392
|
+
"outputs": [],
|
110
393
|
"stateMutability": "nonpayable",
|
111
394
|
"type": "function"
|
112
395
|
},
|
@@ -130,8 +413,34 @@
|
|
130
413
|
"type": "function"
|
131
414
|
}
|
132
415
|
],
|
133
|
-
"bytecode": "0x60e060405234801561001057600080fd5b506040516108b73803806108b783398101604081905261002f916102a3565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff1916600117905581816001600160a01b0382166100c85760405162461bcd60e51b815260206004820152601b60248201527f4552524f523a5247422d3031303a52454749535452595f5a45524f000000000060448201526064015b60405180910390fd5b6001600160a01b03821660808190526040516301ffc9a760e01b81526306ecd8ef60e01b60048201526301ffc9a790602401602060405180830381865afa158015610117573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061013b91906102f5565b6101875760405162461bcd60e51b815260206004820152601a60248201527f4552524f523a5247422d3031313a4e4f545f524547495354525900000000000060448201526064016100bf565b6001600160601b03811660a081905260805160405163e74d052f60e01b815260048101929092526001600160a01b03169063e74d052f90602401602060405180830381865afa1580156101de573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061020291906102f5565b61025a5760405162461bcd60e51b815260206004820152602360248201527f4552524f523a5247422d3031323a504152454e545f4e4f545f5245474953544560448201526214915160ea1b60648201526084016100bf565b3360c052631dfba64760e11b60009081526020527f95e5a2564f7af40498dc043c6da135e06324c5edb1f60c2bf4dcdf2da207fa45805460ff191660011790555050505061031e565b600080604083850312156102b657600080fd5b82516001600160a01b03811681146102cd57600080fd5b60208401519092506001600160601b03811681146102ea57600080fd5b809150509250929050565b60006020828403121561030757600080fd5b8151801515811461031757600080fd5b9392505050565b60805160a05160c05161054e610369600039600061038b01526000610100015260008181610140015281816102100152818161029d0152818161030e01526103ce015261054e6000f3fe608060405234801561001057600080fd5b50600436106100885760003560e01c80633bc5de301161005b5780633bc5de30146101245780635ab1bd531461013e578063644c45e014610178578063893d20e81461018057600080fd5b806301ffc9a71461008d57806315dae03e146100cf5780631aa3a008146100de57806331b62a3b146100fe575b600080fd5b6100ba61009b366004610447565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b604051601e81526020016100c6565b6100e661018d565b6040516001600160601b0390911681526020016100c6565b7f00000000000000000000000000000000000000000000000000000000000000006100e6565b604080516020810182526000815290516100c69190610478565b7f00000000000000000000000000000000000000000000000000000000000000005b6040516001600160a01b0390911681526020016100c6565b6100e6610285565b6101606102ec565b905090565b60006101976102ec565b6001600160a01b0316336001600160a01b0316146101fb5760405162461bcd60e51b815260206004820152601760248201527f4552524f523a5247422d3030313a4e4f545f4f574e4552000000000000000000604482015260640160405180910390fd5b604051632210724360e11b81523060048201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031690634420e486906024016020604051808303816000875af1158015610261573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061018891906104c6565b604051636939560f60e11b81523060048201526000907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063d272ac1e90602401602060405180830381865afa158015610261573d6000803e3d6000fd5b604051636939560f60e11b815230600482015260009081906001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063d272ac1e90602401602060405180830381865afa158015610355573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061037991906104c6565b90506001600160601b0381166103b0577f000000000000000000000000000000000000000000000000000000000000000091505090565b60405163df33330b60e01b81526001600160601b03821660048201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063df33330b90602401602060405180830381865afa15801561041d573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061044191906104ef565b91505090565b60006020828403121561045957600080fd5b81356001600160e01b03198116811461047157600080fd5b9392505050565b600060208083528351808285015260005b818110156104a557858101830151858201604001528201610489565b506000604082860101526040601f19601f8301168501019250505092915050565b6000602082840312156104d857600080fd5b81516001600160601b038116811461047157600080fd5b60006020828403121561050157600080fd5b81516001600160a01b038116811461047157600080fdfea2646970667358221220b71b6348c1749a1401959f56e3a037fc052c167e77c7cb746e4eb1a95f2261e964736f6c63430008140033",
|
134
|
-
"deployedBytecode": "
|
135
|
-
"linkReferences": {
|
136
|
-
|
416
|
+
"bytecode": "0x60806040523480156200001157600080fd5b506040516200177e3803806200177e833981016040819052620000349162000452565b604080516020810190915260008152620000538686868686866200005f565b5050505050506200066e565b6200006962000110565b62000075828762000161565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166001600160681b0319909116176c0100000000000000000000000060ff8816021760ff60681b19166d010000000000000000000000000086151502178155905060018101620000f483826200057d565b50620001076303fb044760e21b620001a1565b50505050505050565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a005468010000000000000000900460ff166200015f57604051631afcd79f60e31b815260040160405180910390fd5b565b6200016b62000110565b6200017682620001d0565b620001818162000253565b6200018b6200026b565b6200019d631fdea09d60e31b620001a1565b5050565b620001ab62000110565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b620001da62000110565b6001600160a01b03811662000202576040516352e2d0c160e01b815260040160405180910390fd5b7f07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f0080546001600160601b03166c010000000000000000000000006001600160a01b0390931692909202919091179055565b6200025d62000110565b6200026881620002b3565b50565b6200027562000110565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b6001546001600160a01b031615620002f25760015460405163fcdbf2d960e01b81526001600160a01b0390911660048201526024015b60405180910390fd5b6001600160a01b0381166200031a5760405163f5c4d07d60e01b815260040160405180910390fd5b806001600160a01b03163b600003620003525760405163fdeac91f60e01b81526001600160a01b0382166004820152602401620002e9565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b815263230c0c8160e11b60048201526301ffc9a790602401602060405180830381865afa925050508015620003cf575060408051601f3d908101601f19168201909252620003cc9181019062000649565b60015b620003f95760405163fdeac91f60e01b81526001600160a01b0382166004820152602401620002e9565b806200019d5760405163fdeac91f60e01b81526001600160a01b0383166004820152602401620002e9565b80516001600160a01b03811681146200043c57600080fd5b919050565b805180151581146200043c57600080fd5b600080600080600060a086880312156200046b57600080fd5b620004768662000424565b60208701519095506001600160601b03811681146200049457600080fd5b604087015190945060ff81168114620004ac57600080fd5b9250620004bc6060870162000441565b9150620004cc6080870162000424565b90509295509295909350565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200050357607f821691505b6020821081036200052457634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200057857600081815260208120601f850160051c81016020861015620005535750805b601f850160051c820191505b8181101562000574578281556001016200055f565b5050505b505050565b81516001600160401b03811115620005995762000599620004d8565b620005b181620005aa8454620004ee565b846200052a565b602080601f831160018114620005e95760008415620005d05750858301515b600019600386901b1c1916600185901b17855562000574565b600085815260208120601f198616915b828110156200061a57888601518255948401946001909101908401620005f9565b5085821015620006395787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6000602082840312156200065c57600080fd5b620006678262000441565b9392505050565b611100806200067e6000396000f3fe608060405234801561001057600080fd5b50600436106101005760003560e01c8063644c45e011610097578063ada9652e11610066578063ada9652e14610244578063f21de1e8146101c9578063f7c34ee014610259578063fb2cb1011461026c57600080fd5b8063644c45e0146101ee578063675393bf14610216578063893d20e8146102295780638c5f36bb1461023157600080fd5b8063214cdb80116100d3578063214cdb801461019b57806327bb7a33146101ae57806336fc697e146101c15780635ab1bd53146101c957600080fd5b806301ffc9a7146101055780630fec111c14610147578063138461e01461015c5780631eff4b2214610166575b600080fd5b610132610113366004610c55565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b61014f610274565b60405161013e9190610ccc565b610164610423565b005b61018d7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b60405190815260200161013e565b6101646101a9366004610c55565b610676565b6101646101bc366004610da5565b6106a3565b61016461073f565b6001546001600160a01b03165b6040516001600160a01b03909116815260200161013e565b6000805160206110ab833981519152546040516001600160601b03909116815260200161013e565b610164610224366004610eb8565b610785565b6101d6610799565b61016461023f366004610eb8565b6108d0565b61018d6000805160206110ab83398151915281565b610164610267366004610ed5565b6109f8565b6101d6610a2e565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820152907f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa3006040805160808101825282546001600160601b038116825260ff600160601b820481166020840152600160681b9091041615159181019190915260018201805491929160608401919061031f90610f0e565b80601f016020809104026020016040519081016040528092919081815260200182805461034b90610f0e565b80156103985780601f1061036d57610100808354040283529160200191610398565b820191906000526020600020905b81548152906001019060200180831161037b57829003601f168201915b50505050508152505090506040518060e001604052806103b6600090565b6001600160601b0316815260200182600001516001600160601b03168152602001826020015160ff168152602001826040015115158152602001306001600160a01b03168152602001610407610a2e565b6001600160a01b03168152602001826060015181525091505090565b60006000805160206110ab83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610492573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104b69190610f48565b156104f85760015481546040516316322c0f60e31b81526001600160a01b0390921660048301526001600160601b031660248201526044015b60405180910390fd5b600061050c6001546001600160a01b031690565b6001600160a01b0316036105335760405163cf29926160e01b815260040160405180910390fd5b306105466001546001600160a01b031690565b60405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa15801561058e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105b29190610f48565b6105da576040516372657a5160e01b81526001600160a01b03821660048201526024016104ef565b6001546001600160a01b0316604051636939560f60e11b81526001600160a01b038381166004830152919091169063d272ac1e90602401602060405180830381865afa15801561062e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106529190610f65565b82546bffffffffffffffffffffffff19166001600160601b03919091161790915550565b61067e610a44565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b6106ab610a44565b6106b582876109f8565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b861515021781559050600181016107258382610fcd565b506107366303fb044760e21b610676565b50505050505050565b610747610a44565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b61078d610a44565b61079681610a8f565b50565b6000806000805160206110ab83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610809573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061082d9190610f48565b156108ba576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015610890573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108b4919061108d565b91505090565b54600160601b90046001600160a01b0316919050565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b810460ff16159067ffffffffffffffff166000811580156109165750825b905060008267ffffffffffffffff1660011480156109335750303b155b905081158015610941575080155b1561095f5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561098957845460ff60401b1916600160401b1785555b61099286610bf0565b61099a61073f565b6109aa631fdea09d60e31b610676565b83156109f057845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b505050505050565b610a00610a44565b610a0982610bf0565b610a1281610785565b610a1a61073f565b610a2a631fdea09d60e31b610676565b5050565b60006000805160206110ab8339815191526108ba565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0054600160401b900460ff16610a8d57604051631afcd79f60e31b815260040160405180910390fd5b565b6001546001600160a01b031615610ac85760015460405163fcdbf2d960e01b81526001600160a01b0390911660048201526024016104ef565b6001600160a01b038116610aef5760405163f5c4d07d60e01b815260040160405180910390fd5b806001600160a01b03163b600003610b255760405163fdeac91f60e01b81526001600160a01b03821660048201526024016104ef565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b815263230c0c8160e11b60048201526301ffc9a790602401602060405180830381865afa925050508015610b9f575060408051601f3d908101601f19168201909252610b9c91810190610f48565b60015b610bc75760405163fdeac91f60e01b81526001600160a01b03821660048201526024016104ef565b80610a2a5760405163fdeac91f60e01b81526001600160a01b03831660048201526024016104ef565b610bf8610a44565b6001600160a01b038116610c1f576040516352e2d0c160e01b815260040160405180910390fd5b6000805160206110ab83398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b600060208284031215610c6757600080fd5b81356001600160e01b031981168114610c7f57600080fd5b9392505050565b6000815180845260005b81811015610cac57602081850181015186830182015201610c90565b506000602082860101526020601f19601f83011685010191505092915050565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260608301511515608083015260018060a01b0360808401511660a083015260a0830151610d3560c08401826001600160a01b03169052565b5060c083015160e080840152610d4f610100840182610c86565b949350505050565b6001600160a01b038116811461079657600080fd5b6001600160601b038116811461079657600080fd5b801515811461079657600080fd5b634e487b7160e01b600052604160045260246000fd5b60008060008060008060c08789031215610dbe57600080fd5b8635610dc981610d57565b95506020870135610dd981610d6c565b9450604087013560ff81168114610def57600080fd5b93506060870135610dff81610d81565b92506080870135610e0f81610d57565b915060a087013567ffffffffffffffff80821115610e2c57600080fd5b818901915089601f830112610e4057600080fd5b813581811115610e5257610e52610d8f565b604051601f8201601f19908116603f01168101908382118183101715610e7a57610e7a610d8f565b816040528281528c6020848701011115610e9357600080fd5b8260208601602083013760006020848301015280955050505050509295509295509295565b600060208284031215610eca57600080fd5b8135610c7f81610d57565b60008060408385031215610ee857600080fd5b8235610ef381610d57565b91506020830135610f0381610d57565b809150509250929050565b600181811c90821680610f2257607f821691505b602082108103610f4257634e487b7160e01b600052602260045260246000fd5b50919050565b600060208284031215610f5a57600080fd5b8151610c7f81610d81565b600060208284031215610f7757600080fd5b8151610c7f81610d6c565b601f821115610fc857600081815260208120601f850160051c81016020861015610fa95750805b601f850160051c820191505b818110156109f057828155600101610fb5565b505050565b815167ffffffffffffffff811115610fe757610fe7610d8f565b610ffb81610ff58454610f0e565b84610f82565b602080601f83116001811461103057600084156110185750858301515b600019600386901b1c1916600185901b1785556109f0565b600085815260208120601f198616915b8281101561105f57888601518255948401946001909101908401611040565b508582101561107d5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b60006020828403121561109f57600080fd5b8151610c7f81610d5756fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00a26469706673582212203e4d9dade3d47e066638cc564547b9f565b9cc98578a69ee4258717b241a306a64736f6c63430008140033",
|
417
|
+
"deployedBytecode": "0x608060405234801561001057600080fd5b50600436106101005760003560e01c8063644c45e011610097578063ada9652e11610066578063ada9652e14610244578063f21de1e8146101c9578063f7c34ee014610259578063fb2cb1011461026c57600080fd5b8063644c45e0146101ee578063675393bf14610216578063893d20e8146102295780638c5f36bb1461023157600080fd5b8063214cdb80116100d3578063214cdb801461019b57806327bb7a33146101ae57806336fc697e146101c15780635ab1bd53146101c957600080fd5b806301ffc9a7146101055780630fec111c14610147578063138461e01461015c5780631eff4b2214610166575b600080fd5b610132610113366004610c55565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b61014f610274565b60405161013e9190610ccc565b610164610423565b005b61018d7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b60405190815260200161013e565b6101646101a9366004610c55565b610676565b6101646101bc366004610da5565b6106a3565b61016461073f565b6001546001600160a01b03165b6040516001600160a01b03909116815260200161013e565b6000805160206110ab833981519152546040516001600160601b03909116815260200161013e565b610164610224366004610eb8565b610785565b6101d6610799565b61016461023f366004610eb8565b6108d0565b61018d6000805160206110ab83398151915281565b610164610267366004610ed5565b6109f8565b6101d6610a2e565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820152907f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa3006040805160808101825282546001600160601b038116825260ff600160601b820481166020840152600160681b9091041615159181019190915260018201805491929160608401919061031f90610f0e565b80601f016020809104026020016040519081016040528092919081815260200182805461034b90610f0e565b80156103985780601f1061036d57610100808354040283529160200191610398565b820191906000526020600020905b81548152906001019060200180831161037b57829003601f168201915b50505050508152505090506040518060e001604052806103b6600090565b6001600160601b0316815260200182600001516001600160601b03168152602001826020015160ff168152602001826040015115158152602001306001600160a01b03168152602001610407610a2e565b6001600160a01b03168152602001826060015181525091505090565b60006000805160206110ab83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610492573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104b69190610f48565b156104f85760015481546040516316322c0f60e31b81526001600160a01b0390921660048301526001600160601b031660248201526044015b60405180910390fd5b600061050c6001546001600160a01b031690565b6001600160a01b0316036105335760405163cf29926160e01b815260040160405180910390fd5b306105466001546001600160a01b031690565b60405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa15801561058e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105b29190610f48565b6105da576040516372657a5160e01b81526001600160a01b03821660048201526024016104ef565b6001546001600160a01b0316604051636939560f60e11b81526001600160a01b038381166004830152919091169063d272ac1e90602401602060405180830381865afa15801561062e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106529190610f65565b82546bffffffffffffffffffffffff19166001600160601b03919091161790915550565b61067e610a44565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b6106ab610a44565b6106b582876109f8565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b861515021781559050600181016107258382610fcd565b506107366303fb044760e21b610676565b50505050505050565b610747610a44565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b61078d610a44565b61079681610a8f565b50565b6000806000805160206110ab83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610809573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061082d9190610f48565b156108ba576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015610890573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108b4919061108d565b91505090565b54600160601b90046001600160a01b0316919050565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b810460ff16159067ffffffffffffffff166000811580156109165750825b905060008267ffffffffffffffff1660011480156109335750303b155b905081158015610941575080155b1561095f5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561098957845460ff60401b1916600160401b1785555b61099286610bf0565b61099a61073f565b6109aa631fdea09d60e31b610676565b83156109f057845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b505050505050565b610a00610a44565b610a0982610bf0565b610a1281610785565b610a1a61073f565b610a2a631fdea09d60e31b610676565b5050565b60006000805160206110ab8339815191526108ba565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0054600160401b900460ff16610a8d57604051631afcd79f60e31b815260040160405180910390fd5b565b6001546001600160a01b031615610ac85760015460405163fcdbf2d960e01b81526001600160a01b0390911660048201526024016104ef565b6001600160a01b038116610aef5760405163f5c4d07d60e01b815260040160405180910390fd5b806001600160a01b03163b600003610b255760405163fdeac91f60e01b81526001600160a01b03821660048201526024016104ef565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b815263230c0c8160e11b60048201526301ffc9a790602401602060405180830381865afa925050508015610b9f575060408051601f3d908101601f19168201909252610b9c91810190610f48565b60015b610bc75760405163fdeac91f60e01b81526001600160a01b03821660048201526024016104ef565b80610a2a5760405163fdeac91f60e01b81526001600160a01b03831660048201526024016104ef565b610bf8610a44565b6001600160a01b038116610c1f576040516352e2d0c160e01b815260040160405180910390fd5b6000805160206110ab83398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b600060208284031215610c6757600080fd5b81356001600160e01b031981168114610c7f57600080fd5b9392505050565b6000815180845260005b81811015610cac57602081850181015186830182015201610c90565b506000602082860101526020601f19601f83011685010191505092915050565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260608301511515608083015260018060a01b0360808401511660a083015260a0830151610d3560c08401826001600160a01b03169052565b5060c083015160e080840152610d4f610100840182610c86565b949350505050565b6001600160a01b038116811461079657600080fd5b6001600160601b038116811461079657600080fd5b801515811461079657600080fd5b634e487b7160e01b600052604160045260246000fd5b60008060008060008060c08789031215610dbe57600080fd5b8635610dc981610d57565b95506020870135610dd981610d6c565b9450604087013560ff81168114610def57600080fd5b93506060870135610dff81610d81565b92506080870135610e0f81610d57565b915060a087013567ffffffffffffffff80821115610e2c57600080fd5b818901915089601f830112610e4057600080fd5b813581811115610e5257610e52610d8f565b604051601f8201601f19908116603f01168101908382118183101715610e7a57610e7a610d8f565b816040528281528c6020848701011115610e9357600080fd5b8260208601602083013760006020848301015280955050505050509295509295509295565b600060208284031215610eca57600080fd5b8135610c7f81610d57565b60008060408385031215610ee857600080fd5b8235610ef381610d57565b91506020830135610f0381610d57565b809150509250929050565b600181811c90821680610f2257607f821691505b602082108103610f4257634e487b7160e01b600052602260045260246000fd5b50919050565b600060208284031215610f5a57600080fd5b8151610c7f81610d81565b600060208284031215610f7757600080fd5b8151610c7f81610d6c565b601f821115610fc857600081815260208120601f850160051c81016020861015610fa95750805b601f850160051c820191505b818110156109f057828155600101610fb5565b505050565b815167ffffffffffffffff811115610fe757610fe7610d8f565b610ffb81610ff58454610f0e565b84610f82565b602080601f83116001811461103057600084156110185750858301515b600019600386901b1c1916600185901b1785556109f0565b600085815260208120601f198616915b8281101561105f57888601518255948401946001909101908401611040565b508582101561107d5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b60006020828403121561109f57600080fd5b8151610c7f81610d5756fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00a26469706673582212203e4d9dade3d47e066638cc564547b9f565b9cc98578a69ee4258717b241a306a64736f6c63430008140033",
|
418
|
+
"linkReferences": {
|
419
|
+
"contracts/types/NftId.sol": {
|
420
|
+
"NftIdLib": [
|
421
|
+
{
|
422
|
+
"length": 20,
|
423
|
+
"start": 2774
|
424
|
+
},
|
425
|
+
{
|
426
|
+
"length": 20,
|
427
|
+
"start": 3661
|
428
|
+
}
|
429
|
+
]
|
430
|
+
}
|
431
|
+
},
|
432
|
+
"deployedLinkReferences": {
|
433
|
+
"contracts/types/NftId.sol": {
|
434
|
+
"NftIdLib": [
|
435
|
+
{
|
436
|
+
"length": 20,
|
437
|
+
"start": 1112
|
438
|
+
},
|
439
|
+
{
|
440
|
+
"length": 20,
|
441
|
+
"start": 1999
|
442
|
+
}
|
443
|
+
]
|
444
|
+
}
|
445
|
+
}
|
137
446
|
}
|
@@ -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,15 +68,49 @@
|
|
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": "
|
80
|
-
"linkReferences": {
|
81
|
-
|
78
|
+
"bytecode": "0x608060405234801561001057600080fd5b5061032e806100206000396000f3fe608060405234801561001057600080fd5b50600436106100575760003560e01c80631fa8a7301461005c5780635312fdc214610082578063775a404814610095578063b844f20e1461009d578063c4ce6e5b146100b2575b600080fd5b6100646100ba565b60405167ffffffffffffffff90911681526020015b60405180910390f35b610064610090366004610260565b6100c9565b610064610146565b6100a5610150565b6040516100799190610279565b6100a561017f565b60006100c46101ab565b905090565b6040516368aebf7b60e01b81526004810182905260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b90602401602060405180830381865af415801561011c573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061014091906102c7565b92915050565b60006100c4610224565b60606100c460408051808201909152601081526f50726f647563744f776e6572526f6c6560801b602082015290565b60606100c460408051808201909152600d81526c506f6f6c4f776e6572526f6c6560981b602082015290565b6040516368aebf7b60e01b815261012c600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b906024015b602060405180830381865af4158015610200573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906100c491906102c7565b6040516368aebf7b60e01b8152610190600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b906024016101e3565b60006020828403121561027257600080fd5b5035919050565b600060208083528351808285015260005b818110156102a65785810183015185820160400152820161028a565b506000604082860101526040601f19601f8301168501019250505092915050565b6000602082840312156102d957600080fd5b815167ffffffffffffffff811681146102f157600080fd5b939250505056fea2646970667358221220af0ef524e41cf8ea312fbd3d296f0708cace0ce316f3c487d861b6315c7ee8d164736f6c63430008140033",
|
79
|
+
"deployedBytecode": "0x608060405234801561001057600080fd5b50600436106100575760003560e01c80631fa8a7301461005c5780635312fdc214610082578063775a404814610095578063b844f20e1461009d578063c4ce6e5b146100b2575b600080fd5b6100646100ba565b60405167ffffffffffffffff90911681526020015b60405180910390f35b610064610090366004610260565b6100c9565b610064610146565b6100a5610150565b6040516100799190610279565b6100a561017f565b60006100c46101ab565b905090565b6040516368aebf7b60e01b81526004810182905260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b90602401602060405180830381865af415801561011c573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061014091906102c7565b92915050565b60006100c4610224565b60606100c460408051808201909152601081526f50726f647563744f776e6572526f6c6560801b602082015290565b60606100c460408051808201909152600d81526c506f6f6c4f776e6572526f6c6560981b602082015290565b6040516368aebf7b60e01b815261012c600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b906024015b602060405180830381865af4158015610200573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906100c491906102c7565b6040516368aebf7b60e01b8152610190600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b906024016101e3565b60006020828403121561027257600080fd5b5035919050565b600060208083528351808285015260005b818110156102a65785810183015185820160400152820161028a565b506000604082860101526040601f19601f8301168501019250505092915050565b6000602082840312156102d957600080fd5b815167ffffffffffffffff811681146102f157600080fd5b939250505056fea2646970667358221220af0ef524e41cf8ea312fbd3d296f0708cace0ce316f3c487d861b6315c7ee8d164736f6c63430008140033",
|
80
|
+
"linkReferences": {
|
81
|
+
"contracts/types/RoleId.sol": {
|
82
|
+
"RoleIdLib": [
|
83
|
+
{
|
84
|
+
"length": 20,
|
85
|
+
"start": 258
|
86
|
+
},
|
87
|
+
{
|
88
|
+
"length": 20,
|
89
|
+
"start": 485
|
90
|
+
},
|
91
|
+
{
|
92
|
+
"length": 20,
|
93
|
+
"start": 606
|
94
|
+
}
|
95
|
+
]
|
96
|
+
}
|
97
|
+
},
|
98
|
+
"deployedLinkReferences": {
|
99
|
+
"contracts/types/RoleId.sol": {
|
100
|
+
"RoleIdLib": [
|
101
|
+
{
|
102
|
+
"length": 20,
|
103
|
+
"start": 226
|
104
|
+
},
|
105
|
+
{
|
106
|
+
"length": 20,
|
107
|
+
"start": 453
|
108
|
+
},
|
109
|
+
{
|
110
|
+
"length": 20,
|
111
|
+
"start": 574
|
112
|
+
}
|
113
|
+
]
|
114
|
+
}
|
115
|
+
}
|
82
116
|
}
|