@etherisc/gif-next 0.0.2-d086e6d-456 → 0.0.2-d0b1ffb-653
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +57 -93
- package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.dbg.json +4 -0
- package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.json +1293 -0
- package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.dbg.json +4 -0
- package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.json +1206 -0
- package/artifacts/contracts/authorization/Authorization.sol/Authorization.dbg.json +4 -0
- package/artifacts/contracts/authorization/Authorization.sol/Authorization.json +414 -0
- package/artifacts/contracts/authorization/IAccess.sol/IAccess.dbg.json +4 -0
- package/artifacts/contracts/{instance/module/ISetup.sol/ISetup.json → authorization/IAccess.sol/IAccess.json} +2 -2
- package/artifacts/contracts/authorization/IAccessAdmin.sol/IAccessAdmin.dbg.json +4 -0
- package/artifacts/contracts/authorization/IAccessAdmin.sol/IAccessAdmin.json +1060 -0
- package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.dbg.json +4 -0
- package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.json +295 -0
- package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.dbg.json +4 -0
- package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.json +167 -0
- package/artifacts/contracts/authorization/ReleaseAccessManager.sol/ReleaseAccessManager.dbg.json +4 -0
- package/artifacts/contracts/authorization/ReleaseAccessManager.sol/ReleaseAccessManager.json +1196 -0
- package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.dbg.json +4 -0
- package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.json +253 -0
- package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.dbg.json +4 -0
- package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.json +1402 -0
- package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.dbg.json +4 -0
- package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.json +470 -0
- package/artifacts/contracts/distribution/Distribution.sol/Distribution.dbg.json +4 -0
- package/artifacts/contracts/{components → distribution}/Distribution.sol/Distribution.json +272 -553
- package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.dbg.json +4 -0
- package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.json +1439 -0
- package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +4 -0
- package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.json +830 -0
- package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.dbg.json +4 -0
- package/artifacts/contracts/{components → distribution}/IDistributionComponent.sol/IDistributionComponent.json +252 -292
- package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.dbg.json +4 -0
- package/artifacts/contracts/{instance/service → distribution}/IDistributionService.sol/IDistributionService.json +215 -357
- package/artifacts/contracts/examples/fire/DamageLevel.sol/DamageLevelLib.dbg.json +4 -0
- package/artifacts/contracts/examples/fire/DamageLevel.sol/DamageLevelLib.json +22 -0
- package/artifacts/contracts/examples/fire/FirePool.sol/FirePool.dbg.json +4 -0
- package/artifacts/contracts/examples/fire/FirePool.sol/FirePool.json +1538 -0
- package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.dbg.json +4 -0
- package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.json +470 -0
- package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.dbg.json +4 -0
- package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.json +2077 -0
- package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.dbg.json +4 -0
- package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.json +470 -0
- package/artifacts/contracts/examples/fire/FireUSD.sol/FireUSD.dbg.json +4 -0
- package/artifacts/contracts/examples/fire/FireUSD.sol/FireUSD.json +376 -0
- package/artifacts/contracts/examples/unpermissioned/SimpleDistribution.sol/SimpleDistribution.dbg.json +4 -0
- package/artifacts/contracts/examples/unpermissioned/SimpleDistribution.sol/SimpleDistribution.json +1471 -0
- package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.dbg.json +4 -0
- package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.json +1231 -0
- package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.dbg.json +4 -0
- package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.json +1592 -0
- package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.dbg.json +4 -0
- package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.json +2095 -0
- package/artifacts/contracts/instance/BundleSet.sol/BundleSet.dbg.json +4 -0
- package/artifacts/contracts/instance/BundleSet.sol/BundleSet.json +703 -0
- package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
- package/artifacts/contracts/instance/IInstance.sol/IInstance.json +313 -2006
- package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
- package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +175 -130
- package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
- package/artifacts/contracts/instance/Instance.sol/Instance.json +403 -2855
- package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.dbg.json +4 -0
- package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.json +1653 -0
- package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.dbg.json +4 -0
- package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.json +561 -0
- package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +1078 -309
- package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +240 -368
- package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +143 -122
- package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.dbg.json +4 -0
- package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.json +3678 -0
- package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.dbg.json +4 -0
- package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.json +318 -0
- package/artifacts/contracts/instance/base/Cloneable.sol/Cloneable.dbg.json +4 -0
- package/artifacts/contracts/instance/{Cloneable.sol → base/Cloneable.sol}/Cloneable.json +1 -54
- package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.dbg.json +4 -0
- package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.json +10 -0
- package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.dbg.json +4 -0
- package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.json +223 -0
- package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.dbg.json +4 -0
- package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.json +181 -0
- package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +1 -1
- package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +10 -118
- package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +1 -1
- package/artifacts/contracts/instance/module/IComponents.sol/IComponents.dbg.json +1 -1
- 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/mock/Dip.sol/Dip.dbg.json +4 -0
- package/artifacts/contracts/mock/Dip.sol/Dip.json +376 -0
- package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.dbg.json +4 -0
- package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.json +1039 -0
- package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.dbg.json +4 -0
- package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.json +478 -0
- package/artifacts/contracts/oracle/IOracle.sol/IOracle.dbg.json +4 -0
- package/artifacts/contracts/oracle/IOracle.sol/IOracle.json +52 -0
- package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.dbg.json +4 -0
- package/artifacts/contracts/{components/IProductComponent.sol/IProductComponent.json → oracle/IOracleComponent.sol/IOracleComponent.json} +231 -273
- package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.dbg.json +4 -0
- package/artifacts/contracts/{instance/service/IBundleService.sol/IBundleService.json → oracle/IOracleService.sol/IOracleService.json} +275 -249
- package/artifacts/contracts/oracle/Oracle.sol/Oracle.dbg.json +4 -0
- package/artifacts/contracts/oracle/Oracle.sol/Oracle.json +907 -0
- package/artifacts/contracts/oracle/OracleService.sol/OracleService.dbg.json +4 -0
- package/artifacts/contracts/oracle/OracleService.sol/OracleService.json +966 -0
- package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.dbg.json +4 -0
- package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.json +722 -0
- package/artifacts/contracts/pool/BasicPool.sol/BasicPool.dbg.json +4 -0
- package/artifacts/contracts/{components/Pool.sol/Pool.json → pool/BasicPool.sol/BasicPool.json} +337 -414
- package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.dbg.json +4 -0
- package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.json +470 -0
- package/artifacts/contracts/pool/BundleService.sol/BundleService.dbg.json +4 -0
- package/artifacts/contracts/pool/BundleService.sol/BundleService.json +1465 -0
- package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.dbg.json +4 -0
- package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.json +834 -0
- package/artifacts/contracts/pool/IBundleService.sol/IBundleService.dbg.json +4 -0
- package/artifacts/contracts/{instance/service/IPoolService.sol/IPoolService.json → pool/IBundleService.sol/IBundleService.json} +410 -318
- package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.dbg.json +4 -0
- package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.json +960 -0
- package/artifacts/contracts/pool/IPoolService.sol/IPoolService.dbg.json +4 -0
- package/artifacts/contracts/pool/IPoolService.sol/IPoolService.json +1283 -0
- package/artifacts/contracts/pool/Pool.sol/Pool.dbg.json +4 -0
- package/artifacts/contracts/{components/IPoolComponent.sol/IPoolComponent.json → pool/Pool.sol/Pool.json} +411 -377
- package/artifacts/contracts/pool/PoolService.sol/PoolService.dbg.json +4 -0
- package/artifacts/contracts/pool/PoolService.sol/PoolService.json +1625 -0
- package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.dbg.json +4 -0
- package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.json +766 -0
- package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.dbg.json +4 -0
- package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.json +771 -0
- package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +4 -0
- package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.json +710 -0
- package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.dbg.json +4 -0
- package/artifacts/contracts/{components/Product.sol/Product.json → product/BasicProduct.sol/BasicProduct.json} +423 -417
- package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.dbg.json +4 -0
- package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.json +470 -0
- package/artifacts/contracts/product/ClaimService.sol/ClaimService.dbg.json +4 -0
- package/artifacts/contracts/product/ClaimService.sol/ClaimService.json +1431 -0
- package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +4 -0
- package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.json +838 -0
- package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.dbg.json +4 -0
- package/artifacts/contracts/{instance/service → product}/IApplicationService.sol/IApplicationService.json +84 -184
- package/artifacts/contracts/product/IClaimService.sol/IClaimService.dbg.json +4 -0
- package/artifacts/contracts/product/IClaimService.sol/IClaimService.json +942 -0
- package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.dbg.json +4 -0
- package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.json +925 -0
- package/artifacts/contracts/product/IPricingService.sol/IPricingService.dbg.json +4 -0
- package/artifacts/contracts/{instance/service/IPolicyService.sol/IPolicyService.json → product/IPricingService.sol/IPricingService.json} +200 -252
- package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.dbg.json +4 -0
- package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.json +1012 -0
- package/artifacts/contracts/product/IRiskService.sol/IRiskService.dbg.json +4 -0
- package/artifacts/contracts/{instance/service/IProductService.sol/IProductService.json → product/IRiskService.sol/IRiskService.json} +41 -86
- package/artifacts/contracts/product/PolicyService.sol/PolicyService.dbg.json +4 -0
- package/artifacts/contracts/product/PolicyService.sol/PolicyService.json +1302 -0
- package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +4 -0
- package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.json +782 -0
- package/artifacts/contracts/product/PricingService.sol/PricingService.dbg.json +4 -0
- package/artifacts/contracts/product/PricingService.sol/PricingService.json +907 -0
- package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.dbg.json +4 -0
- package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.json +762 -0
- package/artifacts/contracts/product/Product.sol/Product.dbg.json +4 -0
- package/artifacts/contracts/product/Product.sol/Product.json +1131 -0
- package/artifacts/contracts/product/RiskService.sol/RiskService.dbg.json +4 -0
- package/artifacts/contracts/product/RiskService.sol/RiskService.json +622 -0
- package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.dbg.json +4 -0
- package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.json +694 -0
- package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
- package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +59 -16
- package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
- package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +435 -29
- package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
- package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +263 -134
- package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
- package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.json +5 -18
- package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
- package/artifacts/contracts/registry/Registry.sol/Registry.json +865 -68
- package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.dbg.json +4 -0
- package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.json +1886 -0
- package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
- package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +333 -264
- package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
- package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +138 -95
- package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.dbg.json +4 -0
- package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.json +205 -0
- package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.dbg.json +4 -0
- package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.json +1067 -0
- package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.dbg.json +4 -0
- package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.json +272 -0
- package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +1 -1
- package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +316 -153
- package/artifacts/contracts/shared/Component.sol/Component.dbg.json +4 -0
- package/artifacts/contracts/{instance/base/ComponentService.sol/ComponentService.json → shared/Component.sol/Component.json} +310 -227
- package/artifacts/contracts/shared/ComponentService.sol/ComponentService.dbg.json +4 -0
- package/artifacts/contracts/shared/ComponentService.sol/ComponentService.json +1768 -0
- package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.dbg.json +4 -0
- package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.json +814 -0
- package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.dbg.json +4 -0
- package/artifacts/contracts/{instance/service/IClaimService.sol/IClaimService.json → shared/ComponentVerifyingService.sol/ComponentVerifyingService.json} +117 -142
- package/artifacts/contracts/shared/ContractLib.sol/ContractLib.dbg.json +4 -0
- package/artifacts/contracts/shared/ContractLib.sol/ContractLib.json +92 -0
- package/artifacts/contracts/shared/IComponent.sol/IComponent.dbg.json +4 -0
- package/artifacts/contracts/{components → shared}/IComponent.sol/IComponent.json +142 -115
- package/artifacts/contracts/shared/IComponentService.sol/IComponentService.dbg.json +4 -0
- package/artifacts/contracts/shared/IComponentService.sol/IComponentService.json +1335 -0
- package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.dbg.json +4 -0
- package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.json +723 -0
- package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.dbg.json +4 -0
- package/artifacts/contracts/{instance/base → shared}/IKeyValueStore.sol/IKeyValueStore.json +95 -14
- package/artifacts/contracts/shared/ILifecycle.sol/ILifecycle.dbg.json +4 -0
- package/artifacts/contracts/{instance/base → shared}/ILifecycle.sol/ILifecycle.json +35 -4
- package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
- package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +19 -10
- package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +1 -1
- package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.json +59 -13
- package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
- package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +28 -6
- package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +1 -1
- package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.json +0 -13
- package/artifacts/contracts/shared/IService.sol/IService.dbg.json +1 -1
- package/artifacts/contracts/shared/IService.sol/IService.json +46 -30
- package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.dbg.json +4 -0
- package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.json +53 -0
- package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.dbg.json +4 -0
- package/artifacts/contracts/{components/Component.sol/Component.json → shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.json} +239 -252
- package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.dbg.json +4 -0
- package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.json +538 -0
- package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.dbg.json +4 -0
- package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.json +174 -0
- package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.dbg.json +4 -0
- package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.json +306 -0
- package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
- package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +28 -70
- package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +1 -1
- package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +35 -85
- package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
- package/artifacts/contracts/shared/Registerable.sol/Registerable.json +69 -99
- package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +1 -1
- package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +2 -28
- package/artifacts/contracts/shared/Service.sol/Service.dbg.json +1 -1
- package/artifacts/contracts/shared/Service.sol/Service.json +59 -132
- package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
- package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +382 -9
- package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.dbg.json +4 -0
- package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.json +108 -0
- package/artifacts/contracts/staking/IStaking.sol/IStaking.dbg.json +4 -0
- package/artifacts/contracts/staking/IStaking.sol/IStaking.json +1465 -0
- package/artifacts/contracts/staking/IStakingService.sol/IStakingService.dbg.json +4 -0
- package/artifacts/contracts/staking/IStakingService.sol/IStakingService.json +1043 -0
- package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.dbg.json +4 -0
- package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.json +440 -0
- package/artifacts/contracts/staking/Staking.sol/Staking.dbg.json +4 -0
- package/artifacts/contracts/staking/Staking.sol/Staking.json +1888 -0
- package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.dbg.json +4 -0
- package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.json +205 -0
- package/artifacts/contracts/staking/StakingManager.sol/StakingManager.dbg.json +4 -0
- package/artifacts/contracts/staking/StakingManager.sol/StakingManager.json +776 -0
- package/artifacts/contracts/staking/StakingReader.sol/StakingReader.dbg.json +4 -0
- package/artifacts/contracts/staking/StakingReader.sol/StakingReader.json +587 -0
- package/artifacts/contracts/staking/StakingService.sol/StakingService.dbg.json +4 -0
- package/artifacts/contracts/staking/StakingService.sol/StakingService.json +1249 -0
- package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.dbg.json +4 -0
- package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.json +710 -0
- package/artifacts/contracts/staking/StakingStore.sol/StakingStore.dbg.json +4 -0
- package/artifacts/contracts/staking/StakingStore.sol/StakingStore.json +2283 -0
- package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.dbg.json +4 -0
- package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.json +607 -0
- package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.dbg.json +4 -0
- package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.json +10 -0
- package/artifacts/contracts/type/Amount.sol/AmountLib.dbg.json +4 -0
- package/artifacts/contracts/type/Amount.sol/AmountLib.json +398 -0
- package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.dbg.json +4 -0
- package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.json +225 -0
- package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.dbg.json +4 -0
- package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.json +203 -0
- package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.dbg.json +4 -0
- package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.json +104 -0
- package/artifacts/contracts/type/Fee.sol/FeeLib.dbg.json +4 -0
- package/artifacts/contracts/type/Fee.sol/FeeLib.json +317 -0
- package/artifacts/contracts/type/Key32.sol/Key32Lib.dbg.json +4 -0
- package/artifacts/contracts/type/Key32.sol/Key32Lib.json +125 -0
- package/artifacts/contracts/type/NftId.sol/NftIdLib.dbg.json +4 -0
- package/artifacts/contracts/type/NftId.sol/NftIdLib.json +209 -0
- package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.dbg.json +4 -0
- package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.json +33 -0
- package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.dbg.json +4 -0
- package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.json +239 -0
- 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/RequestId.sol/RequestIdLib.dbg.json +4 -0
- package/artifacts/contracts/type/RequestId.sol/RequestIdLib.json +204 -0
- package/artifacts/contracts/type/RiskId.sol/RiskIdLib.dbg.json +4 -0
- package/artifacts/contracts/type/RiskId.sol/RiskIdLib.json +142 -0
- package/artifacts/contracts/type/RoleId.sol/RoleIdLib.dbg.json +4 -0
- package/artifacts/contracts/type/RoleId.sol/RoleIdLib.json +369 -0
- package/artifacts/contracts/type/Seconds.sol/SecondsLib.dbg.json +4 -0
- package/artifacts/contracts/type/Seconds.sol/SecondsLib.json +246 -0
- package/artifacts/contracts/type/Selector.sol/SelectorLib.dbg.json +4 -0
- package/artifacts/contracts/type/Selector.sol/SelectorLib.json +129 -0
- package/artifacts/contracts/type/Selector.sol/SelectorSetLib.dbg.json +4 -0
- package/artifacts/contracts/type/Selector.sol/SelectorSetLib.json +10 -0
- package/artifacts/contracts/type/StateId.sol/StateIdLib.dbg.json +4 -0
- package/artifacts/contracts/type/StateId.sol/StateIdLib.json +105 -0
- package/artifacts/contracts/type/String.sol/StrLib.dbg.json +4 -0
- package/artifacts/contracts/type/String.sol/StrLib.json +132 -0
- package/artifacts/contracts/type/Timestamp.sol/TimestampLib.dbg.json +4 -0
- package/artifacts/contracts/type/Timestamp.sol/TimestampLib.json +312 -0
- package/artifacts/contracts/type/UFixed.sol/MathLib.dbg.json +4 -0
- package/artifacts/contracts/type/UFixed.sol/MathLib.json +16 -0
- package/artifacts/contracts/type/UFixed.sol/UFixedLib.dbg.json +4 -0
- package/artifacts/contracts/type/UFixed.sol/UFixedLib.json +548 -0
- package/artifacts/contracts/type/Version.sol/VersionLib.dbg.json +4 -0
- package/artifacts/contracts/type/Version.sol/VersionLib.json +177 -0
- package/artifacts/contracts/type/Version.sol/VersionPartLib.dbg.json +4 -0
- package/artifacts/contracts/type/Version.sol/VersionPartLib.json +68 -0
- package/artifacts/contracts/upgradeability/IVersionable.sol/IVersionable.dbg.json +4 -0
- package/artifacts/contracts/{shared → upgradeability}/IVersionable.sol/IVersionable.json +1 -1
- package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.dbg.json +4 -0
- package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.json +602 -0
- package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +4 -0
- package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +129 -0
- package/artifacts/contracts/upgradeability/Versionable.sol/Versionable.dbg.json +4 -0
- package/artifacts/contracts/{shared → upgradeability}/Versionable.sol/Versionable.json +1 -1
- package/contracts/authorization/AccessAdmin.sol +596 -0
- package/contracts/authorization/AccessManagerCloneable.sol +16 -0
- package/contracts/authorization/Authorization.sol +289 -0
- package/contracts/authorization/IAccess.sol +49 -0
- package/contracts/authorization/IAccessAdmin.sol +137 -0
- package/contracts/authorization/IAuthorization.sol +60 -0
- package/contracts/authorization/IServiceAuthorization.sol +40 -0
- package/contracts/authorization/ReleaseAccessManager.sol +38 -0
- package/contracts/authorization/ServiceAuthorization.sol +106 -0
- package/contracts/distribution/BasicDistribution.sol +139 -0
- package/contracts/distribution/BasicDistributionAuthorization.sol +47 -0
- package/contracts/{components → distribution}/Distribution.sol +170 -165
- package/contracts/distribution/DistributionService.sol +354 -0
- package/contracts/distribution/DistributionServiceManager.sol +39 -0
- package/contracts/distribution/IDistributionComponent.sol +52 -0
- package/contracts/{instance/service → distribution}/IDistributionService.sol +41 -38
- package/contracts/examples/fire/DamageLevel.sol +59 -0
- package/contracts/examples/fire/FirePool.sol +75 -0
- package/contracts/examples/fire/FirePoolAuthorization.sol +34 -0
- package/contracts/examples/fire/FireProduct.sol +412 -0
- package/contracts/examples/fire/FireProductAuthorization.sol +44 -0
- package/contracts/examples/fire/FireUSD.sol +26 -0
- package/contracts/examples/unpermissioned/SimpleDistribution.sol +50 -0
- package/contracts/examples/unpermissioned/SimpleOracle.sol +137 -0
- package/contracts/examples/unpermissioned/SimplePool.sol +76 -0
- package/contracts/examples/unpermissioned/SimpleProduct.sol +351 -0
- package/contracts/instance/{BundleManager.sol → BundleSet.sol} +30 -31
- package/contracts/instance/IInstance.sol +41 -73
- package/contracts/instance/IInstanceService.sol +37 -37
- package/contracts/instance/Instance.sol +153 -248
- package/contracts/instance/InstanceAdmin.sol +277 -0
- package/contracts/instance/InstanceAuthorizationV3.sol +194 -0
- package/contracts/instance/InstanceReader.sol +264 -60
- package/contracts/instance/InstanceService.sol +259 -344
- package/contracts/instance/InstanceServiceManager.sol +14 -29
- package/contracts/instance/InstanceStore.sol +287 -0
- package/contracts/instance/base/BalanceStore.sol +123 -0
- package/contracts/instance/base/Cloneable.sol +28 -0
- package/contracts/instance/base/ObjectCounter.sol +21 -0
- package/contracts/instance/base/ObjectLifecycle.sol +111 -0
- package/contracts/instance/{ObjectManager.sol → base/ObjectSet.sol} +18 -21
- package/contracts/instance/module/IAccess.sol +5 -13
- package/contracts/instance/module/IBundle.sol +6 -9
- package/contracts/instance/module/IComponents.sol +26 -16
- package/contracts/instance/module/IDistribution.sol +6 -6
- package/contracts/instance/module/IPolicy.sol +47 -35
- package/contracts/instance/module/IRisk.sol +1 -1
- package/contracts/{test/Usdc.sol → mock/Dip.sol} +6 -6
- package/contracts/oracle/BasicOracle.sol +47 -0
- package/contracts/oracle/BasicOracleAuthorization.sol +46 -0
- package/contracts/oracle/IOracle.sol +36 -0
- package/contracts/oracle/IOracleComponent.sol +33 -0
- package/contracts/oracle/IOracleService.sol +66 -0
- package/contracts/oracle/Oracle.sol +156 -0
- package/contracts/oracle/OracleService.sol +291 -0
- package/contracts/oracle/OracleServiceManager.sol +39 -0
- package/contracts/pool/BasicPool.sol +154 -0
- package/contracts/pool/BasicPoolAuthorization.sol +57 -0
- package/contracts/pool/BundleService.sol +461 -0
- package/contracts/pool/BundleServiceManager.sol +39 -0
- package/contracts/pool/IBundleService.sol +143 -0
- package/contracts/pool/IPoolComponent.sol +68 -0
- package/contracts/pool/IPoolService.sol +167 -0
- package/contracts/pool/Pool.sol +335 -0
- package/contracts/pool/PoolService.sol +525 -0
- package/contracts/pool/PoolServiceManager.sol +39 -0
- package/contracts/product/ApplicationService.sol +251 -0
- package/contracts/{instance/service → product}/ApplicationServiceManager.sol +12 -9
- package/contracts/product/BasicProduct.sol +53 -0
- package/contracts/product/BasicProductAuthorization.sol +42 -0
- package/contracts/product/ClaimService.sol +591 -0
- package/contracts/{instance/service → product}/ClaimServiceManager.sol +12 -9
- package/contracts/{instance/service → product}/IApplicationService.sol +16 -35
- package/contracts/product/IClaimService.sol +123 -0
- package/contracts/product/IPolicyService.sol +80 -0
- package/contracts/product/IPricingService.sol +39 -0
- package/contracts/product/IProductComponent.sol +59 -0
- package/contracts/product/IRiskService.sol +33 -0
- package/contracts/product/PolicyService.sol +683 -0
- package/contracts/product/PolicyServiceManager.sol +39 -0
- package/contracts/product/PricingService.sol +297 -0
- package/contracts/product/PricingServiceManager.sol +39 -0
- package/contracts/product/Product.sol +455 -0
- package/contracts/product/RiskService.sol +96 -0
- package/contracts/product/RiskServiceManager.sol +39 -0
- package/contracts/registry/ChainNft.sol +75 -38
- package/contracts/registry/IRegistry.sol +96 -26
- package/contracts/registry/IRegistryService.sol +34 -40
- package/contracts/registry/ITransferInterceptor.sol +1 -2
- package/contracts/registry/Registry.sol +445 -195
- package/contracts/registry/RegistryAdmin.sol +448 -0
- package/contracts/registry/RegistryService.sol +87 -131
- package/contracts/registry/RegistryServiceManager.sol +23 -32
- package/contracts/registry/ReleaseLifecycle.sol +30 -0
- package/contracts/registry/ReleaseRegistry.sol +501 -0
- package/contracts/registry/ServiceAuthorizationV3.sol +194 -0
- package/contracts/registry/TokenRegistry.sol +261 -62
- package/contracts/shared/Component.sol +265 -0
- package/contracts/shared/ComponentService.sol +735 -0
- package/contracts/shared/ComponentServiceManager.sol +38 -0
- package/contracts/shared/ComponentVerifyingService.sol +126 -0
- package/contracts/shared/ContractLib.sol +38 -0
- package/contracts/shared/IComponent.sol +74 -0
- package/contracts/shared/IComponentService.sol +120 -0
- package/contracts/shared/IInstanceLinkedComponent.sol +41 -0
- package/contracts/{instance/base → shared}/IKeyValueStore.sol +16 -11
- package/contracts/{instance/base → shared}/ILifecycle.sol +5 -4
- package/contracts/shared/INftOwnable.sol +4 -2
- package/contracts/shared/IPolicyHolder.sol +23 -14
- package/contracts/shared/IRegisterable.sol +11 -0
- package/contracts/shared/IRegistryLinked.sol +0 -1
- package/contracts/shared/IService.sol +12 -8
- package/contracts/shared/{ERC165.sol → InitializableERC165.sol} +4 -4
- package/contracts/shared/InstanceLinkedComponent.sol +213 -0
- package/contracts/shared/KeyValueStore.sol +131 -0
- package/contracts/shared/Lifecycle.sol +88 -0
- package/contracts/shared/NftIdSet.sol +65 -0
- package/contracts/shared/NftOwnable.sol +28 -25
- package/contracts/shared/PolicyHolder.sol +22 -41
- package/contracts/shared/Registerable.sol +32 -21
- package/contracts/shared/RegistryLinked.sol +3 -7
- package/contracts/shared/Service.sol +52 -31
- package/contracts/shared/TokenHandler.sol +115 -9
- package/contracts/shared/TokenHandlerDeployerLib.sol +12 -0
- package/contracts/staking/IStaking.sol +168 -0
- package/contracts/staking/IStakingService.sol +157 -0
- package/contracts/staking/StakeManagerLib.sol +224 -0
- package/contracts/staking/Staking.sol +497 -0
- package/contracts/staking/StakingLifecycle.sol +23 -0
- package/contracts/staking/StakingManager.sol +52 -0
- package/contracts/staking/StakingReader.sol +190 -0
- package/contracts/staking/StakingService.sol +393 -0
- package/contracts/staking/StakingServiceManager.sol +44 -0
- package/contracts/staking/StakingStore.sol +605 -0
- package/contracts/staking/TargetManagerLib.sol +211 -0
- package/contracts/{types → type}/AddressSet.sol +1 -1
- package/contracts/type/Amount.sol +150 -0
- package/contracts/{types → type}/Blocknumber.sol +26 -3
- package/contracts/{types → type}/ClaimId.sol +31 -3
- package/contracts/{types → type}/Fee.sol +24 -22
- package/contracts/{types → type}/NftId.sol +15 -16
- package/contracts/{types → type}/NftIdSet.sol +2 -2
- package/contracts/type/ObjectType.sol +276 -0
- package/contracts/type/PayoutId.sol +82 -0
- package/contracts/{types → type}/Referral.sol +2 -1
- package/contracts/type/RequestId.sol +75 -0
- package/contracts/{types → type}/RiskId.sol +16 -2
- package/contracts/type/RoleId.sol +162 -0
- package/contracts/type/Seconds.sol +101 -0
- package/contracts/type/Selector.sol +102 -0
- package/contracts/{types → type}/StateId.sol +47 -4
- package/contracts/type/String.sol +53 -0
- package/contracts/{types → type}/Timestamp.sol +21 -2
- package/contracts/{types → type}/UFixed.sol +38 -9
- package/contracts/{types → type}/Version.sol +4 -2
- package/contracts/{shared → upgradeability}/IVersionable.sol +1 -1
- package/contracts/{shared → upgradeability}/ProxyManager.sol +93 -30
- package/contracts/{shared → upgradeability}/UpgradableProxyWithAdmin.sol +1 -3
- package/contracts/{shared → upgradeability}/Versionable.sol +3 -3
- package/package.json +9 -5
- 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/instance/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.dbg.json +0 -4
- package/artifacts/contracts/instance/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.json +0 -1206
- package/artifacts/contracts/instance/BundleManager.sol/BundleManager.dbg.json +0 -4
- package/artifacts/contracts/instance/BundleManager.sol/BundleManager.json +0 -778
- 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 -1311
- package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.dbg.json +0 -4
- package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.json +0 -256
- package/artifacts/contracts/instance/base/ComponentService.sol/ComponentService.dbg.json +0 -4
- package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +0 -4
- package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.dbg.json +0 -4
- package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +0 -4
- package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.json +0 -532
- package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +0 -4
- package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +0 -194
- package/artifacts/contracts/instance/module/ISetup.sol/ISetup.dbg.json +0 -4
- package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.dbg.json +0 -4
- package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.json +0 -10
- package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.dbg.json +0 -4
- package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.json +0 -1058
- package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +0 -4
- package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.json +0 -665
- package/artifacts/contracts/instance/service/BundleService.sol/BundleService.dbg.json +0 -4
- package/artifacts/contracts/instance/service/BundleService.sol/BundleService.json +0 -1258
- package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.dbg.json +0 -4
- package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.json +0 -717
- package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.dbg.json +0 -4
- package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.json +0 -844
- package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +0 -4
- package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.json +0 -637
- package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +0 -4
- package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +0 -1822
- package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +0 -4
- package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.json +0 -805
- 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/IClaimService.sol/IClaimService.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 -1111
- package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +0 -4
- package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.json +0 -689
- package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +0 -4
- package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +0 -1264
- package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.dbg.json +0 -4
- package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.json +0 -657
- package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +0 -4
- package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +0 -867
- package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.dbg.json +0 -4
- package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.json +0 -649
- package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.dbg.json +0 -4
- package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.json +0 -285
- package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.dbg.json +0 -4
- package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.json +0 -547
- package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.dbg.json +0 -4
- package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.json +0 -107
- package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +0 -4
- package/artifacts/contracts/shared/ERC165.sol/ERC165.json +0 -73
- package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +0 -4
- package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +0 -4
- package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +0 -582
- package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +0 -4
- package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +0 -129
- package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +0 -4
- 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 -383
- 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 -611
- 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 -104
- 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/AddressSet.sol/LibAddressSet.json +0 -10
- package/artifacts/contracts/types/Amount.sol/AmountLib.dbg.json +0 -4
- package/artifacts/contracts/types/Amount.sol/AmountLib.json +0 -161
- package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +0 -4
- package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.json +0 -174
- 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/ClaimId.sol/ClaimIdLib.dbg.json +0 -4
- package/artifacts/contracts/types/ClaimId.sol/ClaimIdLib.json +0 -100
- package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.dbg.json +0 -4
- package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.json +0 -104
- package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +0 -4
- package/artifacts/contracts/types/Fee.sol/FeeLib.json +0 -288
- package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +0 -4
- package/artifacts/contracts/types/Key32.sol/Key32Lib.json +0 -125
- package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +0 -4
- package/artifacts/contracts/types/NftId.sol/NftIdLib.json +0 -166
- package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +0 -4
- package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.json +0 -33
- 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/ObjectType.sol/ObjectTypeLib.json +0 -92
- package/artifacts/contracts/types/PayoutId.sol/PayoutIdLib.dbg.json +0 -4
- package/artifacts/contracts/types/PayoutId.sol/PayoutIdLib.json +0 -100
- package/artifacts/contracts/types/Referral.sol/ReferralLib.dbg.json +0 -4
- package/artifacts/contracts/types/Referral.sol/ReferralLib.json +0 -142
- package/artifacts/contracts/types/RiskId.sol/RiskIdLib.dbg.json +0 -4
- package/artifacts/contracts/types/RiskId.sol/RiskIdLib.json +0 -86
- package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +0 -4
- package/artifacts/contracts/types/RoleId.sol/RoleIdLib.json +0 -156
- package/artifacts/contracts/types/Seconds.sol/SecondsLib.dbg.json +0 -4
- package/artifacts/contracts/types/Seconds.sol/SecondsLib.json +0 -124
- package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +0 -4
- package/artifacts/contracts/types/StateId.sol/StateIdLib.json +0 -92
- package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +0 -4
- package/artifacts/contracts/types/Timestamp.sol/TimestampLib.json +0 -267
- package/artifacts/contracts/types/UFixed.sol/MathLib.dbg.json +0 -4
- package/artifacts/contracts/types/UFixed.sol/MathLib.json +0 -10
- package/artifacts/contracts/types/UFixed.sol/UFixedLib.dbg.json +0 -4
- package/artifacts/contracts/types/UFixed.sol/UFixedLib.json +0 -479
- package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +0 -4
- package/artifacts/contracts/types/Version.sol/VersionLib.json +0 -177
- package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +0 -4
- package/artifacts/contracts/types/Version.sol/VersionPartLib.json +0 -49
- package/contracts/components/Component.sol +0 -253
- package/contracts/components/IComponent.sol +0 -76
- package/contracts/components/IDistributionComponent.sol +0 -71
- package/contracts/components/IPoolComponent.sol +0 -113
- package/contracts/components/IProductComponent.sol +0 -40
- package/contracts/components/Pool.sol +0 -303
- package/contracts/components/Product.sol +0 -293
- package/contracts/instance/AccessManagerUpgradeableInitializeable.sol +0 -13
- package/contracts/instance/Cloneable.sol +0 -51
- package/contracts/instance/InstanceAccessManager.sol +0 -522
- package/contracts/instance/base/ComponentService.sol +0 -136
- package/contracts/instance/base/KeyValueStore.sol +0 -180
- package/contracts/instance/base/Lifecycle.sol +0 -109
- package/contracts/instance/module/ISetup.sol +0 -33
- package/contracts/instance/module/ITreasury.sol +0 -23
- package/contracts/instance/service/ApplicationService.sol +0 -350
- package/contracts/instance/service/BundleService.sol +0 -431
- package/contracts/instance/service/BundleServiceManager.sol +0 -51
- package/contracts/instance/service/ClaimService.sol +0 -151
- package/contracts/instance/service/DistributionService.sol +0 -435
- package/contracts/instance/service/DistributionServiceManager.sol +0 -51
- package/contracts/instance/service/IBundleService.sol +0 -93
- package/contracts/instance/service/IClaimService.sol +0 -61
- package/contracts/instance/service/IPolicyService.sol +0 -72
- package/contracts/instance/service/IPoolService.sol +0 -99
- package/contracts/instance/service/IProductService.sol +0 -40
- package/contracts/instance/service/PolicyService.sol +0 -360
- package/contracts/instance/service/PolicyServiceManager.sol +0 -54
- package/contracts/instance/service/PoolService.sol +0 -343
- package/contracts/instance/service/PoolServiceManager.sol +0 -51
- package/contracts/instance/service/ProductService.sol +0 -210
- package/contracts/instance/service/ProductServiceManager.sol +0 -54
- package/contracts/registry/RegistryAccessManager.sol +0 -216
- package/contracts/registry/ReleaseManager.sol +0 -322
- 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/types/Amount.sol +0 -60
- package/contracts/types/ChainId.sol +0 -38
- package/contracts/types/NumberId.sol +0 -52
- package/contracts/types/ObjectType.sol +0 -157
- package/contracts/types/PayoutId.sol +0 -54
- package/contracts/types/RoleId.sol +0 -97
- package/contracts/types/Seconds.sol +0 -54
- /package/contracts/{types → type}/DistributorType.sol +0 -0
- /package/contracts/{types → type}/Key32.sol +0 -0
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"_format": "hh-sol-artifact-1",
|
3
|
-
"contractName": "
|
4
|
-
"sourceName": "contracts/
|
3
|
+
"contractName": "IBundleService",
|
4
|
+
"sourceName": "contracts/pool/IBundleService.sol",
|
5
5
|
"abi": [
|
6
6
|
{
|
7
7
|
"inputs": [
|
@@ -44,118 +44,248 @@
|
|
44
44
|
{
|
45
45
|
"inputs": [
|
46
46
|
{
|
47
|
-
"internalType": "
|
48
|
-
"name": "
|
49
|
-
"type": "
|
47
|
+
"internalType": "NftId",
|
48
|
+
"name": "bundleNftId",
|
49
|
+
"type": "uint96"
|
50
|
+
},
|
51
|
+
{
|
52
|
+
"internalType": "StateId",
|
53
|
+
"name": "state",
|
54
|
+
"type": "uint8"
|
55
|
+
},
|
56
|
+
{
|
57
|
+
"internalType": "Timestamp",
|
58
|
+
"name": "expiredAt",
|
59
|
+
"type": "uint40"
|
50
60
|
}
|
51
61
|
],
|
52
|
-
"name": "
|
62
|
+
"name": "ErrorBundleServiceBundleNotOpen",
|
53
63
|
"type": "error"
|
54
64
|
},
|
55
65
|
{
|
56
66
|
"inputs": [
|
57
67
|
{
|
58
68
|
"internalType": "NftId",
|
59
|
-
"name": "
|
69
|
+
"name": "bundleNftId",
|
70
|
+
"type": "uint96"
|
71
|
+
},
|
72
|
+
{
|
73
|
+
"internalType": "NftId",
|
74
|
+
"name": "expectedPool",
|
75
|
+
"type": "uint96"
|
76
|
+
},
|
77
|
+
{
|
78
|
+
"internalType": "NftId",
|
79
|
+
"name": "actualPool",
|
60
80
|
"type": "uint96"
|
61
81
|
}
|
62
82
|
],
|
63
|
-
"name": "
|
83
|
+
"name": "ErrorBundleServiceBundlePoolMismatch",
|
64
84
|
"type": "error"
|
65
85
|
},
|
66
86
|
{
|
67
87
|
"inputs": [
|
68
88
|
{
|
69
|
-
"internalType": "
|
70
|
-
"name": "
|
71
|
-
"type": "
|
89
|
+
"internalType": "NftId",
|
90
|
+
"name": "bundleNftId",
|
91
|
+
"type": "uint96"
|
72
92
|
}
|
73
93
|
],
|
74
|
-
"name": "
|
94
|
+
"name": "ErrorBundleServiceBundleUnknown",
|
95
|
+
"type": "error"
|
96
|
+
},
|
97
|
+
{
|
98
|
+
"inputs": [
|
99
|
+
{
|
100
|
+
"internalType": "NftId",
|
101
|
+
"name": "bundleNftId",
|
102
|
+
"type": "uint96"
|
103
|
+
},
|
104
|
+
{
|
105
|
+
"internalType": "uint256",
|
106
|
+
"name": "openPoliciesCount",
|
107
|
+
"type": "uint256"
|
108
|
+
}
|
109
|
+
],
|
110
|
+
"name": "ErrorBundleServiceBundleWithOpenPolicies",
|
111
|
+
"type": "error"
|
112
|
+
},
|
113
|
+
{
|
114
|
+
"inputs": [
|
115
|
+
{
|
116
|
+
"internalType": "NftId",
|
117
|
+
"name": "bundleNftId",
|
118
|
+
"type": "uint96"
|
119
|
+
},
|
120
|
+
{
|
121
|
+
"internalType": "Amount",
|
122
|
+
"name": "capacityAmount",
|
123
|
+
"type": "uint96"
|
124
|
+
},
|
125
|
+
{
|
126
|
+
"internalType": "Amount",
|
127
|
+
"name": "collateralAmount",
|
128
|
+
"type": "uint96"
|
129
|
+
}
|
130
|
+
],
|
131
|
+
"name": "ErrorBundleServiceCapacityInsufficient",
|
75
132
|
"type": "error"
|
76
133
|
},
|
77
134
|
{
|
78
135
|
"inputs": [],
|
79
|
-
"name": "
|
136
|
+
"name": "ErrorBundleServiceExtensionLifetimeIsZero",
|
80
137
|
"type": "error"
|
81
138
|
},
|
82
139
|
{
|
83
140
|
"inputs": [
|
84
141
|
{
|
85
|
-
"internalType": "
|
86
|
-
"name": "
|
87
|
-
"type": "
|
142
|
+
"internalType": "Amount",
|
143
|
+
"name": "amount",
|
144
|
+
"type": "uint96"
|
145
|
+
},
|
146
|
+
{
|
147
|
+
"internalType": "Amount",
|
148
|
+
"name": "limit",
|
149
|
+
"type": "uint96"
|
88
150
|
}
|
89
151
|
],
|
90
|
-
"name": "
|
152
|
+
"name": "ErrorBundleServiceFeesWithdrawAmountExceedsLimit",
|
91
153
|
"type": "error"
|
92
154
|
},
|
93
155
|
{
|
94
156
|
"inputs": [
|
95
157
|
{
|
96
158
|
"internalType": "address",
|
97
|
-
"name": "
|
159
|
+
"name": "bundleOwner",
|
160
|
+
"type": "address"
|
161
|
+
},
|
162
|
+
{
|
163
|
+
"internalType": "address",
|
164
|
+
"name": "tokenHandlerAddress",
|
98
165
|
"type": "address"
|
166
|
+
},
|
167
|
+
{
|
168
|
+
"internalType": "Amount",
|
169
|
+
"name": "amount",
|
170
|
+
"type": "uint96"
|
99
171
|
}
|
100
172
|
],
|
101
|
-
"name": "
|
173
|
+
"name": "ErrorBundleServiceInsufficientAllowance",
|
102
174
|
"type": "error"
|
103
175
|
},
|
104
176
|
{
|
105
177
|
"inputs": [
|
106
178
|
{
|
107
179
|
"internalType": "NftId",
|
108
|
-
"name": "
|
180
|
+
"name": "policyNftId",
|
109
181
|
"type": "uint96"
|
110
182
|
}
|
111
183
|
],
|
112
|
-
"name": "
|
184
|
+
"name": "ErrorBundleServicePolicyNotCloseable",
|
113
185
|
"type": "error"
|
114
186
|
},
|
115
187
|
{
|
116
188
|
"inputs": [
|
117
189
|
{
|
118
|
-
"internalType": "
|
119
|
-
"name": "
|
190
|
+
"internalType": "Amount",
|
191
|
+
"name": "amount",
|
120
192
|
"type": "uint96"
|
121
193
|
},
|
194
|
+
{
|
195
|
+
"internalType": "Amount",
|
196
|
+
"name": "limit",
|
197
|
+
"type": "uint96"
|
198
|
+
}
|
199
|
+
],
|
200
|
+
"name": "ErrorBundleServiceUnstakeAmountExceedsLimit",
|
201
|
+
"type": "error"
|
202
|
+
},
|
203
|
+
{
|
204
|
+
"inputs": [
|
122
205
|
{
|
123
206
|
"internalType": "NftId",
|
124
|
-
"name": "
|
207
|
+
"name": "nftId",
|
125
208
|
"type": "uint96"
|
126
209
|
}
|
127
210
|
],
|
128
|
-
"name": "
|
211
|
+
"name": "ErrorNftOwnableAlreadyLinked",
|
129
212
|
"type": "error"
|
130
213
|
},
|
131
214
|
{
|
132
|
-
"anonymous": false,
|
133
215
|
"inputs": [
|
134
216
|
{
|
135
|
-
"indexed": false,
|
136
217
|
"internalType": "address",
|
137
|
-
"name": "
|
218
|
+
"name": "contractAddress",
|
138
219
|
"type": "address"
|
139
220
|
}
|
140
221
|
],
|
141
|
-
"name": "
|
142
|
-
"type": "
|
222
|
+
"name": "ErrorNftOwnableContractNotRegistered",
|
223
|
+
"type": "error"
|
224
|
+
},
|
225
|
+
{
|
226
|
+
"inputs": [],
|
227
|
+
"name": "ErrorNftOwnableInitialOwnerZero",
|
228
|
+
"type": "error"
|
143
229
|
},
|
144
230
|
{
|
145
|
-
"anonymous": false,
|
146
231
|
"inputs": [
|
147
232
|
{
|
148
|
-
"indexed": false,
|
149
233
|
"internalType": "NftId",
|
150
|
-
"name": "
|
234
|
+
"name": "nftId",
|
151
235
|
"type": "uint96"
|
152
236
|
},
|
237
|
+
{
|
238
|
+
"internalType": "ObjectType",
|
239
|
+
"name": "expectedObjectType",
|
240
|
+
"type": "uint8"
|
241
|
+
}
|
242
|
+
],
|
243
|
+
"name": "ErrorNftOwnableInvalidType",
|
244
|
+
"type": "error"
|
245
|
+
},
|
246
|
+
{
|
247
|
+
"inputs": [
|
248
|
+
{
|
249
|
+
"internalType": "address",
|
250
|
+
"name": "account",
|
251
|
+
"type": "address"
|
252
|
+
}
|
253
|
+
],
|
254
|
+
"name": "ErrorNftOwnableNotOwner",
|
255
|
+
"type": "error"
|
256
|
+
},
|
257
|
+
{
|
258
|
+
"inputs": [
|
259
|
+
{
|
260
|
+
"internalType": "address",
|
261
|
+
"name": "registryAddress",
|
262
|
+
"type": "address"
|
263
|
+
}
|
264
|
+
],
|
265
|
+
"name": "ErrorNotRegistry",
|
266
|
+
"type": "error"
|
267
|
+
},
|
268
|
+
{
|
269
|
+
"inputs": [],
|
270
|
+
"name": "ErrorServiceNotImplemented",
|
271
|
+
"type": "error"
|
272
|
+
},
|
273
|
+
{
|
274
|
+
"anonymous": false,
|
275
|
+
"inputs": [
|
153
276
|
{
|
154
277
|
"indexed": false,
|
155
|
-
"internalType": "
|
156
|
-
"name": "
|
157
|
-
"type": "
|
158
|
-
}
|
278
|
+
"internalType": "address",
|
279
|
+
"name": "authority",
|
280
|
+
"type": "address"
|
281
|
+
}
|
282
|
+
],
|
283
|
+
"name": "AuthorityUpdated",
|
284
|
+
"type": "event"
|
285
|
+
},
|
286
|
+
{
|
287
|
+
"anonymous": false,
|
288
|
+
"inputs": [
|
159
289
|
{
|
160
290
|
"indexed": false,
|
161
291
|
"internalType": "NftId",
|
@@ -163,7 +293,7 @@
|
|
163
293
|
"type": "uint96"
|
164
294
|
}
|
165
295
|
],
|
166
|
-
"name": "
|
296
|
+
"name": "LogBundleServiceBundleActivated",
|
167
297
|
"type": "event"
|
168
298
|
},
|
169
299
|
{
|
@@ -172,23 +302,23 @@
|
|
172
302
|
{
|
173
303
|
"indexed": false,
|
174
304
|
"internalType": "NftId",
|
175
|
-
"name": "
|
305
|
+
"name": "bundleNftId",
|
176
306
|
"type": "uint96"
|
177
307
|
},
|
178
308
|
{
|
179
309
|
"indexed": false,
|
180
|
-
"internalType": "
|
181
|
-
"name": "
|
182
|
-
"type": "
|
310
|
+
"internalType": "Seconds",
|
311
|
+
"name": "lifetimeExtension",
|
312
|
+
"type": "uint40"
|
183
313
|
},
|
184
314
|
{
|
185
315
|
"indexed": false,
|
186
|
-
"internalType": "
|
187
|
-
"name": "
|
188
|
-
"type": "
|
316
|
+
"internalType": "Timestamp",
|
317
|
+
"name": "extendedExpiredAt",
|
318
|
+
"type": "uint40"
|
189
319
|
}
|
190
320
|
],
|
191
|
-
"name": "
|
321
|
+
"name": "LogBundleServiceBundleExtended",
|
192
322
|
"type": "event"
|
193
323
|
},
|
194
324
|
{
|
@@ -197,17 +327,11 @@
|
|
197
327
|
{
|
198
328
|
"indexed": false,
|
199
329
|
"internalType": "NftId",
|
200
|
-
"name": "
|
330
|
+
"name": "bundleNftId",
|
201
331
|
"type": "uint96"
|
202
|
-
},
|
203
|
-
{
|
204
|
-
"indexed": false,
|
205
|
-
"internalType": "RoleId",
|
206
|
-
"name": "bundleOwnerRole",
|
207
|
-
"type": "uint64"
|
208
332
|
}
|
209
333
|
],
|
210
|
-
"name": "
|
334
|
+
"name": "LogBundleServiceBundleLocked",
|
211
335
|
"type": "event"
|
212
336
|
},
|
213
337
|
{
|
@@ -216,23 +340,29 @@
|
|
216
340
|
{
|
217
341
|
"indexed": false,
|
218
342
|
"internalType": "NftId",
|
219
|
-
"name": "
|
343
|
+
"name": "bundleNftId",
|
220
344
|
"type": "uint96"
|
221
345
|
},
|
222
346
|
{
|
223
347
|
"indexed": false,
|
224
|
-
"internalType": "
|
225
|
-
"name": "
|
226
|
-
"type": "
|
348
|
+
"internalType": "address",
|
349
|
+
"name": "recipient",
|
350
|
+
"type": "address"
|
227
351
|
},
|
228
352
|
{
|
229
353
|
"indexed": false,
|
230
|
-
"internalType": "
|
231
|
-
"name": "
|
232
|
-
"type": "
|
354
|
+
"internalType": "address",
|
355
|
+
"name": "tokenAddress",
|
356
|
+
"type": "address"
|
357
|
+
},
|
358
|
+
{
|
359
|
+
"indexed": false,
|
360
|
+
"internalType": "Amount",
|
361
|
+
"name": "amount",
|
362
|
+
"type": "uint96"
|
233
363
|
}
|
234
364
|
],
|
235
|
-
"name": "
|
365
|
+
"name": "LogBundleServiceFeesWithdrawn",
|
236
366
|
"type": "event"
|
237
367
|
},
|
238
368
|
{
|
@@ -250,19 +380,45 @@
|
|
250
380
|
},
|
251
381
|
{
|
252
382
|
"inputs": [
|
383
|
+
{
|
384
|
+
"internalType": "contract IInstance",
|
385
|
+
"name": "instance",
|
386
|
+
"type": "address"
|
387
|
+
},
|
253
388
|
{
|
254
389
|
"internalType": "NftId",
|
255
390
|
"name": "bundleNftId",
|
256
391
|
"type": "uint96"
|
257
392
|
}
|
258
393
|
],
|
259
|
-
"name": "
|
260
|
-
"outputs": [
|
394
|
+
"name": "close",
|
395
|
+
"outputs": [
|
396
|
+
{
|
397
|
+
"internalType": "Amount",
|
398
|
+
"name": "balanceAmount",
|
399
|
+
"type": "uint96"
|
400
|
+
},
|
401
|
+
{
|
402
|
+
"internalType": "Amount",
|
403
|
+
"name": "feeAmount",
|
404
|
+
"type": "uint96"
|
405
|
+
}
|
406
|
+
],
|
261
407
|
"stateMutability": "nonpayable",
|
262
408
|
"type": "function"
|
263
409
|
},
|
264
410
|
{
|
265
411
|
"inputs": [
|
412
|
+
{
|
413
|
+
"internalType": "contract IInstance",
|
414
|
+
"name": "instance",
|
415
|
+
"type": "address"
|
416
|
+
},
|
417
|
+
{
|
418
|
+
"internalType": "NftId",
|
419
|
+
"name": "poolNftId",
|
420
|
+
"type": "uint96"
|
421
|
+
},
|
266
422
|
{
|
267
423
|
"internalType": "address",
|
268
424
|
"name": "owner",
|
@@ -301,7 +457,7 @@
|
|
301
457
|
"type": "bytes"
|
302
458
|
}
|
303
459
|
],
|
304
|
-
"name": "
|
460
|
+
"name": "create",
|
305
461
|
"outputs": [
|
306
462
|
{
|
307
463
|
"internalType": "NftId",
|
@@ -312,6 +468,30 @@
|
|
312
468
|
"stateMutability": "nonpayable",
|
313
469
|
"type": "function"
|
314
470
|
},
|
471
|
+
{
|
472
|
+
"inputs": [
|
473
|
+
{
|
474
|
+
"internalType": "NftId",
|
475
|
+
"name": "bundleNftId",
|
476
|
+
"type": "uint96"
|
477
|
+
},
|
478
|
+
{
|
479
|
+
"internalType": "Seconds",
|
480
|
+
"name": "lifetimeExtension",
|
481
|
+
"type": "uint40"
|
482
|
+
}
|
483
|
+
],
|
484
|
+
"name": "extend",
|
485
|
+
"outputs": [
|
486
|
+
{
|
487
|
+
"internalType": "Timestamp",
|
488
|
+
"name": "extendedExpiredAt",
|
489
|
+
"type": "uint40"
|
490
|
+
}
|
491
|
+
],
|
492
|
+
"stateMutability": "nonpayable",
|
493
|
+
"type": "function"
|
494
|
+
},
|
315
495
|
{
|
316
496
|
"inputs": [],
|
317
497
|
"name": "getDomain",
|
@@ -375,19 +555,6 @@
|
|
375
555
|
"stateMutability": "view",
|
376
556
|
"type": "function"
|
377
557
|
},
|
378
|
-
{
|
379
|
-
"inputs": [],
|
380
|
-
"name": "getMajorVersion",
|
381
|
-
"outputs": [
|
382
|
-
{
|
383
|
-
"internalType": "VersionPart",
|
384
|
-
"name": "majorVersion",
|
385
|
-
"type": "uint8"
|
386
|
-
}
|
387
|
-
],
|
388
|
-
"stateMutability": "view",
|
389
|
-
"type": "function"
|
390
|
-
},
|
391
558
|
{
|
392
559
|
"inputs": [],
|
393
560
|
"name": "getNftId",
|
@@ -429,15 +596,28 @@
|
|
429
596
|
},
|
430
597
|
{
|
431
598
|
"inputs": [],
|
432
|
-
"name": "
|
599
|
+
"name": "getRelease",
|
433
600
|
"outputs": [
|
434
601
|
{
|
435
|
-
"internalType": "
|
436
|
-
"name": "",
|
437
|
-
"type": "
|
602
|
+
"internalType": "VersionPart",
|
603
|
+
"name": "release",
|
604
|
+
"type": "uint8"
|
438
605
|
}
|
439
606
|
],
|
440
|
-
"stateMutability": "
|
607
|
+
"stateMutability": "pure",
|
608
|
+
"type": "function"
|
609
|
+
},
|
610
|
+
{
|
611
|
+
"inputs": [],
|
612
|
+
"name": "getRoleId",
|
613
|
+
"outputs": [
|
614
|
+
{
|
615
|
+
"internalType": "RoleId",
|
616
|
+
"name": "serviceRoleId",
|
617
|
+
"type": "uint64"
|
618
|
+
}
|
619
|
+
],
|
620
|
+
"stateMutability": "pure",
|
441
621
|
"type": "function"
|
442
622
|
},
|
443
623
|
{
|
@@ -487,6 +667,25 @@
|
|
487
667
|
{
|
488
668
|
"inputs": [],
|
489
669
|
"name": "linkToRegisteredNftId",
|
670
|
+
"outputs": [
|
671
|
+
{
|
672
|
+
"internalType": "NftId",
|
673
|
+
"name": "",
|
674
|
+
"type": "uint96"
|
675
|
+
}
|
676
|
+
],
|
677
|
+
"stateMutability": "nonpayable",
|
678
|
+
"type": "function"
|
679
|
+
},
|
680
|
+
{
|
681
|
+
"inputs": [
|
682
|
+
{
|
683
|
+
"internalType": "NftId",
|
684
|
+
"name": "bundleNftId",
|
685
|
+
"type": "uint96"
|
686
|
+
}
|
687
|
+
],
|
688
|
+
"name": "lock",
|
490
689
|
"outputs": [],
|
491
690
|
"stateMutability": "nonpayable",
|
492
691
|
"type": "function"
|
@@ -500,105 +699,18 @@
|
|
500
699
|
},
|
501
700
|
{
|
502
701
|
"internalType": "NftId",
|
503
|
-
"name": "
|
702
|
+
"name": "policyNftId",
|
504
703
|
"type": "uint96"
|
505
704
|
},
|
506
705
|
{
|
507
706
|
"internalType": "NftId",
|
508
|
-
"name": "
|
707
|
+
"name": "bundleNftId",
|
509
708
|
"type": "uint96"
|
510
709
|
},
|
511
710
|
{
|
512
|
-
"
|
513
|
-
|
514
|
-
|
515
|
-
"name": "productNftId",
|
516
|
-
"type": "uint96"
|
517
|
-
},
|
518
|
-
{
|
519
|
-
"internalType": "NftId",
|
520
|
-
"name": "bundleNftId",
|
521
|
-
"type": "uint96"
|
522
|
-
},
|
523
|
-
{
|
524
|
-
"internalType": "ReferralId",
|
525
|
-
"name": "referralId",
|
526
|
-
"type": "bytes8"
|
527
|
-
},
|
528
|
-
{
|
529
|
-
"internalType": "RiskId",
|
530
|
-
"name": "riskId",
|
531
|
-
"type": "bytes8"
|
532
|
-
},
|
533
|
-
{
|
534
|
-
"internalType": "uint256",
|
535
|
-
"name": "sumInsuredAmount",
|
536
|
-
"type": "uint256"
|
537
|
-
},
|
538
|
-
{
|
539
|
-
"internalType": "uint256",
|
540
|
-
"name": "premiumAmount",
|
541
|
-
"type": "uint256"
|
542
|
-
},
|
543
|
-
{
|
544
|
-
"internalType": "uint256",
|
545
|
-
"name": "premiumPaidAmount",
|
546
|
-
"type": "uint256"
|
547
|
-
},
|
548
|
-
{
|
549
|
-
"internalType": "Seconds",
|
550
|
-
"name": "lifetime",
|
551
|
-
"type": "uint40"
|
552
|
-
},
|
553
|
-
{
|
554
|
-
"internalType": "bytes",
|
555
|
-
"name": "applicationData",
|
556
|
-
"type": "bytes"
|
557
|
-
},
|
558
|
-
{
|
559
|
-
"internalType": "bytes",
|
560
|
-
"name": "policyData",
|
561
|
-
"type": "bytes"
|
562
|
-
},
|
563
|
-
{
|
564
|
-
"internalType": "uint16",
|
565
|
-
"name": "claimsCount",
|
566
|
-
"type": "uint16"
|
567
|
-
},
|
568
|
-
{
|
569
|
-
"internalType": "uint16",
|
570
|
-
"name": "openClaimsCount",
|
571
|
-
"type": "uint16"
|
572
|
-
},
|
573
|
-
{
|
574
|
-
"internalType": "uint256",
|
575
|
-
"name": "payoutAmount",
|
576
|
-
"type": "uint256"
|
577
|
-
},
|
578
|
-
{
|
579
|
-
"internalType": "Timestamp",
|
580
|
-
"name": "activatedAt",
|
581
|
-
"type": "uint40"
|
582
|
-
},
|
583
|
-
{
|
584
|
-
"internalType": "Timestamp",
|
585
|
-
"name": "expiredAt",
|
586
|
-
"type": "uint40"
|
587
|
-
},
|
588
|
-
{
|
589
|
-
"internalType": "Timestamp",
|
590
|
-
"name": "closedAt",
|
591
|
-
"type": "uint40"
|
592
|
-
}
|
593
|
-
],
|
594
|
-
"internalType": "struct IPolicy.PolicyInfo",
|
595
|
-
"name": "applicationInfo",
|
596
|
-
"type": "tuple"
|
597
|
-
},
|
598
|
-
{
|
599
|
-
"internalType": "uint256",
|
600
|
-
"name": "premiumAmount",
|
601
|
-
"type": "uint256"
|
711
|
+
"internalType": "Amount",
|
712
|
+
"name": "collateralAmount",
|
713
|
+
"type": "uint96"
|
602
714
|
}
|
603
715
|
],
|
604
716
|
"name": "lockCollateral",
|
@@ -609,20 +721,25 @@
|
|
609
721
|
{
|
610
722
|
"inputs": [
|
611
723
|
{
|
612
|
-
"internalType": "
|
613
|
-
"name": "
|
724
|
+
"internalType": "contract IInstance",
|
725
|
+
"name": "instance",
|
614
726
|
"type": "address"
|
727
|
+
},
|
728
|
+
{
|
729
|
+
"internalType": "NftId",
|
730
|
+
"name": "policyNftId",
|
731
|
+
"type": "uint96"
|
615
732
|
}
|
616
733
|
],
|
617
|
-
"name": "
|
734
|
+
"name": "policyIsCloseable",
|
618
735
|
"outputs": [
|
619
736
|
{
|
620
|
-
"internalType": "
|
621
|
-
"name": "",
|
622
|
-
"type": "
|
737
|
+
"internalType": "bool",
|
738
|
+
"name": "isCloseable",
|
739
|
+
"type": "bool"
|
623
740
|
}
|
624
741
|
],
|
625
|
-
"stateMutability": "
|
742
|
+
"stateMutability": "view",
|
626
743
|
"type": "function"
|
627
744
|
},
|
628
745
|
{
|
@@ -638,91 +755,14 @@
|
|
638
755
|
"type": "uint96"
|
639
756
|
},
|
640
757
|
{
|
641
|
-
"
|
642
|
-
|
643
|
-
|
644
|
-
|
645
|
-
|
646
|
-
|
647
|
-
|
648
|
-
|
649
|
-
"name": "bundleNftId",
|
650
|
-
"type": "uint96"
|
651
|
-
},
|
652
|
-
{
|
653
|
-
"internalType": "ReferralId",
|
654
|
-
"name": "referralId",
|
655
|
-
"type": "bytes8"
|
656
|
-
},
|
657
|
-
{
|
658
|
-
"internalType": "RiskId",
|
659
|
-
"name": "riskId",
|
660
|
-
"type": "bytes8"
|
661
|
-
},
|
662
|
-
{
|
663
|
-
"internalType": "uint256",
|
664
|
-
"name": "sumInsuredAmount",
|
665
|
-
"type": "uint256"
|
666
|
-
},
|
667
|
-
{
|
668
|
-
"internalType": "uint256",
|
669
|
-
"name": "premiumAmount",
|
670
|
-
"type": "uint256"
|
671
|
-
},
|
672
|
-
{
|
673
|
-
"internalType": "uint256",
|
674
|
-
"name": "premiumPaidAmount",
|
675
|
-
"type": "uint256"
|
676
|
-
},
|
677
|
-
{
|
678
|
-
"internalType": "Seconds",
|
679
|
-
"name": "lifetime",
|
680
|
-
"type": "uint40"
|
681
|
-
},
|
682
|
-
{
|
683
|
-
"internalType": "bytes",
|
684
|
-
"name": "applicationData",
|
685
|
-
"type": "bytes"
|
686
|
-
},
|
687
|
-
{
|
688
|
-
"internalType": "bytes",
|
689
|
-
"name": "policyData",
|
690
|
-
"type": "bytes"
|
691
|
-
},
|
692
|
-
{
|
693
|
-
"internalType": "uint16",
|
694
|
-
"name": "claimsCount",
|
695
|
-
"type": "uint16"
|
696
|
-
},
|
697
|
-
{
|
698
|
-
"internalType": "uint16",
|
699
|
-
"name": "openClaimsCount",
|
700
|
-
"type": "uint16"
|
701
|
-
},
|
702
|
-
{
|
703
|
-
"internalType": "uint256",
|
704
|
-
"name": "payoutAmount",
|
705
|
-
"type": "uint256"
|
706
|
-
},
|
707
|
-
{
|
708
|
-
"internalType": "Timestamp",
|
709
|
-
"name": "activatedAt",
|
710
|
-
"type": "uint40"
|
711
|
-
},
|
712
|
-
{
|
713
|
-
"internalType": "Timestamp",
|
714
|
-
"name": "expiredAt",
|
715
|
-
"type": "uint40"
|
716
|
-
},
|
717
|
-
{
|
718
|
-
"internalType": "Timestamp",
|
719
|
-
"name": "closedAt",
|
720
|
-
"type": "uint40"
|
721
|
-
}
|
722
|
-
],
|
723
|
-
"internalType": "struct IPolicy.PolicyInfo",
|
724
|
-
"name": "policyInfo",
|
725
|
-
"type": "tuple"
|
758
|
+
"internalType": "NftId",
|
759
|
+
"name": "bundleNftId",
|
760
|
+
"type": "uint96"
|
761
|
+
},
|
762
|
+
{
|
763
|
+
"internalType": "Amount",
|
764
|
+
"name": "collateralAmount",
|
765
|
+
"type": "uint96"
|
726
766
|
}
|
727
767
|
],
|
728
768
|
"name": "releaseCollateral",
|
@@ -746,51 +786,9 @@
|
|
746
786
|
{
|
747
787
|
"inputs": [
|
748
788
|
{
|
749
|
-
"internalType": "
|
750
|
-
"name": "
|
751
|
-
"type": "
|
752
|
-
}
|
753
|
-
],
|
754
|
-
"name": "setBundleOwnerRole",
|
755
|
-
"outputs": [],
|
756
|
-
"stateMutability": "nonpayable",
|
757
|
-
"type": "function"
|
758
|
-
},
|
759
|
-
{
|
760
|
-
"inputs": [
|
761
|
-
{
|
762
|
-
"components": [
|
763
|
-
{
|
764
|
-
"internalType": "UFixed",
|
765
|
-
"name": "fractionalFee",
|
766
|
-
"type": "uint256"
|
767
|
-
},
|
768
|
-
{
|
769
|
-
"internalType": "uint256",
|
770
|
-
"name": "fixedFee",
|
771
|
-
"type": "uint256"
|
772
|
-
}
|
773
|
-
],
|
774
|
-
"internalType": "struct Fee",
|
775
|
-
"name": "poolFee",
|
776
|
-
"type": "tuple"
|
777
|
-
},
|
778
|
-
{
|
779
|
-
"components": [
|
780
|
-
{
|
781
|
-
"internalType": "UFixed",
|
782
|
-
"name": "fractionalFee",
|
783
|
-
"type": "uint256"
|
784
|
-
},
|
785
|
-
{
|
786
|
-
"internalType": "uint256",
|
787
|
-
"name": "fixedFee",
|
788
|
-
"type": "uint256"
|
789
|
-
}
|
790
|
-
],
|
791
|
-
"internalType": "struct Fee",
|
792
|
-
"name": "stakingFee",
|
793
|
-
"type": "tuple"
|
789
|
+
"internalType": "NftId",
|
790
|
+
"name": "bundleNftId",
|
791
|
+
"type": "uint96"
|
794
792
|
},
|
795
793
|
{
|
796
794
|
"components": [
|
@@ -806,11 +804,11 @@
|
|
806
804
|
}
|
807
805
|
],
|
808
806
|
"internalType": "struct Fee",
|
809
|
-
"name": "
|
807
|
+
"name": "fee",
|
810
808
|
"type": "tuple"
|
811
809
|
}
|
812
810
|
],
|
813
|
-
"name": "
|
811
|
+
"name": "setFee",
|
814
812
|
"outputs": [],
|
815
813
|
"stateMutability": "nonpayable",
|
816
814
|
"type": "function"
|
@@ -818,12 +816,22 @@
|
|
818
816
|
{
|
819
817
|
"inputs": [
|
820
818
|
{
|
821
|
-
"internalType": "
|
822
|
-
"name": "
|
823
|
-
"type": "
|
819
|
+
"internalType": "contract IInstance",
|
820
|
+
"name": "instance",
|
821
|
+
"type": "address"
|
822
|
+
},
|
823
|
+
{
|
824
|
+
"internalType": "NftId",
|
825
|
+
"name": "bundleNftId",
|
826
|
+
"type": "uint96"
|
827
|
+
},
|
828
|
+
{
|
829
|
+
"internalType": "Amount",
|
830
|
+
"name": "amount",
|
831
|
+
"type": "uint96"
|
824
832
|
}
|
825
833
|
],
|
826
|
-
"name": "
|
834
|
+
"name": "stake",
|
827
835
|
"outputs": [],
|
828
836
|
"stateMutability": "nonpayable",
|
829
837
|
"type": "function"
|
@@ -847,6 +855,66 @@
|
|
847
855
|
"stateMutability": "view",
|
848
856
|
"type": "function"
|
849
857
|
},
|
858
|
+
{
|
859
|
+
"inputs": [
|
860
|
+
{
|
861
|
+
"internalType": "contract IInstance",
|
862
|
+
"name": "instance",
|
863
|
+
"type": "address"
|
864
|
+
},
|
865
|
+
{
|
866
|
+
"internalType": "NftId",
|
867
|
+
"name": "policyNftId",
|
868
|
+
"type": "uint96"
|
869
|
+
}
|
870
|
+
],
|
871
|
+
"name": "unlinkPolicy",
|
872
|
+
"outputs": [],
|
873
|
+
"stateMutability": "nonpayable",
|
874
|
+
"type": "function"
|
875
|
+
},
|
876
|
+
{
|
877
|
+
"inputs": [
|
878
|
+
{
|
879
|
+
"internalType": "NftId",
|
880
|
+
"name": "bundleNftId",
|
881
|
+
"type": "uint96"
|
882
|
+
}
|
883
|
+
],
|
884
|
+
"name": "unlock",
|
885
|
+
"outputs": [],
|
886
|
+
"stateMutability": "nonpayable",
|
887
|
+
"type": "function"
|
888
|
+
},
|
889
|
+
{
|
890
|
+
"inputs": [
|
891
|
+
{
|
892
|
+
"internalType": "contract IInstance",
|
893
|
+
"name": "instance",
|
894
|
+
"type": "address"
|
895
|
+
},
|
896
|
+
{
|
897
|
+
"internalType": "NftId",
|
898
|
+
"name": "bundleNftId",
|
899
|
+
"type": "uint96"
|
900
|
+
},
|
901
|
+
{
|
902
|
+
"internalType": "Amount",
|
903
|
+
"name": "amount",
|
904
|
+
"type": "uint96"
|
905
|
+
}
|
906
|
+
],
|
907
|
+
"name": "unstake",
|
908
|
+
"outputs": [
|
909
|
+
{
|
910
|
+
"internalType": "Amount",
|
911
|
+
"name": "unstakedAmount",
|
912
|
+
"type": "uint96"
|
913
|
+
}
|
914
|
+
],
|
915
|
+
"stateMutability": "nonpayable",
|
916
|
+
"type": "function"
|
917
|
+
},
|
850
918
|
{
|
851
919
|
"inputs": [
|
852
920
|
{
|
@@ -859,6 +927,30 @@
|
|
859
927
|
"outputs": [],
|
860
928
|
"stateMutability": "nonpayable",
|
861
929
|
"type": "function"
|
930
|
+
},
|
931
|
+
{
|
932
|
+
"inputs": [
|
933
|
+
{
|
934
|
+
"internalType": "NftId",
|
935
|
+
"name": "bundleNftId",
|
936
|
+
"type": "uint96"
|
937
|
+
},
|
938
|
+
{
|
939
|
+
"internalType": "Amount",
|
940
|
+
"name": "amount",
|
941
|
+
"type": "uint96"
|
942
|
+
}
|
943
|
+
],
|
944
|
+
"name": "withdrawBundleFees",
|
945
|
+
"outputs": [
|
946
|
+
{
|
947
|
+
"internalType": "Amount",
|
948
|
+
"name": "withdrawnAmount",
|
949
|
+
"type": "uint96"
|
950
|
+
}
|
951
|
+
],
|
952
|
+
"stateMutability": "nonpayable",
|
953
|
+
"type": "function"
|
862
954
|
}
|
863
955
|
],
|
864
956
|
"bytecode": "0x",
|