@etherisc/gif-next 0.0.2-dc7e4cb-141 → 0.0.2-de220d6-949
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +5 -14
- package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.dbg.json +1 -1
- package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.dbg.json +1 -1
- package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +1 -1
- 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 +2 -2
- package/artifacts/contracts/components/Product.sol/Product.dbg.json +1 -1
- package/artifacts/contracts/components/Product.sol/Product.json +2 -2
- package/artifacts/contracts/experiment/errors/IncrementRevert.sol/IIncrementRevert.dbg.json +4 -0
- package/artifacts/contracts/experiment/errors/IncrementRevert.sol/IIncrementRevert.json +27 -0
- package/artifacts/contracts/experiment/errors/IncrementRevert.sol/IncrementRevert.dbg.json +4 -0
- package/artifacts/contracts/experiment/errors/IncrementRevert.sol/IncrementRevert.json +83 -0
- package/artifacts/contracts/experiment/errors/Require.sol/Require.dbg.json +1 -1
- package/artifacts/contracts/experiment/errors/Revert.sol/IRevert.dbg.json +4 -0
- package/artifacts/contracts/experiment/errors/Revert.sol/IRevert.json +75 -0
- package/artifacts/contracts/experiment/errors/Revert.sol/Revert.dbg.json +1 -1
- package/artifacts/contracts/experiment/errors/Revert.sol/Revert.json +34 -2
- package/artifacts/contracts/experiment/inheritance/A.sol/A.dbg.json +1 -1
- package/artifacts/contracts/experiment/inheritance/A.sol/AShared.dbg.json +1 -1
- package/artifacts/contracts/experiment/inheritance/B.sol/B.dbg.json +1 -1
- package/artifacts/contracts/experiment/inheritance/C.sol/C.dbg.json +1 -1
- package/artifacts/contracts/experiment/inheritance/IA.sol/IA.dbg.json +1 -1
- package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.dbg.json +1 -1
- package/artifacts/contracts/experiment/inheritance/IB.sol/IB.dbg.json +1 -1
- package/artifacts/contracts/experiment/inheritance/IC.sol/IC.dbg.json +1 -1
- package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.dbg.json +1 -1
- package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.json +2 -2
- package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.dbg.json +1 -1
- package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.dbg.json +1 -1
- package/artifacts/contracts/experiment/statemachine/SM.sol/SM.dbg.json +1 -1
- package/artifacts/contracts/experiment/statemachine/SM.sol/SM.json +2 -2
- package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.dbg.json +1 -1
- package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.json +2 -2
- package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.dbg.json +1 -1
- package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.dbg.json +1 -1
- package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
- package/artifacts/contracts/instance/IInstance.sol/IInstance.json +54 -195
- package/artifacts/contracts/instance/IInstanceLinked.sol/IInstanceLinked.dbg.json +1 -1
- package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
- package/artifacts/contracts/instance/Instance.sol/Instance.json +202 -269
- package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.dbg.json +4 -0
- package/artifacts/contracts/instance/{service → base}/ComponentServiceBase.sol/ComponentServiceBase.json +1 -1
- package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.dbg.json +4 -0
- package/artifacts/contracts/instance/{IServiceLinked.sol/IServiceLinked.json → base/IInstanceBase.sol/IInstanceBase.json} +15 -2
- package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +4 -0
- package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.json +511 -0
- package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.dbg.json +4 -0
- package/artifacts/contracts/instance/{module/lifecycle/ILifecycle.sol/ILifecycleModule.json → base/ILifecycle.sol/ILifecycle.json} +10 -77
- package/artifacts/contracts/instance/base/IService.sol/IService.dbg.json +4 -0
- package/artifacts/contracts/instance/{service → base}/IService.sol/IService.json +1 -1
- package/artifacts/contracts/instance/base/InstanceBase.sol/InstanceBase.dbg.json +4 -0
- package/artifacts/contracts/instance/{InstanceBase.sol → base/InstanceBase.sol}/InstanceBase.json +14 -1
- package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +4 -0
- package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.json +692 -0
- package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +4 -0
- package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +169 -0
- package/artifacts/contracts/instance/base/ModuleBase.sol/ModuleBase.dbg.json +4 -0
- package/artifacts/contracts/instance/base/ModuleBase.sol/ModuleBase.json +10 -0
- package/artifacts/contracts/instance/base/ServiceBase.sol/ServiceBase.dbg.json +4 -0
- package/artifacts/contracts/instance/{service → base}/ServiceBase.sol/ServiceBase.json +1 -1
- package/artifacts/contracts/instance/module/access/Access.sol/AccessModule.dbg.json +1 -1
- package/artifacts/contracts/instance/module/access/IAccess.sol/IAccess.dbg.json +1 -1
- package/artifacts/contracts/instance/module/access/IAccess.sol/IAccessModule.dbg.json +1 -1
- package/artifacts/contracts/instance/module/bundle/BundleModule.sol/BundleModule.dbg.json +1 -1
- package/artifacts/contracts/instance/module/bundle/BundleModule.sol/BundleModule.json +50 -30
- package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundle.dbg.json +1 -1
- package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundleModule.dbg.json +1 -1
- package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundleModule.json +50 -30
- package/artifacts/contracts/instance/module/compensation/CompensationModule.sol/CompensationModule.dbg.json +1 -1
- package/artifacts/contracts/instance/module/compensation/ICompensation.sol/ICompensation.dbg.json +1 -1
- package/artifacts/contracts/instance/module/compensation/ICompensation.sol/ICompensationModule.dbg.json +1 -1
- package/artifacts/contracts/instance/module/component/ComponentModule.sol/ComponentModule.dbg.json +1 -1
- package/artifacts/contracts/instance/module/component/ComponentModule.sol/ComponentModule.json +1 -1
- package/artifacts/contracts/instance/module/component/IComponent.sol/IComponent.dbg.json +1 -1
- package/artifacts/contracts/instance/module/component/IComponent.sol/IComponentModule.dbg.json +1 -1
- package/artifacts/contracts/instance/module/policy/IPolicy.sol/IPolicy.dbg.json +1 -1
- package/artifacts/contracts/instance/module/policy/IPolicy.sol/IPolicyModule.dbg.json +1 -1
- package/artifacts/contracts/instance/module/policy/IPolicy.sol/IPolicyModule.json +12 -2
- package/artifacts/contracts/instance/module/policy/PolicyModule.sol/PolicyModule.dbg.json +1 -1
- package/artifacts/contracts/instance/module/policy/PolicyModule.sol/PolicyModule.json +12 -2
- package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPool.dbg.json +1 -1
- package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPoolModule.dbg.json +1 -1
- package/artifacts/contracts/instance/module/pool/PoolModule.sol/PoolModule.dbg.json +1 -1
- package/artifacts/contracts/instance/module/risk/IRisk.sol/IRisk.dbg.json +1 -1
- package/artifacts/contracts/instance/module/risk/IRisk.sol/IRiskModule.dbg.json +1 -1
- package/artifacts/contracts/instance/module/risk/RiskModule.sol/RiskModule.dbg.json +1 -1
- package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasury.dbg.json +1 -1
- package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasuryModule.dbg.json +1 -1
- package/artifacts/contracts/instance/module/treasury/TokenHandler.sol/TokenHandler.dbg.json +1 -1
- package/artifacts/contracts/instance/module/treasury/TokenHandler.sol/TokenHandler.json +2 -2
- package/artifacts/contracts/instance/module/treasury/TreasuryModule.sol/TreasuryModule.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 +34 -2
- package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +2 -2
- package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +4 -4
- package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
- package/artifacts/contracts/registry/IChainNft.sol/IChainNft.dbg.json +1 -1
- package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
- package/artifacts/contracts/registry/IRegistryLinked.sol/IRegistryLinked.dbg.json +1 -1
- package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
- package/artifacts/contracts/registry/Registry.sol/Registry.json +2 -2
- package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +1 -1
- package/artifacts/contracts/shared/IOwnable.sol/IOwnable.dbg.json +1 -1
- package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
- package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +1 -1
- package/artifacts/contracts/shared/Registerable.sol/Registerable.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/TestPool.sol/TestPool.dbg.json +1 -1
- package/artifacts/contracts/test/TestPool.sol/TestPool.json +2 -2
- package/artifacts/contracts/test/TestProduct.sol/TestProduct.dbg.json +1 -1
- package/artifacts/contracts/test/TestProduct.sol/TestProduct.json +2 -2
- package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +1 -1
- package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +2 -2
- package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +1 -1
- package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +38 -4
- package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +1 -1
- package/artifacts/contracts/test/TestService.sol/TestService.json +2 -2
- 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/Fee.sol/FeeLib.dbg.json +1 -1
- package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +4 -0
- package/artifacts/contracts/types/Key32.sol/Key32Lib.json +111 -0
- package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +1 -1
- package/artifacts/contracts/types/NftId.sol/NftIdLib.json +65 -4
- package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +1 -1
- package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.json +2 -2
- package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +1 -1
- package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +4 -0
- package/artifacts/contracts/types/RoleId.sol/RoleIdLib.json +30 -0
- package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +1 -1
- package/artifacts/contracts/types/StateId.sol/StateIdLib.json +2 -2
- package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +1 -1
- package/artifacts/contracts/types/UFixed.sol/UFixedMathLib.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 +0 -1
- package/contracts/experiment/errors/IncrementRevert.sol +43 -0
- package/contracts/experiment/errors/Revert.sol +13 -4
- package/contracts/instance/IInstance.sol +9 -10
- package/contracts/instance/Instance.sol +9 -7
- package/contracts/instance/{service → base}/ComponentServiceBase.sol +1 -0
- package/contracts/instance/base/IInstanceBase.sol +14 -0
- package/contracts/instance/base/IKeyValueStore.sol +49 -0
- package/contracts/instance/base/ILifecycle.sol +30 -0
- package/contracts/instance/{InstanceBase.sol → base/InstanceBase.sol} +20 -11
- package/contracts/instance/base/KeyValueStore.sol +156 -0
- package/contracts/instance/{module/lifecycle/LifecycleModule.sol → base/Lifecycle.sol} +36 -30
- package/contracts/instance/base/ModuleBase.sol +52 -0
- package/contracts/instance/{service → base}/ServiceBase.sol +0 -2
- package/contracts/instance/module/access/Access.sol +3 -3
- package/contracts/instance/module/bundle/BundleModule.sol +24 -116
- package/contracts/instance/module/bundle/IBundle.sol +8 -3
- package/contracts/instance/module/component/ComponentModule.sol +10 -18
- package/contracts/instance/module/policy/IPolicy.sol +2 -1
- package/contracts/instance/module/policy/PolicyModule.sol +4 -11
- package/contracts/instance/service/ComponentOwnerService.sol +1 -2
- package/contracts/instance/service/IComponentOwnerService.sol +1 -1
- package/contracts/instance/service/IPoolService.sol +1 -1
- package/contracts/instance/service/IProductService.sol +1 -1
- package/contracts/instance/service/PoolService.sol +1 -1
- package/contracts/instance/service/ProductService.sol +2 -3
- package/contracts/registry/Registry.sol +1 -1
- package/contracts/test/TestRoleId.sol +2 -2
- package/contracts/test/TestService.sol +1 -1
- package/contracts/types/Key32.sol +45 -0
- package/contracts/types/NftId.sol +16 -1
- package/contracts/types/RoleId.sol +11 -9
- package/contracts/types/StateId.sol +7 -1
- package/package.json +1 -1
- package/artifacts/contracts/instance/IServiceLinked.sol/IServiceLinked.dbg.json +0 -4
- package/artifacts/contracts/instance/InstanceBase.sol/InstanceBase.dbg.json +0 -4
- package/artifacts/contracts/instance/module/lifecycle/ILifecycle.sol/ILifecycle.dbg.json +0 -4
- package/artifacts/contracts/instance/module/lifecycle/ILifecycle.sol/ILifecycle.json +0 -134
- package/artifacts/contracts/instance/module/lifecycle/ILifecycle.sol/ILifecycleModule.dbg.json +0 -4
- package/artifacts/contracts/instance/module/lifecycle/LifecycleModule.sol/LifecycleModule.dbg.json +0 -4
- package/artifacts/contracts/instance/module/lifecycle/LifecycleModule.sol/LifecycleModule.json +0 -221
- package/artifacts/contracts/instance/service/ComponentServiceBase.sol/ComponentServiceBase.dbg.json +0 -4
- package/artifacts/contracts/instance/service/IService.sol/IService.dbg.json +0 -4
- package/artifacts/contracts/instance/service/ServiceBase.sol/ServiceBase.dbg.json +0 -4
- package/contracts/instance/IServiceLinked.sol +0 -12
- package/contracts/instance/module/lifecycle/ILifecycle.sol +0 -47
- /package/contracts/instance/{service → base}/IService.sol +0 -0
@@ -0,0 +1,169 @@
|
|
1
|
+
{
|
2
|
+
"_format": "hh-sol-artifact-1",
|
3
|
+
"contractName": "Lifecycle",
|
4
|
+
"sourceName": "contracts/instance/base/Lifecycle.sol",
|
5
|
+
"abi": [
|
6
|
+
{
|
7
|
+
"inputs": [],
|
8
|
+
"stateMutability": "nonpayable",
|
9
|
+
"type": "constructor"
|
10
|
+
},
|
11
|
+
{
|
12
|
+
"inputs": [
|
13
|
+
{
|
14
|
+
"internalType": "ObjectType",
|
15
|
+
"name": "objectType",
|
16
|
+
"type": "uint8"
|
17
|
+
},
|
18
|
+
{
|
19
|
+
"internalType": "StateId",
|
20
|
+
"name": "fromStateId",
|
21
|
+
"type": "uint8"
|
22
|
+
},
|
23
|
+
{
|
24
|
+
"internalType": "StateId",
|
25
|
+
"name": "toStateId",
|
26
|
+
"type": "uint8"
|
27
|
+
}
|
28
|
+
],
|
29
|
+
"name": "ErrorInvalidStateTransition",
|
30
|
+
"type": "error"
|
31
|
+
},
|
32
|
+
{
|
33
|
+
"inputs": [
|
34
|
+
{
|
35
|
+
"internalType": "NftId",
|
36
|
+
"name": "nftId",
|
37
|
+
"type": "uint96"
|
38
|
+
},
|
39
|
+
{
|
40
|
+
"internalType": "ObjectType",
|
41
|
+
"name": "objectType",
|
42
|
+
"type": "uint8"
|
43
|
+
}
|
44
|
+
],
|
45
|
+
"name": "ErrorNoLifecycle",
|
46
|
+
"type": "error"
|
47
|
+
},
|
48
|
+
{
|
49
|
+
"inputs": [
|
50
|
+
{
|
51
|
+
"internalType": "ObjectType",
|
52
|
+
"name": "objectType",
|
53
|
+
"type": "uint8"
|
54
|
+
},
|
55
|
+
{
|
56
|
+
"internalType": "StateId",
|
57
|
+
"name": "fromId",
|
58
|
+
"type": "uint8"
|
59
|
+
},
|
60
|
+
{
|
61
|
+
"internalType": "StateId",
|
62
|
+
"name": "toId",
|
63
|
+
"type": "uint8"
|
64
|
+
}
|
65
|
+
],
|
66
|
+
"name": "checkTransition",
|
67
|
+
"outputs": [],
|
68
|
+
"stateMutability": "view",
|
69
|
+
"type": "function"
|
70
|
+
},
|
71
|
+
{
|
72
|
+
"inputs": [
|
73
|
+
{
|
74
|
+
"internalType": "ObjectType",
|
75
|
+
"name": "objectType",
|
76
|
+
"type": "uint8"
|
77
|
+
}
|
78
|
+
],
|
79
|
+
"name": "getInitialState",
|
80
|
+
"outputs": [
|
81
|
+
{
|
82
|
+
"internalType": "StateId",
|
83
|
+
"name": "",
|
84
|
+
"type": "uint8"
|
85
|
+
}
|
86
|
+
],
|
87
|
+
"stateMutability": "view",
|
88
|
+
"type": "function"
|
89
|
+
},
|
90
|
+
{
|
91
|
+
"inputs": [
|
92
|
+
{
|
93
|
+
"internalType": "ObjectType",
|
94
|
+
"name": "objectType",
|
95
|
+
"type": "uint8"
|
96
|
+
}
|
97
|
+
],
|
98
|
+
"name": "hasLifecycle",
|
99
|
+
"outputs": [
|
100
|
+
{
|
101
|
+
"internalType": "bool",
|
102
|
+
"name": "",
|
103
|
+
"type": "bool"
|
104
|
+
}
|
105
|
+
],
|
106
|
+
"stateMutability": "view",
|
107
|
+
"type": "function"
|
108
|
+
},
|
109
|
+
{
|
110
|
+
"inputs": [
|
111
|
+
{
|
112
|
+
"internalType": "ObjectType",
|
113
|
+
"name": "objectType",
|
114
|
+
"type": "uint8"
|
115
|
+
},
|
116
|
+
{
|
117
|
+
"internalType": "StateId",
|
118
|
+
"name": "fromId",
|
119
|
+
"type": "uint8"
|
120
|
+
},
|
121
|
+
{
|
122
|
+
"internalType": "StateId",
|
123
|
+
"name": "toId",
|
124
|
+
"type": "uint8"
|
125
|
+
}
|
126
|
+
],
|
127
|
+
"name": "isValidTransition",
|
128
|
+
"outputs": [
|
129
|
+
{
|
130
|
+
"internalType": "bool",
|
131
|
+
"name": "",
|
132
|
+
"type": "bool"
|
133
|
+
}
|
134
|
+
],
|
135
|
+
"stateMutability": "view",
|
136
|
+
"type": "function"
|
137
|
+
}
|
138
|
+
],
|
139
|
+
"bytecode": "0x608060405234801561001057600080fd5b5061001b6064610049565b6100256078610049565b61002f6082610049565b610037610170565b61003f610315565b610589565b606490565b60ff8116600090815260208181526040808320805460ff191660649081179091556001808452828520918552925282209091610083606e90565b60ff908116825260208083019390935260409182016000908120805460ff19169515159590951790945584168352600191829052822090916100c3606e90565b60ff1660ff16815260200190815260200160002060006100e761004460201b60201c565b60ff908116825260208083019390935260409182016000908120805460ff1916951515959095179094558416835260019182905282209091610127606e90565b60ff1660ff168152602001908152602001600020600061014b61056b60201b60201c565b60ff1681526020810191909152604001600020805460ff191691151591909117905550565b60d2600090815260208190527fc0d27dadfcf8ee0186a0f6fe9b5805a51e99869050491e4a3040efec012a214f805460ff1916606417905560019081906101b560d290565b60ff1660ff16815260200190815260200160002060006101d961004460201b60201c565b60ff1660ff16815260200190815260200160002060006101fd61056660201b60201c565b60ff16815260208101919091526040016000908120805460ff191692151592909217909155600190819061022f60d290565b60ff1660ff168152602001908152602001600020600061025361056660201b60201c565b60ff1660ff168152602001908152602001600020600061027761004460201b60201c565b60ff16815260208101919091526040016000908120805460ff19169215159290921790915560019081906102a960d290565b60ff1660ff16815260200190815260200160002060006102cd61056660201b60201c565b60ff1660ff16815260200190815260200160002060006102f161057060201b60201c565b60ff1681526020810191909152604001600020805460ff1916911515919091179055565b60c8600090815260208190527fc5f2c791ab4e0b1a0b6c600884b07e98575b00ebd7c3166c4272a53bebf71403805460ff1916600a179055600190819061035a60c890565b60ff1660ff168152602001908152602001600020600061037e61057560201b60201c565b60ff1660ff16815260200190815260200160002060006103a261057a60201b60201c565b60ff16815260208101919091526040016000908120805460ff19169215159290921790915560019081906103d460c890565b60ff1660ff16815260200190815260200160002060006103f861057560201b60201c565b60ff1660ff168152602001908152602001600020600061041c61057f60201b60201c565b60ff16815260208101919091526040016000908120805460ff191692151592909217909155600190819061044e60c890565b60ff1660ff168152602001908152602001600020600061047261057560201b60201c565b60ff1660ff168152602001908152602001600020600061049661058460201b60201c565b60ff16815260208101919091526040016000908120805460ff19169215159290921790915560019081906104c860c890565b60ff1660ff16815260200190815260200160002060006104ec61058460201b60201c565b60ff1660ff168152602001908152602001600020600061051061004460201b60201c565b60ff16815260208101919091526040016000908120805460ff191692151592909217909155600190819061054260c890565b60ff1660ff16815260200190815260200160002060006102cd61004460201b60201c565b606e90565b60d290565b60c890565b600a90565b601490565b601e90565b602890565b610366806105986000396000f3fe608060405234801561001057600080fd5b506004361061004c5760003560e01c80630d35818114610051578063a89896751461008e578063bf1db3f9146100a3578063e9e96c70146100c6575b600080fd5b61007761005f36600461029f565b60ff9081166000908152602081905260409020541690565b60405160ff90911681526020015b60405180910390f35b6100a161009c3660046102c3565b610104565b005b6100b66100b136600461029f565b6101fe565b6040519015158152602001610085565b6100b66100d43660046102c3565b60ff9283166000908152600160209081526040808320948616835293815283822092851682529190915220541690565b60ff8381166000908152602081905260409081902054905163037c8cb160e51b81529116600482015273__$2a12cf1a40369f689f3a67e70f4b31dadc$__90636f91962090602401602060405180830381865af4158015610169573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061018d919061030e565b1561019757505050565b60ff8084166000908152600160209081526040808320868516845282528083208585168452909152902054166101f957604051636bb20ea760e01b815260ff808516600483015280841660248301528216604482015260640160405180910390fd5b505050565b60ff81811660009081526020819052604080822054905163b2466acf60e01b8152921660048301529073__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf90602401602060405180830381865af4158015610263573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610287919061030e565b92915050565b60ff8116811461029c57600080fd5b50565b6000602082840312156102b157600080fd5b81356102bc8161028d565b9392505050565b6000806000606084860312156102d857600080fd5b83356102e38161028d565b925060208401356102f38161028d565b915060408401356103038161028d565b809150509250925092565b60006020828403121561032057600080fd5b815180151581146102bc57600080fdfea264697066735822122099244c282d291bc7e476dc0eca2e3840dc7d05cb838ed789726a81c851d76ce264736f6c63430008140033",
|
140
|
+
"deployedBytecode": "0x608060405234801561001057600080fd5b506004361061004c5760003560e01c80630d35818114610051578063a89896751461008e578063bf1db3f9146100a3578063e9e96c70146100c6575b600080fd5b61007761005f36600461029f565b60ff9081166000908152602081905260409020541690565b60405160ff90911681526020015b60405180910390f35b6100a161009c3660046102c3565b610104565b005b6100b66100b136600461029f565b6101fe565b6040519015158152602001610085565b6100b66100d43660046102c3565b60ff9283166000908152600160209081526040808320948616835293815283822092851682529190915220541690565b60ff8381166000908152602081905260409081902054905163037c8cb160e51b81529116600482015273__$2a12cf1a40369f689f3a67e70f4b31dadc$__90636f91962090602401602060405180830381865af4158015610169573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061018d919061030e565b1561019757505050565b60ff8084166000908152600160209081526040808320868516845282528083208585168452909152902054166101f957604051636bb20ea760e01b815260ff808516600483015280841660248301528216604482015260640160405180910390fd5b505050565b60ff81811660009081526020819052604080822054905163b2466acf60e01b8152921660048301529073__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf90602401602060405180830381865af4158015610263573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610287919061030e565b92915050565b60ff8116811461029c57600080fd5b50565b6000602082840312156102b157600080fd5b81356102bc8161028d565b9392505050565b6000806000606084860312156102d857600080fd5b83356102e38161028d565b925060208401356102f38161028d565b915060408401356103038161028d565b809150509250925092565b60006020828403121561032057600080fd5b815180151581146102bc57600080fdfea264697066735822122099244c282d291bc7e476dc0eca2e3840dc7d05cb838ed789726a81c851d76ce264736f6c63430008140033",
|
141
|
+
"linkReferences": {
|
142
|
+
"contracts/types/StateId.sol": {
|
143
|
+
"StateIdLib": [
|
144
|
+
{
|
145
|
+
"length": 20,
|
146
|
+
"start": 1735
|
147
|
+
},
|
148
|
+
{
|
149
|
+
"length": 20,
|
150
|
+
"start": 1985
|
151
|
+
}
|
152
|
+
]
|
153
|
+
}
|
154
|
+
},
|
155
|
+
"deployedLinkReferences": {
|
156
|
+
"contracts/types/StateId.sol": {
|
157
|
+
"StateIdLib": [
|
158
|
+
{
|
159
|
+
"length": 20,
|
160
|
+
"start": 303
|
161
|
+
},
|
162
|
+
{
|
163
|
+
"length": 20,
|
164
|
+
"start": 553
|
165
|
+
}
|
166
|
+
]
|
167
|
+
}
|
168
|
+
}
|
169
|
+
}
|
@@ -81,11 +81,6 @@
|
|
81
81
|
"name": "poolNftId",
|
82
82
|
"type": "uint96"
|
83
83
|
},
|
84
|
-
{
|
85
|
-
"internalType": "StateId",
|
86
|
-
"name": "state",
|
87
|
-
"type": "uint8"
|
88
|
-
},
|
89
84
|
{
|
90
85
|
"internalType": "bytes",
|
91
86
|
"name": "filter",
|
@@ -106,11 +101,6 @@
|
|
106
101
|
"name": "balanceAmount",
|
107
102
|
"type": "uint256"
|
108
103
|
},
|
109
|
-
{
|
110
|
-
"internalType": "Timestamp",
|
111
|
-
"name": "createdAt",
|
112
|
-
"type": "uint40"
|
113
|
-
},
|
114
104
|
{
|
115
105
|
"internalType": "Timestamp",
|
116
106
|
"name": "expiredAt",
|
@@ -120,11 +110,6 @@
|
|
120
110
|
"internalType": "Timestamp",
|
121
111
|
"name": "closedAt",
|
122
112
|
"type": "uint40"
|
123
|
-
},
|
124
|
-
{
|
125
|
-
"internalType": "Blocknumber",
|
126
|
-
"name": "updatedIn",
|
127
|
-
"type": "uint32"
|
128
113
|
}
|
129
114
|
],
|
130
115
|
"internalType": "struct IBundle.BundleInfo",
|
@@ -135,6 +120,19 @@
|
|
135
120
|
"stateMutability": "view",
|
136
121
|
"type": "function"
|
137
122
|
},
|
123
|
+
{
|
124
|
+
"inputs": [],
|
125
|
+
"name": "getKeyValueStore",
|
126
|
+
"outputs": [
|
127
|
+
{
|
128
|
+
"internalType": "contract IKeyValueStore",
|
129
|
+
"name": "keyValueStore",
|
130
|
+
"type": "address"
|
131
|
+
}
|
132
|
+
],
|
133
|
+
"stateMutability": "view",
|
134
|
+
"type": "function"
|
135
|
+
},
|
138
136
|
{
|
139
137
|
"inputs": [],
|
140
138
|
"name": "getPoolService",
|
@@ -212,11 +210,6 @@
|
|
212
210
|
"name": "poolNftId",
|
213
211
|
"type": "uint96"
|
214
212
|
},
|
215
|
-
{
|
216
|
-
"internalType": "StateId",
|
217
|
-
"name": "state",
|
218
|
-
"type": "uint8"
|
219
|
-
},
|
220
213
|
{
|
221
214
|
"internalType": "bytes",
|
222
215
|
"name": "filter",
|
@@ -237,11 +230,6 @@
|
|
237
230
|
"name": "balanceAmount",
|
238
231
|
"type": "uint256"
|
239
232
|
},
|
240
|
-
{
|
241
|
-
"internalType": "Timestamp",
|
242
|
-
"name": "createdAt",
|
243
|
-
"type": "uint40"
|
244
|
-
},
|
245
233
|
{
|
246
234
|
"internalType": "Timestamp",
|
247
235
|
"name": "expiredAt",
|
@@ -251,11 +239,6 @@
|
|
251
239
|
"internalType": "Timestamp",
|
252
240
|
"name": "closedAt",
|
253
241
|
"type": "uint40"
|
254
|
-
},
|
255
|
-
{
|
256
|
-
"internalType": "Blocknumber",
|
257
|
-
"name": "updatedIn",
|
258
|
-
"type": "uint32"
|
259
242
|
}
|
260
243
|
],
|
261
244
|
"internalType": "struct IBundle.BundleInfo",
|
@@ -267,6 +250,43 @@
|
|
267
250
|
"outputs": [],
|
268
251
|
"stateMutability": "nonpayable",
|
269
252
|
"type": "function"
|
253
|
+
},
|
254
|
+
{
|
255
|
+
"inputs": [
|
256
|
+
{
|
257
|
+
"internalType": "NftId",
|
258
|
+
"name": "bundleNftId",
|
259
|
+
"type": "uint96"
|
260
|
+
}
|
261
|
+
],
|
262
|
+
"name": "toBundleKey32",
|
263
|
+
"outputs": [
|
264
|
+
{
|
265
|
+
"internalType": "Key32",
|
266
|
+
"name": "key32",
|
267
|
+
"type": "bytes32"
|
268
|
+
}
|
269
|
+
],
|
270
|
+
"stateMutability": "view",
|
271
|
+
"type": "function"
|
272
|
+
},
|
273
|
+
{
|
274
|
+
"inputs": [
|
275
|
+
{
|
276
|
+
"internalType": "NftId",
|
277
|
+
"name": "bundleNftId",
|
278
|
+
"type": "uint96"
|
279
|
+
},
|
280
|
+
{
|
281
|
+
"internalType": "StateId",
|
282
|
+
"name": "state",
|
283
|
+
"type": "uint8"
|
284
|
+
}
|
285
|
+
],
|
286
|
+
"name": "updateBundleState",
|
287
|
+
"outputs": [],
|
288
|
+
"stateMutability": "nonpayable",
|
289
|
+
"type": "function"
|
270
290
|
}
|
271
291
|
],
|
272
292
|
"bytecode": "0x",
|
@@ -81,11 +81,6 @@
|
|
81
81
|
"name": "poolNftId",
|
82
82
|
"type": "uint96"
|
83
83
|
},
|
84
|
-
{
|
85
|
-
"internalType": "StateId",
|
86
|
-
"name": "state",
|
87
|
-
"type": "uint8"
|
88
|
-
},
|
89
84
|
{
|
90
85
|
"internalType": "bytes",
|
91
86
|
"name": "filter",
|
@@ -106,11 +101,6 @@
|
|
106
101
|
"name": "balanceAmount",
|
107
102
|
"type": "uint256"
|
108
103
|
},
|
109
|
-
{
|
110
|
-
"internalType": "Timestamp",
|
111
|
-
"name": "createdAt",
|
112
|
-
"type": "uint40"
|
113
|
-
},
|
114
104
|
{
|
115
105
|
"internalType": "Timestamp",
|
116
106
|
"name": "expiredAt",
|
@@ -120,11 +110,6 @@
|
|
120
110
|
"internalType": "Timestamp",
|
121
111
|
"name": "closedAt",
|
122
112
|
"type": "uint40"
|
123
|
-
},
|
124
|
-
{
|
125
|
-
"internalType": "Blocknumber",
|
126
|
-
"name": "updatedIn",
|
127
|
-
"type": "uint32"
|
128
113
|
}
|
129
114
|
],
|
130
115
|
"internalType": "struct IBundle.BundleInfo",
|
@@ -135,6 +120,19 @@
|
|
135
120
|
"stateMutability": "view",
|
136
121
|
"type": "function"
|
137
122
|
},
|
123
|
+
{
|
124
|
+
"inputs": [],
|
125
|
+
"name": "getKeyValueStore",
|
126
|
+
"outputs": [
|
127
|
+
{
|
128
|
+
"internalType": "contract IKeyValueStore",
|
129
|
+
"name": "keyValueStore",
|
130
|
+
"type": "address"
|
131
|
+
}
|
132
|
+
],
|
133
|
+
"stateMutability": "view",
|
134
|
+
"type": "function"
|
135
|
+
},
|
138
136
|
{
|
139
137
|
"inputs": [],
|
140
138
|
"name": "getPoolService",
|
@@ -212,11 +210,6 @@
|
|
212
210
|
"name": "poolNftId",
|
213
211
|
"type": "uint96"
|
214
212
|
},
|
215
|
-
{
|
216
|
-
"internalType": "StateId",
|
217
|
-
"name": "state",
|
218
|
-
"type": "uint8"
|
219
|
-
},
|
220
213
|
{
|
221
214
|
"internalType": "bytes",
|
222
215
|
"name": "filter",
|
@@ -237,11 +230,6 @@
|
|
237
230
|
"name": "balanceAmount",
|
238
231
|
"type": "uint256"
|
239
232
|
},
|
240
|
-
{
|
241
|
-
"internalType": "Timestamp",
|
242
|
-
"name": "createdAt",
|
243
|
-
"type": "uint40"
|
244
|
-
},
|
245
233
|
{
|
246
234
|
"internalType": "Timestamp",
|
247
235
|
"name": "expiredAt",
|
@@ -251,11 +239,6 @@
|
|
251
239
|
"internalType": "Timestamp",
|
252
240
|
"name": "closedAt",
|
253
241
|
"type": "uint40"
|
254
|
-
},
|
255
|
-
{
|
256
|
-
"internalType": "Blocknumber",
|
257
|
-
"name": "updatedIn",
|
258
|
-
"type": "uint32"
|
259
242
|
}
|
260
243
|
],
|
261
244
|
"internalType": "struct IBundle.BundleInfo",
|
@@ -267,6 +250,43 @@
|
|
267
250
|
"outputs": [],
|
268
251
|
"stateMutability": "nonpayable",
|
269
252
|
"type": "function"
|
253
|
+
},
|
254
|
+
{
|
255
|
+
"inputs": [
|
256
|
+
{
|
257
|
+
"internalType": "NftId",
|
258
|
+
"name": "bundleNftId",
|
259
|
+
"type": "uint96"
|
260
|
+
}
|
261
|
+
],
|
262
|
+
"name": "toBundleKey32",
|
263
|
+
"outputs": [
|
264
|
+
{
|
265
|
+
"internalType": "Key32",
|
266
|
+
"name": "key32",
|
267
|
+
"type": "bytes32"
|
268
|
+
}
|
269
|
+
],
|
270
|
+
"stateMutability": "view",
|
271
|
+
"type": "function"
|
272
|
+
},
|
273
|
+
{
|
274
|
+
"inputs": [
|
275
|
+
{
|
276
|
+
"internalType": "NftId",
|
277
|
+
"name": "bundleNftId",
|
278
|
+
"type": "uint96"
|
279
|
+
},
|
280
|
+
{
|
281
|
+
"internalType": "StateId",
|
282
|
+
"name": "state",
|
283
|
+
"type": "uint8"
|
284
|
+
}
|
285
|
+
],
|
286
|
+
"name": "updateBundleState",
|
287
|
+
"outputs": [],
|
288
|
+
"stateMutability": "nonpayable",
|
289
|
+
"type": "function"
|
270
290
|
}
|
271
291
|
],
|
272
292
|
"bytecode": "0x",
|
@@ -100,7 +100,12 @@
|
|
100
100
|
},
|
101
101
|
{
|
102
102
|
"internalType": "bytes",
|
103
|
-
"name": "
|
103
|
+
"name": "applicationData",
|
104
|
+
"type": "bytes"
|
105
|
+
},
|
106
|
+
{
|
107
|
+
"internalType": "bytes",
|
108
|
+
"name": "policyData",
|
104
109
|
"type": "bytes"
|
105
110
|
},
|
106
111
|
{
|
@@ -214,7 +219,12 @@
|
|
214
219
|
},
|
215
220
|
{
|
216
221
|
"internalType": "bytes",
|
217
|
-
"name": "
|
222
|
+
"name": "applicationData",
|
223
|
+
"type": "bytes"
|
224
|
+
},
|
225
|
+
{
|
226
|
+
"internalType": "bytes",
|
227
|
+
"name": "policyData",
|
218
228
|
"type": "bytes"
|
219
229
|
},
|
220
230
|
{
|
@@ -100,7 +100,12 @@
|
|
100
100
|
},
|
101
101
|
{
|
102
102
|
"internalType": "bytes",
|
103
|
-
"name": "
|
103
|
+
"name": "applicationData",
|
104
|
+
"type": "bytes"
|
105
|
+
},
|
106
|
+
{
|
107
|
+
"internalType": "bytes",
|
108
|
+
"name": "policyData",
|
104
109
|
"type": "bytes"
|
105
110
|
},
|
106
111
|
{
|
@@ -214,7 +219,12 @@
|
|
214
219
|
},
|
215
220
|
{
|
216
221
|
"internalType": "bytes",
|
217
|
-
"name": "
|
222
|
+
"name": "applicationData",
|
223
|
+
"type": "bytes"
|
224
|
+
},
|
225
|
+
{
|
226
|
+
"internalType": "bytes",
|
227
|
+
"name": "policyData",
|
218
228
|
"type": "bytes"
|
219
229
|
},
|
220
230
|
{
|