Overview
S Balance
0 S
S Value
-More Info
Private Name Tags
ContractCreator
Loading...
Loading
This contract may be a proxy contract. Click on More Options and select Is this a proxy? to confirm and enable the "Read as Proxy" & "Write as Proxy" tabs.
Contract Name:
PicklesPresale
Compiler Version
v0.8.0+commit.c7dfd78e
Contract Source Code (Solidity)
/** *Submitted for verification at SonicScan.org on 2024-12-24 */ // SPDX-License-Identifier: MIT pragma solidity ^0.8.0; interface IPicklesToken { function transfer(address recipient, uint256 amount) external returns (bool); function balanceOf(address account) external view returns (uint256); } contract PicklesPresale { address public owner; address public tokenAddress; uint256 public tokensPerEther = 4; // 4 tokens per 1 native currency (e.g., ETH) uint256 public totalTokensForSale = 200_000_000 * 10**18; // 200 million tokens uint256 public tokensSold; uint256 public minPurchase = 10 ether; // Minimum purchase: 10 native currency (e.g., ETH) uint256 public maxPurchase = 5000 ether; // Maximum purchase: 5000 native currency (e.g., ETH) bool public saleActive = true; // Events event TokensPurchased(address indexed buyer, uint256 amount); event SaleEnded(address indexed owner, uint256 unsoldTokens); event FundsWithdrawn(address indexed owner, uint256 amount); modifier onlyOwner() { require(msg.sender == owner, "Not the contract owner"); _; } constructor(address _tokenAddress) { require(_tokenAddress != address(0), "Invalid token address"); owner = msg.sender; tokenAddress = _tokenAddress; } // Buy tokens during presale function buyTokens() external payable { require(saleActive, "Presale is not active"); require(msg.value >= minPurchase, "Minimum purchase not met"); require(msg.value <= maxPurchase, "Maximum purchase exceeded"); // Calculate tokens to buy uint256 tokensToBuy = msg.value * tokensPerEther * 10**18; // 4 tokens per 1 ETH // Validate token availability require(tokensSold + tokensToBuy <= totalTokensForSale, "Not enough tokens left for sale"); // Transfer tokens to the buyer bool success = IPicklesToken(tokenAddress).transfer(msg.sender, tokensToBuy); require(success, "Token transfer failed"); tokensSold += tokensToBuy; emit TokensPurchased(msg.sender, tokensToBuy); } // End the presale and transfer unsold tokens back to the owner function endPresale() external onlyOwner { require(saleActive, "Presale already ended"); saleActive = false; uint256 unsoldTokens = totalTokensForSale - tokensSold; if (unsoldTokens > 0) { bool success = IPicklesToken(tokenAddress).transfer(owner, unsoldTokens); require(success, "Returning unsold tokens failed"); } emit SaleEnded(owner, unsoldTokens); } // Withdraw Ether from the contract function withdrawFunds() external onlyOwner { uint256 balance = address(this).balance; require(balance > 0, "No funds to withdraw"); payable(owner).transfer(balance); emit FundsWithdrawn(owner, balance); } // Update tokens per native currency function updateTokensPerEther(uint256 _tokensPerEther) external onlyOwner { require(_tokensPerEther > 0, "Tokens per ether must be greater than zero"); tokensPerEther = _tokensPerEther; } // Update purchase limits function updatePurchaseLimits(uint256 _minPurchase, uint256 _maxPurchase) external onlyOwner { require(_minPurchase > 0 && _maxPurchase > _minPurchase, "Invalid purchase limits"); minPurchase = _minPurchase; maxPurchase = _maxPurchase; } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"_tokenAddress","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"FundsWithdrawn","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":false,"internalType":"uint256","name":"unsoldTokens","type":"uint256"}],"name":"SaleEnded","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"buyer","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"TokensPurchased","type":"event"},{"inputs":[],"name":"buyTokens","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"endPresale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"maxPurchase","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"minPurchase","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"saleActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokenAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokensPerEther","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokensSold","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalTokensForSale","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_minPurchase","type":"uint256"},{"internalType":"uint256","name":"_maxPurchase","type":"uint256"}],"name":"updatePurchaseLimits","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokensPerEther","type":"uint256"}],"name":"updateTokensPerEther","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawFunds","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
608060405260046002556aa56fa5b99019a5c8000000600355678ac7230489e8000060055569010f0cf064dd592000006006556001600760006101000a81548160ff0219169083151502179055503480156200005a57600080fd5b50604051620015ea380380620015ea833981810160405281019062000080919062000192565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415620000f3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620000ea9062000200565b60405180910390fd5b336000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505062000281565b6000815190506200018c8162000267565b92915050565b600060208284031215620001a557600080fd5b6000620001b5848285016200017b565b91505092915050565b6000620001cd60158362000222565b91507f496e76616c696420746f6b656e206164647265737300000000000000000000006000830152602082019050919050565b600060208201905081810360008301526200021b81620001be565b9050919050565b600082825260208201905092915050565b6000620002408262000247565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b620002728162000233565b81146200027e57600080fd5b50565b61135980620002916000396000f3fe6080604052600436106100c25760003560e01c80638da5cb5b1161007f578063a43be57b11610059578063a43be57b14610234578063a8e3a1a91461024b578063d0febe4c14610274578063f856d6051461027e576100c2565b80638da5cb5b146101b3578063977b055b146101de5780639d76ea5814610209576100c2565b806324600fc3146100c757806333b5b62e146100de57806347908f6014610109578063518ab2a81461013257806360219c7b1461015d57806368428a1b14610188575b600080fd5b3480156100d357600080fd5b506100dc6102a9565b005b3480156100ea57600080fd5b506100f3610457565b604051610100919061116e565b60405180910390f35b34801561011557600080fd5b50610130600480360381019061012b9190610c37565b61045d565b005b34801561013e57600080fd5b50610147610538565b604051610154919061116e565b60405180910390f35b34801561016957600080fd5b5061017261053e565b60405161017f919061116e565b60405180910390f35b34801561019457600080fd5b5061019d610544565b6040516101aa9190610ff3565b60405180910390f35b3480156101bf57600080fd5b506101c8610557565b6040516101d59190610faf565b60405180910390f35b3480156101ea57600080fd5b506101f361057b565b604051610200919061116e565b60405180910390f35b34801561021557600080fd5b5061021e610581565b60405161022b9190610faf565b60405180910390f35b34801561024057600080fd5b506102496105a7565b005b34801561025757600080fd5b50610272600480360381019061026d9190610c60565b610842565b005b61027c610930565b005b34801561028a57600080fd5b50610293610bde565b6040516102a0919061116e565b60405180910390f35b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610337576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161032e9061114e565b60405180910390fd5b60004790506000811161037f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016103769061102e565b60405180910390fd5b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f193505050501580156103e5573d6000803e3d6000fd5b5060008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167feaff4b37086828766ad3268786972c0cd24259d4c87a80f9d3963a3c3d999b0d8260405161044c919061116e565b60405180910390a250565b60055481565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146104eb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016104e29061114e565b60405180910390fd5b6000811161052e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016105259061100e565b60405180910390fd5b8060028190555050565b60045481565b60035481565b600760009054906101000a900460ff1681565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60065481565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610635576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161062c9061114e565b60405180910390fd5b600760009054906101000a900460ff16610684576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161067b9061106e565b60405180910390fd5b6000600760006101000a81548160ff02191690831515021790555060006004546003546106b1919061124a565b905060008111156107d1576000600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff16846040518363ffffffff1660e01b815260040161073b929190610fca565b602060405180830381600087803b15801561075557600080fd5b505af1158015610769573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061078d9190610c0e565b9050806107cf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107c69061104e565b60405180910390fd5b505b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f349f939aaa1895cee67485b264474f0d2a1aac01083917b8ea9f96e4036cbb2782604051610837919061116e565b60405180910390a250565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146108d0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108c79061114e565b60405180910390fd5b6000821180156108df57508181115b61091e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109159061112e565b60405180910390fd5b81600581905550806006819055505050565b600760009054906101000a900460ff1661097f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610976906110ee565b60405180910390fd5b6005543410156109c4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109bb9061110e565b60405180910390fd5b600654341115610a09576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a00906110ce565b60405180910390fd5b6000670de0b6b3a764000060025434610a2291906111f0565b610a2c91906111f0565b905060035481600454610a3f919061119a565b1115610a80576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a77906110ae565b60405180910390fd5b6000600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb33846040518363ffffffff1660e01b8152600401610adf929190610fca565b602060405180830381600087803b158015610af957600080fd5b505af1158015610b0d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b319190610c0e565b905080610b73576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b6a9061108e565b60405180910390fd5b8160046000828254610b85919061119a565b925050819055503373ffffffffffffffffffffffffffffffffffffffff167f8f28852646c20cc973d3a8218f7eefed58c25c909f78f0265af4818c3d4dc27183604051610bd2919061116e565b60405180910390a25050565b60025481565b600081519050610bf3816112f5565b92915050565b600081359050610c088161130c565b92915050565b600060208284031215610c2057600080fd5b6000610c2e84828501610be4565b91505092915050565b600060208284031215610c4957600080fd5b6000610c5784828501610bf9565b91505092915050565b60008060408385031215610c7357600080fd5b6000610c8185828601610bf9565b9250506020610c9285828601610bf9565b9150509250929050565b610ca58161127e565b82525050565b610cb481611290565b82525050565b6000610cc7602a83611189565b91507f546f6b656e7320706572206574686572206d757374206265206772656174657260008301527f207468616e207a65726f000000000000000000000000000000000000000000006020830152604082019050919050565b6000610d2d601483611189565b91507f4e6f2066756e647320746f2077697468647261770000000000000000000000006000830152602082019050919050565b6000610d6d601e83611189565b91507f52657475726e696e6720756e736f6c6420746f6b656e73206661696c656400006000830152602082019050919050565b6000610dad601583611189565b91507f50726573616c6520616c726561647920656e64656400000000000000000000006000830152602082019050919050565b6000610ded601583611189565b91507f546f6b656e207472616e73666572206661696c656400000000000000000000006000830152602082019050919050565b6000610e2d601f83611189565b91507f4e6f7420656e6f75676820746f6b656e73206c65667420666f722073616c65006000830152602082019050919050565b6000610e6d601983611189565b91507f4d6178696d756d207075726368617365206578636565646564000000000000006000830152602082019050919050565b6000610ead601583611189565b91507f50726573616c65206973206e6f742061637469766500000000000000000000006000830152602082019050919050565b6000610eed601883611189565b91507f4d696e696d756d207075726368617365206e6f74206d657400000000000000006000830152602082019050919050565b6000610f2d601783611189565b91507f496e76616c6964207075726368617365206c696d6974730000000000000000006000830152602082019050919050565b6000610f6d601683611189565b91507f4e6f742074686520636f6e7472616374206f776e6572000000000000000000006000830152602082019050919050565b610fa9816112bc565b82525050565b6000602082019050610fc46000830184610c9c565b92915050565b6000604082019050610fdf6000830185610c9c565b610fec6020830184610fa0565b9392505050565b60006020820190506110086000830184610cab565b92915050565b6000602082019050818103600083015261102781610cba565b9050919050565b6000602082019050818103600083015261104781610d20565b9050919050565b6000602082019050818103600083015261106781610d60565b9050919050565b6000602082019050818103600083015261108781610da0565b9050919050565b600060208201905081810360008301526110a781610de0565b9050919050565b600060208201905081810360008301526110c781610e20565b9050919050565b600060208201905081810360008301526110e781610e60565b9050919050565b6000602082019050818103600083015261110781610ea0565b9050919050565b6000602082019050818103600083015261112781610ee0565b9050919050565b6000602082019050818103600083015261114781610f20565b9050919050565b6000602082019050818103600083015261116781610f60565b9050919050565b60006020820190506111836000830184610fa0565b92915050565b600082825260208201905092915050565b60006111a5826112bc565b91506111b0836112bc565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156111e5576111e46112c6565b5b828201905092915050565b60006111fb826112bc565b9150611206836112bc565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561123f5761123e6112c6565b5b828202905092915050565b6000611255826112bc565b9150611260836112bc565b925082821015611273576112726112c6565b5b828203905092915050565b60006112898261129c565b9050919050565b60008115159050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6112fe81611290565b811461130957600080fd5b50565b611315816112bc565b811461132057600080fd5b5056fea2646970667358221220436787299a2ecc8bca42ddd732161b1719b6609481e0e974bf163c5e96af64b264736f6c63430008000033000000000000000000000000480f20a3305636b2228f47d2c66b4f250881a807
Deployed Bytecode
0x6080604052600436106100c25760003560e01c80638da5cb5b1161007f578063a43be57b11610059578063a43be57b14610234578063a8e3a1a91461024b578063d0febe4c14610274578063f856d6051461027e576100c2565b80638da5cb5b146101b3578063977b055b146101de5780639d76ea5814610209576100c2565b806324600fc3146100c757806333b5b62e146100de57806347908f6014610109578063518ab2a81461013257806360219c7b1461015d57806368428a1b14610188575b600080fd5b3480156100d357600080fd5b506100dc6102a9565b005b3480156100ea57600080fd5b506100f3610457565b604051610100919061116e565b60405180910390f35b34801561011557600080fd5b50610130600480360381019061012b9190610c37565b61045d565b005b34801561013e57600080fd5b50610147610538565b604051610154919061116e565b60405180910390f35b34801561016957600080fd5b5061017261053e565b60405161017f919061116e565b60405180910390f35b34801561019457600080fd5b5061019d610544565b6040516101aa9190610ff3565b60405180910390f35b3480156101bf57600080fd5b506101c8610557565b6040516101d59190610faf565b60405180910390f35b3480156101ea57600080fd5b506101f361057b565b604051610200919061116e565b60405180910390f35b34801561021557600080fd5b5061021e610581565b60405161022b9190610faf565b60405180910390f35b34801561024057600080fd5b506102496105a7565b005b34801561025757600080fd5b50610272600480360381019061026d9190610c60565b610842565b005b61027c610930565b005b34801561028a57600080fd5b50610293610bde565b6040516102a0919061116e565b60405180910390f35b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610337576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161032e9061114e565b60405180910390fd5b60004790506000811161037f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016103769061102e565b60405180910390fd5b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f193505050501580156103e5573d6000803e3d6000fd5b5060008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167feaff4b37086828766ad3268786972c0cd24259d4c87a80f9d3963a3c3d999b0d8260405161044c919061116e565b60405180910390a250565b60055481565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146104eb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016104e29061114e565b60405180910390fd5b6000811161052e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016105259061100e565b60405180910390fd5b8060028190555050565b60045481565b60035481565b600760009054906101000a900460ff1681565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60065481565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610635576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161062c9061114e565b60405180910390fd5b600760009054906101000a900460ff16610684576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161067b9061106e565b60405180910390fd5b6000600760006101000a81548160ff02191690831515021790555060006004546003546106b1919061124a565b905060008111156107d1576000600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff16846040518363ffffffff1660e01b815260040161073b929190610fca565b602060405180830381600087803b15801561075557600080fd5b505af1158015610769573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061078d9190610c0e565b9050806107cf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107c69061104e565b60405180910390fd5b505b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f349f939aaa1895cee67485b264474f0d2a1aac01083917b8ea9f96e4036cbb2782604051610837919061116e565b60405180910390a250565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146108d0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108c79061114e565b60405180910390fd5b6000821180156108df57508181115b61091e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109159061112e565b60405180910390fd5b81600581905550806006819055505050565b600760009054906101000a900460ff1661097f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610976906110ee565b60405180910390fd5b6005543410156109c4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109bb9061110e565b60405180910390fd5b600654341115610a09576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a00906110ce565b60405180910390fd5b6000670de0b6b3a764000060025434610a2291906111f0565b610a2c91906111f0565b905060035481600454610a3f919061119a565b1115610a80576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a77906110ae565b60405180910390fd5b6000600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb33846040518363ffffffff1660e01b8152600401610adf929190610fca565b602060405180830381600087803b158015610af957600080fd5b505af1158015610b0d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b319190610c0e565b905080610b73576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b6a9061108e565b60405180910390fd5b8160046000828254610b85919061119a565b925050819055503373ffffffffffffffffffffffffffffffffffffffff167f8f28852646c20cc973d3a8218f7eefed58c25c909f78f0265af4818c3d4dc27183604051610bd2919061116e565b60405180910390a25050565b60025481565b600081519050610bf3816112f5565b92915050565b600081359050610c088161130c565b92915050565b600060208284031215610c2057600080fd5b6000610c2e84828501610be4565b91505092915050565b600060208284031215610c4957600080fd5b6000610c5784828501610bf9565b91505092915050565b60008060408385031215610c7357600080fd5b6000610c8185828601610bf9565b9250506020610c9285828601610bf9565b9150509250929050565b610ca58161127e565b82525050565b610cb481611290565b82525050565b6000610cc7602a83611189565b91507f546f6b656e7320706572206574686572206d757374206265206772656174657260008301527f207468616e207a65726f000000000000000000000000000000000000000000006020830152604082019050919050565b6000610d2d601483611189565b91507f4e6f2066756e647320746f2077697468647261770000000000000000000000006000830152602082019050919050565b6000610d6d601e83611189565b91507f52657475726e696e6720756e736f6c6420746f6b656e73206661696c656400006000830152602082019050919050565b6000610dad601583611189565b91507f50726573616c6520616c726561647920656e64656400000000000000000000006000830152602082019050919050565b6000610ded601583611189565b91507f546f6b656e207472616e73666572206661696c656400000000000000000000006000830152602082019050919050565b6000610e2d601f83611189565b91507f4e6f7420656e6f75676820746f6b656e73206c65667420666f722073616c65006000830152602082019050919050565b6000610e6d601983611189565b91507f4d6178696d756d207075726368617365206578636565646564000000000000006000830152602082019050919050565b6000610ead601583611189565b91507f50726573616c65206973206e6f742061637469766500000000000000000000006000830152602082019050919050565b6000610eed601883611189565b91507f4d696e696d756d207075726368617365206e6f74206d657400000000000000006000830152602082019050919050565b6000610f2d601783611189565b91507f496e76616c6964207075726368617365206c696d6974730000000000000000006000830152602082019050919050565b6000610f6d601683611189565b91507f4e6f742074686520636f6e7472616374206f776e6572000000000000000000006000830152602082019050919050565b610fa9816112bc565b82525050565b6000602082019050610fc46000830184610c9c565b92915050565b6000604082019050610fdf6000830185610c9c565b610fec6020830184610fa0565b9392505050565b60006020820190506110086000830184610cab565b92915050565b6000602082019050818103600083015261102781610cba565b9050919050565b6000602082019050818103600083015261104781610d20565b9050919050565b6000602082019050818103600083015261106781610d60565b9050919050565b6000602082019050818103600083015261108781610da0565b9050919050565b600060208201905081810360008301526110a781610de0565b9050919050565b600060208201905081810360008301526110c781610e20565b9050919050565b600060208201905081810360008301526110e781610e60565b9050919050565b6000602082019050818103600083015261110781610ea0565b9050919050565b6000602082019050818103600083015261112781610ee0565b9050919050565b6000602082019050818103600083015261114781610f20565b9050919050565b6000602082019050818103600083015261116781610f60565b9050919050565b60006020820190506111836000830184610fa0565b92915050565b600082825260208201905092915050565b60006111a5826112bc565b91506111b0836112bc565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156111e5576111e46112c6565b5b828201905092915050565b60006111fb826112bc565b9150611206836112bc565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561123f5761123e6112c6565b5b828202905092915050565b6000611255826112bc565b9150611260836112bc565b925082821015611273576112726112c6565b5b828203905092915050565b60006112898261129c565b9050919050565b60008115159050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6112fe81611290565b811461130957600080fd5b50565b611315816112bc565b811461132057600080fd5b5056fea2646970667358221220436787299a2ecc8bca42ddd732161b1719b6609481e0e974bf163c5e96af64b264736f6c63430008000033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000480f20a3305636b2228f47d2c66b4f250881a807
-----Decoded View---------------
Arg [0] : _tokenAddress (address): 0x480F20A3305636B2228f47d2c66B4f250881a807
-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 000000000000000000000000480f20a3305636b2228f47d2c66b4f250881a807
Deployed Bytecode Sourcemap
249:3273:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2701:250;;;;;;;;;;;;;:::i;:::-;;544:37;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;3001:210;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;512:25;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;427:56;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;740:29;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;280:20;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;640:39;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;307:27;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;2206:446;;;;;;;;;;;;;:::i;:::-;;3250:269;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;1334:795;;;:::i;:::-;;341:33;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;2701:250;1049:5;;;;;;;;;;1035:19;;:10;:19;;;1027:54;;;;;;;;;;;;:::i;:::-;;;;;;;;;2756:15:::1;2774:21;2756:39;;2824:1;2814:7;:11;2806:44;;;;;;;;;;;;:::i;:::-;;;;;;;;;2871:5;::::0;::::1;;;;;;;;2863:23;;:32;2887:7;2863:32;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;2928:5;::::0;::::1;;;;;;;;2913:30;;;2935:7;2913:30;;;;;;:::i;:::-;;;;;;;;1092:1;2701:250::o:0;544:37::-;;;;:::o;3001:210::-;1049:5;;;;;;;;;;1035:19;;:10;:19;;;1027:54;;;;;;;;;;;;:::i;:::-;;;;;;;;;3112:1:::1;3094:15;:19;3086:74;;;;;;;;;;;;:::i;:::-;;;;;;;;;3188:15;3171:14;:32;;;;3001:210:::0;:::o;512:25::-;;;;:::o;427:56::-;;;;:::o;740:29::-;;;;;;;;;;;;;:::o;280:20::-;;;;;;;;;;;;:::o;640:39::-;;;;:::o;307:27::-;;;;;;;;;;;;;:::o;2206:446::-;1049:5;;;;;;;;;;1035:19;;:10;:19;;;1027:54;;;;;;;;;;;;:::i;:::-;;;;;;;;;2266:10:::1;;;;;;;;;;;2258:44;;;;;;;;;;;;:::i;:::-;;;;;;;;;2328:5;2315:10;;:18;;;;;;;;;;;;;;;;;;2346:20;2390:10;;2369:18;;:31;;;;:::i;:::-;2346:54;;2430:1;2415:12;:16;2411:186;;;2448:12;2477;;;;;;;;;;;2463:36;;;2500:5;::::0;::::1;;;;;;;;2507:12;2463:57;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;2448:72;;2543:7;2535:50;;;;;;;;;;;;:::i;:::-;;;;;;;;;2411:186;;2624:5;::::0;::::1;;;;;;;;2614:30;;;2631:12;2614:30;;;;;;:::i;:::-;;;;;;;;1092:1;2206:446::o:0;3250:269::-;1049:5;;;;;;;;;;1035:19;;:10;:19;;;1027:54;;;;;;;;;;;;:::i;:::-;;;;;;;;;3377:1:::1;3362:12;:16;:47;;;;;3397:12;3382;:27;3362:47;3354:83;;;;;;;;;;;;:::i;:::-;;;;;;;;;3462:12;3448:11;:26;;;;3499:12;3485:11;:26;;;;3250:269:::0;;:::o;1334:795::-;1391:10;;;;;;;;;;;1383:44;;;;;;;;;;;;:::i;:::-;;;;;;;;;1459:11;;1446:9;:24;;1438:61;;;;;;;;;;;;:::i;:::-;;;;;;;;;1531:11;;1518:9;:24;;1510:62;;;;;;;;;;;;:::i;:::-;;;;;;;;;1621:19;1672:6;1655:14;;1643:9;:26;;;;:::i;:::-;:35;;;;:::i;:::-;1621:57;;1789:18;;1774:11;1761:10;;:24;;;;:::i;:::-;:46;;1753:90;;;;;;;;;;;;:::i;:::-;;;;;;;;;1897:12;1926;;;;;;;;;;;1912:36;;;1949:10;1961:11;1912:61;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;1897:76;;1992:7;1984:41;;;;;;;;;;;;:::i;:::-;;;;;;;;;2052:11;2038:10;;:25;;;;;;;:::i;:::-;;;;;;;;2097:10;2081:40;;;2109:11;2081:40;;;;;;:::i;:::-;;;;;;;;1334:795;;:::o;341:33::-;;;;:::o;7:137:1:-;;92:6;86:13;77:22;;108:30;132:5;108:30;:::i;:::-;67:77;;;;:::o;150:139::-;;234:6;221:20;212:29;;250:33;277:5;250:33;:::i;:::-;202:87;;;;:::o;295:278::-;;411:2;399:9;390:7;386:23;382:32;379:2;;;427:1;424;417:12;379:2;470:1;495:61;548:7;539:6;528:9;524:22;495:61;:::i;:::-;485:71;;441:125;369:204;;;;:::o;579:262::-;;687:2;675:9;666:7;662:23;658:32;655:2;;;703:1;700;693:12;655:2;746:1;771:53;816:7;807:6;796:9;792:22;771:53;:::i;:::-;761:63;;717:117;645:196;;;;:::o;847:407::-;;;972:2;960:9;951:7;947:23;943:32;940:2;;;988:1;985;978:12;940:2;1031:1;1056:53;1101:7;1092:6;1081:9;1077:22;1056:53;:::i;:::-;1046:63;;1002:117;1158:2;1184:53;1229:7;1220:6;1209:9;1205:22;1184:53;:::i;:::-;1174:63;;1129:118;930:324;;;;;:::o;1260:118::-;1347:24;1365:5;1347:24;:::i;:::-;1342:3;1335:37;1325:53;;:::o;1384:109::-;1465:21;1480:5;1465:21;:::i;:::-;1460:3;1453:34;1443:50;;:::o;1499:374::-;;1662:67;1726:2;1721:3;1662:67;:::i;:::-;1655:74;;1759:34;1755:1;1750:3;1746:11;1739:55;1825:12;1820:2;1815:3;1811:12;1804:34;1864:2;1859:3;1855:12;1848:19;;1645:228;;;:::o;1879:318::-;;2042:67;2106:2;2101:3;2042:67;:::i;:::-;2035:74;;2139:22;2135:1;2130:3;2126:11;2119:43;2188:2;2183:3;2179:12;2172:19;;2025:172;;;:::o;2203:328::-;;2366:67;2430:2;2425:3;2366:67;:::i;:::-;2359:74;;2463:32;2459:1;2454:3;2450:11;2443:53;2522:2;2517:3;2513:12;2506:19;;2349:182;;;:::o;2537:319::-;;2700:67;2764:2;2759:3;2700:67;:::i;:::-;2693:74;;2797:23;2793:1;2788:3;2784:11;2777:44;2847:2;2842:3;2838:12;2831:19;;2683:173;;;:::o;2862:319::-;;3025:67;3089:2;3084:3;3025:67;:::i;:::-;3018:74;;3122:23;3118:1;3113:3;3109:11;3102:44;3172:2;3167:3;3163:12;3156:19;;3008:173;;;:::o;3187:329::-;;3350:67;3414:2;3409:3;3350:67;:::i;:::-;3343:74;;3447:33;3443:1;3438:3;3434:11;3427:54;3507:2;3502:3;3498:12;3491:19;;3333:183;;;:::o;3522:323::-;;3685:67;3749:2;3744:3;3685:67;:::i;:::-;3678:74;;3782:27;3778:1;3773:3;3769:11;3762:48;3836:2;3831:3;3827:12;3820:19;;3668:177;;;:::o;3851:319::-;;4014:67;4078:2;4073:3;4014:67;:::i;:::-;4007:74;;4111:23;4107:1;4102:3;4098:11;4091:44;4161:2;4156:3;4152:12;4145:19;;3997:173;;;:::o;4176:322::-;;4339:67;4403:2;4398:3;4339:67;:::i;:::-;4332:74;;4436:26;4432:1;4427:3;4423:11;4416:47;4489:2;4484:3;4480:12;4473:19;;4322:176;;;:::o;4504:321::-;;4667:67;4731:2;4726:3;4667:67;:::i;:::-;4660:74;;4764:25;4760:1;4755:3;4751:11;4744:46;4816:2;4811:3;4807:12;4800:19;;4650:175;;;:::o;4831:320::-;;4994:67;5058:2;5053:3;4994:67;:::i;:::-;4987:74;;5091:24;5087:1;5082:3;5078:11;5071:45;5142:2;5137:3;5133:12;5126:19;;4977:174;;;:::o;5157:118::-;5244:24;5262:5;5244:24;:::i;:::-;5239:3;5232:37;5222:53;;:::o;5281:222::-;;5412:2;5401:9;5397:18;5389:26;;5425:71;5493:1;5482:9;5478:17;5469:6;5425:71;:::i;:::-;5379:124;;;;:::o;5509:332::-;;5668:2;5657:9;5653:18;5645:26;;5681:71;5749:1;5738:9;5734:17;5725:6;5681:71;:::i;:::-;5762:72;5830:2;5819:9;5815:18;5806:6;5762:72;:::i;:::-;5635:206;;;;;:::o;5847:210::-;;5972:2;5961:9;5957:18;5949:26;;5985:65;6047:1;6036:9;6032:17;6023:6;5985:65;:::i;:::-;5939:118;;;;:::o;6063:419::-;;6267:2;6256:9;6252:18;6244:26;;6316:9;6310:4;6306:20;6302:1;6291:9;6287:17;6280:47;6344:131;6470:4;6344:131;:::i;:::-;6336:139;;6234:248;;;:::o;6488:419::-;;6692:2;6681:9;6677:18;6669:26;;6741:9;6735:4;6731:20;6727:1;6716:9;6712:17;6705:47;6769:131;6895:4;6769:131;:::i;:::-;6761:139;;6659:248;;;:::o;6913:419::-;;7117:2;7106:9;7102:18;7094:26;;7166:9;7160:4;7156:20;7152:1;7141:9;7137:17;7130:47;7194:131;7320:4;7194:131;:::i;:::-;7186:139;;7084:248;;;:::o;7338:419::-;;7542:2;7531:9;7527:18;7519:26;;7591:9;7585:4;7581:20;7577:1;7566:9;7562:17;7555:47;7619:131;7745:4;7619:131;:::i;:::-;7611:139;;7509:248;;;:::o;7763:419::-;;7967:2;7956:9;7952:18;7944:26;;8016:9;8010:4;8006:20;8002:1;7991:9;7987:17;7980:47;8044:131;8170:4;8044:131;:::i;:::-;8036:139;;7934:248;;;:::o;8188:419::-;;8392:2;8381:9;8377:18;8369:26;;8441:9;8435:4;8431:20;8427:1;8416:9;8412:17;8405:47;8469:131;8595:4;8469:131;:::i;:::-;8461:139;;8359:248;;;:::o;8613:419::-;;8817:2;8806:9;8802:18;8794:26;;8866:9;8860:4;8856:20;8852:1;8841:9;8837:17;8830:47;8894:131;9020:4;8894:131;:::i;:::-;8886:139;;8784:248;;;:::o;9038:419::-;;9242:2;9231:9;9227:18;9219:26;;9291:9;9285:4;9281:20;9277:1;9266:9;9262:17;9255:47;9319:131;9445:4;9319:131;:::i;:::-;9311:139;;9209:248;;;:::o;9463:419::-;;9667:2;9656:9;9652:18;9644:26;;9716:9;9710:4;9706:20;9702:1;9691:9;9687:17;9680:47;9744:131;9870:4;9744:131;:::i;:::-;9736:139;;9634:248;;;:::o;9888:419::-;;10092:2;10081:9;10077:18;10069:26;;10141:9;10135:4;10131:20;10127:1;10116:9;10112:17;10105:47;10169:131;10295:4;10169:131;:::i;:::-;10161:139;;10059:248;;;:::o;10313:419::-;;10517:2;10506:9;10502:18;10494:26;;10566:9;10560:4;10556:20;10552:1;10541:9;10537:17;10530:47;10594:131;10720:4;10594:131;:::i;:::-;10586:139;;10484:248;;;:::o;10738:222::-;;10869:2;10858:9;10854:18;10846:26;;10882:71;10950:1;10939:9;10935:17;10926:6;10882:71;:::i;:::-;10836:124;;;;:::o;10966:169::-;;11084:6;11079:3;11072:19;11124:4;11119:3;11115:14;11100:29;;11062:73;;;;:::o;11141:305::-;;11200:20;11218:1;11200:20;:::i;:::-;11195:25;;11234:20;11252:1;11234:20;:::i;:::-;11229:25;;11388:1;11320:66;11316:74;11313:1;11310:81;11307:2;;;11394:18;;:::i;:::-;11307:2;11438:1;11435;11431:9;11424:16;;11185:261;;;;:::o;11452:348::-;;11515:20;11533:1;11515:20;:::i;:::-;11510:25;;11549:20;11567:1;11549:20;:::i;:::-;11544:25;;11737:1;11669:66;11665:74;11662:1;11659:81;11654:1;11647:9;11640:17;11636:105;11633:2;;;11744:18;;:::i;:::-;11633:2;11792:1;11789;11785:9;11774:20;;11500:300;;;;:::o;11806:191::-;;11866:20;11884:1;11866:20;:::i;:::-;11861:25;;11900:20;11918:1;11900:20;:::i;:::-;11895:25;;11939:1;11936;11933:8;11930:2;;;11944:18;;:::i;:::-;11930:2;11989:1;11986;11982:9;11974:17;;11851:146;;;;:::o;12003:96::-;;12069:24;12087:5;12069:24;:::i;:::-;12058:35;;12048:51;;;:::o;12105:90::-;;12182:5;12175:13;12168:21;12157:32;;12147:48;;;:::o;12201:126::-;;12278:42;12271:5;12267:54;12256:65;;12246:81;;;:::o;12333:77::-;;12399:5;12388:16;;12378:32;;;:::o;12416:180::-;12464:77;12461:1;12454:88;12561:4;12558:1;12551:15;12585:4;12582:1;12575:15;12602:116;12672:21;12687:5;12672:21;:::i;:::-;12665:5;12662:32;12652:2;;12708:1;12705;12698:12;12652:2;12642:76;:::o;12724:122::-;12797:24;12815:5;12797:24;:::i;:::-;12790:5;12787:35;12777:2;;12836:1;12833;12826:12;12777:2;12767:79;:::o
Swarm Source
ipfs://436787299a2ecc8bca42ddd732161b1719b6609481e0e974bf163c5e96af64b2
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.