@etherisc/gif-next 0.0.2-ee54ca6-863 → 0.0.2-ef15ccf-423
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +91 -8
- 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 +204 -302
- 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 +123 -186
- package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.dbg.json +1 -1
- package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.json +634 -225
- package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +1 -1
- package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.json +229 -86
- package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.dbg.json +1 -1
- package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.json +102 -160
- package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.dbg.json +1 -1
- package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.json +429 -77
- 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 +1484 -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 +2053 -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 +1 -1
- package/artifacts/contracts/examples/unpermissioned/SimpleDistribution.sol/SimpleDistribution.json +293 -265
- 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 +1 -1
- package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.json +175 -175
- package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.dbg.json +1 -1
- package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.json +363 -233
- 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 +1 -1
- package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.json +986 -379
- 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/BaseStore.sol/BaseStore.dbg.json +4 -0
- package/artifacts/contracts/instance/BaseStore.sol/BaseStore.json +332 -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/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 +578 -65
- package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
- package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +395 -60
- package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
- package/artifacts/contracts/instance/Instance.sol/Instance.json +641 -119
- package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.json +1022 -364
- package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.json +328 -92
- package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +1612 -816
- package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +421 -131
- package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +153 -64
- package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.json +755 -1092
- package/artifacts/contracts/instance/ProductStore.sol/ProductStore.dbg.json +4 -0
- package/artifacts/contracts/instance/ProductStore.sol/ProductStore.json +1852 -0
- package/artifacts/contracts/instance/RiskSet.sol/RiskSet.dbg.json +4 -0
- package/artifacts/contracts/instance/RiskSet.sol/RiskSet.json +866 -0
- package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.dbg.json +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 +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 +161 -183
- 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 +116 -109
- 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 +137 -135
- package/artifacts/contracts/oracle/OracleService.sol/OracleService.dbg.json +1 -1
- package/artifacts/contracts/oracle/OracleService.sol/OracleService.json +201 -81
- package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.dbg.json +1 -1
- package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.json +187 -56
- package/artifacts/contracts/pool/BasicPool.sol/BasicPool.dbg.json +1 -1
- package/artifacts/contracts/pool/BasicPool.sol/BasicPool.json +185 -191
- 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 +355 -279
- package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.dbg.json +1 -1
- package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.json +182 -87
- 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 +152 -156
- package/artifacts/contracts/pool/IPoolService.sol/IPoolService.dbg.json +1 -1
- package/artifacts/contracts/pool/IPoolService.sol/IPoolService.json +478 -227
- package/artifacts/contracts/pool/Pool.sol/Pool.dbg.json +1 -1
- package/artifacts/contracts/pool/Pool.sol/Pool.json +165 -174
- 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 +743 -379
- package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.dbg.json +1 -1
- package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.json +237 -66
- package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.dbg.json +1 -1
- package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.json +361 -57
- package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +1 -1
- package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.json +176 -53
- package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.dbg.json +1 -1
- package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.json +297 -234
- 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 +370 -159
- package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +1 -1
- package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.json +194 -83
- 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 +242 -24
- package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.dbg.json +1 -1
- package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.json +299 -48
- package/artifacts/contracts/product/IPricingService.sol/IPricingService.dbg.json +1 -1
- package/artifacts/contracts/product/IPricingService.sol/IPricingService.json +140 -37
- package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.dbg.json +1 -1
- package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.json +270 -202
- package/artifacts/contracts/product/IRiskService.sol/IRiskService.dbg.json +1 -1
- package/artifacts/contracts/product/IRiskService.sol/IRiskService.json +286 -21
- package/artifacts/contracts/product/PolicyService.sol/PolicyService.dbg.json +1 -1
- package/artifacts/contracts/product/PolicyService.sol/PolicyService.json +451 -151
- 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 +213 -74
- package/artifacts/contracts/product/PricingService.sol/PricingService.dbg.json +1 -1
- package/artifacts/contracts/product/PricingService.sol/PricingService.json +201 -129
- package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.dbg.json +1 -1
- package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.json +167 -68
- package/artifacts/contracts/product/Product.sol/Product.dbg.json +1 -1
- package/artifacts/contracts/product/Product.sol/Product.json +287 -224
- package/artifacts/contracts/product/RiskService.sol/RiskService.dbg.json +1 -1
- package/artifacts/contracts/product/RiskService.sol/RiskService.json +372 -82
- package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.dbg.json +1 -1
- package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.json +176 -53
- package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
- package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +2 -2
- package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
- package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +144 -33
- 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 +188 -69
- package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.dbg.json +1 -1
- package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.json +753 -454
- package/artifacts/contracts/registry/RegistryAuthorization.sol/RegistryAuthorization.dbg.json +4 -0
- package/artifacts/contracts/registry/RegistryAuthorization.sol/RegistryAuthorization.json +1074 -0
- package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
- package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +139 -181
- package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
- package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +151 -48
- 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 +478 -258
- 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 +120 -60
- package/artifacts/contracts/shared/Component.sol/Component.dbg.json +1 -1
- package/artifacts/contracts/shared/Component.sol/Component.json +113 -93
- package/artifacts/contracts/shared/ComponentService.sol/ComponentService.dbg.json +1 -1
- package/artifacts/contracts/shared/ComponentService.sol/ComponentService.json +502 -519
- package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.dbg.json +1 -1
- package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.json +198 -89
- 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 +93 -68
- 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 +116 -109
- package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.dbg.json +1 -1
- package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.json +79 -6
- 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 +16 -6
- 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 -2
- package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.dbg.json +1 -1
- package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.json +136 -134
- package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.dbg.json +1 -1
- package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.json +85 -7
- 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 +37 -2
- package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +1 -1
- package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +18 -8
- package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
- package/artifacts/contracts/shared/Registerable.sol/Registerable.json +171 -38
- 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 +89 -2
- package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
- package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +327 -73
- 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 +1 -1
- package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.json +88 -24
- package/artifacts/contracts/staking/IStaking.sol/IStaking.dbg.json +1 -1
- package/artifacts/contracts/staking/IStaking.sol/IStaking.json +1492 -173
- package/artifacts/contracts/staking/IStakingService.sol/IStakingService.dbg.json +1 -1
- package/artifacts/contracts/staking/IStakingService.sol/IStakingService.json +235 -123
- 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 +1648 -291
- package/artifacts/contracts/staking/StakingLib.sol/StakingLib.dbg.json +4 -0
- package/artifacts/contracts/staking/StakingLib.sol/StakingLib.json +470 -0
- package/artifacts/contracts/staking/StakingManager.sol/StakingManager.dbg.json +1 -1
- package/artifacts/contracts/staking/StakingManager.sol/StakingManager.json +202 -69
- package/artifacts/contracts/staking/StakingReader.sol/StakingReader.dbg.json +1 -1
- package/artifacts/contracts/staking/StakingReader.sol/StakingReader.json +295 -183
- package/artifacts/contracts/staking/StakingService.sol/StakingService.dbg.json +1 -1
- package/artifacts/contracts/staking/StakingService.sol/StakingService.json +286 -173
- package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.dbg.json +1 -1
- package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.json +154 -55
- package/artifacts/contracts/staking/StakingStore.sol/StakingStore.dbg.json +1 -1
- package/artifacts/contracts/staking/StakingStore.sol/StakingStore.json +1645 -790
- 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 +160 -88
- 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/Blocknumber.sol/BlocknumberLib.json +45 -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 +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 +3 -3
- 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 +128 -38
- 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 +457 -266
- package/contracts/authorization/AccessAdminLib.sol +396 -0
- package/contracts/authorization/AccessManagerCloneable.sol +146 -4
- package/contracts/authorization/Authorization.sol +159 -207
- package/contracts/authorization/IAccess.sol +25 -6
- package/contracts/authorization/IAccessAdmin.sol +87 -79
- package/contracts/authorization/IAuthorization.sol +9 -37
- package/contracts/authorization/IServiceAuthorization.sol +57 -17
- package/contracts/authorization/ServiceAuthorization.sol +255 -25
- package/contracts/distribution/BasicDistribution.sol +20 -17
- package/contracts/distribution/BasicDistributionAuthorization.sol +30 -10
- package/contracts/distribution/Distribution.sol +43 -91
- package/contracts/distribution/DistributionService.sol +224 -112
- package/contracts/distribution/DistributionServiceManager.sol +6 -6
- package/contracts/distribution/IDistributionComponent.sol +4 -11
- package/contracts/distribution/IDistributionService.sol +38 -24
- 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 +43 -12
- package/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol +28 -0
- package/contracts/examples/unpermissioned/SimpleOracle.sol +8 -12
- package/contracts/examples/unpermissioned/SimplePool.sol +36 -10
- package/contracts/examples/unpermissioned/SimplePoolAuthorization.sol +28 -0
- package/contracts/examples/unpermissioned/SimpleProduct.sol +134 -48
- package/contracts/examples/unpermissioned/SimpleProductAuthorization.sol +28 -0
- package/contracts/instance/BaseStore.sol +93 -0
- package/contracts/instance/BundleSet.sol +42 -38
- package/contracts/instance/IBaseStore.sol +37 -0
- package/contracts/instance/IInstance.sol +111 -18
- package/contracts/instance/IInstanceService.sol +61 -34
- package/contracts/instance/Instance.sol +196 -74
- package/contracts/instance/InstanceAdmin.sol +276 -182
- package/contracts/instance/InstanceAuthorizationV3.sol +145 -74
- package/contracts/instance/InstanceReader.sol +473 -270
- package/contracts/instance/InstanceService.sol +314 -267
- package/contracts/instance/InstanceServiceManager.sol +6 -7
- package/contracts/instance/InstanceStore.sol +21 -49
- package/contracts/instance/ProductStore.sol +143 -0
- package/contracts/instance/RiskSet.sol +126 -0
- package/contracts/instance/TargetNames.sol +10 -0
- package/contracts/instance/base/BalanceStore.sol +4 -6
- package/contracts/instance/base/ObjectCounter.sol +1 -2
- package/contracts/instance/base/ObjectLifecycle.sol +6 -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 +30 -9
- package/contracts/instance/module/IRisk.sol +5 -0
- package/contracts/oracle/BasicOracle.sol +2 -5
- 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 -20
- package/contracts/oracle/OracleService.sol +117 -86
- package/contracts/oracle/OracleServiceManager.sol +6 -6
- package/contracts/pool/BasicPool.sol +34 -38
- package/contracts/pool/BasicPoolAuthorization.sol +34 -11
- package/contracts/pool/BundleService.sol +115 -167
- package/contracts/pool/BundleServiceManager.sol +6 -6
- package/contracts/pool/IBundleService.sol +28 -46
- package/contracts/pool/IPoolComponent.sol +19 -15
- package/contracts/pool/IPoolService.sol +77 -67
- package/contracts/pool/Pool.sol +140 -133
- package/contracts/pool/PoolLib.sol +341 -0
- package/contracts/pool/PoolService.sol +355 -250
- package/contracts/pool/PoolServiceManager.sol +4 -4
- package/contracts/product/ApplicationService.sol +110 -31
- package/contracts/product/ApplicationServiceManager.sol +4 -4
- package/contracts/product/BasicProduct.sol +10 -14
- package/contracts/product/BasicProductAuthorization.sol +32 -12
- package/contracts/product/ClaimService.sol +328 -189
- package/contracts/product/ClaimServiceManager.sol +4 -4
- package/contracts/product/IApplicationService.sol +28 -3
- package/contracts/product/IClaimService.sol +21 -7
- package/contracts/product/IPolicyService.sol +41 -12
- package/contracts/product/IPricingService.sol +10 -9
- package/contracts/product/IProductComponent.sol +27 -4
- package/contracts/product/IRiskService.sol +25 -10
- package/contracts/product/PolicyService.sol +357 -285
- package/contracts/product/PolicyServiceLib.sol +139 -0
- package/contracts/product/PolicyServiceManager.sol +4 -4
- package/contracts/product/PricingService.sol +59 -54
- package/contracts/product/PricingServiceManager.sol +4 -4
- package/contracts/product/Product.sol +153 -85
- package/contracts/product/RiskService.sol +129 -36
- package/contracts/product/RiskServiceManager.sol +4 -4
- package/contracts/registry/ChainNft.sol +10 -11
- package/contracts/registry/IRegistry.sol +31 -27
- 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 +51 -17
- package/contracts/registry/RegistryAdmin.sol +107 -380
- package/contracts/registry/RegistryAuthorization.sol +336 -0
- package/contracts/registry/RegistryService.sol +37 -48
- 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 +278 -244
- package/contracts/registry/ServiceAuthorizationV3.sol +204 -61
- package/contracts/registry/TokenRegistry.sol +61 -59
- package/contracts/shared/Component.sol +65 -119
- package/contracts/shared/ComponentService.sol +422 -376
- package/contracts/shared/ComponentServiceManager.sol +8 -5
- package/contracts/shared/ContractLib.sol +312 -0
- package/contracts/shared/IComponent.sol +6 -18
- package/contracts/shared/IComponentService.sol +43 -40
- package/contracts/shared/IInstanceLinkedComponent.sol +3 -22
- package/contracts/shared/IKeyValueStore.sol +9 -1
- package/contracts/shared/ILifecycle.sol +3 -1
- package/contracts/shared/INftOwnable.sol +4 -0
- package/contracts/shared/IPolicyHolder.sol +12 -13
- package/contracts/shared/IRegisterable.sol +22 -1
- package/contracts/shared/IService.sol +3 -5
- package/contracts/shared/InitializableERC165.sol +9 -1
- package/contracts/shared/InstanceLinkedComponent.sol +71 -49
- package/contracts/shared/KeyValueStore.sol +4 -4
- package/contracts/shared/Lifecycle.sol +15 -4
- package/contracts/shared/NftOwnable.sol +29 -7
- package/contracts/shared/PolicyHolder.sol +15 -8
- package/contracts/shared/Registerable.sol +50 -19
- package/contracts/shared/RegistryLinked.sol +7 -13
- package/contracts/shared/Service.sol +18 -33
- package/contracts/shared/TokenHandler.sol +275 -72
- package/contracts/shared/TokenHandlerDeployerLib.sol +10 -2
- package/contracts/staking/IStaking.sol +271 -72
- package/contracts/staking/IStakingService.sol +45 -78
- package/contracts/staking/ITargetLimitHandler.sol +17 -0
- package/contracts/staking/Staking.sol +523 -223
- package/contracts/staking/{StakeManagerLib.sol → StakingLib.sol} +55 -84
- package/contracts/staking/StakingManager.sol +12 -9
- package/contracts/staking/StakingReader.sol +70 -82
- package/contracts/staking/StakingService.sol +62 -148
- package/contracts/staking/StakingServiceManager.sol +7 -5
- package/contracts/staking/StakingStore.sol +1093 -330
- package/contracts/staking/TargetHandler.sol +132 -0
- package/contracts/staking/TargetManagerLib.sol +69 -46
- package/contracts/type/Amount.sol +19 -0
- package/contracts/type/Blocknumber.sol +15 -15
- package/contracts/type/ChainId.sol +101 -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 +70 -38
- 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 +19 -0
- package/contracts/type/Selector.sol +5 -0
- package/contracts/type/StateId.sol +14 -1
- package/contracts/type/String.sol +12 -0
- package/contracts/type/Timestamp.sol +4 -7
- package/contracts/type/UFixed.sol +38 -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 +12 -2
- 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/shared/ComponentVerifyingService.sol/ComponentVerifyingService.dbg.json +0 -4
- package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.json +0 -427
- package/artifacts/contracts/shared/InitializableCustom.sol/InitializableCustom.dbg.json +0 -4
- package/artifacts/contracts/shared/InitializableCustom.sol/InitializableCustom.json +0 -39
- package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.dbg.json +0 -4
- package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.json +0 -440
- package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.dbg.json +0 -4
- package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.json +0 -164
- 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/shared/ComponentVerifyingService.sol +0 -117
- package/contracts/shared/InitializableCustom.sol +0 -177
- package/contracts/staking/StakingLifecycle.sol +0 -23
@@ -0,0 +1,1852 @@
|
|
1
|
+
{
|
2
|
+
"_format": "hh-sol-artifact-1",
|
3
|
+
"contractName": "ProductStore",
|
4
|
+
"sourceName": "contracts/instance/ProductStore.sol",
|
5
|
+
"abi": [
|
6
|
+
{
|
7
|
+
"inputs": [
|
8
|
+
{
|
9
|
+
"internalType": "address",
|
10
|
+
"name": "authority",
|
11
|
+
"type": "address"
|
12
|
+
}
|
13
|
+
],
|
14
|
+
"name": "AccessManagedInvalidAuthority",
|
15
|
+
"type": "error"
|
16
|
+
},
|
17
|
+
{
|
18
|
+
"inputs": [
|
19
|
+
{
|
20
|
+
"internalType": "address",
|
21
|
+
"name": "caller",
|
22
|
+
"type": "address"
|
23
|
+
},
|
24
|
+
{
|
25
|
+
"internalType": "uint32",
|
26
|
+
"name": "delay",
|
27
|
+
"type": "uint32"
|
28
|
+
}
|
29
|
+
],
|
30
|
+
"name": "AccessManagedRequiredDelay",
|
31
|
+
"type": "error"
|
32
|
+
},
|
33
|
+
{
|
34
|
+
"inputs": [
|
35
|
+
{
|
36
|
+
"internalType": "address",
|
37
|
+
"name": "caller",
|
38
|
+
"type": "address"
|
39
|
+
}
|
40
|
+
],
|
41
|
+
"name": "AccessManagedUnauthorized",
|
42
|
+
"type": "error"
|
43
|
+
},
|
44
|
+
{
|
45
|
+
"inputs": [
|
46
|
+
{
|
47
|
+
"internalType": "NftId",
|
48
|
+
"name": "targetNftId",
|
49
|
+
"type": "uint96"
|
50
|
+
}
|
51
|
+
],
|
52
|
+
"name": "ErrorBalanceStoreTargetAlreadyRegistered",
|
53
|
+
"type": "error"
|
54
|
+
},
|
55
|
+
{
|
56
|
+
"inputs": [
|
57
|
+
{
|
58
|
+
"internalType": "NftId",
|
59
|
+
"name": "targetNftId",
|
60
|
+
"type": "uint96"
|
61
|
+
}
|
62
|
+
],
|
63
|
+
"name": "ErrorBalanceStoreTargetNotRegistered",
|
64
|
+
"type": "error"
|
65
|
+
},
|
66
|
+
{
|
67
|
+
"inputs": [
|
68
|
+
{
|
69
|
+
"internalType": "Key32",
|
70
|
+
"name": "key",
|
71
|
+
"type": "bytes32"
|
72
|
+
},
|
73
|
+
{
|
74
|
+
"internalType": "ObjectType",
|
75
|
+
"name": "objectType",
|
76
|
+
"type": "uint8"
|
77
|
+
}
|
78
|
+
],
|
79
|
+
"name": "ErrorBaseStoreAlreadyCreated",
|
80
|
+
"type": "error"
|
81
|
+
},
|
82
|
+
{
|
83
|
+
"inputs": [
|
84
|
+
{
|
85
|
+
"internalType": "ObjectType",
|
86
|
+
"name": "objectType",
|
87
|
+
"type": "uint8"
|
88
|
+
}
|
89
|
+
],
|
90
|
+
"name": "ErrorBaseStoreNoLifecycle",
|
91
|
+
"type": "error"
|
92
|
+
},
|
93
|
+
{
|
94
|
+
"inputs": [
|
95
|
+
{
|
96
|
+
"internalType": "Key32",
|
97
|
+
"name": "key",
|
98
|
+
"type": "bytes32"
|
99
|
+
}
|
100
|
+
],
|
101
|
+
"name": "ErrorBaseStoreNotExisting",
|
102
|
+
"type": "error"
|
103
|
+
},
|
104
|
+
{
|
105
|
+
"inputs": [
|
106
|
+
{
|
107
|
+
"internalType": "Key32",
|
108
|
+
"name": "key",
|
109
|
+
"type": "bytes32"
|
110
|
+
}
|
111
|
+
],
|
112
|
+
"name": "ErrorBaseStoreStateZero",
|
113
|
+
"type": "error"
|
114
|
+
},
|
115
|
+
{
|
116
|
+
"inputs": [
|
117
|
+
{
|
118
|
+
"internalType": "ObjectType",
|
119
|
+
"name": "objectType",
|
120
|
+
"type": "uint8"
|
121
|
+
}
|
122
|
+
],
|
123
|
+
"name": "ErrorBaseStoreTypeUndefined",
|
124
|
+
"type": "error"
|
125
|
+
},
|
126
|
+
{
|
127
|
+
"inputs": [
|
128
|
+
{
|
129
|
+
"internalType": "address",
|
130
|
+
"name": "contractAddress",
|
131
|
+
"type": "address"
|
132
|
+
},
|
133
|
+
{
|
134
|
+
"internalType": "ObjectType",
|
135
|
+
"name": "objectType",
|
136
|
+
"type": "uint8"
|
137
|
+
},
|
138
|
+
{
|
139
|
+
"internalType": "StateId",
|
140
|
+
"name": "actual",
|
141
|
+
"type": "uint8"
|
142
|
+
},
|
143
|
+
{
|
144
|
+
"internalType": "StateId",
|
145
|
+
"name": "required",
|
146
|
+
"type": "uint8"
|
147
|
+
}
|
148
|
+
],
|
149
|
+
"name": "ErrorFromStateMissmatch",
|
150
|
+
"type": "error"
|
151
|
+
},
|
152
|
+
{
|
153
|
+
"inputs": [
|
154
|
+
{
|
155
|
+
"internalType": "address",
|
156
|
+
"name": "contractAddress",
|
157
|
+
"type": "address"
|
158
|
+
},
|
159
|
+
{
|
160
|
+
"internalType": "ObjectType",
|
161
|
+
"name": "objectType",
|
162
|
+
"type": "uint8"
|
163
|
+
},
|
164
|
+
{
|
165
|
+
"internalType": "StateId",
|
166
|
+
"name": "fromStateId",
|
167
|
+
"type": "uint8"
|
168
|
+
},
|
169
|
+
{
|
170
|
+
"internalType": "StateId",
|
171
|
+
"name": "toStateId",
|
172
|
+
"type": "uint8"
|
173
|
+
}
|
174
|
+
],
|
175
|
+
"name": "ErrorInvalidStateTransition",
|
176
|
+
"type": "error"
|
177
|
+
},
|
178
|
+
{
|
179
|
+
"inputs": [
|
180
|
+
{
|
181
|
+
"internalType": "address",
|
182
|
+
"name": "contractAddress",
|
183
|
+
"type": "address"
|
184
|
+
},
|
185
|
+
{
|
186
|
+
"internalType": "ObjectType",
|
187
|
+
"name": "objectType",
|
188
|
+
"type": "uint8"
|
189
|
+
}
|
190
|
+
],
|
191
|
+
"name": "ErrorNoLifecycle",
|
192
|
+
"type": "error"
|
193
|
+
},
|
194
|
+
{
|
195
|
+
"inputs": [],
|
196
|
+
"name": "InvalidInitialization",
|
197
|
+
"type": "error"
|
198
|
+
},
|
199
|
+
{
|
200
|
+
"inputs": [],
|
201
|
+
"name": "NotInitializing",
|
202
|
+
"type": "error"
|
203
|
+
},
|
204
|
+
{
|
205
|
+
"anonymous": false,
|
206
|
+
"inputs": [
|
207
|
+
{
|
208
|
+
"indexed": false,
|
209
|
+
"internalType": "address",
|
210
|
+
"name": "authority",
|
211
|
+
"type": "address"
|
212
|
+
}
|
213
|
+
],
|
214
|
+
"name": "AuthorityUpdated",
|
215
|
+
"type": "event"
|
216
|
+
},
|
217
|
+
{
|
218
|
+
"anonymous": false,
|
219
|
+
"inputs": [
|
220
|
+
{
|
221
|
+
"indexed": false,
|
222
|
+
"internalType": "uint64",
|
223
|
+
"name": "version",
|
224
|
+
"type": "uint64"
|
225
|
+
}
|
226
|
+
],
|
227
|
+
"name": "Initialized",
|
228
|
+
"type": "event"
|
229
|
+
},
|
230
|
+
{
|
231
|
+
"anonymous": false,
|
232
|
+
"inputs": [
|
233
|
+
{
|
234
|
+
"indexed": false,
|
235
|
+
"internalType": "NftId",
|
236
|
+
"name": "targetNftId",
|
237
|
+
"type": "uint96"
|
238
|
+
},
|
239
|
+
{
|
240
|
+
"indexed": false,
|
241
|
+
"internalType": "Amount",
|
242
|
+
"name": "addedAmount",
|
243
|
+
"type": "uint96"
|
244
|
+
},
|
245
|
+
{
|
246
|
+
"indexed": false,
|
247
|
+
"internalType": "Amount",
|
248
|
+
"name": "newBalance",
|
249
|
+
"type": "uint96"
|
250
|
+
},
|
251
|
+
{
|
252
|
+
"indexed": false,
|
253
|
+
"internalType": "Blocknumber",
|
254
|
+
"name": "lastUpdatedIn",
|
255
|
+
"type": "uint40"
|
256
|
+
}
|
257
|
+
],
|
258
|
+
"name": "LogBalanceStoreBalanceDecreased",
|
259
|
+
"type": "event"
|
260
|
+
},
|
261
|
+
{
|
262
|
+
"anonymous": false,
|
263
|
+
"inputs": [
|
264
|
+
{
|
265
|
+
"indexed": false,
|
266
|
+
"internalType": "NftId",
|
267
|
+
"name": "targetNftId",
|
268
|
+
"type": "uint96"
|
269
|
+
},
|
270
|
+
{
|
271
|
+
"indexed": false,
|
272
|
+
"internalType": "Amount",
|
273
|
+
"name": "addedAmount",
|
274
|
+
"type": "uint96"
|
275
|
+
},
|
276
|
+
{
|
277
|
+
"indexed": false,
|
278
|
+
"internalType": "Amount",
|
279
|
+
"name": "newBalance",
|
280
|
+
"type": "uint96"
|
281
|
+
},
|
282
|
+
{
|
283
|
+
"indexed": false,
|
284
|
+
"internalType": "Blocknumber",
|
285
|
+
"name": "lastUpdatedIn",
|
286
|
+
"type": "uint40"
|
287
|
+
}
|
288
|
+
],
|
289
|
+
"name": "LogBalanceStoreBalanceIncreased",
|
290
|
+
"type": "event"
|
291
|
+
},
|
292
|
+
{
|
293
|
+
"anonymous": false,
|
294
|
+
"inputs": [
|
295
|
+
{
|
296
|
+
"indexed": false,
|
297
|
+
"internalType": "NftId",
|
298
|
+
"name": "targetNftId",
|
299
|
+
"type": "uint96"
|
300
|
+
},
|
301
|
+
{
|
302
|
+
"indexed": false,
|
303
|
+
"internalType": "Amount",
|
304
|
+
"name": "addedAmount",
|
305
|
+
"type": "uint96"
|
306
|
+
},
|
307
|
+
{
|
308
|
+
"indexed": false,
|
309
|
+
"internalType": "Amount",
|
310
|
+
"name": "newBalance",
|
311
|
+
"type": "uint96"
|
312
|
+
},
|
313
|
+
{
|
314
|
+
"indexed": false,
|
315
|
+
"internalType": "Blocknumber",
|
316
|
+
"name": "lastUpdatedIn",
|
317
|
+
"type": "uint40"
|
318
|
+
}
|
319
|
+
],
|
320
|
+
"name": "LogBalanceStoreFeesDecreased",
|
321
|
+
"type": "event"
|
322
|
+
},
|
323
|
+
{
|
324
|
+
"anonymous": false,
|
325
|
+
"inputs": [
|
326
|
+
{
|
327
|
+
"indexed": false,
|
328
|
+
"internalType": "NftId",
|
329
|
+
"name": "targetNftId",
|
330
|
+
"type": "uint96"
|
331
|
+
},
|
332
|
+
{
|
333
|
+
"indexed": false,
|
334
|
+
"internalType": "Amount",
|
335
|
+
"name": "addedAmount",
|
336
|
+
"type": "uint96"
|
337
|
+
},
|
338
|
+
{
|
339
|
+
"indexed": false,
|
340
|
+
"internalType": "Amount",
|
341
|
+
"name": "newBalance",
|
342
|
+
"type": "uint96"
|
343
|
+
},
|
344
|
+
{
|
345
|
+
"indexed": false,
|
346
|
+
"internalType": "Blocknumber",
|
347
|
+
"name": "lastUpdatedIn",
|
348
|
+
"type": "uint40"
|
349
|
+
}
|
350
|
+
],
|
351
|
+
"name": "LogBalanceStoreFeesIncreased",
|
352
|
+
"type": "event"
|
353
|
+
},
|
354
|
+
{
|
355
|
+
"anonymous": false,
|
356
|
+
"inputs": [
|
357
|
+
{
|
358
|
+
"indexed": false,
|
359
|
+
"internalType": "NftId",
|
360
|
+
"name": "targetNftId",
|
361
|
+
"type": "uint96"
|
362
|
+
},
|
363
|
+
{
|
364
|
+
"indexed": false,
|
365
|
+
"internalType": "Amount",
|
366
|
+
"name": "addedAmount",
|
367
|
+
"type": "uint96"
|
368
|
+
},
|
369
|
+
{
|
370
|
+
"indexed": false,
|
371
|
+
"internalType": "Amount",
|
372
|
+
"name": "newBalance",
|
373
|
+
"type": "uint96"
|
374
|
+
},
|
375
|
+
{
|
376
|
+
"indexed": false,
|
377
|
+
"internalType": "Blocknumber",
|
378
|
+
"name": "lastUpdatedIn",
|
379
|
+
"type": "uint40"
|
380
|
+
}
|
381
|
+
],
|
382
|
+
"name": "LogBalanceStoreLockedDecreased",
|
383
|
+
"type": "event"
|
384
|
+
},
|
385
|
+
{
|
386
|
+
"anonymous": false,
|
387
|
+
"inputs": [
|
388
|
+
{
|
389
|
+
"indexed": false,
|
390
|
+
"internalType": "NftId",
|
391
|
+
"name": "targetNftId",
|
392
|
+
"type": "uint96"
|
393
|
+
},
|
394
|
+
{
|
395
|
+
"indexed": false,
|
396
|
+
"internalType": "Amount",
|
397
|
+
"name": "addedAmount",
|
398
|
+
"type": "uint96"
|
399
|
+
},
|
400
|
+
{
|
401
|
+
"indexed": false,
|
402
|
+
"internalType": "Amount",
|
403
|
+
"name": "newBalance",
|
404
|
+
"type": "uint96"
|
405
|
+
},
|
406
|
+
{
|
407
|
+
"indexed": false,
|
408
|
+
"internalType": "Blocknumber",
|
409
|
+
"name": "lastUpdatedIn",
|
410
|
+
"type": "uint40"
|
411
|
+
}
|
412
|
+
],
|
413
|
+
"name": "LogBalanceStoreLockedIncreased",
|
414
|
+
"type": "event"
|
415
|
+
},
|
416
|
+
{
|
417
|
+
"anonymous": false,
|
418
|
+
"inputs": [
|
419
|
+
{
|
420
|
+
"indexed": false,
|
421
|
+
"internalType": "NftId",
|
422
|
+
"name": "targetNftId",
|
423
|
+
"type": "uint96"
|
424
|
+
}
|
425
|
+
],
|
426
|
+
"name": "LogBalanceStoreTargetRegistered",
|
427
|
+
"type": "event"
|
428
|
+
},
|
429
|
+
{
|
430
|
+
"anonymous": false,
|
431
|
+
"inputs": [
|
432
|
+
{
|
433
|
+
"indexed": false,
|
434
|
+
"internalType": "NftId",
|
435
|
+
"name": "policyNftId",
|
436
|
+
"type": "uint96"
|
437
|
+
},
|
438
|
+
{
|
439
|
+
"indexed": false,
|
440
|
+
"internalType": "StateId",
|
441
|
+
"name": "state",
|
442
|
+
"type": "uint8"
|
443
|
+
},
|
444
|
+
{
|
445
|
+
"indexed": false,
|
446
|
+
"internalType": "address",
|
447
|
+
"name": "createdBy",
|
448
|
+
"type": "address"
|
449
|
+
},
|
450
|
+
{
|
451
|
+
"indexed": false,
|
452
|
+
"internalType": "address",
|
453
|
+
"name": "txOrigin",
|
454
|
+
"type": "address"
|
455
|
+
}
|
456
|
+
],
|
457
|
+
"name": "LogProductStorePolicyInfoCreated",
|
458
|
+
"type": "event"
|
459
|
+
},
|
460
|
+
{
|
461
|
+
"anonymous": false,
|
462
|
+
"inputs": [
|
463
|
+
{
|
464
|
+
"indexed": false,
|
465
|
+
"internalType": "NftId",
|
466
|
+
"name": "policyNftId",
|
467
|
+
"type": "uint96"
|
468
|
+
},
|
469
|
+
{
|
470
|
+
"indexed": false,
|
471
|
+
"internalType": "StateId",
|
472
|
+
"name": "oldState",
|
473
|
+
"type": "uint8"
|
474
|
+
},
|
475
|
+
{
|
476
|
+
"indexed": false,
|
477
|
+
"internalType": "StateId",
|
478
|
+
"name": "newState",
|
479
|
+
"type": "uint8"
|
480
|
+
},
|
481
|
+
{
|
482
|
+
"indexed": false,
|
483
|
+
"internalType": "address",
|
484
|
+
"name": "updatedBy",
|
485
|
+
"type": "address"
|
486
|
+
},
|
487
|
+
{
|
488
|
+
"indexed": false,
|
489
|
+
"internalType": "address",
|
490
|
+
"name": "txOrigin",
|
491
|
+
"type": "address"
|
492
|
+
},
|
493
|
+
{
|
494
|
+
"indexed": false,
|
495
|
+
"internalType": "Blocknumber",
|
496
|
+
"name": "lastUpdatedIn",
|
497
|
+
"type": "uint40"
|
498
|
+
}
|
499
|
+
],
|
500
|
+
"name": "LogProductStorePolicyInfoUpdated",
|
501
|
+
"type": "event"
|
502
|
+
},
|
503
|
+
{
|
504
|
+
"anonymous": false,
|
505
|
+
"inputs": [
|
506
|
+
{
|
507
|
+
"indexed": false,
|
508
|
+
"internalType": "NftId",
|
509
|
+
"name": "policyNftId",
|
510
|
+
"type": "uint96"
|
511
|
+
},
|
512
|
+
{
|
513
|
+
"indexed": false,
|
514
|
+
"internalType": "StateId",
|
515
|
+
"name": "state",
|
516
|
+
"type": "uint8"
|
517
|
+
},
|
518
|
+
{
|
519
|
+
"indexed": false,
|
520
|
+
"internalType": "address",
|
521
|
+
"name": "createdBy",
|
522
|
+
"type": "address"
|
523
|
+
},
|
524
|
+
{
|
525
|
+
"indexed": false,
|
526
|
+
"internalType": "address",
|
527
|
+
"name": "txOrigin",
|
528
|
+
"type": "address"
|
529
|
+
}
|
530
|
+
],
|
531
|
+
"name": "LogProductStorePremiumInfoCreated",
|
532
|
+
"type": "event"
|
533
|
+
},
|
534
|
+
{
|
535
|
+
"anonymous": false,
|
536
|
+
"inputs": [
|
537
|
+
{
|
538
|
+
"indexed": false,
|
539
|
+
"internalType": "NftId",
|
540
|
+
"name": "policyNftId",
|
541
|
+
"type": "uint96"
|
542
|
+
},
|
543
|
+
{
|
544
|
+
"indexed": false,
|
545
|
+
"internalType": "StateId",
|
546
|
+
"name": "oldState",
|
547
|
+
"type": "uint8"
|
548
|
+
},
|
549
|
+
{
|
550
|
+
"indexed": false,
|
551
|
+
"internalType": "StateId",
|
552
|
+
"name": "newState",
|
553
|
+
"type": "uint8"
|
554
|
+
},
|
555
|
+
{
|
556
|
+
"indexed": false,
|
557
|
+
"internalType": "address",
|
558
|
+
"name": "updatedBy",
|
559
|
+
"type": "address"
|
560
|
+
},
|
561
|
+
{
|
562
|
+
"indexed": false,
|
563
|
+
"internalType": "address",
|
564
|
+
"name": "txOrigin",
|
565
|
+
"type": "address"
|
566
|
+
},
|
567
|
+
{
|
568
|
+
"indexed": false,
|
569
|
+
"internalType": "Blocknumber",
|
570
|
+
"name": "lastUpdatedIn",
|
571
|
+
"type": "uint40"
|
572
|
+
}
|
573
|
+
],
|
574
|
+
"name": "LogProductStorePremiumInfoUpdated",
|
575
|
+
"type": "event"
|
576
|
+
},
|
577
|
+
{
|
578
|
+
"inputs": [],
|
579
|
+
"name": "authority",
|
580
|
+
"outputs": [
|
581
|
+
{
|
582
|
+
"internalType": "address",
|
583
|
+
"name": "",
|
584
|
+
"type": "address"
|
585
|
+
}
|
586
|
+
],
|
587
|
+
"stateMutability": "view",
|
588
|
+
"type": "function"
|
589
|
+
},
|
590
|
+
{
|
591
|
+
"inputs": [
|
592
|
+
{
|
593
|
+
"internalType": "StateId",
|
594
|
+
"name": "stateId",
|
595
|
+
"type": "uint8"
|
596
|
+
},
|
597
|
+
{
|
598
|
+
"internalType": "ObjectType",
|
599
|
+
"name": "objectType",
|
600
|
+
"type": "uint8"
|
601
|
+
},
|
602
|
+
{
|
603
|
+
"internalType": "StateId",
|
604
|
+
"name": "expectedFromId",
|
605
|
+
"type": "uint8"
|
606
|
+
},
|
607
|
+
{
|
608
|
+
"internalType": "StateId",
|
609
|
+
"name": "toId",
|
610
|
+
"type": "uint8"
|
611
|
+
}
|
612
|
+
],
|
613
|
+
"name": "checkTransition",
|
614
|
+
"outputs": [],
|
615
|
+
"stateMutability": "view",
|
616
|
+
"type": "function"
|
617
|
+
},
|
618
|
+
{
|
619
|
+
"inputs": [
|
620
|
+
{
|
621
|
+
"internalType": "NftId",
|
622
|
+
"name": "applicationNftId",
|
623
|
+
"type": "uint96"
|
624
|
+
},
|
625
|
+
{
|
626
|
+
"components": [
|
627
|
+
{
|
628
|
+
"internalType": "NftId",
|
629
|
+
"name": "productNftId",
|
630
|
+
"type": "uint96"
|
631
|
+
},
|
632
|
+
{
|
633
|
+
"internalType": "NftId",
|
634
|
+
"name": "bundleNftId",
|
635
|
+
"type": "uint96"
|
636
|
+
},
|
637
|
+
{
|
638
|
+
"internalType": "RiskId",
|
639
|
+
"name": "riskId",
|
640
|
+
"type": "bytes8"
|
641
|
+
},
|
642
|
+
{
|
643
|
+
"internalType": "Amount",
|
644
|
+
"name": "sumInsuredAmount",
|
645
|
+
"type": "uint96"
|
646
|
+
},
|
647
|
+
{
|
648
|
+
"internalType": "Amount",
|
649
|
+
"name": "premiumAmount",
|
650
|
+
"type": "uint96"
|
651
|
+
},
|
652
|
+
{
|
653
|
+
"internalType": "ReferralId",
|
654
|
+
"name": "referralId",
|
655
|
+
"type": "bytes8"
|
656
|
+
},
|
657
|
+
{
|
658
|
+
"internalType": "uint16",
|
659
|
+
"name": "claimsCount",
|
660
|
+
"type": "uint16"
|
661
|
+
},
|
662
|
+
{
|
663
|
+
"internalType": "uint16",
|
664
|
+
"name": "openClaimsCount",
|
665
|
+
"type": "uint16"
|
666
|
+
},
|
667
|
+
{
|
668
|
+
"internalType": "Amount",
|
669
|
+
"name": "claimAmount",
|
670
|
+
"type": "uint96"
|
671
|
+
},
|
672
|
+
{
|
673
|
+
"internalType": "Amount",
|
674
|
+
"name": "payoutAmount",
|
675
|
+
"type": "uint96"
|
676
|
+
},
|
677
|
+
{
|
678
|
+
"internalType": "Timestamp",
|
679
|
+
"name": "activatedAt",
|
680
|
+
"type": "uint40"
|
681
|
+
},
|
682
|
+
{
|
683
|
+
"internalType": "Seconds",
|
684
|
+
"name": "lifetime",
|
685
|
+
"type": "uint40"
|
686
|
+
},
|
687
|
+
{
|
688
|
+
"internalType": "Timestamp",
|
689
|
+
"name": "expiredAt",
|
690
|
+
"type": "uint40"
|
691
|
+
},
|
692
|
+
{
|
693
|
+
"internalType": "Timestamp",
|
694
|
+
"name": "closedAt",
|
695
|
+
"type": "uint40"
|
696
|
+
},
|
697
|
+
{
|
698
|
+
"internalType": "bytes",
|
699
|
+
"name": "applicationData",
|
700
|
+
"type": "bytes"
|
701
|
+
},
|
702
|
+
{
|
703
|
+
"internalType": "bytes",
|
704
|
+
"name": "processData",
|
705
|
+
"type": "bytes"
|
706
|
+
}
|
707
|
+
],
|
708
|
+
"internalType": "struct IPolicy.PolicyInfo",
|
709
|
+
"name": "policy",
|
710
|
+
"type": "tuple"
|
711
|
+
}
|
712
|
+
],
|
713
|
+
"name": "createApplication",
|
714
|
+
"outputs": [],
|
715
|
+
"stateMutability": "nonpayable",
|
716
|
+
"type": "function"
|
717
|
+
},
|
718
|
+
{
|
719
|
+
"inputs": [
|
720
|
+
{
|
721
|
+
"internalType": "NftId",
|
722
|
+
"name": "policyNftId",
|
723
|
+
"type": "uint96"
|
724
|
+
},
|
725
|
+
{
|
726
|
+
"components": [
|
727
|
+
{
|
728
|
+
"internalType": "Amount",
|
729
|
+
"name": "productFeeAmount",
|
730
|
+
"type": "uint96"
|
731
|
+
},
|
732
|
+
{
|
733
|
+
"internalType": "Amount",
|
734
|
+
"name": "distributionFeeAndCommissionAmount",
|
735
|
+
"type": "uint96"
|
736
|
+
},
|
737
|
+
{
|
738
|
+
"internalType": "Amount",
|
739
|
+
"name": "poolPremiumAndFeeAmount",
|
740
|
+
"type": "uint96"
|
741
|
+
},
|
742
|
+
{
|
743
|
+
"internalType": "Amount",
|
744
|
+
"name": "netPremiumAmount",
|
745
|
+
"type": "uint96"
|
746
|
+
},
|
747
|
+
{
|
748
|
+
"internalType": "Amount",
|
749
|
+
"name": "fullPremiumAmount",
|
750
|
+
"type": "uint96"
|
751
|
+
},
|
752
|
+
{
|
753
|
+
"internalType": "Amount",
|
754
|
+
"name": "premiumAmount",
|
755
|
+
"type": "uint96"
|
756
|
+
},
|
757
|
+
{
|
758
|
+
"internalType": "Amount",
|
759
|
+
"name": "productFeeFixAmount",
|
760
|
+
"type": "uint96"
|
761
|
+
},
|
762
|
+
{
|
763
|
+
"internalType": "Amount",
|
764
|
+
"name": "poolFeeFixAmount",
|
765
|
+
"type": "uint96"
|
766
|
+
},
|
767
|
+
{
|
768
|
+
"internalType": "Amount",
|
769
|
+
"name": "bundleFeeFixAmount",
|
770
|
+
"type": "uint96"
|
771
|
+
},
|
772
|
+
{
|
773
|
+
"internalType": "Amount",
|
774
|
+
"name": "distributionFeeFixAmount",
|
775
|
+
"type": "uint96"
|
776
|
+
},
|
777
|
+
{
|
778
|
+
"internalType": "Amount",
|
779
|
+
"name": "productFeeVarAmount",
|
780
|
+
"type": "uint96"
|
781
|
+
},
|
782
|
+
{
|
783
|
+
"internalType": "Amount",
|
784
|
+
"name": "poolFeeVarAmount",
|
785
|
+
"type": "uint96"
|
786
|
+
},
|
787
|
+
{
|
788
|
+
"internalType": "Amount",
|
789
|
+
"name": "bundleFeeVarAmount",
|
790
|
+
"type": "uint96"
|
791
|
+
},
|
792
|
+
{
|
793
|
+
"internalType": "Amount",
|
794
|
+
"name": "distributionFeeVarAmount",
|
795
|
+
"type": "uint96"
|
796
|
+
},
|
797
|
+
{
|
798
|
+
"internalType": "Amount",
|
799
|
+
"name": "distributionOwnerFeeFixAmount",
|
800
|
+
"type": "uint96"
|
801
|
+
},
|
802
|
+
{
|
803
|
+
"internalType": "Amount",
|
804
|
+
"name": "distributionOwnerFeeVarAmount",
|
805
|
+
"type": "uint96"
|
806
|
+
},
|
807
|
+
{
|
808
|
+
"internalType": "Amount",
|
809
|
+
"name": "commissionAmount",
|
810
|
+
"type": "uint96"
|
811
|
+
},
|
812
|
+
{
|
813
|
+
"internalType": "Amount",
|
814
|
+
"name": "discountAmount",
|
815
|
+
"type": "uint96"
|
816
|
+
}
|
817
|
+
],
|
818
|
+
"internalType": "struct IPolicy.PremiumInfo",
|
819
|
+
"name": "premium",
|
820
|
+
"type": "tuple"
|
821
|
+
}
|
822
|
+
],
|
823
|
+
"name": "createPremium",
|
824
|
+
"outputs": [],
|
825
|
+
"stateMutability": "nonpayable",
|
826
|
+
"type": "function"
|
827
|
+
},
|
828
|
+
{
|
829
|
+
"inputs": [
|
830
|
+
{
|
831
|
+
"internalType": "Key32",
|
832
|
+
"name": "key32",
|
833
|
+
"type": "bytes32"
|
834
|
+
}
|
835
|
+
],
|
836
|
+
"name": "exists",
|
837
|
+
"outputs": [
|
838
|
+
{
|
839
|
+
"internalType": "bool",
|
840
|
+
"name": "",
|
841
|
+
"type": "bool"
|
842
|
+
}
|
843
|
+
],
|
844
|
+
"stateMutability": "view",
|
845
|
+
"type": "function"
|
846
|
+
},
|
847
|
+
{
|
848
|
+
"inputs": [
|
849
|
+
{
|
850
|
+
"internalType": "NftId",
|
851
|
+
"name": "targetNftId",
|
852
|
+
"type": "uint96"
|
853
|
+
}
|
854
|
+
],
|
855
|
+
"name": "getAmounts",
|
856
|
+
"outputs": [
|
857
|
+
{
|
858
|
+
"internalType": "Amount",
|
859
|
+
"name": "balanceAmount",
|
860
|
+
"type": "uint96"
|
861
|
+
},
|
862
|
+
{
|
863
|
+
"internalType": "Amount",
|
864
|
+
"name": "lockedAmount",
|
865
|
+
"type": "uint96"
|
866
|
+
},
|
867
|
+
{
|
868
|
+
"internalType": "Amount",
|
869
|
+
"name": "feeAmount",
|
870
|
+
"type": "uint96"
|
871
|
+
}
|
872
|
+
],
|
873
|
+
"stateMutability": "view",
|
874
|
+
"type": "function"
|
875
|
+
},
|
876
|
+
{
|
877
|
+
"inputs": [
|
878
|
+
{
|
879
|
+
"internalType": "NftId",
|
880
|
+
"name": "targetNftId",
|
881
|
+
"type": "uint96"
|
882
|
+
}
|
883
|
+
],
|
884
|
+
"name": "getBalanceAmount",
|
885
|
+
"outputs": [
|
886
|
+
{
|
887
|
+
"internalType": "Amount",
|
888
|
+
"name": "balanceAmount",
|
889
|
+
"type": "uint96"
|
890
|
+
}
|
891
|
+
],
|
892
|
+
"stateMutability": "view",
|
893
|
+
"type": "function"
|
894
|
+
},
|
895
|
+
{
|
896
|
+
"inputs": [
|
897
|
+
{
|
898
|
+
"internalType": "NftId",
|
899
|
+
"name": "targetNftId",
|
900
|
+
"type": "uint96"
|
901
|
+
}
|
902
|
+
],
|
903
|
+
"name": "getFeeAmount",
|
904
|
+
"outputs": [
|
905
|
+
{
|
906
|
+
"internalType": "Amount",
|
907
|
+
"name": "feeAmount",
|
908
|
+
"type": "uint96"
|
909
|
+
}
|
910
|
+
],
|
911
|
+
"stateMutability": "view",
|
912
|
+
"type": "function"
|
913
|
+
},
|
914
|
+
{
|
915
|
+
"inputs": [
|
916
|
+
{
|
917
|
+
"internalType": "ObjectType",
|
918
|
+
"name": "objectType",
|
919
|
+
"type": "uint8"
|
920
|
+
}
|
921
|
+
],
|
922
|
+
"name": "getInitialState",
|
923
|
+
"outputs": [
|
924
|
+
{
|
925
|
+
"internalType": "StateId",
|
926
|
+
"name": "",
|
927
|
+
"type": "uint8"
|
928
|
+
}
|
929
|
+
],
|
930
|
+
"stateMutability": "view",
|
931
|
+
"type": "function"
|
932
|
+
},
|
933
|
+
{
|
934
|
+
"inputs": [
|
935
|
+
{
|
936
|
+
"internalType": "NftId",
|
937
|
+
"name": "targetNftId",
|
938
|
+
"type": "uint96"
|
939
|
+
}
|
940
|
+
],
|
941
|
+
"name": "getLockedAmount",
|
942
|
+
"outputs": [
|
943
|
+
{
|
944
|
+
"internalType": "Amount",
|
945
|
+
"name": "lockedAmount",
|
946
|
+
"type": "uint96"
|
947
|
+
}
|
948
|
+
],
|
949
|
+
"stateMutability": "view",
|
950
|
+
"type": "function"
|
951
|
+
},
|
952
|
+
{
|
953
|
+
"inputs": [
|
954
|
+
{
|
955
|
+
"internalType": "Key32",
|
956
|
+
"name": "key32",
|
957
|
+
"type": "bytes32"
|
958
|
+
}
|
959
|
+
],
|
960
|
+
"name": "getMetadata",
|
961
|
+
"outputs": [
|
962
|
+
{
|
963
|
+
"components": [
|
964
|
+
{
|
965
|
+
"internalType": "ObjectType",
|
966
|
+
"name": "objectType",
|
967
|
+
"type": "uint8"
|
968
|
+
},
|
969
|
+
{
|
970
|
+
"internalType": "StateId",
|
971
|
+
"name": "state",
|
972
|
+
"type": "uint8"
|
973
|
+
},
|
974
|
+
{
|
975
|
+
"internalType": "Blocknumber",
|
976
|
+
"name": "updatedIn",
|
977
|
+
"type": "uint40"
|
978
|
+
}
|
979
|
+
],
|
980
|
+
"internalType": "struct IBaseStore.Metadata",
|
981
|
+
"name": "metadata",
|
982
|
+
"type": "tuple"
|
983
|
+
}
|
984
|
+
],
|
985
|
+
"stateMutability": "view",
|
986
|
+
"type": "function"
|
987
|
+
},
|
988
|
+
{
|
989
|
+
"inputs": [
|
990
|
+
{
|
991
|
+
"internalType": "NftId",
|
992
|
+
"name": "policyNftId",
|
993
|
+
"type": "uint96"
|
994
|
+
}
|
995
|
+
],
|
996
|
+
"name": "getPolicy",
|
997
|
+
"outputs": [
|
998
|
+
{
|
999
|
+
"components": [
|
1000
|
+
{
|
1001
|
+
"internalType": "NftId",
|
1002
|
+
"name": "productNftId",
|
1003
|
+
"type": "uint96"
|
1004
|
+
},
|
1005
|
+
{
|
1006
|
+
"internalType": "NftId",
|
1007
|
+
"name": "bundleNftId",
|
1008
|
+
"type": "uint96"
|
1009
|
+
},
|
1010
|
+
{
|
1011
|
+
"internalType": "RiskId",
|
1012
|
+
"name": "riskId",
|
1013
|
+
"type": "bytes8"
|
1014
|
+
},
|
1015
|
+
{
|
1016
|
+
"internalType": "Amount",
|
1017
|
+
"name": "sumInsuredAmount",
|
1018
|
+
"type": "uint96"
|
1019
|
+
},
|
1020
|
+
{
|
1021
|
+
"internalType": "Amount",
|
1022
|
+
"name": "premiumAmount",
|
1023
|
+
"type": "uint96"
|
1024
|
+
},
|
1025
|
+
{
|
1026
|
+
"internalType": "ReferralId",
|
1027
|
+
"name": "referralId",
|
1028
|
+
"type": "bytes8"
|
1029
|
+
},
|
1030
|
+
{
|
1031
|
+
"internalType": "uint16",
|
1032
|
+
"name": "claimsCount",
|
1033
|
+
"type": "uint16"
|
1034
|
+
},
|
1035
|
+
{
|
1036
|
+
"internalType": "uint16",
|
1037
|
+
"name": "openClaimsCount",
|
1038
|
+
"type": "uint16"
|
1039
|
+
},
|
1040
|
+
{
|
1041
|
+
"internalType": "Amount",
|
1042
|
+
"name": "claimAmount",
|
1043
|
+
"type": "uint96"
|
1044
|
+
},
|
1045
|
+
{
|
1046
|
+
"internalType": "Amount",
|
1047
|
+
"name": "payoutAmount",
|
1048
|
+
"type": "uint96"
|
1049
|
+
},
|
1050
|
+
{
|
1051
|
+
"internalType": "Timestamp",
|
1052
|
+
"name": "activatedAt",
|
1053
|
+
"type": "uint40"
|
1054
|
+
},
|
1055
|
+
{
|
1056
|
+
"internalType": "Seconds",
|
1057
|
+
"name": "lifetime",
|
1058
|
+
"type": "uint40"
|
1059
|
+
},
|
1060
|
+
{
|
1061
|
+
"internalType": "Timestamp",
|
1062
|
+
"name": "expiredAt",
|
1063
|
+
"type": "uint40"
|
1064
|
+
},
|
1065
|
+
{
|
1066
|
+
"internalType": "Timestamp",
|
1067
|
+
"name": "closedAt",
|
1068
|
+
"type": "uint40"
|
1069
|
+
},
|
1070
|
+
{
|
1071
|
+
"internalType": "bytes",
|
1072
|
+
"name": "applicationData",
|
1073
|
+
"type": "bytes"
|
1074
|
+
},
|
1075
|
+
{
|
1076
|
+
"internalType": "bytes",
|
1077
|
+
"name": "processData",
|
1078
|
+
"type": "bytes"
|
1079
|
+
}
|
1080
|
+
],
|
1081
|
+
"internalType": "struct IPolicy.PolicyInfo",
|
1082
|
+
"name": "policy",
|
1083
|
+
"type": "tuple"
|
1084
|
+
}
|
1085
|
+
],
|
1086
|
+
"stateMutability": "view",
|
1087
|
+
"type": "function"
|
1088
|
+
},
|
1089
|
+
{
|
1090
|
+
"inputs": [
|
1091
|
+
{
|
1092
|
+
"internalType": "NftId",
|
1093
|
+
"name": "policyNftId",
|
1094
|
+
"type": "uint96"
|
1095
|
+
}
|
1096
|
+
],
|
1097
|
+
"name": "getPremium",
|
1098
|
+
"outputs": [
|
1099
|
+
{
|
1100
|
+
"components": [
|
1101
|
+
{
|
1102
|
+
"internalType": "Amount",
|
1103
|
+
"name": "productFeeAmount",
|
1104
|
+
"type": "uint96"
|
1105
|
+
},
|
1106
|
+
{
|
1107
|
+
"internalType": "Amount",
|
1108
|
+
"name": "distributionFeeAndCommissionAmount",
|
1109
|
+
"type": "uint96"
|
1110
|
+
},
|
1111
|
+
{
|
1112
|
+
"internalType": "Amount",
|
1113
|
+
"name": "poolPremiumAndFeeAmount",
|
1114
|
+
"type": "uint96"
|
1115
|
+
},
|
1116
|
+
{
|
1117
|
+
"internalType": "Amount",
|
1118
|
+
"name": "netPremiumAmount",
|
1119
|
+
"type": "uint96"
|
1120
|
+
},
|
1121
|
+
{
|
1122
|
+
"internalType": "Amount",
|
1123
|
+
"name": "fullPremiumAmount",
|
1124
|
+
"type": "uint96"
|
1125
|
+
},
|
1126
|
+
{
|
1127
|
+
"internalType": "Amount",
|
1128
|
+
"name": "premiumAmount",
|
1129
|
+
"type": "uint96"
|
1130
|
+
},
|
1131
|
+
{
|
1132
|
+
"internalType": "Amount",
|
1133
|
+
"name": "productFeeFixAmount",
|
1134
|
+
"type": "uint96"
|
1135
|
+
},
|
1136
|
+
{
|
1137
|
+
"internalType": "Amount",
|
1138
|
+
"name": "poolFeeFixAmount",
|
1139
|
+
"type": "uint96"
|
1140
|
+
},
|
1141
|
+
{
|
1142
|
+
"internalType": "Amount",
|
1143
|
+
"name": "bundleFeeFixAmount",
|
1144
|
+
"type": "uint96"
|
1145
|
+
},
|
1146
|
+
{
|
1147
|
+
"internalType": "Amount",
|
1148
|
+
"name": "distributionFeeFixAmount",
|
1149
|
+
"type": "uint96"
|
1150
|
+
},
|
1151
|
+
{
|
1152
|
+
"internalType": "Amount",
|
1153
|
+
"name": "productFeeVarAmount",
|
1154
|
+
"type": "uint96"
|
1155
|
+
},
|
1156
|
+
{
|
1157
|
+
"internalType": "Amount",
|
1158
|
+
"name": "poolFeeVarAmount",
|
1159
|
+
"type": "uint96"
|
1160
|
+
},
|
1161
|
+
{
|
1162
|
+
"internalType": "Amount",
|
1163
|
+
"name": "bundleFeeVarAmount",
|
1164
|
+
"type": "uint96"
|
1165
|
+
},
|
1166
|
+
{
|
1167
|
+
"internalType": "Amount",
|
1168
|
+
"name": "distributionFeeVarAmount",
|
1169
|
+
"type": "uint96"
|
1170
|
+
},
|
1171
|
+
{
|
1172
|
+
"internalType": "Amount",
|
1173
|
+
"name": "distributionOwnerFeeFixAmount",
|
1174
|
+
"type": "uint96"
|
1175
|
+
},
|
1176
|
+
{
|
1177
|
+
"internalType": "Amount",
|
1178
|
+
"name": "distributionOwnerFeeVarAmount",
|
1179
|
+
"type": "uint96"
|
1180
|
+
},
|
1181
|
+
{
|
1182
|
+
"internalType": "Amount",
|
1183
|
+
"name": "commissionAmount",
|
1184
|
+
"type": "uint96"
|
1185
|
+
},
|
1186
|
+
{
|
1187
|
+
"internalType": "Amount",
|
1188
|
+
"name": "discountAmount",
|
1189
|
+
"type": "uint96"
|
1190
|
+
}
|
1191
|
+
],
|
1192
|
+
"internalType": "struct IPolicy.PremiumInfo",
|
1193
|
+
"name": "premium",
|
1194
|
+
"type": "tuple"
|
1195
|
+
}
|
1196
|
+
],
|
1197
|
+
"stateMutability": "view",
|
1198
|
+
"type": "function"
|
1199
|
+
},
|
1200
|
+
{
|
1201
|
+
"inputs": [
|
1202
|
+
{
|
1203
|
+
"internalType": "Key32",
|
1204
|
+
"name": "key32",
|
1205
|
+
"type": "bytes32"
|
1206
|
+
}
|
1207
|
+
],
|
1208
|
+
"name": "getState",
|
1209
|
+
"outputs": [
|
1210
|
+
{
|
1211
|
+
"internalType": "StateId",
|
1212
|
+
"name": "state",
|
1213
|
+
"type": "uint8"
|
1214
|
+
}
|
1215
|
+
],
|
1216
|
+
"stateMutability": "view",
|
1217
|
+
"type": "function"
|
1218
|
+
},
|
1219
|
+
{
|
1220
|
+
"inputs": [
|
1221
|
+
{
|
1222
|
+
"internalType": "ObjectType",
|
1223
|
+
"name": "objectType",
|
1224
|
+
"type": "uint8"
|
1225
|
+
}
|
1226
|
+
],
|
1227
|
+
"name": "hasLifecycle",
|
1228
|
+
"outputs": [
|
1229
|
+
{
|
1230
|
+
"internalType": "bool",
|
1231
|
+
"name": "",
|
1232
|
+
"type": "bool"
|
1233
|
+
}
|
1234
|
+
],
|
1235
|
+
"stateMutability": "view",
|
1236
|
+
"type": "function"
|
1237
|
+
},
|
1238
|
+
{
|
1239
|
+
"inputs": [],
|
1240
|
+
"name": "initialize",
|
1241
|
+
"outputs": [],
|
1242
|
+
"stateMutability": "nonpayable",
|
1243
|
+
"type": "function"
|
1244
|
+
},
|
1245
|
+
{
|
1246
|
+
"inputs": [],
|
1247
|
+
"name": "isConsumingScheduledOp",
|
1248
|
+
"outputs": [
|
1249
|
+
{
|
1250
|
+
"internalType": "bytes4",
|
1251
|
+
"name": "",
|
1252
|
+
"type": "bytes4"
|
1253
|
+
}
|
1254
|
+
],
|
1255
|
+
"stateMutability": "view",
|
1256
|
+
"type": "function"
|
1257
|
+
},
|
1258
|
+
{
|
1259
|
+
"inputs": [
|
1260
|
+
{
|
1261
|
+
"internalType": "ObjectType",
|
1262
|
+
"name": "objectType",
|
1263
|
+
"type": "uint8"
|
1264
|
+
},
|
1265
|
+
{
|
1266
|
+
"internalType": "StateId",
|
1267
|
+
"name": "fromId",
|
1268
|
+
"type": "uint8"
|
1269
|
+
},
|
1270
|
+
{
|
1271
|
+
"internalType": "StateId",
|
1272
|
+
"name": "toId",
|
1273
|
+
"type": "uint8"
|
1274
|
+
}
|
1275
|
+
],
|
1276
|
+
"name": "isValidTransition",
|
1277
|
+
"outputs": [
|
1278
|
+
{
|
1279
|
+
"internalType": "bool",
|
1280
|
+
"name": "",
|
1281
|
+
"type": "bool"
|
1282
|
+
}
|
1283
|
+
],
|
1284
|
+
"stateMutability": "view",
|
1285
|
+
"type": "function"
|
1286
|
+
},
|
1287
|
+
{
|
1288
|
+
"inputs": [
|
1289
|
+
{
|
1290
|
+
"internalType": "address",
|
1291
|
+
"name": "newAuthority",
|
1292
|
+
"type": "address"
|
1293
|
+
}
|
1294
|
+
],
|
1295
|
+
"name": "setAuthority",
|
1296
|
+
"outputs": [],
|
1297
|
+
"stateMutability": "nonpayable",
|
1298
|
+
"type": "function"
|
1299
|
+
},
|
1300
|
+
{
|
1301
|
+
"inputs": [
|
1302
|
+
{
|
1303
|
+
"internalType": "ObjectType",
|
1304
|
+
"name": "objectType",
|
1305
|
+
"type": "uint8"
|
1306
|
+
},
|
1307
|
+
{
|
1308
|
+
"internalType": "KeyId",
|
1309
|
+
"name": "id",
|
1310
|
+
"type": "bytes31"
|
1311
|
+
}
|
1312
|
+
],
|
1313
|
+
"name": "toKey32",
|
1314
|
+
"outputs": [
|
1315
|
+
{
|
1316
|
+
"internalType": "Key32",
|
1317
|
+
"name": "",
|
1318
|
+
"type": "bytes32"
|
1319
|
+
}
|
1320
|
+
],
|
1321
|
+
"stateMutability": "pure",
|
1322
|
+
"type": "function"
|
1323
|
+
},
|
1324
|
+
{
|
1325
|
+
"inputs": [
|
1326
|
+
{
|
1327
|
+
"internalType": "NftId",
|
1328
|
+
"name": "applicationNftId",
|
1329
|
+
"type": "uint96"
|
1330
|
+
},
|
1331
|
+
{
|
1332
|
+
"components": [
|
1333
|
+
{
|
1334
|
+
"internalType": "NftId",
|
1335
|
+
"name": "productNftId",
|
1336
|
+
"type": "uint96"
|
1337
|
+
},
|
1338
|
+
{
|
1339
|
+
"internalType": "NftId",
|
1340
|
+
"name": "bundleNftId",
|
1341
|
+
"type": "uint96"
|
1342
|
+
},
|
1343
|
+
{
|
1344
|
+
"internalType": "RiskId",
|
1345
|
+
"name": "riskId",
|
1346
|
+
"type": "bytes8"
|
1347
|
+
},
|
1348
|
+
{
|
1349
|
+
"internalType": "Amount",
|
1350
|
+
"name": "sumInsuredAmount",
|
1351
|
+
"type": "uint96"
|
1352
|
+
},
|
1353
|
+
{
|
1354
|
+
"internalType": "Amount",
|
1355
|
+
"name": "premiumAmount",
|
1356
|
+
"type": "uint96"
|
1357
|
+
},
|
1358
|
+
{
|
1359
|
+
"internalType": "ReferralId",
|
1360
|
+
"name": "referralId",
|
1361
|
+
"type": "bytes8"
|
1362
|
+
},
|
1363
|
+
{
|
1364
|
+
"internalType": "uint16",
|
1365
|
+
"name": "claimsCount",
|
1366
|
+
"type": "uint16"
|
1367
|
+
},
|
1368
|
+
{
|
1369
|
+
"internalType": "uint16",
|
1370
|
+
"name": "openClaimsCount",
|
1371
|
+
"type": "uint16"
|
1372
|
+
},
|
1373
|
+
{
|
1374
|
+
"internalType": "Amount",
|
1375
|
+
"name": "claimAmount",
|
1376
|
+
"type": "uint96"
|
1377
|
+
},
|
1378
|
+
{
|
1379
|
+
"internalType": "Amount",
|
1380
|
+
"name": "payoutAmount",
|
1381
|
+
"type": "uint96"
|
1382
|
+
},
|
1383
|
+
{
|
1384
|
+
"internalType": "Timestamp",
|
1385
|
+
"name": "activatedAt",
|
1386
|
+
"type": "uint40"
|
1387
|
+
},
|
1388
|
+
{
|
1389
|
+
"internalType": "Seconds",
|
1390
|
+
"name": "lifetime",
|
1391
|
+
"type": "uint40"
|
1392
|
+
},
|
1393
|
+
{
|
1394
|
+
"internalType": "Timestamp",
|
1395
|
+
"name": "expiredAt",
|
1396
|
+
"type": "uint40"
|
1397
|
+
},
|
1398
|
+
{
|
1399
|
+
"internalType": "Timestamp",
|
1400
|
+
"name": "closedAt",
|
1401
|
+
"type": "uint40"
|
1402
|
+
},
|
1403
|
+
{
|
1404
|
+
"internalType": "bytes",
|
1405
|
+
"name": "applicationData",
|
1406
|
+
"type": "bytes"
|
1407
|
+
},
|
1408
|
+
{
|
1409
|
+
"internalType": "bytes",
|
1410
|
+
"name": "processData",
|
1411
|
+
"type": "bytes"
|
1412
|
+
}
|
1413
|
+
],
|
1414
|
+
"internalType": "struct IPolicy.PolicyInfo",
|
1415
|
+
"name": "policy",
|
1416
|
+
"type": "tuple"
|
1417
|
+
},
|
1418
|
+
{
|
1419
|
+
"internalType": "StateId",
|
1420
|
+
"name": "newState",
|
1421
|
+
"type": "uint8"
|
1422
|
+
}
|
1423
|
+
],
|
1424
|
+
"name": "updateApplication",
|
1425
|
+
"outputs": [],
|
1426
|
+
"stateMutability": "nonpayable",
|
1427
|
+
"type": "function"
|
1428
|
+
},
|
1429
|
+
{
|
1430
|
+
"inputs": [
|
1431
|
+
{
|
1432
|
+
"internalType": "NftId",
|
1433
|
+
"name": "applicationNftId",
|
1434
|
+
"type": "uint96"
|
1435
|
+
},
|
1436
|
+
{
|
1437
|
+
"internalType": "StateId",
|
1438
|
+
"name": "newState",
|
1439
|
+
"type": "uint8"
|
1440
|
+
}
|
1441
|
+
],
|
1442
|
+
"name": "updateApplicationState",
|
1443
|
+
"outputs": [],
|
1444
|
+
"stateMutability": "nonpayable",
|
1445
|
+
"type": "function"
|
1446
|
+
},
|
1447
|
+
{
|
1448
|
+
"inputs": [
|
1449
|
+
{
|
1450
|
+
"internalType": "NftId",
|
1451
|
+
"name": "policyNftId",
|
1452
|
+
"type": "uint96"
|
1453
|
+
},
|
1454
|
+
{
|
1455
|
+
"components": [
|
1456
|
+
{
|
1457
|
+
"internalType": "NftId",
|
1458
|
+
"name": "productNftId",
|
1459
|
+
"type": "uint96"
|
1460
|
+
},
|
1461
|
+
{
|
1462
|
+
"internalType": "NftId",
|
1463
|
+
"name": "bundleNftId",
|
1464
|
+
"type": "uint96"
|
1465
|
+
},
|
1466
|
+
{
|
1467
|
+
"internalType": "RiskId",
|
1468
|
+
"name": "riskId",
|
1469
|
+
"type": "bytes8"
|
1470
|
+
},
|
1471
|
+
{
|
1472
|
+
"internalType": "Amount",
|
1473
|
+
"name": "sumInsuredAmount",
|
1474
|
+
"type": "uint96"
|
1475
|
+
},
|
1476
|
+
{
|
1477
|
+
"internalType": "Amount",
|
1478
|
+
"name": "premiumAmount",
|
1479
|
+
"type": "uint96"
|
1480
|
+
},
|
1481
|
+
{
|
1482
|
+
"internalType": "ReferralId",
|
1483
|
+
"name": "referralId",
|
1484
|
+
"type": "bytes8"
|
1485
|
+
},
|
1486
|
+
{
|
1487
|
+
"internalType": "uint16",
|
1488
|
+
"name": "claimsCount",
|
1489
|
+
"type": "uint16"
|
1490
|
+
},
|
1491
|
+
{
|
1492
|
+
"internalType": "uint16",
|
1493
|
+
"name": "openClaimsCount",
|
1494
|
+
"type": "uint16"
|
1495
|
+
},
|
1496
|
+
{
|
1497
|
+
"internalType": "Amount",
|
1498
|
+
"name": "claimAmount",
|
1499
|
+
"type": "uint96"
|
1500
|
+
},
|
1501
|
+
{
|
1502
|
+
"internalType": "Amount",
|
1503
|
+
"name": "payoutAmount",
|
1504
|
+
"type": "uint96"
|
1505
|
+
},
|
1506
|
+
{
|
1507
|
+
"internalType": "Timestamp",
|
1508
|
+
"name": "activatedAt",
|
1509
|
+
"type": "uint40"
|
1510
|
+
},
|
1511
|
+
{
|
1512
|
+
"internalType": "Seconds",
|
1513
|
+
"name": "lifetime",
|
1514
|
+
"type": "uint40"
|
1515
|
+
},
|
1516
|
+
{
|
1517
|
+
"internalType": "Timestamp",
|
1518
|
+
"name": "expiredAt",
|
1519
|
+
"type": "uint40"
|
1520
|
+
},
|
1521
|
+
{
|
1522
|
+
"internalType": "Timestamp",
|
1523
|
+
"name": "closedAt",
|
1524
|
+
"type": "uint40"
|
1525
|
+
},
|
1526
|
+
{
|
1527
|
+
"internalType": "bytes",
|
1528
|
+
"name": "applicationData",
|
1529
|
+
"type": "bytes"
|
1530
|
+
},
|
1531
|
+
{
|
1532
|
+
"internalType": "bytes",
|
1533
|
+
"name": "processData",
|
1534
|
+
"type": "bytes"
|
1535
|
+
}
|
1536
|
+
],
|
1537
|
+
"internalType": "struct IPolicy.PolicyInfo",
|
1538
|
+
"name": "policy",
|
1539
|
+
"type": "tuple"
|
1540
|
+
},
|
1541
|
+
{
|
1542
|
+
"internalType": "StateId",
|
1543
|
+
"name": "newState",
|
1544
|
+
"type": "uint8"
|
1545
|
+
}
|
1546
|
+
],
|
1547
|
+
"name": "updatePolicy",
|
1548
|
+
"outputs": [],
|
1549
|
+
"stateMutability": "nonpayable",
|
1550
|
+
"type": "function"
|
1551
|
+
},
|
1552
|
+
{
|
1553
|
+
"inputs": [
|
1554
|
+
{
|
1555
|
+
"internalType": "NftId",
|
1556
|
+
"name": "policyNftId",
|
1557
|
+
"type": "uint96"
|
1558
|
+
},
|
1559
|
+
{
|
1560
|
+
"components": [
|
1561
|
+
{
|
1562
|
+
"internalType": "NftId",
|
1563
|
+
"name": "productNftId",
|
1564
|
+
"type": "uint96"
|
1565
|
+
},
|
1566
|
+
{
|
1567
|
+
"internalType": "NftId",
|
1568
|
+
"name": "bundleNftId",
|
1569
|
+
"type": "uint96"
|
1570
|
+
},
|
1571
|
+
{
|
1572
|
+
"internalType": "RiskId",
|
1573
|
+
"name": "riskId",
|
1574
|
+
"type": "bytes8"
|
1575
|
+
},
|
1576
|
+
{
|
1577
|
+
"internalType": "Amount",
|
1578
|
+
"name": "sumInsuredAmount",
|
1579
|
+
"type": "uint96"
|
1580
|
+
},
|
1581
|
+
{
|
1582
|
+
"internalType": "Amount",
|
1583
|
+
"name": "premiumAmount",
|
1584
|
+
"type": "uint96"
|
1585
|
+
},
|
1586
|
+
{
|
1587
|
+
"internalType": "ReferralId",
|
1588
|
+
"name": "referralId",
|
1589
|
+
"type": "bytes8"
|
1590
|
+
},
|
1591
|
+
{
|
1592
|
+
"internalType": "uint16",
|
1593
|
+
"name": "claimsCount",
|
1594
|
+
"type": "uint16"
|
1595
|
+
},
|
1596
|
+
{
|
1597
|
+
"internalType": "uint16",
|
1598
|
+
"name": "openClaimsCount",
|
1599
|
+
"type": "uint16"
|
1600
|
+
},
|
1601
|
+
{
|
1602
|
+
"internalType": "Amount",
|
1603
|
+
"name": "claimAmount",
|
1604
|
+
"type": "uint96"
|
1605
|
+
},
|
1606
|
+
{
|
1607
|
+
"internalType": "Amount",
|
1608
|
+
"name": "payoutAmount",
|
1609
|
+
"type": "uint96"
|
1610
|
+
},
|
1611
|
+
{
|
1612
|
+
"internalType": "Timestamp",
|
1613
|
+
"name": "activatedAt",
|
1614
|
+
"type": "uint40"
|
1615
|
+
},
|
1616
|
+
{
|
1617
|
+
"internalType": "Seconds",
|
1618
|
+
"name": "lifetime",
|
1619
|
+
"type": "uint40"
|
1620
|
+
},
|
1621
|
+
{
|
1622
|
+
"internalType": "Timestamp",
|
1623
|
+
"name": "expiredAt",
|
1624
|
+
"type": "uint40"
|
1625
|
+
},
|
1626
|
+
{
|
1627
|
+
"internalType": "Timestamp",
|
1628
|
+
"name": "closedAt",
|
1629
|
+
"type": "uint40"
|
1630
|
+
},
|
1631
|
+
{
|
1632
|
+
"internalType": "bytes",
|
1633
|
+
"name": "applicationData",
|
1634
|
+
"type": "bytes"
|
1635
|
+
},
|
1636
|
+
{
|
1637
|
+
"internalType": "bytes",
|
1638
|
+
"name": "processData",
|
1639
|
+
"type": "bytes"
|
1640
|
+
}
|
1641
|
+
],
|
1642
|
+
"internalType": "struct IPolicy.PolicyInfo",
|
1643
|
+
"name": "policy",
|
1644
|
+
"type": "tuple"
|
1645
|
+
},
|
1646
|
+
{
|
1647
|
+
"internalType": "StateId",
|
1648
|
+
"name": "newState",
|
1649
|
+
"type": "uint8"
|
1650
|
+
}
|
1651
|
+
],
|
1652
|
+
"name": "updatePolicyClaims",
|
1653
|
+
"outputs": [],
|
1654
|
+
"stateMutability": "nonpayable",
|
1655
|
+
"type": "function"
|
1656
|
+
},
|
1657
|
+
{
|
1658
|
+
"inputs": [
|
1659
|
+
{
|
1660
|
+
"internalType": "NftId",
|
1661
|
+
"name": "policyNftId",
|
1662
|
+
"type": "uint96"
|
1663
|
+
},
|
1664
|
+
{
|
1665
|
+
"internalType": "StateId",
|
1666
|
+
"name": "newState",
|
1667
|
+
"type": "uint8"
|
1668
|
+
}
|
1669
|
+
],
|
1670
|
+
"name": "updatePolicyState",
|
1671
|
+
"outputs": [],
|
1672
|
+
"stateMutability": "nonpayable",
|
1673
|
+
"type": "function"
|
1674
|
+
},
|
1675
|
+
{
|
1676
|
+
"inputs": [
|
1677
|
+
{
|
1678
|
+
"internalType": "NftId",
|
1679
|
+
"name": "policyNftId",
|
1680
|
+
"type": "uint96"
|
1681
|
+
},
|
1682
|
+
{
|
1683
|
+
"internalType": "StateId",
|
1684
|
+
"name": "newState",
|
1685
|
+
"type": "uint8"
|
1686
|
+
}
|
1687
|
+
],
|
1688
|
+
"name": "updatePremiumState",
|
1689
|
+
"outputs": [],
|
1690
|
+
"stateMutability": "nonpayable",
|
1691
|
+
"type": "function"
|
1692
|
+
}
|
1693
|
+
],
|
1694
|
+
"bytecode": "0x60806040525f6007553480156012575f80fd5b5061309b806100205f395ff3fe608060405234801561000f575f80fd5b5060043610610187575f3560e01c80635eede174116100d95780639505838e11610093578063bf7e214f1161006e578063bf7e214f146104b7578063c75e9a1c146101d3578063e9e96c70146104d7578063f48016ce14610514575f80fd5b80639505838e146103fa578063a5961b4c1461040d578063bf1db3f9146104a4575f80fd5b80635eede174146103005780636c36e7db146103735780637a9e5e4b146103935780638129fc1c146103a65780638eb9000d146103ae5780638fb36037146103d9575f80fd5b8063228e42ec1161014457806338a699a41161011f57806338a699a4146102b75780634d4a7ae9146102da57806354f1fa81146102ed5780635d4345cc14610246575f80fd5b8063228e42ec14610279578063297023ef146101d35780632ae5819d146102a4575f80fd5b80630232ca491461018b578063036b1ffb146101d357806309648a9d146101e85780630d358181146102215780630fad0eb114610246578063193c608114610259575b5f80fd5b6101b6610199366004612345565b6001600160601b039081165f908152600460205260409020541690565b6040516001600160601b0390911681526020015b60405180910390f35b6101e66101e1366004612609565b610535565b005b61020f6101f6366004612668565b5f90815260066020526040902054610100900460ff1690565b60405160ff90911681526020016101ca565b61020f61022f36600461267f565b60ff9081165f908152602081905260409020541690565b6101e661025436600461269a565b610845565b61026c610267366004612345565b6108cb565b6040516101ca91906126d1565b6101b6610287366004612345565b6001600160601b039081165f908152600260205260409020541690565b6101e66102b236600461269a565b610a73565b6102ca6102c5366004612668565b610aea565b60405190151581526020016101ca565b6101e66102e83660046128c8565b610b78565b6101e66102fb366004612a52565b610d5c565b61034961030e366004612345565b6001600160601b039081165f908152600260209081526040808320546003835281842054600490935292205491831693908316929190911690565b604080516001600160601b03948516815292841660208401529216918101919091526060016101ca565b610386610381366004612345565b610eba565b6040516101ca9190612ad9565b6101e66103a1366004612c61565b611179565b6101e66111ff565b6101b66103bc366004612345565b6001600160601b039081165f908152600360205260409020541690565b6103e1611377565b6040516001600160e01b031990911681526020016101ca565b6101e6610408366004612c7c565b6113ad565b61047361041b366004612668565b60408051606080820183525f80835260208084018290529284018190529384526006825292829020825193840183525460ff80821685526101008204169184019190915262010000900464ffffffffff169082015290565b60408051825160ff9081168252602080850151909116908201529181015164ffffffffff16908201526060016101ca565b6102ca6104b236600461267f565b6115dd565b6104bf611629565b6040516001600160a01b0390911681526020016101ca565b6102ca6104e5366004612cc8565b60ff9283165f908152600160209081526040808320948616835293815283822092851682529190915220541690565b610527610522366004612d05565b611644565b6040519081526020016101ca565b610541335b5f366116cc565b5f61054d8460156117ca565b90505f61055a8284611815565b5f8381526006602052604081205491925090610100900460ff1690508460085f8581526020019081526020015f205f820151815f015f6101000a8154816001600160601b0302191690836001600160601b031602179055506020820151815f01600c6101000a8154816001600160601b0302191690836001600160601b031602179055506040820151815f0160186101000a8154816001600160401b03021916908360c01c02179055506060820151816001015f6101000a8154816001600160601b0302191690836001600160601b03160217905550608082015181600101600c6101000a8154816001600160601b0302191690836001600160601b0316021790555060a08201518160010160186101000a8154816001600160401b03021916908360c01c021790555060c0820151816002015f6101000a81548161ffff021916908361ffff16021790555060e08201518160020160026101000a81548161ffff021916908361ffff1602179055506101008201518160020160046101000a8154816001600160601b0302191690836001600160601b031602179055506101208201518160020160106101000a8154816001600160601b0302191690836001600160601b03160217905550610140820151816003015f6101000a81548164ffffffffff021916908364ffffffffff1602179055506101608201518160030160056101000a81548164ffffffffff021916908364ffffffffff16021790555061018082015181600301600a6101000a81548164ffffffffff021916908364ffffffffff1602179055506101a082015181600301600f6101000a81548164ffffffffff021916908364ffffffffff1602179055506101c08201518160040190816107e29190612db8565b506101e082015160058201906107f89082612db8565b509050507fe5effcf96bb744518e09cc69ad226c65cece5fb0047e35c272ac6b34f4a262ee86828633328760405161083596959493929190612e72565b60405180910390a1505050505050565b61084e3361053a565b5f61085a8360156117ca565b90505f6108678284611815565b5f8381526006602052604081205491925090610100900460ff1690507fe5effcf96bb744518e09cc69ad226c65cece5fb0047e35c272ac6b34f4a262ee8582863332876040516108bc96959493929190612e72565b60405180910390a15050505050565b60408051610240810182525f80825260208201819052918101829052606081018290526080810182905260a0810182905260c0810182905260e08101829052610100810182905261012081018290526101408101829052610160810182905261018081018290526101a081018290526101c081018290526101e08101829052610200810182905261022081019190915260095f61096984602b6117ca565b815260208082019290925260409081015f2081516102408101835281546001600160601b038082168352600160601b91829004811695830195909552600183015480861694830194909452928390048416606082015260028201548085166080830152839004841660a0820152600382015480851660c0830152839004841660e08201526004820154808516610100830152839004841661012082015260058201548085166101408301528390048416610160820152600682015480851661018083015283900484166101a082015260078201548085166101c083015283900484166101e08201526008909101548084166102008301529190910490911661022082015292915050565b610a7c3361053a565b5f610a8883602b6117ca565b90505f610a958284611815565b5f8381526006602052604081205491925090610100900460ff1690507fa44a207f9035ca27480b5f4b3d8979a7fc8ca357e9fe64049ac482f0073cb79b8582863332876040516108bc96959493929190612e72565b5f8181526006602052604080822054905163b2466acf60e01b815261010090910460ff16600482015273__$2e1fcf62e7a1b3c2a33bdf2228c171b2be$__9063b2466acf906024015b602060405180830381865af4158015610b4e573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b729190612ecc565b92915050565b610b813361053a565b5f610b8d83602b6117ca565b9050610b9881611a2a565b5f81815260096020908152604080832085518154878501516001600160601b039283166001600160c01b031992831617600160601b91841682021784558885015160018501805460608c0151928616908516179185168302919091179055608089015160028501805460a08c015192861690851617918516830291909117905560c089015160038501805460e08c0151928616908516179185168302919091179055610100808a01516004860180546101208d01519287169086161791861684029190911790556101408a01516005860180546101608d01519287169086161791861684029190911790556101808a0151600680870180546101a08e0151938816908716179287168502929092179091556101c08b01516007870180546101e08e01519288169087161791871685029190911790556102008b0151600890960180546102208d015197871695169490941795909416909102939093179055909252909120547f4062c09a712022085eea90b805606ba55832938ec04b0278852487ff1bf011ec9185910460ff165b604080516001600160601b03909316835260ff9091166020830152339082015232606082015260800160405180910390a1505050565b60ff8381165f908152602081905260409081902054905163037c8cb160e51b81529116600482015273__$2e1fcf62e7a1b3c2a33bdf2228c171b2be$__90636f91962090602401602060405180830381865af4158015610dbe573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610de29190612ecc565b15610e105760405163ea01ac1f60e01b815230600482015260ff841660248201526044015b60405180910390fd5b60ff80851690831614610e515760405163bae587e160e01b815230600482015260ff8085166024830152808616604483015283166064820152608401610e07565b60ff8084165f90815260016020908152604080832088851684528252808320858516845290915290205416610eb45760405163f33b49a360e01b815230600482015260ff8085166024830152808616604483015282166064820152608401610e07565b50505050565b60408051610200810182525f8082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820183905260e08201839052610100820183905261012082018390526101408201839052610160820183905261018082018390526101a082018390526101c082018190526101e082015290600890610f478460156117ca565b815260208082019290925260409081015f2081516102008101835281546001600160601b038082168352600160601b8083048216968401969096526001600160c01b0319600160c01b9283900460c090811b821696850196909652600185015480831660608601529687048216608085015291909504841b1660a0820152600282015461ffff8082169483019490945262010000810490931660e082015264010000000083048416610100820152600160801b909204909216610120820152600382015464ffffffffff8082166101408401526501000000000082048116610160840152600160501b82048116610180840152600160781b909104166101a08201526004820180549192916101c08401919061106290612d37565b80601f016020809104026020016040519081016040528092919081815260200182805461108e90612d37565b80156110d95780601f106110b0576101008083540402835291602001916110d9565b820191905f5260205f20905b8154815290600101906020018083116110bc57829003601f168201915b505050505081526020016005820180546110f290612d37565b80601f016020809104026020016040519081016040528092919081815260200182805461111e90612d37565b80156111695780601f1061114057610100808354040283529160200191611169565b820191905f5260205f20905b81548152906001019060200180831161114c57829003601f168201915b5050505050815250509050919050565b33611182611629565b6001600160a01b0316816001600160a01b0316146111bd5760405162d1953b60e31b81526001600160a01b0382166004820152602401610e07565b816001600160a01b03163b5f036111f2576040516361798f2f60e11b81526001600160a01b0383166004820152602401610e07565b6111fb82611cd5565b5050565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b810460ff1615906001600160401b03165f811580156112435750825b90505f826001600160401b0316600114801561125e5750303b155b90508115801561126c575080155b1561128a5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff1916600117855583156112b457845460ff60401b1916600160401b1785555b5f3390505f816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156112f5573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906113199190612ee5565b905061132481611d35565b61132c611d49565b5050831561137057845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020016108bc565b5050505050565b5f8051602061304683398151915280545f9190600160a01b900460ff1661139e575f6113a7565b638fb3603760e01b5b91505090565b6113b63361053a565b6113bf82611d5b565b5f6113cb8360156117ca565b90506113d681611a2a565b5f8181526008602090815260409182902084518154928601519386015160c090811c600160c01b9081026001600160c01b036001600160601b03978816600160601b9081026001600160c01b0319988916968a1696909617959095178116919091178555606089015160018601805460808c015160a08d0151871c909502948a16909602959097169088161793909317909216919091179092559084015160028201805460e08701516101008801516101208901518716600160801b026bffffffffffffffffffffffff60801b19919097166401000000000216640100000000600160e01b031961ffff928316620100000263ffffffff199094169290951691909117919091179290921691909117929092179091556101408301516003820180546101608601516101808701516101a088015164ffffffffff908116600160781b0264ffffffffff60781b19928216600160501b029290921669ffffffffffffffffffff60501b19938216650100000000000269ffffffffffffffffffff1990951691909616179290921716929092179190911790556101c083015183919060048201906115859082612db8565b506101e0820151600582019061159b9082612db8565b5050505f818152600660205260409020547ff20995ffc314df588b8ab4c972d20b5572ff246c225c07826e29c6e11c5866a3908490610100900460ff16610d26565b60ff8181165f9081526020819052604080822054905163b2466acf60e01b8152921660048301529073__$2e1fcf62e7a1b3c2a33bdf2228c171b2be$__9063b2466acf90602401610b33565b5f80516020613046833981519152546001600160a01b031690565b604051637a400b6760e11b815260ff8316600482015260ff19821660248201525f9073__$4b9aaffa8d044614668dad578b824b8eee$__9063f48016ce906044015b602060405180830381865af41580156116a1573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906116c59190612f00565b9392505050565b5f805160206130468339815191525f806117046116e7611629565b87306116f660045f8a8c612f17565b6116ff91612f3e565b611e5e565b91509150816117c25763ffffffff81161561179f57825460ff60a01b1916600160a01b178355611732611629565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b815260040161176193929190612f74565b5f604051808303815f87803b158015611778575f80fd5b505af115801561178a573d5f803e3d5ffd5b5050845460ff60a01b19168555506117c29050565b60405162d1953b60e31b81526001600160a01b0387166004820152602401610e07565b505050505050565b604051630711349960e31b81526001600160601b038316600482015260ff821660248201525f9073__$94a2c899be079b00d952d0d84fffaa5c34$__90633889a4c890604401611686565b60405163037c8cb160e51b815260ff821660048201525f9073__$2e1fcf62e7a1b3c2a33bdf2228c171b2be$__90636f91962090602401602060405180830381865af4158015611867573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061188b9190612ecc565b156118ac57604051631260077f60e21b815260048101849052602401610e07565b505f82815260066020526040908190208054915163037c8cb160e51b8152610100830460ff16600482018190526201000090930464ffffffffff16929073__$2e1fcf62e7a1b3c2a33bdf2228c171b2be$__90636f91962090602401602060405180830381865af4158015611923573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906119479190612ecc565b15611968576040516310b1404560e21b815260048101869052602401610e07565b60ff8085161461199757815461198490829060ff168187610d5c565b815461ff00191661010060ff8616021782555b73__$f55ca14f1ddce1b88fe30d23ae45f595f4$__639fa6a6e36040518163ffffffff1660e01b8152600401602060405180830381865af41580156119de573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611a029190612fb3565b825464ffffffffff91909116620100000266ffffffffff000019909116179091555092915050565b604051634b00e98f60e11b8152600481018290525f9073__$4b9aaffa8d044614668dad578b824b8eee$__90639601d31e90602401602060405180830381865af4158015611a7a573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611a9e9190612fce565b60405163037c8cb160e51b815260ff8216600482015290915073__$0d958e68cba84670b8f4a3f2f2686b1c6b$__90636f91962090602401602060405180830381865af4158015611af1573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611b159190612ecc565b15611b3857604051633d61be7d60e11b815260ff82166004820152602401610e07565b5f828152600660205260409081902080549151638d38cd4b60e01b81526201000090920464ffffffffff1660048301529073__$f55ca14f1ddce1b88fe30d23ae45f595f4$__90638d38cd4b90602401602060405180830381865af4158015611ba3573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611bc79190612ecc565b15611bf157604051637791d47d60e01b81526004810184905260ff83166024820152604401610e07565b611bfa826115dd565b611c1c576040516391eb5e8760e01b815260ff83166004820152602401610e07565b5f73__$f55ca14f1ddce1b88fe30d23ae45f595f4$__639fa6a6e36040518163ffffffff1660e01b8152600401602060405180830381865af4158015611c64573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611c889190612fb3565b60ff9384165f81815260208190526040902054845461ffff19169091179416610100029390931766ffffffffff000019166201000064ffffffffff94909416939093029290921790555050565b5f8051602061304683398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b611d3d611f66565b611d4681611faf565b50565b611d51611f66565b611d59611fc0565b565b6001600160601b0381165f9081526005602052604090819020549051638d38cd4b60e01b815264ffffffffff909116600482015273__$f55ca14f1ddce1b88fe30d23ae45f595f4$__90638d38cd4b90602401602060405180830381865af4158015611dc9573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611ded9190612ecc565b15611e16576040516314d5804160e01b81526001600160601b0382166004820152602401610e07565b611e1f81612018565b6040516001600160601b03821681527f1c26f28e2d8f145150c4243339c6b20813ea2bbc4e6f19ea2c9905060c0411a99060200160405180910390a150565b6040516001600160a01b03848116602483015283811660448301526001600160e01b0319831660648301525f9182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b17905251611ecc9190612fe9565b5f60405180830381855afa9150503d805f8114611f04576040519150601f19603f3d011682016040523d82523d5f602084013e611f09565b606091505b50915091508115611f5b576040815110611f3b5780806020019051810190611f319190612fff565b9094509250611f5b565b6020815110611f5b5780806020019051810190611f589190612ecc565b93505b505094509492505050565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0054600160401b900460ff16611d5957604051631afcd79f60e31b815260040160405180910390fd5b611fb7611f66565b611d4681611cd5565b611fc86120b7565b611fd06120d4565b611fd8612108565b611fe061214c565b611fe8612168565b611ff06121b5565b611ff86121d5565b6120006121e9565b612008612228565b612010612232565b611d59612246565b73__$f55ca14f1ddce1b88fe30d23ae45f595f4$__639fa6a6e36040518163ffffffff1660e01b8152600401602060405180830381865af415801561205f573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906120839190612fb3565b6001600160601b03919091165f908152600560205260409020805464ffffffffff191664ffffffffff909216919091179055565b6120c460165b600561226e565b611d5960165b60055b60c86122b0565b6120de600b6120bd565b6120ec600b6005606e6122b0565b6120fa600b606e60056122b0565b611d59600b606e60d26122b0565b6121146015600a61226e565b6121236015600a5b60146122b0565b6121326015600a5b601e6122b0565b6121406015600a60286122b0565b611d59601560286120cd565b612159602b5b603c61226e565b611d59602b5b603c60dc6122b0565b612174602d603261226e565b612180602d603261211c565b61218e602d603260336122b0565b61219a602d603261212b565b6121a6602d60336120cd565b611d59602d60335b60486122b0565b6121bf602e612152565b6121c9602e61215f565b611d59602e603c6121ae565b6121df602c6120bd565b611d59602c6120ca565b6121f3602f6120bd565b612202602f60055b60466122b0565b612210602f600560076122b0565b61221c602f60076121fb565b611d59602f60056121ae565b611d59600f6120bd565b61223c600c6120bd565b611d5960296120bd565b612250600e6120bd565b61225a60176120bd565b61226460306120bd565b611d5960316120bd565b60ff8281165f90815260208190526040902054161561228f5761228f613031565b60ff9182165f908152602081905260409020805460ff191691909216179055565b60ff8084165f90815260016020908152604080832086851684528252808320858516845290915290205416156122e8576122e8613031565b60ff9283165f9081526001602081815260408084209587168452948152848320939095168252919093529120805460ff19169091179055565b6001600160601b0381168114611d46575f80fd5b803561234081612321565b919050565b5f60208284031215612355575f80fd5b81356116c581612321565b634e487b7160e01b5f52604160045260245ffd5b60405161020081016001600160401b038111828210171561239757612397612360565b60405290565b60405161024081016001600160401b038111828210171561239757612397612360565b80356001600160c01b031981168114612340575f80fd5b803561ffff81168114612340575f80fd5b64ffffffffff81168114611d46575f80fd5b8035612340816123e8565b5f82601f830112612414575f80fd5b81356001600160401b0381111561242d5761242d612360565b604051601f8201601f19908116603f011681016001600160401b038111828210171561245b5761245b612360565b604052818152838201602001851015612472575f80fd5b816020850160208301375f918101602001919091529392505050565b5f610200828403121561249f575f80fd5b6124a7612374565b90506124b282612335565b81526124c060208301612335565b60208201526124d1604083016123c0565b60408201526124e260608301612335565b60608201526124f360808301612335565b608082015261250460a083016123c0565b60a082015261251560c083016123d7565b60c082015261252660e083016123d7565b60e08201526125386101008301612335565b61010082015261254b6101208301612335565b61012082015261255e61014083016123fa565b61014082015261257161016083016123fa565b61016082015261258461018083016123fa565b6101808201526125976101a083016123fa565b6101a08201526101c08201356001600160401b038111156125b6575f80fd5b6125c284828501612405565b6101c0830152506101e08201356001600160401b038111156125e2575f80fd5b6125ee84828501612405565b6101e08301525092915050565b60ff81168114611d46575f80fd5b5f805f6060848603121561261b575f80fd5b833561262681612321565b925060208401356001600160401b03811115612640575f80fd5b61264c8682870161248e565b925050604084013561265d816125fb565b809150509250925092565b5f60208284031215612678575f80fd5b5035919050565b5f6020828403121561268f575f80fd5b81356116c5816125fb565b5f80604083850312156126ab575f80fd5b82356126b681612321565b915060208301356126c6816125fb565b809150509250929050565b81516001600160601b03168152610240810160208301516126fd60208401826001600160601b03169052565b50604083015161271860408401826001600160601b03169052565b50606083015161273360608401826001600160601b03169052565b50608083015161274e60808401826001600160601b03169052565b5060a083015161276960a08401826001600160601b03169052565b5060c083015161278460c08401826001600160601b03169052565b5060e083015161279f60e08401826001600160601b03169052565b506101008301516127bc6101008401826001600160601b03169052565b506101208301516127d96101208401826001600160601b03169052565b506101408301516127f66101408401826001600160601b03169052565b506101608301516128136101608401826001600160601b03169052565b506101808301516128306101808401826001600160601b03169052565b506101a083015161284d6101a08401826001600160601b03169052565b506101c083015161286a6101c08401826001600160601b03169052565b506101e08301516128876101e08401826001600160601b03169052565b506102008301516128a46102008401826001600160601b03169052565b506102208301516128c16102208401826001600160601b03169052565b5092915050565b5f808284036102608112156128db575f80fd5b83356128e681612321565b9250610240601f19820112156128fa575f80fd5b5061290361239d565b61290f60208501612335565b815261291d60408501612335565b602082015261292e60608501612335565b604082015261293f60808501612335565b606082015261295060a08501612335565b608082015261296160c08501612335565b60a082015261297260e08501612335565b60c08201526129846101008501612335565b60e08201526129966101208501612335565b6101008201526129a96101408501612335565b6101208201526129bc6101608501612335565b6101408201526129cf6101808501612335565b6101608201526129e26101a08501612335565b6101808201526129f56101c08501612335565b6101a0820152612a086101e08501612335565b6101c0820152612a1b6102008501612335565b6101e0820152612a2e6102208501612335565b610200820152612a416102408501612335565b610220820152809150509250929050565b5f805f8060808587031215612a65575f80fd5b8435612a70816125fb565b93506020850135612a80816125fb565b92506040850135612a90816125fb565b91506060850135612aa0816125fb565b939692955090935050565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b60208152612af36020820183516001600160601b03169052565b5f6020830151612b0e60408401826001600160601b03169052565b5060408301516001600160c01b0319811660608401525060608301516001600160601b03811660808401525060808301516001600160601b03811660a08401525060a08301516001600160c01b0319811660c08401525060c083015161ffff811660e08401525060e083015161ffff8116610100840152506101008301516001600160601b038116610120840152506101208301516001600160601b0381166101408401525061014083015164ffffffffff81166101608401525061016083015164ffffffffff81166101808401525061018083015164ffffffffff81166101a0840152506101a083015164ffffffffff81166101c0840152506101c08301516102006101e0840152612c25610220840182612aab565b90506101e0840151601f1984830301610200850152612c448282612aab565b95945050505050565b6001600160a01b0381168114611d46575f80fd5b5f60208284031215612c71575f80fd5b81356116c581612c4d565b5f8060408385031215612c8d575f80fd5b8235612c9881612321565b915060208301356001600160401b03811115612cb2575f80fd5b612cbe8582860161248e565b9150509250929050565b5f805f60608486031215612cda575f80fd5b8335612ce5816125fb565b92506020840135612cf5816125fb565b9150604084013561265d816125fb565b5f8060408385031215612d16575f80fd5b8235612d21816125fb565b9150602083013560ff19811681146126c6575f80fd5b600181811c90821680612d4b57607f821691505b602082108103612d6957634e487b7160e01b5f52602260045260245ffd5b50919050565b601f821115612db357805f5260205f20601f840160051c81016020851015612d945750805b601f840160051c820191505b81811015611370575f8155600101612da0565b505050565b81516001600160401b03811115612dd157612dd1612360565b612de581612ddf8454612d37565b84612d6f565b6020601f821160018114612e17575f8315612e005750848201515b5f19600385901b1c1916600184901b178455611370565b5f84815260208120601f198516915b82811015612e465787850151825560209485019460019092019101612e26565b5084821015612e6357868401515f19600387901b60f8161c191681555b50505050600190811b01905550565b6001600160601b0396909616865260ff94851660208701529290931660408501526001600160a01b039081166060850152909116608083015264ffffffffff1660a082015260c00190565b80518015158114612340575f80fd5b5f60208284031215612edc575f80fd5b6116c582612ebd565b5f60208284031215612ef5575f80fd5b81516116c581612c4d565b5f60208284031215612f10575f80fd5b5051919050565b5f8085851115612f25575f80fd5b83861115612f31575f80fd5b5050820193919092039150565b80356001600160e01b031981169060048410156128c1576001600160e01b031960049490940360031b84901b1690921692915050565b6001600160a01b03841681526040602082018190528101829052818360608301375f818301606090810191909152601f909201601f1916010192915050565b5f60208284031215612fc3575f80fd5b81516116c5816123e8565b5f60208284031215612fde575f80fd5b81516116c5816125fb565b5f82518060208501845e5f920191825250919050565b5f8060408385031215613010575f80fd5b61301983612ebd565b9150602083015163ffffffff811681146126c6575f80fd5b634e487b7160e01b5f52600160045260245ffdfef3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00a2646970667358221220cf214490d2fad5fa16d612637d0bd5a5430d525918999b304d08419db412015c64736f6c634300081a0033",
|
1695
|
+
"deployedBytecode": "0x608060405234801561000f575f80fd5b5060043610610187575f3560e01c80635eede174116100d95780639505838e11610093578063bf7e214f1161006e578063bf7e214f146104b7578063c75e9a1c146101d3578063e9e96c70146104d7578063f48016ce14610514575f80fd5b80639505838e146103fa578063a5961b4c1461040d578063bf1db3f9146104a4575f80fd5b80635eede174146103005780636c36e7db146103735780637a9e5e4b146103935780638129fc1c146103a65780638eb9000d146103ae5780638fb36037146103d9575f80fd5b8063228e42ec1161014457806338a699a41161011f57806338a699a4146102b75780634d4a7ae9146102da57806354f1fa81146102ed5780635d4345cc14610246575f80fd5b8063228e42ec14610279578063297023ef146101d35780632ae5819d146102a4575f80fd5b80630232ca491461018b578063036b1ffb146101d357806309648a9d146101e85780630d358181146102215780630fad0eb114610246578063193c608114610259575b5f80fd5b6101b6610199366004612345565b6001600160601b039081165f908152600460205260409020541690565b6040516001600160601b0390911681526020015b60405180910390f35b6101e66101e1366004612609565b610535565b005b61020f6101f6366004612668565b5f90815260066020526040902054610100900460ff1690565b60405160ff90911681526020016101ca565b61020f61022f36600461267f565b60ff9081165f908152602081905260409020541690565b6101e661025436600461269a565b610845565b61026c610267366004612345565b6108cb565b6040516101ca91906126d1565b6101b6610287366004612345565b6001600160601b039081165f908152600260205260409020541690565b6101e66102b236600461269a565b610a73565b6102ca6102c5366004612668565b610aea565b60405190151581526020016101ca565b6101e66102e83660046128c8565b610b78565b6101e66102fb366004612a52565b610d5c565b61034961030e366004612345565b6001600160601b039081165f908152600260209081526040808320546003835281842054600490935292205491831693908316929190911690565b604080516001600160601b03948516815292841660208401529216918101919091526060016101ca565b610386610381366004612345565b610eba565b6040516101ca9190612ad9565b6101e66103a1366004612c61565b611179565b6101e66111ff565b6101b66103bc366004612345565b6001600160601b039081165f908152600360205260409020541690565b6103e1611377565b6040516001600160e01b031990911681526020016101ca565b6101e6610408366004612c7c565b6113ad565b61047361041b366004612668565b60408051606080820183525f80835260208084018290529284018190529384526006825292829020825193840183525460ff80821685526101008204169184019190915262010000900464ffffffffff169082015290565b60408051825160ff9081168252602080850151909116908201529181015164ffffffffff16908201526060016101ca565b6102ca6104b236600461267f565b6115dd565b6104bf611629565b6040516001600160a01b0390911681526020016101ca565b6102ca6104e5366004612cc8565b60ff9283165f908152600160209081526040808320948616835293815283822092851682529190915220541690565b610527610522366004612d05565b611644565b6040519081526020016101ca565b610541335b5f366116cc565b5f61054d8460156117ca565b90505f61055a8284611815565b5f8381526006602052604081205491925090610100900460ff1690508460085f8581526020019081526020015f205f820151815f015f6101000a8154816001600160601b0302191690836001600160601b031602179055506020820151815f01600c6101000a8154816001600160601b0302191690836001600160601b031602179055506040820151815f0160186101000a8154816001600160401b03021916908360c01c02179055506060820151816001015f6101000a8154816001600160601b0302191690836001600160601b03160217905550608082015181600101600c6101000a8154816001600160601b0302191690836001600160601b0316021790555060a08201518160010160186101000a8154816001600160401b03021916908360c01c021790555060c0820151816002015f6101000a81548161ffff021916908361ffff16021790555060e08201518160020160026101000a81548161ffff021916908361ffff1602179055506101008201518160020160046101000a8154816001600160601b0302191690836001600160601b031602179055506101208201518160020160106101000a8154816001600160601b0302191690836001600160601b03160217905550610140820151816003015f6101000a81548164ffffffffff021916908364ffffffffff1602179055506101608201518160030160056101000a81548164ffffffffff021916908364ffffffffff16021790555061018082015181600301600a6101000a81548164ffffffffff021916908364ffffffffff1602179055506101a082015181600301600f6101000a81548164ffffffffff021916908364ffffffffff1602179055506101c08201518160040190816107e29190612db8565b506101e082015160058201906107f89082612db8565b509050507fe5effcf96bb744518e09cc69ad226c65cece5fb0047e35c272ac6b34f4a262ee86828633328760405161083596959493929190612e72565b60405180910390a1505050505050565b61084e3361053a565b5f61085a8360156117ca565b90505f6108678284611815565b5f8381526006602052604081205491925090610100900460ff1690507fe5effcf96bb744518e09cc69ad226c65cece5fb0047e35c272ac6b34f4a262ee8582863332876040516108bc96959493929190612e72565b60405180910390a15050505050565b60408051610240810182525f80825260208201819052918101829052606081018290526080810182905260a0810182905260c0810182905260e08101829052610100810182905261012081018290526101408101829052610160810182905261018081018290526101a081018290526101c081018290526101e08101829052610200810182905261022081019190915260095f61096984602b6117ca565b815260208082019290925260409081015f2081516102408101835281546001600160601b038082168352600160601b91829004811695830195909552600183015480861694830194909452928390048416606082015260028201548085166080830152839004841660a0820152600382015480851660c0830152839004841660e08201526004820154808516610100830152839004841661012082015260058201548085166101408301528390048416610160820152600682015480851661018083015283900484166101a082015260078201548085166101c083015283900484166101e08201526008909101548084166102008301529190910490911661022082015292915050565b610a7c3361053a565b5f610a8883602b6117ca565b90505f610a958284611815565b5f8381526006602052604081205491925090610100900460ff1690507fa44a207f9035ca27480b5f4b3d8979a7fc8ca357e9fe64049ac482f0073cb79b8582863332876040516108bc96959493929190612e72565b5f8181526006602052604080822054905163b2466acf60e01b815261010090910460ff16600482015273__$2e1fcf62e7a1b3c2a33bdf2228c171b2be$__9063b2466acf906024015b602060405180830381865af4158015610b4e573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b729190612ecc565b92915050565b610b813361053a565b5f610b8d83602b6117ca565b9050610b9881611a2a565b5f81815260096020908152604080832085518154878501516001600160601b039283166001600160c01b031992831617600160601b91841682021784558885015160018501805460608c0151928616908516179185168302919091179055608089015160028501805460a08c015192861690851617918516830291909117905560c089015160038501805460e08c0151928616908516179185168302919091179055610100808a01516004860180546101208d01519287169086161791861684029190911790556101408a01516005860180546101608d01519287169086161791861684029190911790556101808a0151600680870180546101a08e0151938816908716179287168502929092179091556101c08b01516007870180546101e08e01519288169087161791871685029190911790556102008b0151600890960180546102208d015197871695169490941795909416909102939093179055909252909120547f4062c09a712022085eea90b805606ba55832938ec04b0278852487ff1bf011ec9185910460ff165b604080516001600160601b03909316835260ff9091166020830152339082015232606082015260800160405180910390a1505050565b60ff8381165f908152602081905260409081902054905163037c8cb160e51b81529116600482015273__$2e1fcf62e7a1b3c2a33bdf2228c171b2be$__90636f91962090602401602060405180830381865af4158015610dbe573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610de29190612ecc565b15610e105760405163ea01ac1f60e01b815230600482015260ff841660248201526044015b60405180910390fd5b60ff80851690831614610e515760405163bae587e160e01b815230600482015260ff8085166024830152808616604483015283166064820152608401610e07565b60ff8084165f90815260016020908152604080832088851684528252808320858516845290915290205416610eb45760405163f33b49a360e01b815230600482015260ff8085166024830152808616604483015282166064820152608401610e07565b50505050565b60408051610200810182525f8082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820183905260e08201839052610100820183905261012082018390526101408201839052610160820183905261018082018390526101a082018390526101c082018190526101e082015290600890610f478460156117ca565b815260208082019290925260409081015f2081516102008101835281546001600160601b038082168352600160601b8083048216968401969096526001600160c01b0319600160c01b9283900460c090811b821696850196909652600185015480831660608601529687048216608085015291909504841b1660a0820152600282015461ffff8082169483019490945262010000810490931660e082015264010000000083048416610100820152600160801b909204909216610120820152600382015464ffffffffff8082166101408401526501000000000082048116610160840152600160501b82048116610180840152600160781b909104166101a08201526004820180549192916101c08401919061106290612d37565b80601f016020809104026020016040519081016040528092919081815260200182805461108e90612d37565b80156110d95780601f106110b0576101008083540402835291602001916110d9565b820191905f5260205f20905b8154815290600101906020018083116110bc57829003601f168201915b505050505081526020016005820180546110f290612d37565b80601f016020809104026020016040519081016040528092919081815260200182805461111e90612d37565b80156111695780601f1061114057610100808354040283529160200191611169565b820191905f5260205f20905b81548152906001019060200180831161114c57829003601f168201915b5050505050815250509050919050565b33611182611629565b6001600160a01b0316816001600160a01b0316146111bd5760405162d1953b60e31b81526001600160a01b0382166004820152602401610e07565b816001600160a01b03163b5f036111f2576040516361798f2f60e11b81526001600160a01b0383166004820152602401610e07565b6111fb82611cd5565b5050565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b810460ff1615906001600160401b03165f811580156112435750825b90505f826001600160401b0316600114801561125e5750303b155b90508115801561126c575080155b1561128a5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff1916600117855583156112b457845460ff60401b1916600160401b1785555b5f3390505f816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156112f5573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906113199190612ee5565b905061132481611d35565b61132c611d49565b5050831561137057845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020016108bc565b5050505050565b5f8051602061304683398151915280545f9190600160a01b900460ff1661139e575f6113a7565b638fb3603760e01b5b91505090565b6113b63361053a565b6113bf82611d5b565b5f6113cb8360156117ca565b90506113d681611a2a565b5f8181526008602090815260409182902084518154928601519386015160c090811c600160c01b9081026001600160c01b036001600160601b03978816600160601b9081026001600160c01b0319988916968a1696909617959095178116919091178555606089015160018601805460808c015160a08d0151871c909502948a16909602959097169088161793909317909216919091179092559084015160028201805460e08701516101008801516101208901518716600160801b026bffffffffffffffffffffffff60801b19919097166401000000000216640100000000600160e01b031961ffff928316620100000263ffffffff199094169290951691909117919091179290921691909117929092179091556101408301516003820180546101608601516101808701516101a088015164ffffffffff908116600160781b0264ffffffffff60781b19928216600160501b029290921669ffffffffffffffffffff60501b19938216650100000000000269ffffffffffffffffffff1990951691909616179290921716929092179190911790556101c083015183919060048201906115859082612db8565b506101e0820151600582019061159b9082612db8565b5050505f818152600660205260409020547ff20995ffc314df588b8ab4c972d20b5572ff246c225c07826e29c6e11c5866a3908490610100900460ff16610d26565b60ff8181165f9081526020819052604080822054905163b2466acf60e01b8152921660048301529073__$2e1fcf62e7a1b3c2a33bdf2228c171b2be$__9063b2466acf90602401610b33565b5f80516020613046833981519152546001600160a01b031690565b604051637a400b6760e11b815260ff8316600482015260ff19821660248201525f9073__$4b9aaffa8d044614668dad578b824b8eee$__9063f48016ce906044015b602060405180830381865af41580156116a1573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906116c59190612f00565b9392505050565b5f805160206130468339815191525f806117046116e7611629565b87306116f660045f8a8c612f17565b6116ff91612f3e565b611e5e565b91509150816117c25763ffffffff81161561179f57825460ff60a01b1916600160a01b178355611732611629565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b815260040161176193929190612f74565b5f604051808303815f87803b158015611778575f80fd5b505af115801561178a573d5f803e3d5ffd5b5050845460ff60a01b19168555506117c29050565b60405162d1953b60e31b81526001600160a01b0387166004820152602401610e07565b505050505050565b604051630711349960e31b81526001600160601b038316600482015260ff821660248201525f9073__$94a2c899be079b00d952d0d84fffaa5c34$__90633889a4c890604401611686565b60405163037c8cb160e51b815260ff821660048201525f9073__$2e1fcf62e7a1b3c2a33bdf2228c171b2be$__90636f91962090602401602060405180830381865af4158015611867573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061188b9190612ecc565b156118ac57604051631260077f60e21b815260048101849052602401610e07565b505f82815260066020526040908190208054915163037c8cb160e51b8152610100830460ff16600482018190526201000090930464ffffffffff16929073__$2e1fcf62e7a1b3c2a33bdf2228c171b2be$__90636f91962090602401602060405180830381865af4158015611923573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906119479190612ecc565b15611968576040516310b1404560e21b815260048101869052602401610e07565b60ff8085161461199757815461198490829060ff168187610d5c565b815461ff00191661010060ff8616021782555b73__$f55ca14f1ddce1b88fe30d23ae45f595f4$__639fa6a6e36040518163ffffffff1660e01b8152600401602060405180830381865af41580156119de573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611a029190612fb3565b825464ffffffffff91909116620100000266ffffffffff000019909116179091555092915050565b604051634b00e98f60e11b8152600481018290525f9073__$4b9aaffa8d044614668dad578b824b8eee$__90639601d31e90602401602060405180830381865af4158015611a7a573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611a9e9190612fce565b60405163037c8cb160e51b815260ff8216600482015290915073__$0d958e68cba84670b8f4a3f2f2686b1c6b$__90636f91962090602401602060405180830381865af4158015611af1573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611b159190612ecc565b15611b3857604051633d61be7d60e11b815260ff82166004820152602401610e07565b5f828152600660205260409081902080549151638d38cd4b60e01b81526201000090920464ffffffffff1660048301529073__$f55ca14f1ddce1b88fe30d23ae45f595f4$__90638d38cd4b90602401602060405180830381865af4158015611ba3573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611bc79190612ecc565b15611bf157604051637791d47d60e01b81526004810184905260ff83166024820152604401610e07565b611bfa826115dd565b611c1c576040516391eb5e8760e01b815260ff83166004820152602401610e07565b5f73__$f55ca14f1ddce1b88fe30d23ae45f595f4$__639fa6a6e36040518163ffffffff1660e01b8152600401602060405180830381865af4158015611c64573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611c889190612fb3565b60ff9384165f81815260208190526040902054845461ffff19169091179416610100029390931766ffffffffff000019166201000064ffffffffff94909416939093029290921790555050565b5f8051602061304683398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b611d3d611f66565b611d4681611faf565b50565b611d51611f66565b611d59611fc0565b565b6001600160601b0381165f9081526005602052604090819020549051638d38cd4b60e01b815264ffffffffff909116600482015273__$f55ca14f1ddce1b88fe30d23ae45f595f4$__90638d38cd4b90602401602060405180830381865af4158015611dc9573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611ded9190612ecc565b15611e16576040516314d5804160e01b81526001600160601b0382166004820152602401610e07565b611e1f81612018565b6040516001600160601b03821681527f1c26f28e2d8f145150c4243339c6b20813ea2bbc4e6f19ea2c9905060c0411a99060200160405180910390a150565b6040516001600160a01b03848116602483015283811660448301526001600160e01b0319831660648301525f9182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b17905251611ecc9190612fe9565b5f60405180830381855afa9150503d805f8114611f04576040519150601f19603f3d011682016040523d82523d5f602084013e611f09565b606091505b50915091508115611f5b576040815110611f3b5780806020019051810190611f319190612fff565b9094509250611f5b565b6020815110611f5b5780806020019051810190611f589190612ecc565b93505b505094509492505050565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0054600160401b900460ff16611d5957604051631afcd79f60e31b815260040160405180910390fd5b611fb7611f66565b611d4681611cd5565b611fc86120b7565b611fd06120d4565b611fd8612108565b611fe061214c565b611fe8612168565b611ff06121b5565b611ff86121d5565b6120006121e9565b612008612228565b612010612232565b611d59612246565b73__$f55ca14f1ddce1b88fe30d23ae45f595f4$__639fa6a6e36040518163ffffffff1660e01b8152600401602060405180830381865af415801561205f573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906120839190612fb3565b6001600160601b03919091165f908152600560205260409020805464ffffffffff191664ffffffffff909216919091179055565b6120c460165b600561226e565b611d5960165b60055b60c86122b0565b6120de600b6120bd565b6120ec600b6005606e6122b0565b6120fa600b606e60056122b0565b611d59600b606e60d26122b0565b6121146015600a61226e565b6121236015600a5b60146122b0565b6121326015600a5b601e6122b0565b6121406015600a60286122b0565b611d59601560286120cd565b612159602b5b603c61226e565b611d59602b5b603c60dc6122b0565b612174602d603261226e565b612180602d603261211c565b61218e602d603260336122b0565b61219a602d603261212b565b6121a6602d60336120cd565b611d59602d60335b60486122b0565b6121bf602e612152565b6121c9602e61215f565b611d59602e603c6121ae565b6121df602c6120bd565b611d59602c6120ca565b6121f3602f6120bd565b612202602f60055b60466122b0565b612210602f600560076122b0565b61221c602f60076121fb565b611d59602f60056121ae565b611d59600f6120bd565b61223c600c6120bd565b611d5960296120bd565b612250600e6120bd565b61225a60176120bd565b61226460306120bd565b611d5960316120bd565b60ff8281165f90815260208190526040902054161561228f5761228f613031565b60ff9182165f908152602081905260409020805460ff191691909216179055565b60ff8084165f90815260016020908152604080832086851684528252808320858516845290915290205416156122e8576122e8613031565b60ff9283165f9081526001602081815260408084209587168452948152848320939095168252919093529120805460ff19169091179055565b6001600160601b0381168114611d46575f80fd5b803561234081612321565b919050565b5f60208284031215612355575f80fd5b81356116c581612321565b634e487b7160e01b5f52604160045260245ffd5b60405161020081016001600160401b038111828210171561239757612397612360565b60405290565b60405161024081016001600160401b038111828210171561239757612397612360565b80356001600160c01b031981168114612340575f80fd5b803561ffff81168114612340575f80fd5b64ffffffffff81168114611d46575f80fd5b8035612340816123e8565b5f82601f830112612414575f80fd5b81356001600160401b0381111561242d5761242d612360565b604051601f8201601f19908116603f011681016001600160401b038111828210171561245b5761245b612360565b604052818152838201602001851015612472575f80fd5b816020850160208301375f918101602001919091529392505050565b5f610200828403121561249f575f80fd5b6124a7612374565b90506124b282612335565b81526124c060208301612335565b60208201526124d1604083016123c0565b60408201526124e260608301612335565b60608201526124f360808301612335565b608082015261250460a083016123c0565b60a082015261251560c083016123d7565b60c082015261252660e083016123d7565b60e08201526125386101008301612335565b61010082015261254b6101208301612335565b61012082015261255e61014083016123fa565b61014082015261257161016083016123fa565b61016082015261258461018083016123fa565b6101808201526125976101a083016123fa565b6101a08201526101c08201356001600160401b038111156125b6575f80fd5b6125c284828501612405565b6101c0830152506101e08201356001600160401b038111156125e2575f80fd5b6125ee84828501612405565b6101e08301525092915050565b60ff81168114611d46575f80fd5b5f805f6060848603121561261b575f80fd5b833561262681612321565b925060208401356001600160401b03811115612640575f80fd5b61264c8682870161248e565b925050604084013561265d816125fb565b809150509250925092565b5f60208284031215612678575f80fd5b5035919050565b5f6020828403121561268f575f80fd5b81356116c5816125fb565b5f80604083850312156126ab575f80fd5b82356126b681612321565b915060208301356126c6816125fb565b809150509250929050565b81516001600160601b03168152610240810160208301516126fd60208401826001600160601b03169052565b50604083015161271860408401826001600160601b03169052565b50606083015161273360608401826001600160601b03169052565b50608083015161274e60808401826001600160601b03169052565b5060a083015161276960a08401826001600160601b03169052565b5060c083015161278460c08401826001600160601b03169052565b5060e083015161279f60e08401826001600160601b03169052565b506101008301516127bc6101008401826001600160601b03169052565b506101208301516127d96101208401826001600160601b03169052565b506101408301516127f66101408401826001600160601b03169052565b506101608301516128136101608401826001600160601b03169052565b506101808301516128306101808401826001600160601b03169052565b506101a083015161284d6101a08401826001600160601b03169052565b506101c083015161286a6101c08401826001600160601b03169052565b506101e08301516128876101e08401826001600160601b03169052565b506102008301516128a46102008401826001600160601b03169052565b506102208301516128c16102208401826001600160601b03169052565b5092915050565b5f808284036102608112156128db575f80fd5b83356128e681612321565b9250610240601f19820112156128fa575f80fd5b5061290361239d565b61290f60208501612335565b815261291d60408501612335565b602082015261292e60608501612335565b604082015261293f60808501612335565b606082015261295060a08501612335565b608082015261296160c08501612335565b60a082015261297260e08501612335565b60c08201526129846101008501612335565b60e08201526129966101208501612335565b6101008201526129a96101408501612335565b6101208201526129bc6101608501612335565b6101408201526129cf6101808501612335565b6101608201526129e26101a08501612335565b6101808201526129f56101c08501612335565b6101a0820152612a086101e08501612335565b6101c0820152612a1b6102008501612335565b6101e0820152612a2e6102208501612335565b610200820152612a416102408501612335565b610220820152809150509250929050565b5f805f8060808587031215612a65575f80fd5b8435612a70816125fb565b93506020850135612a80816125fb565b92506040850135612a90816125fb565b91506060850135612aa0816125fb565b939692955090935050565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b60208152612af36020820183516001600160601b03169052565b5f6020830151612b0e60408401826001600160601b03169052565b5060408301516001600160c01b0319811660608401525060608301516001600160601b03811660808401525060808301516001600160601b03811660a08401525060a08301516001600160c01b0319811660c08401525060c083015161ffff811660e08401525060e083015161ffff8116610100840152506101008301516001600160601b038116610120840152506101208301516001600160601b0381166101408401525061014083015164ffffffffff81166101608401525061016083015164ffffffffff81166101808401525061018083015164ffffffffff81166101a0840152506101a083015164ffffffffff81166101c0840152506101c08301516102006101e0840152612c25610220840182612aab565b90506101e0840151601f1984830301610200850152612c448282612aab565b95945050505050565b6001600160a01b0381168114611d46575f80fd5b5f60208284031215612c71575f80fd5b81356116c581612c4d565b5f8060408385031215612c8d575f80fd5b8235612c9881612321565b915060208301356001600160401b03811115612cb2575f80fd5b612cbe8582860161248e565b9150509250929050565b5f805f60608486031215612cda575f80fd5b8335612ce5816125fb565b92506020840135612cf5816125fb565b9150604084013561265d816125fb565b5f8060408385031215612d16575f80fd5b8235612d21816125fb565b9150602083013560ff19811681146126c6575f80fd5b600181811c90821680612d4b57607f821691505b602082108103612d6957634e487b7160e01b5f52602260045260245ffd5b50919050565b601f821115612db357805f5260205f20601f840160051c81016020851015612d945750805b601f840160051c820191505b81811015611370575f8155600101612da0565b505050565b81516001600160401b03811115612dd157612dd1612360565b612de581612ddf8454612d37565b84612d6f565b6020601f821160018114612e17575f8315612e005750848201515b5f19600385901b1c1916600184901b178455611370565b5f84815260208120601f198516915b82811015612e465787850151825560209485019460019092019101612e26565b5084821015612e6357868401515f19600387901b60f8161c191681555b50505050600190811b01905550565b6001600160601b0396909616865260ff94851660208701529290931660408501526001600160a01b039081166060850152909116608083015264ffffffffff1660a082015260c00190565b80518015158114612340575f80fd5b5f60208284031215612edc575f80fd5b6116c582612ebd565b5f60208284031215612ef5575f80fd5b81516116c581612c4d565b5f60208284031215612f10575f80fd5b5051919050565b5f8085851115612f25575f80fd5b83861115612f31575f80fd5b5050820193919092039150565b80356001600160e01b031981169060048410156128c1576001600160e01b031960049490940360031b84901b1690921692915050565b6001600160a01b03841681526040602082018190528101829052818360608301375f818301606090810191909152601f909201601f1916010192915050565b5f60208284031215612fc3575f80fd5b81516116c5816123e8565b5f60208284031215612fde575f80fd5b81516116c5816125fb565b5f82518060208501845e5f920191825250919050565b5f8060408385031215613010575f80fd5b61301983612ebd565b9150602083015163ffffffff811681146126c6575f80fd5b634e487b7160e01b5f52600160045260245ffdfef3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00a2646970667358221220cf214490d2fad5fa16d612637d0bd5a5430d525918999b304d08419db412015c64736f6c634300081a0033",
|
1696
|
+
"linkReferences": {
|
1697
|
+
"contracts/type/Blocknumber.sol": {
|
1698
|
+
"BlocknumberLib": [
|
1699
|
+
{
|
1700
|
+
"length": 20,
|
1701
|
+
"start": 6585
|
1702
|
+
},
|
1703
|
+
{
|
1704
|
+
"length": 20,
|
1705
|
+
"start": 7051
|
1706
|
+
},
|
1707
|
+
{
|
1708
|
+
"length": 20,
|
1709
|
+
"start": 7231
|
1710
|
+
},
|
1711
|
+
{
|
1712
|
+
"length": 20,
|
1713
|
+
"start": 7601
|
1714
|
+
},
|
1715
|
+
{
|
1716
|
+
"length": 20,
|
1717
|
+
"start": 8250
|
1718
|
+
}
|
1719
|
+
]
|
1720
|
+
},
|
1721
|
+
"contracts/type/Key32.sol": {
|
1722
|
+
"Key32Lib": [
|
1723
|
+
{
|
1724
|
+
"length": 20,
|
1725
|
+
"start": 5768
|
1726
|
+
},
|
1727
|
+
{
|
1728
|
+
"length": 20,
|
1729
|
+
"start": 6754
|
1730
|
+
}
|
1731
|
+
]
|
1732
|
+
},
|
1733
|
+
"contracts/type/NftId.sol": {
|
1734
|
+
"NftIdLib": [
|
1735
|
+
{
|
1736
|
+
"length": 20,
|
1737
|
+
"start": 6163
|
1738
|
+
}
|
1739
|
+
]
|
1740
|
+
},
|
1741
|
+
"contracts/type/ObjectType.sol": {
|
1742
|
+
"ObjectTypeLib": [
|
1743
|
+
{
|
1744
|
+
"length": 20,
|
1745
|
+
"start": 6873
|
1746
|
+
}
|
1747
|
+
]
|
1748
|
+
},
|
1749
|
+
"contracts/type/StateId.sol": {
|
1750
|
+
"StateIdLib": [
|
1751
|
+
{
|
1752
|
+
"length": 20,
|
1753
|
+
"start": 2869
|
1754
|
+
},
|
1755
|
+
{
|
1756
|
+
"length": 20,
|
1757
|
+
"start": 3494
|
1758
|
+
},
|
1759
|
+
{
|
1760
|
+
"length": 20,
|
1761
|
+
"start": 5671
|
1762
|
+
},
|
1763
|
+
{
|
1764
|
+
"length": 20,
|
1765
|
+
"start": 6223
|
1766
|
+
},
|
1767
|
+
{
|
1768
|
+
"length": 20,
|
1769
|
+
"start": 6411
|
1770
|
+
}
|
1771
|
+
]
|
1772
|
+
}
|
1773
|
+
},
|
1774
|
+
"deployedLinkReferences": {
|
1775
|
+
"contracts/type/Blocknumber.sol": {
|
1776
|
+
"BlocknumberLib": [
|
1777
|
+
{
|
1778
|
+
"length": 20,
|
1779
|
+
"start": 6553
|
1780
|
+
},
|
1781
|
+
{
|
1782
|
+
"length": 20,
|
1783
|
+
"start": 7019
|
1784
|
+
},
|
1785
|
+
{
|
1786
|
+
"length": 20,
|
1787
|
+
"start": 7199
|
1788
|
+
},
|
1789
|
+
{
|
1790
|
+
"length": 20,
|
1791
|
+
"start": 7569
|
1792
|
+
},
|
1793
|
+
{
|
1794
|
+
"length": 20,
|
1795
|
+
"start": 8218
|
1796
|
+
}
|
1797
|
+
]
|
1798
|
+
},
|
1799
|
+
"contracts/type/Key32.sol": {
|
1800
|
+
"Key32Lib": [
|
1801
|
+
{
|
1802
|
+
"length": 20,
|
1803
|
+
"start": 5736
|
1804
|
+
},
|
1805
|
+
{
|
1806
|
+
"length": 20,
|
1807
|
+
"start": 6722
|
1808
|
+
}
|
1809
|
+
]
|
1810
|
+
},
|
1811
|
+
"contracts/type/NftId.sol": {
|
1812
|
+
"NftIdLib": [
|
1813
|
+
{
|
1814
|
+
"length": 20,
|
1815
|
+
"start": 6131
|
1816
|
+
}
|
1817
|
+
]
|
1818
|
+
},
|
1819
|
+
"contracts/type/ObjectType.sol": {
|
1820
|
+
"ObjectTypeLib": [
|
1821
|
+
{
|
1822
|
+
"length": 20,
|
1823
|
+
"start": 6841
|
1824
|
+
}
|
1825
|
+
]
|
1826
|
+
},
|
1827
|
+
"contracts/type/StateId.sol": {
|
1828
|
+
"StateIdLib": [
|
1829
|
+
{
|
1830
|
+
"length": 20,
|
1831
|
+
"start": 2837
|
1832
|
+
},
|
1833
|
+
{
|
1834
|
+
"length": 20,
|
1835
|
+
"start": 3462
|
1836
|
+
},
|
1837
|
+
{
|
1838
|
+
"length": 20,
|
1839
|
+
"start": 5639
|
1840
|
+
},
|
1841
|
+
{
|
1842
|
+
"length": 20,
|
1843
|
+
"start": 6191
|
1844
|
+
},
|
1845
|
+
{
|
1846
|
+
"length": 20,
|
1847
|
+
"start": 6379
|
1848
|
+
}
|
1849
|
+
]
|
1850
|
+
}
|
1851
|
+
}
|
1852
|
+
}
|