@etherisc/gif-next 0.0.2-ce8407f-016 → 0.0.2-ceb30b2-601
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +178 -14
- package/artifacts/contracts/components/Component.sol/Component.dbg.json +4 -0
- package/artifacts/contracts/components/Component.sol/Component.json +829 -0
- package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +4 -0
- package/artifacts/contracts/components/Distribution.sol/Distribution.json +1332 -0
- package/artifacts/contracts/components/IComponent.sol/IComponent.dbg.json +4 -0
- package/artifacts/contracts/components/IComponent.sol/IComponent.json +592 -0
- package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +4 -0
- package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.json +956 -0
- package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +4 -0
- package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.json +1051 -0
- package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +4 -0
- package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.json +817 -0
- package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +4 -0
- package/artifacts/contracts/components/Pool.sol/Pool.json +1363 -0
- package/artifacts/contracts/components/Product.sol/Product.dbg.json +4 -0
- package/artifacts/contracts/components/Product.sol/Product.json +1154 -0
- package/artifacts/contracts/instance/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.dbg.json +4 -0
- package/artifacts/contracts/instance/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.json +1206 -0
- package/artifacts/contracts/instance/BundleManager.sol/BundleManager.dbg.json +4 -0
- package/artifacts/contracts/instance/BundleManager.sol/BundleManager.json +778 -0
- package/artifacts/contracts/instance/Cloneable.sol/Cloneable.dbg.json +4 -0
- package/artifacts/contracts/instance/{AccessManagedSimple.sol/AccessManagedSimple.json → Cloneable.sol/Cloneable.json} +91 -2
- package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
- package/artifacts/contracts/instance/IInstance.sol/IInstance.json +2719 -1
- package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +4 -0
- package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +600 -0
- package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
- package/artifacts/contracts/instance/Instance.sol/Instance.json +1220 -1347
- package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +593 -180
- package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +586 -56
- package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +1014 -32
- package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +4 -0
- package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +724 -0
- package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.dbg.json +4 -0
- package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.json +256 -0
- package/artifacts/contracts/instance/base/ComponentService.sol/ComponentService.dbg.json +4 -0
- package/artifacts/contracts/instance/base/ComponentService.sol/ComponentService.json +631 -0
- package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +1 -1
- package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.json +0 -77
- 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 +40 -244
- package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +1 -1
- package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +36 -11
- package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +1 -1
- package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +71 -45
- package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +1 -1
- package/artifacts/contracts/instance/module/IComponents.sol/IComponents.dbg.json +4 -0
- package/artifacts/contracts/instance/module/IComponents.sol/IComponents.json +10 -0
- package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +1 -1
- package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +1 -1
- package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +1 -1
- package/artifacts/contracts/instance/module/ISetup.sol/ISetup.dbg.json +1 -1
- package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.dbg.json +1 -1
- package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.json +1092 -0
- package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +4 -0
- package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.json +672 -0
- package/artifacts/contracts/instance/service/BundleService.sol/BundleService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/BundleService.sol/BundleService.json +1313 -0
- package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.dbg.json +4 -0
- package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.json +712 -0
- package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.json +1316 -0
- package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +4 -0
- package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.json +724 -0
- package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +1798 -0
- package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +4 -0
- package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.json +780 -0
- package/artifacts/contracts/instance/service/IApplicationService.sol/IApplicationService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/IApplicationService.sol/IApplicationService.json +619 -0
- package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.json +701 -0
- package/artifacts/contracts/instance/service/IClaimService.sol/IClaimService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/IClaimService.sol/IClaimService.json +731 -0
- package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.json +1082 -0
- package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.json +651 -0
- package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.json +1077 -0
- package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +4 -0
- package/artifacts/contracts/instance/{base/IService.sol/IService.json → service/IProductService.sol/IProductService.json} +178 -157
- package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.json +1153 -0
- package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +4 -0
- package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.json +676 -0
- package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +1598 -0
- package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.dbg.json +4 -0
- package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.json +696 -0
- package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +864 -0
- package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.dbg.json +4 -0
- package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.json +640 -0
- package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
- package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +60 -2
- package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
- package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +255 -63
- package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
- package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +309 -196
- package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
- package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.json +18 -0
- package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
- package/artifacts/contracts/registry/Registry.sol/Registry.json +229 -212
- 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 +1 -1
- package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +421 -284
- package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
- package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +310 -129
- package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.dbg.json +4 -0
- package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.json +559 -0
- package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +4 -0
- package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +485 -0
- package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.dbg.json +1 -1
- 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 +1 -1
- package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +27 -29
- package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +4 -0
- package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.json +165 -0
- package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
- package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +8 -34
- package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +4 -0
- package/artifacts/contracts/{experiment/inheritance/IA.sol/ISharedA.json → shared/IRegistryLinked.sol/IRegistryLinked.json} +15 -17
- package/artifacts/contracts/shared/IService.sol/IService.dbg.json +4 -0
- package/artifacts/contracts/{components/IBaseComponent.sol/IBaseComponent.json → shared/IService.sol/IService.json} +115 -29
- package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +1 -1
- package/artifacts/contracts/shared/IVersionable.sol/IVersionable.json +2 -152
- package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
- package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +107 -27
- package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +4 -0
- package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +271 -0
- package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +1 -1
- package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +283 -63
- package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
- package/artifacts/contracts/shared/Registerable.sol/Registerable.json +116 -51
- package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +4 -0
- package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +71 -0
- package/artifacts/contracts/shared/Service.sol/Service.dbg.json +4 -0
- package/artifacts/contracts/{instance/base/ServiceBase.sol/ServiceBase.json → shared/Service.sol/Service.json} +187 -167
- package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
- package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +2 -2
- package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +1 -1
- package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +2 -2
- package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +1 -1
- package/artifacts/contracts/shared/Versionable.sol/Versionable.json +2 -152
- 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 +116 -51
- package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +1 -1
- package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +111 -5
- package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +1 -1
- package/artifacts/contracts/test/TestService.sol/TestService.json +204 -216
- 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 +8 -190
- 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/Amount.sol/AmountLib.dbg.json +4 -0
- package/artifacts/contracts/types/Amount.sol/AmountLib.json +209 -0
- package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +1 -1
- package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.json +2 -2
- package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +1 -1
- package/artifacts/contracts/types/ClaimId.sol/ClaimIdLib.dbg.json +4 -0
- package/artifacts/contracts/types/ClaimId.sol/ClaimIdLib.json +179 -0
- package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.dbg.json +1 -1
- package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.json +2 -2
- package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +1 -1
- package/artifacts/contracts/types/Fee.sol/FeeLib.json +42 -11
- package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +1 -1
- package/artifacts/contracts/types/Key32.sol/Key32Lib.json +2 -2
- package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +1 -1
- package/artifacts/contracts/types/NftId.sol/NftIdLib.json +17 -4
- 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 +1 -1
- package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +1 -1
- package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.json +2 -2
- package/artifacts/contracts/types/PayoutId.sol/PayoutIdLib.dbg.json +4 -0
- package/artifacts/contracts/types/PayoutId.sol/PayoutIdLib.json +209 -0
- package/artifacts/contracts/types/Referral.sol/ReferralLib.dbg.json +1 -1
- package/artifacts/contracts/types/Referral.sol/ReferralLib.json +23 -4
- package/artifacts/contracts/types/RiskId.sol/RiskIdLib.dbg.json +1 -1
- package/artifacts/contracts/types/RiskId.sol/RiskIdLib.json +2 -2
- package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +1 -1
- package/artifacts/contracts/types/RoleId.sol/RoleIdLib.json +2 -2
- package/artifacts/contracts/types/Seconds.sol/SecondsLib.dbg.json +4 -0
- package/artifacts/contracts/types/Seconds.sol/SecondsLib.json +124 -0
- package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +1 -1
- package/artifacts/contracts/types/StateId.sol/StateIdLib.json +2 -2
- package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +1 -1
- package/artifacts/contracts/types/Timestamp.sol/TimestampLib.json +38 -7
- package/artifacts/contracts/types/UFixed.sol/MathLib.dbg.json +4 -0
- package/artifacts/contracts/{experiment/types/TypeB.sol/TypeBLib.json → types/UFixed.sol/MathLib.json} +4 -4
- package/artifacts/contracts/types/UFixed.sol/UFixedLib.dbg.json +4 -0
- package/artifacts/contracts/types/UFixed.sol/{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 +2 -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 +253 -0
- package/contracts/components/Distribution.sol +284 -0
- package/contracts/components/IComponent.sol +76 -0
- package/contracts/components/IDistributionComponent.sol +71 -0
- package/contracts/components/IPoolComponent.sol +113 -0
- package/contracts/components/IProductComponent.sol +40 -0
- package/contracts/components/Pool.sol +302 -0
- package/contracts/components/Product.sol +371 -0
- package/contracts/instance/AccessManagerUpgradeableInitializeable.sol +13 -0
- package/contracts/instance/BundleManager.sol +126 -0
- package/contracts/instance/Cloneable.sol +51 -0
- package/contracts/instance/IInstance.sol +99 -1
- package/contracts/instance/IInstanceService.sol +63 -0
- package/contracts/instance/Instance.sol +169 -243
- package/contracts/instance/InstanceAccessManager.sol +417 -178
- package/contracts/instance/InstanceReader.sol +116 -34
- package/contracts/instance/InstanceService.sol +462 -23
- package/contracts/instance/InstanceServiceManager.sol +54 -0
- package/contracts/instance/ObjectManager.sol +82 -0
- package/contracts/instance/base/ComponentService.sol +130 -0
- package/contracts/instance/base/IKeyValueStore.sol +5 -4
- package/contracts/instance/base/KeyValueStore.sol +13 -52
- package/contracts/instance/base/Lifecycle.sol +23 -6
- package/contracts/instance/module/IAccess.sol +37 -21
- package/contracts/instance/module/IBundle.sol +8 -4
- package/contracts/instance/module/IComponents.sol +41 -0
- package/contracts/instance/module/IDistribution.sol +2 -0
- package/contracts/instance/module/IPolicy.sol +42 -9
- package/contracts/instance/module/ISetup.sol +10 -18
- package/contracts/instance/module/ITreasury.sol +1 -1
- package/contracts/instance/service/ApplicationService.sol +356 -0
- package/contracts/instance/service/ApplicationServiceManager.sol +35 -0
- package/contracts/instance/service/BundleService.sol +443 -0
- package/contracts/instance/service/BundleServiceManager.sol +51 -0
- package/contracts/instance/service/ClaimService.sol +361 -0
- package/contracts/instance/service/ClaimServiceManager.sol +35 -0
- package/contracts/instance/service/DistributionService.sol +431 -0
- package/contracts/instance/service/DistributionServiceManager.sol +51 -0
- package/contracts/instance/service/IApplicationService.sol +78 -0
- package/contracts/instance/service/IBundleService.sol +102 -0
- package/contracts/instance/service/IClaimService.sol +90 -0
- package/contracts/instance/service/IDistributionService.sol +99 -0
- package/contracts/instance/service/IPolicyService.sol +80 -0
- package/contracts/instance/service/IPoolService.sol +144 -0
- package/contracts/instance/service/IProductService.sol +40 -0
- package/contracts/instance/service/PolicyService.sol +358 -0
- package/contracts/instance/service/PolicyServiceManager.sol +54 -0
- package/contracts/instance/service/PoolService.sol +349 -0
- package/contracts/instance/service/PoolServiceManager.sol +51 -0
- package/contracts/instance/service/ProductService.sol +210 -0
- package/contracts/instance/service/ProductServiceManager.sol +54 -0
- package/contracts/registry/ChainNft.sol +49 -26
- package/contracts/registry/IRegistry.sol +53 -25
- package/contracts/registry/IRegistryService.sol +53 -16
- package/contracts/registry/ITransferInterceptor.sol +1 -0
- package/contracts/registry/Registry.sol +289 -313
- package/contracts/registry/RegistryAccessManager.sol +216 -0
- package/contracts/registry/RegistryService.sol +169 -256
- package/contracts/registry/RegistryServiceManager.sol +30 -11
- package/contracts/registry/ReleaseManager.sol +324 -0
- package/contracts/registry/TokenRegistry.sol +116 -0
- package/contracts/shared/ERC165.sol +15 -9
- package/contracts/shared/INftOwnable.sol +11 -10
- package/contracts/shared/IPolicyHolder.sol +38 -0
- package/contracts/shared/IRegisterable.sol +4 -6
- package/contracts/shared/IRegistryLinked.sol +11 -0
- package/contracts/shared/IService.sol +18 -0
- package/contracts/shared/IVersionable.sol +4 -47
- package/contracts/shared/NftOwnable.sol +65 -83
- package/contracts/shared/PolicyHolder.sol +87 -0
- package/contracts/shared/ProxyManager.sol +101 -26
- package/contracts/shared/Registerable.sol +25 -39
- package/contracts/shared/RegistryLinked.sol +43 -0
- package/contracts/shared/Service.sol +72 -0
- package/contracts/shared/TokenHandler.sol +13 -7
- package/contracts/shared/UpgradableProxyWithAdmin.sol +2 -2
- package/contracts/shared/Versionable.sol +5 -93
- package/contracts/test/TestFee.sol +2 -2
- package/contracts/test/TestRegisterable.sol +1 -1
- package/contracts/test/TestRoleId.sol +6 -6
- package/contracts/test/TestService.sol +6 -7
- package/contracts/types/Amount.sol +70 -0
- package/contracts/types/Blocknumber.sol +1 -0
- package/contracts/types/ClaimId.sol +75 -0
- package/contracts/types/DistributorType.sol +2 -2
- package/contracts/types/Fee.sol +15 -7
- package/contracts/types/NftId.sol +8 -0
- package/contracts/types/NftIdSet.sol +26 -24
- package/contracts/types/ObjectType.sol +11 -6
- package/contracts/types/PayoutId.sol +82 -0
- package/contracts/types/Referral.sol +4 -0
- package/contracts/types/RoleId.sol +26 -4
- package/contracts/types/Seconds.sol +54 -0
- package/contracts/types/StateId.sol +11 -2
- package/contracts/types/Timestamp.sol +18 -13
- package/contracts/types/UFixed.sol +129 -12
- package/contracts/types/Version.sol +5 -1
- package/package.json +6 -5
- package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.dbg.json +0 -4
- package/artifacts/contracts/experiment/errors/Require.sol/Require.dbg.json +0 -4
- package/artifacts/contracts/experiment/errors/Require.sol/Require.json +0 -105
- package/artifacts/contracts/experiment/errors/Revert.sol/Revert.dbg.json +0 -4
- package/artifacts/contracts/experiment/errors/Revert.sol/Revert.json +0 -105
- package/artifacts/contracts/experiment/inheritance/A.sol/A.dbg.json +0 -4
- package/artifacts/contracts/experiment/inheritance/A.sol/A.json +0 -128
- package/artifacts/contracts/experiment/inheritance/A.sol/AShared.dbg.json +0 -4
- package/artifacts/contracts/experiment/inheritance/A.sol/AShared.json +0 -42
- package/artifacts/contracts/experiment/inheritance/B.sol/B.dbg.json +0 -4
- package/artifacts/contracts/experiment/inheritance/B.sol/B.json +0 -76
- package/artifacts/contracts/experiment/inheritance/C.sol/C.dbg.json +0 -4
- package/artifacts/contracts/experiment/inheritance/C.sol/C.json +0 -89
- package/artifacts/contracts/experiment/inheritance/IA.sol/IA.dbg.json +0 -4
- package/artifacts/contracts/experiment/inheritance/IA.sol/IA.json +0 -128
- package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.dbg.json +0 -4
- package/artifacts/contracts/experiment/inheritance/IB.sol/IB.dbg.json +0 -4
- package/artifacts/contracts/experiment/inheritance/IB.sol/IB.json +0 -50
- package/artifacts/contracts/experiment/inheritance/IC.sol/IC.dbg.json +0 -4
- package/artifacts/contracts/experiment/inheritance/IC.sol/IC.json +0 -63
- package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.dbg.json +0 -4
- package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.json +0 -59
- package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.dbg.json +0 -4
- package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.json +0 -124
- package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.dbg.json +0 -4
- package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.json +0 -74
- package/artifacts/contracts/experiment/statemachine/SM.sol/SM.dbg.json +0 -4
- package/artifacts/contracts/experiment/statemachine/SM.sol/SM.json +0 -124
- package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.dbg.json +0 -4
- package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.json +0 -207
- package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.dbg.json +0 -4
- package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.json +0 -10
- package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.dbg.json +0 -4
- package/artifacts/contracts/instance/AccessManagedSimple.sol/AccessManagedSimple.dbg.json +0 -4
- package/artifacts/contracts/instance/AccessManagerSimple.sol/AccessManagerSimple.dbg.json +0 -4
- package/artifacts/contracts/instance/AccessManagerSimple.sol/AccessManagerSimple.json +0 -1119
- package/artifacts/contracts/instance/IAccessManagerSimple.sol/IAccessManagerSimple.dbg.json +0 -4
- package/artifacts/contracts/instance/IAccessManagerSimple.sol/IAccessManagerSimple.json +0 -1082
- package/artifacts/contracts/instance/base/IService.sol/IService.dbg.json +0 -4
- package/artifacts/contracts/instance/base/ServiceBase.sol/ServiceBase.dbg.json +0 -4
- package/artifacts/contracts/registry/IChainNft.sol/IChainNft.dbg.json +0 -4
- package/artifacts/contracts/registry/IChainNft.sol/IChainNft.json +0 -457
- package/artifacts/contracts/types/UFixed.sol/UFixedMathLib.dbg.json +0 -4
- package/contracts/components/IBaseComponent.sol +0 -19
- package/contracts/experiment/errors/Require.sol +0 -38
- package/contracts/experiment/errors/Revert.sol +0 -44
- package/contracts/experiment/inheritance/A.sol +0 -53
- package/contracts/experiment/inheritance/B.sol +0 -28
- package/contracts/experiment/inheritance/C.sol +0 -34
- package/contracts/experiment/inheritance/IA.sol +0 -13
- package/contracts/experiment/inheritance/IB.sol +0 -10
- package/contracts/experiment/inheritance/IC.sol +0 -12
- package/contracts/experiment/statemachine/Dummy.sol +0 -27
- package/contracts/experiment/statemachine/ISM.sol +0 -25
- package/contracts/experiment/statemachine/SM.sol +0 -57
- package/contracts/experiment/statemachine/SimpleStateMachine.sol +0 -31
- package/contracts/experiment/types/TypeA.sol +0 -47
- package/contracts/experiment/types/TypeB.sol +0 -29
- package/contracts/instance/AccessManagedSimple.sol +0 -114
- package/contracts/instance/AccessManagerSimple.sol +0 -682
- package/contracts/instance/IAccessManagerSimple.sol +0 -391
- package/contracts/instance/base/IService.sol +0 -15
- package/contracts/instance/base/ServiceBase.sol +0 -44
- package/contracts/registry/IChainNft.sol +0 -22
@@ -7,16 +7,49 @@
|
|
7
7
|
"inputs": [
|
8
8
|
{
|
9
9
|
"internalType": "address",
|
10
|
-
"name": "
|
10
|
+
"name": "authority",
|
11
|
+
"type": "address"
|
12
|
+
}
|
13
|
+
],
|
14
|
+
"name": "AccessManagedInvalidAuthority",
|
15
|
+
"type": "error"
|
16
|
+
},
|
17
|
+
{
|
18
|
+
"inputs": [
|
19
|
+
{
|
20
|
+
"internalType": "address",
|
21
|
+
"name": "caller",
|
11
22
|
"type": "address"
|
12
23
|
},
|
24
|
+
{
|
25
|
+
"internalType": "uint32",
|
26
|
+
"name": "delay",
|
27
|
+
"type": "uint32"
|
28
|
+
}
|
29
|
+
],
|
30
|
+
"name": "AccessManagedRequiredDelay",
|
31
|
+
"type": "error"
|
32
|
+
},
|
33
|
+
{
|
34
|
+
"inputs": [
|
35
|
+
{
|
36
|
+
"internalType": "address",
|
37
|
+
"name": "caller",
|
38
|
+
"type": "address"
|
39
|
+
}
|
40
|
+
],
|
41
|
+
"name": "AccessManagedUnauthorized",
|
42
|
+
"type": "error"
|
43
|
+
},
|
44
|
+
{
|
45
|
+
"inputs": [
|
13
46
|
{
|
14
47
|
"internalType": "NftId",
|
15
48
|
"name": "nftId",
|
16
49
|
"type": "uint96"
|
17
50
|
}
|
18
51
|
],
|
19
|
-
"name": "
|
52
|
+
"name": "ErrorNftOwnableAlreadyLinked",
|
20
53
|
"type": "error"
|
21
54
|
},
|
22
55
|
{
|
@@ -27,7 +60,12 @@
|
|
27
60
|
"type": "address"
|
28
61
|
}
|
29
62
|
],
|
30
|
-
"name": "
|
63
|
+
"name": "ErrorNftOwnableContractNotRegistered",
|
64
|
+
"type": "error"
|
65
|
+
},
|
66
|
+
{
|
67
|
+
"inputs": [],
|
68
|
+
"name": "ErrorNftOwnableInitialOwnerZero",
|
31
69
|
"type": "error"
|
32
70
|
},
|
33
71
|
{
|
@@ -38,7 +76,7 @@
|
|
38
76
|
"type": "address"
|
39
77
|
}
|
40
78
|
],
|
41
|
-
"name": "
|
79
|
+
"name": "ErrorNftOwnableNotOwner",
|
42
80
|
"type": "error"
|
43
81
|
},
|
44
82
|
{
|
@@ -54,50 +92,167 @@
|
|
54
92
|
},
|
55
93
|
{
|
56
94
|
"inputs": [],
|
57
|
-
"name": "
|
95
|
+
"name": "ErrorServiceNotImplemented",
|
96
|
+
"type": "error"
|
97
|
+
},
|
98
|
+
{
|
99
|
+
"inputs": [
|
100
|
+
{
|
101
|
+
"internalType": "address",
|
102
|
+
"name": "registerableAddress",
|
103
|
+
"type": "address"
|
104
|
+
}
|
105
|
+
],
|
106
|
+
"name": "InvalidAddress",
|
58
107
|
"type": "error"
|
59
108
|
},
|
60
109
|
{
|
61
110
|
"inputs": [
|
62
111
|
{
|
63
112
|
"internalType": "address",
|
64
|
-
"name": "
|
113
|
+
"name": "initialOwner",
|
65
114
|
"type": "address"
|
66
115
|
}
|
67
116
|
],
|
68
|
-
"name": "
|
117
|
+
"name": "InvalidInitialOwner",
|
69
118
|
"type": "error"
|
70
119
|
},
|
71
120
|
{
|
72
121
|
"inputs": [],
|
73
|
-
"name": "
|
122
|
+
"name": "NotDistribution",
|
123
|
+
"type": "error"
|
124
|
+
},
|
125
|
+
{
|
126
|
+
"inputs": [],
|
127
|
+
"name": "NotInstance",
|
128
|
+
"type": "error"
|
129
|
+
},
|
130
|
+
{
|
131
|
+
"inputs": [],
|
132
|
+
"name": "NotPool",
|
133
|
+
"type": "error"
|
134
|
+
},
|
135
|
+
{
|
136
|
+
"inputs": [],
|
137
|
+
"name": "NotProduct",
|
74
138
|
"type": "error"
|
75
139
|
},
|
76
140
|
{
|
77
|
-
"anonymous": false,
|
78
141
|
"inputs": [
|
79
142
|
{
|
80
|
-
"indexed": false,
|
81
|
-
"internalType": "Version",
|
82
|
-
"name": "version",
|
83
|
-
"type": "uint24"
|
84
|
-
},
|
85
|
-
{
|
86
|
-
"indexed": false,
|
87
143
|
"internalType": "address",
|
88
|
-
"name": "
|
144
|
+
"name": "expectedOwner",
|
89
145
|
"type": "address"
|
146
|
+
}
|
147
|
+
],
|
148
|
+
"name": "NotRegisterableOwner",
|
149
|
+
"type": "error"
|
150
|
+
},
|
151
|
+
{
|
152
|
+
"inputs": [],
|
153
|
+
"name": "NotRegistryOwner",
|
154
|
+
"type": "error"
|
155
|
+
},
|
156
|
+
{
|
157
|
+
"inputs": [],
|
158
|
+
"name": "NotService",
|
159
|
+
"type": "error"
|
160
|
+
},
|
161
|
+
{
|
162
|
+
"inputs": [],
|
163
|
+
"name": "RegisterableOwnerIsRegistered",
|
164
|
+
"type": "error"
|
165
|
+
},
|
166
|
+
{
|
167
|
+
"inputs": [],
|
168
|
+
"name": "RegisterableOwnerIsZero",
|
169
|
+
"type": "error"
|
170
|
+
},
|
171
|
+
{
|
172
|
+
"inputs": [],
|
173
|
+
"name": "SelfRegistration",
|
174
|
+
"type": "error"
|
175
|
+
},
|
176
|
+
{
|
177
|
+
"inputs": [
|
178
|
+
{
|
179
|
+
"internalType": "ObjectType",
|
180
|
+
"name": "expected",
|
181
|
+
"type": "uint8"
|
90
182
|
},
|
183
|
+
{
|
184
|
+
"internalType": "ObjectType",
|
185
|
+
"name": "found",
|
186
|
+
"type": "uint8"
|
187
|
+
}
|
188
|
+
],
|
189
|
+
"name": "UnexpectedRegisterableType",
|
190
|
+
"type": "error"
|
191
|
+
},
|
192
|
+
{
|
193
|
+
"anonymous": false,
|
194
|
+
"inputs": [
|
91
195
|
{
|
92
196
|
"indexed": false,
|
93
197
|
"internalType": "address",
|
94
|
-
"name": "
|
198
|
+
"name": "authority",
|
95
199
|
"type": "address"
|
96
200
|
}
|
97
201
|
],
|
98
|
-
"name": "
|
202
|
+
"name": "AuthorityUpdated",
|
99
203
|
"type": "event"
|
100
204
|
},
|
205
|
+
{
|
206
|
+
"inputs": [],
|
207
|
+
"name": "authority",
|
208
|
+
"outputs": [
|
209
|
+
{
|
210
|
+
"internalType": "address",
|
211
|
+
"name": "",
|
212
|
+
"type": "address"
|
213
|
+
}
|
214
|
+
],
|
215
|
+
"stateMutability": "view",
|
216
|
+
"type": "function"
|
217
|
+
},
|
218
|
+
{
|
219
|
+
"inputs": [],
|
220
|
+
"name": "getDomain",
|
221
|
+
"outputs": [
|
222
|
+
{
|
223
|
+
"internalType": "ObjectType",
|
224
|
+
"name": "serviceDomain",
|
225
|
+
"type": "uint8"
|
226
|
+
}
|
227
|
+
],
|
228
|
+
"stateMutability": "pure",
|
229
|
+
"type": "function"
|
230
|
+
},
|
231
|
+
{
|
232
|
+
"inputs": [],
|
233
|
+
"name": "getFunctionConfigs",
|
234
|
+
"outputs": [
|
235
|
+
{
|
236
|
+
"components": [
|
237
|
+
{
|
238
|
+
"internalType": "ObjectType",
|
239
|
+
"name": "serviceDomain",
|
240
|
+
"type": "uint8"
|
241
|
+
},
|
242
|
+
{
|
243
|
+
"internalType": "bytes4[]",
|
244
|
+
"name": "selectors",
|
245
|
+
"type": "bytes4[]"
|
246
|
+
}
|
247
|
+
],
|
248
|
+
"internalType": "struct IRegistryService.FunctionConfig[]",
|
249
|
+
"name": "config",
|
250
|
+
"type": "tuple[]"
|
251
|
+
}
|
252
|
+
],
|
253
|
+
"stateMutability": "pure",
|
254
|
+
"type": "function"
|
255
|
+
},
|
101
256
|
{
|
102
257
|
"inputs": [],
|
103
258
|
"name": "getInitialInfo",
|
@@ -143,55 +298,11 @@
|
|
143
298
|
"internalType": "struct IRegistry.ObjectInfo",
|
144
299
|
"name": "",
|
145
300
|
"type": "tuple"
|
146
|
-
},
|
147
|
-
{
|
148
|
-
"internalType": "bytes",
|
149
|
-
"name": "data",
|
150
|
-
"type": "bytes"
|
151
|
-
}
|
152
|
-
],
|
153
|
-
"stateMutability": "view",
|
154
|
-
"type": "function"
|
155
|
-
},
|
156
|
-
{
|
157
|
-
"inputs": [],
|
158
|
-
"name": "getInitializedVersion",
|
159
|
-
"outputs": [
|
160
|
-
{
|
161
|
-
"internalType": "uint64",
|
162
|
-
"name": "",
|
163
|
-
"type": "uint64"
|
164
|
-
}
|
165
|
-
],
|
166
|
-
"stateMutability": "view",
|
167
|
-
"type": "function"
|
168
|
-
},
|
169
|
-
{
|
170
|
-
"inputs": [],
|
171
|
-
"name": "getMajorVersion",
|
172
|
-
"outputs": [
|
173
|
-
{
|
174
|
-
"internalType": "VersionPart",
|
175
|
-
"name": "majorVersion",
|
176
|
-
"type": "uint8"
|
177
301
|
}
|
178
302
|
],
|
179
303
|
"stateMutability": "view",
|
180
304
|
"type": "function"
|
181
305
|
},
|
182
|
-
{
|
183
|
-
"inputs": [],
|
184
|
-
"name": "getName",
|
185
|
-
"outputs": [
|
186
|
-
{
|
187
|
-
"internalType": "string",
|
188
|
-
"name": "name",
|
189
|
-
"type": "string"
|
190
|
-
}
|
191
|
-
],
|
192
|
-
"stateMutability": "pure",
|
193
|
-
"type": "function"
|
194
|
-
},
|
195
306
|
{
|
196
307
|
"inputs": [],
|
197
308
|
"name": "getNftId",
|
@@ -247,127 +358,155 @@
|
|
247
358
|
{
|
248
359
|
"inputs": [
|
249
360
|
{
|
250
|
-
"internalType": "
|
251
|
-
"name": "
|
252
|
-
"type": "
|
253
|
-
}
|
254
|
-
],
|
255
|
-
"name": "getVersion",
|
256
|
-
"outputs": [
|
361
|
+
"internalType": "address",
|
362
|
+
"name": "activatedBy",
|
363
|
+
"type": "address"
|
364
|
+
},
|
257
365
|
{
|
258
|
-
"internalType": "
|
259
|
-
"name": "
|
260
|
-
"type": "
|
366
|
+
"internalType": "bytes",
|
367
|
+
"name": "activationData",
|
368
|
+
"type": "bytes"
|
261
369
|
}
|
262
370
|
],
|
263
|
-
"
|
371
|
+
"name": "initializeVersionable",
|
372
|
+
"outputs": [],
|
373
|
+
"stateMutability": "nonpayable",
|
264
374
|
"type": "function"
|
265
375
|
},
|
266
376
|
{
|
267
377
|
"inputs": [],
|
268
|
-
"name": "
|
378
|
+
"name": "isConsumingScheduledOp",
|
269
379
|
"outputs": [
|
270
380
|
{
|
271
|
-
"internalType": "
|
272
|
-
"name": "
|
273
|
-
"type": "
|
381
|
+
"internalType": "bytes4",
|
382
|
+
"name": "",
|
383
|
+
"type": "bytes4"
|
274
384
|
}
|
275
385
|
],
|
276
386
|
"stateMutability": "view",
|
277
387
|
"type": "function"
|
278
388
|
},
|
389
|
+
{
|
390
|
+
"inputs": [],
|
391
|
+
"name": "linkToRegisteredNftId",
|
392
|
+
"outputs": [],
|
393
|
+
"stateMutability": "nonpayable",
|
394
|
+
"type": "function"
|
395
|
+
},
|
279
396
|
{
|
280
397
|
"inputs": [
|
281
|
-
{
|
282
|
-
"internalType": "Version",
|
283
|
-
"name": "version",
|
284
|
-
"type": "uint24"
|
285
|
-
}
|
286
|
-
],
|
287
|
-
"name": "getVersionInfo",
|
288
|
-
"outputs": [
|
289
398
|
{
|
290
399
|
"components": [
|
291
400
|
{
|
292
|
-
"internalType": "
|
293
|
-
"name": "
|
294
|
-
"type": "
|
401
|
+
"internalType": "NftId",
|
402
|
+
"name": "nftId",
|
403
|
+
"type": "uint96"
|
404
|
+
},
|
405
|
+
{
|
406
|
+
"internalType": "NftId",
|
407
|
+
"name": "parentNftId",
|
408
|
+
"type": "uint96"
|
295
409
|
},
|
296
410
|
{
|
297
|
-
"internalType": "
|
298
|
-
"name": "
|
299
|
-
"type": "
|
411
|
+
"internalType": "ObjectType",
|
412
|
+
"name": "objectType",
|
413
|
+
"type": "uint8"
|
414
|
+
},
|
415
|
+
{
|
416
|
+
"internalType": "bool",
|
417
|
+
"name": "isInterceptor",
|
418
|
+
"type": "bool"
|
300
419
|
},
|
301
420
|
{
|
302
421
|
"internalType": "address",
|
303
|
-
"name": "
|
422
|
+
"name": "objectAddress",
|
304
423
|
"type": "address"
|
305
424
|
},
|
306
425
|
{
|
307
|
-
"internalType": "
|
308
|
-
"name": "
|
309
|
-
"type": "
|
426
|
+
"internalType": "address",
|
427
|
+
"name": "initialOwner",
|
428
|
+
"type": "address"
|
310
429
|
},
|
311
430
|
{
|
312
|
-
"internalType": "
|
313
|
-
"name": "
|
314
|
-
"type": "
|
431
|
+
"internalType": "bytes",
|
432
|
+
"name": "data",
|
433
|
+
"type": "bytes"
|
315
434
|
}
|
316
435
|
],
|
317
|
-
"internalType": "struct
|
318
|
-
"name": "
|
436
|
+
"internalType": "struct IRegistry.ObjectInfo",
|
437
|
+
"name": "info",
|
319
438
|
"type": "tuple"
|
320
439
|
}
|
321
440
|
],
|
322
|
-
"
|
441
|
+
"name": "registerBundle",
|
442
|
+
"outputs": [
|
443
|
+
{
|
444
|
+
"internalType": "NftId",
|
445
|
+
"name": "nftId",
|
446
|
+
"type": "uint96"
|
447
|
+
}
|
448
|
+
],
|
449
|
+
"stateMutability": "nonpayable",
|
323
450
|
"type": "function"
|
324
451
|
},
|
325
452
|
{
|
326
453
|
"inputs": [
|
327
454
|
{
|
328
|
-
"internalType": "
|
329
|
-
"name": "
|
455
|
+
"internalType": "contract IComponent",
|
456
|
+
"name": "distribution",
|
330
457
|
"type": "address"
|
331
458
|
},
|
332
459
|
{
|
333
460
|
"internalType": "address",
|
334
|
-
"name": "
|
461
|
+
"name": "owner",
|
335
462
|
"type": "address"
|
336
|
-
},
|
337
|
-
{
|
338
|
-
"internalType": "bytes",
|
339
|
-
"name": "activationData",
|
340
|
-
"type": "bytes"
|
341
|
-
}
|
342
|
-
],
|
343
|
-
"name": "initialize",
|
344
|
-
"outputs": [],
|
345
|
-
"stateMutability": "nonpayable",
|
346
|
-
"type": "function"
|
347
|
-
},
|
348
|
-
{
|
349
|
-
"inputs": [
|
350
|
-
{
|
351
|
-
"internalType": "Version",
|
352
|
-
"name": "version",
|
353
|
-
"type": "uint24"
|
354
463
|
}
|
355
464
|
],
|
356
|
-
"name": "
|
465
|
+
"name": "registerDistribution",
|
357
466
|
"outputs": [
|
358
467
|
{
|
359
|
-
"
|
360
|
-
|
361
|
-
|
468
|
+
"components": [
|
469
|
+
{
|
470
|
+
"internalType": "NftId",
|
471
|
+
"name": "nftId",
|
472
|
+
"type": "uint96"
|
473
|
+
},
|
474
|
+
{
|
475
|
+
"internalType": "NftId",
|
476
|
+
"name": "parentNftId",
|
477
|
+
"type": "uint96"
|
478
|
+
},
|
479
|
+
{
|
480
|
+
"internalType": "ObjectType",
|
481
|
+
"name": "objectType",
|
482
|
+
"type": "uint8"
|
483
|
+
},
|
484
|
+
{
|
485
|
+
"internalType": "bool",
|
486
|
+
"name": "isInterceptor",
|
487
|
+
"type": "bool"
|
488
|
+
},
|
489
|
+
{
|
490
|
+
"internalType": "address",
|
491
|
+
"name": "objectAddress",
|
492
|
+
"type": "address"
|
493
|
+
},
|
494
|
+
{
|
495
|
+
"internalType": "address",
|
496
|
+
"name": "initialOwner",
|
497
|
+
"type": "address"
|
498
|
+
},
|
499
|
+
{
|
500
|
+
"internalType": "bytes",
|
501
|
+
"name": "data",
|
502
|
+
"type": "bytes"
|
503
|
+
}
|
504
|
+
],
|
505
|
+
"internalType": "struct IRegistry.ObjectInfo",
|
506
|
+
"name": "info",
|
507
|
+
"type": "tuple"
|
362
508
|
}
|
363
509
|
],
|
364
|
-
"stateMutability": "view",
|
365
|
-
"type": "function"
|
366
|
-
},
|
367
|
-
{
|
368
|
-
"inputs": [],
|
369
|
-
"name": "linkToRegisteredNftId",
|
370
|
-
"outputs": [],
|
371
510
|
"stateMutability": "nonpayable",
|
372
511
|
"type": "function"
|
373
512
|
},
|
@@ -416,7 +555,7 @@
|
|
416
555
|
"type": "tuple"
|
417
556
|
}
|
418
557
|
],
|
419
|
-
"name": "
|
558
|
+
"name": "registerDistributor",
|
420
559
|
"outputs": [
|
421
560
|
{
|
422
561
|
"internalType": "NftId",
|
@@ -430,22 +569,17 @@
|
|
430
569
|
{
|
431
570
|
"inputs": [
|
432
571
|
{
|
433
|
-
"internalType": "contract
|
434
|
-
"name": "
|
572
|
+
"internalType": "contract IRegisterable",
|
573
|
+
"name": "instance",
|
435
574
|
"type": "address"
|
436
575
|
},
|
437
|
-
{
|
438
|
-
"internalType": "ObjectType",
|
439
|
-
"name": "componentType",
|
440
|
-
"type": "uint8"
|
441
|
-
},
|
442
576
|
{
|
443
577
|
"internalType": "address",
|
444
578
|
"name": "owner",
|
445
579
|
"type": "address"
|
446
580
|
}
|
447
581
|
],
|
448
|
-
"name": "
|
582
|
+
"name": "registerInstance",
|
449
583
|
"outputs": [
|
450
584
|
{
|
451
585
|
"components": [
|
@@ -488,11 +622,6 @@
|
|
488
622
|
"internalType": "struct IRegistry.ObjectInfo",
|
489
623
|
"name": "info",
|
490
624
|
"type": "tuple"
|
491
|
-
},
|
492
|
-
{
|
493
|
-
"internalType": "bytes",
|
494
|
-
"name": "data",
|
495
|
-
"type": "bytes"
|
496
625
|
}
|
497
626
|
],
|
498
627
|
"stateMutability": "nonpayable",
|
@@ -500,14 +629,6 @@
|
|
500
629
|
},
|
501
630
|
{
|
502
631
|
"inputs": [
|
503
|
-
{
|
504
|
-
"internalType": "contract IRegisterable",
|
505
|
-
"name": "instance",
|
506
|
-
"type": "address"
|
507
|
-
}
|
508
|
-
],
|
509
|
-
"name": "registerInstance",
|
510
|
-
"outputs": [
|
511
632
|
{
|
512
633
|
"components": [
|
513
634
|
{
|
@@ -549,11 +670,14 @@
|
|
549
670
|
"internalType": "struct IRegistry.ObjectInfo",
|
550
671
|
"name": "info",
|
551
672
|
"type": "tuple"
|
552
|
-
}
|
673
|
+
}
|
674
|
+
],
|
675
|
+
"name": "registerPolicy",
|
676
|
+
"outputs": [
|
553
677
|
{
|
554
|
-
"internalType": "
|
555
|
-
"name": "
|
556
|
-
"type": "
|
678
|
+
"internalType": "NftId",
|
679
|
+
"name": "nftId",
|
680
|
+
"type": "uint96"
|
557
681
|
}
|
558
682
|
],
|
559
683
|
"stateMutability": "nonpayable",
|
@@ -561,6 +685,19 @@
|
|
561
685
|
},
|
562
686
|
{
|
563
687
|
"inputs": [
|
688
|
+
{
|
689
|
+
"internalType": "contract IComponent",
|
690
|
+
"name": "pool",
|
691
|
+
"type": "address"
|
692
|
+
},
|
693
|
+
{
|
694
|
+
"internalType": "address",
|
695
|
+
"name": "owner",
|
696
|
+
"type": "address"
|
697
|
+
}
|
698
|
+
],
|
699
|
+
"name": "registerPool",
|
700
|
+
"outputs": [
|
564
701
|
{
|
565
702
|
"components": [
|
566
703
|
{
|
@@ -604,26 +741,23 @@
|
|
604
741
|
"type": "tuple"
|
605
742
|
}
|
606
743
|
],
|
607
|
-
"name": "registerPolicy",
|
608
|
-
"outputs": [
|
609
|
-
{
|
610
|
-
"internalType": "NftId",
|
611
|
-
"name": "nftId",
|
612
|
-
"type": "uint96"
|
613
|
-
}
|
614
|
-
],
|
615
744
|
"stateMutability": "nonpayable",
|
616
745
|
"type": "function"
|
617
746
|
},
|
618
747
|
{
|
619
748
|
"inputs": [
|
620
749
|
{
|
621
|
-
"internalType": "contract
|
622
|
-
"name": "
|
750
|
+
"internalType": "contract IComponent",
|
751
|
+
"name": "product",
|
752
|
+
"type": "address"
|
753
|
+
},
|
754
|
+
{
|
755
|
+
"internalType": "address",
|
756
|
+
"name": "owner",
|
623
757
|
"type": "address"
|
624
758
|
}
|
625
759
|
],
|
626
|
-
"name": "
|
760
|
+
"name": "registerProduct",
|
627
761
|
"outputs": [
|
628
762
|
{
|
629
763
|
"components": [
|
@@ -666,11 +800,6 @@
|
|
666
800
|
"internalType": "struct IRegistry.ObjectInfo",
|
667
801
|
"name": "info",
|
668
802
|
"type": "tuple"
|
669
|
-
},
|
670
|
-
{
|
671
|
-
"internalType": "bytes",
|
672
|
-
"name": "data",
|
673
|
-
"type": "bytes"
|
674
803
|
}
|
675
804
|
],
|
676
805
|
"stateMutability": "nonpayable",
|
@@ -680,18 +809,12 @@
|
|
680
809
|
"inputs": [
|
681
810
|
{
|
682
811
|
"internalType": "address",
|
683
|
-
"name": "
|
812
|
+
"name": "",
|
684
813
|
"type": "address"
|
685
814
|
}
|
686
815
|
],
|
687
|
-
"name": "
|
688
|
-
"outputs": [
|
689
|
-
{
|
690
|
-
"internalType": "NftId",
|
691
|
-
"name": "nftId",
|
692
|
-
"type": "uint96"
|
693
|
-
}
|
694
|
-
],
|
816
|
+
"name": "setAuthority",
|
817
|
+
"outputs": [],
|
695
818
|
"stateMutability": "nonpayable",
|
696
819
|
"type": "function"
|
697
820
|
},
|
@@ -716,23 +839,13 @@
|
|
716
839
|
},
|
717
840
|
{
|
718
841
|
"inputs": [
|
719
|
-
{
|
720
|
-
"internalType": "address",
|
721
|
-
"name": "implementation",
|
722
|
-
"type": "address"
|
723
|
-
},
|
724
|
-
{
|
725
|
-
"internalType": "address",
|
726
|
-
"name": "activatedBy",
|
727
|
-
"type": "address"
|
728
|
-
},
|
729
842
|
{
|
730
843
|
"internalType": "bytes",
|
731
844
|
"name": "upgradeData",
|
732
845
|
"type": "bytes"
|
733
846
|
}
|
734
847
|
],
|
735
|
-
"name": "
|
848
|
+
"name": "upgradeVersionable",
|
736
849
|
"outputs": [],
|
737
850
|
"stateMutability": "nonpayable",
|
738
851
|
"type": "function"
|