@etherisc/gif-next 0.0.2-f13c010-035 → 0.0.2-f13fd28-503
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +27 -6
- package/artifacts/contracts/accounting/AccountingService.sol/AccountingService.dbg.json +4 -0
- package/artifacts/contracts/accounting/AccountingService.sol/AccountingService.json +1007 -0
- package/artifacts/contracts/accounting/AccountingServiceManager.sol/AccountingServiceManager.dbg.json +4 -0
- package/artifacts/contracts/accounting/AccountingServiceManager.sol/AccountingServiceManager.json +744 -0
- package/artifacts/contracts/accounting/IAccountingService.sol/IAccountingService.dbg.json +4 -0
- package/artifacts/contracts/accounting/IAccountingService.sol/IAccountingService.json +791 -0
- package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.dbg.json +1 -1
- package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.json +148 -62
- package/artifacts/contracts/authorization/AccessAdmin.sol/IAccessManagedChecker.dbg.json +4 -0
- package/artifacts/contracts/authorization/AccessAdmin.sol/IAccessManagedChecker.json +24 -0
- package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.dbg.json +1 -1
- package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.json +233 -5
- package/artifacts/contracts/authorization/Authorization.sol/Authorization.dbg.json +1 -1
- package/artifacts/contracts/authorization/Authorization.sol/Authorization.json +149 -21
- package/artifacts/contracts/authorization/IAccess.sol/IAccess.dbg.json +1 -1
- package/artifacts/contracts/authorization/IAccessAdmin.sol/IAccessAdmin.dbg.json +1 -1
- package/artifacts/contracts/authorization/IAccessAdmin.sol/IAccessAdmin.json +82 -12
- package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.dbg.json +1 -1
- package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.json +68 -13
- package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.dbg.json +1 -1
- package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.dbg.json +1 -1
- package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.json +2 -2
- package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.dbg.json +1 -1
- package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.json +106 -186
- package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.dbg.json +1 -1
- package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.json +152 -33
- package/artifacts/contracts/distribution/Distribution.sol/Distribution.dbg.json +1 -1
- package/artifacts/contracts/distribution/Distribution.sol/Distribution.json +57 -89
- package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.dbg.json +1 -1
- package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.json +154 -108
- package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +1 -1
- package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.json +75 -53
- package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.dbg.json +1 -1
- package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.json +44 -58
- package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.dbg.json +1 -1
- package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.json +50 -3
- package/artifacts/contracts/examples/fire/DamageLevel.sol/DamageLevelLib.dbg.json +1 -1
- package/artifacts/contracts/examples/fire/FirePool.sol/FirePool.dbg.json +1 -1
- package/artifacts/contracts/examples/fire/FirePool.sol/FirePool.json +101 -164
- package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.dbg.json +1 -1
- package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.json +152 -33
- package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.dbg.json +1 -1
- package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.json +258 -290
- package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.dbg.json +1 -1
- package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.json +152 -33
- package/artifacts/contracts/examples/fire/FireUSD.sol/FireUSD.dbg.json +1 -1
- package/artifacts/contracts/examples/unpermissioned/SimpleDistribution.sol/SimpleDistribution.dbg.json +1 -1
- package/artifacts/contracts/examples/unpermissioned/SimpleDistribution.sol/SimpleDistribution.json +137 -129
- package/artifacts/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol/SimpleDistributionAuthorization.dbg.json +4 -0
- package/artifacts/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol/SimpleDistributionAuthorization.json +589 -0
- package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.dbg.json +1 -1
- package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.json +90 -126
- package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.dbg.json +1 -1
- package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.json +225 -162
- package/artifacts/contracts/examples/unpermissioned/SimplePoolAuthorization.sol/SimplePoolAuthorization.dbg.json +4 -0
- package/artifacts/contracts/examples/unpermissioned/SimplePoolAuthorization.sol/SimplePoolAuthorization.json +589 -0
- package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.dbg.json +1 -1
- package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.json +641 -310
- package/artifacts/contracts/instance/BundleSet.sol/BundleSet.dbg.json +1 -1
- package/artifacts/contracts/instance/BundleSet.sol/BundleSet.json +193 -45
- package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
- package/artifacts/contracts/instance/IInstance.sol/IInstance.json +118 -39
- package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
- package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +77 -20
- package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
- package/artifacts/contracts/instance/Instance.sol/Instance.json +163 -56
- package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.json +362 -99
- package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.json +140 -40
- package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +550 -224
- package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +104 -74
- package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +49 -27
- package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.json +410 -370
- package/artifacts/contracts/instance/RiskSet.sol/RiskSet.dbg.json +4 -0
- package/artifacts/contracts/instance/RiskSet.sol/RiskSet.json +853 -0
- package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.dbg.json +1 -1
- package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.json +2 -2
- package/artifacts/contracts/instance/base/Cloneable.sol/Cloneable.dbg.json +1 -1
- package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.dbg.json +1 -1
- package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.json +2 -2
- package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.dbg.json +1 -1
- package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.json +2 -2
- package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.dbg.json +1 -1
- package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.json +16 -5
- package/artifacts/contracts/instance/base/ObjectSetHelperLib.sol/ObjectSetHelperLib.dbg.json +4 -0
- package/artifacts/contracts/instance/base/ObjectSetHelperLib.sol/ObjectSetHelperLib.json +168 -0
- package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +1 -1
- package/artifacts/contracts/instance/module/IComponents.sol/IComponents.dbg.json +1 -1
- package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +1 -1
- package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +1 -1
- package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +1 -1
- package/artifacts/contracts/mock/Dip.sol/Dip.dbg.json +1 -1
- package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.dbg.json +1 -1
- package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.json +74 -154
- package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.dbg.json +1 -1
- package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.json +126 -35
- package/artifacts/contracts/oracle/IOracle.sol/IOracle.dbg.json +1 -1
- package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.dbg.json +1 -1
- package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.json +44 -58
- package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.dbg.json +1 -1
- package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.json +27 -3
- package/artifacts/contracts/oracle/Oracle.sol/Oracle.dbg.json +1 -1
- package/artifacts/contracts/oracle/Oracle.sol/Oracle.json +58 -90
- package/artifacts/contracts/oracle/OracleService.sol/OracleService.dbg.json +1 -1
- package/artifacts/contracts/oracle/OracleService.sol/OracleService.json +112 -81
- package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.dbg.json +1 -1
- package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.json +69 -27
- package/artifacts/contracts/pool/BasicPool.sol/BasicPool.dbg.json +1 -1
- package/artifacts/contracts/pool/BasicPool.sol/BasicPool.json +57 -104
- package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.dbg.json +1 -1
- package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.json +152 -33
- package/artifacts/contracts/pool/BundleService.sol/BundleService.dbg.json +1 -1
- package/artifacts/contracts/pool/BundleService.sol/BundleService.json +127 -331
- package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.dbg.json +1 -1
- package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.json +53 -87
- package/artifacts/contracts/pool/IBundleService.sol/IBundleService.dbg.json +1 -1
- package/artifacts/contracts/pool/IBundleService.sol/IBundleService.json +56 -136
- package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.dbg.json +1 -1
- package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.json +44 -97
- package/artifacts/contracts/pool/IPoolService.sol/IPoolService.dbg.json +1 -1
- package/artifacts/contracts/pool/IPoolService.sol/IPoolService.json +164 -217
- package/artifacts/contracts/pool/Pool.sol/Pool.dbg.json +1 -1
- package/artifacts/contracts/pool/Pool.sol/Pool.json +57 -128
- package/artifacts/contracts/pool/PoolLib.sol/PoolLib.dbg.json +4 -0
- package/artifacts/contracts/pool/PoolLib.sol/PoolLib.json +456 -0
- package/artifacts/contracts/pool/PoolService.sol/PoolService.dbg.json +1 -1
- package/artifacts/contracts/pool/PoolService.sol/PoolService.json +302 -353
- package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.dbg.json +1 -1
- package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.json +93 -51
- package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.dbg.json +1 -1
- package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.json +105 -63
- package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +1 -1
- package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.json +45 -27
- package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.dbg.json +1 -1
- package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.json +163 -175
- package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.dbg.json +1 -1
- package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.json +152 -33
- package/artifacts/contracts/product/ClaimService.sol/ClaimService.dbg.json +1 -1
- package/artifacts/contracts/product/ClaimService.sol/ClaimService.json +244 -179
- package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +1 -1
- package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.json +74 -64
- package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.dbg.json +1 -1
- package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.json +61 -10
- package/artifacts/contracts/product/IClaimService.sol/IClaimService.dbg.json +1 -1
- package/artifacts/contracts/product/IClaimService.sol/IClaimService.json +142 -20
- package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.dbg.json +1 -1
- package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.json +112 -56
- package/artifacts/contracts/product/IPricingService.sol/IPricingService.dbg.json +1 -1
- package/artifacts/contracts/product/IPricingService.sol/IPricingService.json +27 -3
- package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.dbg.json +1 -1
- package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.json +150 -144
- package/artifacts/contracts/product/IRiskService.sol/IRiskService.dbg.json +1 -1
- package/artifacts/contracts/product/IRiskService.sol/IRiskService.json +27 -3
- package/artifacts/contracts/product/PolicyService.sol/PolicyService.dbg.json +1 -1
- package/artifacts/contracts/product/PolicyService.sol/PolicyService.json +211 -180
- package/artifacts/contracts/product/PolicyServiceLib.sol/PolicyServiceLib.dbg.json +4 -0
- package/artifacts/contracts/product/PolicyServiceLib.sol/PolicyServiceLib.json +293 -0
- package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +1 -1
- package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.json +76 -50
- package/artifacts/contracts/product/PricingService.sol/PricingService.dbg.json +1 -1
- package/artifacts/contracts/product/PricingService.sol/PricingService.json +99 -76
- package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.dbg.json +1 -1
- package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.json +60 -38
- package/artifacts/contracts/product/Product.sol/Product.dbg.json +1 -1
- package/artifacts/contracts/product/Product.sol/Product.json +163 -175
- package/artifacts/contracts/product/RiskService.sol/RiskService.dbg.json +1 -1
- package/artifacts/contracts/product/RiskService.sol/RiskService.json +88 -73
- package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.dbg.json +1 -1
- package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.json +54 -24
- package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
- package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +2 -2
- package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
- package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +50 -2
- package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
- package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +31 -7
- package/artifacts/contracts/registry/IRelease.sol/IRelease.dbg.json +4 -0
- package/artifacts/contracts/registry/IRelease.sol/IRelease.json +24 -0
- package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
- package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
- package/artifacts/contracts/registry/Registry.sol/Registry.json +88 -40
- package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.dbg.json +1 -1
- package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.json +262 -220
- package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
- package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +69 -46
- package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
- package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +42 -20
- package/artifacts/contracts/registry/ReleaseAdmin.sol/ReleaseAdmin.dbg.json +4 -0
- package/artifacts/contracts/registry/ReleaseAdmin.sol/ReleaseAdmin.json +1849 -0
- package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.dbg.json +1 -1
- package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.json +2 -2
- package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.dbg.json +1 -1
- package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.json +318 -52
- package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.dbg.json +1 -1
- package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.json +6 -6
- package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +1 -1
- package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +4 -4
- package/artifacts/contracts/shared/Component.sol/Component.dbg.json +1 -1
- package/artifacts/contracts/shared/Component.sol/Component.json +57 -75
- package/artifacts/contracts/shared/ComponentService.sol/ComponentService.dbg.json +1 -1
- package/artifacts/contracts/shared/ComponentService.sol/ComponentService.json +225 -439
- package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.dbg.json +1 -1
- package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.json +74 -64
- package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.dbg.json +1 -1
- package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.json +27 -16
- package/artifacts/contracts/shared/ContractLib.sol/ContractLib.dbg.json +1 -1
- package/artifacts/contracts/shared/ContractLib.sol/ContractLib.json +454 -5
- package/artifacts/contracts/shared/ContractLib.sol/IInstanceAdminHelper.dbg.json +4 -0
- package/artifacts/contracts/shared/ContractLib.sol/IInstanceAdminHelper.json +24 -0
- package/artifacts/contracts/shared/ContractLib.sol/ITargetHelper.dbg.json +4 -0
- package/artifacts/contracts/shared/ContractLib.sol/ITargetHelper.json +30 -0
- package/artifacts/contracts/shared/ContractLib.sol/ITokenRegistryHelper.dbg.json +4 -0
- package/artifacts/contracts/shared/ContractLib.sol/ITokenRegistryHelper.json +40 -0
- package/artifacts/contracts/shared/IComponent.sol/IComponent.dbg.json +1 -1
- package/artifacts/contracts/shared/IComponent.sol/IComponent.json +44 -44
- package/artifacts/contracts/shared/IComponentService.sol/IComponentService.dbg.json +1 -1
- package/artifacts/contracts/shared/IComponentService.sol/IComponentService.json +125 -282
- package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.dbg.json +1 -1
- package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.json +44 -58
- package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.dbg.json +1 -1
- package/artifacts/contracts/shared/ILifecycle.sol/ILifecycle.dbg.json +1 -1
- package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
- package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +1 -1
- package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
- package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +120 -1
- package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +1 -1
- package/artifacts/contracts/shared/IService.sol/IService.dbg.json +1 -1
- package/artifacts/contracts/shared/IService.sol/IService.json +27 -3
- package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.dbg.json +1 -1
- package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.dbg.json +1 -1
- package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.json +57 -89
- package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.dbg.json +1 -1
- package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.dbg.json +1 -1
- package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.dbg.json +1 -1
- package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.json +2 -2
- package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
- package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +2 -2
- package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +1 -1
- package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +2 -2
- package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
- package/artifacts/contracts/shared/Registerable.sol/Registerable.json +118 -62
- package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +1 -1
- package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +2 -2
- package/artifacts/contracts/shared/Service.sol/Service.dbg.json +1 -1
- package/artifacts/contracts/shared/Service.sol/Service.json +27 -16
- package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
- package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +289 -112
- package/artifacts/contracts/shared/TokenHandler.sol/TokenHandlerBase.dbg.json +4 -0
- package/artifacts/contracts/shared/TokenHandler.sol/TokenHandlerBase.json +484 -0
- package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.dbg.json +1 -1
- package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.json +70 -30
- package/artifacts/contracts/staking/IStaking.sol/IStaking.dbg.json +1 -1
- package/artifacts/contracts/staking/IStaking.sol/IStaking.json +65 -83
- package/artifacts/contracts/staking/IStakingService.sol/IStakingService.dbg.json +1 -1
- package/artifacts/contracts/staking/IStakingService.sol/IStakingService.json +98 -3
- package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.dbg.json +1 -1
- package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.json +49 -33
- package/artifacts/contracts/staking/Staking.sol/Staking.dbg.json +1 -1
- package/artifacts/contracts/staking/Staking.sol/Staking.json +145 -176
- package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.dbg.json +1 -1
- package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.json +2 -2
- package/artifacts/contracts/staking/StakingManager.sol/StakingManager.dbg.json +1 -1
- package/artifacts/contracts/staking/StakingManager.sol/StakingManager.json +62 -46
- package/artifacts/contracts/staking/StakingReader.sol/StakingReader.dbg.json +1 -1
- package/artifacts/contracts/staking/StakingReader.sol/StakingReader.json +4 -4
- package/artifacts/contracts/staking/StakingService.sol/StakingService.dbg.json +1 -1
- package/artifacts/contracts/staking/StakingService.sol/StakingService.json +151 -49
- package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.dbg.json +1 -1
- package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.json +51 -25
- package/artifacts/contracts/staking/StakingStore.sol/StakingStore.dbg.json +1 -1
- package/artifacts/contracts/staking/StakingStore.sol/StakingStore.json +129 -129
- package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.dbg.json +1 -1
- package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.json +23 -23
- package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.dbg.json +1 -1
- package/artifacts/contracts/type/Amount.sol/AmountLib.dbg.json +1 -1
- package/artifacts/contracts/type/Amount.sol/AmountLib.json +3 -3
- package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.dbg.json +1 -1
- package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.dbg.json +1 -1
- package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.json +2 -2
- package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.dbg.json +1 -1
- package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.json +2 -2
- package/artifacts/contracts/type/Fee.sol/FeeLib.dbg.json +1 -1
- package/artifacts/contracts/type/Fee.sol/FeeLib.json +3 -3
- package/artifacts/contracts/type/Key32.sol/Key32Lib.dbg.json +1 -1
- package/artifacts/contracts/type/Key32.sol/Key32Lib.json +2 -2
- package/artifacts/contracts/type/Key32Set.sol/LibKey32Set.dbg.json +4 -0
- package/artifacts/contracts/type/Key32Set.sol/LibKey32Set.json +33 -0
- package/artifacts/contracts/type/NftId.sol/NftIdLib.dbg.json +1 -1
- package/artifacts/contracts/type/NftId.sol/NftIdLib.json +23 -4
- package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.dbg.json +1 -1
- package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.json +2 -2
- package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.dbg.json +1 -1
- package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.json +2 -2
- package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.dbg.json +1 -1
- package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.json +2 -2
- package/artifacts/contracts/type/Referral.sol/ReferralLib.dbg.json +1 -1
- package/artifacts/contracts/type/Referral.sol/ReferralLib.json +2 -2
- package/artifacts/contracts/type/RequestId.sol/RequestIdLib.dbg.json +1 -1
- package/artifacts/contracts/type/RequestId.sol/RequestIdLib.json +2 -2
- package/artifacts/contracts/type/RiskId.sol/RiskIdLib.dbg.json +1 -1
- package/artifacts/contracts/type/RiskId.sol/RiskIdLib.json +62 -5
- package/artifacts/contracts/type/RoleId.sol/RoleIdLib.dbg.json +1 -1
- package/artifacts/contracts/type/RoleId.sol/RoleIdLib.json +79 -15
- package/artifacts/contracts/type/Seconds.sol/SecondsLib.dbg.json +1 -1
- package/artifacts/contracts/type/Selector.sol/SelectorLib.dbg.json +1 -1
- package/artifacts/contracts/type/Selector.sol/SelectorLib.json +21 -2
- package/artifacts/contracts/type/Selector.sol/SelectorSetLib.dbg.json +1 -1
- package/artifacts/contracts/type/Selector.sol/SelectorSetLib.json +2 -2
- package/artifacts/contracts/type/StateId.sol/StateIdLib.dbg.json +1 -1
- package/artifacts/contracts/type/String.sol/StrLib.dbg.json +1 -1
- package/artifacts/contracts/type/Timestamp.sol/TimestampLib.dbg.json +1 -1
- package/artifacts/contracts/type/Timestamp.sol/TimestampLib.json +2 -2
- package/artifacts/contracts/type/UFixed.sol/UFixedLib.dbg.json +1 -1
- package/artifacts/contracts/type/UFixed.sol/UFixedLib.json +3 -3
- package/artifacts/contracts/type/Version.sol/VersionLib.dbg.json +1 -1
- package/artifacts/contracts/type/Version.sol/VersionLib.json +2 -21
- package/artifacts/contracts/type/Version.sol/VersionPartLib.dbg.json +1 -1
- package/artifacts/contracts/type/Version.sol/VersionPartLib.json +47 -2
- package/artifacts/contracts/upgradeability/IVersionable.sol/IVersionable.dbg.json +1 -1
- package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.dbg.json +1 -1
- package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.json +18 -2
- package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +1 -1
- package/artifacts/contracts/upgradeability/Versionable.sol/Versionable.dbg.json +1 -1
- package/contracts/accounting/AccountingService.sol +262 -0
- package/contracts/accounting/AccountingServiceManager.sol +38 -0
- package/contracts/accounting/IAccountingService.sol +45 -0
- package/contracts/authorization/AccessAdmin.sol +177 -84
- package/contracts/authorization/AccessManagerCloneable.sol +136 -3
- package/contracts/authorization/Authorization.sol +277 -229
- package/contracts/authorization/IAccessAdmin.sol +13 -7
- package/contracts/authorization/IAuthorization.sol +15 -1
- package/contracts/distribution/BasicDistribution.sol +6 -6
- package/contracts/distribution/BasicDistributionAuthorization.sol +22 -9
- package/contracts/distribution/Distribution.sol +32 -30
- package/contracts/distribution/DistributionService.sol +36 -34
- package/contracts/distribution/DistributionServiceManager.sol +1 -1
- package/contracts/distribution/IDistributionService.sol +5 -6
- package/contracts/examples/fire/FirePool.sol +22 -5
- package/contracts/examples/fire/FirePoolAuthorization.sol +2 -1
- package/contracts/examples/fire/FireProduct.sol +31 -8
- package/contracts/examples/fire/FireProductAuthorization.sol +2 -1
- package/contracts/examples/unpermissioned/SimpleDistribution.sol +7 -0
- package/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol +28 -0
- package/contracts/examples/unpermissioned/SimplePool.sol +33 -3
- package/contracts/examples/unpermissioned/SimplePoolAuthorization.sol +28 -0
- package/contracts/examples/unpermissioned/SimpleProduct.sol +47 -21
- package/contracts/instance/BundleSet.sol +42 -38
- package/contracts/instance/IInstance.sol +13 -9
- package/contracts/instance/IInstanceService.sol +9 -9
- package/contracts/instance/Instance.sol +33 -18
- package/contracts/instance/InstanceAdmin.sol +247 -84
- package/contracts/instance/InstanceAuthorizationV3.sol +50 -31
- package/contracts/instance/InstanceReader.sol +162 -32
- package/contracts/instance/InstanceService.sol +73 -82
- package/contracts/instance/InstanceServiceManager.sol +1 -1
- package/contracts/instance/InstanceStore.sol +13 -2
- package/contracts/instance/RiskSet.sol +118 -0
- package/contracts/instance/base/ObjectCounter.sol +1 -2
- package/contracts/instance/base/ObjectLifecycle.sol +4 -2
- package/contracts/instance/base/ObjectSet.sol +31 -33
- package/contracts/instance/base/ObjectSetHelperLib.sol +30 -0
- package/contracts/instance/module/IComponents.sol +4 -4
- package/contracts/instance/module/IPolicy.sol +2 -1
- package/contracts/instance/module/IRisk.sol +3 -0
- package/contracts/oracle/BasicOracleAuthorization.sol +3 -12
- package/contracts/oracle/Oracle.sol +1 -1
- package/contracts/oracle/OracleService.sol +92 -73
- package/contracts/oracle/OracleServiceManager.sol +1 -1
- package/contracts/pool/BasicPool.sol +24 -3
- package/contracts/pool/BasicPoolAuthorization.sol +27 -8
- package/contracts/pool/BundleService.sol +47 -145
- package/contracts/pool/BundleServiceManager.sol +1 -1
- package/contracts/pool/IBundleService.sol +15 -43
- package/contracts/pool/IPoolComponent.sol +1 -7
- package/contracts/pool/IPoolService.sol +58 -60
- package/contracts/pool/Pool.sol +106 -96
- package/contracts/pool/PoolLib.sol +216 -0
- package/contracts/pool/PoolService.sol +427 -214
- package/contracts/pool/PoolServiceManager.sol +1 -1
- package/contracts/product/ApplicationService.sol +15 -15
- package/contracts/product/ApplicationServiceManager.sol +1 -1
- package/contracts/product/BasicProduct.sol +9 -11
- package/contracts/product/BasicProductAuthorization.sol +24 -10
- package/contracts/product/ClaimService.sol +157 -137
- package/contracts/product/ClaimServiceManager.sol +1 -1
- package/contracts/product/IApplicationService.sol +5 -2
- package/contracts/product/IClaimService.sol +14 -2
- package/contracts/product/IPolicyService.sol +26 -11
- package/contracts/product/IProductComponent.sol +4 -1
- package/contracts/product/PolicyService.sol +277 -261
- package/contracts/product/PolicyServiceLib.sol +65 -0
- package/contracts/product/PolicyServiceManager.sol +1 -1
- package/contracts/product/PricingService.sol +23 -19
- package/contracts/product/PricingServiceManager.sol +3 -3
- package/contracts/product/Product.sol +62 -39
- package/contracts/product/RiskService.sol +74 -25
- package/contracts/product/RiskServiceManager.sol +1 -1
- package/contracts/registry/ChainNft.sol +4 -2
- package/contracts/registry/IRegistry.sol +10 -15
- package/contracts/registry/IRelease.sol +26 -0
- package/contracts/registry/Registry.sol +16 -3
- package/contracts/registry/RegistryAdmin.sol +132 -226
- package/contracts/registry/RegistryService.sol +3 -3
- package/contracts/registry/RegistryServiceManager.sol +1 -1
- package/contracts/registry/ReleaseAdmin.sol +245 -0
- package/contracts/registry/ReleaseLifecycle.sol +2 -0
- package/contracts/registry/ReleaseRegistry.sol +129 -119
- package/contracts/registry/ServiceAuthorizationV3.sol +93 -40
- package/contracts/registry/TokenRegistry.sol +6 -8
- package/contracts/shared/Component.sol +61 -105
- package/contracts/shared/ComponentService.sol +301 -295
- package/contracts/shared/ComponentServiceManager.sol +1 -1
- package/contracts/shared/ComponentVerifyingService.sol +16 -14
- package/contracts/shared/ContractLib.sol +224 -9
- package/contracts/shared/IComponent.sol +4 -17
- package/contracts/shared/IComponentService.sol +16 -25
- package/contracts/shared/IInstanceLinkedComponent.sol +0 -11
- package/contracts/shared/IRegisterable.sol +15 -4
- package/contracts/shared/IService.sol +3 -5
- package/contracts/shared/InstanceLinkedComponent.sol +4 -20
- package/contracts/shared/NftOwnable.sol +4 -4
- package/contracts/shared/PolicyHolder.sol +1 -1
- package/contracts/shared/Registerable.sol +44 -20
- package/contracts/shared/RegistryLinked.sol +7 -13
- package/contracts/shared/Service.sol +8 -27
- package/contracts/shared/TokenHandler.sol +263 -105
- package/contracts/shared/TokenHandlerDeployerLib.sol +10 -2
- package/contracts/staking/IStaking.sol +6 -9
- package/contracts/staking/IStakingService.sol +11 -1
- package/contracts/staking/StakeManagerLib.sol +63 -7
- package/contracts/staking/Staking.sol +72 -39
- package/contracts/staking/StakingReader.sol +1 -1
- package/contracts/staking/StakingService.sol +56 -14
- package/contracts/staking/StakingServiceManager.sol +5 -4
- package/contracts/type/Key32.sol +2 -2
- package/contracts/type/Key32Set.sol +62 -0
- package/contracts/type/NftId.sol +6 -0
- package/contracts/type/ObjectType.sol +48 -21
- package/contracts/type/RiskId.sol +23 -6
- package/contracts/type/RoleId.sol +24 -4
- package/contracts/type/Selector.sol +5 -0
- package/contracts/type/Timestamp.sol +0 -5
- package/contracts/type/UFixed.sol +9 -119
- package/contracts/type/Version.sol +15 -5
- package/contracts/upgradeability/ProxyManager.sol +1 -1
- package/package.json +3 -3
- package/artifacts/contracts/authorization/ReleaseAccessManager.sol/ReleaseAccessManager.dbg.json +0 -4
- package/artifacts/contracts/authorization/ReleaseAccessManager.sol/ReleaseAccessManager.json +0 -1196
- package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +0 -4
- package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +0 -129
- package/artifacts/contracts/shared/ComponentServiceHelperLib.sol/ComponentServiceHelperLib.dbg.json +0 -4
- package/artifacts/contracts/shared/ComponentServiceHelperLib.sol/ComponentServiceHelperLib.json +0 -206
- package/artifacts/contracts/type/UFixed.sol/MathLib.dbg.json +0 -4
- package/artifacts/contracts/type/UFixed.sol/MathLib.json +0 -16
- package/contracts/authorization/ReleaseAccessManager.sol +0 -38
- package/contracts/instance/module/IAccess.sol +0 -46
- package/contracts/shared/ComponentServiceHelperLib.sol +0 -118
@@ -0,0 +1,484 @@
|
|
1
|
+
{
|
2
|
+
"_format": "hh-sol-artifact-1",
|
3
|
+
"contractName": "TokenHandlerBase",
|
4
|
+
"sourceName": "contracts/shared/TokenHandler.sol",
|
5
|
+
"abi": [
|
6
|
+
{
|
7
|
+
"inputs": [
|
8
|
+
{
|
9
|
+
"internalType": "address",
|
10
|
+
"name": "registry",
|
11
|
+
"type": "address"
|
12
|
+
},
|
13
|
+
{
|
14
|
+
"internalType": "address",
|
15
|
+
"name": "component",
|
16
|
+
"type": "address"
|
17
|
+
},
|
18
|
+
{
|
19
|
+
"internalType": "address",
|
20
|
+
"name": "token",
|
21
|
+
"type": "address"
|
22
|
+
}
|
23
|
+
],
|
24
|
+
"stateMutability": "nonpayable",
|
25
|
+
"type": "constructor"
|
26
|
+
},
|
27
|
+
{
|
28
|
+
"inputs": [
|
29
|
+
{
|
30
|
+
"internalType": "address",
|
31
|
+
"name": "target",
|
32
|
+
"type": "address"
|
33
|
+
}
|
34
|
+
],
|
35
|
+
"name": "AddressEmptyCode",
|
36
|
+
"type": "error"
|
37
|
+
},
|
38
|
+
{
|
39
|
+
"inputs": [
|
40
|
+
{
|
41
|
+
"internalType": "address",
|
42
|
+
"name": "account",
|
43
|
+
"type": "address"
|
44
|
+
}
|
45
|
+
],
|
46
|
+
"name": "AddressInsufficientBalance",
|
47
|
+
"type": "error"
|
48
|
+
},
|
49
|
+
{
|
50
|
+
"inputs": [],
|
51
|
+
"name": "ErrorTokenHandlerAddressIsSameAsCurrent",
|
52
|
+
"type": "error"
|
53
|
+
},
|
54
|
+
{
|
55
|
+
"inputs": [
|
56
|
+
{
|
57
|
+
"internalType": "address",
|
58
|
+
"name": "token",
|
59
|
+
"type": "address"
|
60
|
+
},
|
61
|
+
{
|
62
|
+
"internalType": "address",
|
63
|
+
"name": "from",
|
64
|
+
"type": "address"
|
65
|
+
},
|
66
|
+
{
|
67
|
+
"internalType": "address",
|
68
|
+
"name": "spender",
|
69
|
+
"type": "address"
|
70
|
+
},
|
71
|
+
{
|
72
|
+
"internalType": "uint256",
|
73
|
+
"name": "allowance",
|
74
|
+
"type": "uint256"
|
75
|
+
},
|
76
|
+
{
|
77
|
+
"internalType": "uint256",
|
78
|
+
"name": "expectedAllowance",
|
79
|
+
"type": "uint256"
|
80
|
+
}
|
81
|
+
],
|
82
|
+
"name": "ErrorTokenHandlerAllowanceTooSmall",
|
83
|
+
"type": "error"
|
84
|
+
},
|
85
|
+
{
|
86
|
+
"inputs": [],
|
87
|
+
"name": "ErrorTokenHandlerAmountIsZero",
|
88
|
+
"type": "error"
|
89
|
+
},
|
90
|
+
{
|
91
|
+
"inputs": [
|
92
|
+
{
|
93
|
+
"internalType": "address",
|
94
|
+
"name": "token",
|
95
|
+
"type": "address"
|
96
|
+
},
|
97
|
+
{
|
98
|
+
"internalType": "address",
|
99
|
+
"name": "from",
|
100
|
+
"type": "address"
|
101
|
+
},
|
102
|
+
{
|
103
|
+
"internalType": "uint256",
|
104
|
+
"name": "balance",
|
105
|
+
"type": "uint256"
|
106
|
+
},
|
107
|
+
{
|
108
|
+
"internalType": "uint256",
|
109
|
+
"name": "expectedBalance",
|
110
|
+
"type": "uint256"
|
111
|
+
}
|
112
|
+
],
|
113
|
+
"name": "ErrorTokenHandlerBalanceTooLow",
|
114
|
+
"type": "error"
|
115
|
+
},
|
116
|
+
{
|
117
|
+
"inputs": [
|
118
|
+
{
|
119
|
+
"internalType": "address",
|
120
|
+
"name": "component",
|
121
|
+
"type": "address"
|
122
|
+
}
|
123
|
+
],
|
124
|
+
"name": "ErrorTokenHandlerComponentNotRegistered",
|
125
|
+
"type": "error"
|
126
|
+
},
|
127
|
+
{
|
128
|
+
"inputs": [],
|
129
|
+
"name": "ErrorTokenHandlerNewWalletAddressZero",
|
130
|
+
"type": "error"
|
131
|
+
},
|
132
|
+
{
|
133
|
+
"inputs": [
|
134
|
+
{
|
135
|
+
"internalType": "address",
|
136
|
+
"name": "registry",
|
137
|
+
"type": "address"
|
138
|
+
}
|
139
|
+
],
|
140
|
+
"name": "ErrorTokenHandlerNotRegistry",
|
141
|
+
"type": "error"
|
142
|
+
},
|
143
|
+
{
|
144
|
+
"inputs": [
|
145
|
+
{
|
146
|
+
"internalType": "NftId",
|
147
|
+
"name": "nftId",
|
148
|
+
"type": "uint96"
|
149
|
+
},
|
150
|
+
{
|
151
|
+
"internalType": "address",
|
152
|
+
"name": "tokenHandler",
|
153
|
+
"type": "address"
|
154
|
+
},
|
155
|
+
{
|
156
|
+
"internalType": "address",
|
157
|
+
"name": "wallet",
|
158
|
+
"type": "address"
|
159
|
+
}
|
160
|
+
],
|
161
|
+
"name": "ErrorTokenHandlerNotWallet",
|
162
|
+
"type": "error"
|
163
|
+
},
|
164
|
+
{
|
165
|
+
"inputs": [],
|
166
|
+
"name": "ErrorTokenHandlerTokenAddressZero",
|
167
|
+
"type": "error"
|
168
|
+
},
|
169
|
+
{
|
170
|
+
"inputs": [],
|
171
|
+
"name": "FailedInnerCall",
|
172
|
+
"type": "error"
|
173
|
+
},
|
174
|
+
{
|
175
|
+
"inputs": [
|
176
|
+
{
|
177
|
+
"internalType": "address",
|
178
|
+
"name": "token",
|
179
|
+
"type": "address"
|
180
|
+
}
|
181
|
+
],
|
182
|
+
"name": "SafeERC20FailedOperation",
|
183
|
+
"type": "error"
|
184
|
+
},
|
185
|
+
{
|
186
|
+
"anonymous": false,
|
187
|
+
"inputs": [
|
188
|
+
{
|
189
|
+
"indexed": false,
|
190
|
+
"internalType": "NftId",
|
191
|
+
"name": "nftId",
|
192
|
+
"type": "uint96"
|
193
|
+
},
|
194
|
+
{
|
195
|
+
"indexed": false,
|
196
|
+
"internalType": "address",
|
197
|
+
"name": "tokenHandler",
|
198
|
+
"type": "address"
|
199
|
+
},
|
200
|
+
{
|
201
|
+
"indexed": false,
|
202
|
+
"internalType": "address",
|
203
|
+
"name": "token",
|
204
|
+
"type": "address"
|
205
|
+
},
|
206
|
+
{
|
207
|
+
"indexed": false,
|
208
|
+
"internalType": "Amount",
|
209
|
+
"name": "amount",
|
210
|
+
"type": "uint96"
|
211
|
+
},
|
212
|
+
{
|
213
|
+
"indexed": false,
|
214
|
+
"internalType": "bool",
|
215
|
+
"name": "isMaxAmount",
|
216
|
+
"type": "bool"
|
217
|
+
}
|
218
|
+
],
|
219
|
+
"name": "LogTokenHandlerTokenApproved",
|
220
|
+
"type": "event"
|
221
|
+
},
|
222
|
+
{
|
223
|
+
"anonymous": false,
|
224
|
+
"inputs": [
|
225
|
+
{
|
226
|
+
"indexed": false,
|
227
|
+
"internalType": "address",
|
228
|
+
"name": "token",
|
229
|
+
"type": "address"
|
230
|
+
},
|
231
|
+
{
|
232
|
+
"indexed": false,
|
233
|
+
"internalType": "address",
|
234
|
+
"name": "from",
|
235
|
+
"type": "address"
|
236
|
+
},
|
237
|
+
{
|
238
|
+
"indexed": false,
|
239
|
+
"internalType": "address",
|
240
|
+
"name": "to",
|
241
|
+
"type": "address"
|
242
|
+
},
|
243
|
+
{
|
244
|
+
"indexed": false,
|
245
|
+
"internalType": "Amount",
|
246
|
+
"name": "amount",
|
247
|
+
"type": "uint96"
|
248
|
+
}
|
249
|
+
],
|
250
|
+
"name": "LogTokenHandlerTokenTransfer",
|
251
|
+
"type": "event"
|
252
|
+
},
|
253
|
+
{
|
254
|
+
"anonymous": false,
|
255
|
+
"inputs": [
|
256
|
+
{
|
257
|
+
"indexed": false,
|
258
|
+
"internalType": "NftId",
|
259
|
+
"name": "componentNftId",
|
260
|
+
"type": "uint96"
|
261
|
+
},
|
262
|
+
{
|
263
|
+
"indexed": false,
|
264
|
+
"internalType": "address",
|
265
|
+
"name": "oldWallet",
|
266
|
+
"type": "address"
|
267
|
+
},
|
268
|
+
{
|
269
|
+
"indexed": false,
|
270
|
+
"internalType": "address",
|
271
|
+
"name": "newWallet",
|
272
|
+
"type": "address"
|
273
|
+
}
|
274
|
+
],
|
275
|
+
"name": "LogTokenHandlerWalletAddressChanged",
|
276
|
+
"type": "event"
|
277
|
+
},
|
278
|
+
{
|
279
|
+
"anonymous": false,
|
280
|
+
"inputs": [
|
281
|
+
{
|
282
|
+
"indexed": false,
|
283
|
+
"internalType": "NftId",
|
284
|
+
"name": "componentNftId",
|
285
|
+
"type": "uint96"
|
286
|
+
},
|
287
|
+
{
|
288
|
+
"indexed": false,
|
289
|
+
"internalType": "address",
|
290
|
+
"name": "oldWallet",
|
291
|
+
"type": "address"
|
292
|
+
},
|
293
|
+
{
|
294
|
+
"indexed": false,
|
295
|
+
"internalType": "address",
|
296
|
+
"name": "newWallet",
|
297
|
+
"type": "address"
|
298
|
+
},
|
299
|
+
{
|
300
|
+
"indexed": false,
|
301
|
+
"internalType": "Amount",
|
302
|
+
"name": "amount",
|
303
|
+
"type": "uint96"
|
304
|
+
}
|
305
|
+
],
|
306
|
+
"name": "LogTokenHandlerWalletTokensTransferred",
|
307
|
+
"type": "event"
|
308
|
+
},
|
309
|
+
{
|
310
|
+
"inputs": [],
|
311
|
+
"name": "COMPONENT",
|
312
|
+
"outputs": [
|
313
|
+
{
|
314
|
+
"internalType": "address",
|
315
|
+
"name": "",
|
316
|
+
"type": "address"
|
317
|
+
}
|
318
|
+
],
|
319
|
+
"stateMutability": "view",
|
320
|
+
"type": "function"
|
321
|
+
},
|
322
|
+
{
|
323
|
+
"inputs": [],
|
324
|
+
"name": "NFT_ID",
|
325
|
+
"outputs": [
|
326
|
+
{
|
327
|
+
"internalType": "NftId",
|
328
|
+
"name": "",
|
329
|
+
"type": "uint96"
|
330
|
+
}
|
331
|
+
],
|
332
|
+
"stateMutability": "view",
|
333
|
+
"type": "function"
|
334
|
+
},
|
335
|
+
{
|
336
|
+
"inputs": [],
|
337
|
+
"name": "REGISTRY",
|
338
|
+
"outputs": [
|
339
|
+
{
|
340
|
+
"internalType": "contract IRegistry",
|
341
|
+
"name": "",
|
342
|
+
"type": "address"
|
343
|
+
}
|
344
|
+
],
|
345
|
+
"stateMutability": "view",
|
346
|
+
"type": "function"
|
347
|
+
},
|
348
|
+
{
|
349
|
+
"inputs": [],
|
350
|
+
"name": "TOKEN",
|
351
|
+
"outputs": [
|
352
|
+
{
|
353
|
+
"internalType": "contract IERC20Metadata",
|
354
|
+
"name": "",
|
355
|
+
"type": "address"
|
356
|
+
}
|
357
|
+
],
|
358
|
+
"stateMutability": "view",
|
359
|
+
"type": "function"
|
360
|
+
},
|
361
|
+
{
|
362
|
+
"inputs": [
|
363
|
+
{
|
364
|
+
"internalType": "address",
|
365
|
+
"name": "from",
|
366
|
+
"type": "address"
|
367
|
+
},
|
368
|
+
{
|
369
|
+
"internalType": "Amount",
|
370
|
+
"name": "amount",
|
371
|
+
"type": "uint96"
|
372
|
+
},
|
373
|
+
{
|
374
|
+
"internalType": "bool",
|
375
|
+
"name": "checkAmount",
|
376
|
+
"type": "bool"
|
377
|
+
}
|
378
|
+
],
|
379
|
+
"name": "checkBalanceAndAllowance",
|
380
|
+
"outputs": [],
|
381
|
+
"stateMutability": "view",
|
382
|
+
"type": "function"
|
383
|
+
},
|
384
|
+
{
|
385
|
+
"inputs": [],
|
386
|
+
"name": "getWallet",
|
387
|
+
"outputs": [
|
388
|
+
{
|
389
|
+
"internalType": "address",
|
390
|
+
"name": "wallet",
|
391
|
+
"type": "address"
|
392
|
+
}
|
393
|
+
],
|
394
|
+
"stateMutability": "view",
|
395
|
+
"type": "function"
|
396
|
+
}
|
397
|
+
],
|
398
|
+
"bytecode": "0x610100604052348015610010575f80fd5b50604051610fe0380380610fe083398101604081905261002f916107e7565b604051633334d16b60e01b81526001600160a01b038416600482015273__$fb599632d08395912d9d70eb2f0f93b5e2$__90633334d16b90602401602060405180830381865af4158015610085573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906100a99190610827565b6100d657604051633c165c4d60e01b81526001600160a01b03841660048201526024015b60405180910390fd5b6001600160a01b0381166100fd57604051630d0482ff60e31b815260040160405180910390fd5b6001600160a01b03838116608081905290831660c0819052604051632f2a35f760e11b81526004810191909152635e546bee90602401602060405180830381865afa15801561014e573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610172919061085a565b6001600160601b031660e0819052604051630a4d29dd60e31b8152600481019190915273__$94a2c899be079b00d952d0d84fffaa5c34$__906352694ee890602401602060405180830381865af41580156101cf573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906101f39190610827565b1561021c57604051634fd16de160e11b81526001600160a01b03831660048201526024016100cd565b806001600160a01b031660a0816001600160a01b0316815250506102ac60a05173__$3bac17678db7ae928afa209f2f44deec9c$__636ac5db196040518163ffffffff1660e01b8152600401602060405180830381865af4158015610283573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906102a7919061085a565b6102b4565b5050506108a2565b5f546001600160a01b0316156103025760e0515f5460405163266a456b60e11b81526001600160601b0390921660048301523060248301526001600160a01b031660448201526064016100cd565b60405163046e44af60e11b81526001600160601b03821660048201525f9073__$3bac17678db7ae928afa209f2f44deec9c$__906308dc895e90602401602060405180830381865af415801561035a573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061037e9190610875565b90505f6103f58373__$3bac17678db7ae928afa209f2f44deec9c$__636ac5db196040518163ffffffff1660e01b8152600401602060405180830381865af41580156103cc573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906103f0919061085a565b610476565b1561040257505f19905060015b60e051604080516001600160601b0392831681523060208201526001600160a01b0387168183015291851660608301528215156080830152517f87afdceff4fac7ed560df07efe2dbb4585adc663dd5fab969376f20d70cb7a449181900360a00190a1610470843084610501565b50505050565b60405163c4cade9d60e01b81526001600160601b038084166004830152821660248201525f9073__$3bac17678db7ae928afa209f2f44deec9c$__9063c4cade9d90604401602060405180830381865af41580156104d6573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906104fa9190610827565b9392505050565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b0390811663095ea7b360e01b1790915261055990859083906105bf16565b61047057604080516001600160a01b03851660248201525f6044808301919091528251808303909101815260649091019091526020810180516001600160e01b0390811663095ea7b360e01b179091526105b591869161066016565b6104708482610660565b5f805f846001600160a01b0316846040516105da919061088c565b5f604051808303815f865af19150503d805f8114610613576040519150601f19603f3d011682016040523d82523d5f602084013e610618565b606091505b50915091508180156106425750805115806106425750808060200190518101906106429190610827565b801561065757505f856001600160a01b03163b115b95945050505050565b5f6106746001600160a01b038416836106c6565b905080515f141580156106985750808060200190518101906106969190610827565b155b156106c157604051635274afe760e01b81526001600160a01b03841660048201526024016100cd565b505050565b60606104fa83835f845f80856001600160a01b031684866040516106ea919061088c565b5f6040518083038185875af1925050503d805f8114610724576040519150601f19603f3d011682016040523d82523d5f602084013e610729565b606091505b50909250905061073a868383610744565b9695505050505050565b60608261075957610754826107a0565b6104fa565b815115801561077057506001600160a01b0384163b155b1561079957604051639996b31560e01b81526001600160a01b03851660048201526024016100cd565b50806104fa565b8051156107b05780518082602001fd5b604051630a12f52160e11b815260040160405180910390fd5b50565b80516001600160a01b03811681146107e2575f80fd5b919050565b5f805f606084860312156107f9575f80fd5b610802846107cc565b9250610810602085016107cc565b915061081e604085016107cc565b90509250925092565b5f60208284031215610837575f80fd5b815180151581146104fa575f80fd5b6001600160601b03811681146107c9575f80fd5b5f6020828403121561086a575f80fd5b81516104fa81610846565b5f60208284031215610885575f80fd5b5051919050565b5f82518060208501845e5f920191825250919050565b60805160a05160c05160e0516106f26108ee5f395f60b501525f61011b01525f818160f40152818161024d0152818161035a01528181610447015261055401525f606901526106f25ff3fe608060405234801561000f575f80fd5b5060043610610060575f3560e01c806306433b1b1461006457806313299604146100a8578063707ddfae146100b057806382bfefc8146100ef578063ce0f75de14610116578063f14ac2b91461013d575b5f80fd5b61008b7f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b0390911681526020015b60405180910390f35b61008b610152565b6100d77f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160601b03909116815260200161009f565b61008b7f000000000000000000000000000000000000000000000000000000000000000081565b61008b7f000000000000000000000000000000000000000000000000000000000000000081565b61015061014b366004610625565b610176565b005b5f80546001600160a01b031661016757503090565b505f546001600160a01b031690565b610181838383610186565b505050565b8080156102085750604051630a4d29dd60e31b81526001600160601b038316600482015273__$3bac17678db7ae928afa209f2f44deec9c$__906352694ee890602401602060405180830381865af41580156101e4573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906102089190610683565b156102265760405163ba9cf25b60e01b815260040160405180910390fd5b604051636eb1769f60e11b81526001600160a01b0384811660048301523060248301525f917f00000000000000000000000000000000000000000000000000000000000000009091169063dd62ed3e90604401602060405180830381865afa158015610294573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906102b891906106a5565b60405163046e44af60e11b81526001600160601b038516600482015290915073__$3bac17678db7ae928afa209f2f44deec9c$__906308dc895e90602401602060405180830381865af4158015610311573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061033591906106a5565b8110156104265760405163046e44af60e11b81526001600160601b03841660048201527f00000000000000000000000000000000000000000000000000000000000000009085903090849073__$3bac17678db7ae928afa209f2f44deec9c$__906308dc895e90602401602060405180830381865af41580156103ba573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906103de91906106a5565b6040516319d2916b60e21b81526001600160a01b03958616600482015293851660248501529390911660448301526064820152608481019190915260a4015b60405180910390fd5b6040516370a0823160e01b81526001600160a01b0385811660048301525f917f0000000000000000000000000000000000000000000000000000000000000000909116906370a0823190602401602060405180830381865afa15801561048e573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906104b291906106a5565b60405163046e44af60e11b81526001600160601b038616600482015290915073__$3bac17678db7ae928afa209f2f44deec9c$__906308dc895e90602401602060405180830381865af415801561050b573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061052f91906106a5565b81101561060e5760405163046e44af60e11b81526001600160601b03851660048201527f0000000000000000000000000000000000000000000000000000000000000000908690839073__$3bac17678db7ae928afa209f2f44deec9c$__906308dc895e90602401602060405180830381865af41580156105b2573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105d691906106a5565b604051631288e44360e21b81526001600160a01b0394851660048201529390921660248401526044830152606482015260840161041d565b5050505050565b8015158114610622575f80fd5b50565b5f805f60608486031215610637575f80fd5b83356001600160a01b038116811461064d575f80fd5b925060208401356001600160601b0381168114610668575f80fd5b9150604084013561067881610615565b809150509250925092565b5f60208284031215610693575f80fd5b815161069e81610615565b9392505050565b5f602082840312156106b5575f80fd5b505191905056fea26469706673582212206b51931dca7ce95da9f16b826e8fd72f3aa89de86f62e47c0f3c71e216c1d42464736f6c634300081a0033",
|
399
|
+
"deployedBytecode": "0x608060405234801561000f575f80fd5b5060043610610060575f3560e01c806306433b1b1461006457806313299604146100a8578063707ddfae146100b057806382bfefc8146100ef578063ce0f75de14610116578063f14ac2b91461013d575b5f80fd5b61008b7f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b0390911681526020015b60405180910390f35b61008b610152565b6100d77f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160601b03909116815260200161009f565b61008b7f000000000000000000000000000000000000000000000000000000000000000081565b61008b7f000000000000000000000000000000000000000000000000000000000000000081565b61015061014b366004610625565b610176565b005b5f80546001600160a01b031661016757503090565b505f546001600160a01b031690565b610181838383610186565b505050565b8080156102085750604051630a4d29dd60e31b81526001600160601b038316600482015273__$3bac17678db7ae928afa209f2f44deec9c$__906352694ee890602401602060405180830381865af41580156101e4573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906102089190610683565b156102265760405163ba9cf25b60e01b815260040160405180910390fd5b604051636eb1769f60e11b81526001600160a01b0384811660048301523060248301525f917f00000000000000000000000000000000000000000000000000000000000000009091169063dd62ed3e90604401602060405180830381865afa158015610294573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906102b891906106a5565b60405163046e44af60e11b81526001600160601b038516600482015290915073__$3bac17678db7ae928afa209f2f44deec9c$__906308dc895e90602401602060405180830381865af4158015610311573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061033591906106a5565b8110156104265760405163046e44af60e11b81526001600160601b03841660048201527f00000000000000000000000000000000000000000000000000000000000000009085903090849073__$3bac17678db7ae928afa209f2f44deec9c$__906308dc895e90602401602060405180830381865af41580156103ba573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906103de91906106a5565b6040516319d2916b60e21b81526001600160a01b03958616600482015293851660248501529390911660448301526064820152608481019190915260a4015b60405180910390fd5b6040516370a0823160e01b81526001600160a01b0385811660048301525f917f0000000000000000000000000000000000000000000000000000000000000000909116906370a0823190602401602060405180830381865afa15801561048e573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906104b291906106a5565b60405163046e44af60e11b81526001600160601b038616600482015290915073__$3bac17678db7ae928afa209f2f44deec9c$__906308dc895e90602401602060405180830381865af415801561050b573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061052f91906106a5565b81101561060e5760405163046e44af60e11b81526001600160601b03851660048201527f0000000000000000000000000000000000000000000000000000000000000000908690839073__$3bac17678db7ae928afa209f2f44deec9c$__906308dc895e90602401602060405180830381865af41580156105b2573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105d691906106a5565b604051631288e44360e21b81526001600160a01b0394851660048201529390921660248401526044830152606482015260840161041d565b5050505050565b8015158114610622575f80fd5b50565b5f805f60608486031215610637575f80fd5b83356001600160a01b038116811461064d575f80fd5b925060208401356001600160601b0381168114610668575f80fd5b9150604084013561067881610615565b809150509250925092565b5f60208284031215610693575f80fd5b815161069e81610615565b9392505050565b5f602082840312156106b5575f80fd5b505191905056fea26469706673582212206b51931dca7ce95da9f16b826e8fd72f3aa89de86f62e47c0f3c71e216c1d42464736f6c634300081a0033",
|
400
|
+
"linkReferences": {
|
401
|
+
"contracts/shared/ContractLib.sol": {
|
402
|
+
"ContractLib": [
|
403
|
+
{
|
404
|
+
"length": 20,
|
405
|
+
"start": 77
|
406
|
+
}
|
407
|
+
]
|
408
|
+
},
|
409
|
+
"contracts/type/Amount.sol": {
|
410
|
+
"AmountLib": [
|
411
|
+
{
|
412
|
+
"length": 20,
|
413
|
+
"start": 574
|
414
|
+
},
|
415
|
+
{
|
416
|
+
"length": 20,
|
417
|
+
"start": 802
|
418
|
+
},
|
419
|
+
{
|
420
|
+
"length": 20,
|
421
|
+
"start": 903
|
422
|
+
},
|
423
|
+
{
|
424
|
+
"length": 20,
|
425
|
+
"start": 1182
|
426
|
+
},
|
427
|
+
{
|
428
|
+
"length": 20,
|
429
|
+
"start": 2714
|
430
|
+
},
|
431
|
+
{
|
432
|
+
"length": 20,
|
433
|
+
"start": 3015
|
434
|
+
},
|
435
|
+
{
|
436
|
+
"length": 20,
|
437
|
+
"start": 3184
|
438
|
+
},
|
439
|
+
{
|
440
|
+
"length": 20,
|
441
|
+
"start": 3521
|
442
|
+
},
|
443
|
+
{
|
444
|
+
"length": 20,
|
445
|
+
"start": 3688
|
446
|
+
}
|
447
|
+
]
|
448
|
+
},
|
449
|
+
"contracts/type/NftId.sol": {
|
450
|
+
"NftIdLib": [
|
451
|
+
{
|
452
|
+
"length": 20,
|
453
|
+
"start": 407
|
454
|
+
}
|
455
|
+
]
|
456
|
+
}
|
457
|
+
},
|
458
|
+
"deployedLinkReferences": {
|
459
|
+
"contracts/type/Amount.sol": {
|
460
|
+
"AmountLib": [
|
461
|
+
{
|
462
|
+
"length": 20,
|
463
|
+
"start": 428
|
464
|
+
},
|
465
|
+
{
|
466
|
+
"length": 20,
|
467
|
+
"start": 729
|
468
|
+
},
|
469
|
+
{
|
470
|
+
"length": 20,
|
471
|
+
"start": 898
|
472
|
+
},
|
473
|
+
{
|
474
|
+
"length": 20,
|
475
|
+
"start": 1235
|
476
|
+
},
|
477
|
+
{
|
478
|
+
"length": 20,
|
479
|
+
"start": 1402
|
480
|
+
}
|
481
|
+
]
|
482
|
+
}
|
483
|
+
}
|
484
|
+
}
|