@etherisc/gif-next 0.0.2-fb8d07b-779 → 0.0.2-fbe8e04-715
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +63 -1
- package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.dbg.json +1 -1
- package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.json +126 -0
- package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +1 -1
- package/artifacts/contracts/components/Distribution.sol/Distribution.json +136 -10
- package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.dbg.json +1 -1
- package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.json +88 -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 +168 -11
- package/artifacts/contracts/components/Product.sol/Product.dbg.json +1 -1
- package/artifacts/contracts/components/Product.sol/Product.json +144 -64
- 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/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.dbg.json +4 -0
- package/artifacts/contracts/instance/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.json +1206 -0
- package/artifacts/contracts/instance/BundleManager.sol/BundleManager.dbg.json +4 -0
- package/artifacts/contracts/instance/BundleManager.sol/BundleManager.json +788 -0
- package/artifacts/contracts/instance/Cloneable.sol/Cloneable.dbg.json +4 -0
- package/artifacts/contracts/instance/{AccessManagedSimple.sol/AccessManagedSimple.json → Cloneable.sol/Cloneable.json} +86 -2
- 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 +981 -10
- package/artifacts/contracts/instance/IInstanceBase.sol/IInstanceBase.dbg.json +4 -0
- package/artifacts/contracts/instance/IInstanceBase.sol/IInstanceBase.json +448 -0
- package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
- package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +6 -1
- package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
- package/artifacts/contracts/instance/Instance.sol/Instance.json +169 -139
- package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +55 -32
- package/artifacts/contracts/instance/InstanceBase.sol/InstanceBase.dbg.json +4 -0
- package/artifacts/contracts/instance/InstanceBase.sol/InstanceBase.json +763 -0
- package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +74 -40
- package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +223 -75
- package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +92 -32
- package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.dbg.json +4 -0
- package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.json +285 -0
- package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.dbg.json +1 -1
- package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.json +0 -19
- 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/BundleService.sol/BundleService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/BundleService.sol/BundleService.json +923 -0
- package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.dbg.json +4 -0
- package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.json +440 -0
- package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.json +16 -16
- package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +16 -48
- package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.json +13 -33
- package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.json +669 -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/IPolicyService.sol/IPolicyService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.json +664 -0
- package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.json +9 -71
- package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/IProductService.sol/IProductService.json +17 -232
- package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.json +984 -0
- package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +4 -0
- package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.json +464 -0
- package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +20 -157
- package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.json +13 -45
- package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +768 -0
- package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.dbg.json +4 -0
- package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.json +420 -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 +2 -110
- package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
- package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +94 -0
- 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 +35 -146
- package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
- package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +76 -20
- package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
- package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +26 -34
- package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +1 -1
- package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +12 -12
- 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 +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 +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/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 +9 -9
- 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/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/VersionPartLib.dbg.json +1 -1
- package/contracts/components/BaseComponent.sol +49 -8
- package/contracts/components/Distribution.sol +6 -3
- package/contracts/components/IBaseComponent.sol +6 -0
- package/contracts/components/IPoolComponent.sol +5 -1
- package/contracts/components/Pool.sol +40 -12
- package/contracts/components/Product.sol +41 -46
- package/contracts/instance/AccessManagerUpgradeableInitializeable.sol +23 -0
- package/contracts/instance/BundleManager.sol +129 -0
- package/contracts/instance/Cloneable.sol +46 -0
- package/contracts/instance/IInstance.sol +25 -4
- package/contracts/instance/IInstanceBase.sol +26 -0
- package/contracts/instance/IInstanceService.sol +5 -3
- package/contracts/instance/Instance.sol +40 -18
- package/contracts/instance/InstanceAccessManager.sol +6 -6
- package/contracts/instance/InstanceBase.sol +41 -0
- package/contracts/instance/InstanceReader.sol +9 -0
- package/contracts/instance/InstanceService.sol +116 -37
- package/contracts/instance/InstanceServiceManager.sol +6 -5
- package/contracts/instance/ObjectManager.sol +101 -0
- package/contracts/instance/base/ComponentServiceBase.sol +22 -75
- package/contracts/instance/module/ISetup.sol +3 -1
- package/contracts/instance/service/BundleService.sol +260 -0
- package/contracts/instance/service/BundleServiceManager.sol +54 -0
- package/contracts/instance/service/DistributionService.sol +40 -9
- package/contracts/instance/service/DistributionServiceManager.sol +6 -5
- package/contracts/instance/service/IBundleService.sol +45 -0
- package/contracts/instance/service/IPolicyService.sol +87 -0
- package/contracts/instance/service/IPoolService.sol +6 -23
- package/contracts/instance/service/IProductService.sol +6 -73
- package/contracts/instance/service/PolicyService.sol +508 -0
- package/contracts/instance/service/PolicyServiceManager.sol +54 -0
- package/contracts/instance/service/PoolService.sol +44 -113
- package/contracts/instance/service/PoolServiceManager.sol +6 -5
- package/contracts/instance/service/ProductService.sol +173 -0
- package/contracts/instance/service/ProductServiceManager.sol +54 -0
- package/contracts/registry/IRegistry.sol +5 -18
- package/contracts/registry/IRegistryService.sol +28 -11
- package/contracts/registry/Registry.sol +4 -45
- package/contracts/registry/RegistryService.sol +30 -71
- package/contracts/shared/NftOwnable.sol +2 -4
- package/contracts/types/NftIdSet.sol +26 -24
- package/contracts/types/RoleId.sol +3 -0
- package/package.json +1 -1
- package/artifacts/contracts/instance/AccessManagedSimple.sol/AccessManagedSimple.dbg.json +0 -4
- package/artifacts/contracts/instance/AccessManagerSimple.sol/AccessManagerSimple.dbg.json +0 -4
- package/artifacts/contracts/instance/AccessManagerSimple.sol/AccessManagerSimple.json +0 -1132
- package/contracts/instance/AccessManagedSimple.sol +0 -115
- package/contracts/instance/AccessManagerSimple.sol +0 -692
@@ -3,6 +3,172 @@
|
|
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
|
+
},
|
6
172
|
{
|
7
173
|
"inputs": [
|
8
174
|
{
|
@@ -137,6 +303,106 @@
|
|
137
303
|
"stateMutability": "nonpayable",
|
138
304
|
"type": "function"
|
139
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
|
+
},
|
140
406
|
{
|
141
407
|
"inputs": [
|
142
408
|
{
|
@@ -217,6 +483,11 @@
|
|
217
483
|
"name": "isIntercepting",
|
218
484
|
"type": "bool"
|
219
485
|
},
|
486
|
+
{
|
487
|
+
"internalType": "bool",
|
488
|
+
"name": "isConfirmingApplication",
|
489
|
+
"type": "bool"
|
490
|
+
},
|
220
491
|
{
|
221
492
|
"internalType": "address",
|
222
493
|
"name": "wallet",
|
@@ -363,6 +634,16 @@
|
|
363
634
|
"internalType": "struct Fee",
|
364
635
|
"name": "performanceFee",
|
365
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"
|
366
647
|
}
|
367
648
|
],
|
368
649
|
"internalType": "struct ISetup.ProductSetupInfo",
|
@@ -376,13 +657,107 @@
|
|
376
657
|
"type": "function"
|
377
658
|
},
|
378
659
|
{
|
379
|
-
"inputs": [
|
380
|
-
|
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",
|
381
698
|
"outputs": [
|
382
699
|
{
|
383
|
-
"internalType": "
|
700
|
+
"internalType": "bool",
|
384
701
|
"name": "",
|
385
|
-
"type": "
|
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"
|
386
761
|
}
|
387
762
|
],
|
388
763
|
"stateMutability": "view",
|
@@ -390,10 +765,10 @@
|
|
390
765
|
},
|
391
766
|
{
|
392
767
|
"inputs": [],
|
393
|
-
"name": "
|
768
|
+
"name": "getBundleManager",
|
394
769
|
"outputs": [
|
395
770
|
{
|
396
|
-
"internalType": "contract
|
771
|
+
"internalType": "contract BundleManager",
|
397
772
|
"name": "",
|
398
773
|
"type": "address"
|
399
774
|
}
|
@@ -403,10 +778,10 @@
|
|
403
778
|
},
|
404
779
|
{
|
405
780
|
"inputs": [],
|
406
|
-
"name": "
|
781
|
+
"name": "getBundleService",
|
407
782
|
"outputs": [
|
408
783
|
{
|
409
|
-
"internalType": "contract
|
784
|
+
"internalType": "contract IBundleService",
|
410
785
|
"name": "",
|
411
786
|
"type": "address"
|
412
787
|
}
|
@@ -416,10 +791,10 @@
|
|
416
791
|
},
|
417
792
|
{
|
418
793
|
"inputs": [],
|
419
|
-
"name": "
|
794
|
+
"name": "getComponentOwnerService",
|
420
795
|
"outputs": [
|
421
796
|
{
|
422
|
-
"internalType": "contract
|
797
|
+
"internalType": "contract IComponentOwnerService",
|
423
798
|
"name": "",
|
424
799
|
"type": "address"
|
425
800
|
}
|
@@ -427,6 +802,222 @@
|
|
427
802
|
"stateMutability": "view",
|
428
803
|
"type": "function"
|
429
804
|
},
|
805
|
+
{
|
806
|
+
"inputs": [
|
807
|
+
{
|
808
|
+
"internalType": "Key32",
|
809
|
+
"name": "key",
|
810
|
+
"type": "bytes32"
|
811
|
+
}
|
812
|
+
],
|
813
|
+
"name": "getData",
|
814
|
+
"outputs": [
|
815
|
+
{
|
816
|
+
"internalType": "bytes",
|
817
|
+
"name": "data",
|
818
|
+
"type": "bytes"
|
819
|
+
}
|
820
|
+
],
|
821
|
+
"stateMutability": "view",
|
822
|
+
"type": "function"
|
823
|
+
},
|
824
|
+
{
|
825
|
+
"inputs": [],
|
826
|
+
"name": "getDistributionService",
|
827
|
+
"outputs": [
|
828
|
+
{
|
829
|
+
"internalType": "contract IDistributionService",
|
830
|
+
"name": "",
|
831
|
+
"type": "address"
|
832
|
+
}
|
833
|
+
],
|
834
|
+
"stateMutability": "view",
|
835
|
+
"type": "function"
|
836
|
+
},
|
837
|
+
{
|
838
|
+
"inputs": [
|
839
|
+
{
|
840
|
+
"internalType": "ObjectType",
|
841
|
+
"name": "objectType",
|
842
|
+
"type": "uint8"
|
843
|
+
}
|
844
|
+
],
|
845
|
+
"name": "getInitialState",
|
846
|
+
"outputs": [
|
847
|
+
{
|
848
|
+
"internalType": "StateId",
|
849
|
+
"name": "",
|
850
|
+
"type": "uint8"
|
851
|
+
}
|
852
|
+
],
|
853
|
+
"stateMutability": "view",
|
854
|
+
"type": "function"
|
855
|
+
},
|
856
|
+
{
|
857
|
+
"inputs": [],
|
858
|
+
"name": "getInstanceReader",
|
859
|
+
"outputs": [
|
860
|
+
{
|
861
|
+
"internalType": "contract InstanceReader",
|
862
|
+
"name": "",
|
863
|
+
"type": "address"
|
864
|
+
}
|
865
|
+
],
|
866
|
+
"stateMutability": "view",
|
867
|
+
"type": "function"
|
868
|
+
},
|
869
|
+
{
|
870
|
+
"inputs": [
|
871
|
+
{
|
872
|
+
"internalType": "Key32",
|
873
|
+
"name": "key",
|
874
|
+
"type": "bytes32"
|
875
|
+
}
|
876
|
+
],
|
877
|
+
"name": "getMetadata",
|
878
|
+
"outputs": [
|
879
|
+
{
|
880
|
+
"components": [
|
881
|
+
{
|
882
|
+
"internalType": "ObjectType",
|
883
|
+
"name": "objectType",
|
884
|
+
"type": "uint8"
|
885
|
+
},
|
886
|
+
{
|
887
|
+
"internalType": "StateId",
|
888
|
+
"name": "state",
|
889
|
+
"type": "uint8"
|
890
|
+
},
|
891
|
+
{
|
892
|
+
"internalType": "address",
|
893
|
+
"name": "updatedBy",
|
894
|
+
"type": "address"
|
895
|
+
},
|
896
|
+
{
|
897
|
+
"internalType": "Blocknumber",
|
898
|
+
"name": "updatedIn",
|
899
|
+
"type": "uint32"
|
900
|
+
},
|
901
|
+
{
|
902
|
+
"internalType": "Blocknumber",
|
903
|
+
"name": "createdIn",
|
904
|
+
"type": "uint32"
|
905
|
+
}
|
906
|
+
],
|
907
|
+
"internalType": "struct IKeyValueStore.Metadata",
|
908
|
+
"name": "metadata",
|
909
|
+
"type": "tuple"
|
910
|
+
}
|
911
|
+
],
|
912
|
+
"stateMutability": "view",
|
913
|
+
"type": "function"
|
914
|
+
},
|
915
|
+
{
|
916
|
+
"inputs": [],
|
917
|
+
"name": "getPolicyService",
|
918
|
+
"outputs": [
|
919
|
+
{
|
920
|
+
"internalType": "contract IPolicyService",
|
921
|
+
"name": "",
|
922
|
+
"type": "address"
|
923
|
+
}
|
924
|
+
],
|
925
|
+
"stateMutability": "view",
|
926
|
+
"type": "function"
|
927
|
+
},
|
928
|
+
{
|
929
|
+
"inputs": [],
|
930
|
+
"name": "getPoolService",
|
931
|
+
"outputs": [
|
932
|
+
{
|
933
|
+
"internalType": "contract IPoolService",
|
934
|
+
"name": "",
|
935
|
+
"type": "address"
|
936
|
+
}
|
937
|
+
],
|
938
|
+
"stateMutability": "view",
|
939
|
+
"type": "function"
|
940
|
+
},
|
941
|
+
{
|
942
|
+
"inputs": [],
|
943
|
+
"name": "getProductService",
|
944
|
+
"outputs": [
|
945
|
+
{
|
946
|
+
"internalType": "contract IProductService",
|
947
|
+
"name": "",
|
948
|
+
"type": "address"
|
949
|
+
}
|
950
|
+
],
|
951
|
+
"stateMutability": "view",
|
952
|
+
"type": "function"
|
953
|
+
},
|
954
|
+
{
|
955
|
+
"inputs": [
|
956
|
+
{
|
957
|
+
"internalType": "Key32",
|
958
|
+
"name": "key",
|
959
|
+
"type": "bytes32"
|
960
|
+
}
|
961
|
+
],
|
962
|
+
"name": "getState",
|
963
|
+
"outputs": [
|
964
|
+
{
|
965
|
+
"internalType": "StateId",
|
966
|
+
"name": "state",
|
967
|
+
"type": "uint8"
|
968
|
+
}
|
969
|
+
],
|
970
|
+
"stateMutability": "view",
|
971
|
+
"type": "function"
|
972
|
+
},
|
973
|
+
{
|
974
|
+
"inputs": [
|
975
|
+
{
|
976
|
+
"internalType": "ObjectType",
|
977
|
+
"name": "objectType",
|
978
|
+
"type": "uint8"
|
979
|
+
}
|
980
|
+
],
|
981
|
+
"name": "hasLifecycle",
|
982
|
+
"outputs": [
|
983
|
+
{
|
984
|
+
"internalType": "bool",
|
985
|
+
"name": "",
|
986
|
+
"type": "bool"
|
987
|
+
}
|
988
|
+
],
|
989
|
+
"stateMutability": "view",
|
990
|
+
"type": "function"
|
991
|
+
},
|
992
|
+
{
|
993
|
+
"inputs": [
|
994
|
+
{
|
995
|
+
"internalType": "ObjectType",
|
996
|
+
"name": "objectType",
|
997
|
+
"type": "uint8"
|
998
|
+
},
|
999
|
+
{
|
1000
|
+
"internalType": "StateId",
|
1001
|
+
"name": "fromId",
|
1002
|
+
"type": "uint8"
|
1003
|
+
},
|
1004
|
+
{
|
1005
|
+
"internalType": "StateId",
|
1006
|
+
"name": "toId",
|
1007
|
+
"type": "uint8"
|
1008
|
+
}
|
1009
|
+
],
|
1010
|
+
"name": "isValidTransition",
|
1011
|
+
"outputs": [
|
1012
|
+
{
|
1013
|
+
"internalType": "bool",
|
1014
|
+
"name": "",
|
1015
|
+
"type": "bool"
|
1016
|
+
}
|
1017
|
+
],
|
1018
|
+
"stateMutability": "view",
|
1019
|
+
"type": "function"
|
1020
|
+
},
|
430
1021
|
{
|
431
1022
|
"inputs": [
|
432
1023
|
{
|
@@ -446,6 +1037,30 @@
|
|
446
1037
|
"stateMutability": "view",
|
447
1038
|
"type": "function"
|
448
1039
|
},
|
1040
|
+
{
|
1041
|
+
"inputs": [
|
1042
|
+
{
|
1043
|
+
"internalType": "ObjectType",
|
1044
|
+
"name": "objectType",
|
1045
|
+
"type": "uint8"
|
1046
|
+
},
|
1047
|
+
{
|
1048
|
+
"internalType": "KeyId",
|
1049
|
+
"name": "id",
|
1050
|
+
"type": "bytes31"
|
1051
|
+
}
|
1052
|
+
],
|
1053
|
+
"name": "toKey32",
|
1054
|
+
"outputs": [
|
1055
|
+
{
|
1056
|
+
"internalType": "Key32",
|
1057
|
+
"name": "",
|
1058
|
+
"type": "bytes32"
|
1059
|
+
}
|
1060
|
+
],
|
1061
|
+
"stateMutability": "pure",
|
1062
|
+
"type": "function"
|
1063
|
+
},
|
449
1064
|
{
|
450
1065
|
"inputs": [
|
451
1066
|
{
|
@@ -626,6 +1241,129 @@
|
|
626
1241
|
"stateMutability": "nonpayable",
|
627
1242
|
"type": "function"
|
628
1243
|
},
|
1244
|
+
{
|
1245
|
+
"inputs": [
|
1246
|
+
{
|
1247
|
+
"internalType": "NftId",
|
1248
|
+
"name": "policyNftId",
|
1249
|
+
"type": "uint96"
|
1250
|
+
},
|
1251
|
+
{
|
1252
|
+
"components": [
|
1253
|
+
{
|
1254
|
+
"internalType": "NftId",
|
1255
|
+
"name": "productNftId",
|
1256
|
+
"type": "uint96"
|
1257
|
+
},
|
1258
|
+
{
|
1259
|
+
"internalType": "NftId",
|
1260
|
+
"name": "bundleNftId",
|
1261
|
+
"type": "uint96"
|
1262
|
+
},
|
1263
|
+
{
|
1264
|
+
"internalType": "ReferralId",
|
1265
|
+
"name": "referralId",
|
1266
|
+
"type": "bytes8"
|
1267
|
+
},
|
1268
|
+
{
|
1269
|
+
"internalType": "RiskId",
|
1270
|
+
"name": "riskId",
|
1271
|
+
"type": "bytes8"
|
1272
|
+
},
|
1273
|
+
{
|
1274
|
+
"internalType": "uint256",
|
1275
|
+
"name": "sumInsuredAmount",
|
1276
|
+
"type": "uint256"
|
1277
|
+
},
|
1278
|
+
{
|
1279
|
+
"internalType": "uint256",
|
1280
|
+
"name": "premiumAmount",
|
1281
|
+
"type": "uint256"
|
1282
|
+
},
|
1283
|
+
{
|
1284
|
+
"internalType": "uint256",
|
1285
|
+
"name": "premiumPaidAmount",
|
1286
|
+
"type": "uint256"
|
1287
|
+
},
|
1288
|
+
{
|
1289
|
+
"internalType": "uint256",
|
1290
|
+
"name": "lifetime",
|
1291
|
+
"type": "uint256"
|
1292
|
+
},
|
1293
|
+
{
|
1294
|
+
"internalType": "bytes",
|
1295
|
+
"name": "applicationData",
|
1296
|
+
"type": "bytes"
|
1297
|
+
},
|
1298
|
+
{
|
1299
|
+
"internalType": "bytes",
|
1300
|
+
"name": "policyData",
|
1301
|
+
"type": "bytes"
|
1302
|
+
},
|
1303
|
+
{
|
1304
|
+
"internalType": "uint16",
|
1305
|
+
"name": "claimsCount",
|
1306
|
+
"type": "uint16"
|
1307
|
+
},
|
1308
|
+
{
|
1309
|
+
"internalType": "uint16",
|
1310
|
+
"name": "openClaimsCount",
|
1311
|
+
"type": "uint16"
|
1312
|
+
},
|
1313
|
+
{
|
1314
|
+
"internalType": "uint256",
|
1315
|
+
"name": "payoutAmount",
|
1316
|
+
"type": "uint256"
|
1317
|
+
},
|
1318
|
+
{
|
1319
|
+
"internalType": "Timestamp",
|
1320
|
+
"name": "activatedAt",
|
1321
|
+
"type": "uint40"
|
1322
|
+
},
|
1323
|
+
{
|
1324
|
+
"internalType": "Timestamp",
|
1325
|
+
"name": "expiredAt",
|
1326
|
+
"type": "uint40"
|
1327
|
+
},
|
1328
|
+
{
|
1329
|
+
"internalType": "Timestamp",
|
1330
|
+
"name": "closedAt",
|
1331
|
+
"type": "uint40"
|
1332
|
+
}
|
1333
|
+
],
|
1334
|
+
"internalType": "struct IPolicy.PolicyInfo",
|
1335
|
+
"name": "policy",
|
1336
|
+
"type": "tuple"
|
1337
|
+
},
|
1338
|
+
{
|
1339
|
+
"internalType": "StateId",
|
1340
|
+
"name": "newState",
|
1341
|
+
"type": "uint8"
|
1342
|
+
}
|
1343
|
+
],
|
1344
|
+
"name": "updatePolicy",
|
1345
|
+
"outputs": [],
|
1346
|
+
"stateMutability": "nonpayable",
|
1347
|
+
"type": "function"
|
1348
|
+
},
|
1349
|
+
{
|
1350
|
+
"inputs": [
|
1351
|
+
{
|
1352
|
+
"internalType": "NftId",
|
1353
|
+
"name": "policyNftId",
|
1354
|
+
"type": "uint96"
|
1355
|
+
},
|
1356
|
+
{
|
1357
|
+
"internalType": "StateId",
|
1358
|
+
"name": "newState",
|
1359
|
+
"type": "uint8"
|
1360
|
+
}
|
1361
|
+
],
|
1362
|
+
"name": "updatePolicyState",
|
1363
|
+
"outputs": [],
|
1364
|
+
"stateMutability": "nonpayable",
|
1365
|
+
"type": "function"
|
1366
|
+
},
|
629
1367
|
{
|
630
1368
|
"inputs": [
|
631
1369
|
{
|
@@ -706,6 +1444,11 @@
|
|
706
1444
|
"name": "isIntercepting",
|
707
1445
|
"type": "bool"
|
708
1446
|
},
|
1447
|
+
{
|
1448
|
+
"internalType": "bool",
|
1449
|
+
"name": "isConfirmingApplication",
|
1450
|
+
"type": "bool"
|
1451
|
+
},
|
709
1452
|
{
|
710
1453
|
"internalType": "address",
|
711
1454
|
"name": "wallet",
|
@@ -744,6 +1487,234 @@
|
|
744
1487
|
"outputs": [],
|
745
1488
|
"stateMutability": "nonpayable",
|
746
1489
|
"type": "function"
|
1490
|
+
},
|
1491
|
+
{
|
1492
|
+
"inputs": [
|
1493
|
+
{
|
1494
|
+
"internalType": "NftId",
|
1495
|
+
"name": "productNftId",
|
1496
|
+
"type": "uint96"
|
1497
|
+
},
|
1498
|
+
{
|
1499
|
+
"components": [
|
1500
|
+
{
|
1501
|
+
"internalType": "contract IERC20Metadata",
|
1502
|
+
"name": "token",
|
1503
|
+
"type": "address"
|
1504
|
+
},
|
1505
|
+
{
|
1506
|
+
"internalType": "contract TokenHandler",
|
1507
|
+
"name": "tokenHandler",
|
1508
|
+
"type": "address"
|
1509
|
+
},
|
1510
|
+
{
|
1511
|
+
"internalType": "NftId",
|
1512
|
+
"name": "distributionNftId",
|
1513
|
+
"type": "uint96"
|
1514
|
+
},
|
1515
|
+
{
|
1516
|
+
"internalType": "NftId",
|
1517
|
+
"name": "poolNftId",
|
1518
|
+
"type": "uint96"
|
1519
|
+
},
|
1520
|
+
{
|
1521
|
+
"components": [
|
1522
|
+
{
|
1523
|
+
"internalType": "UFixed",
|
1524
|
+
"name": "fractionalFee",
|
1525
|
+
"type": "uint256"
|
1526
|
+
},
|
1527
|
+
{
|
1528
|
+
"internalType": "uint256",
|
1529
|
+
"name": "fixedFee",
|
1530
|
+
"type": "uint256"
|
1531
|
+
}
|
1532
|
+
],
|
1533
|
+
"internalType": "struct Fee",
|
1534
|
+
"name": "distributionFee",
|
1535
|
+
"type": "tuple"
|
1536
|
+
},
|
1537
|
+
{
|
1538
|
+
"components": [
|
1539
|
+
{
|
1540
|
+
"internalType": "UFixed",
|
1541
|
+
"name": "fractionalFee",
|
1542
|
+
"type": "uint256"
|
1543
|
+
},
|
1544
|
+
{
|
1545
|
+
"internalType": "uint256",
|
1546
|
+
"name": "fixedFee",
|
1547
|
+
"type": "uint256"
|
1548
|
+
}
|
1549
|
+
],
|
1550
|
+
"internalType": "struct Fee",
|
1551
|
+
"name": "productFee",
|
1552
|
+
"type": "tuple"
|
1553
|
+
},
|
1554
|
+
{
|
1555
|
+
"components": [
|
1556
|
+
{
|
1557
|
+
"internalType": "UFixed",
|
1558
|
+
"name": "fractionalFee",
|
1559
|
+
"type": "uint256"
|
1560
|
+
},
|
1561
|
+
{
|
1562
|
+
"internalType": "uint256",
|
1563
|
+
"name": "fixedFee",
|
1564
|
+
"type": "uint256"
|
1565
|
+
}
|
1566
|
+
],
|
1567
|
+
"internalType": "struct Fee",
|
1568
|
+
"name": "processingFee",
|
1569
|
+
"type": "tuple"
|
1570
|
+
},
|
1571
|
+
{
|
1572
|
+
"components": [
|
1573
|
+
{
|
1574
|
+
"internalType": "UFixed",
|
1575
|
+
"name": "fractionalFee",
|
1576
|
+
"type": "uint256"
|
1577
|
+
},
|
1578
|
+
{
|
1579
|
+
"internalType": "uint256",
|
1580
|
+
"name": "fixedFee",
|
1581
|
+
"type": "uint256"
|
1582
|
+
}
|
1583
|
+
],
|
1584
|
+
"internalType": "struct Fee",
|
1585
|
+
"name": "poolFee",
|
1586
|
+
"type": "tuple"
|
1587
|
+
},
|
1588
|
+
{
|
1589
|
+
"components": [
|
1590
|
+
{
|
1591
|
+
"internalType": "UFixed",
|
1592
|
+
"name": "fractionalFee",
|
1593
|
+
"type": "uint256"
|
1594
|
+
},
|
1595
|
+
{
|
1596
|
+
"internalType": "uint256",
|
1597
|
+
"name": "fixedFee",
|
1598
|
+
"type": "uint256"
|
1599
|
+
}
|
1600
|
+
],
|
1601
|
+
"internalType": "struct Fee",
|
1602
|
+
"name": "stakingFee",
|
1603
|
+
"type": "tuple"
|
1604
|
+
},
|
1605
|
+
{
|
1606
|
+
"components": [
|
1607
|
+
{
|
1608
|
+
"internalType": "UFixed",
|
1609
|
+
"name": "fractionalFee",
|
1610
|
+
"type": "uint256"
|
1611
|
+
},
|
1612
|
+
{
|
1613
|
+
"internalType": "uint256",
|
1614
|
+
"name": "fixedFee",
|
1615
|
+
"type": "uint256"
|
1616
|
+
}
|
1617
|
+
],
|
1618
|
+
"internalType": "struct Fee",
|
1619
|
+
"name": "performanceFee",
|
1620
|
+
"type": "tuple"
|
1621
|
+
},
|
1622
|
+
{
|
1623
|
+
"internalType": "bool",
|
1624
|
+
"name": "isIntercepting",
|
1625
|
+
"type": "bool"
|
1626
|
+
},
|
1627
|
+
{
|
1628
|
+
"internalType": "address",
|
1629
|
+
"name": "wallet",
|
1630
|
+
"type": "address"
|
1631
|
+
}
|
1632
|
+
],
|
1633
|
+
"internalType": "struct ISetup.ProductSetupInfo",
|
1634
|
+
"name": "setup",
|
1635
|
+
"type": "tuple"
|
1636
|
+
},
|
1637
|
+
{
|
1638
|
+
"internalType": "StateId",
|
1639
|
+
"name": "newState",
|
1640
|
+
"type": "uint8"
|
1641
|
+
}
|
1642
|
+
],
|
1643
|
+
"name": "updateProductSetup",
|
1644
|
+
"outputs": [],
|
1645
|
+
"stateMutability": "nonpayable",
|
1646
|
+
"type": "function"
|
1647
|
+
},
|
1648
|
+
{
|
1649
|
+
"inputs": [
|
1650
|
+
{
|
1651
|
+
"internalType": "NftId",
|
1652
|
+
"name": "productNftId",
|
1653
|
+
"type": "uint96"
|
1654
|
+
},
|
1655
|
+
{
|
1656
|
+
"internalType": "StateId",
|
1657
|
+
"name": "newState",
|
1658
|
+
"type": "uint8"
|
1659
|
+
}
|
1660
|
+
],
|
1661
|
+
"name": "updateProductSetupState",
|
1662
|
+
"outputs": [],
|
1663
|
+
"stateMutability": "nonpayable",
|
1664
|
+
"type": "function"
|
1665
|
+
},
|
1666
|
+
{
|
1667
|
+
"inputs": [
|
1668
|
+
{
|
1669
|
+
"internalType": "RiskId",
|
1670
|
+
"name": "riskId",
|
1671
|
+
"type": "bytes8"
|
1672
|
+
},
|
1673
|
+
{
|
1674
|
+
"components": [
|
1675
|
+
{
|
1676
|
+
"internalType": "NftId",
|
1677
|
+
"name": "productNftId",
|
1678
|
+
"type": "uint96"
|
1679
|
+
},
|
1680
|
+
{
|
1681
|
+
"internalType": "bytes",
|
1682
|
+
"name": "data",
|
1683
|
+
"type": "bytes"
|
1684
|
+
}
|
1685
|
+
],
|
1686
|
+
"internalType": "struct IRisk.RiskInfo",
|
1687
|
+
"name": "risk",
|
1688
|
+
"type": "tuple"
|
1689
|
+
},
|
1690
|
+
{
|
1691
|
+
"internalType": "StateId",
|
1692
|
+
"name": "newState",
|
1693
|
+
"type": "uint8"
|
1694
|
+
}
|
1695
|
+
],
|
1696
|
+
"name": "updateRisk",
|
1697
|
+
"outputs": [],
|
1698
|
+
"stateMutability": "nonpayable",
|
1699
|
+
"type": "function"
|
1700
|
+
},
|
1701
|
+
{
|
1702
|
+
"inputs": [
|
1703
|
+
{
|
1704
|
+
"internalType": "RiskId",
|
1705
|
+
"name": "riskId",
|
1706
|
+
"type": "bytes8"
|
1707
|
+
},
|
1708
|
+
{
|
1709
|
+
"internalType": "StateId",
|
1710
|
+
"name": "newState",
|
1711
|
+
"type": "uint8"
|
1712
|
+
}
|
1713
|
+
],
|
1714
|
+
"name": "updateRiskState",
|
1715
|
+
"outputs": [],
|
1716
|
+
"stateMutability": "nonpayable",
|
1717
|
+
"type": "function"
|
747
1718
|
}
|
748
1719
|
],
|
749
1720
|
"bytecode": "0x",
|