@etherisc/gif-next 0.0.2-e5ea33d → 0.0.2-e6ad61d-739
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +10 -1
- package/artifacts/contracts/components/Component.sol/Component.dbg.json +1 -1
- package/artifacts/contracts/components/Component.sol/Component.json +28 -2
- 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 +78 -2
- package/artifacts/contracts/components/IProduct.sol/IProductComponent.dbg.json +1 -1
- package/artifacts/contracts/components/IProduct.sol/IProductComponent.json +32 -150
- package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +1 -1
- package/artifacts/contracts/components/Pool.sol/Pool.json +121 -6
- package/artifacts/contracts/components/Product.sol/Product.dbg.json +1 -1
- package/artifacts/contracts/components/Product.sol/Product.json +121 -6
- package/artifacts/contracts/experiment/errors/Require.sol/Require.dbg.json +1 -1
- package/artifacts/contracts/experiment/errors/Require.sol/Require.json +2 -2
- package/artifacts/contracts/experiment/errors/Revert.sol/Revert.dbg.json +1 -1
- package/artifacts/contracts/experiment/errors/Revert.sol/Revert.json +2 -2
- 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 +686 -99
- package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
- package/artifacts/contracts/instance/Instance.sol/Instance.json +757 -99
- 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 +14 -42
- package/artifacts/contracts/instance/component/ComponentModule.sol/ComponentOwnerService.dbg.json +1 -1
- package/artifacts/contracts/instance/component/ComponentModule.sol/ComponentOwnerService.json +65 -10
- 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 +28 -2
- package/artifacts/contracts/instance/component/IComponent.sol/IComponentModule.dbg.json +1 -1
- package/artifacts/contracts/instance/component/IComponent.sol/IComponentModule.json +12 -40
- package/artifacts/contracts/instance/component/IComponent.sol/IComponentOwnerService.dbg.json +1 -1
- package/artifacts/contracts/instance/component/IComponent.sol/IComponentOwnerService.json +47 -0
- 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 +26 -3
- package/artifacts/contracts/instance/policy/PolicyModule.sol/PolicyModule.dbg.json +1 -1
- package/artifacts/contracts/instance/policy/PolicyModule.sol/PolicyModule.json +26 -3
- 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 +15 -35
- package/artifacts/contracts/instance/pool/PoolModule.sol/PoolModule.dbg.json +1 -1
- package/artifacts/contracts/instance/pool/PoolModule.sol/PoolModule.json +22 -29
- 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 +13 -0
- 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 +41 -12
- 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 +1 -1
- package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +2 -2
- package/artifacts/contracts/registry/IChainNft.sol/IChainNft.dbg.json +1 -1
- 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 +2 -2
- package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
- package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +4 -95
- 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 +2 -2
- package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
- package/artifacts/contracts/registry/Registry.sol/Registry.json +14 -105
- 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 +1 -1
- package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.json +2 -2
- 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 +1 -1
- package/artifacts/contracts/types/NftId.sol/NftIdLib.json +2 -2
- 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 +1 -1
- package/artifacts/contracts/types/Timestamp.sol/TimestampLib.json +2 -2
- package/artifacts/contracts/types/UFixed.sol/UFixedMathLib.dbg.json +1 -1
- package/artifacts/contracts/types/UFixed.sol/UFixedMathLib.json +37 -11
- package/contracts/components/Component.sol +24 -7
- package/contracts/components/IPool.sol +6 -0
- package/contracts/components/IProduct.sol +9 -2
- package/contracts/components/Pool.sol +34 -4
- package/contracts/components/Product.sol +38 -4
- 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/instance/IInstance.sol +9 -2
- package/contracts/instance/Instance.sol +13 -5
- package/contracts/instance/component/ComponentModule.sol +99 -38
- package/contracts/instance/component/IComponent.sol +18 -17
- package/contracts/instance/lifecycle/ILifecycle.sol +47 -0
- package/contracts/instance/lifecycle/LifecycleModule.sol +88 -0
- package/contracts/instance/policy/IPolicy.sol +8 -9
- package/contracts/instance/policy/PolicyModule.sol +32 -9
- package/contracts/instance/pool/IPoolModule.sol +2 -8
- package/contracts/instance/pool/PoolModule.sol +24 -16
- package/contracts/instance/product/IProductService.sol +1 -1
- package/contracts/instance/product/ProductService.sol +54 -30
- 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/IRegistry.sol +4 -17
- package/contracts/registry/Registry.sol +4 -31
- package/contracts/types/Fee.sol +32 -0
- package/contracts/types/ObjectType.sol +107 -0
- package/contracts/types/StateId.sol +91 -0
- package/contracts/types/UFixed.sol +19 -14
- package/package.json +7 -4
@@ -136,9 +136,14 @@
|
|
136
136
|
"type": "uint96"
|
137
137
|
},
|
138
138
|
{
|
139
|
-
"internalType": "
|
139
|
+
"internalType": "StateId",
|
140
140
|
"name": "state",
|
141
141
|
"type": "uint8"
|
142
|
+
},
|
143
|
+
{
|
144
|
+
"internalType": "contract IERC20Metadata",
|
145
|
+
"name": "token",
|
146
|
+
"type": "address"
|
142
147
|
}
|
143
148
|
],
|
144
149
|
"internalType": "struct IComponent.ComponentInfo",
|
@@ -149,25 +154,6 @@
|
|
149
154
|
"stateMutability": "view",
|
150
155
|
"type": "function"
|
151
156
|
},
|
152
|
-
{
|
153
|
-
"inputs": [
|
154
|
-
{
|
155
|
-
"internalType": "NftId",
|
156
|
-
"name": "nftId",
|
157
|
-
"type": "uint96"
|
158
|
-
}
|
159
|
-
],
|
160
|
-
"name": "getComponentOwner",
|
161
|
-
"outputs": [
|
162
|
-
{
|
163
|
-
"internalType": "address",
|
164
|
-
"name": "owner",
|
165
|
-
"type": "address"
|
166
|
-
}
|
167
|
-
],
|
168
|
-
"stateMutability": "view",
|
169
|
-
"type": "function"
|
170
|
-
},
|
171
157
|
{
|
172
158
|
"inputs": [],
|
173
159
|
"name": "getComponentOwnerService",
|
@@ -194,25 +180,6 @@
|
|
194
180
|
"stateMutability": "view",
|
195
181
|
"type": "function"
|
196
182
|
},
|
197
|
-
{
|
198
|
-
"inputs": [
|
199
|
-
{
|
200
|
-
"internalType": "NftId",
|
201
|
-
"name": "productNftId",
|
202
|
-
"type": "uint96"
|
203
|
-
}
|
204
|
-
],
|
205
|
-
"name": "getPoolNftId",
|
206
|
-
"outputs": [
|
207
|
-
{
|
208
|
-
"internalType": "NftId",
|
209
|
-
"name": "poolNftId",
|
210
|
-
"type": "uint96"
|
211
|
-
}
|
212
|
-
],
|
213
|
-
"stateMutability": "view",
|
214
|
-
"type": "function"
|
215
|
-
},
|
216
183
|
{
|
217
184
|
"inputs": [],
|
218
185
|
"name": "getRegistry",
|
@@ -229,9 +196,9 @@
|
|
229
196
|
{
|
230
197
|
"inputs": [
|
231
198
|
{
|
232
|
-
"internalType": "
|
199
|
+
"internalType": "ObjectType",
|
233
200
|
"name": "cType",
|
234
|
-
"type": "
|
201
|
+
"type": "uint8"
|
235
202
|
}
|
236
203
|
],
|
237
204
|
"name": "getRoleForType",
|
@@ -298,9 +265,14 @@
|
|
298
265
|
"type": "uint96"
|
299
266
|
},
|
300
267
|
{
|
301
|
-
"internalType": "
|
268
|
+
"internalType": "StateId",
|
302
269
|
"name": "state",
|
303
270
|
"type": "uint8"
|
271
|
+
},
|
272
|
+
{
|
273
|
+
"internalType": "contract IERC20Metadata",
|
274
|
+
"name": "token",
|
275
|
+
"type": "address"
|
304
276
|
}
|
305
277
|
],
|
306
278
|
"internalType": "struct IComponent.ComponentInfo",
|
package/artifacts/contracts/instance/component/ComponentModule.sol/ComponentOwnerService.json
CHANGED
@@ -84,6 +84,53 @@
|
|
84
84
|
"stateMutability": "nonpayable",
|
85
85
|
"type": "function"
|
86
86
|
},
|
87
|
+
{
|
88
|
+
"inputs": [
|
89
|
+
{
|
90
|
+
"internalType": "contract IComponentContract",
|
91
|
+
"name": "product",
|
92
|
+
"type": "address"
|
93
|
+
},
|
94
|
+
{
|
95
|
+
"components": [
|
96
|
+
{
|
97
|
+
"internalType": "UFixed",
|
98
|
+
"name": "fractionalFee",
|
99
|
+
"type": "uint256"
|
100
|
+
},
|
101
|
+
{
|
102
|
+
"internalType": "uint256",
|
103
|
+
"name": "fixedFee",
|
104
|
+
"type": "uint256"
|
105
|
+
}
|
106
|
+
],
|
107
|
+
"internalType": "struct Fee",
|
108
|
+
"name": "policyFee",
|
109
|
+
"type": "tuple"
|
110
|
+
},
|
111
|
+
{
|
112
|
+
"components": [
|
113
|
+
{
|
114
|
+
"internalType": "UFixed",
|
115
|
+
"name": "fractionalFee",
|
116
|
+
"type": "uint256"
|
117
|
+
},
|
118
|
+
{
|
119
|
+
"internalType": "uint256",
|
120
|
+
"name": "fixedFee",
|
121
|
+
"type": "uint256"
|
122
|
+
}
|
123
|
+
],
|
124
|
+
"internalType": "struct Fee",
|
125
|
+
"name": "processingFee",
|
126
|
+
"type": "tuple"
|
127
|
+
}
|
128
|
+
],
|
129
|
+
"name": "setProductFees",
|
130
|
+
"outputs": [],
|
131
|
+
"stateMutability": "nonpayable",
|
132
|
+
"type": "function"
|
133
|
+
},
|
87
134
|
{
|
88
135
|
"inputs": [
|
89
136
|
{
|
@@ -98,26 +145,30 @@
|
|
98
145
|
"type": "function"
|
99
146
|
}
|
100
147
|
],
|
101
|
-
"bytecode": "0x60806040523480156200001157600080fd5b506040516200162f3803806200162f8339818101604052810190620000379190620000ea565b80806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050506200011c565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000620000b28262000085565b9050919050565b620000c481620000a5565b8114620000d057600080fd5b50565b600081519050620000e481620000b9565b92915050565b60006020828403121562000103576200010262000080565b5b60006200011384828501620000d3565b91505092915050565b611503806200012c6000396000f3fe608060405234801561001057600080fd5b506004361061004c5760003560e01c80632f6c493c146100515780634420e4861461006d5780635ab1bd531461009d578063f435f5a7146100bb575b600080fd5b61006b60048036038101906100669190610dec565b6100d7565b005b61008760048036038101906100829190610dec565b610623565b6040516100949190610e6c565b60405180910390f35b6100a56107f8565b6040516100b29190610edc565b60405180910390f35b6100d560048036038101906100d09190610dec565b610821565b005b8060008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663d272ac1e836040518263ffffffff1660e01b81526004016101349190610f06565b602060405180830381865afa158015610151573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906101759190610f4d565b9050806bffffffffffffffffffffffff1673__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__6330b8415f90916040518263ffffffff1660e01b81526004016101be9190610f89565b602060405180830381865af41580156101db573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906101ff9190610fdc565b61023e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161023590611066565b60405180910390fd5b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663df33330b826040518263ffffffff1660e01b81526004016102979190610e6c565b602060405180830381865afa1580156102b4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102d891906110b2565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610345576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161033c9061112b565b60405180910390fd5b60008373ffffffffffffffffffffffffffffffffffffffff1663de7b5d146040518163ffffffff1660e01b8152600401602060405180830381865afa158015610392573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103b69190611189565b905060008173ffffffffffffffffffffffffffffffffffffffff1663f0ea17c38673ffffffffffffffffffffffffffffffffffffffff1663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015610421573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104459190610f4d565b6040518263ffffffff1660e01b81526004016104619190610e6c565b6040805180830381865afa15801561047d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104a191906112bc565b905080600001516bffffffffffffffffffffffff1673__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__6330b8415f90916040518263ffffffff1660e01b81526004016104ee9190610f89565b602060405180830381865af415801561050b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061052f9190610fdc565b61056e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161056590611335565b60405180910390fd5b60018160200190600281111561058757610586611355565b5b9081600281111561059b5761059a611355565b5b815250508173ffffffffffffffffffffffffffffffffffffffff1663559dc3d0826040518263ffffffff1660e01b81526004016105d8919061140a565b6020604051808303816000875af11580156105f7573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061061b9190610f4d565b505050505050565b60008173ffffffffffffffffffffffffffffffffffffffff1663fb2cb1016040518163ffffffff1660e01b8152600401602060405180830381865afa158015610670573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061069491906110b2565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610701576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106f890611471565b60405180910390fd5b60008273ffffffffffffffffffffffffffffffffffffffff1663de7b5d146040518163ffffffff1660e01b8152600401602060405180830381865afa15801561074e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107729190611189565b90508073ffffffffffffffffffffffffffffffffffffffff16636078a3b2846040518263ffffffff1660e01b81526004016107ad91906114b2565b6020604051808303816000875af11580156107cc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107f09190610f4d565b915050919050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b8060008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663d272ac1e836040518263ffffffff1660e01b815260040161087e9190610f06565b602060405180830381865afa15801561089b573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108bf9190610f4d565b9050806bffffffffffffffffffffffff1673__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__6330b8415f90916040518263ffffffff1660e01b81526004016109089190610f89565b602060405180830381865af4158015610925573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109499190610fdc565b610988576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161097f90611066565b60405180910390fd5b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663df33330b826040518263ffffffff1660e01b81526004016109e19190610e6c565b602060405180830381865afa1580156109fe573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a2291906110b2565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610a8f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a869061112b565b60405180910390fd5b60008373ffffffffffffffffffffffffffffffffffffffff1663de7b5d146040518163ffffffff1660e01b8152600401602060405180830381865afa158015610adc573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b009190611189565b905060008173ffffffffffffffffffffffffffffffffffffffff1663f0ea17c38673ffffffffffffffffffffffffffffffffffffffff1663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015610b6b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b8f9190610f4d565b6040518263ffffffff1660e01b8152600401610bab9190610e6c565b6040805180830381865afa158015610bc7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610beb91906112bc565b905080600001516bffffffffffffffffffffffff1673__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__6330b8415f90916040518263ffffffff1660e01b8152600401610c389190610f89565b602060405180830381865af4158015610c55573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c799190610fdc565b610cb8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610caf90611335565b60405180910390fd5b600281602001906002811115610cd157610cd0611355565b5b90816002811115610ce557610ce4611355565b5b815250508173ffffffffffffffffffffffffffffffffffffffff1663559dc3d0826040518263ffffffff1660e01b8152600401610d22919061140a565b6020604051808303816000875af1158015610d41573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d659190610f4d565b505050505050565b6000604051905090565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000610da782610d7c565b9050919050565b6000610db982610d9c565b9050919050565b610dc981610dae565b8114610dd457600080fd5b50565b600081359050610de681610dc0565b92915050565b600060208284031215610e0257610e01610d77565b5b6000610e1084828501610dd7565b91505092915050565b60006bffffffffffffffffffffffff82169050919050565b6000819050919050565b6000610e56610e51610e4c84610e19565b610e31565b610e19565b9050919050565b610e6681610e3b565b82525050565b6000602082019050610e816000830184610e5d565b92915050565b6000610ea2610e9d610e9884610d7c565b610e31565b610d7c565b9050919050565b6000610eb482610e87565b9050919050565b6000610ec682610ea9565b9050919050565b610ed681610ebb565b82525050565b6000602082019050610ef16000830184610ecd565b92915050565b610f0081610d9c565b82525050565b6000602082019050610f1b6000830184610ef7565b92915050565b610f2a81610e19565b8114610f3557600080fd5b50565b600081519050610f4781610f21565b92915050565b600060208284031215610f6357610f62610d77565b5b6000610f7184828501610f38565b91505092915050565b610f8381610e3b565b82525050565b6000602082019050610f9e6000830184610f7a565b92915050565b60008115159050919050565b610fb981610fa4565b8114610fc457600080fd5b50565b600081519050610fd681610fb0565b92915050565b600060208284031215610ff257610ff1610d77565b5b600061100084828501610fc7565b91505092915050565b600082825260208201905092915050565b7f4552524f523a434f532d3030313a434f4d504f4e454e545f554e4b4e4f574e00600082015250565b6000611050601f83611009565b915061105b8261101a565b602082019050919050565b6000602082019050818103600083015261107f81611043565b9050919050565b61108f81610d9c565b811461109a57600080fd5b50565b6000815190506110ac81611086565b92915050565b6000602082840312156110c8576110c7610d77565b5b60006110d68482850161109d565b91505092915050565b7f4552524f523a434f532d3030323a4e4f545f4f574e4552000000000000000000600082015250565b6000611115601783611009565b9150611120826110df565b602082019050919050565b6000602082019050818103600083015261114481611108565b9050919050565b600061115682610d9c565b9050919050565b6111668161114b565b811461117157600080fd5b50565b6000815190506111838161115d565b92915050565b60006020828403121561119f5761119e610d77565b5b60006111ad84828501611174565b91505092915050565b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b611204826111bb565b810181811067ffffffffffffffff82111715611223576112226111cc565b5b80604052505050565b6000611236610d6d565b905061124282826111fb565b919050565b6003811061125457600080fd5b50565b60008151905061126681611247565b92915050565b600060408284031215611282576112816111b6565b5b61128c604061122c565b9050600061129c84828501610f38565b60008301525060206112b084828501611257565b60208301525092915050565b6000604082840312156112d2576112d1610d77565b5b60006112e08482850161126c565b91505092915050565b7f4552524f525f434f4d504f4e454e545f554e4b4e4f574e000000000000000000600082015250565b600061131f601783611009565b915061132a826112e9565b602082019050919050565b6000602082019050818103600083015261134e81611312565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b61138d81610e3b565b82525050565b600381106113a4576113a3611355565b5b50565b60008190506113b582611393565b919050565b60006113c5826113a7565b9050919050565b6113d5816113ba565b82525050565b6040820160008201516113f16000850182611384565b50602082015161140460208501826113cc565b50505050565b600060408201905061141f60008301846113db565b92915050565b7f4552524f523a434f532d3030333a4e4f545f4f574e4552000000000000000000600082015250565b600061145b601783611009565b915061146682611425565b602082019050919050565b6000602082019050818103600083015261148a8161144e565b9050919050565b600061149c82610ea9565b9050919050565b6114ac81611491565b82525050565b60006020820190506114c760008301846114a3565b9291505056fea2646970667358221220b6cdc846b7cb1b086c55eef73306c8ca2e6daa9526531fa25fbbdab91d4c4a7264736f6c63430008140033",
|
102
|
-
"deployedBytecode": "0x608060405234801561001057600080fd5b506004361061004c5760003560e01c80632f6c493c146100515780634420e4861461006d5780635ab1bd531461009d578063f435f5a7146100bb575b600080fd5b61006b60048036038101906100669190610dec565b6100d7565b005b61008760048036038101906100829190610dec565b610623565b6040516100949190610e6c565b60405180910390f35b6100a56107f8565b6040516100b29190610edc565b60405180910390f35b6100d560048036038101906100d09190610dec565b610821565b005b8060008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663d272ac1e836040518263ffffffff1660e01b81526004016101349190610f06565b602060405180830381865afa158015610151573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906101759190610f4d565b9050806bffffffffffffffffffffffff1673__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__6330b8415f90916040518263ffffffff1660e01b81526004016101be9190610f89565b602060405180830381865af41580156101db573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906101ff9190610fdc565b61023e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161023590611066565b60405180910390fd5b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663df33330b826040518263ffffffff1660e01b81526004016102979190610e6c565b602060405180830381865afa1580156102b4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102d891906110b2565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610345576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161033c9061112b565b60405180910390fd5b60008373ffffffffffffffffffffffffffffffffffffffff1663de7b5d146040518163ffffffff1660e01b8152600401602060405180830381865afa158015610392573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103b69190611189565b905060008173ffffffffffffffffffffffffffffffffffffffff1663f0ea17c38673ffffffffffffffffffffffffffffffffffffffff1663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015610421573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104459190610f4d565b6040518263ffffffff1660e01b81526004016104619190610e6c565b6040805180830381865afa15801561047d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104a191906112bc565b905080600001516bffffffffffffffffffffffff1673__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__6330b8415f90916040518263ffffffff1660e01b81526004016104ee9190610f89565b602060405180830381865af415801561050b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061052f9190610fdc565b61056e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161056590611335565b60405180910390fd5b60018160200190600281111561058757610586611355565b5b9081600281111561059b5761059a611355565b5b815250508173ffffffffffffffffffffffffffffffffffffffff1663559dc3d0826040518263ffffffff1660e01b81526004016105d8919061140a565b6020604051808303816000875af11580156105f7573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061061b9190610f4d565b505050505050565b60008173ffffffffffffffffffffffffffffffffffffffff1663fb2cb1016040518163ffffffff1660e01b8152600401602060405180830381865afa158015610670573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061069491906110b2565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610701576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106f890611471565b60405180910390fd5b60008273ffffffffffffffffffffffffffffffffffffffff1663de7b5d146040518163ffffffff1660e01b8152600401602060405180830381865afa15801561074e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107729190611189565b90508073ffffffffffffffffffffffffffffffffffffffff16636078a3b2846040518263ffffffff1660e01b81526004016107ad91906114b2565b6020604051808303816000875af11580156107cc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107f09190610f4d565b915050919050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b8060008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663d272ac1e836040518263ffffffff1660e01b815260040161087e9190610f06565b602060405180830381865afa15801561089b573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108bf9190610f4d565b9050806bffffffffffffffffffffffff1673__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__6330b8415f90916040518263ffffffff1660e01b81526004016109089190610f89565b602060405180830381865af4158015610925573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109499190610fdc565b610988576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161097f90611066565b60405180910390fd5b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663df33330b826040518263ffffffff1660e01b81526004016109e19190610e6c565b602060405180830381865afa1580156109fe573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a2291906110b2565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610a8f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a869061112b565b60405180910390fd5b60008373ffffffffffffffffffffffffffffffffffffffff1663de7b5d146040518163ffffffff1660e01b8152600401602060405180830381865afa158015610adc573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b009190611189565b905060008173ffffffffffffffffffffffffffffffffffffffff1663f0ea17c38673ffffffffffffffffffffffffffffffffffffffff1663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015610b6b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b8f9190610f4d565b6040518263ffffffff1660e01b8152600401610bab9190610e6c565b6040805180830381865afa158015610bc7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610beb91906112bc565b905080600001516bffffffffffffffffffffffff1673__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__6330b8415f90916040518263ffffffff1660e01b8152600401610c389190610f89565b602060405180830381865af4158015610c55573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c799190610fdc565b610cb8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610caf90611335565b60405180910390fd5b600281602001906002811115610cd157610cd0611355565b5b90816002811115610ce557610ce4611355565b5b815250508173ffffffffffffffffffffffffffffffffffffffff1663559dc3d0826040518263ffffffff1660e01b8152600401610d22919061140a565b6020604051808303816000875af1158015610d41573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d659190610f4d565b505050505050565b6000604051905090565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000610da782610d7c565b9050919050565b6000610db982610d9c565b9050919050565b610dc981610dae565b8114610dd457600080fd5b50565b600081359050610de681610dc0565b92915050565b600060208284031215610e0257610e01610d77565b5b6000610e1084828501610dd7565b91505092915050565b60006bffffffffffffffffffffffff82169050919050565b6000819050919050565b6000610e56610e51610e4c84610e19565b610e31565b610e19565b9050919050565b610e6681610e3b565b82525050565b6000602082019050610e816000830184610e5d565b92915050565b6000610ea2610e9d610e9884610d7c565b610e31565b610d7c565b9050919050565b6000610eb482610e87565b9050919050565b6000610ec682610ea9565b9050919050565b610ed681610ebb565b82525050565b6000602082019050610ef16000830184610ecd565b92915050565b610f0081610d9c565b82525050565b6000602082019050610f1b6000830184610ef7565b92915050565b610f2a81610e19565b8114610f3557600080fd5b50565b600081519050610f4781610f21565b92915050565b600060208284031215610f6357610f62610d77565b5b6000610f7184828501610f38565b91505092915050565b610f8381610e3b565b82525050565b6000602082019050610f9e6000830184610f7a565b92915050565b60008115159050919050565b610fb981610fa4565b8114610fc457600080fd5b50565b600081519050610fd681610fb0565b92915050565b600060208284031215610ff257610ff1610d77565b5b600061100084828501610fc7565b91505092915050565b600082825260208201905092915050565b7f4552524f523a434f532d3030313a434f4d504f4e454e545f554e4b4e4f574e00600082015250565b6000611050601f83611009565b915061105b8261101a565b602082019050919050565b6000602082019050818103600083015261107f81611043565b9050919050565b61108f81610d9c565b811461109a57600080fd5b50565b6000815190506110ac81611086565b92915050565b6000602082840312156110c8576110c7610d77565b5b60006110d68482850161109d565b91505092915050565b7f4552524f523a434f532d3030323a4e4f545f4f574e4552000000000000000000600082015250565b6000611115601783611009565b9150611120826110df565b602082019050919050565b6000602082019050818103600083015261114481611108565b9050919050565b600061115682610d9c565b9050919050565b6111668161114b565b811461117157600080fd5b50565b6000815190506111838161115d565b92915050565b60006020828403121561119f5761119e610d77565b5b60006111ad84828501611174565b91505092915050565b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b611204826111bb565b810181811067ffffffffffffffff82111715611223576112226111cc565b5b80604052505050565b6000611236610d6d565b905061124282826111fb565b919050565b6003811061125457600080fd5b50565b60008151905061126681611247565b92915050565b600060408284031215611282576112816111b6565b5b61128c604061122c565b9050600061129c84828501610f38565b60008301525060206112b084828501611257565b60208301525092915050565b6000604082840312156112d2576112d1610d77565b5b60006112e08482850161126c565b91505092915050565b7f4552524f525f434f4d504f4e454e545f554e4b4e4f574e000000000000000000600082015250565b600061131f601783611009565b915061132a826112e9565b602082019050919050565b6000602082019050818103600083015261134e81611312565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b61138d81610e3b565b82525050565b600381106113a4576113a3611355565b5b50565b60008190506113b582611393565b919050565b60006113c5826113a7565b9050919050565b6113d5816113ba565b82525050565b6040820160008201516113f16000850182611384565b50602082015161140460208501826113cc565b50505050565b600060408201905061141f60008301846113db565b92915050565b7f4552524f523a434f532d3030333a4e4f545f4f574e4552000000000000000000600082015250565b600061145b601783611009565b915061146682611425565b602082019050919050565b6000602082019050818103600083015261148a8161144e565b9050919050565b600061149c82610ea9565b9050919050565b6114ac81611491565b82525050565b60006020820190506114c760008301846114a3565b9291505056fea2646970667358221220b6cdc846b7cb1b086c55eef73306c8ca2e6daa9526531fa25fbbdab91d4c4a7264736f6c63430008140033",
|
148
|
+
"bytecode": "0x608060405234801561001057600080fd5b506040516111aa3803806111aa83398101604081905261002f91610054565b600080546001600160a01b0319166001600160a01b0392909216919091179055610084565b60006020828403121561006657600080fd5b81516001600160a01b038116811461007d57600080fd5b9392505050565b611117806100936000396000f3fe608060405234801561001057600080fd5b50600436106100575760003560e01c80632f6c493c1461005c5780634420e486146100715780635ab1bd53146100a1578063f435f5a7146100bc578063f7608976146100cf575b600080fd5b61006f61006a366004610e52565b6100e2565b005b61008461007f366004610e52565b610546565b6040516001600160601b0390911681526020015b60405180910390f35b6000546040516001600160a01b039091168152602001610098565b61006f6100ca366004610e52565b6106e5565b61006f6100dd366004610ecc565b610aa5565b60008054604051636939560f60e11b81526001600160a01b038085166004830152849392169063d272ac1e90602401602060405180830381865afa15801561012e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906101529190610f2f565b6040516330b8415f60e01b81526001600160601b038216600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af41580156101ad573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906101d19190610f4a565b6101f65760405162461bcd60e51b81526004016101ed90610f6c565b60405180910390fd5b60005460405163df33330b60e01b81526001600160601b03831660048201526001600160a01b039091169063df33330b90602401602060405180830381865afa158015610247573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061026b9190610fa3565b6001600160a01b0316336001600160a01b03161461029b5760405162461bcd60e51b81526004016101ed90610fc0565b6000836001600160a01b031663de7b5d146040518163ffffffff1660e01b8152600401602060405180830381865afa1580156102db573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102ff9190610fa3565b90506000816001600160a01b031663f0ea17c3866001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015610350573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103749190610f2f565b6040516001600160e01b031960e084901b1681526001600160601b039091166004820152602401606060405180830381865afa1580156103b8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103dc9190611006565b80516040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af415801561043a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061045e9190610f4a565b6104a45760405162461bcd60e51b815260206004820152601760248201527622a92927a92fa1a7a6a827a722a72a2faaa725a727aba760491b60448201526064016101ed565b60645b60ff908116602083019081526040805163bd62faf760e01b815284516001600160601b0316600482015291519092166024820152908201516001600160a01b03908116604483015283169063bd62faf7906064016020604051808303816000875af115801561051a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061053e9190610f2f565b505050505050565b6000816001600160a01b031663fb2cb1016040518163ffffffff1660e01b8152600401602060405180830381865afa158015610586573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105aa9190610fa3565b6001600160a01b0316336001600160a01b03161461060a5760405162461bcd60e51b815260206004820152601760248201527f4552524f523a434f532d3030333a4e4f545f4f574e455200000000000000000060448201526064016101ed565b6000826001600160a01b031663de7b5d146040518163ffffffff1660e01b8152600401602060405180830381865afa15801561064a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061066e9190610fa3565b60405163303c51d960e11b81526001600160a01b03858116600483015291925090821690636078a3b2906024016020604051808303816000875af11580156106ba573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106de9190610f2f565b9392505050565b60008054604051636939560f60e11b81526001600160a01b038085166004830152849392169063d272ac1e90602401602060405180830381865afa158015610731573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107559190610f2f565b6040516330b8415f60e01b81526001600160601b038216600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af41580156107b0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107d49190610f4a565b6107f05760405162461bcd60e51b81526004016101ed90610f6c565b60005460405163df33330b60e01b81526001600160601b03831660048201526001600160a01b039091169063df33330b90602401602060405180830381865afa158015610841573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108659190610fa3565b6001600160a01b0316336001600160a01b0316146108955760405162461bcd60e51b81526004016101ed90610fc0565b6000836001600160a01b031663de7b5d146040518163ffffffff1660e01b8152600401602060405180830381865afa1580156108d5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108f99190610fa3565b90506000816001600160a01b031663f0ea17c3866001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa15801561094a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061096e9190610f2f565b6040516001600160e01b031960e084901b1681526001600160601b039091166004820152602401606060405180830381865afa1580156109b2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109d69190611006565b80516040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610a34573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a589190610f4a565b610a9e5760405162461bcd60e51b815260206004820152601760248201527622a92927a92fa1a7a6a827a722a72a2faaa725a727aba760491b60448201526064016101ed565b606e6104a7565b60008054604051636939560f60e11b81526001600160a01b038087166004830152869392169063d272ac1e90602401602060405180830381865afa158015610af1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b159190610f2f565b6040516330b8415f60e01b81526001600160601b038216600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610b70573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b949190610f4a565b610bb05760405162461bcd60e51b81526004016101ed90610f6c565b60005460405163df33330b60e01b81526001600160601b03831660048201526001600160a01b039091169063df33330b90602401602060405180830381865afa158015610c01573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c259190610fa3565b6001600160a01b0316336001600160a01b031614610c555760405162461bcd60e51b81526004016101ed90610fc0565b610cc3856001600160a01b03166315dae03e6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610c96573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cba9190611084565b60ff16603c1490565b610d035760405162461bcd60e51b815260206004820152601160248201527011549493d497d393d517d41493d11550d5607a1b60448201526064016101ed565b6000856001600160a01b031663de7b5d146040518163ffffffff1660e01b8152600401602060405180830381865afa158015610d43573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d679190610fa3565b90506000819050806001600160a01b031663dc261c3a886001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015610dbb573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ddf9190610f2f565b88886040518463ffffffff1660e01b8152600401610dff939291906110a1565b600060405180830381600087803b158015610e1957600080fd5b505af1158015610e2d573d6000803e3d6000fd5b5050505050505050505050565b6001600160a01b0381168114610e4f57600080fd5b50565b600060208284031215610e6457600080fd5b81356106de81610e3a565b600060408284031215610e8157600080fd5b6040516040810181811067ffffffffffffffff82111715610eb257634e487b7160e01b600052604160045260246000fd5b604052823581526020928301359281019290925250919050565b600080600060a08486031215610ee157600080fd5b8335610eec81610e3a565b9250610efb8560208601610e6f565b9150610f0a8560608601610e6f565b90509250925092565b80516001600160601b0381168114610f2a57600080fd5b919050565b600060208284031215610f4157600080fd5b6106de82610f13565b600060208284031215610f5c57600080fd5b815180151581146106de57600080fd5b6020808252601f908201527f4552524f523a434f532d3030313a434f4d504f4e454e545f554e4b4e4f574e00604082015260600190565b600060208284031215610fb557600080fd5b81516106de81610e3a565b60208082526017908201527f4552524f523a434f532d3030323a4e4f545f4f574e4552000000000000000000604082015260600190565b60ff81168114610e4f57600080fd5b60006060828403121561101857600080fd5b6040516060810181811067ffffffffffffffff8211171561104957634e487b7160e01b600052604160045260246000fd5b60405261105583610f13565b8152602083015161106581610ff7565b6020820152604083015161107881610e3a565b60408201529392505050565b60006020828403121561109657600080fd5b81516106de81610ff7565b6001600160601b038416815260a081016110c8602083018580518252602090810151910152565b825160608301526020830151608083015294935050505056fea2646970667358221220bf8c9a42fbc5577044dbae8253ab5f04c627e52ccbc115fef49048d99f8b220f64736f6c63430008140033",
|
149
|
+
"deployedBytecode": "0x608060405234801561001057600080fd5b50600436106100575760003560e01c80632f6c493c1461005c5780634420e486146100715780635ab1bd53146100a1578063f435f5a7146100bc578063f7608976146100cf575b600080fd5b61006f61006a366004610e52565b6100e2565b005b61008461007f366004610e52565b610546565b6040516001600160601b0390911681526020015b60405180910390f35b6000546040516001600160a01b039091168152602001610098565b61006f6100ca366004610e52565b6106e5565b61006f6100dd366004610ecc565b610aa5565b60008054604051636939560f60e11b81526001600160a01b038085166004830152849392169063d272ac1e90602401602060405180830381865afa15801561012e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906101529190610f2f565b6040516330b8415f60e01b81526001600160601b038216600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af41580156101ad573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906101d19190610f4a565b6101f65760405162461bcd60e51b81526004016101ed90610f6c565b60405180910390fd5b60005460405163df33330b60e01b81526001600160601b03831660048201526001600160a01b039091169063df33330b90602401602060405180830381865afa158015610247573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061026b9190610fa3565b6001600160a01b0316336001600160a01b03161461029b5760405162461bcd60e51b81526004016101ed90610fc0565b6000836001600160a01b031663de7b5d146040518163ffffffff1660e01b8152600401602060405180830381865afa1580156102db573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102ff9190610fa3565b90506000816001600160a01b031663f0ea17c3866001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015610350573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103749190610f2f565b6040516001600160e01b031960e084901b1681526001600160601b039091166004820152602401606060405180830381865afa1580156103b8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103dc9190611006565b80516040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af415801561043a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061045e9190610f4a565b6104a45760405162461bcd60e51b815260206004820152601760248201527622a92927a92fa1a7a6a827a722a72a2faaa725a727aba760491b60448201526064016101ed565b60645b60ff908116602083019081526040805163bd62faf760e01b815284516001600160601b0316600482015291519092166024820152908201516001600160a01b03908116604483015283169063bd62faf7906064016020604051808303816000875af115801561051a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061053e9190610f2f565b505050505050565b6000816001600160a01b031663fb2cb1016040518163ffffffff1660e01b8152600401602060405180830381865afa158015610586573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105aa9190610fa3565b6001600160a01b0316336001600160a01b03161461060a5760405162461bcd60e51b815260206004820152601760248201527f4552524f523a434f532d3030333a4e4f545f4f574e455200000000000000000060448201526064016101ed565b6000826001600160a01b031663de7b5d146040518163ffffffff1660e01b8152600401602060405180830381865afa15801561064a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061066e9190610fa3565b60405163303c51d960e11b81526001600160a01b03858116600483015291925090821690636078a3b2906024016020604051808303816000875af11580156106ba573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106de9190610f2f565b9392505050565b60008054604051636939560f60e11b81526001600160a01b038085166004830152849392169063d272ac1e90602401602060405180830381865afa158015610731573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107559190610f2f565b6040516330b8415f60e01b81526001600160601b038216600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af41580156107b0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107d49190610f4a565b6107f05760405162461bcd60e51b81526004016101ed90610f6c565b60005460405163df33330b60e01b81526001600160601b03831660048201526001600160a01b039091169063df33330b90602401602060405180830381865afa158015610841573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108659190610fa3565b6001600160a01b0316336001600160a01b0316146108955760405162461bcd60e51b81526004016101ed90610fc0565b6000836001600160a01b031663de7b5d146040518163ffffffff1660e01b8152600401602060405180830381865afa1580156108d5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108f99190610fa3565b90506000816001600160a01b031663f0ea17c3866001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa15801561094a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061096e9190610f2f565b6040516001600160e01b031960e084901b1681526001600160601b039091166004820152602401606060405180830381865afa1580156109b2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109d69190611006565b80516040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610a34573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a589190610f4a565b610a9e5760405162461bcd60e51b815260206004820152601760248201527622a92927a92fa1a7a6a827a722a72a2faaa725a727aba760491b60448201526064016101ed565b606e6104a7565b60008054604051636939560f60e11b81526001600160a01b038087166004830152869392169063d272ac1e90602401602060405180830381865afa158015610af1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b159190610f2f565b6040516330b8415f60e01b81526001600160601b038216600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610b70573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b949190610f4a565b610bb05760405162461bcd60e51b81526004016101ed90610f6c565b60005460405163df33330b60e01b81526001600160601b03831660048201526001600160a01b039091169063df33330b90602401602060405180830381865afa158015610c01573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c259190610fa3565b6001600160a01b0316336001600160a01b031614610c555760405162461bcd60e51b81526004016101ed90610fc0565b610cc3856001600160a01b03166315dae03e6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610c96573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cba9190611084565b60ff16603c1490565b610d035760405162461bcd60e51b815260206004820152601160248201527011549493d497d393d517d41493d11550d5607a1b60448201526064016101ed565b6000856001600160a01b031663de7b5d146040518163ffffffff1660e01b8152600401602060405180830381865afa158015610d43573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d679190610fa3565b90506000819050806001600160a01b031663dc261c3a886001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015610dbb573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ddf9190610f2f565b88886040518463ffffffff1660e01b8152600401610dff939291906110a1565b600060405180830381600087803b158015610e1957600080fd5b505af1158015610e2d573d6000803e3d6000fd5b5050505050505050505050565b6001600160a01b0381168114610e4f57600080fd5b50565b600060208284031215610e6457600080fd5b81356106de81610e3a565b600060408284031215610e8157600080fd5b6040516040810181811067ffffffffffffffff82111715610eb257634e487b7160e01b600052604160045260246000fd5b604052823581526020928301359281019290925250919050565b600080600060a08486031215610ee157600080fd5b8335610eec81610e3a565b9250610efb8560208601610e6f565b9150610f0a8560608601610e6f565b90509250925092565b80516001600160601b0381168114610f2a57600080fd5b919050565b600060208284031215610f4157600080fd5b6106de82610f13565b600060208284031215610f5c57600080fd5b815180151581146106de57600080fd5b6020808252601f908201527f4552524f523a434f532d3030313a434f4d504f4e454e545f554e4b4e4f574e00604082015260600190565b600060208284031215610fb557600080fd5b81516106de81610e3a565b60208082526017908201527f4552524f523a434f532d3030323a4e4f545f4f574e4552000000000000000000604082015260600190565b60ff81168114610e4f57600080fd5b60006060828403121561101857600080fd5b6040516060810181811067ffffffffffffffff8211171561104957634e487b7160e01b600052604160045260246000fd5b60405261105583610f13565b8152602083015161106581610ff7565b6020820152604083015161107881610e3a565b60408201529392505050565b60006020828403121561109657600080fd5b81516106de81610ff7565b6001600160601b038416815260a081016110c8602083018580518252602090810151910152565b825160608301526020830151608083015294935050505056fea2646970667358221220bf8c9a42fbc5577044dbae8253ab5f04c627e52ccbc115fef49048d99f8b220f64736f6c63430008140033",
|
103
150
|
"linkReferences": {
|
104
151
|
"contracts/types/NftId.sol": {
|
105
152
|
"NftIdLib": [
|
106
153
|
{
|
107
154
|
"length": 20,
|
108
|
-
"start":
|
155
|
+
"start": 518
|
156
|
+
},
|
157
|
+
{
|
158
|
+
"length": 20,
|
159
|
+
"start": 1171
|
109
160
|
},
|
110
161
|
{
|
111
162
|
"length": 20,
|
112
|
-
"start":
|
163
|
+
"start": 2057
|
113
164
|
},
|
114
165
|
{
|
115
166
|
"length": 20,
|
116
|
-
"start":
|
167
|
+
"start": 2701
|
117
168
|
},
|
118
169
|
{
|
119
170
|
"length": 20,
|
120
|
-
"start":
|
171
|
+
"start": 3017
|
121
172
|
}
|
122
173
|
]
|
123
174
|
}
|
@@ -127,19 +178,23 @@
|
|
127
178
|
"NftIdLib": [
|
128
179
|
{
|
129
180
|
"length": 20,
|
130
|
-
"start":
|
181
|
+
"start": 371
|
182
|
+
},
|
183
|
+
{
|
184
|
+
"length": 20,
|
185
|
+
"start": 1024
|
131
186
|
},
|
132
187
|
{
|
133
188
|
"length": 20,
|
134
|
-
"start":
|
189
|
+
"start": 1910
|
135
190
|
},
|
136
191
|
{
|
137
192
|
"length": 20,
|
138
|
-
"start":
|
193
|
+
"start": 2554
|
139
194
|
},
|
140
195
|
{
|
141
196
|
"length": 20,
|
142
|
-
"start":
|
197
|
+
"start": 2870
|
143
198
|
}
|
144
199
|
]
|
145
200
|
}
|
@@ -119,14 +119,40 @@
|
|
119
119
|
"stateMutability": "view",
|
120
120
|
"type": "function"
|
121
121
|
},
|
122
|
+
{
|
123
|
+
"inputs": [],
|
124
|
+
"name": "getToken",
|
125
|
+
"outputs": [
|
126
|
+
{
|
127
|
+
"internalType": "contract IERC20Metadata",
|
128
|
+
"name": "token",
|
129
|
+
"type": "address"
|
130
|
+
}
|
131
|
+
],
|
132
|
+
"stateMutability": "view",
|
133
|
+
"type": "function"
|
134
|
+
},
|
122
135
|
{
|
123
136
|
"inputs": [],
|
124
137
|
"name": "getType",
|
125
138
|
"outputs": [
|
126
139
|
{
|
127
|
-
"internalType": "
|
140
|
+
"internalType": "ObjectType",
|
128
141
|
"name": "objectType",
|
129
|
-
"type": "
|
142
|
+
"type": "uint8"
|
143
|
+
}
|
144
|
+
],
|
145
|
+
"stateMutability": "view",
|
146
|
+
"type": "function"
|
147
|
+
},
|
148
|
+
{
|
149
|
+
"inputs": [],
|
150
|
+
"name": "getWallet",
|
151
|
+
"outputs": [
|
152
|
+
{
|
153
|
+
"internalType": "address",
|
154
|
+
"name": "walletAddress",
|
155
|
+
"type": "address"
|
130
156
|
}
|
131
157
|
],
|
132
158
|
"stateMutability": "view",
|
@@ -97,9 +97,14 @@
|
|
97
97
|
"type": "uint96"
|
98
98
|
},
|
99
99
|
{
|
100
|
-
"internalType": "
|
100
|
+
"internalType": "StateId",
|
101
101
|
"name": "state",
|
102
102
|
"type": "uint8"
|
103
|
+
},
|
104
|
+
{
|
105
|
+
"internalType": "contract IERC20Metadata",
|
106
|
+
"name": "token",
|
107
|
+
"type": "address"
|
103
108
|
}
|
104
109
|
],
|
105
110
|
"internalType": "struct IComponent.ComponentInfo",
|
@@ -110,25 +115,6 @@
|
|
110
115
|
"stateMutability": "view",
|
111
116
|
"type": "function"
|
112
117
|
},
|
113
|
-
{
|
114
|
-
"inputs": [
|
115
|
-
{
|
116
|
-
"internalType": "NftId",
|
117
|
-
"name": "nftId",
|
118
|
-
"type": "uint96"
|
119
|
-
}
|
120
|
-
],
|
121
|
-
"name": "getComponentOwner",
|
122
|
-
"outputs": [
|
123
|
-
{
|
124
|
-
"internalType": "address",
|
125
|
-
"name": "owner",
|
126
|
-
"type": "address"
|
127
|
-
}
|
128
|
-
],
|
129
|
-
"stateMutability": "view",
|
130
|
-
"type": "function"
|
131
|
-
},
|
132
118
|
{
|
133
119
|
"inputs": [],
|
134
120
|
"name": "getComponentOwnerService",
|
@@ -155,25 +141,6 @@
|
|
155
141
|
"stateMutability": "view",
|
156
142
|
"type": "function"
|
157
143
|
},
|
158
|
-
{
|
159
|
-
"inputs": [
|
160
|
-
{
|
161
|
-
"internalType": "NftId",
|
162
|
-
"name": "productNftId",
|
163
|
-
"type": "uint96"
|
164
|
-
}
|
165
|
-
],
|
166
|
-
"name": "getPoolNftId",
|
167
|
-
"outputs": [
|
168
|
-
{
|
169
|
-
"internalType": "NftId",
|
170
|
-
"name": "poolNftId",
|
171
|
-
"type": "uint96"
|
172
|
-
}
|
173
|
-
],
|
174
|
-
"stateMutability": "view",
|
175
|
-
"type": "function"
|
176
|
-
},
|
177
144
|
{
|
178
145
|
"inputs": [],
|
179
146
|
"name": "getRegistry",
|
@@ -216,9 +183,14 @@
|
|
216
183
|
"type": "uint96"
|
217
184
|
},
|
218
185
|
{
|
219
|
-
"internalType": "
|
186
|
+
"internalType": "StateId",
|
220
187
|
"name": "state",
|
221
188
|
"type": "uint8"
|
189
|
+
},
|
190
|
+
{
|
191
|
+
"internalType": "contract IERC20Metadata",
|
192
|
+
"name": "token",
|
193
|
+
"type": "address"
|
222
194
|
}
|
223
195
|
],
|
224
196
|
"internalType": "struct IComponent.ComponentInfo",
|
@@ -73,6 +73,53 @@
|
|
73
73
|
"stateMutability": "nonpayable",
|
74
74
|
"type": "function"
|
75
75
|
},
|
76
|
+
{
|
77
|
+
"inputs": [
|
78
|
+
{
|
79
|
+
"internalType": "contract IComponentContract",
|
80
|
+
"name": "product",
|
81
|
+
"type": "address"
|
82
|
+
},
|
83
|
+
{
|
84
|
+
"components": [
|
85
|
+
{
|
86
|
+
"internalType": "UFixed",
|
87
|
+
"name": "fractionalFee",
|
88
|
+
"type": "uint256"
|
89
|
+
},
|
90
|
+
{
|
91
|
+
"internalType": "uint256",
|
92
|
+
"name": "fixedFee",
|
93
|
+
"type": "uint256"
|
94
|
+
}
|
95
|
+
],
|
96
|
+
"internalType": "struct Fee",
|
97
|
+
"name": "policyFee",
|
98
|
+
"type": "tuple"
|
99
|
+
},
|
100
|
+
{
|
101
|
+
"components": [
|
102
|
+
{
|
103
|
+
"internalType": "UFixed",
|
104
|
+
"name": "fractionalFee",
|
105
|
+
"type": "uint256"
|
106
|
+
},
|
107
|
+
{
|
108
|
+
"internalType": "uint256",
|
109
|
+
"name": "fixedFee",
|
110
|
+
"type": "uint256"
|
111
|
+
}
|
112
|
+
],
|
113
|
+
"internalType": "struct Fee",
|
114
|
+
"name": "processingFee",
|
115
|
+
"type": "tuple"
|
116
|
+
}
|
117
|
+
],
|
118
|
+
"name": "setProductFees",
|
119
|
+
"outputs": [],
|
120
|
+
"stateMutability": "nonpayable",
|
121
|
+
"type": "function"
|
122
|
+
},
|
76
123
|
{
|
77
124
|
"inputs": [
|
78
125
|
{
|