@etherisc/gif-next 0.0.2-bf51045-496 → 0.0.2-bf9f7e6-880
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +44 -0
- package/artifacts/contracts/accounting/AccountingService.sol/AccountingService.dbg.json +1 -1
- package/artifacts/contracts/accounting/AccountingService.sol/AccountingService.json +69 -62
- package/artifacts/contracts/accounting/AccountingServiceManager.sol/AccountingServiceManager.dbg.json +1 -1
- package/artifacts/contracts/accounting/AccountingServiceManager.sol/AccountingServiceManager.json +29 -31
- package/artifacts/contracts/accounting/IAccountingService.sol/IAccountingService.dbg.json +1 -1
- package/artifacts/contracts/accounting/IAccountingService.sol/IAccountingService.json +33 -9
- package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.dbg.json +1 -1
- package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.json +454 -253
- package/artifacts/contracts/authorization/AccessAdmin.sol/IAccessManagedChecker.dbg.json +1 -1
- package/artifacts/contracts/authorization/AccessAdminLib.sol/AccessAdminLib.dbg.json +4 -0
- package/artifacts/contracts/authorization/AccessAdminLib.sol/AccessAdminLib.json +673 -0
- package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.dbg.json +1 -1
- package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.json +202 -5
- package/artifacts/contracts/authorization/Authorization.sol/Authorization.dbg.json +1 -1
- package/artifacts/contracts/authorization/Authorization.sol/Authorization.json +227 -26
- package/artifacts/contracts/authorization/IAccess.sol/IAccess.dbg.json +1 -1
- package/artifacts/contracts/authorization/IAccessAdmin.sol/IAccessAdmin.dbg.json +1 -1
- package/artifacts/contracts/authorization/IAccessAdmin.sol/IAccessAdmin.json +353 -189
- package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.dbg.json +1 -1
- package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.json +105 -18
- package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.dbg.json +1 -1
- package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.dbg.json +1 -1
- package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.json +2 -2
- package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.dbg.json +1 -1
- package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.json +74 -157
- package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.dbg.json +1 -1
- package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.json +212 -38
- package/artifacts/contracts/distribution/Distribution.sol/Distribution.dbg.json +1 -1
- package/artifacts/contracts/distribution/Distribution.sol/Distribution.json +39 -95
- package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.dbg.json +1 -1
- package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.json +271 -185
- package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +1 -1
- package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.json +66 -60
- package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.dbg.json +1 -1
- package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.json +26 -82
- package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.dbg.json +1 -1
- package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.json +159 -72
- package/artifacts/contracts/examples/fire/DamageLevel.sol/DamageLevelLib.dbg.json +1 -1
- package/artifacts/contracts/examples/fire/FirePool.sol/FirePool.dbg.json +1 -1
- package/artifacts/contracts/examples/fire/FirePool.sol/FirePool.json +92 -88
- package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.dbg.json +1 -1
- package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.json +193 -51
- package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.dbg.json +1 -1
- package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.json +248 -237
- package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.dbg.json +1 -1
- package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.json +212 -38
- package/artifacts/contracts/examples/fire/FireUSD.sol/FireUSD.dbg.json +1 -1
- package/artifacts/contracts/examples/unpermissioned/SimpleDistribution.sol/SimpleDistribution.dbg.json +1 -1
- package/artifacts/contracts/examples/unpermissioned/SimpleDistribution.sol/SimpleDistribution.json +132 -173
- package/artifacts/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol/SimpleDistributionAuthorization.dbg.json +1 -1
- package/artifacts/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol/SimpleDistributionAuthorization.json +212 -38
- package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.dbg.json +1 -1
- package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.json +75 -68
- package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.dbg.json +1 -1
- package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.json +123 -116
- package/artifacts/contracts/examples/unpermissioned/SimplePoolAuthorization.sol/SimplePoolAuthorization.dbg.json +1 -1
- package/artifacts/contracts/examples/unpermissioned/SimplePoolAuthorization.sol/SimplePoolAuthorization.json +193 -51
- package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.dbg.json +1 -1
- package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.json +338 -242
- package/artifacts/contracts/examples/unpermissioned/SimpleProductAuthorization.sol/SimpleProductAuthorization.dbg.json +1 -1
- package/artifacts/contracts/examples/unpermissioned/SimpleProductAuthorization.sol/SimpleProductAuthorization.json +212 -38
- package/artifacts/contracts/instance/BundleSet.sol/BundleSet.dbg.json +1 -1
- package/artifacts/contracts/instance/BundleSet.sol/BundleSet.json +88 -45
- package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
- package/artifacts/contracts/instance/IInstance.sol/IInstance.json +158 -29
- package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
- package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +108 -9
- package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
- package/artifacts/contracts/instance/Instance.sol/Instance.json +187 -54
- package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.json +677 -325
- package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.json +193 -51
- package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +496 -324
- package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +121 -85
- package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +26 -38
- package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.json +619 -559
- package/artifacts/contracts/instance/RiskSet.sol/RiskSet.dbg.json +1 -1
- package/artifacts/contracts/instance/RiskSet.sol/RiskSet.json +96 -53
- package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.dbg.json +1 -1
- package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.json +2 -2
- package/artifacts/contracts/instance/base/Cloneable.sol/Cloneable.dbg.json +1 -1
- package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.dbg.json +1 -1
- package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.json +2 -2
- package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.dbg.json +1 -1
- package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.json +2 -2
- package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.dbg.json +1 -1
- package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.json +16 -5
- package/artifacts/contracts/instance/base/ObjectSetHelperLib.sol/ObjectSetHelperLib.dbg.json +4 -0
- package/artifacts/contracts/instance/base/ObjectSetHelperLib.sol/ObjectSetHelperLib.json +168 -0
- 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 +1 -1
- package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.dbg.json +1 -1
- package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.json +60 -51
- package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.dbg.json +1 -1
- package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.json +194 -40
- package/artifacts/contracts/oracle/IOracle.sol/IOracle.dbg.json +1 -1
- package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.dbg.json +1 -1
- package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.json +30 -21
- package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.dbg.json +1 -1
- package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.json +27 -3
- package/artifacts/contracts/oracle/Oracle.sol/Oracle.dbg.json +1 -1
- package/artifacts/contracts/oracle/Oracle.sol/Oracle.json +44 -35
- package/artifacts/contracts/oracle/OracleService.sol/OracleService.dbg.json +1 -1
- package/artifacts/contracts/oracle/OracleService.sol/OracleService.json +75 -68
- package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.dbg.json +1 -1
- package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.json +34 -36
- package/artifacts/contracts/pool/BasicPool.sol/BasicPool.dbg.json +1 -1
- package/artifacts/contracts/pool/BasicPool.sol/BasicPool.json +65 -56
- package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.dbg.json +1 -1
- package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.json +193 -51
- package/artifacts/contracts/pool/BundleService.sol/BundleService.dbg.json +1 -1
- package/artifacts/contracts/pool/BundleService.sol/BundleService.json +108 -207
- package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.dbg.json +1 -1
- package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.json +42 -64
- package/artifacts/contracts/pool/IBundleService.sol/IBundleService.dbg.json +1 -1
- package/artifacts/contracts/pool/IBundleService.sol/IBundleService.json +44 -86
- package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.dbg.json +1 -1
- package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.json +40 -31
- package/artifacts/contracts/pool/IPoolService.sol/IPoolService.dbg.json +1 -1
- package/artifacts/contracts/pool/IPoolService.sol/IPoolService.json +138 -193
- package/artifacts/contracts/pool/Pool.sol/Pool.dbg.json +1 -1
- package/artifacts/contracts/pool/Pool.sol/Pool.json +53 -44
- package/artifacts/contracts/pool/PoolLib.sol/PoolLib.dbg.json +4 -0
- package/artifacts/contracts/pool/PoolLib.sol/PoolLib.json +456 -0
- package/artifacts/contracts/pool/PoolService.sol/PoolService.dbg.json +1 -1
- package/artifacts/contracts/pool/PoolService.sol/PoolService.json +254 -299
- package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.dbg.json +1 -1
- package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.json +70 -56
- package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.dbg.json +1 -1
- package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.json +123 -50
- package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +1 -1
- package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.json +37 -27
- package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.dbg.json +1 -1
- package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.json +176 -152
- package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.dbg.json +1 -1
- package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.json +212 -38
- package/artifacts/contracts/product/ClaimService.sol/ClaimService.dbg.json +1 -1
- package/artifacts/contracts/product/ClaimService.sol/ClaimService.json +244 -187
- package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +1 -1
- package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.json +64 -74
- package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.dbg.json +1 -1
- package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.json +69 -3
- package/artifacts/contracts/product/IClaimService.sol/IClaimService.dbg.json +1 -1
- package/artifacts/contracts/product/IClaimService.sol/IClaimService.json +142 -20
- package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.dbg.json +1 -1
- package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.json +105 -68
- package/artifacts/contracts/product/IPricingService.sol/IPricingService.dbg.json +1 -1
- package/artifacts/contracts/product/IPricingService.sol/IPricingService.json +48 -3
- package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.dbg.json +1 -1
- package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.json +157 -133
- package/artifacts/contracts/product/IRiskService.sol/IRiskService.dbg.json +1 -1
- package/artifacts/contracts/product/IRiskService.sol/IRiskService.json +58 -7
- package/artifacts/contracts/product/PolicyService.sol/PolicyService.dbg.json +1 -1
- package/artifacts/contracts/product/PolicyService.sol/PolicyService.json +193 -173
- package/artifacts/contracts/product/PolicyServiceLib.sol/PolicyServiceLib.dbg.json +4 -0
- package/artifacts/contracts/product/PolicyServiceLib.sol/PolicyServiceLib.json +293 -0
- package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +1 -1
- package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.json +54 -56
- package/artifacts/contracts/product/PricingService.sol/PricingService.dbg.json +1 -1
- package/artifacts/contracts/product/PricingService.sol/PricingService.json +96 -108
- package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.dbg.json +1 -1
- package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.json +35 -57
- package/artifacts/contracts/product/Product.sol/Product.dbg.json +1 -1
- package/artifacts/contracts/product/Product.sol/Product.json +170 -146
- package/artifacts/contracts/product/RiskService.sol/RiskService.dbg.json +1 -1
- package/artifacts/contracts/product/RiskService.sol/RiskService.json +131 -81
- package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.dbg.json +1 -1
- package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.json +46 -28
- package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
- package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
- package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +36 -12
- package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
- package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +31 -7
- package/artifacts/contracts/registry/IRelease.sol/IRelease.dbg.json +4 -0
- package/artifacts/contracts/registry/IRelease.sol/IRelease.json +24 -0
- package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
- package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
- package/artifacts/contracts/registry/Registry.sol/Registry.json +74 -50
- package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.dbg.json +1 -1
- package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.json +553 -434
- package/artifacts/contracts/registry/RegistryAuthorization.sol/RegistryAuthorization.dbg.json +4 -0
- package/artifacts/contracts/registry/RegistryAuthorization.sol/RegistryAuthorization.json +878 -0
- package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
- package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +51 -44
- package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
- package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +22 -24
- package/artifacts/contracts/registry/ReleaseAdmin.sol/ReleaseAdmin.dbg.json +4 -0
- package/artifacts/contracts/registry/ReleaseAdmin.sol/ReleaseAdmin.json +1954 -0
- package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.dbg.json +1 -1
- package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.json +2 -2
- package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.dbg.json +1 -1
- package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.json +333 -63
- package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.dbg.json +1 -1
- package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.json +6 -6
- package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +1 -1
- package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +4 -4
- package/artifacts/contracts/shared/Component.sol/Component.dbg.json +1 -1
- package/artifacts/contracts/shared/Component.sol/Component.json +43 -34
- package/artifacts/contracts/shared/ComponentService.sol/ComponentService.dbg.json +1 -1
- package/artifacts/contracts/shared/ComponentService.sol/ComponentService.json +147 -165
- package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.dbg.json +1 -1
- package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.json +48 -50
- package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.dbg.json +1 -1
- package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.json +27 -16
- package/artifacts/contracts/shared/ContractLib.sol/ContractLib.dbg.json +1 -1
- package/artifacts/contracts/shared/ContractLib.sol/ContractLib.json +113 -4
- package/artifacts/contracts/shared/ContractLib.sol/IInstanceAdminHelper.dbg.json +1 -1
- package/artifacts/contracts/shared/ContractLib.sol/ITargetHelper.dbg.json +1 -1
- package/artifacts/contracts/shared/ContractLib.sol/ITokenRegistryHelper.dbg.json +4 -0
- package/artifacts/contracts/shared/ContractLib.sol/ITokenRegistryHelper.json +40 -0
- package/artifacts/contracts/shared/IComponent.sol/IComponent.dbg.json +1 -1
- package/artifacts/contracts/shared/IComponent.sol/IComponent.json +30 -21
- package/artifacts/contracts/shared/IComponentService.sol/IComponentService.dbg.json +1 -1
- package/artifacts/contracts/shared/IComponentService.sol/IComponentService.json +71 -72
- package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.dbg.json +1 -1
- package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.json +30 -21
- package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.dbg.json +1 -1
- package/artifacts/contracts/shared/ILifecycle.sol/ILifecycle.dbg.json +1 -1
- package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
- package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +1 -1
- package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
- package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +120 -1
- package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +1 -1
- package/artifacts/contracts/shared/IService.sol/IService.dbg.json +1 -1
- package/artifacts/contracts/shared/IService.sol/IService.json +27 -3
- package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.dbg.json +1 -1
- package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.json +2 -2
- package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.dbg.json +1 -1
- package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.json +43 -34
- package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.dbg.json +1 -1
- package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.dbg.json +1 -1
- package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.dbg.json +1 -1
- package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.json +2 -2
- package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
- package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +2 -2
- package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +1 -1
- package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +2 -2
- package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
- package/artifacts/contracts/shared/Registerable.sol/Registerable.json +118 -62
- package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +1 -1
- package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +2 -2
- package/artifacts/contracts/shared/Service.sol/Service.dbg.json +1 -1
- package/artifacts/contracts/shared/Service.sol/Service.json +27 -16
- package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
- package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +63 -162
- package/artifacts/contracts/shared/TokenHandler.sol/TokenHandlerBase.dbg.json +1 -1
- package/artifacts/contracts/shared/TokenHandler.sol/TokenHandlerBase.json +118 -29
- package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.dbg.json +1 -1
- package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.json +32 -32
- package/artifacts/contracts/staking/IStaking.sol/IStaking.dbg.json +1 -1
- package/artifacts/contracts/staking/IStaking.sol/IStaking.json +113 -39
- package/artifacts/contracts/staking/IStakingService.sol/IStakingService.dbg.json +1 -1
- package/artifacts/contracts/staking/IStakingService.sol/IStakingService.json +131 -7
- package/artifacts/contracts/staking/Staking.sol/Staking.dbg.json +1 -1
- package/artifacts/contracts/staking/Staking.sol/Staking.json +169 -97
- package/artifacts/contracts/staking/StakingLib.sol/StakingLib.dbg.json +4 -0
- package/artifacts/contracts/staking/StakingLib.sol/StakingLib.json +469 -0
- package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.dbg.json +1 -1
- package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.json +2 -2
- package/artifacts/contracts/staking/StakingManager.sol/StakingManager.dbg.json +1 -1
- package/artifacts/contracts/staking/StakingManager.sol/StakingManager.json +44 -32
- package/artifacts/contracts/staking/StakingReader.sol/StakingReader.dbg.json +1 -1
- package/artifacts/contracts/staking/StakingReader.sol/StakingReader.json +34 -61
- package/artifacts/contracts/staking/StakingService.sol/StakingService.dbg.json +1 -1
- package/artifacts/contracts/staking/StakingService.sol/StakingService.json +168 -53
- package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.dbg.json +1 -1
- package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.json +31 -29
- package/artifacts/contracts/staking/StakingStore.sol/StakingStore.dbg.json +1 -1
- package/artifacts/contracts/staking/StakingStore.sol/StakingStore.json +148 -134
- package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.dbg.json +1 -1
- package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.json +47 -37
- package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.dbg.json +1 -1
- package/artifacts/contracts/type/Amount.sol/AmountLib.dbg.json +1 -1
- package/artifacts/contracts/type/Amount.sol/AmountLib.json +10 -10
- package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.dbg.json +1 -1
- package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.dbg.json +1 -1
- package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.json +2 -2
- package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.dbg.json +1 -1
- package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.json +2 -2
- package/artifacts/contracts/type/Fee.sol/FeeLib.dbg.json +1 -1
- package/artifacts/contracts/type/Fee.sol/FeeLib.json +93 -37
- package/artifacts/contracts/type/Key32.sol/Key32Lib.dbg.json +1 -1
- package/artifacts/contracts/type/Key32.sol/Key32Lib.json +2 -2
- package/artifacts/contracts/type/Key32Set.sol/LibKey32Set.dbg.json +1 -1
- package/artifacts/contracts/type/Key32Set.sol/LibKey32Set.json +2 -2
- package/artifacts/contracts/type/NftId.sol/NftIdLib.dbg.json +1 -1
- package/artifacts/contracts/type/NftId.sol/NftIdLib.json +2 -2
- package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.dbg.json +1 -1
- package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.json +2 -2
- package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.dbg.json +1 -1
- package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.json +33 -31
- package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.dbg.json +1 -1
- package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.json +2 -2
- package/artifacts/contracts/type/Referral.sol/ReferralLib.dbg.json +1 -1
- package/artifacts/contracts/type/Referral.sol/ReferralLib.json +2 -2
- package/artifacts/contracts/type/RequestId.sol/RequestIdLib.dbg.json +1 -1
- package/artifacts/contracts/type/RequestId.sol/RequestIdLib.json +2 -2
- package/artifacts/contracts/type/RiskId.sol/RiskIdLib.dbg.json +1 -1
- package/artifacts/contracts/type/RiskId.sol/RiskIdLib.json +30 -6
- package/artifacts/contracts/type/RoleId.sol/RoleIdLib.dbg.json +1 -1
- package/artifacts/contracts/type/RoleId.sol/RoleIdLib.json +79 -15
- package/artifacts/contracts/type/Seconds.sol/SecondsLib.dbg.json +1 -1
- package/artifacts/contracts/type/Selector.sol/SelectorLib.dbg.json +1 -1
- package/artifacts/contracts/type/Selector.sol/SelectorLib.json +21 -2
- package/artifacts/contracts/type/Selector.sol/SelectorSetLib.dbg.json +1 -1
- package/artifacts/contracts/type/Selector.sol/SelectorSetLib.json +2 -2
- package/artifacts/contracts/type/StateId.sol/StateIdLib.dbg.json +1 -1
- package/artifacts/contracts/type/String.sol/StrLib.dbg.json +1 -1
- package/artifacts/contracts/type/Timestamp.sol/TimestampLib.dbg.json +1 -1
- package/artifacts/contracts/type/Timestamp.sol/TimestampLib.json +2 -2
- package/artifacts/contracts/type/UFixed.sol/UFixedLib.dbg.json +1 -1
- package/artifacts/contracts/type/UFixed.sol/UFixedLib.json +60 -36
- package/artifacts/contracts/type/Version.sol/VersionLib.dbg.json +1 -1
- package/artifacts/contracts/type/Version.sol/VersionLib.json +2 -21
- package/artifacts/contracts/type/Version.sol/VersionPartLib.dbg.json +1 -1
- package/artifacts/contracts/type/Version.sol/VersionPartLib.json +101 -2
- package/artifacts/contracts/upgradeability/IVersionable.sol/IVersionable.dbg.json +1 -1
- package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.dbg.json +1 -1
- package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.json +4 -4
- package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +1 -1
- package/artifacts/contracts/upgradeability/Versionable.sol/Versionable.dbg.json +1 -1
- package/contracts/accounting/AccountingService.sol +3 -4
- package/contracts/accounting/AccountingServiceManager.sol +1 -1
- package/contracts/accounting/IAccountingService.sol +2 -2
- package/contracts/authorization/AccessAdmin.sol +293 -204
- package/contracts/authorization/AccessAdminLib.sol +183 -0
- package/contracts/authorization/AccessManagerCloneable.sol +146 -4
- package/contracts/authorization/Authorization.sol +307 -231
- package/contracts/authorization/IAccess.sol +13 -5
- package/contracts/authorization/IAccessAdmin.sol +69 -36
- package/contracts/authorization/IAuthorization.sol +21 -1
- package/contracts/distribution/BasicDistribution.sol +13 -11
- package/contracts/distribution/BasicDistributionAuthorization.sol +21 -8
- package/contracts/distribution/Distribution.sol +13 -56
- package/contracts/distribution/DistributionService.sol +83 -55
- package/contracts/distribution/DistributionServiceManager.sol +1 -1
- package/contracts/distribution/IDistributionComponent.sol +0 -9
- package/contracts/distribution/IDistributionService.sol +18 -15
- package/contracts/examples/fire/FirePool.sol +0 -4
- package/contracts/examples/fire/FirePoolAuthorization.sol +1 -1
- package/contracts/examples/fire/FireProduct.sol +4 -7
- package/contracts/examples/fire/FireProductAuthorization.sol +1 -1
- package/contracts/examples/unpermissioned/SimpleDistribution.sol +32 -8
- package/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol +1 -1
- package/contracts/examples/unpermissioned/SimpleOracle.sol +4 -8
- package/contracts/examples/unpermissioned/SimplePool.sol +0 -5
- package/contracts/examples/unpermissioned/SimplePoolAuthorization.sol +1 -1
- package/contracts/examples/unpermissioned/SimpleProduct.sol +29 -8
- package/contracts/examples/unpermissioned/SimpleProductAuthorization.sol +1 -1
- package/contracts/instance/BundleSet.sol +4 -4
- package/contracts/instance/IInstance.sol +51 -16
- package/contracts/instance/IInstanceService.sol +20 -2
- package/contracts/instance/Instance.sol +90 -25
- package/contracts/instance/InstanceAdmin.sol +261 -99
- package/contracts/instance/InstanceAuthorizationV3.sol +49 -36
- package/contracts/instance/InstanceReader.sol +103 -34
- package/contracts/instance/InstanceService.sol +154 -87
- package/contracts/instance/InstanceServiceManager.sol +1 -1
- package/contracts/instance/InstanceStore.sol +13 -2
- package/contracts/instance/RiskSet.sol +11 -12
- package/contracts/instance/base/ObjectLifecycle.sol +4 -2
- package/contracts/instance/base/ObjectSet.sol +7 -8
- package/contracts/instance/base/ObjectSetHelperLib.sol +30 -0
- package/contracts/instance/module/IBundle.sol +6 -5
- package/contracts/instance/module/IComponents.sol +19 -7
- package/contracts/instance/module/IDistribution.sol +21 -8
- package/contracts/instance/module/IPolicy.sol +28 -8
- package/contracts/instance/module/IRisk.sol +4 -0
- package/contracts/oracle/BasicOracle.sol +1 -3
- package/contracts/oracle/BasicOracleAuthorization.sol +3 -12
- package/contracts/oracle/IOracle.sol +9 -4
- package/contracts/oracle/Oracle.sol +1 -3
- package/contracts/oracle/OracleService.sol +16 -15
- package/contracts/oracle/OracleServiceManager.sol +1 -1
- package/contracts/pool/BasicPool.sol +0 -2
- package/contracts/pool/BasicPoolAuthorization.sol +21 -13
- package/contracts/pool/BundleService.sol +28 -58
- package/contracts/pool/BundleServiceManager.sol +1 -1
- package/contracts/pool/IBundleService.sol +13 -19
- package/contracts/pool/IPoolService.sol +50 -38
- package/contracts/pool/Pool.sol +9 -11
- package/contracts/pool/PoolLib.sol +216 -0
- package/contracts/pool/PoolService.sol +294 -154
- package/contracts/pool/PoolServiceManager.sol +1 -1
- package/contracts/product/ApplicationService.sol +24 -9
- package/contracts/product/ApplicationServiceManager.sol +1 -1
- package/contracts/product/BasicProduct.sol +2 -2
- package/contracts/product/BasicProductAuthorization.sol +23 -8
- package/contracts/product/ClaimService.sol +157 -139
- package/contracts/product/ClaimServiceManager.sol +1 -1
- package/contracts/product/IApplicationService.sol +3 -0
- package/contracts/product/IClaimService.sol +14 -2
- package/contracts/product/IPolicyService.sol +11 -6
- package/contracts/product/IPricingService.sol +1 -0
- package/contracts/product/IProductComponent.sol +4 -1
- package/contracts/product/IRiskService.sol +7 -7
- package/contracts/product/PolicyService.sol +86 -158
- package/contracts/product/PolicyServiceLib.sol +65 -0
- package/contracts/product/PolicyServiceManager.sol +1 -1
- package/contracts/product/PricingService.sol +30 -21
- package/contracts/product/PricingServiceManager.sol +3 -3
- package/contracts/product/Product.sol +55 -15
- package/contracts/product/RiskService.sol +76 -29
- package/contracts/product/RiskServiceManager.sol +1 -1
- package/contracts/registry/IRegistry.sol +12 -15
- package/contracts/registry/IRelease.sol +29 -0
- package/contracts/registry/Registry.sol +7 -2
- package/contracts/registry/RegistryAdmin.sol +143 -342
- package/contracts/registry/RegistryAuthorization.sol +267 -0
- package/contracts/registry/RegistryService.sol +3 -3
- package/contracts/registry/RegistryServiceManager.sol +1 -1
- package/contracts/registry/ReleaseAdmin.sol +253 -0
- package/contracts/registry/ReleaseLifecycle.sol +2 -0
- package/contracts/registry/ReleaseRegistry.sol +146 -115
- package/contracts/registry/ServiceAuthorizationV3.sol +126 -2
- package/contracts/registry/TokenRegistry.sol +6 -8
- package/contracts/shared/Component.sol +17 -26
- package/contracts/shared/ComponentService.sol +141 -129
- package/contracts/shared/ComponentServiceManager.sol +1 -1
- package/contracts/shared/ComponentVerifyingService.sol +1 -1
- package/contracts/shared/ContractLib.sol +60 -3
- package/contracts/shared/IComponent.sol +0 -4
- package/contracts/shared/IComponentService.sol +9 -13
- package/contracts/shared/IRegisterable.sol +15 -4
- package/contracts/shared/IService.sol +3 -5
- package/contracts/shared/InitializableERC165.sol +9 -1
- package/contracts/shared/InstanceLinkedComponent.sol +2 -4
- package/contracts/shared/NftOwnable.sol +5 -5
- package/contracts/shared/PolicyHolder.sol +1 -1
- package/contracts/shared/Registerable.sol +42 -19
- package/contracts/shared/RegistryLinked.sol +1 -1
- package/contracts/shared/Service.sol +8 -27
- package/contracts/shared/TokenHandler.sol +45 -92
- package/contracts/staking/IStaking.sol +12 -10
- package/contracts/staking/IStakingService.sol +16 -1
- package/contracts/staking/Staking.sol +59 -28
- package/contracts/staking/{StakeManagerLib.sol → StakingLib.sol} +80 -23
- package/contracts/staking/StakingReader.sol +6 -16
- package/contracts/staking/StakingService.sol +68 -44
- package/contracts/staking/StakingServiceManager.sol +5 -4
- package/contracts/staking/StakingStore.sol +2 -1
- package/contracts/type/Fee.sol +8 -8
- package/contracts/type/ObjectType.sol +47 -39
- package/contracts/type/RiskId.sol +9 -3
- package/contracts/type/RoleId.sol +24 -4
- package/contracts/type/Selector.sol +5 -0
- package/contracts/type/Timestamp.sol +0 -5
- package/contracts/type/UFixed.sol +27 -10
- package/contracts/type/Version.sol +54 -5
- package/contracts/upgradeability/ProxyManager.sol +1 -1
- package/package.json +2 -2
- package/artifacts/contracts/authorization/ReleaseAccessManager.sol/ReleaseAccessManager.dbg.json +0 -4
- package/artifacts/contracts/authorization/ReleaseAccessManager.sol/ReleaseAccessManager.json +0 -1196
- package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +0 -4
- package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +0 -129
- package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.dbg.json +0 -4
- package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.json +0 -440
- package/contracts/authorization/ReleaseAccessManager.sol +0 -38
- package/contracts/instance/module/IAccess.sol +0 -46
@@ -41,6 +41,17 @@
|
|
41
41
|
"name": "AccessManagedUnauthorized",
|
42
42
|
"type": "error"
|
43
43
|
},
|
44
|
+
{
|
45
|
+
"inputs": [
|
46
|
+
{
|
47
|
+
"internalType": "address",
|
48
|
+
"name": "authority",
|
49
|
+
"type": "address"
|
50
|
+
}
|
51
|
+
],
|
52
|
+
"name": "ErrorAuthorityInvalid",
|
53
|
+
"type": "error"
|
54
|
+
},
|
44
55
|
{
|
45
56
|
"inputs": [
|
46
57
|
{
|
@@ -133,6 +144,22 @@
|
|
133
144
|
"name": "ErrorPoolServiceBundlePoolMismatch",
|
134
145
|
"type": "error"
|
135
146
|
},
|
147
|
+
{
|
148
|
+
"inputs": [
|
149
|
+
{
|
150
|
+
"internalType": "Amount",
|
151
|
+
"name": "amount",
|
152
|
+
"type": "uint96"
|
153
|
+
},
|
154
|
+
{
|
155
|
+
"internalType": "Amount",
|
156
|
+
"name": "limit",
|
157
|
+
"type": "uint96"
|
158
|
+
}
|
159
|
+
],
|
160
|
+
"name": "ErrorPoolServiceFeesWithdrawAmountExceedsLimit",
|
161
|
+
"type": "error"
|
162
|
+
},
|
136
163
|
{
|
137
164
|
"inputs": [
|
138
165
|
{
|
@@ -209,7 +236,7 @@
|
|
209
236
|
},
|
210
237
|
{
|
211
238
|
"inputs": [],
|
212
|
-
"name": "
|
239
|
+
"name": "ErrorRegisterableNotActive",
|
213
240
|
"type": "error"
|
214
241
|
},
|
215
242
|
{
|
@@ -349,6 +376,37 @@
|
|
349
376
|
"name": "LogPoolServiceBundleUnstaked",
|
350
377
|
"type": "event"
|
351
378
|
},
|
379
|
+
{
|
380
|
+
"anonymous": false,
|
381
|
+
"inputs": [
|
382
|
+
{
|
383
|
+
"indexed": false,
|
384
|
+
"internalType": "NftId",
|
385
|
+
"name": "bundleNftId",
|
386
|
+
"type": "uint96"
|
387
|
+
},
|
388
|
+
{
|
389
|
+
"indexed": false,
|
390
|
+
"internalType": "address",
|
391
|
+
"name": "recipient",
|
392
|
+
"type": "address"
|
393
|
+
},
|
394
|
+
{
|
395
|
+
"indexed": false,
|
396
|
+
"internalType": "address",
|
397
|
+
"name": "tokenAddress",
|
398
|
+
"type": "address"
|
399
|
+
},
|
400
|
+
{
|
401
|
+
"indexed": false,
|
402
|
+
"internalType": "Amount",
|
403
|
+
"name": "amount",
|
404
|
+
"type": "uint96"
|
405
|
+
}
|
406
|
+
],
|
407
|
+
"name": "LogPoolServiceFeesWithdrawn",
|
408
|
+
"type": "event"
|
409
|
+
},
|
352
410
|
{
|
353
411
|
"anonymous": false,
|
354
412
|
"inputs": [
|
@@ -462,84 +520,6 @@
|
|
462
520
|
"stateMutability": "view",
|
463
521
|
"type": "function"
|
464
522
|
},
|
465
|
-
{
|
466
|
-
"inputs": [
|
467
|
-
{
|
468
|
-
"internalType": "UFixed",
|
469
|
-
"name": "collateralizationLevel",
|
470
|
-
"type": "uint256"
|
471
|
-
},
|
472
|
-
{
|
473
|
-
"internalType": "UFixed",
|
474
|
-
"name": "retentionLevel",
|
475
|
-
"type": "uint256"
|
476
|
-
},
|
477
|
-
{
|
478
|
-
"internalType": "Amount",
|
479
|
-
"name": "sumInsuredAmount",
|
480
|
-
"type": "uint96"
|
481
|
-
}
|
482
|
-
],
|
483
|
-
"name": "calculateRequiredCollateral",
|
484
|
-
"outputs": [
|
485
|
-
{
|
486
|
-
"internalType": "Amount",
|
487
|
-
"name": "totalCollateralAmount",
|
488
|
-
"type": "uint96"
|
489
|
-
},
|
490
|
-
{
|
491
|
-
"internalType": "Amount",
|
492
|
-
"name": "localCollateralAmount",
|
493
|
-
"type": "uint96"
|
494
|
-
}
|
495
|
-
],
|
496
|
-
"stateMutability": "pure",
|
497
|
-
"type": "function"
|
498
|
-
},
|
499
|
-
{
|
500
|
-
"inputs": [
|
501
|
-
{
|
502
|
-
"internalType": "contract InstanceReader",
|
503
|
-
"name": "instanceReader",
|
504
|
-
"type": "address"
|
505
|
-
},
|
506
|
-
{
|
507
|
-
"internalType": "NftId",
|
508
|
-
"name": "productNftId",
|
509
|
-
"type": "uint96"
|
510
|
-
},
|
511
|
-
{
|
512
|
-
"internalType": "Amount",
|
513
|
-
"name": "sumInsuredAmount",
|
514
|
-
"type": "uint96"
|
515
|
-
}
|
516
|
-
],
|
517
|
-
"name": "calculateRequiredCollateral",
|
518
|
-
"outputs": [
|
519
|
-
{
|
520
|
-
"internalType": "NftId",
|
521
|
-
"name": "poolNftId",
|
522
|
-
"type": "uint96"
|
523
|
-
},
|
524
|
-
{
|
525
|
-
"internalType": "Amount",
|
526
|
-
"name": "totalCollateralAmount",
|
527
|
-
"type": "uint96"
|
528
|
-
},
|
529
|
-
{
|
530
|
-
"internalType": "Amount",
|
531
|
-
"name": "localCollateralAmount",
|
532
|
-
"type": "uint96"
|
533
|
-
},
|
534
|
-
{
|
535
|
-
"internalType": "bool",
|
536
|
-
"name": "poolIsVerifyingApplications",
|
537
|
-
"type": "bool"
|
538
|
-
}
|
539
|
-
],
|
540
|
-
"stateMutability": "view",
|
541
|
-
"type": "function"
|
542
|
-
},
|
543
523
|
{
|
544
524
|
"inputs": [
|
545
525
|
{
|
@@ -691,7 +671,7 @@
|
|
691
671
|
"type": "uint8"
|
692
672
|
}
|
693
673
|
],
|
694
|
-
"stateMutability": "
|
674
|
+
"stateMutability": "view",
|
695
675
|
"type": "function"
|
696
676
|
},
|
697
677
|
{
|
@@ -704,7 +684,7 @@
|
|
704
684
|
"type": "uint64"
|
705
685
|
}
|
706
686
|
],
|
707
|
-
"stateMutability": "
|
687
|
+
"stateMutability": "view",
|
708
688
|
"type": "function"
|
709
689
|
},
|
710
690
|
{
|
@@ -738,6 +718,19 @@
|
|
738
718
|
"stateMutability": "nonpayable",
|
739
719
|
"type": "function"
|
740
720
|
},
|
721
|
+
{
|
722
|
+
"inputs": [],
|
723
|
+
"name": "isActive",
|
724
|
+
"outputs": [
|
725
|
+
{
|
726
|
+
"internalType": "bool",
|
727
|
+
"name": "active",
|
728
|
+
"type": "bool"
|
729
|
+
}
|
730
|
+
],
|
731
|
+
"stateMutability": "view",
|
732
|
+
"type": "function"
|
733
|
+
},
|
741
734
|
{
|
742
735
|
"inputs": [],
|
743
736
|
"name": "isConsumingScheduledOp",
|
@@ -839,111 +832,44 @@
|
|
839
832
|
{
|
840
833
|
"inputs": [
|
841
834
|
{
|
842
|
-
"internalType": "contract
|
843
|
-
"name": "
|
835
|
+
"internalType": "contract InstanceReader",
|
836
|
+
"name": "instanceReader",
|
844
837
|
"type": "address"
|
845
838
|
},
|
846
839
|
{
|
847
|
-
"internalType": "
|
848
|
-
"name": "
|
840
|
+
"internalType": "contract InstanceStore",
|
841
|
+
"name": "instanceStore",
|
849
842
|
"type": "address"
|
850
843
|
},
|
844
|
+
{
|
845
|
+
"internalType": "NftId",
|
846
|
+
"name": "productNftId",
|
847
|
+
"type": "uint96"
|
848
|
+
},
|
851
849
|
{
|
852
850
|
"internalType": "NftId",
|
853
851
|
"name": "policyNftId",
|
854
852
|
"type": "uint96"
|
855
853
|
},
|
856
854
|
{
|
857
|
-
"
|
858
|
-
|
859
|
-
|
860
|
-
|
861
|
-
|
862
|
-
|
863
|
-
|
864
|
-
|
865
|
-
"name": "bundleNftId",
|
866
|
-
"type": "uint96"
|
867
|
-
},
|
868
|
-
{
|
869
|
-
"internalType": "ReferralId",
|
870
|
-
"name": "referralId",
|
871
|
-
"type": "bytes8"
|
872
|
-
},
|
873
|
-
{
|
874
|
-
"internalType": "RiskId",
|
875
|
-
"name": "riskId",
|
876
|
-
"type": "bytes8"
|
877
|
-
},
|
878
|
-
{
|
879
|
-
"internalType": "Amount",
|
880
|
-
"name": "sumInsuredAmount",
|
881
|
-
"type": "uint96"
|
882
|
-
},
|
883
|
-
{
|
884
|
-
"internalType": "Amount",
|
885
|
-
"name": "premiumAmount",
|
886
|
-
"type": "uint96"
|
887
|
-
},
|
888
|
-
{
|
889
|
-
"internalType": "Seconds",
|
890
|
-
"name": "lifetime",
|
891
|
-
"type": "uint40"
|
892
|
-
},
|
893
|
-
{
|
894
|
-
"internalType": "bytes",
|
895
|
-
"name": "applicationData",
|
896
|
-
"type": "bytes"
|
897
|
-
},
|
898
|
-
{
|
899
|
-
"internalType": "bytes",
|
900
|
-
"name": "processData",
|
901
|
-
"type": "bytes"
|
902
|
-
},
|
903
|
-
{
|
904
|
-
"internalType": "uint16",
|
905
|
-
"name": "claimsCount",
|
906
|
-
"type": "uint16"
|
907
|
-
},
|
908
|
-
{
|
909
|
-
"internalType": "uint16",
|
910
|
-
"name": "openClaimsCount",
|
911
|
-
"type": "uint16"
|
912
|
-
},
|
913
|
-
{
|
914
|
-
"internalType": "Amount",
|
915
|
-
"name": "claimAmount",
|
916
|
-
"type": "uint96"
|
917
|
-
},
|
918
|
-
{
|
919
|
-
"internalType": "Amount",
|
920
|
-
"name": "payoutAmount",
|
921
|
-
"type": "uint96"
|
922
|
-
},
|
923
|
-
{
|
924
|
-
"internalType": "Timestamp",
|
925
|
-
"name": "activatedAt",
|
926
|
-
"type": "uint40"
|
927
|
-
},
|
928
|
-
{
|
929
|
-
"internalType": "Timestamp",
|
930
|
-
"name": "expiredAt",
|
931
|
-
"type": "uint40"
|
932
|
-
},
|
933
|
-
{
|
934
|
-
"internalType": "Timestamp",
|
935
|
-
"name": "closedAt",
|
936
|
-
"type": "uint40"
|
937
|
-
}
|
938
|
-
],
|
939
|
-
"internalType": "struct IPolicy.PolicyInfo",
|
940
|
-
"name": "policyInfo",
|
941
|
-
"type": "tuple"
|
855
|
+
"internalType": "NftId",
|
856
|
+
"name": "bundleNftId",
|
857
|
+
"type": "uint96"
|
858
|
+
},
|
859
|
+
{
|
860
|
+
"internalType": "PayoutId",
|
861
|
+
"name": "payoutId",
|
862
|
+
"type": "uint40"
|
942
863
|
},
|
943
864
|
{
|
944
865
|
"internalType": "Amount",
|
945
866
|
"name": "payoutAmount",
|
946
867
|
"type": "uint96"
|
868
|
+
},
|
869
|
+
{
|
870
|
+
"internalType": "address",
|
871
|
+
"name": "payoutBeneficiary",
|
872
|
+
"type": "address"
|
947
873
|
}
|
948
874
|
],
|
949
875
|
"name": "processPayout",
|
@@ -1068,11 +994,6 @@
|
|
1068
994
|
"name": "instance",
|
1069
995
|
"type": "address"
|
1070
996
|
},
|
1071
|
-
{
|
1072
|
-
"internalType": "address",
|
1073
|
-
"name": "token",
|
1074
|
-
"type": "address"
|
1075
|
-
},
|
1076
997
|
{
|
1077
998
|
"internalType": "NftId",
|
1078
999
|
"name": "policyNftId",
|
@@ -1090,11 +1011,6 @@
|
|
1090
1011
|
"name": "bundleNftId",
|
1091
1012
|
"type": "uint96"
|
1092
1013
|
},
|
1093
|
-
{
|
1094
|
-
"internalType": "ReferralId",
|
1095
|
-
"name": "referralId",
|
1096
|
-
"type": "bytes8"
|
1097
|
-
},
|
1098
1014
|
{
|
1099
1015
|
"internalType": "RiskId",
|
1100
1016
|
"name": "riskId",
|
@@ -1111,19 +1027,9 @@
|
|
1111
1027
|
"type": "uint96"
|
1112
1028
|
},
|
1113
1029
|
{
|
1114
|
-
"internalType": "
|
1115
|
-
"name": "
|
1116
|
-
"type": "
|
1117
|
-
},
|
1118
|
-
{
|
1119
|
-
"internalType": "bytes",
|
1120
|
-
"name": "applicationData",
|
1121
|
-
"type": "bytes"
|
1122
|
-
},
|
1123
|
-
{
|
1124
|
-
"internalType": "bytes",
|
1125
|
-
"name": "processData",
|
1126
|
-
"type": "bytes"
|
1030
|
+
"internalType": "ReferralId",
|
1031
|
+
"name": "referralId",
|
1032
|
+
"type": "bytes8"
|
1127
1033
|
},
|
1128
1034
|
{
|
1129
1035
|
"internalType": "uint16",
|
@@ -1150,6 +1056,11 @@
|
|
1150
1056
|
"name": "activatedAt",
|
1151
1057
|
"type": "uint40"
|
1152
1058
|
},
|
1059
|
+
{
|
1060
|
+
"internalType": "Seconds",
|
1061
|
+
"name": "lifetime",
|
1062
|
+
"type": "uint40"
|
1063
|
+
},
|
1153
1064
|
{
|
1154
1065
|
"internalType": "Timestamp",
|
1155
1066
|
"name": "expiredAt",
|
@@ -1159,6 +1070,16 @@
|
|
1159
1070
|
"internalType": "Timestamp",
|
1160
1071
|
"name": "closedAt",
|
1161
1072
|
"type": "uint40"
|
1073
|
+
},
|
1074
|
+
{
|
1075
|
+
"internalType": "bytes",
|
1076
|
+
"name": "applicationData",
|
1077
|
+
"type": "bytes"
|
1078
|
+
},
|
1079
|
+
{
|
1080
|
+
"internalType": "bytes",
|
1081
|
+
"name": "processData",
|
1082
|
+
"type": "bytes"
|
1162
1083
|
}
|
1163
1084
|
],
|
1164
1085
|
"internalType": "struct IPolicy.PolicyInfo",
|
@@ -1276,6 +1197,30 @@
|
|
1276
1197
|
"outputs": [],
|
1277
1198
|
"stateMutability": "nonpayable",
|
1278
1199
|
"type": "function"
|
1200
|
+
},
|
1201
|
+
{
|
1202
|
+
"inputs": [
|
1203
|
+
{
|
1204
|
+
"internalType": "NftId",
|
1205
|
+
"name": "bundleNftId",
|
1206
|
+
"type": "uint96"
|
1207
|
+
},
|
1208
|
+
{
|
1209
|
+
"internalType": "Amount",
|
1210
|
+
"name": "amount",
|
1211
|
+
"type": "uint96"
|
1212
|
+
}
|
1213
|
+
],
|
1214
|
+
"name": "withdrawBundleFees",
|
1215
|
+
"outputs": [
|
1216
|
+
{
|
1217
|
+
"internalType": "Amount",
|
1218
|
+
"name": "withdrawnAmount",
|
1219
|
+
"type": "uint96"
|
1220
|
+
}
|
1221
|
+
],
|
1222
|
+
"stateMutability": "nonpayable",
|
1223
|
+
"type": "function"
|
1279
1224
|
}
|
1280
1225
|
],
|
1281
1226
|
"bytecode": "0x",
|
@@ -41,6 +41,17 @@
|
|
41
41
|
"name": "AccessManagedUnauthorized",
|
42
42
|
"type": "error"
|
43
43
|
},
|
44
|
+
{
|
45
|
+
"inputs": [
|
46
|
+
{
|
47
|
+
"internalType": "address",
|
48
|
+
"name": "authority",
|
49
|
+
"type": "address"
|
50
|
+
}
|
51
|
+
],
|
52
|
+
"name": "ErrorAuthorityInvalid",
|
53
|
+
"type": "error"
|
54
|
+
},
|
44
55
|
{
|
45
56
|
"inputs": [],
|
46
57
|
"name": "ErrorComponentNameLengthZero",
|
@@ -67,16 +78,6 @@
|
|
67
78
|
"name": "ErrorComponentProductNftIdZero",
|
68
79
|
"type": "error"
|
69
80
|
},
|
70
|
-
{
|
71
|
-
"inputs": [],
|
72
|
-
"name": "ErrorComponentTokenAddressNonzero",
|
73
|
-
"type": "error"
|
74
|
-
},
|
75
|
-
{
|
76
|
-
"inputs": [],
|
77
|
-
"name": "ErrorComponentTokenAddressZero",
|
78
|
-
"type": "error"
|
79
|
-
},
|
80
81
|
{
|
81
82
|
"inputs": [],
|
82
83
|
"name": "ErrorComponentWalletAddressIsSameAsCurrent",
|
@@ -227,6 +228,11 @@
|
|
227
228
|
"name": "ErrorPoolNotPoolService",
|
228
229
|
"type": "error"
|
229
230
|
},
|
231
|
+
{
|
232
|
+
"inputs": [],
|
233
|
+
"name": "ErrorRegisterableNotActive",
|
234
|
+
"type": "error"
|
235
|
+
},
|
230
236
|
{
|
231
237
|
"inputs": [],
|
232
238
|
"name": "InvalidInitialization",
|
@@ -376,19 +382,6 @@
|
|
376
382
|
"stateMutability": "view",
|
377
383
|
"type": "function"
|
378
384
|
},
|
379
|
-
{
|
380
|
-
"inputs": [],
|
381
|
-
"name": "GIF_RELEASE",
|
382
|
-
"outputs": [
|
383
|
-
{
|
384
|
-
"internalType": "uint256",
|
385
|
-
"name": "",
|
386
|
-
"type": "uint256"
|
387
|
-
}
|
388
|
-
],
|
389
|
-
"stateMutability": "view",
|
390
|
-
"type": "function"
|
391
|
-
},
|
392
385
|
{
|
393
386
|
"inputs": [],
|
394
387
|
"name": "INSTANCE_LINKED_COMPONENT_LOCATION_V1",
|
@@ -517,11 +510,6 @@
|
|
517
510
|
"name": "name",
|
518
511
|
"type": "string"
|
519
512
|
},
|
520
|
-
{
|
521
|
-
"internalType": "contract IERC20Metadata",
|
522
|
-
"name": "token",
|
523
|
-
"type": "address"
|
524
|
-
},
|
525
513
|
{
|
526
514
|
"internalType": "contract TokenHandler",
|
527
515
|
"name": "tokenHandler",
|
@@ -571,11 +559,6 @@
|
|
571
559
|
"name": "name",
|
572
560
|
"type": "string"
|
573
561
|
},
|
574
|
-
{
|
575
|
-
"internalType": "contract IERC20Metadata",
|
576
|
-
"name": "token",
|
577
|
-
"type": "address"
|
578
|
-
},
|
579
562
|
{
|
580
563
|
"internalType": "contract TokenHandler",
|
581
564
|
"name": "tokenHandler",
|
@@ -656,6 +639,16 @@
|
|
656
639
|
"name": "maxBalanceAmount",
|
657
640
|
"type": "uint96"
|
658
641
|
},
|
642
|
+
{
|
643
|
+
"internalType": "UFixed",
|
644
|
+
"name": "collateralizationLevel",
|
645
|
+
"type": "uint160"
|
646
|
+
},
|
647
|
+
{
|
648
|
+
"internalType": "UFixed",
|
649
|
+
"name": "retentionLevel",
|
650
|
+
"type": "uint160"
|
651
|
+
},
|
659
652
|
{
|
660
653
|
"internalType": "bool",
|
661
654
|
"name": "isInterceptingBundleTransfers",
|
@@ -675,16 +668,6 @@
|
|
675
668
|
"internalType": "bool",
|
676
669
|
"name": "isVerifyingApplications",
|
677
670
|
"type": "bool"
|
678
|
-
},
|
679
|
-
{
|
680
|
-
"internalType": "UFixed",
|
681
|
-
"name": "collateralizationLevel",
|
682
|
-
"type": "uint256"
|
683
|
-
},
|
684
|
-
{
|
685
|
-
"internalType": "UFixed",
|
686
|
-
"name": "retentionLevel",
|
687
|
-
"type": "uint256"
|
688
671
|
}
|
689
672
|
],
|
690
673
|
"internalType": "struct IComponents.PoolInfo",
|
@@ -770,7 +753,7 @@
|
|
770
753
|
"type": "uint8"
|
771
754
|
}
|
772
755
|
],
|
773
|
-
"stateMutability": "
|
756
|
+
"stateMutability": "view",
|
774
757
|
"type": "function"
|
775
758
|
},
|
776
759
|
{
|
@@ -799,6 +782,19 @@
|
|
799
782
|
"stateMutability": "view",
|
800
783
|
"type": "function"
|
801
784
|
},
|
785
|
+
{
|
786
|
+
"inputs": [],
|
787
|
+
"name": "getVersion",
|
788
|
+
"outputs": [
|
789
|
+
{
|
790
|
+
"internalType": "Version",
|
791
|
+
"name": "version",
|
792
|
+
"type": "uint24"
|
793
|
+
}
|
794
|
+
],
|
795
|
+
"stateMutability": "view",
|
796
|
+
"type": "function"
|
797
|
+
},
|
802
798
|
{
|
803
799
|
"inputs": [],
|
804
800
|
"name": "getWallet",
|
@@ -812,6 +808,19 @@
|
|
812
808
|
"stateMutability": "view",
|
813
809
|
"type": "function"
|
814
810
|
},
|
811
|
+
{
|
812
|
+
"inputs": [],
|
813
|
+
"name": "isActive",
|
814
|
+
"outputs": [
|
815
|
+
{
|
816
|
+
"internalType": "bool",
|
817
|
+
"name": "active",
|
818
|
+
"type": "bool"
|
819
|
+
}
|
820
|
+
],
|
821
|
+
"stateMutability": "view",
|
822
|
+
"type": "function"
|
823
|
+
},
|
815
824
|
{
|
816
825
|
"inputs": [],
|
817
826
|
"name": "isConsumingScheduledOp",
|