@etherisc/gif-next 0.0.2-e46206a-486 → 0.0.2-e4b632c-016
Sign up to get free protection for your applications and to get access to all the features.
- package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.dbg.json +1 -1
- package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.json +13 -0
- package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +1 -1
- package/artifacts/contracts/components/Distribution.sol/Distribution.json +86 -33
- package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.dbg.json +1 -1
- package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.json +13 -0
- package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +1 -1
- package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.json +0 -25
- package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +1 -1
- package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.json +0 -59
- package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +1 -1
- package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.json +0 -50
- package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +1 -1
- package/artifacts/contracts/components/Pool.sol/Pool.json +123 -65
- package/artifacts/contracts/components/Product.sol/Product.dbg.json +1 -1
- package/artifacts/contracts/components/Product.sol/Product.json +184 -44
- 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/AccessManagedSimple.sol/AccessManagedSimple.dbg.json +4 -0
- package/artifacts/contracts/instance/AccessManagedSimple.sol/AccessManagedSimple.json +114 -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 +181 -1677
- 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 +2198 -1023
- package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +4 -0
- package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +930 -0
- package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +4 -0
- package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +1283 -0
- package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +4 -0
- package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +755 -0
- package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +4 -0
- package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +432 -0
- package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.dbg.json +1 -1
- package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.dbg.json +1 -1
- 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 -253
- 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 +211 -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/ComponentOwnerService.sol/ComponentOwnerService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.json +32 -48
- package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +18 -60
- package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +4 -0
- package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.json +428 -0
- package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +1 -1
- package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
- package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
- package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
- 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 +2 -2
- package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
- package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +8 -8
- package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
- package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +5 -5
- 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/INftOwnable.sol/INftOwnable.dbg.json +1 -1
- package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
- package/artifacts/contracts/shared/IService.sol/IService.dbg.json +4 -0
- package/artifacts/contracts/{instance/base → shared}/IService.sol/IService.json +1 -1
- 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 +2 -2
- package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +1 -1
- package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +2 -2
- package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
- package/artifacts/contracts/shared/Registerable.sol/Registerable.json +2 -2
- package/artifacts/contracts/shared/RegisterableUpgradable.sol/RegisterableUpgradable.dbg.json +4 -0
- package/artifacts/contracts/{instance/base/InstanceBase.sol/InstanceBase.json → shared/RegisterableUpgradable.sol/RegisterableUpgradable.json} +2 -104
- package/artifacts/contracts/shared/Service.sol/Service.dbg.json +4 -0
- package/artifacts/contracts/{instance/base/ServiceBase.sol/ServiceBase.json → shared/Service.sol/Service.json} +2 -2
- 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/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 +2 -2
- package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +1 -1
- package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +1 -1
- package/artifacts/contracts/test/TestService.sol/TestService.json +11 -11
- 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/TestVersionable.sol/TestVersionable.dbg.json +1 -1
- 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 +1 -1
- 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/NftId.sol/NftIdLib.dbg.json +1 -1
- package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +1 -1
- package/artifacts/contracts/types/NumberId.sol/NumberIdLib.dbg.json +1 -1
- package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +1 -1
- package/artifacts/contracts/types/Referral.sol/ReferralLib.dbg.json +1 -1
- package/artifacts/contracts/types/RiskId.sol/RiskIdLib.dbg.json +1 -1
- package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +1 -1
- 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/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/VersionPartLib.dbg.json +1 -1
- package/contracts/components/BaseComponent.sol +9 -2
- package/contracts/components/Distribution.sol +25 -14
- package/contracts/components/IBaseComponent.sol +7 -2
- package/contracts/components/IDistributionComponent.sol +0 -3
- package/contracts/components/IPoolComponent.sol +0 -2
- package/contracts/components/IProductComponent.sol +1 -3
- package/contracts/components/Pool.sol +41 -28
- package/contracts/components/Product.sol +40 -42
- package/contracts/instance/AccessManagedSimple.sol +122 -0
- package/contracts/instance/AccessManagerSimple.sol +692 -0
- package/contracts/instance/IAccessManagerSimple.sol +391 -0
- package/contracts/instance/IInstance.sol +25 -44
- package/contracts/instance/IInstanceService.sol +30 -0
- package/contracts/instance/Instance.sol +423 -64
- package/contracts/instance/InstanceAccessManager.sol +288 -0
- package/contracts/instance/InstanceReader.sol +290 -0
- package/contracts/instance/InstanceService.sol +138 -0
- package/contracts/instance/InstanceServiceManager.sol +56 -0
- package/contracts/instance/base/ComponentServiceBase.sol +3 -13
- package/contracts/instance/base/IKeyValueStore.sol +13 -14
- package/contracts/instance/base/ILifecycle.sol +3 -3
- package/contracts/instance/base/KeyValueStore.sol +49 -39
- package/contracts/instance/base/Lifecycle.sol +1 -1
- package/contracts/instance/module/IAccess.sol +38 -0
- package/contracts/instance/module/IBundle.sol +19 -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 +43 -0
- package/contracts/instance/module/ITreasury.sol +23 -0
- package/contracts/instance/service/ComponentOwnerService.sol +62 -60
- package/contracts/instance/service/DistributionService.sol +33 -17
- package/contracts/instance/service/DistributionServiceManager.sol +53 -0
- package/contracts/instance/service/IComponentOwnerService.sol +1 -1
- package/contracts/instance/service/IDistributionService.sol +1 -1
- package/contracts/instance/service/IPoolService.sol +1 -1
- package/contracts/instance/service/IProductService.sol +2 -2
- package/contracts/registry/IRegistry.sol +1 -0
- package/contracts/registry/IRegistryService.sol +8 -8
- package/contracts/registry/Registry.sol +1 -1
- package/contracts/registry/RegistryService.sol +17 -14
- package/contracts/{instance/base → shared}/IService.sol +3 -3
- package/contracts/shared/RegisterableUpgradable.sol +16 -0
- package/contracts/shared/Service.sol +54 -0
- package/contracts/shared/TokenHandler.sol +27 -0
- package/contracts/test/TestService.sol +3 -5
- package/contracts/types/StateId.sol +4 -0
- package/package.json +1 -1
- 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/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/PoolService.sol/PoolService.dbg.json +0 -4
- package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +0 -769
- package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +0 -4
- package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +0 -1076
- 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/contracts/instance/IInstanceLinked.sol +0 -8
- 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/PoolService.sol +0 -149
- package/contracts/instance/service/ProductService.sol +0 -510
- package/contracts/test/TestDistribution.sol +0 -22
- package/contracts/test/TestPool.sol +0 -27
- package/contracts/test/TestProduct.sol +0 -74
@@ -3,1506 +3,25 @@
|
|
3
3
|
"contractName": "IInstance",
|
4
4
|
"sourceName": "contracts/instance/IInstance.sol",
|
5
5
|
"abi": [
|
6
|
-
{
|
7
|
-
"inputs": [
|
8
|
-
{
|
9
|
-
"internalType": "address",
|
10
|
-
"name": "registry",
|
11
|
-
"type": "address"
|
12
|
-
},
|
13
|
-
{
|
14
|
-
"internalType": "NftId",
|
15
|
-
"name": "nftId",
|
16
|
-
"type": "uint96"
|
17
|
-
}
|
18
|
-
],
|
19
|
-
"name": "ErrorAlreadyLinked",
|
20
|
-
"type": "error"
|
21
|
-
},
|
22
|
-
{
|
23
|
-
"inputs": [
|
24
|
-
{
|
25
|
-
"internalType": "address",
|
26
|
-
"name": "contractAddress",
|
27
|
-
"type": "address"
|
28
|
-
}
|
29
|
-
],
|
30
|
-
"name": "ErrorContractNotRegistered",
|
31
|
-
"type": "error"
|
32
|
-
},
|
33
|
-
{
|
34
|
-
"inputs": [
|
35
|
-
{
|
36
|
-
"internalType": "address",
|
37
|
-
"name": "account",
|
38
|
-
"type": "address"
|
39
|
-
}
|
40
|
-
],
|
41
|
-
"name": "ErrorNotOwner",
|
42
|
-
"type": "error"
|
43
|
-
},
|
44
|
-
{
|
45
|
-
"inputs": [
|
46
|
-
{
|
47
|
-
"internalType": "address",
|
48
|
-
"name": "registryAddress",
|
49
|
-
"type": "address"
|
50
|
-
}
|
51
|
-
],
|
52
|
-
"name": "ErrorNotRegistry",
|
53
|
-
"type": "error"
|
54
|
-
},
|
55
|
-
{
|
56
|
-
"inputs": [],
|
57
|
-
"name": "ErrorRegistryAddressZero",
|
58
|
-
"type": "error"
|
59
|
-
},
|
60
|
-
{
|
61
|
-
"inputs": [
|
62
|
-
{
|
63
|
-
"internalType": "address",
|
64
|
-
"name": "registry",
|
65
|
-
"type": "address"
|
66
|
-
}
|
67
|
-
],
|
68
|
-
"name": "ErrorRegistryAlreadyInitialized",
|
69
|
-
"type": "error"
|
70
|
-
},
|
71
|
-
{
|
72
|
-
"inputs": [],
|
73
|
-
"name": "ErrorRegistryNotInitialized",
|
74
|
-
"type": "error"
|
75
|
-
},
|
76
|
-
{
|
77
|
-
"anonymous": false,
|
78
|
-
"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
|
-
{
|
92
|
-
"indexed": false,
|
93
|
-
"internalType": "address",
|
94
|
-
"name": "activatedBy",
|
95
|
-
"type": "address"
|
96
|
-
}
|
97
|
-
],
|
98
|
-
"name": "LogVersionableInitialized",
|
99
|
-
"type": "event"
|
100
|
-
},
|
101
|
-
{
|
102
|
-
"inputs": [
|
103
|
-
{
|
104
|
-
"internalType": "NftId",
|
105
|
-
"name": "bundleNftId",
|
106
|
-
"type": "uint96"
|
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"
|
130
|
-
},
|
131
|
-
{
|
132
|
-
"components": [
|
133
|
-
{
|
134
|
-
"internalType": "UFixed",
|
135
|
-
"name": "fractionalFee",
|
136
|
-
"type": "uint256"
|
137
|
-
},
|
138
|
-
{
|
139
|
-
"internalType": "uint256",
|
140
|
-
"name": "fixedFee",
|
141
|
-
"type": "uint256"
|
142
|
-
}
|
143
|
-
],
|
144
|
-
"internalType": "struct Fee",
|
145
|
-
"name": "fee",
|
146
|
-
"type": "tuple"
|
147
|
-
}
|
148
|
-
],
|
149
|
-
"name": "calculateFeeAmount",
|
150
|
-
"outputs": [
|
151
|
-
{
|
152
|
-
"internalType": "uint256",
|
153
|
-
"name": "feeAmount",
|
154
|
-
"type": "uint256"
|
155
|
-
},
|
156
|
-
{
|
157
|
-
"internalType": "uint256",
|
158
|
-
"name": "netAmount",
|
159
|
-
"type": "uint256"
|
160
|
-
}
|
161
|
-
],
|
162
|
-
"stateMutability": "pure",
|
163
|
-
"type": "function"
|
164
|
-
},
|
165
|
-
{
|
166
|
-
"inputs": [
|
167
|
-
{
|
168
|
-
"internalType": "NftId",
|
169
|
-
"name": "bundleNftId",
|
170
|
-
"type": "uint96"
|
171
|
-
},
|
172
|
-
{
|
173
|
-
"internalType": "NftId",
|
174
|
-
"name": "policyNftId",
|
175
|
-
"type": "uint96"
|
176
|
-
},
|
177
|
-
{
|
178
|
-
"internalType": "uint256",
|
179
|
-
"name": "amount",
|
180
|
-
"type": "uint256"
|
181
|
-
}
|
182
|
-
],
|
183
|
-
"name": "collateralizePolicy",
|
184
|
-
"outputs": [],
|
185
|
-
"stateMutability": "nonpayable",
|
186
|
-
"type": "function"
|
187
|
-
},
|
188
|
-
{
|
189
|
-
"inputs": [
|
190
|
-
{
|
191
|
-
"internalType": "NftId",
|
192
|
-
"name": "bundleNftId",
|
193
|
-
"type": "uint96"
|
194
|
-
},
|
195
|
-
{
|
196
|
-
"internalType": "NftId",
|
197
|
-
"name": "poolNftId",
|
198
|
-
"type": "uint96"
|
199
|
-
},
|
200
|
-
{
|
201
|
-
"components": [
|
202
|
-
{
|
203
|
-
"internalType": "UFixed",
|
204
|
-
"name": "fractionalFee",
|
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"
|
216
|
-
},
|
217
|
-
{
|
218
|
-
"internalType": "uint256",
|
219
|
-
"name": "amount",
|
220
|
-
"type": "uint256"
|
221
|
-
},
|
222
|
-
{
|
223
|
-
"internalType": "uint256",
|
224
|
-
"name": "lifetime",
|
225
|
-
"type": "uint256"
|
226
|
-
},
|
227
|
-
{
|
228
|
-
"internalType": "bytes",
|
229
|
-
"name": "filter",
|
230
|
-
"type": "bytes"
|
231
|
-
}
|
232
|
-
],
|
233
|
-
"name": "createBundleInfo",
|
234
|
-
"outputs": [],
|
235
|
-
"stateMutability": "nonpayable",
|
236
|
-
"type": "function"
|
237
|
-
},
|
238
|
-
{
|
239
|
-
"inputs": [
|
240
|
-
{
|
241
|
-
"internalType": "NftId",
|
242
|
-
"name": "policyNftId",
|
243
|
-
"type": "uint96"
|
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"
|
259
|
-
},
|
260
|
-
{
|
261
|
-
"internalType": "uint256",
|
262
|
-
"name": "sumInsuredAmount",
|
263
|
-
"type": "uint256"
|
264
|
-
},
|
265
|
-
{
|
266
|
-
"internalType": "uint256",
|
267
|
-
"name": "premiumAmount",
|
268
|
-
"type": "uint256"
|
269
|
-
},
|
270
|
-
{
|
271
|
-
"internalType": "uint256",
|
272
|
-
"name": "lifetime",
|
273
|
-
"type": "uint256"
|
274
|
-
},
|
275
|
-
{
|
276
|
-
"internalType": "NftId",
|
277
|
-
"name": "bundleNftId",
|
278
|
-
"type": "uint96"
|
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"
|
292
|
-
},
|
293
|
-
{
|
294
|
-
"internalType": "NftId",
|
295
|
-
"name": "productNftId",
|
296
|
-
"type": "uint96"
|
297
|
-
},
|
298
|
-
{
|
299
|
-
"internalType": "bytes",
|
300
|
-
"name": "data",
|
301
|
-
"type": "bytes"
|
302
|
-
}
|
303
|
-
],
|
304
|
-
"name": "createRisk",
|
305
|
-
"outputs": [],
|
306
|
-
"stateMutability": "nonpayable",
|
307
|
-
"type": "function"
|
308
|
-
},
|
309
|
-
{
|
310
|
-
"inputs": [
|
311
|
-
{
|
312
|
-
"internalType": "NftId",
|
313
|
-
"name": "poolNftId",
|
314
|
-
"type": "uint96"
|
315
|
-
}
|
316
|
-
],
|
317
|
-
"name": "getBundleCount",
|
318
|
-
"outputs": [
|
319
|
-
{
|
320
|
-
"internalType": "uint256",
|
321
|
-
"name": "bundleCount",
|
322
|
-
"type": "uint256"
|
323
|
-
}
|
324
|
-
],
|
325
|
-
"stateMutability": "view",
|
326
|
-
"type": "function"
|
327
|
-
},
|
328
|
-
{
|
329
|
-
"inputs": [
|
330
|
-
{
|
331
|
-
"internalType": "NftId",
|
332
|
-
"name": "nftId",
|
333
|
-
"type": "uint96"
|
334
|
-
}
|
335
|
-
],
|
336
|
-
"name": "getBundleInfo",
|
337
|
-
"outputs": [
|
338
|
-
{
|
339
|
-
"components": [
|
340
|
-
{
|
341
|
-
"internalType": "NftId",
|
342
|
-
"name": "poolNftId",
|
343
|
-
"type": "uint96"
|
344
|
-
},
|
345
|
-
{
|
346
|
-
"components": [
|
347
|
-
{
|
348
|
-
"internalType": "UFixed",
|
349
|
-
"name": "fractionalFee",
|
350
|
-
"type": "uint256"
|
351
|
-
},
|
352
|
-
{
|
353
|
-
"internalType": "uint256",
|
354
|
-
"name": "fixedFee",
|
355
|
-
"type": "uint256"
|
356
|
-
}
|
357
|
-
],
|
358
|
-
"internalType": "struct Fee",
|
359
|
-
"name": "fee",
|
360
|
-
"type": "tuple"
|
361
|
-
},
|
362
|
-
{
|
363
|
-
"internalType": "bytes",
|
364
|
-
"name": "filter",
|
365
|
-
"type": "bytes"
|
366
|
-
},
|
367
|
-
{
|
368
|
-
"internalType": "uint256",
|
369
|
-
"name": "capitalAmount",
|
370
|
-
"type": "uint256"
|
371
|
-
},
|
372
|
-
{
|
373
|
-
"internalType": "uint256",
|
374
|
-
"name": "lockedAmount",
|
375
|
-
"type": "uint256"
|
376
|
-
},
|
377
|
-
{
|
378
|
-
"internalType": "uint256",
|
379
|
-
"name": "balanceAmount",
|
380
|
-
"type": "uint256"
|
381
|
-
},
|
382
|
-
{
|
383
|
-
"internalType": "Timestamp",
|
384
|
-
"name": "expiredAt",
|
385
|
-
"type": "uint40"
|
386
|
-
},
|
387
|
-
{
|
388
|
-
"internalType": "Timestamp",
|
389
|
-
"name": "closedAt",
|
390
|
-
"type": "uint40"
|
391
|
-
}
|
392
|
-
],
|
393
|
-
"internalType": "struct IBundle.BundleInfo",
|
394
|
-
"name": "bundleInfo",
|
395
|
-
"type": "tuple"
|
396
|
-
}
|
397
|
-
],
|
398
|
-
"stateMutability": "view",
|
399
|
-
"type": "function"
|
400
|
-
},
|
401
|
-
{
|
402
|
-
"inputs": [
|
403
|
-
{
|
404
|
-
"internalType": "NftId",
|
405
|
-
"name": "poolNftId",
|
406
|
-
"type": "uint96"
|
407
|
-
},
|
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
|
-
{
|
562
|
-
"components": [
|
563
|
-
{
|
564
|
-
"internalType": "NftId",
|
565
|
-
"name": "nftId",
|
566
|
-
"type": "uint96"
|
567
|
-
},
|
568
|
-
{
|
569
|
-
"internalType": "NftId",
|
570
|
-
"name": "parentNftId",
|
571
|
-
"type": "uint96"
|
572
|
-
},
|
573
|
-
{
|
574
|
-
"internalType": "ObjectType",
|
575
|
-
"name": "objectType",
|
576
|
-
"type": "uint8"
|
577
|
-
},
|
578
|
-
{
|
579
|
-
"internalType": "bool",
|
580
|
-
"name": "isInterceptor",
|
581
|
-
"type": "bool"
|
582
|
-
},
|
583
|
-
{
|
584
|
-
"internalType": "address",
|
585
|
-
"name": "objectAddress",
|
586
|
-
"type": "address"
|
587
|
-
},
|
588
|
-
{
|
589
|
-
"internalType": "address",
|
590
|
-
"name": "initialOwner",
|
591
|
-
"type": "address"
|
592
|
-
},
|
593
|
-
{
|
594
|
-
"internalType": "bytes",
|
595
|
-
"name": "data",
|
596
|
-
"type": "bytes"
|
597
|
-
}
|
598
|
-
],
|
599
|
-
"internalType": "struct IRegistry.ObjectInfo",
|
600
|
-
"name": "",
|
601
|
-
"type": "tuple"
|
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
|
-
}
|
660
|
-
],
|
661
|
-
"stateMutability": "view",
|
662
|
-
"type": "function"
|
663
|
-
},
|
664
|
-
{
|
665
|
-
"inputs": [
|
666
|
-
{
|
667
|
-
"internalType": "NftId",
|
668
|
-
"name": "nftId",
|
669
|
-
"type": "uint96"
|
670
|
-
}
|
671
|
-
],
|
672
|
-
"name": "getPolicyInfo",
|
673
|
-
"outputs": [
|
674
|
-
{
|
675
|
-
"components": [
|
676
|
-
{
|
677
|
-
"internalType": "NftId",
|
678
|
-
"name": "productNftId",
|
679
|
-
"type": "uint96"
|
680
|
-
},
|
681
|
-
{
|
682
|
-
"internalType": "NftId",
|
683
|
-
"name": "bundleNftId",
|
684
|
-
"type": "uint96"
|
685
|
-
},
|
686
|
-
{
|
687
|
-
"internalType": "ReferralId",
|
688
|
-
"name": "referralId",
|
689
|
-
"type": "bytes8"
|
690
|
-
},
|
691
|
-
{
|
692
|
-
"internalType": "address",
|
693
|
-
"name": "beneficiary",
|
694
|
-
"type": "address"
|
695
|
-
},
|
696
|
-
{
|
697
|
-
"internalType": "RiskId",
|
698
|
-
"name": "riskId",
|
699
|
-
"type": "bytes8"
|
700
|
-
},
|
701
|
-
{
|
702
|
-
"internalType": "uint256",
|
703
|
-
"name": "sumInsuredAmount",
|
704
|
-
"type": "uint256"
|
705
|
-
},
|
706
|
-
{
|
707
|
-
"internalType": "uint256",
|
708
|
-
"name": "premiumAmount",
|
709
|
-
"type": "uint256"
|
710
|
-
},
|
711
|
-
{
|
712
|
-
"internalType": "uint256",
|
713
|
-
"name": "premiumPaidAmount",
|
714
|
-
"type": "uint256"
|
715
|
-
},
|
716
|
-
{
|
717
|
-
"internalType": "uint256",
|
718
|
-
"name": "lifetime",
|
719
|
-
"type": "uint256"
|
720
|
-
},
|
721
|
-
{
|
722
|
-
"internalType": "bytes",
|
723
|
-
"name": "applicationData",
|
724
|
-
"type": "bytes"
|
725
|
-
},
|
726
|
-
{
|
727
|
-
"internalType": "bytes",
|
728
|
-
"name": "policyData",
|
729
|
-
"type": "bytes"
|
730
|
-
},
|
731
|
-
{
|
732
|
-
"internalType": "Timestamp",
|
733
|
-
"name": "activatedAt",
|
734
|
-
"type": "uint40"
|
735
|
-
},
|
736
|
-
{
|
737
|
-
"internalType": "Timestamp",
|
738
|
-
"name": "expiredAt",
|
739
|
-
"type": "uint40"
|
740
|
-
},
|
741
|
-
{
|
742
|
-
"internalType": "Timestamp",
|
743
|
-
"name": "closedAt",
|
744
|
-
"type": "uint40"
|
745
|
-
}
|
746
|
-
],
|
747
|
-
"internalType": "struct IPolicy.PolicyInfo",
|
748
|
-
"name": "info",
|
749
|
-
"type": "tuple"
|
750
|
-
}
|
751
|
-
],
|
752
|
-
"stateMutability": "view",
|
753
|
-
"type": "function"
|
754
|
-
},
|
755
|
-
{
|
756
|
-
"inputs": [
|
757
|
-
{
|
758
|
-
"internalType": "NftId",
|
759
|
-
"name": "nftId",
|
760
|
-
"type": "uint96"
|
761
|
-
}
|
762
|
-
],
|
763
|
-
"name": "getPoolInfo",
|
764
|
-
"outputs": [
|
765
|
-
{
|
766
|
-
"components": [
|
767
|
-
{
|
768
|
-
"internalType": "bool",
|
769
|
-
"name": "isVerifying",
|
770
|
-
"type": "bool"
|
771
|
-
},
|
772
|
-
{
|
773
|
-
"internalType": "UFixed",
|
774
|
-
"name": "collateralizationLevel",
|
775
|
-
"type": "uint256"
|
776
|
-
}
|
777
|
-
],
|
778
|
-
"internalType": "struct IPool.PoolInfo",
|
779
|
-
"name": "info",
|
780
|
-
"type": "tuple"
|
781
|
-
}
|
782
|
-
],
|
783
|
-
"stateMutability": "view",
|
784
|
-
"type": "function"
|
785
|
-
},
|
786
|
-
{
|
787
|
-
"inputs": [],
|
788
|
-
"name": "getPoolService",
|
789
|
-
"outputs": [
|
790
|
-
{
|
791
|
-
"internalType": "contract IPoolService",
|
792
|
-
"name": "",
|
793
|
-
"type": "address"
|
794
|
-
}
|
795
|
-
],
|
796
|
-
"stateMutability": "view",
|
797
|
-
"type": "function"
|
798
|
-
},
|
799
|
-
{
|
800
|
-
"inputs": [
|
801
|
-
{
|
802
|
-
"internalType": "NftId",
|
803
|
-
"name": "componentNftId",
|
804
|
-
"type": "uint96"
|
805
|
-
}
|
806
|
-
],
|
807
|
-
"name": "getProductNftId",
|
808
|
-
"outputs": [
|
809
|
-
{
|
810
|
-
"internalType": "NftId",
|
811
|
-
"name": "productNftId",
|
812
|
-
"type": "uint96"
|
813
|
-
}
|
814
|
-
],
|
815
|
-
"stateMutability": "view",
|
816
|
-
"type": "function"
|
817
|
-
},
|
818
|
-
{
|
819
|
-
"inputs": [],
|
820
|
-
"name": "getProductService",
|
821
|
-
"outputs": [
|
822
|
-
{
|
823
|
-
"internalType": "contract IProductService",
|
824
|
-
"name": "",
|
825
|
-
"type": "address"
|
826
|
-
}
|
827
|
-
],
|
828
|
-
"stateMutability": "view",
|
829
|
-
"type": "function"
|
830
|
-
},
|
831
|
-
{
|
832
|
-
"inputs": [],
|
833
|
-
"name": "getRegistry",
|
834
|
-
"outputs": [
|
835
|
-
{
|
836
|
-
"internalType": "contract IRegistry",
|
837
|
-
"name": "registry",
|
838
|
-
"type": "address"
|
839
|
-
}
|
840
|
-
],
|
841
|
-
"stateMutability": "view",
|
842
|
-
"type": "function"
|
843
|
-
},
|
844
|
-
{
|
845
|
-
"inputs": [
|
846
|
-
{
|
847
|
-
"internalType": "RiskId",
|
848
|
-
"name": "riskId",
|
849
|
-
"type": "bytes8"
|
850
|
-
}
|
851
|
-
],
|
852
|
-
"name": "getRiskInfo",
|
853
|
-
"outputs": [
|
854
|
-
{
|
855
|
-
"components": [
|
856
|
-
{
|
857
|
-
"internalType": "NftId",
|
858
|
-
"name": "productNftId",
|
859
|
-
"type": "uint96"
|
860
|
-
},
|
861
|
-
{
|
862
|
-
"internalType": "bytes",
|
863
|
-
"name": "data",
|
864
|
-
"type": "bytes"
|
865
|
-
}
|
866
|
-
],
|
867
|
-
"internalType": "struct IRisk.RiskInfo",
|
868
|
-
"name": "info",
|
869
|
-
"type": "tuple"
|
870
|
-
}
|
871
|
-
],
|
872
|
-
"stateMutability": "view",
|
873
|
-
"type": "function"
|
874
|
-
},
|
875
|
-
{
|
876
|
-
"inputs": [
|
877
|
-
{
|
878
|
-
"internalType": "Key32",
|
879
|
-
"name": "key",
|
880
|
-
"type": "bytes32"
|
881
|
-
}
|
882
|
-
],
|
883
|
-
"name": "getState",
|
884
|
-
"outputs": [
|
885
|
-
{
|
886
|
-
"internalType": "StateId",
|
887
|
-
"name": "state",
|
888
|
-
"type": "uint8"
|
889
|
-
}
|
890
|
-
],
|
891
|
-
"stateMutability": "view",
|
892
|
-
"type": "function"
|
893
|
-
},
|
894
|
-
{
|
895
|
-
"inputs": [
|
896
|
-
{
|
897
|
-
"internalType": "NftId",
|
898
|
-
"name": "componentNftId",
|
899
|
-
"type": "uint96"
|
900
|
-
}
|
901
|
-
],
|
902
|
-
"name": "getTokenHandler",
|
903
|
-
"outputs": [
|
904
|
-
{
|
905
|
-
"internalType": "contract TokenHandler",
|
906
|
-
"name": "tokenHandler",
|
907
|
-
"type": "address"
|
908
|
-
}
|
909
|
-
],
|
910
|
-
"stateMutability": "view",
|
911
|
-
"type": "function"
|
912
|
-
},
|
913
|
-
{
|
914
|
-
"inputs": [
|
915
|
-
{
|
916
|
-
"internalType": "NftId",
|
917
|
-
"name": "productNftId",
|
918
|
-
"type": "uint96"
|
919
|
-
}
|
920
|
-
],
|
921
|
-
"name": "getTreasuryInfo",
|
922
|
-
"outputs": [
|
923
|
-
{
|
924
|
-
"components": [
|
925
|
-
{
|
926
|
-
"internalType": "NftId",
|
927
|
-
"name": "poolNftId",
|
928
|
-
"type": "uint96"
|
929
|
-
},
|
930
|
-
{
|
931
|
-
"internalType": "NftId",
|
932
|
-
"name": "distributionNftId",
|
933
|
-
"type": "uint96"
|
934
|
-
},
|
935
|
-
{
|
936
|
-
"internalType": "contract IERC20Metadata",
|
937
|
-
"name": "token",
|
938
|
-
"type": "address"
|
939
|
-
},
|
940
|
-
{
|
941
|
-
"components": [
|
942
|
-
{
|
943
|
-
"internalType": "UFixed",
|
944
|
-
"name": "fractionalFee",
|
945
|
-
"type": "uint256"
|
946
|
-
},
|
947
|
-
{
|
948
|
-
"internalType": "uint256",
|
949
|
-
"name": "fixedFee",
|
950
|
-
"type": "uint256"
|
951
|
-
}
|
952
|
-
],
|
953
|
-
"internalType": "struct Fee",
|
954
|
-
"name": "productFee",
|
955
|
-
"type": "tuple"
|
956
|
-
},
|
957
|
-
{
|
958
|
-
"components": [
|
959
|
-
{
|
960
|
-
"internalType": "UFixed",
|
961
|
-
"name": "fractionalFee",
|
962
|
-
"type": "uint256"
|
963
|
-
},
|
964
|
-
{
|
965
|
-
"internalType": "uint256",
|
966
|
-
"name": "fixedFee",
|
967
|
-
"type": "uint256"
|
968
|
-
}
|
969
|
-
],
|
970
|
-
"internalType": "struct Fee",
|
971
|
-
"name": "processingFee",
|
972
|
-
"type": "tuple"
|
973
|
-
},
|
974
|
-
{
|
975
|
-
"components": [
|
976
|
-
{
|
977
|
-
"internalType": "UFixed",
|
978
|
-
"name": "fractionalFee",
|
979
|
-
"type": "uint256"
|
980
|
-
},
|
981
|
-
{
|
982
|
-
"internalType": "uint256",
|
983
|
-
"name": "fixedFee",
|
984
|
-
"type": "uint256"
|
985
|
-
}
|
986
|
-
],
|
987
|
-
"internalType": "struct Fee",
|
988
|
-
"name": "poolFee",
|
989
|
-
"type": "tuple"
|
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"
|
1024
|
-
},
|
1025
|
-
{
|
1026
|
-
"components": [
|
1027
|
-
{
|
1028
|
-
"internalType": "UFixed",
|
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"
|
1041
|
-
}
|
1042
|
-
],
|
1043
|
-
"internalType": "struct ITreasury.TreasuryInfo",
|
1044
|
-
"name": "info",
|
1045
|
-
"type": "tuple"
|
1046
|
-
}
|
1047
|
-
],
|
1048
|
-
"stateMutability": "view",
|
1049
|
-
"type": "function"
|
1050
|
-
},
|
1051
|
-
{
|
1052
|
-
"inputs": [
|
1053
|
-
{
|
1054
|
-
"internalType": "uint256",
|
1055
|
-
"name": "a",
|
1056
|
-
"type": "uint256"
|
1057
|
-
},
|
1058
|
-
{
|
1059
|
-
"internalType": "int8",
|
1060
|
-
"name": "exp",
|
1061
|
-
"type": "int8"
|
1062
|
-
}
|
1063
|
-
],
|
1064
|
-
"name": "getUFixed",
|
1065
|
-
"outputs": [
|
1066
|
-
{
|
1067
|
-
"internalType": "UFixed",
|
1068
|
-
"name": "",
|
1069
|
-
"type": "uint256"
|
1070
|
-
}
|
1071
|
-
],
|
1072
|
-
"stateMutability": "pure",
|
1073
|
-
"type": "function"
|
1074
|
-
},
|
1075
|
-
{
|
1076
|
-
"inputs": [
|
1077
|
-
{
|
1078
|
-
"internalType": "uint256",
|
1079
|
-
"name": "a",
|
1080
|
-
"type": "uint256"
|
1081
|
-
}
|
1082
|
-
],
|
1083
|
-
"name": "getUFixed",
|
1084
|
-
"outputs": [
|
1085
|
-
{
|
1086
|
-
"internalType": "UFixed",
|
1087
|
-
"name": "",
|
1088
|
-
"type": "uint256"
|
1089
|
-
}
|
1090
|
-
],
|
1091
|
-
"stateMutability": "pure",
|
1092
|
-
"type": "function"
|
1093
|
-
},
|
1094
|
-
{
|
1095
|
-
"inputs": [],
|
1096
|
-
"name": "getVersion",
|
1097
|
-
"outputs": [
|
1098
|
-
{
|
1099
|
-
"internalType": "Version",
|
1100
|
-
"name": "",
|
1101
|
-
"type": "uint24"
|
1102
|
-
}
|
1103
|
-
],
|
1104
|
-
"stateMutability": "pure",
|
1105
|
-
"type": "function"
|
1106
|
-
},
|
1107
|
-
{
|
1108
|
-
"inputs": [
|
1109
|
-
{
|
1110
|
-
"internalType": "uint256",
|
1111
|
-
"name": "index",
|
1112
|
-
"type": "uint256"
|
1113
|
-
}
|
1114
|
-
],
|
1115
|
-
"name": "getVersion",
|
1116
|
-
"outputs": [
|
1117
|
-
{
|
1118
|
-
"internalType": "Version",
|
1119
|
-
"name": "version",
|
1120
|
-
"type": "uint24"
|
1121
|
-
}
|
1122
|
-
],
|
1123
|
-
"stateMutability": "view",
|
1124
|
-
"type": "function"
|
1125
|
-
},
|
1126
|
-
{
|
1127
|
-
"inputs": [],
|
1128
|
-
"name": "getVersionCount",
|
1129
|
-
"outputs": [
|
1130
|
-
{
|
1131
|
-
"internalType": "uint256",
|
1132
|
-
"name": "numberOfVersions",
|
1133
|
-
"type": "uint256"
|
1134
|
-
}
|
1135
|
-
],
|
1136
|
-
"stateMutability": "view",
|
1137
|
-
"type": "function"
|
1138
|
-
},
|
1139
|
-
{
|
1140
|
-
"inputs": [
|
1141
|
-
{
|
1142
|
-
"internalType": "Version",
|
1143
|
-
"name": "version",
|
1144
|
-
"type": "uint24"
|
1145
|
-
}
|
1146
|
-
],
|
1147
|
-
"name": "getVersionInfo",
|
1148
|
-
"outputs": [
|
1149
|
-
{
|
1150
|
-
"components": [
|
1151
|
-
{
|
1152
|
-
"internalType": "Version",
|
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"
|
1180
|
-
}
|
1181
|
-
],
|
1182
|
-
"stateMutability": "view",
|
1183
|
-
"type": "function"
|
1184
|
-
},
|
1185
|
-
{
|
1186
|
-
"inputs": [],
|
1187
|
-
"name": "getZeroFee",
|
1188
|
-
"outputs": [
|
1189
|
-
{
|
1190
|
-
"components": [
|
1191
|
-
{
|
1192
|
-
"internalType": "UFixed",
|
1193
|
-
"name": "fractionalFee",
|
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"
|
1205
|
-
}
|
1206
|
-
],
|
1207
|
-
"stateMutability": "view",
|
1208
|
-
"type": "function"
|
1209
|
-
},
|
1210
|
-
{
|
1211
|
-
"inputs": [
|
1212
|
-
{
|
1213
|
-
"internalType": "NftId",
|
1214
|
-
"name": "productNftId",
|
1215
|
-
"type": "uint96"
|
1216
|
-
}
|
1217
|
-
],
|
1218
|
-
"name": "hasTreasuryInfo",
|
1219
|
-
"outputs": [
|
1220
|
-
{
|
1221
|
-
"internalType": "bool",
|
1222
|
-
"name": "hasInfo",
|
1223
|
-
"type": "bool"
|
1224
|
-
}
|
1225
|
-
],
|
1226
|
-
"stateMutability": "view",
|
1227
|
-
"type": "function"
|
1228
|
-
},
|
1229
|
-
{
|
1230
|
-
"inputs": [
|
1231
|
-
{
|
1232
|
-
"internalType": "address",
|
1233
|
-
"name": "implementation",
|
1234
|
-
"type": "address"
|
1235
|
-
},
|
1236
|
-
{
|
1237
|
-
"internalType": "address",
|
1238
|
-
"name": "activatedBy",
|
1239
|
-
"type": "address"
|
1240
|
-
},
|
1241
|
-
{
|
1242
|
-
"internalType": "bytes",
|
1243
|
-
"name": "activationData",
|
1244
|
-
"type": "bytes"
|
1245
|
-
}
|
1246
|
-
],
|
1247
|
-
"name": "initialize",
|
1248
|
-
"outputs": [],
|
1249
|
-
"stateMutability": "nonpayable",
|
1250
|
-
"type": "function"
|
1251
|
-
},
|
1252
|
-
{
|
1253
|
-
"inputs": [
|
1254
|
-
{
|
1255
|
-
"internalType": "Version",
|
1256
|
-
"name": "version",
|
1257
|
-
"type": "uint24"
|
1258
|
-
}
|
1259
|
-
],
|
1260
|
-
"name": "isInitialized",
|
1261
|
-
"outputs": [
|
1262
|
-
{
|
1263
|
-
"internalType": "bool",
|
1264
|
-
"name": "",
|
1265
|
-
"type": "bool"
|
1266
|
-
}
|
1267
|
-
],
|
1268
|
-
"stateMutability": "view",
|
1269
|
-
"type": "function"
|
1270
|
-
},
|
1271
|
-
{
|
1272
|
-
"inputs": [],
|
1273
|
-
"name": "linkToRegisteredNftId",
|
1274
|
-
"outputs": [],
|
1275
|
-
"stateMutability": "nonpayable",
|
1276
|
-
"type": "function"
|
1277
|
-
},
|
1278
|
-
{
|
1279
|
-
"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
|
-
{
|
1291
|
-
"internalType": "address",
|
1292
|
-
"name": "wallet",
|
1293
|
-
"type": "address"
|
1294
|
-
}
|
1295
|
-
],
|
1296
|
-
"name": "registerComponent",
|
1297
|
-
"outputs": [],
|
1298
|
-
"stateMutability": "nonpayable",
|
1299
|
-
"type": "function"
|
1300
|
-
},
|
1301
|
-
{
|
1302
|
-
"inputs": [
|
1303
|
-
{
|
1304
|
-
"internalType": "NftId",
|
1305
|
-
"name": "nftId",
|
1306
|
-
"type": "uint96"
|
1307
|
-
},
|
1308
|
-
{
|
1309
|
-
"components": [
|
1310
|
-
{
|
1311
|
-
"internalType": "bool",
|
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"
|
1324
|
-
}
|
1325
|
-
],
|
1326
|
-
"name": "registerPool",
|
1327
|
-
"outputs": [],
|
1328
|
-
"stateMutability": "nonpayable",
|
1329
|
-
"type": "function"
|
1330
|
-
},
|
1331
|
-
{
|
1332
|
-
"inputs": [
|
1333
|
-
{
|
1334
|
-
"internalType": "NftId",
|
1335
|
-
"name": "productNftId",
|
1336
|
-
"type": "uint96"
|
1337
|
-
},
|
1338
|
-
{
|
1339
|
-
"components": [
|
1340
|
-
{
|
1341
|
-
"internalType": "NftId",
|
1342
|
-
"name": "poolNftId",
|
1343
|
-
"type": "uint96"
|
1344
|
-
},
|
1345
|
-
{
|
1346
|
-
"internalType": "NftId",
|
1347
|
-
"name": "distributionNftId",
|
1348
|
-
"type": "uint96"
|
1349
|
-
},
|
1350
|
-
{
|
1351
|
-
"internalType": "contract IERC20Metadata",
|
1352
|
-
"name": "token",
|
1353
|
-
"type": "address"
|
1354
|
-
},
|
1355
|
-
{
|
1356
|
-
"components": [
|
1357
|
-
{
|
1358
|
-
"internalType": "UFixed",
|
1359
|
-
"name": "fractionalFee",
|
1360
|
-
"type": "uint256"
|
1361
|
-
},
|
1362
|
-
{
|
1363
|
-
"internalType": "uint256",
|
1364
|
-
"name": "fixedFee",
|
1365
|
-
"type": "uint256"
|
1366
|
-
}
|
1367
|
-
],
|
1368
|
-
"internalType": "struct Fee",
|
1369
|
-
"name": "productFee",
|
1370
|
-
"type": "tuple"
|
1371
|
-
},
|
1372
|
-
{
|
1373
|
-
"components": [
|
1374
|
-
{
|
1375
|
-
"internalType": "UFixed",
|
1376
|
-
"name": "fractionalFee",
|
1377
|
-
"type": "uint256"
|
1378
|
-
},
|
1379
|
-
{
|
1380
|
-
"internalType": "uint256",
|
1381
|
-
"name": "fixedFee",
|
1382
|
-
"type": "uint256"
|
1383
|
-
}
|
1384
|
-
],
|
1385
|
-
"internalType": "struct Fee",
|
1386
|
-
"name": "processingFee",
|
1387
|
-
"type": "tuple"
|
1388
|
-
},
|
1389
|
-
{
|
1390
|
-
"components": [
|
1391
|
-
{
|
1392
|
-
"internalType": "UFixed",
|
1393
|
-
"name": "fractionalFee",
|
1394
|
-
"type": "uint256"
|
1395
|
-
},
|
1396
|
-
{
|
1397
|
-
"internalType": "uint256",
|
1398
|
-
"name": "fixedFee",
|
1399
|
-
"type": "uint256"
|
1400
|
-
}
|
1401
|
-
],
|
1402
|
-
"internalType": "struct Fee",
|
1403
|
-
"name": "poolFee",
|
1404
|
-
"type": "tuple"
|
1405
|
-
},
|
1406
|
-
{
|
1407
|
-
"components": [
|
1408
|
-
{
|
1409
|
-
"internalType": "UFixed",
|
1410
|
-
"name": "fractionalFee",
|
1411
|
-
"type": "uint256"
|
1412
|
-
},
|
1413
|
-
{
|
1414
|
-
"internalType": "uint256",
|
1415
|
-
"name": "fixedFee",
|
1416
|
-
"type": "uint256"
|
1417
|
-
}
|
1418
|
-
],
|
1419
|
-
"internalType": "struct Fee",
|
1420
|
-
"name": "stakingFee",
|
1421
|
-
"type": "tuple"
|
1422
|
-
},
|
1423
|
-
{
|
1424
|
-
"components": [
|
1425
|
-
{
|
1426
|
-
"internalType": "UFixed",
|
1427
|
-
"name": "fractionalFee",
|
1428
|
-
"type": "uint256"
|
1429
|
-
},
|
1430
|
-
{
|
1431
|
-
"internalType": "uint256",
|
1432
|
-
"name": "fixedFee",
|
1433
|
-
"type": "uint256"
|
1434
|
-
}
|
1435
|
-
],
|
1436
|
-
"internalType": "struct Fee",
|
1437
|
-
"name": "performanceFee",
|
1438
|
-
"type": "tuple"
|
1439
|
-
},
|
1440
|
-
{
|
1441
|
-
"components": [
|
1442
|
-
{
|
1443
|
-
"internalType": "UFixed",
|
1444
|
-
"name": "fractionalFee",
|
1445
|
-
"type": "uint256"
|
1446
|
-
},
|
1447
|
-
{
|
1448
|
-
"internalType": "uint256",
|
1449
|
-
"name": "fixedFee",
|
1450
|
-
"type": "uint256"
|
1451
|
-
}
|
1452
|
-
],
|
1453
|
-
"internalType": "struct Fee",
|
1454
|
-
"name": "distributionFee",
|
1455
|
-
"type": "tuple"
|
1456
|
-
}
|
1457
|
-
],
|
1458
|
-
"internalType": "struct ITreasury.TreasuryInfo",
|
1459
|
-
"name": "info",
|
1460
|
-
"type": "tuple"
|
1461
|
-
}
|
1462
|
-
],
|
1463
|
-
"name": "registerProductSetup",
|
1464
|
-
"outputs": [],
|
1465
|
-
"stateMutability": "nonpayable",
|
1466
|
-
"type": "function"
|
1467
|
-
},
|
1468
|
-
{
|
1469
|
-
"inputs": [
|
1470
|
-
{
|
1471
|
-
"internalType": "NftId",
|
1472
|
-
"name": "bundleNftId",
|
1473
|
-
"type": "uint96"
|
1474
|
-
},
|
1475
|
-
{
|
1476
|
-
"internalType": "NftId",
|
1477
|
-
"name": "policyNftId",
|
1478
|
-
"type": "uint96"
|
1479
|
-
}
|
1480
|
-
],
|
1481
|
-
"name": "releasePolicy",
|
1482
|
-
"outputs": [
|
1483
|
-
{
|
1484
|
-
"internalType": "uint256",
|
1485
|
-
"name": "collateralAmount",
|
1486
|
-
"type": "uint256"
|
1487
|
-
}
|
1488
|
-
],
|
1489
|
-
"stateMutability": "nonpayable",
|
1490
|
-
"type": "function"
|
1491
|
-
},
|
1492
6
|
{
|
1493
7
|
"inputs": [
|
1494
8
|
{
|
1495
9
|
"internalType": "NftId",
|
1496
|
-
"name": "
|
10
|
+
"name": "distributionNftId",
|
1497
11
|
"type": "uint96"
|
1498
12
|
},
|
1499
13
|
{
|
1500
14
|
"components": [
|
1501
15
|
{
|
1502
16
|
"internalType": "NftId",
|
1503
|
-
"name": "
|
17
|
+
"name": "productNftId",
|
1504
18
|
"type": "uint96"
|
1505
19
|
},
|
20
|
+
{
|
21
|
+
"internalType": "contract TokenHandler",
|
22
|
+
"name": "tokenHandler",
|
23
|
+
"type": "address"
|
24
|
+
},
|
1506
25
|
{
|
1507
26
|
"components": [
|
1508
27
|
{
|
@@ -1517,46 +36,26 @@
|
|
1517
36
|
}
|
1518
37
|
],
|
1519
38
|
"internalType": "struct Fee",
|
1520
|
-
"name": "
|
39
|
+
"name": "distributionFee",
|
1521
40
|
"type": "tuple"
|
1522
41
|
},
|
1523
42
|
{
|
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"
|
43
|
+
"internalType": "bool",
|
44
|
+
"name": "isIntercepting",
|
45
|
+
"type": "bool"
|
1547
46
|
},
|
1548
47
|
{
|
1549
|
-
"internalType": "
|
1550
|
-
"name": "
|
1551
|
-
"type": "
|
48
|
+
"internalType": "address",
|
49
|
+
"name": "wallet",
|
50
|
+
"type": "address"
|
1552
51
|
}
|
1553
52
|
],
|
1554
|
-
"internalType": "struct
|
1555
|
-
"name": "
|
53
|
+
"internalType": "struct ISetup.DistributionSetupInfo",
|
54
|
+
"name": "setup",
|
1556
55
|
"type": "tuple"
|
1557
56
|
}
|
1558
57
|
],
|
1559
|
-
"name": "
|
58
|
+
"name": "createDistributionSetup",
|
1560
59
|
"outputs": [],
|
1561
60
|
"stateMutability": "nonpayable",
|
1562
61
|
"type": "function"
|
@@ -1565,7 +64,7 @@
|
|
1565
64
|
"inputs": [
|
1566
65
|
{
|
1567
66
|
"internalType": "NftId",
|
1568
|
-
"name": "
|
67
|
+
"name": "distributionNftId",
|
1569
68
|
"type": "uint96"
|
1570
69
|
},
|
1571
70
|
{
|
@@ -1576,107 +75,83 @@
|
|
1576
75
|
"type": "uint96"
|
1577
76
|
},
|
1578
77
|
{
|
1579
|
-
"internalType": "
|
1580
|
-
"name": "
|
1581
|
-
"type": "uint96"
|
1582
|
-
},
|
1583
|
-
{
|
1584
|
-
"internalType": "ReferralId",
|
1585
|
-
"name": "referralId",
|
1586
|
-
"type": "bytes8"
|
1587
|
-
},
|
1588
|
-
{
|
1589
|
-
"internalType": "address",
|
1590
|
-
"name": "beneficiary",
|
78
|
+
"internalType": "contract TokenHandler",
|
79
|
+
"name": "tokenHandler",
|
1591
80
|
"type": "address"
|
1592
81
|
},
|
1593
82
|
{
|
1594
|
-
"internalType": "
|
1595
|
-
"name": "
|
1596
|
-
"type": "bytes8"
|
1597
|
-
},
|
1598
|
-
{
|
1599
|
-
"internalType": "uint256",
|
1600
|
-
"name": "sumInsuredAmount",
|
1601
|
-
"type": "uint256"
|
1602
|
-
},
|
1603
|
-
{
|
1604
|
-
"internalType": "uint256",
|
1605
|
-
"name": "premiumAmount",
|
1606
|
-
"type": "uint256"
|
1607
|
-
},
|
1608
|
-
{
|
1609
|
-
"internalType": "uint256",
|
1610
|
-
"name": "premiumPaidAmount",
|
1611
|
-
"type": "uint256"
|
1612
|
-
},
|
1613
|
-
{
|
1614
|
-
"internalType": "uint256",
|
1615
|
-
"name": "lifetime",
|
83
|
+
"internalType": "UFixed",
|
84
|
+
"name": "collateralizationLevel",
|
1616
85
|
"type": "uint256"
|
1617
86
|
},
|
1618
87
|
{
|
1619
|
-
"
|
1620
|
-
|
1621
|
-
|
1622
|
-
|
1623
|
-
|
1624
|
-
|
1625
|
-
|
1626
|
-
|
88
|
+
"components": [
|
89
|
+
{
|
90
|
+
"internalType": "UFixed",
|
91
|
+
"name": "fractionalFee",
|
92
|
+
"type": "uint256"
|
93
|
+
},
|
94
|
+
{
|
95
|
+
"internalType": "uint256",
|
96
|
+
"name": "fixedFee",
|
97
|
+
"type": "uint256"
|
98
|
+
}
|
99
|
+
],
|
100
|
+
"internalType": "struct Fee",
|
101
|
+
"name": "poolFee",
|
102
|
+
"type": "tuple"
|
1627
103
|
},
|
1628
104
|
{
|
1629
|
-
"
|
1630
|
-
|
1631
|
-
|
105
|
+
"components": [
|
106
|
+
{
|
107
|
+
"internalType": "UFixed",
|
108
|
+
"name": "fractionalFee",
|
109
|
+
"type": "uint256"
|
110
|
+
},
|
111
|
+
{
|
112
|
+
"internalType": "uint256",
|
113
|
+
"name": "fixedFee",
|
114
|
+
"type": "uint256"
|
115
|
+
}
|
116
|
+
],
|
117
|
+
"internalType": "struct Fee",
|
118
|
+
"name": "stakingFee",
|
119
|
+
"type": "tuple"
|
1632
120
|
},
|
1633
121
|
{
|
1634
|
-
"
|
1635
|
-
|
1636
|
-
|
122
|
+
"components": [
|
123
|
+
{
|
124
|
+
"internalType": "UFixed",
|
125
|
+
"name": "fractionalFee",
|
126
|
+
"type": "uint256"
|
127
|
+
},
|
128
|
+
{
|
129
|
+
"internalType": "uint256",
|
130
|
+
"name": "fixedFee",
|
131
|
+
"type": "uint256"
|
132
|
+
}
|
133
|
+
],
|
134
|
+
"internalType": "struct Fee",
|
135
|
+
"name": "performanceFee",
|
136
|
+
"type": "tuple"
|
1637
137
|
},
|
1638
138
|
{
|
1639
|
-
"internalType": "
|
1640
|
-
"name": "
|
1641
|
-
"type": "
|
1642
|
-
}
|
1643
|
-
],
|
1644
|
-
"internalType": "struct IPolicy.PolicyInfo",
|
1645
|
-
"name": "info",
|
1646
|
-
"type": "tuple"
|
1647
|
-
}
|
1648
|
-
],
|
1649
|
-
"name": "setPolicyInfo",
|
1650
|
-
"outputs": [],
|
1651
|
-
"stateMutability": "nonpayable",
|
1652
|
-
"type": "function"
|
1653
|
-
},
|
1654
|
-
{
|
1655
|
-
"inputs": [
|
1656
|
-
{
|
1657
|
-
"internalType": "RiskId",
|
1658
|
-
"name": "riskId",
|
1659
|
-
"type": "bytes8"
|
1660
|
-
},
|
1661
|
-
{
|
1662
|
-
"components": [
|
1663
|
-
{
|
1664
|
-
"internalType": "NftId",
|
1665
|
-
"name": "productNftId",
|
1666
|
-
"type": "uint96"
|
139
|
+
"internalType": "bool",
|
140
|
+
"name": "isIntercepting",
|
141
|
+
"type": "bool"
|
1667
142
|
},
|
1668
143
|
{
|
1669
|
-
"internalType": "
|
1670
|
-
"name": "
|
1671
|
-
"type": "
|
144
|
+
"internalType": "address",
|
145
|
+
"name": "wallet",
|
146
|
+
"type": "address"
|
1672
147
|
}
|
1673
148
|
],
|
1674
|
-
"internalType": "struct
|
1675
|
-
"name": "
|
149
|
+
"internalType": "struct ISetup.PoolSetupInfo",
|
150
|
+
"name": "setup",
|
1676
151
|
"type": "tuple"
|
1677
152
|
}
|
1678
153
|
],
|
1679
|
-
"name": "
|
154
|
+
"name": "createPoolSetup",
|
1680
155
|
"outputs": [],
|
1681
156
|
"stateMutability": "nonpayable",
|
1682
157
|
"type": "function"
|
@@ -1691,9 +166,14 @@
|
|
1691
166
|
{
|
1692
167
|
"components": [
|
1693
168
|
{
|
1694
|
-
"internalType": "
|
1695
|
-
"name": "
|
1696
|
-
"type": "
|
169
|
+
"internalType": "contract IERC20Metadata",
|
170
|
+
"name": "token",
|
171
|
+
"type": "address"
|
172
|
+
},
|
173
|
+
{
|
174
|
+
"internalType": "contract TokenHandler",
|
175
|
+
"name": "tokenHandler",
|
176
|
+
"type": "address"
|
1697
177
|
},
|
1698
178
|
{
|
1699
179
|
"internalType": "NftId",
|
@@ -1701,9 +181,9 @@
|
|
1701
181
|
"type": "uint96"
|
1702
182
|
},
|
1703
183
|
{
|
1704
|
-
"internalType": "
|
1705
|
-
"name": "
|
1706
|
-
"type": "
|
184
|
+
"internalType": "NftId",
|
185
|
+
"name": "poolNftId",
|
186
|
+
"type": "uint96"
|
1707
187
|
},
|
1708
188
|
{
|
1709
189
|
"components": [
|
@@ -1719,7 +199,7 @@
|
|
1719
199
|
}
|
1720
200
|
],
|
1721
201
|
"internalType": "struct Fee",
|
1722
|
-
"name": "
|
202
|
+
"name": "distributionFee",
|
1723
203
|
"type": "tuple"
|
1724
204
|
},
|
1725
205
|
{
|
@@ -1736,7 +216,7 @@
|
|
1736
216
|
}
|
1737
217
|
],
|
1738
218
|
"internalType": "struct Fee",
|
1739
|
-
"name": "
|
219
|
+
"name": "productFee",
|
1740
220
|
"type": "tuple"
|
1741
221
|
},
|
1742
222
|
{
|
@@ -1753,7 +233,7 @@
|
|
1753
233
|
}
|
1754
234
|
],
|
1755
235
|
"internalType": "struct Fee",
|
1756
|
-
"name": "
|
236
|
+
"name": "processingFee",
|
1757
237
|
"type": "tuple"
|
1758
238
|
},
|
1759
239
|
{
|
@@ -1770,7 +250,7 @@
|
|
1770
250
|
}
|
1771
251
|
],
|
1772
252
|
"internalType": "struct Fee",
|
1773
|
-
"name": "
|
253
|
+
"name": "poolFee",
|
1774
254
|
"type": "tuple"
|
1775
255
|
},
|
1776
256
|
{
|
@@ -1787,7 +267,7 @@
|
|
1787
267
|
}
|
1788
268
|
],
|
1789
269
|
"internalType": "struct Fee",
|
1790
|
-
"name": "
|
270
|
+
"name": "stakingFee",
|
1791
271
|
"type": "tuple"
|
1792
272
|
},
|
1793
273
|
{
|
@@ -1804,107 +284,136 @@
|
|
1804
284
|
}
|
1805
285
|
],
|
1806
286
|
"internalType": "struct Fee",
|
1807
|
-
"name": "
|
287
|
+
"name": "performanceFee",
|
1808
288
|
"type": "tuple"
|
1809
289
|
}
|
1810
290
|
],
|
1811
|
-
"internalType": "struct
|
1812
|
-
"name": "
|
291
|
+
"internalType": "struct ISetup.ProductSetupInfo",
|
292
|
+
"name": "setup",
|
1813
293
|
"type": "tuple"
|
1814
294
|
}
|
1815
295
|
],
|
1816
|
-
"name": "
|
296
|
+
"name": "createProductSetup",
|
1817
297
|
"outputs": [],
|
1818
298
|
"stateMutability": "nonpayable",
|
1819
299
|
"type": "function"
|
1820
300
|
},
|
1821
301
|
{
|
1822
|
-
"inputs": [
|
1823
|
-
|
1824
|
-
"internalType": "bytes4",
|
1825
|
-
"name": "interfaceId",
|
1826
|
-
"type": "bytes4"
|
1827
|
-
}
|
1828
|
-
],
|
1829
|
-
"name": "supportsInterface",
|
302
|
+
"inputs": [],
|
303
|
+
"name": "getComponentOwnerService",
|
1830
304
|
"outputs": [
|
1831
305
|
{
|
1832
|
-
"internalType": "
|
306
|
+
"internalType": "contract IComponentOwnerService",
|
1833
307
|
"name": "",
|
1834
|
-
"type": "
|
308
|
+
"type": "address"
|
1835
309
|
}
|
1836
310
|
],
|
1837
311
|
"stateMutability": "view",
|
1838
312
|
"type": "function"
|
1839
313
|
},
|
1840
314
|
{
|
1841
|
-
"inputs": [
|
1842
|
-
|
1843
|
-
|
1844
|
-
"name": "nftId",
|
1845
|
-
"type": "uint96"
|
1846
|
-
},
|
315
|
+
"inputs": [],
|
316
|
+
"name": "getDistributionService",
|
317
|
+
"outputs": [
|
1847
318
|
{
|
1848
|
-
"internalType": "
|
1849
|
-
"name": "
|
1850
|
-
"type": "
|
319
|
+
"internalType": "contract IDistributionService",
|
320
|
+
"name": "",
|
321
|
+
"type": "address"
|
1851
322
|
}
|
1852
323
|
],
|
1853
|
-
"
|
1854
|
-
"outputs": [],
|
1855
|
-
"stateMutability": "nonpayable",
|
324
|
+
"stateMutability": "view",
|
1856
325
|
"type": "function"
|
1857
326
|
},
|
1858
327
|
{
|
1859
|
-
"inputs": [
|
1860
|
-
|
1861
|
-
|
1862
|
-
"name": "nftId",
|
1863
|
-
"type": "uint96"
|
1864
|
-
},
|
328
|
+
"inputs": [],
|
329
|
+
"name": "getInstanceReader",
|
330
|
+
"outputs": [
|
1865
331
|
{
|
1866
|
-
"internalType": "
|
1867
|
-
"name": "
|
1868
|
-
"type": "
|
332
|
+
"internalType": "contract InstanceReader",
|
333
|
+
"name": "",
|
334
|
+
"type": "address"
|
1869
335
|
}
|
1870
336
|
],
|
1871
|
-
"
|
1872
|
-
"outputs": [],
|
1873
|
-
"stateMutability": "nonpayable",
|
337
|
+
"stateMutability": "view",
|
1874
338
|
"type": "function"
|
1875
339
|
},
|
1876
340
|
{
|
1877
341
|
"inputs": [
|
1878
342
|
{
|
1879
|
-
"internalType": "
|
1880
|
-
"name": "
|
1881
|
-
"type": "
|
1882
|
-
}
|
343
|
+
"internalType": "bytes4",
|
344
|
+
"name": "interfaceId",
|
345
|
+
"type": "bytes4"
|
346
|
+
}
|
347
|
+
],
|
348
|
+
"name": "supportsInterface",
|
349
|
+
"outputs": [
|
1883
350
|
{
|
1884
|
-
"internalType": "
|
1885
|
-
"name": "
|
1886
|
-
"type": "
|
351
|
+
"internalType": "bool",
|
352
|
+
"name": "",
|
353
|
+
"type": "bool"
|
1887
354
|
}
|
1888
355
|
],
|
1889
|
-
"
|
1890
|
-
"outputs": [],
|
1891
|
-
"stateMutability": "nonpayable",
|
356
|
+
"stateMutability": "view",
|
1892
357
|
"type": "function"
|
1893
358
|
},
|
1894
359
|
{
|
1895
360
|
"inputs": [
|
1896
361
|
{
|
1897
|
-
"internalType": "
|
1898
|
-
"name": "
|
1899
|
-
"type": "
|
362
|
+
"internalType": "NftId",
|
363
|
+
"name": "distributionNftId",
|
364
|
+
"type": "uint96"
|
365
|
+
},
|
366
|
+
{
|
367
|
+
"components": [
|
368
|
+
{
|
369
|
+
"internalType": "NftId",
|
370
|
+
"name": "productNftId",
|
371
|
+
"type": "uint96"
|
372
|
+
},
|
373
|
+
{
|
374
|
+
"internalType": "contract TokenHandler",
|
375
|
+
"name": "tokenHandler",
|
376
|
+
"type": "address"
|
377
|
+
},
|
378
|
+
{
|
379
|
+
"components": [
|
380
|
+
{
|
381
|
+
"internalType": "UFixed",
|
382
|
+
"name": "fractionalFee",
|
383
|
+
"type": "uint256"
|
384
|
+
},
|
385
|
+
{
|
386
|
+
"internalType": "uint256",
|
387
|
+
"name": "fixedFee",
|
388
|
+
"type": "uint256"
|
389
|
+
}
|
390
|
+
],
|
391
|
+
"internalType": "struct Fee",
|
392
|
+
"name": "distributionFee",
|
393
|
+
"type": "tuple"
|
394
|
+
},
|
395
|
+
{
|
396
|
+
"internalType": "bool",
|
397
|
+
"name": "isIntercepting",
|
398
|
+
"type": "bool"
|
399
|
+
},
|
400
|
+
{
|
401
|
+
"internalType": "address",
|
402
|
+
"name": "wallet",
|
403
|
+
"type": "address"
|
404
|
+
}
|
405
|
+
],
|
406
|
+
"internalType": "struct ISetup.DistributionSetupInfo",
|
407
|
+
"name": "setup",
|
408
|
+
"type": "tuple"
|
1900
409
|
},
|
1901
410
|
{
|
1902
411
|
"internalType": "StateId",
|
1903
|
-
"name": "
|
412
|
+
"name": "newState",
|
1904
413
|
"type": "uint8"
|
1905
414
|
}
|
1906
415
|
],
|
1907
|
-
"name": "
|
416
|
+
"name": "updateDistributionSetup",
|
1908
417
|
"outputs": [],
|
1909
418
|
"stateMutability": "nonpayable",
|
1910
419
|
"type": "function"
|
@@ -1912,22 +421,17 @@
|
|
1912
421
|
{
|
1913
422
|
"inputs": [
|
1914
423
|
{
|
1915
|
-
"internalType": "
|
1916
|
-
"name": "
|
1917
|
-
"type": "
|
1918
|
-
},
|
1919
|
-
{
|
1920
|
-
"internalType": "address",
|
1921
|
-
"name": "activatedBy",
|
1922
|
-
"type": "address"
|
424
|
+
"internalType": "NftId",
|
425
|
+
"name": "distributionNftId",
|
426
|
+
"type": "uint96"
|
1923
427
|
},
|
1924
428
|
{
|
1925
|
-
"internalType": "
|
1926
|
-
"name": "
|
1927
|
-
"type": "
|
429
|
+
"internalType": "StateId",
|
430
|
+
"name": "newState",
|
431
|
+
"type": "uint8"
|
1928
432
|
}
|
1929
433
|
],
|
1930
|
-
"name": "
|
434
|
+
"name": "updateDistributionSetupState",
|
1931
435
|
"outputs": [],
|
1932
436
|
"stateMutability": "nonpayable",
|
1933
437
|
"type": "function"
|