ERC-20
Overview
Max Total Supply
33,333,333 RBB
Holders
4,046
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 8 Decimals)
Balance
938.7721 RBBValue
$0.00Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
RainbowBaby
Compiler Version
v0.8.6+commit.11564f7e
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2022-08-16 */ pragma solidity 0.8.6; abstract contract Token { function name() virtual public view returns (string memory); function symbol() virtual public view returns (string memory); function decimals() virtual public view returns (uint8); function totalSupply() virtual public view returns (uint256); function balanceOf(address _owner) virtual public view returns (uint256 balance); function transfer(address _to, uint256 _value) virtual public returns (bool success); function transferFrom(address _from, address _to, uint256 _value) virtual public returns (bool success); function approve(address _spender, uint256 _value) virtual public returns (bool success); function allowance(address _owner, address _spender) virtual public view returns (uint256 remaining); event Transfer(address indexed _from, address indexed _to, uint256 _value); event Approval(address indexed _owner, address indexed _spender, uint256 _value); } contract Owned { address public owner; address public newOwner; event OwnershipTransferred(address indexed _from, address indexed _to); constructor() { owner = msg.sender; } function transferOwnership(address _to) public { require(msg.sender == owner); newOwner = _to; } function acceptOwnership() public { require(msg.sender == newOwner); emit OwnershipTransferred(owner, newOwner); owner = newOwner; newOwner = address(0); } } contract RainbowBaby is Token, Owned { string public _symbol; string public _name; uint8 public _decimal; uint public _totalSupply; address public _minter; mapping(address => uint) balances; constructor () { _symbol = "RBB"; _name = "RainbowBaby"; _decimal = 8; _totalSupply = 3333333300000000; _minter = 0x79Ab23822CF89d7A25d6810Bd2023e3Fb8CA3C27; balances[_minter] = _totalSupply; emit Transfer(address(0), _minter, _totalSupply); } function name() public override view returns (string memory) { return _name; } function symbol() public override view returns (string memory) { return _symbol; } function decimals() public override view returns (uint8) { return _decimal; } function totalSupply() public override view returns (uint256) { return _totalSupply; } function balanceOf(address _owner) public override view returns (uint256 balance) { return balances[_owner]; } function transferFrom(address _from, address _to, uint256 _value) public override returns (bool success) { require(balances[_from] >= _value); balances[_from] -= _value; balances[_to] += _value; emit Transfer(_from, _to, _value); return true; } function transfer(address _to, uint256 _value) public override returns (bool success) { return transferFrom(msg.sender, _to, _value); } function approve(address _spender, uint256 _value) public override returns (bool success) { return true; } function allowance(address _owner, address _spender) public override view returns (uint256 remaining) { return 0; } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"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"}],"name":"OwnershipTransferred","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"},{"inputs":[],"name":"_decimal","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_minter","outputs":[{"internalType":"address","name":"","type":"address"}],"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":[],"name":"acceptOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"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":"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":"newOwner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"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":"_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"},{"inputs":[{"internalType":"address","name":"_to","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
608060405234801561001057600080fd5b50600080546001600160a01b031916331790556040805180820190915260038082526229212160e91b602090920191825261004d91600291610135565b5060408051808201909152600b8082526a5261696e626f774261627960a81b602090920191825261008091600391610135565b506004805460ff19166008179055660bd7a62343b5006005819055600680546001600160a01b0319167379ab23822cf89d7a25d6810bd2023e3fb8ca3c27908117909155600081815260076020527f526a15cd71eb60d80382d48a27262b7f1587ef91c3359e25e8970d136425a6a1839055604051919290917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef916101289190815260200190565b60405180910390a3610209565b828054610141906101ce565b90600052602060002090601f01602090048101928261016357600085556101a9565b82601f1061017c57805160ff19168380011785556101a9565b828001600101855582156101a9579182015b828111156101a957825182559160200191906001019061018e565b506101b59291506101b9565b5090565b5b808211156101b557600081556001016101ba565b600181811c908216806101e257607f821691505b6020821081141561020357634e487b7160e01b600052602260045260246000fd5b50919050565b610760806102186000396000f3fe608060405234801561001057600080fd5b50600436106101165760003560e01c806379ba5097116100a2578063b09f126611610071578063b09f126614610243578063d28d88521461024b578063d4ee1d9014610253578063dd62ed3e14610266578063f2fde38b1461027c57600080fd5b806379ba50971461020b5780638da5cb5b1461021557806395d89b4114610228578063a9059cbb1461023057600080fd5b80632f0e3120116100e95780632f0e312014610184578063313ce567146101a35780633eaaf86b146101ae578063578ec33f146101b757806370a08231146101e257600080fd5b806306fdde031461011b578063095ea7b31461013957806318160ddd1461015f57806323b872dd14610171575b600080fd5b61012361028f565b6040516101309190610655565b60405180910390f35b61014f61014736600461062b565b600192915050565b6040519015158152602001610130565b6005545b604051908152602001610130565b61014f61017f3660046105ef565b610321565b6004546101919060ff1681565b60405160ff9091168152602001610130565b60045460ff16610191565b61016360055481565b6006546101ca906001600160a01b031681565b6040516001600160a01b039091168152602001610130565b6101636101f03660046105a1565b6001600160a01b031660009081526007602052604090205490565b6102136103f9565b005b6000546101ca906001600160a01b031681565b610123610481565b61014f61023e36600461062b565b610490565b6101236104a4565b610123610532565b6001546101ca906001600160a01b031681565b6101636102743660046105bc565b600092915050565b61021361028a3660046105a1565b61053f565b60606003805461029e906106d9565b80601f01602080910402602001604051908101604052809291908181526020018280546102ca906106d9565b80156103175780601f106102ec57610100808354040283529160200191610317565b820191906000526020600020905b8154815290600101906020018083116102fa57829003601f168201915b5050505050905090565b6001600160a01b03831660009081526007602052604081205482111561034657600080fd5b6001600160a01b0384166000908152600760205260408120805484929061036e9084906106c2565b90915550506001600160a01b0383166000908152600760205260408120805484929061039b9084906106aa565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516103e791815260200190565b60405180910390a35060019392505050565b6001546001600160a01b0316331461041057600080fd5b600154600080546040516001600160a01b0393841693909116917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600180546000805473ffffffffffffffffffffffffffffffffffffffff199081166001600160a01b03841617909155169055565b60606002805461029e906106d9565b600061049d338484610321565b9392505050565b600280546104b1906106d9565b80601f01602080910402602001604051908101604052809291908181526020018280546104dd906106d9565b801561052a5780601f106104ff5761010080835404028352916020019161052a565b820191906000526020600020905b81548152906001019060200180831161050d57829003601f168201915b505050505081565b600380546104b1906106d9565b6000546001600160a01b0316331461055657600080fd5b6001805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0392909216919091179055565b80356001600160a01b038116811461059c57600080fd5b919050565b6000602082840312156105b357600080fd5b61049d82610585565b600080604083850312156105cf57600080fd5b6105d883610585565b91506105e660208401610585565b90509250929050565b60008060006060848603121561060457600080fd5b61060d84610585565b925061061b60208501610585565b9150604084013590509250925092565b6000806040838503121561063e57600080fd5b61064783610585565b946020939093013593505050565b600060208083528351808285015260005b8181101561068257858101830151858201604001528201610666565b81811115610694576000604083870101525b50601f01601f1916929092016040019392505050565b600082198211156106bd576106bd610714565b500190565b6000828210156106d4576106d4610714565b500390565b600181811c908216806106ed57607f821691505b6020821081141561070e57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fdfea2646970667358221220cc096f2a630f8d36c79ebd87ead8445f08f1d3458b85ddd38f0feae22f11980764736f6c63430008060033
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106101165760003560e01c806379ba5097116100a2578063b09f126611610071578063b09f126614610243578063d28d88521461024b578063d4ee1d9014610253578063dd62ed3e14610266578063f2fde38b1461027c57600080fd5b806379ba50971461020b5780638da5cb5b1461021557806395d89b4114610228578063a9059cbb1461023057600080fd5b80632f0e3120116100e95780632f0e312014610184578063313ce567146101a35780633eaaf86b146101ae578063578ec33f146101b757806370a08231146101e257600080fd5b806306fdde031461011b578063095ea7b31461013957806318160ddd1461015f57806323b872dd14610171575b600080fd5b61012361028f565b6040516101309190610655565b60405180910390f35b61014f61014736600461062b565b600192915050565b6040519015158152602001610130565b6005545b604051908152602001610130565b61014f61017f3660046105ef565b610321565b6004546101919060ff1681565b60405160ff9091168152602001610130565b60045460ff16610191565b61016360055481565b6006546101ca906001600160a01b031681565b6040516001600160a01b039091168152602001610130565b6101636101f03660046105a1565b6001600160a01b031660009081526007602052604090205490565b6102136103f9565b005b6000546101ca906001600160a01b031681565b610123610481565b61014f61023e36600461062b565b610490565b6101236104a4565b610123610532565b6001546101ca906001600160a01b031681565b6101636102743660046105bc565b600092915050565b61021361028a3660046105a1565b61053f565b60606003805461029e906106d9565b80601f01602080910402602001604051908101604052809291908181526020018280546102ca906106d9565b80156103175780601f106102ec57610100808354040283529160200191610317565b820191906000526020600020905b8154815290600101906020018083116102fa57829003601f168201915b5050505050905090565b6001600160a01b03831660009081526007602052604081205482111561034657600080fd5b6001600160a01b0384166000908152600760205260408120805484929061036e9084906106c2565b90915550506001600160a01b0383166000908152600760205260408120805484929061039b9084906106aa565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516103e791815260200190565b60405180910390a35060019392505050565b6001546001600160a01b0316331461041057600080fd5b600154600080546040516001600160a01b0393841693909116917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600180546000805473ffffffffffffffffffffffffffffffffffffffff199081166001600160a01b03841617909155169055565b60606002805461029e906106d9565b600061049d338484610321565b9392505050565b600280546104b1906106d9565b80601f01602080910402602001604051908101604052809291908181526020018280546104dd906106d9565b801561052a5780601f106104ff5761010080835404028352916020019161052a565b820191906000526020600020905b81548152906001019060200180831161050d57829003601f168201915b505050505081565b600380546104b1906106d9565b6000546001600160a01b0316331461055657600080fd5b6001805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0392909216919091179055565b80356001600160a01b038116811461059c57600080fd5b919050565b6000602082840312156105b357600080fd5b61049d82610585565b600080604083850312156105cf57600080fd5b6105d883610585565b91506105e660208401610585565b90509250929050565b60008060006060848603121561060457600080fd5b61060d84610585565b925061061b60208501610585565b9150604084013590509250925092565b6000806040838503121561063e57600080fd5b61064783610585565b946020939093013593505050565b600060208083528351808285015260005b8181101561068257858101830151858201604001528201610666565b81811115610694576000604083870101525b50601f01601f1916929092016040019392505050565b600082198211156106bd576106bd610714565b500190565b6000828210156106d4576106d4610714565b500390565b600181811c908216806106ed57607f821691505b6020821081141561070e57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fdfea2646970667358221220cc096f2a630f8d36c79ebd87ead8445f08f1d3458b85ddd38f0feae22f11980764736f6c63430008060033
Deployed Bytecode Sourcemap
1530:1818:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2083:92;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;3086:120;;;;;;:::i;:::-;3194:4;3086:120;;;;;;;;1659:14:1;;1652:22;1634:41;;1622:2;1607:18;3086:120:0;1589:92:1;2386:100:0;2466:12;;2386:100;;;2434:25:1;;;2422:2;2407:18;2386:100:0;2389:76:1;2626:295:0;;;;;;:::i;:::-;;:::i;1630:21::-;;;;;;;;;;;;2642:4:1;2630:17;;;2612:36;;2600:2;2585:18;1630:21:0;2567:87:1;2287:91:0;2362:8;;;;2287:91;;1658:24;;;;;;1689:22;;;;;-1:-1:-1;;;;;1689:22:0;;;;;;-1:-1:-1;;;;;1427:55:1;;;1409:74;;1397:2;1382:18;1689:22:0;1364:125:1;2494:124:0;;;;;;:::i;:::-;-1:-1:-1;;;;;2594:16:0;2559:15;2594:16;;;:8;:16;;;;;;;2494:124;1327:196;;;:::i;:::-;;1003:20;;;;;-1:-1:-1;;;;;1003:20:0;;;2183:96;;;:::i;2929:149::-;;;;;;:::i;:::-;;:::i;1576:21::-;;;:::i;1604:19::-;;;:::i;1030:23::-;;;;;-1:-1:-1;;;;;1030:23:0;;;3214:129;;;;;;:::i;:::-;3297:17;3214:129;;;;;1200:119;;;;;;:::i;:::-;;:::i;2083:92::-;2129:13;2162:5;2155:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2083:92;:::o;2626:295::-;-1:-1:-1;;;;;2750:15:0;;2717:12;2750:15;;;:8;:15;;;;;;:25;-1:-1:-1;2750:25:0;2742:34;;;;;;-1:-1:-1;;;;;2787:15:0;;;;;;:8;:15;;;;;:25;;2806:6;;2787:15;:25;;2806:6;;2787:25;:::i;:::-;;;;-1:-1:-1;;;;;;;2824:13:0;;;;;;:8;:13;;;;;:23;;2841:6;;2824:13;:23;;2841:6;;2824:23;:::i;:::-;;;;;;;;2879:3;-1:-1:-1;;;;;2863:28:0;2872:5;-1:-1:-1;;;;;2863:28:0;;2884:6;2863:28;;;;2434:25:1;;2422:2;2407:18;;2389:76;2863:28:0;;;;;;;;-1:-1:-1;2909:4:0;2626:295;;;;;:::o;1327:196::-;1394:8;;-1:-1:-1;;;;;1394:8:0;1380:10;:22;1372:31;;;;;;1447:8;;;1440:5;;1419:37;;-1:-1:-1;;;;;1447:8:0;;;;1440:5;;;;1419:37;;;1475:8;;;;1467:16;;-1:-1:-1;;1467:16:0;;;-1:-1:-1;;;;;1475:8:0;;1467:16;;;;1494:21;;;1327:196::o;2183:96::-;2231:13;2264:7;2257:14;;;;;:::i;2929:149::-;3001:12;3033:37;3046:10;3058:3;3063:6;3033:12;:37::i;:::-;3026:44;2929:149;-1:-1:-1;;;2929:149:0:o;1576:21::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;1604:19::-;;;;;;;:::i;1200:119::-;1280:5;;-1:-1:-1;;;;;1280:5:0;1266:10;:19;1258:28;;;;;;1297:8;:14;;-1:-1:-1;;1297:14:0;-1:-1:-1;;;;;1297:14:0;;;;;;;;;;1200:119::o;14:196:1:-;82:20;;-1:-1:-1;;;;;131:54:1;;121:65;;111:2;;200:1;197;190:12;111:2;63:147;;;:::o;215:186::-;274:6;327:2;315:9;306:7;302:23;298:32;295:2;;;343:1;340;333:12;295:2;366:29;385:9;366:29;:::i;406:260::-;474:6;482;535:2;523:9;514:7;510:23;506:32;503:2;;;551:1;548;541:12;503:2;574:29;593:9;574:29;:::i;:::-;564:39;;622:38;656:2;645:9;641:18;622:38;:::i;:::-;612:48;;493:173;;;;;:::o;671:328::-;748:6;756;764;817:2;805:9;796:7;792:23;788:32;785:2;;;833:1;830;823:12;785:2;856:29;875:9;856:29;:::i;:::-;846:39;;904:38;938:2;927:9;923:18;904:38;:::i;:::-;894:48;;989:2;978:9;974:18;961:32;951:42;;775:224;;;;;:::o;1004:254::-;1072:6;1080;1133:2;1121:9;1112:7;1108:23;1104:32;1101:2;;;1149:1;1146;1139:12;1101:2;1172:29;1191:9;1172:29;:::i;:::-;1162:39;1248:2;1233:18;;;;1220:32;;-1:-1:-1;;;1091:167:1:o;1686:597::-;1798:4;1827:2;1856;1845:9;1838:21;1888:6;1882:13;1931:6;1926:2;1915:9;1911:18;1904:34;1956:1;1966:140;1980:6;1977:1;1974:13;1966:140;;;2075:14;;;2071:23;;2065:30;2041:17;;;2060:2;2037:26;2030:66;1995:10;;1966:140;;;2124:6;2121:1;2118:13;2115:2;;;2194:1;2189:2;2180:6;2169:9;2165:22;2161:31;2154:42;2115:2;-1:-1:-1;2267:2:1;2246:15;-1:-1:-1;;2242:29:1;2227:45;;;;2274:2;2223:54;;1807:476;-1:-1:-1;;;1807:476:1:o;2659:128::-;2699:3;2730:1;2726:6;2723:1;2720:13;2717:2;;;2736:18;;:::i;:::-;-1:-1:-1;2772:9:1;;2707:80::o;2792:125::-;2832:4;2860:1;2857;2854:8;2851:2;;;2865:18;;:::i;:::-;-1:-1:-1;2902:9:1;;2841:76::o;2922:380::-;3001:1;2997:12;;;;3044;;;3065:2;;3119:4;3111:6;3107:17;3097:27;;3065:2;3172;3164:6;3161:14;3141:18;3138:38;3135:2;;;3218:10;3213:3;3209:20;3206:1;3199:31;3253:4;3250:1;3243:15;3281:4;3278:1;3271:15;3135:2;;2977:325;;;:::o;3307:127::-;3368:10;3363:3;3359:20;3356:1;3349:31;3399:4;3396:1;3389:15;3423:4;3420:1;3413:15
Swarm Source
ipfs://cc096f2a630f8d36c79ebd87ead8445f08f1d3458b85ddd38f0feae22f119807
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.