@etherisc/gif-next 0.0.2-f99f1d2-109 → 0.0.2-fb8d07b-779
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +268 -7
- package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.dbg.json +4 -0
- package/artifacts/contracts/{instance/component/ComponentModule.sol/ComponentModule.json → components/BaseComponent.sol/BaseComponent.json} +171 -143
- package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +4 -0
- package/artifacts/contracts/components/Distribution.sol/Distribution.json +618 -0
- package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.dbg.json +4 -0
- package/artifacts/contracts/components/{IPool.sol/IPoolComponent.json → IBaseComponent.sol/IBaseComponent.json} +136 -111
- package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +4 -0
- package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.json +152 -0
- package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +4 -0
- package/artifacts/contracts/{instance/policy/IPolicy.sol/IPolicyModule.json → components/IPoolComponent.sol/IPoolComponent.json} +124 -129
- package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +4 -0
- package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.json +157 -0
- package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +1 -1
- package/artifacts/contracts/components/Pool.sol/Pool.json +531 -77
- package/artifacts/contracts/components/Product.sol/Product.dbg.json +1 -1
- package/artifacts/contracts/components/Product.sol/Product.json +526 -97
- package/artifacts/contracts/experiment/cloning/Cloner.sol/Cloner.dbg.json +4 -0
- package/artifacts/contracts/experiment/cloning/Cloner.sol/Cloner.json +66 -0
- package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock1.dbg.json +4 -0
- package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock1.json +24 -0
- package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock2.dbg.json +4 -0
- package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock2.json +42 -0
- package/artifacts/contracts/experiment/errors/Require.sol/Require.dbg.json +1 -1
- package/artifacts/contracts/experiment/errors/Require.sol/Require.json +2 -2
- package/artifacts/contracts/experiment/errors/Revert.sol/Revert.dbg.json +1 -1
- package/artifacts/contracts/experiment/errors/Revert.sol/Revert.json +2 -2
- package/artifacts/contracts/experiment/inheritance/A.sol/A.dbg.json +1 -1
- package/artifacts/contracts/experiment/inheritance/A.sol/A.json +2 -2
- package/artifacts/contracts/experiment/inheritance/A.sol/AShared.dbg.json +1 -1
- package/artifacts/contracts/experiment/inheritance/A.sol/AShared.json +2 -2
- 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/TypeA.sol/TypeALib.json +2 -2
- package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.dbg.json +1 -1
- package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.json +2 -2
- package/artifacts/contracts/instance/AccessManagedSimple.sol/AccessManagedSimple.dbg.json +4 -0
- package/artifacts/contracts/instance/AccessManagedSimple.sol/AccessManagedSimple.json +101 -0
- package/artifacts/contracts/instance/AccessManagerSimple.sol/AccessManagerSimple.dbg.json +4 -0
- package/artifacts/contracts/instance/AccessManagerSimple.sol/AccessManagerSimple.json +1132 -0
- package/artifacts/contracts/instance/IAccessManagerSimple.sol/IAccessManagerSimple.dbg.json +4 -0
- package/artifacts/contracts/instance/IAccessManagerSimple.sol/IAccessManagerSimple.json +1082 -0
- package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
- package/artifacts/contracts/instance/IInstance.sol/IInstance.json +386 -1112
- package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +4 -0
- package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +480 -0
- package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
- package/artifacts/contracts/instance/Instance.sol/Instance.json +2794 -980
- package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +4 -0
- package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +917 -0
- package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +4 -0
- package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +1388 -0
- package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +4 -0
- package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +891 -0
- package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +4 -0
- package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +492 -0
- package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.dbg.json +4 -0
- package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.json +540 -0
- package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.dbg.json +4 -0
- package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.json +113 -0
- package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +4 -0
- package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.json +429 -0
- package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.dbg.json +4 -0
- package/artifacts/contracts/instance/{lifecycle/ILifecycle.sol/ILifecycleModule.json → base/ILifecycle.sol/ILifecycle.json} +10 -77
- package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +4 -0
- package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.json +502 -0
- package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +4 -0
- package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +169 -0
- package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +4 -0
- package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +211 -0
- package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +4 -0
- package/artifacts/contracts/instance/{access/IAccess.sol/IAccess.json → module/IBundle.sol/IBundle.json} +2 -2
- package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +4 -0
- package/artifacts/contracts/instance/{component/IComponent.sol/IComponent.json → module/IDistribution.sol/IDistribution.json} +2 -2
- package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +4 -0
- package/artifacts/contracts/instance/{policy → module}/IPolicy.sol/IPolicy.json +1 -1
- package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +4 -0
- package/artifacts/contracts/instance/{pool/IPoolModule.sol/IPool.json → module/IRisk.sol/IRisk.json} +2 -2
- package/artifacts/contracts/instance/module/ISetup.sol/ISetup.dbg.json +4 -0
- package/artifacts/contracts/instance/module/ISetup.sol/ISetup.json +10 -0
- package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.dbg.json +4 -0
- package/artifacts/contracts/instance/{treasury → module}/ITreasury.sol/ITreasury.json +1 -1
- package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.json +827 -0
- package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +716 -0
- package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +4 -0
- package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.json +448 -0
- package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.json +466 -0
- package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.json +446 -0
- package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.json +561 -0
- package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/IProductService.sol/IProductService.json +751 -0
- package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +855 -0
- package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.dbg.json +4 -0
- package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.json +460 -0
- package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
- package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +239 -2
- package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
- package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +589 -24
- package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +4 -0
- package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +853 -0
- package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +4 -0
- package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.json +34 -0
- package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
- package/artifacts/contracts/registry/Registry.sol/Registry.json +741 -50
- package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +4 -0
- package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +1237 -0
- package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +4 -0
- package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +525 -0
- package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +4 -0
- package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +410 -0
- package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.dbg.json +4 -0
- package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.json +107 -0
- package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +4 -0
- package/artifacts/contracts/shared/ERC165.sol/ERC165.json +35 -0
- package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +4 -0
- package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +127 -0
- package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +4 -0
- package/artifacts/contracts/{components/Component.sol/Component.json → shared/IRegisterable.sol/IRegisterable.json} +98 -102
- package/artifacts/contracts/shared/IService.sol/IService.dbg.json +4 -0
- package/artifacts/contracts/shared/IService.sol/IService.json +421 -0
- package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +4 -0
- package/artifacts/contracts/shared/IVersionable.sol/IVersionable.json +205 -0
- package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +4 -0
- package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +158 -0
- package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +4 -0
- package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +349 -0
- package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +4 -0
- package/artifacts/contracts/shared/Registerable.sol/Registerable.json +274 -0
- package/artifacts/contracts/shared/RegisterableUpgradable.sol/RegisterableUpgradable.dbg.json +4 -0
- package/artifacts/contracts/shared/RegisterableUpgradable.sol/RegisterableUpgradable.json +442 -0
- package/artifacts/contracts/shared/Service.sol/Service.dbg.json +4 -0
- package/artifacts/contracts/shared/Service.sol/Service.json +468 -0
- 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 +4 -0
- package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +129 -0
- package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +4 -0
- package/artifacts/contracts/shared/Versionable.sol/Versionable.json +228 -0
- package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +4 -0
- package/artifacts/contracts/test/TestFee.sol/TestFee.json +119 -0
- package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +4 -0
- package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +305 -0
- package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +4 -0
- package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +116 -0
- package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +4 -0
- package/artifacts/contracts/test/TestService.sol/TestService.json +600 -0
- package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +4 -0
- package/artifacts/contracts/test/TestToken.sol/TestUsdc.json +376 -0
- package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +4 -0
- package/artifacts/contracts/test/TestVersion.sol/TestVersion.json +218 -0
- package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +4 -0
- package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +286 -0
- package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +4 -0
- package/artifacts/contracts/test/Usdc.sol/USDC.json +376 -0
- package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +4 -0
- package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.json +10 -0
- package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +1 -1
- package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.json +2 -2
- package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +1 -1
- package/artifacts/contracts/types/ChainId.sol/ChainIdLib.json +2 -2
- 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 +4 -0
- package/artifacts/contracts/types/Fee.sol/FeeLib.json +257 -0
- package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +4 -0
- package/artifacts/contracts/types/Key32.sol/Key32Lib.json +125 -0
- package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +1 -1
- package/artifacts/contracts/types/NftId.sol/NftIdLib.json +65 -4
- package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +4 -0
- package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.json +10 -0
- 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 +4 -0
- package/artifacts/contracts/types/RiskId.sol/RiskIdLib.json +86 -0
- package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +4 -0
- package/artifacts/contracts/types/RoleId.sol/RoleIdLib.json +156 -0
- package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +1 -1
- package/artifacts/contracts/types/StateId.sol/StateIdLib.json +2 -2
- package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +1 -1
- package/artifacts/contracts/types/Timestamp.sol/TimestampLib.json +77 -2
- package/artifacts/contracts/types/UFixed.sol/MathLib.dbg.json +4 -0
- package/artifacts/contracts/types/UFixed.sol/MathLib.json +10 -0
- package/artifacts/contracts/types/UFixed.sol/UFixedLib.dbg.json +4 -0
- package/artifacts/contracts/types/UFixed.sol/UFixedLib.json +479 -0
- package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +4 -0
- package/artifacts/contracts/types/Version.sol/VersionLib.json +177 -0
- package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +4 -0
- package/artifacts/contracts/types/Version.sol/VersionPartLib.json +49 -0
- package/contracts/components/BaseComponent.sol +91 -0
- package/contracts/components/Distribution.sol +160 -0
- package/contracts/components/IBaseComponent.sol +25 -0
- package/contracts/components/IDistributionComponent.sol +44 -0
- package/contracts/components/IPoolComponent.sol +62 -0
- package/contracts/components/IProductComponent.sol +35 -0
- package/contracts/components/Pool.sol +216 -25
- package/contracts/components/Product.sol +254 -46
- package/contracts/experiment/cloning/Cloner.sol +47 -0
- package/contracts/instance/AccessManagedSimple.sol +115 -0
- package/contracts/instance/AccessManagerSimple.sol +692 -0
- package/contracts/instance/IAccessManagerSimple.sol +391 -0
- package/contracts/instance/IInstance.sol +38 -24
- package/contracts/instance/IInstanceService.sol +30 -0
- package/contracts/instance/Instance.sol +423 -52
- package/contracts/instance/InstanceAccessManager.sol +288 -0
- package/contracts/instance/InstanceReader.sol +306 -0
- package/contracts/instance/InstanceService.sol +182 -0
- package/contracts/instance/InstanceServiceManager.sol +56 -0
- package/contracts/instance/base/ComponentServiceBase.sol +125 -0
- package/contracts/instance/base/IInstanceBase.sol +23 -0
- package/contracts/instance/base/IKeyValueStore.sol +49 -0
- package/contracts/instance/base/ILifecycle.sol +30 -0
- package/contracts/instance/base/KeyValueStore.sol +172 -0
- package/contracts/instance/base/Lifecycle.sol +100 -0
- package/contracts/instance/module/IAccess.sol +38 -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 +44 -0
- package/contracts/instance/module/ITreasury.sol +23 -0
- package/contracts/instance/service/ComponentOwnerService.sol +317 -0
- package/contracts/instance/service/DistributionService.sol +87 -0
- package/contracts/instance/service/DistributionServiceManager.sol +53 -0
- package/contracts/instance/service/IComponentOwnerService.sol +20 -0
- package/contracts/instance/service/IDistributionService.sol +12 -0
- package/contracts/instance/service/IPoolService.sol +37 -0
- package/contracts/instance/service/IProductService.sol +107 -0
- package/contracts/instance/service/PoolService.sol +193 -0
- package/contracts/instance/service/PoolServiceManager.sol +53 -0
- package/contracts/registry/ChainNft.sol +129 -62
- package/contracts/registry/IRegistry.sol +70 -43
- package/contracts/registry/IRegistryService.sol +33 -0
- package/contracts/registry/ITransferInterceptor.sol +6 -0
- package/contracts/registry/Registry.sol +432 -125
- package/contracts/registry/RegistryService.sol +399 -0
- package/contracts/registry/RegistryServiceManager.sol +80 -0
- package/contracts/registry/TokenRegistry.sol +111 -0
- package/contracts/shared/ContractDeployerLib.sol +72 -0
- package/contracts/shared/ERC165.sol +25 -0
- package/contracts/shared/INftOwnable.sol +22 -0
- package/contracts/shared/IRegisterable.sol +17 -0
- package/contracts/shared/IService.sol +15 -0
- package/contracts/shared/IVersionable.sol +96 -0
- package/contracts/shared/NftOwnable.sol +136 -0
- package/contracts/shared/ProxyManager.sol +94 -0
- package/contracts/shared/Registerable.sol +90 -0
- package/contracts/shared/RegisterableUpgradable.sol +16 -0
- package/contracts/shared/Service.sol +55 -0
- package/contracts/shared/TokenHandler.sol +27 -0
- package/contracts/shared/UpgradableProxyWithAdmin.sol +16 -0
- package/contracts/shared/Versionable.sol +147 -0
- package/contracts/test/TestFee.sol +25 -0
- package/contracts/test/TestRegisterable.sol +18 -0
- package/contracts/test/TestRoleId.sol +14 -0
- package/contracts/test/TestService.sol +24 -0
- package/contracts/test/TestToken.sol +26 -0
- package/contracts/test/TestVersion.sol +44 -0
- package/contracts/test/TestVersionable.sol +17 -0
- package/contracts/test/Usdc.sol +26 -0
- package/contracts/types/AddressSet.sol +58 -0
- package/contracts/types/DistributorType.sol +55 -0
- package/contracts/types/Fee.sol +44 -20
- package/contracts/types/Key32.sol +50 -0
- package/contracts/types/NftId.sol +22 -1
- package/contracts/types/NftIdSet.sol +60 -0
- package/contracts/types/NumberId.sol +52 -0
- package/contracts/types/ObjectType.sol +60 -15
- package/contracts/types/Referral.sol +85 -0
- package/contracts/types/RiskId.sol +43 -0
- package/contracts/types/RoleId.sol +89 -0
- package/contracts/types/StateId.sol +18 -4
- package/contracts/types/Timestamp.sol +29 -4
- package/contracts/types/UFixed.sol +150 -31
- package/contracts/types/Version.sol +107 -0
- package/package.json +12 -5
- package/artifacts/contracts/components/Component.sol/Component.dbg.json +0 -4
- package/artifacts/contracts/components/Component.sol/InstanceLinked.dbg.json +0 -4
- package/artifacts/contracts/components/Component.sol/InstanceLinked.json +0 -35
- package/artifacts/contracts/components/IPool.sol/IPoolComponent.dbg.json +0 -4
- package/artifacts/contracts/components/IProduct.sol/IProductComponent.dbg.json +0 -4
- package/artifacts/contracts/components/IProduct.sol/IProductComponent.json +0 -74
- package/artifacts/contracts/instance/access/Access.sol/AccessModule.dbg.json +0 -4
- package/artifacts/contracts/instance/access/Access.sol/AccessModule.json +0 -400
- package/artifacts/contracts/instance/access/IAccess.sol/IAccess.dbg.json +0 -4
- package/artifacts/contracts/instance/access/IAccess.sol/IAccessCheckRole.dbg.json +0 -4
- package/artifacts/contracts/instance/access/IAccess.sol/IAccessCheckRole.json +0 -35
- package/artifacts/contracts/instance/access/IAccess.sol/IAccessComponentTypeRoles.dbg.json +0 -4
- package/artifacts/contracts/instance/access/IAccess.sol/IAccessComponentTypeRoles.json +0 -50
- package/artifacts/contracts/instance/access/IAccess.sol/IAccessModule.dbg.json +0 -4
- package/artifacts/contracts/instance/access/IAccess.sol/IAccessModule.json +0 -336
- package/artifacts/contracts/instance/component/ComponentModule.sol/ComponentModule.dbg.json +0 -4
- package/artifacts/contracts/instance/component/ComponentModule.sol/ComponentOwnerService.dbg.json +0 -4
- package/artifacts/contracts/instance/component/ComponentModule.sol/ComponentOwnerService.json +0 -202
- package/artifacts/contracts/instance/component/IComponent.sol/IComponent.dbg.json +0 -4
- package/artifacts/contracts/instance/component/IComponent.sol/IComponentContract.dbg.json +0 -4
- package/artifacts/contracts/instance/component/IComponent.sol/IComponentContract.json +0 -205
- package/artifacts/contracts/instance/component/IComponent.sol/IComponentModule.dbg.json +0 -4
- package/artifacts/contracts/instance/component/IComponent.sol/IComponentModule.json +0 -217
- package/artifacts/contracts/instance/component/IComponent.sol/IComponentOwnerService.dbg.json +0 -4
- package/artifacts/contracts/instance/component/IComponent.sol/IComponentOwnerService.json +0 -141
- package/artifacts/contracts/instance/component/IComponent.sol/IInstanceLinked.dbg.json +0 -4
- package/artifacts/contracts/instance/component/IComponent.sol/IInstanceLinked.json +0 -24
- package/artifacts/contracts/instance/lifecycle/ILifecycle.sol/ILifecycle.dbg.json +0 -4
- package/artifacts/contracts/instance/lifecycle/ILifecycle.sol/ILifecycle.json +0 -134
- package/artifacts/contracts/instance/lifecycle/ILifecycle.sol/ILifecycleModule.dbg.json +0 -4
- package/artifacts/contracts/instance/lifecycle/LifecycleModule.sol/LifecycleModule.dbg.json +0 -4
- package/artifacts/contracts/instance/lifecycle/LifecycleModule.sol/LifecycleModule.json +0 -221
- package/artifacts/contracts/instance/policy/IPolicy.sol/IPolicy.dbg.json +0 -4
- package/artifacts/contracts/instance/policy/IPolicy.sol/IPolicyModule.dbg.json +0 -4
- package/artifacts/contracts/instance/policy/PolicyModule.sol/PolicyModule.dbg.json +0 -4
- package/artifacts/contracts/instance/policy/PolicyModule.sol/PolicyModule.json +0 -254
- package/artifacts/contracts/instance/pool/IPoolModule.sol/IPool.dbg.json +0 -4
- package/artifacts/contracts/instance/pool/IPoolModule.sol/IPoolModule.dbg.json +0 -4
- package/artifacts/contracts/instance/pool/IPoolModule.sol/IPoolModule.json +0 -129
- package/artifacts/contracts/instance/pool/PoolModule.sol/PoolModule.dbg.json +0 -4
- package/artifacts/contracts/instance/pool/PoolModule.sol/PoolModule.json +0 -155
- package/artifacts/contracts/instance/product/IProductService.sol/IProductModule.dbg.json +0 -4
- package/artifacts/contracts/instance/product/IProductService.sol/IProductModule.json +0 -75
- package/artifacts/contracts/instance/product/IProductService.sol/IProductService.dbg.json +0 -4
- package/artifacts/contracts/instance/product/IProductService.sol/IProductService.json +0 -127
- package/artifacts/contracts/instance/product/ProductService.sol/ProductModule.dbg.json +0 -4
- package/artifacts/contracts/instance/product/ProductService.sol/ProductModule.json +0 -75
- package/artifacts/contracts/instance/product/ProductService.sol/ProductService.dbg.json +0 -4
- package/artifacts/contracts/instance/product/ProductService.sol/ProductService.json +0 -196
- package/artifacts/contracts/instance/treasury/ITreasury.sol/ITreasury.dbg.json +0 -4
- package/artifacts/contracts/instance/treasury/ITreasury.sol/ITreasuryModule.dbg.json +0 -4
- package/artifacts/contracts/instance/treasury/ITreasury.sol/ITreasuryModule.json +0 -490
- package/artifacts/contracts/instance/treasury/TokenHandler.sol/TokenHandler.dbg.json +0 -4
- package/artifacts/contracts/instance/treasury/TokenHandler.sol/TokenHandler.json +0 -45
- package/artifacts/contracts/instance/treasury/TreasuryModule.sol/TreasuryModule.dbg.json +0 -4
- package/artifacts/contracts/instance/treasury/TreasuryModule.sol/TreasuryModule.json +0 -490
- package/artifacts/contracts/registry/IChainNft.sol/IChainNft.dbg.json +0 -4
- package/artifacts/contracts/registry/IChainNft.sol/IChainNft.json +0 -452
- package/artifacts/contracts/registry/IRegistry.sol/IOwnable.dbg.json +0 -4
- package/artifacts/contracts/registry/IRegistry.sol/IOwnable.json +0 -24
- package/artifacts/contracts/registry/IRegistry.sol/IRegisterable.dbg.json +0 -4
- package/artifacts/contracts/registry/IRegistry.sol/IRegisterable.json +0 -166
- package/artifacts/contracts/registry/IRegistry.sol/IRegistryLinked.dbg.json +0 -4
- package/artifacts/contracts/registry/IRegistry.sol/IRegistryLinked.json +0 -49
- package/artifacts/contracts/registry/Registry.sol/Registerable.dbg.json +0 -4
- package/artifacts/contracts/registry/Registry.sol/Registerable.json +0 -166
- package/artifacts/contracts/registry/Registry.sol/RegistryLinked.dbg.json +0 -4
- package/artifacts/contracts/registry/Registry.sol/RegistryLinked.json +0 -60
- package/artifacts/contracts/types/UFixed.sol/UFixedMathLib.dbg.json +0 -4
- package/artifacts/contracts/types/UFixed.sol/UFixedMathLib.json +0 -453
- package/contracts/components/Component.sol +0 -77
- package/contracts/components/IPool.sol +0 -15
- package/contracts/components/IProduct.sol +0 -16
- package/contracts/experiment/statemachine/README.md +0 -112
- package/contracts/instance/access/Access.sol +0 -165
- package/contracts/instance/access/IAccess.sol +0 -63
- package/contracts/instance/component/ComponentModule.sol +0 -274
- package/contracts/instance/component/IComponent.sol +0 -74
- package/contracts/instance/lifecycle/ILifecycle.sol +0 -47
- package/contracts/instance/lifecycle/LifecycleModule.sol +0 -88
- package/contracts/instance/policy/IPolicy.sol +0 -50
- package/contracts/instance/policy/PolicyModule.sol +0 -114
- package/contracts/instance/pool/IPoolModule.sol +0 -23
- package/contracts/instance/pool/PoolModule.sol +0 -81
- package/contracts/instance/product/IProductService.sol +0 -36
- package/contracts/instance/product/ProductService.sol +0 -136
- package/contracts/instance/treasury/ITreasury.sol +0 -91
- package/contracts/instance/treasury/TokenHandler.sol +0 -24
- package/contracts/instance/treasury/TreasuryModule.sol +0 -168
- package/contracts/registry/IChainNft.sol +0 -21
@@ -7,672 +7,134 @@
|
|
7
7
|
"inputs": [
|
8
8
|
{
|
9
9
|
"internalType": "NftId",
|
10
|
-
"name": "
|
11
|
-
"type": "uint96"
|
12
|
-
},
|
13
|
-
{
|
14
|
-
"internalType": "ObjectType",
|
15
|
-
"name": "objectType",
|
16
|
-
"type": "uint8"
|
17
|
-
},
|
18
|
-
{
|
19
|
-
"internalType": "StateId",
|
20
|
-
"name": "fromStateId",
|
21
|
-
"type": "uint8"
|
22
|
-
},
|
23
|
-
{
|
24
|
-
"internalType": "StateId",
|
25
|
-
"name": "toStateId",
|
26
|
-
"type": "uint8"
|
27
|
-
}
|
28
|
-
],
|
29
|
-
"name": "ErrorInvalidStateTransition",
|
30
|
-
"type": "error"
|
31
|
-
},
|
32
|
-
{
|
33
|
-
"inputs": [
|
34
|
-
{
|
35
|
-
"internalType": "NftId",
|
36
|
-
"name": "nftId",
|
37
|
-
"type": "uint96"
|
38
|
-
},
|
39
|
-
{
|
40
|
-
"internalType": "ObjectType",
|
41
|
-
"name": "objectType",
|
42
|
-
"type": "uint8"
|
43
|
-
}
|
44
|
-
],
|
45
|
-
"name": "ErrorNoLifecycle",
|
46
|
-
"type": "error"
|
47
|
-
},
|
48
|
-
{
|
49
|
-
"anonymous": false,
|
50
|
-
"inputs": [
|
51
|
-
{
|
52
|
-
"indexed": false,
|
53
|
-
"internalType": "NftId",
|
54
|
-
"name": "nftId",
|
55
|
-
"type": "uint96"
|
56
|
-
},
|
57
|
-
{
|
58
|
-
"indexed": false,
|
59
|
-
"internalType": "StateId",
|
60
|
-
"name": "fromStateId",
|
61
|
-
"type": "uint8"
|
62
|
-
},
|
63
|
-
{
|
64
|
-
"indexed": false,
|
65
|
-
"internalType": "StateId",
|
66
|
-
"name": "toStateId",
|
67
|
-
"type": "uint8"
|
68
|
-
}
|
69
|
-
],
|
70
|
-
"name": "LogBundleStateChanged",
|
71
|
-
"type": "event"
|
72
|
-
},
|
73
|
-
{
|
74
|
-
"anonymous": false,
|
75
|
-
"inputs": [
|
76
|
-
{
|
77
|
-
"indexed": false,
|
78
|
-
"internalType": "NftId",
|
79
|
-
"name": "nftId",
|
80
|
-
"type": "uint96"
|
81
|
-
},
|
82
|
-
{
|
83
|
-
"indexed": false,
|
84
|
-
"internalType": "ObjectType",
|
85
|
-
"name": "objectType",
|
86
|
-
"type": "uint8"
|
87
|
-
},
|
88
|
-
{
|
89
|
-
"indexed": false,
|
90
|
-
"internalType": "StateId",
|
91
|
-
"name": "fromStateId",
|
92
|
-
"type": "uint8"
|
93
|
-
},
|
94
|
-
{
|
95
|
-
"indexed": false,
|
96
|
-
"internalType": "StateId",
|
97
|
-
"name": "toStateId",
|
98
|
-
"type": "uint8"
|
99
|
-
}
|
100
|
-
],
|
101
|
-
"name": "LogComponentStateChanged",
|
102
|
-
"type": "event"
|
103
|
-
},
|
104
|
-
{
|
105
|
-
"anonymous": false,
|
106
|
-
"inputs": [
|
107
|
-
{
|
108
|
-
"indexed": false,
|
109
|
-
"internalType": "uint256",
|
110
|
-
"name": "idx",
|
111
|
-
"type": "uint256"
|
112
|
-
},
|
113
|
-
{
|
114
|
-
"indexed": false,
|
115
|
-
"internalType": "address",
|
116
|
-
"name": "module",
|
117
|
-
"type": "address"
|
118
|
-
},
|
119
|
-
{
|
120
|
-
"indexed": false,
|
121
|
-
"internalType": "string",
|
122
|
-
"name": "comment",
|
123
|
-
"type": "string"
|
124
|
-
}
|
125
|
-
],
|
126
|
-
"name": "LogDebug",
|
127
|
-
"type": "event"
|
128
|
-
},
|
129
|
-
{
|
130
|
-
"anonymous": false,
|
131
|
-
"inputs": [
|
132
|
-
{
|
133
|
-
"indexed": false,
|
134
|
-
"internalType": "NftId",
|
135
|
-
"name": "nftId",
|
136
|
-
"type": "uint96"
|
137
|
-
},
|
138
|
-
{
|
139
|
-
"indexed": false,
|
140
|
-
"internalType": "StateId",
|
141
|
-
"name": "fromStateId",
|
142
|
-
"type": "uint8"
|
143
|
-
},
|
144
|
-
{
|
145
|
-
"indexed": false,
|
146
|
-
"internalType": "StateId",
|
147
|
-
"name": "toStateId",
|
148
|
-
"type": "uint8"
|
149
|
-
}
|
150
|
-
],
|
151
|
-
"name": "LogPolicyStateChanged",
|
152
|
-
"type": "event"
|
153
|
-
},
|
154
|
-
{
|
155
|
-
"inputs": [],
|
156
|
-
"name": "ORACLE_OWNER_ROLE",
|
157
|
-
"outputs": [
|
158
|
-
{
|
159
|
-
"internalType": "bytes32",
|
160
|
-
"name": "role",
|
161
|
-
"type": "bytes32"
|
162
|
-
}
|
163
|
-
],
|
164
|
-
"stateMutability": "view",
|
165
|
-
"type": "function"
|
166
|
-
},
|
167
|
-
{
|
168
|
-
"inputs": [],
|
169
|
-
"name": "POOL_OWNER_ROLE",
|
170
|
-
"outputs": [
|
171
|
-
{
|
172
|
-
"internalType": "bytes32",
|
173
|
-
"name": "role",
|
174
|
-
"type": "bytes32"
|
175
|
-
}
|
176
|
-
],
|
177
|
-
"stateMutability": "view",
|
178
|
-
"type": "function"
|
179
|
-
},
|
180
|
-
{
|
181
|
-
"inputs": [],
|
182
|
-
"name": "PRODUCT_OWNER_ROLE",
|
183
|
-
"outputs": [
|
184
|
-
{
|
185
|
-
"internalType": "bytes32",
|
186
|
-
"name": "role",
|
187
|
-
"type": "bytes32"
|
188
|
-
}
|
189
|
-
],
|
190
|
-
"stateMutability": "view",
|
191
|
-
"type": "function"
|
192
|
-
},
|
193
|
-
{
|
194
|
-
"inputs": [
|
195
|
-
{
|
196
|
-
"internalType": "NftId",
|
197
|
-
"name": "nftId",
|
198
|
-
"type": "uint96"
|
199
|
-
}
|
200
|
-
],
|
201
|
-
"name": "activate",
|
202
|
-
"outputs": [],
|
203
|
-
"stateMutability": "nonpayable",
|
204
|
-
"type": "function"
|
205
|
-
},
|
206
|
-
{
|
207
|
-
"inputs": [
|
208
|
-
{
|
209
|
-
"internalType": "uint256",
|
210
|
-
"name": "amount",
|
211
|
-
"type": "uint256"
|
212
|
-
},
|
213
|
-
{
|
214
|
-
"components": [
|
215
|
-
{
|
216
|
-
"internalType": "UFixed",
|
217
|
-
"name": "fractionalFee",
|
218
|
-
"type": "uint256"
|
219
|
-
},
|
220
|
-
{
|
221
|
-
"internalType": "uint256",
|
222
|
-
"name": "fixedFee",
|
223
|
-
"type": "uint256"
|
224
|
-
}
|
225
|
-
],
|
226
|
-
"internalType": "struct Fee",
|
227
|
-
"name": "fee",
|
228
|
-
"type": "tuple"
|
229
|
-
}
|
230
|
-
],
|
231
|
-
"name": "calculateFeeAmount",
|
232
|
-
"outputs": [
|
233
|
-
{
|
234
|
-
"internalType": "uint256",
|
235
|
-
"name": "feeAmount",
|
236
|
-
"type": "uint256"
|
237
|
-
},
|
238
|
-
{
|
239
|
-
"internalType": "uint256",
|
240
|
-
"name": "netAmount",
|
241
|
-
"type": "uint256"
|
242
|
-
}
|
243
|
-
],
|
244
|
-
"stateMutability": "pure",
|
245
|
-
"type": "function"
|
246
|
-
},
|
247
|
-
{
|
248
|
-
"inputs": [],
|
249
|
-
"name": "components",
|
250
|
-
"outputs": [
|
251
|
-
{
|
252
|
-
"internalType": "uint256",
|
253
|
-
"name": "numberOfCompnents",
|
254
|
-
"type": "uint256"
|
255
|
-
}
|
256
|
-
],
|
257
|
-
"stateMutability": "view",
|
258
|
-
"type": "function"
|
259
|
-
},
|
260
|
-
{
|
261
|
-
"inputs": [
|
262
|
-
{
|
263
|
-
"components": [
|
264
|
-
{
|
265
|
-
"internalType": "NftId",
|
266
|
-
"name": "nftId",
|
267
|
-
"type": "uint96"
|
268
|
-
},
|
269
|
-
{
|
270
|
-
"internalType": "NftId",
|
271
|
-
"name": "parentNftId",
|
272
|
-
"type": "uint96"
|
273
|
-
},
|
274
|
-
{
|
275
|
-
"internalType": "ObjectType",
|
276
|
-
"name": "objectType",
|
277
|
-
"type": "uint8"
|
278
|
-
},
|
279
|
-
{
|
280
|
-
"internalType": "address",
|
281
|
-
"name": "objectAddress",
|
282
|
-
"type": "address"
|
283
|
-
},
|
284
|
-
{
|
285
|
-
"internalType": "address",
|
286
|
-
"name": "initialOwner",
|
287
|
-
"type": "address"
|
288
|
-
}
|
289
|
-
],
|
290
|
-
"internalType": "struct IRegistry.RegistryInfo",
|
291
|
-
"name": "productInfo",
|
292
|
-
"type": "tuple"
|
293
|
-
},
|
294
|
-
{
|
295
|
-
"internalType": "address",
|
296
|
-
"name": "applicationOwner",
|
297
|
-
"type": "address"
|
298
|
-
},
|
299
|
-
{
|
300
|
-
"internalType": "uint256",
|
301
|
-
"name": "sumInsuredAmount",
|
302
|
-
"type": "uint256"
|
303
|
-
},
|
304
|
-
{
|
305
|
-
"internalType": "uint256",
|
306
|
-
"name": "premiumAmount",
|
307
|
-
"type": "uint256"
|
308
|
-
},
|
309
|
-
{
|
310
|
-
"internalType": "uint256",
|
311
|
-
"name": "lifetime",
|
312
|
-
"type": "uint256"
|
313
|
-
},
|
314
|
-
{
|
315
|
-
"internalType": "NftId",
|
316
|
-
"name": "bundleNftId",
|
317
|
-
"type": "uint96"
|
318
|
-
}
|
319
|
-
],
|
320
|
-
"name": "createApplication",
|
321
|
-
"outputs": [
|
322
|
-
{
|
323
|
-
"internalType": "NftId",
|
324
|
-
"name": "nftId",
|
325
|
-
"type": "uint96"
|
326
|
-
}
|
327
|
-
],
|
328
|
-
"stateMutability": "nonpayable",
|
329
|
-
"type": "function"
|
330
|
-
},
|
331
|
-
{
|
332
|
-
"inputs": [
|
333
|
-
{
|
334
|
-
"internalType": "string",
|
335
|
-
"name": "roleName",
|
336
|
-
"type": "string"
|
337
|
-
}
|
338
|
-
],
|
339
|
-
"name": "createRole",
|
340
|
-
"outputs": [
|
341
|
-
{
|
342
|
-
"internalType": "bytes32",
|
343
|
-
"name": "role",
|
344
|
-
"type": "bytes32"
|
345
|
-
}
|
346
|
-
],
|
347
|
-
"stateMutability": "nonpayable",
|
348
|
-
"type": "function"
|
349
|
-
},
|
350
|
-
{
|
351
|
-
"inputs": [
|
352
|
-
{
|
353
|
-
"internalType": "bytes32",
|
354
|
-
"name": "role",
|
355
|
-
"type": "bytes32"
|
356
|
-
}
|
357
|
-
],
|
358
|
-
"name": "disableRole",
|
359
|
-
"outputs": [],
|
360
|
-
"stateMutability": "nonpayable",
|
361
|
-
"type": "function"
|
362
|
-
},
|
363
|
-
{
|
364
|
-
"inputs": [
|
365
|
-
{
|
366
|
-
"internalType": "bytes32",
|
367
|
-
"name": "role",
|
368
|
-
"type": "bytes32"
|
369
|
-
}
|
370
|
-
],
|
371
|
-
"name": "enableRole",
|
372
|
-
"outputs": [],
|
373
|
-
"stateMutability": "nonpayable",
|
374
|
-
"type": "function"
|
375
|
-
},
|
376
|
-
{
|
377
|
-
"inputs": [
|
378
|
-
{
|
379
|
-
"internalType": "NftId",
|
380
|
-
"name": "nftId",
|
381
|
-
"type": "uint96"
|
382
|
-
}
|
383
|
-
],
|
384
|
-
"name": "getBundleNftForPolicy",
|
385
|
-
"outputs": [
|
386
|
-
{
|
387
|
-
"internalType": "NftId",
|
388
|
-
"name": "bundleNft",
|
389
|
-
"type": "uint96"
|
390
|
-
}
|
391
|
-
],
|
392
|
-
"stateMutability": "view",
|
393
|
-
"type": "function"
|
394
|
-
},
|
395
|
-
{
|
396
|
-
"inputs": [
|
397
|
-
{
|
398
|
-
"internalType": "address",
|
399
|
-
"name": "componentAddress",
|
400
|
-
"type": "address"
|
401
|
-
}
|
402
|
-
],
|
403
|
-
"name": "getComponentId",
|
404
|
-
"outputs": [
|
405
|
-
{
|
406
|
-
"internalType": "NftId",
|
407
|
-
"name": "nftId",
|
408
|
-
"type": "uint96"
|
409
|
-
}
|
410
|
-
],
|
411
|
-
"stateMutability": "view",
|
412
|
-
"type": "function"
|
413
|
-
},
|
414
|
-
{
|
415
|
-
"inputs": [
|
416
|
-
{
|
417
|
-
"internalType": "uint256",
|
418
|
-
"name": "idx",
|
419
|
-
"type": "uint256"
|
420
|
-
}
|
421
|
-
],
|
422
|
-
"name": "getComponentId",
|
423
|
-
"outputs": [
|
424
|
-
{
|
425
|
-
"internalType": "NftId",
|
426
|
-
"name": "nftId",
|
427
|
-
"type": "uint96"
|
428
|
-
}
|
429
|
-
],
|
430
|
-
"stateMutability": "view",
|
431
|
-
"type": "function"
|
432
|
-
},
|
433
|
-
{
|
434
|
-
"inputs": [
|
435
|
-
{
|
436
|
-
"internalType": "NftId",
|
437
|
-
"name": "nftId",
|
438
|
-
"type": "uint96"
|
439
|
-
}
|
440
|
-
],
|
441
|
-
"name": "getComponentInfo",
|
442
|
-
"outputs": [
|
443
|
-
{
|
444
|
-
"components": [
|
445
|
-
{
|
446
|
-
"internalType": "NftId",
|
447
|
-
"name": "nftId",
|
448
|
-
"type": "uint96"
|
449
|
-
},
|
450
|
-
{
|
451
|
-
"internalType": "StateId",
|
452
|
-
"name": "state",
|
453
|
-
"type": "uint8"
|
454
|
-
},
|
455
|
-
{
|
456
|
-
"internalType": "contract IERC20Metadata",
|
457
|
-
"name": "token",
|
458
|
-
"type": "address"
|
459
|
-
}
|
460
|
-
],
|
461
|
-
"internalType": "struct IComponent.ComponentInfo",
|
462
|
-
"name": "info",
|
463
|
-
"type": "tuple"
|
464
|
-
}
|
465
|
-
],
|
466
|
-
"stateMutability": "view",
|
467
|
-
"type": "function"
|
468
|
-
},
|
469
|
-
{
|
470
|
-
"inputs": [],
|
471
|
-
"name": "getComponentOwnerService",
|
472
|
-
"outputs": [
|
473
|
-
{
|
474
|
-
"internalType": "contract IComponentOwnerService",
|
475
|
-
"name": "",
|
476
|
-
"type": "address"
|
477
|
-
}
|
478
|
-
],
|
479
|
-
"stateMutability": "view",
|
480
|
-
"type": "function"
|
481
|
-
},
|
482
|
-
{
|
483
|
-
"inputs": [],
|
484
|
-
"name": "getData",
|
485
|
-
"outputs": [
|
486
|
-
{
|
487
|
-
"internalType": "bytes",
|
488
|
-
"name": "data",
|
489
|
-
"type": "bytes"
|
490
|
-
}
|
491
|
-
],
|
492
|
-
"stateMutability": "view",
|
493
|
-
"type": "function"
|
494
|
-
},
|
495
|
-
{
|
496
|
-
"inputs": [],
|
497
|
-
"name": "getInitialOwner",
|
498
|
-
"outputs": [
|
499
|
-
{
|
500
|
-
"internalType": "address",
|
501
|
-
"name": "initialOwner",
|
502
|
-
"type": "address"
|
503
|
-
}
|
504
|
-
],
|
505
|
-
"stateMutability": "view",
|
506
|
-
"type": "function"
|
507
|
-
},
|
508
|
-
{
|
509
|
-
"inputs": [
|
510
|
-
{
|
511
|
-
"internalType": "ObjectType",
|
512
|
-
"name": "objectType",
|
513
|
-
"type": "uint8"
|
514
|
-
}
|
515
|
-
],
|
516
|
-
"name": "getInitialState",
|
517
|
-
"outputs": [
|
518
|
-
{
|
519
|
-
"internalType": "StateId",
|
520
|
-
"name": "",
|
521
|
-
"type": "uint8"
|
522
|
-
}
|
523
|
-
],
|
524
|
-
"stateMutability": "view",
|
525
|
-
"type": "function"
|
526
|
-
},
|
527
|
-
{
|
528
|
-
"inputs": [],
|
529
|
-
"name": "getNftId",
|
530
|
-
"outputs": [
|
531
|
-
{
|
532
|
-
"internalType": "NftId",
|
533
|
-
"name": "nftId",
|
534
|
-
"type": "uint96"
|
535
|
-
}
|
536
|
-
],
|
537
|
-
"stateMutability": "view",
|
538
|
-
"type": "function"
|
539
|
-
},
|
540
|
-
{
|
541
|
-
"inputs": [],
|
542
|
-
"name": "getOwner",
|
543
|
-
"outputs": [
|
544
|
-
{
|
545
|
-
"internalType": "address",
|
546
|
-
"name": "owner",
|
547
|
-
"type": "address"
|
548
|
-
}
|
549
|
-
],
|
550
|
-
"stateMutability": "view",
|
551
|
-
"type": "function"
|
552
|
-
},
|
553
|
-
{
|
554
|
-
"inputs": [],
|
555
|
-
"name": "getParentNftId",
|
556
|
-
"outputs": [
|
557
|
-
{
|
558
|
-
"internalType": "NftId",
|
559
|
-
"name": "parentNftId",
|
560
|
-
"type": "uint96"
|
561
|
-
}
|
562
|
-
],
|
563
|
-
"stateMutability": "view",
|
564
|
-
"type": "function"
|
565
|
-
},
|
566
|
-
{
|
567
|
-
"inputs": [
|
568
|
-
{
|
569
|
-
"internalType": "NftId",
|
570
|
-
"name": "nftId",
|
10
|
+
"name": "bundleNftId",
|
571
11
|
"type": "uint96"
|
572
|
-
}
|
573
|
-
],
|
574
|
-
"name": "getPolicyInfo",
|
575
|
-
"outputs": [
|
12
|
+
},
|
576
13
|
{
|
577
14
|
"components": [
|
578
15
|
{
|
579
16
|
"internalType": "NftId",
|
580
|
-
"name": "
|
17
|
+
"name": "poolNftId",
|
581
18
|
"type": "uint96"
|
582
19
|
},
|
583
20
|
{
|
584
|
-
"
|
585
|
-
|
586
|
-
|
587
|
-
|
588
|
-
|
589
|
-
|
590
|
-
|
591
|
-
|
592
|
-
|
593
|
-
|
594
|
-
|
595
|
-
|
596
|
-
"
|
21
|
+
"components": [
|
22
|
+
{
|
23
|
+
"internalType": "UFixed",
|
24
|
+
"name": "fractionalFee",
|
25
|
+
"type": "uint256"
|
26
|
+
},
|
27
|
+
{
|
28
|
+
"internalType": "uint256",
|
29
|
+
"name": "fixedFee",
|
30
|
+
"type": "uint256"
|
31
|
+
}
|
32
|
+
],
|
33
|
+
"internalType": "struct Fee",
|
34
|
+
"name": "fee",
|
35
|
+
"type": "tuple"
|
597
36
|
},
|
598
37
|
{
|
599
|
-
"internalType": "
|
600
|
-
"name": "
|
601
|
-
"type": "
|
38
|
+
"internalType": "bytes",
|
39
|
+
"name": "filter",
|
40
|
+
"type": "bytes"
|
602
41
|
},
|
603
42
|
{
|
604
43
|
"internalType": "uint256",
|
605
|
-
"name": "
|
44
|
+
"name": "capitalAmount",
|
606
45
|
"type": "uint256"
|
607
46
|
},
|
608
47
|
{
|
609
48
|
"internalType": "uint256",
|
610
|
-
"name": "
|
49
|
+
"name": "lockedAmount",
|
611
50
|
"type": "uint256"
|
612
51
|
},
|
613
52
|
{
|
614
53
|
"internalType": "uint256",
|
615
|
-
"name": "
|
54
|
+
"name": "balanceAmount",
|
616
55
|
"type": "uint256"
|
617
56
|
},
|
618
57
|
{
|
619
58
|
"internalType": "uint256",
|
620
|
-
"name": "
|
59
|
+
"name": "lifetime",
|
621
60
|
"type": "uint256"
|
622
61
|
},
|
623
62
|
{
|
624
|
-
"internalType": "
|
63
|
+
"internalType": "Timestamp",
|
625
64
|
"name": "expiredAt",
|
626
|
-
"type": "
|
65
|
+
"type": "uint40"
|
627
66
|
},
|
628
67
|
{
|
629
|
-
"internalType": "
|
68
|
+
"internalType": "Timestamp",
|
630
69
|
"name": "closedAt",
|
631
|
-
"type": "
|
70
|
+
"type": "uint40"
|
632
71
|
}
|
633
72
|
],
|
634
|
-
"internalType": "struct
|
635
|
-
"name": "
|
73
|
+
"internalType": "struct IBundle.BundleInfo",
|
74
|
+
"name": "bundle",
|
636
75
|
"type": "tuple"
|
637
76
|
}
|
638
77
|
],
|
639
|
-
"
|
78
|
+
"name": "createBundle",
|
79
|
+
"outputs": [],
|
80
|
+
"stateMutability": "nonpayable",
|
640
81
|
"type": "function"
|
641
82
|
},
|
642
83
|
{
|
643
84
|
"inputs": [
|
644
85
|
{
|
645
86
|
"internalType": "NftId",
|
646
|
-
"name": "
|
87
|
+
"name": "distributionNftId",
|
647
88
|
"type": "uint96"
|
648
|
-
}
|
649
|
-
],
|
650
|
-
"name": "getPoolInfo",
|
651
|
-
"outputs": [
|
89
|
+
},
|
652
90
|
{
|
653
91
|
"components": [
|
654
92
|
{
|
655
93
|
"internalType": "NftId",
|
656
|
-
"name": "
|
94
|
+
"name": "productNftId",
|
657
95
|
"type": "uint96"
|
658
96
|
},
|
659
97
|
{
|
660
|
-
"internalType": "
|
661
|
-
"name": "
|
662
|
-
"type": "
|
98
|
+
"internalType": "contract TokenHandler",
|
99
|
+
"name": "tokenHandler",
|
100
|
+
"type": "address"
|
663
101
|
},
|
664
102
|
{
|
665
|
-
"
|
666
|
-
|
667
|
-
|
103
|
+
"components": [
|
104
|
+
{
|
105
|
+
"internalType": "UFixed",
|
106
|
+
"name": "fractionalFee",
|
107
|
+
"type": "uint256"
|
108
|
+
},
|
109
|
+
{
|
110
|
+
"internalType": "uint256",
|
111
|
+
"name": "fixedFee",
|
112
|
+
"type": "uint256"
|
113
|
+
}
|
114
|
+
],
|
115
|
+
"internalType": "struct Fee",
|
116
|
+
"name": "distributionFee",
|
117
|
+
"type": "tuple"
|
118
|
+
},
|
119
|
+
{
|
120
|
+
"internalType": "bool",
|
121
|
+
"name": "isIntercepting",
|
122
|
+
"type": "bool"
|
123
|
+
},
|
124
|
+
{
|
125
|
+
"internalType": "address",
|
126
|
+
"name": "wallet",
|
127
|
+
"type": "address"
|
668
128
|
}
|
669
129
|
],
|
670
|
-
"internalType": "struct
|
671
|
-
"name": "
|
130
|
+
"internalType": "struct ISetup.DistributionSetupInfo",
|
131
|
+
"name": "setup",
|
672
132
|
"type": "tuple"
|
673
133
|
}
|
674
134
|
],
|
675
|
-
"
|
135
|
+
"name": "createDistributionSetup",
|
136
|
+
"outputs": [],
|
137
|
+
"stateMutability": "nonpayable",
|
676
138
|
"type": "function"
|
677
139
|
},
|
678
140
|
{
|
@@ -681,22 +143,41 @@
|
|
681
143
|
"internalType": "NftId",
|
682
144
|
"name": "poolNftId",
|
683
145
|
"type": "uint96"
|
684
|
-
}
|
685
|
-
],
|
686
|
-
"name": "getPoolSetup",
|
687
|
-
"outputs": [
|
146
|
+
},
|
688
147
|
{
|
689
148
|
"components": [
|
690
149
|
{
|
691
150
|
"internalType": "NftId",
|
692
|
-
"name": "
|
151
|
+
"name": "productNftId",
|
693
152
|
"type": "uint96"
|
694
153
|
},
|
695
154
|
{
|
696
|
-
"internalType": "
|
697
|
-
"name": "
|
155
|
+
"internalType": "contract TokenHandler",
|
156
|
+
"name": "tokenHandler",
|
698
157
|
"type": "address"
|
699
158
|
},
|
159
|
+
{
|
160
|
+
"internalType": "UFixed",
|
161
|
+
"name": "collateralizationLevel",
|
162
|
+
"type": "uint256"
|
163
|
+
},
|
164
|
+
{
|
165
|
+
"components": [
|
166
|
+
{
|
167
|
+
"internalType": "UFixed",
|
168
|
+
"name": "fractionalFee",
|
169
|
+
"type": "uint256"
|
170
|
+
},
|
171
|
+
{
|
172
|
+
"internalType": "uint256",
|
173
|
+
"name": "fixedFee",
|
174
|
+
"type": "uint256"
|
175
|
+
}
|
176
|
+
],
|
177
|
+
"internalType": "struct Fee",
|
178
|
+
"name": "poolFee",
|
179
|
+
"type": "tuple"
|
180
|
+
},
|
700
181
|
{
|
701
182
|
"components": [
|
702
183
|
{
|
@@ -730,27 +211,26 @@
|
|
730
211
|
"internalType": "struct Fee",
|
731
212
|
"name": "performanceFee",
|
732
213
|
"type": "tuple"
|
214
|
+
},
|
215
|
+
{
|
216
|
+
"internalType": "bool",
|
217
|
+
"name": "isIntercepting",
|
218
|
+
"type": "bool"
|
219
|
+
},
|
220
|
+
{
|
221
|
+
"internalType": "address",
|
222
|
+
"name": "wallet",
|
223
|
+
"type": "address"
|
733
224
|
}
|
734
225
|
],
|
735
|
-
"internalType": "struct
|
226
|
+
"internalType": "struct ISetup.PoolSetupInfo",
|
736
227
|
"name": "setup",
|
737
228
|
"type": "tuple"
|
738
229
|
}
|
739
230
|
],
|
740
|
-
"
|
741
|
-
"
|
742
|
-
|
743
|
-
{
|
744
|
-
"inputs": [],
|
745
|
-
"name": "getProductService",
|
746
|
-
"outputs": [
|
747
|
-
{
|
748
|
-
"internalType": "contract IProductService",
|
749
|
-
"name": "",
|
750
|
-
"type": "address"
|
751
|
-
}
|
752
|
-
],
|
753
|
-
"stateMutability": "view",
|
231
|
+
"name": "createPoolSetup",
|
232
|
+
"outputs": [],
|
233
|
+
"stateMutability": "nonpayable",
|
754
234
|
"type": "function"
|
755
235
|
},
|
756
236
|
{
|
@@ -759,20 +239,22 @@
|
|
759
239
|
"internalType": "NftId",
|
760
240
|
"name": "productNftId",
|
761
241
|
"type": "uint96"
|
762
|
-
}
|
763
|
-
],
|
764
|
-
"name": "getProductSetup",
|
765
|
-
"outputs": [
|
242
|
+
},
|
766
243
|
{
|
767
244
|
"components": [
|
768
245
|
{
|
769
|
-
"internalType": "
|
770
|
-
"name": "
|
771
|
-
"type": "
|
246
|
+
"internalType": "contract IERC20Metadata",
|
247
|
+
"name": "token",
|
248
|
+
"type": "address"
|
249
|
+
},
|
250
|
+
{
|
251
|
+
"internalType": "contract TokenHandler",
|
252
|
+
"name": "tokenHandler",
|
253
|
+
"type": "address"
|
772
254
|
},
|
773
255
|
{
|
774
256
|
"internalType": "NftId",
|
775
|
-
"name": "
|
257
|
+
"name": "distributionNftId",
|
776
258
|
"type": "uint96"
|
777
259
|
},
|
778
260
|
{
|
@@ -781,19 +263,72 @@
|
|
781
263
|
"type": "uint96"
|
782
264
|
},
|
783
265
|
{
|
784
|
-
"
|
785
|
-
|
786
|
-
|
266
|
+
"components": [
|
267
|
+
{
|
268
|
+
"internalType": "UFixed",
|
269
|
+
"name": "fractionalFee",
|
270
|
+
"type": "uint256"
|
271
|
+
},
|
272
|
+
{
|
273
|
+
"internalType": "uint256",
|
274
|
+
"name": "fixedFee",
|
275
|
+
"type": "uint256"
|
276
|
+
}
|
277
|
+
],
|
278
|
+
"internalType": "struct Fee",
|
279
|
+
"name": "distributionFee",
|
280
|
+
"type": "tuple"
|
281
|
+
},
|
282
|
+
{
|
283
|
+
"components": [
|
284
|
+
{
|
285
|
+
"internalType": "UFixed",
|
286
|
+
"name": "fractionalFee",
|
287
|
+
"type": "uint256"
|
288
|
+
},
|
289
|
+
{
|
290
|
+
"internalType": "uint256",
|
291
|
+
"name": "fixedFee",
|
292
|
+
"type": "uint256"
|
293
|
+
}
|
294
|
+
],
|
295
|
+
"internalType": "struct Fee",
|
296
|
+
"name": "productFee",
|
297
|
+
"type": "tuple"
|
787
298
|
},
|
788
299
|
{
|
789
|
-
"
|
790
|
-
|
791
|
-
|
300
|
+
"components": [
|
301
|
+
{
|
302
|
+
"internalType": "UFixed",
|
303
|
+
"name": "fractionalFee",
|
304
|
+
"type": "uint256"
|
305
|
+
},
|
306
|
+
{
|
307
|
+
"internalType": "uint256",
|
308
|
+
"name": "fixedFee",
|
309
|
+
"type": "uint256"
|
310
|
+
}
|
311
|
+
],
|
312
|
+
"internalType": "struct Fee",
|
313
|
+
"name": "processingFee",
|
314
|
+
"type": "tuple"
|
792
315
|
},
|
793
316
|
{
|
794
|
-
"
|
795
|
-
|
796
|
-
|
317
|
+
"components": [
|
318
|
+
{
|
319
|
+
"internalType": "UFixed",
|
320
|
+
"name": "fractionalFee",
|
321
|
+
"type": "uint256"
|
322
|
+
},
|
323
|
+
{
|
324
|
+
"internalType": "uint256",
|
325
|
+
"name": "fixedFee",
|
326
|
+
"type": "uint256"
|
327
|
+
}
|
328
|
+
],
|
329
|
+
"internalType": "struct Fee",
|
330
|
+
"name": "poolFee",
|
331
|
+
"type": "tuple"
|
797
332
|
},
|
798
333
|
{
|
799
334
|
"components": [
|
@@ -809,7 +344,7 @@
|
|
809
344
|
}
|
810
345
|
],
|
811
346
|
"internalType": "struct Fee",
|
812
|
-
"name": "
|
347
|
+
"name": "stakingFee",
|
813
348
|
"type": "tuple"
|
814
349
|
},
|
815
350
|
{
|
@@ -826,174 +361,40 @@
|
|
826
361
|
}
|
827
362
|
],
|
828
363
|
"internalType": "struct Fee",
|
829
|
-
"name": "
|
364
|
+
"name": "performanceFee",
|
830
365
|
"type": "tuple"
|
831
366
|
}
|
832
367
|
],
|
833
|
-
"internalType": "struct
|
368
|
+
"internalType": "struct ISetup.ProductSetupInfo",
|
834
369
|
"name": "setup",
|
835
370
|
"type": "tuple"
|
836
371
|
}
|
837
372
|
],
|
838
|
-
"
|
373
|
+
"name": "createProductSetup",
|
374
|
+
"outputs": [],
|
375
|
+
"stateMutability": "nonpayable",
|
839
376
|
"type": "function"
|
840
377
|
},
|
841
378
|
{
|
842
379
|
"inputs": [],
|
843
|
-
"name": "
|
380
|
+
"name": "getComponentOwnerService",
|
844
381
|
"outputs": [
|
845
382
|
{
|
846
|
-
"internalType": "contract
|
847
|
-
"name": "
|
383
|
+
"internalType": "contract IComponentOwnerService",
|
384
|
+
"name": "",
|
848
385
|
"type": "address"
|
849
386
|
}
|
850
387
|
],
|
851
388
|
"stateMutability": "view",
|
852
389
|
"type": "function"
|
853
390
|
},
|
854
|
-
{
|
855
|
-
"inputs": [
|
856
|
-
{
|
857
|
-
"internalType": "uint256",
|
858
|
-
"name": "idx",
|
859
|
-
"type": "uint256"
|
860
|
-
}
|
861
|
-
],
|
862
|
-
"name": "getRole",
|
863
|
-
"outputs": [
|
864
|
-
{
|
865
|
-
"internalType": "bytes32",
|
866
|
-
"name": "role",
|
867
|
-
"type": "bytes32"
|
868
|
-
}
|
869
|
-
],
|
870
|
-
"stateMutability": "view",
|
871
|
-
"type": "function"
|
872
|
-
},
|
873
391
|
{
|
874
392
|
"inputs": [],
|
875
|
-
"name": "
|
876
|
-
"outputs": [
|
877
|
-
{
|
878
|
-
"internalType": "uint256",
|
879
|
-
"name": "roles",
|
880
|
-
"type": "uint256"
|
881
|
-
}
|
882
|
-
],
|
883
|
-
"stateMutability": "view",
|
884
|
-
"type": "function"
|
885
|
-
},
|
886
|
-
{
|
887
|
-
"inputs": [
|
888
|
-
{
|
889
|
-
"internalType": "string",
|
890
|
-
"name": "roleName",
|
891
|
-
"type": "string"
|
892
|
-
}
|
893
|
-
],
|
894
|
-
"name": "getRoleForName",
|
895
|
-
"outputs": [
|
896
|
-
{
|
897
|
-
"internalType": "bytes32",
|
898
|
-
"name": "role",
|
899
|
-
"type": "bytes32"
|
900
|
-
}
|
901
|
-
],
|
902
|
-
"stateMutability": "pure",
|
903
|
-
"type": "function"
|
904
|
-
},
|
905
|
-
{
|
906
|
-
"inputs": [
|
907
|
-
{
|
908
|
-
"internalType": "bytes32",
|
909
|
-
"name": "role",
|
910
|
-
"type": "bytes32"
|
911
|
-
}
|
912
|
-
],
|
913
|
-
"name": "getRoleInfo",
|
914
|
-
"outputs": [
|
915
|
-
{
|
916
|
-
"components": [
|
917
|
-
{
|
918
|
-
"internalType": "bytes32",
|
919
|
-
"name": "id",
|
920
|
-
"type": "bytes32"
|
921
|
-
},
|
922
|
-
{
|
923
|
-
"internalType": "string",
|
924
|
-
"name": "name",
|
925
|
-
"type": "string"
|
926
|
-
},
|
927
|
-
{
|
928
|
-
"internalType": "bool",
|
929
|
-
"name": "isActive",
|
930
|
-
"type": "bool"
|
931
|
-
}
|
932
|
-
],
|
933
|
-
"internalType": "struct IAccess.RoleInfo",
|
934
|
-
"name": "info",
|
935
|
-
"type": "tuple"
|
936
|
-
}
|
937
|
-
],
|
938
|
-
"stateMutability": "view",
|
939
|
-
"type": "function"
|
940
|
-
},
|
941
|
-
{
|
942
|
-
"inputs": [
|
943
|
-
{
|
944
|
-
"internalType": "bytes32",
|
945
|
-
"name": "role",
|
946
|
-
"type": "bytes32"
|
947
|
-
},
|
948
|
-
{
|
949
|
-
"internalType": "uint256",
|
950
|
-
"name": "idx",
|
951
|
-
"type": "uint256"
|
952
|
-
}
|
953
|
-
],
|
954
|
-
"name": "getRoleMember",
|
955
|
-
"outputs": [
|
956
|
-
{
|
957
|
-
"internalType": "address",
|
958
|
-
"name": "roleMembers",
|
959
|
-
"type": "address"
|
960
|
-
}
|
961
|
-
],
|
962
|
-
"stateMutability": "view",
|
963
|
-
"type": "function"
|
964
|
-
},
|
965
|
-
{
|
966
|
-
"inputs": [
|
967
|
-
{
|
968
|
-
"internalType": "bytes32",
|
969
|
-
"name": "role",
|
970
|
-
"type": "bytes32"
|
971
|
-
}
|
972
|
-
],
|
973
|
-
"name": "getRoleMemberCount",
|
974
|
-
"outputs": [
|
975
|
-
{
|
976
|
-
"internalType": "uint256",
|
977
|
-
"name": "roleMembers",
|
978
|
-
"type": "uint256"
|
979
|
-
}
|
980
|
-
],
|
981
|
-
"stateMutability": "view",
|
982
|
-
"type": "function"
|
983
|
-
},
|
984
|
-
{
|
985
|
-
"inputs": [
|
986
|
-
{
|
987
|
-
"internalType": "NftId",
|
988
|
-
"name": "productNftId",
|
989
|
-
"type": "uint96"
|
990
|
-
}
|
991
|
-
],
|
992
|
-
"name": "getTokenHandler",
|
393
|
+
"name": "getDistributionService",
|
993
394
|
"outputs": [
|
994
395
|
{
|
995
|
-
"internalType": "contract
|
996
|
-
"name": "
|
396
|
+
"internalType": "contract IDistributionService",
|
397
|
+
"name": "",
|
997
398
|
"type": "address"
|
998
399
|
}
|
999
400
|
],
|
@@ -1002,54 +403,12 @@
|
|
1002
403
|
},
|
1003
404
|
{
|
1004
405
|
"inputs": [],
|
1005
|
-
"name": "
|
1006
|
-
"outputs": [
|
1007
|
-
{
|
1008
|
-
"internalType": "ObjectType",
|
1009
|
-
"name": "objectType",
|
1010
|
-
"type": "uint8"
|
1011
|
-
}
|
1012
|
-
],
|
1013
|
-
"stateMutability": "view",
|
1014
|
-
"type": "function"
|
1015
|
-
},
|
1016
|
-
{
|
1017
|
-
"inputs": [
|
1018
|
-
{
|
1019
|
-
"internalType": "bytes32",
|
1020
|
-
"name": "role",
|
1021
|
-
"type": "bytes32"
|
1022
|
-
},
|
1023
|
-
{
|
1024
|
-
"internalType": "address",
|
1025
|
-
"name": "member",
|
1026
|
-
"type": "address"
|
1027
|
-
}
|
1028
|
-
],
|
1029
|
-
"name": "grantRole",
|
1030
|
-
"outputs": [],
|
1031
|
-
"stateMutability": "nonpayable",
|
1032
|
-
"type": "function"
|
1033
|
-
},
|
1034
|
-
{
|
1035
|
-
"inputs": [
|
1036
|
-
{
|
1037
|
-
"internalType": "bytes32",
|
1038
|
-
"name": "role",
|
1039
|
-
"type": "bytes32"
|
1040
|
-
},
|
1041
|
-
{
|
1042
|
-
"internalType": "address",
|
1043
|
-
"name": "member",
|
1044
|
-
"type": "address"
|
1045
|
-
}
|
1046
|
-
],
|
1047
|
-
"name": "hasRole",
|
406
|
+
"name": "getInstanceReader",
|
1048
407
|
"outputs": [
|
1049
408
|
{
|
1050
|
-
"internalType": "
|
409
|
+
"internalType": "contract InstanceReader",
|
1051
410
|
"name": "",
|
1052
|
-
"type": "
|
411
|
+
"type": "address"
|
1053
412
|
}
|
1054
413
|
],
|
1055
414
|
"stateMutability": "view",
|
@@ -1057,25 +416,12 @@
|
|
1057
416
|
},
|
1058
417
|
{
|
1059
418
|
"inputs": [],
|
1060
|
-
"name": "
|
1061
|
-
"outputs": [
|
1062
|
-
{
|
1063
|
-
"internalType": "bool",
|
1064
|
-
"name": "",
|
1065
|
-
"type": "bool"
|
1066
|
-
}
|
1067
|
-
],
|
1068
|
-
"stateMutability": "pure",
|
1069
|
-
"type": "function"
|
1070
|
-
},
|
1071
|
-
{
|
1072
|
-
"inputs": [],
|
1073
|
-
"name": "isRegistered",
|
419
|
+
"name": "getPoolService",
|
1074
420
|
"outputs": [
|
1075
421
|
{
|
1076
|
-
"internalType": "
|
422
|
+
"internalType": "contract IPoolService",
|
1077
423
|
"name": "",
|
1078
|
-
"type": "
|
424
|
+
"type": "address"
|
1079
425
|
}
|
1080
426
|
],
|
1081
427
|
"stateMutability": "view",
|
@@ -1084,22 +430,12 @@
|
|
1084
430
|
{
|
1085
431
|
"inputs": [
|
1086
432
|
{
|
1087
|
-
"internalType": "
|
1088
|
-
"name": "
|
1089
|
-
"type": "
|
1090
|
-
},
|
1091
|
-
{
|
1092
|
-
"internalType": "StateId",
|
1093
|
-
"name": "fromId",
|
1094
|
-
"type": "uint8"
|
1095
|
-
},
|
1096
|
-
{
|
1097
|
-
"internalType": "StateId",
|
1098
|
-
"name": "toId",
|
1099
|
-
"type": "uint8"
|
433
|
+
"internalType": "bytes4",
|
434
|
+
"name": "interfaceId",
|
435
|
+
"type": "bytes4"
|
1100
436
|
}
|
1101
437
|
],
|
1102
|
-
"name": "
|
438
|
+
"name": "supportsInterface",
|
1103
439
|
"outputs": [
|
1104
440
|
{
|
1105
441
|
"internalType": "bool",
|
@@ -1107,200 +443,87 @@
|
|
1107
443
|
"type": "bool"
|
1108
444
|
}
|
1109
445
|
],
|
1110
|
-
"stateMutability": "view",
|
1111
|
-
"type": "function"
|
1112
|
-
},
|
1113
|
-
{
|
1114
|
-
"inputs": [
|
1115
|
-
{
|
1116
|
-
"internalType": "NftId",
|
1117
|
-
"name": "nftId",
|
1118
|
-
"type": "uint96"
|
1119
|
-
}
|
1120
|
-
],
|
1121
|
-
"name": "processPremium",
|
1122
|
-
"outputs": [],
|
1123
|
-
"stateMutability": "nonpayable",
|
1124
|
-
"type": "function"
|
1125
|
-
},
|
1126
|
-
{
|
1127
|
-
"inputs": [
|
1128
|
-
{
|
1129
|
-
"internalType": "NftId",
|
1130
|
-
"name": "policyNftId",
|
1131
|
-
"type": "uint96"
|
1132
|
-
},
|
1133
|
-
{
|
1134
|
-
"internalType": "NftId",
|
1135
|
-
"name": "productNftId",
|
1136
|
-
"type": "uint96"
|
1137
|
-
}
|
1138
|
-
],
|
1139
|
-
"name": "processPremium",
|
1140
|
-
"outputs": [],
|
1141
|
-
"stateMutability": "nonpayable",
|
1142
|
-
"type": "function"
|
1143
|
-
},
|
1144
|
-
{
|
1145
|
-
"inputs": [],
|
1146
|
-
"name": "register",
|
1147
|
-
"outputs": [
|
1148
|
-
{
|
1149
|
-
"internalType": "NftId",
|
1150
|
-
"name": "nftId",
|
1151
|
-
"type": "uint96"
|
1152
|
-
}
|
1153
|
-
],
|
1154
|
-
"stateMutability": "nonpayable",
|
1155
|
-
"type": "function"
|
1156
|
-
},
|
1157
|
-
{
|
1158
|
-
"inputs": [
|
1159
|
-
{
|
1160
|
-
"internalType": "contract IComponentContract",
|
1161
|
-
"name": "component",
|
1162
|
-
"type": "address"
|
1163
|
-
}
|
1164
|
-
],
|
1165
|
-
"name": "registerComponent",
|
1166
|
-
"outputs": [
|
1167
|
-
{
|
1168
|
-
"internalType": "NftId",
|
1169
|
-
"name": "nftId",
|
1170
|
-
"type": "uint96"
|
1171
|
-
}
|
1172
|
-
],
|
1173
|
-
"stateMutability": "nonpayable",
|
1174
|
-
"type": "function"
|
1175
|
-
},
|
1176
|
-
{
|
1177
|
-
"inputs": [
|
1178
|
-
{
|
1179
|
-
"internalType": "NftId",
|
1180
|
-
"name": "nftId",
|
1181
|
-
"type": "uint96"
|
1182
|
-
}
|
1183
|
-
],
|
1184
|
-
"name": "registerPool",
|
1185
|
-
"outputs": [],
|
1186
|
-
"stateMutability": "nonpayable",
|
446
|
+
"stateMutability": "view",
|
1187
447
|
"type": "function"
|
1188
448
|
},
|
1189
449
|
{
|
1190
450
|
"inputs": [
|
1191
451
|
{
|
1192
452
|
"internalType": "NftId",
|
1193
|
-
"name": "
|
453
|
+
"name": "bundleNftId",
|
1194
454
|
"type": "uint96"
|
1195
455
|
},
|
1196
|
-
{
|
1197
|
-
"internalType": "address",
|
1198
|
-
"name": "wallet",
|
1199
|
-
"type": "address"
|
1200
|
-
},
|
1201
456
|
{
|
1202
457
|
"components": [
|
1203
458
|
{
|
1204
|
-
"internalType": "
|
1205
|
-
"name": "
|
1206
|
-
"type": "
|
459
|
+
"internalType": "NftId",
|
460
|
+
"name": "poolNftId",
|
461
|
+
"type": "uint96"
|
1207
462
|
},
|
1208
463
|
{
|
1209
|
-
"
|
1210
|
-
|
1211
|
-
|
1212
|
-
|
1213
|
-
|
1214
|
-
|
1215
|
-
|
1216
|
-
|
1217
|
-
|
1218
|
-
|
1219
|
-
|
464
|
+
"components": [
|
465
|
+
{
|
466
|
+
"internalType": "UFixed",
|
467
|
+
"name": "fractionalFee",
|
468
|
+
"type": "uint256"
|
469
|
+
},
|
470
|
+
{
|
471
|
+
"internalType": "uint256",
|
472
|
+
"name": "fixedFee",
|
473
|
+
"type": "uint256"
|
474
|
+
}
|
475
|
+
],
|
476
|
+
"internalType": "struct Fee",
|
477
|
+
"name": "fee",
|
478
|
+
"type": "tuple"
|
479
|
+
},
|
1220
480
|
{
|
1221
|
-
"internalType": "
|
1222
|
-
"name": "
|
1223
|
-
"type": "
|
481
|
+
"internalType": "bytes",
|
482
|
+
"name": "filter",
|
483
|
+
"type": "bytes"
|
1224
484
|
},
|
1225
485
|
{
|
1226
486
|
"internalType": "uint256",
|
1227
|
-
"name": "
|
1228
|
-
"type": "uint256"
|
1229
|
-
}
|
1230
|
-
],
|
1231
|
-
"internalType": "struct Fee",
|
1232
|
-
"name": "performanceFee",
|
1233
|
-
"type": "tuple"
|
1234
|
-
}
|
1235
|
-
],
|
1236
|
-
"name": "registerPool",
|
1237
|
-
"outputs": [],
|
1238
|
-
"stateMutability": "nonpayable",
|
1239
|
-
"type": "function"
|
1240
|
-
},
|
1241
|
-
{
|
1242
|
-
"inputs": [
|
1243
|
-
{
|
1244
|
-
"internalType": "NftId",
|
1245
|
-
"name": "productNftId",
|
1246
|
-
"type": "uint96"
|
1247
|
-
},
|
1248
|
-
{
|
1249
|
-
"internalType": "NftId",
|
1250
|
-
"name": "distributorNftId",
|
1251
|
-
"type": "uint96"
|
1252
|
-
},
|
1253
|
-
{
|
1254
|
-
"internalType": "NftId",
|
1255
|
-
"name": "poolNftId",
|
1256
|
-
"type": "uint96"
|
1257
|
-
},
|
1258
|
-
{
|
1259
|
-
"internalType": "contract IERC20",
|
1260
|
-
"name": "token",
|
1261
|
-
"type": "address"
|
1262
|
-
},
|
1263
|
-
{
|
1264
|
-
"internalType": "address",
|
1265
|
-
"name": "wallet",
|
1266
|
-
"type": "address"
|
1267
|
-
},
|
1268
|
-
{
|
1269
|
-
"components": [
|
1270
|
-
{
|
1271
|
-
"internalType": "UFixed",
|
1272
|
-
"name": "fractionalFee",
|
487
|
+
"name": "capitalAmount",
|
1273
488
|
"type": "uint256"
|
1274
489
|
},
|
1275
490
|
{
|
1276
491
|
"internalType": "uint256",
|
1277
|
-
"name": "
|
492
|
+
"name": "lockedAmount",
|
1278
493
|
"type": "uint256"
|
1279
|
-
}
|
1280
|
-
],
|
1281
|
-
"internalType": "struct Fee",
|
1282
|
-
"name": "policyFee",
|
1283
|
-
"type": "tuple"
|
1284
|
-
},
|
1285
|
-
{
|
1286
|
-
"components": [
|
494
|
+
},
|
1287
495
|
{
|
1288
|
-
"internalType": "
|
1289
|
-
"name": "
|
496
|
+
"internalType": "uint256",
|
497
|
+
"name": "balanceAmount",
|
1290
498
|
"type": "uint256"
|
1291
499
|
},
|
1292
500
|
{
|
1293
501
|
"internalType": "uint256",
|
1294
|
-
"name": "
|
502
|
+
"name": "lifetime",
|
1295
503
|
"type": "uint256"
|
504
|
+
},
|
505
|
+
{
|
506
|
+
"internalType": "Timestamp",
|
507
|
+
"name": "expiredAt",
|
508
|
+
"type": "uint40"
|
509
|
+
},
|
510
|
+
{
|
511
|
+
"internalType": "Timestamp",
|
512
|
+
"name": "closedAt",
|
513
|
+
"type": "uint40"
|
1296
514
|
}
|
1297
515
|
],
|
1298
|
-
"internalType": "struct
|
1299
|
-
"name": "
|
516
|
+
"internalType": "struct IBundle.BundleInfo",
|
517
|
+
"name": "bundle",
|
1300
518
|
"type": "tuple"
|
519
|
+
},
|
520
|
+
{
|
521
|
+
"internalType": "StateId",
|
522
|
+
"name": "newState",
|
523
|
+
"type": "uint8"
|
1301
524
|
}
|
1302
525
|
],
|
1303
|
-
"name": "
|
526
|
+
"name": "updateBundle",
|
1304
527
|
"outputs": [],
|
1305
528
|
"stateMutability": "nonpayable",
|
1306
529
|
"type": "function"
|
@@ -1308,54 +531,80 @@
|
|
1308
531
|
{
|
1309
532
|
"inputs": [
|
1310
533
|
{
|
1311
|
-
"internalType": "
|
1312
|
-
"name": "
|
1313
|
-
"type": "
|
534
|
+
"internalType": "NftId",
|
535
|
+
"name": "bundleNftId",
|
536
|
+
"type": "uint96"
|
1314
537
|
},
|
1315
538
|
{
|
1316
|
-
"internalType": "
|
1317
|
-
"name": "
|
1318
|
-
"type": "
|
539
|
+
"internalType": "StateId",
|
540
|
+
"name": "newState",
|
541
|
+
"type": "uint8"
|
1319
542
|
}
|
1320
543
|
],
|
1321
|
-
"name": "
|
544
|
+
"name": "updateBundleState",
|
1322
545
|
"outputs": [],
|
1323
546
|
"stateMutability": "nonpayable",
|
1324
547
|
"type": "function"
|
1325
548
|
},
|
1326
549
|
{
|
1327
550
|
"inputs": [
|
551
|
+
{
|
552
|
+
"internalType": "NftId",
|
553
|
+
"name": "distributionNftId",
|
554
|
+
"type": "uint96"
|
555
|
+
},
|
1328
556
|
{
|
1329
557
|
"components": [
|
1330
558
|
{
|
1331
559
|
"internalType": "NftId",
|
1332
|
-
"name": "
|
560
|
+
"name": "productNftId",
|
1333
561
|
"type": "uint96"
|
1334
562
|
},
|
1335
563
|
{
|
1336
|
-
"internalType": "
|
1337
|
-
"name": "
|
1338
|
-
"type": "
|
564
|
+
"internalType": "contract TokenHandler",
|
565
|
+
"name": "tokenHandler",
|
566
|
+
"type": "address"
|
1339
567
|
},
|
1340
568
|
{
|
1341
|
-
"
|
1342
|
-
|
569
|
+
"components": [
|
570
|
+
{
|
571
|
+
"internalType": "UFixed",
|
572
|
+
"name": "fractionalFee",
|
573
|
+
"type": "uint256"
|
574
|
+
},
|
575
|
+
{
|
576
|
+
"internalType": "uint256",
|
577
|
+
"name": "fixedFee",
|
578
|
+
"type": "uint256"
|
579
|
+
}
|
580
|
+
],
|
581
|
+
"internalType": "struct Fee",
|
582
|
+
"name": "distributionFee",
|
583
|
+
"type": "tuple"
|
584
|
+
},
|
585
|
+
{
|
586
|
+
"internalType": "bool",
|
587
|
+
"name": "isIntercepting",
|
588
|
+
"type": "bool"
|
589
|
+
},
|
590
|
+
{
|
591
|
+
"internalType": "address",
|
592
|
+
"name": "wallet",
|
1343
593
|
"type": "address"
|
1344
594
|
}
|
1345
595
|
],
|
1346
|
-
"internalType": "struct
|
1347
|
-
"name": "
|
596
|
+
"internalType": "struct ISetup.DistributionSetupInfo",
|
597
|
+
"name": "setup",
|
1348
598
|
"type": "tuple"
|
1349
|
-
}
|
1350
|
-
],
|
1351
|
-
"name": "setComponentInfo",
|
1352
|
-
"outputs": [
|
599
|
+
},
|
1353
600
|
{
|
1354
|
-
"internalType": "
|
1355
|
-
"name": "
|
1356
|
-
"type": "
|
601
|
+
"internalType": "StateId",
|
602
|
+
"name": "newState",
|
603
|
+
"type": "uint8"
|
1357
604
|
}
|
1358
605
|
],
|
606
|
+
"name": "updateDistributionSetup",
|
607
|
+
"outputs": [],
|
1359
608
|
"stateMutability": "nonpayable",
|
1360
609
|
"type": "function"
|
1361
610
|
},
|
@@ -1363,45 +612,16 @@
|
|
1363
612
|
"inputs": [
|
1364
613
|
{
|
1365
614
|
"internalType": "NftId",
|
1366
|
-
"name": "
|
615
|
+
"name": "distributionNftId",
|
1367
616
|
"type": "uint96"
|
1368
617
|
},
|
1369
618
|
{
|
1370
|
-
"
|
1371
|
-
|
1372
|
-
|
1373
|
-
"name": "fractionalFee",
|
1374
|
-
"type": "uint256"
|
1375
|
-
},
|
1376
|
-
{
|
1377
|
-
"internalType": "uint256",
|
1378
|
-
"name": "fixedFee",
|
1379
|
-
"type": "uint256"
|
1380
|
-
}
|
1381
|
-
],
|
1382
|
-
"internalType": "struct Fee",
|
1383
|
-
"name": "stakingFee",
|
1384
|
-
"type": "tuple"
|
1385
|
-
},
|
1386
|
-
{
|
1387
|
-
"components": [
|
1388
|
-
{
|
1389
|
-
"internalType": "UFixed",
|
1390
|
-
"name": "fractionalFee",
|
1391
|
-
"type": "uint256"
|
1392
|
-
},
|
1393
|
-
{
|
1394
|
-
"internalType": "uint256",
|
1395
|
-
"name": "fixedFee",
|
1396
|
-
"type": "uint256"
|
1397
|
-
}
|
1398
|
-
],
|
1399
|
-
"internalType": "struct Fee",
|
1400
|
-
"name": "performanceFee",
|
1401
|
-
"type": "tuple"
|
619
|
+
"internalType": "StateId",
|
620
|
+
"name": "newState",
|
621
|
+
"type": "uint8"
|
1402
622
|
}
|
1403
623
|
],
|
1404
|
-
"name": "
|
624
|
+
"name": "updateDistributionSetupState",
|
1405
625
|
"outputs": [],
|
1406
626
|
"stateMutability": "nonpayable",
|
1407
627
|
"type": "function"
|
@@ -1410,45 +630,99 @@
|
|
1410
630
|
"inputs": [
|
1411
631
|
{
|
1412
632
|
"internalType": "NftId",
|
1413
|
-
"name": "
|
633
|
+
"name": "poolNftId",
|
1414
634
|
"type": "uint96"
|
1415
635
|
},
|
1416
636
|
{
|
1417
637
|
"components": [
|
1418
638
|
{
|
1419
|
-
"internalType": "
|
1420
|
-
"name": "
|
1421
|
-
"type": "
|
639
|
+
"internalType": "NftId",
|
640
|
+
"name": "productNftId",
|
641
|
+
"type": "uint96"
|
1422
642
|
},
|
1423
643
|
{
|
1424
|
-
"internalType": "
|
1425
|
-
"name": "
|
1426
|
-
"type": "
|
1427
|
-
}
|
1428
|
-
],
|
1429
|
-
"internalType": "struct Fee",
|
1430
|
-
"name": "policyFee",
|
1431
|
-
"type": "tuple"
|
1432
|
-
},
|
1433
|
-
{
|
1434
|
-
"components": [
|
644
|
+
"internalType": "contract TokenHandler",
|
645
|
+
"name": "tokenHandler",
|
646
|
+
"type": "address"
|
647
|
+
},
|
1435
648
|
{
|
1436
649
|
"internalType": "UFixed",
|
1437
|
-
"name": "
|
650
|
+
"name": "collateralizationLevel",
|
1438
651
|
"type": "uint256"
|
1439
652
|
},
|
1440
653
|
{
|
1441
|
-
"
|
1442
|
-
|
1443
|
-
|
654
|
+
"components": [
|
655
|
+
{
|
656
|
+
"internalType": "UFixed",
|
657
|
+
"name": "fractionalFee",
|
658
|
+
"type": "uint256"
|
659
|
+
},
|
660
|
+
{
|
661
|
+
"internalType": "uint256",
|
662
|
+
"name": "fixedFee",
|
663
|
+
"type": "uint256"
|
664
|
+
}
|
665
|
+
],
|
666
|
+
"internalType": "struct Fee",
|
667
|
+
"name": "poolFee",
|
668
|
+
"type": "tuple"
|
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": "stakingFee",
|
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": "performanceFee",
|
702
|
+
"type": "tuple"
|
703
|
+
},
|
704
|
+
{
|
705
|
+
"internalType": "bool",
|
706
|
+
"name": "isIntercepting",
|
707
|
+
"type": "bool"
|
708
|
+
},
|
709
|
+
{
|
710
|
+
"internalType": "address",
|
711
|
+
"name": "wallet",
|
712
|
+
"type": "address"
|
1444
713
|
}
|
1445
714
|
],
|
1446
|
-
"internalType": "struct
|
1447
|
-
"name": "
|
715
|
+
"internalType": "struct ISetup.PoolSetupInfo",
|
716
|
+
"name": "setup",
|
1448
717
|
"type": "tuple"
|
718
|
+
},
|
719
|
+
{
|
720
|
+
"internalType": "StateId",
|
721
|
+
"name": "newState",
|
722
|
+
"type": "uint8"
|
1449
723
|
}
|
1450
724
|
],
|
1451
|
-
"name": "
|
725
|
+
"name": "updatePoolSetup",
|
1452
726
|
"outputs": [],
|
1453
727
|
"stateMutability": "nonpayable",
|
1454
728
|
"type": "function"
|
@@ -1457,16 +731,16 @@
|
|
1457
731
|
"inputs": [
|
1458
732
|
{
|
1459
733
|
"internalType": "NftId",
|
1460
|
-
"name": "
|
734
|
+
"name": "poolNftId",
|
1461
735
|
"type": "uint96"
|
1462
736
|
},
|
1463
737
|
{
|
1464
|
-
"internalType": "
|
1465
|
-
"name": "
|
1466
|
-
"type": "
|
738
|
+
"internalType": "StateId",
|
739
|
+
"name": "newState",
|
740
|
+
"type": "uint8"
|
1467
741
|
}
|
1468
742
|
],
|
1469
|
-
"name": "
|
743
|
+
"name": "updatePoolSetupState",
|
1470
744
|
"outputs": [],
|
1471
745
|
"stateMutability": "nonpayable",
|
1472
746
|
"type": "function"
|