Skip to content

Commit de486fb

Browse files
authored
Merge pull request #3 from clovers-network/billy/buidlr
Billy/buidlr
2 parents 53036b6 + b82868e commit de486fb

File tree

105 files changed

+40454
-8288
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

105 files changed

+40454
-8288
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,3 +17,5 @@ installed_contracts
1717
clovers
1818
flat_contracts
1919
build
20+
artifacts
21+
truffle

artifacts/AddressUtils.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"contractName": "AddressUtils",
3+
"abi": [],
4+
"bytecode": "604c602c600b82828239805160001a60731460008114601c57601e565bfe5b5030600052607381538281f30073000000000000000000000000000000000000000030146080604052600080fd00a165627a7a72305820ba5744c12597e6616e9d5083ae3f0207d5baf5b9730511a00c7b31a956c40d090029",
5+
"linkReferences": {}
6+
}

artifacts/Admin.json

Lines changed: 108 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,108 @@
1+
{
2+
"contractName": "Admin",
3+
"abi": [
4+
{
5+
"constant": true,
6+
"inputs": [
7+
{
8+
"name": "_admin",
9+
"type": "address"
10+
}
11+
],
12+
"name": "isAdmin",
13+
"outputs": [
14+
{
15+
"name": "",
16+
"type": "bool"
17+
}
18+
],
19+
"payable": false,
20+
"stateMutability": "view",
21+
"type": "function"
22+
},
23+
{
24+
"constant": true,
25+
"inputs": [
26+
{
27+
"name": "",
28+
"type": "address"
29+
}
30+
],
31+
"name": "admins",
32+
"outputs": [
33+
{
34+
"name": "",
35+
"type": "bool"
36+
}
37+
],
38+
"payable": false,
39+
"stateMutability": "view",
40+
"type": "function"
41+
},
42+
{
43+
"constant": false,
44+
"inputs": [
45+
{
46+
"name": "_newAdmin",
47+
"type": "address"
48+
}
49+
],
50+
"name": "transferAdminship",
51+
"outputs": [],
52+
"payable": false,
53+
"stateMutability": "nonpayable",
54+
"type": "function"
55+
},
56+
{
57+
"constant": false,
58+
"inputs": [
59+
{
60+
"name": "_previousAdmin",
61+
"type": "address"
62+
}
63+
],
64+
"name": "renounceAdminship",
65+
"outputs": [],
66+
"payable": false,
67+
"stateMutability": "nonpayable",
68+
"type": "function"
69+
},
70+
{
71+
"inputs": [],
72+
"payable": false,
73+
"stateMutability": "nonpayable",
74+
"type": "constructor"
75+
},
76+
{
77+
"anonymous": false,
78+
"inputs": [
79+
{
80+
"indexed": true,
81+
"name": "previousAdmin",
82+
"type": "address"
83+
}
84+
],
85+
"name": "AdminshipRenounced",
86+
"type": "event"
87+
},
88+
{
89+
"anonymous": false,
90+
"inputs": [
91+
{
92+
"indexed": true,
93+
"name": "previousAdmin",
94+
"type": "address"
95+
},
96+
{
97+
"indexed": true,
98+
"name": "newAdmin",
99+
"type": "address"
100+
}
101+
],
102+
"name": "AdminshipTransferred",
103+
"type": "event"
104+
}
105+
],
106+
"bytecode": "608060405234801561001057600080fd5b50336000908152602081905260409020805460ff191660011790556103298061003a6000396000f3006080604052600436106100615763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166324d7806c8114610066578063429b62e5146100a85780635be7cc16146100d65780636fce9d8814610106575b600080fd5b34801561007257600080fd5b5061009473ffffffffffffffffffffffffffffffffffffffff60043516610134565b604080519115158252519081900360200190f35b3480156100b457600080fd5b5061009473ffffffffffffffffffffffffffffffffffffffff6004351661015f565b3480156100e257600080fd5b5061010473ffffffffffffffffffffffffffffffffffffffff60043516610174565b005b34801561011257600080fd5b5061010473ffffffffffffffffffffffffffffffffffffffff6004351661019e565b73ffffffffffffffffffffffffffffffffffffffff1660009081526020819052604090205460ff1690565b60006020819052908152604090205460ff1681565b3360009081526020819052604090205460ff16151561019257600080fd5b61019b81610249565b50565b3360009081526020819052604090205460ff1615156101bc57600080fd5b60405173ffffffffffffffffffffffffffffffffffffffff8216907f1a2dbeec1a0714342f862f53c671a69a6cb438bf5aa44fc01a7ccff6fbde85ef90600090a273ffffffffffffffffffffffffffffffffffffffff16600090815260208190526040902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00169055565b73ffffffffffffffffffffffffffffffffffffffff8116151561026b57600080fd5b60405173ffffffffffffffffffffffffffffffffffffffff82169033907f2931ebb3d190545dcf6801c37aa686b74f2e1000e753d0fac6e471a2aa5a621390600090a373ffffffffffffffffffffffffffffffffffffffff16600090815260208190526040902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001660011790555600a165627a7a723058209455ab4dc7b969a73d382098d3ab6ed44bae8c3fcf3433972a334c09c9088f540029",
107+
"linkReferences": {}
108+
}

artifacts/BancorFormula.json

Lines changed: 124 additions & 0 deletions
Large diffs are not rendered by default.

artifacts/BasicToken.json

Lines changed: 85 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,85 @@
1+
{
2+
"contractName": "BasicToken",
3+
"abi": [
4+
{
5+
"constant": true,
6+
"inputs": [],
7+
"name": "totalSupply",
8+
"outputs": [
9+
{
10+
"name": "",
11+
"type": "uint256"
12+
}
13+
],
14+
"payable": false,
15+
"stateMutability": "view",
16+
"type": "function"
17+
},
18+
{
19+
"constant": true,
20+
"inputs": [
21+
{
22+
"name": "_owner",
23+
"type": "address"
24+
}
25+
],
26+
"name": "balanceOf",
27+
"outputs": [
28+
{
29+
"name": "",
30+
"type": "uint256"
31+
}
32+
],
33+
"payable": false,
34+
"stateMutability": "view",
35+
"type": "function"
36+
},
37+
{
38+
"constant": false,
39+
"inputs": [
40+
{
41+
"name": "_to",
42+
"type": "address"
43+
},
44+
{
45+
"name": "_value",
46+
"type": "uint256"
47+
}
48+
],
49+
"name": "transfer",
50+
"outputs": [
51+
{
52+
"name": "",
53+
"type": "bool"
54+
}
55+
],
56+
"payable": false,
57+
"stateMutability": "nonpayable",
58+
"type": "function"
59+
},
60+
{
61+
"anonymous": false,
62+
"inputs": [
63+
{
64+
"indexed": true,
65+
"name": "from",
66+
"type": "address"
67+
},
68+
{
69+
"indexed": true,
70+
"name": "to",
71+
"type": "address"
72+
},
73+
{
74+
"indexed": false,
75+
"name": "value",
76+
"type": "uint256"
77+
}
78+
],
79+
"name": "Transfer",
80+
"type": "event"
81+
}
82+
],
83+
"bytecode": "608060405234801561001057600080fd5b5061027c806100206000396000f3006080604052600436106100565763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166318160ddd811461005b57806370a0823114610082578063a9059cbb146100b0575b600080fd5b34801561006757600080fd5b506100706100f5565b60408051918252519081900360200190f35b34801561008e57600080fd5b5061007073ffffffffffffffffffffffffffffffffffffffff600435166100fb565b3480156100bc57600080fd5b506100e173ffffffffffffffffffffffffffffffffffffffff60043516602435610123565b604080519115158252519081900360200190f35b60015490565b73ffffffffffffffffffffffffffffffffffffffff1660009081526020819052604090205490565b600073ffffffffffffffffffffffffffffffffffffffff8316151561014757600080fd5b3360009081526020819052604090205482111561016357600080fd5b33600090815260208190526040902054610183908363ffffffff61022b16565b336000908152602081905260408082209290925573ffffffffffffffffffffffffffffffffffffffff8516815220546101c2908363ffffffff61023d16565b73ffffffffffffffffffffffffffffffffffffffff8416600081815260208181526040918290209390935580518581529051919233927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a350600192915050565b60008282111561023757fe5b50900390565b8181018281101561024a57fe5b929150505600a165627a7a72305820b760c70493bdeb34c8c9fda28d717563857158cc2b235ab4da57acbb7f3e859d0029",
84+
"linkReferences": {}
85+
}

artifacts/BurnableToken.json

Lines changed: 116 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,116 @@
1+
{
2+
"contractName": "BurnableToken",
3+
"abi": [
4+
{
5+
"constant": true,
6+
"inputs": [],
7+
"name": "totalSupply",
8+
"outputs": [
9+
{
10+
"name": "",
11+
"type": "uint256"
12+
}
13+
],
14+
"payable": false,
15+
"stateMutability": "view",
16+
"type": "function"
17+
},
18+
{
19+
"constant": false,
20+
"inputs": [
21+
{
22+
"name": "_value",
23+
"type": "uint256"
24+
}
25+
],
26+
"name": "burn",
27+
"outputs": [],
28+
"payable": false,
29+
"stateMutability": "nonpayable",
30+
"type": "function"
31+
},
32+
{
33+
"constant": true,
34+
"inputs": [
35+
{
36+
"name": "_owner",
37+
"type": "address"
38+
}
39+
],
40+
"name": "balanceOf",
41+
"outputs": [
42+
{
43+
"name": "",
44+
"type": "uint256"
45+
}
46+
],
47+
"payable": false,
48+
"stateMutability": "view",
49+
"type": "function"
50+
},
51+
{
52+
"constant": false,
53+
"inputs": [
54+
{
55+
"name": "_to",
56+
"type": "address"
57+
},
58+
{
59+
"name": "_value",
60+
"type": "uint256"
61+
}
62+
],
63+
"name": "transfer",
64+
"outputs": [
65+
{
66+
"name": "",
67+
"type": "bool"
68+
}
69+
],
70+
"payable": false,
71+
"stateMutability": "nonpayable",
72+
"type": "function"
73+
},
74+
{
75+
"anonymous": false,
76+
"inputs": [
77+
{
78+
"indexed": true,
79+
"name": "burner",
80+
"type": "address"
81+
},
82+
{
83+
"indexed": false,
84+
"name": "value",
85+
"type": "uint256"
86+
}
87+
],
88+
"name": "Burn",
89+
"type": "event"
90+
},
91+
{
92+
"anonymous": false,
93+
"inputs": [
94+
{
95+
"indexed": true,
96+
"name": "from",
97+
"type": "address"
98+
},
99+
{
100+
"indexed": true,
101+
"name": "to",
102+
"type": "address"
103+
},
104+
{
105+
"indexed": false,
106+
"name": "value",
107+
"type": "uint256"
108+
}
109+
],
110+
"name": "Transfer",
111+
"type": "event"
112+
}
113+
],
114+
"bytecode": "608060405234801561001057600080fd5b506103f0806100206000396000f3006080604052600436106100615763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166318160ddd811461006657806342966c681461008d57806370a08231146100a7578063a9059cbb146100d5575b600080fd5b34801561007257600080fd5b5061007b61011a565b60408051918252519081900360200190f35b34801561009957600080fd5b506100a5600435610120565b005b3480156100b357600080fd5b5061007b73ffffffffffffffffffffffffffffffffffffffff6004351661012d565b3480156100e157600080fd5b5061010673ffffffffffffffffffffffffffffffffffffffff60043516602435610155565b604080519115158252519081900360200190f35b60015490565b61012a338261025d565b50565b73ffffffffffffffffffffffffffffffffffffffff1660009081526020819052604090205490565b600073ffffffffffffffffffffffffffffffffffffffff8316151561017957600080fd5b3360009081526020819052604090205482111561019557600080fd5b336000908152602081905260409020546101b5908363ffffffff61039f16565b336000908152602081905260408082209290925573ffffffffffffffffffffffffffffffffffffffff8516815220546101f4908363ffffffff6103b116565b73ffffffffffffffffffffffffffffffffffffffff8416600081815260208181526040918290209390935580518581529051919233927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a350600192915050565b73ffffffffffffffffffffffffffffffffffffffff821660009081526020819052604090205481111561028f57600080fd5b73ffffffffffffffffffffffffffffffffffffffff82166000908152602081905260409020546102c5908263ffffffff61039f16565b73ffffffffffffffffffffffffffffffffffffffff83166000908152602081905260409020556001546102fe908263ffffffff61039f16565b60015560408051828152905173ffffffffffffffffffffffffffffffffffffffff8416917fcc16f5dbb4873280815c1ee09dbd06736cffcc184412cf7a71a0fdb75d397ca5919081900360200190a260408051828152905160009173ffffffffffffffffffffffffffffffffffffffff8516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9181900360200190a35050565b6000828211156103ab57fe5b50900390565b818101828110156103be57fe5b929150505600a165627a7a72305820727933f97024c68f9ed1be670952642e27babc09f32d276157d58ac13c30b6590029",
115+
"linkReferences": {}
116+
}

0 commit comments

Comments
 (0)