Files
app-ethereum/tests/ragger/abis/erc20.json
2024-03-08 18:00:36 +01:00

136 lines
3.2 KiB
JSON

[
{
"inputs" : [
{
"internalType" : "address",
"name" : "_owner",
"type" : "address"
},
{
"internalType" : "address",
"name" : "_spender",
"type" : "address"
}
],
"name" : "allowance",
"outputs" : [
{
"internalType" : "uint256",
"name" : "remaining",
"type" : "uint256"
}
],
"stateMutability" : "view",
"type" : "function"
},
{
"inputs" : [
{
"internalType" : "address",
"name" : "_spender",
"type" : "address"
},
{
"internalType" : "uint256",
"name" : "_value",
"type" : "uint256"
}
],
"name" : "approve",
"outputs" : [
{
"internalType" : "bool",
"name" : "success",
"type" : "bool"
}
],
"stateMutability" : "nonpayable",
"type" : "function"
},
{
"inputs" : [
{
"internalType" : "address",
"name" : "_owner",
"type" : "address"
}
],
"name" : "balanceOf",
"outputs" : [
{
"internalType" : "uint256",
"name" : "balance",
"type" : "uint256"
}
],
"stateMutability" : "view",
"type" : "function"
},
{
"inputs" : [],
"name" : "totalSupply",
"outputs" : [
{
"internalType" : "uint256",
"name" : "",
"type" : "uint256"
}
],
"stateMutability" : "view",
"type" : "function"
},
{
"inputs" : [
{
"internalType" : "address",
"name" : "_to",
"type" : "address"
},
{
"internalType" : "uint256",
"name" : "_value",
"type" : "uint256"
}
],
"name" : "transfer",
"outputs" : [
{
"internalType" : "bool",
"name" : "success",
"type" : "bool"
}
],
"stateMutability" : "nonpayable",
"type" : "function"
},
{
"inputs" : [
{
"internalType" : "address",
"name" : "_from",
"type" : "address"
},
{
"internalType" : "address",
"name" : "_to",
"type" : "address"
},
{
"internalType" : "uint256",
"name" : "_value",
"type" : "uint256"
}
],
"name" : "transferFrom",
"outputs" : [
{
"internalType" : "bool",
"name" : "success",
"type" : "bool"
}
],
"stateMutability" : "nonpayable",
"type" : "function"
}
]