@etherisc/gif-next 0.0.2-def25d4-556 → 0.0.2-dfb8aa3-070
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +121 -18
- package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.dbg.json +4 -0
- package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.json +1293 -0
- package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.dbg.json +4 -0
- package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.json +1206 -0
- package/artifacts/contracts/authorization/Authorization.sol/Authorization.dbg.json +4 -0
- package/artifacts/contracts/authorization/Authorization.sol/Authorization.json +414 -0
- package/artifacts/contracts/authorization/IAccess.sol/IAccess.dbg.json +4 -0
- package/artifacts/contracts/{instance/module/ISetup.sol/ISetup.json → authorization/IAccess.sol/IAccess.json} +2 -2
- package/artifacts/contracts/authorization/IAccessAdmin.sol/IAccessAdmin.dbg.json +4 -0
- package/artifacts/contracts/authorization/IAccessAdmin.sol/IAccessAdmin.json +1060 -0
- package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.dbg.json +4 -0
- package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.json +295 -0
- package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.dbg.json +4 -0
- package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.json +167 -0
- package/artifacts/contracts/authorization/ReleaseAccessManager.sol/ReleaseAccessManager.dbg.json +4 -0
- package/artifacts/contracts/{instance/IAccessManagerSimple.sol/IAccessManagerSimple.json → authorization/ReleaseAccessManager.sol/ReleaseAccessManager.json} +125 -11
- package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.dbg.json +4 -0
- package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.json +253 -0
- package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.dbg.json +4 -0
- package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.json +1402 -0
- package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.dbg.json +4 -0
- package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.json +470 -0
- package/artifacts/contracts/distribution/Distribution.sol/Distribution.dbg.json +4 -0
- package/artifacts/contracts/distribution/Distribution.sol/Distribution.json +1048 -0
- package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.dbg.json +4 -0
- package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.json +1455 -0
- package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +4 -0
- package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.json +838 -0
- package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.dbg.json +4 -0
- package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.json +929 -0
- package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.dbg.json +4 -0
- package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.json +961 -0
- package/artifacts/contracts/examples/fire/DamageLevel.sol/DamageLevelLib.dbg.json +4 -0
- package/artifacts/contracts/examples/fire/DamageLevel.sol/DamageLevelLib.json +22 -0
- package/artifacts/contracts/examples/fire/FirePool.sol/FirePool.dbg.json +4 -0
- package/artifacts/contracts/examples/fire/FirePool.sol/FirePool.json +1538 -0
- package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.dbg.json +4 -0
- package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.json +470 -0
- package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.dbg.json +4 -0
- package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.json +2072 -0
- package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.dbg.json +4 -0
- package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.json +470 -0
- package/artifacts/contracts/examples/fire/FireUSD.sol/FireUSD.dbg.json +4 -0
- package/artifacts/contracts/examples/fire/FireUSD.sol/FireUSD.json +376 -0
- package/artifacts/contracts/examples/unpermissioned/SimpleDistribution.sol/SimpleDistribution.dbg.json +4 -0
- package/artifacts/contracts/examples/unpermissioned/SimpleDistribution.sol/SimpleDistribution.json +1471 -0
- package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.dbg.json +4 -0
- package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.json +1231 -0
- package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.dbg.json +4 -0
- package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.json +1592 -0
- package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.dbg.json +4 -0
- package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.json +2095 -0
- package/artifacts/contracts/instance/BundleSet.sol/BundleSet.dbg.json +4 -0
- package/artifacts/contracts/instance/BundleSet.sol/BundleSet.json +703 -0
- package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
- package/artifacts/contracts/instance/IInstance.sol/IInstance.json +539 -309
- package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
- package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +389 -167
- package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
- package/artifacts/contracts/instance/Instance.sol/Instance.json +357 -3036
- package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.dbg.json +4 -0
- package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.json +1653 -0
- package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.dbg.json +4 -0
- package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.json +561 -0
- package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +1114 -339
- package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +471 -327
- package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +347 -97
- package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.dbg.json +4 -0
- package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.json +3678 -0
- package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.dbg.json +4 -0
- package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.json +318 -0
- package/artifacts/contracts/instance/base/Cloneable.sol/Cloneable.dbg.json +4 -0
- package/artifacts/contracts/instance/{AccessManagedSimple.sol/AccessManagedSimple.json → base/Cloneable.sol/Cloneable.json} +38 -2
- package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.dbg.json +4 -0
- package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.json +10 -0
- package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.dbg.json +4 -0
- package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.json +223 -0
- package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.dbg.json +4 -0
- package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.json +181 -0
- package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +1 -1
- package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +30 -112
- package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +1 -1
- package/artifacts/contracts/instance/module/IComponents.sol/IComponents.dbg.json +4 -0
- package/artifacts/contracts/instance/module/{ITreasury.sol/ITreasury.json → IComponents.sol/IComponents.json} +2 -2
- package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +1 -1
- package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +1 -1
- package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +1 -1
- package/artifacts/contracts/mock/Dip.sol/Dip.dbg.json +4 -0
- package/artifacts/contracts/mock/Dip.sol/Dip.json +376 -0
- package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.dbg.json +4 -0
- package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.json +1039 -0
- package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.dbg.json +4 -0
- package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.json +478 -0
- package/artifacts/contracts/oracle/IOracle.sol/IOracle.dbg.json +4 -0
- package/artifacts/contracts/oracle/IOracle.sol/IOracle.json +52 -0
- package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.dbg.json +4 -0
- package/artifacts/contracts/{instance/service/IProductService.sol/IProductService.json → oracle/IOracleComponent.sol/IOracleComponent.json} +405 -368
- package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.dbg.json +4 -0
- package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.json +709 -0
- package/artifacts/contracts/oracle/Oracle.sol/Oracle.dbg.json +4 -0
- package/artifacts/contracts/oracle/Oracle.sol/Oracle.json +907 -0
- package/artifacts/contracts/oracle/OracleService.sol/OracleService.dbg.json +4 -0
- package/artifacts/contracts/oracle/OracleService.sol/OracleService.json +966 -0
- package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.dbg.json +4 -0
- package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.json +722 -0
- package/artifacts/contracts/pool/BasicPool.sol/BasicPool.dbg.json +4 -0
- package/artifacts/contracts/pool/BasicPool.sol/BasicPool.json +1299 -0
- package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.dbg.json +4 -0
- package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.json +470 -0
- package/artifacts/contracts/pool/BundleService.sol/BundleService.dbg.json +4 -0
- package/artifacts/contracts/pool/BundleService.sol/BundleService.json +1465 -0
- package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.dbg.json +4 -0
- package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.json +834 -0
- package/artifacts/contracts/pool/IBundleService.sol/IBundleService.dbg.json +4 -0
- package/artifacts/contracts/pool/IBundleService.sol/IBundleService.json +960 -0
- package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.dbg.json +4 -0
- package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.json +960 -0
- package/artifacts/contracts/pool/IPoolService.sol/IPoolService.dbg.json +4 -0
- package/artifacts/contracts/pool/IPoolService.sol/IPoolService.json +1283 -0
- package/artifacts/contracts/pool/Pool.sol/Pool.dbg.json +4 -0
- package/artifacts/contracts/pool/Pool.sol/Pool.json +1098 -0
- package/artifacts/contracts/pool/PoolService.sol/PoolService.dbg.json +4 -0
- package/artifacts/contracts/pool/PoolService.sol/PoolService.json +1625 -0
- package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.dbg.json +4 -0
- package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.json +766 -0
- package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.dbg.json +4 -0
- package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.json +771 -0
- package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +4 -0
- package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.json +710 -0
- package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.dbg.json +4 -0
- package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.json +1173 -0
- package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.dbg.json +4 -0
- package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.json +470 -0
- package/artifacts/contracts/product/ClaimService.sol/ClaimService.dbg.json +4 -0
- package/artifacts/contracts/product/ClaimService.sol/ClaimService.json +1431 -0
- package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +4 -0
- package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.json +838 -0
- package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.dbg.json +4 -0
- package/artifacts/contracts/{instance/service/IPoolService.sol/IPoolService.json → product/IApplicationService.sol/IApplicationService.json} +241 -256
- package/artifacts/contracts/product/IClaimService.sol/IClaimService.dbg.json +4 -0
- package/artifacts/contracts/product/IClaimService.sol/IClaimService.json +942 -0
- package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.dbg.json +4 -0
- package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.json +925 -0
- package/artifacts/contracts/product/IPricingService.sol/IPricingService.dbg.json +4 -0
- package/artifacts/contracts/product/IPricingService.sol/IPricingService.json +578 -0
- package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.dbg.json +4 -0
- package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.json +1012 -0
- package/artifacts/contracts/product/IRiskService.sol/IRiskService.dbg.json +4 -0
- package/artifacts/contracts/{instance/service/IComponentOwnerService.sol/IComponentOwnerService.json → product/IRiskService.sol/IRiskService.json} +150 -187
- package/artifacts/contracts/product/PolicyService.sol/PolicyService.dbg.json +4 -0
- package/artifacts/contracts/product/PolicyService.sol/PolicyService.json +1302 -0
- package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +4 -0
- package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.json +782 -0
- package/artifacts/contracts/product/PricingService.sol/PricingService.dbg.json +4 -0
- package/artifacts/contracts/product/PricingService.sol/PricingService.json +907 -0
- package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.dbg.json +4 -0
- package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.json +762 -0
- package/artifacts/contracts/product/Product.sol/Product.dbg.json +4 -0
- package/artifacts/contracts/product/Product.sol/Product.json +1131 -0
- package/artifacts/contracts/product/RiskService.sol/RiskService.dbg.json +4 -0
- package/artifacts/contracts/product/RiskService.sol/RiskService.json +622 -0
- package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.dbg.json +4 -0
- package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.json +694 -0
- package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
- package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +72 -16
- package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
- package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +595 -186
- package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
- package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +371 -205
- package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
- package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.json +5 -0
- package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
- package/artifacts/contracts/registry/Registry.sol/Registry.json +921 -213
- package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.dbg.json +4 -0
- package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.json +1886 -0
- package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
- package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +339 -330
- package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
- package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +326 -138
- package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.dbg.json +4 -0
- package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.json +205 -0
- package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.dbg.json +4 -0
- package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.json +1067 -0
- package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.dbg.json +4 -0
- package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.json +272 -0
- package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +1 -1
- package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +351 -100
- package/artifacts/contracts/shared/Component.sol/Component.dbg.json +4 -0
- package/artifacts/contracts/shared/Component.sol/Component.json +725 -0
- package/artifacts/contracts/shared/ComponentService.sol/ComponentService.dbg.json +4 -0
- package/artifacts/contracts/shared/ComponentService.sol/ComponentService.json +1768 -0
- package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.dbg.json +4 -0
- package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.json +814 -0
- package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.dbg.json +4 -0
- package/artifacts/contracts/{instance/base/ComponentServiceBase.sol/ComponentServiceBase.json → shared/ComponentVerifyingService.sol/ComponentVerifyingService.json} +179 -191
- package/artifacts/contracts/shared/ContractLib.sol/ContractLib.dbg.json +4 -0
- package/artifacts/contracts/shared/ContractLib.sol/ContractLib.json +92 -0
- package/artifacts/contracts/shared/IComponent.sol/IComponent.dbg.json +4 -0
- package/artifacts/contracts/{instance/service/IDistributionService.sol/IDistributionService.json → shared/IComponent.sol/IComponent.json} +351 -165
- package/artifacts/contracts/shared/IComponentService.sol/IComponentService.dbg.json +4 -0
- package/artifacts/contracts/shared/IComponentService.sol/IComponentService.json +1335 -0
- package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.dbg.json +4 -0
- package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.json +723 -0
- package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.dbg.json +4 -0
- package/artifacts/contracts/{instance/base → shared}/IKeyValueStore.sol/IKeyValueStore.json +95 -14
- package/artifacts/contracts/shared/ILifecycle.sol/ILifecycle.dbg.json +4 -0
- package/artifacts/contracts/{instance/base → shared}/ILifecycle.sol/ILifecycle.json +35 -4
- package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
- package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +46 -26
- package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +4 -0
- package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.json +175 -0
- package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
- package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +40 -31
- package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +4 -0
- package/artifacts/contracts/{experiment/inheritance/IA.sol/ISharedA.json → shared/IRegistryLinked.sol/IRegistryLinked.json} +15 -17
- package/artifacts/contracts/shared/IService.sol/IService.dbg.json +1 -1
- package/artifacts/contracts/shared/IService.sol/IService.json +119 -165
- 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 +829 -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 +81 -30
- package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +4 -0
- package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +198 -0
- package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
- package/artifacts/contracts/shared/Registerable.sol/Registerable.json +96 -48
- package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +4 -0
- package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +58 -0
- package/artifacts/contracts/shared/Service.sol/Service.dbg.json +1 -1
- package/artifacts/contracts/shared/Service.sol/Service.json +150 -176
- package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
- package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +382 -9
- package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.dbg.json +4 -0
- package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.json +108 -0
- package/artifacts/contracts/staking/IStaking.sol/IStaking.dbg.json +4 -0
- package/artifacts/contracts/staking/IStaking.sol/IStaking.json +1465 -0
- package/artifacts/contracts/staking/IStakingService.sol/IStakingService.dbg.json +4 -0
- package/artifacts/contracts/staking/IStakingService.sol/IStakingService.json +1043 -0
- package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.dbg.json +4 -0
- package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.json +440 -0
- package/artifacts/contracts/staking/Staking.sol/Staking.dbg.json +4 -0
- package/artifacts/contracts/staking/Staking.sol/Staking.json +1888 -0
- package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.dbg.json +4 -0
- package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.json +205 -0
- package/artifacts/contracts/staking/StakingManager.sol/StakingManager.dbg.json +4 -0
- package/artifacts/contracts/staking/StakingManager.sol/StakingManager.json +776 -0
- package/artifacts/contracts/staking/StakingReader.sol/StakingReader.dbg.json +4 -0
- package/artifacts/contracts/staking/StakingReader.sol/StakingReader.json +587 -0
- package/artifacts/contracts/staking/StakingService.sol/StakingService.dbg.json +4 -0
- package/artifacts/contracts/staking/StakingService.sol/StakingService.json +1249 -0
- package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.dbg.json +4 -0
- package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.json +710 -0
- package/artifacts/contracts/staking/StakingStore.sol/StakingStore.dbg.json +4 -0
- package/artifacts/contracts/staking/StakingStore.sol/StakingStore.json +2283 -0
- package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.dbg.json +4 -0
- package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.json +607 -0
- package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.dbg.json +4 -0
- package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.json +10 -0
- package/artifacts/contracts/type/Amount.sol/AmountLib.dbg.json +4 -0
- package/artifacts/contracts/type/Amount.sol/AmountLib.json +398 -0
- package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.dbg.json +4 -0
- package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.json +225 -0
- package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.dbg.json +4 -0
- package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.json +203 -0
- package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.dbg.json +4 -0
- package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.json +104 -0
- package/artifacts/contracts/type/Fee.sol/FeeLib.dbg.json +4 -0
- package/artifacts/contracts/type/Fee.sol/FeeLib.json +317 -0
- package/artifacts/contracts/type/Key32.sol/Key32Lib.dbg.json +4 -0
- package/artifacts/contracts/type/Key32.sol/Key32Lib.json +125 -0
- package/artifacts/contracts/type/NftId.sol/NftIdLib.dbg.json +4 -0
- package/artifacts/contracts/type/NftId.sol/NftIdLib.json +209 -0
- package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.dbg.json +4 -0
- package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.json +33 -0
- package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.dbg.json +4 -0
- package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.json +239 -0
- package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.dbg.json +4 -0
- package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.json +209 -0
- package/artifacts/contracts/type/Referral.sol/ReferralLib.dbg.json +4 -0
- package/artifacts/contracts/type/Referral.sol/ReferralLib.json +142 -0
- package/artifacts/contracts/type/RequestId.sol/RequestIdLib.dbg.json +4 -0
- package/artifacts/contracts/type/RequestId.sol/RequestIdLib.json +204 -0
- package/artifacts/contracts/type/RiskId.sol/RiskIdLib.dbg.json +4 -0
- package/artifacts/contracts/type/RiskId.sol/RiskIdLib.json +142 -0
- package/artifacts/contracts/type/RoleId.sol/RoleIdLib.dbg.json +4 -0
- package/artifacts/contracts/type/RoleId.sol/RoleIdLib.json +369 -0
- package/artifacts/contracts/type/Seconds.sol/SecondsLib.dbg.json +4 -0
- package/artifacts/contracts/type/Seconds.sol/SecondsLib.json +246 -0
- package/artifacts/contracts/type/Selector.sol/SelectorLib.dbg.json +4 -0
- package/artifacts/contracts/type/Selector.sol/SelectorLib.json +129 -0
- package/artifacts/contracts/type/Selector.sol/SelectorSetLib.dbg.json +4 -0
- package/artifacts/contracts/type/Selector.sol/SelectorSetLib.json +10 -0
- package/artifacts/contracts/type/StateId.sol/StateIdLib.dbg.json +4 -0
- package/artifacts/contracts/type/StateId.sol/StateIdLib.json +105 -0
- package/artifacts/contracts/type/String.sol/StrLib.dbg.json +4 -0
- package/artifacts/contracts/type/String.sol/StrLib.json +132 -0
- package/artifacts/contracts/type/Timestamp.sol/TimestampLib.dbg.json +4 -0
- package/artifacts/contracts/type/Timestamp.sol/TimestampLib.json +312 -0
- package/artifacts/contracts/type/UFixed.sol/MathLib.dbg.json +4 -0
- package/artifacts/contracts/type/UFixed.sol/MathLib.json +16 -0
- package/artifacts/contracts/type/UFixed.sol/UFixedLib.dbg.json +4 -0
- package/artifacts/contracts/type/UFixed.sol/UFixedLib.json +548 -0
- package/artifacts/contracts/type/Version.sol/VersionLib.dbg.json +4 -0
- package/artifacts/contracts/type/Version.sol/VersionLib.json +177 -0
- package/artifacts/contracts/type/Version.sol/VersionPartLib.dbg.json +4 -0
- package/artifacts/contracts/type/Version.sol/VersionPartLib.json +68 -0
- package/artifacts/contracts/upgradeability/IVersionable.sol/IVersionable.dbg.json +4 -0
- package/artifacts/contracts/upgradeability/IVersionable.sol/IVersionable.json +55 -0
- package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.dbg.json +4 -0
- package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.json +602 -0
- package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +4 -0
- package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +129 -0
- package/artifacts/contracts/upgradeability/Versionable.sol/Versionable.dbg.json +4 -0
- package/artifacts/contracts/upgradeability/Versionable.sol/Versionable.json +78 -0
- package/contracts/authorization/AccessAdmin.sol +596 -0
- package/contracts/authorization/AccessManagerCloneable.sol +16 -0
- package/contracts/authorization/Authorization.sol +289 -0
- package/contracts/authorization/IAccess.sol +49 -0
- package/contracts/authorization/IAccessAdmin.sol +137 -0
- package/contracts/authorization/IAuthorization.sol +60 -0
- package/contracts/authorization/IServiceAuthorization.sol +40 -0
- package/contracts/authorization/ReleaseAccessManager.sol +38 -0
- package/contracts/authorization/ServiceAuthorization.sol +106 -0
- package/contracts/distribution/BasicDistribution.sol +139 -0
- package/contracts/distribution/BasicDistributionAuthorization.sol +47 -0
- package/contracts/distribution/Distribution.sol +285 -0
- package/contracts/distribution/DistributionService.sol +355 -0
- package/contracts/distribution/DistributionServiceManager.sol +39 -0
- package/contracts/distribution/IDistributionComponent.sol +52 -0
- package/contracts/distribution/IDistributionService.sol +101 -0
- package/contracts/examples/fire/DamageLevel.sol +59 -0
- package/contracts/examples/fire/FirePool.sol +73 -0
- package/contracts/examples/fire/FirePoolAuthorization.sol +34 -0
- package/contracts/examples/fire/FireProduct.sol +415 -0
- package/contracts/examples/fire/FireProductAuthorization.sol +44 -0
- package/contracts/examples/fire/FireUSD.sol +26 -0
- package/contracts/examples/unpermissioned/SimpleDistribution.sol +50 -0
- package/contracts/examples/unpermissioned/SimpleOracle.sol +137 -0
- package/contracts/examples/unpermissioned/SimplePool.sol +76 -0
- package/contracts/examples/unpermissioned/SimpleProduct.sol +351 -0
- package/contracts/instance/BundleSet.sol +126 -0
- package/contracts/instance/IInstance.sol +52 -18
- package/contracts/instance/IInstanceService.sol +58 -16
- package/contracts/instance/Instance.sol +164 -375
- package/contracts/instance/InstanceAdmin.sol +277 -0
- package/contracts/instance/InstanceAuthorizationV3.sol +194 -0
- package/contracts/instance/InstanceReader.sol +279 -74
- package/contracts/instance/InstanceService.sol +354 -113
- package/contracts/instance/InstanceServiceManager.sol +14 -31
- package/contracts/instance/InstanceStore.sol +287 -0
- package/contracts/instance/base/BalanceStore.sol +123 -0
- package/contracts/instance/base/Cloneable.sol +28 -0
- package/contracts/instance/base/ObjectCounter.sol +21 -0
- package/contracts/instance/base/ObjectLifecycle.sol +111 -0
- package/contracts/instance/base/ObjectSet.sol +79 -0
- package/contracts/instance/module/IAccess.sol +29 -21
- package/contracts/instance/module/IBundle.sol +8 -7
- package/contracts/instance/module/IComponents.sol +51 -0
- package/contracts/instance/module/IDistribution.sol +6 -4
- package/contracts/instance/module/IPolicy.sol +58 -19
- package/contracts/instance/module/IRisk.sol +1 -1
- package/contracts/{test/Usdc.sol → mock/Dip.sol} +6 -6
- package/contracts/oracle/BasicOracle.sol +47 -0
- package/contracts/oracle/BasicOracleAuthorization.sol +46 -0
- package/contracts/oracle/IOracle.sol +36 -0
- package/contracts/oracle/IOracleComponent.sol +33 -0
- package/contracts/oracle/IOracleService.sol +66 -0
- package/contracts/oracle/Oracle.sol +156 -0
- package/contracts/oracle/OracleService.sol +291 -0
- package/contracts/oracle/OracleServiceManager.sol +39 -0
- package/contracts/pool/BasicPool.sol +154 -0
- package/contracts/pool/BasicPoolAuthorization.sol +57 -0
- package/contracts/pool/BundleService.sol +493 -0
- package/contracts/pool/BundleServiceManager.sol +39 -0
- package/contracts/pool/IBundleService.sol +143 -0
- package/contracts/pool/IPoolComponent.sol +68 -0
- package/contracts/pool/IPoolService.sol +167 -0
- package/contracts/pool/Pool.sol +335 -0
- package/contracts/pool/PoolService.sol +544 -0
- package/contracts/pool/PoolServiceManager.sol +39 -0
- package/contracts/product/ApplicationService.sol +259 -0
- package/contracts/product/ApplicationServiceManager.sol +38 -0
- package/contracts/product/BasicProduct.sol +53 -0
- package/contracts/product/BasicProductAuthorization.sol +42 -0
- package/contracts/product/ClaimService.sol +612 -0
- package/contracts/product/ClaimServiceManager.sol +38 -0
- package/contracts/product/IApplicationService.sol +63 -0
- package/contracts/product/IClaimService.sol +123 -0
- package/contracts/product/IPolicyService.sol +80 -0
- package/contracts/product/IPricingService.sol +39 -0
- package/contracts/product/IProductComponent.sol +59 -0
- package/contracts/product/IRiskService.sol +33 -0
- package/contracts/product/PolicyService.sol +691 -0
- package/contracts/product/PolicyServiceManager.sol +39 -0
- package/contracts/product/PricingService.sol +300 -0
- package/contracts/product/PricingServiceManager.sol +39 -0
- package/contracts/product/Product.sol +455 -0
- package/contracts/product/RiskService.sol +96 -0
- package/contracts/product/RiskServiceManager.sol +39 -0
- package/contracts/registry/ChainNft.sol +78 -33
- package/contracts/registry/IRegistry.sol +125 -48
- package/contracts/registry/IRegistryService.sol +45 -16
- package/contracts/registry/ITransferInterceptor.sol +1 -1
- package/contracts/registry/Registry.sol +532 -304
- package/contracts/registry/RegistryAdmin.sol +448 -0
- package/contracts/registry/RegistryService.sol +126 -284
- package/contracts/registry/RegistryServiceManager.sol +26 -53
- package/contracts/registry/ReleaseLifecycle.sol +30 -0
- package/contracts/registry/ReleaseRegistry.sol +501 -0
- package/contracts/registry/ServiceAuthorizationV3.sol +194 -0
- package/contracts/registry/TokenRegistry.sol +261 -57
- package/contracts/shared/Component.sol +265 -0
- package/contracts/shared/ComponentService.sol +745 -0
- package/contracts/shared/ComponentServiceManager.sol +38 -0
- package/contracts/shared/ComponentVerifyingService.sol +126 -0
- package/contracts/shared/ContractLib.sol +38 -0
- package/contracts/shared/IComponent.sol +74 -0
- package/contracts/shared/IComponentService.sol +120 -0
- package/contracts/shared/IInstanceLinkedComponent.sol +41 -0
- package/contracts/{instance/base → shared}/IKeyValueStore.sol +16 -11
- package/contracts/{instance/base → shared}/ILifecycle.sol +5 -4
- package/contracts/shared/INftOwnable.sol +15 -12
- package/contracts/shared/IPolicyHolder.sol +35 -0
- package/contracts/shared/IRegisterable.sol +15 -6
- package/contracts/shared/IRegistryLinked.sol +11 -0
- package/contracts/shared/IService.sol +16 -6
- package/contracts/shared/InitializableERC165.sol +27 -0
- package/contracts/shared/InstanceLinkedComponent.sol +213 -0
- package/contracts/shared/KeyValueStore.sol +131 -0
- package/contracts/shared/Lifecycle.sol +88 -0
- package/contracts/shared/NftIdSet.sol +65 -0
- package/contracts/shared/NftOwnable.sol +75 -84
- package/contracts/shared/PolicyHolder.sol +62 -0
- package/contracts/shared/Registerable.sol +34 -39
- package/contracts/shared/RegistryLinked.sol +44 -0
- package/contracts/shared/Service.sol +61 -31
- package/contracts/shared/TokenHandler.sol +122 -10
- package/contracts/shared/TokenHandlerDeployerLib.sol +12 -0
- package/contracts/staking/IStaking.sol +168 -0
- package/contracts/staking/IStakingService.sol +157 -0
- package/contracts/staking/StakeManagerLib.sol +224 -0
- package/contracts/staking/Staking.sol +497 -0
- package/contracts/staking/StakingLifecycle.sol +23 -0
- package/contracts/staking/StakingManager.sol +52 -0
- package/contracts/staking/StakingReader.sol +190 -0
- package/contracts/staking/StakingService.sol +407 -0
- package/contracts/staking/StakingServiceManager.sol +44 -0
- package/contracts/staking/StakingStore.sol +605 -0
- package/contracts/staking/TargetManagerLib.sol +211 -0
- package/contracts/{types → type}/AddressSet.sol +1 -1
- package/contracts/type/Amount.sol +150 -0
- package/contracts/{types → type}/Blocknumber.sol +27 -3
- package/contracts/type/ClaimId.sol +80 -0
- package/contracts/{types → type}/DistributorType.sol +2 -2
- package/contracts/{types → type}/Fee.sol +33 -23
- package/contracts/{types → type}/NftId.sol +22 -15
- package/contracts/type/NftIdSet.sol +62 -0
- package/contracts/type/ObjectType.sol +276 -0
- package/contracts/type/PayoutId.sol +82 -0
- package/contracts/{types → type}/Referral.sol +6 -1
- package/contracts/type/RequestId.sol +75 -0
- package/contracts/{types → type}/RiskId.sol +16 -2
- package/contracts/type/RoleId.sol +162 -0
- package/contracts/type/Seconds.sol +101 -0
- package/contracts/type/Selector.sol +102 -0
- package/contracts/{types → type}/StateId.sol +48 -4
- package/contracts/type/String.sol +53 -0
- package/contracts/{types → type}/Timestamp.sol +34 -15
- package/contracts/{types → type}/UFixed.sol +39 -9
- package/contracts/{types → type}/Version.sol +5 -2
- package/contracts/{shared → upgradeability}/IVersionable.sol +5 -48
- package/contracts/upgradeability/ProxyManager.sol +232 -0
- package/contracts/{shared → upgradeability}/UpgradableProxyWithAdmin.sol +1 -3
- package/contracts/upgradeability/Versionable.sol +59 -0
- package/package.json +11 -7
- package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.dbg.json +0 -4
- package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.json +0 -327
- package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +0 -4
- package/artifacts/contracts/components/Distribution.sol/Distribution.json +0 -670
- package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.dbg.json +0 -4
- package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.json +0 -280
- package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +0 -4
- package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.json +0 -204
- package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +0 -4
- package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.json +0 -249
- package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +0 -4
- package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.json +0 -157
- package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +0 -4
- package/artifacts/contracts/components/Pool.sol/Pool.json +0 -790
- package/artifacts/contracts/components/Product.sol/Product.dbg.json +0 -4
- package/artifacts/contracts/components/Product.sol/Product.json +0 -775
- package/artifacts/contracts/experiment/cloning/Cloner.sol/Cloner.dbg.json +0 -4
- package/artifacts/contracts/experiment/cloning/Cloner.sol/Cloner.json +0 -66
- package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock1.dbg.json +0 -4
- package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock1.json +0 -24
- package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock2.dbg.json +0 -4
- package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock2.json +0 -42
- package/artifacts/contracts/experiment/errors/Require.sol/Require.dbg.json +0 -4
- package/artifacts/contracts/experiment/errors/Require.sol/Require.json +0 -105
- package/artifacts/contracts/experiment/errors/Revert.sol/Revert.dbg.json +0 -4
- package/artifacts/contracts/experiment/errors/Revert.sol/Revert.json +0 -105
- package/artifacts/contracts/experiment/inheritance/A.sol/A.dbg.json +0 -4
- package/artifacts/contracts/experiment/inheritance/A.sol/A.json +0 -128
- package/artifacts/contracts/experiment/inheritance/A.sol/AShared.dbg.json +0 -4
- package/artifacts/contracts/experiment/inheritance/A.sol/AShared.json +0 -42
- package/artifacts/contracts/experiment/inheritance/B.sol/B.dbg.json +0 -4
- package/artifacts/contracts/experiment/inheritance/B.sol/B.json +0 -76
- package/artifacts/contracts/experiment/inheritance/C.sol/C.dbg.json +0 -4
- package/artifacts/contracts/experiment/inheritance/C.sol/C.json +0 -89
- package/artifacts/contracts/experiment/inheritance/IA.sol/IA.dbg.json +0 -4
- package/artifacts/contracts/experiment/inheritance/IA.sol/IA.json +0 -128
- package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.dbg.json +0 -4
- package/artifacts/contracts/experiment/inheritance/IB.sol/IB.dbg.json +0 -4
- package/artifacts/contracts/experiment/inheritance/IB.sol/IB.json +0 -50
- package/artifacts/contracts/experiment/inheritance/IC.sol/IC.dbg.json +0 -4
- package/artifacts/contracts/experiment/inheritance/IC.sol/IC.json +0 -63
- package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.dbg.json +0 -4
- package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.json +0 -59
- package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.dbg.json +0 -4
- package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.json +0 -124
- package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.dbg.json +0 -4
- package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.json +0 -74
- package/artifacts/contracts/experiment/statemachine/SM.sol/SM.dbg.json +0 -4
- package/artifacts/contracts/experiment/statemachine/SM.sol/SM.json +0 -124
- package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.dbg.json +0 -4
- package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.json +0 -207
- package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.dbg.json +0 -4
- package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.json +0 -10
- package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.dbg.json +0 -4
- package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.json +0 -10
- package/artifacts/contracts/instance/AccessManagedSimple.sol/AccessManagedSimple.dbg.json +0 -4
- package/artifacts/contracts/instance/AccessManagerSimple.sol/AccessManagerSimple.dbg.json +0 -4
- package/artifacts/contracts/instance/AccessManagerSimple.sol/AccessManagerSimple.json +0 -1132
- package/artifacts/contracts/instance/IAccessManagerSimple.sol/IAccessManagerSimple.dbg.json +0 -4
- package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +0 -4
- package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +0 -917
- package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.dbg.json +0 -4
- package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.dbg.json +0 -4
- package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.json +0 -113
- 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 -502
- package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +0 -4
- package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +0 -169
- 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/service/ComponentOwnerService.sol/ComponentOwnerService.dbg.json +0 -4
- package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.json +0 -827
- package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +0 -4
- package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +0 -657
- package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +0 -4
- package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.json +0 -436
- package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.dbg.json +0 -4
- package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.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/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 -35
- package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +0 -4
- package/artifacts/contracts/shared/IVersionable.sol/IVersionable.json +0 -205
- package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +0 -4
- package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +0 -349
- package/artifacts/contracts/shared/RegisterableUpgradable.sol/RegisterableUpgradable.dbg.json +0 -4
- package/artifacts/contracts/shared/RegisterableUpgradable.sol/RegisterableUpgradable.json +0 -442
- 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/shared/Versionable.sol/Versionable.json +0 -228
- 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 -305
- 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 -600
- 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 -286
- 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/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/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 -257
- 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 -153
- package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +0 -4
- package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.json +0 -10
- 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/Referral.sol/ReferralLib.dbg.json +0 -4
- package/artifacts/contracts/types/Referral.sol/ReferralLib.json +0 -123
- 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/StateId.sol/StateIdLib.dbg.json +0 -4
- package/artifacts/contracts/types/StateId.sol/StateIdLib.json +0 -92
- package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +0 -4
- package/artifacts/contracts/types/Timestamp.sol/TimestampLib.json +0 -249
- 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/BaseComponent.sol +0 -91
- package/contracts/components/Distribution.sol +0 -166
- package/contracts/components/IBaseComponent.sol +0 -25
- package/contracts/components/IDistributionComponent.sol +0 -46
- package/contracts/components/IPoolComponent.sol +0 -62
- package/contracts/components/IProductComponent.sol +0 -35
- package/contracts/components/Pool.sol +0 -258
- package/contracts/components/Product.sol +0 -297
- package/contracts/experiment/cloning/Cloner.sol +0 -47
- package/contracts/experiment/errors/Require.sol +0 -38
- package/contracts/experiment/errors/Revert.sol +0 -44
- package/contracts/experiment/inheritance/A.sol +0 -53
- package/contracts/experiment/inheritance/B.sol +0 -28
- package/contracts/experiment/inheritance/C.sol +0 -34
- package/contracts/experiment/inheritance/IA.sol +0 -13
- package/contracts/experiment/inheritance/IB.sol +0 -10
- package/contracts/experiment/inheritance/IC.sol +0 -12
- package/contracts/experiment/statemachine/Dummy.sol +0 -27
- package/contracts/experiment/statemachine/ISM.sol +0 -25
- package/contracts/experiment/statemachine/SM.sol +0 -57
- package/contracts/experiment/statemachine/SimpleStateMachine.sol +0 -31
- package/contracts/experiment/types/TypeA.sol +0 -47
- package/contracts/experiment/types/TypeB.sol +0 -29
- package/contracts/instance/AccessManagedSimple.sol +0 -115
- package/contracts/instance/AccessManagerSimple.sol +0 -692
- package/contracts/instance/IAccessManagerSimple.sol +0 -391
- package/contracts/instance/InstanceAccessManager.sol +0 -288
- package/contracts/instance/base/ComponentServiceBase.sol +0 -41
- package/contracts/instance/base/IInstanceBase.sol +0 -23
- package/contracts/instance/base/KeyValueStore.sol +0 -172
- package/contracts/instance/base/Lifecycle.sol +0 -100
- package/contracts/instance/module/ISetup.sol +0 -43
- package/contracts/instance/module/ITreasury.sol +0 -23
- package/contracts/instance/service/ComponentOwnerService.sol +0 -317
- package/contracts/instance/service/DistributionService.sol +0 -105
- package/contracts/instance/service/DistributionServiceManager.sol +0 -53
- package/contracts/instance/service/IComponentOwnerService.sol +0 -20
- package/contracts/instance/service/IDistributionService.sol +0 -12
- package/contracts/instance/service/IPoolService.sol +0 -37
- package/contracts/instance/service/IProductService.sol +0 -107
- package/contracts/shared/ContractDeployerLib.sol +0 -72
- package/contracts/shared/ERC165.sol +0 -25
- package/contracts/shared/ProxyManager.sol +0 -94
- package/contracts/shared/RegisterableUpgradable.sol +0 -16
- package/contracts/shared/Versionable.sol +0 -147
- 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 -24
- package/contracts/test/TestToken.sol +0 -26
- package/contracts/test/TestVersion.sol +0 -44
- package/contracts/test/TestVersionable.sol +0 -17
- package/contracts/types/ChainId.sol +0 -38
- package/contracts/types/NftIdSet.sol +0 -60
- package/contracts/types/NumberId.sol +0 -52
- package/contracts/types/ObjectType.sol +0 -152
- package/contracts/types/RoleId.sol +0 -88
- /package/contracts/{types → type}/Key32.sol +0 -0
@@ -0,0 +1,1173 @@
|
|
1
|
+
{
|
2
|
+
"_format": "hh-sol-artifact-1",
|
3
|
+
"contractName": "BasicProduct",
|
4
|
+
"sourceName": "contracts/product/BasicProduct.sol",
|
5
|
+
"abi": [
|
6
|
+
{
|
7
|
+
"inputs": [
|
8
|
+
{
|
9
|
+
"internalType": "address",
|
10
|
+
"name": "authority",
|
11
|
+
"type": "address"
|
12
|
+
}
|
13
|
+
],
|
14
|
+
"name": "AccessManagedInvalidAuthority",
|
15
|
+
"type": "error"
|
16
|
+
},
|
17
|
+
{
|
18
|
+
"inputs": [
|
19
|
+
{
|
20
|
+
"internalType": "address",
|
21
|
+
"name": "caller",
|
22
|
+
"type": "address"
|
23
|
+
},
|
24
|
+
{
|
25
|
+
"internalType": "uint32",
|
26
|
+
"name": "delay",
|
27
|
+
"type": "uint32"
|
28
|
+
}
|
29
|
+
],
|
30
|
+
"name": "AccessManagedRequiredDelay",
|
31
|
+
"type": "error"
|
32
|
+
},
|
33
|
+
{
|
34
|
+
"inputs": [
|
35
|
+
{
|
36
|
+
"internalType": "address",
|
37
|
+
"name": "caller",
|
38
|
+
"type": "address"
|
39
|
+
}
|
40
|
+
],
|
41
|
+
"name": "AccessManagedUnauthorized",
|
42
|
+
"type": "error"
|
43
|
+
},
|
44
|
+
{
|
45
|
+
"inputs": [],
|
46
|
+
"name": "ErrorComponentNameLengthZero",
|
47
|
+
"type": "error"
|
48
|
+
},
|
49
|
+
{
|
50
|
+
"inputs": [
|
51
|
+
{
|
52
|
+
"internalType": "address",
|
53
|
+
"name": "caller",
|
54
|
+
"type": "address"
|
55
|
+
}
|
56
|
+
],
|
57
|
+
"name": "ErrorComponentNotChainNft",
|
58
|
+
"type": "error"
|
59
|
+
},
|
60
|
+
{
|
61
|
+
"inputs": [],
|
62
|
+
"name": "ErrorComponentProductNftIdNonzero",
|
63
|
+
"type": "error"
|
64
|
+
},
|
65
|
+
{
|
66
|
+
"inputs": [],
|
67
|
+
"name": "ErrorComponentProductNftIdZero",
|
68
|
+
"type": "error"
|
69
|
+
},
|
70
|
+
{
|
71
|
+
"inputs": [],
|
72
|
+
"name": "ErrorComponentTokenAddressNonzero",
|
73
|
+
"type": "error"
|
74
|
+
},
|
75
|
+
{
|
76
|
+
"inputs": [],
|
77
|
+
"name": "ErrorComponentTokenAddressZero",
|
78
|
+
"type": "error"
|
79
|
+
},
|
80
|
+
{
|
81
|
+
"inputs": [],
|
82
|
+
"name": "ErrorComponentWalletAddressIsSameAsCurrent",
|
83
|
+
"type": "error"
|
84
|
+
},
|
85
|
+
{
|
86
|
+
"inputs": [],
|
87
|
+
"name": "ErrorComponentWalletAddressZero",
|
88
|
+
"type": "error"
|
89
|
+
},
|
90
|
+
{
|
91
|
+
"inputs": [],
|
92
|
+
"name": "ErrorComponentWalletNotComponent",
|
93
|
+
"type": "error"
|
94
|
+
},
|
95
|
+
{
|
96
|
+
"inputs": [
|
97
|
+
{
|
98
|
+
"internalType": "NftId",
|
99
|
+
"name": "nftId",
|
100
|
+
"type": "uint96"
|
101
|
+
},
|
102
|
+
{
|
103
|
+
"internalType": "ObjectType",
|
104
|
+
"name": "objectType",
|
105
|
+
"type": "uint8"
|
106
|
+
}
|
107
|
+
],
|
108
|
+
"name": "ErrorInstanceLinkedComponentNotProduct",
|
109
|
+
"type": "error"
|
110
|
+
},
|
111
|
+
{
|
112
|
+
"inputs": [
|
113
|
+
{
|
114
|
+
"internalType": "ObjectType",
|
115
|
+
"name": "requiredType",
|
116
|
+
"type": "uint8"
|
117
|
+
},
|
118
|
+
{
|
119
|
+
"internalType": "ObjectType",
|
120
|
+
"name": "objectType",
|
121
|
+
"type": "uint8"
|
122
|
+
}
|
123
|
+
],
|
124
|
+
"name": "ErrorInstanceLinkedComponentTypeMismatch",
|
125
|
+
"type": "error"
|
126
|
+
},
|
127
|
+
{
|
128
|
+
"inputs": [
|
129
|
+
{
|
130
|
+
"internalType": "NftId",
|
131
|
+
"name": "nftId",
|
132
|
+
"type": "uint96"
|
133
|
+
}
|
134
|
+
],
|
135
|
+
"name": "ErrorNftOwnableAlreadyLinked",
|
136
|
+
"type": "error"
|
137
|
+
},
|
138
|
+
{
|
139
|
+
"inputs": [
|
140
|
+
{
|
141
|
+
"internalType": "address",
|
142
|
+
"name": "contractAddress",
|
143
|
+
"type": "address"
|
144
|
+
}
|
145
|
+
],
|
146
|
+
"name": "ErrorNftOwnableContractNotRegistered",
|
147
|
+
"type": "error"
|
148
|
+
},
|
149
|
+
{
|
150
|
+
"inputs": [],
|
151
|
+
"name": "ErrorNftOwnableInitialOwnerZero",
|
152
|
+
"type": "error"
|
153
|
+
},
|
154
|
+
{
|
155
|
+
"inputs": [
|
156
|
+
{
|
157
|
+
"internalType": "NftId",
|
158
|
+
"name": "nftId",
|
159
|
+
"type": "uint96"
|
160
|
+
},
|
161
|
+
{
|
162
|
+
"internalType": "ObjectType",
|
163
|
+
"name": "expectedObjectType",
|
164
|
+
"type": "uint8"
|
165
|
+
}
|
166
|
+
],
|
167
|
+
"name": "ErrorNftOwnableInvalidType",
|
168
|
+
"type": "error"
|
169
|
+
},
|
170
|
+
{
|
171
|
+
"inputs": [
|
172
|
+
{
|
173
|
+
"internalType": "address",
|
174
|
+
"name": "account",
|
175
|
+
"type": "address"
|
176
|
+
}
|
177
|
+
],
|
178
|
+
"name": "ErrorNftOwnableNotOwner",
|
179
|
+
"type": "error"
|
180
|
+
},
|
181
|
+
{
|
182
|
+
"inputs": [
|
183
|
+
{
|
184
|
+
"internalType": "address",
|
185
|
+
"name": "registryAddress",
|
186
|
+
"type": "address"
|
187
|
+
}
|
188
|
+
],
|
189
|
+
"name": "ErrorNotRegistry",
|
190
|
+
"type": "error"
|
191
|
+
},
|
192
|
+
{
|
193
|
+
"inputs": [],
|
194
|
+
"name": "InvalidInitialization",
|
195
|
+
"type": "error"
|
196
|
+
},
|
197
|
+
{
|
198
|
+
"inputs": [],
|
199
|
+
"name": "NotInitializing",
|
200
|
+
"type": "error"
|
201
|
+
},
|
202
|
+
{
|
203
|
+
"anonymous": false,
|
204
|
+
"inputs": [
|
205
|
+
{
|
206
|
+
"indexed": false,
|
207
|
+
"internalType": "address",
|
208
|
+
"name": "authority",
|
209
|
+
"type": "address"
|
210
|
+
}
|
211
|
+
],
|
212
|
+
"name": "AuthorityUpdated",
|
213
|
+
"type": "event"
|
214
|
+
},
|
215
|
+
{
|
216
|
+
"anonymous": false,
|
217
|
+
"inputs": [
|
218
|
+
{
|
219
|
+
"indexed": false,
|
220
|
+
"internalType": "uint64",
|
221
|
+
"name": "version",
|
222
|
+
"type": "uint64"
|
223
|
+
}
|
224
|
+
],
|
225
|
+
"name": "Initialized",
|
226
|
+
"type": "event"
|
227
|
+
},
|
228
|
+
{
|
229
|
+
"anonymous": false,
|
230
|
+
"inputs": [
|
231
|
+
{
|
232
|
+
"indexed": false,
|
233
|
+
"internalType": "address",
|
234
|
+
"name": "token",
|
235
|
+
"type": "address"
|
236
|
+
},
|
237
|
+
{
|
238
|
+
"indexed": false,
|
239
|
+
"internalType": "Amount",
|
240
|
+
"name": "limit",
|
241
|
+
"type": "uint96"
|
242
|
+
},
|
243
|
+
{
|
244
|
+
"indexed": false,
|
245
|
+
"internalType": "bool",
|
246
|
+
"name": "isMaxAmount",
|
247
|
+
"type": "bool"
|
248
|
+
}
|
249
|
+
],
|
250
|
+
"name": "LogComponentTokenHandlerApproved",
|
251
|
+
"type": "event"
|
252
|
+
},
|
253
|
+
{
|
254
|
+
"anonymous": false,
|
255
|
+
"inputs": [
|
256
|
+
{
|
257
|
+
"indexed": false,
|
258
|
+
"internalType": "address",
|
259
|
+
"name": "oldWallet",
|
260
|
+
"type": "address"
|
261
|
+
},
|
262
|
+
{
|
263
|
+
"indexed": false,
|
264
|
+
"internalType": "address",
|
265
|
+
"name": "newWallet",
|
266
|
+
"type": "address"
|
267
|
+
}
|
268
|
+
],
|
269
|
+
"name": "LogComponentWalletAddressChanged",
|
270
|
+
"type": "event"
|
271
|
+
},
|
272
|
+
{
|
273
|
+
"anonymous": false,
|
274
|
+
"inputs": [
|
275
|
+
{
|
276
|
+
"indexed": false,
|
277
|
+
"internalType": "address",
|
278
|
+
"name": "from",
|
279
|
+
"type": "address"
|
280
|
+
},
|
281
|
+
{
|
282
|
+
"indexed": false,
|
283
|
+
"internalType": "address",
|
284
|
+
"name": "to",
|
285
|
+
"type": "address"
|
286
|
+
},
|
287
|
+
{
|
288
|
+
"indexed": false,
|
289
|
+
"internalType": "uint256",
|
290
|
+
"name": "amount",
|
291
|
+
"type": "uint256"
|
292
|
+
}
|
293
|
+
],
|
294
|
+
"name": "LogComponentWalletTokensTransferred",
|
295
|
+
"type": "event"
|
296
|
+
},
|
297
|
+
{
|
298
|
+
"inputs": [],
|
299
|
+
"name": "COMPONENT_LOCATION_V1",
|
300
|
+
"outputs": [
|
301
|
+
{
|
302
|
+
"internalType": "bytes32",
|
303
|
+
"name": "",
|
304
|
+
"type": "bytes32"
|
305
|
+
}
|
306
|
+
],
|
307
|
+
"stateMutability": "view",
|
308
|
+
"type": "function"
|
309
|
+
},
|
310
|
+
{
|
311
|
+
"inputs": [],
|
312
|
+
"name": "GIF_RELEASE",
|
313
|
+
"outputs": [
|
314
|
+
{
|
315
|
+
"internalType": "uint256",
|
316
|
+
"name": "",
|
317
|
+
"type": "uint256"
|
318
|
+
}
|
319
|
+
],
|
320
|
+
"stateMutability": "view",
|
321
|
+
"type": "function"
|
322
|
+
},
|
323
|
+
{
|
324
|
+
"inputs": [],
|
325
|
+
"name": "INSTANCE_LINKED_COMPONENT_LOCATION_V1",
|
326
|
+
"outputs": [
|
327
|
+
{
|
328
|
+
"internalType": "bytes32",
|
329
|
+
"name": "",
|
330
|
+
"type": "bytes32"
|
331
|
+
}
|
332
|
+
],
|
333
|
+
"stateMutability": "view",
|
334
|
+
"type": "function"
|
335
|
+
},
|
336
|
+
{
|
337
|
+
"inputs": [],
|
338
|
+
"name": "NFT_OWNABLE_STORAGE_LOCATION_V1",
|
339
|
+
"outputs": [
|
340
|
+
{
|
341
|
+
"internalType": "bytes32",
|
342
|
+
"name": "",
|
343
|
+
"type": "bytes32"
|
344
|
+
}
|
345
|
+
],
|
346
|
+
"stateMutability": "view",
|
347
|
+
"type": "function"
|
348
|
+
},
|
349
|
+
{
|
350
|
+
"inputs": [],
|
351
|
+
"name": "PRODUCT_STORAGE_LOCATION_V1",
|
352
|
+
"outputs": [
|
353
|
+
{
|
354
|
+
"internalType": "bytes32",
|
355
|
+
"name": "",
|
356
|
+
"type": "bytes32"
|
357
|
+
}
|
358
|
+
],
|
359
|
+
"stateMutability": "view",
|
360
|
+
"type": "function"
|
361
|
+
},
|
362
|
+
{
|
363
|
+
"inputs": [],
|
364
|
+
"name": "REGISTERABLE_LOCATION_V1",
|
365
|
+
"outputs": [
|
366
|
+
{
|
367
|
+
"internalType": "bytes32",
|
368
|
+
"name": "",
|
369
|
+
"type": "bytes32"
|
370
|
+
}
|
371
|
+
],
|
372
|
+
"stateMutability": "view",
|
373
|
+
"type": "function"
|
374
|
+
},
|
375
|
+
{
|
376
|
+
"inputs": [
|
377
|
+
{
|
378
|
+
"internalType": "address",
|
379
|
+
"name": "token",
|
380
|
+
"type": "address"
|
381
|
+
},
|
382
|
+
{
|
383
|
+
"internalType": "Amount",
|
384
|
+
"name": "spendingLimitAmount",
|
385
|
+
"type": "uint96"
|
386
|
+
}
|
387
|
+
],
|
388
|
+
"name": "approveTokenHandler",
|
389
|
+
"outputs": [],
|
390
|
+
"stateMutability": "nonpayable",
|
391
|
+
"type": "function"
|
392
|
+
},
|
393
|
+
{
|
394
|
+
"inputs": [
|
395
|
+
{
|
396
|
+
"internalType": "Amount",
|
397
|
+
"name": "spendingLimitAmount",
|
398
|
+
"type": "uint96"
|
399
|
+
}
|
400
|
+
],
|
401
|
+
"name": "approveTokenHandler",
|
402
|
+
"outputs": [],
|
403
|
+
"stateMutability": "nonpayable",
|
404
|
+
"type": "function"
|
405
|
+
},
|
406
|
+
{
|
407
|
+
"inputs": [],
|
408
|
+
"name": "authority",
|
409
|
+
"outputs": [
|
410
|
+
{
|
411
|
+
"internalType": "address",
|
412
|
+
"name": "",
|
413
|
+
"type": "address"
|
414
|
+
}
|
415
|
+
],
|
416
|
+
"stateMutability": "view",
|
417
|
+
"type": "function"
|
418
|
+
},
|
419
|
+
{
|
420
|
+
"inputs": [
|
421
|
+
{
|
422
|
+
"internalType": "Amount",
|
423
|
+
"name": "sumInsuredAmount",
|
424
|
+
"type": "uint96"
|
425
|
+
},
|
426
|
+
{
|
427
|
+
"internalType": "RiskId",
|
428
|
+
"name": "",
|
429
|
+
"type": "bytes8"
|
430
|
+
},
|
431
|
+
{
|
432
|
+
"internalType": "Seconds",
|
433
|
+
"name": "",
|
434
|
+
"type": "uint40"
|
435
|
+
},
|
436
|
+
{
|
437
|
+
"internalType": "bytes",
|
438
|
+
"name": "",
|
439
|
+
"type": "bytes"
|
440
|
+
}
|
441
|
+
],
|
442
|
+
"name": "calculateNetPremium",
|
443
|
+
"outputs": [
|
444
|
+
{
|
445
|
+
"internalType": "Amount",
|
446
|
+
"name": "netPremiumAmount",
|
447
|
+
"type": "uint96"
|
448
|
+
}
|
449
|
+
],
|
450
|
+
"stateMutability": "view",
|
451
|
+
"type": "function"
|
452
|
+
},
|
453
|
+
{
|
454
|
+
"inputs": [
|
455
|
+
{
|
456
|
+
"internalType": "Amount",
|
457
|
+
"name": "sumInsuredAmount",
|
458
|
+
"type": "uint96"
|
459
|
+
},
|
460
|
+
{
|
461
|
+
"internalType": "RiskId",
|
462
|
+
"name": "riskId",
|
463
|
+
"type": "bytes8"
|
464
|
+
},
|
465
|
+
{
|
466
|
+
"internalType": "Seconds",
|
467
|
+
"name": "lifetime",
|
468
|
+
"type": "uint40"
|
469
|
+
},
|
470
|
+
{
|
471
|
+
"internalType": "bytes",
|
472
|
+
"name": "applicationData",
|
473
|
+
"type": "bytes"
|
474
|
+
},
|
475
|
+
{
|
476
|
+
"internalType": "NftId",
|
477
|
+
"name": "bundleNftId",
|
478
|
+
"type": "uint96"
|
479
|
+
},
|
480
|
+
{
|
481
|
+
"internalType": "ReferralId",
|
482
|
+
"name": "referralId",
|
483
|
+
"type": "bytes8"
|
484
|
+
}
|
485
|
+
],
|
486
|
+
"name": "calculatePremium",
|
487
|
+
"outputs": [
|
488
|
+
{
|
489
|
+
"internalType": "Amount",
|
490
|
+
"name": "premiumAmount",
|
491
|
+
"type": "uint96"
|
492
|
+
}
|
493
|
+
],
|
494
|
+
"stateMutability": "view",
|
495
|
+
"type": "function"
|
496
|
+
},
|
497
|
+
{
|
498
|
+
"inputs": [],
|
499
|
+
"name": "getAuthorization",
|
500
|
+
"outputs": [
|
501
|
+
{
|
502
|
+
"internalType": "contract IAuthorization",
|
503
|
+
"name": "authorization",
|
504
|
+
"type": "address"
|
505
|
+
}
|
506
|
+
],
|
507
|
+
"stateMutability": "view",
|
508
|
+
"type": "function"
|
509
|
+
},
|
510
|
+
{
|
511
|
+
"inputs": [],
|
512
|
+
"name": "getComponentInfo",
|
513
|
+
"outputs": [
|
514
|
+
{
|
515
|
+
"components": [
|
516
|
+
{
|
517
|
+
"internalType": "string",
|
518
|
+
"name": "name",
|
519
|
+
"type": "string"
|
520
|
+
},
|
521
|
+
{
|
522
|
+
"internalType": "contract IERC20Metadata",
|
523
|
+
"name": "token",
|
524
|
+
"type": "address"
|
525
|
+
},
|
526
|
+
{
|
527
|
+
"internalType": "contract TokenHandler",
|
528
|
+
"name": "tokenHandler",
|
529
|
+
"type": "address"
|
530
|
+
},
|
531
|
+
{
|
532
|
+
"internalType": "address",
|
533
|
+
"name": "wallet",
|
534
|
+
"type": "address"
|
535
|
+
},
|
536
|
+
{
|
537
|
+
"internalType": "bytes",
|
538
|
+
"name": "data",
|
539
|
+
"type": "bytes"
|
540
|
+
}
|
541
|
+
],
|
542
|
+
"internalType": "struct IComponents.ComponentInfo",
|
543
|
+
"name": "info",
|
544
|
+
"type": "tuple"
|
545
|
+
}
|
546
|
+
],
|
547
|
+
"stateMutability": "view",
|
548
|
+
"type": "function"
|
549
|
+
},
|
550
|
+
{
|
551
|
+
"inputs": [],
|
552
|
+
"name": "getInitialComponentInfo",
|
553
|
+
"outputs": [
|
554
|
+
{
|
555
|
+
"components": [
|
556
|
+
{
|
557
|
+
"internalType": "string",
|
558
|
+
"name": "name",
|
559
|
+
"type": "string"
|
560
|
+
},
|
561
|
+
{
|
562
|
+
"internalType": "contract IERC20Metadata",
|
563
|
+
"name": "token",
|
564
|
+
"type": "address"
|
565
|
+
},
|
566
|
+
{
|
567
|
+
"internalType": "contract TokenHandler",
|
568
|
+
"name": "tokenHandler",
|
569
|
+
"type": "address"
|
570
|
+
},
|
571
|
+
{
|
572
|
+
"internalType": "address",
|
573
|
+
"name": "wallet",
|
574
|
+
"type": "address"
|
575
|
+
},
|
576
|
+
{
|
577
|
+
"internalType": "bytes",
|
578
|
+
"name": "data",
|
579
|
+
"type": "bytes"
|
580
|
+
}
|
581
|
+
],
|
582
|
+
"internalType": "struct IComponents.ComponentInfo",
|
583
|
+
"name": "info",
|
584
|
+
"type": "tuple"
|
585
|
+
}
|
586
|
+
],
|
587
|
+
"stateMutability": "view",
|
588
|
+
"type": "function"
|
589
|
+
},
|
590
|
+
{
|
591
|
+
"inputs": [],
|
592
|
+
"name": "getInitialInfo",
|
593
|
+
"outputs": [
|
594
|
+
{
|
595
|
+
"components": [
|
596
|
+
{
|
597
|
+
"internalType": "NftId",
|
598
|
+
"name": "nftId",
|
599
|
+
"type": "uint96"
|
600
|
+
},
|
601
|
+
{
|
602
|
+
"internalType": "NftId",
|
603
|
+
"name": "parentNftId",
|
604
|
+
"type": "uint96"
|
605
|
+
},
|
606
|
+
{
|
607
|
+
"internalType": "ObjectType",
|
608
|
+
"name": "objectType",
|
609
|
+
"type": "uint8"
|
610
|
+
},
|
611
|
+
{
|
612
|
+
"internalType": "bool",
|
613
|
+
"name": "isInterceptor",
|
614
|
+
"type": "bool"
|
615
|
+
},
|
616
|
+
{
|
617
|
+
"internalType": "address",
|
618
|
+
"name": "objectAddress",
|
619
|
+
"type": "address"
|
620
|
+
},
|
621
|
+
{
|
622
|
+
"internalType": "address",
|
623
|
+
"name": "initialOwner",
|
624
|
+
"type": "address"
|
625
|
+
},
|
626
|
+
{
|
627
|
+
"internalType": "bytes",
|
628
|
+
"name": "data",
|
629
|
+
"type": "bytes"
|
630
|
+
}
|
631
|
+
],
|
632
|
+
"internalType": "struct IRegistry.ObjectInfo",
|
633
|
+
"name": "info",
|
634
|
+
"type": "tuple"
|
635
|
+
}
|
636
|
+
],
|
637
|
+
"stateMutability": "view",
|
638
|
+
"type": "function"
|
639
|
+
},
|
640
|
+
{
|
641
|
+
"inputs": [],
|
642
|
+
"name": "getInitialProductInfo",
|
643
|
+
"outputs": [
|
644
|
+
{
|
645
|
+
"components": [
|
646
|
+
{
|
647
|
+
"internalType": "bool",
|
648
|
+
"name": "isProcessingFundedClaims",
|
649
|
+
"type": "bool"
|
650
|
+
},
|
651
|
+
{
|
652
|
+
"internalType": "bool",
|
653
|
+
"name": "hasDistribution",
|
654
|
+
"type": "bool"
|
655
|
+
},
|
656
|
+
{
|
657
|
+
"internalType": "uint8",
|
658
|
+
"name": "expectedNumberOfOracles",
|
659
|
+
"type": "uint8"
|
660
|
+
},
|
661
|
+
{
|
662
|
+
"internalType": "uint8",
|
663
|
+
"name": "numberOfOracles",
|
664
|
+
"type": "uint8"
|
665
|
+
},
|
666
|
+
{
|
667
|
+
"internalType": "NftId",
|
668
|
+
"name": "poolNftId",
|
669
|
+
"type": "uint96"
|
670
|
+
},
|
671
|
+
{
|
672
|
+
"internalType": "NftId",
|
673
|
+
"name": "distributionNftId",
|
674
|
+
"type": "uint96"
|
675
|
+
},
|
676
|
+
{
|
677
|
+
"internalType": "NftId[]",
|
678
|
+
"name": "oracleNftId",
|
679
|
+
"type": "uint96[]"
|
680
|
+
},
|
681
|
+
{
|
682
|
+
"components": [
|
683
|
+
{
|
684
|
+
"internalType": "UFixed",
|
685
|
+
"name": "fractionalFee",
|
686
|
+
"type": "uint256"
|
687
|
+
},
|
688
|
+
{
|
689
|
+
"internalType": "uint256",
|
690
|
+
"name": "fixedFee",
|
691
|
+
"type": "uint256"
|
692
|
+
}
|
693
|
+
],
|
694
|
+
"internalType": "struct Fee",
|
695
|
+
"name": "productFee",
|
696
|
+
"type": "tuple"
|
697
|
+
},
|
698
|
+
{
|
699
|
+
"components": [
|
700
|
+
{
|
701
|
+
"internalType": "UFixed",
|
702
|
+
"name": "fractionalFee",
|
703
|
+
"type": "uint256"
|
704
|
+
},
|
705
|
+
{
|
706
|
+
"internalType": "uint256",
|
707
|
+
"name": "fixedFee",
|
708
|
+
"type": "uint256"
|
709
|
+
}
|
710
|
+
],
|
711
|
+
"internalType": "struct Fee",
|
712
|
+
"name": "processingFee",
|
713
|
+
"type": "tuple"
|
714
|
+
},
|
715
|
+
{
|
716
|
+
"components": [
|
717
|
+
{
|
718
|
+
"internalType": "UFixed",
|
719
|
+
"name": "fractionalFee",
|
720
|
+
"type": "uint256"
|
721
|
+
},
|
722
|
+
{
|
723
|
+
"internalType": "uint256",
|
724
|
+
"name": "fixedFee",
|
725
|
+
"type": "uint256"
|
726
|
+
}
|
727
|
+
],
|
728
|
+
"internalType": "struct Fee",
|
729
|
+
"name": "distributionFee",
|
730
|
+
"type": "tuple"
|
731
|
+
},
|
732
|
+
{
|
733
|
+
"components": [
|
734
|
+
{
|
735
|
+
"internalType": "UFixed",
|
736
|
+
"name": "fractionalFee",
|
737
|
+
"type": "uint256"
|
738
|
+
},
|
739
|
+
{
|
740
|
+
"internalType": "uint256",
|
741
|
+
"name": "fixedFee",
|
742
|
+
"type": "uint256"
|
743
|
+
}
|
744
|
+
],
|
745
|
+
"internalType": "struct Fee",
|
746
|
+
"name": "minDistributionOwnerFee",
|
747
|
+
"type": "tuple"
|
748
|
+
},
|
749
|
+
{
|
750
|
+
"components": [
|
751
|
+
{
|
752
|
+
"internalType": "UFixed",
|
753
|
+
"name": "fractionalFee",
|
754
|
+
"type": "uint256"
|
755
|
+
},
|
756
|
+
{
|
757
|
+
"internalType": "uint256",
|
758
|
+
"name": "fixedFee",
|
759
|
+
"type": "uint256"
|
760
|
+
}
|
761
|
+
],
|
762
|
+
"internalType": "struct Fee",
|
763
|
+
"name": "poolFee",
|
764
|
+
"type": "tuple"
|
765
|
+
},
|
766
|
+
{
|
767
|
+
"components": [
|
768
|
+
{
|
769
|
+
"internalType": "UFixed",
|
770
|
+
"name": "fractionalFee",
|
771
|
+
"type": "uint256"
|
772
|
+
},
|
773
|
+
{
|
774
|
+
"internalType": "uint256",
|
775
|
+
"name": "fixedFee",
|
776
|
+
"type": "uint256"
|
777
|
+
}
|
778
|
+
],
|
779
|
+
"internalType": "struct Fee",
|
780
|
+
"name": "stakingFee",
|
781
|
+
"type": "tuple"
|
782
|
+
},
|
783
|
+
{
|
784
|
+
"components": [
|
785
|
+
{
|
786
|
+
"internalType": "UFixed",
|
787
|
+
"name": "fractionalFee",
|
788
|
+
"type": "uint256"
|
789
|
+
},
|
790
|
+
{
|
791
|
+
"internalType": "uint256",
|
792
|
+
"name": "fixedFee",
|
793
|
+
"type": "uint256"
|
794
|
+
}
|
795
|
+
],
|
796
|
+
"internalType": "struct Fee",
|
797
|
+
"name": "performanceFee",
|
798
|
+
"type": "tuple"
|
799
|
+
}
|
800
|
+
],
|
801
|
+
"internalType": "struct IComponents.ProductInfo",
|
802
|
+
"name": "poolInfo",
|
803
|
+
"type": "tuple"
|
804
|
+
}
|
805
|
+
],
|
806
|
+
"stateMutability": "view",
|
807
|
+
"type": "function"
|
808
|
+
},
|
809
|
+
{
|
810
|
+
"inputs": [],
|
811
|
+
"name": "getInstance",
|
812
|
+
"outputs": [
|
813
|
+
{
|
814
|
+
"internalType": "contract IInstance",
|
815
|
+
"name": "instance",
|
816
|
+
"type": "address"
|
817
|
+
}
|
818
|
+
],
|
819
|
+
"stateMutability": "view",
|
820
|
+
"type": "function"
|
821
|
+
},
|
822
|
+
{
|
823
|
+
"inputs": [],
|
824
|
+
"name": "getName",
|
825
|
+
"outputs": [
|
826
|
+
{
|
827
|
+
"internalType": "string",
|
828
|
+
"name": "name",
|
829
|
+
"type": "string"
|
830
|
+
}
|
831
|
+
],
|
832
|
+
"stateMutability": "view",
|
833
|
+
"type": "function"
|
834
|
+
},
|
835
|
+
{
|
836
|
+
"inputs": [],
|
837
|
+
"name": "getNftId",
|
838
|
+
"outputs": [
|
839
|
+
{
|
840
|
+
"internalType": "NftId",
|
841
|
+
"name": "",
|
842
|
+
"type": "uint96"
|
843
|
+
}
|
844
|
+
],
|
845
|
+
"stateMutability": "view",
|
846
|
+
"type": "function"
|
847
|
+
},
|
848
|
+
{
|
849
|
+
"inputs": [],
|
850
|
+
"name": "getOwner",
|
851
|
+
"outputs": [
|
852
|
+
{
|
853
|
+
"internalType": "address",
|
854
|
+
"name": "",
|
855
|
+
"type": "address"
|
856
|
+
}
|
857
|
+
],
|
858
|
+
"stateMutability": "view",
|
859
|
+
"type": "function"
|
860
|
+
},
|
861
|
+
{
|
862
|
+
"inputs": [],
|
863
|
+
"name": "getRegistry",
|
864
|
+
"outputs": [
|
865
|
+
{
|
866
|
+
"internalType": "contract IRegistry",
|
867
|
+
"name": "",
|
868
|
+
"type": "address"
|
869
|
+
}
|
870
|
+
],
|
871
|
+
"stateMutability": "view",
|
872
|
+
"type": "function"
|
873
|
+
},
|
874
|
+
{
|
875
|
+
"inputs": [],
|
876
|
+
"name": "getRelease",
|
877
|
+
"outputs": [
|
878
|
+
{
|
879
|
+
"internalType": "VersionPart",
|
880
|
+
"name": "release",
|
881
|
+
"type": "uint8"
|
882
|
+
}
|
883
|
+
],
|
884
|
+
"stateMutability": "pure",
|
885
|
+
"type": "function"
|
886
|
+
},
|
887
|
+
{
|
888
|
+
"inputs": [],
|
889
|
+
"name": "getToken",
|
890
|
+
"outputs": [
|
891
|
+
{
|
892
|
+
"internalType": "contract IERC20Metadata",
|
893
|
+
"name": "token",
|
894
|
+
"type": "address"
|
895
|
+
}
|
896
|
+
],
|
897
|
+
"stateMutability": "view",
|
898
|
+
"type": "function"
|
899
|
+
},
|
900
|
+
{
|
901
|
+
"inputs": [],
|
902
|
+
"name": "getTokenHandler",
|
903
|
+
"outputs": [
|
904
|
+
{
|
905
|
+
"internalType": "contract TokenHandler",
|
906
|
+
"name": "tokenHandler",
|
907
|
+
"type": "address"
|
908
|
+
}
|
909
|
+
],
|
910
|
+
"stateMutability": "view",
|
911
|
+
"type": "function"
|
912
|
+
},
|
913
|
+
{
|
914
|
+
"inputs": [],
|
915
|
+
"name": "getWallet",
|
916
|
+
"outputs": [
|
917
|
+
{
|
918
|
+
"internalType": "address",
|
919
|
+
"name": "walletAddress",
|
920
|
+
"type": "address"
|
921
|
+
}
|
922
|
+
],
|
923
|
+
"stateMutability": "view",
|
924
|
+
"type": "function"
|
925
|
+
},
|
926
|
+
{
|
927
|
+
"inputs": [],
|
928
|
+
"name": "isConsumingScheduledOp",
|
929
|
+
"outputs": [
|
930
|
+
{
|
931
|
+
"internalType": "bytes4",
|
932
|
+
"name": "",
|
933
|
+
"type": "bytes4"
|
934
|
+
}
|
935
|
+
],
|
936
|
+
"stateMutability": "view",
|
937
|
+
"type": "function"
|
938
|
+
},
|
939
|
+
{
|
940
|
+
"inputs": [],
|
941
|
+
"name": "isNftInterceptor",
|
942
|
+
"outputs": [
|
943
|
+
{
|
944
|
+
"internalType": "bool",
|
945
|
+
"name": "isInterceptor",
|
946
|
+
"type": "bool"
|
947
|
+
}
|
948
|
+
],
|
949
|
+
"stateMutability": "view",
|
950
|
+
"type": "function"
|
951
|
+
},
|
952
|
+
{
|
953
|
+
"inputs": [],
|
954
|
+
"name": "isRegistered",
|
955
|
+
"outputs": [
|
956
|
+
{
|
957
|
+
"internalType": "bool",
|
958
|
+
"name": "",
|
959
|
+
"type": "bool"
|
960
|
+
}
|
961
|
+
],
|
962
|
+
"stateMutability": "view",
|
963
|
+
"type": "function"
|
964
|
+
},
|
965
|
+
{
|
966
|
+
"inputs": [],
|
967
|
+
"name": "linkToRegisteredNftId",
|
968
|
+
"outputs": [
|
969
|
+
{
|
970
|
+
"internalType": "NftId",
|
971
|
+
"name": "nftId",
|
972
|
+
"type": "uint96"
|
973
|
+
}
|
974
|
+
],
|
975
|
+
"stateMutability": "nonpayable",
|
976
|
+
"type": "function"
|
977
|
+
},
|
978
|
+
{
|
979
|
+
"inputs": [],
|
980
|
+
"name": "lock",
|
981
|
+
"outputs": [],
|
982
|
+
"stateMutability": "nonpayable",
|
983
|
+
"type": "function"
|
984
|
+
},
|
985
|
+
{
|
986
|
+
"inputs": [
|
987
|
+
{
|
988
|
+
"internalType": "address",
|
989
|
+
"name": "from",
|
990
|
+
"type": "address"
|
991
|
+
},
|
992
|
+
{
|
993
|
+
"internalType": "address",
|
994
|
+
"name": "to",
|
995
|
+
"type": "address"
|
996
|
+
},
|
997
|
+
{
|
998
|
+
"internalType": "uint256",
|
999
|
+
"name": "tokenId",
|
1000
|
+
"type": "uint256"
|
1001
|
+
},
|
1002
|
+
{
|
1003
|
+
"internalType": "address",
|
1004
|
+
"name": "operator",
|
1005
|
+
"type": "address"
|
1006
|
+
}
|
1007
|
+
],
|
1008
|
+
"name": "nftTransferFrom",
|
1009
|
+
"outputs": [],
|
1010
|
+
"stateMutability": "nonpayable",
|
1011
|
+
"type": "function"
|
1012
|
+
},
|
1013
|
+
{
|
1014
|
+
"inputs": [
|
1015
|
+
{
|
1016
|
+
"internalType": "NftId",
|
1017
|
+
"name": "policyNftId",
|
1018
|
+
"type": "uint96"
|
1019
|
+
},
|
1020
|
+
{
|
1021
|
+
"internalType": "ClaimId",
|
1022
|
+
"name": "claimId",
|
1023
|
+
"type": "uint16"
|
1024
|
+
},
|
1025
|
+
{
|
1026
|
+
"internalType": "Amount",
|
1027
|
+
"name": "availableAmount",
|
1028
|
+
"type": "uint96"
|
1029
|
+
}
|
1030
|
+
],
|
1031
|
+
"name": "processFundedClaim",
|
1032
|
+
"outputs": [],
|
1033
|
+
"stateMutability": "nonpayable",
|
1034
|
+
"type": "function"
|
1035
|
+
},
|
1036
|
+
{
|
1037
|
+
"inputs": [
|
1038
|
+
{
|
1039
|
+
"internalType": "address",
|
1040
|
+
"name": "component",
|
1041
|
+
"type": "address"
|
1042
|
+
}
|
1043
|
+
],
|
1044
|
+
"name": "registerComponent",
|
1045
|
+
"outputs": [
|
1046
|
+
{
|
1047
|
+
"internalType": "NftId",
|
1048
|
+
"name": "componentNftId",
|
1049
|
+
"type": "uint96"
|
1050
|
+
}
|
1051
|
+
],
|
1052
|
+
"stateMutability": "nonpayable",
|
1053
|
+
"type": "function"
|
1054
|
+
},
|
1055
|
+
{
|
1056
|
+
"inputs": [
|
1057
|
+
{
|
1058
|
+
"internalType": "address",
|
1059
|
+
"name": "newAuthority",
|
1060
|
+
"type": "address"
|
1061
|
+
}
|
1062
|
+
],
|
1063
|
+
"name": "setAuthority",
|
1064
|
+
"outputs": [],
|
1065
|
+
"stateMutability": "nonpayable",
|
1066
|
+
"type": "function"
|
1067
|
+
},
|
1068
|
+
{
|
1069
|
+
"inputs": [
|
1070
|
+
{
|
1071
|
+
"components": [
|
1072
|
+
{
|
1073
|
+
"internalType": "UFixed",
|
1074
|
+
"name": "fractionalFee",
|
1075
|
+
"type": "uint256"
|
1076
|
+
},
|
1077
|
+
{
|
1078
|
+
"internalType": "uint256",
|
1079
|
+
"name": "fixedFee",
|
1080
|
+
"type": "uint256"
|
1081
|
+
}
|
1082
|
+
],
|
1083
|
+
"internalType": "struct Fee",
|
1084
|
+
"name": "productFee",
|
1085
|
+
"type": "tuple"
|
1086
|
+
},
|
1087
|
+
{
|
1088
|
+
"components": [
|
1089
|
+
{
|
1090
|
+
"internalType": "UFixed",
|
1091
|
+
"name": "fractionalFee",
|
1092
|
+
"type": "uint256"
|
1093
|
+
},
|
1094
|
+
{
|
1095
|
+
"internalType": "uint256",
|
1096
|
+
"name": "fixedFee",
|
1097
|
+
"type": "uint256"
|
1098
|
+
}
|
1099
|
+
],
|
1100
|
+
"internalType": "struct Fee",
|
1101
|
+
"name": "processingFee",
|
1102
|
+
"type": "tuple"
|
1103
|
+
}
|
1104
|
+
],
|
1105
|
+
"name": "setFees",
|
1106
|
+
"outputs": [],
|
1107
|
+
"stateMutability": "nonpayable",
|
1108
|
+
"type": "function"
|
1109
|
+
},
|
1110
|
+
{
|
1111
|
+
"inputs": [
|
1112
|
+
{
|
1113
|
+
"internalType": "address",
|
1114
|
+
"name": "newWallet",
|
1115
|
+
"type": "address"
|
1116
|
+
}
|
1117
|
+
],
|
1118
|
+
"name": "setWallet",
|
1119
|
+
"outputs": [],
|
1120
|
+
"stateMutability": "nonpayable",
|
1121
|
+
"type": "function"
|
1122
|
+
},
|
1123
|
+
{
|
1124
|
+
"inputs": [
|
1125
|
+
{
|
1126
|
+
"internalType": "bytes4",
|
1127
|
+
"name": "interfaceId",
|
1128
|
+
"type": "bytes4"
|
1129
|
+
}
|
1130
|
+
],
|
1131
|
+
"name": "supportsInterface",
|
1132
|
+
"outputs": [
|
1133
|
+
{
|
1134
|
+
"internalType": "bool",
|
1135
|
+
"name": "",
|
1136
|
+
"type": "bool"
|
1137
|
+
}
|
1138
|
+
],
|
1139
|
+
"stateMutability": "view",
|
1140
|
+
"type": "function"
|
1141
|
+
},
|
1142
|
+
{
|
1143
|
+
"inputs": [],
|
1144
|
+
"name": "unlock",
|
1145
|
+
"outputs": [],
|
1146
|
+
"stateMutability": "nonpayable",
|
1147
|
+
"type": "function"
|
1148
|
+
},
|
1149
|
+
{
|
1150
|
+
"inputs": [
|
1151
|
+
{
|
1152
|
+
"internalType": "Amount",
|
1153
|
+
"name": "amount",
|
1154
|
+
"type": "uint96"
|
1155
|
+
}
|
1156
|
+
],
|
1157
|
+
"name": "withdrawFees",
|
1158
|
+
"outputs": [
|
1159
|
+
{
|
1160
|
+
"internalType": "Amount",
|
1161
|
+
"name": "withdrawnAmount",
|
1162
|
+
"type": "uint96"
|
1163
|
+
}
|
1164
|
+
],
|
1165
|
+
"stateMutability": "nonpayable",
|
1166
|
+
"type": "function"
|
1167
|
+
}
|
1168
|
+
],
|
1169
|
+
"bytecode": "0x",
|
1170
|
+
"deployedBytecode": "0x",
|
1171
|
+
"linkReferences": {},
|
1172
|
+
"deployedLinkReferences": {}
|
1173
|
+
}
|