@etherisc/gif-next 0.0.2-f79a517-071 → 0.0.2-f7a5beb-202
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +67 -1
- package/artifacts/contracts/components/Component.sol/Component.dbg.json +4 -0
- package/artifacts/contracts/components/Component.sol/Component.json +613 -0
- package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +1 -1
- package/artifacts/contracts/components/Distribution.sol/Distribution.json +353 -104
- 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} +185 -151
- package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +1 -1
- package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.json +527 -9
- package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +1 -1
- package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.json +611 -66
- package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +1 -1
- package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.json +618 -30
- package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +1 -1
- package/artifacts/contracts/components/Pool.sol/Pool.json +492 -212
- package/artifacts/contracts/components/Product.sol/Product.dbg.json +1 -1
- package/artifacts/contracts/components/Product.sol/Product.json +429 -137
- package/artifacts/contracts/experiment/cloning/Cloner.sol/Cloner.dbg.json +1 -1
- package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock1.dbg.json +1 -1
- package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock2.dbg.json +1 -1
- package/artifacts/contracts/experiment/errors/Require.sol/Require.dbg.json +1 -1
- package/artifacts/contracts/experiment/errors/Revert.sol/Revert.dbg.json +1 -1
- package/artifacts/contracts/experiment/inheritance/A.sol/A.dbg.json +1 -1
- package/artifacts/contracts/experiment/inheritance/A.sol/AShared.dbg.json +1 -1
- package/artifacts/contracts/experiment/inheritance/B.sol/B.dbg.json +1 -1
- package/artifacts/contracts/experiment/inheritance/C.sol/C.dbg.json +1 -1
- package/artifacts/contracts/experiment/inheritance/IA.sol/IA.dbg.json +1 -1
- package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.dbg.json +1 -1
- package/artifacts/contracts/experiment/inheritance/IB.sol/IB.dbg.json +1 -1
- package/artifacts/contracts/experiment/inheritance/IC.sol/IC.dbg.json +1 -1
- package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.dbg.json +1 -1
- package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.json +2 -2
- package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.dbg.json +1 -1
- package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.dbg.json +1 -1
- package/artifacts/contracts/experiment/statemachine/SM.sol/SM.dbg.json +1 -1
- package/artifacts/contracts/experiment/statemachine/SM.sol/SM.json +2 -2
- package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.dbg.json +1 -1
- package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.json +2 -2
- package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.dbg.json +1 -1
- package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.dbg.json +1 -1
- package/artifacts/contracts/instance/BundleManager.sol/BundleManager.dbg.json +4 -0
- package/artifacts/contracts/instance/BundleManager.sol/BundleManager.json +764 -0
- package/artifacts/contracts/instance/Cloneable.sol/Cloneable.dbg.json +4 -0
- package/artifacts/contracts/instance/Cloneable.sol/Cloneable.json +185 -0
- package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
- package/artifacts/contracts/instance/IInstance.sol/IInstance.json +1035 -995
- package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +4 -0
- package/artifacts/contracts/instance/{service/IComponentOwnerService.sol/IComponentOwnerService.json → IInstanceService.sol/IInstanceService.json} +155 -56
- package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
- package/artifacts/contracts/instance/Instance.sol/Instance.json +1821 -1096
- package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +4 -0
- package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +1034 -0
- package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +4 -0
- package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +1381 -0
- package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +4 -0
- package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +964 -0
- package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +4 -0
- package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +473 -0
- package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.dbg.json +4 -0
- package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.json +261 -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} +134 -75
- 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 +37 -245
- package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +1 -1
- package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +2 -2
- package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +4 -0
- package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +254 -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/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/BundleService.sol/BundleService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/BundleService.sol/BundleService.json +1102 -0
- package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.dbg.json +4 -0
- package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.json +449 -0
- package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +194 -52
- package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +4 -0
- package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.json +437 -0
- package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.json +715 -0
- package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.json +13 -18
- package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.json +766 -0
- package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.json +15 -82
- package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/IProductService.sol/IProductService.json +25 -245
- package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.json +1227 -0
- package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +4 -0
- package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.json +505 -0
- package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +181 -128
- package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.dbg.json +4 -0
- package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.json +437 -0
- package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +174 -386
- package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.dbg.json +4 -0
- package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.json +437 -0
- package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
- package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +2 -2
- package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
- package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +339 -59
- package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
- package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +220 -111
- package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
- package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
- package/artifacts/contracts/registry/Registry.sol/Registry.json +301 -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 +83 -128
- package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
- package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +53 -85
- package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.dbg.json +4 -0
- package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.json +547 -0
- package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +4 -0
- package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +394 -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 +2 -2
- package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
- package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
- package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +0 -5
- package/artifacts/contracts/shared/IService.sol/IService.dbg.json +4 -0
- package/artifacts/contracts/{instance/base → shared}/IService.sol/IService.json +14 -19
- package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +1 -1
- package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
- package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +19 -6
- package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +1 -1
- package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +19 -6
- package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
- package/artifacts/contracts/shared/Registerable.sol/Registerable.json +19 -11
- 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} +28 -33
- 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/test/TestFee.sol/TestFee.dbg.json +1 -1
- package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +1 -1
- package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +19 -11
- 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 +58 -34
- 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 +18 -2
- 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/Blocknumber.sol/BlocknumberLib.dbg.json +1 -1
- package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +1 -1
- 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/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 +2 -2
- 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/Referral.sol/ReferralLib.dbg.json +4 -0
- package/artifacts/contracts/types/Referral.sol/ReferralLib.json +123 -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/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 +15 -2
- package/artifacts/contracts/types/UFixed.sol/MathLib.dbg.json +1 -1
- package/artifacts/contracts/types/UFixed.sol/UFixedLib.dbg.json +1 -1
- 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 +247 -0
- package/contracts/components/Distribution.sol +37 -49
- package/contracts/components/IComponent.sol +50 -0
- package/contracts/components/IDistributionComponent.sol +6 -5
- package/contracts/components/IPoolComponent.sol +42 -29
- package/contracts/components/IProductComponent.sol +9 -7
- package/contracts/components/Pool.sol +137 -116
- package/contracts/components/Product.sol +78 -114
- package/contracts/instance/BundleManager.sol +125 -0
- package/contracts/instance/Cloneable.sol +46 -0
- package/contracts/instance/IInstance.sol +64 -44
- package/contracts/instance/IInstanceService.sol +40 -0
- package/contracts/instance/Instance.sol +251 -65
- package/contracts/instance/InstanceAccessManager.sol +298 -0
- package/contracts/instance/InstanceReader.sol +293 -0
- package/contracts/instance/InstanceService.sol +362 -0
- package/contracts/instance/InstanceServiceManager.sol +54 -0
- package/contracts/instance/ObjectManager.sol +84 -0
- package/contracts/instance/base/ComponentService.sol +134 -0
- package/contracts/instance/base/IKeyValueStore.sol +13 -14
- package/contracts/instance/base/ILifecycle.sol +3 -3
- package/contracts/instance/base/KeyValueStore.sol +49 -38
- package/contracts/instance/base/Lifecycle.sol +1 -1
- package/contracts/instance/module/IAccess.sol +48 -0
- package/contracts/instance/module/IBundle.sol +20 -0
- package/contracts/instance/module/IDistribution.sol +39 -0
- package/contracts/instance/module/IPolicy.sol +45 -0
- package/contracts/instance/module/IRisk.sol +11 -0
- package/contracts/instance/module/ISetup.sol +46 -0
- package/contracts/instance/module/ITreasury.sol +23 -0
- package/contracts/instance/service/BundleService.sol +293 -0
- package/contracts/instance/service/BundleServiceManager.sol +51 -0
- package/contracts/instance/service/DistributionService.sol +72 -20
- package/contracts/instance/service/DistributionServiceManager.sol +51 -0
- package/contracts/instance/service/IBundleService.sol +44 -0
- package/contracts/instance/service/IDistributionService.sol +1 -1
- package/contracts/instance/service/IPolicyService.sol +94 -0
- package/contracts/instance/service/IPoolService.sol +7 -24
- package/contracts/instance/service/IProductService.sol +9 -76
- package/contracts/instance/service/PolicyService.sol +538 -0
- package/contracts/instance/service/PolicyServiceManager.sol +54 -0
- package/contracts/instance/service/PoolService.sol +76 -116
- package/contracts/instance/service/PoolServiceManager.sol +51 -0
- package/contracts/instance/service/ProductService.sol +154 -432
- package/contracts/instance/service/ProductServiceManager.sol +54 -0
- package/contracts/registry/ChainNft.sol +1 -1
- package/contracts/registry/IRegistry.sol +47 -6
- package/contracts/registry/IRegistryService.sol +50 -20
- package/contracts/registry/Registry.sol +243 -214
- package/contracts/registry/RegistryAccessManager.sol +216 -0
- package/contracts/registry/RegistryService.sol +84 -263
- package/contracts/registry/RegistryServiceManager.sol +20 -22
- package/contracts/registry/ReleaseManager.sol +332 -0
- package/contracts/registry/TokenRegistry.sol +112 -0
- package/contracts/shared/ERC165.sol +6 -2
- package/contracts/shared/IRegisterable.sol +1 -3
- package/contracts/shared/IService.sol +16 -0
- package/contracts/shared/NftOwnable.sol +7 -4
- package/contracts/shared/ProxyManager.sol +1 -1
- package/contracts/shared/Registerable.sol +11 -14
- package/contracts/shared/Service.sol +60 -0
- package/contracts/shared/TokenHandler.sol +27 -0
- package/contracts/shared/Versionable.sol +2 -2
- package/contracts/test/TestRoleId.sol +1 -1
- package/contracts/test/TestService.sol +6 -7
- package/contracts/types/DistributorType.sol +55 -0
- package/contracts/types/Key32.sol +8 -3
- package/contracts/types/NftIdSet.sol +26 -24
- package/contracts/types/NumberId.sol +52 -0
- package/contracts/types/ObjectType.sol +35 -14
- package/contracts/types/Referral.sol +85 -0
- package/contracts/types/RoleId.sol +60 -15
- package/contracts/types/StateId.sol +5 -1
- package/contracts/types/Timestamp.sol +7 -3
- package/contracts/types/Version.sol +4 -1
- package/package.json +1 -1
- package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.dbg.json +0 -4
- package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.json +0 -301
- package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.dbg.json +0 -4
- package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.json +0 -254
- 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/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/component/IComponent.sol/IComponentModule.json +0 -117
- 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/IPool.json +0 -10
- 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/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/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/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
@@ -3,6 +3,44 @@
|
|
3
3
|
"contractName": "IInstance",
|
4
4
|
"sourceName": "contracts/instance/IInstance.sol",
|
5
5
|
"abi": [
|
6
|
+
{
|
7
|
+
"inputs": [
|
8
|
+
{
|
9
|
+
"internalType": "address",
|
10
|
+
"name": "authority",
|
11
|
+
"type": "address"
|
12
|
+
}
|
13
|
+
],
|
14
|
+
"name": "AccessManagedInvalidAuthority",
|
15
|
+
"type": "error"
|
16
|
+
},
|
17
|
+
{
|
18
|
+
"inputs": [
|
19
|
+
{
|
20
|
+
"internalType": "address",
|
21
|
+
"name": "caller",
|
22
|
+
"type": "address"
|
23
|
+
},
|
24
|
+
{
|
25
|
+
"internalType": "uint32",
|
26
|
+
"name": "delay",
|
27
|
+
"type": "uint32"
|
28
|
+
}
|
29
|
+
],
|
30
|
+
"name": "AccessManagedRequiredDelay",
|
31
|
+
"type": "error"
|
32
|
+
},
|
33
|
+
{
|
34
|
+
"inputs": [
|
35
|
+
{
|
36
|
+
"internalType": "address",
|
37
|
+
"name": "caller",
|
38
|
+
"type": "address"
|
39
|
+
}
|
40
|
+
],
|
41
|
+
"name": "AccessManagedUnauthorized",
|
42
|
+
"type": "error"
|
43
|
+
},
|
6
44
|
{
|
7
45
|
"inputs": [
|
8
46
|
{
|
@@ -30,6 +68,43 @@
|
|
30
68
|
"name": "ErrorContractNotRegistered",
|
31
69
|
"type": "error"
|
32
70
|
},
|
71
|
+
{
|
72
|
+
"inputs": [
|
73
|
+
{
|
74
|
+
"internalType": "ObjectType",
|
75
|
+
"name": "objectType",
|
76
|
+
"type": "uint8"
|
77
|
+
},
|
78
|
+
{
|
79
|
+
"internalType": "StateId",
|
80
|
+
"name": "fromStateId",
|
81
|
+
"type": "uint8"
|
82
|
+
},
|
83
|
+
{
|
84
|
+
"internalType": "StateId",
|
85
|
+
"name": "toStateId",
|
86
|
+
"type": "uint8"
|
87
|
+
}
|
88
|
+
],
|
89
|
+
"name": "ErrorInvalidStateTransition",
|
90
|
+
"type": "error"
|
91
|
+
},
|
92
|
+
{
|
93
|
+
"inputs": [
|
94
|
+
{
|
95
|
+
"internalType": "NftId",
|
96
|
+
"name": "nftId",
|
97
|
+
"type": "uint96"
|
98
|
+
},
|
99
|
+
{
|
100
|
+
"internalType": "ObjectType",
|
101
|
+
"name": "objectType",
|
102
|
+
"type": "uint8"
|
103
|
+
}
|
104
|
+
],
|
105
|
+
"name": "ErrorNoLifecycle",
|
106
|
+
"type": "error"
|
107
|
+
},
|
33
108
|
{
|
34
109
|
"inputs": [
|
35
110
|
{
|
@@ -76,250 +151,153 @@
|
|
76
151
|
{
|
77
152
|
"anonymous": false,
|
78
153
|
"inputs": [
|
79
|
-
{
|
80
|
-
"indexed": false,
|
81
|
-
"internalType": "Version",
|
82
|
-
"name": "version",
|
83
|
-
"type": "uint24"
|
84
|
-
},
|
85
|
-
{
|
86
|
-
"indexed": false,
|
87
|
-
"internalType": "address",
|
88
|
-
"name": "implementation",
|
89
|
-
"type": "address"
|
90
|
-
},
|
91
154
|
{
|
92
155
|
"indexed": false,
|
93
156
|
"internalType": "address",
|
94
|
-
"name": "
|
157
|
+
"name": "authority",
|
95
158
|
"type": "address"
|
96
159
|
}
|
97
160
|
],
|
98
|
-
"name": "
|
161
|
+
"name": "AuthorityUpdated",
|
99
162
|
"type": "event"
|
100
163
|
},
|
101
164
|
{
|
165
|
+
"anonymous": false,
|
102
166
|
"inputs": [
|
103
167
|
{
|
104
|
-
"
|
105
|
-
"
|
106
|
-
"
|
107
|
-
|
108
|
-
{
|
109
|
-
"internalType": "NftId",
|
110
|
-
"name": "poolNftId",
|
111
|
-
"type": "uint96"
|
112
|
-
},
|
113
|
-
{
|
114
|
-
"internalType": "uint256",
|
115
|
-
"name": "amount",
|
116
|
-
"type": "uint256"
|
117
|
-
}
|
118
|
-
],
|
119
|
-
"name": "addBundleToPool",
|
120
|
-
"outputs": [],
|
121
|
-
"stateMutability": "nonpayable",
|
122
|
-
"type": "function"
|
123
|
-
},
|
124
|
-
{
|
125
|
-
"inputs": [
|
126
|
-
{
|
127
|
-
"internalType": "uint256",
|
128
|
-
"name": "amount",
|
129
|
-
"type": "uint256"
|
168
|
+
"indexed": false,
|
169
|
+
"internalType": "ObjectType",
|
170
|
+
"name": "objectType",
|
171
|
+
"type": "uint8"
|
130
172
|
},
|
131
173
|
{
|
132
|
-
"
|
133
|
-
|
134
|
-
|
135
|
-
|
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"
|
147
|
-
}
|
148
|
-
],
|
149
|
-
"name": "calculateFeeAmount",
|
150
|
-
"outputs": [
|
151
|
-
{
|
152
|
-
"internalType": "uint256",
|
153
|
-
"name": "feeAmount",
|
154
|
-
"type": "uint256"
|
174
|
+
"indexed": false,
|
175
|
+
"internalType": "KeyId",
|
176
|
+
"name": "keyId",
|
177
|
+
"type": "bytes31"
|
155
178
|
},
|
156
179
|
{
|
157
|
-
"
|
158
|
-
"
|
159
|
-
"
|
160
|
-
|
161
|
-
],
|
162
|
-
"stateMutability": "pure",
|
163
|
-
"type": "function"
|
164
|
-
},
|
165
|
-
{
|
166
|
-
"inputs": [
|
167
|
-
{
|
168
|
-
"internalType": "NftId",
|
169
|
-
"name": "bundleNftId",
|
170
|
-
"type": "uint96"
|
180
|
+
"indexed": false,
|
181
|
+
"internalType": "StateId",
|
182
|
+
"name": "state",
|
183
|
+
"type": "uint8"
|
171
184
|
},
|
172
185
|
{
|
173
|
-
"
|
174
|
-
"
|
175
|
-
"
|
186
|
+
"indexed": false,
|
187
|
+
"internalType": "address",
|
188
|
+
"name": "createdBy",
|
189
|
+
"type": "address"
|
176
190
|
},
|
177
191
|
{
|
178
|
-
"
|
179
|
-
"
|
180
|
-
"
|
192
|
+
"indexed": false,
|
193
|
+
"internalType": "address",
|
194
|
+
"name": "txOrigin",
|
195
|
+
"type": "address"
|
181
196
|
}
|
182
197
|
],
|
183
|
-
"name": "
|
184
|
-
"
|
185
|
-
"stateMutability": "nonpayable",
|
186
|
-
"type": "function"
|
198
|
+
"name": "LogInfoCreated",
|
199
|
+
"type": "event"
|
187
200
|
},
|
188
201
|
{
|
202
|
+
"anonymous": false,
|
189
203
|
"inputs": [
|
190
204
|
{
|
191
|
-
"
|
192
|
-
"
|
193
|
-
"
|
205
|
+
"indexed": false,
|
206
|
+
"internalType": "ObjectType",
|
207
|
+
"name": "objectType",
|
208
|
+
"type": "uint8"
|
194
209
|
},
|
195
210
|
{
|
196
|
-
"
|
197
|
-
"
|
198
|
-
"
|
211
|
+
"indexed": false,
|
212
|
+
"internalType": "KeyId",
|
213
|
+
"name": "keyId",
|
214
|
+
"type": "bytes31"
|
199
215
|
},
|
200
216
|
{
|
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"
|
217
|
+
"indexed": false,
|
218
|
+
"internalType": "StateId",
|
219
|
+
"name": "state",
|
220
|
+
"type": "uint8"
|
216
221
|
},
|
217
222
|
{
|
218
|
-
"
|
219
|
-
"
|
220
|
-
"
|
223
|
+
"indexed": false,
|
224
|
+
"internalType": "address",
|
225
|
+
"name": "updatedBy",
|
226
|
+
"type": "address"
|
221
227
|
},
|
222
228
|
{
|
223
|
-
"
|
224
|
-
"
|
225
|
-
"
|
229
|
+
"indexed": false,
|
230
|
+
"internalType": "address",
|
231
|
+
"name": "txOrigin",
|
232
|
+
"type": "address"
|
226
233
|
},
|
227
234
|
{
|
228
|
-
"
|
229
|
-
"
|
230
|
-
"
|
235
|
+
"indexed": false,
|
236
|
+
"internalType": "Blocknumber",
|
237
|
+
"name": "lastUpdatedIn",
|
238
|
+
"type": "uint32"
|
231
239
|
}
|
232
240
|
],
|
233
|
-
"name": "
|
234
|
-
"
|
235
|
-
"stateMutability": "nonpayable",
|
236
|
-
"type": "function"
|
241
|
+
"name": "LogInfoUpdated",
|
242
|
+
"type": "event"
|
237
243
|
},
|
238
244
|
{
|
245
|
+
"anonymous": false,
|
239
246
|
"inputs": [
|
240
247
|
{
|
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"
|
254
|
-
},
|
255
|
-
{
|
256
|
-
"internalType": "RiskId",
|
257
|
-
"name": "riskId",
|
258
|
-
"type": "bytes8"
|
248
|
+
"indexed": false,
|
249
|
+
"internalType": "ObjectType",
|
250
|
+
"name": "objectType",
|
251
|
+
"type": "uint8"
|
259
252
|
},
|
260
253
|
{
|
261
|
-
"
|
262
|
-
"
|
263
|
-
"
|
254
|
+
"indexed": false,
|
255
|
+
"internalType": "KeyId",
|
256
|
+
"name": "keyId",
|
257
|
+
"type": "bytes31"
|
264
258
|
},
|
265
259
|
{
|
266
|
-
"
|
267
|
-
"
|
268
|
-
"
|
260
|
+
"indexed": false,
|
261
|
+
"internalType": "StateId",
|
262
|
+
"name": "stateOld",
|
263
|
+
"type": "uint8"
|
269
264
|
},
|
270
265
|
{
|
271
|
-
"
|
272
|
-
"
|
273
|
-
"
|
266
|
+
"indexed": false,
|
267
|
+
"internalType": "StateId",
|
268
|
+
"name": "stateNew",
|
269
|
+
"type": "uint8"
|
274
270
|
},
|
275
271
|
{
|
276
|
-
"
|
277
|
-
"
|
278
|
-
"
|
279
|
-
|
280
|
-
],
|
281
|
-
"name": "createPolicyInfo",
|
282
|
-
"outputs": [],
|
283
|
-
"stateMutability": "nonpayable",
|
284
|
-
"type": "function"
|
285
|
-
},
|
286
|
-
{
|
287
|
-
"inputs": [
|
288
|
-
{
|
289
|
-
"internalType": "RiskId",
|
290
|
-
"name": "riskId",
|
291
|
-
"type": "bytes8"
|
272
|
+
"indexed": false,
|
273
|
+
"internalType": "address",
|
274
|
+
"name": "updatedBy",
|
275
|
+
"type": "address"
|
292
276
|
},
|
293
277
|
{
|
294
|
-
"
|
295
|
-
"
|
296
|
-
"
|
278
|
+
"indexed": false,
|
279
|
+
"internalType": "address",
|
280
|
+
"name": "txOrigin",
|
281
|
+
"type": "address"
|
297
282
|
},
|
298
283
|
{
|
299
|
-
"
|
300
|
-
"
|
301
|
-
"
|
284
|
+
"indexed": false,
|
285
|
+
"internalType": "Blocknumber",
|
286
|
+
"name": "lastUpdatedIn",
|
287
|
+
"type": "uint32"
|
302
288
|
}
|
303
289
|
],
|
304
|
-
"name": "
|
305
|
-
"
|
306
|
-
"stateMutability": "nonpayable",
|
307
|
-
"type": "function"
|
290
|
+
"name": "LogStateUpdated",
|
291
|
+
"type": "event"
|
308
292
|
},
|
309
293
|
{
|
310
|
-
"inputs": [
|
311
|
-
|
312
|
-
"internalType": "NftId",
|
313
|
-
"name": "poolNftId",
|
314
|
-
"type": "uint96"
|
315
|
-
}
|
316
|
-
],
|
317
|
-
"name": "getBundleCount",
|
294
|
+
"inputs": [],
|
295
|
+
"name": "authority",
|
318
296
|
"outputs": [
|
319
297
|
{
|
320
|
-
"internalType": "
|
321
|
-
"name": "
|
322
|
-
"type": "
|
298
|
+
"internalType": "address",
|
299
|
+
"name": "",
|
300
|
+
"type": "address"
|
323
301
|
}
|
324
302
|
],
|
325
303
|
"stateMutability": "view",
|
@@ -329,12 +307,9 @@
|
|
329
307
|
"inputs": [
|
330
308
|
{
|
331
309
|
"internalType": "NftId",
|
332
|
-
"name": "
|
310
|
+
"name": "bundleNftId",
|
333
311
|
"type": "uint96"
|
334
|
-
}
|
335
|
-
],
|
336
|
-
"name": "getBundleInfo",
|
337
|
-
"outputs": [
|
312
|
+
},
|
338
313
|
{
|
339
314
|
"components": [
|
340
315
|
{
|
@@ -379,6 +354,11 @@
|
|
379
354
|
"name": "balanceAmount",
|
380
355
|
"type": "uint256"
|
381
356
|
},
|
357
|
+
{
|
358
|
+
"internalType": "uint256",
|
359
|
+
"name": "lifetime",
|
360
|
+
"type": "uint256"
|
361
|
+
},
|
382
362
|
{
|
383
363
|
"internalType": "Timestamp",
|
384
364
|
"name": "expiredAt",
|
@@ -391,286 +371,79 @@
|
|
391
371
|
}
|
392
372
|
],
|
393
373
|
"internalType": "struct IBundle.BundleInfo",
|
394
|
-
"name": "
|
374
|
+
"name": "bundle",
|
395
375
|
"type": "tuple"
|
396
376
|
}
|
397
377
|
],
|
398
|
-
"
|
378
|
+
"name": "createBundle",
|
379
|
+
"outputs": [],
|
380
|
+
"stateMutability": "nonpayable",
|
399
381
|
"type": "function"
|
400
382
|
},
|
401
383
|
{
|
402
384
|
"inputs": [
|
403
385
|
{
|
404
386
|
"internalType": "NftId",
|
405
|
-
"name": "
|
387
|
+
"name": "distributionNftId",
|
406
388
|
"type": "uint96"
|
407
389
|
},
|
408
|
-
{
|
409
|
-
"internalType": "uint256",
|
410
|
-
"name": "index",
|
411
|
-
"type": "uint256"
|
412
|
-
}
|
413
|
-
],
|
414
|
-
"name": "getBundleNftId",
|
415
|
-
"outputs": [
|
416
|
-
{
|
417
|
-
"internalType": "NftId",
|
418
|
-
"name": "bundleNftId",
|
419
|
-
"type": "uint96"
|
420
|
-
}
|
421
|
-
],
|
422
|
-
"stateMutability": "view",
|
423
|
-
"type": "function"
|
424
|
-
},
|
425
|
-
{
|
426
|
-
"inputs": [],
|
427
|
-
"name": "getComponentCount",
|
428
|
-
"outputs": [
|
429
|
-
{
|
430
|
-
"internalType": "uint256",
|
431
|
-
"name": "numberOfCompnents",
|
432
|
-
"type": "uint256"
|
433
|
-
}
|
434
|
-
],
|
435
|
-
"stateMutability": "view",
|
436
|
-
"type": "function"
|
437
|
-
},
|
438
|
-
{
|
439
|
-
"inputs": [
|
440
|
-
{
|
441
|
-
"internalType": "uint256",
|
442
|
-
"name": "idx",
|
443
|
-
"type": "uint256"
|
444
|
-
}
|
445
|
-
],
|
446
|
-
"name": "getComponentId",
|
447
|
-
"outputs": [
|
448
|
-
{
|
449
|
-
"internalType": "NftId",
|
450
|
-
"name": "nftId",
|
451
|
-
"type": "uint96"
|
452
|
-
}
|
453
|
-
],
|
454
|
-
"stateMutability": "view",
|
455
|
-
"type": "function"
|
456
|
-
},
|
457
|
-
{
|
458
|
-
"inputs": [],
|
459
|
-
"name": "getComponentOwnerService",
|
460
|
-
"outputs": [
|
461
|
-
{
|
462
|
-
"internalType": "contract IComponentOwnerService",
|
463
|
-
"name": "",
|
464
|
-
"type": "address"
|
465
|
-
}
|
466
|
-
],
|
467
|
-
"stateMutability": "view",
|
468
|
-
"type": "function"
|
469
|
-
},
|
470
|
-
{
|
471
|
-
"inputs": [
|
472
|
-
{
|
473
|
-
"internalType": "NftId",
|
474
|
-
"name": "nftId",
|
475
|
-
"type": "uint96"
|
476
|
-
}
|
477
|
-
],
|
478
|
-
"name": "getComponentToken",
|
479
|
-
"outputs": [
|
480
|
-
{
|
481
|
-
"internalType": "contract IERC20Metadata",
|
482
|
-
"name": "token",
|
483
|
-
"type": "address"
|
484
|
-
}
|
485
|
-
],
|
486
|
-
"stateMutability": "view",
|
487
|
-
"type": "function"
|
488
|
-
},
|
489
|
-
{
|
490
|
-
"inputs": [
|
491
|
-
{
|
492
|
-
"internalType": "NftId",
|
493
|
-
"name": "nftId",
|
494
|
-
"type": "uint96"
|
495
|
-
}
|
496
|
-
],
|
497
|
-
"name": "getComponentWallet",
|
498
|
-
"outputs": [
|
499
|
-
{
|
500
|
-
"internalType": "address",
|
501
|
-
"name": "wallet",
|
502
|
-
"type": "address"
|
503
|
-
}
|
504
|
-
],
|
505
|
-
"stateMutability": "view",
|
506
|
-
"type": "function"
|
507
|
-
},
|
508
|
-
{
|
509
|
-
"inputs": [],
|
510
|
-
"name": "getDistributionService",
|
511
|
-
"outputs": [
|
512
|
-
{
|
513
|
-
"internalType": "contract IDistributionService",
|
514
|
-
"name": "",
|
515
|
-
"type": "address"
|
516
|
-
}
|
517
|
-
],
|
518
|
-
"stateMutability": "view",
|
519
|
-
"type": "function"
|
520
|
-
},
|
521
|
-
{
|
522
|
-
"inputs": [
|
523
|
-
{
|
524
|
-
"internalType": "UFixed",
|
525
|
-
"name": "fractionalFee",
|
526
|
-
"type": "uint256"
|
527
|
-
},
|
528
|
-
{
|
529
|
-
"internalType": "uint256",
|
530
|
-
"name": "fixedFee",
|
531
|
-
"type": "uint256"
|
532
|
-
}
|
533
|
-
],
|
534
|
-
"name": "getFee",
|
535
|
-
"outputs": [
|
536
|
-
{
|
537
|
-
"components": [
|
538
|
-
{
|
539
|
-
"internalType": "UFixed",
|
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"
|
552
|
-
}
|
553
|
-
],
|
554
|
-
"stateMutability": "pure",
|
555
|
-
"type": "function"
|
556
|
-
},
|
557
|
-
{
|
558
|
-
"inputs": [],
|
559
|
-
"name": "getInitialInfo",
|
560
|
-
"outputs": [
|
561
390
|
{
|
562
391
|
"components": [
|
563
392
|
{
|
564
393
|
"internalType": "NftId",
|
565
|
-
"name": "
|
394
|
+
"name": "productNftId",
|
566
395
|
"type": "uint96"
|
567
396
|
},
|
568
397
|
{
|
569
|
-
"internalType": "
|
570
|
-
"name": "
|
571
|
-
"type": "
|
398
|
+
"internalType": "contract TokenHandler",
|
399
|
+
"name": "tokenHandler",
|
400
|
+
"type": "address"
|
572
401
|
},
|
573
402
|
{
|
574
|
-
"
|
575
|
-
|
576
|
-
|
403
|
+
"components": [
|
404
|
+
{
|
405
|
+
"internalType": "UFixed",
|
406
|
+
"name": "fractionalFee",
|
407
|
+
"type": "uint256"
|
408
|
+
},
|
409
|
+
{
|
410
|
+
"internalType": "uint256",
|
411
|
+
"name": "fixedFee",
|
412
|
+
"type": "uint256"
|
413
|
+
}
|
414
|
+
],
|
415
|
+
"internalType": "struct Fee",
|
416
|
+
"name": "distributionFee",
|
417
|
+
"type": "tuple"
|
577
418
|
},
|
578
419
|
{
|
579
420
|
"internalType": "bool",
|
580
|
-
"name": "
|
421
|
+
"name": "isIntercepting",
|
581
422
|
"type": "bool"
|
582
423
|
},
|
583
424
|
{
|
584
425
|
"internalType": "address",
|
585
|
-
"name": "
|
586
|
-
"type": "address"
|
587
|
-
},
|
588
|
-
{
|
589
|
-
"internalType": "address",
|
590
|
-
"name": "initialOwner",
|
426
|
+
"name": "wallet",
|
591
427
|
"type": "address"
|
592
|
-
},
|
593
|
-
{
|
594
|
-
"internalType": "bytes",
|
595
|
-
"name": "data",
|
596
|
-
"type": "bytes"
|
597
428
|
}
|
598
429
|
],
|
599
|
-
"internalType": "struct
|
600
|
-
"name": "",
|
430
|
+
"internalType": "struct ISetup.DistributionSetupInfo",
|
431
|
+
"name": "setup",
|
601
432
|
"type": "tuple"
|
602
|
-
},
|
603
|
-
{
|
604
|
-
"internalType": "bytes",
|
605
|
-
"name": "data",
|
606
|
-
"type": "bytes"
|
607
|
-
}
|
608
|
-
],
|
609
|
-
"stateMutability": "view",
|
610
|
-
"type": "function"
|
611
|
-
},
|
612
|
-
{
|
613
|
-
"inputs": [],
|
614
|
-
"name": "getInitializedVersion",
|
615
|
-
"outputs": [
|
616
|
-
{
|
617
|
-
"internalType": "uint64",
|
618
|
-
"name": "",
|
619
|
-
"type": "uint64"
|
620
|
-
}
|
621
|
-
],
|
622
|
-
"stateMutability": "view",
|
623
|
-
"type": "function"
|
624
|
-
},
|
625
|
-
{
|
626
|
-
"inputs": [],
|
627
|
-
"name": "getKeyValueStore",
|
628
|
-
"outputs": [
|
629
|
-
{
|
630
|
-
"internalType": "contract IKeyValueStore",
|
631
|
-
"name": "keyValueStore",
|
632
|
-
"type": "address"
|
633
|
-
}
|
634
|
-
],
|
635
|
-
"stateMutability": "view",
|
636
|
-
"type": "function"
|
637
|
-
},
|
638
|
-
{
|
639
|
-
"inputs": [],
|
640
|
-
"name": "getNftId",
|
641
|
-
"outputs": [
|
642
|
-
{
|
643
|
-
"internalType": "NftId",
|
644
|
-
"name": "",
|
645
|
-
"type": "uint96"
|
646
|
-
}
|
647
|
-
],
|
648
|
-
"stateMutability": "view",
|
649
|
-
"type": "function"
|
650
|
-
},
|
651
|
-
{
|
652
|
-
"inputs": [],
|
653
|
-
"name": "getOwner",
|
654
|
-
"outputs": [
|
655
|
-
{
|
656
|
-
"internalType": "address",
|
657
|
-
"name": "owner",
|
658
|
-
"type": "address"
|
659
433
|
}
|
660
434
|
],
|
661
|
-
"
|
435
|
+
"name": "createDistributionSetup",
|
436
|
+
"outputs": [],
|
437
|
+
"stateMutability": "nonpayable",
|
662
438
|
"type": "function"
|
663
439
|
},
|
664
440
|
{
|
665
441
|
"inputs": [
|
666
442
|
{
|
667
443
|
"internalType": "NftId",
|
668
|
-
"name": "
|
444
|
+
"name": "policyNftId",
|
669
445
|
"type": "uint96"
|
670
|
-
}
|
671
|
-
],
|
672
|
-
"name": "getPolicyInfo",
|
673
|
-
"outputs": [
|
446
|
+
},
|
674
447
|
{
|
675
448
|
"components": [
|
676
449
|
{
|
@@ -688,11 +461,6 @@
|
|
688
461
|
"name": "referralId",
|
689
462
|
"type": "bytes8"
|
690
463
|
},
|
691
|
-
{
|
692
|
-
"internalType": "address",
|
693
|
-
"name": "beneficiary",
|
694
|
-
"type": "address"
|
695
|
-
},
|
696
464
|
{
|
697
465
|
"internalType": "RiskId",
|
698
466
|
"name": "riskId",
|
@@ -728,6 +496,21 @@
|
|
728
496
|
"name": "policyData",
|
729
497
|
"type": "bytes"
|
730
498
|
},
|
499
|
+
{
|
500
|
+
"internalType": "uint16",
|
501
|
+
"name": "claimsCount",
|
502
|
+
"type": "uint16"
|
503
|
+
},
|
504
|
+
{
|
505
|
+
"internalType": "uint16",
|
506
|
+
"name": "openClaimsCount",
|
507
|
+
"type": "uint16"
|
508
|
+
},
|
509
|
+
{
|
510
|
+
"internalType": "uint256",
|
511
|
+
"name": "payoutAmount",
|
512
|
+
"type": "uint256"
|
513
|
+
},
|
731
514
|
{
|
732
515
|
"internalType": "Timestamp",
|
733
516
|
"name": "activatedAt",
|
@@ -745,52 +528,312 @@
|
|
745
528
|
}
|
746
529
|
],
|
747
530
|
"internalType": "struct IPolicy.PolicyInfo",
|
748
|
-
"name": "
|
531
|
+
"name": "policy",
|
749
532
|
"type": "tuple"
|
750
533
|
}
|
751
534
|
],
|
752
|
-
"
|
535
|
+
"name": "createPolicy",
|
536
|
+
"outputs": [],
|
537
|
+
"stateMutability": "nonpayable",
|
753
538
|
"type": "function"
|
754
539
|
},
|
755
540
|
{
|
756
541
|
"inputs": [
|
757
542
|
{
|
758
543
|
"internalType": "NftId",
|
759
|
-
"name": "
|
544
|
+
"name": "poolNftId",
|
760
545
|
"type": "uint96"
|
761
|
-
}
|
762
|
-
],
|
763
|
-
"name": "getPoolInfo",
|
764
|
-
"outputs": [
|
546
|
+
},
|
765
547
|
{
|
766
548
|
"components": [
|
767
549
|
{
|
768
|
-
"internalType": "
|
769
|
-
"name": "
|
770
|
-
"type": "
|
550
|
+
"internalType": "NftId",
|
551
|
+
"name": "productNftId",
|
552
|
+
"type": "uint96"
|
553
|
+
},
|
554
|
+
{
|
555
|
+
"internalType": "contract TokenHandler",
|
556
|
+
"name": "tokenHandler",
|
557
|
+
"type": "address"
|
771
558
|
},
|
772
559
|
{
|
773
560
|
"internalType": "UFixed",
|
774
561
|
"name": "collateralizationLevel",
|
775
562
|
"type": "uint256"
|
776
|
-
}
|
777
|
-
|
778
|
-
|
779
|
-
|
780
|
-
|
781
|
-
|
782
|
-
|
783
|
-
|
784
|
-
|
785
|
-
|
563
|
+
},
|
564
|
+
{
|
565
|
+
"components": [
|
566
|
+
{
|
567
|
+
"internalType": "UFixed",
|
568
|
+
"name": "fractionalFee",
|
569
|
+
"type": "uint256"
|
570
|
+
},
|
571
|
+
{
|
572
|
+
"internalType": "uint256",
|
573
|
+
"name": "fixedFee",
|
574
|
+
"type": "uint256"
|
575
|
+
}
|
576
|
+
],
|
577
|
+
"internalType": "struct Fee",
|
578
|
+
"name": "poolFee",
|
579
|
+
"type": "tuple"
|
580
|
+
},
|
581
|
+
{
|
582
|
+
"components": [
|
583
|
+
{
|
584
|
+
"internalType": "UFixed",
|
585
|
+
"name": "fractionalFee",
|
586
|
+
"type": "uint256"
|
587
|
+
},
|
588
|
+
{
|
589
|
+
"internalType": "uint256",
|
590
|
+
"name": "fixedFee",
|
591
|
+
"type": "uint256"
|
592
|
+
}
|
593
|
+
],
|
594
|
+
"internalType": "struct Fee",
|
595
|
+
"name": "stakingFee",
|
596
|
+
"type": "tuple"
|
597
|
+
},
|
598
|
+
{
|
599
|
+
"components": [
|
600
|
+
{
|
601
|
+
"internalType": "UFixed",
|
602
|
+
"name": "fractionalFee",
|
603
|
+
"type": "uint256"
|
604
|
+
},
|
605
|
+
{
|
606
|
+
"internalType": "uint256",
|
607
|
+
"name": "fixedFee",
|
608
|
+
"type": "uint256"
|
609
|
+
}
|
610
|
+
],
|
611
|
+
"internalType": "struct Fee",
|
612
|
+
"name": "performanceFee",
|
613
|
+
"type": "tuple"
|
614
|
+
},
|
615
|
+
{
|
616
|
+
"internalType": "bool",
|
617
|
+
"name": "isIntercepting",
|
618
|
+
"type": "bool"
|
619
|
+
},
|
620
|
+
{
|
621
|
+
"internalType": "bool",
|
622
|
+
"name": "isConfirmingApplication",
|
623
|
+
"type": "bool"
|
624
|
+
},
|
625
|
+
{
|
626
|
+
"internalType": "address",
|
627
|
+
"name": "wallet",
|
628
|
+
"type": "address"
|
629
|
+
}
|
630
|
+
],
|
631
|
+
"internalType": "struct ISetup.PoolSetupInfo",
|
632
|
+
"name": "setup",
|
633
|
+
"type": "tuple"
|
634
|
+
}
|
635
|
+
],
|
636
|
+
"name": "createPoolSetup",
|
637
|
+
"outputs": [],
|
638
|
+
"stateMutability": "nonpayable",
|
639
|
+
"type": "function"
|
640
|
+
},
|
786
641
|
{
|
787
|
-
"inputs": [
|
788
|
-
|
642
|
+
"inputs": [
|
643
|
+
{
|
644
|
+
"internalType": "NftId",
|
645
|
+
"name": "productNftId",
|
646
|
+
"type": "uint96"
|
647
|
+
},
|
648
|
+
{
|
649
|
+
"components": [
|
650
|
+
{
|
651
|
+
"internalType": "contract IERC20Metadata",
|
652
|
+
"name": "token",
|
653
|
+
"type": "address"
|
654
|
+
},
|
655
|
+
{
|
656
|
+
"internalType": "contract TokenHandler",
|
657
|
+
"name": "tokenHandler",
|
658
|
+
"type": "address"
|
659
|
+
},
|
660
|
+
{
|
661
|
+
"internalType": "NftId",
|
662
|
+
"name": "distributionNftId",
|
663
|
+
"type": "uint96"
|
664
|
+
},
|
665
|
+
{
|
666
|
+
"internalType": "NftId",
|
667
|
+
"name": "poolNftId",
|
668
|
+
"type": "uint96"
|
669
|
+
},
|
670
|
+
{
|
671
|
+
"components": [
|
672
|
+
{
|
673
|
+
"internalType": "UFixed",
|
674
|
+
"name": "fractionalFee",
|
675
|
+
"type": "uint256"
|
676
|
+
},
|
677
|
+
{
|
678
|
+
"internalType": "uint256",
|
679
|
+
"name": "fixedFee",
|
680
|
+
"type": "uint256"
|
681
|
+
}
|
682
|
+
],
|
683
|
+
"internalType": "struct Fee",
|
684
|
+
"name": "distributionFee",
|
685
|
+
"type": "tuple"
|
686
|
+
},
|
687
|
+
{
|
688
|
+
"components": [
|
689
|
+
{
|
690
|
+
"internalType": "UFixed",
|
691
|
+
"name": "fractionalFee",
|
692
|
+
"type": "uint256"
|
693
|
+
},
|
694
|
+
{
|
695
|
+
"internalType": "uint256",
|
696
|
+
"name": "fixedFee",
|
697
|
+
"type": "uint256"
|
698
|
+
}
|
699
|
+
],
|
700
|
+
"internalType": "struct Fee",
|
701
|
+
"name": "productFee",
|
702
|
+
"type": "tuple"
|
703
|
+
},
|
704
|
+
{
|
705
|
+
"components": [
|
706
|
+
{
|
707
|
+
"internalType": "UFixed",
|
708
|
+
"name": "fractionalFee",
|
709
|
+
"type": "uint256"
|
710
|
+
},
|
711
|
+
{
|
712
|
+
"internalType": "uint256",
|
713
|
+
"name": "fixedFee",
|
714
|
+
"type": "uint256"
|
715
|
+
}
|
716
|
+
],
|
717
|
+
"internalType": "struct Fee",
|
718
|
+
"name": "processingFee",
|
719
|
+
"type": "tuple"
|
720
|
+
},
|
721
|
+
{
|
722
|
+
"components": [
|
723
|
+
{
|
724
|
+
"internalType": "UFixed",
|
725
|
+
"name": "fractionalFee",
|
726
|
+
"type": "uint256"
|
727
|
+
},
|
728
|
+
{
|
729
|
+
"internalType": "uint256",
|
730
|
+
"name": "fixedFee",
|
731
|
+
"type": "uint256"
|
732
|
+
}
|
733
|
+
],
|
734
|
+
"internalType": "struct Fee",
|
735
|
+
"name": "poolFee",
|
736
|
+
"type": "tuple"
|
737
|
+
},
|
738
|
+
{
|
739
|
+
"components": [
|
740
|
+
{
|
741
|
+
"internalType": "UFixed",
|
742
|
+
"name": "fractionalFee",
|
743
|
+
"type": "uint256"
|
744
|
+
},
|
745
|
+
{
|
746
|
+
"internalType": "uint256",
|
747
|
+
"name": "fixedFee",
|
748
|
+
"type": "uint256"
|
749
|
+
}
|
750
|
+
],
|
751
|
+
"internalType": "struct Fee",
|
752
|
+
"name": "stakingFee",
|
753
|
+
"type": "tuple"
|
754
|
+
},
|
755
|
+
{
|
756
|
+
"components": [
|
757
|
+
{
|
758
|
+
"internalType": "UFixed",
|
759
|
+
"name": "fractionalFee",
|
760
|
+
"type": "uint256"
|
761
|
+
},
|
762
|
+
{
|
763
|
+
"internalType": "uint256",
|
764
|
+
"name": "fixedFee",
|
765
|
+
"type": "uint256"
|
766
|
+
}
|
767
|
+
],
|
768
|
+
"internalType": "struct Fee",
|
769
|
+
"name": "performanceFee",
|
770
|
+
"type": "tuple"
|
771
|
+
},
|
772
|
+
{
|
773
|
+
"internalType": "bool",
|
774
|
+
"name": "isIntercepting",
|
775
|
+
"type": "bool"
|
776
|
+
},
|
777
|
+
{
|
778
|
+
"internalType": "address",
|
779
|
+
"name": "wallet",
|
780
|
+
"type": "address"
|
781
|
+
}
|
782
|
+
],
|
783
|
+
"internalType": "struct ISetup.ProductSetupInfo",
|
784
|
+
"name": "setup",
|
785
|
+
"type": "tuple"
|
786
|
+
}
|
787
|
+
],
|
788
|
+
"name": "createProductSetup",
|
789
|
+
"outputs": [],
|
790
|
+
"stateMutability": "nonpayable",
|
791
|
+
"type": "function"
|
792
|
+
},
|
793
|
+
{
|
794
|
+
"inputs": [
|
795
|
+
{
|
796
|
+
"internalType": "RiskId",
|
797
|
+
"name": "riskId",
|
798
|
+
"type": "bytes8"
|
799
|
+
},
|
800
|
+
{
|
801
|
+
"components": [
|
802
|
+
{
|
803
|
+
"internalType": "NftId",
|
804
|
+
"name": "productNftId",
|
805
|
+
"type": "uint96"
|
806
|
+
},
|
807
|
+
{
|
808
|
+
"internalType": "bytes",
|
809
|
+
"name": "data",
|
810
|
+
"type": "bytes"
|
811
|
+
}
|
812
|
+
],
|
813
|
+
"internalType": "struct IRisk.RiskInfo",
|
814
|
+
"name": "risk",
|
815
|
+
"type": "tuple"
|
816
|
+
}
|
817
|
+
],
|
818
|
+
"name": "createRisk",
|
819
|
+
"outputs": [],
|
820
|
+
"stateMutability": "nonpayable",
|
821
|
+
"type": "function"
|
822
|
+
},
|
823
|
+
{
|
824
|
+
"inputs": [
|
825
|
+
{
|
826
|
+
"internalType": "Key32",
|
827
|
+
"name": "key",
|
828
|
+
"type": "bytes32"
|
829
|
+
}
|
830
|
+
],
|
831
|
+
"name": "exists",
|
789
832
|
"outputs": [
|
790
833
|
{
|
791
|
-
"internalType": "
|
834
|
+
"internalType": "bool",
|
792
835
|
"name": "",
|
793
|
-
"type": "
|
836
|
+
"type": "bool"
|
794
837
|
}
|
795
838
|
],
|
796
839
|
"stateMutability": "view",
|
@@ -799,17 +842,56 @@
|
|
799
842
|
{
|
800
843
|
"inputs": [
|
801
844
|
{
|
802
|
-
"internalType": "
|
803
|
-
"name": "
|
804
|
-
"type": "
|
845
|
+
"internalType": "Key32",
|
846
|
+
"name": "key",
|
847
|
+
"type": "bytes32"
|
805
848
|
}
|
806
849
|
],
|
807
|
-
"name": "
|
850
|
+
"name": "get",
|
808
851
|
"outputs": [
|
809
852
|
{
|
810
|
-
"
|
811
|
-
|
812
|
-
|
853
|
+
"components": [
|
854
|
+
{
|
855
|
+
"components": [
|
856
|
+
{
|
857
|
+
"internalType": "ObjectType",
|
858
|
+
"name": "objectType",
|
859
|
+
"type": "uint8"
|
860
|
+
},
|
861
|
+
{
|
862
|
+
"internalType": "StateId",
|
863
|
+
"name": "state",
|
864
|
+
"type": "uint8"
|
865
|
+
},
|
866
|
+
{
|
867
|
+
"internalType": "address",
|
868
|
+
"name": "updatedBy",
|
869
|
+
"type": "address"
|
870
|
+
},
|
871
|
+
{
|
872
|
+
"internalType": "Blocknumber",
|
873
|
+
"name": "updatedIn",
|
874
|
+
"type": "uint32"
|
875
|
+
},
|
876
|
+
{
|
877
|
+
"internalType": "Blocknumber",
|
878
|
+
"name": "createdIn",
|
879
|
+
"type": "uint32"
|
880
|
+
}
|
881
|
+
],
|
882
|
+
"internalType": "struct IKeyValueStore.Metadata",
|
883
|
+
"name": "metadata",
|
884
|
+
"type": "tuple"
|
885
|
+
},
|
886
|
+
{
|
887
|
+
"internalType": "bytes",
|
888
|
+
"name": "data",
|
889
|
+
"type": "bytes"
|
890
|
+
}
|
891
|
+
],
|
892
|
+
"internalType": "struct IKeyValueStore.Value",
|
893
|
+
"name": "value",
|
894
|
+
"type": "tuple"
|
813
895
|
}
|
814
896
|
],
|
815
897
|
"stateMutability": "view",
|
@@ -817,10 +899,10 @@
|
|
817
899
|
},
|
818
900
|
{
|
819
901
|
"inputs": [],
|
820
|
-
"name": "
|
902
|
+
"name": "getBundleManager",
|
821
903
|
"outputs": [
|
822
904
|
{
|
823
|
-
"internalType": "contract
|
905
|
+
"internalType": "contract BundleManager",
|
824
906
|
"name": "",
|
825
907
|
"type": "address"
|
826
908
|
}
|
@@ -830,11 +912,11 @@
|
|
830
912
|
},
|
831
913
|
{
|
832
914
|
"inputs": [],
|
833
|
-
"name": "
|
915
|
+
"name": "getBundleService",
|
834
916
|
"outputs": [
|
835
917
|
{
|
836
|
-
"internalType": "contract
|
837
|
-
"name": "
|
918
|
+
"internalType": "contract IBundleService",
|
919
|
+
"name": "",
|
838
920
|
"type": "address"
|
839
921
|
}
|
840
922
|
],
|
@@ -844,28 +926,79 @@
|
|
844
926
|
{
|
845
927
|
"inputs": [
|
846
928
|
{
|
847
|
-
"internalType": "
|
848
|
-
"name": "
|
849
|
-
"type": "
|
929
|
+
"internalType": "Key32",
|
930
|
+
"name": "key",
|
931
|
+
"type": "bytes32"
|
932
|
+
}
|
933
|
+
],
|
934
|
+
"name": "getData",
|
935
|
+
"outputs": [
|
936
|
+
{
|
937
|
+
"internalType": "bytes",
|
938
|
+
"name": "data",
|
939
|
+
"type": "bytes"
|
940
|
+
}
|
941
|
+
],
|
942
|
+
"stateMutability": "view",
|
943
|
+
"type": "function"
|
944
|
+
},
|
945
|
+
{
|
946
|
+
"inputs": [],
|
947
|
+
"name": "getDistributionService",
|
948
|
+
"outputs": [
|
949
|
+
{
|
950
|
+
"internalType": "contract IDistributionService",
|
951
|
+
"name": "",
|
952
|
+
"type": "address"
|
850
953
|
}
|
851
954
|
],
|
852
|
-
"
|
955
|
+
"stateMutability": "view",
|
956
|
+
"type": "function"
|
957
|
+
},
|
958
|
+
{
|
959
|
+
"inputs": [],
|
960
|
+
"name": "getInitialInfo",
|
853
961
|
"outputs": [
|
854
962
|
{
|
855
963
|
"components": [
|
856
964
|
{
|
857
965
|
"internalType": "NftId",
|
858
|
-
"name": "
|
966
|
+
"name": "nftId",
|
859
967
|
"type": "uint96"
|
860
968
|
},
|
969
|
+
{
|
970
|
+
"internalType": "NftId",
|
971
|
+
"name": "parentNftId",
|
972
|
+
"type": "uint96"
|
973
|
+
},
|
974
|
+
{
|
975
|
+
"internalType": "ObjectType",
|
976
|
+
"name": "objectType",
|
977
|
+
"type": "uint8"
|
978
|
+
},
|
979
|
+
{
|
980
|
+
"internalType": "bool",
|
981
|
+
"name": "isInterceptor",
|
982
|
+
"type": "bool"
|
983
|
+
},
|
984
|
+
{
|
985
|
+
"internalType": "address",
|
986
|
+
"name": "objectAddress",
|
987
|
+
"type": "address"
|
988
|
+
},
|
989
|
+
{
|
990
|
+
"internalType": "address",
|
991
|
+
"name": "initialOwner",
|
992
|
+
"type": "address"
|
993
|
+
},
|
861
994
|
{
|
862
995
|
"internalType": "bytes",
|
863
996
|
"name": "data",
|
864
997
|
"type": "bytes"
|
865
998
|
}
|
866
999
|
],
|
867
|
-
"internalType": "struct
|
868
|
-
"name": "
|
1000
|
+
"internalType": "struct IRegistry.ObjectInfo",
|
1001
|
+
"name": "",
|
869
1002
|
"type": "tuple"
|
870
1003
|
}
|
871
1004
|
],
|
@@ -875,16 +1008,16 @@
|
|
875
1008
|
{
|
876
1009
|
"inputs": [
|
877
1010
|
{
|
878
|
-
"internalType": "
|
879
|
-
"name": "
|
880
|
-
"type": "
|
1011
|
+
"internalType": "ObjectType",
|
1012
|
+
"name": "objectType",
|
1013
|
+
"type": "uint8"
|
881
1014
|
}
|
882
1015
|
],
|
883
|
-
"name": "
|
1016
|
+
"name": "getInitialState",
|
884
1017
|
"outputs": [
|
885
1018
|
{
|
886
1019
|
"internalType": "StateId",
|
887
|
-
"name": "
|
1020
|
+
"name": "",
|
888
1021
|
"type": "uint8"
|
889
1022
|
}
|
890
1023
|
],
|
@@ -892,156 +1025,71 @@
|
|
892
1025
|
"type": "function"
|
893
1026
|
},
|
894
1027
|
{
|
895
|
-
"inputs": [
|
1028
|
+
"inputs": [],
|
1029
|
+
"name": "getInstanceReader",
|
1030
|
+
"outputs": [
|
896
1031
|
{
|
897
|
-
"internalType": "
|
898
|
-
"name": "
|
899
|
-
"type": "
|
1032
|
+
"internalType": "contract InstanceReader",
|
1033
|
+
"name": "",
|
1034
|
+
"type": "address"
|
900
1035
|
}
|
901
1036
|
],
|
902
|
-
"
|
1037
|
+
"stateMutability": "view",
|
1038
|
+
"type": "function"
|
1039
|
+
},
|
1040
|
+
{
|
1041
|
+
"inputs": [],
|
1042
|
+
"name": "getMajorVersion",
|
903
1043
|
"outputs": [
|
904
1044
|
{
|
905
|
-
"internalType": "
|
906
|
-
"name": "
|
907
|
-
"type": "
|
1045
|
+
"internalType": "VersionPart",
|
1046
|
+
"name": "majorVersion",
|
1047
|
+
"type": "uint8"
|
908
1048
|
}
|
909
1049
|
],
|
910
|
-
"stateMutability": "
|
1050
|
+
"stateMutability": "pure",
|
911
1051
|
"type": "function"
|
912
1052
|
},
|
913
1053
|
{
|
914
1054
|
"inputs": [
|
915
1055
|
{
|
916
|
-
"internalType": "
|
917
|
-
"name": "
|
918
|
-
"type": "
|
1056
|
+
"internalType": "Key32",
|
1057
|
+
"name": "key",
|
1058
|
+
"type": "bytes32"
|
919
1059
|
}
|
920
1060
|
],
|
921
|
-
"name": "
|
1061
|
+
"name": "getMetadata",
|
922
1062
|
"outputs": [
|
923
1063
|
{
|
924
1064
|
"components": [
|
925
1065
|
{
|
926
|
-
"internalType": "
|
927
|
-
"name": "
|
928
|
-
"type": "
|
1066
|
+
"internalType": "ObjectType",
|
1067
|
+
"name": "objectType",
|
1068
|
+
"type": "uint8"
|
929
1069
|
},
|
930
1070
|
{
|
931
|
-
"internalType": "
|
932
|
-
"name": "
|
933
|
-
"type": "
|
1071
|
+
"internalType": "StateId",
|
1072
|
+
"name": "state",
|
1073
|
+
"type": "uint8"
|
934
1074
|
},
|
935
1075
|
{
|
936
|
-
"internalType": "
|
937
|
-
"name": "
|
1076
|
+
"internalType": "address",
|
1077
|
+
"name": "updatedBy",
|
938
1078
|
"type": "address"
|
939
1079
|
},
|
940
1080
|
{
|
941
|
-
"
|
942
|
-
|
943
|
-
|
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"
|
990
|
-
},
|
991
|
-
{
|
992
|
-
"components": [
|
993
|
-
{
|
994
|
-
"internalType": "UFixed",
|
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"
|
1007
|
-
},
|
1008
|
-
{
|
1009
|
-
"components": [
|
1010
|
-
{
|
1011
|
-
"internalType": "UFixed",
|
1012
|
-
"name": "fractionalFee",
|
1013
|
-
"type": "uint256"
|
1014
|
-
},
|
1015
|
-
{
|
1016
|
-
"internalType": "uint256",
|
1017
|
-
"name": "fixedFee",
|
1018
|
-
"type": "uint256"
|
1019
|
-
}
|
1020
|
-
],
|
1021
|
-
"internalType": "struct Fee",
|
1022
|
-
"name": "performanceFee",
|
1023
|
-
"type": "tuple"
|
1081
|
+
"internalType": "Blocknumber",
|
1082
|
+
"name": "updatedIn",
|
1083
|
+
"type": "uint32"
|
1024
1084
|
},
|
1025
1085
|
{
|
1026
|
-
"
|
1027
|
-
|
1028
|
-
|
1029
|
-
"name": "fractionalFee",
|
1030
|
-
"type": "uint256"
|
1031
|
-
},
|
1032
|
-
{
|
1033
|
-
"internalType": "uint256",
|
1034
|
-
"name": "fixedFee",
|
1035
|
-
"type": "uint256"
|
1036
|
-
}
|
1037
|
-
],
|
1038
|
-
"internalType": "struct Fee",
|
1039
|
-
"name": "distributionFee",
|
1040
|
-
"type": "tuple"
|
1086
|
+
"internalType": "Blocknumber",
|
1087
|
+
"name": "createdIn",
|
1088
|
+
"type": "uint32"
|
1041
1089
|
}
|
1042
1090
|
],
|
1043
|
-
"internalType": "struct
|
1044
|
-
"name": "
|
1091
|
+
"internalType": "struct IKeyValueStore.Metadata",
|
1092
|
+
"name": "metadata",
|
1045
1093
|
"type": "tuple"
|
1046
1094
|
}
|
1047
1095
|
],
|
@@ -1049,75 +1097,65 @@
|
|
1049
1097
|
"type": "function"
|
1050
1098
|
},
|
1051
1099
|
{
|
1052
|
-
"inputs": [
|
1053
|
-
|
1054
|
-
"internalType": "uint256",
|
1055
|
-
"name": "a",
|
1056
|
-
"type": "uint256"
|
1057
|
-
},
|
1058
|
-
{
|
1059
|
-
"internalType": "int8",
|
1060
|
-
"name": "exp",
|
1061
|
-
"type": "int8"
|
1062
|
-
}
|
1063
|
-
],
|
1064
|
-
"name": "getUFixed",
|
1100
|
+
"inputs": [],
|
1101
|
+
"name": "getNftId",
|
1065
1102
|
"outputs": [
|
1066
1103
|
{
|
1067
|
-
"internalType": "
|
1104
|
+
"internalType": "NftId",
|
1068
1105
|
"name": "",
|
1069
|
-
"type": "
|
1106
|
+
"type": "uint96"
|
1070
1107
|
}
|
1071
1108
|
],
|
1072
|
-
"stateMutability": "
|
1109
|
+
"stateMutability": "view",
|
1073
1110
|
"type": "function"
|
1074
1111
|
},
|
1075
1112
|
{
|
1076
|
-
"inputs": [
|
1077
|
-
|
1078
|
-
"internalType": "uint256",
|
1079
|
-
"name": "a",
|
1080
|
-
"type": "uint256"
|
1081
|
-
}
|
1082
|
-
],
|
1083
|
-
"name": "getUFixed",
|
1113
|
+
"inputs": [],
|
1114
|
+
"name": "getOwner",
|
1084
1115
|
"outputs": [
|
1085
1116
|
{
|
1086
|
-
"internalType": "
|
1117
|
+
"internalType": "address",
|
1087
1118
|
"name": "",
|
1088
|
-
"type": "
|
1119
|
+
"type": "address"
|
1089
1120
|
}
|
1090
1121
|
],
|
1091
|
-
"stateMutability": "
|
1122
|
+
"stateMutability": "view",
|
1092
1123
|
"type": "function"
|
1093
1124
|
},
|
1094
1125
|
{
|
1095
1126
|
"inputs": [],
|
1096
|
-
"name": "
|
1127
|
+
"name": "getPolicyService",
|
1097
1128
|
"outputs": [
|
1098
1129
|
{
|
1099
|
-
"internalType": "
|
1130
|
+
"internalType": "contract IPolicyService",
|
1100
1131
|
"name": "",
|
1101
|
-
"type": "
|
1132
|
+
"type": "address"
|
1102
1133
|
}
|
1103
1134
|
],
|
1104
|
-
"stateMutability": "
|
1135
|
+
"stateMutability": "view",
|
1105
1136
|
"type": "function"
|
1106
1137
|
},
|
1107
1138
|
{
|
1108
|
-
"inputs": [
|
1139
|
+
"inputs": [],
|
1140
|
+
"name": "getPoolService",
|
1141
|
+
"outputs": [
|
1109
1142
|
{
|
1110
|
-
"internalType": "
|
1111
|
-
"name": "
|
1112
|
-
"type": "
|
1143
|
+
"internalType": "contract IPoolService",
|
1144
|
+
"name": "",
|
1145
|
+
"type": "address"
|
1113
1146
|
}
|
1114
1147
|
],
|
1115
|
-
"
|
1148
|
+
"stateMutability": "view",
|
1149
|
+
"type": "function"
|
1150
|
+
},
|
1151
|
+
{
|
1152
|
+
"inputs": [],
|
1153
|
+
"name": "getProductService",
|
1116
1154
|
"outputs": [
|
1117
1155
|
{
|
1118
|
-
"internalType": "
|
1119
|
-
"name": "
|
1120
|
-
"type": "
|
1156
|
+
"internalType": "contract IProductService",
|
1157
|
+
"name": "",
|
1158
|
+
"type": "address"
|
1121
1159
|
}
|
1122
1160
|
],
|
1123
1161
|
"stateMutability": "view",
|
@@ -1125,12 +1163,12 @@
|
|
1125
1163
|
},
|
1126
1164
|
{
|
1127
1165
|
"inputs": [],
|
1128
|
-
"name": "
|
1166
|
+
"name": "getRegistry",
|
1129
1167
|
"outputs": [
|
1130
1168
|
{
|
1131
|
-
"internalType": "
|
1132
|
-
"name": "
|
1133
|
-
"type": "
|
1169
|
+
"internalType": "contract IRegistry",
|
1170
|
+
"name": "",
|
1171
|
+
"type": "address"
|
1134
1172
|
}
|
1135
1173
|
],
|
1136
1174
|
"stateMutability": "view",
|
@@ -1139,88 +1177,49 @@
|
|
1139
1177
|
{
|
1140
1178
|
"inputs": [
|
1141
1179
|
{
|
1142
|
-
"internalType": "
|
1143
|
-
"name": "
|
1144
|
-
"type": "
|
1180
|
+
"internalType": "Key32",
|
1181
|
+
"name": "key",
|
1182
|
+
"type": "bytes32"
|
1145
1183
|
}
|
1146
1184
|
],
|
1147
|
-
"name": "
|
1185
|
+
"name": "getState",
|
1148
1186
|
"outputs": [
|
1149
1187
|
{
|
1150
|
-
"
|
1151
|
-
|
1152
|
-
|
1153
|
-
"name": "version",
|
1154
|
-
"type": "uint24"
|
1155
|
-
},
|
1156
|
-
{
|
1157
|
-
"internalType": "address",
|
1158
|
-
"name": "implementation",
|
1159
|
-
"type": "address"
|
1160
|
-
},
|
1161
|
-
{
|
1162
|
-
"internalType": "address",
|
1163
|
-
"name": "activatedBy",
|
1164
|
-
"type": "address"
|
1165
|
-
},
|
1166
|
-
{
|
1167
|
-
"internalType": "Timestamp",
|
1168
|
-
"name": "activatedAt",
|
1169
|
-
"type": "uint40"
|
1170
|
-
},
|
1171
|
-
{
|
1172
|
-
"internalType": "Blocknumber",
|
1173
|
-
"name": "activatedIn",
|
1174
|
-
"type": "uint32"
|
1175
|
-
}
|
1176
|
-
],
|
1177
|
-
"internalType": "struct IVersionable.VersionInfo",
|
1178
|
-
"name": "versionInfo",
|
1179
|
-
"type": "tuple"
|
1188
|
+
"internalType": "StateId",
|
1189
|
+
"name": "state",
|
1190
|
+
"type": "uint8"
|
1180
1191
|
}
|
1181
1192
|
],
|
1182
1193
|
"stateMutability": "view",
|
1183
1194
|
"type": "function"
|
1184
1195
|
},
|
1185
1196
|
{
|
1186
|
-
"inputs": [
|
1187
|
-
|
1197
|
+
"inputs": [
|
1198
|
+
{
|
1199
|
+
"internalType": "ObjectType",
|
1200
|
+
"name": "objectType",
|
1201
|
+
"type": "uint8"
|
1202
|
+
}
|
1203
|
+
],
|
1204
|
+
"name": "hasLifecycle",
|
1188
1205
|
"outputs": [
|
1189
1206
|
{
|
1190
|
-
"
|
1191
|
-
|
1192
|
-
|
1193
|
-
"name": "fractionalFee",
|
1194
|
-
"type": "uint256"
|
1195
|
-
},
|
1196
|
-
{
|
1197
|
-
"internalType": "uint256",
|
1198
|
-
"name": "fixedFee",
|
1199
|
-
"type": "uint256"
|
1200
|
-
}
|
1201
|
-
],
|
1202
|
-
"internalType": "struct Fee",
|
1203
|
-
"name": "fee",
|
1204
|
-
"type": "tuple"
|
1207
|
+
"internalType": "bool",
|
1208
|
+
"name": "",
|
1209
|
+
"type": "bool"
|
1205
1210
|
}
|
1206
1211
|
],
|
1207
1212
|
"stateMutability": "view",
|
1208
1213
|
"type": "function"
|
1209
1214
|
},
|
1210
1215
|
{
|
1211
|
-
"inputs": [
|
1212
|
-
|
1213
|
-
"internalType": "NftId",
|
1214
|
-
"name": "productNftId",
|
1215
|
-
"type": "uint96"
|
1216
|
-
}
|
1217
|
-
],
|
1218
|
-
"name": "hasTreasuryInfo",
|
1216
|
+
"inputs": [],
|
1217
|
+
"name": "isConsumingScheduledOp",
|
1219
1218
|
"outputs": [
|
1220
1219
|
{
|
1221
|
-
"internalType": "
|
1222
|
-
"name": "
|
1223
|
-
"type": "
|
1220
|
+
"internalType": "bytes4",
|
1221
|
+
"name": "",
|
1222
|
+
"type": "bytes4"
|
1224
1223
|
}
|
1225
1224
|
],
|
1226
1225
|
"stateMutability": "view",
|
@@ -1229,35 +1228,22 @@
|
|
1229
1228
|
{
|
1230
1229
|
"inputs": [
|
1231
1230
|
{
|
1232
|
-
"internalType": "
|
1233
|
-
"name": "
|
1234
|
-
"type": "
|
1231
|
+
"internalType": "ObjectType",
|
1232
|
+
"name": "objectType",
|
1233
|
+
"type": "uint8"
|
1235
1234
|
},
|
1236
1235
|
{
|
1237
|
-
"internalType": "
|
1238
|
-
"name": "
|
1239
|
-
"type": "
|
1236
|
+
"internalType": "StateId",
|
1237
|
+
"name": "fromId",
|
1238
|
+
"type": "uint8"
|
1240
1239
|
},
|
1241
1240
|
{
|
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"
|
1241
|
+
"internalType": "StateId",
|
1242
|
+
"name": "toId",
|
1243
|
+
"type": "uint8"
|
1258
1244
|
}
|
1259
1245
|
],
|
1260
|
-
"name": "
|
1246
|
+
"name": "isValidTransition",
|
1261
1247
|
"outputs": [
|
1262
1248
|
{
|
1263
1249
|
"internalType": "bool",
|
@@ -1277,23 +1263,13 @@
|
|
1277
1263
|
},
|
1278
1264
|
{
|
1279
1265
|
"inputs": [
|
1280
|
-
{
|
1281
|
-
"internalType": "NftId",
|
1282
|
-
"name": "nftId",
|
1283
|
-
"type": "uint96"
|
1284
|
-
},
|
1285
|
-
{
|
1286
|
-
"internalType": "contract IERC20Metadata",
|
1287
|
-
"name": "token",
|
1288
|
-
"type": "address"
|
1289
|
-
},
|
1290
1266
|
{
|
1291
1267
|
"internalType": "address",
|
1292
|
-
"name": "
|
1268
|
+
"name": "",
|
1293
1269
|
"type": "address"
|
1294
1270
|
}
|
1295
1271
|
],
|
1296
|
-
"name": "
|
1272
|
+
"name": "setAuthority",
|
1297
1273
|
"outputs": [],
|
1298
1274
|
"stateMutability": "nonpayable",
|
1299
1275
|
"type": "function"
|
@@ -1301,38 +1277,51 @@
|
|
1301
1277
|
{
|
1302
1278
|
"inputs": [
|
1303
1279
|
{
|
1304
|
-
"internalType": "
|
1305
|
-
"name": "
|
1306
|
-
"type": "
|
1280
|
+
"internalType": "bytes4",
|
1281
|
+
"name": "interfaceId",
|
1282
|
+
"type": "bytes4"
|
1283
|
+
}
|
1284
|
+
],
|
1285
|
+
"name": "supportsInterface",
|
1286
|
+
"outputs": [
|
1287
|
+
{
|
1288
|
+
"internalType": "bool",
|
1289
|
+
"name": "",
|
1290
|
+
"type": "bool"
|
1291
|
+
}
|
1292
|
+
],
|
1293
|
+
"stateMutability": "view",
|
1294
|
+
"type": "function"
|
1295
|
+
},
|
1296
|
+
{
|
1297
|
+
"inputs": [
|
1298
|
+
{
|
1299
|
+
"internalType": "ObjectType",
|
1300
|
+
"name": "objectType",
|
1301
|
+
"type": "uint8"
|
1307
1302
|
},
|
1308
1303
|
{
|
1309
|
-
"
|
1310
|
-
|
1311
|
-
|
1312
|
-
"name": "isVerifying",
|
1313
|
-
"type": "bool"
|
1314
|
-
},
|
1315
|
-
{
|
1316
|
-
"internalType": "UFixed",
|
1317
|
-
"name": "collateralizationLevel",
|
1318
|
-
"type": "uint256"
|
1319
|
-
}
|
1320
|
-
],
|
1321
|
-
"internalType": "struct IPool.PoolInfo",
|
1322
|
-
"name": "info",
|
1323
|
-
"type": "tuple"
|
1304
|
+
"internalType": "KeyId",
|
1305
|
+
"name": "id",
|
1306
|
+
"type": "bytes31"
|
1324
1307
|
}
|
1325
1308
|
],
|
1326
|
-
"name": "
|
1327
|
-
"outputs": [
|
1328
|
-
|
1309
|
+
"name": "toKey32",
|
1310
|
+
"outputs": [
|
1311
|
+
{
|
1312
|
+
"internalType": "Key32",
|
1313
|
+
"name": "",
|
1314
|
+
"type": "bytes32"
|
1315
|
+
}
|
1316
|
+
],
|
1317
|
+
"stateMutability": "pure",
|
1329
1318
|
"type": "function"
|
1330
1319
|
},
|
1331
1320
|
{
|
1332
1321
|
"inputs": [
|
1333
1322
|
{
|
1334
1323
|
"internalType": "NftId",
|
1335
|
-
"name": "
|
1324
|
+
"name": "bundleNftId",
|
1336
1325
|
"type": "uint96"
|
1337
1326
|
},
|
1338
1327
|
{
|
@@ -1342,16 +1331,6 @@
|
|
1342
1331
|
"name": "poolNftId",
|
1343
1332
|
"type": "uint96"
|
1344
1333
|
},
|
1345
|
-
{
|
1346
|
-
"internalType": "NftId",
|
1347
|
-
"name": "distributionNftId",
|
1348
|
-
"type": "uint96"
|
1349
|
-
},
|
1350
|
-
{
|
1351
|
-
"internalType": "contract IERC20Metadata",
|
1352
|
-
"name": "token",
|
1353
|
-
"type": "address"
|
1354
|
-
},
|
1355
1334
|
{
|
1356
1335
|
"components": [
|
1357
1336
|
{
|
@@ -1366,101 +1345,56 @@
|
|
1366
1345
|
}
|
1367
1346
|
],
|
1368
1347
|
"internalType": "struct Fee",
|
1369
|
-
"name": "
|
1348
|
+
"name": "fee",
|
1370
1349
|
"type": "tuple"
|
1371
1350
|
},
|
1372
1351
|
{
|
1373
|
-
"
|
1374
|
-
|
1375
|
-
|
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"
|
1352
|
+
"internalType": "bytes",
|
1353
|
+
"name": "filter",
|
1354
|
+
"type": "bytes"
|
1388
1355
|
},
|
1389
1356
|
{
|
1390
|
-
"
|
1391
|
-
|
1392
|
-
|
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"
|
1357
|
+
"internalType": "uint256",
|
1358
|
+
"name": "capitalAmount",
|
1359
|
+
"type": "uint256"
|
1405
1360
|
},
|
1406
1361
|
{
|
1407
|
-
"
|
1408
|
-
|
1409
|
-
|
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"
|
1362
|
+
"internalType": "uint256",
|
1363
|
+
"name": "lockedAmount",
|
1364
|
+
"type": "uint256"
|
1422
1365
|
},
|
1423
1366
|
{
|
1424
|
-
"
|
1425
|
-
|
1426
|
-
|
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"
|
1367
|
+
"internalType": "uint256",
|
1368
|
+
"name": "balanceAmount",
|
1369
|
+
"type": "uint256"
|
1439
1370
|
},
|
1440
1371
|
{
|
1441
|
-
"
|
1442
|
-
|
1443
|
-
|
1444
|
-
|
1445
|
-
|
1446
|
-
|
1447
|
-
|
1448
|
-
|
1449
|
-
|
1450
|
-
|
1451
|
-
|
1452
|
-
|
1453
|
-
"
|
1454
|
-
"name": "distributionFee",
|
1455
|
-
"type": "tuple"
|
1372
|
+
"internalType": "uint256",
|
1373
|
+
"name": "lifetime",
|
1374
|
+
"type": "uint256"
|
1375
|
+
},
|
1376
|
+
{
|
1377
|
+
"internalType": "Timestamp",
|
1378
|
+
"name": "expiredAt",
|
1379
|
+
"type": "uint40"
|
1380
|
+
},
|
1381
|
+
{
|
1382
|
+
"internalType": "Timestamp",
|
1383
|
+
"name": "closedAt",
|
1384
|
+
"type": "uint40"
|
1456
1385
|
}
|
1457
1386
|
],
|
1458
|
-
"internalType": "struct
|
1459
|
-
"name": "
|
1387
|
+
"internalType": "struct IBundle.BundleInfo",
|
1388
|
+
"name": "bundle",
|
1460
1389
|
"type": "tuple"
|
1390
|
+
},
|
1391
|
+
{
|
1392
|
+
"internalType": "StateId",
|
1393
|
+
"name": "newState",
|
1394
|
+
"type": "uint8"
|
1461
1395
|
}
|
1462
1396
|
],
|
1463
|
-
"name": "
|
1397
|
+
"name": "updateBundle",
|
1464
1398
|
"outputs": [],
|
1465
1399
|
"stateMutability": "nonpayable",
|
1466
1400
|
"type": "function"
|
@@ -1473,19 +1407,13 @@
|
|
1473
1407
|
"type": "uint96"
|
1474
1408
|
},
|
1475
1409
|
{
|
1476
|
-
"internalType": "
|
1477
|
-
"name": "
|
1478
|
-
"type": "
|
1479
|
-
}
|
1480
|
-
],
|
1481
|
-
"name": "releasePolicy",
|
1482
|
-
"outputs": [
|
1483
|
-
{
|
1484
|
-
"internalType": "uint256",
|
1485
|
-
"name": "collateralAmount",
|
1486
|
-
"type": "uint256"
|
1410
|
+
"internalType": "StateId",
|
1411
|
+
"name": "newState",
|
1412
|
+
"type": "uint8"
|
1487
1413
|
}
|
1488
1414
|
],
|
1415
|
+
"name": "updateBundleState",
|
1416
|
+
"outputs": [],
|
1489
1417
|
"stateMutability": "nonpayable",
|
1490
1418
|
"type": "function"
|
1491
1419
|
},
|
@@ -1493,16 +1421,21 @@
|
|
1493
1421
|
"inputs": [
|
1494
1422
|
{
|
1495
1423
|
"internalType": "NftId",
|
1496
|
-
"name": "
|
1424
|
+
"name": "distributionNftId",
|
1497
1425
|
"type": "uint96"
|
1498
1426
|
},
|
1499
1427
|
{
|
1500
1428
|
"components": [
|
1501
1429
|
{
|
1502
1430
|
"internalType": "NftId",
|
1503
|
-
"name": "
|
1431
|
+
"name": "productNftId",
|
1504
1432
|
"type": "uint96"
|
1505
1433
|
},
|
1434
|
+
{
|
1435
|
+
"internalType": "contract TokenHandler",
|
1436
|
+
"name": "tokenHandler",
|
1437
|
+
"type": "address"
|
1438
|
+
},
|
1506
1439
|
{
|
1507
1440
|
"components": [
|
1508
1441
|
{
|
@@ -1517,46 +1450,49 @@
|
|
1517
1450
|
}
|
1518
1451
|
],
|
1519
1452
|
"internalType": "struct Fee",
|
1520
|
-
"name": "
|
1453
|
+
"name": "distributionFee",
|
1521
1454
|
"type": "tuple"
|
1522
1455
|
},
|
1523
1456
|
{
|
1524
|
-
"internalType": "
|
1525
|
-
"name": "
|
1526
|
-
"type": "
|
1527
|
-
},
|
1528
|
-
{
|
1529
|
-
"internalType": "uint256",
|
1530
|
-
"name": "capitalAmount",
|
1531
|
-
"type": "uint256"
|
1532
|
-
},
|
1533
|
-
{
|
1534
|
-
"internalType": "uint256",
|
1535
|
-
"name": "lockedAmount",
|
1536
|
-
"type": "uint256"
|
1537
|
-
},
|
1538
|
-
{
|
1539
|
-
"internalType": "uint256",
|
1540
|
-
"name": "balanceAmount",
|
1541
|
-
"type": "uint256"
|
1542
|
-
},
|
1543
|
-
{
|
1544
|
-
"internalType": "Timestamp",
|
1545
|
-
"name": "expiredAt",
|
1546
|
-
"type": "uint40"
|
1457
|
+
"internalType": "bool",
|
1458
|
+
"name": "isIntercepting",
|
1459
|
+
"type": "bool"
|
1547
1460
|
},
|
1548
1461
|
{
|
1549
|
-
"internalType": "
|
1550
|
-
"name": "
|
1551
|
-
"type": "
|
1462
|
+
"internalType": "address",
|
1463
|
+
"name": "wallet",
|
1464
|
+
"type": "address"
|
1552
1465
|
}
|
1553
1466
|
],
|
1554
|
-
"internalType": "struct
|
1555
|
-
"name": "
|
1467
|
+
"internalType": "struct ISetup.DistributionSetupInfo",
|
1468
|
+
"name": "setup",
|
1556
1469
|
"type": "tuple"
|
1470
|
+
},
|
1471
|
+
{
|
1472
|
+
"internalType": "StateId",
|
1473
|
+
"name": "newState",
|
1474
|
+
"type": "uint8"
|
1475
|
+
}
|
1476
|
+
],
|
1477
|
+
"name": "updateDistributionSetup",
|
1478
|
+
"outputs": [],
|
1479
|
+
"stateMutability": "nonpayable",
|
1480
|
+
"type": "function"
|
1481
|
+
},
|
1482
|
+
{
|
1483
|
+
"inputs": [
|
1484
|
+
{
|
1485
|
+
"internalType": "NftId",
|
1486
|
+
"name": "distributionNftId",
|
1487
|
+
"type": "uint96"
|
1488
|
+
},
|
1489
|
+
{
|
1490
|
+
"internalType": "StateId",
|
1491
|
+
"name": "newState",
|
1492
|
+
"type": "uint8"
|
1557
1493
|
}
|
1558
1494
|
],
|
1559
|
-
"name": "
|
1495
|
+
"name": "updateDistributionSetupState",
|
1560
1496
|
"outputs": [],
|
1561
1497
|
"stateMutability": "nonpayable",
|
1562
1498
|
"type": "function"
|
@@ -1585,11 +1521,6 @@
|
|
1585
1521
|
"name": "referralId",
|
1586
1522
|
"type": "bytes8"
|
1587
1523
|
},
|
1588
|
-
{
|
1589
|
-
"internalType": "address",
|
1590
|
-
"name": "beneficiary",
|
1591
|
-
"type": "address"
|
1592
|
-
},
|
1593
1524
|
{
|
1594
1525
|
"internalType": "RiskId",
|
1595
1526
|
"name": "riskId",
|
@@ -1625,6 +1556,21 @@
|
|
1625
1556
|
"name": "policyData",
|
1626
1557
|
"type": "bytes"
|
1627
1558
|
},
|
1559
|
+
{
|
1560
|
+
"internalType": "uint16",
|
1561
|
+
"name": "claimsCount",
|
1562
|
+
"type": "uint16"
|
1563
|
+
},
|
1564
|
+
{
|
1565
|
+
"internalType": "uint16",
|
1566
|
+
"name": "openClaimsCount",
|
1567
|
+
"type": "uint16"
|
1568
|
+
},
|
1569
|
+
{
|
1570
|
+
"internalType": "uint256",
|
1571
|
+
"name": "payoutAmount",
|
1572
|
+
"type": "uint256"
|
1573
|
+
},
|
1628
1574
|
{
|
1629
1575
|
"internalType": "Timestamp",
|
1630
1576
|
"name": "activatedAt",
|
@@ -1642,11 +1588,16 @@
|
|
1642
1588
|
}
|
1643
1589
|
],
|
1644
1590
|
"internalType": "struct IPolicy.PolicyInfo",
|
1645
|
-
"name": "
|
1591
|
+
"name": "policy",
|
1646
1592
|
"type": "tuple"
|
1593
|
+
},
|
1594
|
+
{
|
1595
|
+
"internalType": "StateId",
|
1596
|
+
"name": "newState",
|
1597
|
+
"type": "uint8"
|
1647
1598
|
}
|
1648
1599
|
],
|
1649
|
-
"name": "
|
1600
|
+
"name": "updatePolicy",
|
1650
1601
|
"outputs": [],
|
1651
1602
|
"stateMutability": "nonpayable",
|
1652
1603
|
"type": "function"
|
@@ -1654,9 +1605,27 @@
|
|
1654
1605
|
{
|
1655
1606
|
"inputs": [
|
1656
1607
|
{
|
1657
|
-
"internalType": "
|
1658
|
-
"name": "
|
1659
|
-
"type": "
|
1608
|
+
"internalType": "NftId",
|
1609
|
+
"name": "policyNftId",
|
1610
|
+
"type": "uint96"
|
1611
|
+
},
|
1612
|
+
{
|
1613
|
+
"internalType": "StateId",
|
1614
|
+
"name": "newState",
|
1615
|
+
"type": "uint8"
|
1616
|
+
}
|
1617
|
+
],
|
1618
|
+
"name": "updatePolicyState",
|
1619
|
+
"outputs": [],
|
1620
|
+
"stateMutability": "nonpayable",
|
1621
|
+
"type": "function"
|
1622
|
+
},
|
1623
|
+
{
|
1624
|
+
"inputs": [
|
1625
|
+
{
|
1626
|
+
"internalType": "NftId",
|
1627
|
+
"name": "poolNftId",
|
1628
|
+
"type": "uint96"
|
1660
1629
|
},
|
1661
1630
|
{
|
1662
1631
|
"components": [
|
@@ -1666,17 +1635,111 @@
|
|
1666
1635
|
"type": "uint96"
|
1667
1636
|
},
|
1668
1637
|
{
|
1669
|
-
"internalType": "
|
1670
|
-
"name": "
|
1671
|
-
"type": "
|
1638
|
+
"internalType": "contract TokenHandler",
|
1639
|
+
"name": "tokenHandler",
|
1640
|
+
"type": "address"
|
1641
|
+
},
|
1642
|
+
{
|
1643
|
+
"internalType": "UFixed",
|
1644
|
+
"name": "collateralizationLevel",
|
1645
|
+
"type": "uint256"
|
1646
|
+
},
|
1647
|
+
{
|
1648
|
+
"components": [
|
1649
|
+
{
|
1650
|
+
"internalType": "UFixed",
|
1651
|
+
"name": "fractionalFee",
|
1652
|
+
"type": "uint256"
|
1653
|
+
},
|
1654
|
+
{
|
1655
|
+
"internalType": "uint256",
|
1656
|
+
"name": "fixedFee",
|
1657
|
+
"type": "uint256"
|
1658
|
+
}
|
1659
|
+
],
|
1660
|
+
"internalType": "struct Fee",
|
1661
|
+
"name": "poolFee",
|
1662
|
+
"type": "tuple"
|
1663
|
+
},
|
1664
|
+
{
|
1665
|
+
"components": [
|
1666
|
+
{
|
1667
|
+
"internalType": "UFixed",
|
1668
|
+
"name": "fractionalFee",
|
1669
|
+
"type": "uint256"
|
1670
|
+
},
|
1671
|
+
{
|
1672
|
+
"internalType": "uint256",
|
1673
|
+
"name": "fixedFee",
|
1674
|
+
"type": "uint256"
|
1675
|
+
}
|
1676
|
+
],
|
1677
|
+
"internalType": "struct Fee",
|
1678
|
+
"name": "stakingFee",
|
1679
|
+
"type": "tuple"
|
1680
|
+
},
|
1681
|
+
{
|
1682
|
+
"components": [
|
1683
|
+
{
|
1684
|
+
"internalType": "UFixed",
|
1685
|
+
"name": "fractionalFee",
|
1686
|
+
"type": "uint256"
|
1687
|
+
},
|
1688
|
+
{
|
1689
|
+
"internalType": "uint256",
|
1690
|
+
"name": "fixedFee",
|
1691
|
+
"type": "uint256"
|
1692
|
+
}
|
1693
|
+
],
|
1694
|
+
"internalType": "struct Fee",
|
1695
|
+
"name": "performanceFee",
|
1696
|
+
"type": "tuple"
|
1697
|
+
},
|
1698
|
+
{
|
1699
|
+
"internalType": "bool",
|
1700
|
+
"name": "isIntercepting",
|
1701
|
+
"type": "bool"
|
1702
|
+
},
|
1703
|
+
{
|
1704
|
+
"internalType": "bool",
|
1705
|
+
"name": "isConfirmingApplication",
|
1706
|
+
"type": "bool"
|
1707
|
+
},
|
1708
|
+
{
|
1709
|
+
"internalType": "address",
|
1710
|
+
"name": "wallet",
|
1711
|
+
"type": "address"
|
1672
1712
|
}
|
1673
1713
|
],
|
1674
|
-
"internalType": "struct
|
1675
|
-
"name": "
|
1714
|
+
"internalType": "struct ISetup.PoolSetupInfo",
|
1715
|
+
"name": "setup",
|
1676
1716
|
"type": "tuple"
|
1717
|
+
},
|
1718
|
+
{
|
1719
|
+
"internalType": "StateId",
|
1720
|
+
"name": "newState",
|
1721
|
+
"type": "uint8"
|
1722
|
+
}
|
1723
|
+
],
|
1724
|
+
"name": "updatePoolSetup",
|
1725
|
+
"outputs": [],
|
1726
|
+
"stateMutability": "nonpayable",
|
1727
|
+
"type": "function"
|
1728
|
+
},
|
1729
|
+
{
|
1730
|
+
"inputs": [
|
1731
|
+
{
|
1732
|
+
"internalType": "NftId",
|
1733
|
+
"name": "poolNftId",
|
1734
|
+
"type": "uint96"
|
1735
|
+
},
|
1736
|
+
{
|
1737
|
+
"internalType": "StateId",
|
1738
|
+
"name": "newState",
|
1739
|
+
"type": "uint8"
|
1677
1740
|
}
|
1678
1741
|
],
|
1679
|
-
"name": "
|
1742
|
+
"name": "updatePoolSetupState",
|
1680
1743
|
"outputs": [],
|
1681
1744
|
"stateMutability": "nonpayable",
|
1682
1745
|
"type": "function"
|
@@ -1691,9 +1754,14 @@
|
|
1691
1754
|
{
|
1692
1755
|
"components": [
|
1693
1756
|
{
|
1694
|
-
"internalType": "
|
1695
|
-
"name": "
|
1696
|
-
"type": "
|
1757
|
+
"internalType": "contract IERC20Metadata",
|
1758
|
+
"name": "token",
|
1759
|
+
"type": "address"
|
1760
|
+
},
|
1761
|
+
{
|
1762
|
+
"internalType": "contract TokenHandler",
|
1763
|
+
"name": "tokenHandler",
|
1764
|
+
"type": "address"
|
1697
1765
|
},
|
1698
1766
|
{
|
1699
1767
|
"internalType": "NftId",
|
@@ -1701,9 +1769,9 @@
|
|
1701
1769
|
"type": "uint96"
|
1702
1770
|
},
|
1703
1771
|
{
|
1704
|
-
"internalType": "
|
1705
|
-
"name": "
|
1706
|
-
"type": "
|
1772
|
+
"internalType": "NftId",
|
1773
|
+
"name": "poolNftId",
|
1774
|
+
"type": "uint96"
|
1707
1775
|
},
|
1708
1776
|
{
|
1709
1777
|
"components": [
|
@@ -1719,7 +1787,7 @@
|
|
1719
1787
|
}
|
1720
1788
|
],
|
1721
1789
|
"internalType": "struct Fee",
|
1722
|
-
"name": "
|
1790
|
+
"name": "distributionFee",
|
1723
1791
|
"type": "tuple"
|
1724
1792
|
},
|
1725
1793
|
{
|
@@ -1736,7 +1804,7 @@
|
|
1736
1804
|
}
|
1737
1805
|
],
|
1738
1806
|
"internalType": "struct Fee",
|
1739
|
-
"name": "
|
1807
|
+
"name": "productFee",
|
1740
1808
|
"type": "tuple"
|
1741
1809
|
},
|
1742
1810
|
{
|
@@ -1753,7 +1821,7 @@
|
|
1753
1821
|
}
|
1754
1822
|
],
|
1755
1823
|
"internalType": "struct Fee",
|
1756
|
-
"name": "
|
1824
|
+
"name": "processingFee",
|
1757
1825
|
"type": "tuple"
|
1758
1826
|
},
|
1759
1827
|
{
|
@@ -1770,7 +1838,7 @@
|
|
1770
1838
|
}
|
1771
1839
|
],
|
1772
1840
|
"internalType": "struct Fee",
|
1773
|
-
"name": "
|
1841
|
+
"name": "poolFee",
|
1774
1842
|
"type": "tuple"
|
1775
1843
|
},
|
1776
1844
|
{
|
@@ -1787,7 +1855,7 @@
|
|
1787
1855
|
}
|
1788
1856
|
],
|
1789
1857
|
"internalType": "struct Fee",
|
1790
|
-
"name": "
|
1858
|
+
"name": "stakingFee",
|
1791
1859
|
"type": "tuple"
|
1792
1860
|
},
|
1793
1861
|
{
|
@@ -1804,53 +1872,31 @@
|
|
1804
1872
|
}
|
1805
1873
|
],
|
1806
1874
|
"internalType": "struct Fee",
|
1807
|
-
"name": "
|
1875
|
+
"name": "performanceFee",
|
1808
1876
|
"type": "tuple"
|
1877
|
+
},
|
1878
|
+
{
|
1879
|
+
"internalType": "bool",
|
1880
|
+
"name": "isIntercepting",
|
1881
|
+
"type": "bool"
|
1882
|
+
},
|
1883
|
+
{
|
1884
|
+
"internalType": "address",
|
1885
|
+
"name": "wallet",
|
1886
|
+
"type": "address"
|
1809
1887
|
}
|
1810
1888
|
],
|
1811
|
-
"internalType": "struct
|
1812
|
-
"name": "
|
1889
|
+
"internalType": "struct ISetup.ProductSetupInfo",
|
1890
|
+
"name": "setup",
|
1813
1891
|
"type": "tuple"
|
1814
|
-
}
|
1815
|
-
],
|
1816
|
-
"name": "setTreasuryInfo",
|
1817
|
-
"outputs": [],
|
1818
|
-
"stateMutability": "nonpayable",
|
1819
|
-
"type": "function"
|
1820
|
-
},
|
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
|
-
{
|
1841
|
-
"inputs": [
|
1842
|
-
{
|
1843
|
-
"internalType": "NftId",
|
1844
|
-
"name": "nftId",
|
1845
|
-
"type": "uint96"
|
1846
1892
|
},
|
1847
1893
|
{
|
1848
1894
|
"internalType": "StateId",
|
1849
|
-
"name": "
|
1895
|
+
"name": "newState",
|
1850
1896
|
"type": "uint8"
|
1851
1897
|
}
|
1852
1898
|
],
|
1853
|
-
"name": "
|
1899
|
+
"name": "updateProductSetup",
|
1854
1900
|
"outputs": [],
|
1855
1901
|
"stateMutability": "nonpayable",
|
1856
1902
|
"type": "function"
|
@@ -1859,16 +1905,16 @@
|
|
1859
1905
|
"inputs": [
|
1860
1906
|
{
|
1861
1907
|
"internalType": "NftId",
|
1862
|
-
"name": "
|
1908
|
+
"name": "productNftId",
|
1863
1909
|
"type": "uint96"
|
1864
1910
|
},
|
1865
1911
|
{
|
1866
1912
|
"internalType": "StateId",
|
1867
|
-
"name": "
|
1913
|
+
"name": "newState",
|
1868
1914
|
"type": "uint8"
|
1869
1915
|
}
|
1870
1916
|
],
|
1871
|
-
"name": "
|
1917
|
+
"name": "updateProductSetupState",
|
1872
1918
|
"outputs": [],
|
1873
1919
|
"stateMutability": "nonpayable",
|
1874
1920
|
"type": "function"
|
@@ -1881,30 +1927,29 @@
|
|
1881
1927
|
"type": "bytes8"
|
1882
1928
|
},
|
1883
1929
|
{
|
1884
|
-
"
|
1885
|
-
|
1886
|
-
|
1887
|
-
|
1888
|
-
|
1889
|
-
|
1890
|
-
|
1891
|
-
|
1892
|
-
|
1893
|
-
|
1894
|
-
|
1895
|
-
|
1896
|
-
|
1897
|
-
"
|
1898
|
-
"
|
1899
|
-
"type": "bytes32"
|
1930
|
+
"components": [
|
1931
|
+
{
|
1932
|
+
"internalType": "NftId",
|
1933
|
+
"name": "productNftId",
|
1934
|
+
"type": "uint96"
|
1935
|
+
},
|
1936
|
+
{
|
1937
|
+
"internalType": "bytes",
|
1938
|
+
"name": "data",
|
1939
|
+
"type": "bytes"
|
1940
|
+
}
|
1941
|
+
],
|
1942
|
+
"internalType": "struct IRisk.RiskInfo",
|
1943
|
+
"name": "risk",
|
1944
|
+
"type": "tuple"
|
1900
1945
|
},
|
1901
1946
|
{
|
1902
1947
|
"internalType": "StateId",
|
1903
|
-
"name": "
|
1948
|
+
"name": "newState",
|
1904
1949
|
"type": "uint8"
|
1905
1950
|
}
|
1906
1951
|
],
|
1907
|
-
"name": "
|
1952
|
+
"name": "updateRisk",
|
1908
1953
|
"outputs": [],
|
1909
1954
|
"stateMutability": "nonpayable",
|
1910
1955
|
"type": "function"
|
@@ -1912,22 +1957,17 @@
|
|
1912
1957
|
{
|
1913
1958
|
"inputs": [
|
1914
1959
|
{
|
1915
|
-
"internalType": "
|
1916
|
-
"name": "
|
1917
|
-
"type": "
|
1918
|
-
},
|
1919
|
-
{
|
1920
|
-
"internalType": "address",
|
1921
|
-
"name": "activatedBy",
|
1922
|
-
"type": "address"
|
1960
|
+
"internalType": "RiskId",
|
1961
|
+
"name": "riskId",
|
1962
|
+
"type": "bytes8"
|
1923
1963
|
},
|
1924
1964
|
{
|
1925
|
-
"internalType": "
|
1926
|
-
"name": "
|
1927
|
-
"type": "
|
1965
|
+
"internalType": "StateId",
|
1966
|
+
"name": "newState",
|
1967
|
+
"type": "uint8"
|
1928
1968
|
}
|
1929
1969
|
],
|
1930
|
-
"name": "
|
1970
|
+
"name": "updateRiskState",
|
1931
1971
|
"outputs": [],
|
1932
1972
|
"stateMutability": "nonpayable",
|
1933
1973
|
"type": "function"
|