generated from dgma/sol-starter
-
Notifications
You must be signed in to change notification settings - Fork 0
/
deployment-lock.json
322 lines (322 loc) · 16.7 KB
/
deployment-lock.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
{
"mainnet": {
"Miller": {
"address": "0x5eB167E672f59beef587b55aA5716e2dd6C0Bc96",
"abi": [
{
"type": "error",
"inputs": [
{
"name": "target",
"type": "address",
"baseType": "address",
"components": null,
"arrayLength": null,
"arrayChildren": null
}
],
"name": "AddressEmptyCode"
},
{
"type": "error",
"inputs": [
{
"name": "account",
"type": "address",
"baseType": "address",
"components": null,
"arrayLength": null,
"arrayChildren": null
}
],
"name": "AddressInsufficientBalance"
},
{ "type": "error", "inputs": [], "name": "FailedInnerCall" },
{ "type": "error", "inputs": [], "name": "RecipientRevert" },
{
"type": "error",
"inputs": [
{
"name": "token",
"type": "address",
"baseType": "address",
"components": null,
"arrayLength": null,
"arrayChildren": null
}
],
"name": "SafeERC20FailedOperation"
},
{
"type": "event",
"inputs": [
{
"name": "initiator",
"type": "address",
"baseType": "address",
"indexed": false,
"components": null,
"arrayLength": null,
"arrayChildren": null
}
],
"name": "Distribute",
"anonymous": false
},
{
"type": "function",
"inputs": [
{
"name": "config",
"type": "tuple[]",
"baseType": "array",
"components": null,
"arrayLength": -1,
"arrayChildren": {
"name": "",
"type": "tuple",
"baseType": "tuple",
"components": [
{
"name": "amount",
"type": "uint240",
"baseType": "uint240",
"components": null,
"arrayLength": null,
"arrayChildren": null
},
{
"name": "to",
"type": "address",
"baseType": "address",
"components": null,
"arrayLength": null,
"arrayChildren": null
}
],
"arrayLength": null,
"arrayChildren": null
}
}
],
"name": "distribute",
"constant": false,
"outputs": [],
"stateMutability": "payable",
"payable": true,
"gas": null
},
{
"type": "function",
"inputs": [
{
"name": "config",
"type": "tuple[]",
"baseType": "array",
"components": null,
"arrayLength": -1,
"arrayChildren": {
"name": "",
"type": "tuple",
"baseType": "tuple",
"components": [
{
"name": "amount",
"type": "uint240",
"baseType": "uint240",
"components": null,
"arrayLength": null,
"arrayChildren": null
},
{
"name": "to",
"type": "address",
"baseType": "address",
"components": null,
"arrayLength": null,
"arrayChildren": null
}
],
"arrayLength": null,
"arrayChildren": null
}
},
{
"name": "token",
"type": "address",
"baseType": "address",
"components": null,
"arrayLength": null,
"arrayChildren": null
},
{
"name": "permitAmount",
"type": "uint240",
"baseType": "uint240",
"components": null,
"arrayLength": null,
"arrayChildren": null
},
{
"name": "deadline",
"type": "uint256",
"baseType": "uint256",
"components": null,
"arrayLength": null,
"arrayChildren": null
},
{
"name": "v",
"type": "uint8",
"baseType": "uint8",
"components": null,
"arrayLength": null,
"arrayChildren": null
},
{
"name": "r",
"type": "bytes32",
"baseType": "bytes32",
"components": null,
"arrayLength": null,
"arrayChildren": null
},
{
"name": "s",
"type": "bytes32",
"baseType": "bytes32",
"components": null,
"arrayLength": null,
"arrayChildren": null
}
],
"name": "distributeERC20",
"constant": false,
"outputs": [],
"stateMutability": "nonpayable",
"payable": false,
"gas": null
},
{
"type": "function",
"inputs": [
{
"name": "amount",
"type": "uint240",
"baseType": "uint240",
"components": null,
"arrayLength": null,
"arrayChildren": null
},
{
"name": "to",
"type": "address[]",
"baseType": "array",
"components": null,
"arrayLength": -1,
"arrayChildren": {
"name": "",
"type": "address",
"baseType": "address",
"components": null,
"arrayLength": null,
"arrayChildren": null
}
},
{
"name": "token",
"type": "address",
"baseType": "address",
"components": null,
"arrayLength": null,
"arrayChildren": null
},
{
"name": "permitAmount",
"type": "uint240",
"baseType": "uint240",
"components": null,
"arrayLength": null,
"arrayChildren": null
},
{
"name": "deadline",
"type": "uint256",
"baseType": "uint256",
"components": null,
"arrayLength": null,
"arrayChildren": null
},
{
"name": "v",
"type": "uint8",
"baseType": "uint8",
"components": null,
"arrayLength": null,
"arrayChildren": null
},
{
"name": "r",
"type": "bytes32",
"baseType": "bytes32",
"components": null,
"arrayLength": null,
"arrayChildren": null
},
{
"name": "s",
"type": "bytes32",
"baseType": "bytes32",
"components": null,
"arrayLength": null,
"arrayChildren": null
}
],
"name": "distributeERC20Fixed",
"constant": false,
"outputs": [],
"stateMutability": "nonpayable",
"payable": false,
"gas": null
},
{
"type": "function",
"inputs": [
{
"name": "amount",
"type": "uint240",
"baseType": "uint240",
"components": null,
"arrayLength": null,
"arrayChildren": null
},
{
"name": "to",
"type": "address[]",
"baseType": "array",
"components": null,
"arrayLength": -1,
"arrayChildren": {
"name": "",
"type": "address",
"baseType": "address",
"components": null,
"arrayLength": null,
"arrayChildren": null
}
}
],
"name": "distributeFixed",
"constant": false,
"outputs": [],
"stateMutability": "payable",
"payable": true,
"gas": null
}
],
"factoryByteCode": "0x608060405234801561001057600080fd5b50610f69806100206000396000f3fe60806040526004361061003f5760003560e01c80635c13bf3d146100445780639844b57514610060578063beed63e314610089578063f774c758146100b2575b600080fd5b61005e60048036038101906100599190610856565b6100ce565b005b34801561006c57600080fd5b5061008760048036038101906100829190610a52565b610187565b005b34801561009557600080fd5b506100b060048036038101906100ab9190610b28565b610229565b005b6100cc60048036038101906100c79190610bea565b6102f7565b005b600082829050905060005b8181101561014a5761013f8484838181106100f7576100f6610c4a565b5b905060400201602001602081019061010f9190610c79565b85858481811061012257610121610c4a565b5b905060400201600001602081019061013a9190610ca6565b610384565b8060010190506100d9565b507f2ab0d312ec5eef312bf327c57a266c37191bf9c85aeea6c7d67c3a2db9f05bb73360405161017a9190610ce2565b60405180910390a1505050565b61019586868686868661044c565b600088889050905060005b818110156101e5576101da8a8a838181106101be576101bd610c4a565b5b90506020020160208101906101d39190610c79565b898d6104c5565b8060010190506101a0565b507f2ab0d312ec5eef312bf327c57a266c37191bf9c85aeea6c7d67c3a2db9f05bb7336040516102159190610ce2565b60405180910390a150505050505050505050565b61023786868686868661044c565b600088889050905060005b818110156102b4576102a98a8a838181106102605761025f610c4a565b5b90506040020160200160208101906102789190610c79565b898c8c8581811061028c5761028b610c4a565b5b90506040020160000160208101906102a49190610ca6565b6104c5565b806001019050610242565b507f2ab0d312ec5eef312bf327c57a266c37191bf9c85aeea6c7d67c3a2db9f05bb7336040516102e49190610ce2565b60405180910390a1505050505050505050565b600082829050905060005b818110156103465761033b8484838181106103205761031f610c4a565b5b90506020020160208101906103359190610c79565b86610384565b806001019050610302565b507f2ab0d312ec5eef312bf327c57a266c37191bf9c85aeea6c7d67c3a2db9f05bb7336040516103769190610ce2565b60405180910390a150505050565b60008273ffffffffffffffffffffffffffffffffffffffff16827dffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff166040516103ca90610d2e565b60006040518083038185875af1925050503d8060008114610407576040519150601f19603f3d011682016040523d82523d6000602084013e61040c565b606091505b5050905080610447576040517fbdbccb1200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b505050565b8573ffffffffffffffffffffffffffffffffffffffff1663d505accf333088888888886040518863ffffffff1660e01b81526004016104919796959493929190610dab565b600060405180830381600087803b1580156104ab57600080fd5b505af19250505080156104bc575060015b50505050505050565b6105123384837dffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16610517909392919063ffffffff16565b505050565b610593848573ffffffffffffffffffffffffffffffffffffffff166323b872dd86868660405160240161054c93929190610e1a565b604051602081830303815290604052915060e01b6020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050610599565b50505050565b60006105c4828473ffffffffffffffffffffffffffffffffffffffff1661063090919063ffffffff16565b905060008151141580156105e95750808060200190518101906105e79190610e89565b155b1561062b57826040517f5274afe70000000000000000000000000000000000000000000000000000000081526004016106229190610ce2565b60405180910390fd5b505050565b606061063e83836000610646565b905092915050565b60608147101561068d57306040517fcd7860590000000000000000000000000000000000000000000000000000000081526004016106849190610ce2565b60405180910390fd5b6000808573ffffffffffffffffffffffffffffffffffffffff1684866040516106b69190610f1c565b60006040518083038185875af1925050503d80600081146106f3576040519150601f19603f3d011682016040523d82523d6000602084013e6106f8565b606091505b5091509150610708868383610713565b925050509392505050565b60608261072857610723826107a2565b61079a565b60008251148015610750575060008473ffffffffffffffffffffffffffffffffffffffff163b145b1561079257836040517f9996b3150000000000000000000000000000000000000000000000000000000081526004016107899190610ce2565b60405180910390fd5b81905061079b565b5b9392505050565b6000815111156107b55780518082602001fd5b6040517f1425ea4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b60008083601f840112610816576108156107f1565b5b8235905067ffffffffffffffff811115610833576108326107f6565b5b60208301915083604082028301111561084f5761084e6107fb565b5b9250929050565b6000806020838503121561086d5761086c6107e7565b5b600083013567ffffffffffffffff81111561088b5761088a6107ec565b5b61089785828601610800565b92509250509250929050565b60007dffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82169050919050565b6108d6816108a3565b81146108e157600080fd5b50565b6000813590506108f3816108cd565b92915050565b60008083601f84011261090f5761090e6107f1565b5b8235905067ffffffffffffffff81111561092c5761092b6107f6565b5b602083019150836020820283011115610948576109476107fb565b5b9250929050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061097a8261094f565b9050919050565b61098a8161096f565b811461099557600080fd5b50565b6000813590506109a781610981565b92915050565b6000819050919050565b6109c0816109ad565b81146109cb57600080fd5b50565b6000813590506109dd816109b7565b92915050565b600060ff82169050919050565b6109f9816109e3565b8114610a0457600080fd5b50565b600081359050610a16816109f0565b92915050565b6000819050919050565b610a2f81610a1c565b8114610a3a57600080fd5b50565b600081359050610a4c81610a26565b92915050565b60008060008060008060008060006101008a8c031215610a7557610a746107e7565b5b6000610a838c828d016108e4565b99505060208a013567ffffffffffffffff811115610aa457610aa36107ec565b5b610ab08c828d016108f9565b98509850506040610ac38c828d01610998565b9650506060610ad48c828d016108e4565b9550506080610ae58c828d016109ce565b94505060a0610af68c828d01610a07565b93505060c0610b078c828d01610a3d565b92505060e0610b188c828d01610a3d565b9150509295985092959850929598565b60008060008060008060008060e0898b031215610b4857610b476107e7565b5b600089013567ffffffffffffffff811115610b6657610b656107ec565b5b610b728b828c01610800565b98509850506020610b858b828c01610998565b9650506040610b968b828c016108e4565b9550506060610ba78b828c016109ce565b9450506080610bb88b828c01610a07565b93505060a0610bc98b828c01610a3d565b92505060c0610bda8b828c01610a3d565b9150509295985092959890939650565b600080600060408486031215610c0357610c026107e7565b5b6000610c11868287016108e4565b935050602084013567ffffffffffffffff811115610c3257610c316107ec565b5b610c3e868287016108f9565b92509250509250925092565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600060208284031215610c8f57610c8e6107e7565b5b6000610c9d84828501610998565b91505092915050565b600060208284031215610cbc57610cbb6107e7565b5b6000610cca848285016108e4565b91505092915050565b610cdc8161096f565b82525050565b6000602082019050610cf76000830184610cd3565b92915050565b600081905092915050565b50565b6000610d18600083610cfd565b9150610d2382610d08565b600082019050919050565b6000610d3982610d0b565b9150819050919050565b6000819050919050565b6000610d68610d63610d5e846108a3565b610d43565b6109ad565b9050919050565b610d7881610d4d565b82525050565b610d87816109ad565b82525050565b610d96816109e3565b82525050565b610da581610a1c565b82525050565b600060e082019050610dc0600083018a610cd3565b610dcd6020830189610cd3565b610dda6040830188610d6f565b610de76060830187610d7e565b610df46080830186610d8d565b610e0160a0830185610d9c565b610e0e60c0830184610d9c565b98975050505050505050565b6000606082019050610e2f6000830186610cd3565b610e3c6020830185610cd3565b610e496040830184610d7e565b949350505050565b60008115159050919050565b610e6681610e51565b8114610e7157600080fd5b50565b600081519050610e8381610e5d565b92915050565b600060208284031215610e9f57610e9e6107e7565b5b6000610ead84828501610e74565b91505092915050565b600081519050919050565b60005b83811015610edf578082015181840152602081019050610ec4565b60008484015250505050565b6000610ef682610eb6565b610f008185610cfd565b9350610f10818560208601610ec1565b80840191505092915050565b6000610f288284610eeb565b91508190509291505056fea26469706673582212203766c7b24704e283f7b9e6b05ae86c0d5a6b51b5ecbbd85ae2284a0bdd9caa4464736f6c63430008140033",
"args": [],
"contractName": "Miller"
}
}
}