@etherisc/gif-next 0.0.2-d02cb80-460 → 0.0.2-d0b1ffb-653
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +59 -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 +1439 -0
- package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +4 -0
- package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.json +830 -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 +2077 -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 +311 -1361
- package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
- package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +349 -234
- package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
- package/artifacts/contracts/instance/Instance.sol/Instance.json +377 -2575
- 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 +1023 -387
- package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +433 -531
- package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +338 -152
- 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/{Cloneable.sol → base/Cloneable.sol}/Cloneable.json +1 -49
- 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 -144
- 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/oracle/IOracleComponent.sol/IOracleComponent.json +788 -0
- package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.dbg.json +4 -0
- package/artifacts/contracts/{instance/service/IPolicyService.sol/IPolicyService.json → oracle/IOracleService.sol/IOracleService.json} +339 -294
- 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/IProductService.sol/IProductService.json → product/IApplicationService.sol/IApplicationService.json} +251 -241
- 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 +646 -129
- package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
- package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +305 -233
- 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 +974 -155
- 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 +296 -343
- package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
- package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +329 -133
- 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/{components/BaseComponent.sol/BaseComponent.json → shared/ComponentVerifyingService.sol/ComponentVerifyingService.json} +155 -150
- 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/base/ComponentServiceBase.sol/ComponentServiceBase.json → shared/IComponent.sol/IComponent.json} +300 -189
- 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/{instance/service/IBundleService.sol/IBundleService.json → shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.json} +381 -327
- package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.dbg.json +4 -0
- package/artifacts/contracts/{instance/IInstanceBase.sol/IInstanceBase.json → shared/IKeyValueStore.sol/IKeyValueStore.json} +96 -34
- 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/{instance/base/IKeyValueStore.sol/IKeyValueStore.json → shared/KeyValueStore.sol/KeyValueStore.json} +129 -20
- 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 +354 -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 +75 -0
- package/contracts/examples/fire/FirePoolAuthorization.sol +34 -0
- package/contracts/examples/fire/FireProduct.sol +412 -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/{BundleManager.sol → BundleSet.sol} +40 -43
- package/contracts/instance/IInstance.sol +57 -51
- package/contracts/instance/IInstanceService.sol +54 -24
- package/contracts/instance/Instance.sol +167 -211
- package/contracts/instance/InstanceAdmin.sol +277 -0
- package/contracts/instance/InstanceAuthorizationV3.sol +194 -0
- package/contracts/instance/InstanceReader.sol +264 -84
- package/contracts/instance/InstanceService.sol +320 -221
- package/contracts/instance/InstanceServiceManager.sol +14 -32
- package/contracts/instance/InstanceStore.sol +287 -0
- package/contracts/instance/base/BalanceStore.sol +123 -0
- package/contracts/instance/{Cloneable.sol → base/Cloneable.sol} +4 -22
- package/contracts/instance/base/ObjectCounter.sol +21 -0
- package/contracts/instance/base/ObjectLifecycle.sol +111 -0
- package/contracts/instance/{ObjectManager.sol → base/ObjectSet.sol} +20 -42
- package/contracts/instance/module/IAccess.sol +20 -22
- package/contracts/instance/module/IBundle.sol +8 -8
- 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 +461 -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 +525 -0
- package/contracts/pool/PoolServiceManager.sol +39 -0
- package/contracts/product/ApplicationService.sol +251 -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 +591 -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 +683 -0
- package/contracts/product/PolicyServiceManager.sol +39 -0
- package/contracts/product/PricingService.sol +297 -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 -35
- package/contracts/registry/IRegistryService.sol +40 -28
- package/contracts/registry/ITransferInterceptor.sol +1 -1
- package/contracts/registry/Registry.sol +542 -273
- package/contracts/registry/RegistryAdmin.sol +448 -0
- package/contracts/registry/RegistryService.sol +116 -233
- 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 +735 -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 +71 -82
- 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 -32
- 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 +393 -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/{types → type}/NftIdSet.sol +2 -2
- 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/Distribution.sol/Distribution.dbg.json +0 -4
- package/artifacts/contracts/components/Distribution.sol/Distribution.json +0 -772
- package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.dbg.json +0 -4
- package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.json +0 -384
- package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +0 -4
- package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.json +0 -152
- package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +0 -4
- package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.json +0 -275
- 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 -967
- package/artifacts/contracts/components/Product.sol/Product.dbg.json +0 -4
- package/artifacts/contracts/components/Product.sol/Product.json +0 -883
- 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/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 -788
- package/artifacts/contracts/instance/Cloneable.sol/Cloneable.dbg.json +0 -4
- package/artifacts/contracts/instance/IAccessManagerSimple.sol/IAccessManagerSimple.dbg.json +0 -4
- package/artifacts/contracts/instance/IInstanceBase.sol/IInstanceBase.dbg.json +0 -4
- package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +0 -4
- package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +0 -1065
- package/artifacts/contracts/instance/InstanceBase.sol/InstanceBase.dbg.json +0 -4
- package/artifacts/contracts/instance/InstanceBase.sol/InstanceBase.json +0 -763
- package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.dbg.json +0 -4
- package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.json +0 -285
- 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/BundleService.sol/BundleService.dbg.json +0 -4
- package/artifacts/contracts/instance/service/BundleService.sol/BundleService.json +0 -923
- package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.dbg.json +0 -4
- package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.json +0 -440
- 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 -684
- package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +0 -4
- package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.json +0 -428
- package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.dbg.json +0 -4
- 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/IDistributionService.sol/IDistributionService.json +0 -446
- 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/IPoolService.sol/IPoolService.json +0 -499
- package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +0 -4
- package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.dbg.json +0 -4
- package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.json +0 -984
- package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +0 -4
- package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.json +0 -464
- package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +0 -4
- package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +0 -718
- package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.dbg.json +0 -4
- package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.json +0 -428
- package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +0 -4
- package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +0 -768
- package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.dbg.json +0 -4
- package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.json +0 -420
- 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 -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/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 -145
- package/contracts/components/Distribution.sol +0 -163
- package/contracts/components/IBaseComponent.sol +0 -32
- package/contracts/components/IDistributionComponent.sol +0 -44
- package/contracts/components/IPoolComponent.sol +0 -66
- package/contracts/components/IProductComponent.sol +0 -35
- package/contracts/components/Pool.sol +0 -271
- package/contracts/components/Product.sol +0 -292
- 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/AccessManagerUpgradeableInitializeable.sol +0 -23
- package/contracts/instance/IAccessManagerSimple.sol +0 -391
- package/contracts/instance/IInstanceBase.sol +0 -26
- package/contracts/instance/InstanceAccessManager.sol +0 -305
- package/contracts/instance/InstanceBase.sol +0 -41
- package/contracts/instance/base/ComponentServiceBase.sol +0 -72
- 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 -46
- package/contracts/instance/module/ITreasury.sol +0 -23
- package/contracts/instance/service/BundleService.sol +0 -260
- package/contracts/instance/service/BundleServiceManager.sol +0 -54
- package/contracts/instance/service/ComponentOwnerService.sol +0 -317
- package/contracts/instance/service/DistributionService.sol +0 -118
- package/contracts/instance/service/DistributionServiceManager.sol +0 -54
- package/contracts/instance/service/IBundleService.sol +0 -45
- package/contracts/instance/service/IComponentOwnerService.sol +0 -20
- package/contracts/instance/service/IDistributionService.sol +0 -12
- package/contracts/instance/service/IPolicyService.sol +0 -87
- package/contracts/instance/service/IPoolService.sol +0 -20
- package/contracts/instance/service/IProductService.sol +0 -40
- package/contracts/instance/service/PolicyService.sol +0 -508
- package/contracts/instance/service/PolicyServiceManager.sol +0 -54
- package/contracts/instance/service/PoolService.sol +0 -124
- package/contracts/instance/service/PoolServiceManager.sol +0 -54
- package/contracts/instance/service/ProductService.sol +0 -173
- package/contracts/instance/service/ProductServiceManager.sol +0 -54
- 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/NumberId.sol +0 -52
- package/contracts/types/ObjectType.sol +0 -152
- package/contracts/types/RoleId.sol +0 -93
- /package/contracts/{types → type}/Key32.sol +0 -0
@@ -1,22 +1,55 @@
|
|
1
1
|
{
|
2
2
|
"_format": "hh-sol-artifact-1",
|
3
|
-
"contractName": "
|
4
|
-
"sourceName": "contracts/
|
3
|
+
"contractName": "IOracleService",
|
4
|
+
"sourceName": "contracts/oracle/IOracleService.sol",
|
5
5
|
"abi": [
|
6
6
|
{
|
7
7
|
"inputs": [
|
8
8
|
{
|
9
9
|
"internalType": "address",
|
10
|
-
"name": "
|
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",
|
11
22
|
"type": "address"
|
12
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": [
|
13
46
|
{
|
14
47
|
"internalType": "NftId",
|
15
48
|
"name": "nftId",
|
16
49
|
"type": "uint96"
|
17
50
|
}
|
18
51
|
],
|
19
|
-
"name": "
|
52
|
+
"name": "ErrorNftOwnableAlreadyLinked",
|
20
53
|
"type": "error"
|
21
54
|
},
|
22
55
|
{
|
@@ -27,28 +60,28 @@
|
|
27
60
|
"type": "address"
|
28
61
|
}
|
29
62
|
],
|
30
|
-
"name": "
|
63
|
+
"name": "ErrorNftOwnableContractNotRegistered",
|
64
|
+
"type": "error"
|
65
|
+
},
|
66
|
+
{
|
67
|
+
"inputs": [],
|
68
|
+
"name": "ErrorNftOwnableInitialOwnerZero",
|
31
69
|
"type": "error"
|
32
70
|
},
|
33
71
|
{
|
34
72
|
"inputs": [
|
35
73
|
{
|
36
|
-
"internalType": "
|
37
|
-
"name": "
|
38
|
-
"type": "
|
39
|
-
},
|
40
|
-
{
|
41
|
-
"internalType": "address",
|
42
|
-
"name": "tokenHandlerAddress",
|
43
|
-
"type": "address"
|
74
|
+
"internalType": "NftId",
|
75
|
+
"name": "nftId",
|
76
|
+
"type": "uint96"
|
44
77
|
},
|
45
78
|
{
|
46
|
-
"internalType": "
|
47
|
-
"name": "
|
48
|
-
"type": "
|
79
|
+
"internalType": "ObjectType",
|
80
|
+
"name": "expectedObjectType",
|
81
|
+
"type": "uint8"
|
49
82
|
}
|
50
83
|
],
|
51
|
-
"name": "
|
84
|
+
"name": "ErrorNftOwnableInvalidType",
|
52
85
|
"type": "error"
|
53
86
|
},
|
54
87
|
{
|
@@ -59,7 +92,7 @@
|
|
59
92
|
"type": "address"
|
60
93
|
}
|
61
94
|
],
|
62
|
-
"name": "
|
95
|
+
"name": "ErrorNftOwnableNotOwner",
|
63
96
|
"type": "error"
|
64
97
|
},
|
65
98
|
{
|
@@ -75,236 +108,311 @@
|
|
75
108
|
},
|
76
109
|
{
|
77
110
|
"inputs": [],
|
78
|
-
"name": "
|
111
|
+
"name": "ErrorOracleServiceCallbackMethodNameEmpty",
|
79
112
|
"type": "error"
|
80
113
|
},
|
81
114
|
{
|
82
115
|
"inputs": [
|
83
116
|
{
|
84
|
-
"internalType": "
|
85
|
-
"name": "
|
86
|
-
"type": "
|
117
|
+
"internalType": "RequestId",
|
118
|
+
"name": "requestId",
|
119
|
+
"type": "uint64"
|
120
|
+
},
|
121
|
+
{
|
122
|
+
"internalType": "NftId",
|
123
|
+
"name": "requesterNftId",
|
124
|
+
"type": "uint96"
|
125
|
+
},
|
126
|
+
{
|
127
|
+
"internalType": "NftId",
|
128
|
+
"name": "callerNftId",
|
129
|
+
"type": "uint96"
|
87
130
|
}
|
88
131
|
],
|
89
|
-
"name": "
|
132
|
+
"name": "ErrorOracleServiceCallerNotRequester",
|
90
133
|
"type": "error"
|
91
134
|
},
|
92
135
|
{
|
93
|
-
"inputs": [],
|
94
|
-
"name": "ErrorRegistryNotInitialized",
|
95
|
-
"type": "error"
|
96
|
-
},
|
97
|
-
{
|
98
|
-
"anonymous": false,
|
99
136
|
"inputs": [
|
100
137
|
{
|
101
|
-
"
|
102
|
-
"
|
103
|
-
"
|
104
|
-
"type": "uint24"
|
138
|
+
"internalType": "RequestId",
|
139
|
+
"name": "requestId",
|
140
|
+
"type": "uint64"
|
105
141
|
},
|
106
142
|
{
|
107
|
-
"
|
108
|
-
"
|
109
|
-
"
|
110
|
-
"type": "address"
|
143
|
+
"internalType": "NftId",
|
144
|
+
"name": "oracleNftId",
|
145
|
+
"type": "uint96"
|
111
146
|
},
|
112
147
|
{
|
113
|
-
"
|
114
|
-
"
|
115
|
-
"
|
116
|
-
"type": "address"
|
148
|
+
"internalType": "NftId",
|
149
|
+
"name": "callerNftId",
|
150
|
+
"type": "uint96"
|
117
151
|
}
|
118
152
|
],
|
119
|
-
"name": "
|
120
|
-
"type": "
|
153
|
+
"name": "ErrorOracleServiceCallerNotResponsibleOracle",
|
154
|
+
"type": "error"
|
121
155
|
},
|
122
156
|
{
|
123
157
|
"inputs": [
|
124
158
|
{
|
125
|
-
"internalType": "
|
126
|
-
"name": "
|
127
|
-
"type": "
|
159
|
+
"internalType": "Timestamp",
|
160
|
+
"name": "blockTimestamp",
|
161
|
+
"type": "uint40"
|
128
162
|
},
|
129
163
|
{
|
130
164
|
"internalType": "Timestamp",
|
131
|
-
"name": "
|
165
|
+
"name": "expiryAt",
|
132
166
|
"type": "uint40"
|
133
167
|
}
|
134
168
|
],
|
135
|
-
"name": "
|
136
|
-
"
|
137
|
-
"stateMutability": "nonpayable",
|
138
|
-
"type": "function"
|
169
|
+
"name": "ErrorOracleServiceExpiryInThePast",
|
170
|
+
"type": "error"
|
139
171
|
},
|
140
172
|
{
|
141
173
|
"inputs": [
|
142
174
|
{
|
143
|
-
"internalType": "
|
144
|
-
"name": "
|
145
|
-
"type": "
|
175
|
+
"internalType": "RequestId",
|
176
|
+
"name": "requestId",
|
177
|
+
"type": "uint64"
|
146
178
|
},
|
147
179
|
{
|
148
|
-
"internalType": "
|
149
|
-
"name": "
|
150
|
-
"type": "
|
180
|
+
"internalType": "NftId",
|
181
|
+
"name": "expectedOracleNftId",
|
182
|
+
"type": "uint96"
|
151
183
|
},
|
152
184
|
{
|
153
|
-
"internalType": "
|
154
|
-
"name": "
|
155
|
-
"type": "
|
156
|
-
}
|
185
|
+
"internalType": "NftId",
|
186
|
+
"name": "oracleNftId",
|
187
|
+
"type": "uint96"
|
188
|
+
}
|
189
|
+
],
|
190
|
+
"name": "ErrorOracleServiceNotResponsibleOracle",
|
191
|
+
"type": "error"
|
192
|
+
},
|
193
|
+
{
|
194
|
+
"inputs": [
|
157
195
|
{
|
158
|
-
"internalType": "
|
159
|
-
"name": "
|
160
|
-
"type": "
|
196
|
+
"internalType": "ObjectType",
|
197
|
+
"name": "callerObjectType",
|
198
|
+
"type": "uint8"
|
161
199
|
},
|
162
200
|
{
|
163
201
|
"internalType": "NftId",
|
164
|
-
"name": "
|
202
|
+
"name": "productNft",
|
165
203
|
"type": "uint96"
|
166
204
|
},
|
167
205
|
{
|
168
|
-
"internalType": "
|
169
|
-
"name": "
|
170
|
-
"type": "
|
206
|
+
"internalType": "NftId",
|
207
|
+
"name": "oracleParentNftId",
|
208
|
+
"type": "uint96"
|
171
209
|
}
|
172
210
|
],
|
173
|
-
"name": "
|
174
|
-
"
|
211
|
+
"name": "ErrorOracleServiceProductMismatch",
|
212
|
+
"type": "error"
|
213
|
+
},
|
214
|
+
{
|
215
|
+
"inputs": [
|
175
216
|
{
|
176
|
-
"internalType": "
|
177
|
-
"name": "
|
178
|
-
"type": "
|
217
|
+
"internalType": "RequestId",
|
218
|
+
"name": "requestId",
|
219
|
+
"type": "uint64"
|
179
220
|
},
|
180
221
|
{
|
181
|
-
"internalType": "
|
182
|
-
"name": "
|
183
|
-
"type": "
|
184
|
-
}
|
222
|
+
"internalType": "Timestamp",
|
223
|
+
"name": "expiredAt",
|
224
|
+
"type": "uint40"
|
225
|
+
}
|
226
|
+
],
|
227
|
+
"name": "ErrorOracleServiceRequestExpired",
|
228
|
+
"type": "error"
|
229
|
+
},
|
230
|
+
{
|
231
|
+
"inputs": [
|
185
232
|
{
|
186
|
-
"internalType": "
|
187
|
-
"name": "
|
188
|
-
"type": "
|
233
|
+
"internalType": "RequestId",
|
234
|
+
"name": "requestId",
|
235
|
+
"type": "uint64"
|
189
236
|
},
|
190
237
|
{
|
191
|
-
"internalType": "
|
192
|
-
"name": "
|
193
|
-
"type": "
|
194
|
-
}
|
238
|
+
"internalType": "StateId",
|
239
|
+
"name": "state",
|
240
|
+
"type": "uint8"
|
241
|
+
}
|
242
|
+
],
|
243
|
+
"name": "ErrorOracleServiceRequestStateNotActive",
|
244
|
+
"type": "error"
|
245
|
+
},
|
246
|
+
{
|
247
|
+
"inputs": [],
|
248
|
+
"name": "ErrorServiceNotImplemented",
|
249
|
+
"type": "error"
|
250
|
+
},
|
251
|
+
{
|
252
|
+
"anonymous": false,
|
253
|
+
"inputs": [
|
195
254
|
{
|
196
|
-
"
|
197
|
-
"
|
198
|
-
"
|
255
|
+
"indexed": false,
|
256
|
+
"internalType": "address",
|
257
|
+
"name": "authority",
|
258
|
+
"type": "address"
|
199
259
|
}
|
200
260
|
],
|
201
|
-
"
|
202
|
-
"type": "
|
261
|
+
"name": "AuthorityUpdated",
|
262
|
+
"type": "event"
|
203
263
|
},
|
204
264
|
{
|
265
|
+
"anonymous": false,
|
205
266
|
"inputs": [
|
206
267
|
{
|
207
|
-
"
|
208
|
-
"
|
209
|
-
"
|
268
|
+
"indexed": false,
|
269
|
+
"internalType": "RequestId",
|
270
|
+
"name": "requestId",
|
271
|
+
"type": "uint64"
|
210
272
|
},
|
211
273
|
{
|
212
|
-
"
|
213
|
-
"
|
214
|
-
"
|
215
|
-
|
216
|
-
|
217
|
-
"name": "calculateRequiredCollateral",
|
218
|
-
"outputs": [
|
274
|
+
"indexed": false,
|
275
|
+
"internalType": "address",
|
276
|
+
"name": "requesterAddress",
|
277
|
+
"type": "address"
|
278
|
+
},
|
219
279
|
{
|
220
|
-
"
|
221
|
-
"
|
222
|
-
"
|
280
|
+
"indexed": false,
|
281
|
+
"internalType": "string",
|
282
|
+
"name": "functionSignature",
|
283
|
+
"type": "string"
|
223
284
|
}
|
224
285
|
],
|
225
|
-
"
|
226
|
-
"type": "
|
286
|
+
"name": "LogOracleServiceDeliveryFailed",
|
287
|
+
"type": "event"
|
227
288
|
},
|
228
289
|
{
|
290
|
+
"anonymous": false,
|
229
291
|
"inputs": [
|
230
292
|
{
|
293
|
+
"indexed": false,
|
294
|
+
"internalType": "RequestId",
|
295
|
+
"name": "requestId",
|
296
|
+
"type": "uint64"
|
297
|
+
},
|
298
|
+
{
|
299
|
+
"indexed": false,
|
231
300
|
"internalType": "NftId",
|
232
|
-
"name": "
|
301
|
+
"name": "requesterNftId",
|
233
302
|
"type": "uint96"
|
234
303
|
}
|
235
304
|
],
|
236
|
-
"name": "
|
237
|
-
"
|
238
|
-
"stateMutability": "nonpayable",
|
239
|
-
"type": "function"
|
305
|
+
"name": "LogOracleServiceRequestCancelled",
|
306
|
+
"type": "event"
|
240
307
|
},
|
241
308
|
{
|
309
|
+
"anonymous": false,
|
242
310
|
"inputs": [
|
243
311
|
{
|
312
|
+
"indexed": false,
|
313
|
+
"internalType": "RequestId",
|
314
|
+
"name": "requestId",
|
315
|
+
"type": "uint64"
|
316
|
+
},
|
317
|
+
{
|
318
|
+
"indexed": false,
|
319
|
+
"internalType": "NftId",
|
320
|
+
"name": "requesterNftId",
|
321
|
+
"type": "uint96"
|
322
|
+
},
|
323
|
+
{
|
324
|
+
"indexed": false,
|
244
325
|
"internalType": "NftId",
|
245
|
-
"name": "
|
326
|
+
"name": "oracleNftId",
|
246
327
|
"type": "uint96"
|
247
328
|
},
|
248
329
|
{
|
330
|
+
"indexed": false,
|
249
331
|
"internalType": "Timestamp",
|
250
|
-
"name": "
|
332
|
+
"name": "expiryAt",
|
251
333
|
"type": "uint40"
|
252
334
|
}
|
253
335
|
],
|
254
|
-
"name": "
|
255
|
-
"
|
256
|
-
"stateMutability": "nonpayable",
|
257
|
-
"type": "function"
|
336
|
+
"name": "LogOracleServiceRequestCreated",
|
337
|
+
"type": "event"
|
258
338
|
},
|
259
339
|
{
|
340
|
+
"anonymous": false,
|
260
341
|
"inputs": [
|
261
342
|
{
|
262
|
-
"
|
263
|
-
"
|
264
|
-
"
|
265
|
-
|
266
|
-
{
|
267
|
-
"internalType": "RiskId",
|
268
|
-
"name": "riskId",
|
269
|
-
"type": "bytes8"
|
270
|
-
},
|
271
|
-
{
|
272
|
-
"internalType": "uint256",
|
273
|
-
"name": "sumInsuredAmount",
|
274
|
-
"type": "uint256"
|
343
|
+
"indexed": false,
|
344
|
+
"internalType": "RequestId",
|
345
|
+
"name": "requestId",
|
346
|
+
"type": "uint64"
|
275
347
|
},
|
276
348
|
{
|
277
|
-
"
|
278
|
-
"
|
279
|
-
"
|
280
|
-
|
349
|
+
"indexed": false,
|
350
|
+
"internalType": "NftId",
|
351
|
+
"name": "oracleNftId",
|
352
|
+
"type": "uint96"
|
353
|
+
}
|
354
|
+
],
|
355
|
+
"name": "LogOracleServiceResponseProcessed",
|
356
|
+
"type": "event"
|
357
|
+
},
|
358
|
+
{
|
359
|
+
"anonymous": false,
|
360
|
+
"inputs": [
|
281
361
|
{
|
282
|
-
"
|
283
|
-
"
|
284
|
-
"
|
362
|
+
"indexed": false,
|
363
|
+
"internalType": "RequestId",
|
364
|
+
"name": "requestId",
|
365
|
+
"type": "uint64"
|
285
366
|
},
|
286
367
|
{
|
368
|
+
"indexed": false,
|
287
369
|
"internalType": "NftId",
|
288
|
-
"name": "
|
370
|
+
"name": "requesterNftId",
|
289
371
|
"type": "uint96"
|
290
|
-
},
|
291
|
-
{
|
292
|
-
"internalType": "ReferralId",
|
293
|
-
"name": "referralId",
|
294
|
-
"type": "bytes8"
|
295
372
|
}
|
296
373
|
],
|
297
|
-
"name": "
|
374
|
+
"name": "LogOracleServiceResponseResent",
|
375
|
+
"type": "event"
|
376
|
+
},
|
377
|
+
{
|
378
|
+
"inputs": [],
|
379
|
+
"name": "authority",
|
298
380
|
"outputs": [
|
299
381
|
{
|
300
|
-
"internalType": "
|
301
|
-
"name": "
|
302
|
-
"type": "
|
382
|
+
"internalType": "address",
|
383
|
+
"name": "",
|
384
|
+
"type": "address"
|
303
385
|
}
|
304
386
|
],
|
387
|
+
"stateMutability": "view",
|
388
|
+
"type": "function"
|
389
|
+
},
|
390
|
+
{
|
391
|
+
"inputs": [
|
392
|
+
{
|
393
|
+
"internalType": "RequestId",
|
394
|
+
"name": "requestId",
|
395
|
+
"type": "uint64"
|
396
|
+
}
|
397
|
+
],
|
398
|
+
"name": "cancel",
|
399
|
+
"outputs": [],
|
305
400
|
"stateMutability": "nonpayable",
|
306
401
|
"type": "function"
|
307
402
|
},
|
403
|
+
{
|
404
|
+
"inputs": [],
|
405
|
+
"name": "getDomain",
|
406
|
+
"outputs": [
|
407
|
+
{
|
408
|
+
"internalType": "ObjectType",
|
409
|
+
"name": "serviceDomain",
|
410
|
+
"type": "uint8"
|
411
|
+
}
|
412
|
+
],
|
413
|
+
"stateMutability": "pure",
|
414
|
+
"type": "function"
|
415
|
+
},
|
308
416
|
{
|
309
417
|
"inputs": [],
|
310
418
|
"name": "getInitialInfo",
|
@@ -350,11 +458,6 @@
|
|
350
458
|
"internalType": "struct IRegistry.ObjectInfo",
|
351
459
|
"name": "",
|
352
460
|
"type": "tuple"
|
353
|
-
},
|
354
|
-
{
|
355
|
-
"internalType": "bytes",
|
356
|
-
"name": "data",
|
357
|
-
"type": "bytes"
|
358
461
|
}
|
359
462
|
],
|
360
463
|
"stateMutability": "view",
|
@@ -362,12 +465,12 @@
|
|
362
465
|
},
|
363
466
|
{
|
364
467
|
"inputs": [],
|
365
|
-
"name": "
|
468
|
+
"name": "getNftId",
|
366
469
|
"outputs": [
|
367
470
|
{
|
368
|
-
"internalType": "
|
471
|
+
"internalType": "NftId",
|
369
472
|
"name": "",
|
370
|
-
"type": "
|
473
|
+
"type": "uint96"
|
371
474
|
}
|
372
475
|
],
|
373
476
|
"stateMutability": "view",
|
@@ -375,12 +478,12 @@
|
|
375
478
|
},
|
376
479
|
{
|
377
480
|
"inputs": [],
|
378
|
-
"name": "
|
481
|
+
"name": "getOwner",
|
379
482
|
"outputs": [
|
380
483
|
{
|
381
|
-
"internalType": "
|
382
|
-
"name": "
|
383
|
-
"type": "
|
484
|
+
"internalType": "address",
|
485
|
+
"name": "",
|
486
|
+
"type": "address"
|
384
487
|
}
|
385
488
|
],
|
386
489
|
"stateMutability": "view",
|
@@ -388,25 +491,12 @@
|
|
388
491
|
},
|
389
492
|
{
|
390
493
|
"inputs": [],
|
391
|
-
"name": "
|
392
|
-
"outputs": [
|
393
|
-
{
|
394
|
-
"internalType": "string",
|
395
|
-
"name": "name",
|
396
|
-
"type": "string"
|
397
|
-
}
|
398
|
-
],
|
399
|
-
"stateMutability": "pure",
|
400
|
-
"type": "function"
|
401
|
-
},
|
402
|
-
{
|
403
|
-
"inputs": [],
|
404
|
-
"name": "getNftId",
|
494
|
+
"name": "getRegistry",
|
405
495
|
"outputs": [
|
406
496
|
{
|
407
|
-
"internalType": "
|
497
|
+
"internalType": "contract IRegistry",
|
408
498
|
"name": "",
|
409
|
-
"type": "
|
499
|
+
"type": "address"
|
410
500
|
}
|
411
501
|
],
|
412
502
|
"stateMutability": "view",
|
@@ -414,28 +504,28 @@
|
|
414
504
|
},
|
415
505
|
{
|
416
506
|
"inputs": [],
|
417
|
-
"name": "
|
507
|
+
"name": "getRelease",
|
418
508
|
"outputs": [
|
419
509
|
{
|
420
|
-
"internalType": "
|
421
|
-
"name": "",
|
422
|
-
"type": "
|
510
|
+
"internalType": "VersionPart",
|
511
|
+
"name": "release",
|
512
|
+
"type": "uint8"
|
423
513
|
}
|
424
514
|
],
|
425
|
-
"stateMutability": "
|
515
|
+
"stateMutability": "pure",
|
426
516
|
"type": "function"
|
427
517
|
},
|
428
518
|
{
|
429
519
|
"inputs": [],
|
430
|
-
"name": "
|
520
|
+
"name": "getRoleId",
|
431
521
|
"outputs": [
|
432
522
|
{
|
433
|
-
"internalType": "
|
434
|
-
"name": "",
|
435
|
-
"type": "
|
523
|
+
"internalType": "RoleId",
|
524
|
+
"name": "serviceRoleId",
|
525
|
+
"type": "uint64"
|
436
526
|
}
|
437
527
|
],
|
438
|
-
"stateMutability": "
|
528
|
+
"stateMutability": "pure",
|
439
529
|
"type": "function"
|
440
530
|
},
|
441
531
|
{
|
@@ -454,17 +544,29 @@
|
|
454
544
|
{
|
455
545
|
"inputs": [
|
456
546
|
{
|
457
|
-
"internalType": "
|
458
|
-
"name": "
|
459
|
-
"type": "
|
547
|
+
"internalType": "address",
|
548
|
+
"name": "activatedBy",
|
549
|
+
"type": "address"
|
550
|
+
},
|
551
|
+
{
|
552
|
+
"internalType": "bytes",
|
553
|
+
"name": "activationData",
|
554
|
+
"type": "bytes"
|
460
555
|
}
|
461
556
|
],
|
462
|
-
"name": "
|
557
|
+
"name": "initializeVersionable",
|
558
|
+
"outputs": [],
|
559
|
+
"stateMutability": "nonpayable",
|
560
|
+
"type": "function"
|
561
|
+
},
|
562
|
+
{
|
563
|
+
"inputs": [],
|
564
|
+
"name": "isConsumingScheduledOp",
|
463
565
|
"outputs": [
|
464
566
|
{
|
465
|
-
"internalType": "
|
466
|
-
"name": "
|
467
|
-
"type": "
|
567
|
+
"internalType": "bytes4",
|
568
|
+
"name": "",
|
569
|
+
"type": "bytes4"
|
468
570
|
}
|
469
571
|
],
|
470
572
|
"stateMutability": "view",
|
@@ -472,82 +574,60 @@
|
|
472
574
|
},
|
473
575
|
{
|
474
576
|
"inputs": [],
|
475
|
-
"name": "
|
577
|
+
"name": "linkToRegisteredNftId",
|
476
578
|
"outputs": [
|
477
579
|
{
|
478
|
-
"internalType": "
|
479
|
-
"name": "
|
480
|
-
"type": "
|
580
|
+
"internalType": "NftId",
|
581
|
+
"name": "",
|
582
|
+
"type": "uint96"
|
481
583
|
}
|
482
584
|
],
|
483
|
-
"stateMutability": "
|
585
|
+
"stateMutability": "nonpayable",
|
484
586
|
"type": "function"
|
485
587
|
},
|
486
588
|
{
|
487
589
|
"inputs": [
|
488
590
|
{
|
489
|
-
"internalType": "
|
490
|
-
"name": "
|
491
|
-
"type": "
|
591
|
+
"internalType": "NftId",
|
592
|
+
"name": "oracleNftId",
|
593
|
+
"type": "uint96"
|
594
|
+
},
|
595
|
+
{
|
596
|
+
"internalType": "bytes",
|
597
|
+
"name": "requestData",
|
598
|
+
"type": "bytes"
|
599
|
+
},
|
600
|
+
{
|
601
|
+
"internalType": "Timestamp",
|
602
|
+
"name": "expiryAt",
|
603
|
+
"type": "uint40"
|
604
|
+
},
|
605
|
+
{
|
606
|
+
"internalType": "string",
|
607
|
+
"name": "callbackMethodName",
|
608
|
+
"type": "string"
|
492
609
|
}
|
493
610
|
],
|
494
|
-
"name": "
|
611
|
+
"name": "request",
|
495
612
|
"outputs": [
|
496
613
|
{
|
497
|
-
"
|
498
|
-
|
499
|
-
|
500
|
-
"name": "version",
|
501
|
-
"type": "uint24"
|
502
|
-
},
|
503
|
-
{
|
504
|
-
"internalType": "address",
|
505
|
-
"name": "implementation",
|
506
|
-
"type": "address"
|
507
|
-
},
|
508
|
-
{
|
509
|
-
"internalType": "address",
|
510
|
-
"name": "activatedBy",
|
511
|
-
"type": "address"
|
512
|
-
},
|
513
|
-
{
|
514
|
-
"internalType": "Timestamp",
|
515
|
-
"name": "activatedAt",
|
516
|
-
"type": "uint40"
|
517
|
-
},
|
518
|
-
{
|
519
|
-
"internalType": "Blocknumber",
|
520
|
-
"name": "activatedIn",
|
521
|
-
"type": "uint32"
|
522
|
-
}
|
523
|
-
],
|
524
|
-
"internalType": "struct IVersionable.VersionInfo",
|
525
|
-
"name": "versionInfo",
|
526
|
-
"type": "tuple"
|
614
|
+
"internalType": "RequestId",
|
615
|
+
"name": "requestId",
|
616
|
+
"type": "uint64"
|
527
617
|
}
|
528
618
|
],
|
529
|
-
"stateMutability": "
|
619
|
+
"stateMutability": "nonpayable",
|
530
620
|
"type": "function"
|
531
621
|
},
|
532
622
|
{
|
533
623
|
"inputs": [
|
534
624
|
{
|
535
|
-
"internalType": "
|
536
|
-
"name": "
|
537
|
-
"type": "
|
538
|
-
},
|
539
|
-
{
|
540
|
-
"internalType": "address",
|
541
|
-
"name": "activatedBy",
|
542
|
-
"type": "address"
|
543
|
-
},
|
544
|
-
{
|
545
|
-
"internalType": "bytes",
|
546
|
-
"name": "activationData",
|
547
|
-
"type": "bytes"
|
625
|
+
"internalType": "RequestId",
|
626
|
+
"name": "requestId",
|
627
|
+
"type": "uint64"
|
548
628
|
}
|
549
629
|
],
|
550
|
-
"name": "
|
630
|
+
"name": "resend",
|
551
631
|
"outputs": [],
|
552
632
|
"stateMutability": "nonpayable",
|
553
633
|
"type": "function"
|
@@ -555,38 +635,36 @@
|
|
555
635
|
{
|
556
636
|
"inputs": [
|
557
637
|
{
|
558
|
-
"internalType": "
|
559
|
-
"name": "
|
560
|
-
"type": "
|
638
|
+
"internalType": "RequestId",
|
639
|
+
"name": "requestId",
|
640
|
+
"type": "uint64"
|
641
|
+
},
|
642
|
+
{
|
643
|
+
"internalType": "bytes",
|
644
|
+
"name": "responseData",
|
645
|
+
"type": "bytes"
|
561
646
|
}
|
562
647
|
],
|
563
|
-
"name": "
|
648
|
+
"name": "respond",
|
564
649
|
"outputs": [
|
565
650
|
{
|
566
651
|
"internalType": "bool",
|
567
|
-
"name": "",
|
652
|
+
"name": "success",
|
568
653
|
"type": "bool"
|
569
654
|
}
|
570
655
|
],
|
571
|
-
"stateMutability": "view",
|
572
|
-
"type": "function"
|
573
|
-
},
|
574
|
-
{
|
575
|
-
"inputs": [],
|
576
|
-
"name": "linkToRegisteredNftId",
|
577
|
-
"outputs": [],
|
578
656
|
"stateMutability": "nonpayable",
|
579
657
|
"type": "function"
|
580
658
|
},
|
581
659
|
{
|
582
660
|
"inputs": [
|
583
661
|
{
|
584
|
-
"internalType": "
|
585
|
-
"name": "
|
586
|
-
"type": "
|
662
|
+
"internalType": "address",
|
663
|
+
"name": "",
|
664
|
+
"type": "address"
|
587
665
|
}
|
588
666
|
],
|
589
|
-
"name": "
|
667
|
+
"name": "setAuthority",
|
590
668
|
"outputs": [],
|
591
669
|
"stateMutability": "nonpayable",
|
592
670
|
"type": "function"
|
@@ -612,46 +690,13 @@
|
|
612
690
|
},
|
613
691
|
{
|
614
692
|
"inputs": [
|
615
|
-
{
|
616
|
-
"internalType": "NftId",
|
617
|
-
"name": "policyNftId",
|
618
|
-
"type": "uint96"
|
619
|
-
},
|
620
|
-
{
|
621
|
-
"internalType": "bool",
|
622
|
-
"name": "requirePremiumPayment",
|
623
|
-
"type": "bool"
|
624
|
-
},
|
625
|
-
{
|
626
|
-
"internalType": "Timestamp",
|
627
|
-
"name": "activateAt",
|
628
|
-
"type": "uint40"
|
629
|
-
}
|
630
|
-
],
|
631
|
-
"name": "underwrite",
|
632
|
-
"outputs": [],
|
633
|
-
"stateMutability": "nonpayable",
|
634
|
-
"type": "function"
|
635
|
-
},
|
636
|
-
{
|
637
|
-
"inputs": [
|
638
|
-
{
|
639
|
-
"internalType": "address",
|
640
|
-
"name": "implementation",
|
641
|
-
"type": "address"
|
642
|
-
},
|
643
|
-
{
|
644
|
-
"internalType": "address",
|
645
|
-
"name": "activatedBy",
|
646
|
-
"type": "address"
|
647
|
-
},
|
648
693
|
{
|
649
694
|
"internalType": "bytes",
|
650
695
|
"name": "upgradeData",
|
651
696
|
"type": "bytes"
|
652
697
|
}
|
653
698
|
],
|
654
|
-
"name": "
|
699
|
+
"name": "upgradeVersionable",
|
655
700
|
"outputs": [],
|
656
701
|
"stateMutability": "nonpayable",
|
657
702
|
"type": "function"
|