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