@etherisc/gif-next 0.0.2-ebbe63d → 0.0.2-f824182-503
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +120 -1
- package/artifacts/contracts/components/Component.sol/Component.dbg.json +4 -0
- package/artifacts/contracts/components/Component.sol/Component.json +205 -0
- package/artifacts/contracts/components/Component.sol/InstanceLinked.dbg.json +4 -0
- package/artifacts/contracts/components/Component.sol/InstanceLinked.json +35 -0
- package/artifacts/contracts/components/IPool.sol/IPoolComponent.dbg.json +4 -0
- package/artifacts/contracts/components/IPool.sol/IPoolComponent.json +255 -0
- package/artifacts/contracts/components/IProduct.sol/IProductComponent.dbg.json +4 -0
- package/artifacts/contracts/components/IProduct.sol/IProductComponent.json +74 -0
- package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +4 -0
- package/artifacts/contracts/components/Pool.sol/Pool.json +328 -0
- package/artifacts/contracts/components/Product.sol/Product.dbg.json +4 -0
- package/artifacts/contracts/components/Product.sol/Product.json +346 -0
- package/artifacts/contracts/experiment/errors/Require.sol/Require.dbg.json +4 -0
- package/artifacts/contracts/experiment/errors/Require.sol/Require.json +105 -0
- package/artifacts/contracts/experiment/errors/Revert.sol/Revert.dbg.json +4 -0
- package/artifacts/contracts/experiment/errors/Revert.sol/Revert.json +105 -0
- package/artifacts/contracts/experiment/inheritance/A.sol/A.dbg.json +4 -0
- package/artifacts/contracts/experiment/inheritance/A.sol/A.json +128 -0
- package/artifacts/contracts/experiment/inheritance/A.sol/AShared.dbg.json +4 -0
- package/artifacts/contracts/experiment/inheritance/A.sol/AShared.json +42 -0
- package/artifacts/contracts/experiment/inheritance/B.sol/B.dbg.json +4 -0
- package/artifacts/contracts/experiment/inheritance/B.sol/B.json +76 -0
- package/artifacts/contracts/experiment/inheritance/C.sol/C.dbg.json +4 -0
- package/artifacts/contracts/experiment/inheritance/C.sol/C.json +89 -0
- package/artifacts/contracts/experiment/inheritance/IA.sol/IA.dbg.json +4 -0
- package/artifacts/contracts/experiment/inheritance/IA.sol/IA.json +128 -0
- package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.dbg.json +4 -0
- package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.json +37 -0
- package/artifacts/contracts/experiment/inheritance/IB.sol/IB.dbg.json +4 -0
- package/artifacts/contracts/experiment/inheritance/IB.sol/IB.json +50 -0
- package/artifacts/contracts/experiment/inheritance/IC.sol/IC.dbg.json +4 -0
- package/artifacts/contracts/experiment/inheritance/IC.sol/IC.json +63 -0
- package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.dbg.json +4 -0
- package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.json +59 -0
- package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.dbg.json +4 -0
- package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.json +124 -0
- package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.dbg.json +4 -0
- package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.json +74 -0
- package/artifacts/contracts/experiment/statemachine/SM.sol/SM.dbg.json +4 -0
- package/artifacts/contracts/experiment/statemachine/SM.sol/SM.json +124 -0
- package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.dbg.json +4 -0
- package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.json +207 -0
- package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.dbg.json +4 -0
- package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.json +10 -0
- package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.dbg.json +4 -0
- package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.json +10 -0
- package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +4 -0
- package/artifacts/contracts/instance/IInstance.sol/IInstance.json +1479 -0
- package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +4 -0
- package/artifacts/contracts/instance/Instance.sol/Instance.json +1725 -0
- package/artifacts/contracts/instance/access/Access.sol/AccessModule.dbg.json +4 -0
- package/artifacts/contracts/instance/access/Access.sol/AccessModule.json +400 -0
- package/artifacts/contracts/instance/access/IAccess.sol/IAccess.dbg.json +4 -0
- package/artifacts/contracts/instance/access/IAccess.sol/IAccess.json +10 -0
- package/artifacts/contracts/instance/access/IAccess.sol/IAccessCheckRole.dbg.json +4 -0
- package/artifacts/contracts/instance/access/IAccess.sol/IAccessCheckRole.json +35 -0
- package/artifacts/contracts/instance/access/IAccess.sol/IAccessComponentTypeRoles.dbg.json +4 -0
- package/artifacts/contracts/instance/access/IAccess.sol/IAccessComponentTypeRoles.json +50 -0
- package/artifacts/contracts/instance/access/IAccess.sol/IAccessModule.dbg.json +4 -0
- package/artifacts/contracts/instance/access/IAccess.sol/IAccessModule.json +336 -0
- package/artifacts/contracts/instance/component/ComponentModule.sol/ComponentModule.dbg.json +4 -0
- package/artifacts/contracts/instance/component/ComponentModule.sol/ComponentModule.json +299 -0
- package/artifacts/contracts/instance/component/ComponentModule.sol/ComponentOwnerService.dbg.json +4 -0
- package/artifacts/contracts/instance/component/ComponentModule.sol/ComponentOwnerService.json +202 -0
- package/artifacts/contracts/instance/component/IComponent.sol/IComponent.dbg.json +4 -0
- package/artifacts/contracts/instance/component/IComponent.sol/IComponent.json +10 -0
- package/artifacts/contracts/instance/component/IComponent.sol/IComponentContract.dbg.json +4 -0
- package/artifacts/contracts/instance/component/IComponent.sol/IComponentContract.json +205 -0
- package/artifacts/contracts/instance/component/IComponent.sol/IComponentModule.dbg.json +4 -0
- package/artifacts/contracts/instance/component/IComponent.sol/IComponentModule.json +217 -0
- package/artifacts/contracts/instance/component/IComponent.sol/IComponentOwnerService.dbg.json +4 -0
- package/artifacts/contracts/instance/component/IComponent.sol/IComponentOwnerService.json +141 -0
- package/artifacts/contracts/instance/component/IComponent.sol/IInstanceLinked.dbg.json +4 -0
- package/artifacts/contracts/instance/component/IComponent.sol/IInstanceLinked.json +24 -0
- package/artifacts/contracts/instance/lifecycle/ILifecycle.sol/ILifecycle.dbg.json +4 -0
- package/artifacts/contracts/instance/lifecycle/ILifecycle.sol/ILifecycle.json +134 -0
- package/artifacts/contracts/instance/lifecycle/ILifecycle.sol/ILifecycleModule.dbg.json +4 -0
- package/artifacts/contracts/instance/lifecycle/ILifecycle.sol/ILifecycleModule.json +182 -0
- package/artifacts/contracts/instance/lifecycle/LifecycleModule.sol/LifecycleModule.dbg.json +4 -0
- package/artifacts/contracts/instance/lifecycle/LifecycleModule.sol/LifecycleModule.json +221 -0
- package/artifacts/contracts/instance/policy/IPolicy.sol/IPolicy.dbg.json +4 -0
- package/artifacts/contracts/instance/policy/IPolicy.sol/IPolicy.json +10 -0
- package/artifacts/contracts/instance/policy/IPolicy.sol/IPolicyModule.dbg.json +4 -0
- package/artifacts/contracts/instance/policy/IPolicy.sol/IPolicyModule.json +254 -0
- package/artifacts/contracts/instance/policy/PolicyModule.sol/PolicyModule.dbg.json +4 -0
- package/artifacts/contracts/instance/policy/PolicyModule.sol/PolicyModule.json +254 -0
- package/artifacts/contracts/instance/pool/IPoolModule.sol/IPool.dbg.json +4 -0
- package/artifacts/contracts/instance/pool/IPoolModule.sol/IPool.json +10 -0
- package/artifacts/contracts/instance/pool/IPoolModule.sol/IPoolModule.dbg.json +4 -0
- package/artifacts/contracts/instance/pool/IPoolModule.sol/IPoolModule.json +129 -0
- package/artifacts/contracts/instance/pool/PoolModule.sol/PoolModule.dbg.json +4 -0
- package/artifacts/contracts/instance/pool/PoolModule.sol/PoolModule.json +155 -0
- package/artifacts/contracts/instance/product/IProductService.sol/IProductModule.dbg.json +4 -0
- package/artifacts/contracts/instance/product/IProductService.sol/IProductModule.json +75 -0
- package/artifacts/contracts/instance/product/IProductService.sol/IProductService.dbg.json +4 -0
- package/artifacts/contracts/instance/product/IProductService.sol/IProductService.json +127 -0
- package/artifacts/contracts/instance/product/ProductService.sol/ProductModule.dbg.json +4 -0
- package/artifacts/contracts/instance/product/ProductService.sol/ProductModule.json +75 -0
- package/artifacts/contracts/instance/product/ProductService.sol/ProductService.dbg.json +4 -0
- package/artifacts/contracts/instance/product/ProductService.sol/ProductService.json +196 -0
- package/artifacts/contracts/instance/treasury/ITreasury.sol/ITreasury.dbg.json +4 -0
- package/artifacts/contracts/instance/treasury/ITreasury.sol/ITreasury.json +10 -0
- package/artifacts/contracts/instance/treasury/ITreasury.sol/ITreasuryModule.dbg.json +4 -0
- package/artifacts/contracts/instance/treasury/ITreasury.sol/ITreasuryModule.json +490 -0
- package/artifacts/contracts/instance/treasury/TokenHandler.sol/TokenHandler.dbg.json +4 -0
- package/artifacts/contracts/instance/treasury/TokenHandler.sol/TokenHandler.json +45 -0
- package/artifacts/contracts/instance/treasury/TreasuryModule.sol/TreasuryModule.dbg.json +4 -0
- package/artifacts/contracts/instance/treasury/TreasuryModule.sol/TreasuryModule.json +490 -0
- package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +4 -0
- package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +534 -0
- package/artifacts/contracts/registry/IChainNft.sol/IChainNft.dbg.json +4 -0
- package/artifacts/contracts/registry/IChainNft.sol/IChainNft.json +452 -0
- package/artifacts/contracts/registry/IRegistry.sol/IOwnable.dbg.json +4 -0
- package/artifacts/contracts/registry/IRegistry.sol/IOwnable.json +24 -0
- package/artifacts/contracts/registry/IRegistry.sol/IRegisterable.dbg.json +4 -0
- package/artifacts/contracts/registry/IRegistry.sol/IRegisterable.json +166 -0
- package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +4 -0
- package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +188 -0
- package/artifacts/contracts/registry/IRegistry.sol/IRegistryLinked.dbg.json +4 -0
- package/artifacts/contracts/registry/IRegistry.sol/IRegistryLinked.json +49 -0
- package/artifacts/contracts/registry/Registry.sol/Registerable.dbg.json +4 -0
- package/artifacts/contracts/registry/Registry.sol/Registerable.json +166 -0
- package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +4 -0
- package/artifacts/contracts/registry/Registry.sol/Registry.json +256 -0
- package/artifacts/contracts/registry/Registry.sol/RegistryLinked.dbg.json +4 -0
- package/artifacts/contracts/registry/Registry.sol/RegistryLinked.json +60 -0
- package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +4 -0
- package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.json +174 -0
- package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +4 -0
- package/artifacts/contracts/types/ChainId.sol/ChainIdLib.json +10 -0
- package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +4 -0
- package/artifacts/contracts/types/NftId.sol/NftIdLib.json +92 -0
- package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +4 -0
- package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.json +92 -0
- package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +4 -0
- package/artifacts/contracts/types/StateId.sol/StateIdLib.json +92 -0
- package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +4 -0
- package/artifacts/contracts/types/Timestamp.sol/TimestampLib.json +174 -0
- package/artifacts/contracts/types/UFixed.sol/UFixedMathLib.dbg.json +4 -0
- package/artifacts/contracts/types/UFixed.sol/UFixedMathLib.json +453 -0
- package/contracts/components/Component.sol +77 -0
- package/contracts/components/IPool.sol +15 -0
- package/contracts/components/IProduct.sol +16 -0
- package/contracts/components/Pool.sol +52 -0
- package/contracts/components/Product.sol +89 -0
- package/contracts/experiment/errors/Require.sol +38 -0
- package/contracts/experiment/errors/Revert.sol +44 -0
- package/contracts/experiment/inheritance/A.sol +53 -0
- package/contracts/experiment/inheritance/B.sol +28 -0
- package/contracts/experiment/inheritance/C.sol +34 -0
- package/contracts/experiment/inheritance/IA.sol +13 -0
- package/contracts/experiment/inheritance/IB.sol +10 -0
- package/contracts/experiment/inheritance/IC.sol +12 -0
- package/contracts/experiment/statemachine/Dummy.sol +27 -0
- package/contracts/experiment/statemachine/ISM.sol +25 -0
- package/contracts/experiment/statemachine/README.md +112 -0
- package/contracts/experiment/statemachine/SM.sol +57 -0
- package/contracts/experiment/statemachine/SimpleStateMachine.sol +31 -0
- package/contracts/experiment/types/TypeA.sol +47 -0
- package/contracts/experiment/types/TypeB.sol +29 -0
- package/contracts/instance/IInstance.sol +25 -0
- package/contracts/instance/Instance.sol +72 -0
- package/contracts/instance/access/Access.sol +165 -0
- package/contracts/instance/access/IAccess.sol +63 -0
- package/contracts/instance/component/ComponentModule.sol +274 -0
- package/contracts/instance/component/IComponent.sol +74 -0
- package/contracts/instance/lifecycle/ILifecycle.sol +47 -0
- package/contracts/instance/lifecycle/LifecycleModule.sol +88 -0
- package/contracts/instance/policy/IPolicy.sol +50 -0
- package/contracts/instance/policy/PolicyModule.sol +114 -0
- package/contracts/instance/pool/IPoolModule.sol +23 -0
- package/contracts/instance/pool/PoolModule.sol +81 -0
- package/contracts/instance/product/IProductService.sol +36 -0
- package/contracts/instance/product/ProductService.sol +136 -0
- package/contracts/instance/treasury/ITreasury.sol +91 -0
- package/contracts/instance/treasury/TokenHandler.sol +24 -0
- package/contracts/instance/treasury/TreasuryModule.sol +168 -0
- package/contracts/registry/ChainNft.sol +135 -0
- package/contracts/registry/IChainNft.sol +21 -0
- package/contracts/registry/IRegistry.sol +67 -0
- package/contracts/registry/Registry.sol +182 -0
- package/contracts/types/Blocknumber.sol +118 -0
- package/contracts/types/ChainId.sol +38 -0
- package/contracts/types/Fee.sol +32 -0
- package/contracts/types/NftId.sol +51 -0
- package/contracts/types/ObjectType.sol +107 -0
- package/contracts/types/StateId.sol +91 -0
- package/contracts/types/Timestamp.sol +102 -0
- package/contracts/types/UFixed.sol +206 -0
- package/package.json +15 -8
- package/artifacts/contracts/Dip.sol/DIP.dbg.json +0 -4
- package/artifacts/contracts/Dip.sol/DIP.json +0 -338
- package/artifacts/contracts/Lock.sol/Lock.dbg.json +0 -4
- package/artifacts/contracts/Lock.sol/Lock.json +0 -74
- package/contracts/Dip.sol +0 -26
- package/contracts/Lock.sol +0 -34
@@ -0,0 +1,346 @@
|
|
1
|
+
{
|
2
|
+
"_format": "hh-sol-artifact-1",
|
3
|
+
"contractName": "Product",
|
4
|
+
"sourceName": "contracts/components/Product.sol",
|
5
|
+
"abi": [
|
6
|
+
{
|
7
|
+
"inputs": [
|
8
|
+
{
|
9
|
+
"internalType": "address",
|
10
|
+
"name": "registry",
|
11
|
+
"type": "address"
|
12
|
+
},
|
13
|
+
{
|
14
|
+
"internalType": "address",
|
15
|
+
"name": "instance",
|
16
|
+
"type": "address"
|
17
|
+
},
|
18
|
+
{
|
19
|
+
"internalType": "address",
|
20
|
+
"name": "token",
|
21
|
+
"type": "address"
|
22
|
+
},
|
23
|
+
{
|
24
|
+
"internalType": "address",
|
25
|
+
"name": "pool",
|
26
|
+
"type": "address"
|
27
|
+
},
|
28
|
+
{
|
29
|
+
"components": [
|
30
|
+
{
|
31
|
+
"internalType": "UFixed",
|
32
|
+
"name": "fractionalFee",
|
33
|
+
"type": "uint256"
|
34
|
+
},
|
35
|
+
{
|
36
|
+
"internalType": "uint256",
|
37
|
+
"name": "fixedFee",
|
38
|
+
"type": "uint256"
|
39
|
+
}
|
40
|
+
],
|
41
|
+
"internalType": "struct Fee",
|
42
|
+
"name": "policyFee",
|
43
|
+
"type": "tuple"
|
44
|
+
},
|
45
|
+
{
|
46
|
+
"components": [
|
47
|
+
{
|
48
|
+
"internalType": "UFixed",
|
49
|
+
"name": "fractionalFee",
|
50
|
+
"type": "uint256"
|
51
|
+
},
|
52
|
+
{
|
53
|
+
"internalType": "uint256",
|
54
|
+
"name": "fixedFee",
|
55
|
+
"type": "uint256"
|
56
|
+
}
|
57
|
+
],
|
58
|
+
"internalType": "struct Fee",
|
59
|
+
"name": "processingFee",
|
60
|
+
"type": "tuple"
|
61
|
+
}
|
62
|
+
],
|
63
|
+
"stateMutability": "nonpayable",
|
64
|
+
"type": "constructor"
|
65
|
+
},
|
66
|
+
{
|
67
|
+
"anonymous": false,
|
68
|
+
"inputs": [
|
69
|
+
{
|
70
|
+
"indexed": false,
|
71
|
+
"internalType": "uint256",
|
72
|
+
"name": "idx",
|
73
|
+
"type": "uint256"
|
74
|
+
},
|
75
|
+
{
|
76
|
+
"indexed": false,
|
77
|
+
"internalType": "address",
|
78
|
+
"name": "module",
|
79
|
+
"type": "address"
|
80
|
+
},
|
81
|
+
{
|
82
|
+
"indexed": false,
|
83
|
+
"internalType": "string",
|
84
|
+
"name": "comment",
|
85
|
+
"type": "string"
|
86
|
+
}
|
87
|
+
],
|
88
|
+
"name": "LogDebug",
|
89
|
+
"type": "event"
|
90
|
+
},
|
91
|
+
{
|
92
|
+
"inputs": [],
|
93
|
+
"name": "getData",
|
94
|
+
"outputs": [
|
95
|
+
{
|
96
|
+
"internalType": "bytes",
|
97
|
+
"name": "data",
|
98
|
+
"type": "bytes"
|
99
|
+
}
|
100
|
+
],
|
101
|
+
"stateMutability": "view",
|
102
|
+
"type": "function"
|
103
|
+
},
|
104
|
+
{
|
105
|
+
"inputs": [],
|
106
|
+
"name": "getInitialOwner",
|
107
|
+
"outputs": [
|
108
|
+
{
|
109
|
+
"internalType": "address",
|
110
|
+
"name": "deployer",
|
111
|
+
"type": "address"
|
112
|
+
}
|
113
|
+
],
|
114
|
+
"stateMutability": "view",
|
115
|
+
"type": "function"
|
116
|
+
},
|
117
|
+
{
|
118
|
+
"inputs": [],
|
119
|
+
"name": "getInstance",
|
120
|
+
"outputs": [
|
121
|
+
{
|
122
|
+
"internalType": "contract IInstance",
|
123
|
+
"name": "instance",
|
124
|
+
"type": "address"
|
125
|
+
}
|
126
|
+
],
|
127
|
+
"stateMutability": "view",
|
128
|
+
"type": "function"
|
129
|
+
},
|
130
|
+
{
|
131
|
+
"inputs": [],
|
132
|
+
"name": "getNftId",
|
133
|
+
"outputs": [
|
134
|
+
{
|
135
|
+
"internalType": "NftId",
|
136
|
+
"name": "nftId",
|
137
|
+
"type": "uint96"
|
138
|
+
}
|
139
|
+
],
|
140
|
+
"stateMutability": "view",
|
141
|
+
"type": "function"
|
142
|
+
},
|
143
|
+
{
|
144
|
+
"inputs": [],
|
145
|
+
"name": "getOwner",
|
146
|
+
"outputs": [
|
147
|
+
{
|
148
|
+
"internalType": "address",
|
149
|
+
"name": "owner",
|
150
|
+
"type": "address"
|
151
|
+
}
|
152
|
+
],
|
153
|
+
"stateMutability": "view",
|
154
|
+
"type": "function"
|
155
|
+
},
|
156
|
+
{
|
157
|
+
"inputs": [],
|
158
|
+
"name": "getParentNftId",
|
159
|
+
"outputs": [
|
160
|
+
{
|
161
|
+
"internalType": "NftId",
|
162
|
+
"name": "",
|
163
|
+
"type": "uint96"
|
164
|
+
}
|
165
|
+
],
|
166
|
+
"stateMutability": "view",
|
167
|
+
"type": "function"
|
168
|
+
},
|
169
|
+
{
|
170
|
+
"inputs": [],
|
171
|
+
"name": "getPolicyFee",
|
172
|
+
"outputs": [
|
173
|
+
{
|
174
|
+
"components": [
|
175
|
+
{
|
176
|
+
"internalType": "UFixed",
|
177
|
+
"name": "fractionalFee",
|
178
|
+
"type": "uint256"
|
179
|
+
},
|
180
|
+
{
|
181
|
+
"internalType": "uint256",
|
182
|
+
"name": "fixedFee",
|
183
|
+
"type": "uint256"
|
184
|
+
}
|
185
|
+
],
|
186
|
+
"internalType": "struct Fee",
|
187
|
+
"name": "policyFee",
|
188
|
+
"type": "tuple"
|
189
|
+
}
|
190
|
+
],
|
191
|
+
"stateMutability": "view",
|
192
|
+
"type": "function"
|
193
|
+
},
|
194
|
+
{
|
195
|
+
"inputs": [],
|
196
|
+
"name": "getPoolNftId",
|
197
|
+
"outputs": [
|
198
|
+
{
|
199
|
+
"internalType": "NftId",
|
200
|
+
"name": "poolNftId",
|
201
|
+
"type": "uint96"
|
202
|
+
}
|
203
|
+
],
|
204
|
+
"stateMutability": "view",
|
205
|
+
"type": "function"
|
206
|
+
},
|
207
|
+
{
|
208
|
+
"inputs": [],
|
209
|
+
"name": "getProcessingFee",
|
210
|
+
"outputs": [
|
211
|
+
{
|
212
|
+
"components": [
|
213
|
+
{
|
214
|
+
"internalType": "UFixed",
|
215
|
+
"name": "fractionalFee",
|
216
|
+
"type": "uint256"
|
217
|
+
},
|
218
|
+
{
|
219
|
+
"internalType": "uint256",
|
220
|
+
"name": "fixedFee",
|
221
|
+
"type": "uint256"
|
222
|
+
}
|
223
|
+
],
|
224
|
+
"internalType": "struct Fee",
|
225
|
+
"name": "processingFee",
|
226
|
+
"type": "tuple"
|
227
|
+
}
|
228
|
+
],
|
229
|
+
"stateMutability": "view",
|
230
|
+
"type": "function"
|
231
|
+
},
|
232
|
+
{
|
233
|
+
"inputs": [],
|
234
|
+
"name": "getRegistry",
|
235
|
+
"outputs": [
|
236
|
+
{
|
237
|
+
"internalType": "contract IRegistry",
|
238
|
+
"name": "registry",
|
239
|
+
"type": "address"
|
240
|
+
}
|
241
|
+
],
|
242
|
+
"stateMutability": "view",
|
243
|
+
"type": "function"
|
244
|
+
},
|
245
|
+
{
|
246
|
+
"inputs": [],
|
247
|
+
"name": "getToken",
|
248
|
+
"outputs": [
|
249
|
+
{
|
250
|
+
"internalType": "contract IERC20Metadata",
|
251
|
+
"name": "token",
|
252
|
+
"type": "address"
|
253
|
+
}
|
254
|
+
],
|
255
|
+
"stateMutability": "view",
|
256
|
+
"type": "function"
|
257
|
+
},
|
258
|
+
{
|
259
|
+
"inputs": [],
|
260
|
+
"name": "getType",
|
261
|
+
"outputs": [
|
262
|
+
{
|
263
|
+
"internalType": "ObjectType",
|
264
|
+
"name": "",
|
265
|
+
"type": "uint8"
|
266
|
+
}
|
267
|
+
],
|
268
|
+
"stateMutability": "pure",
|
269
|
+
"type": "function"
|
270
|
+
},
|
271
|
+
{
|
272
|
+
"inputs": [],
|
273
|
+
"name": "getWallet",
|
274
|
+
"outputs": [
|
275
|
+
{
|
276
|
+
"internalType": "address",
|
277
|
+
"name": "walletAddress",
|
278
|
+
"type": "address"
|
279
|
+
}
|
280
|
+
],
|
281
|
+
"stateMutability": "view",
|
282
|
+
"type": "function"
|
283
|
+
},
|
284
|
+
{
|
285
|
+
"inputs": [],
|
286
|
+
"name": "isRegisterable",
|
287
|
+
"outputs": [
|
288
|
+
{
|
289
|
+
"internalType": "bool",
|
290
|
+
"name": "",
|
291
|
+
"type": "bool"
|
292
|
+
}
|
293
|
+
],
|
294
|
+
"stateMutability": "pure",
|
295
|
+
"type": "function"
|
296
|
+
},
|
297
|
+
{
|
298
|
+
"inputs": [],
|
299
|
+
"name": "isRegistered",
|
300
|
+
"outputs": [
|
301
|
+
{
|
302
|
+
"internalType": "bool",
|
303
|
+
"name": "",
|
304
|
+
"type": "bool"
|
305
|
+
}
|
306
|
+
],
|
307
|
+
"stateMutability": "view",
|
308
|
+
"type": "function"
|
309
|
+
},
|
310
|
+
{
|
311
|
+
"inputs": [],
|
312
|
+
"name": "register",
|
313
|
+
"outputs": [
|
314
|
+
{
|
315
|
+
"internalType": "NftId",
|
316
|
+
"name": "componentId",
|
317
|
+
"type": "uint96"
|
318
|
+
}
|
319
|
+
],
|
320
|
+
"stateMutability": "nonpayable",
|
321
|
+
"type": "function"
|
322
|
+
}
|
323
|
+
],
|
324
|
+
"bytecode": "0x60806040523480156200001157600080fd5b5060405162001988380380620019888339818101604052810190620000379190620004af565b858585818380806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505033600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505080600260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505030600460006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550505050600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16634288121d6040518163ffffffff1660e01b8152600401602060405180830381865afa158015620001f5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200021b919062000591565b600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555082600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550816008600082015181600001556020820151816001015590505080600a6000820151816000015560208201518160010155905050505050505050620005c3565b6000604051905090565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006200031882620002eb565b9050919050565b6200032a816200030b565b81146200033657600080fd5b50565b6000815190506200034a816200031f565b92915050565b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b620003a08262000355565b810181811067ffffffffffffffff82111715620003c257620003c162000366565b5b80604052505050565b6000620003d7620002dc565b9050620003e5828262000395565b919050565b6000819050919050565b620003ff81620003ea565b81146200040b57600080fd5b50565b6000815190506200041f81620003f4565b92915050565b6200043081620003ea565b81146200043c57600080fd5b50565b600081519050620004508162000425565b92915050565b6000604082840312156200046f576200046e62000350565b5b6200047b6040620003cb565b905060006200048d848285016200040e565b6000830152506020620004a3848285016200043f565b60208301525092915050565b6000806000806000806101008789031215620004d057620004cf620002e6565b5b6000620004e089828a0162000339565b9650506020620004f389828a0162000339565b95505060406200050689828a0162000339565b94505060606200051989828a0162000339565b93505060806200052c89828a0162000456565b92505060c06200053f89828a0162000456565b9150509295509295509295565b600062000559826200030b565b9050919050565b6200056b816200054c565b81146200057757600080fd5b50565b6000815190506200058b8162000560565b92915050565b600060208284031215620005aa57620005a9620002e6565b5b6000620005ba848285016200057a565b91505092915050565b6113b580620005d36000396000f3fe608060405234801561001057600080fd5b50600436106101005760003560e01c80635ab1bd5311610097578063bc74aab011610066578063bc74aab01461026d578063daafed401461028b578063de7b5d14146102a9578063fb2cb101146102c757610100565b80635ab1bd53146101f5578063644c45e01461021357806379e829d014610231578063893d20e81461024f57610100565b806321df0da7116100d357806321df0da71461017d578063223668441461019b57806331b62a3b146101b95780633bc5de30146101d757610100565b8063132996041461010557806315dae03e146101235780631aa3a008146101415780631bdd6b761461015f575b600080fd5b61010d6102e5565b60405161011a9190610d03565b60405180910390f35b61012b61030f565b6040516101389190610d66565b60405180910390f35b61014961031e565b6040516101569190610dca565b60405180910390f35b610167610636565b6040516101749190610dca565b60405180910390f35b6101856106fa565b6040516101929190610e3a565b60405180910390f35b6101a3610724565b6040516101b09190610e70565b60405180910390f35b6101c1610851565b6040516101ce9190610dca565b60405180910390f35b6101df6108ce565b6040516101ec9190610f1b565b60405180910390f35b6101fd61096a565b60405161020a9190610f5e565b60405180910390f35b61021b610993565b6040516102289190610dca565b60405180910390f35b610239610a35565b6040516102469190610e70565b60405180910390f35b610257610a3e565b6040516102649190610d03565b60405180910390f35b610275610bdd565b6040516102829190610ff2565b60405180910390f35b610293610c0b565b6040516102a09190610ff2565b60405180910390f35b6102b1610c39565b6040516102be919061102e565b60405180910390f35b6102cf610c63565b6040516102dc9190610d03565b60405180910390f35b6000600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6000610319610c8d565b905090565b6000610328610c63565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610395576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161038c90611080565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1603610424576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161041b906110ec565b60405180910390fd5b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663c3c5a547600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166040518263ffffffff1660e01b815260040161049f9190610d03565b602060405180830381865afa1580156104bc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104e0919061113d565b61051f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610516906111dc565b60405180910390fd5b6000600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16636fa298536040518163ffffffff1660e01b8152600401602060405180830381865afa15801561058e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105b2919061123a565b90508073ffffffffffffffffffffffffffffffffffffffff16634420e486306040518263ffffffff1660e01b81526004016105ed9190611288565b6020604051808303816000875af115801561060c573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061063091906112cf565b91505090565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663d272ac1e600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166040518263ffffffff1660e01b81526004016106b49190610d03565b602060405180830381865afa1580156106d1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106f591906112cf565b905090565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60008060008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663d272ac1e306040518263ffffffff1660e01b81526004016107809190610d03565b602060405180830381865afa15801561079d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107c191906112cf565b9050806bffffffffffffffffffffffff1673__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__6330b8415f90916040518263ffffffff1660e01b815260040161080a919061130b565b602060405180830381865af4158015610827573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061084b919061113d565b91505090565b600061085b610c39565b73ffffffffffffffffffffffffffffffffffffffff1663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa1580156108a5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108c991906112cf565b905090565b60606108d8610c39565b73ffffffffffffffffffffffffffffffffffffffff1663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015610922573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061094691906112cf565b6040516020016109569190610dca565b604051602081830303815290604052905090565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663d272ac1e306040518263ffffffff1660e01b81526004016109ef9190610d03565b602060405180830381865afa158015610a0c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a3091906112cf565b905090565b60006001905090565b60008060008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663d272ac1e306040518263ffffffff1660e01b8152600401610a9a9190610d03565b602060405180830381865afa158015610ab7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610adb91906112cf565b905060008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663df33330b826040518263ffffffff1660e01b8152600401610b369190610dca565b602060405180830381865afa158015610b53573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b779190611352565b9150600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610bd557600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16610bd7565b815b91505090565b610be5610ca8565b600860405180604001604052908160008201548152602001600182015481525050905090565b610c13610ca8565b600a60405180604001604052908160008201548152602001600182015481525050905090565b6000600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6000600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6000610c99603c610c9e565b905090565b6000819050919050565b604051806040016040528060008152602001600081525090565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000610ced82610cc2565b9050919050565b610cfd81610ce2565b82525050565b6000602082019050610d186000830184610cf4565b92915050565b600060ff82169050919050565b6000819050919050565b6000610d50610d4b610d4684610d1e565b610d2b565b610d1e565b9050919050565b610d6081610d35565b82525050565b6000602082019050610d7b6000830184610d57565b92915050565b60006bffffffffffffffffffffffff82169050919050565b6000610db4610daf610daa84610d81565b610d2b565b610d81565b9050919050565b610dc481610d99565b82525050565b6000602082019050610ddf6000830184610dbb565b92915050565b6000610e00610dfb610df684610cc2565b610d2b565b610cc2565b9050919050565b6000610e1282610de5565b9050919050565b6000610e2482610e07565b9050919050565b610e3481610e19565b82525050565b6000602082019050610e4f6000830184610e2b565b92915050565b60008115159050919050565b610e6a81610e55565b82525050565b6000602082019050610e856000830184610e61565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015610ec5578082015181840152602081019050610eaa565b60008484015250505050565b6000601f19601f8301169050919050565b6000610eed82610e8b565b610ef78185610e96565b9350610f07818560208601610ea7565b610f1081610ed1565b840191505092915050565b60006020820190508181036000830152610f358184610ee2565b905092915050565b6000610f4882610e07565b9050919050565b610f5881610f3d565b82525050565b6000602082019050610f736000830184610f4f565b92915050565b6000819050919050565b6000610f9e610f99610f9484610f79565b610d2b565b610f79565b9050919050565b610fae81610f83565b82525050565b610fbd81610f79565b82525050565b604082016000820151610fd96000850182610fa5565b506020820151610fec6020850182610fb4565b50505050565b60006040820190506110076000830184610fc3565b92915050565b600061101882610e07565b9050919050565b6110288161100d565b82525050565b6000602082019050611043600083018461101f565b92915050565b600082825260208201905092915050565b50565b600061106a600083611049565b91506110758261105a565b600082019050919050565b600060208201905081810360008301526110998161105d565b9050919050565b7f4552524f523a5052442d3030313a52454749535452595f5a45524f0000000000600082015250565b60006110d6601b83611049565b91506110e1826110a0565b602082019050919050565b60006020820190508181036000830152611105816110c9565b9050919050565b600080fd5b61111a81610e55565b811461112557600080fd5b50565b60008151905061113781611111565b92915050565b6000602082840312156111535761115261110c565b5b600061116184828501611128565b91505092915050565b7f4552524f523a5052442d3030323a494e5354414e43455f4e4f545f524547495360008201527f5445524544000000000000000000000000000000000000000000000000000000602082015250565b60006111c6602583611049565b91506111d18261116a565b604082019050919050565b600060208201905081810360008301526111f5816111b9565b9050919050565b600061120782610ce2565b9050919050565b611217816111fc565b811461122257600080fd5b50565b6000815190506112348161120e565b92915050565b6000602082840312156112505761124f61110c565b5b600061125e84828501611225565b91505092915050565b600061127282610e07565b9050919050565b61128281611267565b82525050565b600060208201905061129d6000830184611279565b92915050565b6112ac81610d81565b81146112b757600080fd5b50565b6000815190506112c9816112a3565b92915050565b6000602082840312156112e5576112e461110c565b5b60006112f3848285016112ba565b91505092915050565b61130581610d99565b82525050565b600060208201905061132060008301846112fc565b92915050565b61132f81610ce2565b811461133a57600080fd5b50565b60008151905061134c81611326565b92915050565b6000602082840312156113685761136761110c565b5b60006113768482850161133d565b9150509291505056fea26469706673582212207ec024b81db7db230d4d7d17dc7f57f5d18e73fb21183418f7f61fe6db66402e64736f6c63430008140033",
|
325
|
+
"deployedBytecode": "0x608060405234801561001057600080fd5b50600436106101005760003560e01c80635ab1bd5311610097578063bc74aab011610066578063bc74aab01461026d578063daafed401461028b578063de7b5d14146102a9578063fb2cb101146102c757610100565b80635ab1bd53146101f5578063644c45e01461021357806379e829d014610231578063893d20e81461024f57610100565b806321df0da7116100d357806321df0da71461017d578063223668441461019b57806331b62a3b146101b95780633bc5de30146101d757610100565b8063132996041461010557806315dae03e146101235780631aa3a008146101415780631bdd6b761461015f575b600080fd5b61010d6102e5565b60405161011a9190610d03565b60405180910390f35b61012b61030f565b6040516101389190610d66565b60405180910390f35b61014961031e565b6040516101569190610dca565b60405180910390f35b610167610636565b6040516101749190610dca565b60405180910390f35b6101856106fa565b6040516101929190610e3a565b60405180910390f35b6101a3610724565b6040516101b09190610e70565b60405180910390f35b6101c1610851565b6040516101ce9190610dca565b60405180910390f35b6101df6108ce565b6040516101ec9190610f1b565b60405180910390f35b6101fd61096a565b60405161020a9190610f5e565b60405180910390f35b61021b610993565b6040516102289190610dca565b60405180910390f35b610239610a35565b6040516102469190610e70565b60405180910390f35b610257610a3e565b6040516102649190610d03565b60405180910390f35b610275610bdd565b6040516102829190610ff2565b60405180910390f35b610293610c0b565b6040516102a09190610ff2565b60405180910390f35b6102b1610c39565b6040516102be919061102e565b60405180910390f35b6102cf610c63565b6040516102dc9190610d03565b60405180910390f35b6000600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6000610319610c8d565b905090565b6000610328610c63565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610395576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161038c90611080565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1603610424576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161041b906110ec565b60405180910390fd5b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663c3c5a547600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166040518263ffffffff1660e01b815260040161049f9190610d03565b602060405180830381865afa1580156104bc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104e0919061113d565b61051f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610516906111dc565b60405180910390fd5b6000600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16636fa298536040518163ffffffff1660e01b8152600401602060405180830381865afa15801561058e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105b2919061123a565b90508073ffffffffffffffffffffffffffffffffffffffff16634420e486306040518263ffffffff1660e01b81526004016105ed9190611288565b6020604051808303816000875af115801561060c573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061063091906112cf565b91505090565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663d272ac1e600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166040518263ffffffff1660e01b81526004016106b49190610d03565b602060405180830381865afa1580156106d1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106f591906112cf565b905090565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60008060008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663d272ac1e306040518263ffffffff1660e01b81526004016107809190610d03565b602060405180830381865afa15801561079d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107c191906112cf565b9050806bffffffffffffffffffffffff1673__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__6330b8415f90916040518263ffffffff1660e01b815260040161080a919061130b565b602060405180830381865af4158015610827573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061084b919061113d565b91505090565b600061085b610c39565b73ffffffffffffffffffffffffffffffffffffffff1663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa1580156108a5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108c991906112cf565b905090565b60606108d8610c39565b73ffffffffffffffffffffffffffffffffffffffff1663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015610922573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061094691906112cf565b6040516020016109569190610dca565b604051602081830303815290604052905090565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663d272ac1e306040518263ffffffff1660e01b81526004016109ef9190610d03565b602060405180830381865afa158015610a0c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a3091906112cf565b905090565b60006001905090565b60008060008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663d272ac1e306040518263ffffffff1660e01b8152600401610a9a9190610d03565b602060405180830381865afa158015610ab7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610adb91906112cf565b905060008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663df33330b826040518263ffffffff1660e01b8152600401610b369190610dca565b602060405180830381865afa158015610b53573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b779190611352565b9150600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610bd557600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16610bd7565b815b91505090565b610be5610ca8565b600860405180604001604052908160008201548152602001600182015481525050905090565b610c13610ca8565b600a60405180604001604052908160008201548152602001600182015481525050905090565b6000600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6000600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6000610c99603c610c9e565b905090565b6000819050919050565b604051806040016040528060008152602001600081525090565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000610ced82610cc2565b9050919050565b610cfd81610ce2565b82525050565b6000602082019050610d186000830184610cf4565b92915050565b600060ff82169050919050565b6000819050919050565b6000610d50610d4b610d4684610d1e565b610d2b565b610d1e565b9050919050565b610d6081610d35565b82525050565b6000602082019050610d7b6000830184610d57565b92915050565b60006bffffffffffffffffffffffff82169050919050565b6000610db4610daf610daa84610d81565b610d2b565b610d81565b9050919050565b610dc481610d99565b82525050565b6000602082019050610ddf6000830184610dbb565b92915050565b6000610e00610dfb610df684610cc2565b610d2b565b610cc2565b9050919050565b6000610e1282610de5565b9050919050565b6000610e2482610e07565b9050919050565b610e3481610e19565b82525050565b6000602082019050610e4f6000830184610e2b565b92915050565b60008115159050919050565b610e6a81610e55565b82525050565b6000602082019050610e856000830184610e61565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015610ec5578082015181840152602081019050610eaa565b60008484015250505050565b6000601f19601f8301169050919050565b6000610eed82610e8b565b610ef78185610e96565b9350610f07818560208601610ea7565b610f1081610ed1565b840191505092915050565b60006020820190508181036000830152610f358184610ee2565b905092915050565b6000610f4882610e07565b9050919050565b610f5881610f3d565b82525050565b6000602082019050610f736000830184610f4f565b92915050565b6000819050919050565b6000610f9e610f99610f9484610f79565b610d2b565b610f79565b9050919050565b610fae81610f83565b82525050565b610fbd81610f79565b82525050565b604082016000820151610fd96000850182610fa5565b506020820151610fec6020850182610fb4565b50505050565b60006040820190506110076000830184610fc3565b92915050565b600061101882610e07565b9050919050565b6110288161100d565b82525050565b6000602082019050611043600083018461101f565b92915050565b600082825260208201905092915050565b50565b600061106a600083611049565b91506110758261105a565b600082019050919050565b600060208201905081810360008301526110998161105d565b9050919050565b7f4552524f523a5052442d3030313a52454749535452595f5a45524f0000000000600082015250565b60006110d6601b83611049565b91506110e1826110a0565b602082019050919050565b60006020820190508181036000830152611105816110c9565b9050919050565b600080fd5b61111a81610e55565b811461112557600080fd5b50565b60008151905061113781611111565b92915050565b6000602082840312156111535761115261110c565b5b600061116184828501611128565b91505092915050565b7f4552524f523a5052442d3030323a494e5354414e43455f4e4f545f524547495360008201527f5445524544000000000000000000000000000000000000000000000000000000602082015250565b60006111c6602583611049565b91506111d18261116a565b604082019050919050565b600060208201905081810360008301526111f5816111b9565b9050919050565b600061120782610ce2565b9050919050565b611217816111fc565b811461122257600080fd5b50565b6000815190506112348161120e565b92915050565b6000602082840312156112505761124f61110c565b5b600061125e84828501611225565b91505092915050565b600061127282610e07565b9050919050565b61128281611267565b82525050565b600060208201905061129d6000830184611279565b92915050565b6112ac81610d81565b81146112b757600080fd5b50565b6000815190506112c9816112a3565b92915050565b6000602082840312156112e5576112e461110c565b5b60006112f3848285016112ba565b91505092915050565b61130581610d99565b82525050565b600060208201905061132060008301846112fc565b92915050565b61132f81610ce2565b811461133a57600080fd5b50565b60008151905061134c81611326565b92915050565b6000602082840312156113685761136761110c565b5b60006113768482850161133d565b9150509291505056fea26469706673582212207ec024b81db7db230d4d7d17dc7f57f5d18e73fb21183418f7f61fe6db66402e64736f6c63430008140033",
|
326
|
+
"linkReferences": {
|
327
|
+
"contracts/types/NftId.sol": {
|
328
|
+
"NftIdLib": [
|
329
|
+
{
|
330
|
+
"length": 20,
|
331
|
+
"start": 3495
|
332
|
+
}
|
333
|
+
]
|
334
|
+
}
|
335
|
+
},
|
336
|
+
"deployedLinkReferences": {
|
337
|
+
"contracts/types/NftId.sol": {
|
338
|
+
"NftIdLib": [
|
339
|
+
{
|
340
|
+
"length": 20,
|
341
|
+
"start": 2004
|
342
|
+
}
|
343
|
+
]
|
344
|
+
}
|
345
|
+
}
|
346
|
+
}
|
@@ -0,0 +1,105 @@
|
|
1
|
+
{
|
2
|
+
"_format": "hh-sol-artifact-1",
|
3
|
+
"contractName": "Require",
|
4
|
+
"sourceName": "contracts/experiment/errors/Require.sol",
|
5
|
+
"abi": [
|
6
|
+
{
|
7
|
+
"inputs": [],
|
8
|
+
"stateMutability": "nonpayable",
|
9
|
+
"type": "constructor"
|
10
|
+
},
|
11
|
+
{
|
12
|
+
"inputs": [
|
13
|
+
{
|
14
|
+
"internalType": "uint256",
|
15
|
+
"name": "a",
|
16
|
+
"type": "uint256"
|
17
|
+
},
|
18
|
+
{
|
19
|
+
"internalType": "uint256",
|
20
|
+
"name": "b",
|
21
|
+
"type": "uint256"
|
22
|
+
}
|
23
|
+
],
|
24
|
+
"name": "AsmallerThanB_L",
|
25
|
+
"type": "error"
|
26
|
+
},
|
27
|
+
{
|
28
|
+
"inputs": [
|
29
|
+
{
|
30
|
+
"internalType": "uint256",
|
31
|
+
"name": "a",
|
32
|
+
"type": "uint256"
|
33
|
+
}
|
34
|
+
],
|
35
|
+
"name": "AsmallerThanB_M",
|
36
|
+
"type": "error"
|
37
|
+
},
|
38
|
+
{
|
39
|
+
"inputs": [],
|
40
|
+
"name": "AsmallerThanB_S",
|
41
|
+
"type": "error"
|
42
|
+
},
|
43
|
+
{
|
44
|
+
"inputs": [
|
45
|
+
{
|
46
|
+
"internalType": "uint256",
|
47
|
+
"name": "a",
|
48
|
+
"type": "uint256"
|
49
|
+
}
|
50
|
+
],
|
51
|
+
"name": "isAlargerThanBRequire_L",
|
52
|
+
"outputs": [
|
53
|
+
{
|
54
|
+
"internalType": "bool",
|
55
|
+
"name": "isLarger",
|
56
|
+
"type": "bool"
|
57
|
+
}
|
58
|
+
],
|
59
|
+
"stateMutability": "view",
|
60
|
+
"type": "function"
|
61
|
+
},
|
62
|
+
{
|
63
|
+
"inputs": [
|
64
|
+
{
|
65
|
+
"internalType": "uint256",
|
66
|
+
"name": "a",
|
67
|
+
"type": "uint256"
|
68
|
+
}
|
69
|
+
],
|
70
|
+
"name": "isAlargerThanBRequire_M",
|
71
|
+
"outputs": [
|
72
|
+
{
|
73
|
+
"internalType": "bool",
|
74
|
+
"name": "isLarger",
|
75
|
+
"type": "bool"
|
76
|
+
}
|
77
|
+
],
|
78
|
+
"stateMutability": "view",
|
79
|
+
"type": "function"
|
80
|
+
},
|
81
|
+
{
|
82
|
+
"inputs": [
|
83
|
+
{
|
84
|
+
"internalType": "uint256",
|
85
|
+
"name": "a",
|
86
|
+
"type": "uint256"
|
87
|
+
}
|
88
|
+
],
|
89
|
+
"name": "isAlargerThanBRequire_S",
|
90
|
+
"outputs": [
|
91
|
+
{
|
92
|
+
"internalType": "bool",
|
93
|
+
"name": "isLarger",
|
94
|
+
"type": "bool"
|
95
|
+
}
|
96
|
+
],
|
97
|
+
"stateMutability": "view",
|
98
|
+
"type": "function"
|
99
|
+
}
|
100
|
+
],
|
101
|
+
"bytecode": "0x608060405234801561001057600080fd5b50602a60008190555061040f806100286000396000f3fe608060405234801561001057600080fd5b50600436106100415760003560e01c806342bf62e0146100465780638db581aa1461007657806394977ddd146100a6575b600080fd5b610060600480360381019061005b91906101fb565b6100d6565b60405161006d9190610243565b60405180910390f35b610090600480360381019061008b91906101fb565b610124565b60405161009d9190610243565b60405180910390f35b6100c060048036038101906100bb91906101fb565b610172565b6040516100cd9190610243565b60405180910390f35b60008054821161011b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610112906102bb565b60405180910390fd5b60019050919050565b600080548211610169576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161016090610327565b60405180910390fd5b60019050919050565b6000805482116101b7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016101ae906103b9565b60405180910390fd5b60019050919050565b600080fd5b6000819050919050565b6101d8816101c5565b81146101e357600080fd5b50565b6000813590506101f5816101cf565b92915050565b600060208284031215610211576102106101c0565b5b600061021f848285016101e6565b91505092915050565b60008115159050919050565b61023d81610228565b82525050565b60006020820190506102586000830184610234565b92915050565b600082825260208201905092915050565b7f4552524f523a4142432d3030323a415f49535f534d414c4c4552000000000000600082015250565b60006102a5601a8361025e565b91506102b08261026f565b602082019050919050565b600060208201905081810360008301526102d481610298565b9050919050565b7f4552524f523a4142432d30303100000000000000000000000000000000000000600082015250565b6000610311600d8361025e565b915061031c826102db565b602082019050919050565b6000602082019050818103600083015261034081610304565b9050919050565b7f4552524f523a4142432d3030333a415f49535f534d414c4c45525f5448414e5f60008201527f4200000000000000000000000000000000000000000000000000000000000000602082015250565b60006103a360218361025e565b91506103ae82610347565b604082019050919050565b600060208201905081810360008301526103d281610396565b905091905056fea26469706673582212207f10bf5c332235128519fa30412afeef48946f8606b398b2fed02edcd66fa75164736f6c63430008140033",
|
102
|
+
"deployedBytecode": "0x608060405234801561001057600080fd5b50600436106100415760003560e01c806342bf62e0146100465780638db581aa1461007657806394977ddd146100a6575b600080fd5b610060600480360381019061005b91906101fb565b6100d6565b60405161006d9190610243565b60405180910390f35b610090600480360381019061008b91906101fb565b610124565b60405161009d9190610243565b60405180910390f35b6100c060048036038101906100bb91906101fb565b610172565b6040516100cd9190610243565b60405180910390f35b60008054821161011b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610112906102bb565b60405180910390fd5b60019050919050565b600080548211610169576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161016090610327565b60405180910390fd5b60019050919050565b6000805482116101b7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016101ae906103b9565b60405180910390fd5b60019050919050565b600080fd5b6000819050919050565b6101d8816101c5565b81146101e357600080fd5b50565b6000813590506101f5816101cf565b92915050565b600060208284031215610211576102106101c0565b5b600061021f848285016101e6565b91505092915050565b60008115159050919050565b61023d81610228565b82525050565b60006020820190506102586000830184610234565b92915050565b600082825260208201905092915050565b7f4552524f523a4142432d3030323a415f49535f534d414c4c4552000000000000600082015250565b60006102a5601a8361025e565b91506102b08261026f565b602082019050919050565b600060208201905081810360008301526102d481610298565b9050919050565b7f4552524f523a4142432d30303100000000000000000000000000000000000000600082015250565b6000610311600d8361025e565b915061031c826102db565b602082019050919050565b6000602082019050818103600083015261034081610304565b9050919050565b7f4552524f523a4142432d3030333a415f49535f534d414c4c45525f5448414e5f60008201527f4200000000000000000000000000000000000000000000000000000000000000602082015250565b60006103a360218361025e565b91506103ae82610347565b604082019050919050565b600060208201905081810360008301526103d281610396565b905091905056fea26469706673582212207f10bf5c332235128519fa30412afeef48946f8606b398b2fed02edcd66fa75164736f6c63430008140033",
|
103
|
+
"linkReferences": {},
|
104
|
+
"deployedLinkReferences": {}
|
105
|
+
}
|
@@ -0,0 +1,105 @@
|
|
1
|
+
{
|
2
|
+
"_format": "hh-sol-artifact-1",
|
3
|
+
"contractName": "Revert",
|
4
|
+
"sourceName": "contracts/experiment/errors/Revert.sol",
|
5
|
+
"abi": [
|
6
|
+
{
|
7
|
+
"inputs": [],
|
8
|
+
"stateMutability": "nonpayable",
|
9
|
+
"type": "constructor"
|
10
|
+
},
|
11
|
+
{
|
12
|
+
"inputs": [
|
13
|
+
{
|
14
|
+
"internalType": "uint256",
|
15
|
+
"name": "a",
|
16
|
+
"type": "uint256"
|
17
|
+
},
|
18
|
+
{
|
19
|
+
"internalType": "uint256",
|
20
|
+
"name": "b",
|
21
|
+
"type": "uint256"
|
22
|
+
}
|
23
|
+
],
|
24
|
+
"name": "AsmallerThanB_L",
|
25
|
+
"type": "error"
|
26
|
+
},
|
27
|
+
{
|
28
|
+
"inputs": [
|
29
|
+
{
|
30
|
+
"internalType": "uint256",
|
31
|
+
"name": "a",
|
32
|
+
"type": "uint256"
|
33
|
+
}
|
34
|
+
],
|
35
|
+
"name": "AsmallerThanB_M",
|
36
|
+
"type": "error"
|
37
|
+
},
|
38
|
+
{
|
39
|
+
"inputs": [],
|
40
|
+
"name": "AsmallerThanB_S",
|
41
|
+
"type": "error"
|
42
|
+
},
|
43
|
+
{
|
44
|
+
"inputs": [
|
45
|
+
{
|
46
|
+
"internalType": "uint256",
|
47
|
+
"name": "a",
|
48
|
+
"type": "uint256"
|
49
|
+
}
|
50
|
+
],
|
51
|
+
"name": "isAlargerThanBRevert_L",
|
52
|
+
"outputs": [
|
53
|
+
{
|
54
|
+
"internalType": "bool",
|
55
|
+
"name": "isLarger",
|
56
|
+
"type": "bool"
|
57
|
+
}
|
58
|
+
],
|
59
|
+
"stateMutability": "view",
|
60
|
+
"type": "function"
|
61
|
+
},
|
62
|
+
{
|
63
|
+
"inputs": [
|
64
|
+
{
|
65
|
+
"internalType": "uint256",
|
66
|
+
"name": "a",
|
67
|
+
"type": "uint256"
|
68
|
+
}
|
69
|
+
],
|
70
|
+
"name": "isAlargerThanBRevert_M",
|
71
|
+
"outputs": [
|
72
|
+
{
|
73
|
+
"internalType": "bool",
|
74
|
+
"name": "isLarger",
|
75
|
+
"type": "bool"
|
76
|
+
}
|
77
|
+
],
|
78
|
+
"stateMutability": "view",
|
79
|
+
"type": "function"
|
80
|
+
},
|
81
|
+
{
|
82
|
+
"inputs": [
|
83
|
+
{
|
84
|
+
"internalType": "uint256",
|
85
|
+
"name": "a",
|
86
|
+
"type": "uint256"
|
87
|
+
}
|
88
|
+
],
|
89
|
+
"name": "isAlargerThanBRevert_S",
|
90
|
+
"outputs": [
|
91
|
+
{
|
92
|
+
"internalType": "bool",
|
93
|
+
"name": "isLarger",
|
94
|
+
"type": "bool"
|
95
|
+
}
|
96
|
+
],
|
97
|
+
"stateMutability": "view",
|
98
|
+
"type": "function"
|
99
|
+
}
|
100
|
+
],
|
101
|
+
"bytecode": "0x608060405234801561001057600080fd5b50602a6000819055506102e6806100286000396000f3fe608060405234801561001057600080fd5b50600436106100415760003560e01c806312eee592146100465780638997f3ee14610076578063d0e7624f146100a6575b600080fd5b610060600480360381019061005b91906101fa565b6100d6565b60405161006d9190610242565b60405180910390f35b610090600480360381019061008b91906101fa565b61012a565b60405161009d9190610242565b60405180910390f35b6100c060048036038101906100bb91906101fa565b61017a565b6040516100cd9190610242565b60405180910390f35b60008054821161012157816000546040517fb0d3ec1d00000000000000000000000000000000000000000000000000000000815260040161011892919061026c565b60405180910390fd5b60019050919050565b60008054821161017157816040517f27e078bc0000000000000000000000000000000000000000000000000000000081526004016101689190610295565b60405180910390fd5b60019050919050565b6000805482116101b6576040517f359a43a800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60019050919050565b600080fd5b6000819050919050565b6101d7816101c4565b81146101e257600080fd5b50565b6000813590506101f4816101ce565b92915050565b6000602082840312156102105761020f6101bf565b5b600061021e848285016101e5565b91505092915050565b60008115159050919050565b61023c81610227565b82525050565b60006020820190506102576000830184610233565b92915050565b610266816101c4565b82525050565b6000604082019050610281600083018561025d565b61028e602083018461025d565b9392505050565b60006020820190506102aa600083018461025d565b9291505056fea2646970667358221220a7128053515b503c86f1b60e9db1d8c60a71200b780d3d24fb0040141e911bbe64736f6c63430008140033",
|
102
|
+
"deployedBytecode": "0x608060405234801561001057600080fd5b50600436106100415760003560e01c806312eee592146100465780638997f3ee14610076578063d0e7624f146100a6575b600080fd5b610060600480360381019061005b91906101fa565b6100d6565b60405161006d9190610242565b60405180910390f35b610090600480360381019061008b91906101fa565b61012a565b60405161009d9190610242565b60405180910390f35b6100c060048036038101906100bb91906101fa565b61017a565b6040516100cd9190610242565b60405180910390f35b60008054821161012157816000546040517fb0d3ec1d00000000000000000000000000000000000000000000000000000000815260040161011892919061026c565b60405180910390fd5b60019050919050565b60008054821161017157816040517f27e078bc0000000000000000000000000000000000000000000000000000000081526004016101689190610295565b60405180910390fd5b60019050919050565b6000805482116101b6576040517f359a43a800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60019050919050565b600080fd5b6000819050919050565b6101d7816101c4565b81146101e257600080fd5b50565b6000813590506101f4816101ce565b92915050565b6000602082840312156102105761020f6101bf565b5b600061021e848285016101e5565b91505092915050565b60008115159050919050565b61023c81610227565b82525050565b60006020820190506102576000830184610233565b92915050565b610266816101c4565b82525050565b6000604082019050610281600083018561025d565b61028e602083018461025d565b9392505050565b60006020820190506102aa600083018461025d565b9291505056fea2646970667358221220a7128053515b503c86f1b60e9db1d8c60a71200b780d3d24fb0040141e911bbe64736f6c63430008140033",
|
103
|
+
"linkReferences": {},
|
104
|
+
"deployedLinkReferences": {}
|
105
|
+
}
|