Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
TokenTracker
Loading...
Loading
Contract Name:
ERC20Basic
Compiler Version
v0.6.12+commit.27d51765
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2020-11-29 */ pragma solidity ^0.6.6; contract ERC20Basic { string public constant name = "RAIDO"; string public constant symbol = "RA"; uint8 public constant decimals = 18; uint256 totalSupply_ = 100000000000000000000000000; event Approval( address indexed tokenOwner, address indexed spender, uint256 tokens ); event Transfer(address indexed from, address indexed to, uint256 tokens); mapping(address => uint256) balances; mapping(address => mapping(address => uint256)) allowed; using SafeMath for uint256; constructor() public { balances[msg.sender] = totalSupply_; } function totalSupply() public view returns (uint256) { return totalSupply_; } function balanceOf(address tokenOwner) public view returns (uint256) { return balances[tokenOwner]; } function transfer(address receiver, uint256 numTokens) public returns (bool) { require(numTokens <= balances[msg.sender]); balances[msg.sender] = balances[msg.sender].sub(numTokens); balances[receiver] = balances[receiver].add(numTokens); emit Transfer(msg.sender, receiver, numTokens); return true; } function approve(address delegate, uint256 numTokens) public returns (bool) { allowed[msg.sender][delegate] = numTokens; Approval(msg.sender, delegate, numTokens); return true; } function allowance(address owner, address delegate) public view returns (uint256) { return allowed[owner][delegate]; } function transferFrom(address owner, address buyer, uint256 numTokens) public returns (bool) { require(numTokens <= balances[owner]); require(numTokens <= allowed[owner][msg.sender]); balances[owner] = balances[owner].sub(numTokens); allowed[owner][msg.sender] = allowed[owner][msg.sender].sub(numTokens); balances[buyer] = balances[buyer].add(numTokens); Transfer(owner, buyer, numTokens); return true; } } library SafeMath { function sub(uint256 a, uint256 b) internal pure returns (uint256) { assert(b <= a); return a - b; } function add(uint256 a, uint256 b) internal pure returns (uint256) { uint256 c = a + b; assert(c >= a); return c; } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"tokenOwner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"tokens","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":"tokens","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"delegate","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"delegate","type":"address"},{"internalType":"uint256","name":"numTokens","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"tokenOwner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"receiver","type":"address"},{"internalType":"uint256","name":"numTokens","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"buyer","type":"address"},{"internalType":"uint256","name":"numTokens","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60806040526a52b7d2dcc80cd2e400000060005534801561001f57600080fd5b506000805433825260016020526040909120556105f0806100416000396000f3fe608060405234801561001057600080fd5b50600436106100a35760003560e01c8063313ce5671161007657806395d89b411161005b57806395d89b41146101f9578063a9059cbb14610201578063dd62ed3e1461022d576100a3565b8063313ce567146101b557806370a08231146101d3576100a3565b806306fdde03146100a8578063095ea7b31461012557806318160ddd1461016557806323b872dd1461017f575b600080fd5b6100b061025b565b6040805160208082528351818301528351919283929083019185019080838360005b838110156100ea5781810151838201526020016100d2565b50505050905090810190601f1680156101175780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6101516004803603604081101561013b57600080fd5b506001600160a01b038135169060200135610294565b604080519115158252519081900360200190f35b61016d6102fa565b60408051918252519081900360200190f35b6101516004803603606081101561019557600080fd5b506001600160a01b03813581169160208101359091169060400135610300565b6101bd61044e565b6040805160ff9092168252519081900360200190f35b61016d600480360360208110156101e957600080fd5b50356001600160a01b0316610453565b6100b061046e565b6101516004803603604081101561021757600080fd5b506001600160a01b0381351690602001356104a7565b61016d6004803603604081101561024357600080fd5b506001600160a01b0381358116916020013516610567565b6040518060400160405280600581526020017f524149444f00000000000000000000000000000000000000000000000000000081525081565b3360008181526002602090815260408083206001600160a01b038716808552908352818420869055815186815291519394909390927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925928290030190a350600192915050565b60005490565b6001600160a01b03831660009081526001602052604081205482111561032557600080fd5b6001600160a01b038416600090815260026020908152604080832033845290915290205482111561035557600080fd5b6001600160a01b0384166000908152600160205260409020546103789083610592565b6001600160a01b03851660009081526001602090815260408083209390935560028152828220338352905220546103af9083610592565b6001600160a01b0380861660009081526002602090815260408083203384528252808320949094559186168152600190915220546103ed90836105a4565b6001600160a01b0380851660008181526001602090815260409182902094909455805186815290519193928816927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a35060019392505050565b601281565b6001600160a01b031660009081526001602052604090205490565b6040518060400160405280600281526020017f524100000000000000000000000000000000000000000000000000000000000081525081565b336000908152600160205260408120548211156104c357600080fd5b336000908152600160205260409020546104dd9083610592565b33600090815260016020526040808220929092556001600160a01b0385168152205461050990836105a4565b6001600160a01b0384166000818152600160209081526040918290209390935580518581529051919233927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a350600192915050565b6001600160a01b03918216600090815260026020908152604080832093909416825291909152205490565b60008282111561059e57fe5b50900390565b6000828201838110156105b357fe5b939250505056fea26469706673582212206a4be734f822151ca3712129999642f6148493ba4050c39fe1356b54bf8c6f3d64736f6c634300060c0033
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106100a35760003560e01c8063313ce5671161007657806395d89b411161005b57806395d89b41146101f9578063a9059cbb14610201578063dd62ed3e1461022d576100a3565b8063313ce567146101b557806370a08231146101d3576100a3565b806306fdde03146100a8578063095ea7b31461012557806318160ddd1461016557806323b872dd1461017f575b600080fd5b6100b061025b565b6040805160208082528351818301528351919283929083019185019080838360005b838110156100ea5781810151838201526020016100d2565b50505050905090810190601f1680156101175780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6101516004803603604081101561013b57600080fd5b506001600160a01b038135169060200135610294565b604080519115158252519081900360200190f35b61016d6102fa565b60408051918252519081900360200190f35b6101516004803603606081101561019557600080fd5b506001600160a01b03813581169160208101359091169060400135610300565b6101bd61044e565b6040805160ff9092168252519081900360200190f35b61016d600480360360208110156101e957600080fd5b50356001600160a01b0316610453565b6100b061046e565b6101516004803603604081101561021757600080fd5b506001600160a01b0381351690602001356104a7565b61016d6004803603604081101561024357600080fd5b506001600160a01b0381358116916020013516610567565b6040518060400160405280600581526020017f524149444f00000000000000000000000000000000000000000000000000000081525081565b3360008181526002602090815260408083206001600160a01b038716808552908352818420869055815186815291519394909390927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925928290030190a350600192915050565b60005490565b6001600160a01b03831660009081526001602052604081205482111561032557600080fd5b6001600160a01b038416600090815260026020908152604080832033845290915290205482111561035557600080fd5b6001600160a01b0384166000908152600160205260409020546103789083610592565b6001600160a01b03851660009081526001602090815260408083209390935560028152828220338352905220546103af9083610592565b6001600160a01b0380861660009081526002602090815260408083203384528252808320949094559186168152600190915220546103ed90836105a4565b6001600160a01b0380851660008181526001602090815260409182902094909455805186815290519193928816927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a35060019392505050565b601281565b6001600160a01b031660009081526001602052604090205490565b6040518060400160405280600281526020017f524100000000000000000000000000000000000000000000000000000000000081525081565b336000908152600160205260408120548211156104c357600080fd5b336000908152600160205260409020546104dd9083610592565b33600090815260016020526040808220929092556001600160a01b0385168152205461050990836105a4565b6001600160a01b0384166000818152600160209081526040918290209390935580518581529051919233927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a350600192915050565b6001600160a01b03918216600090815260026020908152604080832093909416825291909152205490565b60008282111561059e57fe5b50900390565b6000828201838110156105b357fe5b939250505056fea26469706673582212206a4be734f822151ca3712129999642f6148493ba4050c39fe1356b54bf8c6f3d64736f6c634300060c0033
Deployed Bytecode Sourcemap
27:2169:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;54:37;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1282:233;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;1282:233:0;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;678:91;;;:::i;:::-;;;;;;;;;;;;;;;;1695:498;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;1695:498:0;;;;;;;;;;;;;;;;;:::i;141:35::-;;;:::i;:::-;;;;;;;;;;;;;;;;;;;777:115;;;;;;;;;;;;;;;;-1:-1:-1;777:115:0;-1:-1:-1;;;;;777:115:0;;:::i;98:36::-;;;:::i;900:374::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;900:374:0;;;;;;;;:::i;1523:164::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;1523:164:0;;;;;;;;;;:::i;54:37::-;;;;;;;;;;;;;;;;;;;:::o;1282:233::-;1400:10;1370:4;1392:19;;;:7;:19;;;;;;;;-1:-1:-1;;;;;1392:29:0;;;;;;;;;;;:41;;;1444;;;;;;;1370:4;;1392:29;;1400:10;;1444:41;;;;;;;;-1:-1:-1;1503:4:0;1282:233;;;;:::o;678:91::-;722:7;749:12;678:91;:::o;1695:498::-;-1:-1:-1;;;;;1843:15:0;;1800:4;1843:15;;;:8;:15;;;;;;1830:28;;;1822:37;;;;;;-1:-1:-1;;;;;1891:14:0;;;;;;:7;:14;;;;;;;;1906:10;1891:26;;;;;;;;1878:39;;;1870:48;;;;;;-1:-1:-1;;;;;1949:15:0;;;;;;:8;:15;;;;;;:30;;1969:9;1949:19;:30::i;:::-;-1:-1:-1;;;;;1931:15:0;;;;;;:8;:15;;;;;;;;:48;;;;2019:7;:14;;;;;2034:10;2019:26;;;;;;:41;;2050:9;2019:30;:41::i;:::-;-1:-1:-1;;;;;1990:14:0;;;;;;;:7;:14;;;;;;;;2005:10;1990:26;;;;;;;:70;;;;2089:15;;;;;:8;:15;;;;;:30;;2109:9;2089:19;:30::i;:::-;-1:-1:-1;;;;;2071:15:0;;;;;;;:8;:15;;;;;;;;;:48;;;;2130:33;;;;;;;2071:15;;2130:33;;;;;;;;;;;;;-1:-1:-1;2181:4:0;1695:498;;;;;:::o;141:35::-;174:2;141:35;:::o;777:115::-;-1:-1:-1;;;;;864:20:0;837:7;864:20;;;:8;:20;;;;;;;777:115::o;98:36::-;;;;;;;;;;;;;;;;;;;:::o;900:374::-;1041:10;989:4;1032:20;;;:8;:20;;;;;;1019:33;;;1011:42;;;;;;1096:10;1087:20;;;;:8;:20;;;;;;:35;;1112:9;1087:24;:35::i;:::-;1073:10;1064:20;;;;:8;:20;;;;;;:58;;;;-1:-1:-1;;;;;1154:18:0;;;;;;:33;;1177:9;1154:22;:33::i;:::-;-1:-1:-1;;;;;1133:18:0;;;;;;:8;:18;;;;;;;;;:54;;;;1203:41;;;;;;;1133:18;;1212:10;;1203:41;;;;;;;;;;-1:-1:-1;1262:4:0;900:374;;;;:::o;1523:164::-;-1:-1:-1;;;;;1655:14:0;;;1623:7;1655:14;;;:7;:14;;;;;;;;:24;;;;;;;;;;;;;1523:164::o;2224:123::-;2282:7;2314:1;2309;:6;;2302:14;;;;-1:-1:-1;2334:5:0;;;2224:123::o;2355:147::-;2413:7;2445:5;;;2468:6;;;;2461:14;;;;2493:1;2355:147;-1:-1:-1;;;2355:147:0:o
Swarm Source
ipfs://6a4be734f822151ca3712129999642f6148493ba4050c39fe1356b54bf8c6f3d
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 30 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
Loading...
Loading
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.