2019-12-29 02:25:08 +00:00
{
"contractName" : "IERC20" ,
"abi" : [
{
"anonymous" : false ,
"inputs" : [
{
"indexed" : true ,
"internalType" : "address" ,
"name" : "owner" ,
"type" : "address"
} ,
{
"indexed" : true ,
"internalType" : "address" ,
"name" : "spender" ,
"type" : "address"
} ,
{
"indexed" : false ,
"internalType" : "uint256" ,
"name" : "value" ,
"type" : "uint256"
}
] ,
"name" : "Approval" ,
"type" : "event"
} ,
{
"anonymous" : false ,
"inputs" : [
{
"indexed" : true ,
"internalType" : "address" ,
"name" : "from" ,
"type" : "address"
} ,
{
"indexed" : true ,
"internalType" : "address" ,
"name" : "to" ,
"type" : "address"
} ,
{
"indexed" : false ,
"internalType" : "uint256" ,
"name" : "value" ,
"type" : "uint256"
}
] ,
"name" : "Transfer" ,
"type" : "event"
} ,
{
"constant" : true ,
"inputs" : [ ] ,
"name" : "totalSupply" ,
"outputs" : [
{
"internalType" : "uint256" ,
"name" : "" ,
"type" : "uint256"
}
] ,
"payable" : false ,
"stateMutability" : "view" ,
"type" : "function"
} ,
{
"constant" : true ,
"inputs" : [
{
"internalType" : "address" ,
"name" : "account" ,
"type" : "address"
}
] ,
"name" : "balanceOf" ,
"outputs" : [
{
"internalType" : "uint256" ,
"name" : "" ,
"type" : "uint256"
}
] ,
"payable" : false ,
"stateMutability" : "view" ,
"type" : "function"
} ,
{
"constant" : false ,
"inputs" : [
{
"internalType" : "address" ,
"name" : "recipient" ,
"type" : "address"
} ,
{
"internalType" : "uint256" ,
"name" : "amount" ,
"type" : "uint256"
}
] ,
"name" : "transfer" ,
"outputs" : [
{
"internalType" : "bool" ,
"name" : "" ,
"type" : "bool"
}
] ,
"payable" : false ,
"stateMutability" : "nonpayable" ,
"type" : "function"
} ,
{
"constant" : true ,
"inputs" : [
{
"internalType" : "address" ,
"name" : "owner" ,
"type" : "address"
} ,
{
"internalType" : "address" ,
"name" : "spender" ,
"type" : "address"
}
] ,
"name" : "allowance" ,
"outputs" : [
{
"internalType" : "uint256" ,
"name" : "" ,
"type" : "uint256"
}
] ,
"payable" : false ,
"stateMutability" : "view" ,
"type" : "function"
} ,
{
"constant" : false ,
"inputs" : [
{
"internalType" : "address" ,
"name" : "spender" ,
"type" : "address"
} ,
{
"internalType" : "uint256" ,
"name" : "amount" ,
"type" : "uint256"
}
] ,
"name" : "approve" ,
"outputs" : [
{
"internalType" : "bool" ,
"name" : "" ,
"type" : "bool"
}
] ,
"payable" : false ,
"stateMutability" : "nonpayable" ,
"type" : "function"
} ,
{
"constant" : false ,
"inputs" : [
{
"internalType" : "address" ,
"name" : "sender" ,
"type" : "address"
} ,
{
"internalType" : "address" ,
"name" : "recipient" ,
"type" : "address"
} ,
{
"internalType" : "uint256" ,
"name" : "amount" ,
"type" : "uint256"
}
] ,
"name" : "transferFrom" ,
"outputs" : [
{
"internalType" : "bool" ,
"name" : "" ,
"type" : "bool"
}
] ,
"payable" : false ,
"stateMutability" : "nonpayable" ,
"type" : "function"
}
] ,
"metadata" : "{\"compiler\":{\"version\":\"0.5.12+commit.7709ece9\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"Approval\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"Transfer\",\"type\":\"event\"},{\"constant\":true,\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"}],\"name\":\"allowance\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"approve\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"balanceOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"totalSupply\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"transfer\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"transferFrom\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"details\":\"Interface of the ERC20 standard as defined in the EIP. Does not include the optional functions; to access them see {ERC20Detailed}.\",\"methods\":{\"allowance(address,address)\":{\"details\":\"Returns the remaining number of tokens that `spender` will be allowed to spend on behalf of `owner` through {transferFrom}. This is zero by default. * This value changes when {approve} or {transferFrom} are called.\"},\"approve(address,uint256)\":{\"details\":\"Sets `amount` as the allowance of `spender` over the caller's tokens. * Returns a boolean value indicating whether the operation succeeded. * IMPORTANT: Beware that changing an allowance with this method brings the risk that someone may use both the old and the new allowance by unfortunate transaction ordering. One possible solution to mitigate this race condition is to first reduce the spender's allowance to 0 and set the desired value afterwards: https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * Emits an {Approval} event.\"},\"balanceOf(address)\":{\"details\":\"Returns the amount of tokens owned by `account`.\"},\"totalSupply()\":{\"details\":\"Returns the amount of tokens in existence.\"},\"transfer(address,uint256)\":{\"details\":\" M o v e s ` a m o u n t ` t o k e n s f r o m t h e c a l l e r ' s a c c o u n t t o ` r e c i p i e n t ` . * R
"bytecode" : "0x" ,
"deployedBytecode" : "0x" ,
"sourceMap" : "" ,
"deployedSourceMap" : "" ,
"source" : "pragma solidity ^0.5.0;\n\n/**\n * @dev Interface of the ERC20 standard as defined in the EIP. Does not include\n * the optional functions; to access them see {ERC20Detailed}.\n */\ninterface IERC20 {\n /**\n * @dev Returns the amount of tokens in existence.\n */\n function totalSupply() external view returns (uint256);\n\n /**\n * @dev Returns the amount of tokens owned by `account`.\n */\n function balanceOf(address account) external view returns (uint256);\n\n /**\n * @dev Moves `amount` tokens from the caller's account to `recipient`.\n *\n * Returns a boolean value indicating whether the operation succeeded.\n *\n * Emits a {Transfer} event.\n */\n function transfer(address recipient, uint256 amount) external returns (bool);\n\n /**\n * @dev Returns the remaining number of tokens that `spender` will be\n * allowed to spend on behalf of `owner` through {transferFrom}. This is\n * zero by default.\n *\n * This value changes when {approve} or {transferFrom} are called.\n */\n function allowance(address owner, address spender) external view returns (uint256);\n\n /**\n * @dev Sets `amount` as the allowance of `spender` over the caller's tokens.\n *\n * Returns a boolean value indicating whether the operation succeeded.\n *\n * IMPORTANT: Beware that changing an allowance with this method brings the risk\n * that someone may use both the old and the new allowance by unfortunate\n * transaction ordering. One possible solution to mitigate this race\n * condition is to first reduce the spender's allowance to 0 and set the\n * desired value afterwards:\n * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729\n *\n * Emits an {Approval} event.\n */\n function approve(address spender, uint256 amount) external returns (bool);\n\n /**\n * @dev Moves `amount` tokens from `sender` to `recipient` using the\n * allowance mechanism. `amount` is then deducted from the caller's\n * allowance.\n *\n * Returns a boolean value indicating whether the operation succeeded.\n *\n * Emits a {Transfer} event.\n */\n function transferFrom(address sender, address recipient, uint256 amount) external returns (bool);\n\n /**\n * @dev Emitted when `value` tokens are moved from one account (`from`) to\n * another (`to`).\n *\n * Note that `value` may be zero.\n */\n event Transfer(address indexed from, address indexed to, uint256 value);\n\n /**\n * @dev Emitted when the allowance of a `spender` for an `owner` is set by\n * a call to {approve}. `value` is the new allowance.\n */\n event Approval(address indexed owner, address indexed spender, uint256 value);\n}\n" ,
"sourcePath" : "@openzeppelin/contracts/token/ERC20/IERC20.sol" ,
"ast" : {
"absolutePath" : "@openzeppelin/contracts/token/ERC20/IERC20.sol" ,
"exportedSymbols" : {
"IERC20" : [
2020-02-18 05:18:07 +00:00
1078
2019-12-29 02:25:08 +00:00
]
} ,
2020-02-18 05:18:07 +00:00
"id" : 1079 ,
2019-12-29 02:25:08 +00:00
"nodeType" : "SourceUnit" ,
"nodes" : [
{
2020-02-18 05:18:07 +00:00
"id" : 1011 ,
2019-12-29 02:25:08 +00:00
"literals" : [
"solidity" ,
"^" ,
"0.5" ,
".0"
] ,
"nodeType" : "PragmaDirective" ,
"src" : "0:23:5"
} ,
{
"baseContracts" : [ ] ,
"contractDependencies" : [ ] ,
"contractKind" : "interface" ,
"documentation" : "@dev Interface of the ERC20 standard as defined in the EIP. Does not include\nthe optional functions; to access them see {ERC20Detailed}." ,
"fullyImplemented" : false ,
2020-02-18 05:18:07 +00:00
"id" : 1078 ,
2019-12-29 02:25:08 +00:00
"linearizedBaseContracts" : [
2020-02-18 05:18:07 +00:00
1078
2019-12-29 02:25:08 +00:00
] ,
"name" : "IERC20" ,
"nodeType" : "ContractDefinition" ,
"nodes" : [
{
"body" : null ,
"documentation" : "@dev Returns the amount of tokens in existence." ,
2020-02-18 05:18:07 +00:00
"id" : 1016 ,
2019-12-29 02:25:08 +00:00
"implemented" : false ,
"kind" : "function" ,
"modifiers" : [ ] ,
"name" : "totalSupply" ,
"nodeType" : "FunctionDefinition" ,
"parameters" : {
2020-02-18 05:18:07 +00:00
"id" : 1012 ,
2019-12-29 02:25:08 +00:00
"nodeType" : "ParameterList" ,
"parameters" : [ ] ,
"src" : "290:2:5"
} ,
"returnParameters" : {
2020-02-18 05:18:07 +00:00
"id" : 1015 ,
2019-12-29 02:25:08 +00:00
"nodeType" : "ParameterList" ,
"parameters" : [
{
"constant" : false ,
2020-02-18 05:18:07 +00:00
"id" : 1014 ,
2019-12-29 02:25:08 +00:00
"name" : "" ,
"nodeType" : "VariableDeclaration" ,
2020-02-18 05:18:07 +00:00
"scope" : 1016 ,
2019-12-29 02:25:08 +00:00
"src" : "316:7:5" ,
"stateVariable" : false ,
"storageLocation" : "default" ,
"typeDescriptions" : {
"typeIdentifier" : "t_uint256" ,
"typeString" : "uint256"
} ,
"typeName" : {
2020-02-18 05:18:07 +00:00
"id" : 1013 ,
2019-12-29 02:25:08 +00:00
"name" : "uint256" ,
"nodeType" : "ElementaryTypeName" ,
"src" : "316:7:5" ,
"typeDescriptions" : {
"typeIdentifier" : "t_uint256" ,
"typeString" : "uint256"
}
} ,
"value" : null ,
"visibility" : "internal"
}
] ,
"src" : "315:9:5"
} ,
2020-02-18 05:18:07 +00:00
"scope" : 1078 ,
2019-12-29 02:25:08 +00:00
"src" : "270:55:5" ,
"stateMutability" : "view" ,
"superFunction" : null ,
"visibility" : "external"
} ,
{
"body" : null ,
"documentation" : "@dev Returns the amount of tokens owned by `account`." ,
2020-02-18 05:18:07 +00:00
"id" : 1023 ,
2019-12-29 02:25:08 +00:00
"implemented" : false ,
"kind" : "function" ,
"modifiers" : [ ] ,
"name" : "balanceOf" ,
"nodeType" : "FunctionDefinition" ,
"parameters" : {
2020-02-18 05:18:07 +00:00
"id" : 1019 ,
2019-12-29 02:25:08 +00:00
"nodeType" : "ParameterList" ,
"parameters" : [
{
"constant" : false ,
2020-02-18 05:18:07 +00:00
"id" : 1018 ,
2019-12-29 02:25:08 +00:00
"name" : "account" ,
"nodeType" : "VariableDeclaration" ,
2020-02-18 05:18:07 +00:00
"scope" : 1023 ,
2019-12-29 02:25:08 +00:00
"src" : "427:15:5" ,
"stateVariable" : false ,
"storageLocation" : "default" ,
"typeDescriptions" : {
"typeIdentifier" : "t_address" ,
"typeString" : "address"
} ,
"typeName" : {
2020-02-18 05:18:07 +00:00
"id" : 1017 ,
2019-12-29 02:25:08 +00:00
"name" : "address" ,
"nodeType" : "ElementaryTypeName" ,
"src" : "427:7:5" ,
"stateMutability" : "nonpayable" ,
"typeDescriptions" : {
"typeIdentifier" : "t_address" ,
"typeString" : "address"
}
} ,
"value" : null ,
"visibility" : "internal"
}
] ,
"src" : "426:17:5"
} ,
"returnParameters" : {
2020-02-18 05:18:07 +00:00
"id" : 1022 ,
2019-12-29 02:25:08 +00:00
"nodeType" : "ParameterList" ,
"parameters" : [
{
"constant" : false ,
2020-02-18 05:18:07 +00:00
"id" : 1021 ,
2019-12-29 02:25:08 +00:00
"name" : "" ,
"nodeType" : "VariableDeclaration" ,
2020-02-18 05:18:07 +00:00
"scope" : 1023 ,
2019-12-29 02:25:08 +00:00
"src" : "467:7:5" ,
"stateVariable" : false ,
"storageLocation" : "default" ,
"typeDescriptions" : {
"typeIdentifier" : "t_uint256" ,
"typeString" : "uint256"
} ,
"typeName" : {
2020-02-18 05:18:07 +00:00
"id" : 1020 ,
2019-12-29 02:25:08 +00:00
"name" : "uint256" ,
"nodeType" : "ElementaryTypeName" ,
"src" : "467:7:5" ,
"typeDescriptions" : {
"typeIdentifier" : "t_uint256" ,
"typeString" : "uint256"
}
} ,
"value" : null ,
"visibility" : "internal"
}
] ,
"src" : "466:9:5"
} ,
2020-02-18 05:18:07 +00:00
"scope" : 1078 ,
2019-12-29 02:25:08 +00:00
"src" : "408:68:5" ,
"stateMutability" : "view" ,
"superFunction" : null ,
"visibility" : "external"
} ,
{
"body" : null ,
"documentation" : "@dev Moves `amount` tokens from the caller's account to `recipient`.\n * Returns a boolean value indicating whether the operation succeeded.\n * Emits a {Transfer} event." ,
2020-02-18 05:18:07 +00:00
"id" : 1032 ,
2019-12-29 02:25:08 +00:00
"implemented" : false ,
"kind" : "function" ,
"modifiers" : [ ] ,
"name" : "transfer" ,
"nodeType" : "FunctionDefinition" ,
"parameters" : {
2020-02-18 05:18:07 +00:00
"id" : 1028 ,
2019-12-29 02:25:08 +00:00
"nodeType" : "ParameterList" ,
"parameters" : [
{
"constant" : false ,
2020-02-18 05:18:07 +00:00
"id" : 1025 ,
2019-12-29 02:25:08 +00:00
"name" : "recipient" ,
"nodeType" : "VariableDeclaration" ,
2020-02-18 05:18:07 +00:00
"scope" : 1032 ,
2019-12-29 02:25:08 +00:00
"src" : "714:17:5" ,
"stateVariable" : false ,
"storageLocation" : "default" ,
"typeDescriptions" : {
"typeIdentifier" : "t_address" ,
"typeString" : "address"
} ,
"typeName" : {
2020-02-18 05:18:07 +00:00
"id" : 1024 ,
2019-12-29 02:25:08 +00:00
"name" : "address" ,
"nodeType" : "ElementaryTypeName" ,
"src" : "714:7:5" ,
"stateMutability" : "nonpayable" ,
"typeDescriptions" : {
"typeIdentifier" : "t_address" ,
"typeString" : "address"
}
} ,
"value" : null ,
"visibility" : "internal"
} ,
{
"constant" : false ,
2020-02-18 05:18:07 +00:00
"id" : 1027 ,
2019-12-29 02:25:08 +00:00
"name" : "amount" ,
"nodeType" : "VariableDeclaration" ,
2020-02-18 05:18:07 +00:00
"scope" : 1032 ,
2019-12-29 02:25:08 +00:00
"src" : "733:14:5" ,
"stateVariable" : false ,
"storageLocation" : "default" ,
"typeDescriptions" : {
"typeIdentifier" : "t_uint256" ,
"typeString" : "uint256"
} ,
"typeName" : {
2020-02-18 05:18:07 +00:00
"id" : 1026 ,
2019-12-29 02:25:08 +00:00
"name" : "uint256" ,
"nodeType" : "ElementaryTypeName" ,
"src" : "733:7:5" ,
"typeDescriptions" : {
"typeIdentifier" : "t_uint256" ,
"typeString" : "uint256"
}
} ,
"value" : null ,
"visibility" : "internal"
}
] ,
"src" : "713:35:5"
} ,
"returnParameters" : {
2020-02-18 05:18:07 +00:00
"id" : 1031 ,
2019-12-29 02:25:08 +00:00
"nodeType" : "ParameterList" ,
"parameters" : [
{
"constant" : false ,
2020-02-18 05:18:07 +00:00
"id" : 1030 ,
2019-12-29 02:25:08 +00:00
"name" : "" ,
"nodeType" : "VariableDeclaration" ,
2020-02-18 05:18:07 +00:00
"scope" : 1032 ,
2019-12-29 02:25:08 +00:00
"src" : "767:4:5" ,
"stateVariable" : false ,
"storageLocation" : "default" ,
"typeDescriptions" : {
"typeIdentifier" : "t_bool" ,
"typeString" : "bool"
} ,
"typeName" : {
2020-02-18 05:18:07 +00:00
"id" : 1029 ,
2019-12-29 02:25:08 +00:00
"name" : "bool" ,
"nodeType" : "ElementaryTypeName" ,
"src" : "767:4:5" ,
"typeDescriptions" : {
"typeIdentifier" : "t_bool" ,
"typeString" : "bool"
}
} ,
"value" : null ,
"visibility" : "internal"
}
] ,
"src" : "766:6:5"
} ,
2020-02-18 05:18:07 +00:00
"scope" : 1078 ,
2019-12-29 02:25:08 +00:00
"src" : "696:77:5" ,
"stateMutability" : "nonpayable" ,
"superFunction" : null ,
"visibility" : "external"
} ,
{
"body" : null ,
"documentation" : "@dev Returns the remaining number of tokens that `spender` will be\nallowed to spend on behalf of `owner` through {transferFrom}. This is\nzero by default.\n * This value changes when {approve} or {transferFrom} are called." ,
2020-02-18 05:18:07 +00:00
"id" : 1041 ,
2019-12-29 02:25:08 +00:00
"implemented" : false ,
"kind" : "function" ,
"modifiers" : [ ] ,
"name" : "allowance" ,
"nodeType" : "FunctionDefinition" ,
"parameters" : {
2020-02-18 05:18:07 +00:00
"id" : 1037 ,
2019-12-29 02:25:08 +00:00
"nodeType" : "ParameterList" ,
"parameters" : [
{
"constant" : false ,
2020-02-18 05:18:07 +00:00
"id" : 1034 ,
2019-12-29 02:25:08 +00:00
"name" : "owner" ,
"nodeType" : "VariableDeclaration" ,
2020-02-18 05:18:07 +00:00
"scope" : 1041 ,
2019-12-29 02:25:08 +00:00
"src" : "1067:13:5" ,
"stateVariable" : false ,
"storageLocation" : "default" ,
"typeDescriptions" : {
"typeIdentifier" : "t_address" ,
"typeString" : "address"
} ,
"typeName" : {
2020-02-18 05:18:07 +00:00
"id" : 1033 ,
2019-12-29 02:25:08 +00:00
"name" : "address" ,
"nodeType" : "ElementaryTypeName" ,
"src" : "1067:7:5" ,
"stateMutability" : "nonpayable" ,
"typeDescriptions" : {
"typeIdentifier" : "t_address" ,
"typeString" : "address"
}
} ,
"value" : null ,
"visibility" : "internal"
} ,
{
"constant" : false ,
2020-02-18 05:18:07 +00:00
"id" : 1036 ,
2019-12-29 02:25:08 +00:00
"name" : "spender" ,
"nodeType" : "VariableDeclaration" ,
2020-02-18 05:18:07 +00:00
"scope" : 1041 ,
2019-12-29 02:25:08 +00:00
"src" : "1082:15:5" ,
"stateVariable" : false ,
"storageLocation" : "default" ,
"typeDescriptions" : {
"typeIdentifier" : "t_address" ,
"typeString" : "address"
} ,
"typeName" : {
2020-02-18 05:18:07 +00:00
"id" : 1035 ,
2019-12-29 02:25:08 +00:00
"name" : "address" ,
"nodeType" : "ElementaryTypeName" ,
"src" : "1082:7:5" ,
"stateMutability" : "nonpayable" ,
"typeDescriptions" : {
"typeIdentifier" : "t_address" ,
"typeString" : "address"
}
} ,
"value" : null ,
"visibility" : "internal"
}
] ,
"src" : "1066:32:5"
} ,
"returnParameters" : {
2020-02-18 05:18:07 +00:00
"id" : 1040 ,
2019-12-29 02:25:08 +00:00
"nodeType" : "ParameterList" ,
"parameters" : [
{
"constant" : false ,
2020-02-18 05:18:07 +00:00
"id" : 1039 ,
2019-12-29 02:25:08 +00:00
"name" : "" ,
"nodeType" : "VariableDeclaration" ,
2020-02-18 05:18:07 +00:00
"scope" : 1041 ,
2019-12-29 02:25:08 +00:00
"src" : "1122:7:5" ,
"stateVariable" : false ,
"storageLocation" : "default" ,
"typeDescriptions" : {
"typeIdentifier" : "t_uint256" ,
"typeString" : "uint256"
} ,
"typeName" : {
2020-02-18 05:18:07 +00:00
"id" : 1038 ,
2019-12-29 02:25:08 +00:00
"name" : "uint256" ,
"nodeType" : "ElementaryTypeName" ,
"src" : "1122:7:5" ,
"typeDescriptions" : {
"typeIdentifier" : "t_uint256" ,
"typeString" : "uint256"
}
} ,
"value" : null ,
"visibility" : "internal"
}
] ,
"src" : "1121:9:5"
} ,
2020-02-18 05:18:07 +00:00
"scope" : 1078 ,
2019-12-29 02:25:08 +00:00
"src" : "1048:83:5" ,
"stateMutability" : "view" ,
"superFunction" : null ,
"visibility" : "external"
} ,
{
"body" : null ,
"documentation" : "@dev Sets `amount` as the allowance of `spender` over the caller's tokens.\n * Returns a boolean value indicating whether the operation succeeded.\n * IMPORTANT: Beware that changing an allowance with this method brings the risk\nthat someone may use both the old and the new allowance by unfortunate\ntransaction ordering. One possible solution to mitigate this race\ncondition is to first reduce the spender's allowance to 0 and set the\ndesired value afterwards:\nhttps://github.com/ethereum/EIPs/issues/20#issuecomment-263524729\n * Emits an {Approval} event." ,
2020-02-18 05:18:07 +00:00
"id" : 1050 ,
2019-12-29 02:25:08 +00:00
"implemented" : false ,
"kind" : "function" ,
"modifiers" : [ ] ,
"name" : "approve" ,
"nodeType" : "FunctionDefinition" ,
"parameters" : {
2020-02-18 05:18:07 +00:00
"id" : 1046 ,
2019-12-29 02:25:08 +00:00
"nodeType" : "ParameterList" ,
"parameters" : [
{
"constant" : false ,
2020-02-18 05:18:07 +00:00
"id" : 1043 ,
2019-12-29 02:25:08 +00:00
"name" : "spender" ,
"nodeType" : "VariableDeclaration" ,
2020-02-18 05:18:07 +00:00
"scope" : 1050 ,
2019-12-29 02:25:08 +00:00
"src" : "1801:15:5" ,
"stateVariable" : false ,
"storageLocation" : "default" ,
"typeDescriptions" : {
"typeIdentifier" : "t_address" ,
"typeString" : "address"
} ,
"typeName" : {
2020-02-18 05:18:07 +00:00
"id" : 1042 ,
2019-12-29 02:25:08 +00:00
"name" : "address" ,
"nodeType" : "ElementaryTypeName" ,
"src" : "1801:7:5" ,
"stateMutability" : "nonpayable" ,
"typeDescriptions" : {
"typeIdentifier" : "t_address" ,
"typeString" : "address"
}
} ,
"value" : null ,
"visibility" : "internal"
} ,
{
"constant" : false ,
2020-02-18 05:18:07 +00:00
"id" : 1045 ,
2019-12-29 02:25:08 +00:00
"name" : "amount" ,
"nodeType" : "VariableDeclaration" ,
2020-02-18 05:18:07 +00:00
"scope" : 1050 ,
2019-12-29 02:25:08 +00:00
"src" : "1818:14:5" ,
"stateVariable" : false ,
"storageLocation" : "default" ,
"typeDescriptions" : {
"typeIdentifier" : "t_uint256" ,
"typeString" : "uint256"
} ,
"typeName" : {
2020-02-18 05:18:07 +00:00
"id" : 1044 ,
2019-12-29 02:25:08 +00:00
"name" : "uint256" ,
"nodeType" : "ElementaryTypeName" ,
"src" : "1818:7:5" ,
"typeDescriptions" : {
"typeIdentifier" : "t_uint256" ,
"typeString" : "uint256"
}
} ,
"value" : null ,
"visibility" : "internal"
}
] ,
"src" : "1800:33:5"
} ,
"returnParameters" : {
2020-02-18 05:18:07 +00:00
"id" : 1049 ,
2019-12-29 02:25:08 +00:00
"nodeType" : "ParameterList" ,
"parameters" : [
{
"constant" : false ,
2020-02-18 05:18:07 +00:00
"id" : 1048 ,
2019-12-29 02:25:08 +00:00
"name" : "" ,
"nodeType" : "VariableDeclaration" ,
2020-02-18 05:18:07 +00:00
"scope" : 1050 ,
2019-12-29 02:25:08 +00:00
"src" : "1852:4:5" ,
"stateVariable" : false ,
"storageLocation" : "default" ,
"typeDescriptions" : {
"typeIdentifier" : "t_bool" ,
"typeString" : "bool"
} ,
"typeName" : {
2020-02-18 05:18:07 +00:00
"id" : 1047 ,
2019-12-29 02:25:08 +00:00
"name" : "bool" ,
"nodeType" : "ElementaryTypeName" ,
"src" : "1852:4:5" ,
"typeDescriptions" : {
"typeIdentifier" : "t_bool" ,
"typeString" : "bool"
}
} ,
"value" : null ,
"visibility" : "internal"
}
] ,
"src" : "1851:6:5"
} ,
2020-02-18 05:18:07 +00:00
"scope" : 1078 ,
2019-12-29 02:25:08 +00:00
"src" : "1784:74:5" ,
"stateMutability" : "nonpayable" ,
"superFunction" : null ,
"visibility" : "external"
} ,
{
"body" : null ,
"documentation" : "@dev Moves `amount` tokens from `sender` to `recipient` using the\nallowance mechanism. `amount` is then deducted from the caller's\nallowance.\n * Returns a boolean value indicating whether the operation succeeded.\n * Emits a {Transfer} event." ,
2020-02-18 05:18:07 +00:00
"id" : 1061 ,
2019-12-29 02:25:08 +00:00
"implemented" : false ,
"kind" : "function" ,
"modifiers" : [ ] ,
"name" : "transferFrom" ,
"nodeType" : "FunctionDefinition" ,
"parameters" : {
2020-02-18 05:18:07 +00:00
"id" : 1057 ,
2019-12-29 02:25:08 +00:00
"nodeType" : "ParameterList" ,
"parameters" : [
{
"constant" : false ,
2020-02-18 05:18:07 +00:00
"id" : 1052 ,
2019-12-29 02:25:08 +00:00
"name" : "sender" ,
"nodeType" : "VariableDeclaration" ,
2020-02-18 05:18:07 +00:00
"scope" : 1061 ,
2019-12-29 02:25:08 +00:00
"src" : "2187:14:5" ,
"stateVariable" : false ,
"storageLocation" : "default" ,
"typeDescriptions" : {
"typeIdentifier" : "t_address" ,
"typeString" : "address"
} ,
"typeName" : {
2020-02-18 05:18:07 +00:00
"id" : 1051 ,
2019-12-29 02:25:08 +00:00
"name" : "address" ,
"nodeType" : "ElementaryTypeName" ,
"src" : "2187:7:5" ,
"stateMutability" : "nonpayable" ,
"typeDescriptions" : {
"typeIdentifier" : "t_address" ,
"typeString" : "address"
}
} ,
"value" : null ,
"visibility" : "internal"
} ,
{
"constant" : false ,
2020-02-18 05:18:07 +00:00
"id" : 1054 ,
2019-12-29 02:25:08 +00:00
"name" : "recipient" ,
"nodeType" : "VariableDeclaration" ,
2020-02-18 05:18:07 +00:00
"scope" : 1061 ,
2019-12-29 02:25:08 +00:00
"src" : "2203:17:5" ,
"stateVariable" : false ,
"storageLocation" : "default" ,
"typeDescriptions" : {
"typeIdentifier" : "t_address" ,
"typeString" : "address"
} ,
"typeName" : {
2020-02-18 05:18:07 +00:00
"id" : 1053 ,
2019-12-29 02:25:08 +00:00
"name" : "address" ,
"nodeType" : "ElementaryTypeName" ,
"src" : "2203:7:5" ,
"stateMutability" : "nonpayable" ,
"typeDescriptions" : {
"typeIdentifier" : "t_address" ,
"typeString" : "address"
}
} ,
"value" : null ,
"visibility" : "internal"
} ,
{
"constant" : false ,
2020-02-18 05:18:07 +00:00
"id" : 1056 ,
2019-12-29 02:25:08 +00:00
"name" : "amount" ,
"nodeType" : "VariableDeclaration" ,
2020-02-18 05:18:07 +00:00
"scope" : 1061 ,
2019-12-29 02:25:08 +00:00
"src" : "2222:14:5" ,
"stateVariable" : false ,
"storageLocation" : "default" ,
"typeDescriptions" : {
"typeIdentifier" : "t_uint256" ,
"typeString" : "uint256"
} ,
"typeName" : {
2020-02-18 05:18:07 +00:00
"id" : 1055 ,
2019-12-29 02:25:08 +00:00
"name" : "uint256" ,
"nodeType" : "ElementaryTypeName" ,
"src" : "2222:7:5" ,
"typeDescriptions" : {
"typeIdentifier" : "t_uint256" ,
"typeString" : "uint256"
}
} ,
"value" : null ,
"visibility" : "internal"
}
] ,
"src" : "2186:51:5"
} ,
"returnParameters" : {
2020-02-18 05:18:07 +00:00
"id" : 1060 ,
2019-12-29 02:25:08 +00:00
"nodeType" : "ParameterList" ,
"parameters" : [
{
"constant" : false ,
2020-02-18 05:18:07 +00:00
"id" : 1059 ,
2019-12-29 02:25:08 +00:00
"name" : "" ,
"nodeType" : "VariableDeclaration" ,
2020-02-18 05:18:07 +00:00
"scope" : 1061 ,
2019-12-29 02:25:08 +00:00
"src" : "2256:4:5" ,
"stateVariable" : false ,
"storageLocation" : "default" ,
"typeDescriptions" : {
"typeIdentifier" : "t_bool" ,
"typeString" : "bool"
} ,
"typeName" : {
2020-02-18 05:18:07 +00:00
"id" : 1058 ,
2019-12-29 02:25:08 +00:00
"name" : "bool" ,
"nodeType" : "ElementaryTypeName" ,
"src" : "2256:4:5" ,
"typeDescriptions" : {
"typeIdentifier" : "t_bool" ,
"typeString" : "bool"
}
} ,
"value" : null ,
"visibility" : "internal"
}
] ,
"src" : "2255:6:5"
} ,
2020-02-18 05:18:07 +00:00
"scope" : 1078 ,
2019-12-29 02:25:08 +00:00
"src" : "2165:97:5" ,
"stateMutability" : "nonpayable" ,
"superFunction" : null ,
"visibility" : "external"
} ,
{
"anonymous" : false ,
"documentation" : "@dev Emitted when `value` tokens are moved from one account (`from`) to\nanother (`to`).\n * Note that `value` may be zero." ,
2020-02-18 05:18:07 +00:00
"id" : 1069 ,
2019-12-29 02:25:08 +00:00
"name" : "Transfer" ,
"nodeType" : "EventDefinition" ,
"parameters" : {
2020-02-18 05:18:07 +00:00
"id" : 1068 ,
2019-12-29 02:25:08 +00:00
"nodeType" : "ParameterList" ,
"parameters" : [
{
"constant" : false ,
2020-02-18 05:18:07 +00:00
"id" : 1063 ,
2019-12-29 02:25:08 +00:00
"indexed" : true ,
"name" : "from" ,
"nodeType" : "VariableDeclaration" ,
2020-02-18 05:18:07 +00:00
"scope" : 1069 ,
2019-12-29 02:25:08 +00:00
"src" : "2446:20:5" ,
"stateVariable" : false ,
"storageLocation" : "default" ,
"typeDescriptions" : {
"typeIdentifier" : "t_address" ,
"typeString" : "address"
} ,
"typeName" : {
2020-02-18 05:18:07 +00:00
"id" : 1062 ,
2019-12-29 02:25:08 +00:00
"name" : "address" ,
"nodeType" : "ElementaryTypeName" ,
"src" : "2446:7:5" ,
"stateMutability" : "nonpayable" ,
"typeDescriptions" : {
"typeIdentifier" : "t_address" ,
"typeString" : "address"
}
} ,
"value" : null ,
"visibility" : "internal"
} ,
{
"constant" : false ,
2020-02-18 05:18:07 +00:00
"id" : 1065 ,
2019-12-29 02:25:08 +00:00
"indexed" : true ,
"name" : "to" ,
"nodeType" : "VariableDeclaration" ,
2020-02-18 05:18:07 +00:00
"scope" : 1069 ,
2019-12-29 02:25:08 +00:00
"src" : "2468:18:5" ,
"stateVariable" : false ,
"storageLocation" : "default" ,
"typeDescriptions" : {
"typeIdentifier" : "t_address" ,
"typeString" : "address"
} ,
"typeName" : {
2020-02-18 05:18:07 +00:00
"id" : 1064 ,
2019-12-29 02:25:08 +00:00
"name" : "address" ,
"nodeType" : "ElementaryTypeName" ,
"src" : "2468:7:5" ,
"stateMutability" : "nonpayable" ,
"typeDescriptions" : {
"typeIdentifier" : "t_address" ,
"typeString" : "address"
}
} ,
"value" : null ,
"visibility" : "internal"
} ,
{
"constant" : false ,
2020-02-18 05:18:07 +00:00
"id" : 1067 ,
2019-12-29 02:25:08 +00:00
"indexed" : false ,
"name" : "value" ,
"nodeType" : "VariableDeclaration" ,
2020-02-18 05:18:07 +00:00
"scope" : 1069 ,
2019-12-29 02:25:08 +00:00
"src" : "2488:13:5" ,
"stateVariable" : false ,
"storageLocation" : "default" ,
"typeDescriptions" : {
"typeIdentifier" : "t_uint256" ,
"typeString" : "uint256"
} ,
"typeName" : {
2020-02-18 05:18:07 +00:00
"id" : 1066 ,
2019-12-29 02:25:08 +00:00
"name" : "uint256" ,
"nodeType" : "ElementaryTypeName" ,
"src" : "2488:7:5" ,
"typeDescriptions" : {
"typeIdentifier" : "t_uint256" ,
"typeString" : "uint256"
}
} ,
"value" : null ,
"visibility" : "internal"
}
] ,
"src" : "2445:57:5"
} ,
"src" : "2431:72:5"
} ,
{
"anonymous" : false ,
"documentation" : "@dev Emitted when the allowance of a `spender` for an `owner` is set by\na call to {approve}. `value` is the new allowance." ,
2020-02-18 05:18:07 +00:00
"id" : 1077 ,
2019-12-29 02:25:08 +00:00
"name" : "Approval" ,
"nodeType" : "EventDefinition" ,
"parameters" : {
2020-02-18 05:18:07 +00:00
"id" : 1076 ,
2019-12-29 02:25:08 +00:00
"nodeType" : "ParameterList" ,
"parameters" : [
{
"constant" : false ,
2020-02-18 05:18:07 +00:00
"id" : 1071 ,
2019-12-29 02:25:08 +00:00
"indexed" : true ,
"name" : "owner" ,
"nodeType" : "VariableDeclaration" ,
2020-02-18 05:18:07 +00:00
"scope" : 1077 ,
2019-12-29 02:25:08 +00:00
"src" : "2677:21:5" ,
"stateVariable" : false ,
"storageLocation" : "default" ,
"typeDescriptions" : {
"typeIdentifier" : "t_address" ,
"typeString" : "address"
} ,
"typeName" : {
2020-02-18 05:18:07 +00:00
"id" : 1070 ,
2019-12-29 02:25:08 +00:00
"name" : "address" ,
"nodeType" : "ElementaryTypeName" ,
"src" : "2677:7:5" ,
"stateMutability" : "nonpayable" ,
"typeDescriptions" : {
"typeIdentifier" : "t_address" ,
"typeString" : "address"
}
} ,
"value" : null ,
"visibility" : "internal"
} ,
{
"constant" : false ,
2020-02-18 05:18:07 +00:00
"id" : 1073 ,
2019-12-29 02:25:08 +00:00
"indexed" : true ,
"name" : "spender" ,
"nodeType" : "VariableDeclaration" ,
2020-02-18 05:18:07 +00:00
"scope" : 1077 ,
2019-12-29 02:25:08 +00:00
"src" : "2700:23:5" ,
"stateVariable" : false ,
"storageLocation" : "default" ,
"typeDescriptions" : {
"typeIdentifier" : "t_address" ,
"typeString" : "address"
} ,
"typeName" : {
2020-02-18 05:18:07 +00:00
"id" : 1072 ,
2019-12-29 02:25:08 +00:00
"name" : "address" ,
"nodeType" : "ElementaryTypeName" ,
"src" : "2700:7:5" ,
"stateMutability" : "nonpayable" ,
"typeDescriptions" : {
"typeIdentifier" : "t_address" ,
"typeString" : "address"
}
} ,
"value" : null ,
"visibility" : "internal"
} ,
{
"constant" : false ,
2020-02-18 05:18:07 +00:00
"id" : 1075 ,
2019-12-29 02:25:08 +00:00
"indexed" : false ,
"name" : "value" ,
"nodeType" : "VariableDeclaration" ,
2020-02-18 05:18:07 +00:00
"scope" : 1077 ,
2019-12-29 02:25:08 +00:00
"src" : "2725:13:5" ,
"stateVariable" : false ,
"storageLocation" : "default" ,
"typeDescriptions" : {
"typeIdentifier" : "t_uint256" ,
"typeString" : "uint256"
} ,
"typeName" : {
2020-02-18 05:18:07 +00:00
"id" : 1074 ,
2019-12-29 02:25:08 +00:00
"name" : "uint256" ,
"nodeType" : "ElementaryTypeName" ,
"src" : "2725:7:5" ,
"typeDescriptions" : {
"typeIdentifier" : "t_uint256" ,
"typeString" : "uint256"
}
} ,
"value" : null ,
"visibility" : "internal"
}
] ,
"src" : "2676:63:5"
} ,
"src" : "2662:78:5"
}
] ,
2020-02-18 05:18:07 +00:00
"scope" : 1079 ,
2019-12-29 02:25:08 +00:00
"src" : "176:2566:5"
}
] ,
"src" : "0:2743:5"
} ,
"legacyAST" : {
"absolutePath" : "@openzeppelin/contracts/token/ERC20/IERC20.sol" ,
"exportedSymbols" : {
"IERC20" : [
2020-02-18 05:18:07 +00:00
1078
2019-12-29 02:25:08 +00:00
]
} ,
2020-02-18 05:18:07 +00:00
"id" : 1079 ,
2019-12-29 02:25:08 +00:00
"nodeType" : "SourceUnit" ,
"nodes" : [
{
2020-02-18 05:18:07 +00:00
"id" : 1011 ,
2019-12-29 02:25:08 +00:00
"literals" : [
"solidity" ,
"^" ,
"0.5" ,
".0"
] ,
"nodeType" : "PragmaDirective" ,
"src" : "0:23:5"
} ,
{
"baseContracts" : [ ] ,
"contractDependencies" : [ ] ,
"contractKind" : "interface" ,
"documentation" : "@dev Interface of the ERC20 standard as defined in the EIP. Does not include\nthe optional functions; to access them see {ERC20Detailed}." ,
"fullyImplemented" : false ,
2020-02-18 05:18:07 +00:00
"id" : 1078 ,
2019-12-29 02:25:08 +00:00
"linearizedBaseContracts" : [
2020-02-18 05:18:07 +00:00
1078
2019-12-29 02:25:08 +00:00
] ,
"name" : "IERC20" ,
"nodeType" : "ContractDefinition" ,
"nodes" : [
{
"body" : null ,
"documentation" : "@dev Returns the amount of tokens in existence." ,
2020-02-18 05:18:07 +00:00
"id" : 1016 ,
2019-12-29 02:25:08 +00:00
"implemented" : false ,
"kind" : "function" ,
"modifiers" : [ ] ,
"name" : "totalSupply" ,
"nodeType" : "FunctionDefinition" ,
"parameters" : {
2020-02-18 05:18:07 +00:00
"id" : 1012 ,
2019-12-29 02:25:08 +00:00
"nodeType" : "ParameterList" ,
"parameters" : [ ] ,
"src" : "290:2:5"
} ,
"returnParameters" : {
2020-02-18 05:18:07 +00:00
"id" : 1015 ,
2019-12-29 02:25:08 +00:00
"nodeType" : "ParameterList" ,
"parameters" : [
{
"constant" : false ,
2020-02-18 05:18:07 +00:00
"id" : 1014 ,
2019-12-29 02:25:08 +00:00
"name" : "" ,
"nodeType" : "VariableDeclaration" ,
2020-02-18 05:18:07 +00:00
"scope" : 1016 ,
2019-12-29 02:25:08 +00:00
"src" : "316:7:5" ,
"stateVariable" : false ,
"storageLocation" : "default" ,
"typeDescriptions" : {
"typeIdentifier" : "t_uint256" ,
"typeString" : "uint256"
} ,
"typeName" : {
2020-02-18 05:18:07 +00:00
"id" : 1013 ,
2019-12-29 02:25:08 +00:00
"name" : "uint256" ,
"nodeType" : "ElementaryTypeName" ,
"src" : "316:7:5" ,
"typeDescriptions" : {
"typeIdentifier" : "t_uint256" ,
"typeString" : "uint256"
}
} ,
"value" : null ,
"visibility" : "internal"
}
] ,
"src" : "315:9:5"
} ,
2020-02-18 05:18:07 +00:00
"scope" : 1078 ,
2019-12-29 02:25:08 +00:00
"src" : "270:55:5" ,
"stateMutability" : "view" ,
"superFunction" : null ,
"visibility" : "external"
} ,
{
"body" : null ,
"documentation" : "@dev Returns the amount of tokens owned by `account`." ,
2020-02-18 05:18:07 +00:00
"id" : 1023 ,
2019-12-29 02:25:08 +00:00
"implemented" : false ,
"kind" : "function" ,
"modifiers" : [ ] ,
"name" : "balanceOf" ,
"nodeType" : "FunctionDefinition" ,
"parameters" : {
2020-02-18 05:18:07 +00:00
"id" : 1019 ,
2019-12-29 02:25:08 +00:00
"nodeType" : "ParameterList" ,
"parameters" : [
{
"constant" : false ,
2020-02-18 05:18:07 +00:00
"id" : 1018 ,
2019-12-29 02:25:08 +00:00
"name" : "account" ,
"nodeType" : "VariableDeclaration" ,
2020-02-18 05:18:07 +00:00
"scope" : 1023 ,
2019-12-29 02:25:08 +00:00
"src" : "427:15:5" ,
"stateVariable" : false ,
"storageLocation" : "default" ,
"typeDescriptions" : {
"typeIdentifier" : "t_address" ,
"typeString" : "address"
} ,
"typeName" : {
2020-02-18 05:18:07 +00:00
"id" : 1017 ,
2019-12-29 02:25:08 +00:00
"name" : "address" ,
"nodeType" : "ElementaryTypeName" ,
"src" : "427:7:5" ,
"stateMutability" : "nonpayable" ,
"typeDescriptions" : {
"typeIdentifier" : "t_address" ,
"typeString" : "address"
}
} ,
"value" : null ,
"visibility" : "internal"
}
] ,
"src" : "426:17:5"
} ,
"returnParameters" : {
2020-02-18 05:18:07 +00:00
"id" : 1022 ,
2019-12-29 02:25:08 +00:00
"nodeType" : "ParameterList" ,
"parameters" : [
{
"constant" : false ,
2020-02-18 05:18:07 +00:00
"id" : 1021 ,
2019-12-29 02:25:08 +00:00
"name" : "" ,
"nodeType" : "VariableDeclaration" ,
2020-02-18 05:18:07 +00:00
"scope" : 1023 ,
2019-12-29 02:25:08 +00:00
"src" : "467:7:5" ,
"stateVariable" : false ,
"storageLocation" : "default" ,
"typeDescriptions" : {
"typeIdentifier" : "t_uint256" ,
"typeString" : "uint256"
} ,
"typeName" : {
2020-02-18 05:18:07 +00:00
"id" : 1020 ,
2019-12-29 02:25:08 +00:00
"name" : "uint256" ,
"nodeType" : "ElementaryTypeName" ,
"src" : "467:7:5" ,
"typeDescriptions" : {
"typeIdentifier" : "t_uint256" ,
"typeString" : "uint256"
}
} ,
"value" : null ,
"visibility" : "internal"
}
] ,
"src" : "466:9:5"
} ,
2020-02-18 05:18:07 +00:00
"scope" : 1078 ,
2019-12-29 02:25:08 +00:00
"src" : "408:68:5" ,
"stateMutability" : "view" ,
"superFunction" : null ,
"visibility" : "external"
} ,
{
"body" : null ,
"documentation" : "@dev Moves `amount` tokens from the caller's account to `recipient`.\n * Returns a boolean value indicating whether the operation succeeded.\n * Emits a {Transfer} event." ,
2020-02-18 05:18:07 +00:00
"id" : 1032 ,
2019-12-29 02:25:08 +00:00
"implemented" : false ,
"kind" : "function" ,
"modifiers" : [ ] ,
"name" : "transfer" ,
"nodeType" : "FunctionDefinition" ,
"parameters" : {
2020-02-18 05:18:07 +00:00
"id" : 1028 ,
2019-12-29 02:25:08 +00:00
"nodeType" : "ParameterList" ,
"parameters" : [
{
"constant" : false ,
2020-02-18 05:18:07 +00:00
"id" : 1025 ,
2019-12-29 02:25:08 +00:00
"name" : "recipient" ,
"nodeType" : "VariableDeclaration" ,
2020-02-18 05:18:07 +00:00
"scope" : 1032 ,
2019-12-29 02:25:08 +00:00
"src" : "714:17:5" ,
"stateVariable" : false ,
"storageLocation" : "default" ,
"typeDescriptions" : {
"typeIdentifier" : "t_address" ,
"typeString" : "address"
} ,
"typeName" : {
2020-02-18 05:18:07 +00:00
"id" : 1024 ,
2019-12-29 02:25:08 +00:00
"name" : "address" ,
"nodeType" : "ElementaryTypeName" ,
"src" : "714:7:5" ,
"stateMutability" : "nonpayable" ,
"typeDescriptions" : {
"typeIdentifier" : "t_address" ,
"typeString" : "address"
}
} ,
"value" : null ,
"visibility" : "internal"
} ,
{
"constant" : false ,
2020-02-18 05:18:07 +00:00
"id" : 1027 ,
2019-12-29 02:25:08 +00:00
"name" : "amount" ,
"nodeType" : "VariableDeclaration" ,
2020-02-18 05:18:07 +00:00
"scope" : 1032 ,
2019-12-29 02:25:08 +00:00
"src" : "733:14:5" ,
"stateVariable" : false ,
"storageLocation" : "default" ,
"typeDescriptions" : {
"typeIdentifier" : "t_uint256" ,
"typeString" : "uint256"
} ,
"typeName" : {
2020-02-18 05:18:07 +00:00
"id" : 1026 ,
2019-12-29 02:25:08 +00:00
"name" : "uint256" ,
"nodeType" : "ElementaryTypeName" ,
"src" : "733:7:5" ,
"typeDescriptions" : {
"typeIdentifier" : "t_uint256" ,
"typeString" : "uint256"
}
} ,
"value" : null ,
"visibility" : "internal"
}
] ,
"src" : "713:35:5"
} ,
"returnParameters" : {
2020-02-18 05:18:07 +00:00
"id" : 1031 ,
2019-12-29 02:25:08 +00:00
"nodeType" : "ParameterList" ,
"parameters" : [
{
"constant" : false ,
2020-02-18 05:18:07 +00:00
"id" : 1030 ,
2019-12-29 02:25:08 +00:00
"name" : "" ,
"nodeType" : "VariableDeclaration" ,
2020-02-18 05:18:07 +00:00
"scope" : 1032 ,
2019-12-29 02:25:08 +00:00
"src" : "767:4:5" ,
"stateVariable" : false ,
"storageLocation" : "default" ,
"typeDescriptions" : {
"typeIdentifier" : "t_bool" ,
"typeString" : "bool"
} ,
"typeName" : {
2020-02-18 05:18:07 +00:00
"id" : 1029 ,
2019-12-29 02:25:08 +00:00
"name" : "bool" ,
"nodeType" : "ElementaryTypeName" ,
"src" : "767:4:5" ,
"typeDescriptions" : {
"typeIdentifier" : "t_bool" ,
"typeString" : "bool"
}
} ,
"value" : null ,
"visibility" : "internal"
}
] ,
"src" : "766:6:5"
} ,
2020-02-18 05:18:07 +00:00
"scope" : 1078 ,
2019-12-29 02:25:08 +00:00
"src" : "696:77:5" ,
"stateMutability" : "nonpayable" ,
"superFunction" : null ,
"visibility" : "external"
} ,
{
"body" : null ,
"documentation" : "@dev Returns the remaining number of tokens that `spender` will be\nallowed to spend on behalf of `owner` through {transferFrom}. This is\nzero by default.\n * This value changes when {approve} or {transferFrom} are called." ,
2020-02-18 05:18:07 +00:00
"id" : 1041 ,
2019-12-29 02:25:08 +00:00
"implemented" : false ,
"kind" : "function" ,
"modifiers" : [ ] ,
"name" : "allowance" ,
"nodeType" : "FunctionDefinition" ,
"parameters" : {
2020-02-18 05:18:07 +00:00
"id" : 1037 ,
2019-12-29 02:25:08 +00:00
"nodeType" : "ParameterList" ,
"parameters" : [
{
"constant" : false ,
2020-02-18 05:18:07 +00:00
"id" : 1034 ,
2019-12-29 02:25:08 +00:00
"name" : "owner" ,
"nodeType" : "VariableDeclaration" ,
2020-02-18 05:18:07 +00:00
"scope" : 1041 ,
2019-12-29 02:25:08 +00:00
"src" : "1067:13:5" ,
"stateVariable" : false ,
"storageLocation" : "default" ,
"typeDescriptions" : {
"typeIdentifier" : "t_address" ,
"typeString" : "address"
} ,
"typeName" : {
2020-02-18 05:18:07 +00:00
"id" : 1033 ,
2019-12-29 02:25:08 +00:00
"name" : "address" ,
"nodeType" : "ElementaryTypeName" ,
"src" : "1067:7:5" ,
"stateMutability" : "nonpayable" ,
"typeDescriptions" : {
"typeIdentifier" : "t_address" ,
"typeString" : "address"
}
} ,
"value" : null ,
"visibility" : "internal"
} ,
{
"constant" : false ,
2020-02-18 05:18:07 +00:00
"id" : 1036 ,
2019-12-29 02:25:08 +00:00
"name" : "spender" ,
"nodeType" : "VariableDeclaration" ,
2020-02-18 05:18:07 +00:00
"scope" : 1041 ,
2019-12-29 02:25:08 +00:00
"src" : "1082:15:5" ,
"stateVariable" : false ,
"storageLocation" : "default" ,
"typeDescriptions" : {
"typeIdentifier" : "t_address" ,
"typeString" : "address"
} ,
"typeName" : {
2020-02-18 05:18:07 +00:00
"id" : 1035 ,
2019-12-29 02:25:08 +00:00
"name" : "address" ,
"nodeType" : "ElementaryTypeName" ,
"src" : "1082:7:5" ,
"stateMutability" : "nonpayable" ,
"typeDescriptions" : {
"typeIdentifier" : "t_address" ,
"typeString" : "address"
}
} ,
"value" : null ,
"visibility" : "internal"
}
] ,
"src" : "1066:32:5"
} ,
"returnParameters" : {
2020-02-18 05:18:07 +00:00
"id" : 1040 ,
2019-12-29 02:25:08 +00:00
"nodeType" : "ParameterList" ,
"parameters" : [
{
"constant" : false ,
2020-02-18 05:18:07 +00:00
"id" : 1039 ,
2019-12-29 02:25:08 +00:00
"name" : "" ,
"nodeType" : "VariableDeclaration" ,
2020-02-18 05:18:07 +00:00
"scope" : 1041 ,
2019-12-29 02:25:08 +00:00
"src" : "1122:7:5" ,
"stateVariable" : false ,
"storageLocation" : "default" ,
"typeDescriptions" : {
"typeIdentifier" : "t_uint256" ,
"typeString" : "uint256"
} ,
"typeName" : {
2020-02-18 05:18:07 +00:00
"id" : 1038 ,
2019-12-29 02:25:08 +00:00
"name" : "uint256" ,
"nodeType" : "ElementaryTypeName" ,
"src" : "1122:7:5" ,
"typeDescriptions" : {
"typeIdentifier" : "t_uint256" ,
"typeString" : "uint256"
}
} ,
"value" : null ,
"visibility" : "internal"
}
] ,
"src" : "1121:9:5"
} ,
2020-02-18 05:18:07 +00:00
"scope" : 1078 ,
2019-12-29 02:25:08 +00:00
"src" : "1048:83:5" ,
"stateMutability" : "view" ,
"superFunction" : null ,
"visibility" : "external"
} ,
{
"body" : null ,
"documentation" : "@dev Sets `amount` as the allowance of `spender` over the caller's tokens.\n * Returns a boolean value indicating whether the operation succeeded.\n * IMPORTANT: Beware that changing an allowance with this method brings the risk\nthat someone may use both the old and the new allowance by unfortunate\ntransaction ordering. One possible solution to mitigate this race\ncondition is to first reduce the spender's allowance to 0 and set the\ndesired value afterwards:\nhttps://github.com/ethereum/EIPs/issues/20#issuecomment-263524729\n * Emits an {Approval} event." ,
2020-02-18 05:18:07 +00:00
"id" : 1050 ,
2019-12-29 02:25:08 +00:00
"implemented" : false ,
"kind" : "function" ,
"modifiers" : [ ] ,
"name" : "approve" ,
"nodeType" : "FunctionDefinition" ,
"parameters" : {
2020-02-18 05:18:07 +00:00
"id" : 1046 ,
2019-12-29 02:25:08 +00:00
"nodeType" : "ParameterList" ,
"parameters" : [
{
"constant" : false ,
2020-02-18 05:18:07 +00:00
"id" : 1043 ,
2019-12-29 02:25:08 +00:00
"name" : "spender" ,
"nodeType" : "VariableDeclaration" ,
2020-02-18 05:18:07 +00:00
"scope" : 1050 ,
2019-12-29 02:25:08 +00:00
"src" : "1801:15:5" ,
"stateVariable" : false ,
"storageLocation" : "default" ,
"typeDescriptions" : {
"typeIdentifier" : "t_address" ,
"typeString" : "address"
} ,
"typeName" : {
2020-02-18 05:18:07 +00:00
"id" : 1042 ,
2019-12-29 02:25:08 +00:00
"name" : "address" ,
"nodeType" : "ElementaryTypeName" ,
"src" : "1801:7:5" ,
"stateMutability" : "nonpayable" ,
"typeDescriptions" : {
"typeIdentifier" : "t_address" ,
"typeString" : "address"
}
} ,
"value" : null ,
"visibility" : "internal"
} ,
{
"constant" : false ,
2020-02-18 05:18:07 +00:00
"id" : 1045 ,
2019-12-29 02:25:08 +00:00
"name" : "amount" ,
"nodeType" : "VariableDeclaration" ,
2020-02-18 05:18:07 +00:00
"scope" : 1050 ,
2019-12-29 02:25:08 +00:00
"src" : "1818:14:5" ,
"stateVariable" : false ,
"storageLocation" : "default" ,
"typeDescriptions" : {
"typeIdentifier" : "t_uint256" ,
"typeString" : "uint256"
} ,
"typeName" : {
2020-02-18 05:18:07 +00:00
"id" : 1044 ,
2019-12-29 02:25:08 +00:00
"name" : "uint256" ,
"nodeType" : "ElementaryTypeName" ,
"src" : "1818:7:5" ,
"typeDescriptions" : {
"typeIdentifier" : "t_uint256" ,
"typeString" : "uint256"
}
} ,
"value" : null ,
"visibility" : "internal"
}
] ,
"src" : "1800:33:5"
} ,
"returnParameters" : {
2020-02-18 05:18:07 +00:00
"id" : 1049 ,
2019-12-29 02:25:08 +00:00
"nodeType" : "ParameterList" ,
"parameters" : [
{
"constant" : false ,
2020-02-18 05:18:07 +00:00
"id" : 1048 ,
2019-12-29 02:25:08 +00:00
"name" : "" ,
"nodeType" : "VariableDeclaration" ,
2020-02-18 05:18:07 +00:00
"scope" : 1050 ,
2019-12-29 02:25:08 +00:00
"src" : "1852:4:5" ,
"stateVariable" : false ,
"storageLocation" : "default" ,
"typeDescriptions" : {
"typeIdentifier" : "t_bool" ,
"typeString" : "bool"
} ,
"typeName" : {
2020-02-18 05:18:07 +00:00
"id" : 1047 ,
2019-12-29 02:25:08 +00:00
"name" : "bool" ,
"nodeType" : "ElementaryTypeName" ,
"src" : "1852:4:5" ,
"typeDescriptions" : {
"typeIdentifier" : "t_bool" ,
"typeString" : "bool"
}
} ,
"value" : null ,
"visibility" : "internal"
}
] ,
"src" : "1851:6:5"
} ,
2020-02-18 05:18:07 +00:00
"scope" : 1078 ,
2019-12-29 02:25:08 +00:00
"src" : "1784:74:5" ,
"stateMutability" : "nonpayable" ,
"superFunction" : null ,
"visibility" : "external"
} ,
{
"body" : null ,
"documentation" : "@dev Moves `amount` tokens from `sender` to `recipient` using the\nallowance mechanism. `amount` is then deducted from the caller's\nallowance.\n * Returns a boolean value indicating whether the operation succeeded.\n * Emits a {Transfer} event." ,
2020-02-18 05:18:07 +00:00
"id" : 1061 ,
2019-12-29 02:25:08 +00:00
"implemented" : false ,
"kind" : "function" ,
"modifiers" : [ ] ,
"name" : "transferFrom" ,
"nodeType" : "FunctionDefinition" ,
"parameters" : {
2020-02-18 05:18:07 +00:00
"id" : 1057 ,
2019-12-29 02:25:08 +00:00
"nodeType" : "ParameterList" ,
"parameters" : [
{
"constant" : false ,
2020-02-18 05:18:07 +00:00
"id" : 1052 ,
2019-12-29 02:25:08 +00:00
"name" : "sender" ,
"nodeType" : "VariableDeclaration" ,
2020-02-18 05:18:07 +00:00
"scope" : 1061 ,
2019-12-29 02:25:08 +00:00
"src" : "2187:14:5" ,
"stateVariable" : false ,
"storageLocation" : "default" ,
"typeDescriptions" : {
"typeIdentifier" : "t_address" ,
"typeString" : "address"
} ,
"typeName" : {
2020-02-18 05:18:07 +00:00
"id" : 1051 ,
2019-12-29 02:25:08 +00:00
"name" : "address" ,
"nodeType" : "ElementaryTypeName" ,
"src" : "2187:7:5" ,
"stateMutability" : "nonpayable" ,
"typeDescriptions" : {
"typeIdentifier" : "t_address" ,
"typeString" : "address"
}
} ,
"value" : null ,
"visibility" : "internal"
} ,
{
"constant" : false ,
2020-02-18 05:18:07 +00:00
"id" : 1054 ,
2019-12-29 02:25:08 +00:00
"name" : "recipient" ,
"nodeType" : "VariableDeclaration" ,
2020-02-18 05:18:07 +00:00
"scope" : 1061 ,
2019-12-29 02:25:08 +00:00
"src" : "2203:17:5" ,
"stateVariable" : false ,
"storageLocation" : "default" ,
"typeDescriptions" : {
"typeIdentifier" : "t_address" ,
"typeString" : "address"
} ,
"typeName" : {
2020-02-18 05:18:07 +00:00
"id" : 1053 ,
2019-12-29 02:25:08 +00:00
"name" : "address" ,
"nodeType" : "ElementaryTypeName" ,
"src" : "2203:7:5" ,
"stateMutability" : "nonpayable" ,
"typeDescriptions" : {
"typeIdentifier" : "t_address" ,
"typeString" : "address"
}
} ,
"value" : null ,
"visibility" : "internal"
} ,
{
"constant" : false ,
2020-02-18 05:18:07 +00:00
"id" : 1056 ,
2019-12-29 02:25:08 +00:00
"name" : "amount" ,
"nodeType" : "VariableDeclaration" ,
2020-02-18 05:18:07 +00:00
"scope" : 1061 ,
2019-12-29 02:25:08 +00:00
"src" : "2222:14:5" ,
"stateVariable" : false ,
"storageLocation" : "default" ,
"typeDescriptions" : {
"typeIdentifier" : "t_uint256" ,
"typeString" : "uint256"
} ,
"typeName" : {
2020-02-18 05:18:07 +00:00
"id" : 1055 ,
2019-12-29 02:25:08 +00:00
"name" : "uint256" ,
"nodeType" : "ElementaryTypeName" ,
"src" : "2222:7:5" ,
"typeDescriptions" : {
"typeIdentifier" : "t_uint256" ,
"typeString" : "uint256"
}
} ,
"value" : null ,
"visibility" : "internal"
}
] ,
"src" : "2186:51:5"
} ,
"returnParameters" : {
2020-02-18 05:18:07 +00:00
"id" : 1060 ,
2019-12-29 02:25:08 +00:00
"nodeType" : "ParameterList" ,
"parameters" : [
{
"constant" : false ,
2020-02-18 05:18:07 +00:00
"id" : 1059 ,
2019-12-29 02:25:08 +00:00
"name" : "" ,
"nodeType" : "VariableDeclaration" ,
2020-02-18 05:18:07 +00:00
"scope" : 1061 ,
2019-12-29 02:25:08 +00:00
"src" : "2256:4:5" ,
"stateVariable" : false ,
"storageLocation" : "default" ,
"typeDescriptions" : {
"typeIdentifier" : "t_bool" ,
"typeString" : "bool"
} ,
"typeName" : {
2020-02-18 05:18:07 +00:00
"id" : 1058 ,
2019-12-29 02:25:08 +00:00
"name" : "bool" ,
"nodeType" : "ElementaryTypeName" ,
"src" : "2256:4:5" ,
"typeDescriptions" : {
"typeIdentifier" : "t_bool" ,
"typeString" : "bool"
}
} ,
"value" : null ,
"visibility" : "internal"
}
] ,
"src" : "2255:6:5"
} ,
2020-02-18 05:18:07 +00:00
"scope" : 1078 ,
2019-12-29 02:25:08 +00:00
"src" : "2165:97:5" ,
"stateMutability" : "nonpayable" ,
"superFunction" : null ,
"visibility" : "external"
} ,
{
"anonymous" : false ,
"documentation" : "@dev Emitted when `value` tokens are moved from one account (`from`) to\nanother (`to`).\n * Note that `value` may be zero." ,
2020-02-18 05:18:07 +00:00
"id" : 1069 ,
2019-12-29 02:25:08 +00:00
"name" : "Transfer" ,
"nodeType" : "EventDefinition" ,
"parameters" : {
2020-02-18 05:18:07 +00:00
"id" : 1068 ,
2019-12-29 02:25:08 +00:00
"nodeType" : "ParameterList" ,
"parameters" : [
{
"constant" : false ,
2020-02-18 05:18:07 +00:00
"id" : 1063 ,
2019-12-29 02:25:08 +00:00
"indexed" : true ,
"name" : "from" ,
"nodeType" : "VariableDeclaration" ,
2020-02-18 05:18:07 +00:00
"scope" : 1069 ,
2019-12-29 02:25:08 +00:00
"src" : "2446:20:5" ,
"stateVariable" : false ,
"storageLocation" : "default" ,
"typeDescriptions" : {
"typeIdentifier" : "t_address" ,
"typeString" : "address"
} ,
"typeName" : {
2020-02-18 05:18:07 +00:00
"id" : 1062 ,
2019-12-29 02:25:08 +00:00
"name" : "address" ,
"nodeType" : "ElementaryTypeName" ,
"src" : "2446:7:5" ,
"stateMutability" : "nonpayable" ,
"typeDescriptions" : {
"typeIdentifier" : "t_address" ,
"typeString" : "address"
}
} ,
"value" : null ,
"visibility" : "internal"
} ,
{
"constant" : false ,
2020-02-18 05:18:07 +00:00
"id" : 1065 ,
2019-12-29 02:25:08 +00:00
"indexed" : true ,
"name" : "to" ,
"nodeType" : "VariableDeclaration" ,
2020-02-18 05:18:07 +00:00
"scope" : 1069 ,
2019-12-29 02:25:08 +00:00
"src" : "2468:18:5" ,
"stateVariable" : false ,
"storageLocation" : "default" ,
"typeDescriptions" : {
"typeIdentifier" : "t_address" ,
"typeString" : "address"
} ,
"typeName" : {
2020-02-18 05:18:07 +00:00
"id" : 1064 ,
2019-12-29 02:25:08 +00:00
"name" : "address" ,
"nodeType" : "ElementaryTypeName" ,
"src" : "2468:7:5" ,
"stateMutability" : "nonpayable" ,
"typeDescriptions" : {
"typeIdentifier" : "t_address" ,
"typeString" : "address"
}
} ,
"value" : null ,
"visibility" : "internal"
} ,
{
"constant" : false ,
2020-02-18 05:18:07 +00:00
"id" : 1067 ,
2019-12-29 02:25:08 +00:00
"indexed" : false ,
"name" : "value" ,
"nodeType" : "VariableDeclaration" ,
2020-02-18 05:18:07 +00:00
"scope" : 1069 ,
2019-12-29 02:25:08 +00:00
"src" : "2488:13:5" ,
"stateVariable" : false ,
"storageLocation" : "default" ,
"typeDescriptions" : {
"typeIdentifier" : "t_uint256" ,
"typeString" : "uint256"
} ,
"typeName" : {
2020-02-18 05:18:07 +00:00
"id" : 1066 ,
2019-12-29 02:25:08 +00:00
"name" : "uint256" ,
"nodeType" : "ElementaryTypeName" ,
"src" : "2488:7:5" ,
"typeDescriptions" : {
"typeIdentifier" : "t_uint256" ,
"typeString" : "uint256"
}
} ,
"value" : null ,
"visibility" : "internal"
}
] ,
"src" : "2445:57:5"
} ,
"src" : "2431:72:5"
} ,
{
"anonymous" : false ,
"documentation" : "@dev Emitted when the allowance of a `spender` for an `owner` is set by\na call to {approve}. `value` is the new allowance." ,
2020-02-18 05:18:07 +00:00
"id" : 1077 ,
2019-12-29 02:25:08 +00:00
"name" : "Approval" ,
"nodeType" : "EventDefinition" ,
"parameters" : {
2020-02-18 05:18:07 +00:00
"id" : 1076 ,
2019-12-29 02:25:08 +00:00
"nodeType" : "ParameterList" ,
"parameters" : [
{
"constant" : false ,
2020-02-18 05:18:07 +00:00
"id" : 1071 ,
2019-12-29 02:25:08 +00:00
"indexed" : true ,
"name" : "owner" ,
"nodeType" : "VariableDeclaration" ,
2020-02-18 05:18:07 +00:00
"scope" : 1077 ,
2019-12-29 02:25:08 +00:00
"src" : "2677:21:5" ,
"stateVariable" : false ,
"storageLocation" : "default" ,
"typeDescriptions" : {
"typeIdentifier" : "t_address" ,
"typeString" : "address"
} ,
"typeName" : {
2020-02-18 05:18:07 +00:00
"id" : 1070 ,
2019-12-29 02:25:08 +00:00
"name" : "address" ,
"nodeType" : "ElementaryTypeName" ,
"src" : "2677:7:5" ,
"stateMutability" : "nonpayable" ,
"typeDescriptions" : {
"typeIdentifier" : "t_address" ,
"typeString" : "address"
}
} ,
"value" : null ,
"visibility" : "internal"
} ,
{
"constant" : false ,
2020-02-18 05:18:07 +00:00
"id" : 1073 ,
2019-12-29 02:25:08 +00:00
"indexed" : true ,
"name" : "spender" ,
"nodeType" : "VariableDeclaration" ,
2020-02-18 05:18:07 +00:00
"scope" : 1077 ,
2019-12-29 02:25:08 +00:00
"src" : "2700:23:5" ,
"stateVariable" : false ,
"storageLocation" : "default" ,
"typeDescriptions" : {
"typeIdentifier" : "t_address" ,
"typeString" : "address"
} ,
"typeName" : {
2020-02-18 05:18:07 +00:00
"id" : 1072 ,
2019-12-29 02:25:08 +00:00
"name" : "address" ,
"nodeType" : "ElementaryTypeName" ,
"src" : "2700:7:5" ,
"stateMutability" : "nonpayable" ,
"typeDescriptions" : {
"typeIdentifier" : "t_address" ,
"typeString" : "address"
}
} ,
"value" : null ,
"visibility" : "internal"
} ,
{
"constant" : false ,
2020-02-18 05:18:07 +00:00
"id" : 1075 ,
2019-12-29 02:25:08 +00:00
"indexed" : false ,
"name" : "value" ,
"nodeType" : "VariableDeclaration" ,
2020-02-18 05:18:07 +00:00
"scope" : 1077 ,
2019-12-29 02:25:08 +00:00
"src" : "2725:13:5" ,
"stateVariable" : false ,
"storageLocation" : "default" ,
"typeDescriptions" : {
"typeIdentifier" : "t_uint256" ,
"typeString" : "uint256"
} ,
"typeName" : {
2020-02-18 05:18:07 +00:00
"id" : 1074 ,
2019-12-29 02:25:08 +00:00
"name" : "uint256" ,
"nodeType" : "ElementaryTypeName" ,
"src" : "2725:7:5" ,
"typeDescriptions" : {
"typeIdentifier" : "t_uint256" ,
"typeString" : "uint256"
}
} ,
"value" : null ,
"visibility" : "internal"
}
] ,
"src" : "2676:63:5"
} ,
"src" : "2662:78:5"
}
] ,
2020-02-18 05:18:07 +00:00
"scope" : 1079 ,
2019-12-29 02:25:08 +00:00
"src" : "176:2566:5"
}
] ,
"src" : "0:2743:5"
} ,
"compiler" : {
"name" : "solc" ,
"version" : "0.5.12+commit.7709ece9.Emscripten.clang"
} ,
"networks" : { } ,
"schemaVersion" : "3.0.19" ,
2020-02-18 05:18:07 +00:00
"updatedAt" : "2020-02-18T05:14:13.977Z" ,
2019-12-29 02:25:08 +00:00
"devdoc" : {
"details" : "Interface of the ERC20 standard as defined in the EIP. Does not include the optional functions; to access them see {ERC20Detailed}." ,
"methods" : {
"allowance(address,address)" : {
"details" : "Returns the remaining number of tokens that `spender` will be allowed to spend on behalf of `owner` through {transferFrom}. This is zero by default. * This value changes when {approve} or {transferFrom} are called."
} ,
"approve(address,uint256)" : {
"details" : "Sets `amount` as the allowance of `spender` over the caller's tokens. * Returns a boolean value indicating whether the operation succeeded. * IMPORTANT: Beware that changing an allowance with this method brings the risk that someone may use both the old and the new allowance by unfortunate transaction ordering. One possible solution to mitigate this race condition is to first reduce the spender's allowance to 0 and set the desired value afterwards: https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * Emits an {Approval} event."
} ,
"balanceOf(address)" : {
"details" : "Returns the amount of tokens owned by `account`."
} ,
"totalSupply()" : {
"details" : "Returns the amount of tokens in existence."
} ,
"transfer(address,uint256)" : {
"details" : "Moves `amount` tokens from the caller's account to `recipient`. * Returns a boolean value indicating whether the operation succeeded. * Emits a {Transfer} event."
} ,
"transferFrom(address,address,uint256)" : {
"details" : "Moves `amount` tokens from `sender` to `recipient` using the allowance mechanism. `amount` is then deducted from the caller's allowance. * Returns a boolean value indicating whether the operation succeeded. * Emits a {Transfer} event."
}
}
} ,
"userdoc" : {
"methods" : { }
}
}