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