@etherisc/gif-next 0.0.2-b9b3e89 → 0.0.2-d250c72
Sign up to get free protection for your applications and to get access to all the features.
- package/artifacts/contracts/components/Component.sol/Component.dbg.json +1 -1
- package/artifacts/contracts/components/Component.sol/Component.json +7 -7
- package/artifacts/contracts/components/Component.sol/InstanceLinked.dbg.json +1 -1
- package/artifacts/contracts/components/Component.sol/InstanceLinked.json +2 -2
- package/artifacts/contracts/components/IPool.sol/IPoolComponent.dbg.json +1 -1
- package/artifacts/contracts/components/IPool.sol/IPoolComponent.json +6 -6
- package/artifacts/contracts/components/IProduct.sol/IProductComponent.dbg.json +1 -1
- package/artifacts/contracts/components/IProduct.sol/IProductComponent.json +8 -8
- package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +1 -1
- package/artifacts/contracts/components/Pool.sol/Pool.json +29 -11
- package/artifacts/contracts/components/Product.sol/Product.dbg.json +1 -1
- package/artifacts/contracts/components/Product.sol/Product.json +31 -13
- 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/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 +1 -1
- package/artifacts/contracts/instance/IInstance.sol/IInstance.json +60 -60
- package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
- package/artifacts/contracts/instance/Instance.sol/Instance.json +122 -64
- package/artifacts/contracts/instance/access/Access.sol/AccessModule.dbg.json +1 -1
- package/artifacts/contracts/instance/access/IAccess.sol/IAccess.dbg.json +1 -1
- package/artifacts/contracts/instance/access/IAccess.sol/IAccessCheckRole.dbg.json +1 -1
- package/artifacts/contracts/instance/access/IAccess.sol/IAccessComponentTypeRoles.dbg.json +1 -1
- package/artifacts/contracts/instance/access/IAccess.sol/IAccessModule.dbg.json +1 -1
- package/artifacts/contracts/instance/component/ComponentModule.sol/ComponentModule.dbg.json +1 -1
- package/artifacts/contracts/instance/component/ComponentModule.sol/ComponentModule.json +24 -24
- package/artifacts/contracts/instance/component/ComponentModule.sol/ComponentOwnerService.dbg.json +1 -1
- package/artifacts/contracts/instance/component/ComponentModule.sol/ComponentOwnerService.json +48 -6
- package/artifacts/contracts/instance/component/IComponent.sol/IComponent.dbg.json +1 -1
- package/artifacts/contracts/instance/component/IComponent.sol/IComponentContract.dbg.json +1 -1
- package/artifacts/contracts/instance/component/IComponent.sol/IComponentContract.json +6 -6
- package/artifacts/contracts/instance/component/IComponent.sol/IComponentModule.dbg.json +1 -1
- package/artifacts/contracts/instance/component/IComponent.sol/IComponentModule.json +26 -26
- package/artifacts/contracts/instance/component/IComponent.sol/IComponentOwnerService.dbg.json +1 -1
- package/artifacts/contracts/instance/component/IComponent.sol/IComponentOwnerService.json +3 -3
- package/artifacts/contracts/instance/component/IComponent.sol/IInstanceLinked.dbg.json +1 -1
- package/artifacts/contracts/instance/policy/IPolicy.sol/IPolicy.dbg.json +1 -1
- package/artifacts/contracts/instance/policy/IPolicy.sol/IPolicyModule.dbg.json +1 -1
- package/artifacts/contracts/instance/policy/IPolicy.sol/IPolicyModule.json +18 -18
- package/artifacts/contracts/instance/policy/PolicyModule.sol/PolicyModule.dbg.json +1 -1
- package/artifacts/contracts/instance/policy/PolicyModule.sol/PolicyModule.json +18 -18
- package/artifacts/contracts/instance/pool/IPoolModule.sol/IPool.dbg.json +1 -1
- package/artifacts/contracts/instance/pool/IPoolModule.sol/IPoolModule.dbg.json +1 -1
- package/artifacts/contracts/instance/pool/IPoolModule.sol/IPoolModule.json +10 -10
- package/artifacts/contracts/instance/pool/PoolModule.sol/PoolModule.dbg.json +1 -1
- package/artifacts/contracts/instance/pool/PoolModule.sol/PoolModule.json +10 -10
- package/artifacts/contracts/instance/product/IProductService.sol/IProductModule.dbg.json +1 -1
- package/artifacts/contracts/instance/product/IProductService.sol/IProductService.dbg.json +1 -1
- package/artifacts/contracts/instance/product/IProductService.sol/IProductService.json +8 -8
- package/artifacts/contracts/instance/product/ProductService.sol/ProductModule.dbg.json +1 -1
- package/artifacts/contracts/instance/product/ProductService.sol/ProductService.dbg.json +1 -1
- package/artifacts/contracts/instance/product/ProductService.sol/ProductService.json +54 -12
- 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 +1 -1
- package/artifacts/contracts/registry/IRegistry.sol/IRegisterable.dbg.json +1 -1
- package/artifacts/contracts/registry/IRegistry.sol/IRegisterable.json +6 -6
- package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
- package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +41 -33
- package/artifacts/contracts/registry/IRegistry.sol/IRegistryLinked.dbg.json +1 -1
- package/artifacts/contracts/registry/Registry.sol/Registerable.dbg.json +1 -1
- package/artifacts/contracts/registry/Registry.sol/Registerable.json +7 -7
- package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
- package/artifacts/contracts/registry/Registry.sol/Registry.json +100 -42
- package/artifacts/contracts/registry/Registry.sol/RegistryLinked.dbg.json +1 -1
- package/artifacts/contracts/registry/Registry.sol/RegistryLinked.json +2 -2
- 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/contracts/components/Component.sol +3 -3
- package/contracts/components/IProduct.sol +2 -1
- package/contracts/components/Product.sol +5 -4
- package/contracts/experiment/errors/Require.sol +33 -0
- package/contracts/experiment/errors/Revert.sol +39 -0
- package/contracts/experiment/inheritance/A.sol +56 -0
- package/contracts/experiment/inheritance/B.sol +23 -0
- package/contracts/experiment/inheritance/C.sol +28 -0
- package/contracts/experiment/inheritance/IA.sol +18 -0
- package/contracts/experiment/inheritance/IB.sol +9 -0
- package/contracts/experiment/inheritance/IC.sol +11 -0
- package/contracts/experiment/types/TypeA.sol +42 -0
- package/contracts/experiment/types/TypeB.sol +24 -0
- package/contracts/instance/IInstance.sol +3 -3
- package/contracts/instance/Instance.sol +4 -3
- package/contracts/instance/component/ComponentModule.sol +32 -43
- package/contracts/instance/component/IComponent.sol +11 -10
- package/contracts/instance/policy/IPolicy.sol +8 -8
- package/contracts/instance/policy/PolicyModule.sol +12 -11
- package/contracts/instance/pool/IPoolModule.sol +6 -5
- package/contracts/instance/pool/PoolModule.sol +9 -6
- package/contracts/instance/product/IProductService.sol +5 -4
- package/contracts/instance/product/ProductService.sol +14 -11
- package/contracts/registry/ChainNft.sol +173 -0
- package/contracts/registry/IChainNft.sol +18 -0
- package/contracts/registry/IRegistry.sol +16 -12
- package/contracts/registry/Registry.sol +43 -58
- package/contracts/types/ChainId.sol +24 -0
- package/contracts/types/NftId.sol +35 -0
- package/package.json +1 -1
@@ -3,11 +3,6 @@
|
|
3
3
|
"contractName": "Registry",
|
4
4
|
"sourceName": "contracts/registry/Registry.sol",
|
5
5
|
"abi": [
|
6
|
-
{
|
7
|
-
"inputs": [],
|
8
|
-
"stateMutability": "nonpayable",
|
9
|
-
"type": "constructor"
|
10
|
-
},
|
11
6
|
{
|
12
7
|
"inputs": [],
|
13
8
|
"name": "BUNDLE",
|
@@ -21,6 +16,19 @@
|
|
21
16
|
"stateMutability": "pure",
|
22
17
|
"type": "function"
|
23
18
|
},
|
19
|
+
{
|
20
|
+
"inputs": [],
|
21
|
+
"name": "EMPTY_URI",
|
22
|
+
"outputs": [
|
23
|
+
{
|
24
|
+
"internalType": "string",
|
25
|
+
"name": "",
|
26
|
+
"type": "string"
|
27
|
+
}
|
28
|
+
],
|
29
|
+
"stateMutability": "view",
|
30
|
+
"type": "function"
|
31
|
+
},
|
24
32
|
{
|
25
33
|
"inputs": [],
|
26
34
|
"name": "INSTANCE",
|
@@ -102,9 +110,9 @@
|
|
102
110
|
{
|
103
111
|
"inputs": [
|
104
112
|
{
|
105
|
-
"internalType": "
|
106
|
-
"name": "
|
107
|
-
"type": "
|
113
|
+
"internalType": "NftId",
|
114
|
+
"name": "nftId",
|
115
|
+
"type": "uint96"
|
108
116
|
}
|
109
117
|
],
|
110
118
|
"name": "getInfo",
|
@@ -112,14 +120,14 @@
|
|
112
120
|
{
|
113
121
|
"components": [
|
114
122
|
{
|
115
|
-
"internalType": "
|
123
|
+
"internalType": "NftId",
|
116
124
|
"name": "nftId",
|
117
|
-
"type": "
|
125
|
+
"type": "uint96"
|
118
126
|
},
|
119
127
|
{
|
120
|
-
"internalType": "
|
128
|
+
"internalType": "NftId",
|
121
129
|
"name": "parentNftId",
|
122
|
-
"type": "
|
130
|
+
"type": "uint96"
|
123
131
|
},
|
124
132
|
{
|
125
133
|
"internalType": "uint256",
|
@@ -145,6 +153,19 @@
|
|
145
153
|
"stateMutability": "view",
|
146
154
|
"type": "function"
|
147
155
|
},
|
156
|
+
{
|
157
|
+
"inputs": [],
|
158
|
+
"name": "getNftAddress",
|
159
|
+
"outputs": [
|
160
|
+
{
|
161
|
+
"internalType": "address",
|
162
|
+
"name": "nft",
|
163
|
+
"type": "address"
|
164
|
+
}
|
165
|
+
],
|
166
|
+
"stateMutability": "view",
|
167
|
+
"type": "function"
|
168
|
+
},
|
148
169
|
{
|
149
170
|
"inputs": [
|
150
171
|
{
|
@@ -156,9 +177,9 @@
|
|
156
177
|
"name": "getNftId",
|
157
178
|
"outputs": [
|
158
179
|
{
|
159
|
-
"internalType": "
|
180
|
+
"internalType": "NftId",
|
160
181
|
"name": "id",
|
161
|
-
"type": "
|
182
|
+
"type": "uint96"
|
162
183
|
}
|
163
184
|
],
|
164
185
|
"stateMutability": "view",
|
@@ -180,9 +201,9 @@
|
|
180
201
|
{
|
181
202
|
"inputs": [
|
182
203
|
{
|
183
|
-
"internalType": "
|
184
|
-
"name": "
|
185
|
-
"type": "
|
204
|
+
"internalType": "NftId",
|
205
|
+
"name": "nftId",
|
206
|
+
"type": "uint96"
|
186
207
|
}
|
187
208
|
],
|
188
209
|
"name": "getOwner",
|
@@ -196,6 +217,19 @@
|
|
196
217
|
"stateMutability": "view",
|
197
218
|
"type": "function"
|
198
219
|
},
|
220
|
+
{
|
221
|
+
"inputs": [
|
222
|
+
{
|
223
|
+
"internalType": "address",
|
224
|
+
"name": "chainNft",
|
225
|
+
"type": "address"
|
226
|
+
}
|
227
|
+
],
|
228
|
+
"name": "initialize",
|
229
|
+
"outputs": [],
|
230
|
+
"stateMutability": "nonpayable",
|
231
|
+
"type": "function"
|
232
|
+
},
|
199
233
|
{
|
200
234
|
"inputs": [
|
201
235
|
{
|
@@ -226,9 +260,9 @@
|
|
226
260
|
"name": "register",
|
227
261
|
"outputs": [
|
228
262
|
{
|
229
|
-
"internalType": "
|
263
|
+
"internalType": "NftId",
|
230
264
|
"name": "nftId",
|
231
|
-
"type": "
|
265
|
+
"type": "uint96"
|
232
266
|
}
|
233
267
|
],
|
234
268
|
"stateMutability": "nonpayable",
|
@@ -237,9 +271,9 @@
|
|
237
271
|
{
|
238
272
|
"inputs": [
|
239
273
|
{
|
240
|
-
"internalType": "
|
274
|
+
"internalType": "NftId",
|
241
275
|
"name": "parentNftId",
|
242
|
-
"type": "
|
276
|
+
"type": "uint96"
|
243
277
|
},
|
244
278
|
{
|
245
279
|
"internalType": "uint256",
|
@@ -255,35 +289,59 @@
|
|
255
289
|
"name": "registerObjectForInstance",
|
256
290
|
"outputs": [
|
257
291
|
{
|
258
|
-
"internalType": "
|
292
|
+
"internalType": "NftId",
|
259
293
|
"name": "nftId",
|
260
|
-
"type": "
|
294
|
+
"type": "uint96"
|
261
295
|
}
|
262
296
|
],
|
263
297
|
"stateMutability": "nonpayable",
|
264
298
|
"type": "function"
|
265
|
-
}
|
266
|
-
|
267
|
-
"inputs": [
|
299
|
+
}
|
300
|
+
],
|
301
|
+
"bytecode": "0x608060405234801561001057600080fd5b50611e92806100206000396000f3fe608060405234801561001057600080fd5b506004361061010b5760003560e01c80637535d246116100a2578063c4d66de811610071578063c4d66de8146102c0578063d15db8b4146102dc578063d272ac1e146102fa578063dadbccee1461032a578063df33330b146103485761010b565b80637535d2461461023657806382bfefc814610254578063be9a71bd14610272578063c3c5a547146102905761010b565b80633fe9300e116100de5780633fe9300e1461019a5780634420e486146101b85780634c3371cd146101e857806353bed7c3146102185761010b565b80631a848cfb1461011057806325425a911461012e578063294624ad1461014c57806338013f021461017c575b600080fd5b610118610378565b6040516101259190611649565b60405180910390f35b610136610410565b6040516101439190611649565b60405180910390f35b61016660048036038101906101619190611737565b610419565b60405161017391906117c5565b60405180910390f35b6101846106e8565b6040516101919190611649565b60405180910390f35b6101a26106f1565b6040516101af9190611870565b60405180910390f35b6101d260048036038101906101cd9190611892565b610704565b6040516101df91906117c5565b60405180910390f35b61020260048036038101906101fd91906118bf565b611094565b60405161020f9190611981565b60405180910390f35b61022061120e565b60405161022d9190611649565b60405180910390f35b61023e611217565b60405161024b9190611649565b60405180910390f35b61025c611220565b6040516102699190611649565b60405180910390f35b61027a611229565b60405161028791906119ab565b60405180910390f35b6102aa60048036038101906102a59190611892565b611253565b6040516102b791906119e1565b60405180910390f35b6102da60048036038101906102d59190611892565b61133b565b005b6102e4611410565b6040516102f19190611649565b60405180910390f35b610314600480360381019061030f9190611892565b611419565b60405161032191906117c5565b60405180910390f35b61033261147a565b60405161033f9190611649565b60405180910390f35b610362600480360381019061035d91906118bf565b611483565b60405161036f91906119ab565b60405180910390f35b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166318160ddd6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156103e7573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061040b9190611a11565b905090565b60006032905090565b600061042361147a565b831480610436575061043361120e565b83145b610475576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161046c90611a8a565b60405180910390fd5b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663d0def52184604051806020016040528060008152506040518363ffffffff1660e01b81526004016104e3929190611aaa565b6020604051808303816000875af1158015610502573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105269190611a11565b9050610531816115af565b915060006040518060a00160405280846bffffffffffffffffffffffff168152602001876bffffffffffffffffffffffff168152602001868152602001600073ffffffffffffffffffffffffffffffffffffffff1681526020018573ffffffffffffffffffffffffffffffffffffffff16815250905080600080856bffffffffffffffffffffffff166bffffffffffffffffffffffff16815260200190815260200160002060008201518160000160006101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff160217905550602082015181600001600c6101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff1602179055506040820151816001015560608201518160020160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060808201518160030160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555090505050509392505050565b6000603c905090565b6040518060200160405280600081525081565b6000600260008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff1673__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__6352694ee890916040518263ffffffff1660e01b81526004016107a49190611ae9565b602060405180830381865af41580156107c1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107e59190611b30565b610824576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161081b90611ba9565b60405180910390fd5b60008290508073ffffffffffffffffffffffffffffffffffffffff166379e829d06040518163ffffffff1660e01b8152600401602060405180830381865afa158015610874573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108989190611b30565b6108d7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108ce90611c15565b60405180910390fd5b6108df611410565b8173ffffffffffffffffffffffffffffffffffffffff166315dae03e6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561092a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061094e9190611a11565b14610bfd5760008060008373ffffffffffffffffffffffffffffffffffffffff166331b62a3b6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156109a3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109c79190611c4a565b6bffffffffffffffffffffffff166bffffffffffffffffffffffff1681526020019081526020016000206040518060a00160405290816000820160009054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff16815260200160008201600c9054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff168152602001600182015481526020016002820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016003820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681525050905080600001516bffffffffffffffffffffffff1673__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__6330b8415f90916040518263ffffffff1660e01b8152600401610b7b9190611ae9565b602060405180830381865af4158015610b98573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bbc9190611b30565b610bfb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bf290611cc3565b60405180910390fd5b505b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663d0def5218373ffffffffffffffffffffffffffffffffffffffff1663fb2cb1016040518163ffffffff1660e01b8152600401602060405180830381865afa158015610c88573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cac9190611cf8565b604051806020016040528060008152506040518363ffffffff1660e01b8152600401610cd9929190611aaa565b6020604051808303816000875af1158015610cf8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d1c9190611a11565b9050610d27816115af565b925060006040518060a00160405280856bffffffffffffffffffffffff1681526020018473ffffffffffffffffffffffffffffffffffffffff166331b62a3b6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610d95573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610db99190611c4a565b6bffffffffffffffffffffffff1681526020018473ffffffffffffffffffffffffffffffffffffffff166315dae03e6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610e17573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e3b9190611a11565b81526020018673ffffffffffffffffffffffffffffffffffffffff1681526020018473ffffffffffffffffffffffffffffffffffffffff1663fb2cb1016040518163ffffffff1660e01b8152600401602060405180830381865afa158015610ea7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ecb9190611cf8565b73ffffffffffffffffffffffffffffffffffffffff16815250905080600080866bffffffffffffffffffffffff166bffffffffffffffffffffffff16815260200190815260200160002060008201518160000160006101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff160217905550602082015181600001600c6101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff1602179055506040820151816001015560608201518160020160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060808201518160030160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555090505083600260008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff160217905550505050919050565b61109c6115b9565b600080836bffffffffffffffffffffffff166bffffffffffffffffffffffff1681526020019081526020016000206040518060a00160405290816000820160009054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff16815260200160008201600c9054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff168152602001600182015481526020016002820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016003820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815250509050919050565b6000605a905090565b60006046905090565b6000601e905090565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6000600260008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff1673__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__6330b8415f90916040518263ffffffff1660e01b81526004016112f39190611ae9565b602060405180830381865af4158015611310573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113349190611b30565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff16600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146113cc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113c390611d97565b60405180910390fd5b80600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60006028905090565b6000600260008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a90046bffffffffffffffffffffffff169050919050565b60006050905090565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16636352211e836bffffffffffffffffffffffff1673__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__6308dc895e90916040518263ffffffff1660e01b815260040161150a9190611ae9565b602060405180830381865af4158015611527573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061154b9190611de3565b6040518263ffffffff1660e01b81526004016115679190611e41565b602060405180830381865afa158015611584573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115a89190611cf8565b9050919050565b6000819050919050565b6040518060a0016040528060006bffffffffffffffffffffffff16815260200160006bffffffffffffffffffffffff16815260200160008152602001600073ffffffffffffffffffffffffffffffffffffffff168152602001600073ffffffffffffffffffffffffffffffffffffffff1681525090565b6000819050919050565b61164381611630565b82525050565b600060208201905061165e600083018461163a565b92915050565b600080fd5b60006bffffffffffffffffffffffff82169050919050565b61168a81611669565b811461169557600080fd5b50565b6000813590506116a781611681565b92915050565b6116b681611630565b81146116c157600080fd5b50565b6000813590506116d3816116ad565b92915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000611704826116d9565b9050919050565b611714816116f9565b811461171f57600080fd5b50565b6000813590506117318161170b565b92915050565b6000806000606084860312156117505761174f611664565b5b600061175e86828701611698565b935050602061176f868287016116c4565b925050604061178086828701611722565b9150509250925092565b6000819050919050565b60006117af6117aa6117a584611669565b61178a565b611669565b9050919050565b6117bf81611794565b82525050565b60006020820190506117da60008301846117b6565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561181a5780820151818401526020810190506117ff565b60008484015250505050565b6000601f19601f8301169050919050565b6000611842826117e0565b61184c81856117eb565b935061185c8185602086016117fc565b61186581611826565b840191505092915050565b6000602082019050818103600083015261188a8184611837565b905092915050565b6000602082840312156118a8576118a7611664565b5b60006118b684828501611722565b91505092915050565b6000602082840312156118d5576118d4611664565b5b60006118e384828501611698565b91505092915050565b6118f581611794565b82525050565b61190481611630565b82525050565b611913816116f9565b82525050565b60a08201600082015161192f60008501826118ec565b50602082015161194260208501826118ec565b50604082015161195560408501826118fb565b506060820151611968606085018261190a565b50608082015161197b608085018261190a565b50505050565b600060a0820190506119966000830184611919565b92915050565b6119a5816116f9565b82525050565b60006020820190506119c0600083018461199c565b92915050565b60008115159050919050565b6119db816119c6565b82525050565b60006020820190506119f660008301846119d2565b92915050565b600081519050611a0b816116ad565b92915050565b600060208284031215611a2757611a26611664565b5b6000611a35848285016119fc565b91505092915050565b7f4552524f523a5245472d3030353a545950455f494e56414c4944000000000000600082015250565b6000611a74601a836117eb565b9150611a7f82611a3e565b602082019050919050565b60006020820190508181036000830152611aa381611a67565b9050919050565b6000604082019050611abf600083018561199c565b8181036020830152611ad18184611837565b90509392505050565b611ae381611794565b82525050565b6000602082019050611afe6000830184611ada565b92915050565b611b0d816119c6565b8114611b1857600080fd5b50565b600081519050611b2a81611b04565b92915050565b600060208284031215611b4657611b45611664565b5b6000611b5484828501611b1b565b91505092915050565b7f4552524f523a5245472d3030323a414c52454144595f52454749535445524544600082015250565b6000611b936020836117eb565b9150611b9e82611b5d565b602082019050919050565b60006020820190508181036000830152611bc281611b86565b9050919050565b7f4552524f523a5245472d3030333a4e4f545f524547495354455241424c450000600082015250565b6000611bff601e836117eb565b9150611c0a82611bc9565b602082019050919050565b60006020820190508181036000830152611c2e81611bf2565b9050919050565b600081519050611c4481611681565b92915050565b600060208284031215611c6057611c5f611664565b5b6000611c6e84828501611c35565b91505092915050565b7f4552524f523a5245472d3030343a504152454e545f4e4f545f464f554e440000600082015250565b6000611cad601e836117eb565b9150611cb882611c77565b602082019050919050565b60006020820190508181036000830152611cdc81611ca0565b9050919050565b600081519050611cf28161170b565b92915050565b600060208284031215611d0e57611d0d611664565b5b6000611d1c84828501611ce3565b91505092915050565b7f4552524f523a5245472d3030313a414c52454144595f494e495449414c495a4560008201527f4400000000000000000000000000000000000000000000000000000000000000602082015250565b6000611d816021836117eb565b9150611d8c82611d25565b604082019050919050565b60006020820190508181036000830152611db081611d74565b9050919050565b611dc081611669565b8114611dcb57600080fd5b50565b600081519050611ddd81611db7565b92915050565b600060208284031215611df957611df8611664565b5b6000611e0784828501611dce565b91505092915050565b6000611e2b611e26611e2184611669565b61178a565b611630565b9050919050565b611e3b81611e10565b82525050565b6000602082019050611e566000830184611e32565b9291505056fea2646970667358221220fee9d9bf8bf0766cf8a048f91bea4d0e0f0d4756a9457230d54d3f35f3d81f1e64736f6c63430008140033",
|
302
|
+
"deployedBytecode": "0x608060405234801561001057600080fd5b506004361061010b5760003560e01c80637535d246116100a2578063c4d66de811610071578063c4d66de8146102c0578063d15db8b4146102dc578063d272ac1e146102fa578063dadbccee1461032a578063df33330b146103485761010b565b80637535d2461461023657806382bfefc814610254578063be9a71bd14610272578063c3c5a547146102905761010b565b80633fe9300e116100de5780633fe9300e1461019a5780634420e486146101b85780634c3371cd146101e857806353bed7c3146102185761010b565b80631a848cfb1461011057806325425a911461012e578063294624ad1461014c57806338013f021461017c575b600080fd5b610118610378565b6040516101259190611649565b60405180910390f35b610136610410565b6040516101439190611649565b60405180910390f35b61016660048036038101906101619190611737565b610419565b60405161017391906117c5565b60405180910390f35b6101846106e8565b6040516101919190611649565b60405180910390f35b6101a26106f1565b6040516101af9190611870565b60405180910390f35b6101d260048036038101906101cd9190611892565b610704565b6040516101df91906117c5565b60405180910390f35b61020260048036038101906101fd91906118bf565b611094565b60405161020f9190611981565b60405180910390f35b61022061120e565b60405161022d9190611649565b60405180910390f35b61023e611217565b60405161024b9190611649565b60405180910390f35b61025c611220565b6040516102699190611649565b60405180910390f35b61027a611229565b60405161028791906119ab565b60405180910390f35b6102aa60048036038101906102a59190611892565b611253565b6040516102b791906119e1565b60405180910390f35b6102da60048036038101906102d59190611892565b61133b565b005b6102e4611410565b6040516102f19190611649565b60405180910390f35b610314600480360381019061030f9190611892565b611419565b60405161032191906117c5565b60405180910390f35b61033261147a565b60405161033f9190611649565b60405180910390f35b610362600480360381019061035d91906118bf565b611483565b60405161036f91906119ab565b60405180910390f35b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166318160ddd6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156103e7573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061040b9190611a11565b905090565b60006032905090565b600061042361147a565b831480610436575061043361120e565b83145b610475576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161046c90611a8a565b60405180910390fd5b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663d0def52184604051806020016040528060008152506040518363ffffffff1660e01b81526004016104e3929190611aaa565b6020604051808303816000875af1158015610502573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105269190611a11565b9050610531816115af565b915060006040518060a00160405280846bffffffffffffffffffffffff168152602001876bffffffffffffffffffffffff168152602001868152602001600073ffffffffffffffffffffffffffffffffffffffff1681526020018573ffffffffffffffffffffffffffffffffffffffff16815250905080600080856bffffffffffffffffffffffff166bffffffffffffffffffffffff16815260200190815260200160002060008201518160000160006101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff160217905550602082015181600001600c6101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff1602179055506040820151816001015560608201518160020160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060808201518160030160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555090505050509392505050565b6000603c905090565b6040518060200160405280600081525081565b6000600260008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff1673__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__6352694ee890916040518263ffffffff1660e01b81526004016107a49190611ae9565b602060405180830381865af41580156107c1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107e59190611b30565b610824576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161081b90611ba9565b60405180910390fd5b60008290508073ffffffffffffffffffffffffffffffffffffffff166379e829d06040518163ffffffff1660e01b8152600401602060405180830381865afa158015610874573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108989190611b30565b6108d7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108ce90611c15565b60405180910390fd5b6108df611410565b8173ffffffffffffffffffffffffffffffffffffffff166315dae03e6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561092a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061094e9190611a11565b14610bfd5760008060008373ffffffffffffffffffffffffffffffffffffffff166331b62a3b6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156109a3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109c79190611c4a565b6bffffffffffffffffffffffff166bffffffffffffffffffffffff1681526020019081526020016000206040518060a00160405290816000820160009054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff16815260200160008201600c9054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff168152602001600182015481526020016002820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016003820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681525050905080600001516bffffffffffffffffffffffff1673__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__6330b8415f90916040518263ffffffff1660e01b8152600401610b7b9190611ae9565b602060405180830381865af4158015610b98573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bbc9190611b30565b610bfb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bf290611cc3565b60405180910390fd5b505b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663d0def5218373ffffffffffffffffffffffffffffffffffffffff1663fb2cb1016040518163ffffffff1660e01b8152600401602060405180830381865afa158015610c88573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cac9190611cf8565b604051806020016040528060008152506040518363ffffffff1660e01b8152600401610cd9929190611aaa565b6020604051808303816000875af1158015610cf8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d1c9190611a11565b9050610d27816115af565b925060006040518060a00160405280856bffffffffffffffffffffffff1681526020018473ffffffffffffffffffffffffffffffffffffffff166331b62a3b6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610d95573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610db99190611c4a565b6bffffffffffffffffffffffff1681526020018473ffffffffffffffffffffffffffffffffffffffff166315dae03e6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610e17573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e3b9190611a11565b81526020018673ffffffffffffffffffffffffffffffffffffffff1681526020018473ffffffffffffffffffffffffffffffffffffffff1663fb2cb1016040518163ffffffff1660e01b8152600401602060405180830381865afa158015610ea7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ecb9190611cf8565b73ffffffffffffffffffffffffffffffffffffffff16815250905080600080866bffffffffffffffffffffffff166bffffffffffffffffffffffff16815260200190815260200160002060008201518160000160006101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff160217905550602082015181600001600c6101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff1602179055506040820151816001015560608201518160020160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060808201518160030160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555090505083600260008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff160217905550505050919050565b61109c6115b9565b600080836bffffffffffffffffffffffff166bffffffffffffffffffffffff1681526020019081526020016000206040518060a00160405290816000820160009054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff16815260200160008201600c9054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff168152602001600182015481526020016002820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016003820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815250509050919050565b6000605a905090565b60006046905090565b6000601e905090565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6000600260008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff1673__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__6330b8415f90916040518263ffffffff1660e01b81526004016112f39190611ae9565b602060405180830381865af4158015611310573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113349190611b30565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff16600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146113cc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113c390611d97565b60405180910390fd5b80600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60006028905090565b6000600260008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a90046bffffffffffffffffffffffff169050919050565b60006050905090565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16636352211e836bffffffffffffffffffffffff1673__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__6308dc895e90916040518263ffffffff1660e01b815260040161150a9190611ae9565b602060405180830381865af4158015611527573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061154b9190611de3565b6040518263ffffffff1660e01b81526004016115679190611e41565b602060405180830381865afa158015611584573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115a89190611cf8565b9050919050565b6000819050919050565b6040518060a0016040528060006bffffffffffffffffffffffff16815260200160006bffffffffffffffffffffffff16815260200160008152602001600073ffffffffffffffffffffffffffffffffffffffff168152602001600073ffffffffffffffffffffffffffffffffffffffff1681525090565b6000819050919050565b61164381611630565b82525050565b600060208201905061165e600083018461163a565b92915050565b600080fd5b60006bffffffffffffffffffffffff82169050919050565b61168a81611669565b811461169557600080fd5b50565b6000813590506116a781611681565b92915050565b6116b681611630565b81146116c157600080fd5b50565b6000813590506116d3816116ad565b92915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000611704826116d9565b9050919050565b611714816116f9565b811461171f57600080fd5b50565b6000813590506117318161170b565b92915050565b6000806000606084860312156117505761174f611664565b5b600061175e86828701611698565b935050602061176f868287016116c4565b925050604061178086828701611722565b9150509250925092565b6000819050919050565b60006117af6117aa6117a584611669565b61178a565b611669565b9050919050565b6117bf81611794565b82525050565b60006020820190506117da60008301846117b6565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561181a5780820151818401526020810190506117ff565b60008484015250505050565b6000601f19601f8301169050919050565b6000611842826117e0565b61184c81856117eb565b935061185c8185602086016117fc565b61186581611826565b840191505092915050565b6000602082019050818103600083015261188a8184611837565b905092915050565b6000602082840312156118a8576118a7611664565b5b60006118b684828501611722565b91505092915050565b6000602082840312156118d5576118d4611664565b5b60006118e384828501611698565b91505092915050565b6118f581611794565b82525050565b61190481611630565b82525050565b611913816116f9565b82525050565b60a08201600082015161192f60008501826118ec565b50602082015161194260208501826118ec565b50604082015161195560408501826118fb565b506060820151611968606085018261190a565b50608082015161197b608085018261190a565b50505050565b600060a0820190506119966000830184611919565b92915050565b6119a5816116f9565b82525050565b60006020820190506119c0600083018461199c565b92915050565b60008115159050919050565b6119db816119c6565b82525050565b60006020820190506119f660008301846119d2565b92915050565b600081519050611a0b816116ad565b92915050565b600060208284031215611a2757611a26611664565b5b6000611a35848285016119fc565b91505092915050565b7f4552524f523a5245472d3030353a545950455f494e56414c4944000000000000600082015250565b6000611a74601a836117eb565b9150611a7f82611a3e565b602082019050919050565b60006020820190508181036000830152611aa381611a67565b9050919050565b6000604082019050611abf600083018561199c565b8181036020830152611ad18184611837565b90509392505050565b611ae381611794565b82525050565b6000602082019050611afe6000830184611ada565b92915050565b611b0d816119c6565b8114611b1857600080fd5b50565b600081519050611b2a81611b04565b92915050565b600060208284031215611b4657611b45611664565b5b6000611b5484828501611b1b565b91505092915050565b7f4552524f523a5245472d3030323a414c52454144595f52454749535445524544600082015250565b6000611b936020836117eb565b9150611b9e82611b5d565b602082019050919050565b60006020820190508181036000830152611bc281611b86565b9050919050565b7f4552524f523a5245472d3030333a4e4f545f524547495354455241424c450000600082015250565b6000611bff601e836117eb565b9150611c0a82611bc9565b602082019050919050565b60006020820190508181036000830152611c2e81611bf2565b9050919050565b600081519050611c4481611681565b92915050565b600060208284031215611c6057611c5f611664565b5b6000611c6e84828501611c35565b91505092915050565b7f4552524f523a5245472d3030343a504152454e545f4e4f545f464f554e440000600082015250565b6000611cad601e836117eb565b9150611cb882611c77565b602082019050919050565b60006020820190508181036000830152611cdc81611ca0565b9050919050565b600081519050611cf28161170b565b92915050565b600060208284031215611d0e57611d0d611664565b5b6000611d1c84828501611ce3565b91505092915050565b7f4552524f523a5245472d3030313a414c52454144595f494e495449414c495a4560008201527f4400000000000000000000000000000000000000000000000000000000000000602082015250565b6000611d816021836117eb565b9150611d8c82611d25565b604082019050919050565b60006020820190508181036000830152611db081611d74565b9050919050565b611dc081611669565b8114611dcb57600080fd5b50565b600081519050611ddd81611db7565b92915050565b600060208284031215611df957611df8611664565b5b6000611e0784828501611dce565b91505092915050565b6000611e2b611e26611e2184611669565b61178a565b611630565b9050919050565b611e3b81611e10565b82525050565b6000602082019050611e566000830184611e32565b9291505056fea2646970667358221220fee9d9bf8bf0766cf8a048f91bea4d0e0f0d4756a9457230d54d3f35f3d81f1e64736f6c63430008140033",
|
303
|
+
"linkReferences": {
|
304
|
+
"contracts/types/NftId.sol": {
|
305
|
+
"NftIdLib": [
|
268
306
|
{
|
269
|
-
"
|
270
|
-
"
|
271
|
-
"type": "uint256"
|
307
|
+
"length": 20,
|
308
|
+
"start": 1934
|
272
309
|
},
|
273
310
|
{
|
274
|
-
"
|
275
|
-
"
|
276
|
-
|
311
|
+
"length": 20,
|
312
|
+
"start": 2917
|
313
|
+
},
|
314
|
+
{
|
315
|
+
"length": 20,
|
316
|
+
"start": 4829
|
317
|
+
},
|
318
|
+
{
|
319
|
+
"length": 20,
|
320
|
+
"start": 5364
|
277
321
|
}
|
278
|
-
]
|
279
|
-
"name": "transfer",
|
280
|
-
"outputs": [],
|
281
|
-
"stateMutability": "nonpayable",
|
282
|
-
"type": "function"
|
322
|
+
]
|
283
323
|
}
|
284
|
-
|
285
|
-
"bytecode": "0x608060405234801561001057600080fd5b506000600481905550611596806100286000396000f3fe608060405234801561001057600080fd5b50600436106100f55760003560e01c806382bfefc811610097578063c41a360a11610066578063c41a360a1461028a578063d15db8b4146102ba578063d272ac1e146102d8578063dadbccee14610308576100f5565b806382bfefc8146101f0578063ab10b8ec1461020e578063b7760c8f1461023e578063c3c5a5471461025a576100f5565b806338013f02116100d357806338013f02146101665780634420e4861461018457806353bed7c3146101b45780637535d246146101d2576100f5565b80631a3cd59a146100fa5780631a848cfb1461012a57806325425a9114610148575b600080fd5b610114600480360381019061010f9190610f69565b610326565b604051610121919061104e565b60405180910390f35b61013261041c565b60405161013f9190611078565b60405180910390f35b610150610429565b60405161015d9190611078565b60405180910390f35b61016e610432565b60405161017b9190611078565b60405180910390f35b61019e600480360381019061019991906110bf565b61043b565b6040516101ab9190611078565b60405180910390f35b6101bc610ab6565b6040516101c99190611078565b60405180910390f35b6101da610abf565b6040516101e79190611078565b60405180910390f35b6101f8610ac8565b6040516102059190611078565b60405180910390f35b610228600480360381019061022391906110ec565b610ad1565b6040516102359190611078565b60405180910390f35b6102586004803603810190610253919061113f565b610c5a565b005b610274600480360381019061026f91906110bf565b610d51565b604051610281919061119a565b60405180910390f35b6102a4600480360381019061029f9190610f69565b610d9c565b6040516102b191906111c4565b60405180910390f35b6102c2610dd9565b6040516102cf9190611078565b60405180910390f35b6102f260048036038101906102ed91906110bf565b610de2565b6040516102ff9190611078565b60405180910390f35b610310610e2b565b60405161031d9190611078565b60405180910390f35b61032e610ed3565b6000808381526020019081526020016000206040518060a00160405290816000820154815260200160018201548152602001600282015481526020016003820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016004820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815250509050919050565b6000600380549050905090565b60006032905090565b6000603c905090565b600080600260008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054146104be576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016104b59061123c565b60405180910390fd5b60008290508073ffffffffffffffffffffffffffffffffffffffff166379e829d06040518163ffffffff1660e01b8152600401602060405180830381865afa15801561050e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105329190611288565b610571576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161056890611301565b60405180910390fd5b610579610dd9565b8173ffffffffffffffffffffffffffffffffffffffff166315dae03e6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156105c4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105e89190611336565b1461078f5760008060008373ffffffffffffffffffffffffffffffffffffffff166331b62a3b6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561063d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106619190611336565b81526020019081526020016000206040518060a00160405290816000820154815260200160018201548152602001600282015481526020016003820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016004820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815250509050600081600001511161078d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610784906113af565b60405180910390fd5b505b6108068173ffffffffffffffffffffffffffffffffffffffff1663fb2cb1016040518163ffffffff1660e01b8152600401602060405180830381865afa1580156107dd573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061080191906113e4565b610e34565b915060006040518060a001604052808481526020018373ffffffffffffffffffffffffffffffffffffffff166331b62a3b6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610866573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061088a9190611336565b81526020018373ffffffffffffffffffffffffffffffffffffffff166315dae03e6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156108da573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108fe9190611336565b81526020018573ffffffffffffffffffffffffffffffffffffffff1681526020018373ffffffffffffffffffffffffffffffffffffffff1663fb2cb1016040518163ffffffff1660e01b8152600401602060405180830381865afa15801561096a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061098e91906113e4565b73ffffffffffffffffffffffffffffffffffffffff1681525090508060008085815260200190815260200160002060008201518160000155602082015181600101556040820151816002015560608201518160030160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060808201518160040160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555090505082600260008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505050919050565b6000605a905090565b60006046905090565b6000601e905090565b6000610adb610e2b565b831480610aee5750610aeb610ab6565b83145b610b2d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b249061145d565b60405180910390fd5b610b3682610e34565b905060006040518060a00160405280838152602001868152602001858152602001600073ffffffffffffffffffffffffffffffffffffffff1681526020018473ffffffffffffffffffffffffffffffffffffffff1681525090508060008084815260200190815260200160002060008201518160000155602082015181600101556040820151816002015560608201518160030160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060808201518160040160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550905050509392505050565b6001600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610cfb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cf2906114c9565b60405180910390fd5b806001600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505050565b600080600260008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054119050919050565b60006001600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60006028905090565b6000600260008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b60006050905090565b600060046000815480929190610e4990611518565b91905055506004549050816001600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506003819080600181540180825580915050600190039060005260206000200160009091909190915055919050565b6040518060a00160405280600081526020016000815260200160008152602001600073ffffffffffffffffffffffffffffffffffffffff168152602001600073ffffffffffffffffffffffffffffffffffffffff1681525090565b600080fd5b6000819050919050565b610f4681610f33565b8114610f5157600080fd5b50565b600081359050610f6381610f3d565b92915050565b600060208284031215610f7f57610f7e610f2e565b5b6000610f8d84828501610f54565b91505092915050565b610f9f81610f33565b82525050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000610fd082610fa5565b9050919050565b610fe081610fc5565b82525050565b60a082016000820151610ffc6000850182610f96565b50602082015161100f6020850182610f96565b5060408201516110226040850182610f96565b5060608201516110356060850182610fd7565b5060808201516110486080850182610fd7565b50505050565b600060a0820190506110636000830184610fe6565b92915050565b61107281610f33565b82525050565b600060208201905061108d6000830184611069565b92915050565b61109c81610fc5565b81146110a757600080fd5b50565b6000813590506110b981611093565b92915050565b6000602082840312156110d5576110d4610f2e565b5b60006110e3848285016110aa565b91505092915050565b60008060006060848603121561110557611104610f2e565b5b600061111386828701610f54565b935050602061112486828701610f54565b9250506040611135868287016110aa565b9150509250925092565b6000806040838503121561115657611155610f2e565b5b600061116485828601610f54565b9250506020611175858286016110aa565b9150509250929050565b60008115159050919050565b6111948161117f565b82525050565b60006020820190506111af600083018461118b565b92915050565b6111be81610fc5565b82525050565b60006020820190506111d960008301846111b5565b92915050565b600082825260208201905092915050565b7f4552524f523a5245472d3030313a414c52454144595f52454749535445524544600082015250565b60006112266020836111df565b9150611231826111f0565b602082019050919050565b6000602082019050818103600083015261125581611219565b9050919050565b6112658161117f565b811461127057600080fd5b50565b6000815190506112828161125c565b92915050565b60006020828403121561129e5761129d610f2e565b5b60006112ac84828501611273565b91505092915050565b7f4552524f523a5245472d3030323a4e4f545f524547495354455241424c450000600082015250565b60006112eb601e836111df565b91506112f6826112b5565b602082019050919050565b6000602082019050818103600083015261131a816112de565b9050919050565b60008151905061133081610f3d565b92915050565b60006020828403121561134c5761134b610f2e565b5b600061135a84828501611321565b91505092915050565b7f4552524f523a5245472d3030333a504152454e545f4e4f545f464f554e440000600082015250565b6000611399601e836111df565b91506113a482611363565b602082019050919050565b600060208201905081810360008301526113c88161138c565b9050919050565b6000815190506113de81611093565b92915050565b6000602082840312156113fa576113f9610f2e565b5b6000611408848285016113cf565b91505092915050565b7f4552524f523a5245472d3030353a545950455f494e56414c4944000000000000600082015250565b6000611447601a836111df565b915061145282611411565b602082019050919050565b600060208201905081810360008301526114768161143a565b9050919050565b7f4552524f523a5245472d3031303a4e4f545f4f574e4552000000000000000000600082015250565b60006114b36017836111df565b91506114be8261147d565b602082019050919050565b600060208201905081810360008301526114e2816114a6565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061152382610f33565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203611555576115546114e9565b5b60018201905091905056fea26469706673582212203fde97cde480e7aab92fcfa885a1fe75694f7308dda0d145a1b0f71b6a14c3c664736f6c63430008140033",
|
286
|
-
"deployedBytecode": "0x608060405234801561001057600080fd5b50600436106100f55760003560e01c806382bfefc811610097578063c41a360a11610066578063c41a360a1461028a578063d15db8b4146102ba578063d272ac1e146102d8578063dadbccee14610308576100f5565b806382bfefc8146101f0578063ab10b8ec1461020e578063b7760c8f1461023e578063c3c5a5471461025a576100f5565b806338013f02116100d357806338013f02146101665780634420e4861461018457806353bed7c3146101b45780637535d246146101d2576100f5565b80631a3cd59a146100fa5780631a848cfb1461012a57806325425a9114610148575b600080fd5b610114600480360381019061010f9190610f69565b610326565b604051610121919061104e565b60405180910390f35b61013261041c565b60405161013f9190611078565b60405180910390f35b610150610429565b60405161015d9190611078565b60405180910390f35b61016e610432565b60405161017b9190611078565b60405180910390f35b61019e600480360381019061019991906110bf565b61043b565b6040516101ab9190611078565b60405180910390f35b6101bc610ab6565b6040516101c99190611078565b60405180910390f35b6101da610abf565b6040516101e79190611078565b60405180910390f35b6101f8610ac8565b6040516102059190611078565b60405180910390f35b610228600480360381019061022391906110ec565b610ad1565b6040516102359190611078565b60405180910390f35b6102586004803603810190610253919061113f565b610c5a565b005b610274600480360381019061026f91906110bf565b610d51565b604051610281919061119a565b60405180910390f35b6102a4600480360381019061029f9190610f69565b610d9c565b6040516102b191906111c4565b60405180910390f35b6102c2610dd9565b6040516102cf9190611078565b60405180910390f35b6102f260048036038101906102ed91906110bf565b610de2565b6040516102ff9190611078565b60405180910390f35b610310610e2b565b60405161031d9190611078565b60405180910390f35b61032e610ed3565b6000808381526020019081526020016000206040518060a00160405290816000820154815260200160018201548152602001600282015481526020016003820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016004820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815250509050919050565b6000600380549050905090565b60006032905090565b6000603c905090565b600080600260008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054146104be576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016104b59061123c565b60405180910390fd5b60008290508073ffffffffffffffffffffffffffffffffffffffff166379e829d06040518163ffffffff1660e01b8152600401602060405180830381865afa15801561050e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105329190611288565b610571576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161056890611301565b60405180910390fd5b610579610dd9565b8173ffffffffffffffffffffffffffffffffffffffff166315dae03e6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156105c4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105e89190611336565b1461078f5760008060008373ffffffffffffffffffffffffffffffffffffffff166331b62a3b6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561063d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106619190611336565b81526020019081526020016000206040518060a00160405290816000820154815260200160018201548152602001600282015481526020016003820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016004820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815250509050600081600001511161078d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610784906113af565b60405180910390fd5b505b6108068173ffffffffffffffffffffffffffffffffffffffff1663fb2cb1016040518163ffffffff1660e01b8152600401602060405180830381865afa1580156107dd573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061080191906113e4565b610e34565b915060006040518060a001604052808481526020018373ffffffffffffffffffffffffffffffffffffffff166331b62a3b6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610866573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061088a9190611336565b81526020018373ffffffffffffffffffffffffffffffffffffffff166315dae03e6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156108da573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108fe9190611336565b81526020018573ffffffffffffffffffffffffffffffffffffffff1681526020018373ffffffffffffffffffffffffffffffffffffffff1663fb2cb1016040518163ffffffff1660e01b8152600401602060405180830381865afa15801561096a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061098e91906113e4565b73ffffffffffffffffffffffffffffffffffffffff1681525090508060008085815260200190815260200160002060008201518160000155602082015181600101556040820151816002015560608201518160030160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060808201518160040160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555090505082600260008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505050919050565b6000605a905090565b60006046905090565b6000601e905090565b6000610adb610e2b565b831480610aee5750610aeb610ab6565b83145b610b2d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b249061145d565b60405180910390fd5b610b3682610e34565b905060006040518060a00160405280838152602001868152602001858152602001600073ffffffffffffffffffffffffffffffffffffffff1681526020018473ffffffffffffffffffffffffffffffffffffffff1681525090508060008084815260200190815260200160002060008201518160000155602082015181600101556040820151816002015560608201518160030160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060808201518160040160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550905050509392505050565b6001600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610cfb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cf2906114c9565b60405180910390fd5b806001600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505050565b600080600260008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054119050919050565b60006001600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60006028905090565b6000600260008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b60006050905090565b600060046000815480929190610e4990611518565b91905055506004549050816001600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506003819080600181540180825580915050600190039060005260206000200160009091909190915055919050565b6040518060a00160405280600081526020016000815260200160008152602001600073ffffffffffffffffffffffffffffffffffffffff168152602001600073ffffffffffffffffffffffffffffffffffffffff1681525090565b600080fd5b6000819050919050565b610f4681610f33565b8114610f5157600080fd5b50565b600081359050610f6381610f3d565b92915050565b600060208284031215610f7f57610f7e610f2e565b5b6000610f8d84828501610f54565b91505092915050565b610f9f81610f33565b82525050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000610fd082610fa5565b9050919050565b610fe081610fc5565b82525050565b60a082016000820151610ffc6000850182610f96565b50602082015161100f6020850182610f96565b5060408201516110226040850182610f96565b5060608201516110356060850182610fd7565b5060808201516110486080850182610fd7565b50505050565b600060a0820190506110636000830184610fe6565b92915050565b61107281610f33565b82525050565b600060208201905061108d6000830184611069565b92915050565b61109c81610fc5565b81146110a757600080fd5b50565b6000813590506110b981611093565b92915050565b6000602082840312156110d5576110d4610f2e565b5b60006110e3848285016110aa565b91505092915050565b60008060006060848603121561110557611104610f2e565b5b600061111386828701610f54565b935050602061112486828701610f54565b9250506040611135868287016110aa565b9150509250925092565b6000806040838503121561115657611155610f2e565b5b600061116485828601610f54565b9250506020611175858286016110aa565b9150509250929050565b60008115159050919050565b6111948161117f565b82525050565b60006020820190506111af600083018461118b565b92915050565b6111be81610fc5565b82525050565b60006020820190506111d960008301846111b5565b92915050565b600082825260208201905092915050565b7f4552524f523a5245472d3030313a414c52454144595f52454749535445524544600082015250565b60006112266020836111df565b9150611231826111f0565b602082019050919050565b6000602082019050818103600083015261125581611219565b9050919050565b6112658161117f565b811461127057600080fd5b50565b6000815190506112828161125c565b92915050565b60006020828403121561129e5761129d610f2e565b5b60006112ac84828501611273565b91505092915050565b7f4552524f523a5245472d3030323a4e4f545f524547495354455241424c450000600082015250565b60006112eb601e836111df565b91506112f6826112b5565b602082019050919050565b6000602082019050818103600083015261131a816112de565b9050919050565b60008151905061133081610f3d565b92915050565b60006020828403121561134c5761134b610f2e565b5b600061135a84828501611321565b91505092915050565b7f4552524f523a5245472d3030333a504152454e545f4e4f545f464f554e440000600082015250565b6000611399601e836111df565b91506113a482611363565b602082019050919050565b600060208201905081810360008301526113c88161138c565b9050919050565b6000815190506113de81611093565b92915050565b6000602082840312156113fa576113f9610f2e565b5b6000611408848285016113cf565b91505092915050565b7f4552524f523a5245472d3030353a545950455f494e56414c4944000000000000600082015250565b6000611447601a836111df565b915061145282611411565b602082019050919050565b600060208201905081810360008301526114768161143a565b9050919050565b7f4552524f523a5245472d3031303a4e4f545f4f574e4552000000000000000000600082015250565b60006114b36017836111df565b91506114be8261147d565b602082019050919050565b600060208201905081810360008301526114e2816114a6565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061152382610f33565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203611555576115546114e9565b5b60018201905091905056fea26469706673582212203fde97cde480e7aab92fcfa885a1fe75694f7308dda0d145a1b0f71b6a14c3c664736f6c63430008140033",
|
287
|
-
|
288
|
-
|
324
|
+
},
|
325
|
+
"deployedLinkReferences": {
|
326
|
+
"contracts/types/NftId.sol": {
|
327
|
+
"NftIdLib": [
|
328
|
+
{
|
329
|
+
"length": 20,
|
330
|
+
"start": 1902
|
331
|
+
},
|
332
|
+
{
|
333
|
+
"length": 20,
|
334
|
+
"start": 2885
|
335
|
+
},
|
336
|
+
{
|
337
|
+
"length": 20,
|
338
|
+
"start": 4797
|
339
|
+
},
|
340
|
+
{
|
341
|
+
"length": 20,
|
342
|
+
"start": 5332
|
343
|
+
}
|
344
|
+
]
|
345
|
+
}
|
346
|
+
}
|
289
347
|
}
|
@@ -53,8 +53,8 @@
|
|
53
53
|
"type": "function"
|
54
54
|
}
|
55
55
|
],
|
56
|
-
"bytecode": "
|
57
|
-
"deployedBytecode": "
|
56
|
+
"bytecode": "0x608060405234801561001057600080fd5b50604051610249380380610249833981810160405281019061003291906100db565b806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050610108565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006100a88261007d565b9050919050565b6100b88161009d565b81146100c357600080fd5b50565b6000815190506100d5816100af565b92915050565b6000602082840312156100f1576100f0610078565b5b60006100ff848285016100c6565b91505092915050565b610132806101176000396000f3fe6080604052348015600f57600080fd5b506004361060285760003560e01c80635ab1bd5314602d575b600080fd5b60336047565b604051603e919060e3565b60405180910390f35b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060af60ab60a7846070565b6090565b6070565b9050919050565b600060bf82609a565b9050919050565b600060cf8260b6565b9050919050565b60dd8160c6565b82525050565b600060208201905060f6600083018460d6565b9291505056fea264697066735822122071031cb271175e549b5ce93237ebba65e947b90aaefaecd39126a1764a793e3f64736f6c63430008140033",
|
57
|
+
"deployedBytecode": "0x6080604052348015600f57600080fd5b506004361060285760003560e01c80635ab1bd5314602d575b600080fd5b60336047565b604051603e919060e3565b60405180910390f35b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060af60ab60a7846070565b6090565b6070565b9050919050565b600060bf82609a565b9050919050565b600060cf8260b6565b9050919050565b60dd8160c6565b82525050565b600060208201905060f6600083018460d6565b9291505056fea264697066735822122071031cb271175e549b5ce93237ebba65e947b90aaefaecd39126a1764a793e3f64736f6c63430008140033",
|
58
58
|
"linkReferences": {},
|
59
59
|
"deployedLinkReferences": {}
|
60
60
|
}
|
@@ -0,0 +1,10 @@
|
|
1
|
+
{
|
2
|
+
"_format": "hh-sol-artifact-1",
|
3
|
+
"contractName": "ChainIdLib",
|
4
|
+
"sourceName": "contracts/types/ChainId.sol",
|
5
|
+
"abi": [],
|
6
|
+
"bytecode": "0x60566050600b82828239805160001a6073146043577f4e487b7100000000000000000000000000000000000000000000000000000000600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea264697066735822122076cc60318fc0255a7b6925fb9d5bc310666c3cec99a370c6a26a2d461530f3d864736f6c63430008140033",
|
7
|
+
"deployedBytecode": "0x73000000000000000000000000000000000000000030146080604052600080fdfea264697066735822122076cc60318fc0255a7b6925fb9d5bc310666c3cec99a370c6a26a2d461530f3d864736f6c63430008140033",
|
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": "0x6102e2610053600b82828239805160001a607314610046577f4e487b7100000000000000000000000000000000000000000000000000000000600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600436106100565760003560e01c806308dc895e1461005b57806330b8415f1461008b57806352694ee8146100bb578063c4cade9d146100eb575b600080fd5b610075600480360381019061007091906101df565b61011b565b604051610082919061021b565b60405180910390f35b6100a560048036038101906100a091906101df565b610125565b6040516100b29190610251565b60405180910390f35b6100d560048036038101906100d091906101df565b61013f565b6040516100e29190610251565b60405180910390f35b6101056004803603810190610100919061026c565b610159565b6040516101129190610251565b60405180910390f35b6000819050919050565b600080826bffffffffffffffffffffffff16119050919050565b600080826bffffffffffffffffffffffff16149050919050565b6000610165838361016d565b905092915050565b6000816bffffffffffffffffffffffff16836bffffffffffffffffffffffff1614905092915050565b600080fd5b60006bffffffffffffffffffffffff82169050919050565b6101bc8161019b565b81146101c757600080fd5b50565b6000813590506101d9816101b3565b92915050565b6000602082840312156101f5576101f4610196565b5b6000610203848285016101ca565b91505092915050565b6102158161019b565b82525050565b6000602082019050610230600083018461020c565b92915050565b60008115159050919050565b61024b81610236565b82525050565b60006020820190506102666000830184610242565b92915050565b6000806040838503121561028357610282610196565b5b6000610291858286016101ca565b92505060206102a2858286016101ca565b915050925092905056fea264697066735822122055c506374fbe6d33aafb031778f35f7d28d6e6f8afcfb93598673c7f2a4e119a64736f6c63430008140033",
|
89
|
+
"deployedBytecode": "0x73000000000000000000000000000000000000000030146080604052600436106100565760003560e01c806308dc895e1461005b57806330b8415f1461008b57806352694ee8146100bb578063c4cade9d146100eb575b600080fd5b610075600480360381019061007091906101df565b61011b565b604051610082919061021b565b60405180910390f35b6100a560048036038101906100a091906101df565b610125565b6040516100b29190610251565b60405180910390f35b6100d560048036038101906100d091906101df565b61013f565b6040516100e29190610251565b60405180910390f35b6101056004803603810190610100919061026c565b610159565b6040516101129190610251565b60405180910390f35b6000819050919050565b600080826bffffffffffffffffffffffff16119050919050565b600080826bffffffffffffffffffffffff16149050919050565b6000610165838361016d565b905092915050565b6000816bffffffffffffffffffffffff16836bffffffffffffffffffffffff1614905092915050565b600080fd5b60006bffffffffffffffffffffffff82169050919050565b6101bc8161019b565b81146101c757600080fd5b50565b6000813590506101d9816101b3565b92915050565b6000602082840312156101f5576101f4610196565b5b6000610203848285016101ca565b91505092915050565b6102158161019b565b82525050565b6000602082019050610230600083018461020c565b92915050565b60008115159050919050565b61024b81610236565b82525050565b60006020820190506102666000830184610242565b92915050565b6000806040838503121561028357610282610196565b5b6000610291858286016101ca565b92505060206102a2858286016101ca565b915050925092905056fea264697066735822122055c506374fbe6d33aafb031778f35f7d28d6e6f8afcfb93598673c7f2a4e119a64736f6c63430008140033",
|
90
|
+
"linkReferences": {},
|
91
|
+
"deployedLinkReferences": {}
|
92
|
+
}
|
@@ -6,7 +6,7 @@ import {Registerable} from "../registry/Registry.sol";
|
|
6
6
|
import {IInstance} from "../instance/IInstance.sol";
|
7
7
|
|
8
8
|
import {IInstanceLinked, IComponent, IComponentContract, IComponentModule, IComponentOwnerService} from "../instance/component/IComponent.sol";
|
9
|
-
|
9
|
+
import {NftId} from "../types/NftId.sol";
|
10
10
|
|
11
11
|
contract InstanceLinked is
|
12
12
|
IInstanceLinked
|
@@ -45,7 +45,7 @@ abstract contract Component is
|
|
45
45
|
function register()
|
46
46
|
public
|
47
47
|
override
|
48
|
-
returns(
|
48
|
+
returns(NftId componentId)
|
49
49
|
{
|
50
50
|
require(msg.sender == getInitialOwner(), "");
|
51
51
|
require(address(_registry) != address(0), "ERROR:PRD-001:REGISTRY_ZERO");
|
@@ -56,7 +56,7 @@ abstract contract Component is
|
|
56
56
|
}
|
57
57
|
|
58
58
|
// from registerable
|
59
|
-
function getParentNftId() public view override returns(
|
59
|
+
function getParentNftId() public view override returns(NftId) {
|
60
60
|
return getInstance().getNftId();
|
61
61
|
}
|
62
62
|
}
|
@@ -2,10 +2,11 @@
|
|
2
2
|
pragma solidity ^0.8.19;
|
3
3
|
|
4
4
|
import {IComponentContract} from "../instance/component/IComponent.sol";
|
5
|
+
import {NftId} from "../types/NftId.sol";
|
5
6
|
|
6
7
|
interface IProductComponent is
|
7
8
|
IComponentContract
|
8
9
|
{
|
9
10
|
|
10
|
-
function getPoolNftId() external view returns(
|
11
|
+
function getPoolNftId() external view returns(NftId poolNftId);
|
11
12
|
}
|
@@ -4,6 +4,7 @@ pragma solidity ^0.8.19;
|
|
4
4
|
import {IProductService} from "../instance/product/IProductService.sol";
|
5
5
|
import {Component} from "./Component.sol";
|
6
6
|
import {IProductComponent} from "./IProduct.sol";
|
7
|
+
import {NftId} from "../types/NftId.sol";
|
7
8
|
|
8
9
|
|
9
10
|
contract Product is
|
@@ -29,10 +30,10 @@ contract Product is
|
|
29
30
|
uint256 sumInsuredAmount,
|
30
31
|
uint256 premiumAmount,
|
31
32
|
uint256 lifetime,
|
32
|
-
|
33
|
+
NftId bundleNftId
|
33
34
|
)
|
34
35
|
internal
|
35
|
-
returns(
|
36
|
+
returns(NftId nftId)
|
36
37
|
{
|
37
38
|
nftId = _productService.createApplication(
|
38
39
|
applicationOwner,
|
@@ -43,13 +44,13 @@ contract Product is
|
|
43
44
|
);
|
44
45
|
}
|
45
46
|
|
46
|
-
function _underwrite(
|
47
|
+
function _underwrite(NftId nftId)
|
47
48
|
internal
|
48
49
|
{
|
49
50
|
_productService.underwrite(nftId);
|
50
51
|
}
|
51
52
|
|
52
|
-
function getPoolNftId() external view override returns(
|
53
|
+
function getPoolNftId() external view override returns(NftId poolNftId) {
|
53
54
|
return _registry.getNftId(_pool);
|
54
55
|
}
|
55
56
|
|
@@ -0,0 +1,33 @@
|
|
1
|
+
// SPDX-License-Identifier: Apache-2.0
|
2
|
+
pragma solidity ^0.8.19;
|
3
|
+
|
4
|
+
contract Require {
|
5
|
+
|
6
|
+
error AsmallerThanB_S();
|
7
|
+
error AsmallerThanB_M(uint a);
|
8
|
+
error AsmallerThanB_L(uint a, uint b);
|
9
|
+
|
10
|
+
uint256 private _b;
|
11
|
+
|
12
|
+
constructor() {
|
13
|
+
_b = 42;
|
14
|
+
}
|
15
|
+
|
16
|
+
function isAlargerThanBRequire_S(uint a) external view returns(bool isLarger) {
|
17
|
+
require(a > _b, "ERROR:ABC-001");
|
18
|
+
|
19
|
+
return true;
|
20
|
+
}
|
21
|
+
|
22
|
+
function isAlargerThanBRequire_M(uint a) external view returns(bool isLarger) {
|
23
|
+
require(a > _b, "ERROR:ABC-002:A_IS_SMALLER");
|
24
|
+
|
25
|
+
return true;
|
26
|
+
}
|
27
|
+
|
28
|
+
function isAlargerThanBRequire_L(uint a) external view returns(bool isLarger) {
|
29
|
+
require(a > _b, "ERROR:ABC-003:A_IS_SMALLER_THAN_B");
|
30
|
+
|
31
|
+
return true;
|
32
|
+
}
|
33
|
+
}
|
@@ -0,0 +1,39 @@
|
|
1
|
+
// SPDX-License-Identifier: Apache-2.0
|
2
|
+
pragma solidity ^0.8.19;
|
3
|
+
|
4
|
+
contract Revert {
|
5
|
+
|
6
|
+
error AsmallerThanB_S();
|
7
|
+
error AsmallerThanB_M(uint a);
|
8
|
+
error AsmallerThanB_L(uint a, uint b);
|
9
|
+
|
10
|
+
uint256 private _b;
|
11
|
+
|
12
|
+
constructor() {
|
13
|
+
_b = 42;
|
14
|
+
}
|
15
|
+
|
16
|
+
function isAlargerThanBRevert_S(uint a) external view returns(bool isLarger) {
|
17
|
+
if(a <= _b) {
|
18
|
+
revert AsmallerThanB_S();
|
19
|
+
}
|
20
|
+
|
21
|
+
return true;
|
22
|
+
}
|
23
|
+
|
24
|
+
function isAlargerThanBRevert_M(uint a) external view returns(bool isLarger) {
|
25
|
+
if(a <= _b) {
|
26
|
+
revert AsmallerThanB_M(a);
|
27
|
+
}
|
28
|
+
|
29
|
+
return true;
|
30
|
+
}
|
31
|
+
|
32
|
+
function isAlargerThanBRevert_L(uint a) external view returns(bool isLarger) {
|
33
|
+
if(a <= _b) {
|
34
|
+
revert AsmallerThanB_L(a, _b);
|
35
|
+
}
|
36
|
+
|
37
|
+
return true;
|
38
|
+
}
|
39
|
+
}
|