mirror of
https://github.com/logos-messaging/logos-messaging-simulator.git
synced 2026-02-03 13:43:06 +00:00
* Add token management interface * remove git tracking of certain python files * add additional token management functions * Update global variables in token management tool * clean up contract ABI * Add comments to refer to helper function descriptions * Clarify token-management tool usage in README
127 lines
3.0 KiB
JSON
127 lines
3.0 KiB
JSON
[
|
|
{
|
|
"type": "function",
|
|
"name": "balanceOf",
|
|
"stateMutability": "view",
|
|
"inputs": [{ "name": "_owner", "type": "address" }],
|
|
"outputs": [{ "name": "balance", "type": "uint256" }]
|
|
},
|
|
{
|
|
"type": "function",
|
|
"name": "allowance",
|
|
"stateMutability": "view",
|
|
"inputs": [
|
|
{ "name": "_owner", "type": "address" },
|
|
{ "name": "_spender", "type": "address" }
|
|
],
|
|
"outputs": [{ "name": "allowance", "type": "uint256" }]
|
|
},
|
|
{
|
|
"type": "function",
|
|
"name": "transfer",
|
|
"stateMutability": "nonpayable",
|
|
"inputs": [
|
|
{ "name": "_to", "type": "address" },
|
|
{ "name": "_value", "type": "uint256" }
|
|
],
|
|
"outputs": [{ "name": "success", "type": "bool" }]
|
|
},
|
|
{
|
|
"type": "function",
|
|
"name": "approve",
|
|
"stateMutability": "nonpayable",
|
|
"inputs": [
|
|
{ "name": "_spender", "type": "address" },
|
|
{ "name": "_value", "type": "uint256" }
|
|
],
|
|
"outputs": [{ "name": "success", "type": "bool" }]
|
|
},
|
|
{
|
|
"type": "function",
|
|
"name": "decimals",
|
|
"stateMutability": "view",
|
|
"inputs": [],
|
|
"outputs": [{ "name": "", "type": "uint8" }]
|
|
},
|
|
{
|
|
"type": "function",
|
|
"name": "symbol",
|
|
"stateMutability": "view",
|
|
"inputs": [],
|
|
"outputs": [{ "name": "", "type": "string" }]
|
|
},
|
|
{
|
|
"type": "function",
|
|
"name": "name",
|
|
"stateMutability": "view",
|
|
"inputs": [],
|
|
"outputs": [{ "name": "", "type": "string" }]
|
|
},
|
|
{
|
|
"type": "function",
|
|
"name": "totalSupply",
|
|
"stateMutability": "view",
|
|
"inputs": [],
|
|
"outputs": [{ "name": "", "type": "uint256" }]
|
|
},
|
|
{
|
|
"type": "function",
|
|
"name": "mint",
|
|
"stateMutability": "nonpayable",
|
|
"inputs": [
|
|
{ "name": "to", "type": "address" },
|
|
{ "name": "amount", "type": "uint256" }
|
|
],
|
|
"outputs": []
|
|
},
|
|
{
|
|
"type": "function",
|
|
"name": "isMinter",
|
|
"stateMutability": "view",
|
|
"inputs": [{ "name": "account", "type": "address" }],
|
|
"outputs": [{ "name": "", "type": "bool" }]
|
|
},
|
|
{
|
|
"type": "function",
|
|
"name": "addMinter",
|
|
"stateMutability": "nonpayable",
|
|
"inputs": [{ "name": "account", "type": "address" }],
|
|
"outputs": []
|
|
},
|
|
{
|
|
"type": "function",
|
|
"name": "removeMinter",
|
|
"stateMutability": "nonpayable",
|
|
"inputs": [{ "name": "account", "type": "address" }],
|
|
"outputs": []
|
|
},
|
|
{
|
|
"type": "function",
|
|
"name": "maxSupply",
|
|
"stateMutability": "view",
|
|
"inputs": [],
|
|
"outputs": [{ "name": "", "type": "uint256" }]
|
|
},
|
|
{
|
|
"type": "function",
|
|
"name": "owner",
|
|
"stateMutability": "view",
|
|
"inputs": [],
|
|
"outputs": [{ "name": "", "type": "address" }]
|
|
},
|
|
{
|
|
"type": "function",
|
|
"name": "implementation",
|
|
"stateMutability": "view",
|
|
"inputs": [],
|
|
"outputs": [{ "name": "", "type": "address" }]
|
|
},
|
|
{
|
|
"type": "function",
|
|
"name": "transferOwnership",
|
|
"stateMutability": "nonpayable",
|
|
"inputs": [{ "name": "newOwner", "type": "address" }],
|
|
"outputs": []
|
|
}
|
|
]
|