@etherisc/gif-next 0.0.2-f9905e1 → 0.0.2-f99f1d2-109
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +33 -0
- package/artifacts/contracts/components/Component.sol/Component.dbg.json +1 -1
- package/artifacts/contracts/components/Component.sol/Component.json +35 -9
- 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 +84 -8
- package/artifacts/contracts/components/IProduct.sol/IProductComponent.dbg.json +1 -1
- package/artifacts/contracts/components/IProduct.sol/IProductComponent.json +34 -152
- package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +1 -1
- package/artifacts/contracts/components/Pool.sol/Pool.json +146 -13
- package/artifacts/contracts/components/Product.sol/Product.dbg.json +1 -1
- package/artifacts/contracts/components/Product.sol/Product.json +148 -15
- 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 +1 -1
- package/artifacts/contracts/experiment/inheritance/A.sol/A.json +2 -2
- package/artifacts/contracts/experiment/inheritance/A.sol/AShared.dbg.json +1 -1
- package/artifacts/contracts/experiment/inheritance/A.sol/AShared.json +2 -2
- package/artifacts/contracts/experiment/inheritance/B.sol/B.dbg.json +1 -1
- package/artifacts/contracts/experiment/inheritance/C.sol/C.dbg.json +1 -1
- package/artifacts/contracts/experiment/inheritance/IA.sol/IA.dbg.json +1 -1
- package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.dbg.json +1 -1
- package/artifacts/contracts/experiment/inheritance/IB.sol/IB.dbg.json +1 -1
- package/artifacts/contracts/experiment/inheritance/IC.sol/IC.dbg.json +1 -1
- package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.dbg.json +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 +1 -1
- package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.json +2 -2
- package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.dbg.json +1 -1
- package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.json +2 -2
- package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
- package/artifacts/contracts/instance/IInstance.sol/IInstance.json +714 -127
- package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
- package/artifacts/contracts/instance/Instance.sol/Instance.json +845 -129
- 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 +31 -59
- package/artifacts/contracts/instance/component/ComponentModule.sol/ComponentOwnerService.dbg.json +1 -1
- package/artifacts/contracts/instance/component/ComponentModule.sol/ComponentOwnerService.json +103 -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 +34 -8
- package/artifacts/contracts/instance/component/IComponent.sol/IComponentModule.dbg.json +1 -1
- package/artifacts/contracts/instance/component/IComponent.sol/IComponentModule.json +31 -59
- package/artifacts/contracts/instance/component/IComponent.sol/IComponentOwnerService.dbg.json +1 -1
- package/artifacts/contracts/instance/component/IComponent.sol/IComponentOwnerService.json +50 -3
- package/artifacts/contracts/instance/component/IComponent.sol/IInstanceLinked.dbg.json +1 -1
- 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 +1 -1
- package/artifacts/contracts/instance/policy/IPolicy.sol/IPolicyModule.dbg.json +1 -1
- package/artifacts/contracts/instance/policy/IPolicy.sol/IPolicyModule.json +44 -21
- package/artifacts/contracts/instance/policy/PolicyModule.sol/PolicyModule.dbg.json +1 -1
- package/artifacts/contracts/instance/policy/PolicyModule.sol/PolicyModule.json +44 -21
- 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 +23 -43
- package/artifacts/contracts/instance/pool/PoolModule.sol/PoolModule.dbg.json +1 -1
- package/artifacts/contracts/instance/pool/PoolModule.sol/PoolModule.json +28 -35
- 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 +21 -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 +85 -14
- 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/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 +8 -8
- package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
- package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +45 -128
- 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 +9 -9
- package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
- package/artifacts/contracts/registry/Registry.sol/Registry.json +95 -128
- 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/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 +1 -1
- package/artifacts/contracts/types/ChainId.sol/ChainIdLib.json +2 -2
- 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 +453 -0
- package/contracts/components/Component.sol +39 -24
- package/contracts/components/IPool.sol +9 -3
- package/contracts/components/IProduct.sol +11 -6
- package/contracts/components/Pool.sol +37 -14
- package/contracts/components/Product.sol +48 -24
- package/contracts/experiment/errors/Require.sol +38 -0
- package/contracts/experiment/errors/Revert.sol +44 -0
- package/contracts/experiment/inheritance/A.sol +8 -11
- package/contracts/experiment/inheritance/B.sol +10 -5
- package/contracts/experiment/inheritance/C.sol +11 -5
- package/contracts/experiment/inheritance/IA.sol +2 -7
- package/contracts/experiment/inheritance/IB.sol +3 -2
- package/contracts/experiment/inheritance/IC.sol +4 -3
- 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 +14 -9
- package/contracts/experiment/types/TypeB.sol +14 -9
- package/contracts/instance/IInstance.sol +9 -4
- package/contracts/instance/Instance.sol +24 -15
- package/contracts/instance/access/Access.sol +63 -116
- package/contracts/instance/access/IAccess.sol +28 -48
- package/contracts/instance/component/ComponentModule.sol +162 -147
- package/contracts/instance/component/IComponent.sol +41 -61
- package/contracts/instance/lifecycle/ILifecycle.sol +47 -0
- package/contracts/instance/lifecycle/LifecycleModule.sol +88 -0
- package/contracts/instance/policy/IPolicy.sol +19 -35
- package/contracts/instance/policy/PolicyModule.sol +52 -44
- package/contracts/instance/pool/IPoolModule.sol +9 -26
- package/contracts/instance/pool/PoolModule.sol +43 -45
- package/contracts/instance/product/IProductService.sol +10 -19
- package/contracts/instance/product/ProductService.sol +86 -55
- 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/registry/ChainNft.sol +135 -0
- package/contracts/registry/IChainNft.sol +21 -0
- package/contracts/registry/IRegistry.sol +41 -40
- package/contracts/registry/Registry.sol +82 -97
- package/contracts/types/Blocknumber.sol +118 -0
- package/contracts/types/ChainId.sol +24 -10
- 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 +206 -0
- package/package.json +13 -5
@@ -0,0 +1,452 @@
|
|
1
|
+
{
|
2
|
+
"_format": "hh-sol-artifact-1",
|
3
|
+
"contractName": "IChainNft",
|
4
|
+
"sourceName": "contracts/registry/IChainNft.sol",
|
5
|
+
"abi": [
|
6
|
+
{
|
7
|
+
"anonymous": false,
|
8
|
+
"inputs": [
|
9
|
+
{
|
10
|
+
"indexed": true,
|
11
|
+
"internalType": "address",
|
12
|
+
"name": "owner",
|
13
|
+
"type": "address"
|
14
|
+
},
|
15
|
+
{
|
16
|
+
"indexed": true,
|
17
|
+
"internalType": "address",
|
18
|
+
"name": "approved",
|
19
|
+
"type": "address"
|
20
|
+
},
|
21
|
+
{
|
22
|
+
"indexed": true,
|
23
|
+
"internalType": "uint256",
|
24
|
+
"name": "tokenId",
|
25
|
+
"type": "uint256"
|
26
|
+
}
|
27
|
+
],
|
28
|
+
"name": "Approval",
|
29
|
+
"type": "event"
|
30
|
+
},
|
31
|
+
{
|
32
|
+
"anonymous": false,
|
33
|
+
"inputs": [
|
34
|
+
{
|
35
|
+
"indexed": true,
|
36
|
+
"internalType": "address",
|
37
|
+
"name": "owner",
|
38
|
+
"type": "address"
|
39
|
+
},
|
40
|
+
{
|
41
|
+
"indexed": true,
|
42
|
+
"internalType": "address",
|
43
|
+
"name": "operator",
|
44
|
+
"type": "address"
|
45
|
+
},
|
46
|
+
{
|
47
|
+
"indexed": false,
|
48
|
+
"internalType": "bool",
|
49
|
+
"name": "approved",
|
50
|
+
"type": "bool"
|
51
|
+
}
|
52
|
+
],
|
53
|
+
"name": "ApprovalForAll",
|
54
|
+
"type": "event"
|
55
|
+
},
|
56
|
+
{
|
57
|
+
"anonymous": false,
|
58
|
+
"inputs": [
|
59
|
+
{
|
60
|
+
"indexed": true,
|
61
|
+
"internalType": "address",
|
62
|
+
"name": "from",
|
63
|
+
"type": "address"
|
64
|
+
},
|
65
|
+
{
|
66
|
+
"indexed": true,
|
67
|
+
"internalType": "address",
|
68
|
+
"name": "to",
|
69
|
+
"type": "address"
|
70
|
+
},
|
71
|
+
{
|
72
|
+
"indexed": true,
|
73
|
+
"internalType": "uint256",
|
74
|
+
"name": "tokenId",
|
75
|
+
"type": "uint256"
|
76
|
+
}
|
77
|
+
],
|
78
|
+
"name": "Transfer",
|
79
|
+
"type": "event"
|
80
|
+
},
|
81
|
+
{
|
82
|
+
"inputs": [
|
83
|
+
{
|
84
|
+
"internalType": "address",
|
85
|
+
"name": "to",
|
86
|
+
"type": "address"
|
87
|
+
},
|
88
|
+
{
|
89
|
+
"internalType": "uint256",
|
90
|
+
"name": "tokenId",
|
91
|
+
"type": "uint256"
|
92
|
+
}
|
93
|
+
],
|
94
|
+
"name": "approve",
|
95
|
+
"outputs": [],
|
96
|
+
"stateMutability": "nonpayable",
|
97
|
+
"type": "function"
|
98
|
+
},
|
99
|
+
{
|
100
|
+
"inputs": [
|
101
|
+
{
|
102
|
+
"internalType": "address",
|
103
|
+
"name": "owner",
|
104
|
+
"type": "address"
|
105
|
+
}
|
106
|
+
],
|
107
|
+
"name": "balanceOf",
|
108
|
+
"outputs": [
|
109
|
+
{
|
110
|
+
"internalType": "uint256",
|
111
|
+
"name": "balance",
|
112
|
+
"type": "uint256"
|
113
|
+
}
|
114
|
+
],
|
115
|
+
"stateMutability": "view",
|
116
|
+
"type": "function"
|
117
|
+
},
|
118
|
+
{
|
119
|
+
"inputs": [
|
120
|
+
{
|
121
|
+
"internalType": "uint256",
|
122
|
+
"name": "tokenId",
|
123
|
+
"type": "uint256"
|
124
|
+
}
|
125
|
+
],
|
126
|
+
"name": "burn",
|
127
|
+
"outputs": [],
|
128
|
+
"stateMutability": "nonpayable",
|
129
|
+
"type": "function"
|
130
|
+
},
|
131
|
+
{
|
132
|
+
"inputs": [
|
133
|
+
{
|
134
|
+
"internalType": "uint256",
|
135
|
+
"name": "tokenId",
|
136
|
+
"type": "uint256"
|
137
|
+
}
|
138
|
+
],
|
139
|
+
"name": "exists",
|
140
|
+
"outputs": [
|
141
|
+
{
|
142
|
+
"internalType": "bool",
|
143
|
+
"name": "",
|
144
|
+
"type": "bool"
|
145
|
+
}
|
146
|
+
],
|
147
|
+
"stateMutability": "view",
|
148
|
+
"type": "function"
|
149
|
+
},
|
150
|
+
{
|
151
|
+
"inputs": [
|
152
|
+
{
|
153
|
+
"internalType": "uint256",
|
154
|
+
"name": "tokenId",
|
155
|
+
"type": "uint256"
|
156
|
+
}
|
157
|
+
],
|
158
|
+
"name": "getApproved",
|
159
|
+
"outputs": [
|
160
|
+
{
|
161
|
+
"internalType": "address",
|
162
|
+
"name": "operator",
|
163
|
+
"type": "address"
|
164
|
+
}
|
165
|
+
],
|
166
|
+
"stateMutability": "view",
|
167
|
+
"type": "function"
|
168
|
+
},
|
169
|
+
{
|
170
|
+
"inputs": [],
|
171
|
+
"name": "getRegistryAddress",
|
172
|
+
"outputs": [
|
173
|
+
{
|
174
|
+
"internalType": "address",
|
175
|
+
"name": "registry",
|
176
|
+
"type": "address"
|
177
|
+
}
|
178
|
+
],
|
179
|
+
"stateMutability": "view",
|
180
|
+
"type": "function"
|
181
|
+
},
|
182
|
+
{
|
183
|
+
"inputs": [
|
184
|
+
{
|
185
|
+
"internalType": "address",
|
186
|
+
"name": "owner",
|
187
|
+
"type": "address"
|
188
|
+
},
|
189
|
+
{
|
190
|
+
"internalType": "address",
|
191
|
+
"name": "operator",
|
192
|
+
"type": "address"
|
193
|
+
}
|
194
|
+
],
|
195
|
+
"name": "isApprovedForAll",
|
196
|
+
"outputs": [
|
197
|
+
{
|
198
|
+
"internalType": "bool",
|
199
|
+
"name": "",
|
200
|
+
"type": "bool"
|
201
|
+
}
|
202
|
+
],
|
203
|
+
"stateMutability": "view",
|
204
|
+
"type": "function"
|
205
|
+
},
|
206
|
+
{
|
207
|
+
"inputs": [
|
208
|
+
{
|
209
|
+
"internalType": "address",
|
210
|
+
"name": "to",
|
211
|
+
"type": "address"
|
212
|
+
},
|
213
|
+
{
|
214
|
+
"internalType": "string",
|
215
|
+
"name": "uri",
|
216
|
+
"type": "string"
|
217
|
+
}
|
218
|
+
],
|
219
|
+
"name": "mint",
|
220
|
+
"outputs": [
|
221
|
+
{
|
222
|
+
"internalType": "uint256",
|
223
|
+
"name": "tokenId",
|
224
|
+
"type": "uint256"
|
225
|
+
}
|
226
|
+
],
|
227
|
+
"stateMutability": "nonpayable",
|
228
|
+
"type": "function"
|
229
|
+
},
|
230
|
+
{
|
231
|
+
"inputs": [
|
232
|
+
{
|
233
|
+
"internalType": "uint256",
|
234
|
+
"name": "tokenId",
|
235
|
+
"type": "uint256"
|
236
|
+
}
|
237
|
+
],
|
238
|
+
"name": "ownerOf",
|
239
|
+
"outputs": [
|
240
|
+
{
|
241
|
+
"internalType": "address",
|
242
|
+
"name": "owner",
|
243
|
+
"type": "address"
|
244
|
+
}
|
245
|
+
],
|
246
|
+
"stateMutability": "view",
|
247
|
+
"type": "function"
|
248
|
+
},
|
249
|
+
{
|
250
|
+
"inputs": [
|
251
|
+
{
|
252
|
+
"internalType": "address",
|
253
|
+
"name": "from",
|
254
|
+
"type": "address"
|
255
|
+
},
|
256
|
+
{
|
257
|
+
"internalType": "address",
|
258
|
+
"name": "to",
|
259
|
+
"type": "address"
|
260
|
+
},
|
261
|
+
{
|
262
|
+
"internalType": "uint256",
|
263
|
+
"name": "tokenId",
|
264
|
+
"type": "uint256"
|
265
|
+
}
|
266
|
+
],
|
267
|
+
"name": "safeTransferFrom",
|
268
|
+
"outputs": [],
|
269
|
+
"stateMutability": "nonpayable",
|
270
|
+
"type": "function"
|
271
|
+
},
|
272
|
+
{
|
273
|
+
"inputs": [
|
274
|
+
{
|
275
|
+
"internalType": "address",
|
276
|
+
"name": "from",
|
277
|
+
"type": "address"
|
278
|
+
},
|
279
|
+
{
|
280
|
+
"internalType": "address",
|
281
|
+
"name": "to",
|
282
|
+
"type": "address"
|
283
|
+
},
|
284
|
+
{
|
285
|
+
"internalType": "uint256",
|
286
|
+
"name": "tokenId",
|
287
|
+
"type": "uint256"
|
288
|
+
},
|
289
|
+
{
|
290
|
+
"internalType": "bytes",
|
291
|
+
"name": "data",
|
292
|
+
"type": "bytes"
|
293
|
+
}
|
294
|
+
],
|
295
|
+
"name": "safeTransferFrom",
|
296
|
+
"outputs": [],
|
297
|
+
"stateMutability": "nonpayable",
|
298
|
+
"type": "function"
|
299
|
+
},
|
300
|
+
{
|
301
|
+
"inputs": [
|
302
|
+
{
|
303
|
+
"internalType": "address",
|
304
|
+
"name": "operator",
|
305
|
+
"type": "address"
|
306
|
+
},
|
307
|
+
{
|
308
|
+
"internalType": "bool",
|
309
|
+
"name": "approved",
|
310
|
+
"type": "bool"
|
311
|
+
}
|
312
|
+
],
|
313
|
+
"name": "setApprovalForAll",
|
314
|
+
"outputs": [],
|
315
|
+
"stateMutability": "nonpayable",
|
316
|
+
"type": "function"
|
317
|
+
},
|
318
|
+
{
|
319
|
+
"inputs": [
|
320
|
+
{
|
321
|
+
"internalType": "uint256",
|
322
|
+
"name": "tokenId",
|
323
|
+
"type": "uint256"
|
324
|
+
},
|
325
|
+
{
|
326
|
+
"internalType": "string",
|
327
|
+
"name": "uri",
|
328
|
+
"type": "string"
|
329
|
+
}
|
330
|
+
],
|
331
|
+
"name": "setURI",
|
332
|
+
"outputs": [],
|
333
|
+
"stateMutability": "nonpayable",
|
334
|
+
"type": "function"
|
335
|
+
},
|
336
|
+
{
|
337
|
+
"inputs": [
|
338
|
+
{
|
339
|
+
"internalType": "bytes4",
|
340
|
+
"name": "interfaceId",
|
341
|
+
"type": "bytes4"
|
342
|
+
}
|
343
|
+
],
|
344
|
+
"name": "supportsInterface",
|
345
|
+
"outputs": [
|
346
|
+
{
|
347
|
+
"internalType": "bool",
|
348
|
+
"name": "",
|
349
|
+
"type": "bool"
|
350
|
+
}
|
351
|
+
],
|
352
|
+
"stateMutability": "view",
|
353
|
+
"type": "function"
|
354
|
+
},
|
355
|
+
{
|
356
|
+
"inputs": [
|
357
|
+
{
|
358
|
+
"internalType": "uint256",
|
359
|
+
"name": "index",
|
360
|
+
"type": "uint256"
|
361
|
+
}
|
362
|
+
],
|
363
|
+
"name": "tokenByIndex",
|
364
|
+
"outputs": [
|
365
|
+
{
|
366
|
+
"internalType": "uint256",
|
367
|
+
"name": "",
|
368
|
+
"type": "uint256"
|
369
|
+
}
|
370
|
+
],
|
371
|
+
"stateMutability": "view",
|
372
|
+
"type": "function"
|
373
|
+
},
|
374
|
+
{
|
375
|
+
"inputs": [
|
376
|
+
{
|
377
|
+
"internalType": "address",
|
378
|
+
"name": "owner",
|
379
|
+
"type": "address"
|
380
|
+
},
|
381
|
+
{
|
382
|
+
"internalType": "uint256",
|
383
|
+
"name": "index",
|
384
|
+
"type": "uint256"
|
385
|
+
}
|
386
|
+
],
|
387
|
+
"name": "tokenOfOwnerByIndex",
|
388
|
+
"outputs": [
|
389
|
+
{
|
390
|
+
"internalType": "uint256",
|
391
|
+
"name": "",
|
392
|
+
"type": "uint256"
|
393
|
+
}
|
394
|
+
],
|
395
|
+
"stateMutability": "view",
|
396
|
+
"type": "function"
|
397
|
+
},
|
398
|
+
{
|
399
|
+
"inputs": [],
|
400
|
+
"name": "totalMinted",
|
401
|
+
"outputs": [
|
402
|
+
{
|
403
|
+
"internalType": "uint256",
|
404
|
+
"name": "",
|
405
|
+
"type": "uint256"
|
406
|
+
}
|
407
|
+
],
|
408
|
+
"stateMutability": "view",
|
409
|
+
"type": "function"
|
410
|
+
},
|
411
|
+
{
|
412
|
+
"inputs": [],
|
413
|
+
"name": "totalSupply",
|
414
|
+
"outputs": [
|
415
|
+
{
|
416
|
+
"internalType": "uint256",
|
417
|
+
"name": "",
|
418
|
+
"type": "uint256"
|
419
|
+
}
|
420
|
+
],
|
421
|
+
"stateMutability": "view",
|
422
|
+
"type": "function"
|
423
|
+
},
|
424
|
+
{
|
425
|
+
"inputs": [
|
426
|
+
{
|
427
|
+
"internalType": "address",
|
428
|
+
"name": "from",
|
429
|
+
"type": "address"
|
430
|
+
},
|
431
|
+
{
|
432
|
+
"internalType": "address",
|
433
|
+
"name": "to",
|
434
|
+
"type": "address"
|
435
|
+
},
|
436
|
+
{
|
437
|
+
"internalType": "uint256",
|
438
|
+
"name": "tokenId",
|
439
|
+
"type": "uint256"
|
440
|
+
}
|
441
|
+
],
|
442
|
+
"name": "transferFrom",
|
443
|
+
"outputs": [],
|
444
|
+
"stateMutability": "nonpayable",
|
445
|
+
"type": "function"
|
446
|
+
}
|
447
|
+
],
|
448
|
+
"bytecode": "0x",
|
449
|
+
"deployedBytecode": "0x",
|
450
|
+
"linkReferences": {},
|
451
|
+
"deployedLinkReferences": {}
|
452
|
+
}
|
@@ -59,9 +59,9 @@
|
|
59
59
|
"name": "getNftId",
|
60
60
|
"outputs": [
|
61
61
|
{
|
62
|
-
"internalType": "
|
62
|
+
"internalType": "NftId",
|
63
63
|
"name": "nftId",
|
64
|
-
"type": "
|
64
|
+
"type": "uint96"
|
65
65
|
}
|
66
66
|
],
|
67
67
|
"stateMutability": "view",
|
@@ -85,9 +85,9 @@
|
|
85
85
|
"name": "getParentNftId",
|
86
86
|
"outputs": [
|
87
87
|
{
|
88
|
-
"internalType": "
|
88
|
+
"internalType": "NftId",
|
89
89
|
"name": "parentNftId",
|
90
|
-
"type": "
|
90
|
+
"type": "uint96"
|
91
91
|
}
|
92
92
|
],
|
93
93
|
"stateMutability": "view",
|
@@ -111,9 +111,9 @@
|
|
111
111
|
"name": "getType",
|
112
112
|
"outputs": [
|
113
113
|
{
|
114
|
-
"internalType": "
|
114
|
+
"internalType": "ObjectType",
|
115
115
|
"name": "objectType",
|
116
|
-
"type": "
|
116
|
+
"type": "uint8"
|
117
117
|
}
|
118
118
|
],
|
119
119
|
"stateMutability": "view",
|
@@ -150,9 +150,9 @@
|
|
150
150
|
"name": "register",
|
151
151
|
"outputs": [
|
152
152
|
{
|
153
|
-
"internalType": "
|
153
|
+
"internalType": "NftId",
|
154
154
|
"name": "nftId",
|
155
|
-
"type": "
|
155
|
+
"type": "uint96"
|
156
156
|
}
|
157
157
|
],
|
158
158
|
"stateMutability": "nonpayable",
|