@etherisc/gif-next 0.0.2-f02157b-803 → 0.0.2-f080b71-868
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +75 -14
- package/artifacts/contracts/components/Component.sol/Component.dbg.json +4 -0
- package/artifacts/contracts/components/Component.sol/Component.json +842 -0
- package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +1 -1
- package/artifacts/contracts/components/Distribution.sol/Distribution.json +948 -229
- 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 +1 -1
- package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.json +848 -31
- package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +1 -1
- package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.json +864 -49
- package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +1 -1
- package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.json +682 -9
- package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +1 -1
- package/artifacts/contracts/components/Pool.sol/Pool.json +849 -247
- package/artifacts/contracts/components/Product.sol/Product.dbg.json +1 -1
- package/artifacts/contracts/components/Product.sol/Product.json +637 -224
- 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 +468 -246
- package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
- package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +389 -156
- package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
- package/artifacts/contracts/instance/Instance.sol/Instance.json +445 -2985
- package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +606 -175
- package/artifacts/contracts/instance/InstanceAuthorizationsLib.sol/InstanceAuthorizationsLib.dbg.json +4 -0
- package/artifacts/contracts/instance/InstanceAuthorizationsLib.sol/InstanceAuthorizationsLib.json +124 -0
- package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +252 -210
- package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +540 -179
- package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +322 -73
- package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.dbg.json +4 -0
- package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.json +2677 -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 +639 -0
- package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +1 -1
- 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 -10
- 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 +860 -0
- package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +4 -0
- package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.json +641 -0
- package/artifacts/contracts/instance/service/BundleService.sol/BundleService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/BundleService.sol/BundleService.json +1276 -0
- package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.dbg.json +4 -0
- package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.json +717 -0
- package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.json +849 -0
- package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +4 -0
- package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.json +641 -0
- package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +1539 -0
- package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +4 -0
- package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.json +769 -0
- package/artifacts/contracts/instance/service/IApplicationService.sol/IApplicationService.dbg.json +4 -0
- package/artifacts/contracts/instance/{base/ServiceBase.sol/ServiceBase.json → service/IApplicationService.sol/IApplicationService.json} +191 -184
- package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.json +680 -0
- package/artifacts/contracts/instance/service/IClaimService.sol/IClaimService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/{IComponentOwnerService.sol/IComponentOwnerService.json → IClaimService.sol/IClaimService.json} +217 -208
- package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.json +585 -160
- package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.json +648 -0
- package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.json +437 -154
- package/artifacts/contracts/instance/service/IPricingService.sol/IPricingService.dbg.json +4 -0
- package/artifacts/contracts/instance/{base/IService.sol/IService.json → service/IPricingService.sol/IPricingService.json} +270 -173
- package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/IProductService.sol/IProductService.json +90 -391
- package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.json +1166 -0
- package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +4 -0
- package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.json +697 -0
- package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +1269 -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/PricingService.sol/PricingService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/PricingService.sol/PricingService.json +988 -0
- package/artifacts/contracts/instance/service/PricingServiceManager.sol/PricingServiceManager.dbg.json +4 -0
- package/artifacts/contracts/instance/service/PricingServiceManager.sol/PricingServiceManager.json +689 -0
- package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +872 -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 +15 -2
- package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
- package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +373 -61
- package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
- package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +223 -229
- 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 +333 -188
- 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 +227 -330
- package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
- package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +304 -138
- 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 +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 +40 -29
- package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +4 -0
- package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.json +129 -0
- package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
- package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +21 -34
- package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +4 -0
- package/artifacts/contracts/{experiment/inheritance/IB.sol/IB.json → shared/IRegistryLinked.sol/IRegistryLinked.json} +18 -20
- package/artifacts/contracts/shared/IService.sol/IService.dbg.json +4 -0
- package/artifacts/contracts/{components/BaseComponent.sol/BaseComponent.json → shared/IService.sol/IService.json} +98 -77
- 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 +120 -27
- 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 +1 -1
- package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +294 -61
- package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
- package/artifacts/contracts/shared/Registerable.sol/Registerable.json +129 -51
- 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/{instance/base/ComponentServiceBase.sol/ComponentServiceBase.json → shared/Service.sol/Service.json} +185 -170
- 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 +2 -2
- package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +1 -1
- package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +129 -51
- package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +1 -1
- package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +6 -6
- package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +1 -1
- package/artifacts/contracts/test/TestService.sol/TestService.json +210 -214
- package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +1 -1
- 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/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 +161 -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 +100 -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 +40 -9
- 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 +100 -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 +25 -7
- package/artifacts/contracts/types/UFixed.sol/MathLib.dbg.json +1 -1
- package/artifacts/contracts/types/UFixed.sol/MathLib.json +2 -2
- package/artifacts/contracts/types/UFixed.sol/UFixedLib.dbg.json +1 -1
- package/artifacts/contracts/types/UFixed.sol/UFixedLib.json +2 -2
- 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 +200 -86
- package/contracts/components/IComponent.sol +76 -0
- package/contracts/components/IDistributionComponent.sol +44 -16
- package/contracts/components/IPoolComponent.sol +88 -37
- package/contracts/components/IProductComponent.sol +10 -5
- package/contracts/components/Pool.sol +225 -181
- package/contracts/components/Product.sol +136 -137
- package/contracts/instance/AccessManagerUpgradeableInitializeable.sol +13 -0
- package/contracts/instance/BundleManager.sol +127 -0
- package/contracts/instance/Cloneable.sol +51 -0
- package/contracts/instance/IInstance.sol +45 -13
- package/contracts/instance/IInstanceService.sol +74 -7
- package/contracts/instance/Instance.sol +152 -361
- package/contracts/instance/InstanceAccessManager.sol +428 -176
- package/contracts/instance/InstanceAuthorizationsLib.sol +299 -0
- package/contracts/instance/InstanceReader.sol +49 -30
- package/contracts/instance/InstanceService.sol +274 -56
- package/contracts/instance/InstanceServiceManager.sol +11 -13
- package/contracts/instance/InstanceStore.sol +219 -0
- package/contracts/instance/ObjectManager.sol +82 -0
- package/contracts/instance/base/ComponentService.sol +147 -0
- package/contracts/instance/base/KeyValueStore.sol +13 -5
- package/contracts/instance/base/Lifecycle.sol +11 -2
- package/contracts/instance/module/IAccess.sol +36 -20
- 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 +30 -3
- package/contracts/instance/module/ISetup.sol +9 -19
- package/contracts/instance/service/ApplicationService.sol +183 -0
- package/contracts/instance/service/ApplicationServiceManager.sol +35 -0
- package/contracts/instance/service/BundleService.sol +431 -0
- package/contracts/instance/service/BundleServiceManager.sol +51 -0
- package/contracts/instance/service/ClaimService.sol +145 -0
- package/contracts/instance/service/ClaimServiceManager.sol +35 -0
- package/contracts/instance/service/DistributionService.sol +346 -0
- package/contracts/instance/service/DistributionServiceManager.sol +51 -0
- package/contracts/instance/service/IApplicationService.sol +64 -0
- package/contracts/instance/service/IBundleService.sol +94 -0
- package/contracts/instance/service/IClaimService.sol +61 -0
- package/contracts/instance/service/IDistributionService.sol +74 -1
- package/contracts/instance/service/IPolicyService.sol +74 -0
- package/contracts/instance/service/IPoolService.sol +80 -18
- package/contracts/instance/service/IPricingService.sol +36 -0
- package/contracts/instance/service/IProductService.sol +7 -74
- package/contracts/instance/service/PolicyService.sol +376 -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/PricingService.sol +275 -0
- package/contracts/instance/service/PricingServiceManager.sol +51 -0
- package/contracts/instance/service/ProductService.sol +210 -0
- package/contracts/instance/service/ProductServiceManager.sol +54 -0
- package/contracts/registry/ChainNft.sol +9 -1
- package/contracts/registry/IRegistry.sol +52 -8
- package/contracts/registry/IRegistryService.sol +53 -20
- package/contracts/registry/ITransferInterceptor.sol +1 -0
- package/contracts/registry/Registry.sol +270 -226
- package/contracts/registry/RegistryAccessManager.sol +216 -0
- package/contracts/registry/RegistryService.sol +118 -271
- package/contracts/registry/RegistryServiceManager.sol +24 -26
- package/contracts/registry/ReleaseManager.sol +324 -0
- package/contracts/registry/TokenRegistry.sol +116 -0
- package/contracts/shared/ERC165.sol +14 -8
- package/contracts/shared/INftOwnable.sol +11 -10
- package/contracts/shared/IPolicyHolder.sol +26 -0
- package/contracts/shared/IRegisterable.sol +4 -6
- package/contracts/shared/IRegistryLinked.sol +12 -0
- package/contracts/shared/IService.sol +16 -0
- package/contracts/shared/IVersionable.sol +4 -47
- package/contracts/shared/NftOwnable.sol +67 -83
- package/contracts/shared/PolicyHolder.sol +81 -0
- package/contracts/shared/ProxyManager.sol +100 -25
- package/contracts/shared/Registerable.sol +16 -31
- package/contracts/shared/RegistryLinked.sol +48 -0
- package/contracts/shared/Service.sol +72 -0
- package/contracts/shared/TokenHandler.sol +11 -5
- package/contracts/shared/Versionable.sol +4 -92
- package/contracts/test/TestRegisterable.sol +1 -1
- package/contracts/test/TestService.sol +6 -7
- package/contracts/types/Amount.sol +60 -0
- package/contracts/types/Blocknumber.sol +1 -0
- package/contracts/types/ClaimId.sol +52 -0
- package/contracts/types/DistributorType.sol +2 -2
- package/contracts/types/Fee.sol +13 -5
- package/contracts/types/NftId.sol +8 -0
- package/contracts/types/NftIdSet.sol +26 -24
- package/contracts/types/ObjectType.sol +14 -5
- package/contracts/types/PayoutId.sol +54 -0
- package/contracts/types/Referral.sol +4 -0
- package/contracts/types/RoleId.sol +26 -11
- package/contracts/types/Seconds.sol +54 -0
- package/contracts/types/StateId.sol +5 -0
- package/contracts/types/Timestamp.sol +13 -13
- package/contracts/types/UFixed.sol +1 -0
- package/contracts/types/Version.sol +5 -1
- package/package.json +3 -3
- package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.dbg.json +0 -4
- package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.dbg.json +0 -4
- package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.json +0 -267
- package/artifacts/contracts/experiment/cloning/Cloner.sol/Cloner.dbg.json +0 -4
- package/artifacts/contracts/experiment/cloning/Cloner.sol/Cloner.json +0 -66
- package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock1.dbg.json +0 -4
- package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock1.json +0 -24
- package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock2.dbg.json +0 -4
- package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock2.json +0 -42
- 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/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/experiment/types/TypeB.sol/TypeBLib.json +0 -10
- 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/ComponentServiceBase.sol/ComponentServiceBase.dbg.json +0 -4
- package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.dbg.json +0 -4
- package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.json +0 -113
- 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/instance/service/ComponentOwnerService.sol/ComponentOwnerService.dbg.json +0 -4
- package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.json +0 -827
- package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.dbg.json +0 -4
- package/contracts/components/BaseComponent.sol +0 -86
- package/contracts/components/IBaseComponent.sol +0 -24
- package/contracts/experiment/cloning/Cloner.sol +0 -47
- 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/ComponentServiceBase.sol +0 -49
- package/contracts/instance/base/IInstanceBase.sol +0 -23
- package/contracts/instance/base/IService.sol +0 -15
- package/contracts/instance/base/ServiceBase.sol +0 -44
- package/contracts/instance/service/ComponentOwnerService.sol +0 -317
- package/contracts/instance/service/IComponentOwnerService.sol +0 -20
@@ -1,97 +1,104 @@
|
|
1
1
|
{
|
2
2
|
"_format": "hh-sol-artifact-1",
|
3
|
-
"contractName": "
|
4
|
-
"sourceName": "contracts/instance/
|
3
|
+
"contractName": "IApplicationService",
|
4
|
+
"sourceName": "contracts/instance/service/IApplicationService.sol",
|
5
5
|
"abi": [
|
6
6
|
{
|
7
7
|
"inputs": [
|
8
8
|
{
|
9
9
|
"internalType": "address",
|
10
|
-
"name": "
|
10
|
+
"name": "authority",
|
11
11
|
"type": "address"
|
12
|
-
},
|
13
|
-
{
|
14
|
-
"internalType": "NftId",
|
15
|
-
"name": "nftId",
|
16
|
-
"type": "uint96"
|
17
12
|
}
|
18
13
|
],
|
19
|
-
"name": "
|
14
|
+
"name": "AccessManagedInvalidAuthority",
|
20
15
|
"type": "error"
|
21
16
|
},
|
22
17
|
{
|
23
18
|
"inputs": [
|
24
19
|
{
|
25
20
|
"internalType": "address",
|
26
|
-
"name": "
|
21
|
+
"name": "caller",
|
27
22
|
"type": "address"
|
23
|
+
},
|
24
|
+
{
|
25
|
+
"internalType": "uint32",
|
26
|
+
"name": "delay",
|
27
|
+
"type": "uint32"
|
28
28
|
}
|
29
29
|
],
|
30
|
-
"name": "
|
30
|
+
"name": "AccessManagedRequiredDelay",
|
31
31
|
"type": "error"
|
32
32
|
},
|
33
33
|
{
|
34
34
|
"inputs": [
|
35
35
|
{
|
36
36
|
"internalType": "address",
|
37
|
-
"name": "
|
37
|
+
"name": "caller",
|
38
38
|
"type": "address"
|
39
39
|
}
|
40
40
|
],
|
41
|
-
"name": "
|
41
|
+
"name": "AccessManagedUnauthorized",
|
42
42
|
"type": "error"
|
43
43
|
},
|
44
44
|
{
|
45
45
|
"inputs": [
|
46
46
|
{
|
47
|
-
"internalType": "
|
48
|
-
"name": "
|
49
|
-
"type": "
|
47
|
+
"internalType": "NftId",
|
48
|
+
"name": "nftId",
|
49
|
+
"type": "uint96"
|
50
50
|
}
|
51
51
|
],
|
52
|
-
"name": "
|
52
|
+
"name": "ErrorNftOwnableAlreadyLinked",
|
53
53
|
"type": "error"
|
54
54
|
},
|
55
55
|
{
|
56
56
|
"inputs": [
|
57
57
|
{
|
58
58
|
"internalType": "address",
|
59
|
-
"name": "
|
59
|
+
"name": "contractAddress",
|
60
60
|
"type": "address"
|
61
61
|
}
|
62
62
|
],
|
63
|
-
"name": "
|
63
|
+
"name": "ErrorNftOwnableContractNotRegistered",
|
64
64
|
"type": "error"
|
65
65
|
},
|
66
66
|
{
|
67
67
|
"inputs": [],
|
68
|
-
"name": "
|
68
|
+
"name": "ErrorNftOwnableInitialOwnerZero",
|
69
69
|
"type": "error"
|
70
70
|
},
|
71
71
|
{
|
72
72
|
"inputs": [
|
73
73
|
{
|
74
74
|
"internalType": "address",
|
75
|
-
"name": "
|
75
|
+
"name": "account",
|
76
76
|
"type": "address"
|
77
77
|
}
|
78
78
|
],
|
79
|
-
"name": "
|
80
|
-
"type": "error"
|
81
|
-
},
|
82
|
-
{
|
83
|
-
"inputs": [],
|
84
|
-
"name": "ErrorRegistryNotInitialized",
|
79
|
+
"name": "ErrorNftOwnableNotOwner",
|
85
80
|
"type": "error"
|
86
81
|
},
|
87
82
|
{
|
88
|
-
"inputs": [
|
89
|
-
|
83
|
+
"inputs": [
|
84
|
+
{
|
85
|
+
"internalType": "address",
|
86
|
+
"name": "registryAddress",
|
87
|
+
"type": "address"
|
88
|
+
}
|
89
|
+
],
|
90
|
+
"name": "ErrorNotRegistry",
|
90
91
|
"type": "error"
|
91
92
|
},
|
92
93
|
{
|
93
|
-
"inputs": [
|
94
|
-
|
94
|
+
"inputs": [
|
95
|
+
{
|
96
|
+
"internalType": "NftId",
|
97
|
+
"name": "applicationNftId",
|
98
|
+
"type": "uint96"
|
99
|
+
}
|
100
|
+
],
|
101
|
+
"name": "IApplicationServicePolicyNotApplied",
|
95
102
|
"type": "error"
|
96
103
|
},
|
97
104
|
{
|
@@ -99,50 +106,130 @@
|
|
99
106
|
"inputs": [
|
100
107
|
{
|
101
108
|
"indexed": false,
|
102
|
-
"internalType": "
|
103
|
-
"name": "
|
104
|
-
"type": "
|
109
|
+
"internalType": "address",
|
110
|
+
"name": "authority",
|
111
|
+
"type": "address"
|
105
112
|
}
|
106
113
|
],
|
107
|
-
"name": "
|
114
|
+
"name": "AuthorityUpdated",
|
108
115
|
"type": "event"
|
109
116
|
},
|
110
117
|
{
|
111
|
-
"anonymous": false,
|
112
118
|
"inputs": [
|
113
119
|
{
|
114
|
-
"
|
115
|
-
"
|
116
|
-
"
|
117
|
-
"type": "uint24"
|
120
|
+
"internalType": "NftId",
|
121
|
+
"name": "applicationNftId",
|
122
|
+
"type": "uint96"
|
118
123
|
},
|
119
124
|
{
|
120
|
-
"
|
125
|
+
"internalType": "RiskId",
|
126
|
+
"name": "riskId",
|
127
|
+
"type": "bytes8"
|
128
|
+
},
|
129
|
+
{
|
130
|
+
"internalType": "NftId",
|
131
|
+
"name": "bundleNftId",
|
132
|
+
"type": "uint96"
|
133
|
+
},
|
134
|
+
{
|
135
|
+
"internalType": "ReferralId",
|
136
|
+
"name": "referralId",
|
137
|
+
"type": "bytes8"
|
138
|
+
},
|
139
|
+
{
|
140
|
+
"internalType": "uint256",
|
141
|
+
"name": "sumInsuredAmount",
|
142
|
+
"type": "uint256"
|
143
|
+
},
|
144
|
+
{
|
145
|
+
"internalType": "uint256",
|
146
|
+
"name": "lifetime",
|
147
|
+
"type": "uint256"
|
148
|
+
},
|
149
|
+
{
|
150
|
+
"internalType": "bytes",
|
151
|
+
"name": "applicationData",
|
152
|
+
"type": "bytes"
|
153
|
+
}
|
154
|
+
],
|
155
|
+
"name": "adjust",
|
156
|
+
"outputs": [],
|
157
|
+
"stateMutability": "nonpayable",
|
158
|
+
"type": "function"
|
159
|
+
},
|
160
|
+
{
|
161
|
+
"inputs": [],
|
162
|
+
"name": "authority",
|
163
|
+
"outputs": [
|
164
|
+
{
|
121
165
|
"internalType": "address",
|
122
|
-
"name": "
|
166
|
+
"name": "",
|
123
167
|
"type": "address"
|
124
|
-
}
|
168
|
+
}
|
169
|
+
],
|
170
|
+
"stateMutability": "view",
|
171
|
+
"type": "function"
|
172
|
+
},
|
173
|
+
{
|
174
|
+
"inputs": [
|
125
175
|
{
|
126
|
-
"indexed": false,
|
127
176
|
"internalType": "address",
|
128
|
-
"name": "
|
177
|
+
"name": "applicationOwner",
|
129
178
|
"type": "address"
|
179
|
+
},
|
180
|
+
{
|
181
|
+
"internalType": "RiskId",
|
182
|
+
"name": "riskId",
|
183
|
+
"type": "bytes8"
|
184
|
+
},
|
185
|
+
{
|
186
|
+
"internalType": "uint256",
|
187
|
+
"name": "sumInsuredAmount",
|
188
|
+
"type": "uint256"
|
189
|
+
},
|
190
|
+
{
|
191
|
+
"internalType": "Seconds",
|
192
|
+
"name": "lifetime",
|
193
|
+
"type": "uint40"
|
194
|
+
},
|
195
|
+
{
|
196
|
+
"internalType": "NftId",
|
197
|
+
"name": "bundleNftId",
|
198
|
+
"type": "uint96"
|
199
|
+
},
|
200
|
+
{
|
201
|
+
"internalType": "ReferralId",
|
202
|
+
"name": "referralId",
|
203
|
+
"type": "bytes8"
|
204
|
+
},
|
205
|
+
{
|
206
|
+
"internalType": "bytes",
|
207
|
+
"name": "applicationData",
|
208
|
+
"type": "bytes"
|
130
209
|
}
|
131
210
|
],
|
132
|
-
"name": "
|
133
|
-
"
|
211
|
+
"name": "create",
|
212
|
+
"outputs": [
|
213
|
+
{
|
214
|
+
"internalType": "NftId",
|
215
|
+
"name": "applicationNftId",
|
216
|
+
"type": "uint96"
|
217
|
+
}
|
218
|
+
],
|
219
|
+
"stateMutability": "nonpayable",
|
220
|
+
"type": "function"
|
134
221
|
},
|
135
222
|
{
|
136
223
|
"inputs": [],
|
137
|
-
"name": "
|
224
|
+
"name": "getDomain",
|
138
225
|
"outputs": [
|
139
226
|
{
|
140
|
-
"internalType": "
|
141
|
-
"name": "",
|
142
|
-
"type": "
|
227
|
+
"internalType": "ObjectType",
|
228
|
+
"name": "serviceDomain",
|
229
|
+
"type": "uint8"
|
143
230
|
}
|
144
231
|
],
|
145
|
-
"stateMutability": "
|
232
|
+
"stateMutability": "pure",
|
146
233
|
"type": "function"
|
147
234
|
},
|
148
235
|
{
|
@@ -190,11 +277,6 @@
|
|
190
277
|
"internalType": "struct IRegistry.ObjectInfo",
|
191
278
|
"name": "",
|
192
279
|
"type": "tuple"
|
193
|
-
},
|
194
|
-
{
|
195
|
-
"internalType": "bytes",
|
196
|
-
"name": "data",
|
197
|
-
"type": "bytes"
|
198
280
|
}
|
199
281
|
],
|
200
282
|
"stateMutability": "view",
|
@@ -202,25 +284,12 @@
|
|
202
284
|
},
|
203
285
|
{
|
204
286
|
"inputs": [],
|
205
|
-
"name": "
|
287
|
+
"name": "getNftId",
|
206
288
|
"outputs": [
|
207
289
|
{
|
208
|
-
"internalType": "
|
290
|
+
"internalType": "NftId",
|
209
291
|
"name": "",
|
210
|
-
"type": "
|
211
|
-
}
|
212
|
-
],
|
213
|
-
"stateMutability": "view",
|
214
|
-
"type": "function"
|
215
|
-
},
|
216
|
-
{
|
217
|
-
"inputs": [],
|
218
|
-
"name": "getMajorVersion",
|
219
|
-
"outputs": [
|
220
|
-
{
|
221
|
-
"internalType": "VersionPart",
|
222
|
-
"name": "majorVersion",
|
223
|
-
"type": "uint8"
|
292
|
+
"type": "uint96"
|
224
293
|
}
|
225
294
|
],
|
226
295
|
"stateMutability": "view",
|
@@ -228,25 +297,12 @@
|
|
228
297
|
},
|
229
298
|
{
|
230
299
|
"inputs": [],
|
231
|
-
"name": "
|
232
|
-
"outputs": [
|
233
|
-
{
|
234
|
-
"internalType": "string",
|
235
|
-
"name": "name",
|
236
|
-
"type": "string"
|
237
|
-
}
|
238
|
-
],
|
239
|
-
"stateMutability": "pure",
|
240
|
-
"type": "function"
|
241
|
-
},
|
242
|
-
{
|
243
|
-
"inputs": [],
|
244
|
-
"name": "getNftId",
|
300
|
+
"name": "getOwner",
|
245
301
|
"outputs": [
|
246
302
|
{
|
247
|
-
"internalType": "
|
303
|
+
"internalType": "address",
|
248
304
|
"name": "",
|
249
|
-
"type": "
|
305
|
+
"type": "address"
|
250
306
|
}
|
251
307
|
],
|
252
308
|
"stateMutability": "view",
|
@@ -254,10 +310,10 @@
|
|
254
310
|
},
|
255
311
|
{
|
256
312
|
"inputs": [],
|
257
|
-
"name": "
|
313
|
+
"name": "getRegistry",
|
258
314
|
"outputs": [
|
259
315
|
{
|
260
|
-
"internalType": "
|
316
|
+
"internalType": "contract IRegistry",
|
261
317
|
"name": "",
|
262
318
|
"type": "address"
|
263
319
|
}
|
@@ -267,10 +323,10 @@
|
|
267
323
|
},
|
268
324
|
{
|
269
325
|
"inputs": [],
|
270
|
-
"name": "
|
326
|
+
"name": "getRegistryAddress",
|
271
327
|
"outputs": [
|
272
328
|
{
|
273
|
-
"internalType": "
|
329
|
+
"internalType": "address",
|
274
330
|
"name": "",
|
275
331
|
"type": "address"
|
276
332
|
}
|
@@ -294,100 +350,74 @@
|
|
294
350
|
{
|
295
351
|
"inputs": [
|
296
352
|
{
|
297
|
-
"internalType": "
|
298
|
-
"name": "
|
299
|
-
"type": "
|
300
|
-
}
|
301
|
-
],
|
302
|
-
"name": "getVersion",
|
303
|
-
"outputs": [
|
353
|
+
"internalType": "address",
|
354
|
+
"name": "activatedBy",
|
355
|
+
"type": "address"
|
356
|
+
},
|
304
357
|
{
|
305
|
-
"internalType": "
|
306
|
-
"name": "",
|
307
|
-
"type": "
|
358
|
+
"internalType": "bytes",
|
359
|
+
"name": "activationData",
|
360
|
+
"type": "bytes"
|
308
361
|
}
|
309
362
|
],
|
310
|
-
"
|
363
|
+
"name": "initializeVersionable",
|
364
|
+
"outputs": [],
|
365
|
+
"stateMutability": "nonpayable",
|
311
366
|
"type": "function"
|
312
367
|
},
|
313
368
|
{
|
314
369
|
"inputs": [],
|
315
|
-
"name": "
|
370
|
+
"name": "isConsumingScheduledOp",
|
316
371
|
"outputs": [
|
317
372
|
{
|
318
|
-
"internalType": "
|
373
|
+
"internalType": "bytes4",
|
319
374
|
"name": "",
|
320
|
-
"type": "
|
375
|
+
"type": "bytes4"
|
321
376
|
}
|
322
377
|
],
|
323
378
|
"stateMutability": "view",
|
324
379
|
"type": "function"
|
325
380
|
},
|
381
|
+
{
|
382
|
+
"inputs": [],
|
383
|
+
"name": "linkToRegisteredNftId",
|
384
|
+
"outputs": [],
|
385
|
+
"stateMutability": "nonpayable",
|
386
|
+
"type": "function"
|
387
|
+
},
|
326
388
|
{
|
327
389
|
"inputs": [
|
328
390
|
{
|
329
|
-
"internalType": "
|
330
|
-
"name": "
|
331
|
-
"type": "
|
391
|
+
"internalType": "NftId",
|
392
|
+
"name": "policyNftId",
|
393
|
+
"type": "uint96"
|
394
|
+
},
|
395
|
+
{
|
396
|
+
"internalType": "NftId",
|
397
|
+
"name": "bundleNftId",
|
398
|
+
"type": "uint96"
|
332
399
|
}
|
333
400
|
],
|
334
|
-
"name": "
|
401
|
+
"name": "renew",
|
335
402
|
"outputs": [
|
336
403
|
{
|
337
|
-
"
|
338
|
-
|
339
|
-
|
340
|
-
"name": "version",
|
341
|
-
"type": "uint24"
|
342
|
-
},
|
343
|
-
{
|
344
|
-
"internalType": "address",
|
345
|
-
"name": "implementation",
|
346
|
-
"type": "address"
|
347
|
-
},
|
348
|
-
{
|
349
|
-
"internalType": "address",
|
350
|
-
"name": "activatedBy",
|
351
|
-
"type": "address"
|
352
|
-
},
|
353
|
-
{
|
354
|
-
"internalType": "Timestamp",
|
355
|
-
"name": "activatedAt",
|
356
|
-
"type": "uint40"
|
357
|
-
},
|
358
|
-
{
|
359
|
-
"internalType": "Blocknumber",
|
360
|
-
"name": "activatedIn",
|
361
|
-
"type": "uint32"
|
362
|
-
}
|
363
|
-
],
|
364
|
-
"internalType": "struct IVersionable.VersionInfo",
|
365
|
-
"name": "",
|
366
|
-
"type": "tuple"
|
404
|
+
"internalType": "NftId",
|
405
|
+
"name": "applicationNftId",
|
406
|
+
"type": "uint96"
|
367
407
|
}
|
368
408
|
],
|
369
|
-
"stateMutability": "
|
409
|
+
"stateMutability": "nonpayable",
|
370
410
|
"type": "function"
|
371
411
|
},
|
372
412
|
{
|
373
413
|
"inputs": [
|
374
414
|
{
|
375
|
-
"internalType": "
|
376
|
-
"name": "
|
377
|
-
"type": "
|
378
|
-
},
|
379
|
-
{
|
380
|
-
"internalType": "address",
|
381
|
-
"name": "activatedBy",
|
382
|
-
"type": "address"
|
383
|
-
},
|
384
|
-
{
|
385
|
-
"internalType": "bytes",
|
386
|
-
"name": "data",
|
387
|
-
"type": "bytes"
|
415
|
+
"internalType": "NftId",
|
416
|
+
"name": "policyNftId",
|
417
|
+
"type": "uint96"
|
388
418
|
}
|
389
419
|
],
|
390
|
-
"name": "
|
420
|
+
"name": "revoke",
|
391
421
|
"outputs": [],
|
392
422
|
"stateMutability": "nonpayable",
|
393
423
|
"type": "function"
|
@@ -395,25 +425,12 @@
|
|
395
425
|
{
|
396
426
|
"inputs": [
|
397
427
|
{
|
398
|
-
"internalType": "
|
399
|
-
"name": "_version",
|
400
|
-
"type": "uint24"
|
401
|
-
}
|
402
|
-
],
|
403
|
-
"name": "isInitialized",
|
404
|
-
"outputs": [
|
405
|
-
{
|
406
|
-
"internalType": "bool",
|
428
|
+
"internalType": "address",
|
407
429
|
"name": "",
|
408
|
-
"type": "
|
430
|
+
"type": "address"
|
409
431
|
}
|
410
432
|
],
|
411
|
-
"
|
412
|
-
"type": "function"
|
413
|
-
},
|
414
|
-
{
|
415
|
-
"inputs": [],
|
416
|
-
"name": "linkToRegisteredNftId",
|
433
|
+
"name": "setAuthority",
|
417
434
|
"outputs": [],
|
418
435
|
"stateMutability": "nonpayable",
|
419
436
|
"type": "function"
|
@@ -439,23 +456,13 @@
|
|
439
456
|
},
|
440
457
|
{
|
441
458
|
"inputs": [
|
442
|
-
{
|
443
|
-
"internalType": "address",
|
444
|
-
"name": "implementation",
|
445
|
-
"type": "address"
|
446
|
-
},
|
447
|
-
{
|
448
|
-
"internalType": "address",
|
449
|
-
"name": "activatedBy",
|
450
|
-
"type": "address"
|
451
|
-
},
|
452
459
|
{
|
453
460
|
"internalType": "bytes",
|
454
|
-
"name": "
|
461
|
+
"name": "upgradeData",
|
455
462
|
"type": "bytes"
|
456
463
|
}
|
457
464
|
],
|
458
|
-
"name": "
|
465
|
+
"name": "upgradeVersionable",
|
459
466
|
"outputs": [],
|
460
467
|
"stateMutability": "nonpayable",
|
461
468
|
"type": "function"
|