Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Commit

Permalink
bug fix: burn onlyOwner
Browse files Browse the repository at this point in the history
  • Loading branch information
lengzhao committed Sep 26, 2020
1 parent 9861f9f commit 7d76547
Show file tree
Hide file tree
Showing 4 changed files with 321 additions and 79 deletions.
130 changes: 130 additions & 0 deletions static/js/manager_abi.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,130 @@
/* Autogenerated - do not fiddle */
if (typeof Contracts === "undefined") var Contracts = { Token: { abi: [] } };

Contracts["manager"] = {
// address: "0x25B5ab5f67a783fb9334c6A14577a7F7AAD9c55e",
address: "0xEb12a835C2FD57A912A76590C527fBB8e5E28f91",
network: "browser",
endpoint: "http://localhost:8545",
abi: [
{
"constant": false,
"inputs": [
{
"name": "_to",
"type": "address"
},
{
"name": "_amount",
"type": "uint256"
},
{
"name": "_trans",
"type": "bytes32"
},
{
"name": "approvalData",
"type": "bytes"
}
],
"name": "relayMint",
"outputs": [
{
"name": "",
"type": "bool"
}
],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": false,
"inputs": [
{
"name": "_to",
"type": "address"
},
{
"name": "_amount",
"type": "uint256"
},
{
"name": "_trans",
"type": "bytes32"
}
],
"name": "mint",
"outputs": [
{
"name": "",
"type": "bool"
}
],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": false,
"inputs": [],
"name": "transferAppOwnership",
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": true,
"inputs": [],
"name": "owner",
"outputs": [
{
"name": "",
"type": "address"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": true,
"inputs": [],
"name": "app",
"outputs": [
{
"name": "",
"type": "address"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": false,
"inputs": [
{
"name": "_value",
"type": "uint256"
},
{
"name": "_addr",
"type": "bytes"
}
],
"name": "burn",
"outputs": [
{
"name": "",
"type": "bool"
}
],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
}
]
};
// console.log(data);
Loading

0 comments on commit 7d76547

Please sign in to comment.