@etherisc/gif-next 0.0.2-f1e0c66-773 → 0.0.2-f1e6957-384
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +137 -333
- package/artifacts/contracts/accounting/AccountingService.sol/AccountingService.dbg.json +4 -0
- package/artifacts/contracts/accounting/AccountingService.sol/AccountingService.json +1075 -0
- package/artifacts/contracts/accounting/AccountingServiceManager.sol/AccountingServiceManager.dbg.json +4 -0
- package/artifacts/contracts/accounting/AccountingServiceManager.sol/AccountingServiceManager.json +810 -0
- package/artifacts/contracts/accounting/IAccountingService.sol/IAccountingService.dbg.json +4 -0
- package/artifacts/contracts/accounting/IAccountingService.sol/IAccountingService.json +843 -0
- package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.dbg.json +1 -1
- package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.json +760 -278
- package/artifacts/contracts/authorization/AccessAdminLib.sol/AccessAdminLib.dbg.json +4 -0
- package/artifacts/contracts/authorization/AccessAdminLib.sol/AccessAdminLib.json +2008 -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 +485 -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 +588 -220
- package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.dbg.json +1 -1
- package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.json +227 -20
- package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.dbg.json +1 -1
- package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.json +275 -16
- package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.dbg.json +1 -1
- package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.json +479 -17
- package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.dbg.json +1 -1
- package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.json +183 -497
- package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.dbg.json +1 -1
- package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.json +475 -41
- package/artifacts/contracts/distribution/Distribution.sol/Distribution.dbg.json +1 -1
- package/artifacts/contracts/distribution/Distribution.sol/Distribution.json +102 -397
- package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.dbg.json +1 -1
- package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.json +644 -392
- package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +1 -1
- package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.json +227 -131
- package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.dbg.json +1 -1
- package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.json +96 -201
- package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.dbg.json +1 -1
- package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.json +476 -137
- 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 +1474 -0
- package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.dbg.json +4 -0
- package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.json +844 -0
- package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.dbg.json +4 -0
- package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.json +2043 -0
- package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.dbg.json +4 -0
- package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.json +844 -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 +1429 -0
- package/artifacts/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol/SimpleDistributionAuthorization.dbg.json +4 -0
- package/artifacts/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol/SimpleDistributionAuthorization.json +844 -0
- package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.dbg.json +4 -0
- package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.json +1161 -0
- package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.dbg.json +4 -0
- package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.json +1637 -0
- package/artifacts/contracts/examples/unpermissioned/SimplePoolAuthorization.sol/SimplePoolAuthorization.dbg.json +4 -0
- package/artifacts/contracts/examples/unpermissioned/SimplePoolAuthorization.sol/SimplePoolAuthorization.json +844 -0
- package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.dbg.json +4 -0
- package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.json +2575 -0
- package/artifacts/contracts/examples/unpermissioned/SimpleProductAuthorization.sol/SimpleProductAuthorization.dbg.json +4 -0
- package/artifacts/contracts/examples/unpermissioned/SimpleProductAuthorization.sol/SimpleProductAuthorization.json +844 -0
- package/artifacts/contracts/instance/BaseStore.sol/BaseStore.dbg.json +4 -0
- package/artifacts/contracts/{shared/IKeyValueStore.sol/IKeyValueStore.json → instance/BaseStore.sol/BaseStore.json} +55 -197
- 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/IBaseStore.sol/IBaseStore.dbg.json +4 -0
- package/artifacts/contracts/{shared/KeyValueStore.sol/KeyValueStore.json → instance/IBaseStore.sol/IBaseStore.json} +34 -227
- package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
- package/artifacts/contracts/instance/IInstance.sol/IInstance.json +587 -64
- package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
- package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +405 -60
- package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
- package/artifacts/contracts/instance/Instance.sol/Instance.json +625 -182
- package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.json +1154 -380
- package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.json +363 -92
- package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +1645 -849
- package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +419 -231
- package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +160 -102
- package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.json +1300 -1842
- package/artifacts/contracts/instance/ProductStore.sol/ProductStore.dbg.json +4 -0
- package/artifacts/contracts/instance/ProductStore.sol/ProductStore.json +3427 -0
- package/artifacts/contracts/instance/RiskSet.sol/RiskSet.dbg.json +4 -0
- package/artifacts/contracts/instance/RiskSet.sol/RiskSet.json +866 -0
- package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.dbg.json +1 -1
- package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.json +8 -8
- 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/mock/Dip.sol/Dip.json +2 -2
- package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.dbg.json +1 -1
- package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.json +127 -365
- package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.dbg.json +1 -1
- package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.json +473 -42
- 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 +103 -143
- package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.dbg.json +1 -1
- package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.json +98 -11
- package/artifacts/contracts/oracle/Oracle.sol/Oracle.dbg.json +1 -1
- package/artifacts/contracts/oracle/Oracle.sol/Oracle.json +103 -333
- package/artifacts/contracts/oracle/OracleService.sol/OracleService.dbg.json +1 -1
- package/artifacts/contracts/oracle/OracleService.sol/OracleService.json +198 -190
- package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.dbg.json +1 -1
- package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.json +195 -95
- package/artifacts/contracts/pool/BasicPool.sol/BasicPool.dbg.json +1 -1
- package/artifacts/contracts/pool/BasicPool.sol/BasicPool.json +160 -448
- package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.dbg.json +1 -1
- package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.json +474 -40
- package/artifacts/contracts/pool/BundleService.sol/BundleService.dbg.json +1 -1
- package/artifacts/contracts/pool/BundleService.sol/BundleService.json +502 -364
- package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.dbg.json +1 -1
- package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.json +212 -112
- package/artifacts/contracts/pool/IBundleService.sol/IBundleService.dbg.json +1 -1
- package/artifacts/contracts/pool/IBundleService.sol/IBundleService.json +340 -112
- package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.dbg.json +1 -1
- package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.json +139 -246
- package/artifacts/contracts/pool/IPoolService.sol/IPoolService.dbg.json +1 -1
- package/artifacts/contracts/pool/IPoolService.sol/IPoolService.json +711 -340
- package/artifacts/contracts/pool/Pool.sol/Pool.dbg.json +1 -1
- package/artifacts/contracts/pool/Pool.sol/Pool.json +129 -426
- package/artifacts/contracts/pool/PoolLib.sol/PoolLib.dbg.json +4 -0
- package/artifacts/contracts/pool/PoolLib.sol/PoolLib.json +522 -0
- package/artifacts/contracts/pool/PoolService.sol/PoolService.dbg.json +1 -1
- package/artifacts/contracts/pool/PoolService.sol/PoolService.json +925 -545
- package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.dbg.json +1 -1
- package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.json +246 -102
- package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.dbg.json +1 -1
- package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.json +353 -180
- package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +1 -1
- package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.json +177 -97
- package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.dbg.json +1 -1
- package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.json +266 -435
- package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.dbg.json +1 -1
- package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.json +474 -40
- package/artifacts/contracts/product/ClaimService.sol/ClaimService.dbg.json +1 -1
- package/artifacts/contracts/product/ClaimService.sol/ClaimService.json +466 -245
- package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +1 -1
- package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.json +204 -120
- package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.dbg.json +1 -1
- package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.json +301 -9
- package/artifacts/contracts/product/IClaimService.sol/IClaimService.dbg.json +1 -1
- package/artifacts/contracts/product/IClaimService.sol/IClaimService.json +350 -18
- package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.dbg.json +1 -1
- package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.json +405 -102
- package/artifacts/contracts/product/IPricingService.sol/IPricingService.dbg.json +1 -1
- package/artifacts/contracts/product/IPricingService.sol/IPricingService.json +183 -80
- package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.dbg.json +1 -1
- package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.json +257 -236
- package/artifacts/contracts/product/IRiskService.sol/IRiskService.dbg.json +4 -0
- package/artifacts/contracts/{shared/ComponentVerifyingService.sol/ComponentVerifyingService.json → product/IRiskService.sol/IRiskService.json} +283 -157
- package/artifacts/contracts/product/PolicyService.sol/PolicyService.dbg.json +1 -1
- package/artifacts/contracts/product/PolicyService.sol/PolicyService.json +511 -303
- 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 +213 -105
- package/artifacts/contracts/product/PricingService.sol/PricingService.dbg.json +1 -1
- package/artifacts/contracts/product/PricingService.sol/PricingService.json +247 -332
- package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.dbg.json +1 -1
- package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.json +177 -129
- package/artifacts/contracts/product/Product.sol/Product.dbg.json +1 -1
- package/artifacts/contracts/product/Product.sol/Product.json +258 -427
- package/artifacts/contracts/product/RiskService.sol/RiskService.dbg.json +4 -0
- package/artifacts/contracts/product/RiskService.sol/RiskService.json +873 -0
- package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.dbg.json +4 -0
- package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.json +794 -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 +359 -48
- package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
- package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +169 -37
- 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 +565 -109
- package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.dbg.json +1 -1
- package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.json +913 -404
- package/artifacts/contracts/registry/RegistryAuthorization.sol/RegistryAuthorization.dbg.json +4 -0
- package/artifacts/contracts/registry/RegistryAuthorization.sol/RegistryAuthorization.json +1137 -0
- package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
- package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +136 -290
- package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
- package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +159 -87
- package/artifacts/contracts/registry/ReleaseAdmin.sol/ReleaseAdmin.dbg.json +4 -0
- package/artifacts/contracts/registry/ReleaseAdmin.sol/ReleaseAdmin.json +2271 -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 +495 -253
- package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.dbg.json +1 -1
- package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.json +511 -20
- package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +1 -1
- package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +120 -60
- package/artifacts/contracts/shared/Component.sol/Component.dbg.json +1 -1
- package/artifacts/contracts/shared/Component.sol/Component.json +86 -287
- package/artifacts/contracts/shared/ComponentService.sol/ComponentService.dbg.json +1 -1
- package/artifacts/contracts/shared/ComponentService.sol/ComponentService.json +493 -638
- package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.dbg.json +1 -1
- package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.json +198 -128
- 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 +92 -103
- package/artifacts/contracts/shared/IComponentService.sol/IComponentService.dbg.json +1 -1
- package/artifacts/contracts/shared/IComponentService.sol/IComponentService.json +432 -290
- package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.dbg.json +1 -1
- package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.json +103 -143
- 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 +35 -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 +167 -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 +84 -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 +102 -332
- 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 +41 -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 +141 -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 +86 -111
- package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
- package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +585 -12
- 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 +4 -0
- package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.json +172 -0
- package/artifacts/contracts/staking/IStaking.sol/IStaking.dbg.json +1 -1
- package/artifacts/contracts/staking/IStaking.sol/IStaking.json +1513 -204
- package/artifacts/contracts/staking/IStakingService.sol/IStakingService.dbg.json +1 -1
- package/artifacts/contracts/staking/IStakingService.sol/IStakingService.json +235 -123
- package/artifacts/contracts/staking/ITargetLimitHandler.sol/ITargetLimitHandler.dbg.json +4 -0
- package/artifacts/contracts/staking/ITargetLimitHandler.sol/ITargetLimitHandler.json +50 -0
- package/artifacts/contracts/staking/Staking.sol/Staking.dbg.json +1 -1
- package/artifacts/contracts/staking/Staking.sol/Staking.json +1635 -465
- package/artifacts/contracts/staking/StakingLib.sol/StakingLib.dbg.json +4 -0
- package/artifacts/contracts/staking/StakingLib.sol/StakingLib.json +470 -0
- package/artifacts/contracts/staking/StakingManager.sol/StakingManager.dbg.json +1 -1
- package/artifacts/contracts/staking/StakingManager.sol/StakingManager.json +211 -105
- package/artifacts/contracts/staking/StakingReader.sol/StakingReader.dbg.json +1 -1
- package/artifacts/contracts/staking/StakingReader.sol/StakingReader.json +295 -183
- package/artifacts/contracts/staking/StakingService.sol/StakingService.dbg.json +1 -1
- package/artifacts/contracts/staking/StakingService.sol/StakingService.json +282 -281
- package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.dbg.json +1 -1
- package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.json +162 -94
- package/artifacts/contracts/staking/StakingStore.sol/StakingStore.dbg.json +1 -1
- package/artifacts/contracts/staking/StakingStore.sol/StakingStore.json +1645 -790
- package/artifacts/contracts/staking/TargetHandler.sol/TargetHandler.dbg.json +4 -0
- package/artifacts/contracts/staking/TargetHandler.sol/TargetHandler.json +309 -0
- package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.dbg.json +1 -1
- package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.json +180 -77
- 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/Blocknumber.sol/BlocknumberLib.json +64 -19
- package/artifacts/contracts/type/ChainId.sol/ChainIdLib.dbg.json +4 -0
- package/artifacts/contracts/type/ChainId.sol/ChainIdLib.json +193 -0
- 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 +93 -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 +24 -5
- 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/IVersionable.sol/IVersionable.json +10 -0
- package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.dbg.json +1 -1
- package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.json +134 -79
- 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/artifacts/contracts/upgradeability/Versionable.sol/Versionable.json +10 -0
- 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 +401 -313
- package/contracts/authorization/AccessAdminLib.sol +678 -0
- package/contracts/authorization/AccessManagerCloneable.sol +128 -4
- package/contracts/authorization/Authorization.sol +179 -207
- package/contracts/authorization/IAccess.sol +29 -11
- package/contracts/authorization/IAccessAdmin.sol +89 -83
- package/contracts/authorization/IAuthorization.sol +9 -37
- package/contracts/authorization/IServiceAuthorization.sol +57 -17
- package/contracts/authorization/ServiceAuthorization.sol +235 -25
- package/contracts/distribution/BasicDistribution.sol +21 -19
- package/contracts/distribution/BasicDistributionAuthorization.sol +30 -10
- package/contracts/distribution/Distribution.sol +46 -96
- package/contracts/distribution/DistributionService.sol +243 -132
- package/contracts/distribution/DistributionServiceManager.sol +6 -6
- package/contracts/distribution/IDistributionComponent.sol +4 -11
- package/contracts/distribution/IDistributionService.sol +47 -29
- 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 +437 -0
- package/contracts/examples/unpermissioned/SimpleProductAuthorization.sol +28 -0
- package/contracts/instance/BaseStore.sol +93 -0
- package/contracts/instance/BundleSet.sol +42 -38
- package/contracts/instance/IBaseStore.sol +37 -0
- package/contracts/instance/IInstance.sol +113 -43
- package/contracts/instance/IInstanceService.sol +61 -34
- package/contracts/instance/Instance.sol +201 -104
- package/contracts/instance/InstanceAdmin.sol +218 -177
- package/contracts/instance/InstanceAuthorizationV3.sol +154 -83
- package/contracts/instance/InstanceReader.sol +456 -255
- package/contracts/instance/InstanceService.sol +333 -262
- package/contracts/instance/InstanceServiceManager.sol +6 -7
- package/contracts/instance/InstanceStore.sol +153 -107
- package/contracts/instance/ProductStore.sol +290 -0
- package/contracts/instance/RiskSet.sol +126 -0
- package/contracts/instance/TargetNames.sol +10 -0
- package/contracts/instance/base/BalanceStore.sol +4 -6
- package/contracts/instance/base/ObjectCounter.sol +1 -2
- package/contracts/instance/base/ObjectLifecycle.sol +13 -10
- 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 -20
- package/contracts/instance/module/IDistribution.sol +21 -8
- package/contracts/instance/module/IPolicy.sol +50 -29
- package/contracts/instance/module/IRisk.sol +5 -0
- package/contracts/mock/Dip.sol +1 -1
- package/contracts/oracle/BasicOracle.sol +3 -7
- 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 +11 -25
- package/contracts/oracle/OracleService.sol +119 -87
- package/contracts/oracle/OracleServiceManager.sol +6 -6
- package/contracts/pool/BasicPool.sol +40 -43
- package/contracts/pool/BasicPoolAuthorization.sol +39 -13
- package/contracts/pool/BundleService.sol +200 -155
- package/contracts/pool/BundleServiceManager.sol +6 -6
- package/contracts/pool/IBundleService.sol +42 -46
- package/contracts/pool/IPoolComponent.sol +19 -15
- package/contracts/pool/IPoolService.sol +97 -77
- package/contracts/pool/Pool.sol +145 -142
- package/contracts/pool/PoolLib.sol +341 -0
- package/contracts/pool/PoolService.sol +413 -233
- package/contracts/pool/PoolServiceManager.sol +4 -4
- package/contracts/product/ApplicationService.sol +144 -47
- package/contracts/product/ApplicationServiceManager.sol +4 -4
- package/contracts/product/BasicProduct.sol +11 -15
- package/contracts/product/BasicProductAuthorization.sol +32 -12
- package/contracts/product/ClaimService.sol +394 -185
- package/contracts/product/ClaimServiceManager.sol +4 -4
- package/contracts/product/IApplicationService.sol +29 -3
- package/contracts/product/IClaimService.sol +48 -11
- package/contracts/product/IPolicyService.sol +61 -39
- package/contracts/product/IPricingService.sol +11 -10
- package/contracts/product/IProductComponent.sol +27 -5
- package/contracts/product/IRiskService.sol +48 -0
- package/contracts/product/PolicyService.sol +434 -288
- package/contracts/product/PolicyServiceLib.sol +139 -0
- package/contracts/product/PolicyServiceManager.sol +4 -4
- package/contracts/product/PricingService.sol +90 -84
- package/contracts/product/PricingServiceManager.sol +4 -4
- package/contracts/product/Product.sol +198 -108
- package/contracts/product/RiskService.sol +189 -0
- package/contracts/product/RiskServiceManager.sol +39 -0
- package/contracts/registry/ChainNft.sol +72 -40
- package/contracts/registry/IRegistry.sol +70 -32
- 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 +367 -207
- package/contracts/registry/RegistryAdmin.sol +99 -291
- package/contracts/registry/RegistryAuthorization.sol +337 -0
- package/contracts/registry/RegistryService.sol +38 -49
- package/contracts/registry/RegistryServiceManager.sol +3 -3
- package/contracts/registry/ReleaseAdmin.sol +199 -0
- package/contracts/registry/ReleaseLifecycle.sol +8 -3
- package/contracts/registry/ReleaseRegistry.sol +279 -239
- package/contracts/registry/ServiceAuthorizationV3.sol +205 -63
- package/contracts/registry/TokenRegistry.sol +61 -59
- package/contracts/shared/Component.sol +72 -142
- package/contracts/shared/ComponentService.sol +428 -388
- package/contracts/shared/ComponentServiceManager.sol +8 -5
- package/contracts/shared/ContractLib.sol +312 -0
- package/contracts/shared/IComponent.sol +6 -18
- package/contracts/shared/IComponentService.sol +43 -40
- package/contracts/shared/IInstanceLinkedComponent.sol +6 -32
- package/contracts/shared/ILifecycle.sol +3 -1
- package/contracts/shared/INftOwnable.sol +4 -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 +74 -54
- package/contracts/shared/Lifecycle.sol +15 -4
- package/contracts/shared/NftOwnable.sol +31 -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 +310 -26
- package/contracts/shared/TokenHandlerDeployerLib.sol +20 -0
- package/contracts/staking/IStaking.sol +270 -71
- package/contracts/staking/IStakingService.sol +45 -78
- package/contracts/staking/ITargetLimitHandler.sol +17 -0
- package/contracts/staking/Staking.sol +526 -245
- package/contracts/staking/StakingLib.sol +195 -0
- package/contracts/staking/StakingManager.sol +12 -9
- package/contracts/staking/StakingReader.sol +70 -82
- package/contracts/staking/StakingService.sol +62 -152
- package/contracts/staking/StakingServiceManager.sol +7 -5
- package/contracts/staking/StakingStore.sol +1093 -330
- package/contracts/staking/TargetHandler.sol +132 -0
- package/contracts/staking/TargetManagerLib.sol +73 -46
- package/contracts/type/Amount.sol +19 -0
- package/contracts/type/Blocknumber.sol +24 -23
- package/contracts/type/ChainId.sol +101 -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 +73 -37
- 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 +40 -1
- 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 +14 -7
- package/contracts/type/UFixed.sol +38 -126
- package/contracts/type/Version.sol +54 -5
- package/contracts/upgradeability/IVersionable.sol +3 -0
- package/contracts/upgradeability/ProxyManager.sol +94 -46
- package/contracts/upgradeability/UpgradableProxyWithAdmin.sol +12 -2
- package/contracts/upgradeability/Versionable.sol +8 -5
- 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/IProductService.sol/IProductService.json +0 -400
- 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/IKeyValueStore.sol/IKeyValueStore.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/shared/KeyValueStore.sol/KeyValueStore.dbg.json +0 -4
- package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.dbg.json +0 -4
- package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.json +0 -470
- package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.dbg.json +0 -4
- package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.json +0 -164
- 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/IProductService.sol +0 -33
- package/contracts/product/ProductService.sol +0 -99
- package/contracts/product/ProductServiceManager.sol +0 -39
- package/contracts/shared/ComponentVerifyingService.sol +0 -117
- package/contracts/shared/IKeyValueStore.sol +0 -54
- package/contracts/shared/InitializableCustom.sol +0 -177
- package/contracts/shared/KeyValueStore.sol +0 -131
- package/contracts/staking/StakeManagerLib.sol +0 -231
- package/contracts/staking/StakingLifecycle.sol +0 -23
@@ -41,31 +41,20 @@
|
|
41
41
|
"name": "AccessManagedUnauthorized",
|
42
42
|
"type": "error"
|
43
43
|
},
|
44
|
-
{
|
45
|
-
"inputs": [],
|
46
|
-
"name": "ErrorComponentNameLengthZero",
|
47
|
-
"type": "error"
|
48
|
-
},
|
49
44
|
{
|
50
45
|
"inputs": [
|
51
46
|
{
|
52
47
|
"internalType": "address",
|
53
|
-
"name": "
|
48
|
+
"name": "authority",
|
54
49
|
"type": "address"
|
55
50
|
}
|
56
51
|
],
|
57
|
-
"name": "
|
52
|
+
"name": "ErrorAuthorityInvalid",
|
58
53
|
"type": "error"
|
59
54
|
},
|
60
55
|
{
|
61
|
-
"inputs": [
|
62
|
-
|
63
|
-
"internalType": "NftId",
|
64
|
-
"name": "instanceNftId",
|
65
|
-
"type": "uint96"
|
66
|
-
}
|
67
|
-
],
|
68
|
-
"name": "ErrorComponentNotInstance",
|
56
|
+
"inputs": [],
|
57
|
+
"name": "ErrorComponentNameLengthZero",
|
69
58
|
"type": "error"
|
70
59
|
},
|
71
60
|
{
|
@@ -76,17 +65,17 @@
|
|
76
65
|
"type": "address"
|
77
66
|
}
|
78
67
|
],
|
79
|
-
"name": "
|
68
|
+
"name": "ErrorComponentNotChainNft",
|
80
69
|
"type": "error"
|
81
70
|
},
|
82
71
|
{
|
83
72
|
"inputs": [],
|
84
|
-
"name": "
|
73
|
+
"name": "ErrorComponentProductNftIdNonzero",
|
85
74
|
"type": "error"
|
86
75
|
},
|
87
76
|
{
|
88
77
|
"inputs": [],
|
89
|
-
"name": "
|
78
|
+
"name": "ErrorComponentProductNftIdZero",
|
90
79
|
"type": "error"
|
91
80
|
},
|
92
81
|
{
|
@@ -99,35 +88,41 @@
|
|
99
88
|
"name": "ErrorComponentWalletAddressZero",
|
100
89
|
"type": "error"
|
101
90
|
},
|
91
|
+
{
|
92
|
+
"inputs": [],
|
93
|
+
"name": "ErrorComponentWalletNotComponent",
|
94
|
+
"type": "error"
|
95
|
+
},
|
102
96
|
{
|
103
97
|
"inputs": [
|
104
98
|
{
|
105
|
-
"internalType": "
|
106
|
-
"name": "
|
107
|
-
"type": "
|
108
|
-
},
|
109
|
-
{
|
110
|
-
"internalType": "address",
|
111
|
-
"name": "newWallet",
|
112
|
-
"type": "address"
|
113
|
-
},
|
114
|
-
{
|
115
|
-
"internalType": "uint256",
|
116
|
-
"name": "allowance",
|
117
|
-
"type": "uint256"
|
99
|
+
"internalType": "NftId",
|
100
|
+
"name": "nftId",
|
101
|
+
"type": "uint96"
|
118
102
|
},
|
119
103
|
{
|
120
|
-
"internalType": "
|
121
|
-
"name": "
|
122
|
-
"type": "
|
104
|
+
"internalType": "ObjectType",
|
105
|
+
"name": "objectType",
|
106
|
+
"type": "uint8"
|
123
107
|
}
|
124
108
|
],
|
125
|
-
"name": "
|
109
|
+
"name": "ErrorInstanceLinkedComponentNotProduct",
|
126
110
|
"type": "error"
|
127
111
|
},
|
128
112
|
{
|
129
|
-
"inputs": [
|
130
|
-
|
113
|
+
"inputs": [
|
114
|
+
{
|
115
|
+
"internalType": "ObjectType",
|
116
|
+
"name": "requiredType",
|
117
|
+
"type": "uint8"
|
118
|
+
},
|
119
|
+
{
|
120
|
+
"internalType": "ObjectType",
|
121
|
+
"name": "objectType",
|
122
|
+
"type": "uint8"
|
123
|
+
}
|
124
|
+
],
|
125
|
+
"name": "ErrorInstanceLinkedComponentTypeMismatch",
|
131
126
|
"type": "error"
|
132
127
|
},
|
133
128
|
{
|
@@ -157,6 +152,22 @@
|
|
157
152
|
"name": "ErrorNftOwnableInitialOwnerZero",
|
158
153
|
"type": "error"
|
159
154
|
},
|
155
|
+
{
|
156
|
+
"inputs": [
|
157
|
+
{
|
158
|
+
"internalType": "NftId",
|
159
|
+
"name": "nftId",
|
160
|
+
"type": "uint96"
|
161
|
+
},
|
162
|
+
{
|
163
|
+
"internalType": "ObjectType",
|
164
|
+
"name": "expectedObjectType",
|
165
|
+
"type": "uint8"
|
166
|
+
}
|
167
|
+
],
|
168
|
+
"name": "ErrorNftOwnableInvalidType",
|
169
|
+
"type": "error"
|
170
|
+
},
|
160
171
|
{
|
161
172
|
"inputs": [
|
162
173
|
{
|
@@ -179,6 +190,11 @@
|
|
179
190
|
"name": "ErrorNotRegistry",
|
180
191
|
"type": "error"
|
181
192
|
},
|
193
|
+
{
|
194
|
+
"inputs": [],
|
195
|
+
"name": "ErrorRegisterableNotActive",
|
196
|
+
"type": "error"
|
197
|
+
},
|
182
198
|
{
|
183
199
|
"anonymous": false,
|
184
200
|
"inputs": [
|
@@ -195,6 +211,12 @@
|
|
195
211
|
{
|
196
212
|
"anonymous": false,
|
197
213
|
"inputs": [
|
214
|
+
{
|
215
|
+
"indexed": false,
|
216
|
+
"internalType": "address",
|
217
|
+
"name": "tokenHandler",
|
218
|
+
"type": "address"
|
219
|
+
},
|
198
220
|
{
|
199
221
|
"indexed": false,
|
200
222
|
"internalType": "address",
|
@@ -206,6 +228,12 @@
|
|
206
228
|
"internalType": "Amount",
|
207
229
|
"name": "limit",
|
208
230
|
"type": "uint96"
|
231
|
+
},
|
232
|
+
{
|
233
|
+
"indexed": false,
|
234
|
+
"internalType": "bool",
|
235
|
+
"name": "isMaxAmount",
|
236
|
+
"type": "bool"
|
209
237
|
}
|
210
238
|
],
|
211
239
|
"name": "LogComponentTokenHandlerApproved",
|
@@ -256,17 +284,23 @@
|
|
256
284
|
"type": "event"
|
257
285
|
},
|
258
286
|
{
|
287
|
+
"anonymous": false,
|
259
288
|
"inputs": [
|
260
289
|
{
|
261
|
-
"
|
262
|
-
"
|
290
|
+
"indexed": false,
|
291
|
+
"internalType": "NftId",
|
292
|
+
"name": "nftId",
|
263
293
|
"type": "uint96"
|
294
|
+
},
|
295
|
+
{
|
296
|
+
"indexed": false,
|
297
|
+
"internalType": "address",
|
298
|
+
"name": "owner",
|
299
|
+
"type": "address"
|
264
300
|
}
|
265
301
|
],
|
266
|
-
"name": "
|
267
|
-
"
|
268
|
-
"stateMutability": "nonpayable",
|
269
|
-
"type": "function"
|
302
|
+
"name": "LogNftOwnableNftLinkedToAddress",
|
303
|
+
"type": "event"
|
270
304
|
},
|
271
305
|
{
|
272
306
|
"inputs": [],
|
@@ -383,30 +417,10 @@
|
|
383
417
|
"name": "name",
|
384
418
|
"type": "string"
|
385
419
|
},
|
386
|
-
{
|
387
|
-
"internalType": "NftId",
|
388
|
-
"name": "productNftId",
|
389
|
-
"type": "uint96"
|
390
|
-
},
|
391
|
-
{
|
392
|
-
"internalType": "contract IERC20Metadata",
|
393
|
-
"name": "token",
|
394
|
-
"type": "address"
|
395
|
-
},
|
396
420
|
{
|
397
421
|
"internalType": "contract TokenHandler",
|
398
422
|
"name": "tokenHandler",
|
399
423
|
"type": "address"
|
400
|
-
},
|
401
|
-
{
|
402
|
-
"internalType": "address",
|
403
|
-
"name": "wallet",
|
404
|
-
"type": "address"
|
405
|
-
},
|
406
|
-
{
|
407
|
-
"internalType": "bytes",
|
408
|
-
"name": "data",
|
409
|
-
"type": "bytes"
|
410
424
|
}
|
411
425
|
],
|
412
426
|
"internalType": "struct IComponents.ComponentInfo",
|
@@ -417,19 +431,6 @@
|
|
417
431
|
"stateMutability": "view",
|
418
432
|
"type": "function"
|
419
433
|
},
|
420
|
-
{
|
421
|
-
"inputs": [],
|
422
|
-
"name": "getDistributionNftId",
|
423
|
-
"outputs": [
|
424
|
-
{
|
425
|
-
"internalType": "NftId",
|
426
|
-
"name": "distributionNftId",
|
427
|
-
"type": "uint96"
|
428
|
-
}
|
429
|
-
],
|
430
|
-
"stateMutability": "view",
|
431
|
-
"type": "function"
|
432
|
-
},
|
433
434
|
{
|
434
435
|
"inputs": [],
|
435
436
|
"name": "getInitialComponentInfo",
|
@@ -441,30 +442,10 @@
|
|
441
442
|
"name": "name",
|
442
443
|
"type": "string"
|
443
444
|
},
|
444
|
-
{
|
445
|
-
"internalType": "NftId",
|
446
|
-
"name": "productNftId",
|
447
|
-
"type": "uint96"
|
448
|
-
},
|
449
|
-
{
|
450
|
-
"internalType": "contract IERC20Metadata",
|
451
|
-
"name": "token",
|
452
|
-
"type": "address"
|
453
|
-
},
|
454
445
|
{
|
455
446
|
"internalType": "contract TokenHandler",
|
456
447
|
"name": "tokenHandler",
|
457
448
|
"type": "address"
|
458
|
-
},
|
459
|
-
{
|
460
|
-
"internalType": "address",
|
461
|
-
"name": "wallet",
|
462
|
-
"type": "address"
|
463
|
-
},
|
464
|
-
{
|
465
|
-
"internalType": "bytes",
|
466
|
-
"name": "data",
|
467
|
-
"type": "bytes"
|
468
449
|
}
|
469
450
|
],
|
470
451
|
"internalType": "struct IComponents.ComponentInfo",
|
@@ -477,81 +458,21 @@
|
|
477
458
|
},
|
478
459
|
{
|
479
460
|
"inputs": [],
|
480
|
-
"name": "
|
461
|
+
"name": "getInitialFeeInfo",
|
481
462
|
"outputs": [
|
482
463
|
{
|
483
464
|
"components": [
|
484
|
-
{
|
485
|
-
"internalType": "NftId",
|
486
|
-
"name": "nftId",
|
487
|
-
"type": "uint96"
|
488
|
-
},
|
489
|
-
{
|
490
|
-
"internalType": "NftId",
|
491
|
-
"name": "parentNftId",
|
492
|
-
"type": "uint96"
|
493
|
-
},
|
494
|
-
{
|
495
|
-
"internalType": "ObjectType",
|
496
|
-
"name": "objectType",
|
497
|
-
"type": "uint8"
|
498
|
-
},
|
499
|
-
{
|
500
|
-
"internalType": "bool",
|
501
|
-
"name": "isInterceptor",
|
502
|
-
"type": "bool"
|
503
|
-
},
|
504
|
-
{
|
505
|
-
"internalType": "address",
|
506
|
-
"name": "objectAddress",
|
507
|
-
"type": "address"
|
508
|
-
},
|
509
|
-
{
|
510
|
-
"internalType": "address",
|
511
|
-
"name": "initialOwner",
|
512
|
-
"type": "address"
|
513
|
-
},
|
514
|
-
{
|
515
|
-
"internalType": "bytes",
|
516
|
-
"name": "data",
|
517
|
-
"type": "bytes"
|
518
|
-
}
|
519
|
-
],
|
520
|
-
"internalType": "struct IRegistry.ObjectInfo",
|
521
|
-
"name": "",
|
522
|
-
"type": "tuple"
|
523
|
-
}
|
524
|
-
],
|
525
|
-
"stateMutability": "view",
|
526
|
-
"type": "function"
|
527
|
-
},
|
528
|
-
{
|
529
|
-
"inputs": [],
|
530
|
-
"name": "getInitialProductInfo",
|
531
|
-
"outputs": [
|
532
|
-
{
|
533
|
-
"components": [
|
534
|
-
{
|
535
|
-
"internalType": "NftId",
|
536
|
-
"name": "distributionNftId",
|
537
|
-
"type": "uint96"
|
538
|
-
},
|
539
|
-
{
|
540
|
-
"internalType": "NftId",
|
541
|
-
"name": "poolNftId",
|
542
|
-
"type": "uint96"
|
543
|
-
},
|
544
465
|
{
|
545
466
|
"components": [
|
546
467
|
{
|
547
468
|
"internalType": "UFixed",
|
548
469
|
"name": "fractionalFee",
|
549
|
-
"type": "
|
470
|
+
"type": "uint160"
|
550
471
|
},
|
551
472
|
{
|
552
|
-
"internalType": "
|
473
|
+
"internalType": "Amount",
|
553
474
|
"name": "fixedFee",
|
554
|
-
"type": "
|
475
|
+
"type": "uint96"
|
555
476
|
}
|
556
477
|
],
|
557
478
|
"internalType": "struct Fee",
|
@@ -563,12 +484,12 @@
|
|
563
484
|
{
|
564
485
|
"internalType": "UFixed",
|
565
486
|
"name": "fractionalFee",
|
566
|
-
"type": "
|
487
|
+
"type": "uint160"
|
567
488
|
},
|
568
489
|
{
|
569
|
-
"internalType": "
|
490
|
+
"internalType": "Amount",
|
570
491
|
"name": "fixedFee",
|
571
|
-
"type": "
|
492
|
+
"type": "uint96"
|
572
493
|
}
|
573
494
|
],
|
574
495
|
"internalType": "struct Fee",
|
@@ -580,12 +501,12 @@
|
|
580
501
|
{
|
581
502
|
"internalType": "UFixed",
|
582
503
|
"name": "fractionalFee",
|
583
|
-
"type": "
|
504
|
+
"type": "uint160"
|
584
505
|
},
|
585
506
|
{
|
586
|
-
"internalType": "
|
507
|
+
"internalType": "Amount",
|
587
508
|
"name": "fixedFee",
|
588
|
-
"type": "
|
509
|
+
"type": "uint96"
|
589
510
|
}
|
590
511
|
],
|
591
512
|
"internalType": "struct Fee",
|
@@ -597,12 +518,12 @@
|
|
597
518
|
{
|
598
519
|
"internalType": "UFixed",
|
599
520
|
"name": "fractionalFee",
|
600
|
-
"type": "
|
521
|
+
"type": "uint160"
|
601
522
|
},
|
602
523
|
{
|
603
|
-
"internalType": "
|
524
|
+
"internalType": "Amount",
|
604
525
|
"name": "fixedFee",
|
605
|
-
"type": "
|
526
|
+
"type": "uint96"
|
606
527
|
}
|
607
528
|
],
|
608
529
|
"internalType": "struct Fee",
|
@@ -614,12 +535,12 @@
|
|
614
535
|
{
|
615
536
|
"internalType": "UFixed",
|
616
537
|
"name": "fractionalFee",
|
617
|
-
"type": "
|
538
|
+
"type": "uint160"
|
618
539
|
},
|
619
540
|
{
|
620
|
-
"internalType": "
|
541
|
+
"internalType": "Amount",
|
621
542
|
"name": "fixedFee",
|
622
|
-
"type": "
|
543
|
+
"type": "uint96"
|
623
544
|
}
|
624
545
|
],
|
625
546
|
"internalType": "struct Fee",
|
@@ -631,12 +552,12 @@
|
|
631
552
|
{
|
632
553
|
"internalType": "UFixed",
|
633
554
|
"name": "fractionalFee",
|
634
|
-
"type": "
|
555
|
+
"type": "uint160"
|
635
556
|
},
|
636
557
|
{
|
637
|
-
"internalType": "
|
558
|
+
"internalType": "Amount",
|
638
559
|
"name": "fixedFee",
|
639
|
-
"type": "
|
560
|
+
"type": "uint96"
|
640
561
|
}
|
641
562
|
],
|
642
563
|
"internalType": "struct Fee",
|
@@ -648,12 +569,12 @@
|
|
648
569
|
{
|
649
570
|
"internalType": "UFixed",
|
650
571
|
"name": "fractionalFee",
|
651
|
-
"type": "
|
572
|
+
"type": "uint160"
|
652
573
|
},
|
653
574
|
{
|
654
|
-
"internalType": "
|
575
|
+
"internalType": "Amount",
|
655
576
|
"name": "fixedFee",
|
656
|
-
"type": "
|
577
|
+
"type": "uint96"
|
657
578
|
}
|
658
579
|
],
|
659
580
|
"internalType": "struct Fee",
|
@@ -661,6 +582,111 @@
|
|
661
582
|
"type": "tuple"
|
662
583
|
}
|
663
584
|
],
|
585
|
+
"internalType": "struct IComponents.FeeInfo",
|
586
|
+
"name": "info",
|
587
|
+
"type": "tuple"
|
588
|
+
}
|
589
|
+
],
|
590
|
+
"stateMutability": "view",
|
591
|
+
"type": "function"
|
592
|
+
},
|
593
|
+
{
|
594
|
+
"inputs": [],
|
595
|
+
"name": "getInitialInfo",
|
596
|
+
"outputs": [
|
597
|
+
{
|
598
|
+
"components": [
|
599
|
+
{
|
600
|
+
"internalType": "NftId",
|
601
|
+
"name": "nftId",
|
602
|
+
"type": "uint96"
|
603
|
+
},
|
604
|
+
{
|
605
|
+
"internalType": "NftId",
|
606
|
+
"name": "parentNftId",
|
607
|
+
"type": "uint96"
|
608
|
+
},
|
609
|
+
{
|
610
|
+
"internalType": "ObjectType",
|
611
|
+
"name": "objectType",
|
612
|
+
"type": "uint8"
|
613
|
+
},
|
614
|
+
{
|
615
|
+
"internalType": "bool",
|
616
|
+
"name": "isInterceptor",
|
617
|
+
"type": "bool"
|
618
|
+
},
|
619
|
+
{
|
620
|
+
"internalType": "address",
|
621
|
+
"name": "objectAddress",
|
622
|
+
"type": "address"
|
623
|
+
},
|
624
|
+
{
|
625
|
+
"internalType": "address",
|
626
|
+
"name": "initialOwner",
|
627
|
+
"type": "address"
|
628
|
+
},
|
629
|
+
{
|
630
|
+
"internalType": "bytes",
|
631
|
+
"name": "data",
|
632
|
+
"type": "bytes"
|
633
|
+
}
|
634
|
+
],
|
635
|
+
"internalType": "struct IRegistry.ObjectInfo",
|
636
|
+
"name": "",
|
637
|
+
"type": "tuple"
|
638
|
+
}
|
639
|
+
],
|
640
|
+
"stateMutability": "view",
|
641
|
+
"type": "function"
|
642
|
+
},
|
643
|
+
{
|
644
|
+
"inputs": [],
|
645
|
+
"name": "getInitialProductInfo",
|
646
|
+
"outputs": [
|
647
|
+
{
|
648
|
+
"components": [
|
649
|
+
{
|
650
|
+
"internalType": "bool",
|
651
|
+
"name": "isProcessingFundedClaims",
|
652
|
+
"type": "bool"
|
653
|
+
},
|
654
|
+
{
|
655
|
+
"internalType": "bool",
|
656
|
+
"name": "isInterceptingPolicyTransfers",
|
657
|
+
"type": "bool"
|
658
|
+
},
|
659
|
+
{
|
660
|
+
"internalType": "bool",
|
661
|
+
"name": "hasDistribution",
|
662
|
+
"type": "bool"
|
663
|
+
},
|
664
|
+
{
|
665
|
+
"internalType": "uint8",
|
666
|
+
"name": "expectedNumberOfOracles",
|
667
|
+
"type": "uint8"
|
668
|
+
},
|
669
|
+
{
|
670
|
+
"internalType": "uint8",
|
671
|
+
"name": "numberOfOracles",
|
672
|
+
"type": "uint8"
|
673
|
+
},
|
674
|
+
{
|
675
|
+
"internalType": "NftId",
|
676
|
+
"name": "poolNftId",
|
677
|
+
"type": "uint96"
|
678
|
+
},
|
679
|
+
{
|
680
|
+
"internalType": "NftId",
|
681
|
+
"name": "distributionNftId",
|
682
|
+
"type": "uint96"
|
683
|
+
},
|
684
|
+
{
|
685
|
+
"internalType": "NftId[]",
|
686
|
+
"name": "oracleNftId",
|
687
|
+
"type": "uint96[]"
|
688
|
+
}
|
689
|
+
],
|
664
690
|
"internalType": "struct IComponents.ProductInfo",
|
665
691
|
"name": "info",
|
666
692
|
"type": "tuple"
|
@@ -723,12 +749,12 @@
|
|
723
749
|
},
|
724
750
|
{
|
725
751
|
"inputs": [],
|
726
|
-
"name": "
|
752
|
+
"name": "getRegistry",
|
727
753
|
"outputs": [
|
728
754
|
{
|
729
|
-
"internalType": "
|
730
|
-
"name": "
|
731
|
-
"type": "
|
755
|
+
"internalType": "contract IRegistry",
|
756
|
+
"name": "",
|
757
|
+
"type": "address"
|
732
758
|
}
|
733
759
|
],
|
734
760
|
"stateMutability": "view",
|
@@ -736,25 +762,12 @@
|
|
736
762
|
},
|
737
763
|
{
|
738
764
|
"inputs": [],
|
739
|
-
"name": "
|
765
|
+
"name": "getRelease",
|
740
766
|
"outputs": [
|
741
767
|
{
|
742
|
-
"internalType": "
|
743
|
-
"name": "
|
744
|
-
"type": "
|
745
|
-
}
|
746
|
-
],
|
747
|
-
"stateMutability": "view",
|
748
|
-
"type": "function"
|
749
|
-
},
|
750
|
-
{
|
751
|
-
"inputs": [],
|
752
|
-
"name": "getRegistry",
|
753
|
-
"outputs": [
|
754
|
-
{
|
755
|
-
"internalType": "contract IRegistry",
|
756
|
-
"name": "",
|
757
|
-
"type": "address"
|
768
|
+
"internalType": "VersionPart",
|
769
|
+
"name": "release",
|
770
|
+
"type": "uint8"
|
758
771
|
}
|
759
772
|
],
|
760
773
|
"stateMutability": "view",
|
@@ -799,6 +812,19 @@
|
|
799
812
|
"stateMutability": "view",
|
800
813
|
"type": "function"
|
801
814
|
},
|
815
|
+
{
|
816
|
+
"inputs": [],
|
817
|
+
"name": "isActive",
|
818
|
+
"outputs": [
|
819
|
+
{
|
820
|
+
"internalType": "bool",
|
821
|
+
"name": "active",
|
822
|
+
"type": "bool"
|
823
|
+
}
|
824
|
+
],
|
825
|
+
"stateMutability": "view",
|
826
|
+
"type": "function"
|
827
|
+
},
|
802
828
|
{
|
803
829
|
"inputs": [],
|
804
830
|
"name": "isConsumingScheduledOp",
|
@@ -851,15 +877,13 @@
|
|
851
877
|
"stateMutability": "nonpayable",
|
852
878
|
"type": "function"
|
853
879
|
},
|
854
|
-
{
|
855
|
-
"inputs": [],
|
856
|
-
"name": "lock",
|
857
|
-
"outputs": [],
|
858
|
-
"stateMutability": "nonpayable",
|
859
|
-
"type": "function"
|
860
|
-
},
|
861
880
|
{
|
862
881
|
"inputs": [
|
882
|
+
{
|
883
|
+
"internalType": "address",
|
884
|
+
"name": "from",
|
885
|
+
"type": "address"
|
886
|
+
},
|
863
887
|
{
|
864
888
|
"internalType": "address",
|
865
889
|
"name": "to",
|
@@ -869,9 +893,14 @@
|
|
869
893
|
"internalType": "uint256",
|
870
894
|
"name": "tokenId",
|
871
895
|
"type": "uint256"
|
896
|
+
},
|
897
|
+
{
|
898
|
+
"internalType": "address",
|
899
|
+
"name": "operator",
|
900
|
+
"type": "address"
|
872
901
|
}
|
873
902
|
],
|
874
|
-
"name": "
|
903
|
+
"name": "nftTransferFrom",
|
875
904
|
"outputs": [],
|
876
905
|
"stateMutability": "nonpayable",
|
877
906
|
"type": "function"
|
@@ -879,29 +908,22 @@
|
|
879
908
|
{
|
880
909
|
"inputs": [
|
881
910
|
{
|
882
|
-
"internalType": "
|
883
|
-
"name": "
|
884
|
-
"type": "
|
911
|
+
"internalType": "NftId",
|
912
|
+
"name": "policyNftId",
|
913
|
+
"type": "uint96"
|
885
914
|
},
|
886
915
|
{
|
887
|
-
"internalType": "
|
888
|
-
"name": "
|
889
|
-
"type": "
|
916
|
+
"internalType": "ClaimId",
|
917
|
+
"name": "claimId",
|
918
|
+
"type": "uint16"
|
890
919
|
},
|
891
920
|
{
|
892
|
-
"internalType": "
|
893
|
-
"name": "
|
894
|
-
"type": "
|
921
|
+
"internalType": "Amount",
|
922
|
+
"name": "availableAmount",
|
923
|
+
"type": "uint96"
|
895
924
|
}
|
896
925
|
],
|
897
|
-
"name": "
|
898
|
-
"outputs": [],
|
899
|
-
"stateMutability": "nonpayable",
|
900
|
-
"type": "function"
|
901
|
-
},
|
902
|
-
{
|
903
|
-
"inputs": [],
|
904
|
-
"name": "register",
|
926
|
+
"name": "processFundedClaim",
|
905
927
|
"outputs": [],
|
906
928
|
"stateMutability": "nonpayable",
|
907
929
|
"type": "function"
|
@@ -910,12 +932,18 @@
|
|
910
932
|
"inputs": [
|
911
933
|
{
|
912
934
|
"internalType": "address",
|
913
|
-
"name": "",
|
935
|
+
"name": "component",
|
914
936
|
"type": "address"
|
915
937
|
}
|
916
938
|
],
|
917
|
-
"name": "
|
918
|
-
"outputs": [
|
939
|
+
"name": "registerComponent",
|
940
|
+
"outputs": [
|
941
|
+
{
|
942
|
+
"internalType": "NftId",
|
943
|
+
"name": "componentNftId",
|
944
|
+
"type": "uint96"
|
945
|
+
}
|
946
|
+
],
|
919
947
|
"stateMutability": "nonpayable",
|
920
948
|
"type": "function"
|
921
949
|
},
|
@@ -923,11 +951,11 @@
|
|
923
951
|
"inputs": [
|
924
952
|
{
|
925
953
|
"internalType": "address",
|
926
|
-
"name": "
|
954
|
+
"name": "",
|
927
955
|
"type": "address"
|
928
956
|
}
|
929
957
|
],
|
930
|
-
"name": "
|
958
|
+
"name": "setAuthority",
|
931
959
|
"outputs": [],
|
932
960
|
"stateMutability": "nonpayable",
|
933
961
|
"type": "function"
|
@@ -951,13 +979,6 @@
|
|
951
979
|
"stateMutability": "view",
|
952
980
|
"type": "function"
|
953
981
|
},
|
954
|
-
{
|
955
|
-
"inputs": [],
|
956
|
-
"name": "unlock",
|
957
|
-
"outputs": [],
|
958
|
-
"stateMutability": "nonpayable",
|
959
|
-
"type": "function"
|
960
|
-
},
|
961
982
|
{
|
962
983
|
"inputs": [
|
963
984
|
{
|