Verified contractPartial
MyAdvancedToken
Address0xeeae4ed6400a4f1216f3046fc002d6301c13a145
- Balance
0 ETH
- Transactions
2
- Compiler
solc 0.4.25
- Same code
8 more contracts
Details
- Compiler
- solc 0.4.25+commit.59dbf8f1
- Language
- solidity
- Optimization
- No
- EVM version
- byzantium
- License
- Not stated
- Match
- Partialcreation code: yes, runtime code: yes
- Verified on Sourcify
- Created in block
- 8,184,877
- Creation transaction
- 0x27f4856d8d…8d59b9dc27
- Main copy (most transactions)
- 0x4760b528…fc4a80c2
Read10
- name() → (string)
- totalSupply() → (uint256)
- decimals() → (uint8)
- sellPrice() → (uint256)
- balanceOf(address) → (uint256)
- buyPrice() → (uint256)
- owner() → (address)
- symbol() → (string)
- frozenAccount(address) → (bool)
- allowance(address,address) → (uint256)
Write9
- setPrices(uint256,uint256)
- approve(address,uint256) → (bool)
- transferFrom(address,address,uint256) → (bool)
- buy()
- transfer(address,uint256) → (bool)
- approveAndCall(address,uint256,bytes) → (bool)
- sell(uint256)
- freezeAccount(address,bool)
- transferOwnership(address)
Events3
- FrozenFunds(address,bool)
- Price(uint256,uint256)
- Transfer(address,address,uint256)
ABI as JSON
[
{
"name": "setPrices",
"type": "function",
"inputs": [
{
"name": "newSellPrice",
"type": "uint256"
},
{
"name": "newBuyPrice",
"type": "uint256"
}
],
"outputs": [],
"payable": false,
"constant": false,
"stateMutability": "nonpayable"
},
{
"name": "name",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "string"
}
],
"payable": false,
"constant": true,
"stateMutability": "view"
},
{
"name": "approve",
"type": "function",
"inputs": [
{
"name": "_spender",
"type": "address"
},
{
"name": "_value",
"type": "uint256"
}
],
"outputs": [
{
"name": "success",
"type": "bool"
}
],
"payable": false,
"constant": false,
"stateMutability": "nonpayable"
},
{
"name": "totalSupply",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "uint256"
}
],
"payable": false,
"constant": true,
"stateMutability": "view"
},
{
"name": "transferFrom",
"type": "function",
"inputs": [
{
"name": "_from",
"type": "address"
},
{
"name": "_to",
"type": "address"
},
{
"name": "_value",
"type": "uint256"
}
],
"outputs": [
{
"name": "success",
"type": "bool"
}
],
"payable": false,
"constant": false,
"stateMutability": "nonpayable"
},
{
"name": "decimals",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "uint8"
}
],
"payable": false,
"constant": true,
"stateMutability": "view"
},
{
"name": "sellPrice",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "uint256"
}
],
"payable": false,
"constant": true,
"stateMutability": "view"
},
{
"name": "balanceOf",
"type": "function",
"inputs": [
{
"name": "",
"type": "address"
}
],
"outputs": [
{
"name": "",
"type": "uint256"
}
],
"payable": false,
"constant": true,
"stateMutability": "view"
},
{
"name": "buyPrice",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "uint256"
}
],
"payable": false,
"constant": true,
"stateMutability": "view"
},
{
"name": "owner",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "address"
}
],
"payable": false,
"constant": true,
"stateMutability": "view"
},
{
"name": "symbol",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "string"
}
],
"payable": false,
"constant": true,
"stateMutability": "view"
},
{
"name": "buy",
"type": "function",
"inputs": [],
"outputs": [],
"payable": true,
"constant": false,
"stateMutability": "payable"
},
{
"name": "transfer",
"type": "function",
"inputs": [
{
"name": "_to",
"type": "address"
},
{
"name": "_value",
"type": "uint256"
}
],
"outputs": [
{
"name": "success",
"type": "bool"
}
],
"payable": false,
"constant": false,
"stateMutability": "nonpayable"
},
{
"name": "frozenAccount",
"type": "function",
"inputs": [
{
"name": "",
"type": "address"
}
],
"outputs": [
{
"name": "",
"type": "bool"
}
],
"payable": false,
"constant": true,
"stateMutability": "view"
},
{
"name": "approveAndCall",
"type": "function",
"inputs": [
{
"name": "_spender",
"type": "address"
},
{
"name": "_value",
"type": "uint256"
},
{
"name": "_extraData",
"type": "bytes"
}
],
"outputs": [
{
"name": "success",
"type": "bool"
}
],
"payable": false,
"constant": false,
"stateMutability": "nonpayable"
},
{
"name": "allowance",
"type": "function",
"inputs": [
{
"name": "",
"type": "address"
},
{
"name": "",
"type": "address"
}
],
"outputs": [
{
"name": "",
"type": "uint256"
}
],
"payable": false,
"constant": true,
"stateMutability": "view"
},
{
"name": "sell",
"type": "function",
"inputs": [
{
"name": "amount",
"type": "uint256"
}
],
"outputs": [],
"payable": false,
"constant": false,
"stateMutability": "nonpayable"
},
{
"name": "freezeAccount",
"type": "function",
"inputs": [
{
"name": "target",
"type": "address"
},
{
"name": "freeze",
"type": "bool"
}
],
"outputs": [],
"payable": false,
"constant": false,
"stateMutability": "nonpayable"
},
{
"name": "transferOwnership",
"type": "function",
"inputs": [
{
"name": "newOwner",
"type": "address"
}
],
"outputs": [],
"payable": false,
"constant": false,
"stateMutability": "nonpayable"
},
{
"type": "constructor",
"inputs": [
{
"name": "initialSupply",
"type": "uint256"
},
{
"name": "tokenName",
"type": "string"
},
{
"name": "tokenSymbol",
"type": "string"
}
],
"payable": false,
"stateMutability": "nonpayable"
},
{
"name": "FrozenFunds",
"type": "event",
"inputs": [
{
"name": "target",
"type": "address",
"indexed": false
},
{
"name": "frozen",
"type": "bool",
"indexed": false
}
],
"anonymous": false
},
{
"name": "Price",
"type": "event",
"inputs": [
{
"name": "newSellPrice",
"type": "uint256",
"indexed": false
},
{
"name": "newBuyPrice",
"type": "uint256",
"indexed": false
}
],
"anonymous": false
},
{
"name": "Transfer",
"type": "event",
"inputs": [
{
"name": "from",
"type": "address",
"indexed": true
},
{
"name": "to",
"type": "address",
"indexed": true
},
{
"name": "value",
"type": "uint256",
"indexed": false
}
],
"anonymous": false
}
]Source code and metadata: Sourcify.
The source code belongs to the authors of the contract.