@etherisc/gif-next 0.0.2-ffa91a6-022 → 3.0.0-06d5e8b-738
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +124 -332
- package/artifacts/contracts/accounting/AccountingService.sol/AccountingService.dbg.json +1 -1
- package/artifacts/contracts/accounting/AccountingService.sol/AccountingService.json +106 -38
- package/artifacts/contracts/accounting/AccountingServiceManager.sol/AccountingServiceManager.dbg.json +1 -1
- package/artifacts/contracts/accounting/AccountingServiceManager.sol/AccountingServiceManager.json +111 -45
- package/artifacts/contracts/accounting/IAccountingService.sol/IAccountingService.dbg.json +1 -1
- package/artifacts/contracts/accounting/IAccountingService.sol/IAccountingService.json +58 -6
- package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.dbg.json +1 -1
- package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.json +370 -141
- package/artifacts/contracts/authorization/AccessAdminLib.sol/AccessAdminLib.dbg.json +1 -1
- package/artifacts/contracts/authorization/AccessAdminLib.sol/AccessAdminLib.json +1582 -202
- package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.dbg.json +1 -1
- package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.json +2 -2
- package/artifacts/contracts/authorization/Authorization.sol/Authorization.dbg.json +1 -1
- package/artifacts/contracts/authorization/Authorization.sol/Authorization.json +266 -64
- package/artifacts/contracts/authorization/IAccess.sol/IAccess.dbg.json +1 -1
- package/artifacts/contracts/authorization/IAccessAdmin.sol/IAccessAdmin.dbg.json +1 -1
- package/artifacts/contracts/authorization/IAccessAdmin.sol/IAccessAdmin.json +263 -87
- package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.dbg.json +1 -1
- package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.json +102 -19
- package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.dbg.json +1 -1
- package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.json +256 -16
- package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.dbg.json +1 -1
- package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.json +426 -27
- package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.dbg.json +1 -1
- package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.json +63 -38
- package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.dbg.json +1 -1
- package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.json +269 -69
- package/artifacts/contracts/distribution/Distribution.sol/Distribution.dbg.json +1 -1
- package/artifacts/contracts/distribution/Distribution.sol/Distribution.json +21 -12
- package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.dbg.json +1 -1
- package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.json +376 -147
- package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +1 -1
- package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.json +160 -78
- package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.dbg.json +1 -1
- package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.json +20 -11
- package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.dbg.json +1 -1
- package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.json +232 -19
- package/artifacts/contracts/examples/fire/DamageLevel.sol/DamageLevelLib.dbg.json +1 -1
- package/artifacts/contracts/examples/fire/FirePool.sol/FirePool.dbg.json +1 -1
- package/artifacts/contracts/examples/fire/FirePool.sol/FirePool.json +108 -79
- package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.dbg.json +1 -1
- package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.json +268 -68
- package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.dbg.json +1 -1
- package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.json +136 -95
- package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.dbg.json +1 -1
- package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.json +268 -68
- package/artifacts/contracts/examples/fire/FireUSD.sol/FireUSD.dbg.json +1 -1
- package/artifacts/contracts/examples/flight/FlightLib.sol/FlightLib.dbg.json +4 -0
- package/artifacts/contracts/examples/flight/FlightLib.sol/FlightLib.json +728 -0
- package/artifacts/contracts/examples/flight/FlightMessageVerifier.sol/FlightMessageVerifier.dbg.json +4 -0
- package/artifacts/contracts/examples/flight/FlightMessageVerifier.sol/FlightMessageVerifier.json +229 -0
- package/artifacts/contracts/examples/flight/FlightOracle.sol/FlightOracle.dbg.json +4 -0
- package/artifacts/contracts/examples/flight/FlightOracle.sol/FlightOracle.json +1234 -0
- package/artifacts/contracts/examples/flight/FlightOracleAuthorization.sol/FlightOracleAuthorization.dbg.json +4 -0
- package/artifacts/contracts/examples/flight/FlightOracleAuthorization.sol/FlightOracleAuthorization.json +896 -0
- package/artifacts/contracts/examples/flight/FlightPool.sol/FlightPool.dbg.json +4 -0
- package/artifacts/contracts/examples/flight/FlightPool.sol/FlightPool.json +1466 -0
- package/artifacts/contracts/examples/flight/FlightPoolAuthorization.sol/FlightPoolAuthorization.dbg.json +4 -0
- package/artifacts/contracts/examples/flight/FlightPoolAuthorization.sol/FlightPoolAuthorization.json +844 -0
- package/artifacts/contracts/examples/flight/FlightProduct.sol/FlightProduct.dbg.json +4 -0
- package/artifacts/contracts/examples/flight/FlightProduct.sol/FlightProduct.json +2497 -0
- package/artifacts/contracts/examples/flight/FlightProductAuthorization.sol/FlightProductAuthorization.dbg.json +4 -0
- package/artifacts/contracts/examples/flight/FlightProductAuthorization.sol/FlightProductAuthorization.json +891 -0
- package/artifacts/contracts/examples/flight/FlightUSD.sol/FlightUSD.dbg.json +4 -0
- package/artifacts/contracts/examples/flight/FlightUSD.sol/FlightUSD.json +586 -0
- package/artifacts/contracts/examples/flight/originalV1.sol/FlightDelayChainlink.dbg.json +4 -0
- package/artifacts/contracts/examples/flight/originalV1.sol/FlightDelayChainlink.json +901 -0
- package/artifacts/contracts/examples/unpermissioned/SimpleDistribution.sol/SimpleDistribution.dbg.json +1 -1
- package/artifacts/contracts/examples/unpermissioned/SimpleDistribution.sol/SimpleDistribution.json +86 -45
- package/artifacts/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol/SimpleDistributionAuthorization.dbg.json +1 -1
- package/artifacts/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol/SimpleDistributionAuthorization.json +268 -68
- package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.dbg.json +1 -1
- package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.json +35 -26
- package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.dbg.json +1 -1
- package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.json +130 -105
- package/artifacts/contracts/examples/unpermissioned/SimplePoolAuthorization.sol/SimplePoolAuthorization.dbg.json +1 -1
- package/artifacts/contracts/examples/unpermissioned/SimplePoolAuthorization.sol/SimplePoolAuthorization.json +268 -68
- package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.dbg.json +1 -1
- package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.json +333 -147
- package/artifacts/contracts/examples/unpermissioned/SimpleProductAuthorization.sol/SimpleProductAuthorization.dbg.json +1 -1
- package/artifacts/contracts/examples/unpermissioned/SimpleProductAuthorization.sol/SimpleProductAuthorization.json +268 -68
- package/artifacts/contracts/instance/BaseStore.sol/BaseStore.dbg.json +4 -0
- package/artifacts/contracts/{shared/IKeyValueStore.sol/IKeyValueStore.json → instance/BaseStore.sol/BaseStore.json} +51 -229
- package/artifacts/contracts/instance/BundleSet.sol/BundleSet.dbg.json +1 -1
- package/artifacts/contracts/instance/BundleSet.sol/BundleSet.json +2 -2
- package/artifacts/contracts/instance/IBaseStore.sol/IBaseStore.dbg.json +4 -0
- package/artifacts/contracts/instance/IBaseStore.sol/IBaseStore.json +304 -0
- package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
- package/artifacts/contracts/instance/IInstance.sol/IInstance.json +374 -35
- package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
- package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +305 -5
- package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
- package/artifacts/contracts/instance/Instance.sol/Instance.json +425 -97
- package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.json +753 -401
- package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.json +236 -80
- package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +747 -553
- package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +331 -31
- package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +100 -42
- package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.json +1323 -2012
- package/artifacts/contracts/instance/ProductStore.sol/ProductStore.dbg.json +4 -0
- package/artifacts/contracts/instance/ProductStore.sol/ProductStore.json +3427 -0
- package/artifacts/contracts/instance/RiskSet.sol/RiskSet.dbg.json +1 -1
- package/artifacts/contracts/instance/RiskSet.sol/RiskSet.json +101 -88
- package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.dbg.json +1 -1
- package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.json +8 -8
- package/artifacts/contracts/instance/base/Cloneable.sol/Cloneable.dbg.json +1 -1
- package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.dbg.json +1 -1
- package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.json +2 -2
- package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.dbg.json +1 -1
- package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.json +2 -2
- package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.dbg.json +1 -1
- package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.json +2 -2
- package/artifacts/contracts/instance/base/ObjectSetHelperLib.sol/ObjectSetHelperLib.dbg.json +1 -1
- package/artifacts/contracts/instance/base/ObjectSetHelperLib.sol/ObjectSetHelperLib.json +20 -20
- package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +1 -1
- package/artifacts/contracts/instance/module/IComponents.sol/IComponents.dbg.json +1 -1
- package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +1 -1
- package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +1 -1
- package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +1 -1
- package/artifacts/contracts/mock/Dip.sol/Dip.dbg.json +1 -1
- package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.dbg.json +1 -1
- package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.json +25 -16
- package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.dbg.json +1 -1
- package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.json +282 -65
- package/artifacts/contracts/oracle/IOracle.sol/IOracle.dbg.json +1 -1
- package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.dbg.json +1 -1
- package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.json +19 -10
- package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.dbg.json +1 -1
- package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.json +29 -0
- package/artifacts/contracts/oracle/Oracle.sol/Oracle.dbg.json +1 -1
- package/artifacts/contracts/oracle/Oracle.sol/Oracle.json +19 -10
- package/artifacts/contracts/oracle/OracleService.sol/OracleService.dbg.json +1 -1
- package/artifacts/contracts/oracle/OracleService.sol/OracleService.json +83 -38
- package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.dbg.json +1 -1
- package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.json +116 -50
- package/artifacts/contracts/pool/BasicPool.sol/BasicPool.dbg.json +1 -1
- package/artifacts/contracts/pool/BasicPool.sol/BasicPool.json +59 -58
- package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.dbg.json +1 -1
- package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.json +268 -68
- package/artifacts/contracts/pool/BundleService.sol/BundleService.dbg.json +1 -1
- package/artifacts/contracts/pool/BundleService.sol/BundleService.json +300 -123
- package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.dbg.json +1 -1
- package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.json +144 -58
- package/artifacts/contracts/pool/IBundleService.sol/IBundleService.dbg.json +1 -1
- package/artifacts/contracts/pool/IBundleService.sol/IBundleService.json +186 -33
- package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.dbg.json +1 -1
- package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.json +29 -20
- package/artifacts/contracts/pool/IPoolService.sol/IPoolService.dbg.json +1 -1
- package/artifacts/contracts/pool/IPoolService.sol/IPoolService.json +238 -19
- package/artifacts/contracts/pool/Pool.sol/Pool.dbg.json +1 -1
- package/artifacts/contracts/pool/Pool.sol/Pool.json +29 -20
- package/artifacts/contracts/pool/PoolLib.sol/PoolLib.dbg.json +1 -1
- package/artifacts/contracts/pool/PoolLib.sol/PoolLib.json +100 -34
- package/artifacts/contracts/pool/PoolService.sol/PoolService.dbg.json +1 -1
- package/artifacts/contracts/pool/PoolService.sol/PoolService.json +338 -79
- package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.dbg.json +1 -1
- package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.json +141 -63
- package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.dbg.json +1 -1
- package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.json +216 -59
- package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +1 -1
- package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.json +113 -43
- package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.dbg.json +1 -1
- package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.json +46 -37
- package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.dbg.json +1 -1
- package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.json +268 -68
- package/artifacts/contracts/product/ClaimService.sol/ClaimService.dbg.json +1 -1
- package/artifacts/contracts/product/ClaimService.sol/ClaimService.json +142 -102
- package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +1 -1
- package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.json +128 -70
- package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.dbg.json +1 -1
- package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.json +166 -1
- package/artifacts/contracts/product/IClaimService.sol/IClaimService.dbg.json +1 -1
- package/artifacts/contracts/product/IClaimService.sol/IClaimService.json +50 -10
- package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.dbg.json +1 -1
- package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.json +55 -0
- package/artifacts/contracts/product/IPricingService.sol/IPricingService.dbg.json +1 -1
- package/artifacts/contracts/product/IPricingService.sol/IPricingService.json +29 -0
- package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.dbg.json +1 -1
- package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.json +40 -31
- package/artifacts/contracts/product/IRiskService.sol/IRiskService.dbg.json +1 -1
- package/artifacts/contracts/product/IRiskService.sol/IRiskService.json +203 -18
- package/artifacts/contracts/product/PolicyService.sol/PolicyService.dbg.json +1 -1
- package/artifacts/contracts/product/PolicyService.sol/PolicyService.json +157 -86
- package/artifacts/contracts/product/PolicyServiceLib.sol/PolicyServiceLib.dbg.json +1 -1
- package/artifacts/contracts/product/PolicyServiceLib.sol/PolicyServiceLib.json +511 -21
- package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +1 -1
- package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.json +138 -72
- package/artifacts/contracts/product/PricingService.sol/PricingService.dbg.json +1 -1
- package/artifacts/contracts/product/PricingService.sol/PricingService.json +93 -112
- package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.dbg.json +1 -1
- package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.json +115 -65
- package/artifacts/contracts/product/Product.sol/Product.dbg.json +1 -1
- package/artifacts/contracts/product/Product.sol/Product.json +40 -31
- package/artifacts/contracts/product/RiskService.sol/RiskService.dbg.json +1 -1
- package/artifacts/contracts/product/RiskService.sol/RiskService.json +231 -46
- package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.dbg.json +1 -1
- package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.json +101 -43
- package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
- package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
- package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +33 -22
- package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
- package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +29 -0
- package/artifacts/contracts/registry/IRelease.sol/IRelease.dbg.json +1 -1
- package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
- package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
- package/artifacts/contracts/registry/Registry.sol/Registry.json +71 -60
- package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.dbg.json +1 -1
- package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.json +539 -314
- package/artifacts/contracts/registry/RegistryAuthorization.sol/RegistryAuthorization.dbg.json +1 -1
- package/artifacts/contracts/registry/RegistryAuthorization.sol/RegistryAuthorization.json +335 -76
- package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
- package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +41 -12
- package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
- package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +96 -38
- package/artifacts/contracts/registry/ReleaseAdmin.sol/ReleaseAdmin.dbg.json +1 -1
- package/artifacts/contracts/registry/ReleaseAdmin.sol/ReleaseAdmin.json +551 -246
- package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.dbg.json +1 -1
- package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.json +2 -2
- package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.dbg.json +1 -1
- package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.json +169 -111
- package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.dbg.json +1 -1
- package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.json +459 -26
- package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +1 -1
- package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +119 -59
- package/artifacts/contracts/shared/Component.sol/Component.dbg.json +1 -1
- package/artifacts/contracts/shared/Component.sol/Component.json +19 -10
- package/artifacts/contracts/shared/ComponentService.sol/ComponentService.dbg.json +1 -1
- package/artifacts/contracts/shared/ComponentService.sol/ComponentService.json +196 -201
- package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.dbg.json +1 -1
- package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.json +130 -64
- package/artifacts/contracts/shared/ContractLib.sol/ContractLib.dbg.json +1 -1
- package/artifacts/contracts/shared/ContractLib.sol/ContractLib.json +76 -41
- package/artifacts/contracts/shared/ContractLib.sol/IInstanceAdminHelper.dbg.json +1 -1
- package/artifacts/contracts/shared/ContractLib.sol/ITargetHelper.dbg.json +1 -1
- package/artifacts/contracts/shared/ContractLib.sol/ITokenRegistryHelper.dbg.json +1 -1
- package/artifacts/contracts/shared/ContractLib.sol/ITokenRegistryHelper.json +2 -2
- package/artifacts/contracts/shared/IAuthorizedComponent.sol/IAuthorizedComponent.dbg.json +4 -0
- package/artifacts/contracts/shared/{ComponentVerifyingService.sol/ComponentVerifyingService.json → IAuthorizedComponent.sol/IAuthorizedComponent.json} +238 -90
- package/artifacts/contracts/shared/IComponent.sol/IComponent.dbg.json +1 -1
- package/artifacts/contracts/shared/IComponent.sol/IComponent.json +19 -10
- package/artifacts/contracts/shared/IComponentService.sol/IComponentService.dbg.json +1 -1
- package/artifacts/contracts/shared/IComponentService.sol/IComponentService.json +111 -132
- package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.dbg.json +1 -1
- package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.json +19 -10
- package/artifacts/contracts/shared/ILifecycle.sol/ILifecycle.dbg.json +1 -1
- package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
- package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +19 -0
- package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +1 -1
- package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
- package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +19 -0
- package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +1 -1
- package/artifacts/contracts/shared/IService.sol/IService.dbg.json +1 -1
- package/artifacts/contracts/shared/IService.sol/IService.json +29 -0
- package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.dbg.json +1 -1
- package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.dbg.json +1 -1
- package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.json +19 -10
- package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.dbg.json +1 -1
- package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.dbg.json +1 -1
- package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.json +2 -2
- package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
- package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +21 -2
- package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +1 -1
- package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +2 -2
- package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
- package/artifacts/contracts/shared/Registerable.sol/Registerable.json +19 -0
- package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +1 -1
- package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +2 -2
- package/artifacts/contracts/shared/Service.sol/Service.dbg.json +1 -1
- package/artifacts/contracts/shared/Service.sol/Service.json +29 -0
- package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
- package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +2 -2
- package/artifacts/contracts/shared/TokenHandler.sol/TokenHandlerBase.dbg.json +1 -1
- package/artifacts/contracts/shared/TokenHandler.sol/TokenHandlerBase.json +2 -2
- package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.dbg.json +1 -1
- package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.json +2 -2
- package/artifacts/contracts/staking/IStaking.sol/IStaking.dbg.json +1 -1
- package/artifacts/contracts/staking/IStaking.sol/IStaking.json +1390 -134
- package/artifacts/contracts/staking/IStakingService.sol/IStakingService.dbg.json +1 -1
- package/artifacts/contracts/staking/IStakingService.sol/IStakingService.json +97 -117
- package/artifacts/contracts/staking/ITargetLimitHandler.sol/ITargetLimitHandler.dbg.json +4 -0
- package/artifacts/contracts/staking/ITargetLimitHandler.sol/ITargetLimitHandler.json +50 -0
- package/artifacts/contracts/staking/Staking.sol/Staking.dbg.json +1 -1
- package/artifacts/contracts/staking/Staking.sol/Staking.json +1479 -192
- package/artifacts/contracts/staking/StakingLib.sol/StakingLib.dbg.json +1 -1
- package/artifacts/contracts/staking/StakingLib.sol/StakingLib.json +77 -76
- package/artifacts/contracts/staking/StakingManager.sol/StakingManager.dbg.json +1 -1
- package/artifacts/contracts/staking/StakingManager.sol/StakingManager.json +139 -64
- package/artifacts/contracts/staking/StakingReader.sol/StakingReader.dbg.json +1 -1
- package/artifacts/contracts/staking/StakingReader.sol/StakingReader.json +296 -152
- package/artifacts/contracts/staking/StakingService.sol/StakingService.dbg.json +1 -1
- package/artifacts/contracts/staking/StakingService.sol/StakingService.json +131 -167
- package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.dbg.json +1 -1
- package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.json +96 -46
- package/artifacts/contracts/staking/StakingStore.sol/StakingStore.dbg.json +1 -1
- package/artifacts/contracts/staking/StakingStore.sol/StakingStore.json +1615 -815
- package/artifacts/contracts/staking/TargetHandler.sol/TargetHandler.dbg.json +4 -0
- package/artifacts/contracts/staking/TargetHandler.sol/TargetHandler.json +309 -0
- package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.dbg.json +1 -1
- package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.json +153 -91
- package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.dbg.json +1 -1
- package/artifacts/contracts/type/Amount.sol/AmountLib.dbg.json +1 -1
- package/artifacts/contracts/type/Amount.sol/AmountLib.json +10 -10
- package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.dbg.json +1 -1
- package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.json +64 -19
- package/artifacts/contracts/type/ChainId.sol/ChainIdLib.dbg.json +4 -0
- package/artifacts/contracts/type/ChainId.sol/ChainIdLib.json +193 -0
- package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.dbg.json +1 -1
- package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.json +2 -2
- package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.dbg.json +1 -1
- package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.json +2 -2
- package/artifacts/contracts/type/Fee.sol/FeeLib.dbg.json +1 -1
- package/artifacts/contracts/type/Fee.sol/FeeLib.json +93 -37
- package/artifacts/contracts/type/Key32.sol/Key32Lib.dbg.json +1 -1
- package/artifacts/contracts/type/Key32.sol/Key32Lib.json +2 -2
- package/artifacts/contracts/type/Key32Set.sol/LibKey32Set.dbg.json +1 -1
- package/artifacts/contracts/type/Key32Set.sol/LibKey32Set.json +2 -2
- package/artifacts/contracts/type/NftId.sol/NftIdLib.dbg.json +1 -1
- package/artifacts/contracts/type/NftId.sol/NftIdLib.json +2 -2
- package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.dbg.json +1 -1
- package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.json +2 -2
- package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.dbg.json +1 -1
- package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.json +22 -25
- package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.dbg.json +1 -1
- package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.json +2 -2
- package/artifacts/contracts/type/Referral.sol/ReferralLib.dbg.json +1 -1
- package/artifacts/contracts/type/Referral.sol/ReferralLib.json +23 -4
- package/artifacts/contracts/type/RequestId.sol/RequestIdLib.dbg.json +1 -1
- package/artifacts/contracts/type/RequestId.sol/RequestIdLib.json +2 -2
- package/artifacts/contracts/type/RequestIdSet.sol/LibRequestIdSet.dbg.json +4 -0
- package/artifacts/contracts/type/RequestIdSet.sol/LibRequestIdSet.json +33 -0
- package/artifacts/contracts/type/RiskId.sol/RiskIdLib.dbg.json +1 -1
- package/artifacts/contracts/type/RiskId.sol/RiskIdLib.json +2 -2
- package/artifacts/contracts/type/RoleId.sol/RoleIdLib.dbg.json +1 -1
- package/artifacts/contracts/type/RoleId.sol/RoleIdLib.json +39 -218
- package/artifacts/contracts/type/Seconds.sol/SecondsLib.dbg.json +1 -1
- package/artifacts/contracts/type/Seconds.sol/SecondsLib.json +64 -2
- package/artifacts/contracts/type/Selector.sol/SelectorLib.dbg.json +1 -1
- package/artifacts/contracts/type/Selector.sol/SelectorSetLib.dbg.json +1 -1
- package/artifacts/contracts/type/StateId.sol/StateIdLib.dbg.json +1 -1
- package/artifacts/contracts/type/String.sol/StrLib.dbg.json +1 -1
- package/artifacts/contracts/type/String.sol/StrLib.json +69 -2
- package/artifacts/contracts/type/Timestamp.sol/TimestampLib.dbg.json +1 -1
- package/artifacts/contracts/type/Timestamp.sol/TimestampLib.json +37 -5
- package/artifacts/contracts/type/UFixed.sol/UFixedLib.dbg.json +1 -1
- package/artifacts/contracts/type/UFixed.sol/UFixedLib.json +60 -36
- package/artifacts/contracts/type/Version.sol/VersionLib.dbg.json +1 -1
- package/artifacts/contracts/type/Version.sol/VersionPartLib.dbg.json +1 -1
- package/artifacts/contracts/upgradeability/IVersionable.sol/IVersionable.dbg.json +1 -1
- package/artifacts/contracts/upgradeability/IVersionable.sol/IVersionable.json +10 -0
- package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.dbg.json +1 -1
- package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.json +81 -27
- package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +1 -1
- package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +15 -2
- package/artifacts/contracts/upgradeability/Versionable.sol/Versionable.dbg.json +1 -1
- package/artifacts/contracts/upgradeability/Versionable.sol/Versionable.json +10 -0
- package/contracts/accounting/AccountingService.sol +15 -3
- package/contracts/accounting/IAccountingService.sol +4 -2
- package/contracts/authorization/AccessAdmin.sol +303 -326
- package/contracts/authorization/AccessAdminLib.sol +535 -23
- package/contracts/authorization/AccessManagerCloneable.sol +0 -18
- package/contracts/authorization/Authorization.sol +64 -239
- package/contracts/authorization/IAccess.sol +29 -12
- package/contracts/authorization/IAccessAdmin.sol +25 -53
- package/contracts/authorization/IAuthorization.sol +3 -57
- package/contracts/authorization/IServiceAuthorization.sol +55 -17
- package/contracts/authorization/ServiceAuthorization.sol +228 -34
- package/contracts/distribution/BasicDistribution.sol +3 -4
- package/contracts/distribution/BasicDistributionAuthorization.sol +11 -4
- package/contracts/distribution/Distribution.sol +9 -8
- package/contracts/distribution/DistributionService.sol +125 -62
- package/contracts/distribution/IDistributionComponent.sol +3 -1
- package/contracts/distribution/IDistributionService.sol +20 -8
- package/contracts/examples/fire/FireProduct.sol +6 -6
- package/contracts/examples/flight/FlightLib.sol +300 -0
- package/contracts/examples/flight/FlightMessageVerifier.sol +128 -0
- package/contracts/examples/flight/FlightOracle.sol +171 -0
- package/contracts/examples/flight/FlightOracleAuthorization.sol +53 -0
- package/contracts/examples/flight/FlightPool.sol +89 -0
- package/contracts/examples/flight/FlightPoolAuthorization.sol +37 -0
- package/contracts/examples/flight/FlightProduct.sol +685 -0
- package/contracts/examples/flight/FlightProductAuthorization.sol +69 -0
- package/contracts/examples/flight/FlightUSD.sol +28 -0
- package/contracts/examples/flight/originalV1.sol +396 -0
- package/contracts/examples/unpermissioned/SimpleProduct.sol +83 -19
- package/contracts/instance/BaseStore.sol +93 -0
- package/contracts/instance/IBaseStore.sol +37 -0
- package/contracts/instance/IInstance.sol +57 -6
- package/contracts/instance/IInstanceService.sol +42 -7
- package/contracts/instance/Instance.sol +111 -56
- package/contracts/instance/InstanceAdmin.sol +150 -294
- package/contracts/instance/InstanceAuthorizationV3.sol +106 -66
- package/contracts/instance/InstanceReader.sol +376 -392
- package/contracts/instance/InstanceService.sol +186 -134
- package/contracts/instance/InstanceStore.sol +153 -128
- package/contracts/instance/ProductStore.sol +290 -0
- package/contracts/instance/RiskSet.sol +10 -2
- package/contracts/instance/TargetNames.sol +10 -0
- package/contracts/instance/base/BalanceStore.sol +4 -6
- package/contracts/instance/base/ObjectLifecycle.sol +2 -6
- package/contracts/instance/module/IBundle.sol +6 -5
- package/contracts/instance/module/IComponents.sol +15 -5
- package/contracts/instance/module/IDistribution.sol +17 -7
- package/contracts/instance/module/IPolicy.sol +28 -8
- package/contracts/instance/module/IRisk.sol +2 -0
- package/contracts/oracle/BasicOracle.sol +2 -3
- package/contracts/oracle/BasicOracleAuthorization.sol +18 -2
- package/contracts/oracle/IOracle.sol +9 -4
- package/contracts/oracle/IOracleService.sol +12 -12
- package/contracts/oracle/Oracle.sol +4 -6
- package/contracts/oracle/OracleService.sol +8 -8
- package/contracts/pool/BasicPool.sol +4 -16
- package/contracts/pool/BasicPoolAuthorization.sol +10 -5
- package/contracts/pool/BundleService.sol +34 -43
- package/contracts/pool/IBundleService.sol +14 -13
- package/contracts/pool/IPoolService.sol +7 -2
- package/contracts/pool/Pool.sol +6 -18
- package/contracts/pool/PoolLib.sol +127 -2
- package/contracts/pool/PoolService.sol +40 -181
- package/contracts/product/ApplicationService.sol +64 -11
- package/contracts/product/BasicProduct.sol +2 -3
- package/contracts/product/BasicProductAuthorization.sol +13 -5
- package/contracts/product/ClaimService.sol +99 -105
- package/contracts/product/IApplicationService.sol +21 -2
- package/contracts/product/IClaimService.sol +5 -4
- package/contracts/product/IPolicyService.sol +9 -2
- package/contracts/product/IRiskService.sol +18 -3
- package/contracts/product/PolicyService.sol +40 -59
- package/contracts/product/PolicyServiceLib.sol +79 -5
- package/contracts/product/PricingService.sol +28 -31
- package/contracts/product/Product.sol +40 -16
- package/contracts/product/RiskService.sol +50 -15
- package/contracts/registry/IRegistry.sol +15 -9
- package/contracts/registry/IRelease.sol +6 -3
- package/contracts/registry/Registry.sol +15 -9
- package/contracts/registry/RegistryAdmin.sol +39 -118
- package/contracts/registry/RegistryAuthorization.sol +139 -69
- package/contracts/registry/RegistryService.sol +1 -1
- package/contracts/registry/ReleaseAdmin.sol +59 -106
- package/contracts/registry/ReleaseRegistry.sol +20 -12
- package/contracts/registry/ServiceAuthorizationV3.sol +43 -32
- package/contracts/registry/TokenRegistry.sol +56 -52
- package/contracts/shared/Component.sol +8 -8
- package/contracts/shared/ComponentService.sol +245 -262
- package/contracts/shared/ContractLib.sol +106 -75
- package/contracts/shared/EcdsaChecker.sol +5 -0
- package/contracts/shared/IAuthorizedComponent.sol +15 -0
- package/contracts/shared/IComponent.sol +1 -1
- package/contracts/shared/IComponentService.sol +14 -15
- package/contracts/shared/IInstanceLinkedComponent.sol +2 -5
- package/contracts/shared/INftOwnable.sol +2 -0
- package/contracts/shared/IRegisterable.sol +0 -1
- package/contracts/shared/InstanceLinkedComponent.sol +64 -26
- package/contracts/shared/NftOwnable.sol +3 -1
- package/contracts/shared/PolicyHolder.sol +3 -2
- package/contracts/shared/Service.sol +6 -4
- package/contracts/staking/IStaking.sol +261 -70
- package/contracts/staking/IStakingService.sol +39 -84
- package/contracts/staking/ITargetLimitHandler.sol +17 -0
- package/contracts/staking/Staking.sol +468 -217
- package/contracts/staking/StakingLib.sol +38 -124
- package/contracts/staking/StakingManager.sol +4 -3
- package/contracts/staking/StakingReader.sol +62 -71
- package/contracts/staking/StakingService.sol +42 -185
- package/contracts/staking/StakingServiceManager.sol +1 -0
- package/contracts/staking/StakingStore.sol +1093 -331
- package/contracts/staking/TargetHandler.sol +132 -0
- package/contracts/staking/TargetManagerLib.sol +69 -46
- package/contracts/type/Amount.sol +4 -0
- package/contracts/type/Blocknumber.sol +17 -22
- package/contracts/type/ChainId.sol +101 -0
- package/contracts/type/Fee.sol +8 -8
- package/contracts/type/NftId.sol +3 -3
- package/contracts/type/ObjectType.sol +17 -33
- package/contracts/type/Referral.sol +6 -0
- package/contracts/type/RequestIdSet.sol +62 -0
- package/contracts/type/RoleId.sol +57 -59
- package/contracts/type/Seconds.sol +23 -0
- package/contracts/type/String.sol +42 -0
- package/contracts/type/Timestamp.sol +14 -3
- package/contracts/type/UFixed.sol +28 -10
- package/contracts/upgradeability/IVersionable.sol +3 -0
- package/contracts/upgradeability/ProxyManager.sol +26 -12
- package/contracts/upgradeability/UpgradableProxyWithAdmin.sol +12 -2
- package/contracts/upgradeability/Versionable.sol +6 -3
- package/package.json +2 -1
- package/artifacts/contracts/authorization/AccessAdmin.sol/IAccessManagedChecker.dbg.json +0 -4
- package/artifacts/contracts/authorization/AccessAdmin.sol/IAccessManagedChecker.json +0 -24
- package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.dbg.json +0 -4
- package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.dbg.json +0 -4
- package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.dbg.json +0 -4
- package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.json +0 -538
- package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.dbg.json +0 -4
- package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.json +0 -205
- package/contracts/shared/ComponentVerifyingService.sol +0 -128
- package/contracts/shared/IKeyValueStore.sol +0 -54
- package/contracts/shared/KeyValueStore.sol +0 -131
- package/contracts/staking/StakingLifecycle.sol +0 -23
@@ -81,6 +81,44 @@
|
|
81
81
|
"stateMutability": "pure",
|
82
82
|
"type": "function"
|
83
83
|
},
|
84
|
+
{
|
85
|
+
"inputs": [
|
86
|
+
{
|
87
|
+
"internalType": "uint32",
|
88
|
+
"name": "numberOfDays",
|
89
|
+
"type": "uint32"
|
90
|
+
}
|
91
|
+
],
|
92
|
+
"name": "fromDays",
|
93
|
+
"outputs": [
|
94
|
+
{
|
95
|
+
"internalType": "Seconds",
|
96
|
+
"name": "duration",
|
97
|
+
"type": "uint40"
|
98
|
+
}
|
99
|
+
],
|
100
|
+
"stateMutability": "pure",
|
101
|
+
"type": "function"
|
102
|
+
},
|
103
|
+
{
|
104
|
+
"inputs": [
|
105
|
+
{
|
106
|
+
"internalType": "uint32",
|
107
|
+
"name": "numberOfHours",
|
108
|
+
"type": "uint32"
|
109
|
+
}
|
110
|
+
],
|
111
|
+
"name": "fromHours",
|
112
|
+
"outputs": [
|
113
|
+
{
|
114
|
+
"internalType": "Seconds",
|
115
|
+
"name": "duration",
|
116
|
+
"type": "uint40"
|
117
|
+
}
|
118
|
+
],
|
119
|
+
"stateMutability": "pure",
|
120
|
+
"type": "function"
|
121
|
+
},
|
84
122
|
{
|
85
123
|
"inputs": [
|
86
124
|
{
|
@@ -161,6 +199,30 @@
|
|
161
199
|
"stateMutability": "pure",
|
162
200
|
"type": "function"
|
163
201
|
},
|
202
|
+
{
|
203
|
+
"inputs": [
|
204
|
+
{
|
205
|
+
"internalType": "Seconds",
|
206
|
+
"name": "duration1",
|
207
|
+
"type": "uint40"
|
208
|
+
},
|
209
|
+
{
|
210
|
+
"internalType": "Seconds",
|
211
|
+
"name": "duration2",
|
212
|
+
"type": "uint40"
|
213
|
+
}
|
214
|
+
],
|
215
|
+
"name": "min",
|
216
|
+
"outputs": [
|
217
|
+
{
|
218
|
+
"internalType": "Seconds",
|
219
|
+
"name": "",
|
220
|
+
"type": "uint40"
|
221
|
+
}
|
222
|
+
],
|
223
|
+
"stateMutability": "pure",
|
224
|
+
"type": "function"
|
225
|
+
},
|
164
226
|
{
|
165
227
|
"inputs": [],
|
166
228
|
"name": "oneDay",
|
@@ -239,8 +301,8 @@
|
|
239
301
|
"type": "function"
|
240
302
|
}
|
241
303
|
],
|
242
|
-
"bytecode": "
|
243
|
-
"deployedBytecode": "
|
304
|
+
"bytecode": "0x610429610034600b8282823980515f1a607314602857634e487b7160e01b5f525f60045260245ffd5b305f52607381538281f3fe73000000000000000000000000000000000000000030146080604052600436106100fa575f3560e01c80638d38cd4b1161009e578063bc1b392d1161006e578063bc1b392d14610209578063da09d4841461020f578063e83da7ad14610235578063f27c3bf614610248575f80fd5b80638d38cd4b146101a257806398f647b1146101bc5780639df87639146101cf578063add9ce99146101ec575f80fd5b8063667d47b7116100d9578063667d47b7146101485780636ac5db191461015b578063790a38ad1461016657806383ffcdef1461018f575f80fd5b8062962990146100fe5780630c67422c1461012c5780634bd9351b1461013f575b5f80fd5b61011161010c3660046102ff565b610252565b60405164ffffffffff90911681526020015b60405180910390f35b61011161013a366004610322565b610276565b62015180610111565b6101116101563660046102ff565b6102a8565b64ffffffffff610111565b61017f610174366004610352565b64ffffffffff161590565b6040519015158152602001610123565b61017f61019d36600461036b565b6102b5565b61017f6101b0366004610352565b64ffffffffff16151590565b6101116101ca36600461036b565b6102c9565b61017f6101dd36600461036b565b64ffffffffff90811691161490565b61017f6101fa36600461036b565b64ffffffffff90811691161090565b5f610111565b61022761021d366004610352565b64ffffffffff1690565b604051908152602001610123565b61011161024336600461036b565b6102db565b6301e13380610111565b5f61025e8260186103b0565b61026a90610e106103b0565b63ffffffff1692915050565b5f64ffffffffff8211156102a4576040516385cb094d60e01b81526004810183905260240160405180910390fd5b5090565b5f61026a82610e106103b0565b64ffffffffff808216908316115b92915050565b5f6102d482846103d6565b9392505050565b5f8164ffffffffff168364ffffffffff1610156102f95750816102c3565b50919050565b5f6020828403121561030f575f80fd5b813563ffffffff811681146102d4575f80fd5b5f60208284031215610332575f80fd5b5035919050565b803564ffffffffff8116811461034d575f80fd5b919050565b5f60208284031215610362575f80fd5b6102d482610339565b5f806040838503121561037c575f80fd5b61038583610339565b915061039360208401610339565b90509250929050565b634e487b7160e01b5f52601160045260245ffd5b63ffffffff81811683821602908116908181146103cf576103cf61039c565b5092915050565b64ffffffffff81811683821601908111156102c3576102c361039c56fea26469706673582212201d40fb88771664128084758172282446ebdeb32eff989697e032fd8026b23fd964736f6c634300081a0033",
|
305
|
+
"deployedBytecode": "0x73000000000000000000000000000000000000000030146080604052600436106100fa575f3560e01c80638d38cd4b1161009e578063bc1b392d1161006e578063bc1b392d14610209578063da09d4841461020f578063e83da7ad14610235578063f27c3bf614610248575f80fd5b80638d38cd4b146101a257806398f647b1146101bc5780639df87639146101cf578063add9ce99146101ec575f80fd5b8063667d47b7116100d9578063667d47b7146101485780636ac5db191461015b578063790a38ad1461016657806383ffcdef1461018f575f80fd5b8062962990146100fe5780630c67422c1461012c5780634bd9351b1461013f575b5f80fd5b61011161010c3660046102ff565b610252565b60405164ffffffffff90911681526020015b60405180910390f35b61011161013a366004610322565b610276565b62015180610111565b6101116101563660046102ff565b6102a8565b64ffffffffff610111565b61017f610174366004610352565b64ffffffffff161590565b6040519015158152602001610123565b61017f61019d36600461036b565b6102b5565b61017f6101b0366004610352565b64ffffffffff16151590565b6101116101ca36600461036b565b6102c9565b61017f6101dd36600461036b565b64ffffffffff90811691161490565b61017f6101fa36600461036b565b64ffffffffff90811691161090565b5f610111565b61022761021d366004610352565b64ffffffffff1690565b604051908152602001610123565b61011161024336600461036b565b6102db565b6301e13380610111565b5f61025e8260186103b0565b61026a90610e106103b0565b63ffffffff1692915050565b5f64ffffffffff8211156102a4576040516385cb094d60e01b81526004810183905260240160405180910390fd5b5090565b5f61026a82610e106103b0565b64ffffffffff808216908316115b92915050565b5f6102d482846103d6565b9392505050565b5f8164ffffffffff168364ffffffffff1610156102f95750816102c3565b50919050565b5f6020828403121561030f575f80fd5b813563ffffffff811681146102d4575f80fd5b5f60208284031215610332575f80fd5b5035919050565b803564ffffffffff8116811461034d575f80fd5b919050565b5f60208284031215610362575f80fd5b6102d482610339565b5f806040838503121561037c575f80fd5b61038583610339565b915061039360208401610339565b90509250929050565b634e487b7160e01b5f52601160045260245ffd5b63ffffffff81811683821602908116908181146103cf576103cf61039c565b5092915050565b64ffffffffff81811683821601908111156102c3576102c361039c56fea26469706673582212201d40fb88771664128084758172282446ebdeb32eff989697e032fd8026b23fd964736f6c634300081a0033",
|
244
306
|
"linkReferences": {},
|
245
307
|
"deployedLinkReferences": {}
|
246
308
|
}
|
@@ -19,6 +19,30 @@
|
|
19
19
|
"name": "StringTooLong",
|
20
20
|
"type": "error"
|
21
21
|
},
|
22
|
+
{
|
23
|
+
"inputs": [
|
24
|
+
{
|
25
|
+
"internalType": "string",
|
26
|
+
"name": "s1",
|
27
|
+
"type": "string"
|
28
|
+
},
|
29
|
+
{
|
30
|
+
"internalType": "string",
|
31
|
+
"name": "s2",
|
32
|
+
"type": "string"
|
33
|
+
}
|
34
|
+
],
|
35
|
+
"name": "eq",
|
36
|
+
"outputs": [
|
37
|
+
{
|
38
|
+
"internalType": "bool",
|
39
|
+
"name": "",
|
40
|
+
"type": "bool"
|
41
|
+
}
|
42
|
+
],
|
43
|
+
"stateMutability": "pure",
|
44
|
+
"type": "function"
|
45
|
+
},
|
22
46
|
{
|
23
47
|
"inputs": [
|
24
48
|
{
|
@@ -86,6 +110,30 @@
|
|
86
110
|
"stateMutability": "pure",
|
87
111
|
"type": "function"
|
88
112
|
},
|
113
|
+
{
|
114
|
+
"inputs": [
|
115
|
+
{
|
116
|
+
"internalType": "string",
|
117
|
+
"name": "s1",
|
118
|
+
"type": "string"
|
119
|
+
},
|
120
|
+
{
|
121
|
+
"internalType": "string",
|
122
|
+
"name": "s2",
|
123
|
+
"type": "string"
|
124
|
+
}
|
125
|
+
],
|
126
|
+
"name": "ne",
|
127
|
+
"outputs": [
|
128
|
+
{
|
129
|
+
"internalType": "bool",
|
130
|
+
"name": "",
|
131
|
+
"type": "bool"
|
132
|
+
}
|
133
|
+
],
|
134
|
+
"stateMutability": "pure",
|
135
|
+
"type": "function"
|
136
|
+
},
|
89
137
|
{
|
90
138
|
"inputs": [
|
91
139
|
{
|
@@ -123,10 +171,29 @@
|
|
123
171
|
],
|
124
172
|
"stateMutability": "pure",
|
125
173
|
"type": "function"
|
174
|
+
},
|
175
|
+
{
|
176
|
+
"inputs": [
|
177
|
+
{
|
178
|
+
"internalType": "uint256",
|
179
|
+
"name": "value",
|
180
|
+
"type": "uint256"
|
181
|
+
}
|
182
|
+
],
|
183
|
+
"name": "uintToString",
|
184
|
+
"outputs": [
|
185
|
+
{
|
186
|
+
"internalType": "string",
|
187
|
+
"name": "name",
|
188
|
+
"type": "string"
|
189
|
+
}
|
190
|
+
],
|
191
|
+
"stateMutability": "pure",
|
192
|
+
"type": "function"
|
126
193
|
}
|
127
194
|
],
|
128
|
-
"bytecode": "
|
129
|
-
"deployedBytecode": "
|
195
|
+
"bytecode": "0x61063d610034600b8282823980515f1a607314602857634e487b7160e01b5f525f60045260245ffd5b305f52607381538281f3fe7300000000000000000000000000000000000000003014608060405260043610610090575f3560e01c8063b11a19e811610063578063b11a19e814610102578063cdc23e6914610122578063e939567914610135578063ecf672f614610148575f80fd5b806321a49642146100945780633447c030146100bc57806354fe3eb7146100ce578063a9dbaf25146100e1575b5f80fd5b6100a76100a236600461040f565b61015b565b60405190151581526020015b60405180910390f35b6100a76100ca366004610474565b1490565b6100a76100dc366004610474565b141590565b6100f46100ef366004610494565b610176565b6040519081526020016100b3565b610115610110366004610494565b610180565b6040516100b391906104d9565b6100f46101303660046104f2565b61018b565b610115610143366004610494565b610195565b6100a761015636600461040f565b6102b3565b5f818051906020012083805190602001201490505b92915050565b5f610170826102c6565b6060610170826102ed565b5f6101708261032a565b6060815f036101bb5750506040805180820190915260018152600360fc1b602082015290565b815f5b81156101e457806101ce81610540565b91506101dd9050600a8361056c565b91506101be565b5f8167ffffffffffffffff8111156101fe576101fe610370565b6040519080825280601f01601f191660200182016040528015610228576020820181803683370190505b5090505f61023760018461057f565b90508593505b83156102aa5761024e600a85610592565b6102599060306105a5565b60f81b82828151811061026e5761026e6105b8565b60200101906001600160f81b03191690815f1a90535061028f600a8561056c565b935080156102a557806102a1816105cc565b9150505b61023d565b50949350505050565b5f6102be838361015b565b159392505050565b5f60ff8216601f81111561017057604051632cd44ac360e21b815260040160405180910390fd5b60605f6102f9836102c6565b6040805160208082528183019092529192505f91906020820181803683375050509182525060208101929092525090565b5f80829050601f8151111561035d578260405163305a27a960e01b815260040161035491906104d9565b60405180910390fd5b8051610368826105e1565b179392505050565b634e487b7160e01b5f52604160045260245ffd5b5f82601f830112610393575f80fd5b813567ffffffffffffffff8111156103ad576103ad610370565b604051601f8201601f19908116603f0116810167ffffffffffffffff811182821017156103dc576103dc610370565b6040528181528382016020018510156103f3575f80fd5b816020850160208301375f918101602001919091529392505050565b5f8060408385031215610420575f80fd5b823567ffffffffffffffff811115610436575f80fd5b61044285828601610384565b925050602083013567ffffffffffffffff81111561045e575f80fd5b61046a85828601610384565b9150509250929050565b5f8060408385031215610485575f80fd5b50508035926020909101359150565b5f602082840312156104a4575f80fd5b5035919050565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081525f6104eb60208301846104ab565b9392505050565b5f60208284031215610502575f80fd5b813567ffffffffffffffff811115610518575f80fd5b61052484828501610384565b949350505050565b634e487b7160e01b5f52601160045260245ffd5b5f600182016105515761055161052c565b5060010190565b634e487b7160e01b5f52601260045260245ffd5b5f8261057a5761057a610558565b500490565b818103818111156101705761017061052c565b5f826105a0576105a0610558565b500690565b808201808211156101705761017061052c565b634e487b7160e01b5f52603260045260245ffd5b5f816105da576105da61052c565b505f190190565b80516020808301519190811015610601575f198160200360031b1b821691505b5091905056fea2646970667358221220e1f1c95fae84258819f2c9f46a4e1bf37a080c14285f69819a148a519289d3e164736f6c634300081a0033",
|
196
|
+
"deployedBytecode": "0x7300000000000000000000000000000000000000003014608060405260043610610090575f3560e01c8063b11a19e811610063578063b11a19e814610102578063cdc23e6914610122578063e939567914610135578063ecf672f614610148575f80fd5b806321a49642146100945780633447c030146100bc57806354fe3eb7146100ce578063a9dbaf25146100e1575b5f80fd5b6100a76100a236600461040f565b61015b565b60405190151581526020015b60405180910390f35b6100a76100ca366004610474565b1490565b6100a76100dc366004610474565b141590565b6100f46100ef366004610494565b610176565b6040519081526020016100b3565b610115610110366004610494565b610180565b6040516100b391906104d9565b6100f46101303660046104f2565b61018b565b610115610143366004610494565b610195565b6100a761015636600461040f565b6102b3565b5f818051906020012083805190602001201490505b92915050565b5f610170826102c6565b6060610170826102ed565b5f6101708261032a565b6060815f036101bb5750506040805180820190915260018152600360fc1b602082015290565b815f5b81156101e457806101ce81610540565b91506101dd9050600a8361056c565b91506101be565b5f8167ffffffffffffffff8111156101fe576101fe610370565b6040519080825280601f01601f191660200182016040528015610228576020820181803683370190505b5090505f61023760018461057f565b90508593505b83156102aa5761024e600a85610592565b6102599060306105a5565b60f81b82828151811061026e5761026e6105b8565b60200101906001600160f81b03191690815f1a90535061028f600a8561056c565b935080156102a557806102a1816105cc565b9150505b61023d565b50949350505050565b5f6102be838361015b565b159392505050565b5f60ff8216601f81111561017057604051632cd44ac360e21b815260040160405180910390fd5b60605f6102f9836102c6565b6040805160208082528183019092529192505f91906020820181803683375050509182525060208101929092525090565b5f80829050601f8151111561035d578260405163305a27a960e01b815260040161035491906104d9565b60405180910390fd5b8051610368826105e1565b179392505050565b634e487b7160e01b5f52604160045260245ffd5b5f82601f830112610393575f80fd5b813567ffffffffffffffff8111156103ad576103ad610370565b604051601f8201601f19908116603f0116810167ffffffffffffffff811182821017156103dc576103dc610370565b6040528181528382016020018510156103f3575f80fd5b816020850160208301375f918101602001919091529392505050565b5f8060408385031215610420575f80fd5b823567ffffffffffffffff811115610436575f80fd5b61044285828601610384565b925050602083013567ffffffffffffffff81111561045e575f80fd5b61046a85828601610384565b9150509250929050565b5f8060408385031215610485575f80fd5b50508035926020909101359150565b5f602082840312156104a4575f80fd5b5035919050565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081525f6104eb60208301846104ab565b9392505050565b5f60208284031215610502575f80fd5b813567ffffffffffffffff811115610518575f80fd5b61052484828501610384565b949350505050565b634e487b7160e01b5f52601160045260245ffd5b5f600182016105515761055161052c565b5060010190565b634e487b7160e01b5f52601260045260245ffd5b5f8261057a5761057a610558565b500490565b818103818111156101705761017061052c565b5f826105a0576105a0610558565b500690565b808201808211156101705761017061052c565b634e487b7160e01b5f52603260045260245ffd5b5f816105da576105da61052c565b505f190190565b80516020808301519190811015610601575f198160200360031b1b821691505b5091905056fea2646970667358221220e1f1c95fae84258819f2c9f46a4e1bf37a080c14285f69819a148a519289d3e164736f6c634300081a0033",
|
130
197
|
"linkReferences": {},
|
131
198
|
"deployedLinkReferences": {}
|
132
199
|
}
|
@@ -29,7 +29,7 @@
|
|
29
29
|
},
|
30
30
|
{
|
31
31
|
"inputs": [],
|
32
|
-
"name": "
|
32
|
+
"name": "current",
|
33
33
|
"outputs": [
|
34
34
|
{
|
35
35
|
"internalType": "Timestamp",
|
@@ -235,6 +235,30 @@
|
|
235
235
|
"stateMutability": "pure",
|
236
236
|
"type": "function"
|
237
237
|
},
|
238
|
+
{
|
239
|
+
"inputs": [
|
240
|
+
{
|
241
|
+
"internalType": "Timestamp",
|
242
|
+
"name": "timestamp",
|
243
|
+
"type": "uint40"
|
244
|
+
},
|
245
|
+
{
|
246
|
+
"internalType": "Seconds",
|
247
|
+
"name": "duration",
|
248
|
+
"type": "uint40"
|
249
|
+
}
|
250
|
+
],
|
251
|
+
"name": "subtractSeconds",
|
252
|
+
"outputs": [
|
253
|
+
{
|
254
|
+
"internalType": "Timestamp",
|
255
|
+
"name": "",
|
256
|
+
"type": "uint40"
|
257
|
+
}
|
258
|
+
],
|
259
|
+
"stateMutability": "pure",
|
260
|
+
"type": "function"
|
261
|
+
},
|
238
262
|
{
|
239
263
|
"inputs": [
|
240
264
|
{
|
@@ -287,14 +311,18 @@
|
|
287
311
|
"type": "function"
|
288
312
|
}
|
289
313
|
],
|
290
|
-
"bytecode": "
|
291
|
-
"deployedBytecode": "
|
314
|
+
"bytecode": "0x6104eb610034600b8282823980515f1a607314602857634e487b7160e01b5f525f60045260245ffd5b305f52607381538281f3fe73000000000000000000000000000000000000000030146080604052600436106100fb575f3560e01c80639df876391161009e578063bc1b392d1161006e578063bc1b392d146101f1578063c24922ce146101f7578063da09d4841461020a578063ddf3d63114610230575f80fd5b80639df87639146101b25780639fa6a6e3146101c5578063a5798b4e146101cb578063add9ce99146101de575f80fd5b806383ffcdef116100d957806383ffcdef1461016157806385523ac7146101745780638d38cd4b1461018557806394335b1a1461019f575f80fd5b806337cb29fe146100ff5780636ac5db191461012d578063790a38ad14610138575b5f80fd5b61011261010d3660046103f4565b610243565b60405164ffffffffff90911681526020015b60405180910390f35b64ffffffffff610112565b61015161014636600461042b565b64ffffffffff161590565b6040519015158152602001610124565b61015161016f3660046103f4565b6102db565b61011261018236600461044d565b90565b61015161019336600461042b565b64ffffffffff16151590565b6101516101ad3660046103f4565b6102ee565b6101516101c03660046103f4565b610302565b42610112565b6101126101d93660046103f4565b610315565b6101516101ec3660046103f4565b6103a4565b5f610112565b6101516102053660046103f4565b6103b7565b61022261021836600461042b565b64ffffffffff1690565b604051908152602001610124565b61015161023e3660046103f4565b6103cb565b604051633682752160e21b815264ffffffffff821660048201525f906102d29073__$71e292c09eace9601b3e21e68a1278917a$__9063da09d48490602401602060405180830381865af415801561029d573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906102c19190610464565b6101829064ffffffffff861661048f565b90505b92915050565b5f64ffffffffff808316908416116102d2565b5f64ffffffffff80831690841611156102d2565b5f64ffffffffff808416908316146102d2565b604051633682752160e21b815264ffffffffff821660048201525f906102d29073__$71e292c09eace9601b3e21e68a1278917a$__9063da09d48490602401602060405180830381865af415801561036f573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906103939190610464565b6101829064ffffffffff86166104a2565b5f64ffffffffff808316908416106102d2565b5f64ffffffffff80831690841610156102d2565b5f64ffffffffff80841690831614156102d2565b64ffffffffff811681146103f1575f80fd5b50565b5f8060408385031215610405575f80fd5b8235610410816103df565b91506020830135610420816103df565b809150509250929050565b5f6020828403121561043b575f80fd5b8135610446816103df565b9392505050565b5f6020828403121561045d575f80fd5b5035919050565b5f60208284031215610474575f80fd5b5051919050565b634e487b7160e01b5f52601160045260245ffd5b818103818111156102d5576102d561047b565b808201808211156102d5576102d561047b56fea2646970667358221220339d1b8c0bbc2fd9266ec3af1c108fba2113783285a4e46d2beaaa5113bcd70f64736f6c634300081a0033",
|
315
|
+
"deployedBytecode": "0x73000000000000000000000000000000000000000030146080604052600436106100fb575f3560e01c80639df876391161009e578063bc1b392d1161006e578063bc1b392d146101f1578063c24922ce146101f7578063da09d4841461020a578063ddf3d63114610230575f80fd5b80639df87639146101b25780639fa6a6e3146101c5578063a5798b4e146101cb578063add9ce99146101de575f80fd5b806383ffcdef116100d957806383ffcdef1461016157806385523ac7146101745780638d38cd4b1461018557806394335b1a1461019f575f80fd5b806337cb29fe146100ff5780636ac5db191461012d578063790a38ad14610138575b5f80fd5b61011261010d3660046103f4565b610243565b60405164ffffffffff90911681526020015b60405180910390f35b64ffffffffff610112565b61015161014636600461042b565b64ffffffffff161590565b6040519015158152602001610124565b61015161016f3660046103f4565b6102db565b61011261018236600461044d565b90565b61015161019336600461042b565b64ffffffffff16151590565b6101516101ad3660046103f4565b6102ee565b6101516101c03660046103f4565b610302565b42610112565b6101126101d93660046103f4565b610315565b6101516101ec3660046103f4565b6103a4565b5f610112565b6101516102053660046103f4565b6103b7565b61022261021836600461042b565b64ffffffffff1690565b604051908152602001610124565b61015161023e3660046103f4565b6103cb565b604051633682752160e21b815264ffffffffff821660048201525f906102d29073__$71e292c09eace9601b3e21e68a1278917a$__9063da09d48490602401602060405180830381865af415801561029d573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906102c19190610464565b6101829064ffffffffff861661048f565b90505b92915050565b5f64ffffffffff808316908416116102d2565b5f64ffffffffff80831690841611156102d2565b5f64ffffffffff808416908316146102d2565b604051633682752160e21b815264ffffffffff821660048201525f906102d29073__$71e292c09eace9601b3e21e68a1278917a$__9063da09d48490602401602060405180830381865af415801561036f573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906103939190610464565b6101829064ffffffffff86166104a2565b5f64ffffffffff808316908416106102d2565b5f64ffffffffff80831690841610156102d2565b5f64ffffffffff80841690831614156102d2565b64ffffffffff811681146103f1575f80fd5b50565b5f8060408385031215610405575f80fd5b8235610410816103df565b91506020830135610420816103df565b809150509250929050565b5f6020828403121561043b575f80fd5b8135610446816103df565b9392505050565b5f6020828403121561045d575f80fd5b5035919050565b5f60208284031215610474575f80fd5b5051919050565b634e487b7160e01b5f52601160045260245ffd5b818103818111156102d5576102d561047b565b808201808211156102d5576102d561047b56fea2646970667358221220339d1b8c0bbc2fd9266ec3af1c108fba2113783285a4e46d2beaaa5113bcd70f64736f6c634300081a0033",
|
292
316
|
"linkReferences": {
|
293
317
|
"contracts/type/Seconds.sol": {
|
294
318
|
"SecondsLib": [
|
295
319
|
{
|
296
320
|
"length": 20,
|
297
|
-
"start":
|
321
|
+
"start": 665
|
322
|
+
},
|
323
|
+
{
|
324
|
+
"length": 20,
|
325
|
+
"start": 875
|
298
326
|
}
|
299
327
|
]
|
300
328
|
}
|
@@ -304,7 +332,11 @@
|
|
304
332
|
"SecondsLib": [
|
305
333
|
{
|
306
334
|
"length": 20,
|
307
|
-
"start":
|
335
|
+
"start": 613
|
336
|
+
},
|
337
|
+
{
|
338
|
+
"length": 20,
|
339
|
+
"start": 823
|
308
340
|
}
|
309
341
|
]
|
310
342
|
}
|