@etherisc/gif-next 0.0.2-e4b632c-016 → 0.0.2-e510b92-393
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +67 -1
- package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.dbg.json +1 -1
- package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.json +139 -0
- package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +1 -1
- package/artifacts/contracts/components/Distribution.sol/Distribution.json +149 -15
- package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.dbg.json +1 -1
- package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.json +101 -0
- package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +1 -1
- package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +1 -1
- package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.json +28 -2
- package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +1 -1
- package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +1 -1
- package/artifacts/contracts/components/Pool.sol/Pool.json +181 -16
- package/artifacts/contracts/components/Product.sol/Product.dbg.json +1 -1
- package/artifacts/contracts/components/Product.sol/Product.json +157 -56
- 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/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/SimpleStateMachine.sol/SimpleStateMachine.dbg.json +1 -1
- 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 +1 -1
- package/artifacts/contracts/instance/AccessManagedSimple.sol/AccessManagedSimple.json +0 -13
- package/artifacts/contracts/instance/AccessManagerSimple.sol/AccessManagerSimple.dbg.json +1 -1
- package/artifacts/contracts/instance/BundleManager.sol/BundleManager.dbg.json +4 -0
- package/artifacts/contracts/instance/BundleManager.sol/BundleManager.json +775 -0
- package/artifacts/contracts/instance/Cloneable.sol/Cloneable.dbg.json +4 -0
- package/artifacts/contracts/instance/Cloneable.sol/Cloneable.json +185 -0
- package/artifacts/contracts/instance/IAccessManagerSimple.sol/IAccessManagerSimple.dbg.json +1 -1
- package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
- package/artifacts/contracts/instance/IInstance.sol/IInstance.json +1347 -93
- package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
- package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +5 -0
- package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
- package/artifacts/contracts/instance/Instance.sol/Instance.json +180 -101
- package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +34 -47
- package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +177 -38
- package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +249 -34
- package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +95 -15
- package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.dbg.json +4 -0
- package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.json +272 -0
- package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.dbg.json +1 -1
- package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.json +59 -0
- 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/ILifecycle.sol/ILifecycle.dbg.json +1 -1
- package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +1 -1
- package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +1 -1
- package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +1 -1
- package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +1 -1
- package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +1 -1
- package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +1 -1
- package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +1 -1
- package/artifacts/contracts/instance/module/ISetup.sol/ISetup.dbg.json +1 -1
- package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.dbg.json +1 -1
- package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.json +18 -18
- package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +130 -18
- package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.json +32 -16
- 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/IPoolService.sol/IPoolService.json +167 -0
- package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/IProductService.sol/IProductService.json +40 -31
- package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +1049 -0
- package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.dbg.json +4 -0
- package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.json +464 -0
- package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +1147 -0
- package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.dbg.json +4 -0
- package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.json +488 -0
- 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/IRegistry.sol/IRegistry.json +201 -0
- package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
- package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +94 -19
- 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 +172 -49
- package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
- package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +61 -29
- package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
- package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +47 -34
- 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 +1 -1
- package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +1 -1
- package/artifacts/contracts/shared/ERC165.sol/ERC165.json +2 -2
- package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
- package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
- package/artifacts/contracts/shared/IService.sol/IService.dbg.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 +4 -4
- package/artifacts/contracts/shared/RegisterableUpgradable.sol/RegisterableUpgradable.dbg.json +1 -1
- package/artifacts/contracts/shared/Service.sol/Service.dbg.json +1 -1
- package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
- package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +1 -1
- package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +2 -2
- package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +1 -1
- package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +1 -1
- package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +1 -1
- package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +4 -4
- package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +1 -1
- package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +2 -2
- 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/TestVersion.sol/TestVersion.json +2 -2
- package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +1 -1
- package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +2 -2
- package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +1 -1
- package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +1 -1
- package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +1 -1
- package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +1 -1
- package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.dbg.json +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/NftIdSet.sol/LibNftIdSet.json +26 -3
- 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/RoleId.sol/RoleIdLib.json +2 -2
- package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +1 -1
- 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/VersionLib.json +2 -2
- package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +1 -1
- package/artifacts/contracts/types/Version.sol/VersionPartLib.json +22 -3
- package/contracts/components/BaseComponent.sol +57 -11
- package/contracts/components/Distribution.sol +15 -18
- package/contracts/components/IBaseComponent.sol +7 -0
- package/contracts/components/IDistributionComponent.sol +1 -0
- package/contracts/components/IPoolComponent.sol +5 -1
- package/contracts/components/Pool.sol +36 -28
- package/contracts/components/Product.sol +34 -42
- package/contracts/instance/AccessManagedSimple.sol +1 -8
- package/contracts/instance/BundleManager.sol +129 -0
- package/contracts/instance/Cloneable.sol +46 -0
- package/contracts/instance/IInstance.sol +30 -7
- package/contracts/instance/IInstanceService.sol +3 -1
- package/contracts/instance/Instance.sol +27 -15
- package/contracts/instance/InstanceAccessManager.sol +1 -1
- package/contracts/instance/InstanceReader.sol +26 -1
- package/contracts/instance/InstanceService.sol +108 -14
- package/contracts/instance/InstanceServiceManager.sol +6 -5
- package/contracts/instance/ObjectManager.sol +95 -0
- package/contracts/instance/base/ComponentServiceBase.sol +96 -1
- package/contracts/instance/module/IBundle.sol +1 -0
- package/contracts/instance/module/ISetup.sol +3 -0
- package/contracts/instance/service/DistributionService.sol +26 -8
- package/contracts/instance/service/DistributionServiceManager.sol +7 -6
- package/contracts/instance/service/IPoolService.sol +16 -2
- package/contracts/instance/service/IProductService.sol +6 -3
- package/contracts/instance/service/PoolService.sol +287 -0
- package/contracts/instance/service/PoolServiceManager.sol +54 -0
- package/contracts/instance/service/ProductService.sol +570 -0
- package/contracts/instance/service/ProductServiceManager.sol +54 -0
- package/contracts/registry/IRegistry.sol +25 -2
- package/contracts/registry/IRegistryService.sol +27 -12
- package/contracts/registry/Registry.sol +60 -35
- package/contracts/registry/RegistryService.sol +30 -116
- package/contracts/registry/RegistryServiceManager.sol +21 -5
- package/contracts/registry/TokenRegistry.sol +111 -0
- package/contracts/shared/ERC165.sol +6 -2
- package/contracts/shared/NftOwnable.sol +2 -4
- package/contracts/shared/Registerable.sol +1 -0
- package/contracts/shared/Service.sol +1 -0
- package/contracts/types/NftIdSet.sol +26 -24
- package/contracts/types/RoleId.sol +8 -0
- package/contracts/types/Version.sol +4 -1
- package/package.json +1 -1
@@ -3,6 +3,1138 @@
|
|
3
3
|
"contractName": "IInstance",
|
4
4
|
"sourceName": "contracts/instance/IInstance.sol",
|
5
5
|
"abi": [
|
6
|
+
{
|
7
|
+
"inputs": [
|
8
|
+
{
|
9
|
+
"internalType": "ObjectType",
|
10
|
+
"name": "objectType",
|
11
|
+
"type": "uint8"
|
12
|
+
},
|
13
|
+
{
|
14
|
+
"internalType": "StateId",
|
15
|
+
"name": "fromStateId",
|
16
|
+
"type": "uint8"
|
17
|
+
},
|
18
|
+
{
|
19
|
+
"internalType": "StateId",
|
20
|
+
"name": "toStateId",
|
21
|
+
"type": "uint8"
|
22
|
+
}
|
23
|
+
],
|
24
|
+
"name": "ErrorInvalidStateTransition",
|
25
|
+
"type": "error"
|
26
|
+
},
|
27
|
+
{
|
28
|
+
"inputs": [
|
29
|
+
{
|
30
|
+
"internalType": "NftId",
|
31
|
+
"name": "nftId",
|
32
|
+
"type": "uint96"
|
33
|
+
},
|
34
|
+
{
|
35
|
+
"internalType": "ObjectType",
|
36
|
+
"name": "objectType",
|
37
|
+
"type": "uint8"
|
38
|
+
}
|
39
|
+
],
|
40
|
+
"name": "ErrorNoLifecycle",
|
41
|
+
"type": "error"
|
42
|
+
},
|
43
|
+
{
|
44
|
+
"anonymous": false,
|
45
|
+
"inputs": [
|
46
|
+
{
|
47
|
+
"indexed": false,
|
48
|
+
"internalType": "ObjectType",
|
49
|
+
"name": "objectType",
|
50
|
+
"type": "uint8"
|
51
|
+
},
|
52
|
+
{
|
53
|
+
"indexed": false,
|
54
|
+
"internalType": "KeyId",
|
55
|
+
"name": "keyId",
|
56
|
+
"type": "bytes31"
|
57
|
+
},
|
58
|
+
{
|
59
|
+
"indexed": false,
|
60
|
+
"internalType": "StateId",
|
61
|
+
"name": "state",
|
62
|
+
"type": "uint8"
|
63
|
+
},
|
64
|
+
{
|
65
|
+
"indexed": false,
|
66
|
+
"internalType": "address",
|
67
|
+
"name": "createdBy",
|
68
|
+
"type": "address"
|
69
|
+
},
|
70
|
+
{
|
71
|
+
"indexed": false,
|
72
|
+
"internalType": "address",
|
73
|
+
"name": "txOrigin",
|
74
|
+
"type": "address"
|
75
|
+
}
|
76
|
+
],
|
77
|
+
"name": "LogInfoCreated",
|
78
|
+
"type": "event"
|
79
|
+
},
|
80
|
+
{
|
81
|
+
"anonymous": false,
|
82
|
+
"inputs": [
|
83
|
+
{
|
84
|
+
"indexed": false,
|
85
|
+
"internalType": "ObjectType",
|
86
|
+
"name": "objectType",
|
87
|
+
"type": "uint8"
|
88
|
+
},
|
89
|
+
{
|
90
|
+
"indexed": false,
|
91
|
+
"internalType": "KeyId",
|
92
|
+
"name": "keyId",
|
93
|
+
"type": "bytes31"
|
94
|
+
},
|
95
|
+
{
|
96
|
+
"indexed": false,
|
97
|
+
"internalType": "StateId",
|
98
|
+
"name": "state",
|
99
|
+
"type": "uint8"
|
100
|
+
},
|
101
|
+
{
|
102
|
+
"indexed": false,
|
103
|
+
"internalType": "address",
|
104
|
+
"name": "updatedBy",
|
105
|
+
"type": "address"
|
106
|
+
},
|
107
|
+
{
|
108
|
+
"indexed": false,
|
109
|
+
"internalType": "address",
|
110
|
+
"name": "txOrigin",
|
111
|
+
"type": "address"
|
112
|
+
},
|
113
|
+
{
|
114
|
+
"indexed": false,
|
115
|
+
"internalType": "Blocknumber",
|
116
|
+
"name": "lastUpdatedIn",
|
117
|
+
"type": "uint32"
|
118
|
+
}
|
119
|
+
],
|
120
|
+
"name": "LogInfoUpdated",
|
121
|
+
"type": "event"
|
122
|
+
},
|
123
|
+
{
|
124
|
+
"anonymous": false,
|
125
|
+
"inputs": [
|
126
|
+
{
|
127
|
+
"indexed": false,
|
128
|
+
"internalType": "ObjectType",
|
129
|
+
"name": "objectType",
|
130
|
+
"type": "uint8"
|
131
|
+
},
|
132
|
+
{
|
133
|
+
"indexed": false,
|
134
|
+
"internalType": "KeyId",
|
135
|
+
"name": "keyId",
|
136
|
+
"type": "bytes31"
|
137
|
+
},
|
138
|
+
{
|
139
|
+
"indexed": false,
|
140
|
+
"internalType": "StateId",
|
141
|
+
"name": "stateOld",
|
142
|
+
"type": "uint8"
|
143
|
+
},
|
144
|
+
{
|
145
|
+
"indexed": false,
|
146
|
+
"internalType": "StateId",
|
147
|
+
"name": "stateNew",
|
148
|
+
"type": "uint8"
|
149
|
+
},
|
150
|
+
{
|
151
|
+
"indexed": false,
|
152
|
+
"internalType": "address",
|
153
|
+
"name": "updatedBy",
|
154
|
+
"type": "address"
|
155
|
+
},
|
156
|
+
{
|
157
|
+
"indexed": false,
|
158
|
+
"internalType": "address",
|
159
|
+
"name": "txOrigin",
|
160
|
+
"type": "address"
|
161
|
+
},
|
162
|
+
{
|
163
|
+
"indexed": false,
|
164
|
+
"internalType": "Blocknumber",
|
165
|
+
"name": "lastUpdatedIn",
|
166
|
+
"type": "uint32"
|
167
|
+
}
|
168
|
+
],
|
169
|
+
"name": "LogStateUpdated",
|
170
|
+
"type": "event"
|
171
|
+
},
|
172
|
+
{
|
173
|
+
"inputs": [
|
174
|
+
{
|
175
|
+
"internalType": "NftId",
|
176
|
+
"name": "bundleNftId",
|
177
|
+
"type": "uint96"
|
178
|
+
},
|
179
|
+
{
|
180
|
+
"components": [
|
181
|
+
{
|
182
|
+
"internalType": "NftId",
|
183
|
+
"name": "poolNftId",
|
184
|
+
"type": "uint96"
|
185
|
+
},
|
186
|
+
{
|
187
|
+
"components": [
|
188
|
+
{
|
189
|
+
"internalType": "UFixed",
|
190
|
+
"name": "fractionalFee",
|
191
|
+
"type": "uint256"
|
192
|
+
},
|
193
|
+
{
|
194
|
+
"internalType": "uint256",
|
195
|
+
"name": "fixedFee",
|
196
|
+
"type": "uint256"
|
197
|
+
}
|
198
|
+
],
|
199
|
+
"internalType": "struct Fee",
|
200
|
+
"name": "fee",
|
201
|
+
"type": "tuple"
|
202
|
+
},
|
203
|
+
{
|
204
|
+
"internalType": "bytes",
|
205
|
+
"name": "filter",
|
206
|
+
"type": "bytes"
|
207
|
+
},
|
208
|
+
{
|
209
|
+
"internalType": "uint256",
|
210
|
+
"name": "capitalAmount",
|
211
|
+
"type": "uint256"
|
212
|
+
},
|
213
|
+
{
|
214
|
+
"internalType": "uint256",
|
215
|
+
"name": "lockedAmount",
|
216
|
+
"type": "uint256"
|
217
|
+
},
|
218
|
+
{
|
219
|
+
"internalType": "uint256",
|
220
|
+
"name": "balanceAmount",
|
221
|
+
"type": "uint256"
|
222
|
+
},
|
223
|
+
{
|
224
|
+
"internalType": "uint256",
|
225
|
+
"name": "lifetime",
|
226
|
+
"type": "uint256"
|
227
|
+
},
|
228
|
+
{
|
229
|
+
"internalType": "Timestamp",
|
230
|
+
"name": "expiredAt",
|
231
|
+
"type": "uint40"
|
232
|
+
},
|
233
|
+
{
|
234
|
+
"internalType": "Timestamp",
|
235
|
+
"name": "closedAt",
|
236
|
+
"type": "uint40"
|
237
|
+
}
|
238
|
+
],
|
239
|
+
"internalType": "struct IBundle.BundleInfo",
|
240
|
+
"name": "bundle",
|
241
|
+
"type": "tuple"
|
242
|
+
}
|
243
|
+
],
|
244
|
+
"name": "createBundle",
|
245
|
+
"outputs": [],
|
246
|
+
"stateMutability": "nonpayable",
|
247
|
+
"type": "function"
|
248
|
+
},
|
249
|
+
{
|
250
|
+
"inputs": [
|
251
|
+
{
|
252
|
+
"internalType": "NftId",
|
253
|
+
"name": "distributionNftId",
|
254
|
+
"type": "uint96"
|
255
|
+
},
|
256
|
+
{
|
257
|
+
"components": [
|
258
|
+
{
|
259
|
+
"internalType": "NftId",
|
260
|
+
"name": "productNftId",
|
261
|
+
"type": "uint96"
|
262
|
+
},
|
263
|
+
{
|
264
|
+
"internalType": "contract TokenHandler",
|
265
|
+
"name": "tokenHandler",
|
266
|
+
"type": "address"
|
267
|
+
},
|
268
|
+
{
|
269
|
+
"components": [
|
270
|
+
{
|
271
|
+
"internalType": "UFixed",
|
272
|
+
"name": "fractionalFee",
|
273
|
+
"type": "uint256"
|
274
|
+
},
|
275
|
+
{
|
276
|
+
"internalType": "uint256",
|
277
|
+
"name": "fixedFee",
|
278
|
+
"type": "uint256"
|
279
|
+
}
|
280
|
+
],
|
281
|
+
"internalType": "struct Fee",
|
282
|
+
"name": "distributionFee",
|
283
|
+
"type": "tuple"
|
284
|
+
},
|
285
|
+
{
|
286
|
+
"internalType": "bool",
|
287
|
+
"name": "isIntercepting",
|
288
|
+
"type": "bool"
|
289
|
+
},
|
290
|
+
{
|
291
|
+
"internalType": "address",
|
292
|
+
"name": "wallet",
|
293
|
+
"type": "address"
|
294
|
+
}
|
295
|
+
],
|
296
|
+
"internalType": "struct ISetup.DistributionSetupInfo",
|
297
|
+
"name": "setup",
|
298
|
+
"type": "tuple"
|
299
|
+
}
|
300
|
+
],
|
301
|
+
"name": "createDistributionSetup",
|
302
|
+
"outputs": [],
|
303
|
+
"stateMutability": "nonpayable",
|
304
|
+
"type": "function"
|
305
|
+
},
|
306
|
+
{
|
307
|
+
"inputs": [
|
308
|
+
{
|
309
|
+
"internalType": "NftId",
|
310
|
+
"name": "policyNftId",
|
311
|
+
"type": "uint96"
|
312
|
+
},
|
313
|
+
{
|
314
|
+
"components": [
|
315
|
+
{
|
316
|
+
"internalType": "NftId",
|
317
|
+
"name": "productNftId",
|
318
|
+
"type": "uint96"
|
319
|
+
},
|
320
|
+
{
|
321
|
+
"internalType": "NftId",
|
322
|
+
"name": "bundleNftId",
|
323
|
+
"type": "uint96"
|
324
|
+
},
|
325
|
+
{
|
326
|
+
"internalType": "ReferralId",
|
327
|
+
"name": "referralId",
|
328
|
+
"type": "bytes8"
|
329
|
+
},
|
330
|
+
{
|
331
|
+
"internalType": "RiskId",
|
332
|
+
"name": "riskId",
|
333
|
+
"type": "bytes8"
|
334
|
+
},
|
335
|
+
{
|
336
|
+
"internalType": "uint256",
|
337
|
+
"name": "sumInsuredAmount",
|
338
|
+
"type": "uint256"
|
339
|
+
},
|
340
|
+
{
|
341
|
+
"internalType": "uint256",
|
342
|
+
"name": "premiumAmount",
|
343
|
+
"type": "uint256"
|
344
|
+
},
|
345
|
+
{
|
346
|
+
"internalType": "uint256",
|
347
|
+
"name": "premiumPaidAmount",
|
348
|
+
"type": "uint256"
|
349
|
+
},
|
350
|
+
{
|
351
|
+
"internalType": "uint256",
|
352
|
+
"name": "lifetime",
|
353
|
+
"type": "uint256"
|
354
|
+
},
|
355
|
+
{
|
356
|
+
"internalType": "bytes",
|
357
|
+
"name": "applicationData",
|
358
|
+
"type": "bytes"
|
359
|
+
},
|
360
|
+
{
|
361
|
+
"internalType": "bytes",
|
362
|
+
"name": "policyData",
|
363
|
+
"type": "bytes"
|
364
|
+
},
|
365
|
+
{
|
366
|
+
"internalType": "uint16",
|
367
|
+
"name": "claimsCount",
|
368
|
+
"type": "uint16"
|
369
|
+
},
|
370
|
+
{
|
371
|
+
"internalType": "uint16",
|
372
|
+
"name": "openClaimsCount",
|
373
|
+
"type": "uint16"
|
374
|
+
},
|
375
|
+
{
|
376
|
+
"internalType": "uint256",
|
377
|
+
"name": "payoutAmount",
|
378
|
+
"type": "uint256"
|
379
|
+
},
|
380
|
+
{
|
381
|
+
"internalType": "Timestamp",
|
382
|
+
"name": "activatedAt",
|
383
|
+
"type": "uint40"
|
384
|
+
},
|
385
|
+
{
|
386
|
+
"internalType": "Timestamp",
|
387
|
+
"name": "expiredAt",
|
388
|
+
"type": "uint40"
|
389
|
+
},
|
390
|
+
{
|
391
|
+
"internalType": "Timestamp",
|
392
|
+
"name": "closedAt",
|
393
|
+
"type": "uint40"
|
394
|
+
}
|
395
|
+
],
|
396
|
+
"internalType": "struct IPolicy.PolicyInfo",
|
397
|
+
"name": "policy",
|
398
|
+
"type": "tuple"
|
399
|
+
}
|
400
|
+
],
|
401
|
+
"name": "createPolicy",
|
402
|
+
"outputs": [],
|
403
|
+
"stateMutability": "nonpayable",
|
404
|
+
"type": "function"
|
405
|
+
},
|
406
|
+
{
|
407
|
+
"inputs": [
|
408
|
+
{
|
409
|
+
"internalType": "NftId",
|
410
|
+
"name": "poolNftId",
|
411
|
+
"type": "uint96"
|
412
|
+
},
|
413
|
+
{
|
414
|
+
"components": [
|
415
|
+
{
|
416
|
+
"internalType": "NftId",
|
417
|
+
"name": "productNftId",
|
418
|
+
"type": "uint96"
|
419
|
+
},
|
420
|
+
{
|
421
|
+
"internalType": "contract TokenHandler",
|
422
|
+
"name": "tokenHandler",
|
423
|
+
"type": "address"
|
424
|
+
},
|
425
|
+
{
|
426
|
+
"internalType": "UFixed",
|
427
|
+
"name": "collateralizationLevel",
|
428
|
+
"type": "uint256"
|
429
|
+
},
|
430
|
+
{
|
431
|
+
"components": [
|
432
|
+
{
|
433
|
+
"internalType": "UFixed",
|
434
|
+
"name": "fractionalFee",
|
435
|
+
"type": "uint256"
|
436
|
+
},
|
437
|
+
{
|
438
|
+
"internalType": "uint256",
|
439
|
+
"name": "fixedFee",
|
440
|
+
"type": "uint256"
|
441
|
+
}
|
442
|
+
],
|
443
|
+
"internalType": "struct Fee",
|
444
|
+
"name": "poolFee",
|
445
|
+
"type": "tuple"
|
446
|
+
},
|
447
|
+
{
|
448
|
+
"components": [
|
449
|
+
{
|
450
|
+
"internalType": "UFixed",
|
451
|
+
"name": "fractionalFee",
|
452
|
+
"type": "uint256"
|
453
|
+
},
|
454
|
+
{
|
455
|
+
"internalType": "uint256",
|
456
|
+
"name": "fixedFee",
|
457
|
+
"type": "uint256"
|
458
|
+
}
|
459
|
+
],
|
460
|
+
"internalType": "struct Fee",
|
461
|
+
"name": "stakingFee",
|
462
|
+
"type": "tuple"
|
463
|
+
},
|
464
|
+
{
|
465
|
+
"components": [
|
466
|
+
{
|
467
|
+
"internalType": "UFixed",
|
468
|
+
"name": "fractionalFee",
|
469
|
+
"type": "uint256"
|
470
|
+
},
|
471
|
+
{
|
472
|
+
"internalType": "uint256",
|
473
|
+
"name": "fixedFee",
|
474
|
+
"type": "uint256"
|
475
|
+
}
|
476
|
+
],
|
477
|
+
"internalType": "struct Fee",
|
478
|
+
"name": "performanceFee",
|
479
|
+
"type": "tuple"
|
480
|
+
},
|
481
|
+
{
|
482
|
+
"internalType": "bool",
|
483
|
+
"name": "isIntercepting",
|
484
|
+
"type": "bool"
|
485
|
+
},
|
486
|
+
{
|
487
|
+
"internalType": "bool",
|
488
|
+
"name": "isConfirmingApplication",
|
489
|
+
"type": "bool"
|
490
|
+
},
|
491
|
+
{
|
492
|
+
"internalType": "address",
|
493
|
+
"name": "wallet",
|
494
|
+
"type": "address"
|
495
|
+
}
|
496
|
+
],
|
497
|
+
"internalType": "struct ISetup.PoolSetupInfo",
|
498
|
+
"name": "setup",
|
499
|
+
"type": "tuple"
|
500
|
+
}
|
501
|
+
],
|
502
|
+
"name": "createPoolSetup",
|
503
|
+
"outputs": [],
|
504
|
+
"stateMutability": "nonpayable",
|
505
|
+
"type": "function"
|
506
|
+
},
|
507
|
+
{
|
508
|
+
"inputs": [
|
509
|
+
{
|
510
|
+
"internalType": "NftId",
|
511
|
+
"name": "productNftId",
|
512
|
+
"type": "uint96"
|
513
|
+
},
|
514
|
+
{
|
515
|
+
"components": [
|
516
|
+
{
|
517
|
+
"internalType": "contract IERC20Metadata",
|
518
|
+
"name": "token",
|
519
|
+
"type": "address"
|
520
|
+
},
|
521
|
+
{
|
522
|
+
"internalType": "contract TokenHandler",
|
523
|
+
"name": "tokenHandler",
|
524
|
+
"type": "address"
|
525
|
+
},
|
526
|
+
{
|
527
|
+
"internalType": "NftId",
|
528
|
+
"name": "distributionNftId",
|
529
|
+
"type": "uint96"
|
530
|
+
},
|
531
|
+
{
|
532
|
+
"internalType": "NftId",
|
533
|
+
"name": "poolNftId",
|
534
|
+
"type": "uint96"
|
535
|
+
},
|
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": "distributionFee",
|
551
|
+
"type": "tuple"
|
552
|
+
},
|
553
|
+
{
|
554
|
+
"components": [
|
555
|
+
{
|
556
|
+
"internalType": "UFixed",
|
557
|
+
"name": "fractionalFee",
|
558
|
+
"type": "uint256"
|
559
|
+
},
|
560
|
+
{
|
561
|
+
"internalType": "uint256",
|
562
|
+
"name": "fixedFee",
|
563
|
+
"type": "uint256"
|
564
|
+
}
|
565
|
+
],
|
566
|
+
"internalType": "struct Fee",
|
567
|
+
"name": "productFee",
|
568
|
+
"type": "tuple"
|
569
|
+
},
|
570
|
+
{
|
571
|
+
"components": [
|
572
|
+
{
|
573
|
+
"internalType": "UFixed",
|
574
|
+
"name": "fractionalFee",
|
575
|
+
"type": "uint256"
|
576
|
+
},
|
577
|
+
{
|
578
|
+
"internalType": "uint256",
|
579
|
+
"name": "fixedFee",
|
580
|
+
"type": "uint256"
|
581
|
+
}
|
582
|
+
],
|
583
|
+
"internalType": "struct Fee",
|
584
|
+
"name": "processingFee",
|
585
|
+
"type": "tuple"
|
586
|
+
},
|
587
|
+
{
|
588
|
+
"components": [
|
589
|
+
{
|
590
|
+
"internalType": "UFixed",
|
591
|
+
"name": "fractionalFee",
|
592
|
+
"type": "uint256"
|
593
|
+
},
|
594
|
+
{
|
595
|
+
"internalType": "uint256",
|
596
|
+
"name": "fixedFee",
|
597
|
+
"type": "uint256"
|
598
|
+
}
|
599
|
+
],
|
600
|
+
"internalType": "struct Fee",
|
601
|
+
"name": "poolFee",
|
602
|
+
"type": "tuple"
|
603
|
+
},
|
604
|
+
{
|
605
|
+
"components": [
|
606
|
+
{
|
607
|
+
"internalType": "UFixed",
|
608
|
+
"name": "fractionalFee",
|
609
|
+
"type": "uint256"
|
610
|
+
},
|
611
|
+
{
|
612
|
+
"internalType": "uint256",
|
613
|
+
"name": "fixedFee",
|
614
|
+
"type": "uint256"
|
615
|
+
}
|
616
|
+
],
|
617
|
+
"internalType": "struct Fee",
|
618
|
+
"name": "stakingFee",
|
619
|
+
"type": "tuple"
|
620
|
+
},
|
621
|
+
{
|
622
|
+
"components": [
|
623
|
+
{
|
624
|
+
"internalType": "UFixed",
|
625
|
+
"name": "fractionalFee",
|
626
|
+
"type": "uint256"
|
627
|
+
},
|
628
|
+
{
|
629
|
+
"internalType": "uint256",
|
630
|
+
"name": "fixedFee",
|
631
|
+
"type": "uint256"
|
632
|
+
}
|
633
|
+
],
|
634
|
+
"internalType": "struct Fee",
|
635
|
+
"name": "performanceFee",
|
636
|
+
"type": "tuple"
|
637
|
+
},
|
638
|
+
{
|
639
|
+
"internalType": "bool",
|
640
|
+
"name": "isIntercepting",
|
641
|
+
"type": "bool"
|
642
|
+
},
|
643
|
+
{
|
644
|
+
"internalType": "address",
|
645
|
+
"name": "wallet",
|
646
|
+
"type": "address"
|
647
|
+
}
|
648
|
+
],
|
649
|
+
"internalType": "struct ISetup.ProductSetupInfo",
|
650
|
+
"name": "setup",
|
651
|
+
"type": "tuple"
|
652
|
+
}
|
653
|
+
],
|
654
|
+
"name": "createProductSetup",
|
655
|
+
"outputs": [],
|
656
|
+
"stateMutability": "nonpayable",
|
657
|
+
"type": "function"
|
658
|
+
},
|
659
|
+
{
|
660
|
+
"inputs": [
|
661
|
+
{
|
662
|
+
"internalType": "RiskId",
|
663
|
+
"name": "riskId",
|
664
|
+
"type": "bytes8"
|
665
|
+
},
|
666
|
+
{
|
667
|
+
"components": [
|
668
|
+
{
|
669
|
+
"internalType": "NftId",
|
670
|
+
"name": "productNftId",
|
671
|
+
"type": "uint96"
|
672
|
+
},
|
673
|
+
{
|
674
|
+
"internalType": "bytes",
|
675
|
+
"name": "data",
|
676
|
+
"type": "bytes"
|
677
|
+
}
|
678
|
+
],
|
679
|
+
"internalType": "struct IRisk.RiskInfo",
|
680
|
+
"name": "risk",
|
681
|
+
"type": "tuple"
|
682
|
+
}
|
683
|
+
],
|
684
|
+
"name": "createRisk",
|
685
|
+
"outputs": [],
|
686
|
+
"stateMutability": "nonpayable",
|
687
|
+
"type": "function"
|
688
|
+
},
|
689
|
+
{
|
690
|
+
"inputs": [
|
691
|
+
{
|
692
|
+
"internalType": "Key32",
|
693
|
+
"name": "key",
|
694
|
+
"type": "bytes32"
|
695
|
+
}
|
696
|
+
],
|
697
|
+
"name": "exists",
|
698
|
+
"outputs": [
|
699
|
+
{
|
700
|
+
"internalType": "bool",
|
701
|
+
"name": "",
|
702
|
+
"type": "bool"
|
703
|
+
}
|
704
|
+
],
|
705
|
+
"stateMutability": "view",
|
706
|
+
"type": "function"
|
707
|
+
},
|
708
|
+
{
|
709
|
+
"inputs": [
|
710
|
+
{
|
711
|
+
"internalType": "Key32",
|
712
|
+
"name": "key",
|
713
|
+
"type": "bytes32"
|
714
|
+
}
|
715
|
+
],
|
716
|
+
"name": "get",
|
717
|
+
"outputs": [
|
718
|
+
{
|
719
|
+
"components": [
|
720
|
+
{
|
721
|
+
"components": [
|
722
|
+
{
|
723
|
+
"internalType": "ObjectType",
|
724
|
+
"name": "objectType",
|
725
|
+
"type": "uint8"
|
726
|
+
},
|
727
|
+
{
|
728
|
+
"internalType": "StateId",
|
729
|
+
"name": "state",
|
730
|
+
"type": "uint8"
|
731
|
+
},
|
732
|
+
{
|
733
|
+
"internalType": "address",
|
734
|
+
"name": "updatedBy",
|
735
|
+
"type": "address"
|
736
|
+
},
|
737
|
+
{
|
738
|
+
"internalType": "Blocknumber",
|
739
|
+
"name": "updatedIn",
|
740
|
+
"type": "uint32"
|
741
|
+
},
|
742
|
+
{
|
743
|
+
"internalType": "Blocknumber",
|
744
|
+
"name": "createdIn",
|
745
|
+
"type": "uint32"
|
746
|
+
}
|
747
|
+
],
|
748
|
+
"internalType": "struct IKeyValueStore.Metadata",
|
749
|
+
"name": "metadata",
|
750
|
+
"type": "tuple"
|
751
|
+
},
|
752
|
+
{
|
753
|
+
"internalType": "bytes",
|
754
|
+
"name": "data",
|
755
|
+
"type": "bytes"
|
756
|
+
}
|
757
|
+
],
|
758
|
+
"internalType": "struct IKeyValueStore.Value",
|
759
|
+
"name": "value",
|
760
|
+
"type": "tuple"
|
761
|
+
}
|
762
|
+
],
|
763
|
+
"stateMutability": "view",
|
764
|
+
"type": "function"
|
765
|
+
},
|
766
|
+
{
|
767
|
+
"inputs": [],
|
768
|
+
"name": "getBundleManager",
|
769
|
+
"outputs": [
|
770
|
+
{
|
771
|
+
"internalType": "contract BundleManager",
|
772
|
+
"name": "",
|
773
|
+
"type": "address"
|
774
|
+
}
|
775
|
+
],
|
776
|
+
"stateMutability": "view",
|
777
|
+
"type": "function"
|
778
|
+
},
|
779
|
+
{
|
780
|
+
"inputs": [],
|
781
|
+
"name": "getComponentOwnerService",
|
782
|
+
"outputs": [
|
783
|
+
{
|
784
|
+
"internalType": "contract IComponentOwnerService",
|
785
|
+
"name": "",
|
786
|
+
"type": "address"
|
787
|
+
}
|
788
|
+
],
|
789
|
+
"stateMutability": "view",
|
790
|
+
"type": "function"
|
791
|
+
},
|
792
|
+
{
|
793
|
+
"inputs": [
|
794
|
+
{
|
795
|
+
"internalType": "Key32",
|
796
|
+
"name": "key",
|
797
|
+
"type": "bytes32"
|
798
|
+
}
|
799
|
+
],
|
800
|
+
"name": "getData",
|
801
|
+
"outputs": [
|
802
|
+
{
|
803
|
+
"internalType": "bytes",
|
804
|
+
"name": "data",
|
805
|
+
"type": "bytes"
|
806
|
+
}
|
807
|
+
],
|
808
|
+
"stateMutability": "view",
|
809
|
+
"type": "function"
|
810
|
+
},
|
811
|
+
{
|
812
|
+
"inputs": [],
|
813
|
+
"name": "getDistributionService",
|
814
|
+
"outputs": [
|
815
|
+
{
|
816
|
+
"internalType": "contract IDistributionService",
|
817
|
+
"name": "",
|
818
|
+
"type": "address"
|
819
|
+
}
|
820
|
+
],
|
821
|
+
"stateMutability": "view",
|
822
|
+
"type": "function"
|
823
|
+
},
|
824
|
+
{
|
825
|
+
"inputs": [
|
826
|
+
{
|
827
|
+
"internalType": "ObjectType",
|
828
|
+
"name": "objectType",
|
829
|
+
"type": "uint8"
|
830
|
+
}
|
831
|
+
],
|
832
|
+
"name": "getInitialState",
|
833
|
+
"outputs": [
|
834
|
+
{
|
835
|
+
"internalType": "StateId",
|
836
|
+
"name": "",
|
837
|
+
"type": "uint8"
|
838
|
+
}
|
839
|
+
],
|
840
|
+
"stateMutability": "view",
|
841
|
+
"type": "function"
|
842
|
+
},
|
843
|
+
{
|
844
|
+
"inputs": [],
|
845
|
+
"name": "getInstanceReader",
|
846
|
+
"outputs": [
|
847
|
+
{
|
848
|
+
"internalType": "contract InstanceReader",
|
849
|
+
"name": "",
|
850
|
+
"type": "address"
|
851
|
+
}
|
852
|
+
],
|
853
|
+
"stateMutability": "view",
|
854
|
+
"type": "function"
|
855
|
+
},
|
856
|
+
{
|
857
|
+
"inputs": [
|
858
|
+
{
|
859
|
+
"internalType": "Key32",
|
860
|
+
"name": "key",
|
861
|
+
"type": "bytes32"
|
862
|
+
}
|
863
|
+
],
|
864
|
+
"name": "getMetadata",
|
865
|
+
"outputs": [
|
866
|
+
{
|
867
|
+
"components": [
|
868
|
+
{
|
869
|
+
"internalType": "ObjectType",
|
870
|
+
"name": "objectType",
|
871
|
+
"type": "uint8"
|
872
|
+
},
|
873
|
+
{
|
874
|
+
"internalType": "StateId",
|
875
|
+
"name": "state",
|
876
|
+
"type": "uint8"
|
877
|
+
},
|
878
|
+
{
|
879
|
+
"internalType": "address",
|
880
|
+
"name": "updatedBy",
|
881
|
+
"type": "address"
|
882
|
+
},
|
883
|
+
{
|
884
|
+
"internalType": "Blocknumber",
|
885
|
+
"name": "updatedIn",
|
886
|
+
"type": "uint32"
|
887
|
+
},
|
888
|
+
{
|
889
|
+
"internalType": "Blocknumber",
|
890
|
+
"name": "createdIn",
|
891
|
+
"type": "uint32"
|
892
|
+
}
|
893
|
+
],
|
894
|
+
"internalType": "struct IKeyValueStore.Metadata",
|
895
|
+
"name": "metadata",
|
896
|
+
"type": "tuple"
|
897
|
+
}
|
898
|
+
],
|
899
|
+
"stateMutability": "view",
|
900
|
+
"type": "function"
|
901
|
+
},
|
902
|
+
{
|
903
|
+
"inputs": [],
|
904
|
+
"name": "getPoolService",
|
905
|
+
"outputs": [
|
906
|
+
{
|
907
|
+
"internalType": "contract IPoolService",
|
908
|
+
"name": "",
|
909
|
+
"type": "address"
|
910
|
+
}
|
911
|
+
],
|
912
|
+
"stateMutability": "view",
|
913
|
+
"type": "function"
|
914
|
+
},
|
915
|
+
{
|
916
|
+
"inputs": [],
|
917
|
+
"name": "getProductService",
|
918
|
+
"outputs": [
|
919
|
+
{
|
920
|
+
"internalType": "contract IProductService",
|
921
|
+
"name": "",
|
922
|
+
"type": "address"
|
923
|
+
}
|
924
|
+
],
|
925
|
+
"stateMutability": "view",
|
926
|
+
"type": "function"
|
927
|
+
},
|
928
|
+
{
|
929
|
+
"inputs": [
|
930
|
+
{
|
931
|
+
"internalType": "Key32",
|
932
|
+
"name": "key",
|
933
|
+
"type": "bytes32"
|
934
|
+
}
|
935
|
+
],
|
936
|
+
"name": "getState",
|
937
|
+
"outputs": [
|
938
|
+
{
|
939
|
+
"internalType": "StateId",
|
940
|
+
"name": "state",
|
941
|
+
"type": "uint8"
|
942
|
+
}
|
943
|
+
],
|
944
|
+
"stateMutability": "view",
|
945
|
+
"type": "function"
|
946
|
+
},
|
947
|
+
{
|
948
|
+
"inputs": [
|
949
|
+
{
|
950
|
+
"internalType": "ObjectType",
|
951
|
+
"name": "objectType",
|
952
|
+
"type": "uint8"
|
953
|
+
}
|
954
|
+
],
|
955
|
+
"name": "hasLifecycle",
|
956
|
+
"outputs": [
|
957
|
+
{
|
958
|
+
"internalType": "bool",
|
959
|
+
"name": "",
|
960
|
+
"type": "bool"
|
961
|
+
}
|
962
|
+
],
|
963
|
+
"stateMutability": "view",
|
964
|
+
"type": "function"
|
965
|
+
},
|
966
|
+
{
|
967
|
+
"inputs": [
|
968
|
+
{
|
969
|
+
"internalType": "ObjectType",
|
970
|
+
"name": "objectType",
|
971
|
+
"type": "uint8"
|
972
|
+
},
|
973
|
+
{
|
974
|
+
"internalType": "StateId",
|
975
|
+
"name": "fromId",
|
976
|
+
"type": "uint8"
|
977
|
+
},
|
978
|
+
{
|
979
|
+
"internalType": "StateId",
|
980
|
+
"name": "toId",
|
981
|
+
"type": "uint8"
|
982
|
+
}
|
983
|
+
],
|
984
|
+
"name": "isValidTransition",
|
985
|
+
"outputs": [
|
986
|
+
{
|
987
|
+
"internalType": "bool",
|
988
|
+
"name": "",
|
989
|
+
"type": "bool"
|
990
|
+
}
|
991
|
+
],
|
992
|
+
"stateMutability": "view",
|
993
|
+
"type": "function"
|
994
|
+
},
|
995
|
+
{
|
996
|
+
"inputs": [
|
997
|
+
{
|
998
|
+
"internalType": "bytes4",
|
999
|
+
"name": "interfaceId",
|
1000
|
+
"type": "bytes4"
|
1001
|
+
}
|
1002
|
+
],
|
1003
|
+
"name": "supportsInterface",
|
1004
|
+
"outputs": [
|
1005
|
+
{
|
1006
|
+
"internalType": "bool",
|
1007
|
+
"name": "",
|
1008
|
+
"type": "bool"
|
1009
|
+
}
|
1010
|
+
],
|
1011
|
+
"stateMutability": "view",
|
1012
|
+
"type": "function"
|
1013
|
+
},
|
1014
|
+
{
|
1015
|
+
"inputs": [
|
1016
|
+
{
|
1017
|
+
"internalType": "ObjectType",
|
1018
|
+
"name": "objectType",
|
1019
|
+
"type": "uint8"
|
1020
|
+
},
|
1021
|
+
{
|
1022
|
+
"internalType": "KeyId",
|
1023
|
+
"name": "id",
|
1024
|
+
"type": "bytes31"
|
1025
|
+
}
|
1026
|
+
],
|
1027
|
+
"name": "toKey32",
|
1028
|
+
"outputs": [
|
1029
|
+
{
|
1030
|
+
"internalType": "Key32",
|
1031
|
+
"name": "",
|
1032
|
+
"type": "bytes32"
|
1033
|
+
}
|
1034
|
+
],
|
1035
|
+
"stateMutability": "pure",
|
1036
|
+
"type": "function"
|
1037
|
+
},
|
1038
|
+
{
|
1039
|
+
"inputs": [
|
1040
|
+
{
|
1041
|
+
"internalType": "NftId",
|
1042
|
+
"name": "bundleNftId",
|
1043
|
+
"type": "uint96"
|
1044
|
+
},
|
1045
|
+
{
|
1046
|
+
"components": [
|
1047
|
+
{
|
1048
|
+
"internalType": "NftId",
|
1049
|
+
"name": "poolNftId",
|
1050
|
+
"type": "uint96"
|
1051
|
+
},
|
1052
|
+
{
|
1053
|
+
"components": [
|
1054
|
+
{
|
1055
|
+
"internalType": "UFixed",
|
1056
|
+
"name": "fractionalFee",
|
1057
|
+
"type": "uint256"
|
1058
|
+
},
|
1059
|
+
{
|
1060
|
+
"internalType": "uint256",
|
1061
|
+
"name": "fixedFee",
|
1062
|
+
"type": "uint256"
|
1063
|
+
}
|
1064
|
+
],
|
1065
|
+
"internalType": "struct Fee",
|
1066
|
+
"name": "fee",
|
1067
|
+
"type": "tuple"
|
1068
|
+
},
|
1069
|
+
{
|
1070
|
+
"internalType": "bytes",
|
1071
|
+
"name": "filter",
|
1072
|
+
"type": "bytes"
|
1073
|
+
},
|
1074
|
+
{
|
1075
|
+
"internalType": "uint256",
|
1076
|
+
"name": "capitalAmount",
|
1077
|
+
"type": "uint256"
|
1078
|
+
},
|
1079
|
+
{
|
1080
|
+
"internalType": "uint256",
|
1081
|
+
"name": "lockedAmount",
|
1082
|
+
"type": "uint256"
|
1083
|
+
},
|
1084
|
+
{
|
1085
|
+
"internalType": "uint256",
|
1086
|
+
"name": "balanceAmount",
|
1087
|
+
"type": "uint256"
|
1088
|
+
},
|
1089
|
+
{
|
1090
|
+
"internalType": "uint256",
|
1091
|
+
"name": "lifetime",
|
1092
|
+
"type": "uint256"
|
1093
|
+
},
|
1094
|
+
{
|
1095
|
+
"internalType": "Timestamp",
|
1096
|
+
"name": "expiredAt",
|
1097
|
+
"type": "uint40"
|
1098
|
+
},
|
1099
|
+
{
|
1100
|
+
"internalType": "Timestamp",
|
1101
|
+
"name": "closedAt",
|
1102
|
+
"type": "uint40"
|
1103
|
+
}
|
1104
|
+
],
|
1105
|
+
"internalType": "struct IBundle.BundleInfo",
|
1106
|
+
"name": "bundle",
|
1107
|
+
"type": "tuple"
|
1108
|
+
},
|
1109
|
+
{
|
1110
|
+
"internalType": "StateId",
|
1111
|
+
"name": "newState",
|
1112
|
+
"type": "uint8"
|
1113
|
+
}
|
1114
|
+
],
|
1115
|
+
"name": "updateBundle",
|
1116
|
+
"outputs": [],
|
1117
|
+
"stateMutability": "nonpayable",
|
1118
|
+
"type": "function"
|
1119
|
+
},
|
1120
|
+
{
|
1121
|
+
"inputs": [
|
1122
|
+
{
|
1123
|
+
"internalType": "NftId",
|
1124
|
+
"name": "bundleNftId",
|
1125
|
+
"type": "uint96"
|
1126
|
+
},
|
1127
|
+
{
|
1128
|
+
"internalType": "StateId",
|
1129
|
+
"name": "newState",
|
1130
|
+
"type": "uint8"
|
1131
|
+
}
|
1132
|
+
],
|
1133
|
+
"name": "updateBundleState",
|
1134
|
+
"outputs": [],
|
1135
|
+
"stateMutability": "nonpayable",
|
1136
|
+
"type": "function"
|
1137
|
+
},
|
6
1138
|
{
|
7
1139
|
"inputs": [
|
8
1140
|
{
|
@@ -53,9 +1185,14 @@
|
|
53
1185
|
"internalType": "struct ISetup.DistributionSetupInfo",
|
54
1186
|
"name": "setup",
|
55
1187
|
"type": "tuple"
|
1188
|
+
},
|
1189
|
+
{
|
1190
|
+
"internalType": "StateId",
|
1191
|
+
"name": "newState",
|
1192
|
+
"type": "uint8"
|
56
1193
|
}
|
57
1194
|
],
|
58
|
-
"name": "
|
1195
|
+
"name": "updateDistributionSetup",
|
59
1196
|
"outputs": [],
|
60
1197
|
"stateMutability": "nonpayable",
|
61
1198
|
"type": "function"
|
@@ -67,6 +1204,147 @@
|
|
67
1204
|
"name": "distributionNftId",
|
68
1205
|
"type": "uint96"
|
69
1206
|
},
|
1207
|
+
{
|
1208
|
+
"internalType": "StateId",
|
1209
|
+
"name": "newState",
|
1210
|
+
"type": "uint8"
|
1211
|
+
}
|
1212
|
+
],
|
1213
|
+
"name": "updateDistributionSetupState",
|
1214
|
+
"outputs": [],
|
1215
|
+
"stateMutability": "nonpayable",
|
1216
|
+
"type": "function"
|
1217
|
+
},
|
1218
|
+
{
|
1219
|
+
"inputs": [
|
1220
|
+
{
|
1221
|
+
"internalType": "NftId",
|
1222
|
+
"name": "policyNftId",
|
1223
|
+
"type": "uint96"
|
1224
|
+
},
|
1225
|
+
{
|
1226
|
+
"components": [
|
1227
|
+
{
|
1228
|
+
"internalType": "NftId",
|
1229
|
+
"name": "productNftId",
|
1230
|
+
"type": "uint96"
|
1231
|
+
},
|
1232
|
+
{
|
1233
|
+
"internalType": "NftId",
|
1234
|
+
"name": "bundleNftId",
|
1235
|
+
"type": "uint96"
|
1236
|
+
},
|
1237
|
+
{
|
1238
|
+
"internalType": "ReferralId",
|
1239
|
+
"name": "referralId",
|
1240
|
+
"type": "bytes8"
|
1241
|
+
},
|
1242
|
+
{
|
1243
|
+
"internalType": "RiskId",
|
1244
|
+
"name": "riskId",
|
1245
|
+
"type": "bytes8"
|
1246
|
+
},
|
1247
|
+
{
|
1248
|
+
"internalType": "uint256",
|
1249
|
+
"name": "sumInsuredAmount",
|
1250
|
+
"type": "uint256"
|
1251
|
+
},
|
1252
|
+
{
|
1253
|
+
"internalType": "uint256",
|
1254
|
+
"name": "premiumAmount",
|
1255
|
+
"type": "uint256"
|
1256
|
+
},
|
1257
|
+
{
|
1258
|
+
"internalType": "uint256",
|
1259
|
+
"name": "premiumPaidAmount",
|
1260
|
+
"type": "uint256"
|
1261
|
+
},
|
1262
|
+
{
|
1263
|
+
"internalType": "uint256",
|
1264
|
+
"name": "lifetime",
|
1265
|
+
"type": "uint256"
|
1266
|
+
},
|
1267
|
+
{
|
1268
|
+
"internalType": "bytes",
|
1269
|
+
"name": "applicationData",
|
1270
|
+
"type": "bytes"
|
1271
|
+
},
|
1272
|
+
{
|
1273
|
+
"internalType": "bytes",
|
1274
|
+
"name": "policyData",
|
1275
|
+
"type": "bytes"
|
1276
|
+
},
|
1277
|
+
{
|
1278
|
+
"internalType": "uint16",
|
1279
|
+
"name": "claimsCount",
|
1280
|
+
"type": "uint16"
|
1281
|
+
},
|
1282
|
+
{
|
1283
|
+
"internalType": "uint16",
|
1284
|
+
"name": "openClaimsCount",
|
1285
|
+
"type": "uint16"
|
1286
|
+
},
|
1287
|
+
{
|
1288
|
+
"internalType": "uint256",
|
1289
|
+
"name": "payoutAmount",
|
1290
|
+
"type": "uint256"
|
1291
|
+
},
|
1292
|
+
{
|
1293
|
+
"internalType": "Timestamp",
|
1294
|
+
"name": "activatedAt",
|
1295
|
+
"type": "uint40"
|
1296
|
+
},
|
1297
|
+
{
|
1298
|
+
"internalType": "Timestamp",
|
1299
|
+
"name": "expiredAt",
|
1300
|
+
"type": "uint40"
|
1301
|
+
},
|
1302
|
+
{
|
1303
|
+
"internalType": "Timestamp",
|
1304
|
+
"name": "closedAt",
|
1305
|
+
"type": "uint40"
|
1306
|
+
}
|
1307
|
+
],
|
1308
|
+
"internalType": "struct IPolicy.PolicyInfo",
|
1309
|
+
"name": "policy",
|
1310
|
+
"type": "tuple"
|
1311
|
+
},
|
1312
|
+
{
|
1313
|
+
"internalType": "StateId",
|
1314
|
+
"name": "newState",
|
1315
|
+
"type": "uint8"
|
1316
|
+
}
|
1317
|
+
],
|
1318
|
+
"name": "updatePolicy",
|
1319
|
+
"outputs": [],
|
1320
|
+
"stateMutability": "nonpayable",
|
1321
|
+
"type": "function"
|
1322
|
+
},
|
1323
|
+
{
|
1324
|
+
"inputs": [
|
1325
|
+
{
|
1326
|
+
"internalType": "NftId",
|
1327
|
+
"name": "policyNftId",
|
1328
|
+
"type": "uint96"
|
1329
|
+
},
|
1330
|
+
{
|
1331
|
+
"internalType": "StateId",
|
1332
|
+
"name": "newState",
|
1333
|
+
"type": "uint8"
|
1334
|
+
}
|
1335
|
+
],
|
1336
|
+
"name": "updatePolicyState",
|
1337
|
+
"outputs": [],
|
1338
|
+
"stateMutability": "nonpayable",
|
1339
|
+
"type": "function"
|
1340
|
+
},
|
1341
|
+
{
|
1342
|
+
"inputs": [
|
1343
|
+
{
|
1344
|
+
"internalType": "NftId",
|
1345
|
+
"name": "poolNftId",
|
1346
|
+
"type": "uint96"
|
1347
|
+
},
|
70
1348
|
{
|
71
1349
|
"components": [
|
72
1350
|
{
|
@@ -140,6 +1418,11 @@
|
|
140
1418
|
"name": "isIntercepting",
|
141
1419
|
"type": "bool"
|
142
1420
|
},
|
1421
|
+
{
|
1422
|
+
"internalType": "bool",
|
1423
|
+
"name": "isConfirmingApplication",
|
1424
|
+
"type": "bool"
|
1425
|
+
},
|
143
1426
|
{
|
144
1427
|
"internalType": "address",
|
145
1428
|
"name": "wallet",
|
@@ -149,9 +1432,32 @@
|
|
149
1432
|
"internalType": "struct ISetup.PoolSetupInfo",
|
150
1433
|
"name": "setup",
|
151
1434
|
"type": "tuple"
|
1435
|
+
},
|
1436
|
+
{
|
1437
|
+
"internalType": "StateId",
|
1438
|
+
"name": "newState",
|
1439
|
+
"type": "uint8"
|
152
1440
|
}
|
153
1441
|
],
|
154
|
-
"name": "
|
1442
|
+
"name": "updatePoolSetup",
|
1443
|
+
"outputs": [],
|
1444
|
+
"stateMutability": "nonpayable",
|
1445
|
+
"type": "function"
|
1446
|
+
},
|
1447
|
+
{
|
1448
|
+
"inputs": [
|
1449
|
+
{
|
1450
|
+
"internalType": "NftId",
|
1451
|
+
"name": "poolNftId",
|
1452
|
+
"type": "uint96"
|
1453
|
+
},
|
1454
|
+
{
|
1455
|
+
"internalType": "StateId",
|
1456
|
+
"name": "newState",
|
1457
|
+
"type": "uint8"
|
1458
|
+
}
|
1459
|
+
],
|
1460
|
+
"name": "updatePoolSetupState",
|
155
1461
|
"outputs": [],
|
156
1462
|
"stateMutability": "nonpayable",
|
157
1463
|
"type": "function"
|
@@ -286,82 +1592,57 @@
|
|
286
1592
|
"internalType": "struct Fee",
|
287
1593
|
"name": "performanceFee",
|
288
1594
|
"type": "tuple"
|
1595
|
+
},
|
1596
|
+
{
|
1597
|
+
"internalType": "bool",
|
1598
|
+
"name": "isIntercepting",
|
1599
|
+
"type": "bool"
|
1600
|
+
},
|
1601
|
+
{
|
1602
|
+
"internalType": "address",
|
1603
|
+
"name": "wallet",
|
1604
|
+
"type": "address"
|
289
1605
|
}
|
290
1606
|
],
|
291
1607
|
"internalType": "struct ISetup.ProductSetupInfo",
|
292
1608
|
"name": "setup",
|
293
1609
|
"type": "tuple"
|
1610
|
+
},
|
1611
|
+
{
|
1612
|
+
"internalType": "StateId",
|
1613
|
+
"name": "newState",
|
1614
|
+
"type": "uint8"
|
294
1615
|
}
|
295
1616
|
],
|
296
|
-
"name": "
|
1617
|
+
"name": "updateProductSetup",
|
297
1618
|
"outputs": [],
|
298
1619
|
"stateMutability": "nonpayable",
|
299
1620
|
"type": "function"
|
300
1621
|
},
|
301
|
-
{
|
302
|
-
"inputs": [],
|
303
|
-
"name": "getComponentOwnerService",
|
304
|
-
"outputs": [
|
305
|
-
{
|
306
|
-
"internalType": "contract IComponentOwnerService",
|
307
|
-
"name": "",
|
308
|
-
"type": "address"
|
309
|
-
}
|
310
|
-
],
|
311
|
-
"stateMutability": "view",
|
312
|
-
"type": "function"
|
313
|
-
},
|
314
|
-
{
|
315
|
-
"inputs": [],
|
316
|
-
"name": "getDistributionService",
|
317
|
-
"outputs": [
|
318
|
-
{
|
319
|
-
"internalType": "contract IDistributionService",
|
320
|
-
"name": "",
|
321
|
-
"type": "address"
|
322
|
-
}
|
323
|
-
],
|
324
|
-
"stateMutability": "view",
|
325
|
-
"type": "function"
|
326
|
-
},
|
327
|
-
{
|
328
|
-
"inputs": [],
|
329
|
-
"name": "getInstanceReader",
|
330
|
-
"outputs": [
|
331
|
-
{
|
332
|
-
"internalType": "contract InstanceReader",
|
333
|
-
"name": "",
|
334
|
-
"type": "address"
|
335
|
-
}
|
336
|
-
],
|
337
|
-
"stateMutability": "view",
|
338
|
-
"type": "function"
|
339
|
-
},
|
340
1622
|
{
|
341
1623
|
"inputs": [
|
342
1624
|
{
|
343
|
-
"internalType": "
|
344
|
-
"name": "
|
345
|
-
"type": "
|
346
|
-
}
|
347
|
-
],
|
348
|
-
"name": "supportsInterface",
|
349
|
-
"outputs": [
|
1625
|
+
"internalType": "NftId",
|
1626
|
+
"name": "productNftId",
|
1627
|
+
"type": "uint96"
|
1628
|
+
},
|
350
1629
|
{
|
351
|
-
"internalType": "
|
352
|
-
"name": "",
|
353
|
-
"type": "
|
1630
|
+
"internalType": "StateId",
|
1631
|
+
"name": "newState",
|
1632
|
+
"type": "uint8"
|
354
1633
|
}
|
355
1634
|
],
|
356
|
-
"
|
1635
|
+
"name": "updateProductSetupState",
|
1636
|
+
"outputs": [],
|
1637
|
+
"stateMutability": "nonpayable",
|
357
1638
|
"type": "function"
|
358
1639
|
},
|
359
1640
|
{
|
360
1641
|
"inputs": [
|
361
1642
|
{
|
362
|
-
"internalType": "
|
363
|
-
"name": "
|
364
|
-
"type": "
|
1643
|
+
"internalType": "RiskId",
|
1644
|
+
"name": "riskId",
|
1645
|
+
"type": "bytes8"
|
365
1646
|
},
|
366
1647
|
{
|
367
1648
|
"components": [
|
@@ -371,40 +1652,13 @@
|
|
371
1652
|
"type": "uint96"
|
372
1653
|
},
|
373
1654
|
{
|
374
|
-
"internalType": "
|
375
|
-
"name": "
|
376
|
-
"type": "
|
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"
|
1655
|
+
"internalType": "bytes",
|
1656
|
+
"name": "data",
|
1657
|
+
"type": "bytes"
|
404
1658
|
}
|
405
1659
|
],
|
406
|
-
"internalType": "struct
|
407
|
-
"name": "
|
1660
|
+
"internalType": "struct IRisk.RiskInfo",
|
1661
|
+
"name": "risk",
|
408
1662
|
"type": "tuple"
|
409
1663
|
},
|
410
1664
|
{
|
@@ -413,7 +1667,7 @@
|
|
413
1667
|
"type": "uint8"
|
414
1668
|
}
|
415
1669
|
],
|
416
|
-
"name": "
|
1670
|
+
"name": "updateRisk",
|
417
1671
|
"outputs": [],
|
418
1672
|
"stateMutability": "nonpayable",
|
419
1673
|
"type": "function"
|
@@ -421,9 +1675,9 @@
|
|
421
1675
|
{
|
422
1676
|
"inputs": [
|
423
1677
|
{
|
424
|
-
"internalType": "
|
425
|
-
"name": "
|
426
|
-
"type": "
|
1678
|
+
"internalType": "RiskId",
|
1679
|
+
"name": "riskId",
|
1680
|
+
"type": "bytes8"
|
427
1681
|
},
|
428
1682
|
{
|
429
1683
|
"internalType": "StateId",
|
@@ -431,7 +1685,7 @@
|
|
431
1685
|
"type": "uint8"
|
432
1686
|
}
|
433
1687
|
],
|
434
|
-
"name": "
|
1688
|
+
"name": "updateRiskState",
|
435
1689
|
"outputs": [],
|
436
1690
|
"stateMutability": "nonpayable",
|
437
1691
|
"type": "function"
|