@etherisc/gif-next 0.0.2-8985927-403 → 0.0.2-89ff2e2-420
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +82 -8
- package/artifacts/contracts/accounting/AccountingService.sol/AccountingService.dbg.json +4 -0
- package/artifacts/contracts/accounting/AccountingService.sol/AccountingService.json +1046 -0
- package/artifacts/contracts/accounting/AccountingServiceManager.sol/AccountingServiceManager.dbg.json +4 -0
- package/artifacts/contracts/accounting/AccountingServiceManager.sol/AccountingServiceManager.json +752 -0
- package/artifacts/contracts/accounting/IAccountingService.sol/IAccountingService.dbg.json +4 -0
- package/artifacts/contracts/{shared/ComponentVerifyingService.sol/ComponentVerifyingService.json → accounting/IAccountingService.sol/IAccountingService.json} +387 -112
- package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.dbg.json +1 -1
- package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.json +673 -262
- package/artifacts/contracts/authorization/AccessAdminLib.sol/AccessAdminLib.dbg.json +4 -0
- package/artifacts/contracts/authorization/AccessAdminLib.sol/AccessAdminLib.json +1289 -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 +456 -24
- 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 +549 -209
- package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.dbg.json +1 -1
- package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.json +215 -18
- package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.dbg.json +1 -1
- package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.json +265 -16
- package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.dbg.json +1 -1
- package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.json +473 -17
- package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.dbg.json +1 -1
- package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.json +171 -446
- package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.dbg.json +1 -1
- package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.json +431 -36
- package/artifacts/contracts/distribution/Distribution.sol/Distribution.dbg.json +1 -1
- package/artifacts/contracts/distribution/Distribution.sol/Distribution.json +90 -330
- package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.dbg.json +1 -1
- package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.json +627 -326
- package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +1 -1
- package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.json +195 -125
- package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.dbg.json +1 -1
- package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.json +84 -172
- package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.dbg.json +1 -1
- package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.json +424 -100
- 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 +1461 -0
- package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.dbg.json +4 -0
- package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.json +805 -0
- package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.dbg.json +4 -0
- package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.json +2026 -0
- package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.dbg.json +4 -0
- package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.json +805 -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 +1404 -0
- package/artifacts/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol/SimpleDistributionAuthorization.dbg.json +4 -0
- package/artifacts/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol/SimpleDistributionAuthorization.json +805 -0
- package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.dbg.json +4 -0
- package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.json +1152 -0
- package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.dbg.json +4 -0
- package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.json +1628 -0
- package/artifacts/contracts/examples/unpermissioned/SimplePoolAuthorization.sol/SimplePoolAuthorization.dbg.json +4 -0
- package/artifacts/contracts/examples/unpermissioned/SimplePoolAuthorization.sol/SimplePoolAuthorization.json +805 -0
- package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.dbg.json +4 -0
- package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.json +2452 -0
- package/artifacts/contracts/examples/unpermissioned/SimpleProductAuthorization.sol/SimpleProductAuthorization.dbg.json +4 -0
- package/artifacts/contracts/examples/unpermissioned/SimpleProductAuthorization.sol/SimpleProductAuthorization.json +805 -0
- package/artifacts/contracts/instance/BundleSet.sol/BundleSet.dbg.json +1 -1
- package/artifacts/contracts/instance/BundleSet.sol/BundleSet.json +193 -45
- package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
- package/artifacts/contracts/instance/IInstance.sol/IInstance.json +540 -65
- package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
- package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +290 -57
- package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
- package/artifacts/contracts/instance/Instance.sol/Instance.json +549 -166
- package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.json +1034 -311
- package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.json +369 -68
- package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +1645 -830
- package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +303 -227
- package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +106 -106
- package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.json +910 -838
- package/artifacts/contracts/instance/RiskSet.sol/RiskSet.dbg.json +4 -0
- package/artifacts/contracts/instance/RiskSet.sol/RiskSet.json +853 -0
- 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 +46 -5
- 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 +123 -322
- package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.dbg.json +1 -1
- package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.json +429 -37
- 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 +98 -121
- package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.dbg.json +1 -1
- package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.json +69 -11
- package/artifacts/contracts/oracle/Oracle.sol/Oracle.dbg.json +1 -1
- package/artifacts/contracts/oracle/Oracle.sol/Oracle.json +99 -274
- package/artifacts/contracts/oracle/OracleService.sol/OracleService.dbg.json +1 -1
- package/artifacts/contracts/oracle/OracleService.sol/OracleService.json +169 -190
- package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.dbg.json +1 -1
- package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.json +140 -98
- package/artifacts/contracts/pool/BasicPool.sol/BasicPool.dbg.json +1 -1
- package/artifacts/contracts/pool/BasicPool.sol/BasicPool.json +139 -314
- package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.dbg.json +1 -1
- package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.json +430 -35
- package/artifacts/contracts/pool/BundleService.sol/BundleService.dbg.json +1 -1
- package/artifacts/contracts/pool/BundleService.sol/BundleService.json +308 -357
- package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.dbg.json +1 -1
- package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.json +138 -128
- package/artifacts/contracts/pool/IBundleService.sol/IBundleService.dbg.json +1 -1
- package/artifacts/contracts/pool/IBundleService.sol/IBundleService.json +201 -96
- package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.dbg.json +1 -1
- package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.json +129 -163
- package/artifacts/contracts/pool/IPoolService.sol/IPoolService.dbg.json +1 -1
- package/artifacts/contracts/pool/IPoolService.sol/IPoolService.json +499 -287
- package/artifacts/contracts/pool/Pool.sol/Pool.dbg.json +1 -1
- package/artifacts/contracts/pool/Pool.sol/Pool.json +127 -313
- package/artifacts/contracts/pool/PoolLib.sol/PoolLib.dbg.json +4 -0
- package/artifacts/contracts/pool/PoolLib.sol/PoolLib.json +546 -0
- package/artifacts/contracts/pool/PoolService.sol/PoolService.dbg.json +1 -1
- package/artifacts/contracts/pool/PoolService.sol/PoolService.json +691 -502
- package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.dbg.json +1 -1
- package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.json +181 -111
- package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.dbg.json +1 -1
- package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.json +328 -173
- package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +1 -1
- package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.json +128 -98
- package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.dbg.json +1 -1
- package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.json +258 -372
- package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.dbg.json +1 -1
- package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.json +430 -35
- package/artifacts/contracts/product/ClaimService.sol/ClaimService.dbg.json +1 -1
- package/artifacts/contracts/product/ClaimService.sol/ClaimService.json +435 -243
- package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +1 -1
- package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.json +158 -124
- package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.dbg.json +1 -1
- package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.json +267 -9
- package/artifacts/contracts/product/IClaimService.sol/IClaimService.dbg.json +1 -1
- package/artifacts/contracts/product/IClaimService.sol/IClaimService.json +304 -17
- package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.dbg.json +1 -1
- package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.json +271 -59
- package/artifacts/contracts/product/IPricingService.sol/IPricingService.dbg.json +1 -1
- package/artifacts/contracts/product/IPricingService.sol/IPricingService.json +156 -82
- package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.dbg.json +1 -1
- package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.json +252 -214
- package/artifacts/contracts/product/IRiskService.sol/IRiskService.dbg.json +4 -0
- package/artifacts/contracts/product/{IProductService.sol/IProductService.json → IRiskService.sol/IRiskService.json} +88 -8
- package/artifacts/contracts/product/PolicyService.sol/PolicyService.dbg.json +1 -1
- package/artifacts/contracts/product/PolicyService.sol/PolicyService.json +398 -278
- package/artifacts/contracts/product/PolicyServiceLib.sol/PolicyServiceLib.dbg.json +4 -0
- package/artifacts/contracts/product/PolicyServiceLib.sol/PolicyServiceLib.json +783 -0
- package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +1 -1
- package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.json +159 -117
- package/artifacts/contracts/product/PricingService.sol/PricingService.dbg.json +1 -1
- package/artifacts/contracts/product/PricingService.sol/PricingService.json +223 -337
- package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.dbg.json +1 -1
- package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.json +128 -138
- package/artifacts/contracts/product/Product.sol/Product.dbg.json +1 -1
- package/artifacts/contracts/product/Product.sol/Product.json +250 -364
- package/artifacts/contracts/product/RiskService.sol/RiskService.dbg.json +4 -0
- package/artifacts/contracts/product/RiskService.sol/RiskService.json +688 -0
- package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.dbg.json +4 -0
- package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.json +736 -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 +342 -42
- package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
- package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +144 -41
- 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/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 +548 -103
- package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.dbg.json +1 -1
- package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.json +795 -394
- package/artifacts/contracts/registry/RegistryAuthorization.sol/RegistryAuthorization.dbg.json +4 -0
- package/artifacts/contracts/registry/RegistryAuthorization.sol/RegistryAuthorization.json +1053 -0
- package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
- package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +109 -292
- package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
- package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +104 -90
- package/artifacts/contracts/registry/ReleaseAdmin.sol/ReleaseAdmin.dbg.json +4 -0
- package/artifacts/contracts/registry/ReleaseAdmin.sol/ReleaseAdmin.json +2152 -0
- package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.dbg.json +1 -1
- package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.json +47 -6
- package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.dbg.json +1 -1
- package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.json +483 -253
- package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.dbg.json +1 -1
- package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.json +489 -20
- package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +1 -1
- package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +15 -15
- package/artifacts/contracts/shared/Component.sol/Component.dbg.json +1 -1
- package/artifacts/contracts/shared/Component.sol/Component.json +81 -227
- package/artifacts/contracts/shared/ComponentService.sol/ComponentService.dbg.json +1 -1
- package/artifacts/contracts/shared/ComponentService.sol/ComponentService.json +430 -623
- package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.dbg.json +1 -1
- package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.json +143 -131
- package/artifacts/contracts/shared/ContractLib.sol/ContractLib.dbg.json +4 -0
- package/artifacts/contracts/shared/ContractLib.sol/ContractLib.json +632 -0
- package/artifacts/contracts/shared/ContractLib.sol/IInstanceAdminHelper.dbg.json +4 -0
- package/artifacts/contracts/shared/ContractLib.sol/IInstanceAdminHelper.json +24 -0
- package/artifacts/contracts/shared/ContractLib.sol/ITargetHelper.dbg.json +4 -0
- package/artifacts/contracts/shared/ContractLib.sol/ITargetHelper.json +30 -0
- 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 +81 -75
- package/artifacts/contracts/shared/IComponentService.sol/IComponentService.dbg.json +1 -1
- package/artifacts/contracts/shared/IComponentService.sol/IComponentService.json +394 -300
- package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.dbg.json +1 -1
- package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.json +98 -121
- package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.dbg.json +1 -1
- package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.json +36 -0
- package/artifacts/contracts/shared/ILifecycle.sol/ILifecycle.dbg.json +1 -1
- package/artifacts/contracts/shared/ILifecycle.sol/ILifecycle.json +36 -0
- package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
- package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +16 -0
- package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +1 -1
- package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.json +15 -47
- package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
- package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +148 -0
- 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 +55 -2
- package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.dbg.json +1 -1
- package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.json +2 -22
- package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.dbg.json +1 -1
- package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.json +98 -273
- package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.dbg.json +1 -1
- package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.json +42 -1
- package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.dbg.json +1 -1
- package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.json +42 -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 +22 -57
- package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +1 -1
- package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +19 -141
- package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
- package/artifacts/contracts/shared/Registerable.sol/Registerable.json +122 -97
- package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +1 -1
- package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +2 -15
- package/artifacts/contracts/shared/Service.sol/Service.dbg.json +1 -1
- package/artifacts/contracts/shared/Service.sol/Service.json +57 -111
- package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
- package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +327 -73
- package/artifacts/contracts/shared/TokenHandler.sol/TokenHandlerBase.dbg.json +4 -0
- package/artifacts/contracts/shared/TokenHandler.sol/TokenHandlerBase.json +484 -0
- package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.dbg.json +1 -1
- package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.json +88 -24
- package/artifacts/contracts/staking/IStaking.sol/IStaking.dbg.json +1 -1
- package/artifacts/contracts/staking/IStaking.sol/IStaking.json +313 -108
- package/artifacts/contracts/staking/IStakingService.sol/IStakingService.dbg.json +1 -1
- package/artifacts/contracts/staking/IStakingService.sol/IStakingService.json +155 -23
- package/artifacts/contracts/staking/Staking.sol/Staking.dbg.json +1 -1
- package/artifacts/contracts/staking/Staking.sol/Staking.json +420 -336
- 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 +46 -5
- package/artifacts/contracts/staking/StakingManager.sol/StakingManager.dbg.json +1 -1
- package/artifacts/contracts/staking/StakingManager.sol/StakingManager.json +143 -100
- package/artifacts/contracts/staking/StakingReader.sol/StakingReader.dbg.json +1 -1
- package/artifacts/contracts/staking/StakingReader.sol/StakingReader.json +91 -67
- package/artifacts/contracts/staking/StakingService.sol/StakingService.dbg.json +1 -1
- package/artifacts/contracts/staking/StakingService.sol/StakingService.json +224 -171
- package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.dbg.json +1 -1
- package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.json +121 -95
- package/artifacts/contracts/staking/StakingStore.sol/StakingStore.dbg.json +1 -1
- package/artifacts/contracts/staking/StakingStore.sol/StakingStore.json +205 -150
- package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.dbg.json +1 -1
- package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.json +91 -50
- 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 +35 -11
- 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 +28 -4
- 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 +94 -38
- 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 +4 -0
- package/artifacts/contracts/type/Key32Set.sol/LibKey32Set.json +33 -0
- package/artifacts/contracts/type/NftId.sol/NftIdLib.dbg.json +1 -1
- package/artifacts/contracts/type/NftId.sol/NftIdLib.json +23 -4
- 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 +19 -19
- 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 +125 -7
- package/artifacts/contracts/type/RoleId.sol/RoleIdLib.dbg.json +1 -1
- package/artifacts/contracts/type/RoleId.sol/RoleIdLib.json +42 -157
- package/artifacts/contracts/type/Seconds.sol/SecondsLib.dbg.json +1 -1
- package/artifacts/contracts/type/Seconds.sol/SecondsLib.json +45 -2
- 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/StateId.sol/StateIdLib.json +15 -2
- package/artifacts/contracts/type/String.sol/StrLib.dbg.json +1 -1
- package/artifacts/contracts/type/String.sol/StrLib.json +50 -2
- 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 +73 -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 +81 -80
- package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +1 -1
- package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +15 -2
- package/artifacts/contracts/upgradeability/Versionable.sol/Versionable.dbg.json +1 -1
- package/contracts/accounting/AccountingService.sol +274 -0
- package/contracts/accounting/AccountingServiceManager.sol +38 -0
- package/contracts/accounting/IAccountingService.sol +47 -0
- package/contracts/authorization/AccessAdmin.sol +456 -267
- package/contracts/authorization/AccessAdminLib.sol +396 -0
- package/contracts/authorization/AccessManagerCloneable.sol +146 -4
- package/contracts/authorization/Authorization.sol +159 -202
- package/contracts/authorization/IAccess.sol +25 -6
- package/contracts/authorization/IAccessAdmin.sol +87 -79
- package/contracts/authorization/IAuthorization.sol +9 -36
- package/contracts/authorization/IServiceAuthorization.sol +57 -17
- package/contracts/authorization/ServiceAuthorization.sol +254 -24
- package/contracts/distribution/BasicDistribution.sol +20 -17
- package/contracts/distribution/BasicDistributionAuthorization.sol +30 -10
- package/contracts/distribution/Distribution.sol +42 -90
- package/contracts/distribution/DistributionService.sol +227 -115
- package/contracts/distribution/DistributionServiceManager.sol +6 -6
- package/contracts/distribution/IDistributionComponent.sol +4 -11
- package/contracts/distribution/IDistributionService.sol +38 -24
- package/contracts/examples/fire/DamageLevel.sol +59 -0
- package/contracts/examples/fire/FirePool.sol +86 -0
- package/contracts/examples/fire/FirePoolAuthorization.sol +35 -0
- package/contracts/examples/fire/FireProduct.sol +433 -0
- package/contracts/examples/fire/FireProductAuthorization.sol +45 -0
- package/contracts/examples/fire/FireUSD.sol +26 -0
- package/contracts/examples/unpermissioned/SimpleDistribution.sol +81 -0
- package/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol +28 -0
- package/contracts/examples/unpermissioned/SimpleOracle.sol +133 -0
- package/contracts/examples/unpermissioned/SimplePool.sol +102 -0
- package/contracts/examples/unpermissioned/SimplePoolAuthorization.sol +28 -0
- package/contracts/examples/unpermissioned/SimpleProduct.sol +385 -0
- package/contracts/examples/unpermissioned/SimpleProductAuthorization.sol +28 -0
- package/contracts/instance/BundleSet.sol +42 -38
- package/contracts/instance/IInstance.sol +101 -42
- package/contracts/instance/IInstanceService.sol +52 -31
- package/contracts/instance/Instance.sol +189 -97
- package/contracts/instance/InstanceAdmin.sol +276 -178
- package/contracts/instance/InstanceAuthorizationV3.sol +119 -56
- package/contracts/instance/InstanceReader.sol +474 -264
- package/contracts/instance/InstanceService.sol +284 -239
- package/contracts/instance/InstanceServiceManager.sol +6 -7
- package/contracts/instance/InstanceStore.sol +13 -6
- package/contracts/instance/RiskSet.sol +118 -0
- package/contracts/instance/base/BalanceStore.sol +3 -5
- package/contracts/instance/base/ObjectCounter.sol +1 -2
- package/contracts/instance/base/ObjectLifecycle.sol +6 -3
- package/contracts/instance/base/ObjectSet.sol +31 -33
- package/contracts/instance/base/ObjectSetHelperLib.sol +30 -0
- package/contracts/instance/module/IBundle.sol +6 -5
- package/contracts/instance/module/IComponents.sol +29 -13
- package/contracts/instance/module/IDistribution.sol +21 -8
- package/contracts/instance/module/IPolicy.sol +48 -29
- package/contracts/instance/module/IRisk.sol +5 -0
- package/contracts/oracle/BasicOracle.sol +1 -4
- package/contracts/oracle/BasicOracleAuthorization.sol +15 -8
- package/contracts/oracle/IOracle.sol +9 -4
- package/contracts/oracle/IOracleService.sol +2 -1
- package/contracts/oracle/Oracle.sol +7 -19
- package/contracts/oracle/OracleService.sol +117 -85
- package/contracts/oracle/OracleServiceManager.sol +6 -6
- package/contracts/pool/BasicPool.sol +32 -25
- package/contracts/pool/BasicPoolAuthorization.sol +33 -9
- package/contracts/pool/BundleService.sol +113 -145
- package/contracts/pool/BundleServiceManager.sol +6 -6
- package/contracts/pool/IBundleService.sol +24 -37
- package/contracts/pool/IPoolComponent.sol +19 -15
- package/contracts/pool/IPoolService.sol +77 -67
- package/contracts/pool/Pool.sol +137 -120
- package/contracts/pool/PoolLib.sol +359 -0
- package/contracts/pool/PoolService.sol +360 -255
- package/contracts/pool/PoolServiceManager.sol +4 -4
- package/contracts/product/ApplicationService.sol +111 -34
- package/contracts/product/ApplicationServiceManager.sol +4 -4
- package/contracts/product/BasicProduct.sol +10 -13
- package/contracts/product/BasicProductAuthorization.sol +32 -12
- package/contracts/product/ClaimService.sol +382 -157
- package/contracts/product/ClaimServiceManager.sol +4 -4
- package/contracts/product/IApplicationService.sol +28 -3
- package/contracts/product/IClaimService.sol +43 -8
- package/contracts/product/IPolicyService.sol +43 -14
- package/contracts/product/IPricingService.sol +10 -9
- package/contracts/product/IProductComponent.sol +27 -4
- package/contracts/product/{IProductService.sol → IRiskService.sol} +8 -9
- package/contracts/product/PolicyService.sol +355 -286
- package/contracts/product/PolicyServiceLib.sol +139 -0
- package/contracts/product/PolicyServiceManager.sol +4 -4
- package/contracts/product/PricingService.sol +77 -75
- package/contracts/product/PricingServiceManager.sol +4 -4
- package/contracts/product/Product.sol +149 -83
- package/contracts/product/RiskService.sol +157 -0
- package/contracts/product/RiskServiceManager.sol +39 -0
- package/contracts/registry/ChainNft.sol +72 -40
- package/contracts/registry/IRegistry.sol +64 -28
- package/contracts/registry/IRegistryService.sol +5 -12
- package/contracts/registry/IRelease.sol +29 -0
- package/contracts/registry/ITransferInterceptor.sol +1 -2
- package/contracts/registry/Registry.sol +357 -203
- package/contracts/registry/RegistryAdmin.sol +110 -296
- package/contracts/registry/RegistryAuthorization.sol +284 -0
- package/contracts/registry/RegistryService.sol +37 -48
- package/contracts/registry/RegistryServiceManager.sol +3 -3
- package/contracts/registry/ReleaseAdmin.sol +195 -0
- package/contracts/registry/ReleaseLifecycle.sol +8 -3
- package/contracts/registry/ReleaseRegistry.sol +275 -240
- package/contracts/registry/ServiceAuthorizationV3.sol +201 -55
- package/contracts/registry/TokenRegistry.sol +12 -13
- package/contracts/shared/Component.sol +66 -124
- package/contracts/shared/ComponentService.sol +412 -375
- package/contracts/shared/ComponentServiceManager.sol +8 -5
- package/contracts/shared/ContractLib.sol +311 -0
- package/contracts/shared/IComponent.sol +6 -18
- package/contracts/shared/IComponentService.sol +42 -40
- package/contracts/shared/IInstanceLinkedComponent.sol +2 -28
- package/contracts/shared/ILifecycle.sol +3 -1
- package/contracts/shared/INftOwnable.sol +2 -0
- package/contracts/shared/IPolicyHolder.sol +12 -22
- package/contracts/shared/IRegisterable.sol +22 -1
- package/contracts/shared/IService.sol +3 -5
- package/contracts/shared/InitializableERC165.sol +10 -2
- package/contracts/shared/InstanceLinkedComponent.sol +72 -50
- package/contracts/shared/KeyValueStore.sol +1 -1
- package/contracts/shared/Lifecycle.sol +15 -4
- package/contracts/shared/NftOwnable.sol +29 -9
- package/contracts/shared/PolicyHolder.sol +18 -54
- package/contracts/shared/Registerable.sol +52 -21
- package/contracts/shared/RegistryLinked.sol +9 -14
- package/contracts/shared/Service.sol +20 -35
- package/contracts/shared/TokenHandler.sol +275 -72
- package/contracts/shared/TokenHandlerDeployerLib.sol +10 -2
- package/contracts/staking/IStaking.sol +48 -20
- package/contracts/staking/IStakingService.sol +21 -11
- package/contracts/staking/Staking.sol +196 -88
- package/contracts/staking/{StakeManagerLib.sol → StakingLib.sol} +96 -21
- package/contracts/staking/StakingManager.sol +8 -6
- package/contracts/staking/StakingReader.sol +40 -24
- package/contracts/staking/StakingService.sol +88 -27
- package/contracts/staking/StakingServiceManager.sol +6 -5
- package/contracts/staking/StakingStore.sol +3 -2
- package/contracts/staking/TargetManagerLib.sol +8 -4
- package/contracts/type/Amount.sol +15 -0
- package/contracts/type/ClaimId.sol +6 -1
- package/contracts/type/Fee.sol +8 -8
- package/contracts/type/Key32.sol +2 -2
- package/contracts/type/Key32Set.sol +62 -0
- package/contracts/type/NftId.sol +7 -0
- package/contracts/type/ObjectType.sol +70 -38
- package/contracts/type/PayoutId.sol +10 -10
- package/contracts/type/RiskId.sol +38 -6
- package/contracts/type/RoleId.sol +61 -55
- package/contracts/type/Seconds.sol +12 -0
- package/contracts/type/Selector.sol +5 -0
- package/contracts/type/StateId.sol +15 -1
- package/contracts/type/String.sol +12 -0
- package/contracts/type/Timestamp.sol +0 -5
- package/contracts/type/UFixed.sol +37 -126
- package/contracts/type/Version.sol +54 -5
- package/contracts/upgradeability/ProxyManager.sol +81 -45
- package/contracts/upgradeability/UpgradableProxyWithAdmin.sol +7 -1
- package/contracts/upgradeability/Versionable.sol +6 -3
- package/package.json +5 -4
- package/artifacts/contracts/authorization/IModuleAuthorization.sol/IModuleAuthorization.dbg.json +0 -4
- package/artifacts/contracts/authorization/IModuleAuthorization.sol/IModuleAuthorization.json +0 -290
- package/artifacts/contracts/authorization/ModuleAuthorization.sol/ModuleAuthorization.dbg.json +0 -4
- package/artifacts/contracts/authorization/ModuleAuthorization.sol/ModuleAuthorization.json +0 -390
- 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/product/IProductService.sol/IProductService.dbg.json +0 -4
- package/artifacts/contracts/product/ProductService.sol/ProductService.dbg.json +0 -4
- package/artifacts/contracts/product/ProductService.sol/ProductService.json +0 -708
- package/artifacts/contracts/product/ProductServiceManager.sol/ProductServiceManager.dbg.json +0 -4
- package/artifacts/contracts/product/ProductServiceManager.sol/ProductServiceManager.json +0 -702
- package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.dbg.json +0 -4
- package/artifacts/contracts/shared/InitializableCustom.sol/InitializableCustom.dbg.json +0 -4
- package/artifacts/contracts/shared/InitializableCustom.sol/InitializableCustom.json +0 -39
- package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.dbg.json +0 -4
- package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.json +0 -387
- package/artifacts/contracts/type/UFixed.sol/MathLib.dbg.json +0 -4
- package/artifacts/contracts/type/UFixed.sol/MathLib.json +0 -16
- package/contracts/authorization/IModuleAuthorization.sol +0 -21
- package/contracts/authorization/ModuleAuthorization.sol +0 -78
- package/contracts/instance/module/IAccess.sol +0 -46
- package/contracts/product/ProductService.sol +0 -99
- package/contracts/product/ProductServiceManager.sol +0 -39
- package/contracts/shared/ComponentVerifyingService.sol +0 -117
- package/contracts/shared/InitializableCustom.sol +0 -177
@@ -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
|
{
|
@@ -68,6 +79,22 @@
|
|
68
79
|
"name": "ErrorNftOwnableInitialOwnerZero",
|
69
80
|
"type": "error"
|
70
81
|
},
|
82
|
+
{
|
83
|
+
"inputs": [
|
84
|
+
{
|
85
|
+
"internalType": "NftId",
|
86
|
+
"name": "nftId",
|
87
|
+
"type": "uint96"
|
88
|
+
},
|
89
|
+
{
|
90
|
+
"internalType": "ObjectType",
|
91
|
+
"name": "expectedObjectType",
|
92
|
+
"type": "uint8"
|
93
|
+
}
|
94
|
+
],
|
95
|
+
"name": "ErrorNftOwnableInvalidType",
|
96
|
+
"type": "error"
|
97
|
+
},
|
71
98
|
{
|
72
99
|
"inputs": [
|
73
100
|
{
|
@@ -117,6 +144,22 @@
|
|
117
144
|
"name": "ErrorPoolServiceBundlePoolMismatch",
|
118
145
|
"type": "error"
|
119
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
|
+
},
|
120
163
|
{
|
121
164
|
"inputs": [
|
122
165
|
{
|
@@ -159,9 +202,41 @@
|
|
159
202
|
"name": "ErrorPoolServiceMaxBalanceAmountExceeded",
|
160
203
|
"type": "error"
|
161
204
|
},
|
205
|
+
{
|
206
|
+
"inputs": [
|
207
|
+
{
|
208
|
+
"internalType": "NftId",
|
209
|
+
"name": "policyNftId",
|
210
|
+
"type": "uint96"
|
211
|
+
},
|
212
|
+
{
|
213
|
+
"internalType": "NftId",
|
214
|
+
"name": "productNftId",
|
215
|
+
"type": "uint96"
|
216
|
+
},
|
217
|
+
{
|
218
|
+
"internalType": "NftId",
|
219
|
+
"name": "expectedProductNftId",
|
220
|
+
"type": "uint96"
|
221
|
+
}
|
222
|
+
],
|
223
|
+
"name": "ErrorPoolServicePolicyPoolMismatch",
|
224
|
+
"type": "error"
|
225
|
+
},
|
226
|
+
{
|
227
|
+
"inputs": [
|
228
|
+
{
|
229
|
+
"internalType": "NftId",
|
230
|
+
"name": "poolNftId",
|
231
|
+
"type": "uint96"
|
232
|
+
}
|
233
|
+
],
|
234
|
+
"name": "ErrorPoolServicePoolNotExternallyManaged",
|
235
|
+
"type": "error"
|
236
|
+
},
|
162
237
|
{
|
163
238
|
"inputs": [],
|
164
|
-
"name": "
|
239
|
+
"name": "ErrorRegisterableNotActive",
|
165
240
|
"type": "error"
|
166
241
|
},
|
167
242
|
{
|
@@ -183,23 +258,29 @@
|
|
183
258
|
{
|
184
259
|
"indexed": false,
|
185
260
|
"internalType": "NftId",
|
186
|
-
"name": "
|
261
|
+
"name": "poolNftId",
|
187
262
|
"type": "uint96"
|
188
263
|
},
|
189
264
|
{
|
190
265
|
"indexed": false,
|
191
266
|
"internalType": "NftId",
|
192
|
-
"name": "
|
267
|
+
"name": "bundleNftId",
|
193
268
|
"type": "uint96"
|
194
269
|
},
|
195
270
|
{
|
196
271
|
"indexed": false,
|
197
272
|
"internalType": "NftId",
|
198
|
-
"name": "
|
273
|
+
"name": "applicationNftId",
|
274
|
+
"type": "uint96"
|
275
|
+
},
|
276
|
+
{
|
277
|
+
"indexed": false,
|
278
|
+
"internalType": "Amount",
|
279
|
+
"name": "totalCollateralAmount",
|
199
280
|
"type": "uint96"
|
200
281
|
}
|
201
282
|
],
|
202
|
-
"name": "
|
283
|
+
"name": "LogPoolServiceApplicationVerified",
|
203
284
|
"type": "event"
|
204
285
|
},
|
205
286
|
{
|
@@ -224,12 +305,18 @@
|
|
224
305
|
"type": "uint96"
|
225
306
|
}
|
226
307
|
],
|
227
|
-
"name": "
|
308
|
+
"name": "LogPoolServiceBundleClosed",
|
228
309
|
"type": "event"
|
229
310
|
},
|
230
311
|
{
|
231
312
|
"anonymous": false,
|
232
313
|
"inputs": [
|
314
|
+
{
|
315
|
+
"indexed": false,
|
316
|
+
"internalType": "NftId",
|
317
|
+
"name": "instanceNftId",
|
318
|
+
"type": "uint96"
|
319
|
+
},
|
233
320
|
{
|
234
321
|
"indexed": false,
|
235
322
|
"internalType": "NftId",
|
@@ -238,12 +325,12 @@
|
|
238
325
|
},
|
239
326
|
{
|
240
327
|
"indexed": false,
|
241
|
-
"internalType": "
|
242
|
-
"name": "
|
243
|
-
"type": "
|
328
|
+
"internalType": "NftId",
|
329
|
+
"name": "bundleNftId",
|
330
|
+
"type": "uint96"
|
244
331
|
}
|
245
332
|
],
|
246
|
-
"name": "
|
333
|
+
"name": "LogPoolServiceBundleCreated",
|
247
334
|
"type": "event"
|
248
335
|
},
|
249
336
|
{
|
@@ -309,6 +396,12 @@
|
|
309
396
|
"internalType": "Amount",
|
310
397
|
"name": "amount",
|
311
398
|
"type": "uint96"
|
399
|
+
},
|
400
|
+
{
|
401
|
+
"indexed": false,
|
402
|
+
"internalType": "Amount",
|
403
|
+
"name": "netAmount",
|
404
|
+
"type": "uint96"
|
312
405
|
}
|
313
406
|
],
|
314
407
|
"name": "LogPoolServiceBundleUnstaked",
|
@@ -323,187 +416,317 @@
|
|
323
416
|
"name": "poolNftId",
|
324
417
|
"type": "uint96"
|
325
418
|
},
|
419
|
+
{
|
420
|
+
"indexed": false,
|
421
|
+
"internalType": "NftId",
|
422
|
+
"name": "bundleNftId",
|
423
|
+
"type": "uint96"
|
424
|
+
},
|
425
|
+
{
|
426
|
+
"indexed": false,
|
427
|
+
"internalType": "NftId",
|
428
|
+
"name": "applicationNftId",
|
429
|
+
"type": "uint96"
|
430
|
+
},
|
326
431
|
{
|
327
432
|
"indexed": false,
|
328
433
|
"internalType": "Amount",
|
329
|
-
"name": "
|
434
|
+
"name": "totalCollateralAmount",
|
330
435
|
"type": "uint96"
|
331
436
|
},
|
332
437
|
{
|
333
438
|
"indexed": false,
|
334
439
|
"internalType": "Amount",
|
335
|
-
"name": "
|
440
|
+
"name": "lockedCollateralAmount",
|
336
441
|
"type": "uint96"
|
337
442
|
}
|
338
443
|
],
|
339
|
-
"name": "
|
444
|
+
"name": "LogPoolServiceCollateralLocked",
|
340
445
|
"type": "event"
|
341
446
|
},
|
342
447
|
{
|
343
|
-
"
|
344
|
-
"name": "authority",
|
345
|
-
"outputs": [
|
346
|
-
{
|
347
|
-
"internalType": "address",
|
348
|
-
"name": "",
|
349
|
-
"type": "address"
|
350
|
-
}
|
351
|
-
],
|
352
|
-
"stateMutability": "view",
|
353
|
-
"type": "function"
|
354
|
-
},
|
355
|
-
{
|
448
|
+
"anonymous": false,
|
356
449
|
"inputs": [
|
357
450
|
{
|
358
|
-
"
|
359
|
-
"
|
360
|
-
"
|
451
|
+
"indexed": false,
|
452
|
+
"internalType": "NftId",
|
453
|
+
"name": "bundleNftId",
|
454
|
+
"type": "uint96"
|
361
455
|
},
|
362
456
|
{
|
363
|
-
"
|
364
|
-
"
|
365
|
-
"
|
457
|
+
"indexed": false,
|
458
|
+
"internalType": "NftId",
|
459
|
+
"name": "policyNftId",
|
460
|
+
"type": "uint96"
|
366
461
|
},
|
367
462
|
{
|
463
|
+
"indexed": false,
|
368
464
|
"internalType": "Amount",
|
369
|
-
"name": "
|
465
|
+
"name": "remainingCollateralAmount",
|
370
466
|
"type": "uint96"
|
371
467
|
}
|
372
468
|
],
|
373
|
-
"name": "
|
374
|
-
"
|
469
|
+
"name": "LogPoolServiceCollateralReleased",
|
470
|
+
"type": "event"
|
471
|
+
},
|
472
|
+
{
|
473
|
+
"anonymous": false,
|
474
|
+
"inputs": [
|
375
475
|
{
|
376
|
-
"
|
377
|
-
"
|
476
|
+
"indexed": false,
|
477
|
+
"internalType": "NftId",
|
478
|
+
"name": "bundleNftId",
|
378
479
|
"type": "uint96"
|
379
480
|
},
|
380
481
|
{
|
482
|
+
"indexed": false,
|
483
|
+
"internalType": "address",
|
484
|
+
"name": "recipient",
|
485
|
+
"type": "address"
|
486
|
+
},
|
487
|
+
{
|
488
|
+
"indexed": false,
|
489
|
+
"internalType": "address",
|
490
|
+
"name": "tokenAddress",
|
491
|
+
"type": "address"
|
492
|
+
},
|
493
|
+
{
|
494
|
+
"indexed": false,
|
381
495
|
"internalType": "Amount",
|
382
|
-
"name": "
|
496
|
+
"name": "amount",
|
383
497
|
"type": "uint96"
|
384
498
|
}
|
385
499
|
],
|
386
|
-
"
|
387
|
-
"type": "
|
500
|
+
"name": "LogPoolServiceFeesWithdrawn",
|
501
|
+
"type": "event"
|
388
502
|
},
|
389
503
|
{
|
504
|
+
"anonymous": false,
|
390
505
|
"inputs": [
|
391
506
|
{
|
392
|
-
"
|
393
|
-
"name": "instanceReader",
|
394
|
-
"type": "address"
|
395
|
-
},
|
396
|
-
{
|
507
|
+
"indexed": false,
|
397
508
|
"internalType": "NftId",
|
398
|
-
"name": "
|
509
|
+
"name": "poolNftId",
|
399
510
|
"type": "uint96"
|
400
511
|
},
|
401
512
|
{
|
513
|
+
"indexed": false,
|
402
514
|
"internalType": "Amount",
|
403
|
-
"name": "
|
404
|
-
"type": "uint96"
|
405
|
-
}
|
406
|
-
],
|
407
|
-
"name": "calculateRequiredCollateral",
|
408
|
-
"outputs": [
|
409
|
-
{
|
410
|
-
"internalType": "Amount",
|
411
|
-
"name": "localCollateralAmount",
|
515
|
+
"name": "previousMaxCapitalAmount",
|
412
516
|
"type": "uint96"
|
413
517
|
},
|
414
518
|
{
|
519
|
+
"indexed": false,
|
415
520
|
"internalType": "Amount",
|
416
|
-
"name": "
|
521
|
+
"name": "currentMaxCapitalAmount",
|
417
522
|
"type": "uint96"
|
418
523
|
}
|
419
524
|
],
|
420
|
-
"
|
421
|
-
"type": "
|
525
|
+
"name": "LogPoolServiceMaxBalanceAmountUpdated",
|
526
|
+
"type": "event"
|
422
527
|
},
|
423
528
|
{
|
529
|
+
"anonymous": false,
|
424
530
|
"inputs": [
|
425
531
|
{
|
532
|
+
"indexed": false,
|
426
533
|
"internalType": "NftId",
|
427
|
-
"name": "
|
534
|
+
"name": "poolNftId",
|
428
535
|
"type": "uint96"
|
429
|
-
}
|
430
|
-
],
|
431
|
-
"name": "closeBundle",
|
432
|
-
"outputs": [],
|
433
|
-
"stateMutability": "nonpayable",
|
434
|
-
"type": "function"
|
435
|
-
},
|
436
|
-
{
|
437
|
-
"inputs": [
|
536
|
+
},
|
438
537
|
{
|
439
|
-
"
|
440
|
-
"
|
441
|
-
"
|
538
|
+
"indexed": false,
|
539
|
+
"internalType": "NftId",
|
540
|
+
"name": "bundleNftId",
|
541
|
+
"type": "uint96"
|
442
542
|
},
|
443
543
|
{
|
444
|
-
"
|
445
|
-
|
446
|
-
|
447
|
-
|
448
|
-
"type": "uint256"
|
449
|
-
},
|
450
|
-
{
|
451
|
-
"internalType": "uint256",
|
452
|
-
"name": "fixedFee",
|
453
|
-
"type": "uint256"
|
454
|
-
}
|
455
|
-
],
|
456
|
-
"internalType": "struct Fee",
|
457
|
-
"name": "fee",
|
458
|
-
"type": "tuple"
|
544
|
+
"indexed": false,
|
545
|
+
"internalType": "NftId",
|
546
|
+
"name": "policyNftId",
|
547
|
+
"type": "uint96"
|
459
548
|
},
|
460
549
|
{
|
461
|
-
"
|
462
|
-
"
|
550
|
+
"indexed": false,
|
551
|
+
"internalType": "PayoutId",
|
552
|
+
"name": "payoutId",
|
463
553
|
"type": "uint40"
|
464
554
|
},
|
465
555
|
{
|
466
|
-
"
|
467
|
-
"
|
468
|
-
"
|
469
|
-
|
470
|
-
|
471
|
-
"name": "createBundle",
|
472
|
-
"outputs": [
|
556
|
+
"indexed": false,
|
557
|
+
"internalType": "Amount",
|
558
|
+
"name": "netPayoutAmount",
|
559
|
+
"type": "uint96"
|
560
|
+
},
|
473
561
|
{
|
474
|
-
"
|
475
|
-
"
|
562
|
+
"indexed": false,
|
563
|
+
"internalType": "Amount",
|
564
|
+
"name": "processingFeeAmount",
|
476
565
|
"type": "uint96"
|
566
|
+
},
|
567
|
+
{
|
568
|
+
"indexed": false,
|
569
|
+
"internalType": "address",
|
570
|
+
"name": "payoutBeneficiary",
|
571
|
+
"type": "address"
|
477
572
|
}
|
478
573
|
],
|
479
|
-
"
|
480
|
-
"type": "
|
574
|
+
"name": "LogPoolServicePayoutProcessed",
|
575
|
+
"type": "event"
|
481
576
|
},
|
482
577
|
{
|
578
|
+
"anonymous": false,
|
483
579
|
"inputs": [
|
484
580
|
{
|
581
|
+
"indexed": false,
|
485
582
|
"internalType": "NftId",
|
486
|
-
"name": "
|
583
|
+
"name": "policyNftId",
|
487
584
|
"type": "uint96"
|
488
585
|
},
|
489
586
|
{
|
587
|
+
"indexed": false,
|
588
|
+
"internalType": "ClaimId",
|
589
|
+
"name": "claimId",
|
590
|
+
"type": "uint16"
|
591
|
+
},
|
592
|
+
{
|
593
|
+
"indexed": false,
|
490
594
|
"internalType": "Amount",
|
491
|
-
"name": "
|
595
|
+
"name": "availableAmount",
|
492
596
|
"type": "uint96"
|
493
597
|
}
|
494
598
|
],
|
495
|
-
"name": "
|
496
|
-
"
|
497
|
-
|
498
|
-
|
599
|
+
"name": "LogPoolServiceProcessFundedClaim",
|
600
|
+
"type": "event"
|
601
|
+
},
|
602
|
+
{
|
603
|
+
"anonymous": false,
|
604
|
+
"inputs": [
|
605
|
+
{
|
606
|
+
"indexed": false,
|
607
|
+
"internalType": "NftId",
|
608
|
+
"name": "poolNftId",
|
609
|
+
"type": "uint96"
|
610
|
+
},
|
611
|
+
{
|
612
|
+
"indexed": false,
|
613
|
+
"internalType": "NftId",
|
614
|
+
"name": "bundleNftId",
|
615
|
+
"type": "uint96"
|
616
|
+
},
|
617
|
+
{
|
618
|
+
"indexed": false,
|
619
|
+
"internalType": "Amount",
|
620
|
+
"name": "bundleNetAmount",
|
621
|
+
"type": "uint96"
|
622
|
+
},
|
623
|
+
{
|
624
|
+
"indexed": false,
|
625
|
+
"internalType": "Amount",
|
626
|
+
"name": "bundleFeeAmount",
|
627
|
+
"type": "uint96"
|
628
|
+
},
|
629
|
+
{
|
630
|
+
"indexed": false,
|
631
|
+
"internalType": "Amount",
|
632
|
+
"name": "poolFeeAmount",
|
633
|
+
"type": "uint96"
|
634
|
+
}
|
635
|
+
],
|
636
|
+
"name": "LogPoolServiceSaleProcessed",
|
637
|
+
"type": "event"
|
638
|
+
},
|
639
|
+
{
|
640
|
+
"anonymous": false,
|
641
|
+
"inputs": [
|
642
|
+
{
|
643
|
+
"indexed": false,
|
644
|
+
"internalType": "NftId",
|
645
|
+
"name": "poolNftId",
|
646
|
+
"type": "uint96"
|
647
|
+
},
|
648
|
+
{
|
649
|
+
"indexed": false,
|
650
|
+
"internalType": "address",
|
651
|
+
"name": "poolOwner",
|
652
|
+
"type": "address"
|
653
|
+
},
|
654
|
+
{
|
655
|
+
"indexed": false,
|
656
|
+
"internalType": "Amount",
|
657
|
+
"name": "amount",
|
658
|
+
"type": "uint96"
|
659
|
+
}
|
660
|
+
],
|
661
|
+
"name": "LogPoolServiceWalletDefunded",
|
662
|
+
"type": "event"
|
499
663
|
},
|
500
664
|
{
|
665
|
+
"anonymous": false,
|
501
666
|
"inputs": [
|
502
667
|
{
|
668
|
+
"indexed": false,
|
503
669
|
"internalType": "NftId",
|
504
670
|
"name": "poolNftId",
|
505
671
|
"type": "uint96"
|
506
672
|
},
|
673
|
+
{
|
674
|
+
"indexed": false,
|
675
|
+
"internalType": "address",
|
676
|
+
"name": "poolOwner",
|
677
|
+
"type": "address"
|
678
|
+
},
|
679
|
+
{
|
680
|
+
"indexed": false,
|
681
|
+
"internalType": "Amount",
|
682
|
+
"name": "amount",
|
683
|
+
"type": "uint96"
|
684
|
+
}
|
685
|
+
],
|
686
|
+
"name": "LogPoolServiceWalletFunded",
|
687
|
+
"type": "event"
|
688
|
+
},
|
689
|
+
{
|
690
|
+
"inputs": [],
|
691
|
+
"name": "authority",
|
692
|
+
"outputs": [
|
693
|
+
{
|
694
|
+
"internalType": "address",
|
695
|
+
"name": "",
|
696
|
+
"type": "address"
|
697
|
+
}
|
698
|
+
],
|
699
|
+
"stateMutability": "view",
|
700
|
+
"type": "function"
|
701
|
+
},
|
702
|
+
{
|
703
|
+
"inputs": [
|
704
|
+
{
|
705
|
+
"internalType": "NftId",
|
706
|
+
"name": "bundleNftId",
|
707
|
+
"type": "uint96"
|
708
|
+
}
|
709
|
+
],
|
710
|
+
"name": "closeBundle",
|
711
|
+
"outputs": [],
|
712
|
+
"stateMutability": "nonpayable",
|
713
|
+
"type": "function"
|
714
|
+
},
|
715
|
+
{
|
716
|
+
"inputs": [
|
717
|
+
{
|
718
|
+
"internalType": "Amount",
|
719
|
+
"name": "amount",
|
720
|
+
"type": "uint96"
|
721
|
+
}
|
722
|
+
],
|
723
|
+
"name": "defundPoolWallet",
|
724
|
+
"outputs": [],
|
725
|
+
"stateMutability": "nonpayable",
|
726
|
+
"type": "function"
|
727
|
+
},
|
728
|
+
{
|
729
|
+
"inputs": [
|
507
730
|
{
|
508
731
|
"internalType": "Amount",
|
509
732
|
"name": "amount",
|
@@ -617,6 +840,19 @@
|
|
617
840
|
"stateMutability": "view",
|
618
841
|
"type": "function"
|
619
842
|
},
|
843
|
+
{
|
844
|
+
"inputs": [],
|
845
|
+
"name": "getRelease",
|
846
|
+
"outputs": [
|
847
|
+
{
|
848
|
+
"internalType": "VersionPart",
|
849
|
+
"name": "release",
|
850
|
+
"type": "uint8"
|
851
|
+
}
|
852
|
+
],
|
853
|
+
"stateMutability": "view",
|
854
|
+
"type": "function"
|
855
|
+
},
|
620
856
|
{
|
621
857
|
"inputs": [],
|
622
858
|
"name": "getRoleId",
|
@@ -627,7 +863,7 @@
|
|
627
863
|
"type": "uint64"
|
628
864
|
}
|
629
865
|
],
|
630
|
-
"stateMutability": "
|
866
|
+
"stateMutability": "view",
|
631
867
|
"type": "function"
|
632
868
|
},
|
633
869
|
{
|
@@ -661,6 +897,19 @@
|
|
661
897
|
"stateMutability": "nonpayable",
|
662
898
|
"type": "function"
|
663
899
|
},
|
900
|
+
{
|
901
|
+
"inputs": [],
|
902
|
+
"name": "isActive",
|
903
|
+
"outputs": [
|
904
|
+
{
|
905
|
+
"internalType": "bool",
|
906
|
+
"name": "active",
|
907
|
+
"type": "bool"
|
908
|
+
}
|
909
|
+
],
|
910
|
+
"stateMutability": "view",
|
911
|
+
"type": "function"
|
912
|
+
},
|
664
913
|
{
|
665
914
|
"inputs": [],
|
666
915
|
"name": "isConsumingScheduledOp",
|
@@ -736,6 +985,88 @@
|
|
736
985
|
"stateMutability": "nonpayable",
|
737
986
|
"type": "function"
|
738
987
|
},
|
988
|
+
{
|
989
|
+
"inputs": [
|
990
|
+
{
|
991
|
+
"internalType": "NftId",
|
992
|
+
"name": "policyNftId",
|
993
|
+
"type": "uint96"
|
994
|
+
},
|
995
|
+
{
|
996
|
+
"internalType": "ClaimId",
|
997
|
+
"name": "claimId",
|
998
|
+
"type": "uint16"
|
999
|
+
},
|
1000
|
+
{
|
1001
|
+
"internalType": "Amount",
|
1002
|
+
"name": "availableAmount",
|
1003
|
+
"type": "uint96"
|
1004
|
+
}
|
1005
|
+
],
|
1006
|
+
"name": "processFundedClaim",
|
1007
|
+
"outputs": [],
|
1008
|
+
"stateMutability": "nonpayable",
|
1009
|
+
"type": "function"
|
1010
|
+
},
|
1011
|
+
{
|
1012
|
+
"inputs": [
|
1013
|
+
{
|
1014
|
+
"internalType": "contract InstanceReader",
|
1015
|
+
"name": "instanceReader",
|
1016
|
+
"type": "address"
|
1017
|
+
},
|
1018
|
+
{
|
1019
|
+
"internalType": "contract InstanceStore",
|
1020
|
+
"name": "instanceStore",
|
1021
|
+
"type": "address"
|
1022
|
+
},
|
1023
|
+
{
|
1024
|
+
"internalType": "NftId",
|
1025
|
+
"name": "productNftId",
|
1026
|
+
"type": "uint96"
|
1027
|
+
},
|
1028
|
+
{
|
1029
|
+
"internalType": "NftId",
|
1030
|
+
"name": "policyNftId",
|
1031
|
+
"type": "uint96"
|
1032
|
+
},
|
1033
|
+
{
|
1034
|
+
"internalType": "NftId",
|
1035
|
+
"name": "bundleNftId",
|
1036
|
+
"type": "uint96"
|
1037
|
+
},
|
1038
|
+
{
|
1039
|
+
"internalType": "PayoutId",
|
1040
|
+
"name": "payoutId",
|
1041
|
+
"type": "uint40"
|
1042
|
+
},
|
1043
|
+
{
|
1044
|
+
"internalType": "Amount",
|
1045
|
+
"name": "payoutAmount",
|
1046
|
+
"type": "uint96"
|
1047
|
+
},
|
1048
|
+
{
|
1049
|
+
"internalType": "address",
|
1050
|
+
"name": "payoutBeneficiary",
|
1051
|
+
"type": "address"
|
1052
|
+
}
|
1053
|
+
],
|
1054
|
+
"name": "processPayout",
|
1055
|
+
"outputs": [
|
1056
|
+
{
|
1057
|
+
"internalType": "Amount",
|
1058
|
+
"name": "netPayoutAmount",
|
1059
|
+
"type": "uint96"
|
1060
|
+
},
|
1061
|
+
{
|
1062
|
+
"internalType": "Amount",
|
1063
|
+
"name": "processingFeeAmount",
|
1064
|
+
"type": "uint96"
|
1065
|
+
}
|
1066
|
+
],
|
1067
|
+
"stateMutability": "nonpayable",
|
1068
|
+
"type": "function"
|
1069
|
+
},
|
739
1070
|
{
|
740
1071
|
"inputs": [
|
741
1072
|
{
|
@@ -761,79 +1092,79 @@
|
|
761
1092
|
"type": "uint96"
|
762
1093
|
},
|
763
1094
|
{
|
764
|
-
"internalType": "
|
1095
|
+
"internalType": "Amount",
|
765
1096
|
"name": "netPremiumAmount",
|
766
|
-
"type": "
|
1097
|
+
"type": "uint96"
|
767
1098
|
},
|
768
1099
|
{
|
769
|
-
"internalType": "
|
1100
|
+
"internalType": "Amount",
|
770
1101
|
"name": "fullPremiumAmount",
|
771
|
-
"type": "
|
1102
|
+
"type": "uint96"
|
772
1103
|
},
|
773
1104
|
{
|
774
|
-
"internalType": "
|
1105
|
+
"internalType": "Amount",
|
775
1106
|
"name": "premiumAmount",
|
776
|
-
"type": "
|
1107
|
+
"type": "uint96"
|
777
1108
|
},
|
778
1109
|
{
|
779
|
-
"internalType": "
|
1110
|
+
"internalType": "Amount",
|
780
1111
|
"name": "productFeeFixAmount",
|
781
|
-
"type": "
|
1112
|
+
"type": "uint96"
|
782
1113
|
},
|
783
1114
|
{
|
784
|
-
"internalType": "
|
1115
|
+
"internalType": "Amount",
|
785
1116
|
"name": "poolFeeFixAmount",
|
786
|
-
"type": "
|
1117
|
+
"type": "uint96"
|
787
1118
|
},
|
788
1119
|
{
|
789
|
-
"internalType": "
|
1120
|
+
"internalType": "Amount",
|
790
1121
|
"name": "bundleFeeFixAmount",
|
791
|
-
"type": "
|
1122
|
+
"type": "uint96"
|
792
1123
|
},
|
793
1124
|
{
|
794
|
-
"internalType": "
|
1125
|
+
"internalType": "Amount",
|
795
1126
|
"name": "distributionFeeFixAmount",
|
796
|
-
"type": "
|
1127
|
+
"type": "uint96"
|
797
1128
|
},
|
798
1129
|
{
|
799
|
-
"internalType": "
|
1130
|
+
"internalType": "Amount",
|
800
1131
|
"name": "productFeeVarAmount",
|
801
|
-
"type": "
|
1132
|
+
"type": "uint96"
|
802
1133
|
},
|
803
1134
|
{
|
804
|
-
"internalType": "
|
1135
|
+
"internalType": "Amount",
|
805
1136
|
"name": "poolFeeVarAmount",
|
806
|
-
"type": "
|
1137
|
+
"type": "uint96"
|
807
1138
|
},
|
808
1139
|
{
|
809
|
-
"internalType": "
|
1140
|
+
"internalType": "Amount",
|
810
1141
|
"name": "bundleFeeVarAmount",
|
811
|
-
"type": "
|
1142
|
+
"type": "uint96"
|
812
1143
|
},
|
813
1144
|
{
|
814
|
-
"internalType": "
|
1145
|
+
"internalType": "Amount",
|
815
1146
|
"name": "distributionFeeVarAmount",
|
816
|
-
"type": "
|
1147
|
+
"type": "uint96"
|
817
1148
|
},
|
818
1149
|
{
|
819
|
-
"internalType": "
|
1150
|
+
"internalType": "Amount",
|
820
1151
|
"name": "distributionOwnerFeeFixAmount",
|
821
|
-
"type": "
|
1152
|
+
"type": "uint96"
|
822
1153
|
},
|
823
1154
|
{
|
824
|
-
"internalType": "
|
1155
|
+
"internalType": "Amount",
|
825
1156
|
"name": "distributionOwnerFeeVarAmount",
|
826
|
-
"type": "
|
1157
|
+
"type": "uint96"
|
827
1158
|
},
|
828
1159
|
{
|
829
|
-
"internalType": "
|
1160
|
+
"internalType": "Amount",
|
830
1161
|
"name": "commissionAmount",
|
831
|
-
"type": "
|
1162
|
+
"type": "uint96"
|
832
1163
|
},
|
833
1164
|
{
|
834
|
-
"internalType": "
|
1165
|
+
"internalType": "Amount",
|
835
1166
|
"name": "discountAmount",
|
836
|
-
"type": "
|
1167
|
+
"type": "uint96"
|
837
1168
|
}
|
838
1169
|
],
|
839
1170
|
"internalType": "struct IPolicy.PremiumInfo",
|
@@ -853,11 +1184,6 @@
|
|
853
1184
|
"name": "instance",
|
854
1185
|
"type": "address"
|
855
1186
|
},
|
856
|
-
{
|
857
|
-
"internalType": "address",
|
858
|
-
"name": "token",
|
859
|
-
"type": "address"
|
860
|
-
},
|
861
1187
|
{
|
862
1188
|
"internalType": "NftId",
|
863
1189
|
"name": "policyNftId",
|
@@ -875,11 +1201,6 @@
|
|
875
1201
|
"name": "bundleNftId",
|
876
1202
|
"type": "uint96"
|
877
1203
|
},
|
878
|
-
{
|
879
|
-
"internalType": "ReferralId",
|
880
|
-
"name": "referralId",
|
881
|
-
"type": "bytes8"
|
882
|
-
},
|
883
1204
|
{
|
884
1205
|
"internalType": "RiskId",
|
885
1206
|
"name": "riskId",
|
@@ -896,24 +1217,9 @@
|
|
896
1217
|
"type": "uint96"
|
897
1218
|
},
|
898
1219
|
{
|
899
|
-
"internalType": "
|
900
|
-
"name": "
|
901
|
-
"type": "
|
902
|
-
},
|
903
|
-
{
|
904
|
-
"internalType": "Seconds",
|
905
|
-
"name": "lifetime",
|
906
|
-
"type": "uint40"
|
907
|
-
},
|
908
|
-
{
|
909
|
-
"internalType": "bytes",
|
910
|
-
"name": "applicationData",
|
911
|
-
"type": "bytes"
|
912
|
-
},
|
913
|
-
{
|
914
|
-
"internalType": "bytes",
|
915
|
-
"name": "processData",
|
916
|
-
"type": "bytes"
|
1220
|
+
"internalType": "ReferralId",
|
1221
|
+
"name": "referralId",
|
1222
|
+
"type": "bytes8"
|
917
1223
|
},
|
918
1224
|
{
|
919
1225
|
"internalType": "uint16",
|
@@ -941,88 +1247,18 @@
|
|
941
1247
|
"type": "uint40"
|
942
1248
|
},
|
943
1249
|
{
|
944
|
-
"internalType": "
|
945
|
-
"name": "
|
1250
|
+
"internalType": "Seconds",
|
1251
|
+
"name": "lifetime",
|
946
1252
|
"type": "uint40"
|
947
1253
|
},
|
948
1254
|
{
|
949
1255
|
"internalType": "Timestamp",
|
950
|
-
"name": "
|
1256
|
+
"name": "expiredAt",
|
951
1257
|
"type": "uint40"
|
952
|
-
}
|
953
|
-
],
|
954
|
-
"internalType": "struct IPolicy.PolicyInfo",
|
955
|
-
"name": "policyInfo",
|
956
|
-
"type": "tuple"
|
957
|
-
},
|
958
|
-
{
|
959
|
-
"internalType": "Amount",
|
960
|
-
"name": "payoutAmount",
|
961
|
-
"type": "uint96"
|
962
|
-
}
|
963
|
-
],
|
964
|
-
"name": "reduceCollateral",
|
965
|
-
"outputs": [],
|
966
|
-
"stateMutability": "nonpayable",
|
967
|
-
"type": "function"
|
968
|
-
},
|
969
|
-
{
|
970
|
-
"inputs": [
|
971
|
-
{
|
972
|
-
"internalType": "contract IInstance",
|
973
|
-
"name": "instance",
|
974
|
-
"type": "address"
|
975
|
-
},
|
976
|
-
{
|
977
|
-
"internalType": "address",
|
978
|
-
"name": "token",
|
979
|
-
"type": "address"
|
980
|
-
},
|
981
|
-
{
|
982
|
-
"internalType": "NftId",
|
983
|
-
"name": "policyNftId",
|
984
|
-
"type": "uint96"
|
985
|
-
},
|
986
|
-
{
|
987
|
-
"components": [
|
988
|
-
{
|
989
|
-
"internalType": "NftId",
|
990
|
-
"name": "productNftId",
|
991
|
-
"type": "uint96"
|
992
|
-
},
|
993
|
-
{
|
994
|
-
"internalType": "NftId",
|
995
|
-
"name": "bundleNftId",
|
996
|
-
"type": "uint96"
|
997
|
-
},
|
998
|
-
{
|
999
|
-
"internalType": "ReferralId",
|
1000
|
-
"name": "referralId",
|
1001
|
-
"type": "bytes8"
|
1002
|
-
},
|
1003
|
-
{
|
1004
|
-
"internalType": "RiskId",
|
1005
|
-
"name": "riskId",
|
1006
|
-
"type": "bytes8"
|
1007
|
-
},
|
1008
|
-
{
|
1009
|
-
"internalType": "Amount",
|
1010
|
-
"name": "sumInsuredAmount",
|
1011
|
-
"type": "uint96"
|
1012
|
-
},
|
1013
|
-
{
|
1014
|
-
"internalType": "Amount",
|
1015
|
-
"name": "premiumAmount",
|
1016
|
-
"type": "uint96"
|
1017
1258
|
},
|
1018
1259
|
{
|
1019
|
-
"internalType": "
|
1020
|
-
"name": "
|
1021
|
-
"type": "uint96"
|
1022
|
-
},
|
1023
|
-
{
|
1024
|
-
"internalType": "Seconds",
|
1025
|
-
"name": "lifetime",
|
1260
|
+
"internalType": "Timestamp",
|
1261
|
+
"name": "closedAt",
|
1026
1262
|
"type": "uint40"
|
1027
1263
|
},
|
1028
1264
|
{
|
@@ -1034,41 +1270,6 @@
|
|
1034
1270
|
"internalType": "bytes",
|
1035
1271
|
"name": "processData",
|
1036
1272
|
"type": "bytes"
|
1037
|
-
},
|
1038
|
-
{
|
1039
|
-
"internalType": "uint16",
|
1040
|
-
"name": "claimsCount",
|
1041
|
-
"type": "uint16"
|
1042
|
-
},
|
1043
|
-
{
|
1044
|
-
"internalType": "uint16",
|
1045
|
-
"name": "openClaimsCount",
|
1046
|
-
"type": "uint16"
|
1047
|
-
},
|
1048
|
-
{
|
1049
|
-
"internalType": "Amount",
|
1050
|
-
"name": "claimAmount",
|
1051
|
-
"type": "uint96"
|
1052
|
-
},
|
1053
|
-
{
|
1054
|
-
"internalType": "Amount",
|
1055
|
-
"name": "payoutAmount",
|
1056
|
-
"type": "uint96"
|
1057
|
-
},
|
1058
|
-
{
|
1059
|
-
"internalType": "Timestamp",
|
1060
|
-
"name": "activatedAt",
|
1061
|
-
"type": "uint40"
|
1062
|
-
},
|
1063
|
-
{
|
1064
|
-
"internalType": "Timestamp",
|
1065
|
-
"name": "expiredAt",
|
1066
|
-
"type": "uint40"
|
1067
|
-
},
|
1068
|
-
{
|
1069
|
-
"internalType": "Timestamp",
|
1070
|
-
"name": "closedAt",
|
1071
|
-
"type": "uint40"
|
1072
1273
|
}
|
1073
1274
|
],
|
1074
1275
|
"internalType": "struct IPolicy.PolicyInfo",
|
@@ -1094,19 +1295,6 @@
|
|
1094
1295
|
"stateMutability": "nonpayable",
|
1095
1296
|
"type": "function"
|
1096
1297
|
},
|
1097
|
-
{
|
1098
|
-
"inputs": [
|
1099
|
-
{
|
1100
|
-
"internalType": "RoleId",
|
1101
|
-
"name": "bundleOwnerRole",
|
1102
|
-
"type": "uint64"
|
1103
|
-
}
|
1104
|
-
],
|
1105
|
-
"name": "setBundleOwnerRole",
|
1106
|
-
"outputs": [],
|
1107
|
-
"stateMutability": "nonpayable",
|
1108
|
-
"type": "function"
|
1109
|
-
},
|
1110
1298
|
{
|
1111
1299
|
"inputs": [
|
1112
1300
|
{
|
@@ -1199,6 +1387,30 @@
|
|
1199
1387
|
"outputs": [],
|
1200
1388
|
"stateMutability": "nonpayable",
|
1201
1389
|
"type": "function"
|
1390
|
+
},
|
1391
|
+
{
|
1392
|
+
"inputs": [
|
1393
|
+
{
|
1394
|
+
"internalType": "NftId",
|
1395
|
+
"name": "bundleNftId",
|
1396
|
+
"type": "uint96"
|
1397
|
+
},
|
1398
|
+
{
|
1399
|
+
"internalType": "Amount",
|
1400
|
+
"name": "amount",
|
1401
|
+
"type": "uint96"
|
1402
|
+
}
|
1403
|
+
],
|
1404
|
+
"name": "withdrawBundleFees",
|
1405
|
+
"outputs": [
|
1406
|
+
{
|
1407
|
+
"internalType": "Amount",
|
1408
|
+
"name": "withdrawnAmount",
|
1409
|
+
"type": "uint96"
|
1410
|
+
}
|
1411
|
+
],
|
1412
|
+
"stateMutability": "nonpayable",
|
1413
|
+
"type": "function"
|
1202
1414
|
}
|
1203
1415
|
],
|
1204
1416
|
"bytecode": "0x",
|