@etherisc/gif-next 0.0.2-eb98db7-932 → 0.0.2-eba4d8b-925
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +83 -93
- package/artifacts/contracts/accounting/AccountingService.sol/AccountingService.dbg.json +4 -0
- package/artifacts/contracts/accounting/AccountingService.sol/AccountingService.json +1007 -0
- package/artifacts/contracts/accounting/AccountingServiceManager.sol/AccountingServiceManager.dbg.json +4 -0
- package/artifacts/contracts/accounting/AccountingServiceManager.sol/AccountingServiceManager.json +744 -0
- package/artifacts/contracts/accounting/IAccountingService.sol/IAccountingService.dbg.json +4 -0
- package/artifacts/contracts/accounting/IAccountingService.sol/IAccountingService.json +791 -0
- package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.dbg.json +4 -0
- package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.json +1379 -0
- package/artifacts/contracts/authorization/AccessAdmin.sol/IAccessManagedChecker.dbg.json +4 -0
- package/artifacts/contracts/authorization/AccessAdmin.sol/IAccessManagedChecker.json +24 -0
- package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.dbg.json +4 -0
- package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.json +1434 -0
- package/artifacts/contracts/authorization/Authorization.sol/Authorization.dbg.json +4 -0
- package/artifacts/contracts/authorization/Authorization.sol/Authorization.json +542 -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 +1130 -0
- package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.dbg.json +4 -0
- package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.json +350 -0
- package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.dbg.json +4 -0
- package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.json +167 -0
- package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.dbg.json +4 -0
- package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.json +253 -0
- package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.dbg.json +4 -0
- package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.json +1322 -0
- package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.dbg.json +4 -0
- package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.json +589 -0
- package/artifacts/contracts/distribution/Distribution.sol/Distribution.dbg.json +4 -0
- package/artifacts/contracts/{components → distribution}/Distribution.sol/Distribution.json +266 -596
- package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.dbg.json +4 -0
- package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.json +1509 -0
- package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +4 -0
- package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.json +864 -0
- package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.dbg.json +4 -0
- package/artifacts/contracts/{components → distribution}/IDistributionComponent.sol/IDistributionComponent.json +342 -327
- package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.dbg.json +4 -0
- package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.json +1008 -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 +1475 -0
- package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.dbg.json +4 -0
- package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.json +589 -0
- package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.dbg.json +4 -0
- package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.json +2032 -0
- package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.dbg.json +4 -0
- package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.json +589 -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 +1479 -0
- package/artifacts/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol/SimpleDistributionAuthorization.dbg.json +4 -0
- package/artifacts/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol/SimpleDistributionAuthorization.json +589 -0
- package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.dbg.json +4 -0
- package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.json +1195 -0
- package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.dbg.json +4 -0
- package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.json +1655 -0
- package/artifacts/contracts/examples/unpermissioned/SimplePoolAuthorization.sol/SimplePoolAuthorization.dbg.json +4 -0
- package/artifacts/contracts/examples/unpermissioned/SimplePoolAuthorization.sol/SimplePoolAuthorization.json +589 -0
- package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.dbg.json +4 -0
- package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.json +2432 -0
- package/artifacts/contracts/examples/unpermissioned/SimpleProductAuthorization.sol/SimpleProductAuthorization.dbg.json +4 -0
- package/artifacts/contracts/examples/unpermissioned/SimpleProductAuthorization.sol/SimpleProductAuthorization.json +589 -0
- package/artifacts/contracts/instance/BundleSet.sol/BundleSet.dbg.json +4 -0
- package/artifacts/contracts/instance/BundleSet.sol/BundleSet.json +851 -0
- package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
- package/artifacts/contracts/instance/IInstance.sol/IInstance.json +357 -2088
- package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
- package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +339 -78
- package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
- package/artifacts/contracts/instance/Instance.sol/Instance.json +448 -2892
- package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.dbg.json +4 -0
- package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.json +1929 -0
- package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.dbg.json +4 -0
- package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.json +661 -0
- package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +1640 -597
- package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +361 -371
- package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +157 -106
- package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.dbg.json +4 -0
- package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.json +3718 -0
- package/artifacts/contracts/instance/RiskSet.sol/RiskSet.dbg.json +4 -0
- package/artifacts/contracts/instance/RiskSet.sol/RiskSet.json +853 -0
- package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.dbg.json +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 +223 -0
- package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.dbg.json +4 -0
- package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.json +192 -0
- package/artifacts/contracts/instance/base/ObjectSetHelperLib.sol/ObjectSetHelperLib.dbg.json +4 -0
- package/artifacts/contracts/instance/base/ObjectSetHelperLib.sol/ObjectSetHelperLib.json +168 -0
- package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +1 -1
- package/artifacts/contracts/instance/module/IComponents.sol/IComponents.dbg.json +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 +959 -0
- package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.dbg.json +4 -0
- package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.json +569 -0
- package/artifacts/contracts/oracle/IOracle.sol/IOracle.dbg.json +4 -0
- package/artifacts/contracts/oracle/IOracle.sol/IOracle.json +52 -0
- package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.dbg.json +4 -0
- package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.json +774 -0
- 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} +380 -167
- package/artifacts/contracts/oracle/Oracle.sol/Oracle.dbg.json +4 -0
- package/artifacts/contracts/{components/Component.sol/Component.json → oracle/Oracle.sol/Oracle.json} +306 -284
- package/artifacts/contracts/oracle/OracleService.sol/OracleService.dbg.json +4 -0
- package/artifacts/contracts/oracle/OracleService.sol/OracleService.json +997 -0
- package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.dbg.json +4 -0
- package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.json +764 -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 -543
- package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.dbg.json +4 -0
- package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.json +589 -0
- package/artifacts/contracts/pool/BundleService.sol/BundleService.dbg.json +4 -0
- package/artifacts/contracts/pool/BundleService.sol/BundleService.json +1261 -0
- package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.dbg.json +4 -0
- package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.json +800 -0
- package/artifacts/contracts/pool/IBundleService.sol/IBundleService.dbg.json +4 -0
- package/artifacts/contracts/pool/IBundleService.sol/IBundleService.json +880 -0
- package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.dbg.json +4 -0
- package/artifacts/contracts/{components → pool}/IPoolComponent.sol/IPoolComponent.json +401 -381
- package/artifacts/contracts/pool/IPoolService.sol/IPoolService.dbg.json +4 -0
- package/artifacts/contracts/pool/IPoolService.sol/IPoolService.json +1230 -0
- package/artifacts/contracts/pool/Pool.sol/Pool.dbg.json +4 -0
- package/artifacts/contracts/pool/Pool.sol/Pool.json +1027 -0
- package/artifacts/contracts/pool/PoolLib.sol/PoolLib.dbg.json +4 -0
- package/artifacts/contracts/pool/PoolLib.sol/PoolLib.json +456 -0
- package/artifacts/contracts/pool/PoolService.sol/PoolService.dbg.json +4 -0
- package/artifacts/contracts/pool/PoolService.sol/PoolService.json +1574 -0
- package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.dbg.json +4 -0
- package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.json +808 -0
- package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.dbg.json +4 -0
- package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.json +813 -0
- package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +4 -0
- package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.json +728 -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} +423 -508
- package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.dbg.json +4 -0
- package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.json +589 -0
- package/artifacts/contracts/product/ClaimService.sol/ClaimService.dbg.json +4 -0
- package/artifacts/contracts/product/ClaimService.sol/ClaimService.json +1496 -0
- package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +4 -0
- package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.json +848 -0
- package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.dbg.json +4 -0
- package/artifacts/contracts/{instance/service/IPolicyService.sol/IPolicyService.json → product/IApplicationService.sol/IApplicationService.json} +221 -196
- package/artifacts/contracts/product/IClaimService.sol/IClaimService.dbg.json +4 -0
- package/artifacts/contracts/product/IClaimService.sol/IClaimService.json +1064 -0
- package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.dbg.json +4 -0
- package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.json +981 -0
- package/artifacts/contracts/product/IPricingService.sol/IPricingService.dbg.json +4 -0
- package/artifacts/contracts/{instance/service/IBundleService.sol/IBundleService.json → product/IPricingService.sol/IPricingService.json} +287 -307
- package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.dbg.json +4 -0
- package/artifacts/contracts/{components → product}/IProductComponent.sol/IProductComponent.json +495 -283
- 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} +150 -64
- package/artifacts/contracts/product/PolicyService.sol/PolicyService.dbg.json +4 -0
- package/artifacts/contracts/product/PolicyService.sol/PolicyService.json +1333 -0
- package/artifacts/contracts/product/PolicyServiceLib.sol/PolicyServiceLib.dbg.json +4 -0
- package/artifacts/contracts/product/PolicyServiceLib.sol/PolicyServiceLib.json +293 -0
- package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +4 -0
- package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.json +808 -0
- package/artifacts/contracts/product/PricingService.sol/PricingService.dbg.json +4 -0
- package/artifacts/contracts/product/PricingService.sol/PricingService.json +930 -0
- package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.dbg.json +4 -0
- package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.json +784 -0
- package/artifacts/contracts/product/Product.sol/Product.dbg.json +4 -0
- package/artifacts/contracts/product/Product.sol/Product.json +1119 -0
- package/artifacts/contracts/product/RiskService.sol/RiskService.dbg.json +4 -0
- package/artifacts/contracts/product/RiskService.sol/RiskService.json +659 -0
- package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.dbg.json +4 -0
- package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.json +732 -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 +499 -26
- package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
- package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +286 -122
- package/artifacts/contracts/registry/IRelease.sol/IRelease.dbg.json +4 -0
- package/artifacts/contracts/registry/IRelease.sol/IRelease.json +24 -0
- package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
- package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.json +5 -0
- package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
- package/artifacts/contracts/registry/Registry.sol/Registry.json +989 -125
- package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.dbg.json +4 -0
- package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.json +1928 -0
- package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
- package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +360 -257
- package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
- package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +164 -99
- package/artifacts/contracts/registry/ReleaseAdmin.sol/ReleaseAdmin.dbg.json +4 -0
- package/artifacts/contracts/registry/ReleaseAdmin.sol/ReleaseAdmin.json +1849 -0
- package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.dbg.json +4 -0
- package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.json +205 -0
- package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.dbg.json +4 -0
- package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.json +1333 -0
- package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.dbg.json +4 -0
- package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.json +272 -0
- package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +1 -1
- package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +317 -154
- package/artifacts/contracts/shared/Component.sol/Component.dbg.json +4 -0
- package/artifacts/contracts/shared/Component.sol/Component.json +707 -0
- package/artifacts/contracts/shared/ComponentService.sol/ComponentService.dbg.json +4 -0
- package/artifacts/contracts/shared/ComponentService.sol/ComponentService.json +1571 -0
- package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.dbg.json +4 -0
- package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.json +820 -0
- package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.dbg.json +4 -0
- package/artifacts/contracts/{instance/base/ComponentService.sol/ComponentService.json → shared/ComponentVerifyingService.sol/ComponentVerifyingService.json} +115 -171
- package/artifacts/contracts/shared/ContractLib.sol/ContractLib.dbg.json +4 -0
- package/artifacts/contracts/shared/ContractLib.sol/ContractLib.json +541 -0
- package/artifacts/contracts/shared/ContractLib.sol/IInstanceAdminHelper.dbg.json +4 -0
- package/artifacts/contracts/shared/ContractLib.sol/IInstanceAdminHelper.json +24 -0
- package/artifacts/contracts/shared/ContractLib.sol/ITargetHelper.dbg.json +4 -0
- package/artifacts/contracts/shared/ContractLib.sol/ITargetHelper.json +30 -0
- package/artifacts/contracts/shared/ContractLib.sol/ITokenRegistryHelper.dbg.json +4 -0
- package/artifacts/contracts/shared/ContractLib.sol/ITokenRegistryHelper.json +40 -0
- package/artifacts/contracts/shared/IComponent.sol/IComponent.dbg.json +4 -0
- package/artifacts/contracts/{components → shared}/IComponent.sol/IComponent.json +244 -125
- package/artifacts/contracts/shared/IComponentService.sol/IComponentService.dbg.json +4 -0
- package/artifacts/contracts/shared/IComponentService.sol/IComponentService.json +1203 -0
- package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.dbg.json +4 -0
- package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.json +709 -0
- package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.dbg.json +4 -0
- package/artifacts/contracts/{instance/base → shared}/IKeyValueStore.sol/IKeyValueStore.json +95 -14
- package/artifacts/contracts/shared/ILifecycle.sol/ILifecycle.dbg.json +4 -0
- package/artifacts/contracts/{instance/base → shared}/ILifecycle.sol/ILifecycle.json +35 -4
- package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
- package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +19 -10
- package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +1 -1
- package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.json +59 -13
- package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
- package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +144 -3
- package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +1 -1
- package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.json +0 -13
- package/artifacts/contracts/shared/IService.sol/IService.dbg.json +1 -1
- package/artifacts/contracts/shared/IService.sol/IService.json +158 -17
- 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 +797 -0
- package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.dbg.json +4 -0
- package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.json +538 -0
- package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.dbg.json +4 -0
- package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.json +174 -0
- package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.dbg.json +4 -0
- package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.json +306 -0
- package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
- package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +28 -70
- package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +1 -1
- package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +35 -85
- package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
- package/artifacts/contracts/shared/Registerable.sol/Registerable.json +126 -100
- package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +1 -1
- package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +2 -28
- package/artifacts/contracts/shared/Service.sol/Service.dbg.json +1 -1
- package/artifacts/contracts/shared/Service.sol/Service.json +143 -104
- package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
- package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +635 -8
- package/artifacts/contracts/shared/TokenHandler.sol/TokenHandlerBase.dbg.json +4 -0
- package/artifacts/contracts/shared/TokenHandler.sol/TokenHandlerBase.json +484 -0
- package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.dbg.json +4 -0
- package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.json +172 -0
- package/artifacts/contracts/staking/IStaking.sol/IStaking.dbg.json +4 -0
- package/artifacts/contracts/staking/IStaking.sol/IStaking.json +1447 -0
- package/artifacts/contracts/staking/IStakingService.sol/IStakingService.dbg.json +4 -0
- package/artifacts/contracts/staking/IStakingService.sol/IStakingService.json +1096 -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 +1849 -0
- package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.dbg.json +4 -0
- package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.json +205 -0
- package/artifacts/contracts/staking/StakingManager.sol/StakingManager.dbg.json +4 -0
- package/artifacts/contracts/staking/StakingManager.sol/StakingManager.json +788 -0
- package/artifacts/contracts/staking/StakingReader.sol/StakingReader.dbg.json +4 -0
- package/artifacts/contracts/staking/StakingReader.sol/StakingReader.json +587 -0
- package/artifacts/contracts/staking/StakingService.sol/StakingService.dbg.json +4 -0
- package/artifacts/contracts/staking/StakingService.sol/StakingService.json +1301 -0
- package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.dbg.json +4 -0
- package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.json +732 -0
- package/artifacts/contracts/staking/StakingStore.sol/StakingStore.dbg.json +4 -0
- package/artifacts/contracts/staking/StakingStore.sol/StakingStore.json +2283 -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/Key32Set.sol/LibKey32Set.dbg.json +4 -0
- package/artifacts/contracts/type/Key32Set.sol/LibKey32Set.json +33 -0
- package/artifacts/contracts/type/NftId.sol/NftIdLib.dbg.json +4 -0
- package/artifacts/contracts/type/NftId.sol/NftIdLib.json +228 -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 +204 -0
- package/artifacts/contracts/type/RoleId.sol/RoleIdLib.dbg.json +4 -0
- package/artifacts/contracts/type/RoleId.sol/RoleIdLib.json +433 -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 +148 -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/type/StateId.sol/StateIdLib.json +105 -0
- 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/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 +158 -0
- package/artifacts/contracts/type/Version.sol/VersionPartLib.dbg.json +4 -0
- package/artifacts/contracts/type/Version.sol/VersionPartLib.json +113 -0
- package/artifacts/contracts/upgradeability/IVersionable.sol/IVersionable.dbg.json +4 -0
- package/artifacts/contracts/{shared → upgradeability}/IVersionable.sol/IVersionable.json +1 -1
- package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.dbg.json +4 -0
- package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.json +618 -0
- package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +4 -0
- package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +129 -0
- package/artifacts/contracts/upgradeability/Versionable.sol/Versionable.dbg.json +4 -0
- package/artifacts/contracts/{shared → upgradeability}/Versionable.sol/Versionable.json +1 -1
- package/contracts/accounting/AccountingService.sol +262 -0
- package/contracts/accounting/AccountingServiceManager.sol +38 -0
- package/contracts/accounting/IAccountingService.sol +45 -0
- package/contracts/authorization/AccessAdmin.sol +689 -0
- package/contracts/authorization/AccessManagerCloneable.sol +149 -0
- package/contracts/authorization/Authorization.sol +337 -0
- package/contracts/authorization/IAccess.sol +49 -0
- package/contracts/authorization/IAccessAdmin.sol +143 -0
- package/contracts/authorization/IAuthorization.sol +74 -0
- package/contracts/authorization/IServiceAuthorization.sol +40 -0
- package/contracts/authorization/ServiceAuthorization.sol +106 -0
- package/contracts/distribution/BasicDistribution.sol +141 -0
- package/contracts/distribution/BasicDistributionAuthorization.sol +60 -0
- package/contracts/{components → distribution}/Distribution.sol +173 -171
- package/contracts/distribution/DistributionService.sol +358 -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 +90 -0
- package/contracts/examples/fire/FirePoolAuthorization.sol +35 -0
- package/contracts/examples/fire/FireProduct.sol +437 -0
- package/contracts/examples/fire/FireProductAuthorization.sol +45 -0
- package/contracts/examples/fire/FireUSD.sol +26 -0
- package/contracts/examples/unpermissioned/SimpleDistribution.sol +57 -0
- package/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol +28 -0
- package/contracts/examples/unpermissioned/SimpleOracle.sol +137 -0
- package/contracts/examples/unpermissioned/SimplePool.sol +106 -0
- package/contracts/examples/unpermissioned/SimplePoolAuthorization.sol +28 -0
- package/contracts/examples/unpermissioned/SimpleProduct.sol +377 -0
- package/contracts/examples/unpermissioned/SimpleProductAuthorization.sol +28 -0
- package/contracts/instance/BundleSet.sol +130 -0
- package/contracts/instance/IInstance.sol +50 -72
- package/contracts/instance/IInstanceService.sol +39 -26
- package/contracts/instance/Instance.sol +177 -221
- package/contracts/instance/InstanceAdmin.sol +437 -0
- package/contracts/instance/InstanceAuthorizationV3.sol +213 -0
- package/contracts/instance/InstanceReader.sol +408 -64
- package/contracts/instance/InstanceService.sol +290 -362
- package/contracts/instance/InstanceServiceManager.sol +14 -29
- package/contracts/instance/InstanceStore.sol +298 -0
- package/contracts/instance/RiskSet.sol +118 -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 +20 -0
- package/contracts/instance/base/ObjectLifecycle.sol +113 -0
- package/contracts/instance/base/ObjectSet.sol +77 -0
- package/contracts/instance/base/ObjectSetHelperLib.sol +30 -0
- package/contracts/instance/module/IBundle.sol +8 -8
- package/contracts/instance/module/IComponents.sol +51 -0
- package/contracts/instance/module/IDistribution.sol +8 -6
- package/contracts/instance/module/IPolicy.sol +56 -18
- package/contracts/instance/module/IRisk.sol +4 -1
- package/contracts/{test/Usdc.sol → mock/Dip.sol} +6 -6
- package/contracts/oracle/BasicOracle.sol +47 -0
- package/contracts/oracle/BasicOracleAuthorization.sol +37 -0
- package/contracts/oracle/IOracle.sol +36 -0
- package/contracts/oracle/IOracleComponent.sol +33 -0
- package/contracts/oracle/IOracleService.sol +66 -0
- package/contracts/oracle/Oracle.sol +156 -0
- package/contracts/oracle/OracleService.sol +310 -0
- package/contracts/oracle/OracleServiceManager.sol +39 -0
- package/contracts/pool/BasicPool.sol +175 -0
- package/contracts/pool/BasicPoolAuthorization.sol +76 -0
- package/contracts/pool/BundleService.sol +395 -0
- package/contracts/pool/BundleServiceManager.sol +39 -0
- package/contracts/pool/IBundleService.sol +115 -0
- package/contracts/pool/IPoolComponent.sol +62 -0
- package/contracts/pool/IPoolService.sol +165 -0
- package/contracts/pool/Pool.sol +345 -0
- package/contracts/pool/PoolLib.sol +216 -0
- package/contracts/pool/PoolService.sol +757 -0
- package/contracts/pool/PoolServiceManager.sol +39 -0
- package/contracts/product/ApplicationService.sol +259 -0
- package/contracts/{instance/service → product}/ApplicationServiceManager.sol +12 -9
- package/contracts/product/BasicProduct.sol +51 -0
- package/contracts/product/BasicProductAuthorization.sol +56 -0
- package/contracts/product/ClaimService.sol +632 -0
- package/contracts/{instance/service → product}/ClaimServiceManager.sol +12 -9
- package/contracts/{instance/service → product}/IApplicationService.sol +20 -36
- package/contracts/product/IClaimService.sol +135 -0
- package/contracts/product/IPolicyService.sol +95 -0
- package/contracts/product/IPricingService.sol +39 -0
- package/contracts/product/IProductComponent.sol +62 -0
- package/contracts/product/IRiskService.sol +30 -0
- package/contracts/product/PolicyService.sol +682 -0
- package/contracts/product/PolicyServiceLib.sol +65 -0
- package/contracts/product/PolicyServiceManager.sol +39 -0
- package/contracts/product/PricingService.sol +304 -0
- package/contracts/product/PricingServiceManager.sol +39 -0
- package/contracts/product/Product.sol +469 -0
- package/contracts/product/RiskService.sol +144 -0
- package/contracts/product/RiskServiceManager.sol +39 -0
- package/contracts/registry/ChainNft.sol +83 -36
- package/contracts/registry/IRegistry.sol +97 -30
- package/contracts/registry/IRegistryService.sol +36 -41
- package/contracts/registry/IRelease.sol +26 -0
- package/contracts/registry/ITransferInterceptor.sol +1 -1
- package/contracts/registry/Registry.sol +472 -206
- package/contracts/registry/RegistryAdmin.sol +354 -0
- package/contracts/registry/RegistryService.sol +89 -131
- package/contracts/registry/RegistryServiceManager.sol +23 -32
- package/contracts/registry/ReleaseAdmin.sol +245 -0
- package/contracts/registry/ReleaseLifecycle.sol +32 -0
- package/contracts/registry/ReleaseRegistry.sol +511 -0
- package/contracts/registry/ServiceAuthorizationV3.sol +247 -0
- package/contracts/registry/TokenRegistry.sol +261 -64
- package/contracts/shared/Component.sol +227 -0
- package/contracts/shared/ComponentService.sol +692 -0
- package/contracts/shared/ComponentServiceManager.sol +38 -0
- package/contracts/shared/ComponentVerifyingService.sol +128 -0
- package/contracts/shared/ContractLib.sol +253 -0
- package/contracts/shared/IComponent.sol +61 -0
- package/contracts/shared/IComponentService.sol +112 -0
- package/contracts/shared/IInstanceLinkedComponent.sol +30 -0
- package/contracts/{instance/base → shared}/IKeyValueStore.sol +16 -11
- package/contracts/{instance/base → shared}/ILifecycle.sol +5 -4
- package/contracts/shared/INftOwnable.sol +4 -2
- package/contracts/shared/IPolicyHolder.sol +23 -14
- package/contracts/shared/IRegisterable.sol +23 -1
- package/contracts/shared/IRegistryLinked.sol +0 -1
- package/contracts/shared/IService.sol +12 -5
- package/contracts/shared/{ERC165.sol → InitializableERC165.sol} +4 -4
- package/contracts/shared/InstanceLinkedComponent.sol +197 -0
- package/contracts/shared/KeyValueStore.sol +131 -0
- package/contracts/shared/Lifecycle.sol +88 -0
- package/contracts/shared/NftIdSet.sol +65 -0
- package/contracts/shared/NftOwnable.sol +34 -27
- package/contracts/shared/PolicyHolder.sol +22 -41
- package/contracts/shared/Registerable.sol +54 -19
- package/contracts/shared/RegistryLinked.sol +9 -19
- package/contracts/shared/Service.sol +36 -29
- package/contracts/shared/TokenHandler.sol +326 -12
- package/contracts/shared/TokenHandlerDeployerLib.sol +20 -0
- package/contracts/staking/IStaking.sol +165 -0
- package/contracts/staking/IStakingService.sol +165 -0
- package/contracts/staking/StakeManagerLib.sol +224 -0
- package/contracts/staking/Staking.sol +526 -0
- package/contracts/staking/StakingLifecycle.sol +23 -0
- package/contracts/staking/StakingManager.sol +52 -0
- package/contracts/staking/StakingReader.sol +190 -0
- package/contracts/staking/StakingService.sol +430 -0
- package/contracts/staking/StakingServiceManager.sol +45 -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/{types → type}/ClaimId.sol +31 -3
- package/contracts/{types → type}/Fee.sol +33 -23
- package/contracts/{types → type}/Key32.sol +2 -2
- package/contracts/type/Key32Set.sol +62 -0
- package/contracts/{types → type}/NftId.sol +28 -15
- package/contracts/{types → type}/NftIdSet.sol +2 -2
- package/contracts/type/ObjectType.sol +303 -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/type/RiskId.sol +75 -0
- package/contracts/type/RoleId.sol +182 -0
- package/contracts/type/Seconds.sol +101 -0
- package/contracts/type/Selector.sol +107 -0
- package/contracts/{types → type}/StateId.sol +48 -4
- package/contracts/type/String.sol +53 -0
- package/contracts/{types → type}/Timestamp.sol +33 -19
- package/contracts/{types → type}/UFixed.sol +41 -121
- package/contracts/{types → type}/Version.sol +20 -7
- package/contracts/{shared → upgradeability}/IVersionable.sol +1 -1
- package/contracts/{shared → upgradeability}/ProxyManager.sol +93 -30
- package/contracts/{shared → upgradeability}/UpgradableProxyWithAdmin.sol +1 -3
- package/contracts/{shared → upgradeability}/Versionable.sol +3 -3
- package/package.json +11 -7
- package/artifacts/contracts/components/Component.sol/Component.dbg.json +0 -4
- package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +0 -4
- package/artifacts/contracts/components/IComponent.sol/IComponent.dbg.json +0 -4
- package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +0 -4
- package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +0 -4
- package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +0 -4
- package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +0 -4
- package/artifacts/contracts/components/Product.sol/Product.dbg.json +0 -4
- package/artifacts/contracts/instance/BundleManager.sol/BundleManager.dbg.json +0 -4
- package/artifacts/contracts/instance/BundleManager.sol/BundleManager.json +0 -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/IAccess.sol/IAccess.dbg.json +0 -4
- package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +0 -254
- 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 -858
- package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +0 -4
- package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.json +0 -657
- package/artifacts/contracts/instance/service/BundleService.sol/BundleService.dbg.json +0 -4
- package/artifacts/contracts/instance/service/BundleService.sol/BundleService.json +0 -1085
- package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.dbg.json +0 -4
- package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.json +0 -661
- package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.dbg.json +0 -4
- package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.json +0 -743
- package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +0 -4
- package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.json +0 -637
- package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +0 -4
- package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +0 -1087
- package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +0 -4
- package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.json +0 -729
- package/artifacts/contracts/instance/service/IApplicationService.sol/IApplicationService.dbg.json +0 -4
- package/artifacts/contracts/instance/service/IApplicationService.sol/IApplicationService.json +0 -462
- package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.dbg.json +0 -4
- package/artifacts/contracts/instance/service/IClaimService.sol/IClaimService.dbg.json +0 -4
- package/artifacts/contracts/instance/service/IClaimService.sol/IClaimService.json +0 -398
- 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/IPoolService.sol/IPoolService.json +0 -336
- 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 -1109
- package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +0 -4
- package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.json +0 -717
- package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +0 -4
- package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +0 -716
- package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.dbg.json +0 -4
- package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.json +0 -649
- package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +0 -4
- package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +0 -766
- package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.dbg.json +0 -4
- package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.json +0 -649
- package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.dbg.json +0 -4
- package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.json +0 -285
- package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.dbg.json +0 -4
- package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.json +0 -547
- package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.dbg.json +0 -4
- package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.json +0 -107
- package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +0 -4
- package/artifacts/contracts/shared/ERC165.sol/ERC165.json +0 -73
- package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +0 -4
- package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +0 -4
- package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +0 -582
- package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +0 -4
- package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +0 -129
- package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +0 -4
- package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +0 -4
- package/artifacts/contracts/test/TestFee.sol/TestFee.json +0 -119
- package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +0 -4
- package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +0 -383
- package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +0 -4
- package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +0 -116
- package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +0 -4
- package/artifacts/contracts/test/TestService.sol/TestService.json +0 -510
- package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +0 -4
- package/artifacts/contracts/test/TestToken.sol/TestUsdc.json +0 -376
- package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +0 -4
- package/artifacts/contracts/test/TestVersion.sol/TestVersion.json +0 -218
- package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +0 -4
- package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +0 -104
- package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +0 -4
- package/artifacts/contracts/test/Usdc.sol/USDC.json +0 -376
- package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +0 -4
- package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.json +0 -10
- package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +0 -4
- package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.json +0 -174
- package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +0 -4
- package/artifacts/contracts/types/ChainId.sol/ChainIdLib.json +0 -10
- package/artifacts/contracts/types/ClaimId.sol/ClaimIdLib.dbg.json +0 -4
- package/artifacts/contracts/types/ClaimId.sol/ClaimIdLib.json +0 -100
- package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.dbg.json +0 -4
- package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.json +0 -104
- package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +0 -4
- package/artifacts/contracts/types/Fee.sol/FeeLib.json +0 -257
- package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +0 -4
- package/artifacts/contracts/types/Key32.sol/Key32Lib.json +0 -125
- package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +0 -4
- package/artifacts/contracts/types/NftId.sol/NftIdLib.json +0 -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/PayoutId.sol/PayoutIdLib.dbg.json +0 -4
- package/artifacts/contracts/types/PayoutId.sol/PayoutIdLib.json +0 -100
- package/artifacts/contracts/types/Referral.sol/ReferralLib.dbg.json +0 -4
- package/artifacts/contracts/types/Referral.sol/ReferralLib.json +0 -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/StateId.sol/StateIdLib.json +0 -92
- 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 -241
- package/contracts/components/IComponent.sol +0 -54
- package/contracts/components/IDistributionComponent.sol +0 -92
- 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 -285
- package/contracts/instance/BundleManager.sol +0 -125
- package/contracts/instance/InstanceAccessManager.sol +0 -297
- package/contracts/instance/ObjectManager.sol +0 -84
- 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/IAccess.sol +0 -47
- package/contracts/instance/module/ISetup.sol +0 -48
- 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/ClaimService.sol +0 -151
- package/contracts/instance/service/DistributionService.sol +0 -346
- package/contracts/instance/service/DistributionServiceManager.sol +0 -51
- package/contracts/instance/service/IBundleService.sol +0 -54
- package/contracts/instance/service/IClaimService.sol +0 -61
- package/contracts/instance/service/IDistributionService.sol +0 -73
- package/contracts/instance/service/IPolicyService.sol +0 -89
- package/contracts/instance/service/IPoolService.sol +0 -20
- package/contracts/instance/service/IProductService.sol +0 -40
- package/contracts/instance/service/PolicyService.sol +0 -476
- 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 -322
- package/contracts/shared/ContractDeployerLib.sol +0 -72
- package/contracts/test/TestFee.sol +0 -25
- package/contracts/test/TestRegisterable.sol +0 -18
- package/contracts/test/TestRoleId.sol +0 -14
- package/contracts/test/TestService.sol +0 -25
- package/contracts/test/TestToken.sol +0 -26
- package/contracts/test/TestVersion.sol +0 -44
- package/contracts/test/TestVersionable.sol +0 -17
- package/contracts/types/ChainId.sol +0 -38
- package/contracts/types/NumberId.sol +0 -52
- package/contracts/types/ObjectType.sol +0 -156
- package/contracts/types/PayoutId.sol +0 -54
- package/contracts/types/RiskId.sol +0 -43
- package/contracts/types/RoleId.sol +0 -90
- /package/contracts/{types → type}/DistributorType.sol +0 -0
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"_format": "hh-sol-artifact-1",
|
3
3
|
"contractName": "Distribution",
|
4
|
-
"sourceName": "contracts/
|
4
|
+
"sourceName": "contracts/distribution/Distribution.sol",
|
5
5
|
"abi": [
|
6
6
|
{
|
7
7
|
"inputs": [
|
@@ -45,22 +45,16 @@
|
|
45
45
|
"inputs": [
|
46
46
|
{
|
47
47
|
"internalType": "address",
|
48
|
-
"name": "
|
48
|
+
"name": "authority",
|
49
49
|
"type": "address"
|
50
50
|
}
|
51
51
|
],
|
52
|
-
"name": "
|
52
|
+
"name": "ErrorAuthorityInvalid",
|
53
53
|
"type": "error"
|
54
54
|
},
|
55
55
|
{
|
56
|
-
"inputs": [
|
57
|
-
|
58
|
-
"internalType": "address",
|
59
|
-
"name": "account",
|
60
|
-
"type": "address"
|
61
|
-
}
|
62
|
-
],
|
63
|
-
"name": "AddressInsufficientBalance",
|
56
|
+
"inputs": [],
|
57
|
+
"name": "ErrorComponentNameLengthZero",
|
64
58
|
"type": "error"
|
65
59
|
},
|
66
60
|
{
|
@@ -75,93 +69,98 @@
|
|
75
69
|
"type": "error"
|
76
70
|
},
|
77
71
|
{
|
78
|
-
"inputs": [
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
"internalType": "address",
|
86
|
-
"name": "instance",
|
87
|
-
"type": "address"
|
88
|
-
}
|
89
|
-
],
|
90
|
-
"name": "ErrorComponentNotInstance",
|
72
|
+
"inputs": [],
|
73
|
+
"name": "ErrorComponentProductNftIdNonzero",
|
74
|
+
"type": "error"
|
75
|
+
},
|
76
|
+
{
|
77
|
+
"inputs": [],
|
78
|
+
"name": "ErrorComponentProductNftIdZero",
|
91
79
|
"type": "error"
|
92
80
|
},
|
93
81
|
{
|
94
82
|
"inputs": [
|
95
83
|
{
|
96
84
|
"internalType": "address",
|
97
|
-
"name": "
|
85
|
+
"name": "token",
|
98
86
|
"type": "address"
|
99
87
|
}
|
100
88
|
],
|
101
|
-
"name": "
|
89
|
+
"name": "ErrorComponentTokenInvalid",
|
90
|
+
"type": "error"
|
91
|
+
},
|
92
|
+
{
|
93
|
+
"inputs": [],
|
94
|
+
"name": "ErrorComponentWalletAddressIsSameAsCurrent",
|
102
95
|
"type": "error"
|
103
96
|
},
|
104
97
|
{
|
105
98
|
"inputs": [],
|
106
|
-
"name": "
|
99
|
+
"name": "ErrorComponentWalletAddressZero",
|
100
|
+
"type": "error"
|
101
|
+
},
|
102
|
+
{
|
103
|
+
"inputs": [],
|
104
|
+
"name": "ErrorComponentWalletNotComponent",
|
107
105
|
"type": "error"
|
108
106
|
},
|
109
107
|
{
|
110
108
|
"inputs": [
|
111
109
|
{
|
112
110
|
"internalType": "address",
|
113
|
-
"name": "
|
111
|
+
"name": "distributor",
|
114
112
|
"type": "address"
|
115
113
|
},
|
116
114
|
{
|
117
|
-
"internalType": "
|
118
|
-
"name": "
|
119
|
-
"type": "
|
115
|
+
"internalType": "NftId",
|
116
|
+
"name": "distributorNftId",
|
117
|
+
"type": "uint96"
|
120
118
|
}
|
121
119
|
],
|
122
|
-
"name": "
|
120
|
+
"name": "ErrorDistributionAlreadyDistributor",
|
123
121
|
"type": "error"
|
124
122
|
},
|
125
123
|
{
|
126
124
|
"inputs": [
|
127
125
|
{
|
128
126
|
"internalType": "address",
|
129
|
-
"name": "
|
127
|
+
"name": "distributor",
|
130
128
|
"type": "address"
|
131
129
|
}
|
132
130
|
],
|
133
|
-
"name": "
|
134
|
-
"type": "error"
|
135
|
-
},
|
136
|
-
{
|
137
|
-
"inputs": [],
|
138
|
-
"name": "ErrorComponentWalletAddressZero",
|
131
|
+
"name": "ErrorDistributionNotDistributor",
|
139
132
|
"type": "error"
|
140
133
|
},
|
141
134
|
{
|
142
135
|
"inputs": [
|
143
136
|
{
|
144
|
-
"internalType": "
|
145
|
-
"name": "
|
146
|
-
"type": "
|
137
|
+
"internalType": "NftId",
|
138
|
+
"name": "nftId",
|
139
|
+
"type": "uint96"
|
147
140
|
},
|
148
141
|
{
|
149
|
-
"internalType": "
|
150
|
-
"name": "
|
151
|
-
"type": "
|
152
|
-
}
|
142
|
+
"internalType": "ObjectType",
|
143
|
+
"name": "objectType",
|
144
|
+
"type": "uint8"
|
145
|
+
}
|
146
|
+
],
|
147
|
+
"name": "ErrorInstanceLinkedComponentNotProduct",
|
148
|
+
"type": "error"
|
149
|
+
},
|
150
|
+
{
|
151
|
+
"inputs": [
|
153
152
|
{
|
154
|
-
"internalType": "
|
155
|
-
"name": "
|
156
|
-
"type": "
|
153
|
+
"internalType": "ObjectType",
|
154
|
+
"name": "requiredType",
|
155
|
+
"type": "uint8"
|
157
156
|
},
|
158
157
|
{
|
159
|
-
"internalType": "
|
160
|
-
"name": "
|
161
|
-
"type": "
|
158
|
+
"internalType": "ObjectType",
|
159
|
+
"name": "objectType",
|
160
|
+
"type": "uint8"
|
162
161
|
}
|
163
162
|
],
|
164
|
-
"name": "
|
163
|
+
"name": "ErrorInstanceLinkedComponentTypeMismatch",
|
165
164
|
"type": "error"
|
166
165
|
},
|
167
166
|
{
|
@@ -191,6 +190,22 @@
|
|
191
190
|
"name": "ErrorNftOwnableInitialOwnerZero",
|
192
191
|
"type": "error"
|
193
192
|
},
|
193
|
+
{
|
194
|
+
"inputs": [
|
195
|
+
{
|
196
|
+
"internalType": "NftId",
|
197
|
+
"name": "nftId",
|
198
|
+
"type": "uint96"
|
199
|
+
},
|
200
|
+
{
|
201
|
+
"internalType": "ObjectType",
|
202
|
+
"name": "expectedObjectType",
|
203
|
+
"type": "uint8"
|
204
|
+
}
|
205
|
+
],
|
206
|
+
"name": "ErrorNftOwnableInvalidType",
|
207
|
+
"type": "error"
|
208
|
+
},
|
194
209
|
{
|
195
210
|
"inputs": [
|
196
211
|
{
|
@@ -215,7 +230,7 @@
|
|
215
230
|
},
|
216
231
|
{
|
217
232
|
"inputs": [],
|
218
|
-
"name": "
|
233
|
+
"name": "ErrorRegisterableNotActive",
|
219
234
|
"type": "error"
|
220
235
|
},
|
221
236
|
{
|
@@ -228,17 +243,6 @@
|
|
228
243
|
"name": "NotInitializing",
|
229
244
|
"type": "error"
|
230
245
|
},
|
231
|
-
{
|
232
|
-
"inputs": [
|
233
|
-
{
|
234
|
-
"internalType": "address",
|
235
|
-
"name": "token",
|
236
|
-
"type": "address"
|
237
|
-
}
|
238
|
-
],
|
239
|
-
"name": "SafeERC20FailedOperation",
|
240
|
-
"type": "error"
|
241
|
-
},
|
242
246
|
{
|
243
247
|
"anonymous": false,
|
244
248
|
"inputs": [
|
@@ -268,6 +272,43 @@
|
|
268
272
|
{
|
269
273
|
"anonymous": false,
|
270
274
|
"inputs": [
|
275
|
+
{
|
276
|
+
"indexed": false,
|
277
|
+
"internalType": "address",
|
278
|
+
"name": "tokenHandler",
|
279
|
+
"type": "address"
|
280
|
+
},
|
281
|
+
{
|
282
|
+
"indexed": false,
|
283
|
+
"internalType": "address",
|
284
|
+
"name": "token",
|
285
|
+
"type": "address"
|
286
|
+
},
|
287
|
+
{
|
288
|
+
"indexed": false,
|
289
|
+
"internalType": "Amount",
|
290
|
+
"name": "limit",
|
291
|
+
"type": "uint96"
|
292
|
+
},
|
293
|
+
{
|
294
|
+
"indexed": false,
|
295
|
+
"internalType": "bool",
|
296
|
+
"name": "isMaxAmount",
|
297
|
+
"type": "bool"
|
298
|
+
}
|
299
|
+
],
|
300
|
+
"name": "LogComponentTokenHandlerApproved",
|
301
|
+
"type": "event"
|
302
|
+
},
|
303
|
+
{
|
304
|
+
"anonymous": false,
|
305
|
+
"inputs": [
|
306
|
+
{
|
307
|
+
"indexed": false,
|
308
|
+
"internalType": "address",
|
309
|
+
"name": "oldWallet",
|
310
|
+
"type": "address"
|
311
|
+
},
|
271
312
|
{
|
272
313
|
"indexed": false,
|
273
314
|
"internalType": "address",
|
@@ -315,7 +356,7 @@
|
|
315
356
|
{
|
316
357
|
"indexed": false,
|
317
358
|
"internalType": "address",
|
318
|
-
"name": "
|
359
|
+
"name": "operator",
|
319
360
|
"type": "address"
|
320
361
|
}
|
321
362
|
],
|
@@ -324,7 +365,7 @@
|
|
324
365
|
},
|
325
366
|
{
|
326
367
|
"inputs": [],
|
327
|
-
"name": "
|
368
|
+
"name": "COMPONENT_LOCATION_V1",
|
328
369
|
"outputs": [
|
329
370
|
{
|
330
371
|
"internalType": "bytes32",
|
@@ -348,6 +389,19 @@
|
|
348
389
|
"stateMutability": "view",
|
349
390
|
"type": "function"
|
350
391
|
},
|
392
|
+
{
|
393
|
+
"inputs": [],
|
394
|
+
"name": "INSTANCE_LINKED_COMPONENT_LOCATION_V1",
|
395
|
+
"outputs": [
|
396
|
+
{
|
397
|
+
"internalType": "bytes32",
|
398
|
+
"name": "",
|
399
|
+
"type": "bytes32"
|
400
|
+
}
|
401
|
+
],
|
402
|
+
"stateMutability": "view",
|
403
|
+
"type": "function"
|
404
|
+
},
|
351
405
|
{
|
352
406
|
"inputs": [],
|
353
407
|
"name": "NFT_OWNABLE_STORAGE_LOCATION_V1",
|
@@ -412,156 +466,91 @@
|
|
412
466
|
"type": "function"
|
413
467
|
},
|
414
468
|
{
|
415
|
-
"inputs": [
|
469
|
+
"inputs": [],
|
470
|
+
"name": "getAuthorization",
|
471
|
+
"outputs": [
|
416
472
|
{
|
417
|
-
"internalType": "
|
418
|
-
"name": "
|
473
|
+
"internalType": "contract IAuthorization",
|
474
|
+
"name": "authorization",
|
419
475
|
"type": "address"
|
420
|
-
},
|
421
|
-
{
|
422
|
-
"internalType": "DistributorType",
|
423
|
-
"name": "distributorType",
|
424
|
-
"type": "bytes8"
|
425
|
-
},
|
426
|
-
{
|
427
|
-
"internalType": "bytes",
|
428
|
-
"name": "data",
|
429
|
-
"type": "bytes"
|
430
476
|
}
|
431
477
|
],
|
432
|
-
"
|
478
|
+
"stateMutability": "view",
|
479
|
+
"type": "function"
|
480
|
+
},
|
481
|
+
{
|
482
|
+
"inputs": [],
|
483
|
+
"name": "getComponentInfo",
|
433
484
|
"outputs": [
|
434
485
|
{
|
435
|
-
"
|
436
|
-
|
437
|
-
|
486
|
+
"components": [
|
487
|
+
{
|
488
|
+
"internalType": "string",
|
489
|
+
"name": "name",
|
490
|
+
"type": "string"
|
491
|
+
},
|
492
|
+
{
|
493
|
+
"internalType": "contract IERC20Metadata",
|
494
|
+
"name": "token",
|
495
|
+
"type": "address"
|
496
|
+
},
|
497
|
+
{
|
498
|
+
"internalType": "contract TokenHandler",
|
499
|
+
"name": "tokenHandler",
|
500
|
+
"type": "address"
|
501
|
+
},
|
502
|
+
{
|
503
|
+
"internalType": "bytes",
|
504
|
+
"name": "data",
|
505
|
+
"type": "bytes"
|
506
|
+
}
|
507
|
+
],
|
508
|
+
"internalType": "struct IComponents.ComponentInfo",
|
509
|
+
"name": "info",
|
510
|
+
"type": "tuple"
|
438
511
|
}
|
439
512
|
],
|
440
|
-
"stateMutability": "
|
513
|
+
"stateMutability": "view",
|
441
514
|
"type": "function"
|
442
515
|
},
|
443
516
|
{
|
444
517
|
"inputs": [
|
445
518
|
{
|
446
519
|
"internalType": "string",
|
447
|
-
"name": "
|
520
|
+
"name": "referralCode",
|
448
521
|
"type": "string"
|
449
|
-
}
|
450
|
-
|
451
|
-
|
452
|
-
|
453
|
-
"type": "uint256"
|
454
|
-
},
|
455
|
-
{
|
456
|
-
"internalType": "UFixed",
|
457
|
-
"name": "maxDiscountPercentage",
|
458
|
-
"type": "uint256"
|
459
|
-
},
|
522
|
+
}
|
523
|
+
],
|
524
|
+
"name": "getDiscountPercentage",
|
525
|
+
"outputs": [
|
460
526
|
{
|
461
527
|
"internalType": "UFixed",
|
462
|
-
"name": "
|
528
|
+
"name": "discountPercentage",
|
463
529
|
"type": "uint256"
|
464
530
|
},
|
465
531
|
{
|
466
|
-
"internalType": "
|
467
|
-
"name": "
|
468
|
-
"type": "
|
469
|
-
},
|
470
|
-
{
|
471
|
-
"internalType": "uint32",
|
472
|
-
"name": "maxReferralLifetime",
|
473
|
-
"type": "uint32"
|
474
|
-
},
|
475
|
-
{
|
476
|
-
"internalType": "bool",
|
477
|
-
"name": "allowSelfReferrals",
|
478
|
-
"type": "bool"
|
479
|
-
},
|
480
|
-
{
|
481
|
-
"internalType": "bool",
|
482
|
-
"name": "allowRenewals",
|
483
|
-
"type": "bool"
|
484
|
-
},
|
485
|
-
{
|
486
|
-
"internalType": "bytes",
|
487
|
-
"name": "data",
|
488
|
-
"type": "bytes"
|
489
|
-
}
|
490
|
-
],
|
491
|
-
"name": "createDistributorType",
|
492
|
-
"outputs": [
|
493
|
-
{
|
494
|
-
"internalType": "DistributorType",
|
495
|
-
"name": "distributorType",
|
496
|
-
"type": "bytes8"
|
532
|
+
"internalType": "ReferralStatus",
|
533
|
+
"name": "status",
|
534
|
+
"type": "uint8"
|
497
535
|
}
|
498
536
|
],
|
499
|
-
"stateMutability": "
|
537
|
+
"stateMutability": "view",
|
500
538
|
"type": "function"
|
501
539
|
},
|
502
540
|
{
|
503
541
|
"inputs": [
|
542
|
+
{
|
543
|
+
"internalType": "address",
|
544
|
+
"name": "distributor",
|
545
|
+
"type": "address"
|
546
|
+
}
|
547
|
+
],
|
548
|
+
"name": "getDistributorNftId",
|
549
|
+
"outputs": [
|
504
550
|
{
|
505
551
|
"internalType": "NftId",
|
506
552
|
"name": "distributorNftId",
|
507
553
|
"type": "uint96"
|
508
|
-
},
|
509
|
-
{
|
510
|
-
"internalType": "string",
|
511
|
-
"name": "code",
|
512
|
-
"type": "string"
|
513
|
-
},
|
514
|
-
{
|
515
|
-
"internalType": "UFixed",
|
516
|
-
"name": "discountPercentage",
|
517
|
-
"type": "uint256"
|
518
|
-
},
|
519
|
-
{
|
520
|
-
"internalType": "uint32",
|
521
|
-
"name": "maxReferrals",
|
522
|
-
"type": "uint32"
|
523
|
-
},
|
524
|
-
{
|
525
|
-
"internalType": "Timestamp",
|
526
|
-
"name": "expiryAt",
|
527
|
-
"type": "uint40"
|
528
|
-
},
|
529
|
-
{
|
530
|
-
"internalType": "bytes",
|
531
|
-
"name": "data",
|
532
|
-
"type": "bytes"
|
533
|
-
}
|
534
|
-
],
|
535
|
-
"name": "createReferral",
|
536
|
-
"outputs": [
|
537
|
-
{
|
538
|
-
"internalType": "ReferralId",
|
539
|
-
"name": "referralId",
|
540
|
-
"type": "bytes8"
|
541
|
-
}
|
542
|
-
],
|
543
|
-
"stateMutability": "nonpayable",
|
544
|
-
"type": "function"
|
545
|
-
},
|
546
|
-
{
|
547
|
-
"inputs": [
|
548
|
-
{
|
549
|
-
"internalType": "string",
|
550
|
-
"name": "referralCode",
|
551
|
-
"type": "string"
|
552
|
-
}
|
553
|
-
],
|
554
|
-
"name": "getDiscountPercentage",
|
555
|
-
"outputs": [
|
556
|
-
{
|
557
|
-
"internalType": "UFixed",
|
558
|
-
"name": "discountPercentage",
|
559
|
-
"type": "uint256"
|
560
|
-
},
|
561
|
-
{
|
562
|
-
"internalType": "ReferralStatus",
|
563
|
-
"name": "status",
|
564
|
-
"type": "uint8"
|
565
554
|
}
|
566
555
|
],
|
567
556
|
"stateMutability": "view",
|
@@ -569,48 +558,39 @@
|
|
569
558
|
},
|
570
559
|
{
|
571
560
|
"inputs": [],
|
572
|
-
"name": "
|
561
|
+
"name": "getInitialComponentInfo",
|
573
562
|
"outputs": [
|
574
563
|
{
|
575
564
|
"components": [
|
576
565
|
{
|
577
|
-
"internalType": "
|
578
|
-
"name": "
|
579
|
-
"type": "
|
566
|
+
"internalType": "string",
|
567
|
+
"name": "name",
|
568
|
+
"type": "string"
|
569
|
+
},
|
570
|
+
{
|
571
|
+
"internalType": "contract IERC20Metadata",
|
572
|
+
"name": "token",
|
573
|
+
"type": "address"
|
580
574
|
},
|
581
575
|
{
|
582
|
-
"internalType": "
|
583
|
-
"name": "
|
584
|
-
"type": "
|
576
|
+
"internalType": "contract TokenHandler",
|
577
|
+
"name": "tokenHandler",
|
578
|
+
"type": "address"
|
579
|
+
},
|
580
|
+
{
|
581
|
+
"internalType": "bytes",
|
582
|
+
"name": "data",
|
583
|
+
"type": "bytes"
|
585
584
|
}
|
586
585
|
],
|
587
|
-
"internalType": "struct
|
588
|
-
"name": "
|
586
|
+
"internalType": "struct IComponents.ComponentInfo",
|
587
|
+
"name": "info",
|
589
588
|
"type": "tuple"
|
590
589
|
}
|
591
590
|
],
|
592
591
|
"stateMutability": "view",
|
593
592
|
"type": "function"
|
594
593
|
},
|
595
|
-
{
|
596
|
-
"inputs": [
|
597
|
-
{
|
598
|
-
"internalType": "address",
|
599
|
-
"name": "distributor",
|
600
|
-
"type": "address"
|
601
|
-
}
|
602
|
-
],
|
603
|
-
"name": "getDistributorNftId",
|
604
|
-
"outputs": [
|
605
|
-
{
|
606
|
-
"internalType": "NftId",
|
607
|
-
"name": "distributorNftId",
|
608
|
-
"type": "uint96"
|
609
|
-
}
|
610
|
-
],
|
611
|
-
"stateMutability": "view",
|
612
|
-
"type": "function"
|
613
|
-
},
|
614
594
|
{
|
615
595
|
"inputs": [],
|
616
596
|
"name": "getInitialInfo",
|
@@ -674,32 +654,6 @@
|
|
674
654
|
"stateMutability": "view",
|
675
655
|
"type": "function"
|
676
656
|
},
|
677
|
-
{
|
678
|
-
"inputs": [],
|
679
|
-
"name": "getInstanceReader",
|
680
|
-
"outputs": [
|
681
|
-
{
|
682
|
-
"internalType": "contract InstanceReader",
|
683
|
-
"name": "reader",
|
684
|
-
"type": "address"
|
685
|
-
}
|
686
|
-
],
|
687
|
-
"stateMutability": "view",
|
688
|
-
"type": "function"
|
689
|
-
},
|
690
|
-
{
|
691
|
-
"inputs": [],
|
692
|
-
"name": "getInstanceService",
|
693
|
-
"outputs": [
|
694
|
-
{
|
695
|
-
"internalType": "contract IInstanceService",
|
696
|
-
"name": "",
|
697
|
-
"type": "address"
|
698
|
-
}
|
699
|
-
],
|
700
|
-
"stateMutability": "view",
|
701
|
-
"type": "function"
|
702
|
-
},
|
703
657
|
{
|
704
658
|
"inputs": [],
|
705
659
|
"name": "getName",
|
@@ -739,32 +693,6 @@
|
|
739
693
|
"stateMutability": "view",
|
740
694
|
"type": "function"
|
741
695
|
},
|
742
|
-
{
|
743
|
-
"inputs": [],
|
744
|
-
"name": "getProductNftId",
|
745
|
-
"outputs": [
|
746
|
-
{
|
747
|
-
"internalType": "NftId",
|
748
|
-
"name": "productNftId",
|
749
|
-
"type": "uint96"
|
750
|
-
}
|
751
|
-
],
|
752
|
-
"stateMutability": "view",
|
753
|
-
"type": "function"
|
754
|
-
},
|
755
|
-
{
|
756
|
-
"inputs": [],
|
757
|
-
"name": "getProductService",
|
758
|
-
"outputs": [
|
759
|
-
{
|
760
|
-
"internalType": "contract IProductService",
|
761
|
-
"name": "",
|
762
|
-
"type": "address"
|
763
|
-
}
|
764
|
-
],
|
765
|
-
"stateMutability": "view",
|
766
|
-
"type": "function"
|
767
|
-
},
|
768
696
|
{
|
769
697
|
"inputs": [
|
770
698
|
{
|
@@ -799,30 +727,24 @@
|
|
799
727
|
},
|
800
728
|
{
|
801
729
|
"inputs": [],
|
802
|
-
"name": "
|
730
|
+
"name": "getRelease",
|
803
731
|
"outputs": [
|
804
732
|
{
|
805
|
-
"internalType": "
|
806
|
-
"name": "",
|
807
|
-
"type": "
|
733
|
+
"internalType": "VersionPart",
|
734
|
+
"name": "release",
|
735
|
+
"type": "uint8"
|
808
736
|
}
|
809
737
|
],
|
810
738
|
"stateMutability": "view",
|
811
739
|
"type": "function"
|
812
740
|
},
|
813
741
|
{
|
814
|
-
"inputs": [
|
815
|
-
|
816
|
-
"internalType": "ObjectType",
|
817
|
-
"name": "domain",
|
818
|
-
"type": "uint8"
|
819
|
-
}
|
820
|
-
],
|
821
|
-
"name": "getServiceAddress",
|
742
|
+
"inputs": [],
|
743
|
+
"name": "getToken",
|
822
744
|
"outputs": [
|
823
745
|
{
|
824
|
-
"internalType": "
|
825
|
-
"name": "
|
746
|
+
"internalType": "contract IERC20Metadata",
|
747
|
+
"name": "token",
|
826
748
|
"type": "address"
|
827
749
|
}
|
828
750
|
],
|
@@ -831,46 +753,12 @@
|
|
831
753
|
},
|
832
754
|
{
|
833
755
|
"inputs": [],
|
834
|
-
"name": "
|
756
|
+
"name": "getTokenHandler",
|
835
757
|
"outputs": [
|
836
758
|
{
|
837
|
-
"
|
838
|
-
|
839
|
-
|
840
|
-
"name": "productNftId",
|
841
|
-
"type": "uint96"
|
842
|
-
},
|
843
|
-
{
|
844
|
-
"internalType": "contract TokenHandler",
|
845
|
-
"name": "tokenHandler",
|
846
|
-
"type": "address"
|
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": "distributionFee",
|
863
|
-
"type": "tuple"
|
864
|
-
},
|
865
|
-
{
|
866
|
-
"internalType": "address",
|
867
|
-
"name": "wallet",
|
868
|
-
"type": "address"
|
869
|
-
}
|
870
|
-
],
|
871
|
-
"internalType": "struct ISetup.DistributionSetupInfo",
|
872
|
-
"name": "setupInfo",
|
873
|
-
"type": "tuple"
|
759
|
+
"internalType": "contract TokenHandler",
|
760
|
+
"name": "tokenHandler",
|
761
|
+
"type": "address"
|
874
762
|
}
|
875
763
|
],
|
876
764
|
"stateMutability": "view",
|
@@ -878,12 +766,12 @@
|
|
878
766
|
},
|
879
767
|
{
|
880
768
|
"inputs": [],
|
881
|
-
"name": "
|
769
|
+
"name": "getVersion",
|
882
770
|
"outputs": [
|
883
771
|
{
|
884
|
-
"internalType": "
|
885
|
-
"name": "
|
886
|
-
"type": "
|
772
|
+
"internalType": "Version",
|
773
|
+
"name": "version",
|
774
|
+
"type": "uint24"
|
887
775
|
}
|
888
776
|
],
|
889
777
|
"stateMutability": "view",
|
@@ -902,183 +790,17 @@
|
|
902
790
|
"stateMutability": "view",
|
903
791
|
"type": "function"
|
904
792
|
},
|
905
|
-
{
|
906
|
-
"inputs": [
|
907
|
-
{
|
908
|
-
"internalType": "address",
|
909
|
-
"name": "registry",
|
910
|
-
"type": "address"
|
911
|
-
},
|
912
|
-
{
|
913
|
-
"internalType": "NftId",
|
914
|
-
"name": "instanceNftId",
|
915
|
-
"type": "uint96"
|
916
|
-
},
|
917
|
-
{
|
918
|
-
"internalType": "string",
|
919
|
-
"name": "name",
|
920
|
-
"type": "string"
|
921
|
-
},
|
922
|
-
{
|
923
|
-
"internalType": "address",
|
924
|
-
"name": "token",
|
925
|
-
"type": "address"
|
926
|
-
},
|
927
|
-
{
|
928
|
-
"internalType": "ObjectType",
|
929
|
-
"name": "componentType",
|
930
|
-
"type": "uint8"
|
931
|
-
},
|
932
|
-
{
|
933
|
-
"internalType": "bool",
|
934
|
-
"name": "isInterceptor",
|
935
|
-
"type": "bool"
|
936
|
-
},
|
937
|
-
{
|
938
|
-
"internalType": "address",
|
939
|
-
"name": "initialOwner",
|
940
|
-
"type": "address"
|
941
|
-
},
|
942
|
-
{
|
943
|
-
"internalType": "bytes",
|
944
|
-
"name": "data",
|
945
|
-
"type": "bytes"
|
946
|
-
}
|
947
|
-
],
|
948
|
-
"name": "initializeComponent",
|
949
|
-
"outputs": [],
|
950
|
-
"stateMutability": "nonpayable",
|
951
|
-
"type": "function"
|
952
|
-
},
|
953
|
-
{
|
954
|
-
"inputs": [
|
955
|
-
{
|
956
|
-
"internalType": "address",
|
957
|
-
"name": "registry",
|
958
|
-
"type": "address"
|
959
|
-
},
|
960
|
-
{
|
961
|
-
"internalType": "NftId",
|
962
|
-
"name": "instanceNftId",
|
963
|
-
"type": "uint96"
|
964
|
-
},
|
965
|
-
{
|
966
|
-
"internalType": "string",
|
967
|
-
"name": "name",
|
968
|
-
"type": "string"
|
969
|
-
},
|
970
|
-
{
|
971
|
-
"internalType": "address",
|
972
|
-
"name": "token",
|
973
|
-
"type": "address"
|
974
|
-
},
|
975
|
-
{
|
976
|
-
"components": [
|
977
|
-
{
|
978
|
-
"internalType": "UFixed",
|
979
|
-
"name": "fractionalFee",
|
980
|
-
"type": "uint256"
|
981
|
-
},
|
982
|
-
{
|
983
|
-
"internalType": "uint256",
|
984
|
-
"name": "fixedFee",
|
985
|
-
"type": "uint256"
|
986
|
-
}
|
987
|
-
],
|
988
|
-
"internalType": "struct Fee",
|
989
|
-
"name": "distributionFee",
|
990
|
-
"type": "tuple"
|
991
|
-
},
|
992
|
-
{
|
993
|
-
"internalType": "address",
|
994
|
-
"name": "initialOwner",
|
995
|
-
"type": "address"
|
996
|
-
},
|
997
|
-
{
|
998
|
-
"internalType": "bytes",
|
999
|
-
"name": "data",
|
1000
|
-
"type": "bytes"
|
1001
|
-
}
|
1002
|
-
],
|
1003
|
-
"name": "initializeDistribution",
|
1004
|
-
"outputs": [],
|
1005
|
-
"stateMutability": "nonpayable",
|
1006
|
-
"type": "function"
|
1007
|
-
},
|
1008
793
|
{
|
1009
794
|
"inputs": [],
|
1010
|
-
"name": "
|
1011
|
-
"outputs": [
|
1012
|
-
"stateMutability": "nonpayable",
|
1013
|
-
"type": "function"
|
1014
|
-
},
|
1015
|
-
{
|
1016
|
-
"inputs": [
|
1017
|
-
{
|
1018
|
-
"internalType": "address",
|
1019
|
-
"name": "initialOwner",
|
1020
|
-
"type": "address"
|
1021
|
-
},
|
1022
|
-
{
|
1023
|
-
"internalType": "address",
|
1024
|
-
"name": "registryAddress",
|
1025
|
-
"type": "address"
|
1026
|
-
}
|
1027
|
-
],
|
1028
|
-
"name": "initializeNftOwnable",
|
1029
|
-
"outputs": [],
|
1030
|
-
"stateMutability": "nonpayable",
|
1031
|
-
"type": "function"
|
1032
|
-
},
|
1033
|
-
{
|
1034
|
-
"inputs": [
|
1035
|
-
{
|
1036
|
-
"internalType": "address",
|
1037
|
-
"name": "registryAddress",
|
1038
|
-
"type": "address"
|
1039
|
-
},
|
1040
|
-
{
|
1041
|
-
"internalType": "NftId",
|
1042
|
-
"name": "parentNftId",
|
1043
|
-
"type": "uint96"
|
1044
|
-
},
|
1045
|
-
{
|
1046
|
-
"internalType": "ObjectType",
|
1047
|
-
"name": "objectType",
|
1048
|
-
"type": "uint8"
|
1049
|
-
},
|
795
|
+
"name": "isActive",
|
796
|
+
"outputs": [
|
1050
797
|
{
|
1051
798
|
"internalType": "bool",
|
1052
|
-
"name": "
|
799
|
+
"name": "active",
|
1053
800
|
"type": "bool"
|
1054
|
-
},
|
1055
|
-
{
|
1056
|
-
"internalType": "address",
|
1057
|
-
"name": "initialOwner",
|
1058
|
-
"type": "address"
|
1059
|
-
},
|
1060
|
-
{
|
1061
|
-
"internalType": "bytes",
|
1062
|
-
"name": "data",
|
1063
|
-
"type": "bytes"
|
1064
|
-
}
|
1065
|
-
],
|
1066
|
-
"name": "initializeRegisterable",
|
1067
|
-
"outputs": [],
|
1068
|
-
"stateMutability": "nonpayable",
|
1069
|
-
"type": "function"
|
1070
|
-
},
|
1071
|
-
{
|
1072
|
-
"inputs": [
|
1073
|
-
{
|
1074
|
-
"internalType": "address",
|
1075
|
-
"name": "registryAddress",
|
1076
|
-
"type": "address"
|
1077
801
|
}
|
1078
802
|
],
|
1079
|
-
"
|
1080
|
-
"outputs": [],
|
1081
|
-
"stateMutability": "nonpayable",
|
803
|
+
"stateMutability": "view",
|
1082
804
|
"type": "function"
|
1083
805
|
},
|
1084
806
|
{
|
@@ -1128,11 +850,11 @@
|
|
1128
850
|
},
|
1129
851
|
{
|
1130
852
|
"inputs": [],
|
1131
|
-
"name": "
|
853
|
+
"name": "isRegistered",
|
1132
854
|
"outputs": [
|
1133
855
|
{
|
1134
856
|
"internalType": "bool",
|
1135
|
-
"name": "
|
857
|
+
"name": "",
|
1136
858
|
"type": "bool"
|
1137
859
|
}
|
1138
860
|
],
|
@@ -1141,15 +863,27 @@
|
|
1141
863
|
},
|
1142
864
|
{
|
1143
865
|
"inputs": [],
|
1144
|
-
"name": "
|
1145
|
-
"outputs": [
|
1146
|
-
|
866
|
+
"name": "isVerifying",
|
867
|
+
"outputs": [
|
868
|
+
{
|
869
|
+
"internalType": "bool",
|
870
|
+
"name": "verifying",
|
871
|
+
"type": "bool"
|
872
|
+
}
|
873
|
+
],
|
874
|
+
"stateMutability": "pure",
|
1147
875
|
"type": "function"
|
1148
876
|
},
|
1149
877
|
{
|
1150
878
|
"inputs": [],
|
1151
|
-
"name": "
|
1152
|
-
"outputs": [
|
879
|
+
"name": "linkToRegisteredNftId",
|
880
|
+
"outputs": [
|
881
|
+
{
|
882
|
+
"internalType": "NftId",
|
883
|
+
"name": "nftId",
|
884
|
+
"type": "uint96"
|
885
|
+
}
|
886
|
+
],
|
1153
887
|
"stateMutability": "nonpayable",
|
1154
888
|
"type": "function"
|
1155
889
|
},
|
@@ -1169,6 +903,11 @@
|
|
1169
903
|
"internalType": "uint256",
|
1170
904
|
"name": "tokenId",
|
1171
905
|
"type": "uint256"
|
906
|
+
},
|
907
|
+
{
|
908
|
+
"internalType": "address",
|
909
|
+
"name": "operator",
|
910
|
+
"type": "address"
|
1172
911
|
}
|
1173
912
|
],
|
1174
913
|
"name": "nftTransferFrom",
|
@@ -1197,17 +936,12 @@
|
|
1197
936
|
{
|
1198
937
|
"inputs": [
|
1199
938
|
{
|
1200
|
-
"internalType": "
|
1201
|
-
"name": "
|
1202
|
-
"type": "
|
1203
|
-
},
|
1204
|
-
{
|
1205
|
-
"internalType": "uint256",
|
1206
|
-
"name": "premiumAmount",
|
1207
|
-
"type": "uint256"
|
939
|
+
"internalType": "address",
|
940
|
+
"name": "newAuthority",
|
941
|
+
"type": "address"
|
1208
942
|
}
|
1209
943
|
],
|
1210
|
-
"name": "
|
944
|
+
"name": "setAuthority",
|
1211
945
|
"outputs": [],
|
1212
946
|
"stateMutability": "nonpayable",
|
1213
947
|
"type": "function"
|
@@ -1220,121 +954,57 @@
|
|
1220
954
|
"type": "bytes4"
|
1221
955
|
}
|
1222
956
|
],
|
1223
|
-
"name": "
|
1224
|
-
"outputs": [
|
1225
|
-
"stateMutability": "nonpayable",
|
1226
|
-
"type": "function"
|
1227
|
-
},
|
1228
|
-
{
|
1229
|
-
"inputs": [
|
1230
|
-
{
|
1231
|
-
"internalType": "address",
|
1232
|
-
"name": "newAuthority",
|
1233
|
-
"type": "address"
|
1234
|
-
}
|
1235
|
-
],
|
1236
|
-
"name": "setAuthority",
|
1237
|
-
"outputs": [],
|
1238
|
-
"stateMutability": "nonpayable",
|
1239
|
-
"type": "function"
|
1240
|
-
},
|
1241
|
-
{
|
1242
|
-
"inputs": [
|
957
|
+
"name": "supportsInterface",
|
958
|
+
"outputs": [
|
1243
959
|
{
|
1244
|
-
"
|
1245
|
-
|
1246
|
-
|
1247
|
-
"name": "fractionalFee",
|
1248
|
-
"type": "uint256"
|
1249
|
-
},
|
1250
|
-
{
|
1251
|
-
"internalType": "uint256",
|
1252
|
-
"name": "fixedFee",
|
1253
|
-
"type": "uint256"
|
1254
|
-
}
|
1255
|
-
],
|
1256
|
-
"internalType": "struct Fee",
|
1257
|
-
"name": "distributionFee",
|
1258
|
-
"type": "tuple"
|
960
|
+
"internalType": "bool",
|
961
|
+
"name": "",
|
962
|
+
"type": "bool"
|
1259
963
|
}
|
1260
964
|
],
|
1261
|
-
"
|
1262
|
-
"outputs": [],
|
1263
|
-
"stateMutability": "nonpayable",
|
965
|
+
"stateMutability": "view",
|
1264
966
|
"type": "function"
|
1265
967
|
},
|
1266
968
|
{
|
1267
969
|
"inputs": [
|
1268
970
|
{
|
1269
971
|
"internalType": "NftId",
|
1270
|
-
"name": "
|
972
|
+
"name": "distributorNftId",
|
973
|
+
"type": "uint96"
|
974
|
+
},
|
975
|
+
{
|
976
|
+
"internalType": "Amount",
|
977
|
+
"name": "amount",
|
1271
978
|
"type": "uint96"
|
1272
979
|
}
|
1273
980
|
],
|
1274
|
-
"name": "
|
1275
|
-
"outputs": [
|
1276
|
-
"stateMutability": "nonpayable",
|
1277
|
-
"type": "function"
|
1278
|
-
},
|
1279
|
-
{
|
1280
|
-
"inputs": [
|
981
|
+
"name": "withdrawCommission",
|
982
|
+
"outputs": [
|
1281
983
|
{
|
1282
|
-
"internalType": "
|
1283
|
-
"name": "
|
1284
|
-
"type": "
|
984
|
+
"internalType": "Amount",
|
985
|
+
"name": "withdrawnAmount",
|
986
|
+
"type": "uint96"
|
1285
987
|
}
|
1286
988
|
],
|
1287
|
-
"name": "setWallet",
|
1288
|
-
"outputs": [],
|
1289
989
|
"stateMutability": "nonpayable",
|
1290
990
|
"type": "function"
|
1291
991
|
},
|
1292
992
|
{
|
1293
993
|
"inputs": [
|
1294
994
|
{
|
1295
|
-
"internalType": "
|
1296
|
-
"name": "
|
1297
|
-
"type": "
|
995
|
+
"internalType": "Amount",
|
996
|
+
"name": "amount",
|
997
|
+
"type": "uint96"
|
1298
998
|
}
|
1299
999
|
],
|
1300
|
-
"name": "
|
1000
|
+
"name": "withdrawFees",
|
1301
1001
|
"outputs": [
|
1302
1002
|
{
|
1303
|
-
"internalType": "
|
1304
|
-
"name": "",
|
1305
|
-
"type": "bool"
|
1306
|
-
}
|
1307
|
-
],
|
1308
|
-
"stateMutability": "view",
|
1309
|
-
"type": "function"
|
1310
|
-
},
|
1311
|
-
{
|
1312
|
-
"inputs": [],
|
1313
|
-
"name": "unlock",
|
1314
|
-
"outputs": [],
|
1315
|
-
"stateMutability": "nonpayable",
|
1316
|
-
"type": "function"
|
1317
|
-
},
|
1318
|
-
{
|
1319
|
-
"inputs": [
|
1320
|
-
{
|
1321
|
-
"internalType": "NftId",
|
1322
|
-
"name": "distributorNftId",
|
1003
|
+
"internalType": "Amount",
|
1004
|
+
"name": "withdrawnAmount",
|
1323
1005
|
"type": "uint96"
|
1324
|
-
},
|
1325
|
-
{
|
1326
|
-
"internalType": "DistributorType",
|
1327
|
-
"name": "distributorType",
|
1328
|
-
"type": "bytes8"
|
1329
|
-
},
|
1330
|
-
{
|
1331
|
-
"internalType": "bytes",
|
1332
|
-
"name": "data",
|
1333
|
-
"type": "bytes"
|
1334
1006
|
}
|
1335
1007
|
],
|
1336
|
-
"name": "updateDistributorType",
|
1337
|
-
"outputs": [],
|
1338
1008
|
"stateMutability": "nonpayable",
|
1339
1009
|
"type": "function"
|
1340
1010
|
}
|