@etherisc/gif-next 0.0.2-e6a90b9 → 0.0.2-e818783-565
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +359 -8
- package/artifacts/contracts/components/Component.sol/Component.dbg.json +1 -1
- package/artifacts/contracts/components/Component.sol/Component.json +698 -35
- package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +4 -0
- package/artifacts/contracts/components/Distribution.sol/Distribution.json +1345 -0
- package/artifacts/contracts/components/IComponent.sol/IComponent.dbg.json +4 -0
- package/artifacts/contracts/components/IComponent.sol/IComponent.json +605 -0
- package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +4 -0
- package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.json +969 -0
- package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +4 -0
- package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.json +1064 -0
- package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +4 -0
- package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.json +830 -0
- package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +1 -1
- package/artifacts/contracts/components/Pool.sol/Pool.json +1246 -65
- package/artifacts/contracts/components/Product.sol/Product.dbg.json +1 -1
- package/artifacts/contracts/components/Product.sol/Product.json +1014 -60
- 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/Cloneable.sol/Cloneable.json +190 -0
- package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
- package/artifacts/contracts/instance/IInstance.sol/IInstance.json +2218 -499
- package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +4 -0
- package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +633 -0
- package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
- package/artifacts/contracts/instance/Instance.sol/Instance.json +2749 -482
- package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +4 -0
- package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +1330 -0
- package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +4 -0
- package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +1403 -0
- package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +4 -0
- package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +1140 -0
- package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +4 -0
- package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +741 -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 +607 -0
- package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +4 -0
- package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.json +429 -0
- package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.dbg.json +4 -0
- package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.json +115 -0
- package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +4 -0
- package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.json +532 -0
- package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +4 -0
- package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +194 -0
- package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +4 -0
- package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +237 -0
- package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +4 -0
- package/artifacts/contracts/instance/{access/IAccess.sol/IAccess.json → module/IBundle.sol/IBundle.json} +2 -2
- package/artifacts/contracts/instance/module/IComponents.sol/IComponents.dbg.json +4 -0
- package/artifacts/contracts/instance/{component/IComponent.sol/IComponent.json → module/IComponents.sol/IComponents.json} +2 -2
- package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +4 -0
- package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.json +10 -0
- package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +4 -0
- package/artifacts/contracts/instance/{policy → module}/IPolicy.sol/IPolicy.json +1 -1
- package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +4 -0
- package/artifacts/contracts/instance/{pool/IPoolModule.sol/IPool.json → module/IRisk.sol/IRisk.json} +2 -2
- package/artifacts/contracts/instance/module/ISetup.sol/ISetup.dbg.json +4 -0
- package/artifacts/contracts/instance/module/ISetup.sol/ISetup.json +10 -0
- package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.dbg.json +4 -0
- package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.json +10 -0
- package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.json +1060 -0
- package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +4 -0
- package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.json +681 -0
- package/artifacts/contracts/instance/service/BundleService.sol/BundleService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/BundleService.sol/BundleService.json +1266 -0
- package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.dbg.json +4 -0
- package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.json +725 -0
- package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.json +1040 -0
- package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +4 -0
- package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.json +685 -0
- package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +1774 -0
- package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +4 -0
- package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.json +793 -0
- package/artifacts/contracts/instance/service/IApplicationService.sol/IApplicationService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/IApplicationService.sol/IApplicationService.json +627 -0
- package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.json +686 -0
- package/artifacts/contracts/instance/service/IClaimService.sol/IClaimService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/IClaimService.sol/IClaimService.json +602 -0
- package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.json +1090 -0
- package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.json +937 -0
- package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.json +844 -0
- package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/IProductService.sol/IProductService.json +450 -0
- package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.json +1511 -0
- package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +4 -0
- package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.json +741 -0
- package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +1237 -0
- package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.dbg.json +4 -0
- package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.json +661 -0
- package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +840 -0
- package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.dbg.json +4 -0
- package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.json +653 -0
- package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
- package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +252 -2
- package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
- package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +548 -71
- package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +4 -0
- package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +866 -0
- package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +4 -0
- package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.json +52 -0
- package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
- package/artifacts/contracts/registry/Registry.sol/Registry.json +631 -78
- 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 +1158 -0
- package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +4 -0
- package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +670 -0
- package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.dbg.json +4 -0
- package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.json +559 -0
- package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +4 -0
- package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +498 -0
- package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.dbg.json +4 -0
- package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.json +107 -0
- package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +4 -0
- package/artifacts/contracts/shared/ERC165.sol/ERC165.json +73 -0
- package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +4 -0
- package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +138 -0
- 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 +4 -0
- package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +188 -0
- package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +4 -0
- package/artifacts/contracts/{registry/IRegistry.sol → shared/IRegistryLinked.sol}/IRegistryLinked.json +18 -19
- package/artifacts/contracts/shared/IService.sol/IService.dbg.json +4 -0
- package/artifacts/contracts/shared/IService.sol/IService.json +335 -0
- package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +4 -0
- package/artifacts/contracts/shared/IVersionable.sol/IVersionable.json +55 -0
- package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +4 -0
- package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +251 -0
- package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +4 -0
- package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +248 -0
- package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +4 -0
- package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +582 -0
- package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +4 -0
- package/artifacts/contracts/shared/Registerable.sol/Registerable.json +352 -0
- package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +4 -0
- package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +84 -0
- package/artifacts/contracts/shared/Service.sol/Service.dbg.json +4 -0
- package/artifacts/contracts/{registry/IChainNft.sol/IChainNft.json → shared/Service.sol/Service.json} +261 -217
- package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +4 -0
- package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +96 -0
- package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +4 -0
- package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +129 -0
- package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +4 -0
- package/artifacts/contracts/shared/Versionable.sol/Versionable.json +78 -0
- package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +4 -0
- package/artifacts/contracts/test/TestFee.sol/TestFee.json +119 -0
- package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +4 -0
- package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +383 -0
- package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +4 -0
- package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +116 -0
- package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +4 -0
- package/artifacts/contracts/test/TestService.sol/TestService.json +596 -0
- package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +4 -0
- package/artifacts/contracts/test/TestToken.sol/TestUsdc.json +376 -0
- package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +4 -0
- package/artifacts/contracts/test/TestVersion.sol/TestVersion.json +218 -0
- package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +4 -0
- package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +104 -0
- package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +4 -0
- package/artifacts/contracts/test/Usdc.sol/USDC.json +376 -0
- package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +4 -0
- package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.json +10 -0
- package/artifacts/contracts/types/Amount.sol/AmountLib.dbg.json +4 -0
- package/artifacts/contracts/types/Amount.sol/AmountLib.json +185 -0
- package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +4 -0
- package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.json +174 -0
- package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +1 -1
- package/artifacts/contracts/types/ChainId.sol/ChainIdLib.json +2 -2
- 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 +4 -0
- package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.json +104 -0
- package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +4 -0
- package/artifacts/contracts/types/Fee.sol/FeeLib.json +288 -0
- package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +4 -0
- package/artifacts/contracts/types/Key32.sol/Key32Lib.json +125 -0
- package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +1 -1
- package/artifacts/contracts/types/NftId.sol/NftIdLib.json +161 -5
- package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +4 -0
- package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.json +33 -0
- package/artifacts/contracts/types/NumberId.sol/NumberIdLib.dbg.json +4 -0
- package/artifacts/contracts/types/NumberId.sol/NumberIdLib.json +100 -0
- package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +4 -0
- package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.json +92 -0
- 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 +4 -0
- package/artifacts/contracts/types/Referral.sol/ReferralLib.json +142 -0
- package/artifacts/contracts/types/RiskId.sol/RiskIdLib.dbg.json +4 -0
- package/artifacts/contracts/types/RiskId.sol/RiskIdLib.json +86 -0
- package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +4 -0
- package/artifacts/contracts/types/RoleId.sol/RoleIdLib.json +156 -0
- package/artifacts/contracts/types/Seconds.sol/SecondsLib.dbg.json +4 -0
- package/artifacts/contracts/types/Seconds.sol/SecondsLib.json +124 -0
- package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +4 -0
- package/artifacts/contracts/types/StateId.sol/StateIdLib.json +92 -0
- package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +4 -0
- package/artifacts/contracts/types/Timestamp.sol/TimestampLib.json +280 -0
- 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/UFixedLib.json +479 -0
- package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +4 -0
- package/artifacts/contracts/types/Version.sol/VersionLib.json +177 -0
- package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +4 -0
- package/artifacts/contracts/types/Version.sol/VersionPartLib.json +49 -0
- package/contracts/components/Component.sol +231 -40
- 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 +291 -18
- package/contracts/components/Product.sol +338 -32
- 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 +97 -15
- package/contracts/instance/IInstanceService.sol +68 -0
- package/contracts/instance/Instance.sol +289 -42
- package/contracts/instance/InstanceAccessManager.sol +527 -0
- package/contracts/instance/InstanceReader.sol +317 -0
- package/contracts/instance/InstanceService.sol +478 -0
- package/contracts/instance/InstanceServiceManager.sol +54 -0
- package/contracts/instance/ObjectManager.sol +82 -0
- package/contracts/instance/base/ComponentService.sol +121 -0
- package/contracts/instance/base/IKeyValueStore.sol +49 -0
- package/contracts/instance/base/ILifecycle.sol +30 -0
- package/contracts/instance/base/KeyValueStore.sol +180 -0
- package/contracts/instance/base/Lifecycle.sol +117 -0
- package/contracts/instance/module/IAccess.sol +54 -0
- package/contracts/instance/module/IBundle.sol +23 -0
- package/contracts/instance/module/IComponents.sol +41 -0
- package/contracts/instance/module/IDistribution.sol +41 -0
- package/contracts/instance/module/IPolicy.sol +77 -0
- package/contracts/instance/module/IRisk.sol +11 -0
- package/contracts/instance/module/ISetup.sol +33 -0
- package/contracts/instance/module/ITreasury.sol +23 -0
- package/contracts/instance/service/ApplicationService.sol +355 -0
- package/contracts/instance/service/ApplicationServiceManager.sol +35 -0
- package/contracts/instance/service/BundleService.sol +436 -0
- package/contracts/instance/service/BundleServiceManager.sol +51 -0
- package/contracts/instance/service/ClaimService.sol +239 -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 +96 -0
- package/contracts/instance/service/IClaimService.sol +92 -0
- package/contracts/instance/service/IDistributionService.sol +99 -0
- package/contracts/instance/service/IPolicyService.sol +137 -0
- package/contracts/instance/service/IPoolService.sol +99 -0
- package/contracts/instance/service/IProductService.sol +40 -0
- package/contracts/instance/service/PolicyService.sol +541 -0
- package/contracts/instance/service/PolicyServiceManager.sol +54 -0
- package/contracts/instance/service/PoolService.sol +303 -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 +145 -108
- package/contracts/registry/IRegistry.sol +82 -49
- package/contracts/registry/IRegistryService.sol +68 -0
- package/contracts/registry/ITransferInterceptor.sol +7 -0
- package/contracts/registry/Registry.sol +403 -112
- package/contracts/registry/RegistryAccessManager.sol +216 -0
- package/contracts/registry/RegistryService.sol +282 -0
- package/contracts/registry/RegistryServiceManager.sol +62 -0
- package/contracts/registry/ReleaseManager.sol +324 -0
- package/contracts/registry/TokenRegistry.sol +116 -0
- package/contracts/shared/ContractDeployerLib.sol +72 -0
- package/contracts/shared/ERC165.sol +27 -0
- package/contracts/shared/INftOwnable.sol +23 -0
- package/contracts/shared/IPolicyHolder.sol +26 -0
- package/contracts/shared/IRegisterable.sol +15 -0
- package/contracts/shared/IRegistryLinked.sol +12 -0
- package/contracts/shared/IService.sol +16 -0
- package/contracts/shared/IVersionable.sol +53 -0
- package/contracts/shared/NftOwnable.sol +120 -0
- package/contracts/shared/PolicyHolder.sol +81 -0
- package/contracts/shared/ProxyManager.sol +169 -0
- package/contracts/shared/Registerable.sol +74 -0
- package/contracts/shared/RegistryLinked.sol +48 -0
- package/contracts/shared/Service.sol +72 -0
- package/contracts/shared/TokenHandler.sol +33 -0
- package/contracts/shared/UpgradableProxyWithAdmin.sol +16 -0
- package/contracts/shared/Versionable.sol +59 -0
- package/contracts/test/TestFee.sol +25 -0
- package/contracts/test/TestRegisterable.sol +18 -0
- package/contracts/test/TestRoleId.sol +14 -0
- package/contracts/test/TestService.sol +25 -0
- package/contracts/test/TestToken.sol +26 -0
- package/contracts/test/TestVersion.sol +44 -0
- package/contracts/test/TestVersionable.sol +17 -0
- package/contracts/test/Usdc.sol +26 -0
- package/contracts/types/AddressSet.sol +58 -0
- package/contracts/types/Amount.sol +65 -0
- package/contracts/types/Blocknumber.sol +119 -0
- package/contracts/types/ChainId.sol +24 -10
- package/contracts/types/ClaimId.sol +75 -0
- package/contracts/types/DistributorType.sol +55 -0
- package/contracts/types/Fee.sol +64 -0
- package/contracts/types/Key32.sol +50 -0
- package/contracts/types/NftId.sol +63 -8
- package/contracts/types/NftIdSet.sol +62 -0
- package/contracts/types/NumberId.sol +52 -0
- package/contracts/types/ObjectType.sol +157 -0
- package/contracts/types/PayoutId.sol +82 -0
- package/contracts/types/Referral.sol +89 -0
- package/contracts/types/RiskId.sol +43 -0
- package/contracts/types/RoleId.sol +97 -0
- package/contracts/types/Seconds.sol +54 -0
- package/contracts/types/StateId.sol +110 -0
- package/contracts/types/Timestamp.sol +132 -0
- package/contracts/types/UFixed.sol +326 -0
- package/contracts/types/Version.sol +108 -0
- package/package.json +21 -6
- package/artifacts/contracts/components/Component.sol/InstanceLinked.dbg.json +0 -4
- package/artifacts/contracts/components/Component.sol/InstanceLinked.json +0 -35
- package/artifacts/contracts/components/IPool.sol/IPoolComponent.dbg.json +0 -4
- package/artifacts/contracts/components/IPool.sol/IPoolComponent.json +0 -179
- package/artifacts/contracts/components/IProduct.sol/IProductComponent.dbg.json +0 -4
- package/artifacts/contracts/components/IProduct.sol/IProductComponent.json +0 -192
- package/artifacts/contracts/experiment/errors/Require.sol/Require.dbg.json +0 -4
- package/artifacts/contracts/experiment/errors/Require.sol/Require.json +0 -105
- package/artifacts/contracts/experiment/errors/Revert.sol/Revert.dbg.json +0 -4
- package/artifacts/contracts/experiment/errors/Revert.sol/Revert.json +0 -105
- package/artifacts/contracts/experiment/inheritance/A.sol/A.dbg.json +0 -4
- package/artifacts/contracts/experiment/inheritance/A.sol/A.json +0 -128
- package/artifacts/contracts/experiment/inheritance/A.sol/AShared.dbg.json +0 -4
- package/artifacts/contracts/experiment/inheritance/A.sol/AShared.json +0 -42
- package/artifacts/contracts/experiment/inheritance/B.sol/B.dbg.json +0 -4
- package/artifacts/contracts/experiment/inheritance/B.sol/B.json +0 -76
- package/artifacts/contracts/experiment/inheritance/C.sol/C.dbg.json +0 -4
- package/artifacts/contracts/experiment/inheritance/C.sol/C.json +0 -89
- package/artifacts/contracts/experiment/inheritance/IA.sol/IA.dbg.json +0 -4
- package/artifacts/contracts/experiment/inheritance/IA.sol/IA.json +0 -128
- package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.dbg.json +0 -4
- package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.json +0 -37
- package/artifacts/contracts/experiment/inheritance/IB.sol/IB.dbg.json +0 -4
- package/artifacts/contracts/experiment/inheritance/IB.sol/IB.json +0 -50
- package/artifacts/contracts/experiment/inheritance/IC.sol/IC.dbg.json +0 -4
- package/artifacts/contracts/experiment/inheritance/IC.sol/IC.json +0 -63
- package/artifacts/contracts/experiment/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/experiment/types/TypeB.sol/TypeBLib.json +0 -10
- package/artifacts/contracts/instance/access/Access.sol/AccessModule.dbg.json +0 -4
- package/artifacts/contracts/instance/access/Access.sol/AccessModule.json +0 -400
- package/artifacts/contracts/instance/access/IAccess.sol/IAccess.dbg.json +0 -4
- package/artifacts/contracts/instance/access/IAccess.sol/IAccessCheckRole.dbg.json +0 -4
- package/artifacts/contracts/instance/access/IAccess.sol/IAccessCheckRole.json +0 -35
- package/artifacts/contracts/instance/access/IAccess.sol/IAccessComponentTypeRoles.dbg.json +0 -4
- package/artifacts/contracts/instance/access/IAccess.sol/IAccessComponentTypeRoles.json +0 -50
- package/artifacts/contracts/instance/access/IAccess.sol/IAccessModule.dbg.json +0 -4
- package/artifacts/contracts/instance/access/IAccess.sol/IAccessModule.json +0 -336
- package/artifacts/contracts/instance/component/ComponentModule.sol/ComponentModule.dbg.json +0 -4
- package/artifacts/contracts/instance/component/ComponentModule.sol/ComponentModule.json +0 -327
- package/artifacts/contracts/instance/component/ComponentModule.sol/ComponentOwnerService.dbg.json +0 -4
- package/artifacts/contracts/instance/component/ComponentModule.sol/ComponentOwnerService.json +0 -105
- package/artifacts/contracts/instance/component/IComponent.sol/IComponent.dbg.json +0 -4
- package/artifacts/contracts/instance/component/IComponent.sol/IComponentContract.dbg.json +0 -4
- package/artifacts/contracts/instance/component/IComponent.sol/IComponentContract.json +0 -179
- package/artifacts/contracts/instance/component/IComponent.sol/IComponentModule.dbg.json +0 -4
- package/artifacts/contracts/instance/component/IComponent.sol/IComponentModule.json +0 -245
- package/artifacts/contracts/instance/component/IComponent.sol/IComponentOwnerService.dbg.json +0 -4
- package/artifacts/contracts/instance/component/IComponent.sol/IComponentOwnerService.json +0 -94
- package/artifacts/contracts/instance/component/IComponent.sol/IInstanceLinked.dbg.json +0 -4
- package/artifacts/contracts/instance/component/IComponent.sol/IInstanceLinked.json +0 -24
- package/artifacts/contracts/instance/policy/IPolicy.sol/IPolicy.dbg.json +0 -4
- package/artifacts/contracts/instance/policy/IPolicy.sol/IPolicyModule.dbg.json +0 -4
- package/artifacts/contracts/instance/policy/IPolicy.sol/IPolicyModule.json +0 -231
- package/artifacts/contracts/instance/policy/PolicyModule.sol/PolicyModule.dbg.json +0 -4
- package/artifacts/contracts/instance/policy/PolicyModule.sol/PolicyModule.json +0 -231
- package/artifacts/contracts/instance/pool/IPoolModule.sol/IPool.dbg.json +0 -4
- package/artifacts/contracts/instance/pool/IPoolModule.sol/IPoolModule.dbg.json +0 -4
- package/artifacts/contracts/instance/pool/IPoolModule.sol/IPoolModule.json +0 -149
- package/artifacts/contracts/instance/pool/PoolModule.sol/PoolModule.dbg.json +0 -4
- package/artifacts/contracts/instance/pool/PoolModule.sol/PoolModule.json +0 -162
- package/artifacts/contracts/instance/product/IProductService.sol/IProductModule.dbg.json +0 -4
- package/artifacts/contracts/instance/product/IProductService.sol/IProductModule.json +0 -75
- package/artifacts/contracts/instance/product/IProductService.sol/IProductService.dbg.json +0 -4
- package/artifacts/contracts/instance/product/IProductService.sol/IProductService.json +0 -114
- package/artifacts/contracts/instance/product/ProductService.sol/ProductModule.dbg.json +0 -4
- package/artifacts/contracts/instance/product/ProductService.sol/ProductModule.json +0 -75
- package/artifacts/contracts/instance/product/ProductService.sol/ProductService.dbg.json +0 -4
- package/artifacts/contracts/instance/product/ProductService.sol/ProductService.json +0 -125
- package/artifacts/contracts/registry/IChainNft.sol/IChainNft.dbg.json +0 -4
- package/artifacts/contracts/registry/IRegistry.sol/IOwnable.dbg.json +0 -4
- package/artifacts/contracts/registry/IRegistry.sol/IOwnable.json +0 -24
- package/artifacts/contracts/registry/IRegistry.sol/IRegisterable.dbg.json +0 -4
- package/artifacts/contracts/registry/IRegistry.sol/IRegisterable.json +0 -166
- package/artifacts/contracts/registry/IRegistry.sol/IRegistryLinked.dbg.json +0 -4
- package/artifacts/contracts/registry/Registry.sol/Registerable.dbg.json +0 -4
- package/artifacts/contracts/registry/Registry.sol/Registerable.json +0 -166
- package/artifacts/contracts/registry/Registry.sol/RegistryLinked.dbg.json +0 -4
- package/artifacts/contracts/registry/Registry.sol/RegistryLinked.json +0 -60
- package/contracts/components/IPool.sol +0 -9
- package/contracts/components/IProduct.sol +0 -11
- package/contracts/experiment/errors/Require.sol +0 -33
- package/contracts/experiment/errors/Revert.sol +0 -39
- package/contracts/experiment/inheritance/A.sol +0 -56
- package/contracts/experiment/inheritance/B.sol +0 -23
- package/contracts/experiment/inheritance/C.sol +0 -28
- package/contracts/experiment/inheritance/IA.sol +0 -18
- package/contracts/experiment/inheritance/IB.sol +0 -9
- package/contracts/experiment/inheritance/IC.sol +0 -11
- package/contracts/experiment/types/TypeA.sol +0 -42
- package/contracts/experiment/types/TypeB.sol +0 -24
- package/contracts/instance/access/Access.sol +0 -218
- package/contracts/instance/access/IAccess.sol +0 -83
- package/contracts/instance/component/ComponentModule.sol +0 -246
- package/contracts/instance/component/IComponent.sol +0 -94
- package/contracts/instance/policy/IPolicy.sol +0 -66
- package/contracts/instance/policy/PolicyModule.sol +0 -106
- package/contracts/instance/pool/IPoolModule.sol +0 -40
- package/contracts/instance/pool/PoolModule.sol +0 -83
- package/contracts/instance/product/IProductService.sol +0 -45
- package/contracts/instance/product/ProductService.sol +0 -105
- package/contracts/registry/IChainNft.sol +0 -18
@@ -1,165 +1,164 @@
|
|
1
1
|
{
|
2
2
|
"_format": "hh-sol-artifact-1",
|
3
|
-
"contractName": "
|
4
|
-
"sourceName": "contracts/
|
3
|
+
"contractName": "Service",
|
4
|
+
"sourceName": "contracts/shared/Service.sol",
|
5
5
|
"abi": [
|
6
6
|
{
|
7
|
-
"anonymous": false,
|
8
7
|
"inputs": [
|
9
8
|
{
|
10
|
-
"indexed": true,
|
11
|
-
"internalType": "address",
|
12
|
-
"name": "owner",
|
13
|
-
"type": "address"
|
14
|
-
},
|
15
|
-
{
|
16
|
-
"indexed": true,
|
17
9
|
"internalType": "address",
|
18
|
-
"name": "
|
10
|
+
"name": "authority",
|
19
11
|
"type": "address"
|
20
|
-
},
|
21
|
-
{
|
22
|
-
"indexed": true,
|
23
|
-
"internalType": "uint256",
|
24
|
-
"name": "tokenId",
|
25
|
-
"type": "uint256"
|
26
12
|
}
|
27
13
|
],
|
28
|
-
"name": "
|
29
|
-
"type": "
|
14
|
+
"name": "AccessManagedInvalidAuthority",
|
15
|
+
"type": "error"
|
30
16
|
},
|
31
17
|
{
|
32
|
-
"anonymous": false,
|
33
18
|
"inputs": [
|
34
19
|
{
|
35
|
-
"indexed": true,
|
36
20
|
"internalType": "address",
|
37
|
-
"name": "
|
21
|
+
"name": "caller",
|
38
22
|
"type": "address"
|
39
23
|
},
|
40
24
|
{
|
41
|
-
"
|
42
|
-
"
|
43
|
-
"
|
44
|
-
"type": "address"
|
45
|
-
},
|
46
|
-
{
|
47
|
-
"indexed": false,
|
48
|
-
"internalType": "bool",
|
49
|
-
"name": "approved",
|
50
|
-
"type": "bool"
|
25
|
+
"internalType": "uint32",
|
26
|
+
"name": "delay",
|
27
|
+
"type": "uint32"
|
51
28
|
}
|
52
29
|
],
|
53
|
-
"name": "
|
54
|
-
"type": "
|
30
|
+
"name": "AccessManagedRequiredDelay",
|
31
|
+
"type": "error"
|
55
32
|
},
|
56
33
|
{
|
57
|
-
"anonymous": false,
|
58
34
|
"inputs": [
|
59
35
|
{
|
60
|
-
"indexed": true,
|
61
|
-
"internalType": "address",
|
62
|
-
"name": "from",
|
63
|
-
"type": "address"
|
64
|
-
},
|
65
|
-
{
|
66
|
-
"indexed": true,
|
67
36
|
"internalType": "address",
|
68
|
-
"name": "
|
37
|
+
"name": "caller",
|
69
38
|
"type": "address"
|
70
|
-
}
|
39
|
+
}
|
40
|
+
],
|
41
|
+
"name": "AccessManagedUnauthorized",
|
42
|
+
"type": "error"
|
43
|
+
},
|
44
|
+
{
|
45
|
+
"inputs": [
|
71
46
|
{
|
72
|
-
"
|
73
|
-
"
|
74
|
-
"
|
75
|
-
"type": "uint256"
|
47
|
+
"internalType": "NftId",
|
48
|
+
"name": "nftId",
|
49
|
+
"type": "uint96"
|
76
50
|
}
|
77
51
|
],
|
78
|
-
"name": "
|
79
|
-
"type": "
|
52
|
+
"name": "ErrorNftOwnableAlreadyLinked",
|
53
|
+
"type": "error"
|
80
54
|
},
|
81
55
|
{
|
82
56
|
"inputs": [
|
83
57
|
{
|
84
58
|
"internalType": "address",
|
85
|
-
"name": "
|
59
|
+
"name": "contractAddress",
|
86
60
|
"type": "address"
|
87
|
-
},
|
88
|
-
{
|
89
|
-
"internalType": "uint256",
|
90
|
-
"name": "tokenId",
|
91
|
-
"type": "uint256"
|
92
61
|
}
|
93
62
|
],
|
94
|
-
"name": "
|
95
|
-
"
|
96
|
-
|
97
|
-
|
63
|
+
"name": "ErrorNftOwnableContractNotRegistered",
|
64
|
+
"type": "error"
|
65
|
+
},
|
66
|
+
{
|
67
|
+
"inputs": [],
|
68
|
+
"name": "ErrorNftOwnableInitialOwnerZero",
|
69
|
+
"type": "error"
|
98
70
|
},
|
99
71
|
{
|
100
72
|
"inputs": [
|
101
73
|
{
|
102
74
|
"internalType": "address",
|
103
|
-
"name": "
|
75
|
+
"name": "account",
|
104
76
|
"type": "address"
|
105
77
|
}
|
106
78
|
],
|
107
|
-
"name": "
|
108
|
-
"
|
79
|
+
"name": "ErrorNftOwnableNotOwner",
|
80
|
+
"type": "error"
|
81
|
+
},
|
82
|
+
{
|
83
|
+
"inputs": [
|
109
84
|
{
|
110
|
-
"internalType": "
|
111
|
-
"name": "
|
112
|
-
"type": "
|
85
|
+
"internalType": "address",
|
86
|
+
"name": "registryAddress",
|
87
|
+
"type": "address"
|
113
88
|
}
|
114
89
|
],
|
115
|
-
"
|
116
|
-
"type": "
|
90
|
+
"name": "ErrorNotRegistry",
|
91
|
+
"type": "error"
|
117
92
|
},
|
118
93
|
{
|
94
|
+
"inputs": [],
|
95
|
+
"name": "InvalidInitialization",
|
96
|
+
"type": "error"
|
97
|
+
},
|
98
|
+
{
|
99
|
+
"inputs": [],
|
100
|
+
"name": "NotInitializing",
|
101
|
+
"type": "error"
|
102
|
+
},
|
103
|
+
{
|
104
|
+
"anonymous": false,
|
119
105
|
"inputs": [
|
120
106
|
{
|
121
|
-
"
|
122
|
-
"
|
123
|
-
"
|
107
|
+
"indexed": false,
|
108
|
+
"internalType": "address",
|
109
|
+
"name": "authority",
|
110
|
+
"type": "address"
|
124
111
|
}
|
125
112
|
],
|
126
|
-
"name": "
|
127
|
-
"
|
128
|
-
"stateMutability": "nonpayable",
|
129
|
-
"type": "function"
|
113
|
+
"name": "AuthorityUpdated",
|
114
|
+
"type": "event"
|
130
115
|
},
|
131
116
|
{
|
117
|
+
"anonymous": false,
|
132
118
|
"inputs": [
|
133
119
|
{
|
134
|
-
"
|
135
|
-
"
|
136
|
-
"
|
120
|
+
"indexed": false,
|
121
|
+
"internalType": "uint64",
|
122
|
+
"name": "version",
|
123
|
+
"type": "uint64"
|
137
124
|
}
|
138
125
|
],
|
139
|
-
"name": "
|
126
|
+
"name": "Initialized",
|
127
|
+
"type": "event"
|
128
|
+
},
|
129
|
+
{
|
130
|
+
"inputs": [],
|
131
|
+
"name": "NFT_OWNABLE_STORAGE_LOCATION_V1",
|
140
132
|
"outputs": [
|
141
133
|
{
|
142
|
-
"internalType": "
|
134
|
+
"internalType": "bytes32",
|
143
135
|
"name": "",
|
144
|
-
"type": "
|
136
|
+
"type": "bytes32"
|
145
137
|
}
|
146
138
|
],
|
147
139
|
"stateMutability": "view",
|
148
140
|
"type": "function"
|
149
141
|
},
|
150
142
|
{
|
151
|
-
"inputs": [
|
143
|
+
"inputs": [],
|
144
|
+
"name": "REGISTERABLE_LOCATION_V1",
|
145
|
+
"outputs": [
|
152
146
|
{
|
153
|
-
"internalType": "
|
154
|
-
"name": "
|
155
|
-
"type": "
|
147
|
+
"internalType": "bytes32",
|
148
|
+
"name": "",
|
149
|
+
"type": "bytes32"
|
156
150
|
}
|
157
151
|
],
|
158
|
-
"
|
152
|
+
"stateMutability": "view",
|
153
|
+
"type": "function"
|
154
|
+
},
|
155
|
+
{
|
156
|
+
"inputs": [],
|
157
|
+
"name": "authority",
|
159
158
|
"outputs": [
|
160
159
|
{
|
161
160
|
"internalType": "address",
|
162
|
-
"name": "
|
161
|
+
"name": "",
|
163
162
|
"type": "address"
|
164
163
|
}
|
165
164
|
],
|
@@ -168,103 +167,153 @@
|
|
168
167
|
},
|
169
168
|
{
|
170
169
|
"inputs": [],
|
171
|
-
"name": "
|
170
|
+
"name": "getDomain",
|
172
171
|
"outputs": [
|
173
172
|
{
|
174
|
-
"internalType": "
|
175
|
-
"name": "
|
176
|
-
"type": "
|
173
|
+
"internalType": "ObjectType",
|
174
|
+
"name": "serviceDomain",
|
175
|
+
"type": "uint8"
|
177
176
|
}
|
178
177
|
],
|
179
|
-
"stateMutability": "
|
178
|
+
"stateMutability": "pure",
|
180
179
|
"type": "function"
|
181
180
|
},
|
182
181
|
{
|
183
|
-
"inputs": [
|
184
|
-
|
185
|
-
|
186
|
-
"name": "owner",
|
187
|
-
"type": "address"
|
188
|
-
},
|
182
|
+
"inputs": [],
|
183
|
+
"name": "getInitialInfo",
|
184
|
+
"outputs": [
|
189
185
|
{
|
190
|
-
"
|
191
|
-
|
192
|
-
|
186
|
+
"components": [
|
187
|
+
{
|
188
|
+
"internalType": "NftId",
|
189
|
+
"name": "nftId",
|
190
|
+
"type": "uint96"
|
191
|
+
},
|
192
|
+
{
|
193
|
+
"internalType": "NftId",
|
194
|
+
"name": "parentNftId",
|
195
|
+
"type": "uint96"
|
196
|
+
},
|
197
|
+
{
|
198
|
+
"internalType": "ObjectType",
|
199
|
+
"name": "objectType",
|
200
|
+
"type": "uint8"
|
201
|
+
},
|
202
|
+
{
|
203
|
+
"internalType": "bool",
|
204
|
+
"name": "isInterceptor",
|
205
|
+
"type": "bool"
|
206
|
+
},
|
207
|
+
{
|
208
|
+
"internalType": "address",
|
209
|
+
"name": "objectAddress",
|
210
|
+
"type": "address"
|
211
|
+
},
|
212
|
+
{
|
213
|
+
"internalType": "address",
|
214
|
+
"name": "initialOwner",
|
215
|
+
"type": "address"
|
216
|
+
},
|
217
|
+
{
|
218
|
+
"internalType": "bytes",
|
219
|
+
"name": "data",
|
220
|
+
"type": "bytes"
|
221
|
+
}
|
222
|
+
],
|
223
|
+
"internalType": "struct IRegistry.ObjectInfo",
|
224
|
+
"name": "info",
|
225
|
+
"type": "tuple"
|
193
226
|
}
|
194
227
|
],
|
195
|
-
"
|
228
|
+
"stateMutability": "view",
|
229
|
+
"type": "function"
|
230
|
+
},
|
231
|
+
{
|
232
|
+
"inputs": [],
|
233
|
+
"name": "getNftId",
|
196
234
|
"outputs": [
|
197
235
|
{
|
198
|
-
"internalType": "
|
236
|
+
"internalType": "NftId",
|
199
237
|
"name": "",
|
200
|
-
"type": "
|
238
|
+
"type": "uint96"
|
201
239
|
}
|
202
240
|
],
|
203
241
|
"stateMutability": "view",
|
204
242
|
"type": "function"
|
205
243
|
},
|
206
244
|
{
|
207
|
-
"inputs": [
|
245
|
+
"inputs": [],
|
246
|
+
"name": "getOwner",
|
247
|
+
"outputs": [
|
208
248
|
{
|
209
249
|
"internalType": "address",
|
210
|
-
"name": "
|
250
|
+
"name": "",
|
211
251
|
"type": "address"
|
212
|
-
},
|
213
|
-
{
|
214
|
-
"internalType": "string",
|
215
|
-
"name": "uri",
|
216
|
-
"type": "string"
|
217
252
|
}
|
218
253
|
],
|
219
|
-
"
|
254
|
+
"stateMutability": "view",
|
255
|
+
"type": "function"
|
256
|
+
},
|
257
|
+
{
|
258
|
+
"inputs": [],
|
259
|
+
"name": "getRegistry",
|
220
260
|
"outputs": [
|
221
261
|
{
|
222
|
-
"internalType": "
|
223
|
-
"name": "
|
224
|
-
"type": "
|
262
|
+
"internalType": "contract IRegistry",
|
263
|
+
"name": "",
|
264
|
+
"type": "address"
|
225
265
|
}
|
226
266
|
],
|
227
|
-
"stateMutability": "
|
267
|
+
"stateMutability": "view",
|
228
268
|
"type": "function"
|
229
269
|
},
|
230
270
|
{
|
231
|
-
"inputs": [
|
232
|
-
|
233
|
-
"internalType": "uint256",
|
234
|
-
"name": "tokenId",
|
235
|
-
"type": "uint256"
|
236
|
-
}
|
237
|
-
],
|
238
|
-
"name": "ownerOf",
|
271
|
+
"inputs": [],
|
272
|
+
"name": "getRegistryAddress",
|
239
273
|
"outputs": [
|
240
274
|
{
|
241
275
|
"internalType": "address",
|
242
|
-
"name": "
|
276
|
+
"name": "",
|
243
277
|
"type": "address"
|
244
278
|
}
|
245
279
|
],
|
246
280
|
"stateMutability": "view",
|
247
281
|
"type": "function"
|
248
282
|
},
|
283
|
+
{
|
284
|
+
"inputs": [],
|
285
|
+
"name": "getVersion",
|
286
|
+
"outputs": [
|
287
|
+
{
|
288
|
+
"internalType": "Version",
|
289
|
+
"name": "",
|
290
|
+
"type": "uint24"
|
291
|
+
}
|
292
|
+
],
|
293
|
+
"stateMutability": "pure",
|
294
|
+
"type": "function"
|
295
|
+
},
|
296
|
+
{
|
297
|
+
"inputs": [],
|
298
|
+
"name": "initializeERC165",
|
299
|
+
"outputs": [],
|
300
|
+
"stateMutability": "nonpayable",
|
301
|
+
"type": "function"
|
302
|
+
},
|
249
303
|
{
|
250
304
|
"inputs": [
|
251
305
|
{
|
252
306
|
"internalType": "address",
|
253
|
-
"name": "
|
307
|
+
"name": "initialOwner",
|
254
308
|
"type": "address"
|
255
309
|
},
|
256
310
|
{
|
257
311
|
"internalType": "address",
|
258
|
-
"name": "
|
312
|
+
"name": "registryAddress",
|
259
313
|
"type": "address"
|
260
|
-
},
|
261
|
-
{
|
262
|
-
"internalType": "uint256",
|
263
|
-
"name": "tokenId",
|
264
|
-
"type": "uint256"
|
265
314
|
}
|
266
315
|
],
|
267
|
-
"name": "
|
316
|
+
"name": "initializeNftOwnable",
|
268
317
|
"outputs": [],
|
269
318
|
"stateMutability": "nonpayable",
|
270
319
|
"type": "function"
|
@@ -273,26 +322,36 @@
|
|
273
322
|
"inputs": [
|
274
323
|
{
|
275
324
|
"internalType": "address",
|
276
|
-
"name": "
|
325
|
+
"name": "registryAddress",
|
277
326
|
"type": "address"
|
278
327
|
},
|
279
328
|
{
|
280
|
-
"internalType": "
|
281
|
-
"name": "
|
282
|
-
"type": "
|
329
|
+
"internalType": "NftId",
|
330
|
+
"name": "parentNftId",
|
331
|
+
"type": "uint96"
|
283
332
|
},
|
284
333
|
{
|
285
|
-
"internalType": "
|
286
|
-
"name": "
|
287
|
-
"type": "
|
334
|
+
"internalType": "ObjectType",
|
335
|
+
"name": "objectType",
|
336
|
+
"type": "uint8"
|
337
|
+
},
|
338
|
+
{
|
339
|
+
"internalType": "bool",
|
340
|
+
"name": "isInterceptor",
|
341
|
+
"type": "bool"
|
342
|
+
},
|
343
|
+
{
|
344
|
+
"internalType": "address",
|
345
|
+
"name": "initialOwner",
|
346
|
+
"type": "address"
|
288
347
|
},
|
289
348
|
{
|
290
349
|
"internalType": "bytes",
|
291
|
-
"name": "
|
350
|
+
"name": "registryData",
|
292
351
|
"type": "bytes"
|
293
352
|
}
|
294
353
|
],
|
295
|
-
"name": "
|
354
|
+
"name": "initializeRegisterable",
|
296
355
|
"outputs": [],
|
297
356
|
"stateMutability": "nonpayable",
|
298
357
|
"type": "function"
|
@@ -301,16 +360,11 @@
|
|
301
360
|
"inputs": [
|
302
361
|
{
|
303
362
|
"internalType": "address",
|
304
|
-
"name": "
|
363
|
+
"name": "registryAddress",
|
305
364
|
"type": "address"
|
306
|
-
},
|
307
|
-
{
|
308
|
-
"internalType": "bool",
|
309
|
-
"name": "approved",
|
310
|
-
"type": "bool"
|
311
365
|
}
|
312
366
|
],
|
313
|
-
"name": "
|
367
|
+
"name": "initializeRegistryLinked",
|
314
368
|
"outputs": [],
|
315
369
|
"stateMutability": "nonpayable",
|
316
370
|
"type": "function"
|
@@ -318,17 +372,22 @@
|
|
318
372
|
{
|
319
373
|
"inputs": [
|
320
374
|
{
|
321
|
-
"internalType": "
|
322
|
-
"name": "
|
323
|
-
"type": "
|
375
|
+
"internalType": "address",
|
376
|
+
"name": "registry",
|
377
|
+
"type": "address"
|
324
378
|
},
|
325
379
|
{
|
326
|
-
"internalType": "
|
327
|
-
"name": "
|
328
|
-
"type": "
|
380
|
+
"internalType": "address",
|
381
|
+
"name": "authority",
|
382
|
+
"type": "address"
|
383
|
+
},
|
384
|
+
{
|
385
|
+
"internalType": "address",
|
386
|
+
"name": "initialOwner",
|
387
|
+
"type": "address"
|
329
388
|
}
|
330
389
|
],
|
331
|
-
"name": "
|
390
|
+
"name": "initializeService",
|
332
391
|
"outputs": [],
|
333
392
|
"stateMutability": "nonpayable",
|
334
393
|
"type": "function"
|
@@ -336,86 +395,81 @@
|
|
336
395
|
{
|
337
396
|
"inputs": [
|
338
397
|
{
|
339
|
-
"internalType": "
|
340
|
-
"name": "
|
341
|
-
"type": "
|
398
|
+
"internalType": "address",
|
399
|
+
"name": "activatedBy",
|
400
|
+
"type": "address"
|
401
|
+
},
|
402
|
+
{
|
403
|
+
"internalType": "bytes",
|
404
|
+
"name": "data",
|
405
|
+
"type": "bytes"
|
342
406
|
}
|
343
407
|
],
|
344
|
-
"name": "
|
408
|
+
"name": "initializeVersionable",
|
409
|
+
"outputs": [],
|
410
|
+
"stateMutability": "nonpayable",
|
411
|
+
"type": "function"
|
412
|
+
},
|
413
|
+
{
|
414
|
+
"inputs": [],
|
415
|
+
"name": "isConsumingScheduledOp",
|
345
416
|
"outputs": [
|
346
417
|
{
|
347
|
-
"internalType": "
|
418
|
+
"internalType": "bytes4",
|
348
419
|
"name": "",
|
349
|
-
"type": "
|
420
|
+
"type": "bytes4"
|
350
421
|
}
|
351
422
|
],
|
352
423
|
"stateMutability": "view",
|
353
424
|
"type": "function"
|
354
425
|
},
|
426
|
+
{
|
427
|
+
"inputs": [],
|
428
|
+
"name": "linkToRegisteredNftId",
|
429
|
+
"outputs": [],
|
430
|
+
"stateMutability": "nonpayable",
|
431
|
+
"type": "function"
|
432
|
+
},
|
355
433
|
{
|
356
434
|
"inputs": [
|
357
435
|
{
|
358
|
-
"internalType": "
|
359
|
-
"name": "
|
360
|
-
"type": "
|
361
|
-
}
|
362
|
-
],
|
363
|
-
"name": "tokenByIndex",
|
364
|
-
"outputs": [
|
365
|
-
{
|
366
|
-
"internalType": "uint256",
|
367
|
-
"name": "",
|
368
|
-
"type": "uint256"
|
436
|
+
"internalType": "bytes4",
|
437
|
+
"name": "interfaceId",
|
438
|
+
"type": "bytes4"
|
369
439
|
}
|
370
440
|
],
|
371
|
-
"
|
441
|
+
"name": "registerInterface",
|
442
|
+
"outputs": [],
|
443
|
+
"stateMutability": "nonpayable",
|
372
444
|
"type": "function"
|
373
445
|
},
|
374
446
|
{
|
375
447
|
"inputs": [
|
376
448
|
{
|
377
449
|
"internalType": "address",
|
378
|
-
"name": "
|
450
|
+
"name": "newAuthority",
|
379
451
|
"type": "address"
|
380
|
-
},
|
381
|
-
{
|
382
|
-
"internalType": "uint256",
|
383
|
-
"name": "index",
|
384
|
-
"type": "uint256"
|
385
|
-
}
|
386
|
-
],
|
387
|
-
"name": "tokenOfOwnerByIndex",
|
388
|
-
"outputs": [
|
389
|
-
{
|
390
|
-
"internalType": "uint256",
|
391
|
-
"name": "",
|
392
|
-
"type": "uint256"
|
393
452
|
}
|
394
453
|
],
|
395
|
-
"
|
454
|
+
"name": "setAuthority",
|
455
|
+
"outputs": [],
|
456
|
+
"stateMutability": "nonpayable",
|
396
457
|
"type": "function"
|
397
458
|
},
|
398
459
|
{
|
399
|
-
"inputs": [
|
400
|
-
"name": "totalMinted",
|
401
|
-
"outputs": [
|
460
|
+
"inputs": [
|
402
461
|
{
|
403
|
-
"internalType": "
|
404
|
-
"name": "",
|
405
|
-
"type": "
|
462
|
+
"internalType": "bytes4",
|
463
|
+
"name": "interfaceId",
|
464
|
+
"type": "bytes4"
|
406
465
|
}
|
407
466
|
],
|
408
|
-
"
|
409
|
-
"type": "function"
|
410
|
-
},
|
411
|
-
{
|
412
|
-
"inputs": [],
|
413
|
-
"name": "totalSupply",
|
467
|
+
"name": "supportsInterface",
|
414
468
|
"outputs": [
|
415
469
|
{
|
416
|
-
"internalType": "
|
470
|
+
"internalType": "bool",
|
417
471
|
"name": "",
|
418
|
-
"type": "
|
472
|
+
"type": "bool"
|
419
473
|
}
|
420
474
|
],
|
421
475
|
"stateMutability": "view",
|
@@ -424,22 +478,12 @@
|
|
424
478
|
{
|
425
479
|
"inputs": [
|
426
480
|
{
|
427
|
-
"internalType": "
|
428
|
-
"name": "
|
429
|
-
"type": "
|
430
|
-
},
|
431
|
-
{
|
432
|
-
"internalType": "address",
|
433
|
-
"name": "to",
|
434
|
-
"type": "address"
|
435
|
-
},
|
436
|
-
{
|
437
|
-
"internalType": "uint256",
|
438
|
-
"name": "tokenId",
|
439
|
-
"type": "uint256"
|
481
|
+
"internalType": "bytes",
|
482
|
+
"name": "data",
|
483
|
+
"type": "bytes"
|
440
484
|
}
|
441
485
|
],
|
442
|
-
"name": "
|
486
|
+
"name": "upgradeVersionable",
|
443
487
|
"outputs": [],
|
444
488
|
"stateMutability": "nonpayable",
|
445
489
|
"type": "function"
|