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