@etherisc/gif-next 0.0.2-ebbe63d → 0.0.2-f619be3-760
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +144 -1
- package/artifacts/contracts/components/Component.sol/Component.dbg.json +4 -0
- package/artifacts/contracts/components/Component.sol/Component.json +205 -0
- package/artifacts/contracts/components/Component.sol/InstanceLinked.dbg.json +4 -0
- package/artifacts/contracts/components/Component.sol/InstanceLinked.json +35 -0
- package/artifacts/contracts/components/IPool.sol/IPoolComponent.dbg.json +4 -0
- package/artifacts/contracts/components/IPool.sol/IPoolComponent.json +255 -0
- package/artifacts/contracts/components/IProduct.sol/IProductComponent.dbg.json +4 -0
- package/artifacts/contracts/components/IProduct.sol/IProductComponent.json +74 -0
- package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +4 -0
- package/artifacts/contracts/components/Pool.sol/Pool.json +328 -0
- package/artifacts/contracts/components/Product.sol/Product.dbg.json +4 -0
- package/artifacts/contracts/components/Product.sol/Product.json +346 -0
- package/artifacts/contracts/experiment/errors/Require.sol/Require.dbg.json +4 -0
- package/artifacts/contracts/experiment/errors/Require.sol/Require.json +105 -0
- package/artifacts/contracts/experiment/errors/Revert.sol/Revert.dbg.json +4 -0
- package/artifacts/contracts/experiment/errors/Revert.sol/Revert.json +105 -0
- package/artifacts/contracts/experiment/inheritance/A.sol/A.dbg.json +4 -0
- package/artifacts/contracts/experiment/inheritance/A.sol/A.json +128 -0
- package/artifacts/contracts/experiment/inheritance/A.sol/AShared.dbg.json +4 -0
- package/artifacts/contracts/experiment/inheritance/A.sol/AShared.json +42 -0
- package/artifacts/contracts/experiment/inheritance/B.sol/B.dbg.json +4 -0
- package/artifacts/contracts/experiment/inheritance/B.sol/B.json +76 -0
- package/artifacts/contracts/experiment/inheritance/C.sol/C.dbg.json +4 -0
- package/artifacts/contracts/experiment/inheritance/C.sol/C.json +89 -0
- package/artifacts/contracts/experiment/inheritance/IA.sol/IA.dbg.json +4 -0
- package/artifacts/contracts/experiment/inheritance/IA.sol/IA.json +128 -0
- package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.dbg.json +4 -0
- package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.json +37 -0
- package/artifacts/contracts/experiment/inheritance/IB.sol/IB.dbg.json +4 -0
- package/artifacts/contracts/experiment/inheritance/IB.sol/IB.json +50 -0
- package/artifacts/contracts/experiment/inheritance/IC.sol/IC.dbg.json +4 -0
- package/artifacts/contracts/experiment/inheritance/IC.sol/IC.json +63 -0
- package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.dbg.json +4 -0
- package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.json +59 -0
- package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.dbg.json +4 -0
- package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.json +124 -0
- package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.dbg.json +4 -0
- package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.json +74 -0
- package/artifacts/contracts/experiment/statemachine/SM.sol/SM.dbg.json +4 -0
- package/artifacts/contracts/experiment/statemachine/SM.sol/SM.json +124 -0
- package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.dbg.json +4 -0
- package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.json +207 -0
- package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.dbg.json +4 -0
- package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.json +10 -0
- package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.dbg.json +4 -0
- package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.json +10 -0
- package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +4 -0
- package/artifacts/contracts/instance/IInstance.sol/IInstance.json +1479 -0
- package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +4 -0
- package/artifacts/contracts/instance/Instance.sol/Instance.json +1725 -0
- package/artifacts/contracts/instance/access/Access.sol/AccessModule.dbg.json +4 -0
- package/artifacts/contracts/instance/access/Access.sol/AccessModule.json +400 -0
- package/artifacts/contracts/instance/access/IAccess.sol/IAccess.dbg.json +4 -0
- package/artifacts/contracts/instance/access/IAccess.sol/IAccess.json +10 -0
- package/artifacts/contracts/instance/access/IAccess.sol/IAccessCheckRole.dbg.json +4 -0
- package/artifacts/contracts/instance/access/IAccess.sol/IAccessCheckRole.json +35 -0
- package/artifacts/contracts/instance/access/IAccess.sol/IAccessComponentTypeRoles.dbg.json +4 -0
- package/artifacts/contracts/instance/access/IAccess.sol/IAccessComponentTypeRoles.json +50 -0
- package/artifacts/contracts/instance/access/IAccess.sol/IAccessModule.dbg.json +4 -0
- package/artifacts/contracts/instance/access/IAccess.sol/IAccessModule.json +336 -0
- package/artifacts/contracts/instance/component/ComponentModule.sol/ComponentModule.dbg.json +4 -0
- package/artifacts/contracts/instance/component/ComponentModule.sol/ComponentModule.json +299 -0
- package/artifacts/contracts/instance/component/ComponentModule.sol/ComponentOwnerService.dbg.json +4 -0
- package/artifacts/contracts/instance/component/ComponentModule.sol/ComponentOwnerService.json +202 -0
- package/artifacts/contracts/instance/component/IComponent.sol/IComponent.dbg.json +4 -0
- package/artifacts/contracts/instance/component/IComponent.sol/IComponent.json +10 -0
- package/artifacts/contracts/instance/component/IComponent.sol/IComponentContract.dbg.json +4 -0
- package/artifacts/contracts/instance/component/IComponent.sol/IComponentContract.json +205 -0
- package/artifacts/contracts/instance/component/IComponent.sol/IComponentModule.dbg.json +4 -0
- package/artifacts/contracts/instance/component/IComponent.sol/IComponentModule.json +217 -0
- package/artifacts/contracts/instance/component/IComponent.sol/IComponentOwnerService.dbg.json +4 -0
- package/artifacts/contracts/instance/component/IComponent.sol/IComponentOwnerService.json +141 -0
- package/artifacts/contracts/instance/component/IComponent.sol/IInstanceLinked.dbg.json +4 -0
- package/artifacts/contracts/instance/component/IComponent.sol/IInstanceLinked.json +24 -0
- package/artifacts/contracts/instance/lifecycle/ILifecycle.sol/ILifecycle.dbg.json +4 -0
- package/artifacts/contracts/instance/lifecycle/ILifecycle.sol/ILifecycle.json +134 -0
- package/artifacts/contracts/instance/lifecycle/ILifecycle.sol/ILifecycleModule.dbg.json +4 -0
- package/artifacts/contracts/instance/lifecycle/ILifecycle.sol/ILifecycleModule.json +182 -0
- package/artifacts/contracts/instance/lifecycle/LifecycleModule.sol/LifecycleModule.dbg.json +4 -0
- package/artifacts/contracts/instance/lifecycle/LifecycleModule.sol/LifecycleModule.json +221 -0
- package/artifacts/contracts/instance/policy/IPolicy.sol/IPolicy.dbg.json +4 -0
- package/artifacts/contracts/instance/policy/IPolicy.sol/IPolicy.json +10 -0
- package/artifacts/contracts/instance/policy/IPolicy.sol/IPolicyModule.dbg.json +4 -0
- package/artifacts/contracts/instance/policy/IPolicy.sol/IPolicyModule.json +254 -0
- package/artifacts/contracts/instance/policy/PolicyModule.sol/PolicyModule.dbg.json +4 -0
- package/artifacts/contracts/instance/policy/PolicyModule.sol/PolicyModule.json +254 -0
- package/artifacts/contracts/instance/pool/IPoolModule.sol/IPool.dbg.json +4 -0
- package/artifacts/contracts/instance/pool/IPoolModule.sol/IPool.json +10 -0
- package/artifacts/contracts/instance/pool/IPoolModule.sol/IPoolModule.dbg.json +4 -0
- package/artifacts/contracts/instance/pool/IPoolModule.sol/IPoolModule.json +129 -0
- package/artifacts/contracts/instance/pool/PoolModule.sol/PoolModule.dbg.json +4 -0
- package/artifacts/contracts/instance/pool/PoolModule.sol/PoolModule.json +155 -0
- package/artifacts/contracts/instance/product/IProductService.sol/IProductModule.dbg.json +4 -0
- package/artifacts/contracts/instance/product/IProductService.sol/IProductModule.json +75 -0
- package/artifacts/contracts/instance/product/IProductService.sol/IProductService.dbg.json +4 -0
- package/artifacts/contracts/instance/product/IProductService.sol/IProductService.json +127 -0
- package/artifacts/contracts/instance/product/ProductService.sol/ProductModule.dbg.json +4 -0
- package/artifacts/contracts/instance/product/ProductService.sol/ProductModule.json +75 -0
- package/artifacts/contracts/instance/product/ProductService.sol/ProductService.dbg.json +4 -0
- package/artifacts/contracts/instance/product/ProductService.sol/ProductService.json +196 -0
- package/artifacts/contracts/instance/treasury/ITreasury.sol/ITreasury.dbg.json +4 -0
- package/artifacts/contracts/instance/treasury/ITreasury.sol/ITreasury.json +10 -0
- package/artifacts/contracts/instance/treasury/ITreasury.sol/ITreasuryModule.dbg.json +4 -0
- package/artifacts/contracts/instance/treasury/ITreasury.sol/ITreasuryModule.json +490 -0
- package/artifacts/contracts/instance/treasury/TokenHandler.sol/TokenHandler.dbg.json +4 -0
- package/artifacts/contracts/instance/treasury/TokenHandler.sol/TokenHandler.json +45 -0
- package/artifacts/contracts/instance/treasury/TreasuryModule.sol/TreasuryModule.dbg.json +4 -0
- package/artifacts/contracts/instance/treasury/TreasuryModule.sol/TreasuryModule.json +490 -0
- package/artifacts/contracts/mock/Dip.sol/DIP.dbg.json +4 -0
- package/artifacts/contracts/mock/Dip.sol/DIP.json +338 -0
- package/artifacts/contracts/mock/TestPool.sol/TestPool.dbg.json +4 -0
- package/artifacts/contracts/mock/TestPool.sol/TestPool.json +294 -0
- package/artifacts/contracts/mock/TestProduct.sol/TestProduct.dbg.json +4 -0
- package/artifacts/contracts/mock/TestProduct.sol/TestProduct.json +384 -0
- package/artifacts/contracts/mock/Usdc.sol/USDC.dbg.json +4 -0
- package/artifacts/contracts/mock/Usdc.sol/USDC.json +338 -0
- package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +4 -0
- package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +534 -0
- package/artifacts/contracts/registry/IChainNft.sol/IChainNft.dbg.json +4 -0
- package/artifacts/contracts/registry/IChainNft.sol/IChainNft.json +452 -0
- package/artifacts/contracts/registry/IRegistry.sol/IOwnable.dbg.json +4 -0
- package/artifacts/contracts/registry/IRegistry.sol/IOwnable.json +24 -0
- package/artifacts/contracts/registry/IRegistry.sol/IRegisterable.dbg.json +4 -0
- package/artifacts/contracts/registry/IRegistry.sol/IRegisterable.json +166 -0
- package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +4 -0
- package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +188 -0
- package/artifacts/contracts/registry/IRegistry.sol/IRegistryLinked.dbg.json +4 -0
- package/artifacts/contracts/registry/IRegistry.sol/IRegistryLinked.json +49 -0
- package/artifacts/contracts/registry/Registry.sol/Registerable.dbg.json +4 -0
- package/artifacts/contracts/registry/Registry.sol/Registerable.json +166 -0
- package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +4 -0
- package/artifacts/contracts/registry/Registry.sol/Registry.json +256 -0
- package/artifacts/contracts/registry/Registry.sol/RegistryLinked.dbg.json +4 -0
- package/artifacts/contracts/registry/Registry.sol/RegistryLinked.json +60 -0
- package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +4 -0
- package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.json +174 -0
- package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +4 -0
- package/artifacts/contracts/types/ChainId.sol/ChainIdLib.json +10 -0
- package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +4 -0
- package/artifacts/contracts/types/NftId.sol/NftIdLib.json +92 -0
- package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +4 -0
- package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.json +92 -0
- package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +4 -0
- package/artifacts/contracts/types/StateId.sol/StateIdLib.json +92 -0
- package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +4 -0
- package/artifacts/contracts/types/Timestamp.sol/TimestampLib.json +174 -0
- package/artifacts/contracts/types/UFixed.sol/UFixedMathLib.dbg.json +4 -0
- package/artifacts/contracts/types/UFixed.sol/UFixedMathLib.json +479 -0
- package/contracts/components/Component.sol +77 -0
- package/contracts/components/IPool.sol +15 -0
- package/contracts/components/IProduct.sol +16 -0
- package/contracts/components/Pool.sol +52 -0
- package/contracts/components/Product.sol +89 -0
- package/contracts/experiment/errors/Require.sol +38 -0
- package/contracts/experiment/errors/Revert.sol +44 -0
- package/contracts/experiment/inheritance/A.sol +53 -0
- package/contracts/experiment/inheritance/B.sol +28 -0
- package/contracts/experiment/inheritance/C.sol +34 -0
- package/contracts/experiment/inheritance/IA.sol +13 -0
- package/contracts/experiment/inheritance/IB.sol +10 -0
- package/contracts/experiment/inheritance/IC.sol +12 -0
- package/contracts/experiment/statemachine/Dummy.sol +27 -0
- package/contracts/experiment/statemachine/ISM.sol +25 -0
- package/contracts/experiment/statemachine/README.md +112 -0
- package/contracts/experiment/statemachine/SM.sol +57 -0
- package/contracts/experiment/statemachine/SimpleStateMachine.sol +31 -0
- package/contracts/experiment/types/TypeA.sol +47 -0
- package/contracts/experiment/types/TypeB.sol +29 -0
- package/contracts/instance/IInstance.sol +25 -0
- package/contracts/instance/Instance.sol +72 -0
- package/contracts/instance/access/Access.sol +165 -0
- package/contracts/instance/access/IAccess.sol +63 -0
- package/contracts/instance/component/ComponentModule.sol +274 -0
- package/contracts/instance/component/IComponent.sol +74 -0
- package/contracts/instance/lifecycle/ILifecycle.sol +47 -0
- package/contracts/instance/lifecycle/LifecycleModule.sol +88 -0
- package/contracts/instance/policy/IPolicy.sol +50 -0
- package/contracts/instance/policy/PolicyModule.sol +114 -0
- package/contracts/instance/pool/IPoolModule.sol +23 -0
- package/contracts/instance/pool/PoolModule.sol +81 -0
- package/contracts/instance/product/IProductService.sol +36 -0
- package/contracts/instance/product/ProductService.sol +136 -0
- package/contracts/instance/treasury/ITreasury.sol +91 -0
- package/contracts/instance/treasury/TokenHandler.sol +24 -0
- package/contracts/instance/treasury/TreasuryModule.sol +168 -0
- package/contracts/mock/TestPool.sol +16 -0
- package/contracts/mock/TestProduct.sol +39 -0
- package/contracts/mock/Usdc.sol +26 -0
- package/contracts/registry/ChainNft.sol +135 -0
- package/contracts/registry/IChainNft.sol +21 -0
- package/contracts/registry/IRegistry.sol +67 -0
- package/contracts/registry/Registry.sol +182 -0
- package/contracts/types/Blocknumber.sol +118 -0
- package/contracts/types/ChainId.sol +38 -0
- package/contracts/types/Fee.sol +32 -0
- package/contracts/types/NftId.sol +51 -0
- package/contracts/types/ObjectType.sol +107 -0
- package/contracts/types/StateId.sol +91 -0
- package/contracts/types/Timestamp.sol +102 -0
- package/contracts/types/UFixed.sol +210 -0
- package/package.json +19 -9
- package/artifacts/contracts/Dip.sol/DIP.dbg.json +0 -4
- package/artifacts/contracts/Dip.sol/DIP.json +0 -338
- package/artifacts/contracts/Lock.sol/Lock.dbg.json +0 -4
- package/artifacts/contracts/Lock.sol/Lock.json +0 -74
- package/contracts/Lock.sol +0 -34
- /package/contracts/{Dip.sol → mock/Dip.sol} +0 -0
@@ -0,0 +1,256 @@
|
|
1
|
+
{
|
2
|
+
"_format": "hh-sol-artifact-1",
|
3
|
+
"contractName": "Registry",
|
4
|
+
"sourceName": "contracts/registry/Registry.sol",
|
5
|
+
"abi": [
|
6
|
+
{
|
7
|
+
"inputs": [],
|
8
|
+
"name": "EMPTY_URI",
|
9
|
+
"outputs": [
|
10
|
+
{
|
11
|
+
"internalType": "string",
|
12
|
+
"name": "",
|
13
|
+
"type": "string"
|
14
|
+
}
|
15
|
+
],
|
16
|
+
"stateMutability": "view",
|
17
|
+
"type": "function"
|
18
|
+
},
|
19
|
+
{
|
20
|
+
"inputs": [
|
21
|
+
{
|
22
|
+
"internalType": "NftId",
|
23
|
+
"name": "nftId",
|
24
|
+
"type": "uint96"
|
25
|
+
}
|
26
|
+
],
|
27
|
+
"name": "getInfo",
|
28
|
+
"outputs": [
|
29
|
+
{
|
30
|
+
"components": [
|
31
|
+
{
|
32
|
+
"internalType": "NftId",
|
33
|
+
"name": "nftId",
|
34
|
+
"type": "uint96"
|
35
|
+
},
|
36
|
+
{
|
37
|
+
"internalType": "NftId",
|
38
|
+
"name": "parentNftId",
|
39
|
+
"type": "uint96"
|
40
|
+
},
|
41
|
+
{
|
42
|
+
"internalType": "ObjectType",
|
43
|
+
"name": "objectType",
|
44
|
+
"type": "uint8"
|
45
|
+
},
|
46
|
+
{
|
47
|
+
"internalType": "address",
|
48
|
+
"name": "objectAddress",
|
49
|
+
"type": "address"
|
50
|
+
},
|
51
|
+
{
|
52
|
+
"internalType": "address",
|
53
|
+
"name": "initialOwner",
|
54
|
+
"type": "address"
|
55
|
+
}
|
56
|
+
],
|
57
|
+
"internalType": "struct IRegistry.RegistryInfo",
|
58
|
+
"name": "info",
|
59
|
+
"type": "tuple"
|
60
|
+
}
|
61
|
+
],
|
62
|
+
"stateMutability": "view",
|
63
|
+
"type": "function"
|
64
|
+
},
|
65
|
+
{
|
66
|
+
"inputs": [],
|
67
|
+
"name": "getNftAddress",
|
68
|
+
"outputs": [
|
69
|
+
{
|
70
|
+
"internalType": "address",
|
71
|
+
"name": "nft",
|
72
|
+
"type": "address"
|
73
|
+
}
|
74
|
+
],
|
75
|
+
"stateMutability": "view",
|
76
|
+
"type": "function"
|
77
|
+
},
|
78
|
+
{
|
79
|
+
"inputs": [
|
80
|
+
{
|
81
|
+
"internalType": "address",
|
82
|
+
"name": "object",
|
83
|
+
"type": "address"
|
84
|
+
}
|
85
|
+
],
|
86
|
+
"name": "getNftId",
|
87
|
+
"outputs": [
|
88
|
+
{
|
89
|
+
"internalType": "NftId",
|
90
|
+
"name": "id",
|
91
|
+
"type": "uint96"
|
92
|
+
}
|
93
|
+
],
|
94
|
+
"stateMutability": "view",
|
95
|
+
"type": "function"
|
96
|
+
},
|
97
|
+
{
|
98
|
+
"inputs": [],
|
99
|
+
"name": "getObjectCount",
|
100
|
+
"outputs": [
|
101
|
+
{
|
102
|
+
"internalType": "uint256",
|
103
|
+
"name": "",
|
104
|
+
"type": "uint256"
|
105
|
+
}
|
106
|
+
],
|
107
|
+
"stateMutability": "view",
|
108
|
+
"type": "function"
|
109
|
+
},
|
110
|
+
{
|
111
|
+
"inputs": [
|
112
|
+
{
|
113
|
+
"internalType": "NftId",
|
114
|
+
"name": "nftId",
|
115
|
+
"type": "uint96"
|
116
|
+
}
|
117
|
+
],
|
118
|
+
"name": "getOwner",
|
119
|
+
"outputs": [
|
120
|
+
{
|
121
|
+
"internalType": "address",
|
122
|
+
"name": "",
|
123
|
+
"type": "address"
|
124
|
+
}
|
125
|
+
],
|
126
|
+
"stateMutability": "view",
|
127
|
+
"type": "function"
|
128
|
+
},
|
129
|
+
{
|
130
|
+
"inputs": [
|
131
|
+
{
|
132
|
+
"internalType": "address",
|
133
|
+
"name": "chainNft",
|
134
|
+
"type": "address"
|
135
|
+
}
|
136
|
+
],
|
137
|
+
"name": "initialize",
|
138
|
+
"outputs": [],
|
139
|
+
"stateMutability": "nonpayable",
|
140
|
+
"type": "function"
|
141
|
+
},
|
142
|
+
{
|
143
|
+
"inputs": [
|
144
|
+
{
|
145
|
+
"internalType": "address",
|
146
|
+
"name": "object",
|
147
|
+
"type": "address"
|
148
|
+
}
|
149
|
+
],
|
150
|
+
"name": "isRegistered",
|
151
|
+
"outputs": [
|
152
|
+
{
|
153
|
+
"internalType": "bool",
|
154
|
+
"name": "",
|
155
|
+
"type": "bool"
|
156
|
+
}
|
157
|
+
],
|
158
|
+
"stateMutability": "view",
|
159
|
+
"type": "function"
|
160
|
+
},
|
161
|
+
{
|
162
|
+
"inputs": [
|
163
|
+
{
|
164
|
+
"internalType": "address",
|
165
|
+
"name": "objectAddress",
|
166
|
+
"type": "address"
|
167
|
+
}
|
168
|
+
],
|
169
|
+
"name": "register",
|
170
|
+
"outputs": [
|
171
|
+
{
|
172
|
+
"internalType": "NftId",
|
173
|
+
"name": "nftId",
|
174
|
+
"type": "uint96"
|
175
|
+
}
|
176
|
+
],
|
177
|
+
"stateMutability": "nonpayable",
|
178
|
+
"type": "function"
|
179
|
+
},
|
180
|
+
{
|
181
|
+
"inputs": [
|
182
|
+
{
|
183
|
+
"internalType": "NftId",
|
184
|
+
"name": "parentNftId",
|
185
|
+
"type": "uint96"
|
186
|
+
},
|
187
|
+
{
|
188
|
+
"internalType": "ObjectType",
|
189
|
+
"name": "objectType",
|
190
|
+
"type": "uint8"
|
191
|
+
},
|
192
|
+
{
|
193
|
+
"internalType": "address",
|
194
|
+
"name": "initialOwner",
|
195
|
+
"type": "address"
|
196
|
+
}
|
197
|
+
],
|
198
|
+
"name": "registerObjectForInstance",
|
199
|
+
"outputs": [
|
200
|
+
{
|
201
|
+
"internalType": "NftId",
|
202
|
+
"name": "nftId",
|
203
|
+
"type": "uint96"
|
204
|
+
}
|
205
|
+
],
|
206
|
+
"stateMutability": "nonpayable",
|
207
|
+
"type": "function"
|
208
|
+
}
|
209
|
+
],
|
210
|
+
"bytecode": "0x608060405234801561001057600080fd5b50611002806100206000396000f3fe608060405234801561001057600080fd5b506004361061009e5760003560e01c8063be9a71bd11610066578063be9a71bd14610229578063c3c5a5471461024e578063c4d66de814610271578063d272ac1e14610286578063df33330b146102b857600080fd5b80631a848cfb146100a35780631d1b0cac146100be5780633fe9300e146100e95780634420e4861461010c5780634c3371cd1461011f575b600080fd5b6100ab6102cb565b6040519081526020015b60405180910390f35b6100d16100cc366004610e29565b61033e565b6040516001600160601b0390911681526020016100b5565b6100ff6040518060200160405280600081525081565b6040516100b59190610eba565b6100d161011a366004610ed4565b610505565b6101cc61012d366004610ef1565b6040805160a081018252600080825260208201819052918101829052606081018290526080810191909152506001600160601b0390811660009081526020818152604091829020825160a08101845281548086168252600160601b810490951692810192909252600160c01b90930460ff169181019190915260018201546001600160a01b039081166060830152600290920154909116608082015290565b6040516100b5919081516001600160601b0390811682526020808401519091169082015260408083015160ff16908201526060808301516001600160a01b0390811691830191909152608092830151169181019190915260a00190565b6003546001600160a01b03165b6040516001600160a01b0390911681526020016100b5565b61026161025c366004610ed4565b610bd2565b60405190151581526020016100b5565b61028461027f366004610ed4565b610c6e565b005b6100d1610294366004610ed4565b6001600160a01b03166000908152600260205260409020546001600160601b031690565b6102366102c6366004610ef1565b610cf3565b600354604080516318160ddd60e01b815290516000926001600160a01b0316916318160ddd9160048083019260209291908290030181865afa158015610315573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103399190610f0e565b905090565b600061035283605a5b60ff90811691161490565b806103635750610363836051610347565b6103b45760405162461bcd60e51b815260206004820152601a60248201527f4552524f523a5245472d3030353a545950455f494e56414c494400000000000060448201526064015b60405180910390fd5b600354604080516020810182526000808252915163d0def52160e01b815291926001600160a01b03169163d0def521916103f391879190600401610f27565b6020604051808303816000875af1158015610412573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104369190610f0e565b9050806040805160a0810182526001600160601b03808416808352988116602080840191825260ff998a168486019081526000606086018181526001600160a01b039b8c16608088019081529d825292819052959095209351845492519551909a16600160c01b0260ff60c01b19958416600160601b026001600160c01b03199093169a90931699909917179290921691909117815594516001860180549186166001600160a01b03199283161790559551600290950180549590941694909516939093179091555090919050565b6001600160a01b038116600090815260026020526040808220549051630a4d29dd60e31b81526001600160601b03909116600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906352694ee890602401602060405180830381865af4158015610577573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061059b9190610f53565b6105e75760405162461bcd60e51b815260206004820181905260248201527f4552524f523a5245472d3030323a414c52454144595f5245474953544552454460448201526064016103ab565b6000829050806001600160a01b03166379e829d06040518163ffffffff1660e01b8152600401602060405180830381865afa15801561062a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061064e9190610f53565b61069a5760405162461bcd60e51b815260206004820152601e60248201527f4552524f523a5245472d3030333a4e4f545f524547495354455241424c45000060448201526064016103ab565b610709816001600160a01b03166315dae03e6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156106db573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106ff9190610f75565b60ff166032141590565b156108a9576000806000836001600160a01b03166331b62a3b6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610751573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107759190610f92565b6001600160601b0390811682526020808301939093526040918201600020825160a0810184528154808416808352600160601b820490941695820195909552600160c01b90940460ff168484015260018101546001600160a01b03908116606086015260029091015416608084015290516330b8415f60e01b8152600481019190915290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610837573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061085b9190610f53565b6108a75760405162461bcd60e51b815260206004820152601e60248201527f4552524f523a5245472d3030343a504152454e545f4e4f545f464f554e44000060448201526064016103ab565b505b6000600360009054906101000a90046001600160a01b03166001600160a01b031663d0def521836001600160a01b031663fb2cb1016040518163ffffffff1660e01b8152600401602060405180830381865afa15801561090d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109319190610faf565b604051806020016040528060008152506040518363ffffffff1660e01b815260040161095e929190610f27565b6020604051808303816000875af115801561097d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109a19190610f0e565b905080925060006040518060a00160405280856001600160601b03168152602001846001600160a01b03166331b62a3b6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610a00573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a249190610f92565b6001600160601b03168152602001846001600160a01b03166315dae03e6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610a70573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a949190610f75565b60ff168152602001866001600160a01b03168152602001846001600160a01b031663fb2cb1016040518163ffffffff1660e01b8152600401602060405180830381865afa158015610ae9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b0d9190610faf565b6001600160a01b039081169091526001600160601b0380871660008181526020818152604080832087518154848a0151848b015160ff16600160c01b0260ff60c01b19918a16600160601b026001600160c01b03199093169390991692909217171695909517855560608701516001860180549188166001600160a01b031992831617905560809097015160029586018054918816919098161790965599909316835297522080546bffffffffffffffffffffffff1916909517909455509092915050565b6001600160a01b0381166000908152600260205260408082205490516330b8415f60e01b81526001600160601b03909116600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610c44573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c689190610f53565b92915050565b6003546001600160a01b031615610cd15760405162461bcd60e51b815260206004820152602160248201527f4552524f523a5245472d3030313a414c52454144595f494e495449414c495a456044820152601160fa1b60648201526084016103ab565b600380546001600160a01b0319166001600160a01b0392909216919091179055565b60035460405163046e44af60e11b81526001600160601b03831660048201526000916001600160a01b031690636352211e9073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906308dc895e90602401602060405180830381865af4158015610d61573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d859190610f92565b6040516001600160e01b031960e084901b1681526001600160601b039091166004820152602401602060405180830381865afa158015610dc9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c689190610faf565b6001600160601b0381168114610e0257600080fd5b50565b60ff81168114610e0257600080fd5b6001600160a01b0381168114610e0257600080fd5b600080600060608486031215610e3e57600080fd5b8335610e4981610ded565b92506020840135610e5981610e05565b91506040840135610e6981610e14565b809150509250925092565b6000815180845260005b81811015610e9a57602081850181015186830182015201610e7e565b506000602082860101526020601f19601f83011685010191505092915050565b602081526000610ecd6020830184610e74565b9392505050565b600060208284031215610ee657600080fd5b8135610ecd81610e14565b600060208284031215610f0357600080fd5b8135610ecd81610ded565b600060208284031215610f2057600080fd5b5051919050565b6001600160a01b0383168152604060208201819052600090610f4b90830184610e74565b949350505050565b600060208284031215610f6557600080fd5b81518015158114610ecd57600080fd5b600060208284031215610f8757600080fd5b8151610ecd81610e05565b600060208284031215610fa457600080fd5b8151610ecd81610ded565b600060208284031215610fc157600080fd5b8151610ecd81610e1456fea2646970667358221220f0ef03c7270dd053385ad4000788b7842ce2ba361d0334bb8ebf29059ea7427664736f6c63430008140033",
|
211
|
+
"deployedBytecode": "0x608060405234801561001057600080fd5b506004361061009e5760003560e01c8063be9a71bd11610066578063be9a71bd14610229578063c3c5a5471461024e578063c4d66de814610271578063d272ac1e14610286578063df33330b146102b857600080fd5b80631a848cfb146100a35780631d1b0cac146100be5780633fe9300e146100e95780634420e4861461010c5780634c3371cd1461011f575b600080fd5b6100ab6102cb565b6040519081526020015b60405180910390f35b6100d16100cc366004610e29565b61033e565b6040516001600160601b0390911681526020016100b5565b6100ff6040518060200160405280600081525081565b6040516100b59190610eba565b6100d161011a366004610ed4565b610505565b6101cc61012d366004610ef1565b6040805160a081018252600080825260208201819052918101829052606081018290526080810191909152506001600160601b0390811660009081526020818152604091829020825160a08101845281548086168252600160601b810490951692810192909252600160c01b90930460ff169181019190915260018201546001600160a01b039081166060830152600290920154909116608082015290565b6040516100b5919081516001600160601b0390811682526020808401519091169082015260408083015160ff16908201526060808301516001600160a01b0390811691830191909152608092830151169181019190915260a00190565b6003546001600160a01b03165b6040516001600160a01b0390911681526020016100b5565b61026161025c366004610ed4565b610bd2565b60405190151581526020016100b5565b61028461027f366004610ed4565b610c6e565b005b6100d1610294366004610ed4565b6001600160a01b03166000908152600260205260409020546001600160601b031690565b6102366102c6366004610ef1565b610cf3565b600354604080516318160ddd60e01b815290516000926001600160a01b0316916318160ddd9160048083019260209291908290030181865afa158015610315573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103399190610f0e565b905090565b600061035283605a5b60ff90811691161490565b806103635750610363836051610347565b6103b45760405162461bcd60e51b815260206004820152601a60248201527f4552524f523a5245472d3030353a545950455f494e56414c494400000000000060448201526064015b60405180910390fd5b600354604080516020810182526000808252915163d0def52160e01b815291926001600160a01b03169163d0def521916103f391879190600401610f27565b6020604051808303816000875af1158015610412573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104369190610f0e565b9050806040805160a0810182526001600160601b03808416808352988116602080840191825260ff998a168486019081526000606086018181526001600160a01b039b8c16608088019081529d825292819052959095209351845492519551909a16600160c01b0260ff60c01b19958416600160601b026001600160c01b03199093169a90931699909917179290921691909117815594516001860180549186166001600160a01b03199283161790559551600290950180549590941694909516939093179091555090919050565b6001600160a01b038116600090815260026020526040808220549051630a4d29dd60e31b81526001600160601b03909116600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906352694ee890602401602060405180830381865af4158015610577573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061059b9190610f53565b6105e75760405162461bcd60e51b815260206004820181905260248201527f4552524f523a5245472d3030323a414c52454144595f5245474953544552454460448201526064016103ab565b6000829050806001600160a01b03166379e829d06040518163ffffffff1660e01b8152600401602060405180830381865afa15801561062a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061064e9190610f53565b61069a5760405162461bcd60e51b815260206004820152601e60248201527f4552524f523a5245472d3030333a4e4f545f524547495354455241424c45000060448201526064016103ab565b610709816001600160a01b03166315dae03e6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156106db573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106ff9190610f75565b60ff166032141590565b156108a9576000806000836001600160a01b03166331b62a3b6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610751573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107759190610f92565b6001600160601b0390811682526020808301939093526040918201600020825160a0810184528154808416808352600160601b820490941695820195909552600160c01b90940460ff168484015260018101546001600160a01b03908116606086015260029091015416608084015290516330b8415f60e01b8152600481019190915290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610837573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061085b9190610f53565b6108a75760405162461bcd60e51b815260206004820152601e60248201527f4552524f523a5245472d3030343a504152454e545f4e4f545f464f554e44000060448201526064016103ab565b505b6000600360009054906101000a90046001600160a01b03166001600160a01b031663d0def521836001600160a01b031663fb2cb1016040518163ffffffff1660e01b8152600401602060405180830381865afa15801561090d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109319190610faf565b604051806020016040528060008152506040518363ffffffff1660e01b815260040161095e929190610f27565b6020604051808303816000875af115801561097d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109a19190610f0e565b905080925060006040518060a00160405280856001600160601b03168152602001846001600160a01b03166331b62a3b6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610a00573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a249190610f92565b6001600160601b03168152602001846001600160a01b03166315dae03e6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610a70573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a949190610f75565b60ff168152602001866001600160a01b03168152602001846001600160a01b031663fb2cb1016040518163ffffffff1660e01b8152600401602060405180830381865afa158015610ae9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b0d9190610faf565b6001600160a01b039081169091526001600160601b0380871660008181526020818152604080832087518154848a0151848b015160ff16600160c01b0260ff60c01b19918a16600160601b026001600160c01b03199093169390991692909217171695909517855560608701516001860180549188166001600160a01b031992831617905560809097015160029586018054918816919098161790965599909316835297522080546bffffffffffffffffffffffff1916909517909455509092915050565b6001600160a01b0381166000908152600260205260408082205490516330b8415f60e01b81526001600160601b03909116600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610c44573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c689190610f53565b92915050565b6003546001600160a01b031615610cd15760405162461bcd60e51b815260206004820152602160248201527f4552524f523a5245472d3030313a414c52454144595f494e495449414c495a456044820152601160fa1b60648201526084016103ab565b600380546001600160a01b0319166001600160a01b0392909216919091179055565b60035460405163046e44af60e11b81526001600160601b03831660048201526000916001600160a01b031690636352211e9073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906308dc895e90602401602060405180830381865af4158015610d61573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d859190610f92565b6040516001600160e01b031960e084901b1681526001600160601b039091166004820152602401602060405180830381865afa158015610dc9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c689190610faf565b6001600160601b0381168114610e0257600080fd5b50565b60ff81168114610e0257600080fd5b6001600160a01b0381168114610e0257600080fd5b600080600060608486031215610e3e57600080fd5b8335610e4981610ded565b92506020840135610e5981610e05565b91506040840135610e6981610e14565b809150509250925092565b6000815180845260005b81811015610e9a57602081850181015186830182015201610e7e565b506000602082860101526020601f19601f83011685010191505092915050565b602081526000610ecd6020830184610e74565b9392505050565b600060208284031215610ee657600080fd5b8135610ecd81610e14565b600060208284031215610f0357600080fd5b8135610ecd81610ded565b600060208284031215610f2057600080fd5b5051919050565b6001600160a01b0383168152604060208201819052600090610f4b90830184610e74565b949350505050565b600060208284031215610f6557600080fd5b81518015158114610ecd57600080fd5b600060208284031215610f8757600080fd5b8151610ecd81610e05565b600060208284031215610fa457600080fd5b8151610ecd81610ded565b600060208284031215610fc157600080fd5b8151610ecd81610e1456fea2646970667358221220f0ef03c7270dd053385ad4000788b7842ce2ba361d0334bb8ebf29059ea7427664736f6c63430008140033",
|
212
|
+
"linkReferences": {
|
213
|
+
"contracts/types/NftId.sol": {
|
214
|
+
"NftIdLib": [
|
215
|
+
{
|
216
|
+
"length": 20,
|
217
|
+
"start": 1373
|
218
|
+
},
|
219
|
+
{
|
220
|
+
"length": 20,
|
221
|
+
"start": 2077
|
222
|
+
},
|
223
|
+
{
|
224
|
+
"length": 20,
|
225
|
+
"start": 3114
|
226
|
+
},
|
227
|
+
{
|
228
|
+
"length": 20,
|
229
|
+
"start": 3399
|
230
|
+
}
|
231
|
+
]
|
232
|
+
}
|
233
|
+
},
|
234
|
+
"deployedLinkReferences": {
|
235
|
+
"contracts/types/NftId.sol": {
|
236
|
+
"NftIdLib": [
|
237
|
+
{
|
238
|
+
"length": 20,
|
239
|
+
"start": 1341
|
240
|
+
},
|
241
|
+
{
|
242
|
+
"length": 20,
|
243
|
+
"start": 2045
|
244
|
+
},
|
245
|
+
{
|
246
|
+
"length": 20,
|
247
|
+
"start": 3082
|
248
|
+
},
|
249
|
+
{
|
250
|
+
"length": 20,
|
251
|
+
"start": 3367
|
252
|
+
}
|
253
|
+
]
|
254
|
+
}
|
255
|
+
}
|
256
|
+
}
|
@@ -0,0 +1,60 @@
|
|
1
|
+
{
|
2
|
+
"_format": "hh-sol-artifact-1",
|
3
|
+
"contractName": "RegistryLinked",
|
4
|
+
"sourceName": "contracts/registry/Registry.sol",
|
5
|
+
"abi": [
|
6
|
+
{
|
7
|
+
"inputs": [
|
8
|
+
{
|
9
|
+
"internalType": "address",
|
10
|
+
"name": "registry",
|
11
|
+
"type": "address"
|
12
|
+
}
|
13
|
+
],
|
14
|
+
"stateMutability": "nonpayable",
|
15
|
+
"type": "constructor"
|
16
|
+
},
|
17
|
+
{
|
18
|
+
"anonymous": false,
|
19
|
+
"inputs": [
|
20
|
+
{
|
21
|
+
"indexed": false,
|
22
|
+
"internalType": "uint256",
|
23
|
+
"name": "idx",
|
24
|
+
"type": "uint256"
|
25
|
+
},
|
26
|
+
{
|
27
|
+
"indexed": false,
|
28
|
+
"internalType": "address",
|
29
|
+
"name": "module",
|
30
|
+
"type": "address"
|
31
|
+
},
|
32
|
+
{
|
33
|
+
"indexed": false,
|
34
|
+
"internalType": "string",
|
35
|
+
"name": "comment",
|
36
|
+
"type": "string"
|
37
|
+
}
|
38
|
+
],
|
39
|
+
"name": "LogDebug",
|
40
|
+
"type": "event"
|
41
|
+
},
|
42
|
+
{
|
43
|
+
"inputs": [],
|
44
|
+
"name": "getRegistry",
|
45
|
+
"outputs": [
|
46
|
+
{
|
47
|
+
"internalType": "contract IRegistry",
|
48
|
+
"name": "registry",
|
49
|
+
"type": "address"
|
50
|
+
}
|
51
|
+
],
|
52
|
+
"stateMutability": "view",
|
53
|
+
"type": "function"
|
54
|
+
}
|
55
|
+
],
|
56
|
+
"bytecode": "0x608060405234801561001057600080fd5b5060405161011438038061011483398101604081905261002f91610054565b600080546001600160a01b0319166001600160a01b0392909216919091179055610084565b60006020828403121561006657600080fd5b81516001600160a01b038116811461007d57600080fd5b9392505050565b6082806100926000396000f3fe6080604052348015600f57600080fd5b506004361060285760003560e01c80635ab1bd5314602d575b600080fd5b600054604080516001600160a01b039092168252519081900360200190f3fea26469706673582212206b52cc4409c12622a2ab6c2124c0d70b1e91703d256b216f9a00838ad6c64f8564736f6c63430008140033",
|
57
|
+
"deployedBytecode": "0x6080604052348015600f57600080fd5b506004361060285760003560e01c80635ab1bd5314602d575b600080fd5b600054604080516001600160a01b039092168252519081900360200190f3fea26469706673582212206b52cc4409c12622a2ab6c2124c0d70b1e91703d256b216f9a00838ad6c64f8564736f6c63430008140033",
|
58
|
+
"linkReferences": {},
|
59
|
+
"deployedLinkReferences": {}
|
60
|
+
}
|
@@ -0,0 +1,174 @@
|
|
1
|
+
{
|
2
|
+
"_format": "hh-sol-artifact-1",
|
3
|
+
"contractName": "BlocknumberLib",
|
4
|
+
"sourceName": "contracts/types/Blocknumber.sol",
|
5
|
+
"abi": [
|
6
|
+
{
|
7
|
+
"inputs": [
|
8
|
+
{
|
9
|
+
"internalType": "Blocknumber",
|
10
|
+
"name": "a",
|
11
|
+
"type": "uint32"
|
12
|
+
},
|
13
|
+
{
|
14
|
+
"internalType": "Blocknumber",
|
15
|
+
"name": "b",
|
16
|
+
"type": "uint32"
|
17
|
+
}
|
18
|
+
],
|
19
|
+
"name": "eq",
|
20
|
+
"outputs": [
|
21
|
+
{
|
22
|
+
"internalType": "bool",
|
23
|
+
"name": "isSame",
|
24
|
+
"type": "bool"
|
25
|
+
}
|
26
|
+
],
|
27
|
+
"stateMutability": "pure",
|
28
|
+
"type": "function"
|
29
|
+
},
|
30
|
+
{
|
31
|
+
"inputs": [
|
32
|
+
{
|
33
|
+
"internalType": "Blocknumber",
|
34
|
+
"name": "a",
|
35
|
+
"type": "uint32"
|
36
|
+
},
|
37
|
+
{
|
38
|
+
"internalType": "Blocknumber",
|
39
|
+
"name": "b",
|
40
|
+
"type": "uint32"
|
41
|
+
}
|
42
|
+
],
|
43
|
+
"name": "gt",
|
44
|
+
"outputs": [
|
45
|
+
{
|
46
|
+
"internalType": "bool",
|
47
|
+
"name": "isAfter",
|
48
|
+
"type": "bool"
|
49
|
+
}
|
50
|
+
],
|
51
|
+
"stateMutability": "pure",
|
52
|
+
"type": "function"
|
53
|
+
},
|
54
|
+
{
|
55
|
+
"inputs": [
|
56
|
+
{
|
57
|
+
"internalType": "Blocknumber",
|
58
|
+
"name": "a",
|
59
|
+
"type": "uint32"
|
60
|
+
},
|
61
|
+
{
|
62
|
+
"internalType": "Blocknumber",
|
63
|
+
"name": "b",
|
64
|
+
"type": "uint32"
|
65
|
+
}
|
66
|
+
],
|
67
|
+
"name": "gte",
|
68
|
+
"outputs": [
|
69
|
+
{
|
70
|
+
"internalType": "bool",
|
71
|
+
"name": "isAfterOrSame",
|
72
|
+
"type": "bool"
|
73
|
+
}
|
74
|
+
],
|
75
|
+
"stateMutability": "pure",
|
76
|
+
"type": "function"
|
77
|
+
},
|
78
|
+
{
|
79
|
+
"inputs": [
|
80
|
+
{
|
81
|
+
"internalType": "Blocknumber",
|
82
|
+
"name": "a",
|
83
|
+
"type": "uint32"
|
84
|
+
},
|
85
|
+
{
|
86
|
+
"internalType": "Blocknumber",
|
87
|
+
"name": "b",
|
88
|
+
"type": "uint32"
|
89
|
+
}
|
90
|
+
],
|
91
|
+
"name": "lt",
|
92
|
+
"outputs": [
|
93
|
+
{
|
94
|
+
"internalType": "bool",
|
95
|
+
"name": "isBefore",
|
96
|
+
"type": "bool"
|
97
|
+
}
|
98
|
+
],
|
99
|
+
"stateMutability": "pure",
|
100
|
+
"type": "function"
|
101
|
+
},
|
102
|
+
{
|
103
|
+
"inputs": [
|
104
|
+
{
|
105
|
+
"internalType": "Blocknumber",
|
106
|
+
"name": "a",
|
107
|
+
"type": "uint32"
|
108
|
+
},
|
109
|
+
{
|
110
|
+
"internalType": "Blocknumber",
|
111
|
+
"name": "b",
|
112
|
+
"type": "uint32"
|
113
|
+
}
|
114
|
+
],
|
115
|
+
"name": "lte",
|
116
|
+
"outputs": [
|
117
|
+
{
|
118
|
+
"internalType": "bool",
|
119
|
+
"name": "isBeforeOrSame",
|
120
|
+
"type": "bool"
|
121
|
+
}
|
122
|
+
],
|
123
|
+
"stateMutability": "pure",
|
124
|
+
"type": "function"
|
125
|
+
},
|
126
|
+
{
|
127
|
+
"inputs": [
|
128
|
+
{
|
129
|
+
"internalType": "Blocknumber",
|
130
|
+
"name": "a",
|
131
|
+
"type": "uint32"
|
132
|
+
},
|
133
|
+
{
|
134
|
+
"internalType": "Blocknumber",
|
135
|
+
"name": "b",
|
136
|
+
"type": "uint32"
|
137
|
+
}
|
138
|
+
],
|
139
|
+
"name": "ne",
|
140
|
+
"outputs": [
|
141
|
+
{
|
142
|
+
"internalType": "bool",
|
143
|
+
"name": "isDifferent",
|
144
|
+
"type": "bool"
|
145
|
+
}
|
146
|
+
],
|
147
|
+
"stateMutability": "pure",
|
148
|
+
"type": "function"
|
149
|
+
},
|
150
|
+
{
|
151
|
+
"inputs": [
|
152
|
+
{
|
153
|
+
"internalType": "Blocknumber",
|
154
|
+
"name": "blocknumber",
|
155
|
+
"type": "uint32"
|
156
|
+
}
|
157
|
+
],
|
158
|
+
"name": "toInt",
|
159
|
+
"outputs": [
|
160
|
+
{
|
161
|
+
"internalType": "uint256",
|
162
|
+
"name": "",
|
163
|
+
"type": "uint256"
|
164
|
+
}
|
165
|
+
],
|
166
|
+
"stateMutability": "pure",
|
167
|
+
"type": "function"
|
168
|
+
}
|
169
|
+
],
|
170
|
+
"bytecode": "0x61024d61003a600b82828239805160001a60731461002d57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600436106100875760003560e01c80636303db59116100655780636303db59146100da5780636effeac4146100ed5780637b4f5d3b14610112578063946428041461012557600080fd5b8063012340281461008c578063559cbd25146100b457806356b0a7d4146100c7575b600080fd5b61009f61009a3660046101c9565b610138565b60405190151581526020015b60405180910390f35b61009f6100c23660046101c9565b61014f565b61009f6100d53660046101c9565b610162565b61009f6100e83660046101c9565b610175565b6101046100fb3660046101fc565b63ffffffff1690565b6040519081526020016100ab565b61009f6101203660046101c9565b610188565b61009f6101333660046101c9565b61019c565b600063ffffffff80831690841610155b9392505050565b600063ffffffff80841690831614610148565b600063ffffffff80831690841611610148565b600063ffffffff80831690841610610148565b600063ffffffff8084169083161415610148565b600063ffffffff8083169084161115610148565b803563ffffffff811681146101c457600080fd5b919050565b600080604083850312156101dc57600080fd5b6101e5836101b0565b91506101f3602084016101b0565b90509250929050565b60006020828403121561020e57600080fd5b610148826101b056fea26469706673582212209c3b15caeec0e7d5334a5985f9d00378c7d311267beffff2b7358b7f5af08c7764736f6c63430008140033",
|
171
|
+
"deployedBytecode": "0x73000000000000000000000000000000000000000030146080604052600436106100875760003560e01c80636303db59116100655780636303db59146100da5780636effeac4146100ed5780637b4f5d3b14610112578063946428041461012557600080fd5b8063012340281461008c578063559cbd25146100b457806356b0a7d4146100c7575b600080fd5b61009f61009a3660046101c9565b610138565b60405190151581526020015b60405180910390f35b61009f6100c23660046101c9565b61014f565b61009f6100d53660046101c9565b610162565b61009f6100e83660046101c9565b610175565b6101046100fb3660046101fc565b63ffffffff1690565b6040519081526020016100ab565b61009f6101203660046101c9565b610188565b61009f6101333660046101c9565b61019c565b600063ffffffff80831690841610155b9392505050565b600063ffffffff80841690831614610148565b600063ffffffff80831690841611610148565b600063ffffffff80831690841610610148565b600063ffffffff8084169083161415610148565b600063ffffffff8083169084161115610148565b803563ffffffff811681146101c457600080fd5b919050565b600080604083850312156101dc57600080fd5b6101e5836101b0565b91506101f3602084016101b0565b90509250929050565b60006020828403121561020e57600080fd5b610148826101b056fea26469706673582212209c3b15caeec0e7d5334a5985f9d00378c7d311267beffff2b7358b7f5af08c7764736f6c63430008140033",
|
172
|
+
"linkReferences": {},
|
173
|
+
"deployedLinkReferences": {}
|
174
|
+
}
|
@@ -0,0 +1,10 @@
|
|
1
|
+
{
|
2
|
+
"_format": "hh-sol-artifact-1",
|
3
|
+
"contractName": "ChainIdLib",
|
4
|
+
"sourceName": "contracts/types/ChainId.sol",
|
5
|
+
"abi": [],
|
6
|
+
"bytecode": "0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220ac8816ed64a5564f095b1262256f7bb457860b022bb240dc1f3c524dba44019264736f6c63430008140033",
|
7
|
+
"deployedBytecode": "0x73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220ac8816ed64a5564f095b1262256f7bb457860b022bb240dc1f3c524dba44019264736f6c63430008140033",
|
8
|
+
"linkReferences": {},
|
9
|
+
"deployedLinkReferences": {}
|
10
|
+
}
|
@@ -0,0 +1,92 @@
|
|
1
|
+
{
|
2
|
+
"_format": "hh-sol-artifact-1",
|
3
|
+
"contractName": "NftIdLib",
|
4
|
+
"sourceName": "contracts/types/NftId.sol",
|
5
|
+
"abi": [
|
6
|
+
{
|
7
|
+
"inputs": [
|
8
|
+
{
|
9
|
+
"internalType": "NftId",
|
10
|
+
"name": "a",
|
11
|
+
"type": "uint96"
|
12
|
+
},
|
13
|
+
{
|
14
|
+
"internalType": "NftId",
|
15
|
+
"name": "b",
|
16
|
+
"type": "uint96"
|
17
|
+
}
|
18
|
+
],
|
19
|
+
"name": "eq",
|
20
|
+
"outputs": [
|
21
|
+
{
|
22
|
+
"internalType": "bool",
|
23
|
+
"name": "isSame",
|
24
|
+
"type": "bool"
|
25
|
+
}
|
26
|
+
],
|
27
|
+
"stateMutability": "pure",
|
28
|
+
"type": "function"
|
29
|
+
},
|
30
|
+
{
|
31
|
+
"inputs": [
|
32
|
+
{
|
33
|
+
"internalType": "NftId",
|
34
|
+
"name": "a",
|
35
|
+
"type": "uint96"
|
36
|
+
}
|
37
|
+
],
|
38
|
+
"name": "eqz",
|
39
|
+
"outputs": [
|
40
|
+
{
|
41
|
+
"internalType": "bool",
|
42
|
+
"name": "",
|
43
|
+
"type": "bool"
|
44
|
+
}
|
45
|
+
],
|
46
|
+
"stateMutability": "pure",
|
47
|
+
"type": "function"
|
48
|
+
},
|
49
|
+
{
|
50
|
+
"inputs": [
|
51
|
+
{
|
52
|
+
"internalType": "NftId",
|
53
|
+
"name": "a",
|
54
|
+
"type": "uint96"
|
55
|
+
}
|
56
|
+
],
|
57
|
+
"name": "gtz",
|
58
|
+
"outputs": [
|
59
|
+
{
|
60
|
+
"internalType": "bool",
|
61
|
+
"name": "",
|
62
|
+
"type": "bool"
|
63
|
+
}
|
64
|
+
],
|
65
|
+
"stateMutability": "pure",
|
66
|
+
"type": "function"
|
67
|
+
},
|
68
|
+
{
|
69
|
+
"inputs": [
|
70
|
+
{
|
71
|
+
"internalType": "NftId",
|
72
|
+
"name": "nftId",
|
73
|
+
"type": "uint96"
|
74
|
+
}
|
75
|
+
],
|
76
|
+
"name": "toInt",
|
77
|
+
"outputs": [
|
78
|
+
{
|
79
|
+
"internalType": "uint96",
|
80
|
+
"name": "",
|
81
|
+
"type": "uint96"
|
82
|
+
}
|
83
|
+
],
|
84
|
+
"stateMutability": "pure",
|
85
|
+
"type": "function"
|
86
|
+
}
|
87
|
+
],
|
88
|
+
"bytecode": "0x61019761003a600b82828239805160001a60731461002d57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600436106100565760003560e01c806308dc895e1461005b57806330b8415f1461008957806352694ee8146100b5578063c4cade9d146100d0575b600080fd5b61006c610069366004610113565b90565b6040516001600160601b0390911681526020015b60405180910390f35b6100a5610097366004610113565b6001600160601b0316151590565b6040519015158152602001610080565b6100a56100c3366004610113565b6001600160601b03161590565b6100a56100de36600461012e565b60006001600160601b03808416908316145b9392505050565b80356001600160601b038116811461010e57600080fd5b919050565b60006020828403121561012557600080fd5b6100f0826100f7565b6000806040838503121561014157600080fd5b61014a836100f7565b9150610158602084016100f7565b9050925092905056fea264697066735822122086c40d21088b135650d1720bf76aa3ac4d6f440abbd63c369af2921e83b739cf64736f6c63430008140033",
|
89
|
+
"deployedBytecode": "0x73000000000000000000000000000000000000000030146080604052600436106100565760003560e01c806308dc895e1461005b57806330b8415f1461008957806352694ee8146100b5578063c4cade9d146100d0575b600080fd5b61006c610069366004610113565b90565b6040516001600160601b0390911681526020015b60405180910390f35b6100a5610097366004610113565b6001600160601b0316151590565b6040519015158152602001610080565b6100a56100c3366004610113565b6001600160601b03161590565b6100a56100de36600461012e565b60006001600160601b03808416908316145b9392505050565b80356001600160601b038116811461010e57600080fd5b919050565b60006020828403121561012557600080fd5b6100f0826100f7565b6000806040838503121561014157600080fd5b61014a836100f7565b9150610158602084016100f7565b9050925092905056fea264697066735822122086c40d21088b135650d1720bf76aa3ac4d6f440abbd63c369af2921e83b739cf64736f6c63430008140033",
|
90
|
+
"linkReferences": {},
|
91
|
+
"deployedLinkReferences": {}
|
92
|
+
}
|