UNPKG

4.04 kBJSONView Raw
1{
2 "abi": [
3 {
4 "name": "NewExchange",
5 "inputs": [
6 { "type": "address", "name": "token", "indexed": true },
7 { "type": "address", "name": "exchange", "indexed": true }
8 ],
9 "anonymous": false,
10 "type": "event"
11 },
12 {
13 "name": "initializeFactory",
14 "outputs": [],
15 "inputs": [{ "type": "address", "name": "template" }],
16 "constant": false,
17 "payable": false,
18 "type": "function",
19 "gas": 35725
20 },
21 {
22 "name": "createExchange",
23 "outputs": [{ "type": "address", "name": "out" }],
24 "inputs": [{ "type": "address", "name": "token" }],
25 "constant": false,
26 "payable": false,
27 "type": "function",
28 "gas": 187911
29 },
30 {
31 "name": "getExchange",
32 "outputs": [{ "type": "address", "name": "out" }],
33 "inputs": [{ "type": "address", "name": "token" }],
34 "constant": true,
35 "payable": false,
36 "type": "function",
37 "gas": 715
38 },
39 {
40 "name": "getToken",
41 "outputs": [{ "type": "address", "name": "out" }],
42 "inputs": [{ "type": "address", "name": "exchange" }],
43 "constant": true,
44 "payable": false,
45 "type": "function",
46 "gas": 745
47 },
48 {
49 "name": "getTokenWithId",
50 "outputs": [{ "type": "address", "name": "out" }],
51 "inputs": [{ "type": "uint256", "name": "token_id" }],
52 "constant": true,
53 "payable": false,
54 "type": "function",
55 "gas": 736
56 },
57 {
58 "name": "exchangeTemplate",
59 "outputs": [{ "type": "address", "name": "out" }],
60 "inputs": [],
61 "constant": true,
62 "payable": false,
63 "type": "function",
64 "gas": 633
65 },
66 {
67 "name": "tokenCount",
68 "outputs": [{ "type": "uint256", "name": "out" }],
69 "inputs": [],
70 "constant": true,
71 "payable": false,
72 "type": "function",
73 "gas": 663
74 }
75 ],
76 "evm": {
77 "bytecode": {
78 "object": "6103f056600035601c52740100000000000000000000000000000000000000006020526f7fffffffffffffffffffffffffffffff6040527fffffffffffffffffffffffffffffffff8000000000000000000000000000000060605274012a05f1fffffffffffffffffffffffffdabf41c006080527ffffffffffffffffffffffffed5fa0e000000000000000000000000000000000060a05263538a3f0e60005114156100ed57602060046101403734156100b457600080fd5b60043560205181106100c557600080fd5b50600054156100d357600080fd5b60006101405114156100e457600080fd5b61014051600055005b631648f38e60005114156102bf576020600461014037341561010e57600080fd5b600435602051811061011f57600080fd5b50600061014051141561013157600080fd5b6000600054141561014157600080fd5b60026101405160e05260c052604060c020541561015d57600080fd5b7f602e600c600039602e6000f33660006000376110006000366000730000000000610180526c010000000000000000000000006000540261019b527f5af41558576110006000f30000000000000000000000000000000000000000006101af5260406101806000f0806101cf57600080fd5b61016052610160513b6101e157600080fd5b610160513014156101f157600080fd5b6000600060246366d3820361022052610140516102405261023c6000610160515af161021c57600080fd5b6101605160026101405160e05260c052604060c020556101405160036101605160e05260c052604060c02055600154600160015401101561025c57600080fd5b6001600154016102a0526102a0516001556101405160046102a05160e05260c052604060c0205561016051610140517f9d42cb017eb05bd8944ab536a8b35bc68085931dd5f4356489801453923953f960006000a36101605160005260206000f3005b6306f2bf62600051141561030e57602060046101403734156102e057600080fd5b60043560205181106102f157600080fd5b5060026101405160e05260c052604060c0205460005260206000f3005b6359770438600051141561035d576020600461014037341561032f57600080fd5b600435602051811061034057600080fd5b5060036101405160e05260c052604060c0205460005260206000f3005b63aa65a6c0600051141561039a576020600461014037341561037e57600080fd5b60046101405160e05260c052604060c0205460005260206000f3005b631c2bbd1860005114156103c05734156103b357600080fd5b60005460005260206000f3005b639f181b5e60005114156103e65734156103d957600080fd5b60015460005260206000f3005b60006000fd5b6100046103f0036100046000396100046103f0036000f3"
79 }
80 }
81}