forked from dabdevelop/ABI
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathTestERC20Token.json
246 lines (246 loc) · 9.56 KB
/
TestERC20Token.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
{
"contract_name": "TestERC20Token",
"abi": [
{
"constant": true,
"inputs": [],
"name": "name",
"outputs": [
{
"name": "",
"type": "string"
}
],
"payable": false,
"type": "function"
},
{
"constant": false,
"inputs": [
{
"name": "_spender",
"type": "address"
},
{
"name": "_value",
"type": "uint256"
}
],
"name": "approve",
"outputs": [
{
"name": "success",
"type": "bool"
}
],
"payable": false,
"type": "function"
},
{
"constant": true,
"inputs": [],
"name": "totalSupply",
"outputs": [
{
"name": "",
"type": "uint256"
}
],
"payable": false,
"type": "function"
},
{
"constant": false,
"inputs": [
{
"name": "_from",
"type": "address"
},
{
"name": "_to",
"type": "address"
},
{
"name": "_value",
"type": "uint256"
}
],
"name": "transferFrom",
"outputs": [
{
"name": "success",
"type": "bool"
}
],
"payable": false,
"type": "function"
},
{
"constant": true,
"inputs": [],
"name": "decimals",
"outputs": [
{
"name": "",
"type": "uint8"
}
],
"payable": false,
"type": "function"
},
{
"constant": true,
"inputs": [],
"name": "standard",
"outputs": [
{
"name": "",
"type": "string"
}
],
"payable": false,
"type": "function"
},
{
"constant": true,
"inputs": [
{
"name": "",
"type": "address"
}
],
"name": "balanceOf",
"outputs": [
{
"name": "",
"type": "uint256"
}
],
"payable": false,
"type": "function"
},
{
"constant": true,
"inputs": [],
"name": "symbol",
"outputs": [
{
"name": "",
"type": "string"
}
],
"payable": false,
"type": "function"
},
{
"constant": false,
"inputs": [
{
"name": "_to",
"type": "address"
},
{
"name": "_value",
"type": "uint256"
}
],
"name": "transfer",
"outputs": [
{
"name": "success",
"type": "bool"
}
],
"payable": false,
"type": "function"
},
{
"constant": true,
"inputs": [
{
"name": "",
"type": "address"
},
{
"name": "",
"type": "address"
}
],
"name": "allowance",
"outputs": [
{
"name": "",
"type": "uint256"
}
],
"payable": false,
"type": "function"
},
{
"inputs": [
{
"name": "_name",
"type": "string"
},
{
"name": "_symbol",
"type": "string"
},
{
"name": "_supply",
"type": "uint256"
}
],
"payable": false,
"type": "constructor"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"name": "_from",
"type": "address"
},
{
"indexed": true,
"name": "_to",
"type": "address"
},
{
"indexed": false,
"name": "_value",
"type": "uint256"
}
],
"name": "Transfer",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"name": "_owner",
"type": "address"
},
{
"indexed": true,
"name": "_spender",
"type": "address"
},
{
"indexed": false,
"name": "_value",
"type": "uint256"
}
],
"name": "Approval",
"type": "event"
}
],
"unlinked_binary": "0x60a0604052600960608190527f546f6b656e20302e310000000000000000000000000000000000000000000000608090815261003e9160009190610147565b5060408051602081019182905260009081905261005d91600191610147565b5060408051602081019182905260009081905261007c91600291610147565b506003805460ff191690556000600455341561009457fe5b604051610a7d380380610a7d83398101604090815281516020830151918301519083019291909101905b828260005b5b5b600083511180156100d7575060008251115b15156100e35760006000fd5b82516100f6906001906020860190610147565b50815161010a906002906020850190610147565b506003805460ff191660ff83161790555b5050506004819055600160a060020a03331660009081526005602052604090208190555b5050506101e7565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1061018857805160ff19168380011785556101b5565b828001600101855582156101b5579182015b828111156101b557825182559160200191906001019061019a565b5b506101c29291506101c6565b5090565b6101e491905b808211156101c257600081556001016101cc565b5090565b90565b610887806101f66000396000f300606060405236156100885763ffffffff60e060020a60003504166306fdde03811461008a578063095ea7b31461011a57806318160ddd1461014d57806323b872dd1461016f578063313ce567146101a85780635a3b7e42146101ce57806370a082311461025e57806395d89b411461028c578063a9059cbb1461031c578063dd62ed3e1461034f575bfe5b341561009257fe5b61009a610383565b6040805160208082528351818301528351919283929083019185019080838382156100e0575b8051825260208311156100e057601f1990920191602091820191016100c0565b505050905090810190601f16801561010c5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561012257fe5b610139600160a060020a0360043516602435610410565b604080519115158252519081900360200190f35b341561015557fe5b61015d6104cf565b60408051918252519081900360200190f35b341561017757fe5b610139600160a060020a03600435811690602435166044356104d5565b604080519115158252519081900360200190f35b34156101b057fe5b6101b86105fb565b6040805160ff9092168252519081900360200190f35b34156101d657fe5b61009a610604565b6040805160208082528351818301528351919283929083019185019080838382156100e0575b8051825260208311156100e057601f1990920191602091820191016100c0565b505050905090810190601f16801561010c5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561026657fe5b61015d600160a060020a0360043516610692565b60408051918252519081900360200190f35b341561029457fe5b61009a6106a4565b6040805160208082528351818301528351919283929083019185019080838382156100e0575b8051825260208311156100e057601f1990920191602091820191016100c0565b505050905090810190601f16801561010c5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561032457fe5b610139600160a060020a036004351660243561072f565b604080519115158252519081900360200190f35b341561035757fe5b61015d600160a060020a03600435811690602435166107ed565b60408051918252519081900360200190f35b60018054604080516020600284861615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156104085780601f106103dd57610100808354040283529160200191610408565b820191906000526020600020905b8154815290600101906020018083116103eb57829003601f168201915b505050505081565b600082600160a060020a03811615156104295760006000fd5b8215806104595750600160a060020a03338116600090815260066020908152604080832093881683529290522054155b15156104655760006000fd5b600160a060020a03338116600081815260066020908152604080832094891680845294825291829020879055815187815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3600191505b5b5092915050565b60045481565b600083600160a060020a03811615156104ee5760006000fd5b83600160a060020a03811615156105055760006000fd5b600160a060020a0380871660009081526006602090815260408083203390941683529290522054610536908561080a565b600160a060020a038088166000818152600660209081526040808320339095168352938152838220949094559081526005909252902054610577908561080a565b600160a060020a0380881660009081526005602052604080822093909355908716815220546105a69085610821565b600160a060020a0380871660008181526005602090815260409182902094909455805188815290519193928a169260008051602061083c83398151915292918290030190a3600192505b5b505b509392505050565b60035460ff1681565b6000805460408051602060026001851615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156104085780601f106103dd57610100808354040283529160200191610408565b820191906000526020600020905b8154815290600101906020018083116103eb57829003601f168201915b505050505081565b60056020526000908152604090205481565b6002805460408051602060018416156101000260001901909316849004601f810184900484028201840190925281815292918301828280156104085780601f106103dd57610100808354040283529160200191610408565b820191906000526020600020905b8154815290600101906020018083116103eb57829003601f168201915b505050505081565b600082600160a060020a03811615156107485760006000fd5b600160a060020a03331660009081526005602052604090205461076b908461080a565b600160a060020a03338116600090815260056020526040808220939093559086168152205461079a9084610821565b600160a060020a0380861660008181526005602090815260409182902094909455805187815290519193339093169260008051602061083c83398151915292918290030190a3600191505b5b5092915050565b600660209081526000928352604080842090915290825290205481565b60008183101561081657fe5b508082035b92915050565b60008282018381101561083057fe5b8091505b50929150505600ddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa165627a7a72305820f134bc19c7f77a87fe479a54fc8bb126fe4fb59779fb23f49073069d8a66d3b50029",
"networks": {},
"schema_version": "0.0.5",
"updated_at": 1502266461764
}