@etherisc/gif-next 0.0.2-d48ae55-246 → 0.0.2-d5103a2-471
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/distribution/Distribution.sol/Distribution.json +1012 -0
- 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 +289 -333
- package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.dbg.json +4 -0
- package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.json +932 -0
- package/artifacts/contracts/examples/fire/DamageLevel.sol/DamageLevelLib.dbg.json +4 -0
- package/artifacts/contracts/examples/fire/DamageLevel.sol/DamageLevelLib.json +22 -0
- package/artifacts/contracts/examples/fire/FirePool.sol/FirePool.dbg.json +4 -0
- package/artifacts/contracts/examples/fire/FirePool.sol/FirePool.json +1491 -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 +1946 -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 +1545 -0
- package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.dbg.json +4 -0
- package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.json +1980 -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 +255 -1990
- package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
- package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +291 -208
- package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
- package/artifacts/contracts/instance/Instance.sol/Instance.json +339 -2847
- 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 +1014 -357
- package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +340 -547
- package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +265 -161
- package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.dbg.json +4 -0
- package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.json +3607 -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 +4 -0
- package/artifacts/contracts/instance/module/{ITreasury.sol/ITreasury.json → IComponents.sol/IComponents.json} +2 -2
- 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/{instance/base/ComponentService.sol/ComponentService.json → oracle/IOracleComponent.sol/IOracleComponent.json} +316 -305
- package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.dbg.json +4 -0
- package/artifacts/contracts/{instance/service/IDistributionService.sol/IDistributionService.json → oracle/IOracleService.sol/IOracleService.json} +311 -292
- package/artifacts/contracts/oracle/Oracle.sol/Oracle.dbg.json +4 -0
- package/artifacts/contracts/{components/Component.sol/Component.json → oracle/Oracle.sol/Oracle.json} +312 -338
- 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} +473 -563
- 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 +1431 -0
- package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.dbg.json +4 -0
- package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.json +822 -0
- package/artifacts/contracts/pool/IBundleService.sol/IBundleService.dbg.json +4 -0
- package/artifacts/contracts/{instance/service → pool}/IBundleService.sol/IBundleService.json +480 -347
- package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.dbg.json +4 -0
- package/artifacts/contracts/{components → pool}/IPoolComponent.sol/IPoolComponent.json +400 -357
- package/artifacts/contracts/pool/IPoolService.sol/IPoolService.dbg.json +4 -0
- package/artifacts/contracts/pool/IPoolService.sol/IPoolService.json +1267 -0
- package/artifacts/contracts/pool/Pool.sol/Pool.dbg.json +4 -0
- package/artifacts/contracts/pool/Pool.sol/Pool.json +1062 -0
- package/artifacts/contracts/pool/PoolService.sol/PoolService.dbg.json +4 -0
- package/artifacts/contracts/pool/PoolService.sol/PoolService.json +1612 -0
- package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.dbg.json +4 -0
- package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.json +758 -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} +353 -545
- 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 +1397 -0
- package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +4 -0
- package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.json +826 -0
- package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.dbg.json +4 -0
- package/artifacts/contracts/{instance/service → product}/IApplicationService.sol/IApplicationService.json +126 -247
- package/artifacts/contracts/product/IClaimService.sol/IClaimService.dbg.json +4 -0
- package/artifacts/contracts/product/IClaimService.sol/IClaimService.json +913 -0
- package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.dbg.json +4 -0
- package/artifacts/contracts/{instance/service → product}/IPolicyService.sol/IPolicyService.json +412 -300
- package/artifacts/contracts/product/IPricingService.sol/IPricingService.dbg.json +4 -0
- package/artifacts/contracts/product/IPricingService.sol/IPricingService.json +549 -0
- package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.dbg.json +4 -0
- package/artifacts/contracts/{components → product}/IProductComponent.sol/IProductComponent.json +411 -274
- 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} +64 -213
- package/artifacts/contracts/product/PolicyService.sol/PolicyService.dbg.json +4 -0
- package/artifacts/contracts/product/PolicyService.sol/PolicyService.json +1268 -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 +1056 -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 +413 -21
- package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
- package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +185 -300
- 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 +812 -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 +275 -520
- package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
- package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +252 -152
- 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 +307 -177
- 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} +149 -229
- 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 +217 -132
- 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/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.json +700 -0
- 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 +7 -40
- 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 +7 -40
- package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +1 -1
- package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.json +0 -34
- package/artifacts/contracts/shared/IService.sol/IService.dbg.json +1 -1
- package/artifacts/contracts/shared/IService.sol/IService.json +76 -164
- 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/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.json +793 -0
- 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/{experiment/statemachine/ISM.sol/ISM.json → shared/Lifecycle.sol/Lifecycle.json} +54 -45
- 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 +16 -126
- package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +1 -1
- package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +35 -106
- package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
- package/artifacts/contracts/shared/Registerable.sol/Registerable.json +22 -173
- package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +1 -1
- package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +2 -49
- package/artifacts/contracts/shared/Service.sol/Service.dbg.json +1 -1
- package/artifacts/contracts/shared/Service.sol/Service.json +78 -305
- 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/{components/Distribution.sol/Distribution.json → staking/IStaking.sol/IStaking.json} +679 -674
- 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 +398 -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 +203 -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 +548 -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/upgradeability/IVersionable.sol/IVersionable.json +55 -0
- 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/upgradeability/Versionable.sol/Versionable.json +78 -0
- package/contracts/authorization/AccessAdmin.sol +592 -0
- package/contracts/authorization/AccessManagerCloneable.sol +16 -0
- package/contracts/authorization/Authorization.sol +221 -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/distribution/Distribution.sol +295 -0
- package/contracts/distribution/DistributionService.sol +336 -0
- package/contracts/distribution/DistributionServiceManager.sol +39 -0
- package/contracts/distribution/IDistributionComponent.sol +52 -0
- package/contracts/distribution/IDistributionService.sol +101 -0
- package/contracts/examples/fire/DamageLevel.sol +59 -0
- package/contracts/examples/fire/FirePool.sol +75 -0
- package/contracts/examples/fire/FirePoolAuthorization.sol +34 -0
- package/contracts/examples/fire/FireProduct.sol +410 -0
- package/contracts/examples/fire/FireProductAuthorization.sol +45 -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} +33 -32
- package/contracts/instance/IInstance.sol +43 -66
- package/contracts/instance/IInstanceService.sol +57 -24
- package/contracts/instance/Instance.sol +160 -212
- package/contracts/instance/InstanceAdmin.sol +288 -0
- package/contracts/instance/InstanceAuthorizationV3.sol +204 -0
- package/contracts/instance/InstanceReader.sol +264 -62
- package/contracts/instance/InstanceService.sol +337 -314
- 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 -8
- package/contracts/instance/module/IComponents.sol +48 -0
- package/contracts/instance/module/IDistribution.sol +6 -4
- package/contracts/instance/module/IPolicy.sol +58 -19
- package/contracts/instance/module/IRisk.sol +1 -1
- package/contracts/{test/TestToken.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 +461 -0
- package/contracts/pool/BundleServiceManager.sol +39 -0
- package/contracts/pool/IBundleService.sol +143 -0
- package/contracts/pool/IPoolComponent.sol +68 -0
- package/contracts/pool/IPoolService.sol +171 -0
- package/contracts/pool/Pool.sol +353 -0
- package/contracts/pool/PoolService.sol +563 -0
- package/contracts/pool/PoolServiceManager.sol +39 -0
- package/contracts/product/ApplicationService.sol +251 -0
- package/contracts/product/ApplicationServiceManager.sol +38 -0
- package/contracts/product/BasicProduct.sol +53 -0
- package/contracts/product/BasicProductAuthorization.sol +43 -0
- package/contracts/product/ClaimService.sol +581 -0
- package/contracts/product/ClaimServiceManager.sol +38 -0
- package/contracts/{instance/service → product}/IApplicationService.sol +18 -37
- package/contracts/product/IClaimService.sol +123 -0
- package/contracts/product/IPolicyService.sol +80 -0
- package/contracts/product/IPricingService.sol +39 -0
- package/contracts/product/IProductComponent.sol +53 -0
- package/contracts/product/IRiskService.sol +33 -0
- package/contracts/product/PolicyService.sol +686 -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 +432 -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 +96 -25
- package/contracts/registry/IRegistryService.sol +38 -45
- package/contracts/registry/ITransferInterceptor.sol +1 -0
- package/contracts/registry/Registry.sol +444 -201
- package/contracts/registry/RegistryAdmin.sol +464 -0
- package/contracts/registry/RegistryService.sol +123 -141
- package/contracts/registry/RegistryServiceManager.sol +24 -33
- package/contracts/registry/ReleaseLifecycle.sol +27 -0
- package/contracts/registry/ReleaseRegistry.sol +491 -0
- package/contracts/registry/ServiceAuthorizationV3.sol +198 -0
- package/contracts/registry/TokenRegistry.sol +262 -60
- 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 +116 -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 +6 -11
- package/contracts/shared/IPolicyHolder.sol +23 -14
- package/contracts/shared/IRegistryLinked.sol +0 -4
- package/contracts/shared/IService.sol +15 -6
- package/contracts/shared/InitializableCustom.sol +177 -0
- package/contracts/shared/{ERC165.sol → InitializableERC165.sol} +6 -5
- package/contracts/shared/InstanceLinkedComponent.sol +171 -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 +17 -100
- package/contracts/shared/PolicyHolder.sol +22 -41
- package/contracts/shared/Registerable.sol +19 -25
- package/contracts/shared/RegistryLinked.sol +8 -28
- package/contracts/shared/Service.sol +59 -32
- package/contracts/shared/TokenHandler.sol +122 -10
- 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 +150 -0
- package/contracts/{types → type}/Blocknumber.sol +27 -3
- package/contracts/type/ClaimId.sol +80 -0
- package/contracts/{types → type}/Fee.sol +33 -23
- package/contracts/{types → type}/NftId.sol +22 -15
- package/contracts/{types → type}/NftIdSet.sol +2 -2
- package/contracts/type/ObjectType.sol +275 -0
- package/contracts/type/PayoutId.sol +82 -0
- package/contracts/{types → type}/Referral.sol +6 -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 +35 -4
- package/contracts/type/String.sol +53 -0
- package/contracts/{types → type}/Timestamp.sol +34 -15
- package/contracts/{types → type}/UFixed.sol +39 -9
- package/contracts/{types → type}/Version.sol +5 -2
- package/contracts/{shared → upgradeability}/IVersionable.sol +5 -48
- package/contracts/upgradeability/ProxyManager.sol +231 -0
- package/contracts/{shared → upgradeability}/UpgradableProxyWithAdmin.sol +1 -3
- package/contracts/upgradeability/Versionable.sol +59 -0
- 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/experiment/cloning/Cloner.sol/Cloner.dbg.json +0 -4
- package/artifacts/contracts/experiment/cloning/Cloner.sol/Cloner.json +0 -66
- package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock1.dbg.json +0 -4
- package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock1.json +0 -24
- package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock2.dbg.json +0 -4
- package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock2.json +0 -42
- package/artifacts/contracts/experiment/errors/Require.sol/Require.dbg.json +0 -4
- package/artifacts/contracts/experiment/errors/Require.sol/Require.json +0 -105
- package/artifacts/contracts/experiment/errors/Revert.sol/Revert.dbg.json +0 -4
- package/artifacts/contracts/experiment/errors/Revert.sol/Revert.json +0 -105
- package/artifacts/contracts/experiment/inheritance/A.sol/A.dbg.json +0 -4
- package/artifacts/contracts/experiment/inheritance/A.sol/A.json +0 -128
- package/artifacts/contracts/experiment/inheritance/A.sol/AShared.dbg.json +0 -4
- package/artifacts/contracts/experiment/inheritance/A.sol/AShared.json +0 -42
- package/artifacts/contracts/experiment/inheritance/B.sol/B.dbg.json +0 -4
- package/artifacts/contracts/experiment/inheritance/B.sol/B.json +0 -76
- package/artifacts/contracts/experiment/inheritance/C.sol/C.dbg.json +0 -4
- package/artifacts/contracts/experiment/inheritance/C.sol/C.json +0 -89
- package/artifacts/contracts/experiment/inheritance/IA.sol/IA.dbg.json +0 -4
- package/artifacts/contracts/experiment/inheritance/IA.sol/IA.json +0 -128
- package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.dbg.json +0 -4
- package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.json +0 -37
- package/artifacts/contracts/experiment/inheritance/IB.sol/IB.dbg.json +0 -4
- package/artifacts/contracts/experiment/inheritance/IB.sol/IB.json +0 -50
- package/artifacts/contracts/experiment/inheritance/IC.sol/IC.dbg.json +0 -4
- package/artifacts/contracts/experiment/inheritance/IC.sol/IC.json +0 -63
- package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.dbg.json +0 -4
- package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.json +0 -59
- package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.dbg.json +0 -4
- package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.dbg.json +0 -4
- package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.json +0 -74
- package/artifacts/contracts/experiment/statemachine/SM.sol/SM.dbg.json +0 -4
- package/artifacts/contracts/experiment/statemachine/SM.sol/SM.json +0 -124
- package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.dbg.json +0 -4
- package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.json +0 -207
- package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.dbg.json +0 -4
- package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.json +0 -10
- package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.dbg.json +0 -4
- package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.json +0 -10
- package/artifacts/contracts/instance/BundleManager.sol/BundleManager.dbg.json +0 -4
- package/artifacts/contracts/instance/BundleManager.sol/BundleManager.json +0 -764
- 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 -502
- package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +0 -4
- package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +0 -169
- 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/service/ApplicationService.sol/ApplicationService.dbg.json +0 -4
- package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.json +0 -1117
- package/artifacts/contracts/instance/service/BundleService.sol/BundleService.dbg.json +0 -4
- package/artifacts/contracts/instance/service/BundleService.sol/BundleService.json +0 -1318
- package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.dbg.json +0 -4
- package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.json +0 -586
- package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +0 -4
- package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +0 -1200
- package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +0 -4
- package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.json +0 -614
- 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/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 -1378
- package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +0 -4
- package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.json +0 -642
- package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +0 -4
- package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +0 -957
- package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.dbg.json +0 -4
- package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.json +0 -574
- package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +0 -4
- package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +0 -1007
- package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.dbg.json +0 -4
- package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.json +0 -574
- 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/IVersionable.sol/IVersionable.json +0 -205
- package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +0 -4
- package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +0 -499
- 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/shared/Versionable.sol/Versionable.json +0 -228
- 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 -446
- 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 -759
- 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 -286
- 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/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 -153
- 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/Referral.sol/ReferralLib.dbg.json +0 -4
- package/artifacts/contracts/types/Referral.sol/ReferralLib.json +0 -123
- 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/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 -249
- 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 -236
- package/contracts/components/Distribution.sol +0 -316
- package/contracts/components/IComponent.sol +0 -50
- package/contracts/components/IDistributionComponent.sol +0 -100
- package/contracts/components/IPoolComponent.sol +0 -87
- package/contracts/components/IProductComponent.sol +0 -39
- package/contracts/components/Pool.sol +0 -254
- package/contracts/components/Product.sol +0 -278
- package/contracts/experiment/cloning/Cloner.sol +0 -47
- package/contracts/experiment/errors/Require.sol +0 -38
- package/contracts/experiment/errors/Revert.sol +0 -44
- package/contracts/experiment/inheritance/A.sol +0 -53
- package/contracts/experiment/inheritance/B.sol +0 -28
- package/contracts/experiment/inheritance/C.sol +0 -34
- package/contracts/experiment/inheritance/IA.sol +0 -13
- package/contracts/experiment/inheritance/IB.sol +0 -10
- package/contracts/experiment/inheritance/IC.sol +0 -12
- package/contracts/experiment/statemachine/Dummy.sol +0 -27
- package/contracts/experiment/statemachine/ISM.sol +0 -25
- package/contracts/experiment/statemachine/SM.sol +0 -57
- package/contracts/experiment/statemachine/SimpleStateMachine.sol +0 -31
- package/contracts/experiment/types/TypeA.sol +0 -47
- package/contracts/experiment/types/TypeB.sol +0 -29
- package/contracts/instance/InstanceAccessManager.sol +0 -297
- package/contracts/instance/base/ComponentService.sol +0 -134
- package/contracts/instance/base/KeyValueStore.sol +0 -172
- package/contracts/instance/base/Lifecycle.sol +0 -100
- package/contracts/instance/module/ISetup.sol +0 -47
- package/contracts/instance/module/ITreasury.sol +0 -23
- package/contracts/instance/service/ApplicationService.sol +0 -268
- package/contracts/instance/service/BundleService.sol +0 -298
- package/contracts/instance/service/BundleServiceManager.sol +0 -51
- package/contracts/instance/service/DistributionService.sol +0 -291
- package/contracts/instance/service/DistributionServiceManager.sol +0 -51
- package/contracts/instance/service/IBundleService.sol +0 -54
- package/contracts/instance/service/IDistributionService.sol +0 -65
- package/contracts/instance/service/IPolicyService.sol +0 -88
- package/contracts/instance/service/IPoolService.sol +0 -20
- package/contracts/instance/service/IProductService.sol +0 -40
- package/contracts/instance/service/PolicyService.sol +0 -524
- package/contracts/instance/service/PolicyServiceManager.sol +0 -54
- package/contracts/instance/service/PoolService.sol +0 -109
- 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 -331
- package/contracts/shared/ContractDeployerLib.sol +0 -72
- package/contracts/shared/ProxyManager.sol +0 -95
- package/contracts/shared/Versionable.sol +0 -148
- 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/TestVersion.sol +0 -44
- package/contracts/test/TestVersionable.sol +0 -17
- package/contracts/test/Usdc.sol +0 -26
- package/contracts/types/ChainId.sol +0 -38
- package/contracts/types/NumberId.sol +0 -52
- package/contracts/types/ObjectType.sol +0 -156
- package/contracts/types/RoleId.sol +0 -90
- /package/contracts/{types → type}/DistributorType.sol +0 -0
- /package/contracts/{types → type}/Key32.sol +0 -0
@@ -45,254 +45,155 @@
|
|
45
45
|
"inputs": [
|
46
46
|
{
|
47
47
|
"internalType": "address",
|
48
|
-
"name": "
|
48
|
+
"name": "instanceBundleSet",
|
49
49
|
"type": "address"
|
50
|
-
},
|
51
|
-
{
|
52
|
-
"internalType": "NftId",
|
53
|
-
"name": "nftId",
|
54
|
-
"type": "uint96"
|
55
50
|
}
|
56
51
|
],
|
57
|
-
"name": "
|
52
|
+
"name": "ErrorInstanceBundleSetAlreadySet",
|
58
53
|
"type": "error"
|
59
54
|
},
|
60
55
|
{
|
61
56
|
"inputs": [
|
62
57
|
{
|
63
58
|
"internalType": "address",
|
64
|
-
"name": "
|
59
|
+
"name": "instanceAuthority",
|
65
60
|
"type": "address"
|
66
61
|
}
|
67
62
|
],
|
68
|
-
"name": "
|
69
|
-
"type": "error"
|
70
|
-
},
|
71
|
-
{
|
72
|
-
"inputs": [],
|
73
|
-
"name": "ErrorInitialOwnerZero",
|
63
|
+
"name": "ErrorInstanceBundleSetAuthorityMismatch",
|
74
64
|
"type": "error"
|
75
65
|
},
|
76
66
|
{
|
77
67
|
"inputs": [
|
78
68
|
{
|
79
|
-
"internalType": "
|
80
|
-
"name": "
|
81
|
-
"type": "
|
82
|
-
},
|
83
|
-
{
|
84
|
-
"internalType": "StateId",
|
85
|
-
"name": "fromStateId",
|
86
|
-
"type": "uint8"
|
87
|
-
},
|
88
|
-
{
|
89
|
-
"internalType": "StateId",
|
90
|
-
"name": "toStateId",
|
91
|
-
"type": "uint8"
|
69
|
+
"internalType": "address",
|
70
|
+
"name": "instance",
|
71
|
+
"type": "address"
|
92
72
|
}
|
93
73
|
],
|
94
|
-
"name": "
|
74
|
+
"name": "ErrorInstanceBundleSetInstanceMismatch",
|
95
75
|
"type": "error"
|
96
76
|
},
|
97
77
|
{
|
98
78
|
"inputs": [
|
99
79
|
{
|
100
|
-
"internalType": "
|
101
|
-
"name": "
|
102
|
-
"type": "
|
103
|
-
},
|
104
|
-
{
|
105
|
-
"internalType": "ObjectType",
|
106
|
-
"name": "objectType",
|
107
|
-
"type": "uint8"
|
80
|
+
"internalType": "address",
|
81
|
+
"name": "InstanceAdmin",
|
82
|
+
"type": "address"
|
108
83
|
}
|
109
84
|
],
|
110
|
-
"name": "
|
85
|
+
"name": "ErrorInstanceInstanceAdminAlreadySet",
|
111
86
|
"type": "error"
|
112
87
|
},
|
113
88
|
{
|
114
89
|
"inputs": [
|
115
90
|
{
|
116
91
|
"internalType": "address",
|
117
|
-
"name": "
|
92
|
+
"name": "instanceAuthority",
|
118
93
|
"type": "address"
|
119
94
|
}
|
120
95
|
],
|
121
|
-
"name": "
|
96
|
+
"name": "ErrorInstanceInstanceAdminAuthorityMismatch",
|
97
|
+
"type": "error"
|
98
|
+
},
|
99
|
+
{
|
100
|
+
"inputs": [],
|
101
|
+
"name": "ErrorInstanceInstanceAdminZero",
|
122
102
|
"type": "error"
|
123
103
|
},
|
124
104
|
{
|
125
105
|
"inputs": [
|
126
106
|
{
|
127
107
|
"internalType": "address",
|
128
|
-
"name": "
|
108
|
+
"name": "instanceAuthority",
|
129
109
|
"type": "address"
|
130
110
|
}
|
131
111
|
],
|
132
|
-
"name": "
|
112
|
+
"name": "ErrorInstanceInstanceReaderInstanceMismatch",
|
133
113
|
"type": "error"
|
134
114
|
},
|
135
115
|
{
|
136
|
-
"inputs": [
|
137
|
-
|
116
|
+
"inputs": [
|
117
|
+
{
|
118
|
+
"internalType": "address",
|
119
|
+
"name": "instanceStore",
|
120
|
+
"type": "address"
|
121
|
+
}
|
122
|
+
],
|
123
|
+
"name": "ErrorInstanceInstanceStoreAlreadySet",
|
138
124
|
"type": "error"
|
139
125
|
},
|
140
126
|
{
|
141
127
|
"inputs": [
|
142
128
|
{
|
143
129
|
"internalType": "address",
|
144
|
-
"name": "
|
130
|
+
"name": "instanceAuthority",
|
145
131
|
"type": "address"
|
146
132
|
}
|
147
133
|
],
|
148
|
-
"name": "
|
134
|
+
"name": "ErrorInstanceInstanceStoreAuthorityMismatch",
|
149
135
|
"type": "error"
|
150
136
|
},
|
151
137
|
{
|
152
|
-
"inputs": [
|
153
|
-
|
138
|
+
"inputs": [
|
139
|
+
{
|
140
|
+
"internalType": "NftId",
|
141
|
+
"name": "nftId",
|
142
|
+
"type": "uint96"
|
143
|
+
}
|
144
|
+
],
|
145
|
+
"name": "ErrorNftOwnableAlreadyLinked",
|
154
146
|
"type": "error"
|
155
147
|
},
|
156
148
|
{
|
157
|
-
"anonymous": false,
|
158
149
|
"inputs": [
|
159
150
|
{
|
160
|
-
"indexed": false,
|
161
151
|
"internalType": "address",
|
162
|
-
"name": "
|
152
|
+
"name": "contractAddress",
|
163
153
|
"type": "address"
|
164
154
|
}
|
165
155
|
],
|
166
|
-
"name": "
|
167
|
-
"type": "
|
156
|
+
"name": "ErrorNftOwnableContractNotRegistered",
|
157
|
+
"type": "error"
|
158
|
+
},
|
159
|
+
{
|
160
|
+
"inputs": [],
|
161
|
+
"name": "ErrorNftOwnableInitialOwnerZero",
|
162
|
+
"type": "error"
|
168
163
|
},
|
169
164
|
{
|
170
|
-
"anonymous": false,
|
171
165
|
"inputs": [
|
172
166
|
{
|
173
|
-
"indexed": false,
|
174
|
-
"internalType": "ObjectType",
|
175
|
-
"name": "objectType",
|
176
|
-
"type": "uint8"
|
177
|
-
},
|
178
|
-
{
|
179
|
-
"indexed": false,
|
180
|
-
"internalType": "KeyId",
|
181
|
-
"name": "keyId",
|
182
|
-
"type": "bytes31"
|
183
|
-
},
|
184
|
-
{
|
185
|
-
"indexed": false,
|
186
|
-
"internalType": "StateId",
|
187
|
-
"name": "state",
|
188
|
-
"type": "uint8"
|
189
|
-
},
|
190
|
-
{
|
191
|
-
"indexed": false,
|
192
|
-
"internalType": "address",
|
193
|
-
"name": "createdBy",
|
194
|
-
"type": "address"
|
195
|
-
},
|
196
|
-
{
|
197
|
-
"indexed": false,
|
198
167
|
"internalType": "address",
|
199
|
-
"name": "
|
168
|
+
"name": "account",
|
200
169
|
"type": "address"
|
201
170
|
}
|
202
171
|
],
|
203
|
-
"name": "
|
204
|
-
"type": "
|
172
|
+
"name": "ErrorNftOwnableNotOwner",
|
173
|
+
"type": "error"
|
205
174
|
},
|
206
175
|
{
|
207
|
-
"anonymous": false,
|
208
176
|
"inputs": [
|
209
177
|
{
|
210
|
-
"indexed": false,
|
211
|
-
"internalType": "ObjectType",
|
212
|
-
"name": "objectType",
|
213
|
-
"type": "uint8"
|
214
|
-
},
|
215
|
-
{
|
216
|
-
"indexed": false,
|
217
|
-
"internalType": "KeyId",
|
218
|
-
"name": "keyId",
|
219
|
-
"type": "bytes31"
|
220
|
-
},
|
221
|
-
{
|
222
|
-
"indexed": false,
|
223
|
-
"internalType": "StateId",
|
224
|
-
"name": "state",
|
225
|
-
"type": "uint8"
|
226
|
-
},
|
227
|
-
{
|
228
|
-
"indexed": false,
|
229
|
-
"internalType": "address",
|
230
|
-
"name": "updatedBy",
|
231
|
-
"type": "address"
|
232
|
-
},
|
233
|
-
{
|
234
|
-
"indexed": false,
|
235
178
|
"internalType": "address",
|
236
|
-
"name": "
|
179
|
+
"name": "registryAddress",
|
237
180
|
"type": "address"
|
238
|
-
},
|
239
|
-
{
|
240
|
-
"indexed": false,
|
241
|
-
"internalType": "Blocknumber",
|
242
|
-
"name": "lastUpdatedIn",
|
243
|
-
"type": "uint32"
|
244
181
|
}
|
245
182
|
],
|
246
|
-
"name": "
|
247
|
-
"type": "
|
183
|
+
"name": "ErrorNotRegistry",
|
184
|
+
"type": "error"
|
248
185
|
},
|
249
186
|
{
|
250
187
|
"anonymous": false,
|
251
188
|
"inputs": [
|
252
|
-
{
|
253
|
-
"indexed": false,
|
254
|
-
"internalType": "ObjectType",
|
255
|
-
"name": "objectType",
|
256
|
-
"type": "uint8"
|
257
|
-
},
|
258
|
-
{
|
259
|
-
"indexed": false,
|
260
|
-
"internalType": "KeyId",
|
261
|
-
"name": "keyId",
|
262
|
-
"type": "bytes31"
|
263
|
-
},
|
264
|
-
{
|
265
|
-
"indexed": false,
|
266
|
-
"internalType": "StateId",
|
267
|
-
"name": "stateOld",
|
268
|
-
"type": "uint8"
|
269
|
-
},
|
270
|
-
{
|
271
|
-
"indexed": false,
|
272
|
-
"internalType": "StateId",
|
273
|
-
"name": "stateNew",
|
274
|
-
"type": "uint8"
|
275
|
-
},
|
276
|
-
{
|
277
|
-
"indexed": false,
|
278
|
-
"internalType": "address",
|
279
|
-
"name": "updatedBy",
|
280
|
-
"type": "address"
|
281
|
-
},
|
282
189
|
{
|
283
190
|
"indexed": false,
|
284
191
|
"internalType": "address",
|
285
|
-
"name": "
|
192
|
+
"name": "authority",
|
286
193
|
"type": "address"
|
287
|
-
},
|
288
|
-
{
|
289
|
-
"indexed": false,
|
290
|
-
"internalType": "Blocknumber",
|
291
|
-
"name": "lastUpdatedIn",
|
292
|
-
"type": "uint32"
|
293
194
|
}
|
294
195
|
],
|
295
|
-
"name": "
|
196
|
+
"name": "AuthorityUpdated",
|
296
197
|
"type": "event"
|
297
198
|
},
|
298
199
|
{
|
@@ -311,215 +212,98 @@
|
|
311
212
|
{
|
312
213
|
"inputs": [
|
313
214
|
{
|
314
|
-
"internalType": "
|
315
|
-
"name": "
|
316
|
-
"type": "
|
215
|
+
"internalType": "string",
|
216
|
+
"name": "roleName",
|
217
|
+
"type": "string"
|
317
218
|
},
|
318
219
|
{
|
319
|
-
"
|
320
|
-
|
321
|
-
|
322
|
-
"name": "poolNftId",
|
323
|
-
"type": "uint96"
|
324
|
-
},
|
325
|
-
{
|
326
|
-
"components": [
|
327
|
-
{
|
328
|
-
"internalType": "UFixed",
|
329
|
-
"name": "fractionalFee",
|
330
|
-
"type": "uint256"
|
331
|
-
},
|
332
|
-
{
|
333
|
-
"internalType": "uint256",
|
334
|
-
"name": "fixedFee",
|
335
|
-
"type": "uint256"
|
336
|
-
}
|
337
|
-
],
|
338
|
-
"internalType": "struct Fee",
|
339
|
-
"name": "fee",
|
340
|
-
"type": "tuple"
|
341
|
-
},
|
342
|
-
{
|
343
|
-
"internalType": "bytes",
|
344
|
-
"name": "filter",
|
345
|
-
"type": "bytes"
|
346
|
-
},
|
347
|
-
{
|
348
|
-
"internalType": "uint256",
|
349
|
-
"name": "capitalAmount",
|
350
|
-
"type": "uint256"
|
351
|
-
},
|
352
|
-
{
|
353
|
-
"internalType": "uint256",
|
354
|
-
"name": "lockedAmount",
|
355
|
-
"type": "uint256"
|
356
|
-
},
|
357
|
-
{
|
358
|
-
"internalType": "uint256",
|
359
|
-
"name": "balanceAmount",
|
360
|
-
"type": "uint256"
|
361
|
-
},
|
362
|
-
{
|
363
|
-
"internalType": "uint256",
|
364
|
-
"name": "lifetime",
|
365
|
-
"type": "uint256"
|
366
|
-
},
|
367
|
-
{
|
368
|
-
"internalType": "Timestamp",
|
369
|
-
"name": "expiredAt",
|
370
|
-
"type": "uint40"
|
371
|
-
},
|
372
|
-
{
|
373
|
-
"internalType": "Timestamp",
|
374
|
-
"name": "closedAt",
|
375
|
-
"type": "uint40"
|
376
|
-
}
|
377
|
-
],
|
378
|
-
"internalType": "struct IBundle.BundleInfo",
|
379
|
-
"name": "bundle",
|
380
|
-
"type": "tuple"
|
220
|
+
"internalType": "string",
|
221
|
+
"name": "adminName",
|
222
|
+
"type": "string"
|
381
223
|
}
|
382
224
|
],
|
383
|
-
"name": "
|
384
|
-
"outputs": [
|
385
|
-
"stateMutability": "nonpayable",
|
386
|
-
"type": "function"
|
387
|
-
},
|
388
|
-
{
|
389
|
-
"inputs": [
|
225
|
+
"name": "createRole",
|
226
|
+
"outputs": [
|
390
227
|
{
|
391
|
-
"internalType": "
|
392
|
-
"name": "
|
393
|
-
"type": "
|
228
|
+
"internalType": "RoleId",
|
229
|
+
"name": "roleId",
|
230
|
+
"type": "uint64"
|
394
231
|
},
|
395
232
|
{
|
396
|
-
"
|
397
|
-
|
398
|
-
|
399
|
-
"name": "productNftId",
|
400
|
-
"type": "uint96"
|
401
|
-
},
|
402
|
-
{
|
403
|
-
"internalType": "contract TokenHandler",
|
404
|
-
"name": "tokenHandler",
|
405
|
-
"type": "address"
|
406
|
-
},
|
407
|
-
{
|
408
|
-
"components": [
|
409
|
-
{
|
410
|
-
"internalType": "UFixed",
|
411
|
-
"name": "fractionalFee",
|
412
|
-
"type": "uint256"
|
413
|
-
},
|
414
|
-
{
|
415
|
-
"internalType": "uint256",
|
416
|
-
"name": "fixedFee",
|
417
|
-
"type": "uint256"
|
418
|
-
}
|
419
|
-
],
|
420
|
-
"internalType": "struct Fee",
|
421
|
-
"name": "distributionFee",
|
422
|
-
"type": "tuple"
|
423
|
-
},
|
424
|
-
{
|
425
|
-
"internalType": "address",
|
426
|
-
"name": "wallet",
|
427
|
-
"type": "address"
|
428
|
-
}
|
429
|
-
],
|
430
|
-
"internalType": "struct ISetup.DistributionSetupInfo",
|
431
|
-
"name": "setup",
|
432
|
-
"type": "tuple"
|
233
|
+
"internalType": "RoleId",
|
234
|
+
"name": "admin",
|
235
|
+
"type": "uint64"
|
433
236
|
}
|
434
237
|
],
|
435
|
-
"name": "createDistributionSetup",
|
436
|
-
"outputs": [],
|
437
238
|
"stateMutability": "nonpayable",
|
438
239
|
"type": "function"
|
439
240
|
},
|
440
241
|
{
|
441
242
|
"inputs": [
|
442
243
|
{
|
443
|
-
"internalType": "
|
444
|
-
"name": "
|
445
|
-
"type": "
|
244
|
+
"internalType": "address",
|
245
|
+
"name": "target",
|
246
|
+
"type": "address"
|
446
247
|
},
|
447
248
|
{
|
448
|
-
"
|
449
|
-
|
450
|
-
|
451
|
-
"name": "distributorType",
|
452
|
-
"type": "bytes8"
|
453
|
-
},
|
454
|
-
{
|
455
|
-
"internalType": "bool",
|
456
|
-
"name": "active",
|
457
|
-
"type": "bool"
|
458
|
-
},
|
459
|
-
{
|
460
|
-
"internalType": "bytes",
|
461
|
-
"name": "data",
|
462
|
-
"type": "bytes"
|
463
|
-
}
|
464
|
-
],
|
465
|
-
"internalType": "struct IDistribution.DistributorInfo",
|
466
|
-
"name": "info",
|
467
|
-
"type": "tuple"
|
249
|
+
"internalType": "string",
|
250
|
+
"name": "name",
|
251
|
+
"type": "string"
|
468
252
|
}
|
469
253
|
],
|
470
|
-
"name": "
|
254
|
+
"name": "createTarget",
|
471
255
|
"outputs": [],
|
472
256
|
"stateMutability": "nonpayable",
|
473
257
|
"type": "function"
|
474
258
|
},
|
475
259
|
{
|
476
|
-
"inputs": [
|
260
|
+
"inputs": [],
|
261
|
+
"name": "getBundleSet",
|
262
|
+
"outputs": [
|
477
263
|
{
|
478
|
-
"internalType": "
|
479
|
-
"name": "
|
480
|
-
"type": "
|
481
|
-
}
|
264
|
+
"internalType": "contract BundleSet",
|
265
|
+
"name": "",
|
266
|
+
"type": "address"
|
267
|
+
}
|
268
|
+
],
|
269
|
+
"stateMutability": "view",
|
270
|
+
"type": "function"
|
271
|
+
},
|
272
|
+
{
|
273
|
+
"inputs": [],
|
274
|
+
"name": "getInitialInfo",
|
275
|
+
"outputs": [
|
482
276
|
{
|
483
277
|
"components": [
|
484
278
|
{
|
485
|
-
"internalType": "
|
486
|
-
"name": "
|
487
|
-
"type": "
|
488
|
-
},
|
489
|
-
{
|
490
|
-
"internalType": "UFixed",
|
491
|
-
"name": "minDiscountPercentage",
|
492
|
-
"type": "uint256"
|
493
|
-
},
|
494
|
-
{
|
495
|
-
"internalType": "UFixed",
|
496
|
-
"name": "maxDiscountPercentage",
|
497
|
-
"type": "uint256"
|
498
|
-
},
|
499
|
-
{
|
500
|
-
"internalType": "UFixed",
|
501
|
-
"name": "commissionPercentage",
|
502
|
-
"type": "uint256"
|
279
|
+
"internalType": "NftId",
|
280
|
+
"name": "nftId",
|
281
|
+
"type": "uint96"
|
503
282
|
},
|
504
283
|
{
|
505
|
-
"internalType": "
|
506
|
-
"name": "
|
507
|
-
"type": "
|
284
|
+
"internalType": "NftId",
|
285
|
+
"name": "parentNftId",
|
286
|
+
"type": "uint96"
|
508
287
|
},
|
509
288
|
{
|
510
|
-
"internalType": "
|
511
|
-
"name": "
|
512
|
-
"type": "
|
289
|
+
"internalType": "ObjectType",
|
290
|
+
"name": "objectType",
|
291
|
+
"type": "uint8"
|
513
292
|
},
|
514
293
|
{
|
515
294
|
"internalType": "bool",
|
516
|
-
"name": "
|
295
|
+
"name": "isInterceptor",
|
517
296
|
"type": "bool"
|
518
297
|
},
|
519
298
|
{
|
520
|
-
"internalType": "
|
521
|
-
"name": "
|
522
|
-
"type": "
|
299
|
+
"internalType": "address",
|
300
|
+
"name": "objectAddress",
|
301
|
+
"type": "address"
|
302
|
+
},
|
303
|
+
{
|
304
|
+
"internalType": "address",
|
305
|
+
"name": "initialOwner",
|
306
|
+
"type": "address"
|
523
307
|
},
|
524
308
|
{
|
525
309
|
"internalType": "bytes",
|
@@ -527,536 +311,48 @@
|
|
527
311
|
"type": "bytes"
|
528
312
|
}
|
529
313
|
],
|
530
|
-
"internalType": "struct
|
531
|
-
"name": "
|
314
|
+
"internalType": "struct IRegistry.ObjectInfo",
|
315
|
+
"name": "",
|
532
316
|
"type": "tuple"
|
533
317
|
}
|
534
318
|
],
|
535
|
-
"
|
536
|
-
"outputs": [],
|
537
|
-
"stateMutability": "nonpayable",
|
319
|
+
"stateMutability": "view",
|
538
320
|
"type": "function"
|
539
321
|
},
|
540
322
|
{
|
541
|
-
"inputs": [
|
323
|
+
"inputs": [],
|
324
|
+
"name": "getInstanceAdmin",
|
325
|
+
"outputs": [
|
542
326
|
{
|
543
|
-
"internalType": "
|
544
|
-
"name": "
|
545
|
-
"type": "
|
546
|
-
},
|
547
|
-
{
|
548
|
-
"components": [
|
549
|
-
{
|
550
|
-
"internalType": "NftId",
|
551
|
-
"name": "productNftId",
|
552
|
-
"type": "uint96"
|
553
|
-
},
|
554
|
-
{
|
555
|
-
"internalType": "NftId",
|
556
|
-
"name": "bundleNftId",
|
557
|
-
"type": "uint96"
|
558
|
-
},
|
559
|
-
{
|
560
|
-
"internalType": "ReferralId",
|
561
|
-
"name": "referralId",
|
562
|
-
"type": "bytes8"
|
563
|
-
},
|
564
|
-
{
|
565
|
-
"internalType": "RiskId",
|
566
|
-
"name": "riskId",
|
567
|
-
"type": "bytes8"
|
568
|
-
},
|
569
|
-
{
|
570
|
-
"internalType": "uint256",
|
571
|
-
"name": "sumInsuredAmount",
|
572
|
-
"type": "uint256"
|
573
|
-
},
|
574
|
-
{
|
575
|
-
"internalType": "uint256",
|
576
|
-
"name": "premiumAmount",
|
577
|
-
"type": "uint256"
|
578
|
-
},
|
579
|
-
{
|
580
|
-
"internalType": "uint256",
|
581
|
-
"name": "premiumPaidAmount",
|
582
|
-
"type": "uint256"
|
583
|
-
},
|
584
|
-
{
|
585
|
-
"internalType": "uint256",
|
586
|
-
"name": "lifetime",
|
587
|
-
"type": "uint256"
|
588
|
-
},
|
589
|
-
{
|
590
|
-
"internalType": "bytes",
|
591
|
-
"name": "applicationData",
|
592
|
-
"type": "bytes"
|
593
|
-
},
|
594
|
-
{
|
595
|
-
"internalType": "bytes",
|
596
|
-
"name": "policyData",
|
597
|
-
"type": "bytes"
|
598
|
-
},
|
599
|
-
{
|
600
|
-
"internalType": "uint16",
|
601
|
-
"name": "claimsCount",
|
602
|
-
"type": "uint16"
|
603
|
-
},
|
604
|
-
{
|
605
|
-
"internalType": "uint16",
|
606
|
-
"name": "openClaimsCount",
|
607
|
-
"type": "uint16"
|
608
|
-
},
|
609
|
-
{
|
610
|
-
"internalType": "uint256",
|
611
|
-
"name": "payoutAmount",
|
612
|
-
"type": "uint256"
|
613
|
-
},
|
614
|
-
{
|
615
|
-
"internalType": "Timestamp",
|
616
|
-
"name": "activatedAt",
|
617
|
-
"type": "uint40"
|
618
|
-
},
|
619
|
-
{
|
620
|
-
"internalType": "Timestamp",
|
621
|
-
"name": "expiredAt",
|
622
|
-
"type": "uint40"
|
623
|
-
},
|
624
|
-
{
|
625
|
-
"internalType": "Timestamp",
|
626
|
-
"name": "closedAt",
|
627
|
-
"type": "uint40"
|
628
|
-
}
|
629
|
-
],
|
630
|
-
"internalType": "struct IPolicy.PolicyInfo",
|
631
|
-
"name": "policy",
|
632
|
-
"type": "tuple"
|
633
|
-
}
|
634
|
-
],
|
635
|
-
"name": "createPolicy",
|
636
|
-
"outputs": [],
|
637
|
-
"stateMutability": "nonpayable",
|
638
|
-
"type": "function"
|
639
|
-
},
|
640
|
-
{
|
641
|
-
"inputs": [
|
642
|
-
{
|
643
|
-
"internalType": "NftId",
|
644
|
-
"name": "poolNftId",
|
645
|
-
"type": "uint96"
|
646
|
-
},
|
647
|
-
{
|
648
|
-
"components": [
|
649
|
-
{
|
650
|
-
"internalType": "NftId",
|
651
|
-
"name": "productNftId",
|
652
|
-
"type": "uint96"
|
653
|
-
},
|
654
|
-
{
|
655
|
-
"internalType": "contract TokenHandler",
|
656
|
-
"name": "tokenHandler",
|
657
|
-
"type": "address"
|
658
|
-
},
|
659
|
-
{
|
660
|
-
"internalType": "bool",
|
661
|
-
"name": "isInterceptingBundleTransfers",
|
662
|
-
"type": "bool"
|
663
|
-
},
|
664
|
-
{
|
665
|
-
"internalType": "bool",
|
666
|
-
"name": "isExternallyManaged",
|
667
|
-
"type": "bool"
|
668
|
-
},
|
669
|
-
{
|
670
|
-
"internalType": "bool",
|
671
|
-
"name": "isVerifyingApplications",
|
672
|
-
"type": "bool"
|
673
|
-
},
|
674
|
-
{
|
675
|
-
"internalType": "UFixed",
|
676
|
-
"name": "collateralizationLevel",
|
677
|
-
"type": "uint256"
|
678
|
-
},
|
679
|
-
{
|
680
|
-
"internalType": "UFixed",
|
681
|
-
"name": "retentionLevel",
|
682
|
-
"type": "uint256"
|
683
|
-
},
|
684
|
-
{
|
685
|
-
"components": [
|
686
|
-
{
|
687
|
-
"internalType": "UFixed",
|
688
|
-
"name": "fractionalFee",
|
689
|
-
"type": "uint256"
|
690
|
-
},
|
691
|
-
{
|
692
|
-
"internalType": "uint256",
|
693
|
-
"name": "fixedFee",
|
694
|
-
"type": "uint256"
|
695
|
-
}
|
696
|
-
],
|
697
|
-
"internalType": "struct Fee",
|
698
|
-
"name": "poolFee",
|
699
|
-
"type": "tuple"
|
700
|
-
},
|
701
|
-
{
|
702
|
-
"components": [
|
703
|
-
{
|
704
|
-
"internalType": "UFixed",
|
705
|
-
"name": "fractionalFee",
|
706
|
-
"type": "uint256"
|
707
|
-
},
|
708
|
-
{
|
709
|
-
"internalType": "uint256",
|
710
|
-
"name": "fixedFee",
|
711
|
-
"type": "uint256"
|
712
|
-
}
|
713
|
-
],
|
714
|
-
"internalType": "struct Fee",
|
715
|
-
"name": "stakingFee",
|
716
|
-
"type": "tuple"
|
717
|
-
},
|
718
|
-
{
|
719
|
-
"components": [
|
720
|
-
{
|
721
|
-
"internalType": "UFixed",
|
722
|
-
"name": "fractionalFee",
|
723
|
-
"type": "uint256"
|
724
|
-
},
|
725
|
-
{
|
726
|
-
"internalType": "uint256",
|
727
|
-
"name": "fixedFee",
|
728
|
-
"type": "uint256"
|
729
|
-
}
|
730
|
-
],
|
731
|
-
"internalType": "struct Fee",
|
732
|
-
"name": "performanceFee",
|
733
|
-
"type": "tuple"
|
734
|
-
},
|
735
|
-
{
|
736
|
-
"internalType": "address",
|
737
|
-
"name": "wallet",
|
738
|
-
"type": "address"
|
739
|
-
}
|
740
|
-
],
|
741
|
-
"internalType": "struct ISetup.PoolSetupInfo",
|
742
|
-
"name": "setup",
|
743
|
-
"type": "tuple"
|
744
|
-
}
|
745
|
-
],
|
746
|
-
"name": "createPoolSetup",
|
747
|
-
"outputs": [],
|
748
|
-
"stateMutability": "nonpayable",
|
749
|
-
"type": "function"
|
750
|
-
},
|
751
|
-
{
|
752
|
-
"inputs": [
|
753
|
-
{
|
754
|
-
"internalType": "NftId",
|
755
|
-
"name": "productNftId",
|
756
|
-
"type": "uint96"
|
757
|
-
},
|
758
|
-
{
|
759
|
-
"components": [
|
760
|
-
{
|
761
|
-
"internalType": "contract IERC20Metadata",
|
762
|
-
"name": "token",
|
763
|
-
"type": "address"
|
764
|
-
},
|
765
|
-
{
|
766
|
-
"internalType": "contract TokenHandler",
|
767
|
-
"name": "tokenHandler",
|
768
|
-
"type": "address"
|
769
|
-
},
|
770
|
-
{
|
771
|
-
"internalType": "NftId",
|
772
|
-
"name": "distributionNftId",
|
773
|
-
"type": "uint96"
|
774
|
-
},
|
775
|
-
{
|
776
|
-
"internalType": "NftId",
|
777
|
-
"name": "poolNftId",
|
778
|
-
"type": "uint96"
|
779
|
-
},
|
780
|
-
{
|
781
|
-
"components": [
|
782
|
-
{
|
783
|
-
"internalType": "UFixed",
|
784
|
-
"name": "fractionalFee",
|
785
|
-
"type": "uint256"
|
786
|
-
},
|
787
|
-
{
|
788
|
-
"internalType": "uint256",
|
789
|
-
"name": "fixedFee",
|
790
|
-
"type": "uint256"
|
791
|
-
}
|
792
|
-
],
|
793
|
-
"internalType": "struct Fee",
|
794
|
-
"name": "distributionFee",
|
795
|
-
"type": "tuple"
|
796
|
-
},
|
797
|
-
{
|
798
|
-
"components": [
|
799
|
-
{
|
800
|
-
"internalType": "UFixed",
|
801
|
-
"name": "fractionalFee",
|
802
|
-
"type": "uint256"
|
803
|
-
},
|
804
|
-
{
|
805
|
-
"internalType": "uint256",
|
806
|
-
"name": "fixedFee",
|
807
|
-
"type": "uint256"
|
808
|
-
}
|
809
|
-
],
|
810
|
-
"internalType": "struct Fee",
|
811
|
-
"name": "productFee",
|
812
|
-
"type": "tuple"
|
813
|
-
},
|
814
|
-
{
|
815
|
-
"components": [
|
816
|
-
{
|
817
|
-
"internalType": "UFixed",
|
818
|
-
"name": "fractionalFee",
|
819
|
-
"type": "uint256"
|
820
|
-
},
|
821
|
-
{
|
822
|
-
"internalType": "uint256",
|
823
|
-
"name": "fixedFee",
|
824
|
-
"type": "uint256"
|
825
|
-
}
|
826
|
-
],
|
827
|
-
"internalType": "struct Fee",
|
828
|
-
"name": "processingFee",
|
829
|
-
"type": "tuple"
|
830
|
-
},
|
831
|
-
{
|
832
|
-
"components": [
|
833
|
-
{
|
834
|
-
"internalType": "UFixed",
|
835
|
-
"name": "fractionalFee",
|
836
|
-
"type": "uint256"
|
837
|
-
},
|
838
|
-
{
|
839
|
-
"internalType": "uint256",
|
840
|
-
"name": "fixedFee",
|
841
|
-
"type": "uint256"
|
842
|
-
}
|
843
|
-
],
|
844
|
-
"internalType": "struct Fee",
|
845
|
-
"name": "poolFee",
|
846
|
-
"type": "tuple"
|
847
|
-
},
|
848
|
-
{
|
849
|
-
"components": [
|
850
|
-
{
|
851
|
-
"internalType": "UFixed",
|
852
|
-
"name": "fractionalFee",
|
853
|
-
"type": "uint256"
|
854
|
-
},
|
855
|
-
{
|
856
|
-
"internalType": "uint256",
|
857
|
-
"name": "fixedFee",
|
858
|
-
"type": "uint256"
|
859
|
-
}
|
860
|
-
],
|
861
|
-
"internalType": "struct Fee",
|
862
|
-
"name": "stakingFee",
|
863
|
-
"type": "tuple"
|
864
|
-
},
|
865
|
-
{
|
866
|
-
"components": [
|
867
|
-
{
|
868
|
-
"internalType": "UFixed",
|
869
|
-
"name": "fractionalFee",
|
870
|
-
"type": "uint256"
|
871
|
-
},
|
872
|
-
{
|
873
|
-
"internalType": "uint256",
|
874
|
-
"name": "fixedFee",
|
875
|
-
"type": "uint256"
|
876
|
-
}
|
877
|
-
],
|
878
|
-
"internalType": "struct Fee",
|
879
|
-
"name": "performanceFee",
|
880
|
-
"type": "tuple"
|
881
|
-
},
|
882
|
-
{
|
883
|
-
"internalType": "bool",
|
884
|
-
"name": "isIntercepting",
|
885
|
-
"type": "bool"
|
886
|
-
},
|
887
|
-
{
|
888
|
-
"internalType": "address",
|
889
|
-
"name": "wallet",
|
890
|
-
"type": "address"
|
891
|
-
}
|
892
|
-
],
|
893
|
-
"internalType": "struct ISetup.ProductSetupInfo",
|
894
|
-
"name": "setup",
|
895
|
-
"type": "tuple"
|
896
|
-
}
|
897
|
-
],
|
898
|
-
"name": "createProductSetup",
|
899
|
-
"outputs": [],
|
900
|
-
"stateMutability": "nonpayable",
|
901
|
-
"type": "function"
|
902
|
-
},
|
903
|
-
{
|
904
|
-
"inputs": [
|
905
|
-
{
|
906
|
-
"internalType": "Key32",
|
907
|
-
"name": "referralKey",
|
908
|
-
"type": "bytes32"
|
909
|
-
},
|
910
|
-
{
|
911
|
-
"components": [
|
912
|
-
{
|
913
|
-
"internalType": "NftId",
|
914
|
-
"name": "distributorNftId",
|
915
|
-
"type": "uint96"
|
916
|
-
},
|
917
|
-
{
|
918
|
-
"internalType": "string",
|
919
|
-
"name": "referralCode",
|
920
|
-
"type": "string"
|
921
|
-
},
|
922
|
-
{
|
923
|
-
"internalType": "UFixed",
|
924
|
-
"name": "discountPercentage",
|
925
|
-
"type": "uint256"
|
926
|
-
},
|
927
|
-
{
|
928
|
-
"internalType": "uint32",
|
929
|
-
"name": "maxReferrals",
|
930
|
-
"type": "uint32"
|
931
|
-
},
|
932
|
-
{
|
933
|
-
"internalType": "uint32",
|
934
|
-
"name": "usedReferrals",
|
935
|
-
"type": "uint32"
|
936
|
-
},
|
937
|
-
{
|
938
|
-
"internalType": "Timestamp",
|
939
|
-
"name": "expiryAt",
|
940
|
-
"type": "uint40"
|
941
|
-
},
|
942
|
-
{
|
943
|
-
"internalType": "bytes",
|
944
|
-
"name": "data",
|
945
|
-
"type": "bytes"
|
946
|
-
}
|
947
|
-
],
|
948
|
-
"internalType": "struct IDistribution.ReferralInfo",
|
949
|
-
"name": "referralInfo",
|
950
|
-
"type": "tuple"
|
951
|
-
}
|
952
|
-
],
|
953
|
-
"name": "createReferral",
|
954
|
-
"outputs": [],
|
955
|
-
"stateMutability": "nonpayable",
|
956
|
-
"type": "function"
|
957
|
-
},
|
958
|
-
{
|
959
|
-
"inputs": [
|
960
|
-
{
|
961
|
-
"internalType": "RiskId",
|
962
|
-
"name": "riskId",
|
963
|
-
"type": "bytes8"
|
964
|
-
},
|
965
|
-
{
|
966
|
-
"components": [
|
967
|
-
{
|
968
|
-
"internalType": "NftId",
|
969
|
-
"name": "productNftId",
|
970
|
-
"type": "uint96"
|
971
|
-
},
|
972
|
-
{
|
973
|
-
"internalType": "bytes",
|
974
|
-
"name": "data",
|
975
|
-
"type": "bytes"
|
976
|
-
}
|
977
|
-
],
|
978
|
-
"internalType": "struct IRisk.RiskInfo",
|
979
|
-
"name": "risk",
|
980
|
-
"type": "tuple"
|
327
|
+
"internalType": "contract InstanceAdmin",
|
328
|
+
"name": "",
|
329
|
+
"type": "address"
|
981
330
|
}
|
982
331
|
],
|
983
|
-
"
|
984
|
-
"outputs": [],
|
985
|
-
"stateMutability": "nonpayable",
|
332
|
+
"stateMutability": "view",
|
986
333
|
"type": "function"
|
987
334
|
},
|
988
335
|
{
|
989
|
-
"inputs": [
|
990
|
-
|
991
|
-
"internalType": "Key32",
|
992
|
-
"name": "key",
|
993
|
-
"type": "bytes32"
|
994
|
-
}
|
995
|
-
],
|
996
|
-
"name": "exists",
|
336
|
+
"inputs": [],
|
337
|
+
"name": "getInstanceReader",
|
997
338
|
"outputs": [
|
998
339
|
{
|
999
|
-
"internalType": "
|
340
|
+
"internalType": "contract InstanceReader",
|
1000
341
|
"name": "",
|
1001
|
-
"type": "
|
342
|
+
"type": "address"
|
1002
343
|
}
|
1003
344
|
],
|
1004
345
|
"stateMutability": "view",
|
1005
346
|
"type": "function"
|
1006
347
|
},
|
1007
348
|
{
|
1008
|
-
"inputs": [
|
1009
|
-
|
1010
|
-
"internalType": "Key32",
|
1011
|
-
"name": "key",
|
1012
|
-
"type": "bytes32"
|
1013
|
-
}
|
1014
|
-
],
|
1015
|
-
"name": "get",
|
349
|
+
"inputs": [],
|
350
|
+
"name": "getInstanceStore",
|
1016
351
|
"outputs": [
|
1017
352
|
{
|
1018
|
-
"
|
1019
|
-
|
1020
|
-
|
1021
|
-
{
|
1022
|
-
"internalType": "ObjectType",
|
1023
|
-
"name": "objectType",
|
1024
|
-
"type": "uint8"
|
1025
|
-
},
|
1026
|
-
{
|
1027
|
-
"internalType": "StateId",
|
1028
|
-
"name": "state",
|
1029
|
-
"type": "uint8"
|
1030
|
-
},
|
1031
|
-
{
|
1032
|
-
"internalType": "address",
|
1033
|
-
"name": "updatedBy",
|
1034
|
-
"type": "address"
|
1035
|
-
},
|
1036
|
-
{
|
1037
|
-
"internalType": "Blocknumber",
|
1038
|
-
"name": "updatedIn",
|
1039
|
-
"type": "uint32"
|
1040
|
-
},
|
1041
|
-
{
|
1042
|
-
"internalType": "Blocknumber",
|
1043
|
-
"name": "createdIn",
|
1044
|
-
"type": "uint32"
|
1045
|
-
}
|
1046
|
-
],
|
1047
|
-
"internalType": "struct IKeyValueStore.Metadata",
|
1048
|
-
"name": "metadata",
|
1049
|
-
"type": "tuple"
|
1050
|
-
},
|
1051
|
-
{
|
1052
|
-
"internalType": "bytes",
|
1053
|
-
"name": "data",
|
1054
|
-
"type": "bytes"
|
1055
|
-
}
|
1056
|
-
],
|
1057
|
-
"internalType": "struct IKeyValueStore.Value",
|
1058
|
-
"name": "value",
|
1059
|
-
"type": "tuple"
|
353
|
+
"internalType": "contract InstanceStore",
|
354
|
+
"name": "",
|
355
|
+
"type": "address"
|
1060
356
|
}
|
1061
357
|
],
|
1062
358
|
"stateMutability": "view",
|
@@ -1064,44 +360,38 @@
|
|
1064
360
|
},
|
1065
361
|
{
|
1066
362
|
"inputs": [],
|
1067
|
-
"name": "
|
363
|
+
"name": "getMajorVersion",
|
1068
364
|
"outputs": [
|
1069
365
|
{
|
1070
|
-
"internalType": "
|
1071
|
-
"name": "",
|
1072
|
-
"type": "
|
366
|
+
"internalType": "VersionPart",
|
367
|
+
"name": "majorVersion",
|
368
|
+
"type": "uint8"
|
1073
369
|
}
|
1074
370
|
],
|
1075
|
-
"stateMutability": "
|
371
|
+
"stateMutability": "pure",
|
1076
372
|
"type": "function"
|
1077
373
|
},
|
1078
374
|
{
|
1079
375
|
"inputs": [],
|
1080
|
-
"name": "
|
376
|
+
"name": "getNftId",
|
1081
377
|
"outputs": [
|
1082
378
|
{
|
1083
|
-
"internalType": "
|
379
|
+
"internalType": "NftId",
|
1084
380
|
"name": "",
|
1085
|
-
"type": "
|
381
|
+
"type": "uint96"
|
1086
382
|
}
|
1087
383
|
],
|
1088
384
|
"stateMutability": "view",
|
1089
385
|
"type": "function"
|
1090
386
|
},
|
1091
387
|
{
|
1092
|
-
"inputs": [
|
1093
|
-
|
1094
|
-
"internalType": "Key32",
|
1095
|
-
"name": "key",
|
1096
|
-
"type": "bytes32"
|
1097
|
-
}
|
1098
|
-
],
|
1099
|
-
"name": "getData",
|
388
|
+
"inputs": [],
|
389
|
+
"name": "getOwner",
|
1100
390
|
"outputs": [
|
1101
391
|
{
|
1102
|
-
"internalType": "
|
1103
|
-
"name": "
|
1104
|
-
"type": "
|
392
|
+
"internalType": "address",
|
393
|
+
"name": "",
|
394
|
+
"type": "address"
|
1105
395
|
}
|
1106
396
|
],
|
1107
397
|
"stateMutability": "view",
|
@@ -1109,10 +399,10 @@
|
|
1109
399
|
},
|
1110
400
|
{
|
1111
401
|
"inputs": [],
|
1112
|
-
"name": "
|
402
|
+
"name": "getRegistry",
|
1113
403
|
"outputs": [
|
1114
404
|
{
|
1115
|
-
"internalType": "contract
|
405
|
+
"internalType": "contract IRegistry",
|
1116
406
|
"name": "",
|
1117
407
|
"type": "address"
|
1118
408
|
}
|
@@ -1121,697 +411,63 @@
|
|
1121
411
|
"type": "function"
|
1122
412
|
},
|
1123
413
|
{
|
1124
|
-
"inputs": [
|
1125
|
-
|
1126
|
-
|
1127
|
-
|
1128
|
-
"
|
1129
|
-
{
|
1130
|
-
"internalType": "NftId",
|
1131
|
-
"name": "nftId",
|
1132
|
-
"type": "uint96"
|
1133
|
-
},
|
1134
|
-
{
|
1135
|
-
"internalType": "NftId",
|
1136
|
-
"name": "parentNftId",
|
1137
|
-
"type": "uint96"
|
1138
|
-
},
|
1139
|
-
{
|
1140
|
-
"internalType": "ObjectType",
|
1141
|
-
"name": "objectType",
|
1142
|
-
"type": "uint8"
|
1143
|
-
},
|
1144
|
-
{
|
1145
|
-
"internalType": "bool",
|
1146
|
-
"name": "isInterceptor",
|
1147
|
-
"type": "bool"
|
1148
|
-
},
|
1149
|
-
{
|
1150
|
-
"internalType": "address",
|
1151
|
-
"name": "objectAddress",
|
1152
|
-
"type": "address"
|
1153
|
-
},
|
1154
|
-
{
|
1155
|
-
"internalType": "address",
|
1156
|
-
"name": "initialOwner",
|
1157
|
-
"type": "address"
|
1158
|
-
},
|
1159
|
-
{
|
1160
|
-
"internalType": "bytes",
|
1161
|
-
"name": "data",
|
1162
|
-
"type": "bytes"
|
1163
|
-
}
|
1164
|
-
],
|
1165
|
-
"internalType": "struct IRegistry.ObjectInfo",
|
1166
|
-
"name": "",
|
1167
|
-
"type": "tuple"
|
1168
|
-
}
|
1169
|
-
],
|
1170
|
-
"stateMutability": "view",
|
1171
|
-
"type": "function"
|
1172
|
-
},
|
1173
|
-
{
|
1174
|
-
"inputs": [
|
1175
|
-
{
|
1176
|
-
"internalType": "ObjectType",
|
1177
|
-
"name": "objectType",
|
1178
|
-
"type": "uint8"
|
1179
|
-
}
|
1180
|
-
],
|
1181
|
-
"name": "getInitialState",
|
1182
|
-
"outputs": [
|
1183
|
-
{
|
1184
|
-
"internalType": "StateId",
|
1185
|
-
"name": "",
|
1186
|
-
"type": "uint8"
|
1187
|
-
}
|
1188
|
-
],
|
1189
|
-
"stateMutability": "view",
|
1190
|
-
"type": "function"
|
1191
|
-
},
|
1192
|
-
{
|
1193
|
-
"inputs": [],
|
1194
|
-
"name": "getInstanceReader",
|
1195
|
-
"outputs": [
|
1196
|
-
{
|
1197
|
-
"internalType": "contract InstanceReader",
|
1198
|
-
"name": "",
|
1199
|
-
"type": "address"
|
1200
|
-
}
|
1201
|
-
],
|
1202
|
-
"stateMutability": "view",
|
1203
|
-
"type": "function"
|
1204
|
-
},
|
1205
|
-
{
|
1206
|
-
"inputs": [],
|
1207
|
-
"name": "getMajorVersion",
|
1208
|
-
"outputs": [
|
1209
|
-
{
|
1210
|
-
"internalType": "VersionPart",
|
1211
|
-
"name": "majorVersion",
|
1212
|
-
"type": "uint8"
|
1213
|
-
}
|
1214
|
-
],
|
1215
|
-
"stateMutability": "pure",
|
1216
|
-
"type": "function"
|
1217
|
-
},
|
1218
|
-
{
|
1219
|
-
"inputs": [
|
1220
|
-
{
|
1221
|
-
"internalType": "Key32",
|
1222
|
-
"name": "key",
|
1223
|
-
"type": "bytes32"
|
1224
|
-
}
|
1225
|
-
],
|
1226
|
-
"name": "getMetadata",
|
1227
|
-
"outputs": [
|
1228
|
-
{
|
1229
|
-
"components": [
|
1230
|
-
{
|
1231
|
-
"internalType": "ObjectType",
|
1232
|
-
"name": "objectType",
|
1233
|
-
"type": "uint8"
|
1234
|
-
},
|
1235
|
-
{
|
1236
|
-
"internalType": "StateId",
|
1237
|
-
"name": "state",
|
1238
|
-
"type": "uint8"
|
1239
|
-
},
|
1240
|
-
{
|
1241
|
-
"internalType": "address",
|
1242
|
-
"name": "updatedBy",
|
1243
|
-
"type": "address"
|
1244
|
-
},
|
1245
|
-
{
|
1246
|
-
"internalType": "Blocknumber",
|
1247
|
-
"name": "updatedIn",
|
1248
|
-
"type": "uint32"
|
1249
|
-
},
|
1250
|
-
{
|
1251
|
-
"internalType": "Blocknumber",
|
1252
|
-
"name": "createdIn",
|
1253
|
-
"type": "uint32"
|
1254
|
-
}
|
1255
|
-
],
|
1256
|
-
"internalType": "struct IKeyValueStore.Metadata",
|
1257
|
-
"name": "metadata",
|
1258
|
-
"type": "tuple"
|
1259
|
-
}
|
1260
|
-
],
|
1261
|
-
"stateMutability": "view",
|
1262
|
-
"type": "function"
|
1263
|
-
},
|
1264
|
-
{
|
1265
|
-
"inputs": [],
|
1266
|
-
"name": "getNftId",
|
1267
|
-
"outputs": [
|
1268
|
-
{
|
1269
|
-
"internalType": "NftId",
|
1270
|
-
"name": "",
|
1271
|
-
"type": "uint96"
|
1272
|
-
}
|
1273
|
-
],
|
1274
|
-
"stateMutability": "view",
|
1275
|
-
"type": "function"
|
1276
|
-
},
|
1277
|
-
{
|
1278
|
-
"inputs": [],
|
1279
|
-
"name": "getOwner",
|
1280
|
-
"outputs": [
|
1281
|
-
{
|
1282
|
-
"internalType": "address",
|
1283
|
-
"name": "",
|
1284
|
-
"type": "address"
|
1285
|
-
}
|
1286
|
-
],
|
1287
|
-
"stateMutability": "view",
|
1288
|
-
"type": "function"
|
1289
|
-
},
|
1290
|
-
{
|
1291
|
-
"inputs": [],
|
1292
|
-
"name": "getPolicyService",
|
1293
|
-
"outputs": [
|
1294
|
-
{
|
1295
|
-
"internalType": "contract IPolicyService",
|
1296
|
-
"name": "",
|
1297
|
-
"type": "address"
|
1298
|
-
}
|
1299
|
-
],
|
1300
|
-
"stateMutability": "view",
|
1301
|
-
"type": "function"
|
1302
|
-
},
|
1303
|
-
{
|
1304
|
-
"inputs": [],
|
1305
|
-
"name": "getPoolService",
|
1306
|
-
"outputs": [
|
1307
|
-
{
|
1308
|
-
"internalType": "contract IPoolService",
|
1309
|
-
"name": "",
|
1310
|
-
"type": "address"
|
1311
|
-
}
|
1312
|
-
],
|
1313
|
-
"stateMutability": "view",
|
1314
|
-
"type": "function"
|
1315
|
-
},
|
1316
|
-
{
|
1317
|
-
"inputs": [],
|
1318
|
-
"name": "getProductService",
|
1319
|
-
"outputs": [
|
1320
|
-
{
|
1321
|
-
"internalType": "contract IProductService",
|
1322
|
-
"name": "",
|
1323
|
-
"type": "address"
|
1324
|
-
}
|
1325
|
-
],
|
1326
|
-
"stateMutability": "view",
|
1327
|
-
"type": "function"
|
1328
|
-
},
|
1329
|
-
{
|
1330
|
-
"inputs": [],
|
1331
|
-
"name": "getRegistry",
|
1332
|
-
"outputs": [
|
1333
|
-
{
|
1334
|
-
"internalType": "contract IRegistry",
|
1335
|
-
"name": "",
|
1336
|
-
"type": "address"
|
1337
|
-
}
|
1338
|
-
],
|
1339
|
-
"stateMutability": "view",
|
1340
|
-
"type": "function"
|
1341
|
-
},
|
1342
|
-
{
|
1343
|
-
"inputs": [],
|
1344
|
-
"name": "getRegistryAddress",
|
1345
|
-
"outputs": [
|
1346
|
-
{
|
1347
|
-
"internalType": "address",
|
1348
|
-
"name": "",
|
1349
|
-
"type": "address"
|
1350
|
-
}
|
1351
|
-
],
|
1352
|
-
"stateMutability": "view",
|
1353
|
-
"type": "function"
|
1354
|
-
},
|
1355
|
-
{
|
1356
|
-
"inputs": [
|
1357
|
-
{
|
1358
|
-
"internalType": "Key32",
|
1359
|
-
"name": "key",
|
1360
|
-
"type": "bytes32"
|
1361
|
-
}
|
1362
|
-
],
|
1363
|
-
"name": "getState",
|
1364
|
-
"outputs": [
|
1365
|
-
{
|
1366
|
-
"internalType": "StateId",
|
1367
|
-
"name": "state",
|
1368
|
-
"type": "uint8"
|
1369
|
-
}
|
1370
|
-
],
|
1371
|
-
"stateMutability": "view",
|
1372
|
-
"type": "function"
|
1373
|
-
},
|
1374
|
-
{
|
1375
|
-
"inputs": [
|
1376
|
-
{
|
1377
|
-
"internalType": "ObjectType",
|
1378
|
-
"name": "objectType",
|
1379
|
-
"type": "uint8"
|
1380
|
-
}
|
1381
|
-
],
|
1382
|
-
"name": "hasLifecycle",
|
1383
|
-
"outputs": [
|
1384
|
-
{
|
1385
|
-
"internalType": "bool",
|
1386
|
-
"name": "",
|
1387
|
-
"type": "bool"
|
1388
|
-
}
|
1389
|
-
],
|
1390
|
-
"stateMutability": "view",
|
1391
|
-
"type": "function"
|
1392
|
-
},
|
1393
|
-
{
|
1394
|
-
"inputs": [],
|
1395
|
-
"name": "isConsumingScheduledOp",
|
1396
|
-
"outputs": [
|
1397
|
-
{
|
1398
|
-
"internalType": "bytes4",
|
1399
|
-
"name": "",
|
1400
|
-
"type": "bytes4"
|
1401
|
-
}
|
1402
|
-
],
|
1403
|
-
"stateMutability": "view",
|
1404
|
-
"type": "function"
|
1405
|
-
},
|
1406
|
-
{
|
1407
|
-
"inputs": [
|
1408
|
-
{
|
1409
|
-
"internalType": "ObjectType",
|
1410
|
-
"name": "objectType",
|
1411
|
-
"type": "uint8"
|
1412
|
-
},
|
1413
|
-
{
|
1414
|
-
"internalType": "StateId",
|
1415
|
-
"name": "fromId",
|
1416
|
-
"type": "uint8"
|
1417
|
-
},
|
1418
|
-
{
|
1419
|
-
"internalType": "StateId",
|
1420
|
-
"name": "toId",
|
1421
|
-
"type": "uint8"
|
1422
|
-
}
|
1423
|
-
],
|
1424
|
-
"name": "isValidTransition",
|
1425
|
-
"outputs": [
|
1426
|
-
{
|
1427
|
-
"internalType": "bool",
|
1428
|
-
"name": "",
|
1429
|
-
"type": "bool"
|
1430
|
-
}
|
1431
|
-
],
|
1432
|
-
"stateMutability": "view",
|
1433
|
-
"type": "function"
|
1434
|
-
},
|
1435
|
-
{
|
1436
|
-
"inputs": [],
|
1437
|
-
"name": "linkToRegisteredNftId",
|
1438
|
-
"outputs": [],
|
1439
|
-
"stateMutability": "nonpayable",
|
1440
|
-
"type": "function"
|
1441
|
-
},
|
1442
|
-
{
|
1443
|
-
"inputs": [
|
1444
|
-
{
|
1445
|
-
"internalType": "address",
|
1446
|
-
"name": "",
|
1447
|
-
"type": "address"
|
1448
|
-
}
|
1449
|
-
],
|
1450
|
-
"name": "setAuthority",
|
1451
|
-
"outputs": [],
|
1452
|
-
"stateMutability": "nonpayable",
|
1453
|
-
"type": "function"
|
1454
|
-
},
|
1455
|
-
{
|
1456
|
-
"inputs": [
|
1457
|
-
{
|
1458
|
-
"internalType": "bytes4",
|
1459
|
-
"name": "interfaceId",
|
1460
|
-
"type": "bytes4"
|
1461
|
-
}
|
1462
|
-
],
|
1463
|
-
"name": "supportsInterface",
|
1464
|
-
"outputs": [
|
1465
|
-
{
|
1466
|
-
"internalType": "bool",
|
1467
|
-
"name": "",
|
1468
|
-
"type": "bool"
|
1469
|
-
}
|
1470
|
-
],
|
1471
|
-
"stateMutability": "view",
|
1472
|
-
"type": "function"
|
1473
|
-
},
|
1474
|
-
{
|
1475
|
-
"inputs": [
|
1476
|
-
{
|
1477
|
-
"internalType": "ObjectType",
|
1478
|
-
"name": "objectType",
|
1479
|
-
"type": "uint8"
|
1480
|
-
},
|
1481
|
-
{
|
1482
|
-
"internalType": "KeyId",
|
1483
|
-
"name": "id",
|
1484
|
-
"type": "bytes31"
|
1485
|
-
}
|
1486
|
-
],
|
1487
|
-
"name": "toKey32",
|
1488
|
-
"outputs": [
|
1489
|
-
{
|
1490
|
-
"internalType": "Key32",
|
1491
|
-
"name": "",
|
1492
|
-
"type": "bytes32"
|
1493
|
-
}
|
1494
|
-
],
|
1495
|
-
"stateMutability": "pure",
|
1496
|
-
"type": "function"
|
1497
|
-
},
|
1498
|
-
{
|
1499
|
-
"inputs": [
|
1500
|
-
{
|
1501
|
-
"internalType": "NftId",
|
1502
|
-
"name": "bundleNftId",
|
1503
|
-
"type": "uint96"
|
1504
|
-
},
|
1505
|
-
{
|
1506
|
-
"components": [
|
1507
|
-
{
|
1508
|
-
"internalType": "NftId",
|
1509
|
-
"name": "poolNftId",
|
1510
|
-
"type": "uint96"
|
1511
|
-
},
|
1512
|
-
{
|
1513
|
-
"components": [
|
1514
|
-
{
|
1515
|
-
"internalType": "UFixed",
|
1516
|
-
"name": "fractionalFee",
|
1517
|
-
"type": "uint256"
|
1518
|
-
},
|
1519
|
-
{
|
1520
|
-
"internalType": "uint256",
|
1521
|
-
"name": "fixedFee",
|
1522
|
-
"type": "uint256"
|
1523
|
-
}
|
1524
|
-
],
|
1525
|
-
"internalType": "struct Fee",
|
1526
|
-
"name": "fee",
|
1527
|
-
"type": "tuple"
|
1528
|
-
},
|
1529
|
-
{
|
1530
|
-
"internalType": "bytes",
|
1531
|
-
"name": "filter",
|
1532
|
-
"type": "bytes"
|
1533
|
-
},
|
1534
|
-
{
|
1535
|
-
"internalType": "uint256",
|
1536
|
-
"name": "capitalAmount",
|
1537
|
-
"type": "uint256"
|
1538
|
-
},
|
1539
|
-
{
|
1540
|
-
"internalType": "uint256",
|
1541
|
-
"name": "lockedAmount",
|
1542
|
-
"type": "uint256"
|
1543
|
-
},
|
1544
|
-
{
|
1545
|
-
"internalType": "uint256",
|
1546
|
-
"name": "balanceAmount",
|
1547
|
-
"type": "uint256"
|
1548
|
-
},
|
1549
|
-
{
|
1550
|
-
"internalType": "uint256",
|
1551
|
-
"name": "lifetime",
|
1552
|
-
"type": "uint256"
|
1553
|
-
},
|
1554
|
-
{
|
1555
|
-
"internalType": "Timestamp",
|
1556
|
-
"name": "expiredAt",
|
1557
|
-
"type": "uint40"
|
1558
|
-
},
|
1559
|
-
{
|
1560
|
-
"internalType": "Timestamp",
|
1561
|
-
"name": "closedAt",
|
1562
|
-
"type": "uint40"
|
1563
|
-
}
|
1564
|
-
],
|
1565
|
-
"internalType": "struct IBundle.BundleInfo",
|
1566
|
-
"name": "bundle",
|
1567
|
-
"type": "tuple"
|
1568
|
-
},
|
1569
|
-
{
|
1570
|
-
"internalType": "StateId",
|
1571
|
-
"name": "newState",
|
1572
|
-
"type": "uint8"
|
1573
|
-
}
|
1574
|
-
],
|
1575
|
-
"name": "updateBundle",
|
1576
|
-
"outputs": [],
|
1577
|
-
"stateMutability": "nonpayable",
|
1578
|
-
"type": "function"
|
1579
|
-
},
|
1580
|
-
{
|
1581
|
-
"inputs": [
|
1582
|
-
{
|
1583
|
-
"internalType": "NftId",
|
1584
|
-
"name": "bundleNftId",
|
1585
|
-
"type": "uint96"
|
1586
|
-
},
|
1587
|
-
{
|
1588
|
-
"internalType": "StateId",
|
1589
|
-
"name": "newState",
|
1590
|
-
"type": "uint8"
|
1591
|
-
}
|
1592
|
-
],
|
1593
|
-
"name": "updateBundleState",
|
1594
|
-
"outputs": [],
|
1595
|
-
"stateMutability": "nonpayable",
|
1596
|
-
"type": "function"
|
1597
|
-
},
|
1598
|
-
{
|
1599
|
-
"inputs": [
|
1600
|
-
{
|
1601
|
-
"internalType": "NftId",
|
1602
|
-
"name": "distributionNftId",
|
1603
|
-
"type": "uint96"
|
1604
|
-
},
|
1605
|
-
{
|
1606
|
-
"components": [
|
1607
|
-
{
|
1608
|
-
"internalType": "NftId",
|
1609
|
-
"name": "productNftId",
|
1610
|
-
"type": "uint96"
|
1611
|
-
},
|
1612
|
-
{
|
1613
|
-
"internalType": "contract TokenHandler",
|
1614
|
-
"name": "tokenHandler",
|
1615
|
-
"type": "address"
|
1616
|
-
},
|
1617
|
-
{
|
1618
|
-
"components": [
|
1619
|
-
{
|
1620
|
-
"internalType": "UFixed",
|
1621
|
-
"name": "fractionalFee",
|
1622
|
-
"type": "uint256"
|
1623
|
-
},
|
1624
|
-
{
|
1625
|
-
"internalType": "uint256",
|
1626
|
-
"name": "fixedFee",
|
1627
|
-
"type": "uint256"
|
1628
|
-
}
|
1629
|
-
],
|
1630
|
-
"internalType": "struct Fee",
|
1631
|
-
"name": "distributionFee",
|
1632
|
-
"type": "tuple"
|
1633
|
-
},
|
1634
|
-
{
|
1635
|
-
"internalType": "address",
|
1636
|
-
"name": "wallet",
|
1637
|
-
"type": "address"
|
1638
|
-
}
|
1639
|
-
],
|
1640
|
-
"internalType": "struct ISetup.DistributionSetupInfo",
|
1641
|
-
"name": "setup",
|
1642
|
-
"type": "tuple"
|
1643
|
-
},
|
1644
|
-
{
|
1645
|
-
"internalType": "StateId",
|
1646
|
-
"name": "newState",
|
1647
|
-
"type": "uint8"
|
1648
|
-
}
|
1649
|
-
],
|
1650
|
-
"name": "updateDistributionSetup",
|
1651
|
-
"outputs": [],
|
1652
|
-
"stateMutability": "nonpayable",
|
1653
|
-
"type": "function"
|
1654
|
-
},
|
1655
|
-
{
|
1656
|
-
"inputs": [
|
1657
|
-
{
|
1658
|
-
"internalType": "NftId",
|
1659
|
-
"name": "distributionNftId",
|
1660
|
-
"type": "uint96"
|
1661
|
-
},
|
1662
|
-
{
|
1663
|
-
"internalType": "StateId",
|
1664
|
-
"name": "newState",
|
1665
|
-
"type": "uint8"
|
1666
|
-
}
|
1667
|
-
],
|
1668
|
-
"name": "updateDistributionSetupState",
|
1669
|
-
"outputs": [],
|
1670
|
-
"stateMutability": "nonpayable",
|
1671
|
-
"type": "function"
|
1672
|
-
},
|
1673
|
-
{
|
1674
|
-
"inputs": [
|
1675
|
-
{
|
1676
|
-
"internalType": "NftId",
|
1677
|
-
"name": "nftId",
|
1678
|
-
"type": "uint96"
|
1679
|
-
},
|
1680
|
-
{
|
1681
|
-
"components": [
|
1682
|
-
{
|
1683
|
-
"internalType": "DistributorType",
|
1684
|
-
"name": "distributorType",
|
1685
|
-
"type": "bytes8"
|
1686
|
-
},
|
1687
|
-
{
|
1688
|
-
"internalType": "bool",
|
1689
|
-
"name": "active",
|
1690
|
-
"type": "bool"
|
1691
|
-
},
|
1692
|
-
{
|
1693
|
-
"internalType": "bytes",
|
1694
|
-
"name": "data",
|
1695
|
-
"type": "bytes"
|
1696
|
-
}
|
1697
|
-
],
|
1698
|
-
"internalType": "struct IDistribution.DistributorInfo",
|
1699
|
-
"name": "info",
|
1700
|
-
"type": "tuple"
|
1701
|
-
},
|
1702
|
-
{
|
1703
|
-
"internalType": "StateId",
|
1704
|
-
"name": "newState",
|
1705
|
-
"type": "uint8"
|
1706
|
-
}
|
1707
|
-
],
|
1708
|
-
"name": "updateDistributor",
|
1709
|
-
"outputs": [],
|
1710
|
-
"stateMutability": "nonpayable",
|
1711
|
-
"type": "function"
|
1712
|
-
},
|
1713
|
-
{
|
1714
|
-
"inputs": [
|
1715
|
-
{
|
1716
|
-
"internalType": "NftId",
|
1717
|
-
"name": "nftId",
|
1718
|
-
"type": "uint96"
|
1719
|
-
},
|
1720
|
-
{
|
1721
|
-
"internalType": "StateId",
|
1722
|
-
"name": "newState",
|
1723
|
-
"type": "uint8"
|
1724
|
-
}
|
1725
|
-
],
|
1726
|
-
"name": "updateDistributorState",
|
1727
|
-
"outputs": [],
|
1728
|
-
"stateMutability": "nonpayable",
|
1729
|
-
"type": "function"
|
1730
|
-
},
|
1731
|
-
{
|
1732
|
-
"inputs": [
|
1733
|
-
{
|
1734
|
-
"internalType": "Key32",
|
1735
|
-
"name": "distributorKey",
|
1736
|
-
"type": "bytes32"
|
1737
|
-
},
|
1738
|
-
{
|
1739
|
-
"components": [
|
1740
|
-
{
|
1741
|
-
"internalType": "string",
|
1742
|
-
"name": "name",
|
1743
|
-
"type": "string"
|
1744
|
-
},
|
1745
|
-
{
|
1746
|
-
"internalType": "UFixed",
|
1747
|
-
"name": "minDiscountPercentage",
|
1748
|
-
"type": "uint256"
|
1749
|
-
},
|
1750
|
-
{
|
1751
|
-
"internalType": "UFixed",
|
1752
|
-
"name": "maxDiscountPercentage",
|
1753
|
-
"type": "uint256"
|
1754
|
-
},
|
1755
|
-
{
|
1756
|
-
"internalType": "UFixed",
|
1757
|
-
"name": "commissionPercentage",
|
1758
|
-
"type": "uint256"
|
1759
|
-
},
|
1760
|
-
{
|
1761
|
-
"internalType": "uint32",
|
1762
|
-
"name": "maxReferralCount",
|
1763
|
-
"type": "uint32"
|
1764
|
-
},
|
1765
|
-
{
|
1766
|
-
"internalType": "uint32",
|
1767
|
-
"name": "maxReferralLifetime",
|
1768
|
-
"type": "uint32"
|
1769
|
-
},
|
1770
|
-
{
|
1771
|
-
"internalType": "bool",
|
1772
|
-
"name": "allowSelfReferrals",
|
1773
|
-
"type": "bool"
|
1774
|
-
},
|
1775
|
-
{
|
1776
|
-
"internalType": "bool",
|
1777
|
-
"name": "allowRenewals",
|
1778
|
-
"type": "bool"
|
1779
|
-
},
|
1780
|
-
{
|
1781
|
-
"internalType": "bytes",
|
1782
|
-
"name": "data",
|
1783
|
-
"type": "bytes"
|
1784
|
-
}
|
1785
|
-
],
|
1786
|
-
"internalType": "struct IDistribution.DistributorTypeInfo",
|
1787
|
-
"name": "info",
|
1788
|
-
"type": "tuple"
|
414
|
+
"inputs": [
|
415
|
+
{
|
416
|
+
"internalType": "RoleId",
|
417
|
+
"name": "roleId",
|
418
|
+
"type": "uint64"
|
1789
419
|
},
|
1790
420
|
{
|
1791
|
-
"internalType": "
|
1792
|
-
"name": "
|
1793
|
-
"type": "
|
421
|
+
"internalType": "address",
|
422
|
+
"name": "account",
|
423
|
+
"type": "address"
|
1794
424
|
}
|
1795
425
|
],
|
1796
|
-
"name": "
|
426
|
+
"name": "grantRole",
|
1797
427
|
"outputs": [],
|
1798
428
|
"stateMutability": "nonpayable",
|
1799
429
|
"type": "function"
|
1800
430
|
},
|
431
|
+
{
|
432
|
+
"inputs": [],
|
433
|
+
"name": "isConsumingScheduledOp",
|
434
|
+
"outputs": [
|
435
|
+
{
|
436
|
+
"internalType": "bytes4",
|
437
|
+
"name": "",
|
438
|
+
"type": "bytes4"
|
439
|
+
}
|
440
|
+
],
|
441
|
+
"stateMutability": "view",
|
442
|
+
"type": "function"
|
443
|
+
},
|
444
|
+
{
|
445
|
+
"inputs": [],
|
446
|
+
"name": "linkToRegisteredNftId",
|
447
|
+
"outputs": [
|
448
|
+
{
|
449
|
+
"internalType": "NftId",
|
450
|
+
"name": "",
|
451
|
+
"type": "uint96"
|
452
|
+
}
|
453
|
+
],
|
454
|
+
"stateMutability": "nonpayable",
|
455
|
+
"type": "function"
|
456
|
+
},
|
1801
457
|
{
|
1802
458
|
"inputs": [
|
1803
459
|
{
|
1804
|
-
"internalType": "
|
1805
|
-
"name": "
|
1806
|
-
"type": "
|
460
|
+
"internalType": "address",
|
461
|
+
"name": "to",
|
462
|
+
"type": "address"
|
1807
463
|
},
|
1808
464
|
{
|
1809
|
-
"internalType": "
|
1810
|
-
"name": "
|
1811
|
-
"type": "
|
465
|
+
"internalType": "uint256",
|
466
|
+
"name": "tokenId",
|
467
|
+
"type": "uint256"
|
1812
468
|
}
|
1813
469
|
],
|
1814
|
-
"name": "
|
470
|
+
"name": "nftMint",
|
1815
471
|
"outputs": [],
|
1816
472
|
"stateMutability": "nonpayable",
|
1817
473
|
"type": "function"
|
@@ -1819,104 +475,22 @@
|
|
1819
475
|
{
|
1820
476
|
"inputs": [
|
1821
477
|
{
|
1822
|
-
"internalType": "
|
1823
|
-
"name": "
|
1824
|
-
"type": "
|
478
|
+
"internalType": "address",
|
479
|
+
"name": "from",
|
480
|
+
"type": "address"
|
1825
481
|
},
|
1826
482
|
{
|
1827
|
-
"
|
1828
|
-
|
1829
|
-
|
1830
|
-
"name": "productNftId",
|
1831
|
-
"type": "uint96"
|
1832
|
-
},
|
1833
|
-
{
|
1834
|
-
"internalType": "NftId",
|
1835
|
-
"name": "bundleNftId",
|
1836
|
-
"type": "uint96"
|
1837
|
-
},
|
1838
|
-
{
|
1839
|
-
"internalType": "ReferralId",
|
1840
|
-
"name": "referralId",
|
1841
|
-
"type": "bytes8"
|
1842
|
-
},
|
1843
|
-
{
|
1844
|
-
"internalType": "RiskId",
|
1845
|
-
"name": "riskId",
|
1846
|
-
"type": "bytes8"
|
1847
|
-
},
|
1848
|
-
{
|
1849
|
-
"internalType": "uint256",
|
1850
|
-
"name": "sumInsuredAmount",
|
1851
|
-
"type": "uint256"
|
1852
|
-
},
|
1853
|
-
{
|
1854
|
-
"internalType": "uint256",
|
1855
|
-
"name": "premiumAmount",
|
1856
|
-
"type": "uint256"
|
1857
|
-
},
|
1858
|
-
{
|
1859
|
-
"internalType": "uint256",
|
1860
|
-
"name": "premiumPaidAmount",
|
1861
|
-
"type": "uint256"
|
1862
|
-
},
|
1863
|
-
{
|
1864
|
-
"internalType": "uint256",
|
1865
|
-
"name": "lifetime",
|
1866
|
-
"type": "uint256"
|
1867
|
-
},
|
1868
|
-
{
|
1869
|
-
"internalType": "bytes",
|
1870
|
-
"name": "applicationData",
|
1871
|
-
"type": "bytes"
|
1872
|
-
},
|
1873
|
-
{
|
1874
|
-
"internalType": "bytes",
|
1875
|
-
"name": "policyData",
|
1876
|
-
"type": "bytes"
|
1877
|
-
},
|
1878
|
-
{
|
1879
|
-
"internalType": "uint16",
|
1880
|
-
"name": "claimsCount",
|
1881
|
-
"type": "uint16"
|
1882
|
-
},
|
1883
|
-
{
|
1884
|
-
"internalType": "uint16",
|
1885
|
-
"name": "openClaimsCount",
|
1886
|
-
"type": "uint16"
|
1887
|
-
},
|
1888
|
-
{
|
1889
|
-
"internalType": "uint256",
|
1890
|
-
"name": "payoutAmount",
|
1891
|
-
"type": "uint256"
|
1892
|
-
},
|
1893
|
-
{
|
1894
|
-
"internalType": "Timestamp",
|
1895
|
-
"name": "activatedAt",
|
1896
|
-
"type": "uint40"
|
1897
|
-
},
|
1898
|
-
{
|
1899
|
-
"internalType": "Timestamp",
|
1900
|
-
"name": "expiredAt",
|
1901
|
-
"type": "uint40"
|
1902
|
-
},
|
1903
|
-
{
|
1904
|
-
"internalType": "Timestamp",
|
1905
|
-
"name": "closedAt",
|
1906
|
-
"type": "uint40"
|
1907
|
-
}
|
1908
|
-
],
|
1909
|
-
"internalType": "struct IPolicy.PolicyInfo",
|
1910
|
-
"name": "policy",
|
1911
|
-
"type": "tuple"
|
483
|
+
"internalType": "address",
|
484
|
+
"name": "to",
|
485
|
+
"type": "address"
|
1912
486
|
},
|
1913
487
|
{
|
1914
|
-
"internalType": "
|
1915
|
-
"name": "
|
1916
|
-
"type": "
|
488
|
+
"internalType": "uint256",
|
489
|
+
"name": "tokenId",
|
490
|
+
"type": "uint256"
|
1917
491
|
}
|
1918
492
|
],
|
1919
|
-
"name": "
|
493
|
+
"name": "nftTransferFrom",
|
1920
494
|
"outputs": [],
|
1921
495
|
"stateMutability": "nonpayable",
|
1922
496
|
"type": "function"
|
@@ -1924,17 +498,12 @@
|
|
1924
498
|
{
|
1925
499
|
"inputs": [
|
1926
500
|
{
|
1927
|
-
"internalType": "
|
1928
|
-
"name": "
|
501
|
+
"internalType": "Amount",
|
502
|
+
"name": "dipAmount",
|
1929
503
|
"type": "uint96"
|
1930
|
-
},
|
1931
|
-
{
|
1932
|
-
"internalType": "StateId",
|
1933
|
-
"name": "newState",
|
1934
|
-
"type": "uint8"
|
1935
504
|
}
|
1936
505
|
],
|
1937
|
-
"name": "
|
506
|
+
"name": "refillStakingRewardReserves",
|
1938
507
|
"outputs": [],
|
1939
508
|
"stateMutability": "nonpayable",
|
1940
509
|
"type": "function"
|
@@ -1942,115 +511,17 @@
|
|
1942
511
|
{
|
1943
512
|
"inputs": [
|
1944
513
|
{
|
1945
|
-
"internalType": "
|
1946
|
-
"name": "
|
1947
|
-
"type": "
|
1948
|
-
},
|
1949
|
-
{
|
1950
|
-
"components": [
|
1951
|
-
{
|
1952
|
-
"internalType": "NftId",
|
1953
|
-
"name": "productNftId",
|
1954
|
-
"type": "uint96"
|
1955
|
-
},
|
1956
|
-
{
|
1957
|
-
"internalType": "contract TokenHandler",
|
1958
|
-
"name": "tokenHandler",
|
1959
|
-
"type": "address"
|
1960
|
-
},
|
1961
|
-
{
|
1962
|
-
"internalType": "bool",
|
1963
|
-
"name": "isInterceptingBundleTransfers",
|
1964
|
-
"type": "bool"
|
1965
|
-
},
|
1966
|
-
{
|
1967
|
-
"internalType": "bool",
|
1968
|
-
"name": "isExternallyManaged",
|
1969
|
-
"type": "bool"
|
1970
|
-
},
|
1971
|
-
{
|
1972
|
-
"internalType": "bool",
|
1973
|
-
"name": "isVerifyingApplications",
|
1974
|
-
"type": "bool"
|
1975
|
-
},
|
1976
|
-
{
|
1977
|
-
"internalType": "UFixed",
|
1978
|
-
"name": "collateralizationLevel",
|
1979
|
-
"type": "uint256"
|
1980
|
-
},
|
1981
|
-
{
|
1982
|
-
"internalType": "UFixed",
|
1983
|
-
"name": "retentionLevel",
|
1984
|
-
"type": "uint256"
|
1985
|
-
},
|
1986
|
-
{
|
1987
|
-
"components": [
|
1988
|
-
{
|
1989
|
-
"internalType": "UFixed",
|
1990
|
-
"name": "fractionalFee",
|
1991
|
-
"type": "uint256"
|
1992
|
-
},
|
1993
|
-
{
|
1994
|
-
"internalType": "uint256",
|
1995
|
-
"name": "fixedFee",
|
1996
|
-
"type": "uint256"
|
1997
|
-
}
|
1998
|
-
],
|
1999
|
-
"internalType": "struct Fee",
|
2000
|
-
"name": "poolFee",
|
2001
|
-
"type": "tuple"
|
2002
|
-
},
|
2003
|
-
{
|
2004
|
-
"components": [
|
2005
|
-
{
|
2006
|
-
"internalType": "UFixed",
|
2007
|
-
"name": "fractionalFee",
|
2008
|
-
"type": "uint256"
|
2009
|
-
},
|
2010
|
-
{
|
2011
|
-
"internalType": "uint256",
|
2012
|
-
"name": "fixedFee",
|
2013
|
-
"type": "uint256"
|
2014
|
-
}
|
2015
|
-
],
|
2016
|
-
"internalType": "struct Fee",
|
2017
|
-
"name": "stakingFee",
|
2018
|
-
"type": "tuple"
|
2019
|
-
},
|
2020
|
-
{
|
2021
|
-
"components": [
|
2022
|
-
{
|
2023
|
-
"internalType": "UFixed",
|
2024
|
-
"name": "fractionalFee",
|
2025
|
-
"type": "uint256"
|
2026
|
-
},
|
2027
|
-
{
|
2028
|
-
"internalType": "uint256",
|
2029
|
-
"name": "fixedFee",
|
2030
|
-
"type": "uint256"
|
2031
|
-
}
|
2032
|
-
],
|
2033
|
-
"internalType": "struct Fee",
|
2034
|
-
"name": "performanceFee",
|
2035
|
-
"type": "tuple"
|
2036
|
-
},
|
2037
|
-
{
|
2038
|
-
"internalType": "address",
|
2039
|
-
"name": "wallet",
|
2040
|
-
"type": "address"
|
2041
|
-
}
|
2042
|
-
],
|
2043
|
-
"internalType": "struct ISetup.PoolSetupInfo",
|
2044
|
-
"name": "setup",
|
2045
|
-
"type": "tuple"
|
514
|
+
"internalType": "RoleId",
|
515
|
+
"name": "roleId",
|
516
|
+
"type": "uint64"
|
2046
517
|
},
|
2047
518
|
{
|
2048
|
-
"internalType": "
|
2049
|
-
"name": "
|
2050
|
-
"type": "
|
519
|
+
"internalType": "address",
|
520
|
+
"name": "account",
|
521
|
+
"type": "address"
|
2051
522
|
}
|
2052
523
|
],
|
2053
|
-
"name": "
|
524
|
+
"name": "revokeRole",
|
2054
525
|
"outputs": [],
|
2055
526
|
"stateMutability": "nonpayable",
|
2056
527
|
"type": "function"
|
@@ -2058,17 +529,12 @@
|
|
2058
529
|
{
|
2059
530
|
"inputs": [
|
2060
531
|
{
|
2061
|
-
"internalType": "
|
2062
|
-
"name": "
|
2063
|
-
"type": "
|
2064
|
-
},
|
2065
|
-
{
|
2066
|
-
"internalType": "StateId",
|
2067
|
-
"name": "newState",
|
2068
|
-
"type": "uint8"
|
532
|
+
"internalType": "address",
|
533
|
+
"name": "",
|
534
|
+
"type": "address"
|
2069
535
|
}
|
2070
536
|
],
|
2071
|
-
"name": "
|
537
|
+
"name": "setAuthority",
|
2072
538
|
"outputs": [],
|
2073
539
|
"stateMutability": "nonpayable",
|
2074
540
|
"type": "function"
|
@@ -2076,156 +542,12 @@
|
|
2076
542
|
{
|
2077
543
|
"inputs": [
|
2078
544
|
{
|
2079
|
-
"internalType": "
|
2080
|
-
"name": "
|
2081
|
-
"type": "
|
2082
|
-
},
|
2083
|
-
{
|
2084
|
-
"components": [
|
2085
|
-
{
|
2086
|
-
"internalType": "contract IERC20Metadata",
|
2087
|
-
"name": "token",
|
2088
|
-
"type": "address"
|
2089
|
-
},
|
2090
|
-
{
|
2091
|
-
"internalType": "contract TokenHandler",
|
2092
|
-
"name": "tokenHandler",
|
2093
|
-
"type": "address"
|
2094
|
-
},
|
2095
|
-
{
|
2096
|
-
"internalType": "NftId",
|
2097
|
-
"name": "distributionNftId",
|
2098
|
-
"type": "uint96"
|
2099
|
-
},
|
2100
|
-
{
|
2101
|
-
"internalType": "NftId",
|
2102
|
-
"name": "poolNftId",
|
2103
|
-
"type": "uint96"
|
2104
|
-
},
|
2105
|
-
{
|
2106
|
-
"components": [
|
2107
|
-
{
|
2108
|
-
"internalType": "UFixed",
|
2109
|
-
"name": "fractionalFee",
|
2110
|
-
"type": "uint256"
|
2111
|
-
},
|
2112
|
-
{
|
2113
|
-
"internalType": "uint256",
|
2114
|
-
"name": "fixedFee",
|
2115
|
-
"type": "uint256"
|
2116
|
-
}
|
2117
|
-
],
|
2118
|
-
"internalType": "struct Fee",
|
2119
|
-
"name": "distributionFee",
|
2120
|
-
"type": "tuple"
|
2121
|
-
},
|
2122
|
-
{
|
2123
|
-
"components": [
|
2124
|
-
{
|
2125
|
-
"internalType": "UFixed",
|
2126
|
-
"name": "fractionalFee",
|
2127
|
-
"type": "uint256"
|
2128
|
-
},
|
2129
|
-
{
|
2130
|
-
"internalType": "uint256",
|
2131
|
-
"name": "fixedFee",
|
2132
|
-
"type": "uint256"
|
2133
|
-
}
|
2134
|
-
],
|
2135
|
-
"internalType": "struct Fee",
|
2136
|
-
"name": "productFee",
|
2137
|
-
"type": "tuple"
|
2138
|
-
},
|
2139
|
-
{
|
2140
|
-
"components": [
|
2141
|
-
{
|
2142
|
-
"internalType": "UFixed",
|
2143
|
-
"name": "fractionalFee",
|
2144
|
-
"type": "uint256"
|
2145
|
-
},
|
2146
|
-
{
|
2147
|
-
"internalType": "uint256",
|
2148
|
-
"name": "fixedFee",
|
2149
|
-
"type": "uint256"
|
2150
|
-
}
|
2151
|
-
],
|
2152
|
-
"internalType": "struct Fee",
|
2153
|
-
"name": "processingFee",
|
2154
|
-
"type": "tuple"
|
2155
|
-
},
|
2156
|
-
{
|
2157
|
-
"components": [
|
2158
|
-
{
|
2159
|
-
"internalType": "UFixed",
|
2160
|
-
"name": "fractionalFee",
|
2161
|
-
"type": "uint256"
|
2162
|
-
},
|
2163
|
-
{
|
2164
|
-
"internalType": "uint256",
|
2165
|
-
"name": "fixedFee",
|
2166
|
-
"type": "uint256"
|
2167
|
-
}
|
2168
|
-
],
|
2169
|
-
"internalType": "struct Fee",
|
2170
|
-
"name": "poolFee",
|
2171
|
-
"type": "tuple"
|
2172
|
-
},
|
2173
|
-
{
|
2174
|
-
"components": [
|
2175
|
-
{
|
2176
|
-
"internalType": "UFixed",
|
2177
|
-
"name": "fractionalFee",
|
2178
|
-
"type": "uint256"
|
2179
|
-
},
|
2180
|
-
{
|
2181
|
-
"internalType": "uint256",
|
2182
|
-
"name": "fixedFee",
|
2183
|
-
"type": "uint256"
|
2184
|
-
}
|
2185
|
-
],
|
2186
|
-
"internalType": "struct Fee",
|
2187
|
-
"name": "stakingFee",
|
2188
|
-
"type": "tuple"
|
2189
|
-
},
|
2190
|
-
{
|
2191
|
-
"components": [
|
2192
|
-
{
|
2193
|
-
"internalType": "UFixed",
|
2194
|
-
"name": "fractionalFee",
|
2195
|
-
"type": "uint256"
|
2196
|
-
},
|
2197
|
-
{
|
2198
|
-
"internalType": "uint256",
|
2199
|
-
"name": "fixedFee",
|
2200
|
-
"type": "uint256"
|
2201
|
-
}
|
2202
|
-
],
|
2203
|
-
"internalType": "struct Fee",
|
2204
|
-
"name": "performanceFee",
|
2205
|
-
"type": "tuple"
|
2206
|
-
},
|
2207
|
-
{
|
2208
|
-
"internalType": "bool",
|
2209
|
-
"name": "isIntercepting",
|
2210
|
-
"type": "bool"
|
2211
|
-
},
|
2212
|
-
{
|
2213
|
-
"internalType": "address",
|
2214
|
-
"name": "wallet",
|
2215
|
-
"type": "address"
|
2216
|
-
}
|
2217
|
-
],
|
2218
|
-
"internalType": "struct ISetup.ProductSetupInfo",
|
2219
|
-
"name": "setup",
|
2220
|
-
"type": "tuple"
|
2221
|
-
},
|
2222
|
-
{
|
2223
|
-
"internalType": "StateId",
|
2224
|
-
"name": "newState",
|
2225
|
-
"type": "uint8"
|
545
|
+
"internalType": "Seconds",
|
546
|
+
"name": "stakeLockingPeriod",
|
547
|
+
"type": "uint40"
|
2226
548
|
}
|
2227
549
|
],
|
2228
|
-
"name": "
|
550
|
+
"name": "setStakingLockingPeriod",
|
2229
551
|
"outputs": [],
|
2230
552
|
"stateMutability": "nonpayable",
|
2231
553
|
"type": "function"
|
@@ -2233,17 +555,12 @@
|
|
2233
555
|
{
|
2234
556
|
"inputs": [
|
2235
557
|
{
|
2236
|
-
"internalType": "
|
2237
|
-
"name": "
|
2238
|
-
"type": "
|
2239
|
-
},
|
2240
|
-
{
|
2241
|
-
"internalType": "StateId",
|
2242
|
-
"name": "newState",
|
2243
|
-
"type": "uint8"
|
558
|
+
"internalType": "UFixed",
|
559
|
+
"name": "rewardRate",
|
560
|
+
"type": "uint256"
|
2244
561
|
}
|
2245
562
|
],
|
2246
|
-
"name": "
|
563
|
+
"name": "setStakingRewardRate",
|
2247
564
|
"outputs": [],
|
2248
565
|
"stateMutability": "nonpayable",
|
2249
566
|
"type": "function"
|
@@ -2251,59 +568,22 @@
|
|
2251
568
|
{
|
2252
569
|
"inputs": [
|
2253
570
|
{
|
2254
|
-
"internalType": "
|
2255
|
-
"name": "
|
2256
|
-
"type": "
|
571
|
+
"internalType": "string",
|
572
|
+
"name": "targetName",
|
573
|
+
"type": "string"
|
2257
574
|
},
|
2258
575
|
{
|
2259
|
-
"
|
2260
|
-
|
2261
|
-
|
2262
|
-
"name": "distributorNftId",
|
2263
|
-
"type": "uint96"
|
2264
|
-
},
|
2265
|
-
{
|
2266
|
-
"internalType": "string",
|
2267
|
-
"name": "referralCode",
|
2268
|
-
"type": "string"
|
2269
|
-
},
|
2270
|
-
{
|
2271
|
-
"internalType": "UFixed",
|
2272
|
-
"name": "discountPercentage",
|
2273
|
-
"type": "uint256"
|
2274
|
-
},
|
2275
|
-
{
|
2276
|
-
"internalType": "uint32",
|
2277
|
-
"name": "maxReferrals",
|
2278
|
-
"type": "uint32"
|
2279
|
-
},
|
2280
|
-
{
|
2281
|
-
"internalType": "uint32",
|
2282
|
-
"name": "usedReferrals",
|
2283
|
-
"type": "uint32"
|
2284
|
-
},
|
2285
|
-
{
|
2286
|
-
"internalType": "Timestamp",
|
2287
|
-
"name": "expiryAt",
|
2288
|
-
"type": "uint40"
|
2289
|
-
},
|
2290
|
-
{
|
2291
|
-
"internalType": "bytes",
|
2292
|
-
"name": "data",
|
2293
|
-
"type": "bytes"
|
2294
|
-
}
|
2295
|
-
],
|
2296
|
-
"internalType": "struct IDistribution.ReferralInfo",
|
2297
|
-
"name": "referralInfo",
|
2298
|
-
"type": "tuple"
|
576
|
+
"internalType": "bytes4[]",
|
577
|
+
"name": "selectors",
|
578
|
+
"type": "bytes4[]"
|
2299
579
|
},
|
2300
580
|
{
|
2301
|
-
"internalType": "
|
2302
|
-
"name": "
|
2303
|
-
"type": "
|
581
|
+
"internalType": "RoleId",
|
582
|
+
"name": "roleId",
|
583
|
+
"type": "uint64"
|
2304
584
|
}
|
2305
585
|
],
|
2306
|
-
"name": "
|
586
|
+
"name": "setTargetFunctionRole",
|
2307
587
|
"outputs": [],
|
2308
588
|
"stateMutability": "nonpayable",
|
2309
589
|
"type": "function"
|
@@ -2311,17 +591,17 @@
|
|
2311
591
|
{
|
2312
592
|
"inputs": [
|
2313
593
|
{
|
2314
|
-
"internalType": "
|
2315
|
-
"name": "
|
2316
|
-
"type": "
|
594
|
+
"internalType": "address",
|
595
|
+
"name": "target",
|
596
|
+
"type": "address"
|
2317
597
|
},
|
2318
598
|
{
|
2319
|
-
"internalType": "
|
2320
|
-
"name": "
|
2321
|
-
"type": "
|
599
|
+
"internalType": "bool",
|
600
|
+
"name": "locked",
|
601
|
+
"type": "bool"
|
2322
602
|
}
|
2323
603
|
],
|
2324
|
-
"name": "
|
604
|
+
"name": "setTargetLocked",
|
2325
605
|
"outputs": [],
|
2326
606
|
"stateMutability": "nonpayable",
|
2327
607
|
"type": "function"
|
@@ -2329,53 +609,38 @@
|
|
2329
609
|
{
|
2330
610
|
"inputs": [
|
2331
611
|
{
|
2332
|
-
"internalType": "
|
2333
|
-
"name": "
|
2334
|
-
"type": "
|
2335
|
-
}
|
2336
|
-
|
2337
|
-
|
2338
|
-
|
2339
|
-
"internalType": "NftId",
|
2340
|
-
"name": "productNftId",
|
2341
|
-
"type": "uint96"
|
2342
|
-
},
|
2343
|
-
{
|
2344
|
-
"internalType": "bytes",
|
2345
|
-
"name": "data",
|
2346
|
-
"type": "bytes"
|
2347
|
-
}
|
2348
|
-
],
|
2349
|
-
"internalType": "struct IRisk.RiskInfo",
|
2350
|
-
"name": "risk",
|
2351
|
-
"type": "tuple"
|
2352
|
-
},
|
612
|
+
"internalType": "bytes4",
|
613
|
+
"name": "interfaceId",
|
614
|
+
"type": "bytes4"
|
615
|
+
}
|
616
|
+
],
|
617
|
+
"name": "supportsInterface",
|
618
|
+
"outputs": [
|
2353
619
|
{
|
2354
|
-
"internalType": "
|
2355
|
-
"name": "
|
2356
|
-
"type": "
|
620
|
+
"internalType": "bool",
|
621
|
+
"name": "",
|
622
|
+
"type": "bool"
|
2357
623
|
}
|
2358
624
|
],
|
2359
|
-
"
|
2360
|
-
"outputs": [],
|
2361
|
-
"stateMutability": "nonpayable",
|
625
|
+
"stateMutability": "view",
|
2362
626
|
"type": "function"
|
2363
627
|
},
|
2364
628
|
{
|
2365
629
|
"inputs": [
|
2366
630
|
{
|
2367
|
-
"internalType": "
|
2368
|
-
"name": "
|
2369
|
-
"type": "
|
2370
|
-
}
|
631
|
+
"internalType": "Amount",
|
632
|
+
"name": "dipAmount",
|
633
|
+
"type": "uint96"
|
634
|
+
}
|
635
|
+
],
|
636
|
+
"name": "withdrawStakingRewardReserves",
|
637
|
+
"outputs": [
|
2371
638
|
{
|
2372
|
-
"internalType": "
|
2373
|
-
"name": "
|
2374
|
-
"type": "
|
639
|
+
"internalType": "Amount",
|
640
|
+
"name": "newBalance",
|
641
|
+
"type": "uint96"
|
2375
642
|
}
|
2376
643
|
],
|
2377
|
-
"name": "updateRiskState",
|
2378
|
-
"outputs": [],
|
2379
644
|
"stateMutability": "nonpayable",
|
2380
645
|
"type": "function"
|
2381
646
|
}
|