@etherisc/gif-next 0.0.2-f831797-539 → 0.0.2-f946ccd-184
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +57 -88
- package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.dbg.json +4 -0
- package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.json +1234 -0
- package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.dbg.json +4 -0
- package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.json +1206 -0
- package/artifacts/contracts/authorization/Authorization.sol/Authorization.dbg.json +4 -0
- package/artifacts/contracts/authorization/Authorization.sol/Authorization.json +358 -0
- package/artifacts/contracts/authorization/IAccess.sol/IAccess.dbg.json +4 -0
- package/artifacts/contracts/{instance/module/ISetup.sol/ISetup.json → authorization/IAccess.sol/IAccess.json} +2 -2
- package/artifacts/contracts/authorization/IAccessAdmin.sol/IAccessAdmin.dbg.json +4 -0
- package/artifacts/contracts/authorization/IAccessAdmin.sol/IAccessAdmin.json +1013 -0
- package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.dbg.json +4 -0
- package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.json +258 -0
- package/artifacts/contracts/authorization/IModuleAuthorization.sol/IModuleAuthorization.dbg.json +4 -0
- package/artifacts/contracts/authorization/IModuleAuthorization.sol/IModuleAuthorization.json +290 -0
- package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.dbg.json +4 -0
- package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.json +148 -0
- package/artifacts/contracts/authorization/ModuleAuthorization.sol/ModuleAuthorization.dbg.json +4 -0
- package/artifacts/contracts/authorization/ModuleAuthorization.sol/ModuleAuthorization.json +390 -0
- package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.dbg.json +4 -0
- package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.json +190 -0
- package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.dbg.json +4 -0
- package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.json +1342 -0
- package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.dbg.json +4 -0
- package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.json +410 -0
- package/artifacts/contracts/distribution/Distribution.sol/Distribution.dbg.json +4 -0
- package/artifacts/contracts/{components → distribution}/Distribution.sol/Distribution.json +220 -509
- package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.dbg.json +4 -0
- package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.json +1405 -0
- package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +4 -0
- package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.json +818 -0
- package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.dbg.json +4 -0
- package/artifacts/contracts/{components → distribution}/IDistributionComponent.sol/IDistributionComponent.json +282 -227
- package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.dbg.json +4 -0
- package/artifacts/contracts/{instance/service → distribution}/IDistributionService.sol/IDistributionService.json +254 -335
- package/artifacts/contracts/examples/fire/FirePool.sol/FirePool.dbg.json +4 -0
- package/artifacts/contracts/examples/fire/FirePool.sol/FirePool.json +1463 -0
- package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.dbg.json +4 -0
- package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.json +410 -0
- package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.dbg.json +4 -0
- package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.json +1712 -0
- package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.dbg.json +4 -0
- package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.json +414 -0
- package/artifacts/contracts/examples/fire/FireUSD.sol/FireUSD.dbg.json +4 -0
- package/artifacts/contracts/examples/fire/FireUSD.sol/FireUSD.json +376 -0
- package/artifacts/contracts/examples/unpermissioned/SimpleDistribution.sol/SimpleDistribution.dbg.json +4 -0
- package/artifacts/contracts/examples/unpermissioned/SimpleDistribution.sol/SimpleDistribution.json +1411 -0
- package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.dbg.json +4 -0
- package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.json +1171 -0
- package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.dbg.json +4 -0
- package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.json +1517 -0
- package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.dbg.json +4 -0
- package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.json +1978 -0
- package/artifacts/contracts/instance/BundleSet.sol/BundleSet.dbg.json +4 -0
- package/artifacts/contracts/instance/BundleSet.sol/BundleSet.json +703 -0
- package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
- package/artifacts/contracts/instance/IInstance.sol/IInstance.json +278 -1906
- package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
- package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +318 -70
- package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
- package/artifacts/contracts/instance/Instance.sol/Instance.json +335 -2711
- package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.dbg.json +4 -0
- package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.json +1623 -0
- package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.dbg.json +4 -0
- package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.json +601 -0
- package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +904 -338
- package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +350 -343
- package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +132 -111
- package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.dbg.json +4 -0
- package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.json +3587 -0
- package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.dbg.json +4 -0
- package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.json +318 -0
- package/artifacts/contracts/instance/base/Cloneable.sol/Cloneable.dbg.json +4 -0
- package/artifacts/contracts/instance/{Cloneable.sol → base/Cloneable.sol}/Cloneable.json +1 -49
- package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.dbg.json +4 -0
- package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.json +10 -0
- package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.dbg.json +4 -0
- package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.json +182 -0
- package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.dbg.json +4 -0
- package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.json +181 -0
- package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +1 -1
- package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +25 -150
- 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 +4 -0
- package/artifacts/contracts/mock/Dip.sol/Dip.json +376 -0
- package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.dbg.json +4 -0
- package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.json +979 -0
- package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.dbg.json +4 -0
- package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.json +418 -0
- package/artifacts/contracts/oracle/IOracle.sol/IOracle.dbg.json +4 -0
- package/artifacts/contracts/oracle/IOracle.sol/IOracle.json +52 -0
- package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.dbg.json +4 -0
- package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.json +765 -0
- package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.dbg.json +4 -0
- package/artifacts/contracts/{instance/service/IPolicyService.sol/IPolicyService.json → oracle/IOracleService.sol/IOracleService.json} +305 -170
- package/artifacts/contracts/oracle/Oracle.sol/Oracle.dbg.json +4 -0
- package/artifacts/contracts/oracle/Oracle.sol/Oracle.json +871 -0
- package/artifacts/contracts/oracle/OracleService.sol/OracleService.dbg.json +4 -0
- package/artifacts/contracts/oracle/OracleService.sol/OracleService.json +927 -0
- package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.dbg.json +4 -0
- package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.json +710 -0
- package/artifacts/contracts/pool/BasicPool.sol/BasicPool.dbg.json +4 -0
- package/artifacts/contracts/{components/Pool.sol/Pool.json → pool/BasicPool.sol/BasicPool.json} +293 -383
- package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.dbg.json +4 -0
- package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.json +410 -0
- package/artifacts/contracts/pool/BundleService.sol/BundleService.dbg.json +4 -0
- package/artifacts/contracts/pool/BundleService.sol/BundleService.json +1367 -0
- package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.dbg.json +4 -0
- package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.json +802 -0
- package/artifacts/contracts/pool/IBundleService.sol/IBundleService.dbg.json +4 -0
- package/artifacts/contracts/{instance/service → pool}/IBundleService.sol/IBundleService.json +412 -135
- package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.dbg.json +4 -0
- package/artifacts/contracts/{components → pool}/IPoolComponent.sol/IPoolComponent.json +297 -324
- package/artifacts/contracts/pool/IPoolService.sol/IPoolService.dbg.json +4 -0
- package/artifacts/contracts/pool/IPoolService.sol/IPoolService.json +1198 -0
- package/artifacts/contracts/pool/Pool.sol/Pool.dbg.json +4 -0
- package/artifacts/contracts/pool/Pool.sol/Pool.json +1034 -0
- package/artifacts/contracts/pool/PoolService.sol/PoolService.dbg.json +4 -0
- package/artifacts/contracts/pool/PoolService.sol/PoolService.json +1474 -0
- package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.dbg.json +4 -0
- package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.json +726 -0
- package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.dbg.json +4 -0
- package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.json +737 -0
- package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +4 -0
- package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.json +698 -0
- package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.dbg.json +4 -0
- package/artifacts/contracts/{components/Product.sol/Product.json → product/BasicProduct.sol/BasicProduct.json} +354 -397
- package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.dbg.json +4 -0
- package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.json +410 -0
- package/artifacts/contracts/product/ClaimService.sol/ClaimService.dbg.json +4 -0
- package/artifacts/contracts/product/ClaimService.sol/ClaimService.json +1346 -0
- package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +4 -0
- package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.json +814 -0
- package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.dbg.json +4 -0
- package/artifacts/contracts/{instance/service → product}/IApplicationService.sol/IApplicationService.json +129 -168
- package/artifacts/contracts/product/IClaimService.sol/IClaimService.dbg.json +4 -0
- package/artifacts/contracts/product/IClaimService.sol/IClaimService.json +886 -0
- package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.dbg.json +4 -0
- package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.json +867 -0
- package/artifacts/contracts/product/IPricingService.sol/IPricingService.dbg.json +4 -0
- package/artifacts/contracts/{instance/base/ComponentService.sol/ComponentService.json → product/IPricingService.sol/IPricingService.json} +214 -217
- package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.dbg.json +4 -0
- package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.json +948 -0
- package/artifacts/contracts/product/IRiskService.sol/IRiskService.dbg.json +4 -0
- package/artifacts/contracts/{instance/service/IProductService.sol/IProductService.json → product/IRiskService.sol/IRiskService.json} +81 -65
- package/artifacts/contracts/product/PolicyService.sol/PolicyService.dbg.json +4 -0
- package/artifacts/contracts/product/PolicyService.sol/PolicyService.json +1239 -0
- package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +4 -0
- package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.json +770 -0
- package/artifacts/contracts/product/PricingService.sol/PricingService.dbg.json +4 -0
- package/artifacts/contracts/product/PricingService.sol/PricingService.json +865 -0
- package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.dbg.json +4 -0
- package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.json +746 -0
- package/artifacts/contracts/product/Product.sol/Product.dbg.json +4 -0
- package/artifacts/contracts/product/Product.sol/Product.json +1054 -0
- package/artifacts/contracts/product/RiskService.sol/RiskService.dbg.json +4 -0
- package/artifacts/contracts/product/RiskService.sol/RiskService.json +588 -0
- package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.dbg.json +4 -0
- package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.json +682 -0
- package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
- package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +72 -16
- package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
- package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +394 -21
- package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
- package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +199 -149
- package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
- package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.json +18 -0
- package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
- package/artifacts/contracts/registry/Registry.sol/Registry.json +793 -37
- package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.dbg.json +4 -0
- package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.json +1858 -0
- package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
- package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +372 -204
- package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
- package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +126 -95
- package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.dbg.json +4 -0
- package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.json +164 -0
- package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.dbg.json +4 -0
- package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.json +1169 -0
- package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.dbg.json +4 -0
- package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.json +214 -0
- package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +1 -1
- package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +316 -153
- package/artifacts/contracts/shared/Component.sol/Component.dbg.json +4 -0
- package/artifacts/contracts/shared/Component.sol/Component.json +685 -0
- package/artifacts/contracts/shared/ComponentService.sol/ComponentService.dbg.json +4 -0
- package/artifacts/contracts/shared/ComponentService.sol/ComponentService.json +1573 -0
- package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.dbg.json +4 -0
- package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.json +794 -0
- package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.dbg.json +4 -0
- package/artifacts/contracts/{instance/service/IPoolService.sol/IPoolService.json → shared/ComponentVerifyingService.sol/ComponentVerifyingService.json} +146 -142
- package/artifacts/contracts/shared/ContractLib.sol/ContractLib.dbg.json +4 -0
- package/artifacts/contracts/shared/ContractLib.sol/ContractLib.json +92 -0
- package/artifacts/contracts/shared/IComponent.sol/IComponent.dbg.json +4 -0
- package/artifacts/contracts/{components → shared}/IComponent.sol/IComponent.json +193 -75
- package/artifacts/contracts/shared/IComponentService.sol/IComponentService.dbg.json +4 -0
- package/artifacts/contracts/shared/IComponentService.sol/IComponentService.json +1033 -0
- package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.dbg.json +4 -0
- package/artifacts/contracts/{components/IProductComponent.sol/IProductComponent.json → shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.json} +215 -227
- package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.dbg.json +4 -0
- package/artifacts/contracts/{instance/base → shared}/IKeyValueStore.sol/IKeyValueStore.json +59 -14
- package/artifacts/contracts/shared/ILifecycle.sol/ILifecycle.dbg.json +4 -0
- package/artifacts/contracts/{instance/base → shared}/ILifecycle.sol/ILifecycle.json +1 -6
- package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
- package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +3 -10
- package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +1 -1
- package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.json +59 -13
- package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
- package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +3 -10
- package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +1 -1
- package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.json +0 -13
- package/artifacts/contracts/shared/IService.sol/IService.dbg.json +1 -1
- package/artifacts/contracts/shared/IService.sol/IService.json +96 -19
- package/artifacts/contracts/shared/InitializableCustom.sol/InitializableCustom.dbg.json +4 -0
- package/artifacts/contracts/shared/InitializableCustom.sol/InitializableCustom.json +39 -0
- package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.dbg.json +4 -0
- package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.json +53 -0
- package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.dbg.json +4 -0
- package/artifacts/contracts/{components/Component.sol/Component.json → shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.json} +194 -215
- package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.dbg.json +4 -0
- package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.json +497 -0
- package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.dbg.json +4 -0
- package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.json +133 -0
- package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.dbg.json +4 -0
- package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.json +306 -0
- package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
- package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +12 -70
- package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +1 -1
- package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +35 -85
- package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
- package/artifacts/contracts/shared/Registerable.sol/Registerable.json +18 -106
- package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +1 -1
- package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +2 -28
- package/artifacts/contracts/shared/Service.sol/Service.dbg.json +1 -1
- package/artifacts/contracts/shared/Service.sol/Service.json +88 -113
- package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
- package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +382 -9
- package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.dbg.json +4 -0
- package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.json +108 -0
- package/artifacts/contracts/staking/IStaking.sol/IStaking.dbg.json +4 -0
- package/artifacts/contracts/staking/IStaking.sol/IStaking.json +1438 -0
- package/artifacts/contracts/staking/IStakingService.sol/IStakingService.dbg.json +4 -0
- package/artifacts/contracts/staking/IStakingService.sol/IStakingService.json +1035 -0
- package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.dbg.json +4 -0
- package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.json +440 -0
- package/artifacts/contracts/staking/Staking.sol/Staking.dbg.json +4 -0
- package/artifacts/contracts/staking/Staking.sol/Staking.json +1828 -0
- package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.dbg.json +4 -0
- package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.json +164 -0
- package/artifacts/contracts/staking/StakingManager.sol/StakingManager.dbg.json +4 -0
- package/artifacts/contracts/staking/StakingManager.sol/StakingManager.json +750 -0
- package/artifacts/contracts/staking/StakingReader.sol/StakingReader.dbg.json +4 -0
- package/artifacts/contracts/staking/StakingReader.sol/StakingReader.json +592 -0
- package/artifacts/contracts/staking/StakingService.sol/StakingService.dbg.json +4 -0
- package/artifacts/contracts/staking/StakingService.sol/StakingService.json +1236 -0
- package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.dbg.json +4 -0
- package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.json +698 -0
- package/artifacts/contracts/staking/StakingStore.sol/StakingStore.dbg.json +4 -0
- package/artifacts/contracts/staking/StakingStore.sol/StakingStore.json +2242 -0
- package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.dbg.json +4 -0
- package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.json +607 -0
- package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.dbg.json +4 -0
- package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.json +10 -0
- package/artifacts/contracts/type/Amount.sol/AmountLib.dbg.json +4 -0
- package/artifacts/contracts/type/Amount.sol/AmountLib.json +374 -0
- package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.dbg.json +4 -0
- package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.json +225 -0
- package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.dbg.json +4 -0
- package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.json +179 -0
- package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.dbg.json +4 -0
- package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.json +104 -0
- package/artifacts/contracts/type/Fee.sol/FeeLib.dbg.json +4 -0
- package/artifacts/contracts/type/Fee.sol/FeeLib.json +317 -0
- package/artifacts/contracts/type/Key32.sol/Key32Lib.dbg.json +4 -0
- package/artifacts/contracts/type/Key32.sol/Key32Lib.json +125 -0
- package/artifacts/contracts/type/NftId.sol/NftIdLib.dbg.json +4 -0
- package/artifacts/contracts/type/NftId.sol/NftIdLib.json +209 -0
- package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.dbg.json +4 -0
- package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.json +33 -0
- package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.dbg.json +4 -0
- package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.json +239 -0
- package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.dbg.json +4 -0
- package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.json +209 -0
- package/artifacts/contracts/type/Referral.sol/ReferralLib.dbg.json +4 -0
- package/artifacts/contracts/type/Referral.sol/ReferralLib.json +142 -0
- package/artifacts/contracts/type/RequestId.sol/RequestIdLib.dbg.json +4 -0
- package/artifacts/contracts/type/RequestId.sol/RequestIdLib.json +204 -0
- package/artifacts/contracts/type/RiskId.sol/RiskIdLib.dbg.json +4 -0
- package/artifacts/contracts/type/RiskId.sol/RiskIdLib.json +142 -0
- package/artifacts/contracts/type/RoleId.sol/RoleIdLib.dbg.json +4 -0
- package/artifacts/contracts/type/RoleId.sol/RoleIdLib.json +369 -0
- package/artifacts/contracts/type/Seconds.sol/SecondsLib.dbg.json +4 -0
- package/artifacts/contracts/type/Seconds.sol/SecondsLib.json +246 -0
- package/artifacts/contracts/type/Selector.sol/SelectorLib.dbg.json +4 -0
- package/artifacts/contracts/type/Selector.sol/SelectorLib.json +129 -0
- package/artifacts/contracts/type/Selector.sol/SelectorSetLib.dbg.json +4 -0
- package/artifacts/contracts/type/Selector.sol/SelectorSetLib.json +10 -0
- package/artifacts/contracts/type/StateId.sol/StateIdLib.dbg.json +4 -0
- package/artifacts/contracts/{types → type}/StateId.sol/StateIdLib.json +3 -3
- package/artifacts/contracts/type/String.sol/StrLib.dbg.json +4 -0
- package/artifacts/contracts/type/String.sol/StrLib.json +132 -0
- package/artifacts/contracts/type/Timestamp.sol/TimestampLib.dbg.json +4 -0
- package/artifacts/contracts/type/Timestamp.sol/TimestampLib.json +312 -0
- package/artifacts/contracts/type/UFixed.sol/MathLib.dbg.json +4 -0
- package/artifacts/contracts/type/UFixed.sol/MathLib.json +16 -0
- package/artifacts/contracts/type/UFixed.sol/UFixedLib.dbg.json +4 -0
- package/artifacts/contracts/type/UFixed.sol/UFixedLib.json +535 -0
- package/artifacts/contracts/type/Version.sol/VersionLib.dbg.json +4 -0
- package/artifacts/contracts/type/Version.sol/VersionLib.json +177 -0
- package/artifacts/contracts/type/Version.sol/VersionPartLib.dbg.json +4 -0
- package/artifacts/contracts/type/Version.sol/VersionPartLib.json +68 -0
- package/artifacts/contracts/upgradeability/IVersionable.sol/IVersionable.dbg.json +4 -0
- package/artifacts/contracts/{shared → upgradeability}/IVersionable.sol/IVersionable.json +1 -1
- package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.dbg.json +4 -0
- package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.json +586 -0
- package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +4 -0
- package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +129 -0
- package/artifacts/contracts/upgradeability/Versionable.sol/Versionable.dbg.json +4 -0
- package/artifacts/contracts/{shared → upgradeability}/Versionable.sol/Versionable.json +1 -1
- package/contracts/authorization/AccessAdmin.sol +592 -0
- package/contracts/authorization/AccessManagerCloneable.sol +16 -0
- package/contracts/authorization/Authorization.sol +217 -0
- package/contracts/authorization/IAccess.sol +48 -0
- package/contracts/authorization/IAccessAdmin.sol +135 -0
- package/contracts/authorization/IAuthorization.sol +54 -0
- package/contracts/authorization/IModuleAuthorization.sol +21 -0
- package/contracts/authorization/IServiceAuthorization.sol +38 -0
- package/contracts/authorization/ModuleAuthorization.sol +78 -0
- package/contracts/authorization/ServiceAuthorization.sol +90 -0
- package/contracts/distribution/BasicDistribution.sol +138 -0
- package/contracts/distribution/BasicDistributionAuthorization.sol +47 -0
- package/contracts/{components → distribution}/Distribution.sol +178 -163
- package/contracts/distribution/DistributionService.sol +336 -0
- package/contracts/distribution/DistributionServiceManager.sol +39 -0
- package/contracts/distribution/IDistributionComponent.sol +52 -0
- package/contracts/{instance/service → distribution}/IDistributionService.sol +41 -38
- package/contracts/examples/fire/FirePool.sol +75 -0
- package/contracts/examples/fire/FirePoolAuthorization.sol +34 -0
- package/contracts/examples/fire/FireProduct.sol +324 -0
- package/contracts/examples/fire/FireProductAuthorization.sol +35 -0
- package/contracts/examples/fire/FireUSD.sol +26 -0
- package/contracts/examples/unpermissioned/SimpleDistribution.sol +50 -0
- package/contracts/examples/unpermissioned/SimpleOracle.sol +137 -0
- package/contracts/examples/unpermissioned/SimplePool.sol +76 -0
- package/contracts/examples/unpermissioned/SimpleProduct.sol +351 -0
- package/contracts/instance/{BundleManager.sol → BundleSet.sol} +30 -31
- package/contracts/instance/IInstance.sol +43 -73
- package/contracts/instance/IInstanceService.sol +56 -24
- package/contracts/instance/Instance.sol +160 -226
- package/contracts/instance/InstanceAdmin.sol +285 -0
- package/contracts/instance/InstanceAuthorizationV3.sol +204 -0
- package/contracts/instance/InstanceReader.sol +201 -65
- package/contracts/instance/InstanceService.sol +333 -356
- package/contracts/instance/InstanceServiceManager.sol +14 -29
- package/contracts/instance/InstanceStore.sol +287 -0
- package/contracts/instance/base/BalanceStore.sol +123 -0
- package/contracts/instance/{Cloneable.sol → base/Cloneable.sol} +4 -22
- package/contracts/instance/base/ObjectCounter.sol +21 -0
- package/contracts/instance/base/ObjectLifecycle.sol +111 -0
- package/contracts/instance/{ObjectManager.sol → base/ObjectSet.sol} +19 -24
- package/contracts/instance/module/IAccess.sol +19 -20
- package/contracts/instance/module/IBundle.sol +8 -9
- package/contracts/instance/module/IComponents.sol +20 -9
- package/contracts/instance/module/IDistribution.sol +6 -6
- package/contracts/instance/module/IPolicy.sol +47 -35
- package/contracts/instance/module/IRisk.sol +1 -1
- package/contracts/{test/Usdc.sol → mock/Dip.sol} +6 -6
- package/contracts/oracle/BasicOracle.sol +48 -0
- package/contracts/oracle/BasicOracleAuthorization.sol +46 -0
- package/contracts/oracle/IOracle.sol +36 -0
- package/contracts/oracle/IOracleComponent.sol +33 -0
- package/contracts/oracle/IOracleService.sol +65 -0
- package/contracts/oracle/Oracle.sol +167 -0
- package/contracts/oracle/OracleService.sol +281 -0
- package/contracts/oracle/OracleServiceManager.sol +39 -0
- package/contracts/pool/BasicPool.sol +166 -0
- package/contracts/pool/BasicPoolAuthorization.sol +58 -0
- package/contracts/pool/BundleService.sol +438 -0
- package/contracts/pool/BundleServiceManager.sol +39 -0
- package/contracts/pool/IBundleService.sol +134 -0
- package/contracts/pool/IPoolComponent.sol +58 -0
- package/contracts/pool/IPoolService.sol +160 -0
- package/contracts/pool/Pool.sol +326 -0
- package/contracts/pool/PoolService.sol +508 -0
- package/contracts/pool/PoolServiceManager.sol +39 -0
- package/contracts/product/ApplicationService.sol +247 -0
- package/contracts/{instance/service → product}/ApplicationServiceManager.sol +12 -9
- package/contracts/product/BasicProduct.sol +53 -0
- package/contracts/product/BasicProductAuthorization.sol +43 -0
- package/contracts/product/ClaimService.sol +546 -0
- package/contracts/{instance/service → product}/ClaimServiceManager.sol +12 -9
- package/contracts/{instance/service → product}/IApplicationService.sol +16 -35
- package/contracts/product/IClaimService.sol +122 -0
- package/contracts/product/IPolicyService.sol +77 -0
- package/contracts/product/IPricingService.sol +39 -0
- package/contracts/product/IProductComponent.sol +39 -0
- package/contracts/product/IRiskService.sol +33 -0
- package/contracts/product/PolicyService.sol +651 -0
- package/contracts/product/PolicyServiceManager.sol +39 -0
- package/contracts/product/PricingService.sol +300 -0
- package/contracts/product/PricingServiceManager.sol +39 -0
- package/contracts/product/Product.sol +425 -0
- package/contracts/product/RiskService.sol +96 -0
- package/contracts/product/RiskServiceManager.sol +39 -0
- package/contracts/registry/ChainNft.sol +80 -32
- package/contracts/registry/IRegistry.sol +94 -25
- package/contracts/registry/IRegistryService.sol +44 -42
- package/contracts/registry/ITransferInterceptor.sol +1 -0
- package/contracts/registry/Registry.sol +439 -201
- package/contracts/registry/RegistryAdmin.sol +464 -0
- package/contracts/registry/RegistryService.sol +70 -101
- package/contracts/registry/RegistryServiceManager.sol +23 -32
- package/contracts/registry/ReleaseLifecycle.sol +27 -0
- package/contracts/registry/ReleaseRegistry.sol +491 -0
- package/contracts/registry/ServiceAuthorizationV3.sol +199 -0
- package/contracts/registry/TokenRegistry.sol +261 -62
- package/contracts/shared/Component.sol +268 -0
- package/contracts/shared/ComponentService.sol +641 -0
- package/contracts/shared/ComponentServiceManager.sol +38 -0
- package/contracts/shared/ComponentVerifyingService.sol +117 -0
- package/contracts/shared/ContractLib.sol +38 -0
- package/contracts/shared/IComponent.sol +70 -0
- package/contracts/shared/IComponentService.sol +108 -0
- package/contracts/shared/IInstanceLinkedComponent.sol +49 -0
- package/contracts/{instance/base → shared}/IKeyValueStore.sol +16 -11
- package/contracts/{instance/base → shared}/ILifecycle.sol +3 -4
- package/contracts/shared/INftOwnable.sol +2 -2
- package/contracts/shared/IPolicyHolder.sol +23 -14
- package/contracts/shared/IRegistryLinked.sol +0 -1
- package/contracts/shared/IService.sol +15 -8
- package/contracts/shared/InitializableCustom.sol +177 -0
- package/contracts/shared/{ERC165.sol → InitializableERC165.sol} +4 -4
- package/contracts/shared/InstanceLinkedComponent.sol +172 -0
- package/contracts/shared/KeyValueStore.sol +131 -0
- package/contracts/shared/Lifecycle.sol +77 -0
- package/contracts/shared/NftIdSet.sol +65 -0
- package/contracts/shared/NftOwnable.sol +10 -23
- package/contracts/shared/PolicyHolder.sol +19 -42
- package/contracts/shared/Registerable.sol +17 -16
- package/contracts/shared/RegistryLinked.sol +3 -7
- package/contracts/shared/Service.sol +56 -27
- package/contracts/shared/TokenHandler.sol +115 -9
- package/contracts/shared/TokenHandlerDeployerLib.sol +12 -0
- package/contracts/staking/IStaking.sol +168 -0
- package/contracts/staking/IStakingService.sol +160 -0
- package/contracts/staking/StakeManagerLib.sol +224 -0
- package/contracts/staking/Staking.sol +498 -0
- package/contracts/staking/StakingLifecycle.sol +23 -0
- package/contracts/staking/StakingManager.sol +52 -0
- package/contracts/staking/StakingReader.sol +183 -0
- package/contracts/staking/StakingService.sol +407 -0
- package/contracts/staking/StakingServiceManager.sol +44 -0
- package/contracts/staking/StakingStore.sol +605 -0
- package/contracts/staking/TargetManagerLib.sol +211 -0
- package/contracts/{types → type}/AddressSet.sol +1 -1
- package/contracts/type/Amount.sol +135 -0
- package/contracts/{types → type}/Blocknumber.sol +26 -3
- package/contracts/{types → type}/ClaimId.sol +25 -2
- package/contracts/{types → type}/Fee.sol +33 -24
- package/contracts/{types → type}/NftId.sol +15 -16
- package/contracts/{types → type}/NftIdSet.sol +2 -2
- package/contracts/type/ObjectType.sol +275 -0
- package/contracts/{types → type}/PayoutId.sol +33 -5
- package/contracts/{types → type}/Referral.sol +2 -1
- package/contracts/type/RequestId.sol +75 -0
- package/contracts/{types → type}/RiskId.sol +16 -2
- package/contracts/type/RoleId.sol +174 -0
- package/contracts/type/Seconds.sol +101 -0
- package/contracts/type/Selector.sol +102 -0
- package/contracts/{types → type}/StateId.sol +34 -4
- package/contracts/type/String.sol +53 -0
- package/contracts/{types → type}/Timestamp.sol +21 -2
- package/contracts/{types → type}/UFixed.sol +34 -9
- package/contracts/{types → type}/Version.sol +4 -2
- package/contracts/{shared → upgradeability}/IVersionable.sol +1 -1
- package/contracts/{shared → upgradeability}/ProxyManager.sol +92 -30
- package/contracts/{shared → upgradeability}/UpgradableProxyWithAdmin.sol +1 -3
- package/contracts/{shared → upgradeability}/Versionable.sol +3 -3
- package/package.json +8 -5
- package/artifacts/contracts/components/Component.sol/Component.dbg.json +0 -4
- package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +0 -4
- package/artifacts/contracts/components/IComponent.sol/IComponent.dbg.json +0 -4
- package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +0 -4
- package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +0 -4
- package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +0 -4
- package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +0 -4
- package/artifacts/contracts/components/Product.sol/Product.dbg.json +0 -4
- package/artifacts/contracts/instance/BundleManager.sol/BundleManager.dbg.json +0 -4
- package/artifacts/contracts/instance/BundleManager.sol/BundleManager.json +0 -783
- package/artifacts/contracts/instance/Cloneable.sol/Cloneable.dbg.json +0 -4
- package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +0 -4
- package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +0 -984
- package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.dbg.json +0 -4
- package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.json +0 -261
- package/artifacts/contracts/instance/base/ComponentService.sol/ComponentService.dbg.json +0 -4
- package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +0 -4
- package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.dbg.json +0 -4
- package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +0 -4
- package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.json +0 -532
- package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +0 -4
- package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +0 -194
- package/artifacts/contracts/instance/module/ISetup.sol/ISetup.dbg.json +0 -4
- package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.dbg.json +0 -4
- package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.json +0 -10
- package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.dbg.json +0 -4
- package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.json +0 -968
- package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +0 -4
- package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.json +0 -665
- package/artifacts/contracts/instance/service/BundleService.sol/BundleService.dbg.json +0 -4
- package/artifacts/contracts/instance/service/BundleService.sol/BundleService.json +0 -1093
- package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.dbg.json +0 -4
- package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.json +0 -661
- package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.dbg.json +0 -4
- package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.json +0 -754
- package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +0 -4
- package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.json +0 -637
- package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +0 -4
- package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +0 -1724
- package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +0 -4
- package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.json +0 -801
- package/artifacts/contracts/instance/service/IApplicationService.sol/IApplicationService.dbg.json +0 -4
- package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.dbg.json +0 -4
- package/artifacts/contracts/instance/service/IClaimService.sol/IClaimService.dbg.json +0 -4
- package/artifacts/contracts/instance/service/IClaimService.sol/IClaimService.json +0 -409
- package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +0 -4
- package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.dbg.json +0 -4
- package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +0 -4
- package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +0 -4
- package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.dbg.json +0 -4
- package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.json +0 -1021
- package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +0 -4
- package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.json +0 -689
- package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +0 -4
- package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +0 -816
- package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.dbg.json +0 -4
- package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.json +0 -653
- package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +0 -4
- package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +0 -777
- package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.dbg.json +0 -4
- package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.json +0 -649
- package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.dbg.json +0 -4
- package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.json +0 -285
- package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.dbg.json +0 -4
- package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.json +0 -547
- package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.dbg.json +0 -4
- package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.json +0 -107
- package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +0 -4
- package/artifacts/contracts/shared/ERC165.sol/ERC165.json +0 -73
- package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +0 -4
- package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +0 -4
- package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +0 -582
- package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +0 -4
- package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +0 -129
- package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +0 -4
- package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +0 -4
- package/artifacts/contracts/test/TestFee.sol/TestFee.json +0 -119
- package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +0 -4
- package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +0 -383
- package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +0 -4
- package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +0 -116
- package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +0 -4
- package/artifacts/contracts/test/TestService.sol/TestService.json +0 -521
- package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +0 -4
- package/artifacts/contracts/test/TestToken.sol/TestUsdc.json +0 -376
- package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +0 -4
- package/artifacts/contracts/test/TestVersion.sol/TestVersion.json +0 -218
- package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +0 -4
- package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +0 -104
- package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +0 -4
- package/artifacts/contracts/test/Usdc.sol/USDC.json +0 -376
- package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +0 -4
- package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.json +0 -10
- package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +0 -4
- package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.json +0 -174
- package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +0 -4
- package/artifacts/contracts/types/ChainId.sol/ChainIdLib.json +0 -10
- package/artifacts/contracts/types/ClaimId.sol/ClaimIdLib.dbg.json +0 -4
- package/artifacts/contracts/types/ClaimId.sol/ClaimIdLib.json +0 -100
- package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.dbg.json +0 -4
- package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.json +0 -104
- package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +0 -4
- package/artifacts/contracts/types/Fee.sol/FeeLib.json +0 -257
- package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +0 -4
- package/artifacts/contracts/types/Key32.sol/Key32Lib.json +0 -125
- package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +0 -4
- package/artifacts/contracts/types/NftId.sol/NftIdLib.json +0 -166
- package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +0 -4
- package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.json +0 -33
- package/artifacts/contracts/types/NumberId.sol/NumberIdLib.dbg.json +0 -4
- package/artifacts/contracts/types/NumberId.sol/NumberIdLib.json +0 -100
- package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +0 -4
- package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.json +0 -92
- package/artifacts/contracts/types/PayoutId.sol/PayoutIdLib.dbg.json +0 -4
- package/artifacts/contracts/types/PayoutId.sol/PayoutIdLib.json +0 -100
- package/artifacts/contracts/types/Referral.sol/ReferralLib.dbg.json +0 -4
- package/artifacts/contracts/types/Referral.sol/ReferralLib.json +0 -142
- package/artifacts/contracts/types/RiskId.sol/RiskIdLib.dbg.json +0 -4
- package/artifacts/contracts/types/RiskId.sol/RiskIdLib.json +0 -86
- package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +0 -4
- package/artifacts/contracts/types/RoleId.sol/RoleIdLib.json +0 -156
- package/artifacts/contracts/types/Seconds.sol/SecondsLib.dbg.json +0 -4
- package/artifacts/contracts/types/Seconds.sol/SecondsLib.json +0 -124
- package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +0 -4
- package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +0 -4
- package/artifacts/contracts/types/Timestamp.sol/TimestampLib.json +0 -267
- package/artifacts/contracts/types/UFixed.sol/MathLib.dbg.json +0 -4
- package/artifacts/contracts/types/UFixed.sol/MathLib.json +0 -10
- package/artifacts/contracts/types/UFixed.sol/UFixedLib.dbg.json +0 -4
- package/artifacts/contracts/types/UFixed.sol/UFixedLib.json +0 -479
- package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +0 -4
- package/artifacts/contracts/types/Version.sol/VersionLib.json +0 -177
- package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +0 -4
- package/artifacts/contracts/types/Version.sol/VersionPartLib.json +0 -49
- package/contracts/components/Component.sol +0 -241
- package/contracts/components/IComponent.sol +0 -74
- package/contracts/components/IDistributionComponent.sol +0 -71
- package/contracts/components/IPoolComponent.sol +0 -113
- package/contracts/components/IProductComponent.sol +0 -40
- package/contracts/components/Pool.sol +0 -299
- package/contracts/components/Product.sol +0 -293
- package/contracts/instance/InstanceAccessManager.sol +0 -297
- package/contracts/instance/base/ComponentService.sol +0 -134
- package/contracts/instance/base/KeyValueStore.sol +0 -175
- package/contracts/instance/base/Lifecycle.sol +0 -109
- package/contracts/instance/module/ISetup.sol +0 -33
- package/contracts/instance/module/ITreasury.sol +0 -23
- package/contracts/instance/service/ApplicationService.sol +0 -350
- package/contracts/instance/service/BundleService.sol +0 -336
- package/contracts/instance/service/BundleServiceManager.sol +0 -51
- package/contracts/instance/service/ClaimService.sol +0 -151
- package/contracts/instance/service/DistributionService.sol +0 -450
- package/contracts/instance/service/DistributionServiceManager.sol +0 -51
- package/contracts/instance/service/IBundleService.sol +0 -62
- package/contracts/instance/service/IClaimService.sol +0 -61
- package/contracts/instance/service/IPolicyService.sol +0 -72
- package/contracts/instance/service/IPoolService.sol +0 -35
- package/contracts/instance/service/IProductService.sol +0 -40
- package/contracts/instance/service/PolicyService.sol +0 -403
- package/contracts/instance/service/PolicyServiceManager.sol +0 -54
- package/contracts/instance/service/PoolService.sol +0 -163
- package/contracts/instance/service/PoolServiceManager.sol +0 -51
- package/contracts/instance/service/ProductService.sol +0 -233
- package/contracts/instance/service/ProductServiceManager.sol +0 -54
- package/contracts/registry/RegistryAccessManager.sol +0 -216
- package/contracts/registry/ReleaseManager.sol +0 -322
- package/contracts/shared/ContractDeployerLib.sol +0 -72
- package/contracts/test/TestFee.sol +0 -25
- package/contracts/test/TestRegisterable.sol +0 -18
- package/contracts/test/TestRoleId.sol +0 -14
- package/contracts/test/TestService.sol +0 -25
- package/contracts/test/TestToken.sol +0 -26
- package/contracts/test/TestVersion.sol +0 -44
- package/contracts/test/TestVersionable.sol +0 -17
- package/contracts/types/ChainId.sol +0 -38
- package/contracts/types/NumberId.sol +0 -52
- package/contracts/types/ObjectType.sol +0 -157
- package/contracts/types/RoleId.sol +0 -95
- package/contracts/types/Seconds.sol +0 -54
- /package/contracts/{types → type}/DistributorType.sol +0 -0
- /package/contracts/{types → type}/Key32.sol +0 -0
@@ -0,0 +1,588 @@
|
|
1
|
+
{
|
2
|
+
"_format": "hh-sol-artifact-1",
|
3
|
+
"contractName": "RiskService",
|
4
|
+
"sourceName": "contracts/product/RiskService.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": "componentNftId",
|
49
|
+
"type": "uint96"
|
50
|
+
}
|
51
|
+
],
|
52
|
+
"name": "ErrorComponentVerifyingServiceComponentIsLocked",
|
53
|
+
"type": "error"
|
54
|
+
},
|
55
|
+
{
|
56
|
+
"inputs": [
|
57
|
+
{
|
58
|
+
"internalType": "NftId",
|
59
|
+
"name": "componentNftId",
|
60
|
+
"type": "uint96"
|
61
|
+
},
|
62
|
+
{
|
63
|
+
"internalType": "ObjectType",
|
64
|
+
"name": "expectedType",
|
65
|
+
"type": "uint8"
|
66
|
+
},
|
67
|
+
{
|
68
|
+
"internalType": "ObjectType",
|
69
|
+
"name": "actualType",
|
70
|
+
"type": "uint8"
|
71
|
+
}
|
72
|
+
],
|
73
|
+
"name": "ErrorComponentVerifyingServiceComponentTypeInvalid",
|
74
|
+
"type": "error"
|
75
|
+
},
|
76
|
+
{
|
77
|
+
"inputs": [
|
78
|
+
{
|
79
|
+
"internalType": "NftId",
|
80
|
+
"name": "nftId",
|
81
|
+
"type": "uint96"
|
82
|
+
}
|
83
|
+
],
|
84
|
+
"name": "ErrorNftOwnableAlreadyLinked",
|
85
|
+
"type": "error"
|
86
|
+
},
|
87
|
+
{
|
88
|
+
"inputs": [
|
89
|
+
{
|
90
|
+
"internalType": "address",
|
91
|
+
"name": "contractAddress",
|
92
|
+
"type": "address"
|
93
|
+
}
|
94
|
+
],
|
95
|
+
"name": "ErrorNftOwnableContractNotRegistered",
|
96
|
+
"type": "error"
|
97
|
+
},
|
98
|
+
{
|
99
|
+
"inputs": [],
|
100
|
+
"name": "ErrorNftOwnableInitialOwnerZero",
|
101
|
+
"type": "error"
|
102
|
+
},
|
103
|
+
{
|
104
|
+
"inputs": [
|
105
|
+
{
|
106
|
+
"internalType": "address",
|
107
|
+
"name": "account",
|
108
|
+
"type": "address"
|
109
|
+
}
|
110
|
+
],
|
111
|
+
"name": "ErrorNftOwnableNotOwner",
|
112
|
+
"type": "error"
|
113
|
+
},
|
114
|
+
{
|
115
|
+
"inputs": [
|
116
|
+
{
|
117
|
+
"internalType": "address",
|
118
|
+
"name": "registryAddress",
|
119
|
+
"type": "address"
|
120
|
+
}
|
121
|
+
],
|
122
|
+
"name": "ErrorNotRegistry",
|
123
|
+
"type": "error"
|
124
|
+
},
|
125
|
+
{
|
126
|
+
"inputs": [],
|
127
|
+
"name": "ErrorServiceNotImplemented",
|
128
|
+
"type": "error"
|
129
|
+
},
|
130
|
+
{
|
131
|
+
"inputs": [],
|
132
|
+
"name": "InvalidInitialization",
|
133
|
+
"type": "error"
|
134
|
+
},
|
135
|
+
{
|
136
|
+
"inputs": [],
|
137
|
+
"name": "NotInitializing",
|
138
|
+
"type": "error"
|
139
|
+
},
|
140
|
+
{
|
141
|
+
"inputs": [],
|
142
|
+
"name": "ReentrancyGuardReentrantCall",
|
143
|
+
"type": "error"
|
144
|
+
},
|
145
|
+
{
|
146
|
+
"anonymous": false,
|
147
|
+
"inputs": [
|
148
|
+
{
|
149
|
+
"indexed": false,
|
150
|
+
"internalType": "address",
|
151
|
+
"name": "authority",
|
152
|
+
"type": "address"
|
153
|
+
}
|
154
|
+
],
|
155
|
+
"name": "AuthorityUpdated",
|
156
|
+
"type": "event"
|
157
|
+
},
|
158
|
+
{
|
159
|
+
"anonymous": false,
|
160
|
+
"inputs": [
|
161
|
+
{
|
162
|
+
"indexed": false,
|
163
|
+
"internalType": "uint64",
|
164
|
+
"name": "version",
|
165
|
+
"type": "uint64"
|
166
|
+
}
|
167
|
+
],
|
168
|
+
"name": "Initialized",
|
169
|
+
"type": "event"
|
170
|
+
},
|
171
|
+
{
|
172
|
+
"inputs": [],
|
173
|
+
"name": "NFT_OWNABLE_STORAGE_LOCATION_V1",
|
174
|
+
"outputs": [
|
175
|
+
{
|
176
|
+
"internalType": "bytes32",
|
177
|
+
"name": "",
|
178
|
+
"type": "bytes32"
|
179
|
+
}
|
180
|
+
],
|
181
|
+
"stateMutability": "view",
|
182
|
+
"type": "function"
|
183
|
+
},
|
184
|
+
{
|
185
|
+
"inputs": [],
|
186
|
+
"name": "REGISTERABLE_LOCATION_V1",
|
187
|
+
"outputs": [
|
188
|
+
{
|
189
|
+
"internalType": "bytes32",
|
190
|
+
"name": "",
|
191
|
+
"type": "bytes32"
|
192
|
+
}
|
193
|
+
],
|
194
|
+
"stateMutability": "view",
|
195
|
+
"type": "function"
|
196
|
+
},
|
197
|
+
{
|
198
|
+
"inputs": [],
|
199
|
+
"name": "authority",
|
200
|
+
"outputs": [
|
201
|
+
{
|
202
|
+
"internalType": "address",
|
203
|
+
"name": "",
|
204
|
+
"type": "address"
|
205
|
+
}
|
206
|
+
],
|
207
|
+
"stateMutability": "view",
|
208
|
+
"type": "function"
|
209
|
+
},
|
210
|
+
{
|
211
|
+
"inputs": [
|
212
|
+
{
|
213
|
+
"internalType": "RiskId",
|
214
|
+
"name": "riskId",
|
215
|
+
"type": "bytes8"
|
216
|
+
},
|
217
|
+
{
|
218
|
+
"internalType": "bytes",
|
219
|
+
"name": "data",
|
220
|
+
"type": "bytes"
|
221
|
+
}
|
222
|
+
],
|
223
|
+
"name": "createRisk",
|
224
|
+
"outputs": [],
|
225
|
+
"stateMutability": "nonpayable",
|
226
|
+
"type": "function"
|
227
|
+
},
|
228
|
+
{
|
229
|
+
"inputs": [],
|
230
|
+
"name": "getDomain",
|
231
|
+
"outputs": [
|
232
|
+
{
|
233
|
+
"internalType": "ObjectType",
|
234
|
+
"name": "serviceDomain",
|
235
|
+
"type": "uint8"
|
236
|
+
}
|
237
|
+
],
|
238
|
+
"stateMutability": "pure",
|
239
|
+
"type": "function"
|
240
|
+
},
|
241
|
+
{
|
242
|
+
"inputs": [],
|
243
|
+
"name": "getInitialInfo",
|
244
|
+
"outputs": [
|
245
|
+
{
|
246
|
+
"components": [
|
247
|
+
{
|
248
|
+
"internalType": "NftId",
|
249
|
+
"name": "nftId",
|
250
|
+
"type": "uint96"
|
251
|
+
},
|
252
|
+
{
|
253
|
+
"internalType": "NftId",
|
254
|
+
"name": "parentNftId",
|
255
|
+
"type": "uint96"
|
256
|
+
},
|
257
|
+
{
|
258
|
+
"internalType": "ObjectType",
|
259
|
+
"name": "objectType",
|
260
|
+
"type": "uint8"
|
261
|
+
},
|
262
|
+
{
|
263
|
+
"internalType": "bool",
|
264
|
+
"name": "isInterceptor",
|
265
|
+
"type": "bool"
|
266
|
+
},
|
267
|
+
{
|
268
|
+
"internalType": "address",
|
269
|
+
"name": "objectAddress",
|
270
|
+
"type": "address"
|
271
|
+
},
|
272
|
+
{
|
273
|
+
"internalType": "address",
|
274
|
+
"name": "initialOwner",
|
275
|
+
"type": "address"
|
276
|
+
},
|
277
|
+
{
|
278
|
+
"internalType": "bytes",
|
279
|
+
"name": "data",
|
280
|
+
"type": "bytes"
|
281
|
+
}
|
282
|
+
],
|
283
|
+
"internalType": "struct IRegistry.ObjectInfo",
|
284
|
+
"name": "info",
|
285
|
+
"type": "tuple"
|
286
|
+
}
|
287
|
+
],
|
288
|
+
"stateMutability": "view",
|
289
|
+
"type": "function"
|
290
|
+
},
|
291
|
+
{
|
292
|
+
"inputs": [],
|
293
|
+
"name": "getNftId",
|
294
|
+
"outputs": [
|
295
|
+
{
|
296
|
+
"internalType": "NftId",
|
297
|
+
"name": "",
|
298
|
+
"type": "uint96"
|
299
|
+
}
|
300
|
+
],
|
301
|
+
"stateMutability": "view",
|
302
|
+
"type": "function"
|
303
|
+
},
|
304
|
+
{
|
305
|
+
"inputs": [],
|
306
|
+
"name": "getOwner",
|
307
|
+
"outputs": [
|
308
|
+
{
|
309
|
+
"internalType": "address",
|
310
|
+
"name": "",
|
311
|
+
"type": "address"
|
312
|
+
}
|
313
|
+
],
|
314
|
+
"stateMutability": "view",
|
315
|
+
"type": "function"
|
316
|
+
},
|
317
|
+
{
|
318
|
+
"inputs": [],
|
319
|
+
"name": "getRegistry",
|
320
|
+
"outputs": [
|
321
|
+
{
|
322
|
+
"internalType": "contract IRegistry",
|
323
|
+
"name": "",
|
324
|
+
"type": "address"
|
325
|
+
}
|
326
|
+
],
|
327
|
+
"stateMutability": "view",
|
328
|
+
"type": "function"
|
329
|
+
},
|
330
|
+
{
|
331
|
+
"inputs": [],
|
332
|
+
"name": "getRoleId",
|
333
|
+
"outputs": [
|
334
|
+
{
|
335
|
+
"internalType": "RoleId",
|
336
|
+
"name": "serviceRoleId",
|
337
|
+
"type": "uint64"
|
338
|
+
}
|
339
|
+
],
|
340
|
+
"stateMutability": "pure",
|
341
|
+
"type": "function"
|
342
|
+
},
|
343
|
+
{
|
344
|
+
"inputs": [],
|
345
|
+
"name": "getVersion",
|
346
|
+
"outputs": [
|
347
|
+
{
|
348
|
+
"internalType": "Version",
|
349
|
+
"name": "",
|
350
|
+
"type": "uint24"
|
351
|
+
}
|
352
|
+
],
|
353
|
+
"stateMutability": "pure",
|
354
|
+
"type": "function"
|
355
|
+
},
|
356
|
+
{
|
357
|
+
"inputs": [
|
358
|
+
{
|
359
|
+
"internalType": "address",
|
360
|
+
"name": "activatedBy",
|
361
|
+
"type": "address"
|
362
|
+
},
|
363
|
+
{
|
364
|
+
"internalType": "bytes",
|
365
|
+
"name": "data",
|
366
|
+
"type": "bytes"
|
367
|
+
}
|
368
|
+
],
|
369
|
+
"name": "initializeVersionable",
|
370
|
+
"outputs": [],
|
371
|
+
"stateMutability": "nonpayable",
|
372
|
+
"type": "function"
|
373
|
+
},
|
374
|
+
{
|
375
|
+
"inputs": [],
|
376
|
+
"name": "isConsumingScheduledOp",
|
377
|
+
"outputs": [
|
378
|
+
{
|
379
|
+
"internalType": "bytes4",
|
380
|
+
"name": "",
|
381
|
+
"type": "bytes4"
|
382
|
+
}
|
383
|
+
],
|
384
|
+
"stateMutability": "view",
|
385
|
+
"type": "function"
|
386
|
+
},
|
387
|
+
{
|
388
|
+
"inputs": [],
|
389
|
+
"name": "linkToRegisteredNftId",
|
390
|
+
"outputs": [
|
391
|
+
{
|
392
|
+
"internalType": "NftId",
|
393
|
+
"name": "nftId",
|
394
|
+
"type": "uint96"
|
395
|
+
}
|
396
|
+
],
|
397
|
+
"stateMutability": "nonpayable",
|
398
|
+
"type": "function"
|
399
|
+
},
|
400
|
+
{
|
401
|
+
"inputs": [
|
402
|
+
{
|
403
|
+
"internalType": "address",
|
404
|
+
"name": "newAuthority",
|
405
|
+
"type": "address"
|
406
|
+
}
|
407
|
+
],
|
408
|
+
"name": "setAuthority",
|
409
|
+
"outputs": [],
|
410
|
+
"stateMutability": "nonpayable",
|
411
|
+
"type": "function"
|
412
|
+
},
|
413
|
+
{
|
414
|
+
"inputs": [
|
415
|
+
{
|
416
|
+
"internalType": "bytes4",
|
417
|
+
"name": "interfaceId",
|
418
|
+
"type": "bytes4"
|
419
|
+
}
|
420
|
+
],
|
421
|
+
"name": "supportsInterface",
|
422
|
+
"outputs": [
|
423
|
+
{
|
424
|
+
"internalType": "bool",
|
425
|
+
"name": "",
|
426
|
+
"type": "bool"
|
427
|
+
}
|
428
|
+
],
|
429
|
+
"stateMutability": "view",
|
430
|
+
"type": "function"
|
431
|
+
},
|
432
|
+
{
|
433
|
+
"inputs": [
|
434
|
+
{
|
435
|
+
"internalType": "RiskId",
|
436
|
+
"name": "riskId",
|
437
|
+
"type": "bytes8"
|
438
|
+
},
|
439
|
+
{
|
440
|
+
"internalType": "bytes",
|
441
|
+
"name": "data",
|
442
|
+
"type": "bytes"
|
443
|
+
}
|
444
|
+
],
|
445
|
+
"name": "updateRisk",
|
446
|
+
"outputs": [],
|
447
|
+
"stateMutability": "nonpayable",
|
448
|
+
"type": "function"
|
449
|
+
},
|
450
|
+
{
|
451
|
+
"inputs": [
|
452
|
+
{
|
453
|
+
"internalType": "RiskId",
|
454
|
+
"name": "riskId",
|
455
|
+
"type": "bytes8"
|
456
|
+
},
|
457
|
+
{
|
458
|
+
"internalType": "StateId",
|
459
|
+
"name": "state",
|
460
|
+
"type": "uint8"
|
461
|
+
}
|
462
|
+
],
|
463
|
+
"name": "updateRiskState",
|
464
|
+
"outputs": [],
|
465
|
+
"stateMutability": "nonpayable",
|
466
|
+
"type": "function"
|
467
|
+
},
|
468
|
+
{
|
469
|
+
"inputs": [
|
470
|
+
{
|
471
|
+
"internalType": "bytes",
|
472
|
+
"name": "data",
|
473
|
+
"type": "bytes"
|
474
|
+
}
|
475
|
+
],
|
476
|
+
"name": "upgradeVersionable",
|
477
|
+
"outputs": [],
|
478
|
+
"stateMutability": "nonpayable",
|
479
|
+
"type": "function"
|
480
|
+
}
|
481
|
+
],
|
482
|
+
"bytecode": "0x6080604052348015600e575f80fd5b5060156019565b60c9565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000900460ff161560685760405163f92ee8a960e01b815260040160405180910390fd5b80546001600160401b039081161460c65780546001600160401b0319166001600160401b0390811782556040519081527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50565b61245a806100d65f395ff3fe608060405234801561000f575f80fd5b506004361061011c575f3560e01c8063644c45e0116100a95780638f997f6d1161006e5780638f997f6d146102b25780638fb36037146102c5578063ada9652e146102e6578063b68d1809146102fa578063bf7e214f14610309575f80fd5b8063644c45e0146102475780636c741e78146102645780637a9e5e4b146102845780637cef484214610297578063893d20e8146102aa575f80fd5b8063138461e0116100ef578063138461e0146101a75780631eff4b22146101c7578063329d6e74146101fc57806349bb9e4b1461020f5780635ab1bd5314610222575f80fd5b806301ffc9a714610120578063095e2b72146101615780630d8e6e2c146101765780630fec111c14610192575b5f80fd5b61014c61012e366004611c36565b6001600160e01b0319165f9081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b61017461016f366004611d64565b610326565b005b61017e610419565b60405162ffffff9091168152602001610158565b61019a6104a0565b6040516101589190611ddc565b6101af61062c565b6040516001600160601b039091168152602001610158565b6101ee7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610158565b61017461020a366004611e70565b610636565b61017461021d366004611eb5565b610780565b6001546001600160a01b03165b6040516001600160a01b039091168152602001610158565b5f805160206123c5833981519152546001600160601b03166101af565b61026c61087c565b6040516001600160401b039091168152602001610158565b610174610292366004611ed1565b610972565b6101746102a5366004611efa565b610a13565b61022f610ae7565b6101746102c0366004611d64565b610c18565b6102cd610d9a565b6040516001600160e01b03199091168152602001610158565b6101ee5f805160206123c583398151915281565b604051600c8152602001610158565b5f805160206123e5833981519152546001600160a01b031661022f565b5f80610332600c610dcf565b92505091505f6040518060400160405280846001600160601b03168152602001858152509050816001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa158015610394573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906103b89190611f2f565b6001600160a01b0316632f61088a86836040518363ffffffff1660e01b81526004016103e5929190611f71565b5f604051808303815f87803b1580156103fc575f80fd5b505af115801561040e573d5f803e3d5ffd5b505050505050505050565b604051632efe011360e01b8152600360048201525f60248201819052604482018190529073__$8eede297b65ed5a56eb3f84d8232ae93f5$__90632efe011390606401602060405180830381865af4158015610477573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061049b9190611f95565b905090565b6104a8611bf9565b5f7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e0016040528073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af415801561051e573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105429190611fcd565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a00161058a610ae7565b6001600160a01b031681526020018260010180546105a790611fe6565b80601f01602080910402602001604051908101604052809291908181526020018280546105d390611fe6565b801561061e5780601f106105f55761010080835404028352916020019161061e565b820191905f5260205f20905b81548152906001019060200180831161060157829003601f168201915b505050505081525091505090565b5f61049b30610e6b565b73__$8eede297b65ed5a56eb3f84d8232ae93f5$__63a123b37c610658610419565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af4158015610696573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906106ba9190612032565b5f805160206124058339815191528054600160401b900460ff16806106ec575080546001600160401b03808416911610155b1561070a5760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b17815561073483611064565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a1505050565b5f805160206124058339815191528054600160401b810460ff1615906001600160401b03165f811580156107b15750825b90505f826001600160401b031660011480156107cc5750303b155b9050811580156107da575080155b156107f85760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561082257845460ff60401b1916600160401b1785555b61082c878761106c565b831561087357845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15b50505050505050565b5f73__$1d92393fa9ccd763988368ce8a1cb90d26$__63dda777d3600c604051632392b61b60e21b81526003600482015273__$b659da7d8a6d2d32aa6c1e17da23dc2174$__90638e4ad86c90602401602060405180830381865af41580156108e7573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061090b9190612058565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865af415801561094e573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061049b9190612032565b336109915f805160206123e5833981519152546001600160a01b031690565b6001600160a01b0316816001600160a01b0316146109d15760405162d1953b60e31b81526001600160a01b03821660048201526024015b60405180910390fd5b816001600160a01b03163b5f03610a06576040516361798f2f60e11b81526001600160a01b03831660048201526024016109c8565b610a0f826112f1565b5050565b5f610a1e600c610dcf565b92505050806001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa158015610a5e573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a829190611f2f565b604051633e77a42160e11b81526001600160c01b03198516600482015260ff841660248201526001600160a01b039190911690637cef4842906044015f604051808303815f87803b158015610ad5575f80fd5b505af1158015610873573d5f803e3d5ffd5b5f805f805160206123c583398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015610b53573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b779190612082565b15610c02576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015610bd8573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610bfc9190611f2f565b91505090565b54600160601b90046001600160a01b0316919050565b5f610c23600c610dcf565b925050505f816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015610c64573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c889190611f2f565b60405163887b1fa960e01b81526001600160c01b0319861660048201529091505f906001600160a01b0383169063887b1fa9906024015f60405180830381865afa158015610cd8573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052610cff91908101906120f3565b9050838160200181905250826001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa158015610d46573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d6a9190611f2f565b6001600160a01b031663a76ee018868360ff6040518463ffffffff1660e01b81526004016103e59392919061218b565b5f805160206123e583398151915280545f9190600160a01b900460ff16610dc1575f610bfc565b638fb3603760e01b91505090565b5f610dd8611bf9565b5f610deb6001546001600160a01b031690565b604051632f2a35f760e11b81523360048201526001600160a01b039190911690635e546bee90602401602060405180830381865afa158015610e2f573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610e539190611fcd565b9250610e6183856001611351565b9395909450915050565b5f805f805160206123c583398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015610ed7573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610efb9190612082565b15610f275780546040516301ab8b6760e21b81526001600160601b0390911660048201526024016109c8565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038581166004830152919091169063c3c5a54790602401602060405180830381865afa158015610f79573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610f9d9190612082565b610fc55760405163b9304b0d60e01b81526001600160a01b03841660048201526024016109c8565b6001546001600160a01b0316604051632f2a35f760e11b81526001600160a01b0385811660048301529190911690635e546bee90602401602060405180830381865afa158015611017573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061103b9190611fcd565b81546bffffffffffffffffffffffff19166001600160601b039190911690811790915592915050565b61011c6115ee565b5f805160206124058339815191528054600160401b810460ff1615906001600160401b03165f8115801561109d5750825b90505f826001600160401b031660011480156110b85750303b155b9050811580156110c6575080155b156110e45760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561110e57845460ff60401b1916600160401b1785555b5f808780602001905181019061112491906121c2565b9150915061113382828b611626565b61113d600a61176b565b600280546001600160a01b0319166001600160a01b03928316179055600154166001600160a01b031663d39e6043600f611175610419565b60405163c9e66e2960e01b815262ffffff909116600482015273__$8eede297b65ed5a56eb3f84d8232ae93f5$__9063c9e66e2990602401602060405180830381865af41580156111c8573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906111ec9190612058565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa15801561122f573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906112539190611f2f565b600380546001600160a01b0319166001600160a01b039290921691909117905561127d600261176b565b600480546001600160a01b0319166001600160a01b03929092169190911790556112ad63fa281c5d60e01b611872565b5050831561087357845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200161086a565b5f805160206123e583398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b611359611bf9565b5f8061136d6001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03881660048201529091506001600160a01b0382169063a48f42e0906024015f60405180830381865afa1580156113ba573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526113e191908101906121ef565b925060ff8516600b1461143f57604083015160ff86811691161461143a57604080840151905163b83d92cb60e01b81526001600160601b038816600482015260ff808816602483015290911660448201526064016109c8565b6114db565b61145a836040015161144f600c90565b60ff90811691161490565b806114705750611470836040015161144f600f90565b806114865750611486836040015161144f600e90565b8061149c575061149c836040015161144f600d90565b6114db57604080840151905163b83d92cb60e01b81526001600160601b038816600482015260ff808816602483015290911660448201526064016109c8565b6114e8836020015161189e565b915083156115e557816001600160a01b031663311adb686040518163ffffffff1660e01b8152600401602060405180830381865afa15801561152c573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906115509190611f2f565b6080840151604051629b7b3560e61b81526001600160a01b0391821660048201529116906326decd4090602401602060405180830381865afa158015611598573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906115bc9190612082565b156115e557604051637d71120960e11b81526001600160601b03871660048201526024016109c8565b50935093915050565b5f8051602061240583398151915254600160401b900460ff1661162457604051631afcd79f60e31b815260040160405180910390fd5b565b61162e6115ee565b61163661192e565b6001600160a01b038216156116535761164e8261193e565b6116ca565b5f61165e600261176b565b90506116c8816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561169f573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906116c39190611f2f565b61193e565b505b61174683846001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa15801561170a573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061172e9190611fcd565b60085f8560405180602001604052805f815250611952565b611756634a531f3360e01b611872565b61176663daf9067160e01b611872565b505050565b5f61177e6001546001600160a01b031690565b604051632392b61b60e21b8152600360048201526001600160a01b03919091169063d39e604390849073__$b659da7d8a6d2d32aa6c1e17da23dc2174$__90638e4ad86c90602401602060405180830381865af41580156117e1573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906118059190612058565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015611848573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061186c9190611f2f565b92915050565b61187a6115ee565b6001600160e01b0319165f908152602081905260409020805460ff19166001179055565b5f6118b16001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03841660048201526001600160a01b03919091169063a48f42e0906024015f60405180830381865afa1580156118fd573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261192491908101906121ef565b6080015192915050565b6119366115ee565b6116246119f7565b6119466115ee565b61194f81611a25565b50565b61195a6115ee565b6119648287611a36565b7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0387166cffffffffffffffffffffffffff1990911617600160601b60ff8716021760ff60681b1916600160681b851515021781557f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa3016119ed838261230a565b5050505050505050565b6119ff6115ee565b60017f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f0055565b611a2d6115ee565b61194f816112f1565b611a3e6115ee565b611a4781611aac565b611a4f611bb4565b6001600160a01b038216611a765760405163f17ef42d60e01b815260040160405180910390fd5b505f805160206123c583398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b611ab46115ee565b806001600160a01b03163b5f03611ae95760405163fdeac91f60e01b81526001600160a01b03821660048201526024016109c8565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b8152632f6da6f960e01b60048201526301ffc9a790602401602060405180830381865afa925050508015611b63575060408051601f3d908101601f19168201909252611b6091810190612082565b60015b611b8b5760405163fdeac91f60e01b81526001600160a01b03821660048201526024016109c8565b80610a0f5760405163fdeac91f60e01b81526001600160a01b03831660048201526024016109c8565b611bbc6115ee565b6301ffc9a760e01b5f9081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b6040805160e0810182525f8082526020820181905291810182905260608082018390526080820183905260a082019290925260c081019190915290565b5f60208284031215611c46575f80fd5b81356001600160e01b031981168114611c5d575f80fd5b9392505050565b80356001600160c01b031981168114611c7b575f80fd5b919050565b634e487b7160e01b5f52604160045260245ffd5b60405160e081016001600160401b0381118282101715611cb657611cb6611c80565b60405290565b604051601f8201601f191681016001600160401b0381118282101715611ce457611ce4611c80565b604052919050565b5f6001600160401b03821115611d0457611d04611c80565b50601f01601f191660200190565b5f82601f830112611d21575f80fd5b8135611d34611d2f82611cec565b611cbc565b818152846020838601011115611d48575f80fd5b816020850160208301375f918101602001919091529392505050565b5f8060408385031215611d75575f80fd5b611d7e83611c64565b915060208301356001600160401b03811115611d98575f80fd5b611da485828601611d12565b9150509250929050565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081526001600160601b0382511660208201526001600160601b03602083015116604082015260ff60408301511660608201525f6060830151611e24608084018215159052565b5060808301516001600160a01b03811660a08401525060a08301516001600160a01b03811660c08401525060c083015160e080840152611e68610100840182611dae565b949350505050565b5f60208284031215611e80575f80fd5b81356001600160401b03811115611e95575f80fd5b611e6884828501611d12565b6001600160a01b038116811461194f575f80fd5b5f8060408385031215611ec6575f80fd5b8235611d7e81611ea1565b5f60208284031215611ee1575f80fd5b8135611c5d81611ea1565b60ff8116811461194f575f80fd5b5f8060408385031215611f0b575f80fd5b611f1483611c64565b91506020830135611f2481611eec565b809150509250929050565b5f60208284031215611f3f575f80fd5b8151611c5d81611ea1565b6001600160601b0381511682525f602082015160406020850152611e686040850182611dae565b6001600160401b0360c01b83168152604060208201525f611e686040830184611f4a565b5f60208284031215611fa5575f80fd5b815162ffffff81168114611c5d575f80fd5b80516001600160601b0381168114611c7b575f80fd5b5f60208284031215611fdd575f80fd5b611c5d82611fb7565b600181811c90821680611ffa57607f821691505b60208210810361201857634e487b7160e01b5f52602260045260245ffd5b50919050565b6001600160401b038116811461194f575f80fd5b5f60208284031215612042575f80fd5b8151611c5d8161201e565b8051611c7b81611eec565b5f60208284031215612068575f80fd5b8151611c5d81611eec565b80518015158114611c7b575f80fd5b5f60208284031215612092575f80fd5b611c5d82612073565b8051611c7b81611ea1565b5f82601f8301126120b5575f80fd5b81516120c3611d2f82611cec565b8181528460208386010111156120d7575f80fd5b8160208501602083015e5f918101602001919091529392505050565b5f60208284031215612103575f80fd5b81516001600160401b03811115612118575f80fd5b820160408185031215612129575f80fd5b604080519081016001600160401b038111828210171561214b5761214b611c80565b60405261215782611fb7565b815260208201516001600160401b03811115612171575f80fd5b61217d868285016120a6565b602083015250949350505050565b6001600160401b0360c01b84168152606060208201525f6121af6060830185611f4a565b905060ff83166040830152949350505050565b5f80604083850312156121d3575f80fd5b82516121de81611ea1565b6020840151909250611f2481611ea1565b5f602082840312156121ff575f80fd5b81516001600160401b03811115612214575f80fd5b820160e08185031215612225575f80fd5b61222d611c94565b61223682611fb7565b815261224460208301611fb7565b60208201526122556040830161204d565b604082015261226660608301612073565b60608201526122776080830161209b565b608082015261228860a0830161209b565b60a082015260c08201516001600160401b038111156122a5575f80fd5b6122b1868285016120a6565b60c083015250949350505050565b601f82111561176657805f5260205f20601f840160051c810160208510156122e45750805b601f840160051c820191505b81811015612303575f81556001016122f0565b5050505050565b81516001600160401b0381111561232357612323611c80565b612337816123318454611fe6565b846122bf565b6020601f821160018114612369575f83156123525750848201515b5f19600385901b1c1916600184901b178455612303565b5f84815260208120601f198516915b828110156123985787850151825560209485019460019092019101612378565b50848210156123b557868401515f19600387901b60f8161c191681555b50505050600190811b0190555056fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00a2646970667358221220761c84fabc2b1c2463dc8dab38410e0e76daf7bb18ea0aed257989a27855366b64736f6c634300081a0033",
|
483
|
+
"deployedBytecode": "0x608060405234801561000f575f80fd5b506004361061011c575f3560e01c8063644c45e0116100a95780638f997f6d1161006e5780638f997f6d146102b25780638fb36037146102c5578063ada9652e146102e6578063b68d1809146102fa578063bf7e214f14610309575f80fd5b8063644c45e0146102475780636c741e78146102645780637a9e5e4b146102845780637cef484214610297578063893d20e8146102aa575f80fd5b8063138461e0116100ef578063138461e0146101a75780631eff4b22146101c7578063329d6e74146101fc57806349bb9e4b1461020f5780635ab1bd5314610222575f80fd5b806301ffc9a714610120578063095e2b72146101615780630d8e6e2c146101765780630fec111c14610192575b5f80fd5b61014c61012e366004611c36565b6001600160e01b0319165f9081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b61017461016f366004611d64565b610326565b005b61017e610419565b60405162ffffff9091168152602001610158565b61019a6104a0565b6040516101589190611ddc565b6101af61062c565b6040516001600160601b039091168152602001610158565b6101ee7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610158565b61017461020a366004611e70565b610636565b61017461021d366004611eb5565b610780565b6001546001600160a01b03165b6040516001600160a01b039091168152602001610158565b5f805160206123c5833981519152546001600160601b03166101af565b61026c61087c565b6040516001600160401b039091168152602001610158565b610174610292366004611ed1565b610972565b6101746102a5366004611efa565b610a13565b61022f610ae7565b6101746102c0366004611d64565b610c18565b6102cd610d9a565b6040516001600160e01b03199091168152602001610158565b6101ee5f805160206123c583398151915281565b604051600c8152602001610158565b5f805160206123e5833981519152546001600160a01b031661022f565b5f80610332600c610dcf565b92505091505f6040518060400160405280846001600160601b03168152602001858152509050816001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa158015610394573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906103b89190611f2f565b6001600160a01b0316632f61088a86836040518363ffffffff1660e01b81526004016103e5929190611f71565b5f604051808303815f87803b1580156103fc575f80fd5b505af115801561040e573d5f803e3d5ffd5b505050505050505050565b604051632efe011360e01b8152600360048201525f60248201819052604482018190529073__$8eede297b65ed5a56eb3f84d8232ae93f5$__90632efe011390606401602060405180830381865af4158015610477573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061049b9190611f95565b905090565b6104a8611bf9565b5f7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e0016040528073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af415801561051e573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105429190611fcd565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a00161058a610ae7565b6001600160a01b031681526020018260010180546105a790611fe6565b80601f01602080910402602001604051908101604052809291908181526020018280546105d390611fe6565b801561061e5780601f106105f55761010080835404028352916020019161061e565b820191905f5260205f20905b81548152906001019060200180831161060157829003601f168201915b505050505081525091505090565b5f61049b30610e6b565b73__$8eede297b65ed5a56eb3f84d8232ae93f5$__63a123b37c610658610419565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af4158015610696573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906106ba9190612032565b5f805160206124058339815191528054600160401b900460ff16806106ec575080546001600160401b03808416911610155b1561070a5760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b17815561073483611064565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a1505050565b5f805160206124058339815191528054600160401b810460ff1615906001600160401b03165f811580156107b15750825b90505f826001600160401b031660011480156107cc5750303b155b9050811580156107da575080155b156107f85760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561082257845460ff60401b1916600160401b1785555b61082c878761106c565b831561087357845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15b50505050505050565b5f73__$1d92393fa9ccd763988368ce8a1cb90d26$__63dda777d3600c604051632392b61b60e21b81526003600482015273__$b659da7d8a6d2d32aa6c1e17da23dc2174$__90638e4ad86c90602401602060405180830381865af41580156108e7573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061090b9190612058565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865af415801561094e573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061049b9190612032565b336109915f805160206123e5833981519152546001600160a01b031690565b6001600160a01b0316816001600160a01b0316146109d15760405162d1953b60e31b81526001600160a01b03821660048201526024015b60405180910390fd5b816001600160a01b03163b5f03610a06576040516361798f2f60e11b81526001600160a01b03831660048201526024016109c8565b610a0f826112f1565b5050565b5f610a1e600c610dcf565b92505050806001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa158015610a5e573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a829190611f2f565b604051633e77a42160e11b81526001600160c01b03198516600482015260ff841660248201526001600160a01b039190911690637cef4842906044015f604051808303815f87803b158015610ad5575f80fd5b505af1158015610873573d5f803e3d5ffd5b5f805f805160206123c583398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015610b53573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b779190612082565b15610c02576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015610bd8573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610bfc9190611f2f565b91505090565b54600160601b90046001600160a01b0316919050565b5f610c23600c610dcf565b925050505f816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015610c64573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c889190611f2f565b60405163887b1fa960e01b81526001600160c01b0319861660048201529091505f906001600160a01b0383169063887b1fa9906024015f60405180830381865afa158015610cd8573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052610cff91908101906120f3565b9050838160200181905250826001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa158015610d46573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d6a9190611f2f565b6001600160a01b031663a76ee018868360ff6040518463ffffffff1660e01b81526004016103e59392919061218b565b5f805160206123e583398151915280545f9190600160a01b900460ff16610dc1575f610bfc565b638fb3603760e01b91505090565b5f610dd8611bf9565b5f610deb6001546001600160a01b031690565b604051632f2a35f760e11b81523360048201526001600160a01b039190911690635e546bee90602401602060405180830381865afa158015610e2f573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610e539190611fcd565b9250610e6183856001611351565b9395909450915050565b5f805f805160206123c583398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015610ed7573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610efb9190612082565b15610f275780546040516301ab8b6760e21b81526001600160601b0390911660048201526024016109c8565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038581166004830152919091169063c3c5a54790602401602060405180830381865afa158015610f79573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610f9d9190612082565b610fc55760405163b9304b0d60e01b81526001600160a01b03841660048201526024016109c8565b6001546001600160a01b0316604051632f2a35f760e11b81526001600160a01b0385811660048301529190911690635e546bee90602401602060405180830381865afa158015611017573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061103b9190611fcd565b81546bffffffffffffffffffffffff19166001600160601b039190911690811790915592915050565b61011c6115ee565b5f805160206124058339815191528054600160401b810460ff1615906001600160401b03165f8115801561109d5750825b90505f826001600160401b031660011480156110b85750303b155b9050811580156110c6575080155b156110e45760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561110e57845460ff60401b1916600160401b1785555b5f808780602001905181019061112491906121c2565b9150915061113382828b611626565b61113d600a61176b565b600280546001600160a01b0319166001600160a01b03928316179055600154166001600160a01b031663d39e6043600f611175610419565b60405163c9e66e2960e01b815262ffffff909116600482015273__$8eede297b65ed5a56eb3f84d8232ae93f5$__9063c9e66e2990602401602060405180830381865af41580156111c8573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906111ec9190612058565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa15801561122f573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906112539190611f2f565b600380546001600160a01b0319166001600160a01b039290921691909117905561127d600261176b565b600480546001600160a01b0319166001600160a01b03929092169190911790556112ad63fa281c5d60e01b611872565b5050831561087357845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200161086a565b5f805160206123e583398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b611359611bf9565b5f8061136d6001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03881660048201529091506001600160a01b0382169063a48f42e0906024015f60405180830381865afa1580156113ba573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526113e191908101906121ef565b925060ff8516600b1461143f57604083015160ff86811691161461143a57604080840151905163b83d92cb60e01b81526001600160601b038816600482015260ff808816602483015290911660448201526064016109c8565b6114db565b61145a836040015161144f600c90565b60ff90811691161490565b806114705750611470836040015161144f600f90565b806114865750611486836040015161144f600e90565b8061149c575061149c836040015161144f600d90565b6114db57604080840151905163b83d92cb60e01b81526001600160601b038816600482015260ff808816602483015290911660448201526064016109c8565b6114e8836020015161189e565b915083156115e557816001600160a01b031663311adb686040518163ffffffff1660e01b8152600401602060405180830381865afa15801561152c573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906115509190611f2f565b6080840151604051629b7b3560e61b81526001600160a01b0391821660048201529116906326decd4090602401602060405180830381865afa158015611598573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906115bc9190612082565b156115e557604051637d71120960e11b81526001600160601b03871660048201526024016109c8565b50935093915050565b5f8051602061240583398151915254600160401b900460ff1661162457604051631afcd79f60e31b815260040160405180910390fd5b565b61162e6115ee565b61163661192e565b6001600160a01b038216156116535761164e8261193e565b6116ca565b5f61165e600261176b565b90506116c8816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561169f573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906116c39190611f2f565b61193e565b505b61174683846001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa15801561170a573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061172e9190611fcd565b60085f8560405180602001604052805f815250611952565b611756634a531f3360e01b611872565b61176663daf9067160e01b611872565b505050565b5f61177e6001546001600160a01b031690565b604051632392b61b60e21b8152600360048201526001600160a01b03919091169063d39e604390849073__$b659da7d8a6d2d32aa6c1e17da23dc2174$__90638e4ad86c90602401602060405180830381865af41580156117e1573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906118059190612058565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015611848573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061186c9190611f2f565b92915050565b61187a6115ee565b6001600160e01b0319165f908152602081905260409020805460ff19166001179055565b5f6118b16001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03841660048201526001600160a01b03919091169063a48f42e0906024015f60405180830381865afa1580156118fd573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261192491908101906121ef565b6080015192915050565b6119366115ee565b6116246119f7565b6119466115ee565b61194f81611a25565b50565b61195a6115ee565b6119648287611a36565b7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0387166cffffffffffffffffffffffffff1990911617600160601b60ff8716021760ff60681b1916600160681b851515021781557f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa3016119ed838261230a565b5050505050505050565b6119ff6115ee565b60017f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f0055565b611a2d6115ee565b61194f816112f1565b611a3e6115ee565b611a4781611aac565b611a4f611bb4565b6001600160a01b038216611a765760405163f17ef42d60e01b815260040160405180910390fd5b505f805160206123c583398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b611ab46115ee565b806001600160a01b03163b5f03611ae95760405163fdeac91f60e01b81526001600160a01b03821660048201526024016109c8565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b8152632f6da6f960e01b60048201526301ffc9a790602401602060405180830381865afa925050508015611b63575060408051601f3d908101601f19168201909252611b6091810190612082565b60015b611b8b5760405163fdeac91f60e01b81526001600160a01b03821660048201526024016109c8565b80610a0f5760405163fdeac91f60e01b81526001600160a01b03831660048201526024016109c8565b611bbc6115ee565b6301ffc9a760e01b5f9081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b6040805160e0810182525f8082526020820181905291810182905260608082018390526080820183905260a082019290925260c081019190915290565b5f60208284031215611c46575f80fd5b81356001600160e01b031981168114611c5d575f80fd5b9392505050565b80356001600160c01b031981168114611c7b575f80fd5b919050565b634e487b7160e01b5f52604160045260245ffd5b60405160e081016001600160401b0381118282101715611cb657611cb6611c80565b60405290565b604051601f8201601f191681016001600160401b0381118282101715611ce457611ce4611c80565b604052919050565b5f6001600160401b03821115611d0457611d04611c80565b50601f01601f191660200190565b5f82601f830112611d21575f80fd5b8135611d34611d2f82611cec565b611cbc565b818152846020838601011115611d48575f80fd5b816020850160208301375f918101602001919091529392505050565b5f8060408385031215611d75575f80fd5b611d7e83611c64565b915060208301356001600160401b03811115611d98575f80fd5b611da485828601611d12565b9150509250929050565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081526001600160601b0382511660208201526001600160601b03602083015116604082015260ff60408301511660608201525f6060830151611e24608084018215159052565b5060808301516001600160a01b03811660a08401525060a08301516001600160a01b03811660c08401525060c083015160e080840152611e68610100840182611dae565b949350505050565b5f60208284031215611e80575f80fd5b81356001600160401b03811115611e95575f80fd5b611e6884828501611d12565b6001600160a01b038116811461194f575f80fd5b5f8060408385031215611ec6575f80fd5b8235611d7e81611ea1565b5f60208284031215611ee1575f80fd5b8135611c5d81611ea1565b60ff8116811461194f575f80fd5b5f8060408385031215611f0b575f80fd5b611f1483611c64565b91506020830135611f2481611eec565b809150509250929050565b5f60208284031215611f3f575f80fd5b8151611c5d81611ea1565b6001600160601b0381511682525f602082015160406020850152611e686040850182611dae565b6001600160401b0360c01b83168152604060208201525f611e686040830184611f4a565b5f60208284031215611fa5575f80fd5b815162ffffff81168114611c5d575f80fd5b80516001600160601b0381168114611c7b575f80fd5b5f60208284031215611fdd575f80fd5b611c5d82611fb7565b600181811c90821680611ffa57607f821691505b60208210810361201857634e487b7160e01b5f52602260045260245ffd5b50919050565b6001600160401b038116811461194f575f80fd5b5f60208284031215612042575f80fd5b8151611c5d8161201e565b8051611c7b81611eec565b5f60208284031215612068575f80fd5b8151611c5d81611eec565b80518015158114611c7b575f80fd5b5f60208284031215612092575f80fd5b611c5d82612073565b8051611c7b81611ea1565b5f82601f8301126120b5575f80fd5b81516120c3611d2f82611cec565b8181528460208386010111156120d7575f80fd5b8160208501602083015e5f918101602001919091529392505050565b5f60208284031215612103575f80fd5b81516001600160401b03811115612118575f80fd5b820160408185031215612129575f80fd5b604080519081016001600160401b038111828210171561214b5761214b611c80565b60405261215782611fb7565b815260208201516001600160401b03811115612171575f80fd5b61217d868285016120a6565b602083015250949350505050565b6001600160401b0360c01b84168152606060208201525f6121af6060830185611f4a565b905060ff83166040830152949350505050565b5f80604083850312156121d3575f80fd5b82516121de81611ea1565b6020840151909250611f2481611ea1565b5f602082840312156121ff575f80fd5b81516001600160401b03811115612214575f80fd5b820160e08185031215612225575f80fd5b61222d611c94565b61223682611fb7565b815261224460208301611fb7565b60208201526122556040830161204d565b604082015261226660608301612073565b60608201526122776080830161209b565b608082015261228860a0830161209b565b60a082015260c08201516001600160401b038111156122a5575f80fd5b6122b1868285016120a6565b60c083015250949350505050565b601f82111561176657805f5260205f20601f840160051c810160208510156122e45750805b601f840160051c820191505b81811015612303575f81556001016122f0565b5050505050565b81516001600160401b0381111561232357612323611c80565b612337816123318454611fe6565b846122bf565b6020601f821160018114612369575f83156123525750848201515b5f19600385901b1c1916600184901b178455612303565b5f84815260208120601f198516915b828110156123985787850151825560209485019460019092019101612378565b50848210156123b557868401515f19600387901b60f8161c191681555b50505050600190811b0190555056fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00a2646970667358221220761c84fabc2b1c2463dc8dab38410e0e76daf7bb18ea0aed257989a27855366b64736f6c634300081a0033",
|
484
|
+
"linkReferences": {
|
485
|
+
"contracts/type/NftId.sol": {
|
486
|
+
"NftIdLib": [
|
487
|
+
{
|
488
|
+
"length": 20,
|
489
|
+
"start": 1455
|
490
|
+
},
|
491
|
+
{
|
492
|
+
"length": 20,
|
493
|
+
"start": 3057
|
494
|
+
},
|
495
|
+
{
|
496
|
+
"length": 20,
|
497
|
+
"start": 3957
|
498
|
+
}
|
499
|
+
]
|
500
|
+
},
|
501
|
+
"contracts/type/RoleId.sol": {
|
502
|
+
"RoleIdLib": [
|
503
|
+
{
|
504
|
+
"length": 20,
|
505
|
+
"start": 2389
|
506
|
+
}
|
507
|
+
]
|
508
|
+
},
|
509
|
+
"contracts/type/Version.sol": {
|
510
|
+
"VersionLib": [
|
511
|
+
{
|
512
|
+
"length": 20,
|
513
|
+
"start": 1301
|
514
|
+
},
|
515
|
+
{
|
516
|
+
"length": 20,
|
517
|
+
"start": 1806
|
518
|
+
},
|
519
|
+
{
|
520
|
+
"length": 20,
|
521
|
+
"start": 4710
|
522
|
+
}
|
523
|
+
],
|
524
|
+
"VersionPartLib": [
|
525
|
+
{
|
526
|
+
"length": 20,
|
527
|
+
"start": 2437
|
528
|
+
},
|
529
|
+
{
|
530
|
+
"length": 20,
|
531
|
+
"start": 6271
|
532
|
+
}
|
533
|
+
]
|
534
|
+
}
|
535
|
+
},
|
536
|
+
"deployedLinkReferences": {
|
537
|
+
"contracts/type/NftId.sol": {
|
538
|
+
"NftIdLib": [
|
539
|
+
{
|
540
|
+
"length": 20,
|
541
|
+
"start": 1241
|
542
|
+
},
|
543
|
+
{
|
544
|
+
"length": 20,
|
545
|
+
"start": 2843
|
546
|
+
},
|
547
|
+
{
|
548
|
+
"length": 20,
|
549
|
+
"start": 3743
|
550
|
+
}
|
551
|
+
]
|
552
|
+
},
|
553
|
+
"contracts/type/RoleId.sol": {
|
554
|
+
"RoleIdLib": [
|
555
|
+
{
|
556
|
+
"length": 20,
|
557
|
+
"start": 2175
|
558
|
+
}
|
559
|
+
]
|
560
|
+
},
|
561
|
+
"contracts/type/Version.sol": {
|
562
|
+
"VersionLib": [
|
563
|
+
{
|
564
|
+
"length": 20,
|
565
|
+
"start": 1087
|
566
|
+
},
|
567
|
+
{
|
568
|
+
"length": 20,
|
569
|
+
"start": 1592
|
570
|
+
},
|
571
|
+
{
|
572
|
+
"length": 20,
|
573
|
+
"start": 4496
|
574
|
+
}
|
575
|
+
],
|
576
|
+
"VersionPartLib": [
|
577
|
+
{
|
578
|
+
"length": 20,
|
579
|
+
"start": 2223
|
580
|
+
},
|
581
|
+
{
|
582
|
+
"length": 20,
|
583
|
+
"start": 6057
|
584
|
+
}
|
585
|
+
]
|
586
|
+
}
|
587
|
+
}
|
588
|
+
}
|