@etherisc/gif-next 0.0.2-fbe6493-116 → 0.0.2-fc0563c-260
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +89 -9
- package/artifacts/contracts/accounting/AccountingService.sol/AccountingService.dbg.json +4 -0
- package/artifacts/contracts/accounting/AccountingService.sol/AccountingService.json +1075 -0
- package/artifacts/contracts/accounting/AccountingServiceManager.sol/AccountingServiceManager.dbg.json +4 -0
- package/artifacts/contracts/accounting/AccountingServiceManager.sol/AccountingServiceManager.json +790 -0
- package/artifacts/contracts/accounting/IAccountingService.sol/IAccountingService.dbg.json +4 -0
- package/artifacts/contracts/accounting/IAccountingService.sol/IAccountingService.json +843 -0
- package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.dbg.json +1 -1
- package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.json +673 -262
- package/artifacts/contracts/authorization/AccessAdminLib.sol/AccessAdminLib.dbg.json +4 -0
- package/artifacts/contracts/authorization/AccessAdminLib.sol/AccessAdminLib.json +1289 -0
- package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.dbg.json +1 -1
- package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.json +202 -5
- package/artifacts/contracts/authorization/Authorization.sol/Authorization.dbg.json +1 -1
- package/artifacts/contracts/authorization/Authorization.sol/Authorization.json +456 -24
- 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 +549 -209
- package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.dbg.json +1 -1
- package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.json +215 -18
- package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.dbg.json +1 -1
- package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.json +265 -16
- package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.dbg.json +1 -1
- package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.json +473 -17
- package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.dbg.json +1 -1
- package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.json +190 -464
- package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.dbg.json +1 -1
- package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.json +431 -36
- package/artifacts/contracts/distribution/Distribution.sol/Distribution.dbg.json +1 -1
- package/artifacts/contracts/distribution/Distribution.sol/Distribution.json +109 -356
- package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.dbg.json +1 -1
- package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.json +638 -386
- package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +1 -1
- package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.json +208 -132
- package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.dbg.json +1 -1
- package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.json +96 -191
- package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.dbg.json +1 -1
- package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.json +478 -108
- package/artifacts/contracts/examples/fire/DamageLevel.sol/DamageLevelLib.dbg.json +4 -0
- package/artifacts/contracts/examples/fire/DamageLevel.sol/DamageLevelLib.json +22 -0
- package/artifacts/contracts/examples/fire/FirePool.sol/FirePool.dbg.json +4 -0
- package/artifacts/contracts/examples/fire/FirePool.sol/FirePool.json +1472 -0
- package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.dbg.json +4 -0
- package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.json +805 -0
- package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.dbg.json +4 -0
- package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.json +2045 -0
- package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.dbg.json +4 -0
- package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.json +805 -0
- package/artifacts/contracts/examples/fire/FireUSD.sol/FireUSD.dbg.json +4 -0
- package/artifacts/contracts/examples/fire/FireUSD.sol/FireUSD.json +376 -0
- package/artifacts/contracts/examples/unpermissioned/SimpleDistribution.sol/SimpleDistribution.dbg.json +4 -0
- package/artifacts/contracts/examples/unpermissioned/SimpleDistribution.sol/SimpleDistribution.json +1423 -0
- package/artifacts/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol/SimpleDistributionAuthorization.dbg.json +4 -0
- package/artifacts/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol/SimpleDistributionAuthorization.json +805 -0
- package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.dbg.json +4 -0
- package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.json +1171 -0
- package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.dbg.json +4 -0
- package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.json +1639 -0
- package/artifacts/contracts/examples/unpermissioned/SimplePoolAuthorization.sol/SimplePoolAuthorization.dbg.json +4 -0
- package/artifacts/contracts/examples/unpermissioned/SimplePoolAuthorization.sol/SimplePoolAuthorization.json +805 -0
- package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.dbg.json +4 -0
- package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.json +2484 -0
- package/artifacts/contracts/examples/unpermissioned/SimpleProductAuthorization.sol/SimpleProductAuthorization.dbg.json +4 -0
- package/artifacts/contracts/examples/unpermissioned/SimpleProductAuthorization.sol/SimpleProductAuthorization.json +805 -0
- package/artifacts/contracts/instance/BundleSet.sol/BundleSet.dbg.json +1 -1
- package/artifacts/contracts/instance/BundleSet.sol/BundleSet.json +193 -45
- package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
- package/artifacts/contracts/instance/IInstance.sol/IInstance.json +560 -66
- package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
- package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +377 -58
- package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
- package/artifacts/contracts/instance/Instance.sol/Instance.json +568 -166
- package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.json +1034 -311
- package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.json +369 -68
- package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +1688 -735
- package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +390 -228
- package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +142 -104
- package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.json +955 -640
- package/artifacts/contracts/instance/RiskSet.sol/RiskSet.dbg.json +4 -0
- package/artifacts/contracts/instance/RiskSet.sol/RiskSet.json +866 -0
- package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.dbg.json +1 -1
- package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.json +2 -2
- package/artifacts/contracts/instance/base/Cloneable.sol/Cloneable.dbg.json +1 -1
- package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.dbg.json +1 -1
- package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.json +2 -2
- package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.dbg.json +1 -1
- package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.json +46 -5
- package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.dbg.json +1 -1
- package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.json +16 -5
- package/artifacts/contracts/instance/base/ObjectSetHelperLib.sol/ObjectSetHelperLib.dbg.json +4 -0
- package/artifacts/contracts/instance/base/ObjectSetHelperLib.sol/ObjectSetHelperLib.json +168 -0
- package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +1 -1
- package/artifacts/contracts/instance/module/IComponents.sol/IComponents.dbg.json +1 -1
- package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +1 -1
- package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +1 -1
- package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +1 -1
- package/artifacts/contracts/mock/Dip.sol/Dip.dbg.json +1 -1
- package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.dbg.json +1 -1
- package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.json +135 -333
- package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.dbg.json +1 -1
- package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.json +429 -37
- package/artifacts/contracts/oracle/IOracle.sol/IOracle.dbg.json +1 -1
- package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.dbg.json +1 -1
- package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.json +103 -133
- package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.dbg.json +1 -1
- package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.json +98 -11
- package/artifacts/contracts/oracle/Oracle.sol/Oracle.dbg.json +1 -1
- package/artifacts/contracts/oracle/Oracle.sol/Oracle.json +111 -293
- package/artifacts/contracts/oracle/OracleService.sol/OracleService.dbg.json +1 -1
- package/artifacts/contracts/oracle/OracleService.sol/OracleService.json +198 -190
- package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.dbg.json +1 -1
- package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.json +176 -96
- package/artifacts/contracts/pool/BasicPool.sol/BasicPool.dbg.json +1 -1
- package/artifacts/contracts/pool/BasicPool.sol/BasicPool.json +160 -350
- package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.dbg.json +1 -1
- package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.json +430 -35
- package/artifacts/contracts/pool/BundleService.sol/BundleService.dbg.json +1 -1
- package/artifacts/contracts/pool/BundleService.sol/BundleService.json +348 -431
- package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.dbg.json +1 -1
- package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.json +169 -133
- package/artifacts/contracts/pool/IBundleService.sol/IBundleService.dbg.json +1 -1
- package/artifacts/contracts/pool/IBundleService.sol/IBundleService.json +247 -121
- package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.dbg.json +1 -1
- package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.json +141 -182
- package/artifacts/contracts/pool/IPoolService.sol/IPoolService.dbg.json +1 -1
- package/artifacts/contracts/pool/IPoolService.sol/IPoolService.json +517 -281
- package/artifacts/contracts/pool/Pool.sol/Pool.dbg.json +1 -1
- package/artifacts/contracts/pool/Pool.sol/Pool.json +139 -332
- package/artifacts/contracts/pool/PoolLib.sol/PoolLib.dbg.json +4 -0
- package/artifacts/contracts/pool/PoolLib.sol/PoolLib.json +522 -0
- package/artifacts/contracts/pool/PoolService.sol/PoolService.dbg.json +1 -1
- package/artifacts/contracts/pool/PoolService.sol/PoolService.json +701 -551
- package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.dbg.json +1 -1
- package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.json +205 -113
- package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.dbg.json +1 -1
- package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.json +357 -173
- package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +1 -1
- package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.json +164 -96
- package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.dbg.json +1 -1
- package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.json +288 -409
- package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.dbg.json +1 -1
- package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.json +430 -35
- package/artifacts/contracts/product/ClaimService.sol/ClaimService.dbg.json +1 -1
- package/artifacts/contracts/product/ClaimService.sol/ClaimService.json +453 -287
- package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +1 -1
- package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.json +186 -126
- package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.dbg.json +1 -1
- package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.json +296 -9
- package/artifacts/contracts/product/IClaimService.sol/IClaimService.dbg.json +1 -1
- package/artifacts/contracts/product/IClaimService.sol/IClaimService.json +333 -17
- package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.dbg.json +1 -1
- package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.json +300 -64
- package/artifacts/contracts/product/IPricingService.sol/IPricingService.dbg.json +1 -1
- package/artifacts/contracts/product/IPricingService.sol/IPricingService.json +183 -80
- package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.dbg.json +1 -1
- package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.json +257 -226
- package/artifacts/contracts/product/IRiskService.sol/IRiskService.dbg.json +4 -0
- package/artifacts/contracts/{shared/ComponentVerifyingService.sol/ComponentVerifyingService.json → product/IRiskService.sol/IRiskService.json} +283 -157
- package/artifacts/contracts/product/PolicyService.sol/PolicyService.dbg.json +1 -1
- package/artifacts/contracts/product/PolicyService.sol/PolicyService.json +385 -336
- package/artifacts/contracts/product/PolicyServiceLib.sol/PolicyServiceLib.dbg.json +4 -0
- package/artifacts/contracts/product/PolicyServiceLib.sol/PolicyServiceLib.json +783 -0
- package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +1 -1
- package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.json +174 -126
- package/artifacts/contracts/product/PricingService.sol/PricingService.dbg.json +1 -1
- package/artifacts/contracts/product/PricingService.sol/PricingService.json +247 -332
- package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.dbg.json +1 -1
- package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.json +164 -136
- package/artifacts/contracts/product/Product.sol/Product.dbg.json +1 -1
- package/artifacts/contracts/product/Product.sol/Product.json +280 -401
- package/artifacts/contracts/product/RiskService.sol/RiskService.dbg.json +4 -0
- package/artifacts/contracts/product/RiskService.sol/RiskService.json +873 -0
- package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.dbg.json +4 -0
- package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.json +774 -0
- package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
- package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +59 -16
- package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
- package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +356 -45
- package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
- package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +169 -37
- package/artifacts/contracts/registry/IRelease.sol/IRelease.dbg.json +4 -0
- package/artifacts/contracts/registry/IRelease.sol/IRelease.json +24 -0
- package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
- package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.json +5 -18
- package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
- package/artifacts/contracts/registry/Registry.sol/Registry.json +562 -106
- package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.dbg.json +1 -1
- package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.json +795 -394
- package/artifacts/contracts/registry/RegistryAuthorization.sol/RegistryAuthorization.dbg.json +4 -0
- package/artifacts/contracts/registry/RegistryAuthorization.sol/RegistryAuthorization.json +1053 -0
- package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
- package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +136 -290
- package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
- package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +140 -88
- package/artifacts/contracts/registry/ReleaseAdmin.sol/ReleaseAdmin.dbg.json +4 -0
- package/artifacts/contracts/registry/ReleaseAdmin.sol/ReleaseAdmin.json +2152 -0
- package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.dbg.json +1 -1
- package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.json +47 -6
- package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.dbg.json +1 -1
- package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.json +483 -253
- package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.dbg.json +1 -1
- package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.json +489 -20
- package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +1 -1
- package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +15 -15
- package/artifacts/contracts/shared/Component.sol/Component.dbg.json +1 -1
- package/artifacts/contracts/shared/Component.sol/Component.json +99 -252
- package/artifacts/contracts/shared/ComponentService.sol/ComponentService.dbg.json +1 -1
- package/artifacts/contracts/shared/ComponentService.sol/ComponentService.json +480 -696
- package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.dbg.json +1 -1
- package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.json +176 -146
- package/artifacts/contracts/shared/ContractLib.sol/ContractLib.dbg.json +4 -0
- package/artifacts/contracts/shared/ContractLib.sol/ContractLib.json +632 -0
- package/artifacts/contracts/shared/ContractLib.sol/IInstanceAdminHelper.dbg.json +4 -0
- package/artifacts/contracts/shared/ContractLib.sol/IInstanceAdminHelper.json +24 -0
- package/artifacts/contracts/shared/ContractLib.sol/ITargetHelper.dbg.json +4 -0
- package/artifacts/contracts/shared/ContractLib.sol/ITargetHelper.json +30 -0
- package/artifacts/contracts/shared/ContractLib.sol/ITokenRegistryHelper.dbg.json +4 -0
- package/artifacts/contracts/shared/ContractLib.sol/ITokenRegistryHelper.json +40 -0
- package/artifacts/contracts/shared/IComponent.sol/IComponent.dbg.json +1 -1
- package/artifacts/contracts/shared/IComponent.sol/IComponent.json +92 -93
- package/artifacts/contracts/shared/IComponentService.sol/IComponentService.dbg.json +1 -1
- package/artifacts/contracts/shared/IComponentService.sol/IComponentService.json +432 -290
- package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.dbg.json +1 -1
- package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.json +103 -133
- package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.dbg.json +1 -1
- package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.json +36 -0
- package/artifacts/contracts/shared/ILifecycle.sol/ILifecycle.dbg.json +1 -1
- package/artifacts/contracts/shared/ILifecycle.sol/ILifecycle.json +36 -0
- package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
- package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +35 -0
- package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +1 -1
- package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.json +15 -47
- package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
- package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +167 -0
- package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +1 -1
- package/artifacts/contracts/shared/IService.sol/IService.dbg.json +1 -1
- package/artifacts/contracts/shared/IService.sol/IService.json +84 -2
- package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.dbg.json +1 -1
- package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.json +2 -22
- package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.dbg.json +1 -1
- package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.json +110 -292
- package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.dbg.json +1 -1
- package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.json +42 -1
- package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.dbg.json +1 -1
- package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.json +42 -1
- package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.dbg.json +1 -1
- package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.json +2 -2
- package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
- package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +41 -57
- package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +1 -1
- package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +19 -141
- package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
- package/artifacts/contracts/shared/Registerable.sol/Registerable.json +141 -97
- package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +1 -1
- package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +2 -15
- package/artifacts/contracts/shared/Service.sol/Service.dbg.json +1 -1
- package/artifacts/contracts/shared/Service.sol/Service.json +86 -111
- package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
- package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +544 -18
- package/artifacts/contracts/shared/TokenHandler.sol/TokenHandlerBase.dbg.json +4 -0
- package/artifacts/contracts/shared/TokenHandler.sol/TokenHandlerBase.json +484 -0
- package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.dbg.json +4 -0
- package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.json +172 -0
- package/artifacts/contracts/staking/IStaking.sol/IStaking.dbg.json +1 -1
- package/artifacts/contracts/staking/IStaking.sol/IStaking.json +341 -133
- package/artifacts/contracts/staking/IStakingService.sol/IStakingService.dbg.json +1 -1
- package/artifacts/contracts/staking/IStakingService.sol/IStakingService.json +184 -23
- package/artifacts/contracts/staking/Staking.sol/Staking.dbg.json +1 -1
- package/artifacts/contracts/staking/Staking.sol/Staking.json +468 -405
- package/artifacts/contracts/staking/StakingLib.sol/StakingLib.dbg.json +4 -0
- package/artifacts/contracts/staking/StakingLib.sol/StakingLib.json +469 -0
- package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.dbg.json +1 -1
- package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.json +46 -5
- package/artifacts/contracts/staking/StakingManager.sol/StakingManager.dbg.json +1 -1
- package/artifacts/contracts/staking/StakingManager.sol/StakingManager.json +177 -108
- package/artifacts/contracts/staking/StakingReader.sol/StakingReader.dbg.json +1 -1
- package/artifacts/contracts/staking/StakingReader.sol/StakingReader.json +91 -67
- package/artifacts/contracts/staking/StakingService.sol/StakingService.dbg.json +1 -1
- package/artifacts/contracts/staking/StakingService.sol/StakingService.json +253 -171
- package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.dbg.json +1 -1
- package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.json +157 -93
- package/artifacts/contracts/staking/StakingStore.sol/StakingStore.dbg.json +1 -1
- package/artifacts/contracts/staking/StakingStore.sol/StakingStore.json +205 -150
- package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.dbg.json +1 -1
- package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.json +91 -50
- package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.dbg.json +1 -1
- package/artifacts/contracts/type/Amount.sol/AmountLib.dbg.json +1 -1
- package/artifacts/contracts/type/Amount.sol/AmountLib.json +35 -11
- package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.dbg.json +1 -1
- package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.dbg.json +1 -1
- package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.json +28 -4
- package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.dbg.json +1 -1
- package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.json +2 -2
- package/artifacts/contracts/type/Fee.sol/FeeLib.dbg.json +1 -1
- package/artifacts/contracts/type/Fee.sol/FeeLib.json +94 -38
- package/artifacts/contracts/type/Key32.sol/Key32Lib.dbg.json +1 -1
- package/artifacts/contracts/type/Key32.sol/Key32Lib.json +2 -2
- package/artifacts/contracts/type/Key32Set.sol/LibKey32Set.dbg.json +4 -0
- package/artifacts/contracts/type/Key32Set.sol/LibKey32Set.json +33 -0
- package/artifacts/contracts/type/NftId.sol/NftIdLib.dbg.json +1 -1
- package/artifacts/contracts/type/NftId.sol/NftIdLib.json +23 -4
- package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.dbg.json +1 -1
- package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.json +2 -2
- package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.dbg.json +1 -1
- package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.json +33 -31
- package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.dbg.json +1 -1
- package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.json +19 -19
- package/artifacts/contracts/type/Referral.sol/ReferralLib.dbg.json +1 -1
- package/artifacts/contracts/type/Referral.sol/ReferralLib.json +2 -2
- package/artifacts/contracts/type/RequestId.sol/RequestIdLib.dbg.json +1 -1
- package/artifacts/contracts/type/RequestId.sol/RequestIdLib.json +2 -2
- package/artifacts/contracts/type/RiskId.sol/RiskIdLib.dbg.json +1 -1
- package/artifacts/contracts/type/RiskId.sol/RiskIdLib.json +125 -7
- package/artifacts/contracts/type/RoleId.sol/RoleIdLib.dbg.json +1 -1
- package/artifacts/contracts/type/RoleId.sol/RoleIdLib.json +42 -157
- package/artifacts/contracts/type/Seconds.sol/SecondsLib.dbg.json +1 -1
- package/artifacts/contracts/type/Seconds.sol/SecondsLib.json +45 -2
- package/artifacts/contracts/type/Selector.sol/SelectorLib.dbg.json +1 -1
- package/artifacts/contracts/type/Selector.sol/SelectorLib.json +21 -2
- package/artifacts/contracts/type/Selector.sol/SelectorSetLib.dbg.json +1 -1
- package/artifacts/contracts/type/Selector.sol/SelectorSetLib.json +2 -2
- package/artifacts/contracts/type/StateId.sol/StateIdLib.dbg.json +1 -1
- package/artifacts/contracts/type/StateId.sol/StateIdLib.json +15 -2
- package/artifacts/contracts/type/String.sol/StrLib.dbg.json +1 -1
- package/artifacts/contracts/type/String.sol/StrLib.json +50 -2
- package/artifacts/contracts/type/Timestamp.sol/TimestampLib.dbg.json +1 -1
- package/artifacts/contracts/type/Timestamp.sol/TimestampLib.json +2 -2
- package/artifacts/contracts/type/UFixed.sol/UFixedLib.dbg.json +1 -1
- package/artifacts/contracts/type/UFixed.sol/UFixedLib.json +73 -36
- package/artifacts/contracts/type/Version.sol/VersionLib.dbg.json +1 -1
- package/artifacts/contracts/type/Version.sol/VersionLib.json +2 -21
- package/artifacts/contracts/type/Version.sol/VersionPartLib.dbg.json +1 -1
- package/artifacts/contracts/type/Version.sol/VersionPartLib.json +101 -2
- package/artifacts/contracts/upgradeability/IVersionable.sol/IVersionable.dbg.json +1 -1
- package/artifacts/contracts/upgradeability/IVersionable.sol/IVersionable.json +10 -0
- package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.dbg.json +1 -1
- package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.json +117 -78
- package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +1 -1
- package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +15 -2
- package/artifacts/contracts/upgradeability/Versionable.sol/Versionable.dbg.json +1 -1
- package/artifacts/contracts/upgradeability/Versionable.sol/Versionable.json +10 -0
- package/contracts/accounting/AccountingService.sol +274 -0
- package/contracts/accounting/AccountingServiceManager.sol +38 -0
- package/contracts/accounting/IAccountingService.sol +47 -0
- package/contracts/authorization/AccessAdmin.sol +456 -267
- package/contracts/authorization/AccessAdminLib.sol +396 -0
- package/contracts/authorization/AccessManagerCloneable.sol +146 -4
- package/contracts/authorization/Authorization.sol +159 -208
- package/contracts/authorization/IAccess.sol +25 -6
- package/contracts/authorization/IAccessAdmin.sol +87 -79
- package/contracts/authorization/IAuthorization.sol +9 -36
- package/contracts/authorization/IServiceAuthorization.sol +57 -17
- package/contracts/authorization/ServiceAuthorization.sol +254 -24
- package/contracts/distribution/BasicDistribution.sol +20 -17
- package/contracts/distribution/BasicDistributionAuthorization.sol +30 -10
- package/contracts/distribution/Distribution.sol +42 -90
- package/contracts/distribution/DistributionService.sol +242 -117
- package/contracts/distribution/DistributionServiceManager.sol +6 -6
- package/contracts/distribution/IDistributionComponent.sol +4 -11
- package/contracts/distribution/IDistributionService.sol +46 -26
- package/contracts/examples/fire/DamageLevel.sol +59 -0
- package/contracts/examples/fire/FirePool.sol +86 -0
- package/contracts/examples/fire/FirePoolAuthorization.sol +35 -0
- package/contracts/examples/fire/FireProduct.sol +433 -0
- package/contracts/examples/fire/FireProductAuthorization.sol +45 -0
- package/contracts/examples/fire/FireUSD.sol +26 -0
- package/contracts/examples/unpermissioned/SimpleDistribution.sol +81 -0
- package/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol +28 -0
- package/contracts/examples/unpermissioned/SimpleOracle.sol +133 -0
- package/contracts/examples/unpermissioned/SimplePool.sol +102 -0
- package/contracts/examples/unpermissioned/SimplePoolAuthorization.sol +28 -0
- package/contracts/examples/unpermissioned/SimpleProduct.sol +391 -0
- package/contracts/examples/unpermissioned/SimpleProductAuthorization.sol +28 -0
- package/contracts/instance/BundleSet.sol +42 -38
- package/contracts/instance/IInstance.sol +101 -42
- package/contracts/instance/IInstanceService.sol +56 -32
- package/contracts/instance/Instance.sol +189 -97
- package/contracts/instance/InstanceAdmin.sol +275 -158
- package/contracts/instance/InstanceAuthorizationV3.sol +120 -58
- package/contracts/instance/InstanceReader.sol +477 -253
- package/contracts/instance/InstanceService.sol +275 -243
- package/contracts/instance/InstanceServiceManager.sol +6 -7
- package/contracts/instance/InstanceStore.sol +23 -2
- package/contracts/instance/RiskSet.sol +126 -0
- package/contracts/instance/base/BalanceStore.sol +3 -5
- package/contracts/instance/base/ObjectCounter.sol +1 -2
- package/contracts/instance/base/ObjectLifecycle.sol +11 -8
- package/contracts/instance/base/ObjectSet.sol +31 -33
- package/contracts/instance/base/ObjectSetHelperLib.sol +30 -0
- package/contracts/instance/module/IBundle.sol +6 -5
- package/contracts/instance/module/IComponents.sol +29 -13
- package/contracts/instance/module/IDistribution.sol +21 -8
- package/contracts/instance/module/IPolicy.sol +49 -28
- package/contracts/instance/module/IRisk.sol +5 -0
- package/contracts/oracle/BasicOracle.sol +1 -4
- package/contracts/oracle/BasicOracleAuthorization.sol +15 -8
- package/contracts/oracle/IOracle.sol +9 -4
- package/contracts/oracle/IOracleService.sol +2 -1
- package/contracts/oracle/Oracle.sol +7 -19
- package/contracts/oracle/OracleService.sol +117 -85
- package/contracts/oracle/OracleServiceManager.sol +6 -6
- package/contracts/pool/BasicPool.sol +33 -37
- package/contracts/pool/BasicPoolAuthorization.sol +34 -11
- package/contracts/pool/BundleService.sol +113 -164
- package/contracts/pool/BundleServiceManager.sol +6 -6
- package/contracts/pool/IBundleService.sol +28 -45
- package/contracts/pool/IPoolComponent.sol +19 -15
- package/contracts/pool/IPoolService.sol +93 -73
- package/contracts/pool/Pool.sol +140 -135
- package/contracts/pool/PoolLib.sol +341 -0
- package/contracts/pool/PoolService.sol +377 -291
- package/contracts/pool/PoolServiceManager.sol +4 -4
- package/contracts/product/ApplicationService.sol +111 -34
- package/contracts/product/ApplicationServiceManager.sol +4 -4
- package/contracts/product/BasicProduct.sol +10 -13
- package/contracts/product/BasicProductAuthorization.sol +32 -12
- package/contracts/product/ClaimService.sol +382 -158
- package/contracts/product/ClaimServiceManager.sol +4 -4
- package/contracts/product/IApplicationService.sol +28 -3
- package/contracts/product/IClaimService.sol +43 -8
- package/contracts/product/IPolicyService.sol +47 -29
- package/contracts/product/IPricingService.sol +11 -10
- package/contracts/product/IProductComponent.sol +27 -5
- package/contracts/product/IRiskService.sol +48 -0
- package/contracts/product/PolicyService.sol +374 -324
- package/contracts/product/PolicyServiceLib.sol +139 -0
- package/contracts/product/PolicyServiceManager.sol +4 -4
- package/contracts/product/PricingService.sol +85 -83
- package/contracts/product/PricingServiceManager.sol +4 -4
- package/contracts/product/Product.sol +166 -96
- package/contracts/product/RiskService.sol +190 -0
- package/contracts/product/RiskServiceManager.sol +39 -0
- package/contracts/registry/ChainNft.sol +72 -40
- package/contracts/registry/IRegistry.sol +70 -29
- package/contracts/registry/IRegistryService.sol +5 -12
- package/contracts/registry/IRelease.sol +29 -0
- package/contracts/registry/ITransferInterceptor.sol +1 -2
- package/contracts/registry/Registry.sol +364 -204
- package/contracts/registry/RegistryAdmin.sol +110 -287
- package/contracts/registry/RegistryAuthorization.sol +284 -0
- package/contracts/registry/RegistryService.sol +38 -49
- package/contracts/registry/RegistryServiceManager.sol +3 -3
- package/contracts/registry/ReleaseAdmin.sol +195 -0
- package/contracts/registry/ReleaseLifecycle.sol +8 -3
- package/contracts/registry/ReleaseRegistry.sol +275 -240
- package/contracts/registry/ServiceAuthorizationV3.sol +202 -57
- package/contracts/registry/TokenRegistry.sol +12 -13
- package/contracts/shared/Component.sol +66 -137
- package/contracts/shared/ComponentService.sol +415 -376
- package/contracts/shared/ComponentServiceManager.sol +8 -5
- package/contracts/shared/ContractLib.sol +311 -0
- package/contracts/shared/IComponent.sol +6 -19
- package/contracts/shared/IComponentService.sol +43 -40
- package/contracts/shared/IInstanceLinkedComponent.sol +2 -28
- package/contracts/shared/ILifecycle.sol +3 -1
- package/contracts/shared/INftOwnable.sol +4 -0
- package/contracts/shared/IPolicyHolder.sol +12 -22
- package/contracts/shared/IRegisterable.sol +22 -1
- package/contracts/shared/IService.sol +3 -5
- package/contracts/shared/InitializableERC165.sol +10 -2
- package/contracts/shared/InstanceLinkedComponent.sol +72 -50
- package/contracts/shared/KeyValueStore.sol +1 -1
- package/contracts/shared/Lifecycle.sol +15 -4
- package/contracts/shared/NftOwnable.sol +31 -9
- package/contracts/shared/PolicyHolder.sol +18 -54
- package/contracts/shared/Registerable.sol +52 -21
- package/contracts/shared/RegistryLinked.sol +9 -14
- package/contracts/shared/Service.sol +20 -35
- package/contracts/shared/TokenHandler.sol +309 -29
- package/contracts/shared/TokenHandlerDeployerLib.sol +20 -0
- package/contracts/staking/IStaking.sol +48 -20
- package/contracts/staking/IStakingService.sol +21 -11
- package/contracts/staking/Staking.sol +198 -109
- package/contracts/staking/{StakeManagerLib.sol → StakingLib.sol} +95 -45
- package/contracts/staking/StakingManager.sol +8 -6
- package/contracts/staking/StakingReader.sol +40 -24
- package/contracts/staking/StakingService.sol +88 -27
- package/contracts/staking/StakingServiceManager.sol +6 -5
- package/contracts/staking/StakingStore.sol +3 -2
- package/contracts/staking/TargetManagerLib.sol +8 -4
- package/contracts/type/Amount.sol +15 -0
- package/contracts/type/ClaimId.sol +6 -1
- package/contracts/type/Fee.sol +8 -8
- package/contracts/type/Key32.sol +2 -2
- package/contracts/type/Key32Set.sol +62 -0
- package/contracts/type/NftId.sol +7 -0
- package/contracts/type/ObjectType.sol +73 -37
- package/contracts/type/PayoutId.sol +10 -10
- package/contracts/type/RiskId.sol +38 -6
- package/contracts/type/RoleId.sol +61 -55
- package/contracts/type/Seconds.sol +12 -0
- package/contracts/type/Selector.sol +5 -0
- package/contracts/type/StateId.sol +15 -1
- package/contracts/type/String.sol +12 -0
- package/contracts/type/Timestamp.sol +0 -5
- package/contracts/type/UFixed.sol +37 -126
- package/contracts/type/Version.sol +54 -5
- package/contracts/upgradeability/IVersionable.sol +3 -0
- package/contracts/upgradeability/ProxyManager.sol +93 -45
- package/contracts/upgradeability/UpgradableProxyWithAdmin.sol +7 -1
- package/contracts/upgradeability/Versionable.sol +8 -5
- package/package.json +5 -4
- package/artifacts/contracts/authorization/IModuleAuthorization.sol/IModuleAuthorization.dbg.json +0 -4
- package/artifacts/contracts/authorization/IModuleAuthorization.sol/IModuleAuthorization.json +0 -290
- package/artifacts/contracts/authorization/ModuleAuthorization.sol/ModuleAuthorization.dbg.json +0 -4
- package/artifacts/contracts/authorization/ModuleAuthorization.sol/ModuleAuthorization.json +0 -390
- package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +0 -4
- package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +0 -129
- package/artifacts/contracts/product/IProductService.sol/IProductService.dbg.json +0 -4
- package/artifacts/contracts/product/IProductService.sol/IProductService.json +0 -400
- package/artifacts/contracts/product/ProductService.sol/ProductService.dbg.json +0 -4
- package/artifacts/contracts/product/ProductService.sol/ProductService.json +0 -708
- package/artifacts/contracts/product/ProductServiceManager.sol/ProductServiceManager.dbg.json +0 -4
- package/artifacts/contracts/product/ProductServiceManager.sol/ProductServiceManager.json +0 -702
- package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.dbg.json +0 -4
- package/artifacts/contracts/shared/InitializableCustom.sol/InitializableCustom.dbg.json +0 -4
- package/artifacts/contracts/shared/InitializableCustom.sol/InitializableCustom.json +0 -39
- package/artifacts/contracts/shared/TokenTransferLib.sol/TokenTransferLib.dbg.json +0 -4
- package/artifacts/contracts/shared/TokenTransferLib.sol/TokenTransferLib.json +0 -42
- package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.dbg.json +0 -4
- package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.json +0 -470
- package/artifacts/contracts/type/UFixed.sol/MathLib.dbg.json +0 -4
- package/artifacts/contracts/type/UFixed.sol/MathLib.json +0 -16
- package/contracts/authorization/IModuleAuthorization.sol +0 -21
- package/contracts/authorization/ModuleAuthorization.sol +0 -78
- package/contracts/instance/module/IAccess.sol +0 -46
- package/contracts/product/IProductService.sol +0 -33
- package/contracts/product/ProductService.sol +0 -99
- package/contracts/product/ProductServiceManager.sol +0 -39
- package/contracts/shared/ComponentVerifyingService.sol +0 -117
- package/contracts/shared/InitializableCustom.sol +0 -177
- package/contracts/shared/TokenTransferLib.sol +0 -60
@@ -287,8 +287,8 @@
|
|
287
287
|
"type": "function"
|
288
288
|
}
|
289
289
|
],
|
290
|
-
"bytecode": "0x61041b610034600b8282823980515f1a607314602857634e487b7160e01b5f525f60045260245ffd5b305f52607381538281f3fe73000000000000000000000000000000000000000030146080604052600436106100f0575f3560e01c8063a5798b4e11610093578063bc1b392d1161006e578063bc1b392d146101cf578063c24922ce146101d5578063da09d484146101e8578063ddf3d6311461020e575f80fd5b8063a5798b4e146101a3578063adb61832146101b6578063add9ce99146101bc575f80fd5b806385523ac7116100ce57806385523ac7146101525780638d38cd4b1461016357806394335b1a1461017d5780639df8763914610190575f80fd5b80636ac5db19146100f4578063790a38ad1461011657806383ffcdef1461013f575b5f80fd5b64ffffffffff5b60405164ffffffffff90911681526020015b60405180910390f35b61012f61012436600461033f565b64ffffffffff161590565b604051901515815260200161010d565b61012f61014d366004610361565b610221565b6100fb610160366004610398565b90565b61012f61017136600461033f565b64ffffffffff16151590565b61012f61018b366004610361565b610239565b61012f61019e366004610361565b61024d565b6100fb6101b1366004610361565b610260565b426100fb565b61012f6101ca366004610361565b6102ef565b5f6100fb565b61012f6101e3366004610361565b610302565b6102006101f636600461033f565b64ffffffffff1690565b60405190815260200161010d565b61012f61021c366004610361565b610316565b5f64ffffffffff808316908416115b90505b92915050565b5f64ffffffffff8083169084161115610230565b5f64ffffffffff80841690831614610230565b604051633682752160e21b815264ffffffffff821660048201525f906102309073__$71e292c09eace9601b3e21e68a1278917a$
|
291
|
-
"deployedBytecode": "0x73000000000000000000000000000000000000000030146080604052600436106100f0575f3560e01c8063a5798b4e11610093578063bc1b392d1161006e578063bc1b392d146101cf578063c24922ce146101d5578063da09d484146101e8578063ddf3d6311461020e575f80fd5b8063a5798b4e146101a3578063adb61832146101b6578063add9ce99146101bc575f80fd5b806385523ac7116100ce57806385523ac7146101525780638d38cd4b1461016357806394335b1a1461017d5780639df8763914610190575f80fd5b80636ac5db19146100f4578063790a38ad1461011657806383ffcdef1461013f575b5f80fd5b64ffffffffff5b60405164ffffffffff90911681526020015b60405180910390f35b61012f61012436600461033f565b64ffffffffff161590565b604051901515815260200161010d565b61012f61014d366004610361565b610221565b6100fb610160366004610398565b90565b61012f61017136600461033f565b64ffffffffff16151590565b61012f61018b366004610361565b610239565b61012f61019e366004610361565b61024d565b6100fb6101b1366004610361565b610260565b426100fb565b61012f6101ca366004610361565b6102ef565b5f6100fb565b61012f6101e3366004610361565b610302565b6102006101f636600461033f565b64ffffffffff1690565b60405190815260200161010d565b61012f61021c366004610361565b610316565b5f64ffffffffff808316908416115b90505b92915050565b5f64ffffffffff8083169084161115610230565b5f64ffffffffff80841690831614610230565b604051633682752160e21b815264ffffffffff821660048201525f906102309073__$71e292c09eace9601b3e21e68a1278917a$
|
290
|
+
"bytecode": "0x61041b610034600b8282823980515f1a607314602857634e487b7160e01b5f525f60045260245ffd5b305f52607381538281f3fe73000000000000000000000000000000000000000030146080604052600436106100f0575f3560e01c8063a5798b4e11610093578063bc1b392d1161006e578063bc1b392d146101cf578063c24922ce146101d5578063da09d484146101e8578063ddf3d6311461020e575f80fd5b8063a5798b4e146101a3578063adb61832146101b6578063add9ce99146101bc575f80fd5b806385523ac7116100ce57806385523ac7146101525780638d38cd4b1461016357806394335b1a1461017d5780639df8763914610190575f80fd5b80636ac5db19146100f4578063790a38ad1461011657806383ffcdef1461013f575b5f80fd5b64ffffffffff5b60405164ffffffffff90911681526020015b60405180910390f35b61012f61012436600461033f565b64ffffffffff161590565b604051901515815260200161010d565b61012f61014d366004610361565b610221565b6100fb610160366004610398565b90565b61012f61017136600461033f565b64ffffffffff16151590565b61012f61018b366004610361565b610239565b61012f61019e366004610361565b61024d565b6100fb6101b1366004610361565b610260565b426100fb565b61012f6101ca366004610361565b6102ef565b5f6100fb565b61012f6101e3366004610361565b610302565b6102006101f636600461033f565b64ffffffffff1690565b60405190815260200161010d565b61012f61021c366004610361565b610316565b5f64ffffffffff808316908416115b90505b92915050565b5f64ffffffffff8083169084161115610230565b5f64ffffffffff80841690831614610230565b604051633682752160e21b815264ffffffffff821660048201525f906102309073__$71e292c09eace9601b3e21e68a1278917a$__9063da09d48490602401602060405180830381865af41580156102ba573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906102de91906103af565b6101609064ffffffffff86166103c6565b5f64ffffffffff80831690841610610230565b5f64ffffffffff8083169084161015610230565b5f64ffffffffff8084169083161415610230565b64ffffffffff8116811461033c575f80fd5b50565b5f6020828403121561034f575f80fd5b813561035a8161032a565b9392505050565b5f8060408385031215610372575f80fd5b823561037d8161032a565b9150602083013561038d8161032a565b809150509250929050565b5f602082840312156103a8575f80fd5b5035919050565b5f602082840312156103bf575f80fd5b5051919050565b8082018082111561023357634e487b7160e01b5f52601160045260245ffdfea2646970667358221220b22a7b3a28a4f5b324eae8cd0ad799f1fbdf6aaef01b3855cc1d85dbf474ad1064736f6c634300081a0033",
|
291
|
+
"deployedBytecode": "0x73000000000000000000000000000000000000000030146080604052600436106100f0575f3560e01c8063a5798b4e11610093578063bc1b392d1161006e578063bc1b392d146101cf578063c24922ce146101d5578063da09d484146101e8578063ddf3d6311461020e575f80fd5b8063a5798b4e146101a3578063adb61832146101b6578063add9ce99146101bc575f80fd5b806385523ac7116100ce57806385523ac7146101525780638d38cd4b1461016357806394335b1a1461017d5780639df8763914610190575f80fd5b80636ac5db19146100f4578063790a38ad1461011657806383ffcdef1461013f575b5f80fd5b64ffffffffff5b60405164ffffffffff90911681526020015b60405180910390f35b61012f61012436600461033f565b64ffffffffff161590565b604051901515815260200161010d565b61012f61014d366004610361565b610221565b6100fb610160366004610398565b90565b61012f61017136600461033f565b64ffffffffff16151590565b61012f61018b366004610361565b610239565b61012f61019e366004610361565b61024d565b6100fb6101b1366004610361565b610260565b426100fb565b61012f6101ca366004610361565b6102ef565b5f6100fb565b61012f6101e3366004610361565b610302565b6102006101f636600461033f565b64ffffffffff1690565b60405190815260200161010d565b61012f61021c366004610361565b610316565b5f64ffffffffff808316908416115b90505b92915050565b5f64ffffffffff8083169084161115610230565b5f64ffffffffff80841690831614610230565b604051633682752160e21b815264ffffffffff821660048201525f906102309073__$71e292c09eace9601b3e21e68a1278917a$__9063da09d48490602401602060405180830381865af41580156102ba573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906102de91906103af565b6101609064ffffffffff86166103c6565b5f64ffffffffff80831690841610610230565b5f64ffffffffff8083169084161015610230565b5f64ffffffffff8084169083161415610230565b64ffffffffff8116811461033c575f80fd5b50565b5f6020828403121561034f575f80fd5b813561035a8161032a565b9392505050565b5f8060408385031215610372575f80fd5b823561037d8161032a565b9150602083013561038d8161032a565b809150509250929050565b5f602082840312156103a8575f80fd5b5035919050565b5f602082840312156103bf575f80fd5b5051919050565b8082018082111561023357634e487b7160e01b5f52601160045260245ffdfea2646970667358221220b22a7b3a28a4f5b324eae8cd0ad799f1fbdf6aaef01b3855cc1d85dbf474ad1064736f6c634300081a0033",
|
292
292
|
"linkReferences": {
|
293
293
|
"contracts/type/Seconds.sol": {
|
294
294
|
"SecondsLib": [
|
@@ -5,7 +5,7 @@
|
|
5
5
|
"abi": [
|
6
6
|
{
|
7
7
|
"inputs": [],
|
8
|
-
"name": "
|
8
|
+
"name": "MathOverflowedMulDiv",
|
9
9
|
"type": "error"
|
10
10
|
},
|
11
11
|
{
|
@@ -40,6 +40,17 @@
|
|
40
40
|
"name": "UFixedLibNegativeResult",
|
41
41
|
"type": "error"
|
42
42
|
},
|
43
|
+
{
|
44
|
+
"inputs": [
|
45
|
+
{
|
46
|
+
"internalType": "uint256",
|
47
|
+
"name": "number",
|
48
|
+
"type": "uint256"
|
49
|
+
}
|
50
|
+
],
|
51
|
+
"name": "UFixedLibNumberTooLarge",
|
52
|
+
"type": "error"
|
53
|
+
},
|
43
54
|
{
|
44
55
|
"inputs": [],
|
45
56
|
"name": "EXP",
|
@@ -123,12 +134,12 @@
|
|
123
134
|
{
|
124
135
|
"internalType": "UFixed",
|
125
136
|
"name": "a",
|
126
|
-
"type": "
|
137
|
+
"type": "uint160"
|
127
138
|
},
|
128
139
|
{
|
129
140
|
"internalType": "UFixed",
|
130
141
|
"name": "b",
|
131
|
-
"type": "
|
142
|
+
"type": "uint160"
|
132
143
|
}
|
133
144
|
],
|
134
145
|
"name": "add",
|
@@ -136,7 +147,7 @@
|
|
136
147
|
{
|
137
148
|
"internalType": "UFixed",
|
138
149
|
"name": "",
|
139
|
-
"type": "
|
150
|
+
"type": "uint160"
|
140
151
|
}
|
141
152
|
],
|
142
153
|
"stateMutability": "pure",
|
@@ -160,12 +171,12 @@
|
|
160
171
|
{
|
161
172
|
"internalType": "UFixed",
|
162
173
|
"name": "a",
|
163
|
-
"type": "
|
174
|
+
"type": "uint160"
|
164
175
|
},
|
165
176
|
{
|
166
177
|
"internalType": "UFixed",
|
167
178
|
"name": "b",
|
168
|
-
"type": "
|
179
|
+
"type": "uint160"
|
169
180
|
}
|
170
181
|
],
|
171
182
|
"name": "delta",
|
@@ -173,7 +184,7 @@
|
|
173
184
|
{
|
174
185
|
"internalType": "UFixed",
|
175
186
|
"name": "",
|
176
|
-
"type": "
|
187
|
+
"type": "uint160"
|
177
188
|
}
|
178
189
|
],
|
179
190
|
"stateMutability": "pure",
|
@@ -184,12 +195,12 @@
|
|
184
195
|
{
|
185
196
|
"internalType": "UFixed",
|
186
197
|
"name": "a",
|
187
|
-
"type": "
|
198
|
+
"type": "uint160"
|
188
199
|
},
|
189
200
|
{
|
190
201
|
"internalType": "UFixed",
|
191
202
|
"name": "b",
|
192
|
-
"type": "
|
203
|
+
"type": "uint160"
|
193
204
|
}
|
194
205
|
],
|
195
206
|
"name": "div",
|
@@ -197,7 +208,7 @@
|
|
197
208
|
{
|
198
209
|
"internalType": "UFixed",
|
199
210
|
"name": "",
|
200
|
-
"type": "
|
211
|
+
"type": "uint160"
|
201
212
|
}
|
202
213
|
],
|
203
214
|
"stateMutability": "pure",
|
@@ -208,12 +219,12 @@
|
|
208
219
|
{
|
209
220
|
"internalType": "UFixed",
|
210
221
|
"name": "a",
|
211
|
-
"type": "
|
222
|
+
"type": "uint160"
|
212
223
|
},
|
213
224
|
{
|
214
225
|
"internalType": "UFixed",
|
215
226
|
"name": "b",
|
216
|
-
"type": "
|
227
|
+
"type": "uint160"
|
217
228
|
}
|
218
229
|
],
|
219
230
|
"name": "eq",
|
@@ -232,7 +243,7 @@
|
|
232
243
|
{
|
233
244
|
"internalType": "UFixed",
|
234
245
|
"name": "a",
|
235
|
-
"type": "
|
246
|
+
"type": "uint160"
|
236
247
|
}
|
237
248
|
],
|
238
249
|
"name": "eqz",
|
@@ -251,12 +262,12 @@
|
|
251
262
|
{
|
252
263
|
"internalType": "UFixed",
|
253
264
|
"name": "a",
|
254
|
-
"type": "
|
265
|
+
"type": "uint160"
|
255
266
|
},
|
256
267
|
{
|
257
268
|
"internalType": "UFixed",
|
258
269
|
"name": "b",
|
259
|
-
"type": "
|
270
|
+
"type": "uint160"
|
260
271
|
}
|
261
272
|
],
|
262
273
|
"name": "gt",
|
@@ -275,12 +286,12 @@
|
|
275
286
|
{
|
276
287
|
"internalType": "UFixed",
|
277
288
|
"name": "a",
|
278
|
-
"type": "
|
289
|
+
"type": "uint160"
|
279
290
|
},
|
280
291
|
{
|
281
292
|
"internalType": "UFixed",
|
282
293
|
"name": "b",
|
283
|
-
"type": "
|
294
|
+
"type": "uint160"
|
284
295
|
}
|
285
296
|
],
|
286
297
|
"name": "gte",
|
@@ -299,7 +310,7 @@
|
|
299
310
|
{
|
300
311
|
"internalType": "UFixed",
|
301
312
|
"name": "a",
|
302
|
-
"type": "
|
313
|
+
"type": "uint160"
|
303
314
|
}
|
304
315
|
],
|
305
316
|
"name": "gtz",
|
@@ -318,12 +329,12 @@
|
|
318
329
|
{
|
319
330
|
"internalType": "UFixed",
|
320
331
|
"name": "a",
|
321
|
-
"type": "
|
332
|
+
"type": "uint160"
|
322
333
|
},
|
323
334
|
{
|
324
335
|
"internalType": "UFixed",
|
325
336
|
"name": "b",
|
326
|
-
"type": "
|
337
|
+
"type": "uint160"
|
327
338
|
}
|
328
339
|
],
|
329
340
|
"name": "lt",
|
@@ -342,12 +353,12 @@
|
|
342
353
|
{
|
343
354
|
"internalType": "UFixed",
|
344
355
|
"name": "a",
|
345
|
-
"type": "
|
356
|
+
"type": "uint160"
|
346
357
|
},
|
347
358
|
{
|
348
359
|
"internalType": "UFixed",
|
349
360
|
"name": "b",
|
350
|
-
"type": "
|
361
|
+
"type": "uint160"
|
351
362
|
}
|
352
363
|
],
|
353
364
|
"name": "lte",
|
@@ -361,17 +372,30 @@
|
|
361
372
|
"stateMutability": "pure",
|
362
373
|
"type": "function"
|
363
374
|
},
|
375
|
+
{
|
376
|
+
"inputs": [],
|
377
|
+
"name": "max",
|
378
|
+
"outputs": [
|
379
|
+
{
|
380
|
+
"internalType": "UFixed",
|
381
|
+
"name": "",
|
382
|
+
"type": "uint160"
|
383
|
+
}
|
384
|
+
],
|
385
|
+
"stateMutability": "pure",
|
386
|
+
"type": "function"
|
387
|
+
},
|
364
388
|
{
|
365
389
|
"inputs": [
|
366
390
|
{
|
367
391
|
"internalType": "UFixed",
|
368
392
|
"name": "a",
|
369
|
-
"type": "
|
393
|
+
"type": "uint160"
|
370
394
|
},
|
371
395
|
{
|
372
396
|
"internalType": "UFixed",
|
373
397
|
"name": "b",
|
374
|
-
"type": "
|
398
|
+
"type": "uint160"
|
375
399
|
}
|
376
400
|
],
|
377
401
|
"name": "mul",
|
@@ -379,7 +403,20 @@
|
|
379
403
|
{
|
380
404
|
"internalType": "UFixed",
|
381
405
|
"name": "",
|
382
|
-
"type": "
|
406
|
+
"type": "uint160"
|
407
|
+
}
|
408
|
+
],
|
409
|
+
"stateMutability": "pure",
|
410
|
+
"type": "function"
|
411
|
+
},
|
412
|
+
{
|
413
|
+
"inputs": [],
|
414
|
+
"name": "one",
|
415
|
+
"outputs": [
|
416
|
+
{
|
417
|
+
"internalType": "UFixed",
|
418
|
+
"name": "",
|
419
|
+
"type": "uint160"
|
383
420
|
}
|
384
421
|
],
|
385
422
|
"stateMutability": "pure",
|
@@ -390,12 +427,12 @@
|
|
390
427
|
{
|
391
428
|
"internalType": "UFixed",
|
392
429
|
"name": "a",
|
393
|
-
"type": "
|
430
|
+
"type": "uint160"
|
394
431
|
},
|
395
432
|
{
|
396
433
|
"internalType": "UFixed",
|
397
434
|
"name": "b",
|
398
|
-
"type": "
|
435
|
+
"type": "uint160"
|
399
436
|
}
|
400
437
|
],
|
401
438
|
"name": "sub",
|
@@ -403,7 +440,7 @@
|
|
403
440
|
{
|
404
441
|
"internalType": "UFixed",
|
405
442
|
"name": "",
|
406
|
-
"type": "
|
443
|
+
"type": "uint160"
|
407
444
|
}
|
408
445
|
],
|
409
446
|
"stateMutability": "pure",
|
@@ -414,7 +451,7 @@
|
|
414
451
|
{
|
415
452
|
"internalType": "UFixed",
|
416
453
|
"name": "a",
|
417
|
-
"type": "
|
454
|
+
"type": "uint160"
|
418
455
|
}
|
419
456
|
],
|
420
457
|
"name": "toInt",
|
@@ -433,7 +470,7 @@
|
|
433
470
|
{
|
434
471
|
"internalType": "UFixed",
|
435
472
|
"name": "a",
|
436
|
-
"type": "
|
473
|
+
"type": "uint160"
|
437
474
|
}
|
438
475
|
],
|
439
476
|
"name": "toInt1000",
|
@@ -452,7 +489,7 @@
|
|
452
489
|
{
|
453
490
|
"internalType": "UFixed",
|
454
491
|
"name": "a",
|
455
|
-
"type": "
|
492
|
+
"type": "uint160"
|
456
493
|
},
|
457
494
|
{
|
458
495
|
"internalType": "uint8",
|
@@ -489,7 +526,7 @@
|
|
489
526
|
{
|
490
527
|
"internalType": "UFixed",
|
491
528
|
"name": "",
|
492
|
-
"type": "
|
529
|
+
"type": "uint160"
|
493
530
|
}
|
494
531
|
],
|
495
532
|
"stateMutability": "pure",
|
@@ -508,7 +545,7 @@
|
|
508
545
|
{
|
509
546
|
"internalType": "UFixed",
|
510
547
|
"name": "",
|
511
|
-
"type": "
|
548
|
+
"type": "uint160"
|
512
549
|
}
|
513
550
|
],
|
514
551
|
"stateMutability": "pure",
|
@@ -521,15 +558,15 @@
|
|
521
558
|
{
|
522
559
|
"internalType": "UFixed",
|
523
560
|
"name": "",
|
524
|
-
"type": "
|
561
|
+
"type": "uint160"
|
525
562
|
}
|
526
563
|
],
|
527
564
|
"stateMutability": "pure",
|
528
565
|
"type": "function"
|
529
566
|
}
|
530
567
|
],
|
531
|
-
"bytecode": "
|
532
|
-
"deployedBytecode": "
|
568
|
+
"bytecode": "0x610b85610034600b8282823980515f1a607314602857634e487b7160e01b5f525f60045260245ffd5b305f52607381538281f3fe73000000000000000000000000000000000000000030146080604052600436106101ac575f3560e01c80637d15a54f116100fe578063bdbb46301161009e578063d59377c911610079578063d59377c91461035b578063e2eb023b1461036e578063e33c747b14610381578063eb646d7114610394575f80fd5b8063bdbb46301461032e578063bdd51f4214610335578063d511e14e14610348575f80fd5b806393aa8725116100d957806393aa8725146102fc5780639994d99814610302578063bb1775ec14610315578063bc1b392d14610328575f80fd5b80637d15a54f146102cc57806389fa8ed7146102df578063901717d1146102f4575f80fd5b80633e7e9f9711610169578063524ad53711610144578063524ad537146102865780635e719be0146102995780635ff51efe146102ac5780636ac5db19146102bf575f80fd5b80633e7e9f971461024d57806345ebb61e146102605780635200e44714610273575f80fd5b8063059f8b16146101b05780630b43ec84146101cb5780630d13bb8d146101f65780631488c845146102195780631a12cd471461022c578063313ce56714610246575b5f80fd5b6101b861039c565b6040519081526020015b60405180910390f35b6101de6101d9366004610898565b6103ab565b6040516001600160a01b0390911681526020016101c2565b610209610204366004610898565b6103bf565b60405190151581526020016101c2565b6101de6102273660046108c9565b6103d4565b610234600f81565b6040515f9190910b81526020016101c2565b600f6101b8565b6101de61025b366004610898565b61048d565b6101de61026e3660046108fc565b610498565b610209610281366004610898565b6104dd565b6101de610294366004610898565b6104f3565b6101de6102a7366004610898565b6104fe565b6101b86102ba366004610913565b610509565b6001600160a01b036101de565b6102096102da366004610913565b610528565b60025b60405160ff90911681526020016101c2565b6101de61053a565b5f6102e2565b610209610310366004610898565b61054c565b610209610323366004610898565b610562565b5f6101de565b60016102e2565b610209610343366004610898565b610577565b610209610356366004610913565b61058c565b6101de610369366004610898565b61059d565b6101b861037c366004610913565b6105a8565b6101b861038f36600461092c565b6105b0565b6101b861064b565b6103a8600f600a610a52565b81565b5f6103b68383610663565b90505b92915050565b5f6001600160a01b03808416908316146103b6565b5f806103e183600f610a5d565b5f0b121561040c57604051633e49665b60e21b81525f83900b60048201526024015b60405180910390fd5b603061041983600f610a5d565b5f0b131561043f5760405163e39f5db560e01b81525f83900b6004820152602401610403565b5f61044b83600f610a5d565b61045690600a610a7d565b6104609085610a8b565b90506001600160a01b038111156103b6576040516307043bb760e01b815260048101829052602401610403565b5f6103b683836106b1565b5f806104a6600f600a610a52565b6104b09084610a8b565b90506001600160a01b038111156103b9576040516307043bb760e01b815260048101849052602401610403565b5f6001600160a01b0380831690841610156103b6565b5f6103b683836106bc565b5f6103b683836106f4565b5f6103b961052161051b6103e8610498565b8461071d565b60026105b0565b5f6001600160a01b03821615156103b9565b5f610547600f600a610a52565b905090565b5f6001600160a01b0380831690841611156103b6565b5f6001600160a01b03808316908416106103b6565b5f6001600160a01b03808316908416116103b6565b5f6001600160a01b038216156103b9565b5f6103b6838361071d565b5f6103b98260025b5f60011960ff831601610606576105ff60026105ce600f600a610a52565b6105d89190610ab6565b6105eb906001600160a01b038616610ac9565b60016105f9600f600a610a52565b5f610742565b90506103b9565b60ff8216610629576105ff6001600160a01b03841660016105f9600f600a610a52565b6105ff6001600160a01b0384166001610644600f600a610a52565b6001610742565b6002610659600f600a610a52565b6103a89190610ab6565b5f816001600160a01b03165f0361068d57604051630f6c8fc360e21b815260040160405180910390fd5b6103b6836001600160a01b031666038d7ea4c68000846001600160a01b0316610791565b5f6103b68284610adc565b5f6001600160a01b0380831690841610156106ea5760405163117efe6d60e31b815260040160405180910390fd5b6103b68284610afb565b5f6001600160a01b038083169084161115610713576105ff83836106bc565b6103b682846106bc565b5f6103b6836001600160a01b0316836001600160a01b031666038d7ea4c68000610791565b5f8061074f868686610791565b905061075a83610851565b801561077557505f848061077057610770610aa2565b868809115b1561078857610785600182610ac9565b90505b95945050505050565b5f838302815f1985870982811083820303915050805f036107c5578382816107bb576107bb610aa2565b049250505061084a565b8084116107e55760405163227bc15360e01b815260040160405180910390fd5b5f848688095f868103871696879004966002600389028118808a02820302808a02820302808a02820302808a02820302808a02820302808a02909103029181900381900460010186841190950394909402919094039290920491909117919091029150505b9392505050565b5f600282600381111561086657610866610b1a565b6108709190610b2e565b60ff166001149050919050565b80356001600160a01b0381168114610893575f80fd5b919050565b5f80604083850312156108a9575f80fd5b6108b28361087d565b91506108c06020840161087d565b90509250929050565b5f80604083850312156108da575f80fd5b8235915060208301355f81900b81146108f1575f80fd5b809150509250929050565b5f6020828403121561090c575f80fd5b5035919050565b5f60208284031215610923575f80fd5b6103b68261087d565b5f806040838503121561093d575f80fd5b6109468361087d565b9150602083013560ff811681146108f1575f80fd5b634e487b7160e01b5f52601160045260245ffd5b6001815b60018411156109aa5780850481111561098e5761098e61095b565b600184161561099c57908102905b60019390931c928002610973565b935093915050565b5f826109c0575060016103b9565b816109cc57505f6103b9565b81600181146109e257600281146109ec57610a08565b60019150506103b9565b60ff8411156109fd576109fd61095b565b50506001821b6103b9565b5060208310610133831016604e8410600b8410161715610a2b575081810a6103b9565b610a375f19848461096f565b805f1904821115610a4a57610a4a61095b565b029392505050565b5f6103b683836109b2565b5f81810b9083900b01607f8113607f19821217156103b9576103b961095b565b5f6103b660ff8416836109b2565b80820281158282048414176103b9576103b961095b565b634e487b7160e01b5f52601260045260245ffd5b5f82610ac457610ac4610aa2565b500490565b808201808211156103b9576103b961095b565b6001600160a01b0381811683821601908111156103b9576103b961095b565b6001600160a01b0382811682821603908111156103b9576103b961095b565b634e487b7160e01b5f52602160045260245ffd5b5f60ff831680610b4057610b40610aa2565b8060ff8416069150509291505056fea26469706673582212206bcf8fb0f8eafdcbfad0939987822d07696639c2951ebb2016af4b6507c6182b64736f6c634300081a0033",
|
569
|
+
"deployedBytecode": "0x73000000000000000000000000000000000000000030146080604052600436106101ac575f3560e01c80637d15a54f116100fe578063bdbb46301161009e578063d59377c911610079578063d59377c91461035b578063e2eb023b1461036e578063e33c747b14610381578063eb646d7114610394575f80fd5b8063bdbb46301461032e578063bdd51f4214610335578063d511e14e14610348575f80fd5b806393aa8725116100d957806393aa8725146102fc5780639994d99814610302578063bb1775ec14610315578063bc1b392d14610328575f80fd5b80637d15a54f146102cc57806389fa8ed7146102df578063901717d1146102f4575f80fd5b80633e7e9f9711610169578063524ad53711610144578063524ad537146102865780635e719be0146102995780635ff51efe146102ac5780636ac5db19146102bf575f80fd5b80633e7e9f971461024d57806345ebb61e146102605780635200e44714610273575f80fd5b8063059f8b16146101b05780630b43ec84146101cb5780630d13bb8d146101f65780631488c845146102195780631a12cd471461022c578063313ce56714610246575b5f80fd5b6101b861039c565b6040519081526020015b60405180910390f35b6101de6101d9366004610898565b6103ab565b6040516001600160a01b0390911681526020016101c2565b610209610204366004610898565b6103bf565b60405190151581526020016101c2565b6101de6102273660046108c9565b6103d4565b610234600f81565b6040515f9190910b81526020016101c2565b600f6101b8565b6101de61025b366004610898565b61048d565b6101de61026e3660046108fc565b610498565b610209610281366004610898565b6104dd565b6101de610294366004610898565b6104f3565b6101de6102a7366004610898565b6104fe565b6101b86102ba366004610913565b610509565b6001600160a01b036101de565b6102096102da366004610913565b610528565b60025b60405160ff90911681526020016101c2565b6101de61053a565b5f6102e2565b610209610310366004610898565b61054c565b610209610323366004610898565b610562565b5f6101de565b60016102e2565b610209610343366004610898565b610577565b610209610356366004610913565b61058c565b6101de610369366004610898565b61059d565b6101b861037c366004610913565b6105a8565b6101b861038f36600461092c565b6105b0565b6101b861064b565b6103a8600f600a610a52565b81565b5f6103b68383610663565b90505b92915050565b5f6001600160a01b03808416908316146103b6565b5f806103e183600f610a5d565b5f0b121561040c57604051633e49665b60e21b81525f83900b60048201526024015b60405180910390fd5b603061041983600f610a5d565b5f0b131561043f5760405163e39f5db560e01b81525f83900b6004820152602401610403565b5f61044b83600f610a5d565b61045690600a610a7d565b6104609085610a8b565b90506001600160a01b038111156103b6576040516307043bb760e01b815260048101829052602401610403565b5f6103b683836106b1565b5f806104a6600f600a610a52565b6104b09084610a8b565b90506001600160a01b038111156103b9576040516307043bb760e01b815260048101849052602401610403565b5f6001600160a01b0380831690841610156103b6565b5f6103b683836106bc565b5f6103b683836106f4565b5f6103b961052161051b6103e8610498565b8461071d565b60026105b0565b5f6001600160a01b03821615156103b9565b5f610547600f600a610a52565b905090565b5f6001600160a01b0380831690841611156103b6565b5f6001600160a01b03808316908416106103b6565b5f6001600160a01b03808316908416116103b6565b5f6001600160a01b038216156103b9565b5f6103b6838361071d565b5f6103b98260025b5f60011960ff831601610606576105ff60026105ce600f600a610a52565b6105d89190610ab6565b6105eb906001600160a01b038616610ac9565b60016105f9600f600a610a52565b5f610742565b90506103b9565b60ff8216610629576105ff6001600160a01b03841660016105f9600f600a610a52565b6105ff6001600160a01b0384166001610644600f600a610a52565b6001610742565b6002610659600f600a610a52565b6103a89190610ab6565b5f816001600160a01b03165f0361068d57604051630f6c8fc360e21b815260040160405180910390fd5b6103b6836001600160a01b031666038d7ea4c68000846001600160a01b0316610791565b5f6103b68284610adc565b5f6001600160a01b0380831690841610156106ea5760405163117efe6d60e31b815260040160405180910390fd5b6103b68284610afb565b5f6001600160a01b038083169084161115610713576105ff83836106bc565b6103b682846106bc565b5f6103b6836001600160a01b0316836001600160a01b031666038d7ea4c68000610791565b5f8061074f868686610791565b905061075a83610851565b801561077557505f848061077057610770610aa2565b868809115b1561078857610785600182610ac9565b90505b95945050505050565b5f838302815f1985870982811083820303915050805f036107c5578382816107bb576107bb610aa2565b049250505061084a565b8084116107e55760405163227bc15360e01b815260040160405180910390fd5b5f848688095f868103871696879004966002600389028118808a02820302808a02820302808a02820302808a02820302808a02820302808a02909103029181900381900460010186841190950394909402919094039290920491909117919091029150505b9392505050565b5f600282600381111561086657610866610b1a565b6108709190610b2e565b60ff166001149050919050565b80356001600160a01b0381168114610893575f80fd5b919050565b5f80604083850312156108a9575f80fd5b6108b28361087d565b91506108c06020840161087d565b90509250929050565b5f80604083850312156108da575f80fd5b8235915060208301355f81900b81146108f1575f80fd5b809150509250929050565b5f6020828403121561090c575f80fd5b5035919050565b5f60208284031215610923575f80fd5b6103b68261087d565b5f806040838503121561093d575f80fd5b6109468361087d565b9150602083013560ff811681146108f1575f80fd5b634e487b7160e01b5f52601160045260245ffd5b6001815b60018411156109aa5780850481111561098e5761098e61095b565b600184161561099c57908102905b60019390931c928002610973565b935093915050565b5f826109c0575060016103b9565b816109cc57505f6103b9565b81600181146109e257600281146109ec57610a08565b60019150506103b9565b60ff8411156109fd576109fd61095b565b50506001821b6103b9565b5060208310610133831016604e8410600b8410161715610a2b575081810a6103b9565b610a375f19848461096f565b805f1904821115610a4a57610a4a61095b565b029392505050565b5f6103b683836109b2565b5f81810b9083900b01607f8113607f19821217156103b9576103b961095b565b5f6103b660ff8416836109b2565b80820281158282048414176103b9576103b961095b565b634e487b7160e01b5f52601260045260245ffd5b5f82610ac457610ac4610aa2565b500490565b808201808211156103b9576103b961095b565b6001600160a01b0381811683821601908111156103b9576103b961095b565b6001600160a01b0382811682821603908111156103b9576103b961095b565b634e487b7160e01b5f52602160045260245ffd5b5f60ff831680610b4057610b40610aa2565b8060ff8416069150509291505056fea26469706673582212206bcf8fb0f8eafdcbfad0939987822d07696639c2951ebb2016af4b6507c6182b64736f6c634300081a0033",
|
533
570
|
"linkReferences": {},
|
534
571
|
"deployedLinkReferences": {}
|
535
572
|
}
|
@@ -108,25 +108,6 @@
|
|
108
108
|
"stateMutability": "pure",
|
109
109
|
"type": "function"
|
110
110
|
},
|
111
|
-
{
|
112
|
-
"inputs": [
|
113
|
-
{
|
114
|
-
"internalType": "uint256",
|
115
|
-
"name": "versionPart",
|
116
|
-
"type": "uint256"
|
117
|
-
}
|
118
|
-
],
|
119
|
-
"name": "toVersionPart",
|
120
|
-
"outputs": [
|
121
|
-
{
|
122
|
-
"internalType": "VersionPart",
|
123
|
-
"name": "",
|
124
|
-
"type": "uint8"
|
125
|
-
}
|
126
|
-
],
|
127
|
-
"stateMutability": "pure",
|
128
|
-
"type": "function"
|
129
|
-
},
|
130
111
|
{
|
131
112
|
"inputs": [
|
132
113
|
{
|
@@ -170,8 +151,8 @@
|
|
170
151
|
"type": "function"
|
171
152
|
}
|
172
153
|
],
|
173
|
-
"bytecode": "
|
174
|
-
"deployedBytecode": "
|
154
|
+
"bytecode": "0x610345610034600b8282823980515f1a607314602857634e487b7160e01b5f525f60045260245ffd5b305f52607381538281f3fe7300000000000000000000000000000000000000003014608060405260043610610085575f3560e01c8063556010071161006357806355601007146100ee57806394aa449c14610112578063a123b37c14610123578063c9e66e291461014a575f80fd5b806304b8f6c5146100895780632efe0113146100a457806349a7111a146100b7575b5f80fd5b5f5b60405162ffffff90911681526020015b60405180910390f35b61008b6100b236600461024e565b610173565b6100ca6100c5366004610277565b610213565b6040805160ff9485168152928416602084015292169181019190915260600161009b565b6101046100fc366004610277565b62ffffff1690565b60405190815260200161009b565b61008b6101203660046102a0565b90565b6101316100fc366004610277565b60405167ffffffffffffffff909116815260200161009b565b610161610158366004610277565b60101c60ff1690565b60405160ff909116815260200161009b565b5f61010084108015610186575061010083105b8015610193575061010082105b6101ee5760405162461bcd60e51b815260206004820152602260248201527f4552524f523a5652532d3031303a56455253494f4e5f504152545f544f4f5f42604482015261494760f01b606482015260840160405180910390fd5b81610201600885901b601087901b6102db565b61020b91906102db565b949350505050565b5f80808360ff601082901c1661022983836102f4565b915061ffff600883901c165f61023f81856102f4565b92989197509195509350505050565b5f805f60608486031215610260575f80fd5b505081359360208301359350604090920135919050565b5f60208284031215610287575f80fd5b813562ffffff81168114610299575f80fd5b9392505050565b5f602082840312156102b0575f80fd5b813567ffffffffffffffff81168114610299575f80fd5b634e487b7160e01b5f52601160045260245ffd5b808201808211156102ee576102ee6102c7565b92915050565b62ffffff82811682821603908111156102ee576102ee6102c756fea26469706673582212201c0fa5cb537eba82d8f0de7a59369805f7be71ad39f07f70d063c815700e683564736f6c634300081a0033",
|
155
|
+
"deployedBytecode": "0x7300000000000000000000000000000000000000003014608060405260043610610085575f3560e01c8063556010071161006357806355601007146100ee57806394aa449c14610112578063a123b37c14610123578063c9e66e291461014a575f80fd5b806304b8f6c5146100895780632efe0113146100a457806349a7111a146100b7575b5f80fd5b5f5b60405162ffffff90911681526020015b60405180910390f35b61008b6100b236600461024e565b610173565b6100ca6100c5366004610277565b610213565b6040805160ff9485168152928416602084015292169181019190915260600161009b565b6101046100fc366004610277565b62ffffff1690565b60405190815260200161009b565b61008b6101203660046102a0565b90565b6101316100fc366004610277565b60405167ffffffffffffffff909116815260200161009b565b610161610158366004610277565b60101c60ff1690565b60405160ff909116815260200161009b565b5f61010084108015610186575061010083105b8015610193575061010082105b6101ee5760405162461bcd60e51b815260206004820152602260248201527f4552524f523a5652532d3031303a56455253494f4e5f504152545f544f4f5f42604482015261494760f01b606482015260840160405180910390fd5b81610201600885901b601087901b6102db565b61020b91906102db565b949350505050565b5f80808360ff601082901c1661022983836102f4565b915061ffff600883901c165f61023f81856102f4565b92989197509195509350505050565b5f805f60608486031215610260575f80fd5b505081359360208301359350604090920135919050565b5f60208284031215610287575f80fd5b813562ffffff81168114610299575f80fd5b9392505050565b5f602082840312156102b0575f80fd5b813567ffffffffffffffff81168114610299575f80fd5b634e487b7160e01b5f52601160045260245ffd5b808201808211156102ee576102ee6102c7565b92915050565b62ffffff82811682821603908111156102ee576102ee6102c756fea26469706673582212201c0fa5cb537eba82d8f0de7a59369805f7be71ad39f07f70d063c815700e683564736f6c634300081a0033",
|
175
156
|
"linkReferences": {},
|
176
157
|
"deployedLinkReferences": {}
|
177
158
|
}
|
@@ -3,6 +3,22 @@
|
|
3
3
|
"contractName": "VersionPartLib",
|
4
4
|
"sourceName": "contracts/type/Version.sol",
|
5
5
|
"abi": [
|
6
|
+
{
|
7
|
+
"inputs": [
|
8
|
+
{
|
9
|
+
"internalType": "VersionPart",
|
10
|
+
"name": "releaseMax",
|
11
|
+
"type": "uint8"
|
12
|
+
},
|
13
|
+
{
|
14
|
+
"internalType": "VersionPart",
|
15
|
+
"name": "release",
|
16
|
+
"type": "uint8"
|
17
|
+
}
|
18
|
+
],
|
19
|
+
"name": "ErrorReleaseTooBig",
|
20
|
+
"type": "error"
|
21
|
+
},
|
6
22
|
{
|
7
23
|
"inputs": [
|
8
24
|
{
|
@@ -22,6 +38,70 @@
|
|
22
38
|
"stateMutability": "pure",
|
23
39
|
"type": "function"
|
24
40
|
},
|
41
|
+
{
|
42
|
+
"inputs": [
|
43
|
+
{
|
44
|
+
"internalType": "VersionPart",
|
45
|
+
"name": "a",
|
46
|
+
"type": "uint8"
|
47
|
+
}
|
48
|
+
],
|
49
|
+
"name": "gtz",
|
50
|
+
"outputs": [
|
51
|
+
{
|
52
|
+
"internalType": "bool",
|
53
|
+
"name": "",
|
54
|
+
"type": "bool"
|
55
|
+
}
|
56
|
+
],
|
57
|
+
"stateMutability": "pure",
|
58
|
+
"type": "function"
|
59
|
+
},
|
60
|
+
{
|
61
|
+
"inputs": [
|
62
|
+
{
|
63
|
+
"internalType": "VersionPart",
|
64
|
+
"name": "release",
|
65
|
+
"type": "uint8"
|
66
|
+
}
|
67
|
+
],
|
68
|
+
"name": "isValidRelease",
|
69
|
+
"outputs": [
|
70
|
+
{
|
71
|
+
"internalType": "bool",
|
72
|
+
"name": "",
|
73
|
+
"type": "bool"
|
74
|
+
}
|
75
|
+
],
|
76
|
+
"stateMutability": "pure",
|
77
|
+
"type": "function"
|
78
|
+
},
|
79
|
+
{
|
80
|
+
"inputs": [],
|
81
|
+
"name": "releaseMax",
|
82
|
+
"outputs": [
|
83
|
+
{
|
84
|
+
"internalType": "VersionPart",
|
85
|
+
"name": "",
|
86
|
+
"type": "uint8"
|
87
|
+
}
|
88
|
+
],
|
89
|
+
"stateMutability": "pure",
|
90
|
+
"type": "function"
|
91
|
+
},
|
92
|
+
{
|
93
|
+
"inputs": [],
|
94
|
+
"name": "releaseMin",
|
95
|
+
"outputs": [
|
96
|
+
{
|
97
|
+
"internalType": "VersionPart",
|
98
|
+
"name": "",
|
99
|
+
"type": "uint8"
|
100
|
+
}
|
101
|
+
],
|
102
|
+
"stateMutability": "pure",
|
103
|
+
"type": "function"
|
104
|
+
},
|
25
105
|
{
|
26
106
|
"inputs": [
|
27
107
|
{
|
@@ -41,6 +121,25 @@
|
|
41
121
|
"stateMutability": "pure",
|
42
122
|
"type": "function"
|
43
123
|
},
|
124
|
+
{
|
125
|
+
"inputs": [
|
126
|
+
{
|
127
|
+
"internalType": "VersionPart",
|
128
|
+
"name": "a",
|
129
|
+
"type": "uint8"
|
130
|
+
}
|
131
|
+
],
|
132
|
+
"name": "toString",
|
133
|
+
"outputs": [
|
134
|
+
{
|
135
|
+
"internalType": "string",
|
136
|
+
"name": "",
|
137
|
+
"type": "string"
|
138
|
+
}
|
139
|
+
],
|
140
|
+
"stateMutability": "pure",
|
141
|
+
"type": "function"
|
142
|
+
},
|
44
143
|
{
|
45
144
|
"inputs": [
|
46
145
|
{
|
@@ -61,8 +160,8 @@
|
|
61
160
|
"type": "function"
|
62
161
|
}
|
63
162
|
],
|
64
|
-
"bytecode": "
|
65
|
-
"deployedBytecode": "
|
163
|
+
"bytecode": "0x610457610034600b8282823980515f1a607314602857634e487b7160e01b5f525f60045260245ffd5b305f52607381538281f3fe7300000000000000000000000000000000000000003014608060405260043610610090575f3560e01c8063ac43d83411610063578063ac43d83414610118578063b2466acf1461013a578063bb41432a14610150578063fbcaa8ed14610157575f80fd5b80635c2767c5146100945780636f919620146100bd5780638e4ad86c146100e2578063a52ec52914610105575b5f80fd5b6100a76100a23660046102ec565b61015e565b6040516100b4919061030c565b60405180910390f35b6100d26100cb3660046102ec565b60ff161590565b60405190151581526020016100b4565b6100f36100f0366004610341565b90565b60405160ff90911681526020016100b4565b6100d26101133660046102ec565b6102be565b61012c6101263660046102ec565b60ff1690565b6040519081526020016100b4565b6100d26101483660046102ec565b60ff16151590565b60036100f3565b60636100f3565b606061016b8260636102dc565b1561019a57604080516336ba371f60e01b81526063600482015260ff8416602482015290519081900360440190fd5b60ff82165f8190036101c55750506040805180820190915260018152600360fc1b6020820152919050565b805f5b81156101ee57806101d88161036c565b91506101e79050600a83610398565b91506101c8565b5f8167ffffffffffffffff811115610208576102086103ab565b6040519080825280601f01601f191660200182016040528015610232576020820181803683370190505b5090505f6102416001846103bf565b90508493505b83156102b457610258600a856103d2565b6102639060306103e5565b60f81b828281518110610278576102786103f8565b60200101906001600160f81b03191690815f1a905350610299600a85610398565b935080156102af57806102ab8161040c565b9150505b610247565b5095945050505050565b5f60ff8216600381108015906102d5575060638111155b9392505050565b60ff808216908316115b92915050565b5f602082840312156102fc575f80fd5b813560ff811681146102d5575f80fd5b602081525f82518060208401528060208501604085015e5f604082850101526040601f19601f83011684010191505092915050565b5f60208284031215610351575f80fd5b5035919050565b634e487b7160e01b5f52601160045260245ffd5b5f6001820161037d5761037d610358565b5060010190565b634e487b7160e01b5f52601260045260245ffd5b5f826103a6576103a6610384565b500490565b634e487b7160e01b5f52604160045260245ffd5b818103818111156102e6576102e6610358565b5f826103e0576103e0610384565b500690565b808201808211156102e6576102e6610358565b634e487b7160e01b5f52603260045260245ffd5b5f8161041a5761041a610358565b505f19019056fea2646970667358221220e90c864442d17da7a8d60569559fcca416f25f46c443ece43a4f199ff30842ed64736f6c634300081a0033",
|
164
|
+
"deployedBytecode": "0x7300000000000000000000000000000000000000003014608060405260043610610090575f3560e01c8063ac43d83411610063578063ac43d83414610118578063b2466acf1461013a578063bb41432a14610150578063fbcaa8ed14610157575f80fd5b80635c2767c5146100945780636f919620146100bd5780638e4ad86c146100e2578063a52ec52914610105575b5f80fd5b6100a76100a23660046102ec565b61015e565b6040516100b4919061030c565b60405180910390f35b6100d26100cb3660046102ec565b60ff161590565b60405190151581526020016100b4565b6100f36100f0366004610341565b90565b60405160ff90911681526020016100b4565b6100d26101133660046102ec565b6102be565b61012c6101263660046102ec565b60ff1690565b6040519081526020016100b4565b6100d26101483660046102ec565b60ff16151590565b60036100f3565b60636100f3565b606061016b8260636102dc565b1561019a57604080516336ba371f60e01b81526063600482015260ff8416602482015290519081900360440190fd5b60ff82165f8190036101c55750506040805180820190915260018152600360fc1b6020820152919050565b805f5b81156101ee57806101d88161036c565b91506101e79050600a83610398565b91506101c8565b5f8167ffffffffffffffff811115610208576102086103ab565b6040519080825280601f01601f191660200182016040528015610232576020820181803683370190505b5090505f6102416001846103bf565b90508493505b83156102b457610258600a856103d2565b6102639060306103e5565b60f81b828281518110610278576102786103f8565b60200101906001600160f81b03191690815f1a905350610299600a85610398565b935080156102af57806102ab8161040c565b9150505b610247565b5095945050505050565b5f60ff8216600381108015906102d5575060638111155b9392505050565b60ff808216908316115b92915050565b5f602082840312156102fc575f80fd5b813560ff811681146102d5575f80fd5b602081525f82518060208401528060208501604085015e5f604082850101526040601f19601f83011684010191505092915050565b5f60208284031215610351575f80fd5b5035919050565b634e487b7160e01b5f52601160045260245ffd5b5f6001820161037d5761037d610358565b5060010190565b634e487b7160e01b5f52601260045260245ffd5b5f826103a6576103a6610384565b500490565b634e487b7160e01b5f52604160045260245ffd5b818103818111156102e6576102e6610358565b5f826103e0576103e0610384565b500690565b808201808211156102e6576102e6610358565b634e487b7160e01b5f52603260045260245ffd5b5f8161041a5761041a610358565b505f19019056fea2646970667358221220e90c864442d17da7a8d60569559fcca416f25f46c443ece43a4f199ff30842ed64736f6c634300081a0033",
|
66
165
|
"linkReferences": {},
|
67
166
|
"deployedLinkReferences": {}
|
68
167
|
}
|
@@ -3,6 +3,16 @@
|
|
3
3
|
"contractName": "IVersionable",
|
4
4
|
"sourceName": "contracts/upgradeability/IVersionable.sol",
|
5
5
|
"abi": [
|
6
|
+
{
|
7
|
+
"inputs": [],
|
8
|
+
"name": "ErrorVersionableInitializeNotImplemented",
|
9
|
+
"type": "error"
|
10
|
+
},
|
11
|
+
{
|
12
|
+
"inputs": [],
|
13
|
+
"name": "ErrorVersionableUpgradeNotImplemented",
|
14
|
+
"type": "error"
|
15
|
+
},
|
6
16
|
{
|
7
17
|
"inputs": [],
|
8
18
|
"name": "getVersion",
|