Overview
Max Total Supply
7,999,999,999 OPM
Holders
353 (0.00%)
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Balance
90,604,073.160168699645954164 OPMValue
$0.00Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
OmegaProtocol
Compiler Version
v0.5.2+commit.1df8f40c
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2020-08-19 */ /** *Submitted for verification at Etherscan.io on 2020-08-19 *Contract for OmegaProtocol Money [OPM] OmegaSwap */ pragma solidity ^0.5.2; interface IERC20 { function totalSupply() external view returns (uint256); function balanceOf(address account) external view returns (uint256); function transfer(address recipient, uint256 amount) external returns (bool); function allowance(address owner, address spender) external view returns (uint256); function approve(address spender, uint256 amount) external returns (bool); function transferFrom(address sender, address recipient, uint256 amount) external returns (bool); event Transfer(address indexed from, address indexed to, uint256 value); event Approval(address indexed owner, address indexed spender, uint256 value); } pragma solidity ^0.5.2; library SafeMath { function add(uint256 a, uint256 b) internal pure returns (uint256) { uint256 c = a + b; require(c >= a, "SafeMath: addition overflow"); return c; } function sub(uint256 a, uint256 b) internal pure returns (uint256) { require(b <= a, "SafeMath: subtraction overflow"); uint256 c = a - b; return c; } function mul(uint256 a, uint256 b) internal pure returns (uint256) { if (a == 0) { return 0; } uint256 c = a * b; require(c / a == b, "SafeMath: multiplication overflow"); return c; } function div(uint256 a, uint256 b) internal pure returns (uint256) { require(b > 0, "SafeMath: division by zero"); uint256 c = a / b; return c; } function mod(uint256 a, uint256 b) internal pure returns (uint256) { require(b != 0, "SafeMath: modulo by zero"); return a % b; } } pragma solidity ^0.5.2; contract ERC20 is IERC20 { using SafeMath for uint256; mapping (address => uint256) private _balances; mapping (address => mapping (address => uint256)) private _allowances; uint256 private _totalSupply; function totalSupply() public view returns (uint256) { return _totalSupply; } function balanceOf(address account) public view returns (uint256) { return _balances[account]; } function transfer(address recipient, uint256 amount) public returns (bool) { _transfer(msg.sender, recipient, amount); return true; } function allowance(address owner, address spender) public view returns (uint256) { return _allowances[owner][spender]; } function approve(address spender, uint256 value) public returns (bool) { _approve(msg.sender, spender, value); return true; } function transferFrom(address sender, address recipient, uint256 amount) public returns (bool) { _transfer(sender, recipient, amount); _approve(sender, msg.sender, _allowances[sender][msg.sender].sub(amount)); return true; } function increaseAllowance(address spender, uint256 addedValue) public returns (bool) { _approve(msg.sender, spender, _allowances[msg.sender][spender].add(addedValue)); return true; } function decreaseAllowance(address spender, uint256 subtractedValue) public returns (bool) { _approve(msg.sender, spender, _allowances[msg.sender][spender].sub(subtractedValue)); return true; } function _transfer(address sender, address recipient, uint256 amount) internal { require(sender != address(0), "ERC20: transfer from the zero address"); require(recipient != address(0), "ERC20: transfer to the zero address"); _balances[sender] = _balances[sender].sub(amount); _balances[recipient] = _balances[recipient].add(amount); emit Transfer(sender, recipient, amount); } function _mint(address account, uint256 amount) internal { require(account != address(0), "ERC20: mint to the zero address"); _totalSupply = _totalSupply.add(amount); _balances[account] = _balances[account].add(amount); emit Transfer(address(0), account, amount); } function _burn(address account, uint256 value) internal { require(account != address(0), "ERC20: burn from the zero address"); _totalSupply = _totalSupply.sub(value); _balances[account] = _balances[account].sub(value); emit Transfer(account, address(0), value); } function _approve(address owner, address spender, uint256 value) internal { require(owner != address(0), "ERC20: approve from the zero address"); require(spender != address(0), "ERC20: approve to the zero address"); _allowances[owner][spender] = value; emit Approval(owner, spender, value); } function _burnFrom(address account, uint256 amount) internal { _burn(account, amount); _approve(account, msg.sender, _allowances[account][msg.sender].sub(amount)); } } pragma solidity ^0.5.2; contract OmegaProtocol is ERC20 { string private _name; string private _symbol; uint8 private _decimals; constructor(string memory name, string memory symbol, uint8 decimals, uint256 totalSupply, address payable feeReceiver, address tokenOwnerAddress) public payable { _name = name; _symbol = symbol; _decimals = decimals; _mint(tokenOwnerAddress, totalSupply); feeReceiver.transfer(msg.value); } function burn(uint256 value) public { _burn(msg.sender, value); } function name() public view returns (string memory) { return _name; } function symbol() public view returns (string memory) { return _symbol; } function decimals() public view returns (uint8) { return _decimals; } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"constant":true,"inputs":[],"name":"name","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"spender","type":"address"},{"name":"value","type":"uint256"}],"name":"approve","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"totalSupply","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"sender","type":"address"},{"name":"recipient","type":"address"},{"name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"decimals","outputs":[{"name":"","type":"uint8"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"spender","type":"address"},{"name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"value","type":"uint256"}],"name":"burn","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"account","type":"address"}],"name":"balanceOf","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"symbol","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"spender","type":"address"},{"name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"recipient","type":"address"},{"name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"owner","type":"address"},{"name":"spender","type":"address"}],"name":"allowance","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"inputs":[{"name":"name","type":"string"},{"name":"symbol","type":"string"},{"name":"decimals","type":"uint8"},{"name":"totalSupply","type":"uint256"},{"name":"feeReceiver","type":"address"},{"name":"tokenOwnerAddress","type":"address"}],"payable":true,"stateMutability":"payable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"name":"from","type":"address"},{"indexed":true,"name":"to","type":"address"},{"indexed":false,"name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"owner","type":"address"},{"indexed":true,"name":"spender","type":"address"},{"indexed":false,"name":"value","type":"uint256"}],"name":"Approval","type":"event"}]
Contract Creation Code
608060405260405162000dcc38038062000dcc833981018060405260c08110156200002957600080fd5b8101908080516401000000008111156200004257600080fd5b820160208101848111156200005657600080fd5b81516401000000008111828201871017156200007157600080fd5b505092919060200180516401000000008111156200008e57600080fd5b82016020810184811115620000a257600080fd5b8151640100000000811182820187101715620000bd57600080fd5b505060208083015160408401516060850151608090950151885194975091955093929091620000f2916003918901906200030d565b508451620001089060049060208801906200030d565b506005805460ff191660ff86161790556200012d818464010000000062000170810204565b604051600160a060020a038316903480156108fc02916000818181858888f1935050505015801562000163573d6000803e3d6000fd5b50505050505050620003b2565b600160a060020a0382161515620001e857604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b600254620002059082640100000000620007ed6200029182021704565b600255600160a060020a0382166000908152602081905260409020546200023b9082640100000000620007ed6200029182021704565b600160a060020a0383166000818152602081815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b6000828201838110156200030657604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106200035057805160ff191683800117855562000380565b8280016001018555821562000380579182015b828111156200038057825182559160200191906001019062000363565b506200038e92915062000392565b5090565b620003af91905b808211156200038e576000815560010162000399565b90565b610a0a80620003c26000396000f3fe608060405234801561001057600080fd5b50600436106100d1576000357c01000000000000000000000000000000000000000000000000000000009004806342966c681161008e57806342966c681461022d57806370a082311461024c57806395d89b4114610272578063a457c2d71461027a578063a9059cbb146102a6578063dd62ed3e146102d2576100d1565b806306fdde03146100d6578063095ea7b31461015357806318160ddd1461019357806323b872dd146101ad578063313ce567146101e35780633950935114610201575b600080fd5b6100de610300565b6040805160208082528351818301528351919283929083019185019080838360005b83811015610118578181015183820152602001610100565b50505050905090810190601f1680156101455780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b61017f6004803603604081101561016957600080fd5b50600160a060020a038135169060200135610396565b604080519115158252519081900360200190f35b61019b6103ac565b60408051918252519081900360200190f35b61017f600480360360608110156101c357600080fd5b50600160a060020a038135811691602081013590911690604001356103b2565b6101eb610409565b6040805160ff9092168252519081900360200190f35b61017f6004803603604081101561021757600080fd5b50600160a060020a038135169060200135610412565b61024a6004803603602081101561024357600080fd5b503561044e565b005b61019b6004803603602081101561026257600080fd5b5035600160a060020a031661045b565b6100de610476565b61017f6004803603604081101561029057600080fd5b50600160a060020a0381351690602001356104d7565b61017f600480360360408110156102bc57600080fd5b50600160a060020a038135169060200135610513565b61019b600480360360408110156102e857600080fd5b50600160a060020a0381358116916020013516610520565b60038054604080516020601f600260001961010060018816150201909516949094049384018190048102820181019092528281526060939092909183018282801561038c5780601f106103615761010080835404028352916020019161038c565b820191906000526020600020905b81548152906001019060200180831161036f57829003601f168201915b5050505050905090565b60006103a333848461054b565b50600192915050565b60025490565b60006103bf848484610641565b600160a060020a0384166000908152600160209081526040808320338085529252909120546103ff9186916103fa908663ffffffff61078d16565b61054b565b5060019392505050565b60055460ff1690565b336000818152600160209081526040808320600160a060020a038716845290915281205490916103a39185906103fa908663ffffffff6107ed16565b6104583382610851565b50565b600160a060020a031660009081526020819052604090205490565b60048054604080516020601f600260001961010060018816150201909516949094049384018190048102820181019092528281526060939092909183018282801561038c5780601f106103615761010080835404028352916020019161038c565b336000818152600160209081526040808320600160a060020a038716845290915281205490916103a39185906103fa908663ffffffff61078d16565b60006103a3338484610641565b600160a060020a03918216600090815260016020908152604080832093909416825291909152205490565b600160a060020a03831615156105955760405160e560020a62461bcd0281526004018080602001828103825260248152602001806109bb6024913960400191505060405180910390fd5b600160a060020a03821615156105df5760405160e560020a62461bcd0281526004018080602001828103825260228152602001806109536022913960400191505060405180910390fd5b600160a060020a03808416600081815260016020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b600160a060020a038316151561068b5760405160e560020a62461bcd0281526004018080602001828103825260258152602001806109966025913960400191505060405180910390fd5b600160a060020a03821615156106d55760405160e560020a62461bcd0281526004018080602001828103825260238152602001806109306023913960400191505060405180910390fd5b600160a060020a0383166000908152602081905260409020546106fe908263ffffffff61078d16565b600160a060020a038085166000908152602081905260408082209390935590841681522054610733908263ffffffff6107ed16565b600160a060020a038084166000818152602081815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b6000828211156107e7576040805160e560020a62461bcd02815260206004820152601e60248201527f536166654d6174683a207375627472616374696f6e206f766572666c6f770000604482015290519081900360640190fd5b50900390565b60008282018381101561084a576040805160e560020a62461bcd02815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b600160a060020a038216151561089b5760405160e560020a62461bcd0281526004018080602001828103825260218152602001806109756021913960400191505060405180910390fd5b6002546108ae908263ffffffff61078d16565b600255600160a060020a0382166000908152602081905260409020546108da908263ffffffff61078d16565b600160a060020a038316600081815260208181526040808320949094558351858152935191937fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef929081900390910190a3505056fe45524332303a207472616e7366657220746f20746865207a65726f206164647265737345524332303a20617070726f766520746f20746865207a65726f206164647265737345524332303a206275726e2066726f6d20746865207a65726f206164647265737345524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f2061646472657373a165627a7a723058204e21248764537bd30da70afc290e3bbb6ca41e5c6178c3f9cad8e97a5c716c56002900000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000000120000000000000000000000000000000000000000204fce5e30444bad689c0000000000000000000000000000b2b4076a36b8993094cbfdb72512820b8bedb6ce000000000000000000000000f771d78d4db4f6ba725dcc8849a701d5e8bf66f300000000000000000000000000000000000000000000000000000000000000144f6d6567612050726f746f636f6c204d6f6e657900000000000000000000000000000000000000000000000000000000000000000000000000000000000000034f504d0000000000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106100d1576000357c01000000000000000000000000000000000000000000000000000000009004806342966c681161008e57806342966c681461022d57806370a082311461024c57806395d89b4114610272578063a457c2d71461027a578063a9059cbb146102a6578063dd62ed3e146102d2576100d1565b806306fdde03146100d6578063095ea7b31461015357806318160ddd1461019357806323b872dd146101ad578063313ce567146101e35780633950935114610201575b600080fd5b6100de610300565b6040805160208082528351818301528351919283929083019185019080838360005b83811015610118578181015183820152602001610100565b50505050905090810190601f1680156101455780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b61017f6004803603604081101561016957600080fd5b50600160a060020a038135169060200135610396565b604080519115158252519081900360200190f35b61019b6103ac565b60408051918252519081900360200190f35b61017f600480360360608110156101c357600080fd5b50600160a060020a038135811691602081013590911690604001356103b2565b6101eb610409565b6040805160ff9092168252519081900360200190f35b61017f6004803603604081101561021757600080fd5b50600160a060020a038135169060200135610412565b61024a6004803603602081101561024357600080fd5b503561044e565b005b61019b6004803603602081101561026257600080fd5b5035600160a060020a031661045b565b6100de610476565b61017f6004803603604081101561029057600080fd5b50600160a060020a0381351690602001356104d7565b61017f600480360360408110156102bc57600080fd5b50600160a060020a038135169060200135610513565b61019b600480360360408110156102e857600080fd5b50600160a060020a0381358116916020013516610520565b60038054604080516020601f600260001961010060018816150201909516949094049384018190048102820181019092528281526060939092909183018282801561038c5780601f106103615761010080835404028352916020019161038c565b820191906000526020600020905b81548152906001019060200180831161036f57829003601f168201915b5050505050905090565b60006103a333848461054b565b50600192915050565b60025490565b60006103bf848484610641565b600160a060020a0384166000908152600160209081526040808320338085529252909120546103ff9186916103fa908663ffffffff61078d16565b61054b565b5060019392505050565b60055460ff1690565b336000818152600160209081526040808320600160a060020a038716845290915281205490916103a39185906103fa908663ffffffff6107ed16565b6104583382610851565b50565b600160a060020a031660009081526020819052604090205490565b60048054604080516020601f600260001961010060018816150201909516949094049384018190048102820181019092528281526060939092909183018282801561038c5780601f106103615761010080835404028352916020019161038c565b336000818152600160209081526040808320600160a060020a038716845290915281205490916103a39185906103fa908663ffffffff61078d16565b60006103a3338484610641565b600160a060020a03918216600090815260016020908152604080832093909416825291909152205490565b600160a060020a03831615156105955760405160e560020a62461bcd0281526004018080602001828103825260248152602001806109bb6024913960400191505060405180910390fd5b600160a060020a03821615156105df5760405160e560020a62461bcd0281526004018080602001828103825260228152602001806109536022913960400191505060405180910390fd5b600160a060020a03808416600081815260016020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b600160a060020a038316151561068b5760405160e560020a62461bcd0281526004018080602001828103825260258152602001806109966025913960400191505060405180910390fd5b600160a060020a03821615156106d55760405160e560020a62461bcd0281526004018080602001828103825260238152602001806109306023913960400191505060405180910390fd5b600160a060020a0383166000908152602081905260409020546106fe908263ffffffff61078d16565b600160a060020a038085166000908152602081905260408082209390935590841681522054610733908263ffffffff6107ed16565b600160a060020a038084166000818152602081815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b6000828211156107e7576040805160e560020a62461bcd02815260206004820152601e60248201527f536166654d6174683a207375627472616374696f6e206f766572666c6f770000604482015290519081900360640190fd5b50900390565b60008282018381101561084a576040805160e560020a62461bcd02815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b600160a060020a038216151561089b5760405160e560020a62461bcd0281526004018080602001828103825260218152602001806109756021913960400191505060405180910390fd5b6002546108ae908263ffffffff61078d16565b600255600160a060020a0382166000908152602081905260409020546108da908263ffffffff61078d16565b600160a060020a038316600081815260208181526040808320949094558351858152935191937fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef929081900390910190a3505056fe45524332303a207472616e7366657220746f20746865207a65726f206164647265737345524332303a20617070726f766520746f20746865207a65726f206164647265737345524332303a206275726e2066726f6d20746865207a65726f206164647265737345524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f2061646472657373a165627a7a723058204e21248764537bd30da70afc290e3bbb6ca41e5c6178c3f9cad8e97a5c716c560029
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
00000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000000120000000000000000000000000000000000000000204fce5e30444bad689c0000000000000000000000000000b2b4076a36b8993094cbfdb72512820b8bedb6ce000000000000000000000000f771d78d4db4f6ba725dcc8849a701d5e8bf66f300000000000000000000000000000000000000000000000000000000000000144f6d6567612050726f746f636f6c204d6f6e657900000000000000000000000000000000000000000000000000000000000000000000000000000000000000034f504d0000000000000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : name (string): Omega Protocol Money
Arg [1] : symbol (string): OPM
Arg [2] : decimals (uint8): 18
Arg [3] : totalSupply (uint256): 9999999999000000000000000000
Arg [4] : feeReceiver (address): 0xB2b4076a36b8993094cBfdb72512820B8BeDb6Ce
Arg [5] : tokenOwnerAddress (address): 0xf771d78D4db4F6ba725DCC8849a701D5e8bF66F3
-----Encoded View---------------
10 Constructor Arguments found :
Arg [0] : 00000000000000000000000000000000000000000000000000000000000000c0
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000100
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000012
Arg [3] : 0000000000000000000000000000000000000000204fce5e30444bad689c0000
Arg [4] : 000000000000000000000000b2b4076a36b8993094cbfdb72512820b8bedb6ce
Arg [5] : 000000000000000000000000f771d78d4db4f6ba725dcc8849a701d5e8bf66f3
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000014
Arg [7] : 4f6d6567612050726f746f636f6c204d6f6e6579000000000000000000000000
Arg [8] : 0000000000000000000000000000000000000000000000000000000000000003
Arg [9] : 4f504d0000000000000000000000000000000000000000000000000000000000
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.