Skip to content

Commit

Permalink
Merge pull request #3 from clovers-network/billy/buidlr
Browse files Browse the repository at this point in the history
Billy/buidlr
  • Loading branch information
okwme authored Oct 4, 2019
2 parents 53036b6 + b82868e commit de486fb
Show file tree
Hide file tree
Showing 105 changed files with 40,454 additions and 8,288 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,5 @@ installed_contracts
clovers
flat_contracts
build
artifacts
truffle
6 changes: 6 additions & 0 deletions artifacts/AddressUtils.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"contractName": "AddressUtils",
"abi": [],
"bytecode": "604c602c600b82828239805160001a60731460008114601c57601e565bfe5b5030600052607381538281f30073000000000000000000000000000000000000000030146080604052600080fd00a165627a7a72305820ba5744c12597e6616e9d5083ae3f0207d5baf5b9730511a00c7b31a956c40d090029",
"linkReferences": {}
}
108 changes: 108 additions & 0 deletions artifacts/Admin.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,108 @@
{
"contractName": "Admin",
"abi": [
{
"constant": true,
"inputs": [
{
"name": "_admin",
"type": "address"
}
],
"name": "isAdmin",
"outputs": [
{
"name": "",
"type": "bool"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": true,
"inputs": [
{
"name": "",
"type": "address"
}
],
"name": "admins",
"outputs": [
{
"name": "",
"type": "bool"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": false,
"inputs": [
{
"name": "_newAdmin",
"type": "address"
}
],
"name": "transferAdminship",
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": false,
"inputs": [
{
"name": "_previousAdmin",
"type": "address"
}
],
"name": "renounceAdminship",
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [],
"payable": false,
"stateMutability": "nonpayable",
"type": "constructor"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"name": "previousAdmin",
"type": "address"
}
],
"name": "AdminshipRenounced",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"name": "previousAdmin",
"type": "address"
},
{
"indexed": true,
"name": "newAdmin",
"type": "address"
}
],
"name": "AdminshipTransferred",
"type": "event"
}
],
"bytecode": "608060405234801561001057600080fd5b50336000908152602081905260409020805460ff191660011790556103298061003a6000396000f3006080604052600436106100615763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166324d7806c8114610066578063429b62e5146100a85780635be7cc16146100d65780636fce9d8814610106575b600080fd5b34801561007257600080fd5b5061009473ffffffffffffffffffffffffffffffffffffffff60043516610134565b604080519115158252519081900360200190f35b3480156100b457600080fd5b5061009473ffffffffffffffffffffffffffffffffffffffff6004351661015f565b3480156100e257600080fd5b5061010473ffffffffffffffffffffffffffffffffffffffff60043516610174565b005b34801561011257600080fd5b5061010473ffffffffffffffffffffffffffffffffffffffff6004351661019e565b73ffffffffffffffffffffffffffffffffffffffff1660009081526020819052604090205460ff1690565b60006020819052908152604090205460ff1681565b3360009081526020819052604090205460ff16151561019257600080fd5b61019b81610249565b50565b3360009081526020819052604090205460ff1615156101bc57600080fd5b60405173ffffffffffffffffffffffffffffffffffffffff8216907f1a2dbeec1a0714342f862f53c671a69a6cb438bf5aa44fc01a7ccff6fbde85ef90600090a273ffffffffffffffffffffffffffffffffffffffff16600090815260208190526040902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00169055565b73ffffffffffffffffffffffffffffffffffffffff8116151561026b57600080fd5b60405173ffffffffffffffffffffffffffffffffffffffff82169033907f2931ebb3d190545dcf6801c37aa686b74f2e1000e753d0fac6e471a2aa5a621390600090a373ffffffffffffffffffffffffffffffffffffffff16600090815260208190526040902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001660011790555600a165627a7a723058209455ab4dc7b969a73d382098d3ab6ed44bae8c3fcf3433972a334c09c9088f540029",
"linkReferences": {}
}
124 changes: 124 additions & 0 deletions artifacts/BancorFormula.json

Large diffs are not rendered by default.

85 changes: 85 additions & 0 deletions artifacts/BasicToken.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,85 @@
{
"contractName": "BasicToken",
"abi": [
{
"constant": true,
"inputs": [],
"name": "totalSupply",
"outputs": [
{
"name": "",
"type": "uint256"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": true,
"inputs": [
{
"name": "_owner",
"type": "address"
}
],
"name": "balanceOf",
"outputs": [
{
"name": "",
"type": "uint256"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": false,
"inputs": [
{
"name": "_to",
"type": "address"
},
{
"name": "_value",
"type": "uint256"
}
],
"name": "transfer",
"outputs": [
{
"name": "",
"type": "bool"
}
],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"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"
}
],
"bytecode": "608060405234801561001057600080fd5b5061027c806100206000396000f3006080604052600436106100565763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166318160ddd811461005b57806370a0823114610082578063a9059cbb146100b0575b600080fd5b34801561006757600080fd5b506100706100f5565b60408051918252519081900360200190f35b34801561008e57600080fd5b5061007073ffffffffffffffffffffffffffffffffffffffff600435166100fb565b3480156100bc57600080fd5b506100e173ffffffffffffffffffffffffffffffffffffffff60043516602435610123565b604080519115158252519081900360200190f35b60015490565b73ffffffffffffffffffffffffffffffffffffffff1660009081526020819052604090205490565b600073ffffffffffffffffffffffffffffffffffffffff8316151561014757600080fd5b3360009081526020819052604090205482111561016357600080fd5b33600090815260208190526040902054610183908363ffffffff61022b16565b336000908152602081905260408082209290925573ffffffffffffffffffffffffffffffffffffffff8516815220546101c2908363ffffffff61023d16565b73ffffffffffffffffffffffffffffffffffffffff8416600081815260208181526040918290209390935580518581529051919233927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a350600192915050565b60008282111561023757fe5b50900390565b8181018281101561024a57fe5b929150505600a165627a7a72305820b760c70493bdeb34c8c9fda28d717563857158cc2b235ab4da57acbb7f3e859d0029",
"linkReferences": {}
}
116 changes: 116 additions & 0 deletions artifacts/BurnableToken.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,116 @@
{
"contractName": "BurnableToken",
"abi": [
{
"constant": true,
"inputs": [],
"name": "totalSupply",
"outputs": [
{
"name": "",
"type": "uint256"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": false,
"inputs": [
{
"name": "_value",
"type": "uint256"
}
],
"name": "burn",
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": true,
"inputs": [
{
"name": "_owner",
"type": "address"
}
],
"name": "balanceOf",
"outputs": [
{
"name": "",
"type": "uint256"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": false,
"inputs": [
{
"name": "_to",
"type": "address"
},
{
"name": "_value",
"type": "uint256"
}
],
"name": "transfer",
"outputs": [
{
"name": "",
"type": "bool"
}
],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"name": "burner",
"type": "address"
},
{
"indexed": false,
"name": "value",
"type": "uint256"
}
],
"name": "Burn",
"type": "event"
},
{
"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"
}
],
"bytecode": "608060405234801561001057600080fd5b506103f0806100206000396000f3006080604052600436106100615763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166318160ddd811461006657806342966c681461008d57806370a08231146100a7578063a9059cbb146100d5575b600080fd5b34801561007257600080fd5b5061007b61011a565b60408051918252519081900360200190f35b34801561009957600080fd5b506100a5600435610120565b005b3480156100b357600080fd5b5061007b73ffffffffffffffffffffffffffffffffffffffff6004351661012d565b3480156100e157600080fd5b5061010673ffffffffffffffffffffffffffffffffffffffff60043516602435610155565b604080519115158252519081900360200190f35b60015490565b61012a338261025d565b50565b73ffffffffffffffffffffffffffffffffffffffff1660009081526020819052604090205490565b600073ffffffffffffffffffffffffffffffffffffffff8316151561017957600080fd5b3360009081526020819052604090205482111561019557600080fd5b336000908152602081905260409020546101b5908363ffffffff61039f16565b336000908152602081905260408082209290925573ffffffffffffffffffffffffffffffffffffffff8516815220546101f4908363ffffffff6103b116565b73ffffffffffffffffffffffffffffffffffffffff8416600081815260208181526040918290209390935580518581529051919233927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a350600192915050565b73ffffffffffffffffffffffffffffffffffffffff821660009081526020819052604090205481111561028f57600080fd5b73ffffffffffffffffffffffffffffffffffffffff82166000908152602081905260409020546102c5908263ffffffff61039f16565b73ffffffffffffffffffffffffffffffffffffffff83166000908152602081905260409020556001546102fe908263ffffffff61039f16565b60015560408051828152905173ffffffffffffffffffffffffffffffffffffffff8416917fcc16f5dbb4873280815c1ee09dbd06736cffcc184412cf7a71a0fdb75d397ca5919081900360200190a260408051828152905160009173ffffffffffffffffffffffffffffffffffffffff8516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9181900360200190a35050565b6000828211156103ab57fe5b50900390565b818101828110156103be57fe5b929150505600a165627a7a72305820727933f97024c68f9ed1be670952642e27babc09f32d276157d58ac13c30b6590029",
"linkReferences": {}
}
Loading

0 comments on commit de486fb

Please sign in to comment.