Overview
S Balance
0 S
S Value
-More Info
Private Name Tags
ContractCreator
Latest 1 internal transaction
Parent Transaction Hash | Block | From | To | |||
---|---|---|---|---|---|---|
1513856 | 14 days ago | 10 S |
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-25 */ // 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 = false; // Initially, presale is inactive // 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; } // Start the presale function startPresale() external onlyOwner { require(!saleActive, "Presale is already active"); saleActive = true; } // End the presale 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); } // 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"); uint256 tokensToBuy = (msg.value * tokensPerEther) / 1 ether; require(tokensSold + tokensToBuy <= totalTokensForSale, "Not enough tokens left for sale"); bool success = IPicklesToken(tokenAddress).transfer(msg.sender, tokensToBuy); require(success, "Token transfer failed"); tokensSold += tokensToBuy; emit TokensPurchased(msg.sender, tokensToBuy); } // 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":"startPresale","outputs":[],"stateMutability":"nonpayable","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
608060405260046002556aa56fa5b99019a5c8000000600355678ac7230489e8000060055569010f0cf064dd592000006006556000600760006101000a81548160ff0219169083151502179055503480156200005a57600080fd5b50604051620017d7380380620017d7833981810160405281019062000080919062000192565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415620000f3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620000ea9062000200565b60405180910390fd5b336000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505062000281565b6000815190506200018c8162000267565b92915050565b600060208284031215620001a557600080fd5b6000620001b5848285016200017b565b91505092915050565b6000620001cd60158362000222565b91507f496e76616c696420746f6b656e206164647265737300000000000000000000006000830152602082019050919050565b600060208201905081810360008301526200021b81620001be565b9050919050565b600082825260208201905092915050565b6000620002408262000247565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b620002728162000233565b81146200027e57600080fd5b50565b61154680620002916000396000f3fe6080604052600436106100dd5760003560e01c80638da5cb5b1161007f578063a43be57b11610059578063a43be57b14610266578063a8e3a1a91461027d578063d0febe4c146102a6578063f856d605146102b0576100dd565b80638da5cb5b146101e5578063977b055b146102105780639d76ea581461023b576100dd565b806347908f60116100bb57806347908f601461013b578063518ab2a81461016457806360219c7b1461018f57806368428a1b146101ba576100dd565b806304c98b2b146100e257806324600fc3146100f957806333b5b62e14610110575b600080fd5b3480156100ee57600080fd5b506100f76102db565b005b34801561010557600080fd5b5061010e6103d6565b005b34801561011c57600080fd5b50610125610584565b60405161013291906112fb565b60405180910390f35b34801561014757600080fd5b50610162600480360381019061015d9190610d64565b61058a565b005b34801561017057600080fd5b50610179610665565b60405161018691906112fb565b60405180910390f35b34801561019b57600080fd5b506101a461066b565b6040516101b191906112fb565b60405180910390f35b3480156101c657600080fd5b506101cf610671565b6040516101dc9190611160565b60405180910390f35b3480156101f157600080fd5b506101fa610684565b604051610207919061111c565b60405180910390f35b34801561021c57600080fd5b506102256106a8565b60405161023291906112fb565b60405180910390f35b34801561024757600080fd5b506102506106ae565b60405161025d919061111c565b60405180910390f35b34801561027257600080fd5b5061027b6106d4565b005b34801561028957600080fd5b506102a4600480360381019061029f9190610d8d565b61096f565b005b6102ae610a5d565b005b3480156102bc57600080fd5b506102c5610d0b565b6040516102d291906112fb565b60405180910390f35b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610369576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610360906112db565b60405180910390fd5b600760009054906101000a900460ff16156103b9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016103b09061123b565b60405180910390fd5b6001600760006101000a81548160ff021916908315150217905550565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610464576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161045b906112db565b60405180910390fd5b6000479050600081116104ac576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016104a39061119b565b60405180910390fd5b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015610512573d6000803e3d6000fd5b5060008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167feaff4b37086828766ad3268786972c0cd24259d4c87a80f9d3963a3c3d999b0d8260405161057991906112fb565b60405180910390a250565b60055481565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610618576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161060f906112db565b60405180910390fd5b6000811161065b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106529061117b565b60405180910390fd5b8060028190555050565b60045481565b60035481565b600760009054906101000a900460ff1681565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60065481565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610762576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610759906112db565b60405180910390fd5b600760009054906101000a900460ff166107b1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107a8906111db565b60405180910390fd5b6000600760006101000a81548160ff02191690831515021790555060006004546003546107de9190611408565b905060008111156108fe576000600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff16846040518363ffffffff1660e01b8152600401610868929190611137565b602060405180830381600087803b15801561088257600080fd5b505af1158015610896573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108ba9190610d3b565b9050806108fc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108f3906111bb565b60405180910390fd5b505b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f349f939aaa1895cee67485b264474f0d2a1aac01083917b8ea9f96e4036cbb278260405161096491906112fb565b60405180910390a250565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146109fd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109f4906112db565b60405180910390fd5b600082118015610a0c57508181115b610a4b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a42906112bb565b60405180910390fd5b81600581905550806006819055505050565b600760009054906101000a900460ff16610aac576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610aa39061127b565b60405180910390fd5b600554341015610af1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ae89061129b565b60405180910390fd5b600654341115610b36576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b2d9061125b565b60405180910390fd5b6000670de0b6b3a764000060025434610b4f91906113ae565b610b59919061137d565b905060035481600454610b6c9190611327565b1115610bad576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ba49061121b565b60405180910390fd5b6000600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb33846040518363ffffffff1660e01b8152600401610c0c929190611137565b602060405180830381600087803b158015610c2657600080fd5b505af1158015610c3a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c5e9190610d3b565b905080610ca0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c97906111fb565b60405180910390fd5b8160046000828254610cb29190611327565b925050819055503373ffffffffffffffffffffffffffffffffffffffff167f8f28852646c20cc973d3a8218f7eefed58c25c909f78f0265af4818c3d4dc27183604051610cff91906112fb565b60405180910390a25050565b60025481565b600081519050610d20816114e2565b92915050565b600081359050610d35816114f9565b92915050565b600060208284031215610d4d57600080fd5b6000610d5b84828501610d11565b91505092915050565b600060208284031215610d7657600080fd5b6000610d8484828501610d26565b91505092915050565b60008060408385031215610da057600080fd5b6000610dae85828601610d26565b9250506020610dbf85828601610d26565b9150509250929050565b610dd28161143c565b82525050565b610de18161144e565b82525050565b6000610df4602a83611316565b91507f546f6b656e7320706572206574686572206d757374206265206772656174657260008301527f207468616e207a65726f000000000000000000000000000000000000000000006020830152604082019050919050565b6000610e5a601483611316565b91507f4e6f2066756e647320746f2077697468647261770000000000000000000000006000830152602082019050919050565b6000610e9a601e83611316565b91507f52657475726e696e6720756e736f6c6420746f6b656e73206661696c656400006000830152602082019050919050565b6000610eda601583611316565b91507f50726573616c6520616c726561647920656e64656400000000000000000000006000830152602082019050919050565b6000610f1a601583611316565b91507f546f6b656e207472616e73666572206661696c656400000000000000000000006000830152602082019050919050565b6000610f5a601f83611316565b91507f4e6f7420656e6f75676820746f6b656e73206c65667420666f722073616c65006000830152602082019050919050565b6000610f9a601983611316565b91507f50726573616c6520697320616c726561647920616374697665000000000000006000830152602082019050919050565b6000610fda601983611316565b91507f4d6178696d756d207075726368617365206578636565646564000000000000006000830152602082019050919050565b600061101a601583611316565b91507f50726573616c65206973206e6f742061637469766500000000000000000000006000830152602082019050919050565b600061105a601883611316565b91507f4d696e696d756d207075726368617365206e6f74206d657400000000000000006000830152602082019050919050565b600061109a601783611316565b91507f496e76616c6964207075726368617365206c696d6974730000000000000000006000830152602082019050919050565b60006110da601683611316565b91507f4e6f742074686520636f6e7472616374206f776e6572000000000000000000006000830152602082019050919050565b6111168161147a565b82525050565b60006020820190506111316000830184610dc9565b92915050565b600060408201905061114c6000830185610dc9565b611159602083018461110d565b9392505050565b60006020820190506111756000830184610dd8565b92915050565b6000602082019050818103600083015261119481610de7565b9050919050565b600060208201905081810360008301526111b481610e4d565b9050919050565b600060208201905081810360008301526111d481610e8d565b9050919050565b600060208201905081810360008301526111f481610ecd565b9050919050565b6000602082019050818103600083015261121481610f0d565b9050919050565b6000602082019050818103600083015261123481610f4d565b9050919050565b6000602082019050818103600083015261125481610f8d565b9050919050565b6000602082019050818103600083015261127481610fcd565b9050919050565b600060208201905081810360008301526112948161100d565b9050919050565b600060208201905081810360008301526112b48161104d565b9050919050565b600060208201905081810360008301526112d48161108d565b9050919050565b600060208201905081810360008301526112f4816110cd565b9050919050565b6000602082019050611310600083018461110d565b92915050565b600082825260208201905092915050565b60006113328261147a565b915061133d8361147a565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561137257611371611484565b5b828201905092915050565b60006113888261147a565b91506113938361147a565b9250826113a3576113a26114b3565b5b828204905092915050565b60006113b98261147a565b91506113c48361147a565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156113fd576113fc611484565b5b828202905092915050565b60006114138261147a565b915061141e8361147a565b92508282101561143157611430611484565b5b828203905092915050565b60006114478261145a565b9050919050565b60008115159050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6114eb8161144e565b81146114f657600080fd5b50565b6115028161147a565b811461150d57600080fd5b5056fea264697066735822122005a5155e5ec3d75f8a04179326a891d666b20b3ba260abbc010d9d7eb24714e864736f6c63430008000033000000000000000000000000480f20a3305636b2228f47d2c66b4f250881a807
Deployed Bytecode
0x6080604052600436106100dd5760003560e01c80638da5cb5b1161007f578063a43be57b11610059578063a43be57b14610266578063a8e3a1a91461027d578063d0febe4c146102a6578063f856d605146102b0576100dd565b80638da5cb5b146101e5578063977b055b146102105780639d76ea581461023b576100dd565b806347908f60116100bb57806347908f601461013b578063518ab2a81461016457806360219c7b1461018f57806368428a1b146101ba576100dd565b806304c98b2b146100e257806324600fc3146100f957806333b5b62e14610110575b600080fd5b3480156100ee57600080fd5b506100f76102db565b005b34801561010557600080fd5b5061010e6103d6565b005b34801561011c57600080fd5b50610125610584565b60405161013291906112fb565b60405180910390f35b34801561014757600080fd5b50610162600480360381019061015d9190610d64565b61058a565b005b34801561017057600080fd5b50610179610665565b60405161018691906112fb565b60405180910390f35b34801561019b57600080fd5b506101a461066b565b6040516101b191906112fb565b60405180910390f35b3480156101c657600080fd5b506101cf610671565b6040516101dc9190611160565b60405180910390f35b3480156101f157600080fd5b506101fa610684565b604051610207919061111c565b60405180910390f35b34801561021c57600080fd5b506102256106a8565b60405161023291906112fb565b60405180910390f35b34801561024757600080fd5b506102506106ae565b60405161025d919061111c565b60405180910390f35b34801561027257600080fd5b5061027b6106d4565b005b34801561028957600080fd5b506102a4600480360381019061029f9190610d8d565b61096f565b005b6102ae610a5d565b005b3480156102bc57600080fd5b506102c5610d0b565b6040516102d291906112fb565b60405180910390f35b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610369576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610360906112db565b60405180910390fd5b600760009054906101000a900460ff16156103b9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016103b09061123b565b60405180910390fd5b6001600760006101000a81548160ff021916908315150217905550565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610464576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161045b906112db565b60405180910390fd5b6000479050600081116104ac576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016104a39061119b565b60405180910390fd5b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015610512573d6000803e3d6000fd5b5060008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167feaff4b37086828766ad3268786972c0cd24259d4c87a80f9d3963a3c3d999b0d8260405161057991906112fb565b60405180910390a250565b60055481565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610618576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161060f906112db565b60405180910390fd5b6000811161065b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106529061117b565b60405180910390fd5b8060028190555050565b60045481565b60035481565b600760009054906101000a900460ff1681565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60065481565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610762576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610759906112db565b60405180910390fd5b600760009054906101000a900460ff166107b1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107a8906111db565b60405180910390fd5b6000600760006101000a81548160ff02191690831515021790555060006004546003546107de9190611408565b905060008111156108fe576000600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff16846040518363ffffffff1660e01b8152600401610868929190611137565b602060405180830381600087803b15801561088257600080fd5b505af1158015610896573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108ba9190610d3b565b9050806108fc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108f3906111bb565b60405180910390fd5b505b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f349f939aaa1895cee67485b264474f0d2a1aac01083917b8ea9f96e4036cbb278260405161096491906112fb565b60405180910390a250565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146109fd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109f4906112db565b60405180910390fd5b600082118015610a0c57508181115b610a4b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a42906112bb565b60405180910390fd5b81600581905550806006819055505050565b600760009054906101000a900460ff16610aac576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610aa39061127b565b60405180910390fd5b600554341015610af1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ae89061129b565b60405180910390fd5b600654341115610b36576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b2d9061125b565b60405180910390fd5b6000670de0b6b3a764000060025434610b4f91906113ae565b610b59919061137d565b905060035481600454610b6c9190611327565b1115610bad576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ba49061121b565b60405180910390fd5b6000600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb33846040518363ffffffff1660e01b8152600401610c0c929190611137565b602060405180830381600087803b158015610c2657600080fd5b505af1158015610c3a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c5e9190610d3b565b905080610ca0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c97906111fb565b60405180910390fd5b8160046000828254610cb29190611327565b925050819055503373ffffffffffffffffffffffffffffffffffffffff167f8f28852646c20cc973d3a8218f7eefed58c25c909f78f0265af4818c3d4dc27183604051610cff91906112fb565b60405180910390a25050565b60025481565b600081519050610d20816114e2565b92915050565b600081359050610d35816114f9565b92915050565b600060208284031215610d4d57600080fd5b6000610d5b84828501610d11565b91505092915050565b600060208284031215610d7657600080fd5b6000610d8484828501610d26565b91505092915050565b60008060408385031215610da057600080fd5b6000610dae85828601610d26565b9250506020610dbf85828601610d26565b9150509250929050565b610dd28161143c565b82525050565b610de18161144e565b82525050565b6000610df4602a83611316565b91507f546f6b656e7320706572206574686572206d757374206265206772656174657260008301527f207468616e207a65726f000000000000000000000000000000000000000000006020830152604082019050919050565b6000610e5a601483611316565b91507f4e6f2066756e647320746f2077697468647261770000000000000000000000006000830152602082019050919050565b6000610e9a601e83611316565b91507f52657475726e696e6720756e736f6c6420746f6b656e73206661696c656400006000830152602082019050919050565b6000610eda601583611316565b91507f50726573616c6520616c726561647920656e64656400000000000000000000006000830152602082019050919050565b6000610f1a601583611316565b91507f546f6b656e207472616e73666572206661696c656400000000000000000000006000830152602082019050919050565b6000610f5a601f83611316565b91507f4e6f7420656e6f75676820746f6b656e73206c65667420666f722073616c65006000830152602082019050919050565b6000610f9a601983611316565b91507f50726573616c6520697320616c726561647920616374697665000000000000006000830152602082019050919050565b6000610fda601983611316565b91507f4d6178696d756d207075726368617365206578636565646564000000000000006000830152602082019050919050565b600061101a601583611316565b91507f50726573616c65206973206e6f742061637469766500000000000000000000006000830152602082019050919050565b600061105a601883611316565b91507f4d696e696d756d207075726368617365206e6f74206d657400000000000000006000830152602082019050919050565b600061109a601783611316565b91507f496e76616c6964207075726368617365206c696d6974730000000000000000006000830152602082019050919050565b60006110da601683611316565b91507f4e6f742074686520636f6e7472616374206f776e6572000000000000000000006000830152602082019050919050565b6111168161147a565b82525050565b60006020820190506111316000830184610dc9565b92915050565b600060408201905061114c6000830185610dc9565b611159602083018461110d565b9392505050565b60006020820190506111756000830184610dd8565b92915050565b6000602082019050818103600083015261119481610de7565b9050919050565b600060208201905081810360008301526111b481610e4d565b9050919050565b600060208201905081810360008301526111d481610e8d565b9050919050565b600060208201905081810360008301526111f481610ecd565b9050919050565b6000602082019050818103600083015261121481610f0d565b9050919050565b6000602082019050818103600083015261123481610f4d565b9050919050565b6000602082019050818103600083015261125481610f8d565b9050919050565b6000602082019050818103600083015261127481610fcd565b9050919050565b600060208201905081810360008301526112948161100d565b9050919050565b600060208201905081810360008301526112b48161104d565b9050919050565b600060208201905081810360008301526112d48161108d565b9050919050565b600060208201905081810360008301526112f4816110cd565b9050919050565b6000602082019050611310600083018461110d565b92915050565b600082825260208201905092915050565b60006113328261147a565b915061133d8361147a565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561137257611371611484565b5b828201905092915050565b60006113888261147a565b91506113938361147a565b9250826113a3576113a26114b3565b5b828204905092915050565b60006113b98261147a565b91506113c48361147a565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156113fd576113fc611484565b5b828202905092915050565b60006114138261147a565b915061141e8361147a565b92508282101561143157611430611484565b5b828203905092915050565b60006114478261145a565b9050919050565b60008115159050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6114eb8161144e565b81146114f657600080fd5b50565b6115028161147a565b811461150d57600080fd5b5056fea264697066735822122005a5155e5ec3d75f8a04179326a891d666b20b3ba260abbc010d9d7eb24714e864736f6c63430008000033
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:3300:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1361:139;;;;;;;;;;;;;:::i;:::-;;2728:250;;;;;;;;;;;;;:::i;:::-;;544:37;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;3028:210;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;512:25;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;427:56;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;740:30;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;280:20;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;640:39;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;307:27;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;1532:446;;;;;;;;;;;;;:::i;:::-;;3277:269;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;2020:659;;;:::i;:::-;;341:33;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;1361:139;1084:5;;;;;;;;;;1070:19;;:10;:19;;;1062:54;;;;;;;;;;;;:::i;:::-;;;;;;;;;1424:10:::1;;;;;;;;;;;1423:11;1415:49;;;;;;;;;;;;:::i;:::-;;;;;;;;;1488:4;1475:10;;:17;;;;;;;;;;;;;;;;;;1361:139::o:0;2728:250::-;1084:5;;;;;;;;;;1070:19;;:10;:19;;;1062:54;;;;;;;;;;;;:::i;:::-;;;;;;;;;2783:15:::1;2801:21;2783:39;;2851:1;2841:7;:11;2833:44;;;;;;;;;;;;:::i;:::-;;;;;;;;;2898:5;::::0;::::1;;;;;;;;2890:23;;:32;2914:7;2890:32;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;2955:5;::::0;::::1;;;;;;;;2940:30;;;2962:7;2940:30;;;;;;:::i;:::-;;;;;;;;1127:1;2728:250::o:0;544:37::-;;;;:::o;3028:210::-;1084:5;;;;;;;;;;1070:19;;:10;:19;;;1062:54;;;;;;;;;;;;:::i;:::-;;;;;;;;;3139:1:::1;3121:15;:19;3113:74;;;;;;;;;;;;:::i;:::-;;;;;;;;;3215:15;3198:14;:32;;;;3028:210:::0;:::o;512:25::-;;;;:::o;427:56::-;;;;:::o;740:30::-;;;;;;;;;;;;;:::o;280:20::-;;;;;;;;;;;;:::o;640:39::-;;;;:::o;307:27::-;;;;;;;;;;;;;:::o;1532:446::-;1084:5;;;;;;;;;;1070:19;;:10;:19;;;1062:54;;;;;;;;;;;;:::i;:::-;;;;;;;;;1592:10:::1;;;;;;;;;;;1584:44;;;;;;;;;;;;:::i;:::-;;;;;;;;;1654:5;1641:10;;:18;;;;;;;;;;;;;;;;;;1672:20;1716:10;;1695:18;;:31;;;;:::i;:::-;1672:54;;1756:1;1741:12;:16;1737:186;;;1774:12;1803;;;;;;;;;;;1789:36;;;1826:5;::::0;::::1;;;;;;;;1833:12;1789:57;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;1774:72;;1869:7;1861:50;;;;;;;;;;;;:::i;:::-;;;;;;;;;1737:186;;1950:5;::::0;::::1;;;;;;;;1940:30;;;1957:12;1940:30;;;;;;:::i;:::-;;;;;;;;1127:1;1532:446::o:0;3277:269::-;1084:5;;;;;;;;;;1070:19;;:10;:19;;;1062:54;;;;;;;;;;;;:::i;:::-;;;;;;;;;3404:1:::1;3389:12;:16;:47;;;;;3424:12;3409;:27;3389:47;3381:83;;;;;;;;;;;;:::i;:::-;;;;;;;;;3489:12;3475:11;:26;;;;3526:12;3512:11;:26;;;;3277:269:::0;;:::o;2020:659::-;2077:10;;;;;;;;;;;2069:44;;;;;;;;;;;;:::i;:::-;;;;;;;;;2145:11;;2132:9;:24;;2124:61;;;;;;;;;;;;:::i;:::-;;;;;;;;;2217:11;;2204:9;:24;;2196:62;;;;;;;;;;;;:::i;:::-;;;;;;;;;2271:19;2324:7;2306:14;;2294:9;:26;;;;:::i;:::-;2293:38;;;;:::i;:::-;2271:60;;2380:18;;2365:11;2352:10;;:24;;;;:::i;:::-;:46;;2344:90;;;;;;;;;;;;:::i;:::-;;;;;;;;;2447:12;2476;;;;;;;;;;;2462:36;;;2499:10;2511:11;2462:61;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;2447:76;;2542:7;2534:41;;;;;;;;;;;;:::i;:::-;;;;;;;;;2602:11;2588:10;;:25;;;;;;;:::i;:::-;;;;;;;;2647:10;2631:40;;;2659:11;2631:40;;;;;;:::i;:::-;;;;;;;;2020:659;;:::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:323::-;;4014:67;4078:2;4073:3;4014:67;:::i;:::-;4007:74;;4111:27;4107:1;4102:3;4098:11;4091:48;4165:2;4160:3;4156:12;4149:19;;3997:177;;;:::o;4180:319::-;;4343:67;4407:2;4402:3;4343:67;:::i;:::-;4336:74;;4440:23;4436:1;4431:3;4427:11;4420:44;4490:2;4485:3;4481:12;4474:19;;4326:173;;;:::o;4505:322::-;;4668:67;4732:2;4727:3;4668:67;:::i;:::-;4661:74;;4765:26;4761:1;4756:3;4752:11;4745:47;4818:2;4813:3;4809:12;4802:19;;4651:176;;;:::o;4833:321::-;;4996:67;5060:2;5055:3;4996:67;:::i;:::-;4989:74;;5093:25;5089:1;5084:3;5080:11;5073:46;5145:2;5140:3;5136:12;5129:19;;4979:175;;;:::o;5160:320::-;;5323:67;5387:2;5382:3;5323:67;:::i;:::-;5316:74;;5420:24;5416:1;5411:3;5407:11;5400:45;5471:2;5466:3;5462:12;5455:19;;5306:174;;;:::o;5486:118::-;5573:24;5591:5;5573:24;:::i;:::-;5568:3;5561:37;5551:53;;:::o;5610:222::-;;5741:2;5730:9;5726:18;5718:26;;5754:71;5822:1;5811:9;5807:17;5798:6;5754:71;:::i;:::-;5708:124;;;;:::o;5838:332::-;;5997:2;5986:9;5982:18;5974:26;;6010:71;6078:1;6067:9;6063:17;6054:6;6010:71;:::i;:::-;6091:72;6159:2;6148:9;6144:18;6135:6;6091:72;:::i;:::-;5964:206;;;;;:::o;6176:210::-;;6301:2;6290:9;6286:18;6278:26;;6314:65;6376:1;6365:9;6361:17;6352:6;6314:65;:::i;:::-;6268:118;;;;:::o;6392:419::-;;6596:2;6585:9;6581:18;6573:26;;6645:9;6639:4;6635:20;6631:1;6620:9;6616:17;6609:47;6673:131;6799:4;6673:131;:::i;:::-;6665:139;;6563:248;;;:::o;6817:419::-;;7021:2;7010:9;7006:18;6998:26;;7070:9;7064:4;7060:20;7056:1;7045:9;7041:17;7034:47;7098:131;7224:4;7098:131;:::i;:::-;7090:139;;6988:248;;;:::o;7242:419::-;;7446:2;7435:9;7431:18;7423:26;;7495:9;7489:4;7485:20;7481:1;7470:9;7466:17;7459:47;7523:131;7649:4;7523:131;:::i;:::-;7515:139;;7413:248;;;:::o;7667:419::-;;7871:2;7860:9;7856:18;7848:26;;7920:9;7914:4;7910:20;7906:1;7895:9;7891:17;7884:47;7948:131;8074:4;7948:131;:::i;:::-;7940:139;;7838:248;;;:::o;8092:419::-;;8296:2;8285:9;8281:18;8273:26;;8345:9;8339:4;8335:20;8331:1;8320:9;8316:17;8309:47;8373:131;8499:4;8373:131;:::i;:::-;8365:139;;8263:248;;;:::o;8517:419::-;;8721:2;8710:9;8706:18;8698:26;;8770:9;8764:4;8760:20;8756:1;8745:9;8741:17;8734:47;8798:131;8924:4;8798:131;:::i;:::-;8790:139;;8688:248;;;:::o;8942:419::-;;9146:2;9135:9;9131:18;9123:26;;9195:9;9189:4;9185:20;9181:1;9170:9;9166:17;9159:47;9223:131;9349:4;9223:131;:::i;:::-;9215:139;;9113:248;;;:::o;9367:419::-;;9571:2;9560:9;9556:18;9548:26;;9620:9;9614:4;9610:20;9606:1;9595:9;9591:17;9584:47;9648:131;9774:4;9648:131;:::i;:::-;9640:139;;9538:248;;;:::o;9792:419::-;;9996:2;9985:9;9981:18;9973:26;;10045:9;10039:4;10035:20;10031:1;10020:9;10016:17;10009:47;10073:131;10199:4;10073:131;:::i;:::-;10065:139;;9963:248;;;:::o;10217:419::-;;10421:2;10410:9;10406:18;10398:26;;10470:9;10464:4;10460:20;10456:1;10445:9;10441:17;10434:47;10498:131;10624:4;10498:131;:::i;:::-;10490:139;;10388:248;;;:::o;10642:419::-;;10846:2;10835:9;10831:18;10823:26;;10895:9;10889:4;10885:20;10881:1;10870:9;10866:17;10859:47;10923:131;11049:4;10923:131;:::i;:::-;10915:139;;10813:248;;;:::o;11067:419::-;;11271:2;11260:9;11256:18;11248:26;;11320:9;11314:4;11310:20;11306:1;11295:9;11291:17;11284:47;11348:131;11474:4;11348:131;:::i;:::-;11340:139;;11238:248;;;:::o;11492:222::-;;11623:2;11612:9;11608:18;11600:26;;11636:71;11704:1;11693:9;11689:17;11680:6;11636:71;:::i;:::-;11590:124;;;;:::o;11720:169::-;;11838:6;11833:3;11826:19;11878:4;11873:3;11869:14;11854:29;;11816:73;;;;:::o;11895:305::-;;11954:20;11972:1;11954:20;:::i;:::-;11949:25;;11988:20;12006:1;11988:20;:::i;:::-;11983:25;;12142:1;12074:66;12070:74;12067:1;12064:81;12061:2;;;12148:18;;:::i;:::-;12061:2;12192:1;12189;12185:9;12178:16;;11939:261;;;;:::o;12206:185::-;;12263:20;12281:1;12263:20;:::i;:::-;12258:25;;12297:20;12315:1;12297:20;:::i;:::-;12292:25;;12336:1;12326:2;;12341:18;;:::i;:::-;12326:2;12383:1;12380;12376:9;12371:14;;12248:143;;;;:::o;12397:348::-;;12460:20;12478:1;12460:20;:::i;:::-;12455:25;;12494:20;12512:1;12494:20;:::i;:::-;12489:25;;12682:1;12614:66;12610:74;12607:1;12604:81;12599:1;12592:9;12585:17;12581:105;12578:2;;;12689:18;;:::i;:::-;12578:2;12737:1;12734;12730:9;12719:20;;12445:300;;;;:::o;12751:191::-;;12811:20;12829:1;12811:20;:::i;:::-;12806:25;;12845:20;12863:1;12845:20;:::i;:::-;12840:25;;12884:1;12881;12878:8;12875:2;;;12889:18;;:::i;:::-;12875:2;12934:1;12931;12927:9;12919:17;;12796:146;;;;:::o;12948:96::-;;13014:24;13032:5;13014:24;:::i;:::-;13003:35;;12993:51;;;:::o;13050:90::-;;13127:5;13120:13;13113:21;13102:32;;13092:48;;;:::o;13146:126::-;;13223:42;13216:5;13212:54;13201:65;;13191:81;;;:::o;13278:77::-;;13344:5;13333:16;;13323:32;;;:::o;13361:180::-;13409:77;13406:1;13399:88;13506:4;13503:1;13496:15;13530:4;13527:1;13520:15;13547:180;13595:77;13592:1;13585:88;13692:4;13689:1;13682:15;13716:4;13713:1;13706:15;13733:116;13803:21;13818:5;13803:21;:::i;:::-;13796:5;13793:32;13783:2;;13839:1;13836;13829:12;13783:2;13773:76;:::o;13855:122::-;13928:24;13946:5;13928:24;:::i;:::-;13921:5;13918:35;13908:2;;13967:1;13964;13957:12;13908:2;13898:79;:::o
Swarm Source
ipfs://05a5155e5ec3d75f8a04179326a891d666b20b3ba260abbc010d9d7eb24714e8
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 30 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
[ Download: CSV Export ]
[ 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.