@etherisc/gif-next 0.0.2-bfb44e0-483 → 0.0.2-c00cf5d-513
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +8 -84
- package/artifacts/contracts/distribution/Distribution.sol/Distribution.dbg.json +4 -0
- package/artifacts/contracts/{components → distribution}/Distribution.sol/Distribution.json +206 -244
- package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.dbg.json +4 -0
- package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.json +1583 -0
- package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +4 -0
- package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.json +855 -0
- package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.dbg.json +4 -0
- package/artifacts/contracts/{components → distribution}/IDistributionComponent.sol/IDistributionComponent.json +206 -156
- package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.dbg.json +4 -0
- package/artifacts/contracts/{instance/service → distribution}/IDistributionService.sol/IDistributionService.json +380 -196
- package/artifacts/contracts/instance/BundleManager.sol/BundleManager.dbg.json +1 -1
- package/artifacts/contracts/instance/BundleManager.sol/BundleManager.json +68 -54
- package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
- package/artifacts/contracts/instance/IInstance.sol/IInstance.json +277 -1998
- package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
- package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +172 -230
- package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
- package/artifacts/contracts/instance/Instance.sol/Instance.json +389 -2735
- package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.dbg.json +4 -0
- package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.json +692 -0
- package/artifacts/contracts/instance/InstanceAuthorizationsLib.sol/InstanceAuthorizationsLib.dbg.json +4 -0
- package/artifacts/contracts/instance/InstanceAuthorizationsLib.sol/InstanceAuthorizationsLib.json +188 -0
- package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +443 -255
- package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +217 -479
- package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +246 -129
- package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.dbg.json +4 -0
- package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.json +2847 -0
- package/artifacts/contracts/instance/base/Cloneable.sol/Cloneable.dbg.json +4 -0
- package/artifacts/contracts/instance/{Cloneable.sol → base/Cloneable.sol}/Cloneable.json +6 -1
- package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +1 -1
- package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.json +49 -0
- 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 +93 -14
- package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +1 -1
- package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +38 -13
- package/artifacts/contracts/instance/base/ObjectManager.sol/ObjectManager.dbg.json +4 -0
- package/artifacts/contracts/instance/base/ObjectManager.sol/ObjectManager.json +256 -0
- package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +1 -1
- package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +25 -150
- 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/pool/BundleService.sol/BundleService.dbg.json +4 -0
- package/artifacts/contracts/pool/BundleService.sol/BundleService.json +1307 -0
- package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.dbg.json +4 -0
- package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.json +767 -0
- package/artifacts/contracts/pool/IBundleService.sol/IBundleService.dbg.json +4 -0
- package/artifacts/contracts/{instance/service → pool}/IBundleService.sol/IBundleService.json +273 -336
- package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.dbg.json +4 -0
- package/artifacts/contracts/{components → pool}/IPoolComponent.sol/IPoolComponent.json +386 -185
- package/artifacts/contracts/pool/IPoolService.sol/IPoolService.dbg.json +4 -0
- package/artifacts/contracts/pool/IPoolService.sol/IPoolService.json +1077 -0
- package/artifacts/contracts/pool/Pool.sol/Pool.dbg.json +4 -0
- package/artifacts/contracts/{components → pool}/Pool.sol/Pool.json +363 -303
- package/artifacts/contracts/pool/PoolService.sol/PoolService.dbg.json +4 -0
- package/artifacts/contracts/pool/PoolService.sol/PoolService.json +1649 -0
- package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.dbg.json +4 -0
- package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.json +783 -0
- package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.dbg.json +4 -0
- package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.json +937 -0
- package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +4 -0
- package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.json +719 -0
- package/artifacts/contracts/product/ClaimService.sol/ClaimService.dbg.json +4 -0
- package/artifacts/contracts/product/ClaimService.sol/ClaimService.json +1405 -0
- package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +4 -0
- package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.json +819 -0
- package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.dbg.json +4 -0
- package/artifacts/contracts/{instance/service → product}/IApplicationService.sol/IApplicationService.json +109 -254
- package/artifacts/contracts/product/IClaimService.sol/IClaimService.dbg.json +4 -0
- package/artifacts/contracts/product/IClaimService.sol/IClaimService.json +753 -0
- package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.dbg.json +4 -0
- package/artifacts/contracts/{instance/service → product}/IPolicyService.sol/IPolicyService.json +174 -307
- package/artifacts/contracts/product/IPricingService.sol/IPricingService.dbg.json +4 -0
- package/artifacts/contracts/{instance/service/IPoolService.sol/IPoolService.json → product/IPricingService.sol/IPricingService.json} +235 -237
- package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.dbg.json +4 -0
- package/artifacts/contracts/{components → product}/IProductComponent.sol/IProductComponent.json +212 -164
- package/artifacts/contracts/product/IProductService.sol/IProductService.dbg.json +4 -0
- package/artifacts/contracts/{instance/service → product}/IProductService.sol/IProductService.json +67 -174
- package/artifacts/contracts/product/PolicyService.sol/PolicyService.dbg.json +4 -0
- package/artifacts/contracts/product/PolicyService.sol/PolicyService.json +1300 -0
- package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +4 -0
- package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.json +811 -0
- package/artifacts/contracts/product/PricingService.sol/PricingService.dbg.json +4 -0
- package/artifacts/contracts/product/PricingService.sol/PricingService.json +1023 -0
- package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.dbg.json +4 -0
- package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.json +759 -0
- package/artifacts/contracts/product/Product.sol/Product.dbg.json +4 -0
- package/artifacts/contracts/{components → product}/Product.sol/Product.json +166 -239
- package/artifacts/contracts/product/ProductService.sol/ProductService.dbg.json +4 -0
- package/artifacts/contracts/product/ProductService.sol/ProductService.json +891 -0
- package/artifacts/contracts/product/ProductServiceManager.sol/ProductServiceManager.dbg.json +4 -0
- package/artifacts/contracts/product/ProductServiceManager.sol/ProductServiceManager.json +715 -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 +123 -19
- package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
- package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +212 -240
- 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 +146 -34
- package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.dbg.json +4 -0
- package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.json +292 -0
- package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
- package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +245 -314
- package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
- package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +240 -123
- package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.dbg.json +1 -1
- package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.json +597 -86
- package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +1 -1
- package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +44 -92
- package/artifacts/contracts/shared/AccessManagerCustom.sol/AccessManagerCustom.dbg.json +4 -0
- package/artifacts/contracts/shared/AccessManagerCustom.sol/AccessManagerCustom.json +1193 -0
- package/artifacts/contracts/shared/AccessManagerExtended.sol/AccessManagerExtended.dbg.json +4 -0
- package/artifacts/contracts/shared/AccessManagerExtended.sol/AccessManagerExtended.json +1715 -0
- package/artifacts/contracts/shared/AccessManagerExtendedInitializeable.sol/AccessManagerExtendedInitializeable.dbg.json +4 -0
- package/artifacts/contracts/shared/AccessManagerExtendedInitializeable.sol/AccessManagerExtendedInitializeable.json +1728 -0
- package/artifacts/contracts/shared/AccessManagerExtendedWithDisable.sol/AccessManagerExtendedWithDisable.dbg.json +4 -0
- package/artifacts/contracts/shared/AccessManagerExtendedWithDisable.sol/AccessManagerExtendedWithDisable.json +1806 -0
- package/artifacts/contracts/shared/AccessManagerExtendedWithDisableInitializeable.sol/AccessManagerExtendedWithDisableInitializeable.dbg.json +4 -0
- package/artifacts/contracts/shared/AccessManagerExtendedWithDisableInitializeable.sol/AccessManagerExtendedWithDisableInitializeable.json +1824 -0
- package/artifacts/contracts/shared/Component.sol/Component.dbg.json +4 -0
- package/artifacts/contracts/{components → shared}/Component.sol/Component.json +146 -151
- package/artifacts/contracts/shared/ComponentService.sol/ComponentService.dbg.json +4 -0
- package/artifacts/contracts/{instance/base → shared}/ComponentService.sol/ComponentService.json +118 -222
- package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +1 -1
- package/artifacts/contracts/shared/ERC165.sol/ERC165.json +2 -2
- package/artifacts/contracts/shared/IAccessManagerExtended.sol/IAccessManagerExtended.dbg.json +4 -0
- package/artifacts/contracts/shared/IAccessManagerExtended.sol/IAccessManagerExtended.json +1562 -0
- package/artifacts/contracts/shared/IAccessManagerExtendedWithDisable.sol/IAccessManagerExtendedWithDisable.dbg.json +4 -0
- package/artifacts/contracts/shared/IAccessManagerExtendedWithDisable.sol/IAccessManagerExtendedWithDisable.json +1600 -0
- package/artifacts/contracts/shared/IComponent.sol/IComponent.dbg.json +4 -0
- package/artifacts/contracts/{components → shared}/IComponent.sol/IComponent.json +190 -74
- package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
- package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +4 -43
- package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +1 -1
- package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.json +69 -9
- package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
- package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +4 -43
- package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +1 -1
- package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.json +0 -34
- package/artifacts/contracts/shared/IService.sol/IService.dbg.json +1 -1
- package/artifacts/contracts/shared/IService.sol/IService.json +66 -173
- package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +1 -1
- package/artifacts/contracts/shared/IVersionable.sol/IVersionable.json +0 -150
- package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
- package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +19 -91
- package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +1 -1
- package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +80 -47
- package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +1 -1
- package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +226 -95
- package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
- package/artifacts/contracts/shared/Registerable.sol/Registerable.json +32 -89
- package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +1 -1
- package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +2 -36
- package/artifacts/contracts/shared/Service.sol/Service.dbg.json +1 -1
- package/artifacts/contracts/shared/Service.sol/Service.json +92 -212
- package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
- package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +24 -6
- 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 +0 -150
- package/artifacts/contracts/staking/IStakingService.sol/IStakingService.dbg.json +4 -0
- package/artifacts/contracts/staking/IStakingService.sol/IStakingService.json +523 -0
- package/artifacts/contracts/staking/StakingService.sol/StakingService.dbg.json +4 -0
- package/artifacts/contracts/staking/StakingService.sol/StakingService.json +786 -0
- package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.dbg.json +4 -0
- package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.json +699 -0
- package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.dbg.json +4 -0
- package/artifacts/contracts/{types → type}/AddressSet.sol/LibAddressSet.json +3 -3
- package/artifacts/contracts/type/Amount.sol/AmountLib.dbg.json +4 -0
- package/artifacts/contracts/type/Amount.sol/AmountLib.json +281 -0
- package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.dbg.json +4 -0
- package/artifacts/contracts/{types → type}/Blocknumber.sol/BlocknumberLib.json +3 -3
- package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.dbg.json +4 -0
- package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.json +179 -0
- package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.dbg.json +4 -0
- package/artifacts/contracts/{types → type}/DistributorType.sol/DistributorTypeLib.json +5 -5
- package/artifacts/contracts/type/Fee.sol/FeeLib.dbg.json +4 -0
- package/artifacts/contracts/type/Fee.sol/FeeLib.json +312 -0
- package/artifacts/contracts/type/Key32.sol/Key32Lib.dbg.json +4 -0
- package/artifacts/contracts/{types → type}/Key32.sol/Key32Lib.json +3 -3
- package/artifacts/contracts/type/NftId.sol/NftIdLib.dbg.json +4 -0
- package/artifacts/contracts/type/NftId.sol/NftIdLib.json +166 -0
- package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.dbg.json +4 -0
- package/artifacts/contracts/{types → type}/NftIdSet.sol/LibNftIdSet.json +3 -3
- package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.dbg.json +4 -0
- package/artifacts/contracts/{types → type}/ObjectType.sol/ObjectTypeLib.json +3 -3
- package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.dbg.json +4 -0
- package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.json +209 -0
- package/artifacts/contracts/type/Referral.sol/ReferralLib.dbg.json +4 -0
- package/artifacts/contracts/type/Referral.sol/ReferralLib.json +142 -0
- package/artifacts/contracts/type/RiskId.sol/RiskIdLib.dbg.json +4 -0
- package/artifacts/contracts/{types → type}/RiskId.sol/RiskIdLib.json +5 -5
- package/artifacts/contracts/type/RoleId.sol/RoleIdLib.dbg.json +4 -0
- package/artifacts/contracts/{types → type}/RoleId.sol/RoleIdLib.json +5 -5
- package/artifacts/contracts/type/Seconds.sol/SecondsLib.dbg.json +4 -0
- package/artifacts/contracts/type/Seconds.sol/SecondsLib.json +124 -0
- package/artifacts/contracts/type/StateId.sol/StateIdLib.dbg.json +4 -0
- package/artifacts/contracts/{types → type}/StateId.sol/StateIdLib.json +3 -3
- package/artifacts/contracts/type/Timestamp.sol/TimestampLib.dbg.json +4 -0
- package/artifacts/contracts/{types → type}/Timestamp.sol/TimestampLib.json +39 -8
- package/artifacts/contracts/type/UFixed.sol/MathLib.dbg.json +4 -0
- package/artifacts/contracts/{types → type}/UFixed.sol/MathLib.json +3 -3
- package/artifacts/contracts/type/UFixed.sol/UFixedLib.dbg.json +4 -0
- package/artifacts/contracts/{types → type}/UFixed.sol/UFixedLib.json +3 -3
- package/artifacts/contracts/type/Version.sol/VersionLib.dbg.json +4 -0
- package/artifacts/contracts/{types → type}/Version.sol/VersionLib.json +3 -3
- package/artifacts/contracts/type/Version.sol/VersionPartLib.dbg.json +4 -0
- package/artifacts/contracts/{types → type}/Version.sol/VersionPartLib.json +3 -3
- package/contracts/{components → distribution}/Distribution.sol +47 -60
- package/contracts/distribution/DistributionService.sol +351 -0
- package/contracts/distribution/DistributionServiceManager.sol +42 -0
- package/contracts/{components → distribution}/IDistributionComponent.sol +8 -37
- package/contracts/distribution/IDistributionService.sol +87 -0
- package/contracts/instance/BundleManager.sol +15 -14
- package/contracts/instance/IInstance.sol +52 -59
- package/contracts/instance/IInstanceService.sol +32 -19
- package/contracts/instance/Instance.sol +138 -185
- package/contracts/instance/InstanceAdmin.sol +330 -0
- package/contracts/instance/InstanceAuthorizationsLib.sol +320 -0
- package/contracts/instance/InstanceReader.sol +101 -26
- package/contracts/instance/InstanceService.sol +173 -307
- package/contracts/instance/InstanceServiceManager.sol +12 -22
- package/contracts/instance/InstanceStore.sol +211 -0
- package/contracts/instance/{Cloneable.sol → base/Cloneable.sol} +8 -3
- package/contracts/instance/base/IKeyValueStore.sol +14 -10
- package/contracts/instance/base/ILifecycle.sol +3 -3
- package/contracts/instance/base/KeyValueStore.sol +44 -47
- package/contracts/instance/base/Lifecycle.sol +28 -7
- package/contracts/instance/{ObjectManager.sol → base/ObjectManager.sol} +12 -14
- package/contracts/instance/module/IAccess.sol +19 -20
- package/contracts/instance/module/IBundle.sol +11 -8
- package/contracts/instance/module/IComponents.sol +41 -0
- package/contracts/instance/module/IDistribution.sol +7 -4
- package/contracts/instance/module/IPolicy.sol +50 -17
- package/contracts/instance/module/IRisk.sol +1 -1
- package/contracts/instance/module/ISetup.sol +9 -23
- package/contracts/instance/module/ITreasury.sol +2 -2
- package/contracts/pool/BundleService.sol +384 -0
- package/contracts/pool/BundleServiceManager.sol +42 -0
- package/contracts/pool/IBundleService.sol +118 -0
- package/contracts/pool/IPoolComponent.sol +114 -0
- package/contracts/pool/IPoolService.sol +114 -0
- package/contracts/pool/Pool.sol +302 -0
- package/contracts/pool/PoolService.sol +404 -0
- package/contracts/pool/PoolServiceManager.sol +42 -0
- package/contracts/product/ApplicationService.sol +187 -0
- package/contracts/product/ApplicationServiceManager.sol +38 -0
- package/contracts/product/ClaimService.sol +443 -0
- package/contracts/product/ClaimServiceManager.sol +38 -0
- package/contracts/{instance/service → product}/IApplicationService.sol +16 -36
- package/contracts/product/IClaimService.sol +93 -0
- package/contracts/product/IPolicyService.sol +80 -0
- package/contracts/product/IPricingService.sol +37 -0
- package/contracts/{components → product}/IProductComponent.sol +13 -11
- package/contracts/{instance/service → product}/IProductService.sol +10 -10
- package/contracts/product/PolicyService.sol +378 -0
- package/contracts/product/PolicyServiceManager.sol +42 -0
- package/contracts/product/PricingService.sol +276 -0
- package/contracts/product/PricingServiceManager.sol +42 -0
- package/contracts/{components → product}/Product.sol +186 -85
- package/contracts/product/ProductService.sol +212 -0
- package/contracts/product/ProductServiceManager.sol +42 -0
- package/contracts/registry/ChainNft.sol +8 -0
- package/contracts/registry/IRegistry.sol +31 -17
- package/contracts/registry/IRegistryService.sol +32 -38
- package/contracts/registry/ITransferInterceptor.sol +1 -0
- package/contracts/registry/Registry.sol +70 -67
- package/contracts/registry/RegistryAdmin.sol +141 -0
- package/contracts/registry/RegistryService.sol +65 -94
- package/contracts/registry/RegistryServiceManager.sol +22 -24
- package/contracts/registry/ReleaseManager.sol +318 -188
- package/contracts/registry/TokenRegistry.sol +19 -14
- package/contracts/shared/AccessManagerCustom.sol +736 -0
- package/contracts/shared/AccessManagerExtended.sol +469 -0
- package/contracts/shared/AccessManagerExtendedInitializeable.sol +13 -0
- package/contracts/shared/AccessManagerExtendedWithDisable.sol +137 -0
- package/contracts/shared/AccessManagerExtendedWithDisableInitializeable.sol +14 -0
- package/contracts/{components → shared}/Component.sol +121 -86
- package/contracts/shared/ComponentService.sol +142 -0
- package/contracts/shared/ERC165.sol +2 -1
- package/contracts/shared/IAccessManagerExtended.sol +74 -0
- package/contracts/shared/IAccessManagerExtendedWithDisable.sol +18 -0
- package/contracts/shared/IComponent.sol +90 -0
- package/contracts/shared/INftOwnable.sol +5 -10
- package/contracts/shared/IPolicyHolder.sol +24 -10
- package/contracts/shared/IRegistryLinked.sol +0 -4
- package/contracts/shared/IService.sol +6 -4
- package/contracts/shared/IVersionable.sol +5 -48
- package/contracts/shared/NftOwnable.sol +20 -93
- package/contracts/shared/PolicyHolder.sol +31 -18
- package/contracts/shared/ProxyManager.sol +129 -24
- package/contracts/shared/Registerable.sol +14 -20
- package/contracts/shared/RegistryLinked.sol +5 -26
- package/contracts/shared/Service.sol +30 -18
- package/contracts/shared/TokenHandler.sol +14 -6
- package/contracts/shared/Versionable.sol +1 -90
- package/contracts/staking/IStakingService.sol +102 -0
- package/contracts/staking/StakingService.sol +169 -0
- package/contracts/staking/StakingServiceManager.sol +40 -0
- package/contracts/type/Amount.sol +109 -0
- package/contracts/{types → type}/Blocknumber.sol +1 -0
- package/contracts/type/ClaimId.sol +75 -0
- package/contracts/{types → type}/Fee.sol +17 -8
- package/contracts/{types → type}/NftId.sol +8 -0
- package/contracts/{types → type}/NftIdSet.sol +1 -1
- package/contracts/{types → type}/ObjectType.sol +13 -7
- package/contracts/type/PayoutId.sol +82 -0
- package/contracts/{types → type}/Referral.sol +4 -0
- package/contracts/{types → type}/RoleId.sol +62 -13
- package/contracts/type/Seconds.sol +54 -0
- package/contracts/{types → type}/StateId.sol +7 -2
- package/contracts/{types → type}/Timestamp.sol +18 -13
- package/contracts/{types → type}/UFixed.sol +1 -0
- package/contracts/{types → type}/Version.sol +1 -0
- package/package.json +1 -1
- package/artifacts/contracts/components/Component.sol/Component.dbg.json +0 -4
- package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +0 -4
- package/artifacts/contracts/components/IComponent.sol/IComponent.dbg.json +0 -4
- package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +0 -4
- package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +0 -4
- package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +0 -4
- package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +0 -4
- package/artifacts/contracts/components/Product.sol/Product.dbg.json +0 -4
- 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/IB.sol/IB.json +0 -50
- package/artifacts/contracts/experiment/inheritance/IC.sol/IC.dbg.json +0 -4
- package/artifacts/contracts/experiment/inheritance/IC.sol/IC.json +0 -63
- package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.dbg.json +0 -4
- package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.json +0 -59
- package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.dbg.json +0 -4
- package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.json +0 -124
- package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.dbg.json +0 -4
- package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.json +0 -74
- package/artifacts/contracts/experiment/statemachine/SM.sol/SM.dbg.json +0 -4
- package/artifacts/contracts/experiment/statemachine/SM.sol/SM.json +0 -124
- package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.dbg.json +0 -4
- package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.json +0 -207
- package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.dbg.json +0 -4
- package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.json +0 -10
- package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.dbg.json +0 -4
- package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.json +0 -10
- package/artifacts/contracts/instance/Cloneable.sol/Cloneable.dbg.json +0 -4
- package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +0 -4
- package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +0 -984
- package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.dbg.json +0 -4
- package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.json +0 -261
- package/artifacts/contracts/instance/base/ComponentService.sol/ComponentService.dbg.json +0 -4
- package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.dbg.json +0 -4
- package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.json +0 -1117
- package/artifacts/contracts/instance/service/BundleService.sol/BundleService.dbg.json +0 -4
- package/artifacts/contracts/instance/service/BundleService.sol/BundleService.json +0 -1318
- package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.dbg.json +0 -4
- package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.json +0 -586
- package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +0 -4
- package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +0 -1176
- package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +0 -4
- package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.json +0 -602
- package/artifacts/contracts/instance/service/IApplicationService.sol/IApplicationService.dbg.json +0 -4
- package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.dbg.json +0 -4
- package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +0 -4
- package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.dbg.json +0 -4
- package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +0 -4
- package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +0 -4
- package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.dbg.json +0 -4
- package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.json +0 -1378
- package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +0 -4
- package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.json +0 -642
- package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +0 -4
- package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +0 -957
- package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.dbg.json +0 -4
- package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.json +0 -574
- package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +0 -4
- package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +0 -1007
- package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.dbg.json +0 -4
- package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.json +0 -574
- package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.dbg.json +0 -4
- package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.json +0 -285
- package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.dbg.json +0 -4
- package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.json +0 -107
- package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +0 -4
- package/artifacts/contracts/test/TestFee.sol/TestFee.json +0 -119
- package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +0 -4
- package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +0 -446
- package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +0 -4
- package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +0 -116
- package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +0 -4
- package/artifacts/contracts/test/TestService.sol/TestService.json +0 -759
- package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +0 -4
- package/artifacts/contracts/test/TestToken.sol/TestUsdc.json +0 -376
- package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +0 -4
- package/artifacts/contracts/test/TestVersion.sol/TestVersion.json +0 -218
- package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +0 -4
- package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +0 -286
- package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +0 -4
- package/artifacts/contracts/test/Usdc.sol/USDC.json +0 -376
- package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +0 -4
- package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +0 -4
- package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +0 -4
- package/artifacts/contracts/types/ChainId.sol/ChainIdLib.json +0 -10
- package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.dbg.json +0 -4
- package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +0 -4
- package/artifacts/contracts/types/Fee.sol/FeeLib.json +0 -257
- package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +0 -4
- package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +0 -4
- package/artifacts/contracts/types/NftId.sol/NftIdLib.json +0 -153
- package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +0 -4
- package/artifacts/contracts/types/NumberId.sol/NumberIdLib.dbg.json +0 -4
- package/artifacts/contracts/types/NumberId.sol/NumberIdLib.json +0 -100
- package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +0 -4
- package/artifacts/contracts/types/Referral.sol/ReferralLib.dbg.json +0 -4
- package/artifacts/contracts/types/Referral.sol/ReferralLib.json +0 -123
- package/artifacts/contracts/types/RiskId.sol/RiskIdLib.dbg.json +0 -4
- package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +0 -4
- package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +0 -4
- package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +0 -4
- package/artifacts/contracts/types/UFixed.sol/MathLib.dbg.json +0 -4
- package/artifacts/contracts/types/UFixed.sol/UFixedLib.dbg.json +0 -4
- package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +0 -4
- package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +0 -4
- package/contracts/components/IComponent.sol +0 -50
- package/contracts/components/IPoolComponent.sol +0 -87
- package/contracts/components/Pool.sol +0 -254
- 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/InstanceAccessManager.sol +0 -297
- package/contracts/instance/base/ComponentService.sol +0 -134
- package/contracts/instance/service/ApplicationService.sol +0 -268
- package/contracts/instance/service/BundleService.sol +0 -298
- package/contracts/instance/service/BundleServiceManager.sol +0 -51
- package/contracts/instance/service/DistributionService.sol +0 -274
- package/contracts/instance/service/DistributionServiceManager.sol +0 -51
- package/contracts/instance/service/IBundleService.sol +0 -54
- package/contracts/instance/service/IDistributionService.sol +0 -65
- package/contracts/instance/service/IPolicyService.sol +0 -88
- package/contracts/instance/service/IPoolService.sol +0 -20
- package/contracts/instance/service/PolicyService.sol +0 -524
- package/contracts/instance/service/PolicyServiceManager.sol +0 -54
- package/contracts/instance/service/PoolService.sol +0 -109
- package/contracts/instance/service/PoolServiceManager.sol +0 -51
- package/contracts/instance/service/ProductService.sol +0 -233
- package/contracts/instance/service/ProductServiceManager.sol +0 -54
- package/contracts/registry/RegistryAccessManager.sol +0 -216
- package/contracts/shared/ContractDeployerLib.sol +0 -72
- package/contracts/test/TestFee.sol +0 -25
- package/contracts/test/TestRegisterable.sol +0 -18
- package/contracts/test/TestRoleId.sol +0 -14
- package/contracts/test/TestService.sol +0 -25
- package/contracts/test/TestToken.sol +0 -26
- package/contracts/test/TestVersion.sol +0 -44
- package/contracts/test/TestVersionable.sol +0 -17
- package/contracts/test/Usdc.sol +0 -26
- package/contracts/types/ChainId.sol +0 -38
- package/contracts/types/NumberId.sol +0 -52
- /package/contracts/{types → type}/AddressSet.sol +0 -0
- /package/contracts/{types → type}/DistributorType.sol +0 -0
- /package/contracts/{types → type}/Key32.sol +0 -0
- /package/contracts/{types → type}/RiskId.sol +0 -0
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"_format": "hh-sol-artifact-1",
|
3
3
|
"contractName": "Product",
|
4
|
-
"sourceName": "contracts/
|
4
|
+
"sourceName": "contracts/product/Product.sol",
|
5
5
|
"abi": [
|
6
6
|
{
|
7
7
|
"inputs": [
|
@@ -63,22 +63,6 @@
|
|
63
63
|
"name": "AddressInsufficientBalance",
|
64
64
|
"type": "error"
|
65
65
|
},
|
66
|
-
{
|
67
|
-
"inputs": [
|
68
|
-
{
|
69
|
-
"internalType": "address",
|
70
|
-
"name": "registry",
|
71
|
-
"type": "address"
|
72
|
-
},
|
73
|
-
{
|
74
|
-
"internalType": "NftId",
|
75
|
-
"name": "nftId",
|
76
|
-
"type": "uint96"
|
77
|
-
}
|
78
|
-
],
|
79
|
-
"name": "ErrorAlreadyLinked",
|
80
|
-
"type": "error"
|
81
|
-
},
|
82
66
|
{
|
83
67
|
"inputs": [
|
84
68
|
{
|
@@ -96,11 +80,6 @@
|
|
96
80
|
"internalType": "NftId",
|
97
81
|
"name": "instanceNftId",
|
98
82
|
"type": "uint96"
|
99
|
-
},
|
100
|
-
{
|
101
|
-
"internalType": "address",
|
102
|
-
"name": "instance",
|
103
|
-
"type": "address"
|
104
83
|
}
|
105
84
|
],
|
106
85
|
"name": "ErrorComponentNotInstance",
|
@@ -123,29 +102,7 @@
|
|
123
102
|
"type": "error"
|
124
103
|
},
|
125
104
|
{
|
126
|
-
"inputs": [
|
127
|
-
{
|
128
|
-
"internalType": "address",
|
129
|
-
"name": "caller",
|
130
|
-
"type": "address"
|
131
|
-
},
|
132
|
-
{
|
133
|
-
"internalType": "uint64",
|
134
|
-
"name": "requiredRoleIdNum",
|
135
|
-
"type": "uint64"
|
136
|
-
}
|
137
|
-
],
|
138
|
-
"name": "ErrorComponentUnauthorized",
|
139
|
-
"type": "error"
|
140
|
-
},
|
141
|
-
{
|
142
|
-
"inputs": [
|
143
|
-
{
|
144
|
-
"internalType": "address",
|
145
|
-
"name": "newWallet",
|
146
|
-
"type": "address"
|
147
|
-
}
|
148
|
-
],
|
105
|
+
"inputs": [],
|
149
106
|
"name": "ErrorComponentWalletAddressIsSameAsCurrent",
|
150
107
|
"type": "error"
|
151
108
|
},
|
@@ -180,74 +137,58 @@
|
|
180
137
|
"name": "ErrorComponentWalletAllowanceTooSmall",
|
181
138
|
"type": "error"
|
182
139
|
},
|
183
|
-
{
|
184
|
-
"inputs": [
|
185
|
-
{
|
186
|
-
"internalType": "address",
|
187
|
-
"name": "contractAddress",
|
188
|
-
"type": "address"
|
189
|
-
}
|
190
|
-
],
|
191
|
-
"name": "ErrorContractNotRegistered",
|
192
|
-
"type": "error"
|
193
|
-
},
|
194
140
|
{
|
195
141
|
"inputs": [],
|
196
|
-
"name": "
|
142
|
+
"name": "ErrorComponentWalletNotComponent",
|
197
143
|
"type": "error"
|
198
144
|
},
|
199
145
|
{
|
200
146
|
"inputs": [
|
201
147
|
{
|
202
|
-
"internalType": "
|
203
|
-
"name": "
|
204
|
-
"type": "
|
148
|
+
"internalType": "NftId",
|
149
|
+
"name": "nftId",
|
150
|
+
"type": "uint96"
|
205
151
|
}
|
206
152
|
],
|
207
|
-
"name": "
|
153
|
+
"name": "ErrorNftOwnableAlreadyLinked",
|
208
154
|
"type": "error"
|
209
155
|
},
|
210
156
|
{
|
211
157
|
"inputs": [
|
212
158
|
{
|
213
159
|
"internalType": "address",
|
214
|
-
"name": "
|
160
|
+
"name": "contractAddress",
|
215
161
|
"type": "address"
|
216
162
|
}
|
217
163
|
],
|
218
|
-
"name": "
|
164
|
+
"name": "ErrorNftOwnableContractNotRegistered",
|
165
|
+
"type": "error"
|
166
|
+
},
|
167
|
+
{
|
168
|
+
"inputs": [],
|
169
|
+
"name": "ErrorNftOwnableInitialOwnerZero",
|
219
170
|
"type": "error"
|
220
171
|
},
|
221
172
|
{
|
222
173
|
"inputs": [
|
223
174
|
{
|
224
175
|
"internalType": "address",
|
225
|
-
"name": "
|
176
|
+
"name": "account",
|
226
177
|
"type": "address"
|
227
178
|
}
|
228
179
|
],
|
229
|
-
"name": "
|
230
|
-
"type": "error"
|
231
|
-
},
|
232
|
-
{
|
233
|
-
"inputs": [],
|
234
|
-
"name": "ErrorRegistryAddressZero",
|
180
|
+
"name": "ErrorNftOwnableNotOwner",
|
235
181
|
"type": "error"
|
236
182
|
},
|
237
183
|
{
|
238
184
|
"inputs": [
|
239
185
|
{
|
240
186
|
"internalType": "address",
|
241
|
-
"name": "
|
187
|
+
"name": "registryAddress",
|
242
188
|
"type": "address"
|
243
189
|
}
|
244
190
|
],
|
245
|
-
"name": "
|
246
|
-
"type": "error"
|
247
|
-
},
|
248
|
-
{
|
249
|
-
"inputs": [],
|
250
|
-
"name": "ErrorRegistryNotInitialized",
|
191
|
+
"name": "ErrorNotRegistry",
|
251
192
|
"type": "error"
|
252
193
|
},
|
253
194
|
{
|
@@ -302,9 +243,28 @@
|
|
302
243
|
"name": "Initialized",
|
303
244
|
"type": "event"
|
304
245
|
},
|
246
|
+
{
|
247
|
+
"anonymous": false,
|
248
|
+
"inputs": [
|
249
|
+
{
|
250
|
+
"indexed": false,
|
251
|
+
"internalType": "uint256",
|
252
|
+
"name": "limit",
|
253
|
+
"type": "uint256"
|
254
|
+
}
|
255
|
+
],
|
256
|
+
"name": "LogComponentTokenHandlerApproved",
|
257
|
+
"type": "event"
|
258
|
+
},
|
305
259
|
{
|
306
260
|
"anonymous": false,
|
307
261
|
"inputs": [
|
262
|
+
{
|
263
|
+
"indexed": false,
|
264
|
+
"internalType": "address",
|
265
|
+
"name": "oldWallet",
|
266
|
+
"type": "address"
|
267
|
+
},
|
308
268
|
{
|
309
269
|
"indexed": false,
|
310
270
|
"internalType": "address",
|
@@ -342,7 +302,7 @@
|
|
342
302
|
},
|
343
303
|
{
|
344
304
|
"inputs": [],
|
345
|
-
"name": "
|
305
|
+
"name": "COMPONENT_LOCATION_V1",
|
346
306
|
"outputs": [
|
347
307
|
{
|
348
308
|
"internalType": "bytes32",
|
@@ -392,6 +352,19 @@
|
|
392
352
|
"stateMutability": "view",
|
393
353
|
"type": "function"
|
394
354
|
},
|
355
|
+
{
|
356
|
+
"inputs": [
|
357
|
+
{
|
358
|
+
"internalType": "uint256",
|
359
|
+
"name": "spendingLimitAmount",
|
360
|
+
"type": "uint256"
|
361
|
+
}
|
362
|
+
],
|
363
|
+
"name": "approveTokenHandler",
|
364
|
+
"outputs": [],
|
365
|
+
"stateMutability": "nonpayable",
|
366
|
+
"type": "function"
|
367
|
+
},
|
395
368
|
{
|
396
369
|
"inputs": [],
|
397
370
|
"name": "authority",
|
@@ -408,9 +381,9 @@
|
|
408
381
|
{
|
409
382
|
"inputs": [
|
410
383
|
{
|
411
|
-
"internalType": "
|
384
|
+
"internalType": "Amount",
|
412
385
|
"name": "sumInsuredAmount",
|
413
|
-
"type": "
|
386
|
+
"type": "uint96"
|
414
387
|
},
|
415
388
|
{
|
416
389
|
"internalType": "RiskId",
|
@@ -418,9 +391,9 @@
|
|
418
391
|
"type": "bytes8"
|
419
392
|
},
|
420
393
|
{
|
421
|
-
"internalType": "
|
394
|
+
"internalType": "Seconds",
|
422
395
|
"name": "lifetime",
|
423
|
-
"type": "
|
396
|
+
"type": "uint40"
|
424
397
|
},
|
425
398
|
{
|
426
399
|
"internalType": "bytes",
|
@@ -431,9 +404,9 @@
|
|
431
404
|
"name": "calculateNetPremium",
|
432
405
|
"outputs": [
|
433
406
|
{
|
434
|
-
"internalType": "
|
407
|
+
"internalType": "Amount",
|
435
408
|
"name": "netPremiumAmount",
|
436
|
-
"type": "
|
409
|
+
"type": "uint96"
|
437
410
|
}
|
438
411
|
],
|
439
412
|
"stateMutability": "view",
|
@@ -442,9 +415,9 @@
|
|
442
415
|
{
|
443
416
|
"inputs": [
|
444
417
|
{
|
445
|
-
"internalType": "
|
418
|
+
"internalType": "Amount",
|
446
419
|
"name": "sumInsuredAmount",
|
447
|
-
"type": "
|
420
|
+
"type": "uint96"
|
448
421
|
},
|
449
422
|
{
|
450
423
|
"internalType": "RiskId",
|
@@ -452,9 +425,9 @@
|
|
452
425
|
"type": "bytes8"
|
453
426
|
},
|
454
427
|
{
|
455
|
-
"internalType": "
|
428
|
+
"internalType": "Seconds",
|
456
429
|
"name": "lifetime",
|
457
|
-
"type": "
|
430
|
+
"type": "uint40"
|
458
431
|
},
|
459
432
|
{
|
460
433
|
"internalType": "bytes",
|
@@ -475,9 +448,59 @@
|
|
475
448
|
"name": "calculatePremium",
|
476
449
|
"outputs": [
|
477
450
|
{
|
478
|
-
"internalType": "
|
451
|
+
"internalType": "Amount",
|
479
452
|
"name": "premiumAmount",
|
480
|
-
"type": "
|
453
|
+
"type": "uint96"
|
454
|
+
}
|
455
|
+
],
|
456
|
+
"stateMutability": "view",
|
457
|
+
"type": "function"
|
458
|
+
},
|
459
|
+
{
|
460
|
+
"inputs": [],
|
461
|
+
"name": "getComponentInfo",
|
462
|
+
"outputs": [
|
463
|
+
{
|
464
|
+
"components": [
|
465
|
+
{
|
466
|
+
"internalType": "string",
|
467
|
+
"name": "name",
|
468
|
+
"type": "string"
|
469
|
+
},
|
470
|
+
{
|
471
|
+
"internalType": "contract IERC20Metadata",
|
472
|
+
"name": "token",
|
473
|
+
"type": "address"
|
474
|
+
},
|
475
|
+
{
|
476
|
+
"internalType": "contract TokenHandler",
|
477
|
+
"name": "tokenHandler",
|
478
|
+
"type": "address"
|
479
|
+
},
|
480
|
+
{
|
481
|
+
"internalType": "address",
|
482
|
+
"name": "wallet",
|
483
|
+
"type": "address"
|
484
|
+
},
|
485
|
+
{
|
486
|
+
"internalType": "Amount",
|
487
|
+
"name": "balanceAmount",
|
488
|
+
"type": "uint96"
|
489
|
+
},
|
490
|
+
{
|
491
|
+
"internalType": "Amount",
|
492
|
+
"name": "feeAmount",
|
493
|
+
"type": "uint96"
|
494
|
+
},
|
495
|
+
{
|
496
|
+
"internalType": "bytes",
|
497
|
+
"name": "data",
|
498
|
+
"type": "bytes"
|
499
|
+
}
|
500
|
+
],
|
501
|
+
"internalType": "struct IComponents.ComponentInfo",
|
502
|
+
"name": "info",
|
503
|
+
"type": "tuple"
|
481
504
|
}
|
482
505
|
],
|
483
506
|
"stateMutability": "view",
|
@@ -546,19 +569,6 @@
|
|
546
569
|
"stateMutability": "view",
|
547
570
|
"type": "function"
|
548
571
|
},
|
549
|
-
{
|
550
|
-
"inputs": [],
|
551
|
-
"name": "getInitialOwner",
|
552
|
-
"outputs": [
|
553
|
-
{
|
554
|
-
"internalType": "address",
|
555
|
-
"name": "",
|
556
|
-
"type": "address"
|
557
|
-
}
|
558
|
-
],
|
559
|
-
"stateMutability": "view",
|
560
|
-
"type": "function"
|
561
|
-
},
|
562
572
|
{
|
563
573
|
"inputs": [],
|
564
574
|
"name": "getInstance",
|
@@ -572,32 +582,6 @@
|
|
572
582
|
"stateMutability": "view",
|
573
583
|
"type": "function"
|
574
584
|
},
|
575
|
-
{
|
576
|
-
"inputs": [],
|
577
|
-
"name": "getInstanceReader",
|
578
|
-
"outputs": [
|
579
|
-
{
|
580
|
-
"internalType": "contract InstanceReader",
|
581
|
-
"name": "reader",
|
582
|
-
"type": "address"
|
583
|
-
}
|
584
|
-
],
|
585
|
-
"stateMutability": "view",
|
586
|
-
"type": "function"
|
587
|
-
},
|
588
|
-
{
|
589
|
-
"inputs": [],
|
590
|
-
"name": "getInstanceService",
|
591
|
-
"outputs": [
|
592
|
-
{
|
593
|
-
"internalType": "contract IInstanceService",
|
594
|
-
"name": "",
|
595
|
-
"type": "address"
|
596
|
-
}
|
597
|
-
],
|
598
|
-
"stateMutability": "view",
|
599
|
-
"type": "function"
|
600
|
-
},
|
601
585
|
{
|
602
586
|
"inputs": [],
|
603
587
|
"name": "getName",
|
@@ -663,19 +647,6 @@
|
|
663
647
|
"stateMutability": "view",
|
664
648
|
"type": "function"
|
665
649
|
},
|
666
|
-
{
|
667
|
-
"inputs": [],
|
668
|
-
"name": "getProductService",
|
669
|
-
"outputs": [
|
670
|
-
{
|
671
|
-
"internalType": "contract IProductService",
|
672
|
-
"name": "",
|
673
|
-
"type": "address"
|
674
|
-
}
|
675
|
-
],
|
676
|
-
"stateMutability": "view",
|
677
|
-
"type": "function"
|
678
|
-
},
|
679
650
|
{
|
680
651
|
"inputs": [],
|
681
652
|
"name": "getRegistry",
|
@@ -689,19 +660,6 @@
|
|
689
660
|
"stateMutability": "view",
|
690
661
|
"type": "function"
|
691
662
|
},
|
692
|
-
{
|
693
|
-
"inputs": [],
|
694
|
-
"name": "getRegistryAddress",
|
695
|
-
"outputs": [
|
696
|
-
{
|
697
|
-
"internalType": "address",
|
698
|
-
"name": "",
|
699
|
-
"type": "address"
|
700
|
-
}
|
701
|
-
],
|
702
|
-
"stateMutability": "view",
|
703
|
-
"type": "function"
|
704
|
-
},
|
705
663
|
{
|
706
664
|
"inputs": [],
|
707
665
|
"name": "getSetupInfo",
|
@@ -728,23 +686,6 @@
|
|
728
686
|
"name": "poolNftId",
|
729
687
|
"type": "uint96"
|
730
688
|
},
|
731
|
-
{
|
732
|
-
"components": [
|
733
|
-
{
|
734
|
-
"internalType": "UFixed",
|
735
|
-
"name": "fractionalFee",
|
736
|
-
"type": "uint256"
|
737
|
-
},
|
738
|
-
{
|
739
|
-
"internalType": "uint256",
|
740
|
-
"name": "fixedFee",
|
741
|
-
"type": "uint256"
|
742
|
-
}
|
743
|
-
],
|
744
|
-
"internalType": "struct Fee",
|
745
|
-
"name": "distributionFee",
|
746
|
-
"type": "tuple"
|
747
|
-
},
|
748
689
|
{
|
749
690
|
"components": [
|
750
691
|
{
|
@@ -779,57 +720,6 @@
|
|
779
720
|
"name": "processingFee",
|
780
721
|
"type": "tuple"
|
781
722
|
},
|
782
|
-
{
|
783
|
-
"components": [
|
784
|
-
{
|
785
|
-
"internalType": "UFixed",
|
786
|
-
"name": "fractionalFee",
|
787
|
-
"type": "uint256"
|
788
|
-
},
|
789
|
-
{
|
790
|
-
"internalType": "uint256",
|
791
|
-
"name": "fixedFee",
|
792
|
-
"type": "uint256"
|
793
|
-
}
|
794
|
-
],
|
795
|
-
"internalType": "struct Fee",
|
796
|
-
"name": "poolFee",
|
797
|
-
"type": "tuple"
|
798
|
-
},
|
799
|
-
{
|
800
|
-
"components": [
|
801
|
-
{
|
802
|
-
"internalType": "UFixed",
|
803
|
-
"name": "fractionalFee",
|
804
|
-
"type": "uint256"
|
805
|
-
},
|
806
|
-
{
|
807
|
-
"internalType": "uint256",
|
808
|
-
"name": "fixedFee",
|
809
|
-
"type": "uint256"
|
810
|
-
}
|
811
|
-
],
|
812
|
-
"internalType": "struct Fee",
|
813
|
-
"name": "stakingFee",
|
814
|
-
"type": "tuple"
|
815
|
-
},
|
816
|
-
{
|
817
|
-
"components": [
|
818
|
-
{
|
819
|
-
"internalType": "UFixed",
|
820
|
-
"name": "fractionalFee",
|
821
|
-
"type": "uint256"
|
822
|
-
},
|
823
|
-
{
|
824
|
-
"internalType": "uint256",
|
825
|
-
"name": "fixedFee",
|
826
|
-
"type": "uint256"
|
827
|
-
}
|
828
|
-
],
|
829
|
-
"internalType": "struct Fee",
|
830
|
-
"name": "performanceFee",
|
831
|
-
"type": "tuple"
|
832
|
-
},
|
833
723
|
{
|
834
724
|
"internalType": "bool",
|
835
725
|
"name": "isIntercepting",
|
@@ -862,6 +752,19 @@
|
|
862
752
|
"stateMutability": "view",
|
863
753
|
"type": "function"
|
864
754
|
},
|
755
|
+
{
|
756
|
+
"inputs": [],
|
757
|
+
"name": "getTokenHandler",
|
758
|
+
"outputs": [
|
759
|
+
{
|
760
|
+
"internalType": "contract TokenHandler",
|
761
|
+
"name": "tokenHandler",
|
762
|
+
"type": "address"
|
763
|
+
}
|
764
|
+
],
|
765
|
+
"stateMutability": "view",
|
766
|
+
"type": "function"
|
767
|
+
},
|
865
768
|
{
|
866
769
|
"inputs": [],
|
867
770
|
"name": "getWallet",
|
@@ -914,7 +817,7 @@
|
|
914
817
|
},
|
915
818
|
{
|
916
819
|
"internalType": "bytes",
|
917
|
-
"name": "
|
820
|
+
"name": "registryData",
|
918
821
|
"type": "bytes"
|
919
822
|
}
|
920
823
|
],
|
@@ -948,19 +851,6 @@
|
|
948
851
|
"stateMutability": "nonpayable",
|
949
852
|
"type": "function"
|
950
853
|
},
|
951
|
-
{
|
952
|
-
"inputs": [
|
953
|
-
{
|
954
|
-
"internalType": "address",
|
955
|
-
"name": "initialOwner",
|
956
|
-
"type": "address"
|
957
|
-
}
|
958
|
-
],
|
959
|
-
"name": "initializeOwner",
|
960
|
-
"outputs": [],
|
961
|
-
"stateMutability": "nonpayable",
|
962
|
-
"type": "function"
|
963
|
-
},
|
964
854
|
{
|
965
855
|
"inputs": [
|
966
856
|
{
|
@@ -1039,7 +929,7 @@
|
|
1039
929
|
},
|
1040
930
|
{
|
1041
931
|
"internalType": "bytes",
|
1042
|
-
"name": "
|
932
|
+
"name": "registryData",
|
1043
933
|
"type": "bytes"
|
1044
934
|
}
|
1045
935
|
],
|
@@ -1077,7 +967,7 @@
|
|
1077
967
|
},
|
1078
968
|
{
|
1079
969
|
"internalType": "bytes",
|
1080
|
-
"name": "
|
970
|
+
"name": "registryData",
|
1081
971
|
"type": "bytes"
|
1082
972
|
}
|
1083
973
|
],
|
@@ -1125,6 +1015,25 @@
|
|
1125
1015
|
"stateMutability": "view",
|
1126
1016
|
"type": "function"
|
1127
1017
|
},
|
1018
|
+
{
|
1019
|
+
"inputs": [
|
1020
|
+
{
|
1021
|
+
"internalType": "address",
|
1022
|
+
"name": "nftOwnableAddress",
|
1023
|
+
"type": "address"
|
1024
|
+
}
|
1025
|
+
],
|
1026
|
+
"name": "linkToNftOwnable",
|
1027
|
+
"outputs": [
|
1028
|
+
{
|
1029
|
+
"internalType": "NftId",
|
1030
|
+
"name": "",
|
1031
|
+
"type": "uint96"
|
1032
|
+
}
|
1033
|
+
],
|
1034
|
+
"stateMutability": "nonpayable",
|
1035
|
+
"type": "function"
|
1036
|
+
},
|
1128
1037
|
{
|
1129
1038
|
"inputs": [],
|
1130
1039
|
"name": "linkToRegisteredNftId",
|
@@ -1139,6 +1048,24 @@
|
|
1139
1048
|
"stateMutability": "nonpayable",
|
1140
1049
|
"type": "function"
|
1141
1050
|
},
|
1051
|
+
{
|
1052
|
+
"inputs": [
|
1053
|
+
{
|
1054
|
+
"internalType": "address",
|
1055
|
+
"name": "to",
|
1056
|
+
"type": "address"
|
1057
|
+
},
|
1058
|
+
{
|
1059
|
+
"internalType": "uint256",
|
1060
|
+
"name": "tokenId",
|
1061
|
+
"type": "uint256"
|
1062
|
+
}
|
1063
|
+
],
|
1064
|
+
"name": "nftMint",
|
1065
|
+
"outputs": [],
|
1066
|
+
"stateMutability": "nonpayable",
|
1067
|
+
"type": "function"
|
1068
|
+
},
|
1142
1069
|
{
|
1143
1070
|
"inputs": [
|
1144
1071
|
{
|