@etherisc/gif-next 0.0.2-d39f345-355 → 0.0.2-d3a9310-013
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +133 -10
- 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 +790 -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 +4 -0
- package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.json +1664 -0
- 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 +4 -0
- package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.json +1403 -0
- package/artifacts/contracts/authorization/Authorization.sol/Authorization.dbg.json +4 -0
- package/artifacts/contracts/authorization/Authorization.sol/Authorization.json +790 -0
- package/artifacts/contracts/authorization/IAccess.sol/IAccess.dbg.json +4 -0
- package/artifacts/contracts/{instance/module/ISetup.sol/ISetup.json → authorization/IAccess.sol/IAccess.json} +2 -2
- package/artifacts/contracts/authorization/IAccessAdmin.sol/IAccessAdmin.dbg.json +4 -0
- package/artifacts/contracts/authorization/IAccessAdmin.sol/IAccessAdmin.json +1372 -0
- package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.dbg.json +4 -0
- package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.json +455 -0
- package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.dbg.json +4 -0
- package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.json +397 -0
- package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.dbg.json +4 -0
- package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.json +646 -0
- package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.dbg.json +4 -0
- package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.json +1244 -0
- package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.dbg.json +4 -0
- package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.json +805 -0
- package/artifacts/contracts/distribution/Distribution.sol/Distribution.dbg.json +4 -0
- package/artifacts/contracts/{components/IDistributionComponent.sol/IDistributionComponent.json → distribution/Distribution.sol/Distribution.json} +304 -324
- package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.dbg.json +4 -0
- package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.json +1809 -0
- package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +4 -0
- package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.json +930 -0
- package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.dbg.json +4 -0
- package/artifacts/contracts/{components/IProductComponent.sol/IProductComponent.json → distribution/IDistributionComponent.sol/IDistributionComponent.json} +293 -275
- package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.dbg.json +4 -0
- package/artifacts/contracts/{instance/service → distribution}/IDistributionService.sol/IDistributionService.json +534 -340
- 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 +1472 -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 +2045 -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 +1423 -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 +1171 -0
- package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.dbg.json +4 -0
- package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.json +1639 -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 +2551 -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 +4 -0
- package/artifacts/contracts/instance/BundleSet.sol/BundleSet.json +851 -0
- package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
- package/artifacts/contracts/instance/IInstance.sol/IInstance.json +569 -2034
- package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
- package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +517 -74
- package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
- package/artifacts/contracts/instance/Instance.sol/Instance.json +611 -2581
- package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.dbg.json +4 -0
- package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.json +2349 -0
- package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.dbg.json +4 -0
- package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.json +902 -0
- package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +1941 -698
- package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +529 -347
- package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +201 -170
- package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.dbg.json +4 -0
- package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.json +3784 -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 +4 -0
- package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.json +318 -0
- package/artifacts/contracts/instance/base/Cloneable.sol/Cloneable.dbg.json +4 -0
- package/artifacts/contracts/instance/{Cloneable.sol → base/Cloneable.sol}/Cloneable.json +1 -54
- package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.dbg.json +4 -0
- package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.json +10 -0
- package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.dbg.json +4 -0
- package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.json +223 -0
- package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.dbg.json +4 -0
- package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.json +192 -0
- 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 +4 -0
- package/artifacts/contracts/mock/Dip.sol/Dip.json +376 -0
- package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.dbg.json +4 -0
- package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.json +957 -0
- package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.dbg.json +4 -0
- package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.json +810 -0
- package/artifacts/contracts/oracle/IOracle.sol/IOracle.dbg.json +4 -0
- package/artifacts/contracts/oracle/IOracle.sol/IOracle.json +52 -0
- package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.dbg.json +4 -0
- package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.json +772 -0
- package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.dbg.json +4 -0
- package/artifacts/contracts/{instance/service/IClaimService.sol/IClaimService.json → oracle/IOracleService.sol/IOracleService.json} +339 -179
- package/artifacts/contracts/oracle/Oracle.sol/Oracle.dbg.json +4 -0
- package/artifacts/contracts/{components/Component.sol/Component.json → oracle/Oracle.sol/Oracle.json} +272 -241
- package/artifacts/contracts/oracle/OracleService.sol/OracleService.dbg.json +4 -0
- package/artifacts/contracts/oracle/OracleService.sol/OracleService.json +1042 -0
- package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.dbg.json +4 -0
- package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.json +810 -0
- package/artifacts/contracts/pool/BasicPool.sol/BasicPool.dbg.json +4 -0
- package/artifacts/contracts/{components/Pool.sol/Pool.json → pool/BasicPool.sol/BasicPool.json} +339 -473
- package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.dbg.json +4 -0
- package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.json +805 -0
- package/artifacts/contracts/pool/BundleService.sol/BundleService.dbg.json +4 -0
- package/artifacts/contracts/pool/BundleService.sol/BundleService.json +1438 -0
- package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.dbg.json +4 -0
- package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.json +866 -0
- package/artifacts/contracts/pool/IBundleService.sol/IBundleService.dbg.json +4 -0
- package/artifacts/contracts/{instance/service/IPoolService.sol/IPoolService.json → pool/IBundleService.sol/IBundleService.json} +530 -457
- package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.dbg.json +4 -0
- package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.json +905 -0
- package/artifacts/contracts/pool/IPoolService.sol/IPoolService.dbg.json +4 -0
- package/artifacts/contracts/pool/IPoolService.sol/IPoolService.json +1449 -0
- package/artifacts/contracts/pool/Pool.sol/Pool.dbg.json +4 -0
- package/artifacts/contracts/{components/IPoolComponent.sol/IPoolComponent.json → pool/Pool.sol/Pool.json} +384 -423
- 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 +4 -0
- package/artifacts/contracts/pool/PoolService.sol/PoolService.json +1833 -0
- package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.dbg.json +4 -0
- package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.json +866 -0
- package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.dbg.json +4 -0
- package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.json +1036 -0
- package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +4 -0
- package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.json +790 -0
- package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.dbg.json +4 -0
- package/artifacts/contracts/{components/Product.sol/Product.json → product/BasicProduct.sol/BasicProduct.json} +475 -483
- package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.dbg.json +4 -0
- package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.json +805 -0
- package/artifacts/contracts/product/ClaimService.sol/ClaimService.dbg.json +4 -0
- package/artifacts/contracts/product/ClaimService.sol/ClaimService.json +1536 -0
- package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +4 -0
- package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.json +886 -0
- package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.dbg.json +4 -0
- package/artifacts/contracts/{instance/service/IBundleService.sol/IBundleService.json → product/IApplicationService.sol/IApplicationService.json} +311 -216
- package/artifacts/contracts/product/IClaimService.sol/IClaimService.dbg.json +4 -0
- package/artifacts/contracts/product/IClaimService.sol/IClaimService.json +1104 -0
- package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.dbg.json +4 -0
- package/artifacts/contracts/{instance/service → product}/IPolicyService.sol/IPolicyService.json +331 -264
- package/artifacts/contracts/product/IPricingService.sol/IPricingService.dbg.json +4 -0
- package/artifacts/contracts/{instance/service/IApplicationService.sol/IApplicationService.json → product/IPricingService.sol/IPricingService.json} +202 -177
- package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.dbg.json +4 -0
- package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.json +1016 -0
- package/artifacts/contracts/product/IRiskService.sol/IRiskService.dbg.json +4 -0
- package/artifacts/contracts/{instance/base/ComponentService.sol/ComponentService.json → product/IRiskService.sol/IRiskService.json} +261 -203
- package/artifacts/contracts/product/PolicyService.sol/PolicyService.dbg.json +4 -0
- package/artifacts/contracts/product/PolicyService.sol/PolicyService.json +1404 -0
- 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 +4 -0
- package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.json +854 -0
- package/artifacts/contracts/product/PricingService.sol/PricingService.dbg.json +4 -0
- package/artifacts/contracts/product/PricingService.sol/PricingService.json +932 -0
- package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.dbg.json +4 -0
- package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.json +814 -0
- package/artifacts/contracts/product/Product.sol/Product.dbg.json +4 -0
- package/artifacts/contracts/product/Product.sol/Product.json +1117 -0
- 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 +774 -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 +496 -31
- package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
- package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +315 -109
- 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 +984 -128
- package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.dbg.json +4 -0
- package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.json +2147 -0
- 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 +390 -250
- package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
- package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +212 -109
- 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 +4 -0
- package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.json +205 -0
- package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.dbg.json +4 -0
- package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.json +1389 -0
- package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.dbg.json +4 -0
- package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.json +683 -0
- package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +1 -1
- package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +317 -154
- package/artifacts/contracts/shared/Component.sol/Component.dbg.json +4 -0
- package/artifacts/contracts/shared/Component.sol/Component.json +705 -0
- package/artifacts/contracts/shared/ComponentService.sol/ComponentService.dbg.json +4 -0
- package/artifacts/contracts/shared/ComponentService.sol/ComponentService.json +1535 -0
- package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.dbg.json +4 -0
- package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.json +854 -0
- 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 +4 -0
- package/artifacts/contracts/{components → shared}/IComponent.sol/IComponent.json +156 -131
- package/artifacts/contracts/shared/IComponentService.sol/IComponentService.dbg.json +4 -0
- package/artifacts/contracts/{components/Distribution.sol/Distribution.json → shared/IComponentService.sol/IComponentService.json} +573 -743
- package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.dbg.json +4 -0
- package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.json +707 -0
- package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.dbg.json +4 -0
- package/artifacts/contracts/{instance/base → shared}/IKeyValueStore.sol/IKeyValueStore.json +95 -14
- package/artifacts/contracts/shared/ILifecycle.sol/ILifecycle.dbg.json +4 -0
- package/artifacts/contracts/{instance/base → shared}/ILifecycle.sol/ILifecycle.json +35 -4
- package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
- package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +38 -10
- package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +1 -1
- package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.json +59 -13
- package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
- package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +163 -3
- package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +1 -1
- package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.json +0 -13
- package/artifacts/contracts/shared/IService.sol/IService.dbg.json +1 -1
- package/artifacts/contracts/shared/IService.sol/IService.json +98 -5
- package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.dbg.json +4 -0
- package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.json +53 -0
- package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.dbg.json +4 -0
- package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.json +795 -0
- package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.dbg.json +4 -0
- package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.json +538 -0
- package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.dbg.json +4 -0
- package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.json +174 -0
- package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.dbg.json +4 -0
- package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.json +306 -0
- package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
- package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +47 -70
- package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +1 -1
- package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +35 -85
- package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
- package/artifacts/contracts/shared/Registerable.sol/Registerable.json +145 -100
- package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +1 -1
- package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +2 -28
- package/artifacts/contracts/shared/Service.sol/Service.dbg.json +1 -1
- package/artifacts/contracts/shared/Service.sol/Service.json +95 -109
- package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
- package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +635 -8
- 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 +4 -0
- package/artifacts/contracts/staking/IStaking.sol/IStaking.json +1646 -0
- package/artifacts/contracts/staking/IStakingService.sol/IStakingService.dbg.json +4 -0
- package/artifacts/contracts/staking/IStakingService.sol/IStakingService.json +1196 -0
- package/artifacts/contracts/staking/Staking.sol/Staking.dbg.json +4 -0
- package/artifacts/contracts/staking/Staking.sol/Staking.json +2054 -0
- 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 +4 -0
- package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.json +205 -0
- package/artifacts/contracts/staking/StakingManager.sol/StakingManager.dbg.json +4 -0
- package/artifacts/contracts/staking/StakingManager.sol/StakingManager.json +842 -0
- package/artifacts/contracts/staking/StakingReader.sol/StakingReader.dbg.json +4 -0
- package/artifacts/contracts/staking/StakingReader.sol/StakingReader.json +616 -0
- package/artifacts/contracts/staking/StakingService.sol/StakingService.dbg.json +4 -0
- package/artifacts/contracts/staking/StakingService.sol/StakingService.json +1425 -0
- package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.dbg.json +4 -0
- package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.json +782 -0
- package/artifacts/contracts/staking/StakingStore.sol/StakingStore.dbg.json +4 -0
- package/artifacts/contracts/staking/StakingStore.sol/StakingStore.json +2297 -0
- package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.dbg.json +4 -0
- package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.json +617 -0
- package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.dbg.json +4 -0
- package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.json +10 -0
- package/artifacts/contracts/type/Amount.sol/AmountLib.dbg.json +4 -0
- package/artifacts/contracts/type/Amount.sol/AmountLib.json +398 -0
- package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.dbg.json +4 -0
- package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.json +225 -0
- package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.dbg.json +4 -0
- package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.json +203 -0
- package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.dbg.json +4 -0
- package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.json +104 -0
- package/artifacts/contracts/type/Fee.sol/FeeLib.dbg.json +4 -0
- package/artifacts/contracts/type/Fee.sol/FeeLib.json +373 -0
- package/artifacts/contracts/type/Key32.sol/Key32Lib.dbg.json +4 -0
- package/artifacts/contracts/type/Key32.sol/Key32Lib.json +125 -0
- package/artifacts/contracts/type/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 +4 -0
- package/artifacts/contracts/type/NftId.sol/NftIdLib.json +228 -0
- package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.dbg.json +4 -0
- package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.json +33 -0
- package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.dbg.json +4 -0
- package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.json +241 -0
- package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.dbg.json +4 -0
- package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.json +209 -0
- package/artifacts/contracts/type/Referral.sol/ReferralLib.dbg.json +4 -0
- package/artifacts/contracts/type/Referral.sol/ReferralLib.json +142 -0
- package/artifacts/contracts/type/RequestId.sol/RequestIdLib.dbg.json +4 -0
- package/artifacts/contracts/type/RequestId.sol/RequestIdLib.json +204 -0
- package/artifacts/contracts/type/RiskId.sol/RiskIdLib.dbg.json +4 -0
- package/artifacts/contracts/type/RiskId.sol/RiskIdLib.json +204 -0
- package/artifacts/contracts/type/RoleId.sol/RoleIdLib.dbg.json +4 -0
- package/artifacts/contracts/type/RoleId.sol/RoleIdLib.json +254 -0
- package/artifacts/contracts/type/Seconds.sol/SecondsLib.dbg.json +4 -0
- package/artifacts/contracts/type/Seconds.sol/SecondsLib.json +265 -0
- package/artifacts/contracts/type/Selector.sol/SelectorLib.dbg.json +4 -0
- package/artifacts/contracts/type/Selector.sol/SelectorLib.json +148 -0
- package/artifacts/contracts/type/Selector.sol/SelectorSetLib.dbg.json +4 -0
- package/artifacts/contracts/type/Selector.sol/SelectorSetLib.json +10 -0
- package/artifacts/contracts/type/StateId.sol/StateIdLib.dbg.json +4 -0
- package/artifacts/contracts/type/StateId.sol/StateIdLib.json +105 -0
- package/artifacts/contracts/type/String.sol/StrLib.dbg.json +4 -0
- package/artifacts/contracts/type/String.sol/StrLib.json +180 -0
- package/artifacts/contracts/type/Timestamp.sol/TimestampLib.dbg.json +4 -0
- package/artifacts/contracts/{types → type}/Timestamp.sol/TimestampLib.json +39 -7
- package/artifacts/contracts/type/UFixed.sol/UFixedLib.dbg.json +4 -0
- package/artifacts/contracts/type/UFixed.sol/UFixedLib.json +572 -0
- package/artifacts/contracts/type/Version.sol/VersionLib.dbg.json +4 -0
- package/artifacts/contracts/type/Version.sol/VersionLib.json +158 -0
- package/artifacts/contracts/type/Version.sol/VersionPartLib.dbg.json +4 -0
- package/artifacts/contracts/type/Version.sol/VersionPartLib.json +167 -0
- package/artifacts/contracts/upgradeability/IVersionable.sol/IVersionable.dbg.json +4 -0
- package/artifacts/contracts/{shared → upgradeability}/IVersionable.sol/IVersionable.json +11 -1
- package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.dbg.json +4 -0
- package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.json +656 -0
- package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +4 -0
- package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +142 -0
- package/artifacts/contracts/upgradeability/Versionable.sol/Versionable.dbg.json +4 -0
- package/artifacts/contracts/{shared → upgradeability}/Versionable.sol/Versionable.json +11 -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 +780 -0
- package/contracts/authorization/AccessAdminLib.sol +396 -0
- package/contracts/authorization/AccessManagerCloneable.sol +158 -0
- package/contracts/authorization/Authorization.sol +169 -0
- package/contracts/authorization/IAccess.sol +67 -0
- package/contracts/authorization/IAccessAdmin.sol +144 -0
- package/contracts/authorization/IAuthorization.sol +27 -0
- package/contracts/authorization/IServiceAuthorization.sol +78 -0
- package/contracts/authorization/ServiceAuthorization.sol +320 -0
- package/contracts/distribution/BasicDistribution.sol +141 -0
- package/contracts/distribution/BasicDistributionAuthorization.sol +67 -0
- package/contracts/distribution/Distribution.sol +247 -0
- package/contracts/distribution/DistributionService.sol +448 -0
- package/contracts/distribution/DistributionServiceManager.sol +39 -0
- package/contracts/distribution/IDistributionComponent.sol +45 -0
- package/contracts/distribution/IDistributionService.sol +115 -0
- 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 +422 -0
- package/contracts/examples/unpermissioned/SimpleProductAuthorization.sol +28 -0
- package/contracts/instance/BundleSet.sol +130 -0
- package/contracts/instance/IInstance.sol +117 -74
- package/contracts/instance/IInstanceService.sol +83 -35
- package/contracts/instance/Instance.sol +245 -209
- package/contracts/instance/InstanceAdmin.sol +383 -0
- package/contracts/instance/InstanceAuthorizationV3.sol +266 -0
- package/contracts/instance/InstanceReader.sol +520 -205
- package/contracts/instance/InstanceService.sol +386 -365
- package/contracts/instance/InstanceServiceManager.sol +14 -29
- package/contracts/instance/InstanceStore.sol +298 -0
- package/contracts/instance/RiskSet.sol +126 -0
- package/contracts/instance/base/BalanceStore.sol +121 -0
- package/contracts/instance/base/Cloneable.sol +28 -0
- package/contracts/instance/base/ObjectCounter.sol +20 -0
- package/contracts/instance/base/ObjectLifecycle.sol +109 -0
- package/contracts/instance/base/ObjectSet.sol +77 -0
- package/contracts/instance/base/ObjectSetHelperLib.sol +30 -0
- package/contracts/instance/module/IBundle.sol +9 -11
- package/contracts/instance/module/IComponents.sol +44 -23
- package/contracts/instance/module/IDistribution.sol +25 -12
- package/contracts/instance/module/IPolicy.sol +67 -39
- package/contracts/instance/module/IRisk.sol +6 -1
- package/contracts/{test/Usdc.sol → mock/Dip.sol} +6 -6
- package/contracts/oracle/BasicOracle.sol +45 -0
- package/contracts/oracle/BasicOracleAuthorization.sol +53 -0
- package/contracts/oracle/IOracle.sol +41 -0
- package/contracts/oracle/IOracleComponent.sol +33 -0
- package/contracts/oracle/IOracleService.sol +66 -0
- package/contracts/oracle/Oracle.sol +154 -0
- package/contracts/oracle/OracleService.sol +310 -0
- package/contracts/oracle/OracleServiceManager.sol +39 -0
- package/contracts/pool/BasicPool.sol +162 -0
- package/contracts/pool/BasicPoolAuthorization.sol +81 -0
- package/contracts/pool/BundleService.sol +386 -0
- package/contracts/pool/BundleServiceManager.sol +39 -0
- package/contracts/pool/IBundleService.sol +116 -0
- package/contracts/pool/IPoolComponent.sol +62 -0
- package/contracts/pool/IPoolService.sol +170 -0
- package/contracts/pool/Pool.sol +333 -0
- package/contracts/pool/PoolLib.sol +341 -0
- package/contracts/pool/PoolService.sol +614 -0
- package/contracts/pool/PoolServiceManager.sol +39 -0
- package/contracts/product/ApplicationService.sol +327 -0
- package/contracts/{instance/service → product}/ApplicationServiceManager.sol +12 -9
- package/contracts/product/BasicProduct.sol +49 -0
- package/contracts/product/BasicProductAuthorization.sol +63 -0
- package/contracts/product/ClaimService.sol +632 -0
- package/contracts/{instance/service → product}/ClaimServiceManager.sol +12 -9
- package/contracts/{instance/service → product}/IApplicationService.sol +41 -31
- package/contracts/product/IClaimService.sol +136 -0
- package/contracts/product/IPolicyService.sol +102 -0
- package/contracts/product/IPricingService.sol +40 -0
- package/contracts/product/IProductComponent.sol +62 -0
- package/contracts/product/IRiskService.sol +48 -0
- package/contracts/product/PolicyService.sol +645 -0
- package/contracts/product/PolicyServiceLib.sol +139 -0
- package/contracts/product/PolicyServiceManager.sol +39 -0
- package/contracts/product/PricingService.sol +306 -0
- package/contracts/product/PricingServiceManager.sol +39 -0
- package/contracts/product/Product.sol +493 -0
- package/contracts/product/RiskService.sol +190 -0
- package/contracts/product/RiskServiceManager.sol +39 -0
- package/contracts/registry/ChainNft.sol +79 -40
- package/contracts/registry/IRegistry.sol +104 -30
- package/contracts/registry/IRegistryService.sol +34 -40
- package/contracts/registry/IRelease.sol +29 -0
- package/contracts/registry/ITransferInterceptor.sol +1 -2
- package/contracts/registry/Registry.sol +466 -197
- package/contracts/registry/RegistryAdmin.sol +188 -0
- package/contracts/registry/RegistryAuthorization.sol +284 -0
- package/contracts/registry/RegistryService.sol +90 -131
- package/contracts/registry/RegistryServiceManager.sol +23 -32
- package/contracts/registry/ReleaseAdmin.sol +195 -0
- package/contracts/registry/ReleaseLifecycle.sol +32 -0
- package/contracts/registry/ReleaseRegistry.sol +520 -0
- package/contracts/registry/ServiceAuthorizationV3.sol +345 -0
- package/contracts/registry/TokenRegistry.sol +263 -65
- package/contracts/shared/Component.sol +210 -0
- package/contracts/shared/ComponentService.sol +679 -0
- package/contracts/shared/ComponentServiceManager.sol +38 -0
- package/contracts/shared/ContractLib.sol +311 -0
- package/contracts/shared/IComponent.sol +58 -0
- package/contracts/shared/IComponentService.sol +111 -0
- package/contracts/shared/IInstanceLinkedComponent.sol +30 -0
- package/contracts/{instance/base → shared}/IKeyValueStore.sol +16 -11
- package/contracts/{instance/base → shared}/ILifecycle.sol +5 -4
- package/contracts/shared/INftOwnable.sol +6 -2
- package/contracts/shared/IPolicyHolder.sol +23 -14
- package/contracts/shared/IRegisterable.sol +22 -1
- package/contracts/shared/IRegistryLinked.sol +0 -1
- package/contracts/shared/IService.sol +12 -5
- package/contracts/shared/{ERC165.sol → InitializableERC165.sol} +12 -4
- package/contracts/shared/InstanceLinkedComponent.sol +194 -0
- package/contracts/shared/KeyValueStore.sol +131 -0
- package/contracts/shared/Lifecycle.sol +88 -0
- package/contracts/shared/NftIdSet.sol +65 -0
- package/contracts/shared/NftOwnable.sol +36 -27
- package/contracts/shared/PolicyHolder.sol +23 -41
- package/contracts/shared/Registerable.sol +52 -20
- package/contracts/shared/RegistryLinked.sol +9 -19
- package/contracts/shared/Service.sol +36 -41
- package/contracts/shared/TokenHandler.sol +322 -13
- package/contracts/shared/TokenHandlerDeployerLib.sol +20 -0
- package/contracts/staking/IStaking.sol +195 -0
- package/contracts/staking/IStakingService.sol +170 -0
- package/contracts/staking/Staking.sol +605 -0
- package/contracts/staking/StakingLib.sol +281 -0
- package/contracts/staking/StakingLifecycle.sol +23 -0
- package/contracts/staking/StakingManager.sol +52 -0
- package/contracts/staking/StakingReader.sol +199 -0
- package/contracts/staking/StakingService.sol +468 -0
- package/contracts/staking/StakingServiceManager.sol +45 -0
- package/contracts/staking/StakingStore.sol +606 -0
- package/contracts/staking/TargetManagerLib.sol +211 -0
- package/contracts/{types → type}/AddressSet.sol +1 -1
- package/contracts/type/Amount.sol +150 -0
- package/contracts/{types → type}/Blocknumber.sol +26 -3
- package/contracts/{types → type}/ClaimId.sol +6 -1
- package/contracts/{types → type}/Fee.sol +28 -26
- package/contracts/{types → type}/Key32.sol +2 -2
- package/contracts/type/Key32Set.sol +62 -0
- package/contracts/{types → type}/NftId.sol +21 -16
- package/contracts/{types → type}/NftIdSet.sol +2 -2
- package/contracts/type/ObjectType.sol +307 -0
- package/contracts/{types → type}/PayoutId.sol +10 -10
- package/contracts/{types → type}/Referral.sol +2 -1
- package/contracts/type/RequestId.sol +75 -0
- package/contracts/type/RiskId.sol +75 -0
- package/contracts/type/RoleId.sol +180 -0
- package/contracts/type/Seconds.sol +105 -0
- package/contracts/type/Selector.sol +107 -0
- package/contracts/{types → type}/StateId.sol +41 -2
- package/contracts/type/String.sol +65 -0
- package/contracts/{types → type}/Timestamp.sol +16 -7
- package/contracts/type/UFixed.sol +262 -0
- package/contracts/{types → type}/Version.sol +58 -7
- package/contracts/{shared → upgradeability}/IVersionable.sol +4 -1
- package/contracts/{shared → upgradeability}/ProxyManager.sol +118 -41
- package/contracts/{shared → upgradeability}/UpgradableProxyWithAdmin.sol +8 -4
- package/contracts/{shared → upgradeability}/Versionable.sol +9 -6
- package/package.json +12 -8
- package/artifacts/contracts/components/Component.sol/Component.dbg.json +0 -4
- package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +0 -4
- package/artifacts/contracts/components/IComponent.sol/IComponent.dbg.json +0 -4
- package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +0 -4
- package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +0 -4
- package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +0 -4
- package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +0 -4
- package/artifacts/contracts/components/Product.sol/Product.dbg.json +0 -4
- package/artifacts/contracts/instance/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.dbg.json +0 -4
- package/artifacts/contracts/instance/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.json +0 -1206
- package/artifacts/contracts/instance/BundleManager.sol/BundleManager.dbg.json +0 -4
- package/artifacts/contracts/instance/BundleManager.sol/BundleManager.json +0 -778
- package/artifacts/contracts/instance/Cloneable.sol/Cloneable.dbg.json +0 -4
- package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +0 -4
- package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +0 -1330
- package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.dbg.json +0 -4
- package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.json +0 -256
- package/artifacts/contracts/instance/base/ComponentService.sol/ComponentService.dbg.json +0 -4
- package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +0 -4
- package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.dbg.json +0 -4
- package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +0 -4
- package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.json +0 -532
- package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +0 -4
- package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +0 -194
- package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +0 -4
- package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +0 -237
- package/artifacts/contracts/instance/module/ISetup.sol/ISetup.dbg.json +0 -4
- package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.dbg.json +0 -4
- package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.json +0 -10
- package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.dbg.json +0 -4
- package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.json +0 -1060
- package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +0 -4
- package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.json +0 -681
- package/artifacts/contracts/instance/service/BundleService.sol/BundleService.dbg.json +0 -4
- package/artifacts/contracts/instance/service/BundleService.sol/BundleService.json +0 -1289
- package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.dbg.json +0 -4
- package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.json +0 -725
- package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.dbg.json +0 -4
- package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.json +0 -1040
- package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +0 -4
- package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.json +0 -685
- package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +0 -4
- package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +0 -1774
- package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +0 -4
- package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.json +0 -793
- package/artifacts/contracts/instance/service/IApplicationService.sol/IApplicationService.dbg.json +0 -4
- package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.dbg.json +0 -4
- package/artifacts/contracts/instance/service/IClaimService.sol/IClaimService.dbg.json +0 -4
- package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +0 -4
- package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.dbg.json +0 -4
- package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +0 -4
- package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +0 -4
- package/artifacts/contracts/instance/service/IProductService.sol/IProductService.json +0 -450
- package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.dbg.json +0 -4
- package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.json +0 -1615
- package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +0 -4
- package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.json +0 -777
- package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +0 -4
- package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +0 -1433
- package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.dbg.json +0 -4
- package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.json +0 -701
- package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +0 -4
- package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +0 -840
- package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.dbg.json +0 -4
- package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.json +0 -653
- package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.dbg.json +0 -4
- package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.json +0 -285
- package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.dbg.json +0 -4
- package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.json +0 -559
- package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.dbg.json +0 -4
- package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.json +0 -107
- package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +0 -4
- package/artifacts/contracts/shared/ERC165.sol/ERC165.json +0 -73
- package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +0 -4
- package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +0 -4
- package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +0 -582
- package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +0 -4
- package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +0 -129
- package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +0 -4
- package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +0 -4
- package/artifacts/contracts/test/TestFee.sol/TestFee.json +0 -119
- package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +0 -4
- package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +0 -383
- package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +0 -4
- package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +0 -116
- package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +0 -4
- package/artifacts/contracts/test/TestService.sol/TestService.json +0 -596
- package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +0 -4
- package/artifacts/contracts/test/TestToken.sol/TestUsdc.json +0 -376
- package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +0 -4
- package/artifacts/contracts/test/TestVersion.sol/TestVersion.json +0 -218
- package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +0 -4
- package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +0 -104
- package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +0 -4
- package/artifacts/contracts/test/Usdc.sol/USDC.json +0 -376
- package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +0 -4
- package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.json +0 -10
- package/artifacts/contracts/types/Amount.sol/AmountLib.dbg.json +0 -4
- package/artifacts/contracts/types/Amount.sol/AmountLib.json +0 -209
- package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +0 -4
- package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.json +0 -174
- package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +0 -4
- package/artifacts/contracts/types/ChainId.sol/ChainIdLib.json +0 -10
- package/artifacts/contracts/types/ClaimId.sol/ClaimIdLib.dbg.json +0 -4
- package/artifacts/contracts/types/ClaimId.sol/ClaimIdLib.json +0 -179
- package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.dbg.json +0 -4
- package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.json +0 -104
- package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +0 -4
- package/artifacts/contracts/types/Fee.sol/FeeLib.json +0 -288
- package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +0 -4
- package/artifacts/contracts/types/Key32.sol/Key32Lib.json +0 -125
- package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +0 -4
- package/artifacts/contracts/types/NftId.sol/NftIdLib.json +0 -166
- package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +0 -4
- package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.json +0 -33
- package/artifacts/contracts/types/NumberId.sol/NumberIdLib.dbg.json +0 -4
- package/artifacts/contracts/types/NumberId.sol/NumberIdLib.json +0 -100
- package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +0 -4
- package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.json +0 -92
- package/artifacts/contracts/types/PayoutId.sol/PayoutIdLib.dbg.json +0 -4
- package/artifacts/contracts/types/PayoutId.sol/PayoutIdLib.json +0 -209
- package/artifacts/contracts/types/Referral.sol/ReferralLib.dbg.json +0 -4
- package/artifacts/contracts/types/Referral.sol/ReferralLib.json +0 -142
- package/artifacts/contracts/types/RiskId.sol/RiskIdLib.dbg.json +0 -4
- package/artifacts/contracts/types/RiskId.sol/RiskIdLib.json +0 -86
- package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +0 -4
- package/artifacts/contracts/types/RoleId.sol/RoleIdLib.json +0 -156
- package/artifacts/contracts/types/Seconds.sol/SecondsLib.dbg.json +0 -4
- package/artifacts/contracts/types/Seconds.sol/SecondsLib.json +0 -124
- package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +0 -4
- package/artifacts/contracts/types/StateId.sol/StateIdLib.json +0 -92
- package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +0 -4
- package/artifacts/contracts/types/UFixed.sol/MathLib.dbg.json +0 -4
- package/artifacts/contracts/types/UFixed.sol/MathLib.json +0 -10
- package/artifacts/contracts/types/UFixed.sol/UFixedLib.dbg.json +0 -4
- package/artifacts/contracts/types/UFixed.sol/UFixedLib.json +0 -479
- package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +0 -4
- package/artifacts/contracts/types/Version.sol/VersionLib.json +0 -177
- package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +0 -4
- package/artifacts/contracts/types/Version.sol/VersionPartLib.json +0 -49
- package/contracts/components/Component.sol +0 -253
- package/contracts/components/Distribution.sol +0 -284
- package/contracts/components/IComponent.sol +0 -76
- package/contracts/components/IDistributionComponent.sol +0 -71
- package/contracts/components/IPoolComponent.sol +0 -113
- package/contracts/components/IProductComponent.sol +0 -40
- package/contracts/components/Pool.sol +0 -302
- package/contracts/components/Product.sol +0 -371
- package/contracts/instance/AccessManagerUpgradeableInitializeable.sol +0 -13
- package/contracts/instance/BundleManager.sol +0 -126
- package/contracts/instance/Cloneable.sol +0 -51
- package/contracts/instance/InstanceAccessManager.sol +0 -527
- package/contracts/instance/ObjectManager.sol +0 -82
- package/contracts/instance/base/ComponentService.sol +0 -121
- package/contracts/instance/base/KeyValueStore.sol +0 -180
- package/contracts/instance/base/Lifecycle.sol +0 -117
- package/contracts/instance/module/IAccess.sol +0 -54
- package/contracts/instance/module/ISetup.sol +0 -33
- package/contracts/instance/module/ITreasury.sol +0 -23
- package/contracts/instance/service/ApplicationService.sol +0 -355
- package/contracts/instance/service/BundleService.sol +0 -443
- package/contracts/instance/service/BundleServiceManager.sol +0 -51
- package/contracts/instance/service/ClaimService.sol +0 -239
- package/contracts/instance/service/DistributionService.sol +0 -431
- package/contracts/instance/service/DistributionServiceManager.sol +0 -51
- package/contracts/instance/service/IBundleService.sol +0 -102
- package/contracts/instance/service/IClaimService.sol +0 -92
- package/contracts/instance/service/IDistributionService.sol +0 -99
- package/contracts/instance/service/IPolicyService.sol +0 -139
- package/contracts/instance/service/IPoolService.sol +0 -102
- package/contracts/instance/service/IProductService.sol +0 -40
- package/contracts/instance/service/PolicyService.sol +0 -575
- package/contracts/instance/service/PolicyServiceManager.sol +0 -54
- package/contracts/instance/service/PoolService.sol +0 -336
- package/contracts/instance/service/PoolServiceManager.sol +0 -51
- package/contracts/instance/service/ProductService.sol +0 -210
- package/contracts/instance/service/ProductServiceManager.sol +0 -54
- package/contracts/registry/RegistryAccessManager.sol +0 -216
- package/contracts/registry/ReleaseManager.sol +0 -324
- package/contracts/shared/ContractDeployerLib.sol +0 -72
- package/contracts/test/TestFee.sol +0 -25
- package/contracts/test/TestRegisterable.sol +0 -18
- package/contracts/test/TestRoleId.sol +0 -14
- package/contracts/test/TestService.sol +0 -25
- package/contracts/test/TestToken.sol +0 -26
- package/contracts/test/TestVersion.sol +0 -44
- package/contracts/test/TestVersionable.sol +0 -17
- package/contracts/types/Amount.sol +0 -70
- package/contracts/types/ChainId.sol +0 -38
- package/contracts/types/NumberId.sol +0 -52
- package/contracts/types/ObjectType.sol +0 -157
- package/contracts/types/RiskId.sol +0 -43
- package/contracts/types/RoleId.sol +0 -97
- package/contracts/types/Seconds.sol +0 -54
- package/contracts/types/UFixed.sol +0 -326
- /package/contracts/{types → type}/DistributorType.sol +0 -0
@@ -45,11 +45,22 @@
|
|
45
45
|
"inputs": [
|
46
46
|
{
|
47
47
|
"internalType": "address",
|
48
|
-
"name": "
|
48
|
+
"name": "authority",
|
49
|
+
"type": "address"
|
50
|
+
}
|
51
|
+
],
|
52
|
+
"name": "ErrorAuthorityInvalid",
|
53
|
+
"type": "error"
|
54
|
+
},
|
55
|
+
{
|
56
|
+
"inputs": [
|
57
|
+
{
|
58
|
+
"internalType": "address",
|
59
|
+
"name": "instanceBundleSet",
|
49
60
|
"type": "address"
|
50
61
|
}
|
51
62
|
],
|
52
|
-
"name": "
|
63
|
+
"name": "ErrorInstanceBundleSetAlreadySet",
|
53
64
|
"type": "error"
|
54
65
|
},
|
55
66
|
{
|
@@ -60,7 +71,7 @@
|
|
60
71
|
"type": "address"
|
61
72
|
}
|
62
73
|
],
|
63
|
-
"name": "
|
74
|
+
"name": "ErrorInstanceBundleSetAuthorityMismatch",
|
64
75
|
"type": "error"
|
65
76
|
},
|
66
77
|
{
|
@@ -71,18 +82,18 @@
|
|
71
82
|
"type": "address"
|
72
83
|
}
|
73
84
|
],
|
74
|
-
"name": "
|
85
|
+
"name": "ErrorInstanceBundleSetInstanceMismatch",
|
75
86
|
"type": "error"
|
76
87
|
},
|
77
88
|
{
|
78
89
|
"inputs": [
|
79
90
|
{
|
80
91
|
"internalType": "address",
|
81
|
-
"name": "
|
92
|
+
"name": "instanceAdmin",
|
82
93
|
"type": "address"
|
83
94
|
}
|
84
95
|
],
|
85
|
-
"name": "
|
96
|
+
"name": "ErrorInstanceInstanceAdminAlreadySet",
|
86
97
|
"type": "error"
|
87
98
|
},
|
88
99
|
{
|
@@ -93,7 +104,12 @@
|
|
93
104
|
"type": "address"
|
94
105
|
}
|
95
106
|
],
|
96
|
-
"name": "
|
107
|
+
"name": "ErrorInstanceInstanceAdminAuthorityMismatch",
|
108
|
+
"type": "error"
|
109
|
+
},
|
110
|
+
{
|
111
|
+
"inputs": [],
|
112
|
+
"name": "ErrorInstanceInstanceAdminZero",
|
97
113
|
"type": "error"
|
98
114
|
},
|
99
115
|
{
|
@@ -110,60 +126,110 @@
|
|
110
126
|
{
|
111
127
|
"inputs": [
|
112
128
|
{
|
113
|
-
"internalType": "
|
114
|
-
"name": "
|
115
|
-
"type": "
|
116
|
-
}
|
129
|
+
"internalType": "address",
|
130
|
+
"name": "instanceStore",
|
131
|
+
"type": "address"
|
132
|
+
}
|
133
|
+
],
|
134
|
+
"name": "ErrorInstanceInstanceStoreAlreadySet",
|
135
|
+
"type": "error"
|
136
|
+
},
|
137
|
+
{
|
138
|
+
"inputs": [
|
117
139
|
{
|
118
|
-
"internalType": "
|
119
|
-
"name": "
|
120
|
-
"type": "
|
140
|
+
"internalType": "address",
|
141
|
+
"name": "instanceAuthority",
|
142
|
+
"type": "address"
|
143
|
+
}
|
144
|
+
],
|
145
|
+
"name": "ErrorInstanceInstanceStoreAuthorityMismatch",
|
146
|
+
"type": "error"
|
147
|
+
},
|
148
|
+
{
|
149
|
+
"inputs": [
|
150
|
+
{
|
151
|
+
"internalType": "RoleId",
|
152
|
+
"name": "roleId",
|
153
|
+
"type": "uint64"
|
154
|
+
}
|
155
|
+
],
|
156
|
+
"name": "ErrorInstanceNotCustomRole",
|
157
|
+
"type": "error"
|
158
|
+
},
|
159
|
+
{
|
160
|
+
"inputs": [
|
161
|
+
{
|
162
|
+
"internalType": "RoleId",
|
163
|
+
"name": "roleId",
|
164
|
+
"type": "uint64"
|
121
165
|
},
|
122
166
|
{
|
123
|
-
"internalType": "
|
124
|
-
"name": "
|
125
|
-
"type": "
|
167
|
+
"internalType": "address",
|
168
|
+
"name": "account",
|
169
|
+
"type": "address"
|
126
170
|
}
|
127
171
|
],
|
128
|
-
"name": "
|
172
|
+
"name": "ErrorInstanceNotRoleAdmin",
|
129
173
|
"type": "error"
|
130
174
|
},
|
131
175
|
{
|
132
176
|
"inputs": [
|
133
177
|
{
|
134
|
-
"internalType": "
|
135
|
-
"name": "
|
136
|
-
"type": "
|
178
|
+
"internalType": "address",
|
179
|
+
"name": "instanceRiskSet",
|
180
|
+
"type": "address"
|
137
181
|
}
|
138
182
|
],
|
139
|
-
"name": "
|
183
|
+
"name": "ErrorInstanceRiskSetAlreadySet",
|
140
184
|
"type": "error"
|
141
185
|
},
|
142
186
|
{
|
143
187
|
"inputs": [
|
144
188
|
{
|
145
189
|
"internalType": "address",
|
146
|
-
"name": "
|
190
|
+
"name": "instanceAuthority",
|
147
191
|
"type": "address"
|
148
192
|
}
|
149
193
|
],
|
150
|
-
"name": "
|
194
|
+
"name": "ErrorInstanceRiskSetAuthorityMismatch",
|
151
195
|
"type": "error"
|
152
196
|
},
|
153
197
|
{
|
154
|
-
"inputs": [
|
155
|
-
|
198
|
+
"inputs": [
|
199
|
+
{
|
200
|
+
"internalType": "address",
|
201
|
+
"name": "instance",
|
202
|
+
"type": "address"
|
203
|
+
}
|
204
|
+
],
|
205
|
+
"name": "ErrorInstanceRiskSetInstanceMismatch",
|
206
|
+
"type": "error"
|
207
|
+
},
|
208
|
+
{
|
209
|
+
"inputs": [
|
210
|
+
{
|
211
|
+
"internalType": "NftId",
|
212
|
+
"name": "nftId",
|
213
|
+
"type": "uint96"
|
214
|
+
}
|
215
|
+
],
|
216
|
+
"name": "ErrorNftOwnableAlreadyLinked",
|
156
217
|
"type": "error"
|
157
218
|
},
|
158
219
|
{
|
159
220
|
"inputs": [
|
160
221
|
{
|
161
222
|
"internalType": "address",
|
162
|
-
"name": "
|
223
|
+
"name": "contractAddress",
|
163
224
|
"type": "address"
|
164
225
|
}
|
165
226
|
],
|
166
|
-
"name": "
|
227
|
+
"name": "ErrorNftOwnableContractNotRegistered",
|
228
|
+
"type": "error"
|
229
|
+
},
|
230
|
+
{
|
231
|
+
"inputs": [],
|
232
|
+
"name": "ErrorNftOwnableInitialOwnerZero",
|
167
233
|
"type": "error"
|
168
234
|
},
|
169
235
|
{
|
@@ -175,11 +241,22 @@
|
|
175
241
|
},
|
176
242
|
{
|
177
243
|
"internalType": "ObjectType",
|
178
|
-
"name": "
|
244
|
+
"name": "expectedObjectType",
|
179
245
|
"type": "uint8"
|
180
246
|
}
|
181
247
|
],
|
182
|
-
"name": "
|
248
|
+
"name": "ErrorNftOwnableInvalidType",
|
249
|
+
"type": "error"
|
250
|
+
},
|
251
|
+
{
|
252
|
+
"inputs": [
|
253
|
+
{
|
254
|
+
"internalType": "address",
|
255
|
+
"name": "account",
|
256
|
+
"type": "address"
|
257
|
+
}
|
258
|
+
],
|
259
|
+
"name": "ErrorNftOwnableNotOwner",
|
183
260
|
"type": "error"
|
184
261
|
},
|
185
262
|
{
|
@@ -193,6 +270,11 @@
|
|
193
270
|
"name": "ErrorNotRegistry",
|
194
271
|
"type": "error"
|
195
272
|
},
|
273
|
+
{
|
274
|
+
"inputs": [],
|
275
|
+
"name": "ErrorRegisterableNotActive",
|
276
|
+
"type": "error"
|
277
|
+
},
|
196
278
|
{
|
197
279
|
"anonymous": false,
|
198
280
|
"inputs": [
|
@@ -211,36 +293,55 @@
|
|
211
293
|
"inputs": [
|
212
294
|
{
|
213
295
|
"indexed": false,
|
214
|
-
"internalType": "
|
215
|
-
"name": "
|
216
|
-
"type": "
|
296
|
+
"internalType": "RoleId",
|
297
|
+
"name": "roleId",
|
298
|
+
"type": "uint64"
|
217
299
|
},
|
218
300
|
{
|
219
301
|
"indexed": false,
|
220
|
-
"internalType": "
|
221
|
-
"name": "
|
222
|
-
"type": "
|
302
|
+
"internalType": "bool",
|
303
|
+
"name": "active",
|
304
|
+
"type": "bool"
|
223
305
|
},
|
224
306
|
{
|
225
307
|
"indexed": false,
|
226
|
-
"internalType": "
|
227
|
-
"name": "
|
228
|
-
"type": "
|
308
|
+
"internalType": "address",
|
309
|
+
"name": "caller",
|
310
|
+
"type": "address"
|
311
|
+
}
|
312
|
+
],
|
313
|
+
"name": "LogInstanceCustomRoleActiveSet",
|
314
|
+
"type": "event"
|
315
|
+
},
|
316
|
+
{
|
317
|
+
"anonymous": false,
|
318
|
+
"inputs": [
|
319
|
+
{
|
320
|
+
"indexed": false,
|
321
|
+
"internalType": "RoleId",
|
322
|
+
"name": "roleId",
|
323
|
+
"type": "uint64"
|
229
324
|
},
|
230
325
|
{
|
231
326
|
"indexed": false,
|
232
|
-
"internalType": "
|
233
|
-
"name": "
|
234
|
-
"type": "
|
327
|
+
"internalType": "string",
|
328
|
+
"name": "roleName",
|
329
|
+
"type": "string"
|
235
330
|
},
|
236
331
|
{
|
237
332
|
"indexed": false,
|
238
|
-
"internalType": "
|
239
|
-
"name": "
|
240
|
-
"type": "
|
333
|
+
"internalType": "RoleId",
|
334
|
+
"name": "adminRoleId",
|
335
|
+
"type": "uint64"
|
336
|
+
},
|
337
|
+
{
|
338
|
+
"indexed": false,
|
339
|
+
"internalType": "uint32",
|
340
|
+
"name": "maxMemberCount",
|
341
|
+
"type": "uint32"
|
241
342
|
}
|
242
343
|
],
|
243
|
-
"name": "
|
344
|
+
"name": "LogInstanceCustomRoleCreated",
|
244
345
|
"type": "event"
|
245
346
|
},
|
246
347
|
{
|
@@ -248,42 +349,49 @@
|
|
248
349
|
"inputs": [
|
249
350
|
{
|
250
351
|
"indexed": false,
|
251
|
-
"internalType": "
|
252
|
-
"name": "
|
253
|
-
"type": "
|
254
|
-
},
|
255
|
-
{
|
256
|
-
"indexed": false,
|
257
|
-
"internalType": "KeyId",
|
258
|
-
"name": "keyId",
|
259
|
-
"type": "bytes31"
|
352
|
+
"internalType": "RoleId",
|
353
|
+
"name": "roleId",
|
354
|
+
"type": "uint64"
|
260
355
|
},
|
261
356
|
{
|
262
357
|
"indexed": false,
|
263
|
-
"internalType": "
|
264
|
-
"name": "
|
265
|
-
"type": "
|
358
|
+
"internalType": "address",
|
359
|
+
"name": "account",
|
360
|
+
"type": "address"
|
266
361
|
},
|
267
362
|
{
|
268
363
|
"indexed": false,
|
269
364
|
"internalType": "address",
|
270
|
-
"name": "
|
365
|
+
"name": "caller",
|
271
366
|
"type": "address"
|
367
|
+
}
|
368
|
+
],
|
369
|
+
"name": "LogInstanceCustomRoleGranted",
|
370
|
+
"type": "event"
|
371
|
+
},
|
372
|
+
{
|
373
|
+
"anonymous": false,
|
374
|
+
"inputs": [
|
375
|
+
{
|
376
|
+
"indexed": false,
|
377
|
+
"internalType": "RoleId",
|
378
|
+
"name": "roleId",
|
379
|
+
"type": "uint64"
|
272
380
|
},
|
273
381
|
{
|
274
382
|
"indexed": false,
|
275
383
|
"internalType": "address",
|
276
|
-
"name": "
|
384
|
+
"name": "account",
|
277
385
|
"type": "address"
|
278
386
|
},
|
279
387
|
{
|
280
388
|
"indexed": false,
|
281
|
-
"internalType": "
|
282
|
-
"name": "
|
283
|
-
"type": "
|
389
|
+
"internalType": "address",
|
390
|
+
"name": "caller",
|
391
|
+
"type": "address"
|
284
392
|
}
|
285
393
|
],
|
286
|
-
"name": "
|
394
|
+
"name": "LogInstanceCustomRoleRevoked",
|
287
395
|
"type": "event"
|
288
396
|
},
|
289
397
|
{
|
@@ -291,48 +399,87 @@
|
|
291
399
|
"inputs": [
|
292
400
|
{
|
293
401
|
"indexed": false,
|
294
|
-
"internalType": "
|
295
|
-
"name": "
|
296
|
-
"type": "
|
402
|
+
"internalType": "address",
|
403
|
+
"name": "target",
|
404
|
+
"type": "address"
|
297
405
|
},
|
298
406
|
{
|
299
407
|
"indexed": false,
|
300
|
-
"internalType": "
|
301
|
-
"name": "
|
302
|
-
"type": "
|
408
|
+
"internalType": "RoleId",
|
409
|
+
"name": "targetRoleId",
|
410
|
+
"type": "uint64"
|
303
411
|
},
|
304
412
|
{
|
305
413
|
"indexed": false,
|
306
|
-
"internalType": "
|
307
|
-
"name": "
|
308
|
-
"type": "
|
414
|
+
"internalType": "string",
|
415
|
+
"name": "name",
|
416
|
+
"type": "string"
|
417
|
+
}
|
418
|
+
],
|
419
|
+
"name": "LogInstanceCustomTargetCreated",
|
420
|
+
"type": "event"
|
421
|
+
},
|
422
|
+
{
|
423
|
+
"anonymous": false,
|
424
|
+
"inputs": [
|
425
|
+
{
|
426
|
+
"indexed": false,
|
427
|
+
"internalType": "address",
|
428
|
+
"name": "target",
|
429
|
+
"type": "address"
|
309
430
|
},
|
310
431
|
{
|
311
432
|
"indexed": false,
|
312
|
-
"internalType": "
|
313
|
-
"name": "
|
314
|
-
"type": "
|
433
|
+
"internalType": "bytes4[]",
|
434
|
+
"name": "selectors",
|
435
|
+
"type": "bytes4[]"
|
315
436
|
},
|
437
|
+
{
|
438
|
+
"indexed": false,
|
439
|
+
"internalType": "RoleId",
|
440
|
+
"name": "roleId",
|
441
|
+
"type": "uint64"
|
442
|
+
}
|
443
|
+
],
|
444
|
+
"name": "LogInstanceCustomTargetFunctionRoleSet",
|
445
|
+
"type": "event"
|
446
|
+
},
|
447
|
+
{
|
448
|
+
"anonymous": false,
|
449
|
+
"inputs": [
|
316
450
|
{
|
317
451
|
"indexed": false,
|
318
452
|
"internalType": "address",
|
319
|
-
"name": "
|
453
|
+
"name": "target",
|
320
454
|
"type": "address"
|
321
455
|
},
|
322
456
|
{
|
323
457
|
"indexed": false,
|
324
|
-
"internalType": "
|
325
|
-
"name": "
|
326
|
-
"type": "
|
458
|
+
"internalType": "bool",
|
459
|
+
"name": "locked",
|
460
|
+
"type": "bool"
|
461
|
+
}
|
462
|
+
],
|
463
|
+
"name": "LogInstanceTargetLocked",
|
464
|
+
"type": "event"
|
465
|
+
},
|
466
|
+
{
|
467
|
+
"anonymous": false,
|
468
|
+
"inputs": [
|
469
|
+
{
|
470
|
+
"indexed": false,
|
471
|
+
"internalType": "NftId",
|
472
|
+
"name": "nftId",
|
473
|
+
"type": "uint96"
|
327
474
|
},
|
328
475
|
{
|
329
476
|
"indexed": false,
|
330
|
-
"internalType": "
|
331
|
-
"name": "
|
332
|
-
"type": "
|
477
|
+
"internalType": "address",
|
478
|
+
"name": "owner",
|
479
|
+
"type": "address"
|
333
480
|
}
|
334
481
|
],
|
335
|
-
"name": "
|
482
|
+
"name": "LogNftOwnableNftLinkedToAddress",
|
336
483
|
"type": "event"
|
337
484
|
},
|
338
485
|
{
|
@@ -351,99 +498,39 @@
|
|
351
498
|
{
|
352
499
|
"inputs": [
|
353
500
|
{
|
354
|
-
"internalType": "
|
355
|
-
"name": "
|
356
|
-
"type": "
|
501
|
+
"internalType": "address",
|
502
|
+
"name": "target",
|
503
|
+
"type": "address"
|
504
|
+
},
|
505
|
+
{
|
506
|
+
"internalType": "RoleId",
|
507
|
+
"name": "roleId",
|
508
|
+
"type": "uint64"
|
357
509
|
},
|
358
510
|
{
|
359
511
|
"components": [
|
360
512
|
{
|
361
|
-
"internalType": "
|
362
|
-
"name": "
|
363
|
-
"type": "
|
364
|
-
},
|
365
|
-
{
|
366
|
-
"internalType": "NftId",
|
367
|
-
"name": "bundleNftId",
|
368
|
-
"type": "uint96"
|
369
|
-
},
|
370
|
-
{
|
371
|
-
"internalType": "ReferralId",
|
372
|
-
"name": "referralId",
|
373
|
-
"type": "bytes8"
|
374
|
-
},
|
375
|
-
{
|
376
|
-
"internalType": "RiskId",
|
377
|
-
"name": "riskId",
|
378
|
-
"type": "bytes8"
|
379
|
-
},
|
380
|
-
{
|
381
|
-
"internalType": "uint256",
|
382
|
-
"name": "sumInsuredAmount",
|
383
|
-
"type": "uint256"
|
384
|
-
},
|
385
|
-
{
|
386
|
-
"internalType": "uint256",
|
387
|
-
"name": "premiumAmount",
|
388
|
-
"type": "uint256"
|
389
|
-
},
|
390
|
-
{
|
391
|
-
"internalType": "uint256",
|
392
|
-
"name": "premiumPaidAmount",
|
393
|
-
"type": "uint256"
|
394
|
-
},
|
395
|
-
{
|
396
|
-
"internalType": "Seconds",
|
397
|
-
"name": "lifetime",
|
398
|
-
"type": "uint40"
|
399
|
-
},
|
400
|
-
{
|
401
|
-
"internalType": "bytes",
|
402
|
-
"name": "applicationData",
|
403
|
-
"type": "bytes"
|
404
|
-
},
|
405
|
-
{
|
406
|
-
"internalType": "bytes",
|
407
|
-
"name": "policyData",
|
408
|
-
"type": "bytes"
|
409
|
-
},
|
410
|
-
{
|
411
|
-
"internalType": "uint16",
|
412
|
-
"name": "claimsCount",
|
413
|
-
"type": "uint16"
|
414
|
-
},
|
415
|
-
{
|
416
|
-
"internalType": "uint16",
|
417
|
-
"name": "openClaimsCount",
|
418
|
-
"type": "uint16"
|
419
|
-
},
|
420
|
-
{
|
421
|
-
"internalType": "Amount",
|
422
|
-
"name": "payoutAmount",
|
423
|
-
"type": "uint96"
|
424
|
-
},
|
425
|
-
{
|
426
|
-
"internalType": "Timestamp",
|
427
|
-
"name": "activatedAt",
|
428
|
-
"type": "uint40"
|
513
|
+
"internalType": "Str",
|
514
|
+
"name": "name",
|
515
|
+
"type": "bytes32"
|
429
516
|
},
|
430
517
|
{
|
431
|
-
"internalType": "
|
432
|
-
"name": "
|
433
|
-
"type": "
|
518
|
+
"internalType": "Selector",
|
519
|
+
"name": "selector",
|
520
|
+
"type": "bytes4"
|
434
521
|
},
|
435
522
|
{
|
436
523
|
"internalType": "Timestamp",
|
437
|
-
"name": "
|
524
|
+
"name": "createdAt",
|
438
525
|
"type": "uint40"
|
439
526
|
}
|
440
527
|
],
|
441
|
-
"internalType": "struct
|
442
|
-
"name": "
|
443
|
-
"type": "tuple"
|
528
|
+
"internalType": "struct IAccess.FunctionInfo[]",
|
529
|
+
"name": "functions",
|
530
|
+
"type": "tuple[]"
|
444
531
|
}
|
445
532
|
],
|
446
|
-
"name": "
|
533
|
+
"name": "authorizeFunctions",
|
447
534
|
"outputs": [],
|
448
535
|
"stateMutability": "nonpayable",
|
449
536
|
"type": "function"
|
@@ -451,1005 +538,29 @@
|
|
451
538
|
{
|
452
539
|
"inputs": [
|
453
540
|
{
|
454
|
-
"internalType": "
|
455
|
-
"name": "
|
456
|
-
"type": "
|
541
|
+
"internalType": "string",
|
542
|
+
"name": "roleName",
|
543
|
+
"type": "string"
|
457
544
|
},
|
458
545
|
{
|
459
|
-
"
|
460
|
-
|
461
|
-
|
462
|
-
"name": "poolNftId",
|
463
|
-
"type": "uint96"
|
464
|
-
},
|
465
|
-
{
|
466
|
-
"components": [
|
467
|
-
{
|
468
|
-
"internalType": "UFixed",
|
469
|
-
"name": "fractionalFee",
|
470
|
-
"type": "uint256"
|
471
|
-
},
|
472
|
-
{
|
473
|
-
"internalType": "uint256",
|
474
|
-
"name": "fixedFee",
|
475
|
-
"type": "uint256"
|
476
|
-
}
|
477
|
-
],
|
478
|
-
"internalType": "struct Fee",
|
479
|
-
"name": "fee",
|
480
|
-
"type": "tuple"
|
481
|
-
},
|
482
|
-
{
|
483
|
-
"internalType": "bytes",
|
484
|
-
"name": "filter",
|
485
|
-
"type": "bytes"
|
486
|
-
},
|
487
|
-
{
|
488
|
-
"internalType": "Amount",
|
489
|
-
"name": "capitalAmount",
|
490
|
-
"type": "uint96"
|
491
|
-
},
|
492
|
-
{
|
493
|
-
"internalType": "Amount",
|
494
|
-
"name": "lockedAmount",
|
495
|
-
"type": "uint96"
|
496
|
-
},
|
497
|
-
{
|
498
|
-
"internalType": "Amount",
|
499
|
-
"name": "feeAmount",
|
500
|
-
"type": "uint96"
|
501
|
-
},
|
502
|
-
{
|
503
|
-
"internalType": "Seconds",
|
504
|
-
"name": "lifetime",
|
505
|
-
"type": "uint40"
|
506
|
-
},
|
507
|
-
{
|
508
|
-
"internalType": "Timestamp",
|
509
|
-
"name": "expiredAt",
|
510
|
-
"type": "uint40"
|
511
|
-
},
|
512
|
-
{
|
513
|
-
"internalType": "Timestamp",
|
514
|
-
"name": "closedAt",
|
515
|
-
"type": "uint40"
|
516
|
-
}
|
517
|
-
],
|
518
|
-
"internalType": "struct IBundle.BundleInfo",
|
519
|
-
"name": "bundle",
|
520
|
-
"type": "tuple"
|
521
|
-
}
|
522
|
-
],
|
523
|
-
"name": "createBundle",
|
524
|
-
"outputs": [],
|
525
|
-
"stateMutability": "nonpayable",
|
526
|
-
"type": "function"
|
527
|
-
},
|
528
|
-
{
|
529
|
-
"inputs": [
|
530
|
-
{
|
531
|
-
"internalType": "NftId",
|
532
|
-
"name": "policyNftId",
|
533
|
-
"type": "uint96"
|
534
|
-
},
|
535
|
-
{
|
536
|
-
"internalType": "ClaimId",
|
537
|
-
"name": "claimId",
|
538
|
-
"type": "uint16"
|
539
|
-
},
|
540
|
-
{
|
541
|
-
"components": [
|
542
|
-
{
|
543
|
-
"internalType": "Amount",
|
544
|
-
"name": "claimAmount",
|
545
|
-
"type": "uint96"
|
546
|
-
},
|
547
|
-
{
|
548
|
-
"internalType": "Amount",
|
549
|
-
"name": "paidAmount",
|
550
|
-
"type": "uint96"
|
551
|
-
},
|
552
|
-
{
|
553
|
-
"internalType": "uint8",
|
554
|
-
"name": "payoutsCount",
|
555
|
-
"type": "uint8"
|
556
|
-
},
|
557
|
-
{
|
558
|
-
"internalType": "uint8",
|
559
|
-
"name": "openPayoutsCount",
|
560
|
-
"type": "uint8"
|
561
|
-
},
|
562
|
-
{
|
563
|
-
"internalType": "bytes",
|
564
|
-
"name": "data",
|
565
|
-
"type": "bytes"
|
566
|
-
},
|
567
|
-
{
|
568
|
-
"internalType": "Timestamp",
|
569
|
-
"name": "closedAt",
|
570
|
-
"type": "uint40"
|
571
|
-
}
|
572
|
-
],
|
573
|
-
"internalType": "struct IPolicy.ClaimInfo",
|
574
|
-
"name": "claim",
|
575
|
-
"type": "tuple"
|
576
|
-
}
|
577
|
-
],
|
578
|
-
"name": "createClaim",
|
579
|
-
"outputs": [],
|
580
|
-
"stateMutability": "nonpayable",
|
581
|
-
"type": "function"
|
582
|
-
},
|
583
|
-
{
|
584
|
-
"inputs": [
|
585
|
-
{
|
586
|
-
"internalType": "NftId",
|
587
|
-
"name": "distributionNftId",
|
588
|
-
"type": "uint96"
|
589
|
-
},
|
590
|
-
{
|
591
|
-
"components": [
|
592
|
-
{
|
593
|
-
"internalType": "NftId",
|
594
|
-
"name": "productNftId",
|
595
|
-
"type": "uint96"
|
596
|
-
},
|
597
|
-
{
|
598
|
-
"internalType": "contract TokenHandler",
|
599
|
-
"name": "tokenHandler",
|
600
|
-
"type": "address"
|
601
|
-
},
|
602
|
-
{
|
603
|
-
"components": [
|
604
|
-
{
|
605
|
-
"internalType": "UFixed",
|
606
|
-
"name": "fractionalFee",
|
607
|
-
"type": "uint256"
|
608
|
-
},
|
609
|
-
{
|
610
|
-
"internalType": "uint256",
|
611
|
-
"name": "fixedFee",
|
612
|
-
"type": "uint256"
|
613
|
-
}
|
614
|
-
],
|
615
|
-
"internalType": "struct Fee",
|
616
|
-
"name": "minDistributionOwnerFee",
|
617
|
-
"type": "tuple"
|
618
|
-
},
|
619
|
-
{
|
620
|
-
"components": [
|
621
|
-
{
|
622
|
-
"internalType": "UFixed",
|
623
|
-
"name": "fractionalFee",
|
624
|
-
"type": "uint256"
|
625
|
-
},
|
626
|
-
{
|
627
|
-
"internalType": "uint256",
|
628
|
-
"name": "fixedFee",
|
629
|
-
"type": "uint256"
|
630
|
-
}
|
631
|
-
],
|
632
|
-
"internalType": "struct Fee",
|
633
|
-
"name": "distributionFee",
|
634
|
-
"type": "tuple"
|
635
|
-
},
|
636
|
-
{
|
637
|
-
"internalType": "address",
|
638
|
-
"name": "wallet",
|
639
|
-
"type": "address"
|
640
|
-
},
|
641
|
-
{
|
642
|
-
"internalType": "uint256",
|
643
|
-
"name": "sumDistributionOwnerFees",
|
644
|
-
"type": "uint256"
|
645
|
-
}
|
646
|
-
],
|
647
|
-
"internalType": "struct ISetup.DistributionSetupInfo",
|
648
|
-
"name": "setup",
|
649
|
-
"type": "tuple"
|
650
|
-
}
|
651
|
-
],
|
652
|
-
"name": "createDistributionSetup",
|
653
|
-
"outputs": [],
|
654
|
-
"stateMutability": "nonpayable",
|
655
|
-
"type": "function"
|
656
|
-
},
|
657
|
-
{
|
658
|
-
"inputs": [
|
659
|
-
{
|
660
|
-
"internalType": "NftId",
|
661
|
-
"name": "nftId",
|
662
|
-
"type": "uint96"
|
663
|
-
},
|
664
|
-
{
|
665
|
-
"components": [
|
666
|
-
{
|
667
|
-
"internalType": "DistributorType",
|
668
|
-
"name": "distributorType",
|
669
|
-
"type": "bytes8"
|
670
|
-
},
|
671
|
-
{
|
672
|
-
"internalType": "bool",
|
673
|
-
"name": "active",
|
674
|
-
"type": "bool"
|
675
|
-
},
|
676
|
-
{
|
677
|
-
"internalType": "bytes",
|
678
|
-
"name": "data",
|
679
|
-
"type": "bytes"
|
680
|
-
},
|
681
|
-
{
|
682
|
-
"internalType": "uint256",
|
683
|
-
"name": "sumCommisions",
|
684
|
-
"type": "uint256"
|
685
|
-
},
|
686
|
-
{
|
687
|
-
"internalType": "uint256",
|
688
|
-
"name": "numPoliciesSold",
|
689
|
-
"type": "uint256"
|
690
|
-
}
|
691
|
-
],
|
692
|
-
"internalType": "struct IDistribution.DistributorInfo",
|
693
|
-
"name": "info",
|
694
|
-
"type": "tuple"
|
695
|
-
}
|
696
|
-
],
|
697
|
-
"name": "createDistributor",
|
698
|
-
"outputs": [],
|
699
|
-
"stateMutability": "nonpayable",
|
700
|
-
"type": "function"
|
701
|
-
},
|
702
|
-
{
|
703
|
-
"inputs": [
|
704
|
-
{
|
705
|
-
"internalType": "DistributorType",
|
706
|
-
"name": "distributorType",
|
707
|
-
"type": "bytes8"
|
708
|
-
},
|
709
|
-
{
|
710
|
-
"components": [
|
711
|
-
{
|
712
|
-
"internalType": "string",
|
713
|
-
"name": "name",
|
714
|
-
"type": "string"
|
715
|
-
},
|
716
|
-
{
|
717
|
-
"internalType": "UFixed",
|
718
|
-
"name": "minDiscountPercentage",
|
719
|
-
"type": "uint256"
|
720
|
-
},
|
721
|
-
{
|
722
|
-
"internalType": "UFixed",
|
723
|
-
"name": "maxDiscountPercentage",
|
724
|
-
"type": "uint256"
|
725
|
-
},
|
726
|
-
{
|
727
|
-
"internalType": "UFixed",
|
728
|
-
"name": "commissionPercentage",
|
729
|
-
"type": "uint256"
|
730
|
-
},
|
731
|
-
{
|
732
|
-
"internalType": "uint32",
|
733
|
-
"name": "maxReferralCount",
|
734
|
-
"type": "uint32"
|
735
|
-
},
|
736
|
-
{
|
737
|
-
"internalType": "uint32",
|
738
|
-
"name": "maxReferralLifetime",
|
739
|
-
"type": "uint32"
|
740
|
-
},
|
741
|
-
{
|
742
|
-
"internalType": "bool",
|
743
|
-
"name": "allowSelfReferrals",
|
744
|
-
"type": "bool"
|
745
|
-
},
|
746
|
-
{
|
747
|
-
"internalType": "bool",
|
748
|
-
"name": "allowRenewals",
|
749
|
-
"type": "bool"
|
750
|
-
},
|
751
|
-
{
|
752
|
-
"internalType": "bytes",
|
753
|
-
"name": "data",
|
754
|
-
"type": "bytes"
|
755
|
-
}
|
756
|
-
],
|
757
|
-
"internalType": "struct IDistribution.DistributorTypeInfo",
|
758
|
-
"name": "info",
|
759
|
-
"type": "tuple"
|
760
|
-
}
|
761
|
-
],
|
762
|
-
"name": "createDistributorType",
|
763
|
-
"outputs": [],
|
764
|
-
"stateMutability": "nonpayable",
|
765
|
-
"type": "function"
|
766
|
-
},
|
767
|
-
{
|
768
|
-
"inputs": [
|
769
|
-
{
|
770
|
-
"internalType": "NftId",
|
771
|
-
"name": "policyNftId",
|
772
|
-
"type": "uint96"
|
773
|
-
},
|
774
|
-
{
|
775
|
-
"internalType": "PayoutId",
|
776
|
-
"name": "payoutId",
|
777
|
-
"type": "uint24"
|
778
|
-
},
|
779
|
-
{
|
780
|
-
"components": [
|
781
|
-
{
|
782
|
-
"internalType": "ClaimId",
|
783
|
-
"name": "claimId",
|
784
|
-
"type": "uint16"
|
785
|
-
},
|
786
|
-
{
|
787
|
-
"internalType": "Amount",
|
788
|
-
"name": "amount",
|
789
|
-
"type": "uint96"
|
790
|
-
},
|
791
|
-
{
|
792
|
-
"internalType": "bytes",
|
793
|
-
"name": "data",
|
794
|
-
"type": "bytes"
|
795
|
-
},
|
796
|
-
{
|
797
|
-
"internalType": "Timestamp",
|
798
|
-
"name": "paidAt",
|
799
|
-
"type": "uint40"
|
800
|
-
}
|
801
|
-
],
|
802
|
-
"internalType": "struct IPolicy.PayoutInfo",
|
803
|
-
"name": "claim",
|
804
|
-
"type": "tuple"
|
805
|
-
}
|
806
|
-
],
|
807
|
-
"name": "createPayout",
|
808
|
-
"outputs": [],
|
809
|
-
"stateMutability": "nonpayable",
|
810
|
-
"type": "function"
|
811
|
-
},
|
812
|
-
{
|
813
|
-
"inputs": [
|
814
|
-
{
|
815
|
-
"internalType": "NftId",
|
816
|
-
"name": "poolNftId",
|
817
|
-
"type": "uint96"
|
818
|
-
},
|
819
|
-
{
|
820
|
-
"components": [
|
821
|
-
{
|
822
|
-
"internalType": "string",
|
823
|
-
"name": "name",
|
824
|
-
"type": "string"
|
825
|
-
},
|
826
|
-
{
|
827
|
-
"internalType": "contract IERC20Metadata",
|
828
|
-
"name": "token",
|
829
|
-
"type": "address"
|
830
|
-
},
|
831
|
-
{
|
832
|
-
"internalType": "contract TokenHandler",
|
833
|
-
"name": "tokenHandler",
|
834
|
-
"type": "address"
|
835
|
-
},
|
836
|
-
{
|
837
|
-
"internalType": "address",
|
838
|
-
"name": "wallet",
|
839
|
-
"type": "address"
|
840
|
-
},
|
841
|
-
{
|
842
|
-
"internalType": "Amount",
|
843
|
-
"name": "balanceAmount",
|
844
|
-
"type": "uint96"
|
845
|
-
},
|
846
|
-
{
|
847
|
-
"internalType": "Amount",
|
848
|
-
"name": "feeAmount",
|
849
|
-
"type": "uint96"
|
850
|
-
},
|
851
|
-
{
|
852
|
-
"internalType": "bytes",
|
853
|
-
"name": "data",
|
854
|
-
"type": "bytes"
|
855
|
-
}
|
856
|
-
],
|
857
|
-
"internalType": "struct IComponents.ComponentInfo",
|
858
|
-
"name": "info",
|
859
|
-
"type": "tuple"
|
860
|
-
}
|
861
|
-
],
|
862
|
-
"name": "createPoolSetup",
|
863
|
-
"outputs": [],
|
864
|
-
"stateMutability": "nonpayable",
|
865
|
-
"type": "function"
|
866
|
-
},
|
867
|
-
{
|
868
|
-
"inputs": [
|
869
|
-
{
|
870
|
-
"internalType": "NftId",
|
871
|
-
"name": "productNftId",
|
872
|
-
"type": "uint96"
|
873
|
-
},
|
874
|
-
{
|
875
|
-
"components": [
|
876
|
-
{
|
877
|
-
"internalType": "contract IERC20Metadata",
|
878
|
-
"name": "token",
|
879
|
-
"type": "address"
|
880
|
-
},
|
881
|
-
{
|
882
|
-
"internalType": "contract TokenHandler",
|
883
|
-
"name": "tokenHandler",
|
884
|
-
"type": "address"
|
885
|
-
},
|
886
|
-
{
|
887
|
-
"internalType": "NftId",
|
888
|
-
"name": "distributionNftId",
|
889
|
-
"type": "uint96"
|
890
|
-
},
|
891
|
-
{
|
892
|
-
"internalType": "NftId",
|
893
|
-
"name": "poolNftId",
|
894
|
-
"type": "uint96"
|
895
|
-
},
|
896
|
-
{
|
897
|
-
"components": [
|
898
|
-
{
|
899
|
-
"internalType": "UFixed",
|
900
|
-
"name": "fractionalFee",
|
901
|
-
"type": "uint256"
|
902
|
-
},
|
903
|
-
{
|
904
|
-
"internalType": "uint256",
|
905
|
-
"name": "fixedFee",
|
906
|
-
"type": "uint256"
|
907
|
-
}
|
908
|
-
],
|
909
|
-
"internalType": "struct Fee",
|
910
|
-
"name": "productFee",
|
911
|
-
"type": "tuple"
|
912
|
-
},
|
913
|
-
{
|
914
|
-
"components": [
|
915
|
-
{
|
916
|
-
"internalType": "UFixed",
|
917
|
-
"name": "fractionalFee",
|
918
|
-
"type": "uint256"
|
919
|
-
},
|
920
|
-
{
|
921
|
-
"internalType": "uint256",
|
922
|
-
"name": "fixedFee",
|
923
|
-
"type": "uint256"
|
924
|
-
}
|
925
|
-
],
|
926
|
-
"internalType": "struct Fee",
|
927
|
-
"name": "processingFee",
|
928
|
-
"type": "tuple"
|
929
|
-
},
|
930
|
-
{
|
931
|
-
"internalType": "bool",
|
932
|
-
"name": "isIntercepting",
|
933
|
-
"type": "bool"
|
934
|
-
},
|
935
|
-
{
|
936
|
-
"internalType": "address",
|
937
|
-
"name": "wallet",
|
938
|
-
"type": "address"
|
939
|
-
}
|
940
|
-
],
|
941
|
-
"internalType": "struct ISetup.ProductSetupInfo",
|
942
|
-
"name": "setup",
|
943
|
-
"type": "tuple"
|
944
|
-
}
|
945
|
-
],
|
946
|
-
"name": "createProductSetup",
|
947
|
-
"outputs": [],
|
948
|
-
"stateMutability": "nonpayable",
|
949
|
-
"type": "function"
|
950
|
-
},
|
951
|
-
{
|
952
|
-
"inputs": [
|
953
|
-
{
|
954
|
-
"internalType": "ReferralId",
|
955
|
-
"name": "referralId",
|
956
|
-
"type": "bytes8"
|
957
|
-
},
|
958
|
-
{
|
959
|
-
"components": [
|
960
|
-
{
|
961
|
-
"internalType": "NftId",
|
962
|
-
"name": "distributorNftId",
|
963
|
-
"type": "uint96"
|
964
|
-
},
|
965
|
-
{
|
966
|
-
"internalType": "string",
|
967
|
-
"name": "referralCode",
|
968
|
-
"type": "string"
|
969
|
-
},
|
970
|
-
{
|
971
|
-
"internalType": "UFixed",
|
972
|
-
"name": "discountPercentage",
|
973
|
-
"type": "uint256"
|
974
|
-
},
|
975
|
-
{
|
976
|
-
"internalType": "uint32",
|
977
|
-
"name": "maxReferrals",
|
978
|
-
"type": "uint32"
|
979
|
-
},
|
980
|
-
{
|
981
|
-
"internalType": "uint32",
|
982
|
-
"name": "usedReferrals",
|
983
|
-
"type": "uint32"
|
984
|
-
},
|
985
|
-
{
|
986
|
-
"internalType": "Timestamp",
|
987
|
-
"name": "expiryAt",
|
988
|
-
"type": "uint40"
|
989
|
-
},
|
990
|
-
{
|
991
|
-
"internalType": "bytes",
|
992
|
-
"name": "data",
|
993
|
-
"type": "bytes"
|
994
|
-
}
|
995
|
-
],
|
996
|
-
"internalType": "struct IDistribution.ReferralInfo",
|
997
|
-
"name": "referralInfo",
|
998
|
-
"type": "tuple"
|
999
|
-
}
|
1000
|
-
],
|
1001
|
-
"name": "createReferral",
|
1002
|
-
"outputs": [],
|
1003
|
-
"stateMutability": "nonpayable",
|
1004
|
-
"type": "function"
|
1005
|
-
},
|
1006
|
-
{
|
1007
|
-
"inputs": [
|
1008
|
-
{
|
1009
|
-
"internalType": "RiskId",
|
1010
|
-
"name": "riskId",
|
1011
|
-
"type": "bytes8"
|
1012
|
-
},
|
1013
|
-
{
|
1014
|
-
"components": [
|
1015
|
-
{
|
1016
|
-
"internalType": "NftId",
|
1017
|
-
"name": "productNftId",
|
1018
|
-
"type": "uint96"
|
1019
|
-
},
|
1020
|
-
{
|
1021
|
-
"internalType": "bytes",
|
1022
|
-
"name": "data",
|
1023
|
-
"type": "bytes"
|
1024
|
-
}
|
1025
|
-
],
|
1026
|
-
"internalType": "struct IRisk.RiskInfo",
|
1027
|
-
"name": "risk",
|
1028
|
-
"type": "tuple"
|
1029
|
-
}
|
1030
|
-
],
|
1031
|
-
"name": "createRisk",
|
1032
|
-
"outputs": [],
|
1033
|
-
"stateMutability": "nonpayable",
|
1034
|
-
"type": "function"
|
1035
|
-
},
|
1036
|
-
{
|
1037
|
-
"inputs": [
|
1038
|
-
{
|
1039
|
-
"internalType": "Key32",
|
1040
|
-
"name": "key",
|
1041
|
-
"type": "bytes32"
|
1042
|
-
}
|
1043
|
-
],
|
1044
|
-
"name": "exists",
|
1045
|
-
"outputs": [
|
1046
|
-
{
|
1047
|
-
"internalType": "bool",
|
1048
|
-
"name": "",
|
1049
|
-
"type": "bool"
|
1050
|
-
}
|
1051
|
-
],
|
1052
|
-
"stateMutability": "view",
|
1053
|
-
"type": "function"
|
1054
|
-
},
|
1055
|
-
{
|
1056
|
-
"inputs": [
|
1057
|
-
{
|
1058
|
-
"internalType": "Key32",
|
1059
|
-
"name": "key",
|
1060
|
-
"type": "bytes32"
|
1061
|
-
}
|
1062
|
-
],
|
1063
|
-
"name": "get",
|
1064
|
-
"outputs": [
|
1065
|
-
{
|
1066
|
-
"components": [
|
1067
|
-
{
|
1068
|
-
"components": [
|
1069
|
-
{
|
1070
|
-
"internalType": "ObjectType",
|
1071
|
-
"name": "objectType",
|
1072
|
-
"type": "uint8"
|
1073
|
-
},
|
1074
|
-
{
|
1075
|
-
"internalType": "StateId",
|
1076
|
-
"name": "state",
|
1077
|
-
"type": "uint8"
|
1078
|
-
},
|
1079
|
-
{
|
1080
|
-
"internalType": "address",
|
1081
|
-
"name": "updatedBy",
|
1082
|
-
"type": "address"
|
1083
|
-
},
|
1084
|
-
{
|
1085
|
-
"internalType": "Blocknumber",
|
1086
|
-
"name": "updatedIn",
|
1087
|
-
"type": "uint32"
|
1088
|
-
},
|
1089
|
-
{
|
1090
|
-
"internalType": "Blocknumber",
|
1091
|
-
"name": "createdIn",
|
1092
|
-
"type": "uint32"
|
1093
|
-
}
|
1094
|
-
],
|
1095
|
-
"internalType": "struct IKeyValueStore.Metadata",
|
1096
|
-
"name": "metadata",
|
1097
|
-
"type": "tuple"
|
1098
|
-
},
|
1099
|
-
{
|
1100
|
-
"internalType": "bytes",
|
1101
|
-
"name": "data",
|
1102
|
-
"type": "bytes"
|
1103
|
-
}
|
1104
|
-
],
|
1105
|
-
"internalType": "struct IKeyValueStore.Value",
|
1106
|
-
"name": "value",
|
1107
|
-
"type": "tuple"
|
1108
|
-
}
|
1109
|
-
],
|
1110
|
-
"stateMutability": "view",
|
1111
|
-
"type": "function"
|
1112
|
-
},
|
1113
|
-
{
|
1114
|
-
"inputs": [],
|
1115
|
-
"name": "getBundleManager",
|
1116
|
-
"outputs": [
|
1117
|
-
{
|
1118
|
-
"internalType": "contract BundleManager",
|
1119
|
-
"name": "",
|
1120
|
-
"type": "address"
|
1121
|
-
}
|
1122
|
-
],
|
1123
|
-
"stateMutability": "view",
|
1124
|
-
"type": "function"
|
1125
|
-
},
|
1126
|
-
{
|
1127
|
-
"inputs": [
|
1128
|
-
{
|
1129
|
-
"internalType": "Key32",
|
1130
|
-
"name": "key",
|
1131
|
-
"type": "bytes32"
|
1132
|
-
}
|
1133
|
-
],
|
1134
|
-
"name": "getData",
|
1135
|
-
"outputs": [
|
1136
|
-
{
|
1137
|
-
"internalType": "bytes",
|
1138
|
-
"name": "data",
|
1139
|
-
"type": "bytes"
|
1140
|
-
}
|
1141
|
-
],
|
1142
|
-
"stateMutability": "view",
|
1143
|
-
"type": "function"
|
1144
|
-
},
|
1145
|
-
{
|
1146
|
-
"inputs": [],
|
1147
|
-
"name": "getInitialInfo",
|
1148
|
-
"outputs": [
|
1149
|
-
{
|
1150
|
-
"components": [
|
1151
|
-
{
|
1152
|
-
"internalType": "NftId",
|
1153
|
-
"name": "nftId",
|
1154
|
-
"type": "uint96"
|
1155
|
-
},
|
1156
|
-
{
|
1157
|
-
"internalType": "NftId",
|
1158
|
-
"name": "parentNftId",
|
1159
|
-
"type": "uint96"
|
1160
|
-
},
|
1161
|
-
{
|
1162
|
-
"internalType": "ObjectType",
|
1163
|
-
"name": "objectType",
|
1164
|
-
"type": "uint8"
|
1165
|
-
},
|
1166
|
-
{
|
1167
|
-
"internalType": "bool",
|
1168
|
-
"name": "isInterceptor",
|
1169
|
-
"type": "bool"
|
1170
|
-
},
|
1171
|
-
{
|
1172
|
-
"internalType": "address",
|
1173
|
-
"name": "objectAddress",
|
1174
|
-
"type": "address"
|
1175
|
-
},
|
1176
|
-
{
|
1177
|
-
"internalType": "address",
|
1178
|
-
"name": "initialOwner",
|
1179
|
-
"type": "address"
|
1180
|
-
},
|
1181
|
-
{
|
1182
|
-
"internalType": "bytes",
|
1183
|
-
"name": "data",
|
1184
|
-
"type": "bytes"
|
1185
|
-
}
|
1186
|
-
],
|
1187
|
-
"internalType": "struct IRegistry.ObjectInfo",
|
1188
|
-
"name": "",
|
1189
|
-
"type": "tuple"
|
1190
|
-
}
|
1191
|
-
],
|
1192
|
-
"stateMutability": "view",
|
1193
|
-
"type": "function"
|
1194
|
-
},
|
1195
|
-
{
|
1196
|
-
"inputs": [
|
1197
|
-
{
|
1198
|
-
"internalType": "ObjectType",
|
1199
|
-
"name": "objectType",
|
1200
|
-
"type": "uint8"
|
1201
|
-
}
|
1202
|
-
],
|
1203
|
-
"name": "getInitialState",
|
1204
|
-
"outputs": [
|
1205
|
-
{
|
1206
|
-
"internalType": "StateId",
|
1207
|
-
"name": "",
|
1208
|
-
"type": "uint8"
|
1209
|
-
}
|
1210
|
-
],
|
1211
|
-
"stateMutability": "view",
|
1212
|
-
"type": "function"
|
1213
|
-
},
|
1214
|
-
{
|
1215
|
-
"inputs": [],
|
1216
|
-
"name": "getInstanceAccessManager",
|
1217
|
-
"outputs": [
|
1218
|
-
{
|
1219
|
-
"internalType": "contract InstanceAccessManager",
|
1220
|
-
"name": "",
|
1221
|
-
"type": "address"
|
1222
|
-
}
|
1223
|
-
],
|
1224
|
-
"stateMutability": "view",
|
1225
|
-
"type": "function"
|
1226
|
-
},
|
1227
|
-
{
|
1228
|
-
"inputs": [],
|
1229
|
-
"name": "getInstanceReader",
|
1230
|
-
"outputs": [
|
1231
|
-
{
|
1232
|
-
"internalType": "contract InstanceReader",
|
1233
|
-
"name": "",
|
1234
|
-
"type": "address"
|
1235
|
-
}
|
1236
|
-
],
|
1237
|
-
"stateMutability": "view",
|
1238
|
-
"type": "function"
|
1239
|
-
},
|
1240
|
-
{
|
1241
|
-
"inputs": [],
|
1242
|
-
"name": "getMajorVersion",
|
1243
|
-
"outputs": [
|
1244
|
-
{
|
1245
|
-
"internalType": "VersionPart",
|
1246
|
-
"name": "majorVersion",
|
1247
|
-
"type": "uint8"
|
1248
|
-
}
|
1249
|
-
],
|
1250
|
-
"stateMutability": "pure",
|
1251
|
-
"type": "function"
|
1252
|
-
},
|
1253
|
-
{
|
1254
|
-
"inputs": [
|
1255
|
-
{
|
1256
|
-
"internalType": "Key32",
|
1257
|
-
"name": "key",
|
1258
|
-
"type": "bytes32"
|
1259
|
-
}
|
1260
|
-
],
|
1261
|
-
"name": "getMetadata",
|
1262
|
-
"outputs": [
|
1263
|
-
{
|
1264
|
-
"components": [
|
1265
|
-
{
|
1266
|
-
"internalType": "ObjectType",
|
1267
|
-
"name": "objectType",
|
1268
|
-
"type": "uint8"
|
1269
|
-
},
|
1270
|
-
{
|
1271
|
-
"internalType": "StateId",
|
1272
|
-
"name": "state",
|
1273
|
-
"type": "uint8"
|
1274
|
-
},
|
1275
|
-
{
|
1276
|
-
"internalType": "address",
|
1277
|
-
"name": "updatedBy",
|
1278
|
-
"type": "address"
|
1279
|
-
},
|
1280
|
-
{
|
1281
|
-
"internalType": "Blocknumber",
|
1282
|
-
"name": "updatedIn",
|
1283
|
-
"type": "uint32"
|
1284
|
-
},
|
1285
|
-
{
|
1286
|
-
"internalType": "Blocknumber",
|
1287
|
-
"name": "createdIn",
|
1288
|
-
"type": "uint32"
|
1289
|
-
}
|
1290
|
-
],
|
1291
|
-
"internalType": "struct IKeyValueStore.Metadata",
|
1292
|
-
"name": "metadata",
|
1293
|
-
"type": "tuple"
|
1294
|
-
}
|
1295
|
-
],
|
1296
|
-
"stateMutability": "view",
|
1297
|
-
"type": "function"
|
1298
|
-
},
|
1299
|
-
{
|
1300
|
-
"inputs": [],
|
1301
|
-
"name": "getNftId",
|
1302
|
-
"outputs": [
|
1303
|
-
{
|
1304
|
-
"internalType": "NftId",
|
1305
|
-
"name": "",
|
1306
|
-
"type": "uint96"
|
1307
|
-
}
|
1308
|
-
],
|
1309
|
-
"stateMutability": "view",
|
1310
|
-
"type": "function"
|
1311
|
-
},
|
1312
|
-
{
|
1313
|
-
"inputs": [],
|
1314
|
-
"name": "getOwner",
|
1315
|
-
"outputs": [
|
1316
|
-
{
|
1317
|
-
"internalType": "address",
|
1318
|
-
"name": "",
|
1319
|
-
"type": "address"
|
1320
|
-
}
|
1321
|
-
],
|
1322
|
-
"stateMutability": "view",
|
1323
|
-
"type": "function"
|
1324
|
-
},
|
1325
|
-
{
|
1326
|
-
"inputs": [],
|
1327
|
-
"name": "getRegistry",
|
1328
|
-
"outputs": [
|
1329
|
-
{
|
1330
|
-
"internalType": "contract IRegistry",
|
1331
|
-
"name": "",
|
1332
|
-
"type": "address"
|
1333
|
-
}
|
1334
|
-
],
|
1335
|
-
"stateMutability": "view",
|
1336
|
-
"type": "function"
|
1337
|
-
},
|
1338
|
-
{
|
1339
|
-
"inputs": [],
|
1340
|
-
"name": "getRegistryAddress",
|
1341
|
-
"outputs": [
|
1342
|
-
{
|
1343
|
-
"internalType": "address",
|
1344
|
-
"name": "",
|
1345
|
-
"type": "address"
|
1346
|
-
}
|
1347
|
-
],
|
1348
|
-
"stateMutability": "view",
|
1349
|
-
"type": "function"
|
1350
|
-
},
|
1351
|
-
{
|
1352
|
-
"inputs": [
|
1353
|
-
{
|
1354
|
-
"internalType": "Key32",
|
1355
|
-
"name": "key",
|
1356
|
-
"type": "bytes32"
|
1357
|
-
}
|
1358
|
-
],
|
1359
|
-
"name": "getState",
|
1360
|
-
"outputs": [
|
1361
|
-
{
|
1362
|
-
"internalType": "StateId",
|
1363
|
-
"name": "state",
|
1364
|
-
"type": "uint8"
|
1365
|
-
}
|
1366
|
-
],
|
1367
|
-
"stateMutability": "view",
|
1368
|
-
"type": "function"
|
1369
|
-
},
|
1370
|
-
{
|
1371
|
-
"inputs": [
|
1372
|
-
{
|
1373
|
-
"internalType": "ObjectType",
|
1374
|
-
"name": "objectType",
|
1375
|
-
"type": "uint8"
|
1376
|
-
}
|
1377
|
-
],
|
1378
|
-
"name": "hasLifecycle",
|
1379
|
-
"outputs": [
|
1380
|
-
{
|
1381
|
-
"internalType": "bool",
|
1382
|
-
"name": "",
|
1383
|
-
"type": "bool"
|
1384
|
-
}
|
1385
|
-
],
|
1386
|
-
"stateMutability": "view",
|
1387
|
-
"type": "function"
|
1388
|
-
},
|
1389
|
-
{
|
1390
|
-
"inputs": [],
|
1391
|
-
"name": "isConsumingScheduledOp",
|
1392
|
-
"outputs": [
|
1393
|
-
{
|
1394
|
-
"internalType": "bytes4",
|
1395
|
-
"name": "",
|
1396
|
-
"type": "bytes4"
|
1397
|
-
}
|
1398
|
-
],
|
1399
|
-
"stateMutability": "view",
|
1400
|
-
"type": "function"
|
1401
|
-
},
|
1402
|
-
{
|
1403
|
-
"inputs": [
|
1404
|
-
{
|
1405
|
-
"internalType": "ObjectType",
|
1406
|
-
"name": "objectType",
|
1407
|
-
"type": "uint8"
|
1408
|
-
},
|
1409
|
-
{
|
1410
|
-
"internalType": "StateId",
|
1411
|
-
"name": "fromId",
|
1412
|
-
"type": "uint8"
|
546
|
+
"internalType": "RoleId",
|
547
|
+
"name": "adminRoleId",
|
548
|
+
"type": "uint64"
|
1413
549
|
},
|
1414
550
|
{
|
1415
|
-
"internalType": "
|
1416
|
-
"name": "
|
1417
|
-
"type": "
|
551
|
+
"internalType": "uint32",
|
552
|
+
"name": "maxMemberCount",
|
553
|
+
"type": "uint32"
|
1418
554
|
}
|
1419
555
|
],
|
1420
|
-
"name": "
|
556
|
+
"name": "createRole",
|
1421
557
|
"outputs": [
|
1422
558
|
{
|
1423
|
-
"internalType": "
|
1424
|
-
"name": "",
|
1425
|
-
"type": "
|
1426
|
-
}
|
1427
|
-
],
|
1428
|
-
"stateMutability": "view",
|
1429
|
-
"type": "function"
|
1430
|
-
},
|
1431
|
-
{
|
1432
|
-
"inputs": [],
|
1433
|
-
"name": "linkToRegisteredNftId",
|
1434
|
-
"outputs": [],
|
1435
|
-
"stateMutability": "nonpayable",
|
1436
|
-
"type": "function"
|
1437
|
-
},
|
1438
|
-
{
|
1439
|
-
"inputs": [
|
1440
|
-
{
|
1441
|
-
"internalType": "address",
|
1442
|
-
"name": "to",
|
1443
|
-
"type": "address"
|
1444
|
-
},
|
1445
|
-
{
|
1446
|
-
"internalType": "uint256",
|
1447
|
-
"name": "tokenId",
|
1448
|
-
"type": "uint256"
|
559
|
+
"internalType": "RoleId",
|
560
|
+
"name": "roleId",
|
561
|
+
"type": "uint64"
|
1449
562
|
}
|
1450
563
|
],
|
1451
|
-
"name": "nftMint",
|
1452
|
-
"outputs": [],
|
1453
564
|
"stateMutability": "nonpayable",
|
1454
565
|
"type": "function"
|
1455
566
|
},
|
@@ -1457,636 +568,336 @@
|
|
1457
568
|
"inputs": [
|
1458
569
|
{
|
1459
570
|
"internalType": "address",
|
1460
|
-
"name": "
|
1461
|
-
"type": "address"
|
1462
|
-
},
|
1463
|
-
{
|
1464
|
-
"internalType": "address",
|
1465
|
-
"name": "to",
|
571
|
+
"name": "target",
|
1466
572
|
"type": "address"
|
1467
573
|
},
|
1468
574
|
{
|
1469
|
-
"internalType": "
|
1470
|
-
"name": "
|
1471
|
-
"type": "
|
575
|
+
"internalType": "string",
|
576
|
+
"name": "name",
|
577
|
+
"type": "string"
|
1472
578
|
}
|
1473
579
|
],
|
1474
|
-
"name": "
|
1475
|
-
"outputs": [
|
1476
|
-
"stateMutability": "nonpayable",
|
1477
|
-
"type": "function"
|
1478
|
-
},
|
1479
|
-
{
|
1480
|
-
"inputs": [
|
580
|
+
"name": "createTarget",
|
581
|
+
"outputs": [
|
1481
582
|
{
|
1482
|
-
"internalType": "
|
1483
|
-
"name": "",
|
1484
|
-
"type": "
|
583
|
+
"internalType": "RoleId",
|
584
|
+
"name": "contractRoleId",
|
585
|
+
"type": "uint64"
|
1485
586
|
}
|
1486
587
|
],
|
1487
|
-
"name": "setAuthority",
|
1488
|
-
"outputs": [],
|
1489
588
|
"stateMutability": "nonpayable",
|
1490
589
|
"type": "function"
|
1491
590
|
},
|
1492
591
|
{
|
1493
|
-
"inputs": [
|
1494
|
-
|
1495
|
-
"internalType": "bytes4",
|
1496
|
-
"name": "interfaceId",
|
1497
|
-
"type": "bytes4"
|
1498
|
-
}
|
1499
|
-
],
|
1500
|
-
"name": "supportsInterface",
|
592
|
+
"inputs": [],
|
593
|
+
"name": "getBundleSet",
|
1501
594
|
"outputs": [
|
1502
595
|
{
|
1503
|
-
"internalType": "
|
596
|
+
"internalType": "contract BundleSet",
|
1504
597
|
"name": "",
|
1505
|
-
"type": "
|
598
|
+
"type": "address"
|
1506
599
|
}
|
1507
600
|
],
|
1508
601
|
"stateMutability": "view",
|
1509
602
|
"type": "function"
|
1510
603
|
},
|
1511
604
|
{
|
1512
|
-
"inputs": [
|
1513
|
-
|
1514
|
-
"internalType": "ObjectType",
|
1515
|
-
"name": "objectType",
|
1516
|
-
"type": "uint8"
|
1517
|
-
},
|
1518
|
-
{
|
1519
|
-
"internalType": "KeyId",
|
1520
|
-
"name": "id",
|
1521
|
-
"type": "bytes31"
|
1522
|
-
}
|
1523
|
-
],
|
1524
|
-
"name": "toKey32",
|
605
|
+
"inputs": [],
|
606
|
+
"name": "getInitialInfo",
|
1525
607
|
"outputs": [
|
1526
|
-
{
|
1527
|
-
"internalType": "Key32",
|
1528
|
-
"name": "",
|
1529
|
-
"type": "bytes32"
|
1530
|
-
}
|
1531
|
-
],
|
1532
|
-
"stateMutability": "pure",
|
1533
|
-
"type": "function"
|
1534
|
-
},
|
1535
|
-
{
|
1536
|
-
"inputs": [
|
1537
|
-
{
|
1538
|
-
"internalType": "NftId",
|
1539
|
-
"name": "applicationNftId",
|
1540
|
-
"type": "uint96"
|
1541
|
-
},
|
1542
608
|
{
|
1543
609
|
"components": [
|
1544
610
|
{
|
1545
611
|
"internalType": "NftId",
|
1546
|
-
"name": "
|
612
|
+
"name": "nftId",
|
1547
613
|
"type": "uint96"
|
1548
614
|
},
|
1549
615
|
{
|
1550
616
|
"internalType": "NftId",
|
1551
|
-
"name": "
|
617
|
+
"name": "parentNftId",
|
1552
618
|
"type": "uint96"
|
1553
619
|
},
|
1554
620
|
{
|
1555
|
-
"internalType": "
|
1556
|
-
"name": "
|
1557
|
-
"type": "
|
1558
|
-
},
|
1559
|
-
{
|
1560
|
-
"internalType": "RiskId",
|
1561
|
-
"name": "riskId",
|
1562
|
-
"type": "bytes8"
|
1563
|
-
},
|
1564
|
-
{
|
1565
|
-
"internalType": "uint256",
|
1566
|
-
"name": "sumInsuredAmount",
|
1567
|
-
"type": "uint256"
|
1568
|
-
},
|
1569
|
-
{
|
1570
|
-
"internalType": "uint256",
|
1571
|
-
"name": "premiumAmount",
|
1572
|
-
"type": "uint256"
|
621
|
+
"internalType": "ObjectType",
|
622
|
+
"name": "objectType",
|
623
|
+
"type": "uint8"
|
1573
624
|
},
|
1574
625
|
{
|
1575
|
-
"internalType": "
|
1576
|
-
"name": "
|
1577
|
-
"type": "
|
626
|
+
"internalType": "bool",
|
627
|
+
"name": "isInterceptor",
|
628
|
+
"type": "bool"
|
1578
629
|
},
|
1579
630
|
{
|
1580
|
-
"internalType": "
|
1581
|
-
"name": "
|
1582
|
-
"type": "
|
631
|
+
"internalType": "address",
|
632
|
+
"name": "objectAddress",
|
633
|
+
"type": "address"
|
1583
634
|
},
|
1584
635
|
{
|
1585
|
-
"internalType": "
|
1586
|
-
"name": "
|
1587
|
-
"type": "
|
636
|
+
"internalType": "address",
|
637
|
+
"name": "initialOwner",
|
638
|
+
"type": "address"
|
1588
639
|
},
|
1589
640
|
{
|
1590
641
|
"internalType": "bytes",
|
1591
|
-
"name": "
|
642
|
+
"name": "data",
|
1592
643
|
"type": "bytes"
|
1593
|
-
},
|
1594
|
-
{
|
1595
|
-
"internalType": "uint16",
|
1596
|
-
"name": "claimsCount",
|
1597
|
-
"type": "uint16"
|
1598
|
-
},
|
1599
|
-
{
|
1600
|
-
"internalType": "uint16",
|
1601
|
-
"name": "openClaimsCount",
|
1602
|
-
"type": "uint16"
|
1603
|
-
},
|
1604
|
-
{
|
1605
|
-
"internalType": "Amount",
|
1606
|
-
"name": "payoutAmount",
|
1607
|
-
"type": "uint96"
|
1608
|
-
},
|
1609
|
-
{
|
1610
|
-
"internalType": "Timestamp",
|
1611
|
-
"name": "activatedAt",
|
1612
|
-
"type": "uint40"
|
1613
|
-
},
|
1614
|
-
{
|
1615
|
-
"internalType": "Timestamp",
|
1616
|
-
"name": "expiredAt",
|
1617
|
-
"type": "uint40"
|
1618
|
-
},
|
1619
|
-
{
|
1620
|
-
"internalType": "Timestamp",
|
1621
|
-
"name": "closedAt",
|
1622
|
-
"type": "uint40"
|
1623
644
|
}
|
1624
645
|
],
|
1625
|
-
"internalType": "struct
|
1626
|
-
"name": "
|
646
|
+
"internalType": "struct IRegistry.ObjectInfo",
|
647
|
+
"name": "",
|
1627
648
|
"type": "tuple"
|
1628
|
-
}
|
649
|
+
}
|
650
|
+
],
|
651
|
+
"stateMutability": "view",
|
652
|
+
"type": "function"
|
653
|
+
},
|
654
|
+
{
|
655
|
+
"inputs": [],
|
656
|
+
"name": "getInstanceAdmin",
|
657
|
+
"outputs": [
|
1629
658
|
{
|
1630
|
-
"internalType": "
|
1631
|
-
"name": "
|
1632
|
-
"type": "
|
659
|
+
"internalType": "contract InstanceAdmin",
|
660
|
+
"name": "",
|
661
|
+
"type": "address"
|
1633
662
|
}
|
1634
663
|
],
|
1635
|
-
"
|
1636
|
-
"outputs": [],
|
1637
|
-
"stateMutability": "nonpayable",
|
664
|
+
"stateMutability": "view",
|
1638
665
|
"type": "function"
|
1639
666
|
},
|
1640
667
|
{
|
1641
|
-
"inputs": [
|
668
|
+
"inputs": [],
|
669
|
+
"name": "getInstanceReader",
|
670
|
+
"outputs": [
|
671
|
+
{
|
672
|
+
"internalType": "contract InstanceReader",
|
673
|
+
"name": "",
|
674
|
+
"type": "address"
|
675
|
+
}
|
676
|
+
],
|
677
|
+
"stateMutability": "view",
|
678
|
+
"type": "function"
|
679
|
+
},
|
680
|
+
{
|
681
|
+
"inputs": [],
|
682
|
+
"name": "getInstanceStore",
|
683
|
+
"outputs": [
|
684
|
+
{
|
685
|
+
"internalType": "contract InstanceStore",
|
686
|
+
"name": "",
|
687
|
+
"type": "address"
|
688
|
+
}
|
689
|
+
],
|
690
|
+
"stateMutability": "view",
|
691
|
+
"type": "function"
|
692
|
+
},
|
693
|
+
{
|
694
|
+
"inputs": [],
|
695
|
+
"name": "getNftId",
|
696
|
+
"outputs": [
|
1642
697
|
{
|
1643
698
|
"internalType": "NftId",
|
1644
|
-
"name": "
|
699
|
+
"name": "",
|
1645
700
|
"type": "uint96"
|
1646
|
-
}
|
701
|
+
}
|
702
|
+
],
|
703
|
+
"stateMutability": "view",
|
704
|
+
"type": "function"
|
705
|
+
},
|
706
|
+
{
|
707
|
+
"inputs": [],
|
708
|
+
"name": "getOwner",
|
709
|
+
"outputs": [
|
1647
710
|
{
|
1648
|
-
"internalType": "
|
1649
|
-
"name": "
|
1650
|
-
"type": "
|
711
|
+
"internalType": "address",
|
712
|
+
"name": "",
|
713
|
+
"type": "address"
|
1651
714
|
}
|
1652
715
|
],
|
1653
|
-
"
|
1654
|
-
"outputs": [],
|
1655
|
-
"stateMutability": "nonpayable",
|
716
|
+
"stateMutability": "view",
|
1656
717
|
"type": "function"
|
1657
718
|
},
|
1658
719
|
{
|
1659
720
|
"inputs": [
|
721
|
+
{
|
722
|
+
"internalType": "uint256",
|
723
|
+
"name": "idx",
|
724
|
+
"type": "uint256"
|
725
|
+
}
|
726
|
+
],
|
727
|
+
"name": "getProductNftId",
|
728
|
+
"outputs": [
|
1660
729
|
{
|
1661
730
|
"internalType": "NftId",
|
1662
|
-
"name": "
|
731
|
+
"name": "productNftId",
|
1663
732
|
"type": "uint96"
|
1664
|
-
}
|
1665
|
-
|
1666
|
-
|
1667
|
-
|
1668
|
-
|
1669
|
-
|
1670
|
-
|
1671
|
-
|
1672
|
-
|
1673
|
-
"components": [
|
1674
|
-
{
|
1675
|
-
"internalType": "UFixed",
|
1676
|
-
"name": "fractionalFee",
|
1677
|
-
"type": "uint256"
|
1678
|
-
},
|
1679
|
-
{
|
1680
|
-
"internalType": "uint256",
|
1681
|
-
"name": "fixedFee",
|
1682
|
-
"type": "uint256"
|
1683
|
-
}
|
1684
|
-
],
|
1685
|
-
"internalType": "struct Fee",
|
1686
|
-
"name": "fee",
|
1687
|
-
"type": "tuple"
|
1688
|
-
},
|
1689
|
-
{
|
1690
|
-
"internalType": "bytes",
|
1691
|
-
"name": "filter",
|
1692
|
-
"type": "bytes"
|
1693
|
-
},
|
1694
|
-
{
|
1695
|
-
"internalType": "Amount",
|
1696
|
-
"name": "capitalAmount",
|
1697
|
-
"type": "uint96"
|
1698
|
-
},
|
1699
|
-
{
|
1700
|
-
"internalType": "Amount",
|
1701
|
-
"name": "lockedAmount",
|
1702
|
-
"type": "uint96"
|
1703
|
-
},
|
1704
|
-
{
|
1705
|
-
"internalType": "Amount",
|
1706
|
-
"name": "feeAmount",
|
1707
|
-
"type": "uint96"
|
1708
|
-
},
|
1709
|
-
{
|
1710
|
-
"internalType": "Seconds",
|
1711
|
-
"name": "lifetime",
|
1712
|
-
"type": "uint40"
|
1713
|
-
},
|
1714
|
-
{
|
1715
|
-
"internalType": "Timestamp",
|
1716
|
-
"name": "expiredAt",
|
1717
|
-
"type": "uint40"
|
1718
|
-
},
|
1719
|
-
{
|
1720
|
-
"internalType": "Timestamp",
|
1721
|
-
"name": "closedAt",
|
1722
|
-
"type": "uint40"
|
1723
|
-
}
|
1724
|
-
],
|
1725
|
-
"internalType": "struct IBundle.BundleInfo",
|
1726
|
-
"name": "bundle",
|
1727
|
-
"type": "tuple"
|
1728
|
-
},
|
733
|
+
}
|
734
|
+
],
|
735
|
+
"stateMutability": "view",
|
736
|
+
"type": "function"
|
737
|
+
},
|
738
|
+
{
|
739
|
+
"inputs": [],
|
740
|
+
"name": "getRegistry",
|
741
|
+
"outputs": [
|
1729
742
|
{
|
1730
|
-
"internalType": "
|
1731
|
-
"name": "
|
1732
|
-
"type": "
|
743
|
+
"internalType": "contract IRegistry",
|
744
|
+
"name": "",
|
745
|
+
"type": "address"
|
1733
746
|
}
|
1734
747
|
],
|
1735
|
-
"
|
1736
|
-
"outputs": [],
|
1737
|
-
"stateMutability": "nonpayable",
|
748
|
+
"stateMutability": "view",
|
1738
749
|
"type": "function"
|
1739
750
|
},
|
1740
751
|
{
|
1741
|
-
"inputs": [
|
1742
|
-
|
1743
|
-
|
1744
|
-
"name": "bundleNftId",
|
1745
|
-
"type": "uint96"
|
1746
|
-
},
|
752
|
+
"inputs": [],
|
753
|
+
"name": "getRelease",
|
754
|
+
"outputs": [
|
1747
755
|
{
|
1748
|
-
"internalType": "
|
1749
|
-
"name": "
|
756
|
+
"internalType": "VersionPart",
|
757
|
+
"name": "release",
|
1750
758
|
"type": "uint8"
|
1751
759
|
}
|
1752
760
|
],
|
1753
|
-
"
|
1754
|
-
"outputs": [],
|
1755
|
-
"stateMutability": "nonpayable",
|
761
|
+
"stateMutability": "view",
|
1756
762
|
"type": "function"
|
1757
763
|
},
|
1758
764
|
{
|
1759
|
-
"inputs": [
|
1760
|
-
|
1761
|
-
|
1762
|
-
"name": "policyNftId",
|
1763
|
-
"type": "uint96"
|
1764
|
-
},
|
1765
|
-
{
|
1766
|
-
"internalType": "ClaimId",
|
1767
|
-
"name": "claimId",
|
1768
|
-
"type": "uint16"
|
1769
|
-
},
|
1770
|
-
{
|
1771
|
-
"components": [
|
1772
|
-
{
|
1773
|
-
"internalType": "Amount",
|
1774
|
-
"name": "claimAmount",
|
1775
|
-
"type": "uint96"
|
1776
|
-
},
|
1777
|
-
{
|
1778
|
-
"internalType": "Amount",
|
1779
|
-
"name": "paidAmount",
|
1780
|
-
"type": "uint96"
|
1781
|
-
},
|
1782
|
-
{
|
1783
|
-
"internalType": "uint8",
|
1784
|
-
"name": "payoutsCount",
|
1785
|
-
"type": "uint8"
|
1786
|
-
},
|
1787
|
-
{
|
1788
|
-
"internalType": "uint8",
|
1789
|
-
"name": "openPayoutsCount",
|
1790
|
-
"type": "uint8"
|
1791
|
-
},
|
1792
|
-
{
|
1793
|
-
"internalType": "bytes",
|
1794
|
-
"name": "data",
|
1795
|
-
"type": "bytes"
|
1796
|
-
},
|
1797
|
-
{
|
1798
|
-
"internalType": "Timestamp",
|
1799
|
-
"name": "closedAt",
|
1800
|
-
"type": "uint40"
|
1801
|
-
}
|
1802
|
-
],
|
1803
|
-
"internalType": "struct IPolicy.ClaimInfo",
|
1804
|
-
"name": "claim",
|
1805
|
-
"type": "tuple"
|
1806
|
-
},
|
765
|
+
"inputs": [],
|
766
|
+
"name": "getRiskSet",
|
767
|
+
"outputs": [
|
1807
768
|
{
|
1808
|
-
"internalType": "
|
1809
|
-
"name": "
|
1810
|
-
"type": "
|
769
|
+
"internalType": "contract RiskSet",
|
770
|
+
"name": "",
|
771
|
+
"type": "address"
|
1811
772
|
}
|
1812
773
|
],
|
1813
|
-
"
|
1814
|
-
"outputs": [],
|
1815
|
-
"stateMutability": "nonpayable",
|
774
|
+
"stateMutability": "view",
|
1816
775
|
"type": "function"
|
1817
776
|
},
|
1818
777
|
{
|
1819
778
|
"inputs": [
|
1820
779
|
{
|
1821
|
-
"internalType": "
|
1822
|
-
"name": "
|
1823
|
-
"type": "
|
1824
|
-
},
|
1825
|
-
{
|
1826
|
-
"internalType": "ClaimId",
|
1827
|
-
"name": "claimId",
|
1828
|
-
"type": "uint16"
|
780
|
+
"internalType": "RoleId",
|
781
|
+
"name": "roleId",
|
782
|
+
"type": "uint64"
|
1829
783
|
},
|
1830
784
|
{
|
1831
|
-
"internalType": "
|
1832
|
-
"name": "
|
1833
|
-
"type": "
|
785
|
+
"internalType": "address",
|
786
|
+
"name": "account",
|
787
|
+
"type": "address"
|
1834
788
|
}
|
1835
789
|
],
|
1836
|
-
"name": "
|
790
|
+
"name": "grantRole",
|
1837
791
|
"outputs": [],
|
1838
792
|
"stateMutability": "nonpayable",
|
1839
793
|
"type": "function"
|
1840
794
|
},
|
1841
795
|
{
|
1842
|
-
"inputs": [
|
1843
|
-
|
1844
|
-
|
1845
|
-
"name": "distributionNftId",
|
1846
|
-
"type": "uint96"
|
1847
|
-
},
|
1848
|
-
{
|
1849
|
-
"components": [
|
1850
|
-
{
|
1851
|
-
"internalType": "NftId",
|
1852
|
-
"name": "productNftId",
|
1853
|
-
"type": "uint96"
|
1854
|
-
},
|
1855
|
-
{
|
1856
|
-
"internalType": "contract TokenHandler",
|
1857
|
-
"name": "tokenHandler",
|
1858
|
-
"type": "address"
|
1859
|
-
},
|
1860
|
-
{
|
1861
|
-
"components": [
|
1862
|
-
{
|
1863
|
-
"internalType": "UFixed",
|
1864
|
-
"name": "fractionalFee",
|
1865
|
-
"type": "uint256"
|
1866
|
-
},
|
1867
|
-
{
|
1868
|
-
"internalType": "uint256",
|
1869
|
-
"name": "fixedFee",
|
1870
|
-
"type": "uint256"
|
1871
|
-
}
|
1872
|
-
],
|
1873
|
-
"internalType": "struct Fee",
|
1874
|
-
"name": "minDistributionOwnerFee",
|
1875
|
-
"type": "tuple"
|
1876
|
-
},
|
1877
|
-
{
|
1878
|
-
"components": [
|
1879
|
-
{
|
1880
|
-
"internalType": "UFixed",
|
1881
|
-
"name": "fractionalFee",
|
1882
|
-
"type": "uint256"
|
1883
|
-
},
|
1884
|
-
{
|
1885
|
-
"internalType": "uint256",
|
1886
|
-
"name": "fixedFee",
|
1887
|
-
"type": "uint256"
|
1888
|
-
}
|
1889
|
-
],
|
1890
|
-
"internalType": "struct Fee",
|
1891
|
-
"name": "distributionFee",
|
1892
|
-
"type": "tuple"
|
1893
|
-
},
|
1894
|
-
{
|
1895
|
-
"internalType": "address",
|
1896
|
-
"name": "wallet",
|
1897
|
-
"type": "address"
|
1898
|
-
},
|
1899
|
-
{
|
1900
|
-
"internalType": "uint256",
|
1901
|
-
"name": "sumDistributionOwnerFees",
|
1902
|
-
"type": "uint256"
|
1903
|
-
}
|
1904
|
-
],
|
1905
|
-
"internalType": "struct ISetup.DistributionSetupInfo",
|
1906
|
-
"name": "setup",
|
1907
|
-
"type": "tuple"
|
1908
|
-
},
|
796
|
+
"inputs": [],
|
797
|
+
"name": "isActive",
|
798
|
+
"outputs": [
|
1909
799
|
{
|
1910
|
-
"internalType": "
|
1911
|
-
"name": "
|
1912
|
-
"type": "
|
800
|
+
"internalType": "bool",
|
801
|
+
"name": "active",
|
802
|
+
"type": "bool"
|
1913
803
|
}
|
1914
804
|
],
|
1915
|
-
"
|
1916
|
-
"outputs": [],
|
1917
|
-
"stateMutability": "nonpayable",
|
805
|
+
"stateMutability": "view",
|
1918
806
|
"type": "function"
|
1919
807
|
},
|
1920
808
|
{
|
1921
|
-
"inputs": [
|
809
|
+
"inputs": [],
|
810
|
+
"name": "isConsumingScheduledOp",
|
811
|
+
"outputs": [
|
1922
812
|
{
|
1923
|
-
"internalType": "
|
1924
|
-
"name": "
|
1925
|
-
"type": "
|
1926
|
-
}
|
813
|
+
"internalType": "bytes4",
|
814
|
+
"name": "",
|
815
|
+
"type": "bytes4"
|
816
|
+
}
|
817
|
+
],
|
818
|
+
"stateMutability": "view",
|
819
|
+
"type": "function"
|
820
|
+
},
|
821
|
+
{
|
822
|
+
"inputs": [],
|
823
|
+
"name": "isInstanceLocked",
|
824
|
+
"outputs": [
|
1927
825
|
{
|
1928
|
-
"internalType": "
|
1929
|
-
"name": "
|
1930
|
-
"type": "
|
826
|
+
"internalType": "bool",
|
827
|
+
"name": "isLocked",
|
828
|
+
"type": "bool"
|
1931
829
|
}
|
1932
830
|
],
|
1933
|
-
"
|
1934
|
-
"outputs": [],
|
1935
|
-
"stateMutability": "nonpayable",
|
831
|
+
"stateMutability": "view",
|
1936
832
|
"type": "function"
|
1937
833
|
},
|
1938
834
|
{
|
1939
835
|
"inputs": [
|
1940
836
|
{
|
1941
|
-
"internalType": "
|
1942
|
-
"name": "
|
1943
|
-
"type": "
|
1944
|
-
}
|
837
|
+
"internalType": "address",
|
838
|
+
"name": "target",
|
839
|
+
"type": "address"
|
840
|
+
}
|
841
|
+
],
|
842
|
+
"name": "isTargetLocked",
|
843
|
+
"outputs": [
|
1945
844
|
{
|
1946
|
-
"
|
1947
|
-
|
1948
|
-
|
1949
|
-
|
1950
|
-
|
1951
|
-
|
1952
|
-
|
1953
|
-
|
1954
|
-
|
1955
|
-
|
1956
|
-
|
1957
|
-
|
1958
|
-
"internalType": "bytes",
|
1959
|
-
"name": "data",
|
1960
|
-
"type": "bytes"
|
1961
|
-
},
|
1962
|
-
{
|
1963
|
-
"internalType": "uint256",
|
1964
|
-
"name": "sumCommisions",
|
1965
|
-
"type": "uint256"
|
1966
|
-
},
|
1967
|
-
{
|
1968
|
-
"internalType": "uint256",
|
1969
|
-
"name": "numPoliciesSold",
|
1970
|
-
"type": "uint256"
|
1971
|
-
}
|
1972
|
-
],
|
1973
|
-
"internalType": "struct IDistribution.DistributorInfo",
|
1974
|
-
"name": "info",
|
1975
|
-
"type": "tuple"
|
1976
|
-
},
|
845
|
+
"internalType": "bool",
|
846
|
+
"name": "isLocked",
|
847
|
+
"type": "bool"
|
848
|
+
}
|
849
|
+
],
|
850
|
+
"stateMutability": "view",
|
851
|
+
"type": "function"
|
852
|
+
},
|
853
|
+
{
|
854
|
+
"inputs": [],
|
855
|
+
"name": "isTokenRegistryDisabled",
|
856
|
+
"outputs": [
|
1977
857
|
{
|
1978
|
-
"internalType": "
|
1979
|
-
"name": "
|
1980
|
-
"type": "
|
858
|
+
"internalType": "bool",
|
859
|
+
"name": "",
|
860
|
+
"type": "bool"
|
1981
861
|
}
|
1982
862
|
],
|
1983
|
-
"
|
1984
|
-
"outputs": [],
|
1985
|
-
"stateMutability": "nonpayable",
|
863
|
+
"stateMutability": "view",
|
1986
864
|
"type": "function"
|
1987
865
|
},
|
1988
866
|
{
|
1989
|
-
"inputs": [
|
867
|
+
"inputs": [],
|
868
|
+
"name": "linkToRegisteredNftId",
|
869
|
+
"outputs": [
|
1990
870
|
{
|
1991
871
|
"internalType": "NftId",
|
1992
|
-
"name": "
|
872
|
+
"name": "",
|
1993
873
|
"type": "uint96"
|
1994
|
-
},
|
1995
|
-
{
|
1996
|
-
"internalType": "StateId",
|
1997
|
-
"name": "newState",
|
1998
|
-
"type": "uint8"
|
1999
874
|
}
|
2000
875
|
],
|
2001
|
-
"name": "updateDistributorState",
|
2002
|
-
"outputs": [],
|
2003
876
|
"stateMutability": "nonpayable",
|
2004
877
|
"type": "function"
|
2005
878
|
},
|
2006
879
|
{
|
2007
|
-
"inputs": [
|
2008
|
-
|
2009
|
-
|
2010
|
-
"name": "distributorType",
|
2011
|
-
"type": "bytes8"
|
2012
|
-
},
|
2013
|
-
{
|
2014
|
-
"components": [
|
2015
|
-
{
|
2016
|
-
"internalType": "string",
|
2017
|
-
"name": "name",
|
2018
|
-
"type": "string"
|
2019
|
-
},
|
2020
|
-
{
|
2021
|
-
"internalType": "UFixed",
|
2022
|
-
"name": "minDiscountPercentage",
|
2023
|
-
"type": "uint256"
|
2024
|
-
},
|
2025
|
-
{
|
2026
|
-
"internalType": "UFixed",
|
2027
|
-
"name": "maxDiscountPercentage",
|
2028
|
-
"type": "uint256"
|
2029
|
-
},
|
2030
|
-
{
|
2031
|
-
"internalType": "UFixed",
|
2032
|
-
"name": "commissionPercentage",
|
2033
|
-
"type": "uint256"
|
2034
|
-
},
|
2035
|
-
{
|
2036
|
-
"internalType": "uint32",
|
2037
|
-
"name": "maxReferralCount",
|
2038
|
-
"type": "uint32"
|
2039
|
-
},
|
2040
|
-
{
|
2041
|
-
"internalType": "uint32",
|
2042
|
-
"name": "maxReferralLifetime",
|
2043
|
-
"type": "uint32"
|
2044
|
-
},
|
2045
|
-
{
|
2046
|
-
"internalType": "bool",
|
2047
|
-
"name": "allowSelfReferrals",
|
2048
|
-
"type": "bool"
|
2049
|
-
},
|
2050
|
-
{
|
2051
|
-
"internalType": "bool",
|
2052
|
-
"name": "allowRenewals",
|
2053
|
-
"type": "bool"
|
2054
|
-
},
|
2055
|
-
{
|
2056
|
-
"internalType": "bytes",
|
2057
|
-
"name": "data",
|
2058
|
-
"type": "bytes"
|
2059
|
-
}
|
2060
|
-
],
|
2061
|
-
"internalType": "struct IDistribution.DistributorTypeInfo",
|
2062
|
-
"name": "info",
|
2063
|
-
"type": "tuple"
|
2064
|
-
},
|
880
|
+
"inputs": [],
|
881
|
+
"name": "products",
|
882
|
+
"outputs": [
|
2065
883
|
{
|
2066
|
-
"internalType": "
|
2067
|
-
"name": "
|
2068
|
-
"type": "
|
884
|
+
"internalType": "uint256",
|
885
|
+
"name": "productCount",
|
886
|
+
"type": "uint256"
|
2069
887
|
}
|
2070
888
|
],
|
2071
|
-
"
|
2072
|
-
"outputs": [],
|
2073
|
-
"stateMutability": "nonpayable",
|
889
|
+
"stateMutability": "view",
|
2074
890
|
"type": "function"
|
2075
891
|
},
|
2076
892
|
{
|
2077
893
|
"inputs": [
|
2078
894
|
{
|
2079
|
-
"internalType": "
|
2080
|
-
"name": "
|
2081
|
-
"type": "
|
2082
|
-
},
|
2083
|
-
{
|
2084
|
-
"internalType": "StateId",
|
2085
|
-
"name": "newState",
|
2086
|
-
"type": "uint8"
|
895
|
+
"internalType": "Amount",
|
896
|
+
"name": "dipAmount",
|
897
|
+
"type": "uint96"
|
2087
898
|
}
|
2088
899
|
],
|
2089
|
-
"name": "
|
900
|
+
"name": "refillStakingRewardReserves",
|
2090
901
|
"outputs": [],
|
2091
902
|
"stateMutability": "nonpayable",
|
2092
903
|
"type": "function"
|
@@ -2094,72 +905,41 @@
|
|
2094
905
|
{
|
2095
906
|
"inputs": [
|
2096
907
|
{
|
2097
|
-
"internalType": "
|
2098
|
-
"name": "
|
2099
|
-
"type": "
|
2100
|
-
},
|
2101
|
-
{
|
2102
|
-
"internalType": "PayoutId",
|
2103
|
-
"name": "payoutId",
|
2104
|
-
"type": "uint24"
|
2105
|
-
},
|
2106
|
-
{
|
2107
|
-
"components": [
|
2108
|
-
{
|
2109
|
-
"internalType": "ClaimId",
|
2110
|
-
"name": "claimId",
|
2111
|
-
"type": "uint16"
|
2112
|
-
},
|
2113
|
-
{
|
2114
|
-
"internalType": "Amount",
|
2115
|
-
"name": "amount",
|
2116
|
-
"type": "uint96"
|
2117
|
-
},
|
2118
|
-
{
|
2119
|
-
"internalType": "bytes",
|
2120
|
-
"name": "data",
|
2121
|
-
"type": "bytes"
|
2122
|
-
},
|
2123
|
-
{
|
2124
|
-
"internalType": "Timestamp",
|
2125
|
-
"name": "paidAt",
|
2126
|
-
"type": "uint40"
|
2127
|
-
}
|
2128
|
-
],
|
2129
|
-
"internalType": "struct IPolicy.PayoutInfo",
|
2130
|
-
"name": "claim",
|
2131
|
-
"type": "tuple"
|
908
|
+
"internalType": "address",
|
909
|
+
"name": "product",
|
910
|
+
"type": "address"
|
2132
911
|
},
|
2133
912
|
{
|
2134
|
-
"internalType": "
|
2135
|
-
"name": "
|
2136
|
-
"type": "
|
913
|
+
"internalType": "address",
|
914
|
+
"name": "token",
|
915
|
+
"type": "address"
|
916
|
+
}
|
917
|
+
],
|
918
|
+
"name": "registerProduct",
|
919
|
+
"outputs": [
|
920
|
+
{
|
921
|
+
"internalType": "NftId",
|
922
|
+
"name": "productNftId",
|
923
|
+
"type": "uint96"
|
2137
924
|
}
|
2138
925
|
],
|
2139
|
-
"name": "updatePayout",
|
2140
|
-
"outputs": [],
|
2141
926
|
"stateMutability": "nonpayable",
|
2142
927
|
"type": "function"
|
2143
928
|
},
|
2144
929
|
{
|
2145
930
|
"inputs": [
|
2146
931
|
{
|
2147
|
-
"internalType": "
|
2148
|
-
"name": "
|
2149
|
-
"type": "
|
2150
|
-
},
|
2151
|
-
{
|
2152
|
-
"internalType": "PayoutId",
|
2153
|
-
"name": "payoutId",
|
2154
|
-
"type": "uint24"
|
932
|
+
"internalType": "RoleId",
|
933
|
+
"name": "roleId",
|
934
|
+
"type": "uint64"
|
2155
935
|
},
|
2156
936
|
{
|
2157
|
-
"internalType": "
|
2158
|
-
"name": "
|
2159
|
-
"type": "
|
937
|
+
"internalType": "address",
|
938
|
+
"name": "account",
|
939
|
+
"type": "address"
|
2160
940
|
}
|
2161
941
|
],
|
2162
|
-
"name": "
|
942
|
+
"name": "revokeRole",
|
2163
943
|
"outputs": [],
|
2164
944
|
"stateMutability": "nonpayable",
|
2165
945
|
"type": "function"
|
@@ -2167,104 +947,12 @@
|
|
2167
947
|
{
|
2168
948
|
"inputs": [
|
2169
949
|
{
|
2170
|
-
"internalType": "
|
2171
|
-
"name": "
|
2172
|
-
"type": "
|
2173
|
-
},
|
2174
|
-
{
|
2175
|
-
"components": [
|
2176
|
-
{
|
2177
|
-
"internalType": "NftId",
|
2178
|
-
"name": "productNftId",
|
2179
|
-
"type": "uint96"
|
2180
|
-
},
|
2181
|
-
{
|
2182
|
-
"internalType": "NftId",
|
2183
|
-
"name": "bundleNftId",
|
2184
|
-
"type": "uint96"
|
2185
|
-
},
|
2186
|
-
{
|
2187
|
-
"internalType": "ReferralId",
|
2188
|
-
"name": "referralId",
|
2189
|
-
"type": "bytes8"
|
2190
|
-
},
|
2191
|
-
{
|
2192
|
-
"internalType": "RiskId",
|
2193
|
-
"name": "riskId",
|
2194
|
-
"type": "bytes8"
|
2195
|
-
},
|
2196
|
-
{
|
2197
|
-
"internalType": "uint256",
|
2198
|
-
"name": "sumInsuredAmount",
|
2199
|
-
"type": "uint256"
|
2200
|
-
},
|
2201
|
-
{
|
2202
|
-
"internalType": "uint256",
|
2203
|
-
"name": "premiumAmount",
|
2204
|
-
"type": "uint256"
|
2205
|
-
},
|
2206
|
-
{
|
2207
|
-
"internalType": "uint256",
|
2208
|
-
"name": "premiumPaidAmount",
|
2209
|
-
"type": "uint256"
|
2210
|
-
},
|
2211
|
-
{
|
2212
|
-
"internalType": "Seconds",
|
2213
|
-
"name": "lifetime",
|
2214
|
-
"type": "uint40"
|
2215
|
-
},
|
2216
|
-
{
|
2217
|
-
"internalType": "bytes",
|
2218
|
-
"name": "applicationData",
|
2219
|
-
"type": "bytes"
|
2220
|
-
},
|
2221
|
-
{
|
2222
|
-
"internalType": "bytes",
|
2223
|
-
"name": "policyData",
|
2224
|
-
"type": "bytes"
|
2225
|
-
},
|
2226
|
-
{
|
2227
|
-
"internalType": "uint16",
|
2228
|
-
"name": "claimsCount",
|
2229
|
-
"type": "uint16"
|
2230
|
-
},
|
2231
|
-
{
|
2232
|
-
"internalType": "uint16",
|
2233
|
-
"name": "openClaimsCount",
|
2234
|
-
"type": "uint16"
|
2235
|
-
},
|
2236
|
-
{
|
2237
|
-
"internalType": "Amount",
|
2238
|
-
"name": "payoutAmount",
|
2239
|
-
"type": "uint96"
|
2240
|
-
},
|
2241
|
-
{
|
2242
|
-
"internalType": "Timestamp",
|
2243
|
-
"name": "activatedAt",
|
2244
|
-
"type": "uint40"
|
2245
|
-
},
|
2246
|
-
{
|
2247
|
-
"internalType": "Timestamp",
|
2248
|
-
"name": "expiredAt",
|
2249
|
-
"type": "uint40"
|
2250
|
-
},
|
2251
|
-
{
|
2252
|
-
"internalType": "Timestamp",
|
2253
|
-
"name": "closedAt",
|
2254
|
-
"type": "uint40"
|
2255
|
-
}
|
2256
|
-
],
|
2257
|
-
"internalType": "struct IPolicy.PolicyInfo",
|
2258
|
-
"name": "policy",
|
2259
|
-
"type": "tuple"
|
2260
|
-
},
|
2261
|
-
{
|
2262
|
-
"internalType": "StateId",
|
2263
|
-
"name": "newState",
|
2264
|
-
"type": "uint8"
|
950
|
+
"internalType": "address",
|
951
|
+
"name": "",
|
952
|
+
"type": "address"
|
2265
953
|
}
|
2266
954
|
],
|
2267
|
-
"name": "
|
955
|
+
"name": "setAuthority",
|
2268
956
|
"outputs": [],
|
2269
957
|
"stateMutability": "nonpayable",
|
2270
958
|
"type": "function"
|
@@ -2272,17 +960,12 @@
|
|
2272
960
|
{
|
2273
961
|
"inputs": [
|
2274
962
|
{
|
2275
|
-
"internalType": "
|
2276
|
-
"name": "
|
2277
|
-
"type": "
|
2278
|
-
},
|
2279
|
-
{
|
2280
|
-
"internalType": "StateId",
|
2281
|
-
"name": "newState",
|
2282
|
-
"type": "uint8"
|
963
|
+
"internalType": "bool",
|
964
|
+
"name": "locked",
|
965
|
+
"type": "bool"
|
2283
966
|
}
|
2284
967
|
],
|
2285
|
-
"name": "
|
968
|
+
"name": "setInstanceLocked",
|
2286
969
|
"outputs": [],
|
2287
970
|
"stateMutability": "nonpayable",
|
2288
971
|
"type": "function"
|
@@ -2290,59 +973,12 @@
|
|
2290
973
|
{
|
2291
974
|
"inputs": [
|
2292
975
|
{
|
2293
|
-
"internalType": "
|
2294
|
-
"name": "
|
2295
|
-
"type": "
|
2296
|
-
},
|
2297
|
-
{
|
2298
|
-
"components": [
|
2299
|
-
{
|
2300
|
-
"internalType": "string",
|
2301
|
-
"name": "name",
|
2302
|
-
"type": "string"
|
2303
|
-
},
|
2304
|
-
{
|
2305
|
-
"internalType": "contract IERC20Metadata",
|
2306
|
-
"name": "token",
|
2307
|
-
"type": "address"
|
2308
|
-
},
|
2309
|
-
{
|
2310
|
-
"internalType": "contract TokenHandler",
|
2311
|
-
"name": "tokenHandler",
|
2312
|
-
"type": "address"
|
2313
|
-
},
|
2314
|
-
{
|
2315
|
-
"internalType": "address",
|
2316
|
-
"name": "wallet",
|
2317
|
-
"type": "address"
|
2318
|
-
},
|
2319
|
-
{
|
2320
|
-
"internalType": "Amount",
|
2321
|
-
"name": "balanceAmount",
|
2322
|
-
"type": "uint96"
|
2323
|
-
},
|
2324
|
-
{
|
2325
|
-
"internalType": "Amount",
|
2326
|
-
"name": "feeAmount",
|
2327
|
-
"type": "uint96"
|
2328
|
-
},
|
2329
|
-
{
|
2330
|
-
"internalType": "bytes",
|
2331
|
-
"name": "data",
|
2332
|
-
"type": "bytes"
|
2333
|
-
}
|
2334
|
-
],
|
2335
|
-
"internalType": "struct IComponents.ComponentInfo",
|
2336
|
-
"name": "info",
|
2337
|
-
"type": "tuple"
|
2338
|
-
},
|
2339
|
-
{
|
2340
|
-
"internalType": "StateId",
|
2341
|
-
"name": "newState",
|
2342
|
-
"type": "uint8"
|
976
|
+
"internalType": "contract InstanceReader",
|
977
|
+
"name": "instanceReader",
|
978
|
+
"type": "address"
|
2343
979
|
}
|
2344
980
|
],
|
2345
|
-
"name": "
|
981
|
+
"name": "setInstanceReader",
|
2346
982
|
"outputs": [],
|
2347
983
|
"stateMutability": "nonpayable",
|
2348
984
|
"type": "function"
|
@@ -2350,17 +986,17 @@
|
|
2350
986
|
{
|
2351
987
|
"inputs": [
|
2352
988
|
{
|
2353
|
-
"internalType": "
|
2354
|
-
"name": "
|
2355
|
-
"type": "
|
989
|
+
"internalType": "RoleId",
|
990
|
+
"name": "roleId",
|
991
|
+
"type": "uint64"
|
2356
992
|
},
|
2357
993
|
{
|
2358
|
-
"internalType": "
|
2359
|
-
"name": "
|
2360
|
-
"type": "
|
994
|
+
"internalType": "bool",
|
995
|
+
"name": "active",
|
996
|
+
"type": "bool"
|
2361
997
|
}
|
2362
998
|
],
|
2363
|
-
"name": "
|
999
|
+
"name": "setRoleActive",
|
2364
1000
|
"outputs": [],
|
2365
1001
|
"stateMutability": "nonpayable",
|
2366
1002
|
"type": "function"
|
@@ -2368,88 +1004,12 @@
|
|
2368
1004
|
{
|
2369
1005
|
"inputs": [
|
2370
1006
|
{
|
2371
|
-
"internalType": "
|
2372
|
-
"name": "
|
2373
|
-
"type": "
|
2374
|
-
},
|
2375
|
-
{
|
2376
|
-
"components": [
|
2377
|
-
{
|
2378
|
-
"internalType": "contract IERC20Metadata",
|
2379
|
-
"name": "token",
|
2380
|
-
"type": "address"
|
2381
|
-
},
|
2382
|
-
{
|
2383
|
-
"internalType": "contract TokenHandler",
|
2384
|
-
"name": "tokenHandler",
|
2385
|
-
"type": "address"
|
2386
|
-
},
|
2387
|
-
{
|
2388
|
-
"internalType": "NftId",
|
2389
|
-
"name": "distributionNftId",
|
2390
|
-
"type": "uint96"
|
2391
|
-
},
|
2392
|
-
{
|
2393
|
-
"internalType": "NftId",
|
2394
|
-
"name": "poolNftId",
|
2395
|
-
"type": "uint96"
|
2396
|
-
},
|
2397
|
-
{
|
2398
|
-
"components": [
|
2399
|
-
{
|
2400
|
-
"internalType": "UFixed",
|
2401
|
-
"name": "fractionalFee",
|
2402
|
-
"type": "uint256"
|
2403
|
-
},
|
2404
|
-
{
|
2405
|
-
"internalType": "uint256",
|
2406
|
-
"name": "fixedFee",
|
2407
|
-
"type": "uint256"
|
2408
|
-
}
|
2409
|
-
],
|
2410
|
-
"internalType": "struct Fee",
|
2411
|
-
"name": "productFee",
|
2412
|
-
"type": "tuple"
|
2413
|
-
},
|
2414
|
-
{
|
2415
|
-
"components": [
|
2416
|
-
{
|
2417
|
-
"internalType": "UFixed",
|
2418
|
-
"name": "fractionalFee",
|
2419
|
-
"type": "uint256"
|
2420
|
-
},
|
2421
|
-
{
|
2422
|
-
"internalType": "uint256",
|
2423
|
-
"name": "fixedFee",
|
2424
|
-
"type": "uint256"
|
2425
|
-
}
|
2426
|
-
],
|
2427
|
-
"internalType": "struct Fee",
|
2428
|
-
"name": "processingFee",
|
2429
|
-
"type": "tuple"
|
2430
|
-
},
|
2431
|
-
{
|
2432
|
-
"internalType": "bool",
|
2433
|
-
"name": "isIntercepting",
|
2434
|
-
"type": "bool"
|
2435
|
-
},
|
2436
|
-
{
|
2437
|
-
"internalType": "address",
|
2438
|
-
"name": "wallet",
|
2439
|
-
"type": "address"
|
2440
|
-
}
|
2441
|
-
],
|
2442
|
-
"internalType": "struct ISetup.ProductSetupInfo",
|
2443
|
-
"name": "setup",
|
2444
|
-
"type": "tuple"
|
2445
|
-
},
|
2446
|
-
{
|
2447
|
-
"internalType": "StateId",
|
2448
|
-
"name": "newState",
|
2449
|
-
"type": "uint8"
|
1007
|
+
"internalType": "Seconds",
|
1008
|
+
"name": "stakeLockingPeriod",
|
1009
|
+
"type": "uint40"
|
2450
1010
|
}
|
2451
1011
|
],
|
2452
|
-
"name": "
|
1012
|
+
"name": "setStakingLockingPeriod",
|
2453
1013
|
"outputs": [],
|
2454
1014
|
"stateMutability": "nonpayable",
|
2455
1015
|
"type": "function"
|
@@ -2457,17 +1017,12 @@
|
|
2457
1017
|
{
|
2458
1018
|
"inputs": [
|
2459
1019
|
{
|
2460
|
-
"internalType": "
|
2461
|
-
"name": "
|
1020
|
+
"internalType": "Amount",
|
1021
|
+
"name": "maxStakedAmount",
|
2462
1022
|
"type": "uint96"
|
2463
|
-
},
|
2464
|
-
{
|
2465
|
-
"internalType": "StateId",
|
2466
|
-
"name": "newState",
|
2467
|
-
"type": "uint8"
|
2468
1023
|
}
|
2469
1024
|
],
|
2470
|
-
"name": "
|
1025
|
+
"name": "setStakingMaxAmount",
|
2471
1026
|
"outputs": [],
|
2472
1027
|
"stateMutability": "nonpayable",
|
2473
1028
|
"type": "function"
|
@@ -2475,59 +1030,12 @@
|
|
2475
1030
|
{
|
2476
1031
|
"inputs": [
|
2477
1032
|
{
|
2478
|
-
"internalType": "
|
2479
|
-
"name": "
|
2480
|
-
"type": "
|
2481
|
-
},
|
2482
|
-
{
|
2483
|
-
"components": [
|
2484
|
-
{
|
2485
|
-
"internalType": "NftId",
|
2486
|
-
"name": "distributorNftId",
|
2487
|
-
"type": "uint96"
|
2488
|
-
},
|
2489
|
-
{
|
2490
|
-
"internalType": "string",
|
2491
|
-
"name": "referralCode",
|
2492
|
-
"type": "string"
|
2493
|
-
},
|
2494
|
-
{
|
2495
|
-
"internalType": "UFixed",
|
2496
|
-
"name": "discountPercentage",
|
2497
|
-
"type": "uint256"
|
2498
|
-
},
|
2499
|
-
{
|
2500
|
-
"internalType": "uint32",
|
2501
|
-
"name": "maxReferrals",
|
2502
|
-
"type": "uint32"
|
2503
|
-
},
|
2504
|
-
{
|
2505
|
-
"internalType": "uint32",
|
2506
|
-
"name": "usedReferrals",
|
2507
|
-
"type": "uint32"
|
2508
|
-
},
|
2509
|
-
{
|
2510
|
-
"internalType": "Timestamp",
|
2511
|
-
"name": "expiryAt",
|
2512
|
-
"type": "uint40"
|
2513
|
-
},
|
2514
|
-
{
|
2515
|
-
"internalType": "bytes",
|
2516
|
-
"name": "data",
|
2517
|
-
"type": "bytes"
|
2518
|
-
}
|
2519
|
-
],
|
2520
|
-
"internalType": "struct IDistribution.ReferralInfo",
|
2521
|
-
"name": "referralInfo",
|
2522
|
-
"type": "tuple"
|
2523
|
-
},
|
2524
|
-
{
|
2525
|
-
"internalType": "StateId",
|
2526
|
-
"name": "newState",
|
2527
|
-
"type": "uint8"
|
1033
|
+
"internalType": "UFixed",
|
1034
|
+
"name": "rewardRate",
|
1035
|
+
"type": "uint160"
|
2528
1036
|
}
|
2529
1037
|
],
|
2530
|
-
"name": "
|
1038
|
+
"name": "setStakingRewardRate",
|
2531
1039
|
"outputs": [],
|
2532
1040
|
"stateMutability": "nonpayable",
|
2533
1041
|
"type": "function"
|
@@ -2535,17 +1043,17 @@
|
|
2535
1043
|
{
|
2536
1044
|
"inputs": [
|
2537
1045
|
{
|
2538
|
-
"internalType": "
|
2539
|
-
"name": "
|
2540
|
-
"type": "
|
1046
|
+
"internalType": "address",
|
1047
|
+
"name": "target",
|
1048
|
+
"type": "address"
|
2541
1049
|
},
|
2542
1050
|
{
|
2543
|
-
"internalType": "
|
2544
|
-
"name": "
|
2545
|
-
"type": "
|
1051
|
+
"internalType": "bool",
|
1052
|
+
"name": "locked",
|
1053
|
+
"type": "bool"
|
2546
1054
|
}
|
2547
1055
|
],
|
2548
|
-
"name": "
|
1056
|
+
"name": "setTargetLocked",
|
2549
1057
|
"outputs": [],
|
2550
1058
|
"stateMutability": "nonpayable",
|
2551
1059
|
"type": "function"
|
@@ -2553,34 +1061,60 @@
|
|
2553
1061
|
{
|
2554
1062
|
"inputs": [
|
2555
1063
|
{
|
2556
|
-
"internalType": "
|
2557
|
-
"name": "
|
2558
|
-
"type": "
|
1064
|
+
"internalType": "bytes4",
|
1065
|
+
"name": "interfaceId",
|
1066
|
+
"type": "bytes4"
|
1067
|
+
}
|
1068
|
+
],
|
1069
|
+
"name": "supportsInterface",
|
1070
|
+
"outputs": [
|
1071
|
+
{
|
1072
|
+
"internalType": "bool",
|
1073
|
+
"name": "",
|
1074
|
+
"type": "bool"
|
1075
|
+
}
|
1076
|
+
],
|
1077
|
+
"stateMutability": "view",
|
1078
|
+
"type": "function"
|
1079
|
+
},
|
1080
|
+
{
|
1081
|
+
"inputs": [
|
1082
|
+
{
|
1083
|
+
"internalType": "address",
|
1084
|
+
"name": "target",
|
1085
|
+
"type": "address"
|
2559
1086
|
},
|
2560
1087
|
{
|
2561
1088
|
"components": [
|
2562
1089
|
{
|
2563
|
-
"internalType": "
|
2564
|
-
"name": "
|
2565
|
-
"type": "
|
1090
|
+
"internalType": "Str",
|
1091
|
+
"name": "name",
|
1092
|
+
"type": "bytes32"
|
2566
1093
|
},
|
2567
1094
|
{
|
2568
|
-
"internalType": "
|
2569
|
-
"name": "
|
2570
|
-
"type": "
|
1095
|
+
"internalType": "Selector",
|
1096
|
+
"name": "selector",
|
1097
|
+
"type": "bytes4"
|
1098
|
+
},
|
1099
|
+
{
|
1100
|
+
"internalType": "Timestamp",
|
1101
|
+
"name": "createdAt",
|
1102
|
+
"type": "uint40"
|
2571
1103
|
}
|
2572
1104
|
],
|
2573
|
-
"internalType": "struct
|
2574
|
-
"name": "
|
2575
|
-
"type": "tuple"
|
2576
|
-
},
|
2577
|
-
{
|
2578
|
-
"internalType": "StateId",
|
2579
|
-
"name": "newState",
|
2580
|
-
"type": "uint8"
|
1105
|
+
"internalType": "struct IAccess.FunctionInfo[]",
|
1106
|
+
"name": "functions",
|
1107
|
+
"type": "tuple[]"
|
2581
1108
|
}
|
2582
1109
|
],
|
2583
|
-
"name": "
|
1110
|
+
"name": "unauthorizeFunctions",
|
1111
|
+
"outputs": [],
|
1112
|
+
"stateMutability": "nonpayable",
|
1113
|
+
"type": "function"
|
1114
|
+
},
|
1115
|
+
{
|
1116
|
+
"inputs": [],
|
1117
|
+
"name": "upgradeInstanceReader",
|
2584
1118
|
"outputs": [],
|
2585
1119
|
"stateMutability": "nonpayable",
|
2586
1120
|
"type": "function"
|
@@ -2588,18 +1122,19 @@
|
|
2588
1122
|
{
|
2589
1123
|
"inputs": [
|
2590
1124
|
{
|
2591
|
-
"internalType": "
|
2592
|
-
"name": "
|
2593
|
-
"type": "
|
2594
|
-
}
|
1125
|
+
"internalType": "Amount",
|
1126
|
+
"name": "dipAmount",
|
1127
|
+
"type": "uint96"
|
1128
|
+
}
|
1129
|
+
],
|
1130
|
+
"name": "withdrawStakingRewardReserves",
|
1131
|
+
"outputs": [
|
2595
1132
|
{
|
2596
|
-
"internalType": "
|
2597
|
-
"name": "
|
2598
|
-
"type": "
|
1133
|
+
"internalType": "Amount",
|
1134
|
+
"name": "newBalance",
|
1135
|
+
"type": "uint96"
|
2599
1136
|
}
|
2600
1137
|
],
|
2601
|
-
"name": "updateRiskState",
|
2602
|
-
"outputs": [],
|
2603
1138
|
"stateMutability": "nonpayable",
|
2604
1139
|
"type": "function"
|
2605
1140
|
}
|