More Info
Private Name Tags
ContractCreator
Latest 25 from a total of 268 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Withdraw KAI | 11894100 | 1288 days ago | IN | 0 ETH | 0.01042367 | ||||
Withdraw KAI | 11630570 | 1329 days ago | IN | 0 ETH | 0.00147656 | ||||
Withdraw KAI | 11630476 | 1329 days ago | IN | 0 ETH | 0.00568216 | ||||
Withdraw KAI | 11630468 | 1329 days ago | IN | 0 ETH | 0.00574673 | ||||
Withdraw KAI | 11479042 | 1352 days ago | IN | 0 ETH | 0.00079879 | ||||
Withdraw KAI | 11479026 | 1352 days ago | IN | 0 ETH | 0.00079879 | ||||
Withdraw KAI | 11255697 | 1386 days ago | IN | 0 ETH | 0.00161425 | ||||
Withdraw KAI | 11225383 | 1391 days ago | IN | 0 ETH | 0.0012914 | ||||
Withdraw KAI | 11223624 | 1391 days ago | IN | 0 ETH | 0.00046233 | ||||
Withdraw KAI | 11223048 | 1391 days ago | IN | 0 ETH | 0.00142699 | ||||
Withdraw KAI | 11223034 | 1391 days ago | IN | 0 ETH | 0.00148511 | ||||
Withdraw KAI | 11223028 | 1391 days ago | IN | 0 ETH | 0.00148511 | ||||
Withdraw KAI | 11223024 | 1391 days ago | IN | 0 ETH | 0.00143345 | ||||
Withdraw KAI | 11222923 | 1391 days ago | IN | 0 ETH | 0.00135597 | ||||
Withdraw KAI | 11222923 | 1391 days ago | IN | 0 ETH | 0.0010725 | ||||
Withdraw Bonus | 11222853 | 1391 days ago | IN | 0 ETH | 0.00151962 | ||||
Withdraw KAI | 11222779 | 1391 days ago | IN | 0 ETH | 0.00167882 | ||||
Withdraw KAI | 11222770 | 1391 days ago | IN | 0 ETH | 0.00167882 | ||||
Withdraw KAI | 11222763 | 1391 days ago | IN | 0 ETH | 0.00219538 | ||||
Withdraw KAI | 11222758 | 1391 days ago | IN | 0 ETH | 0.00183011 | ||||
Withdraw KAI | 11222744 | 1391 days ago | IN | 0 ETH | 0.000823 | ||||
Withdraw KAI | 11222744 | 1391 days ago | IN | 0 ETH | 0.00219538 | ||||
Withdraw KAI | 11220487 | 1392 days ago | IN | 0 ETH | 0.00156259 | ||||
Withdraw KAI | 11220467 | 1392 days ago | IN | 0 ETH | 0.00142764 | ||||
Withdraw KAI | 11220439 | 1392 days ago | IN | 0 ETH | 0.00142054 |
Advanced mode: Intended for advanced users or developers and will display all Internal Transactions including zero value transfers. Name tag integration is not available in advanced view.
Latest 25 internal transactions (View All)
Advanced mode:
Parent Transaction Hash | Block | From | To | ||||
---|---|---|---|---|---|---|---|
11894100 | 1288 days ago | 0 ETH | |||||
11630476 | 1329 days ago | 0 ETH | |||||
11630468 | 1329 days ago | 0 ETH | |||||
11255697 | 1386 days ago | 0 ETH | |||||
11225383 | 1391 days ago | 0 ETH | |||||
11223048 | 1391 days ago | 0 ETH | |||||
11223034 | 1391 days ago | 0 ETH | |||||
11223028 | 1391 days ago | 0 ETH | |||||
11223024 | 1391 days ago | 0 ETH | |||||
11222923 | 1391 days ago | 0 ETH | |||||
11222923 | 1391 days ago | 0 ETH | |||||
11222853 | 1391 days ago | 0 ETH | |||||
11222779 | 1391 days ago | 0 ETH | |||||
11222770 | 1391 days ago | 0 ETH | |||||
11222763 | 1391 days ago | 0 ETH | |||||
11222758 | 1391 days ago | 0 ETH | |||||
11222744 | 1391 days ago | 0 ETH | |||||
11220487 | 1392 days ago | 0 ETH | |||||
11220467 | 1392 days ago | 0 ETH | |||||
11220439 | 1392 days ago | 0 ETH | |||||
11220410 | 1392 days ago | 0 ETH | |||||
11219842 | 1392 days ago | 0 ETH | |||||
11219742 | 1392 days ago | 0 ETH | |||||
11218541 | 1392 days ago | 0 ETH | |||||
11218454 | 1392 days ago | 0 ETH |
Loading...
Loading
Contract Name:
LockAndEarn
Compiler Version
v0.5.0+commit.1d4f565a
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2020-10-06 */ pragma solidity ^0.5.0; /* * @title: SafeMath * @dev: Helper contract functions to arithmatic operations safely. */ contract SafeMath { function Sub(uint256 a, uint256 b) internal pure returns (uint256) { require(b <= a, "SafeMath: subtraction overflow"); uint256 c = a - b; return c; } function Add(uint256 a, uint256 b) internal pure returns (uint256) { uint256 c = a + b; require(c >= a, "SafeMath: addition overflow"); return c; } function Mul(uint256 a, uint256 b) internal pure returns (uint256) { if (a == 0) { return 0; } uint256 c = a * b; require(c / a == b, "SafeMath: multiplication overflow"); return c; } } /* * @title: Token * @dev: Interface contract for ERC20 tokens */ contract Token { function totalSupply() public view returns (uint256 supply); function balanceOf(address _owner) public view returns (uint256 balance); function transfer(address _to, uint256 _value) public returns (bool success); function transferFrom( address _from, address _to, uint256 _value ) public returns (bool success); function approve(address _spender, uint256 _value) public returns (bool success); function allowance(address _owner, address _spender) public view returns (uint256 remaining); event Transfer(address indexed _from, address indexed _to, uint256 _value); event Approval( address indexed _owner, address indexed _spender, uint256 _value ); } contract ERC20Basic { uint public _totalSupply; function totalSupply() public view returns (uint256); function balanceOf(address who) public view returns (uint256); function transfer(address to, uint256 value) public; event Transfer(address indexed from, address indexed to, uint256 value); } /** * @title ERC20 interface * @dev see https://github.com/ethereum/EIPs/issues/20 */ contract USDT is ERC20Basic { function allowance(address owner, address spender) public view returns (uint256); function transferFrom(address from, address to, uint256 value) public; function approve(address spender, uint256 value) public; event Approval(address indexed owner, address indexed spender, uint256 value); } /* * @title: Lock and Earn */ contract LockAndEarn is SafeMath { // _kaiAddress: KAI ERC20 contract address // msg.sender: owner && operator constructor(uint256 _lockStartTime, uint256 _lockDays) public { owner = msg.sender; lockDays = _lockDays; lockStartTime = _lockStartTime; isEnded = false; } address public owner; uint256 public hardCap = 2000000000000000000000000; // 2000000 KAI uint256 public totalBonusUSDT; uint256 public minDeposit = 1000000000000000000000; // 1000 KAI uint256 public maxDeposit = 250000000000000000000000; // 250000 KAI address public kaiAddress = 0xD9Ec3ff1f8be459Bb9369b4E79e9Ebcf7141C093; address constant public usdtAddress = 0xdAC17F958D2ee523a2206206994597C13D831ec7; uint256 public lockDays; uint256 public lockStartTime; uint8 public winPool; bool public isEnded; mapping(address => mapping(uint256 => uint256)) public balance; mapping(uint256 => uint256) public currentCapPool; mapping(address => bool) public isWithdrawBonus; mapping(address => mapping(uint256 => bool)) isWithdrawKAI; // Functions with this modifier can only be executed by the owner modifier onlyOwner() { require(msg.sender == owner); _; } // Deposit ERC20's for saving function depositKAI(uint256 amount, uint256 poolIndex) public { require(isEnded != true); require(lockStartTime < now, 'Event has not been started yet'); require(balance[msg.sender][poolIndex] == 0, "Can only deposit once"); require (amount >= minDeposit, 'Amount must be equal or greater than 1000 KAI'); require (amount <= maxDeposit, 'Amount must be equal or less than 250000 KAI'); require(Add(currentCapPool[poolIndex], amount) <= hardCap, 'Exceed limit total cap'); require(Token(kaiAddress).transferFrom(msg.sender, address(this), amount)); balance[msg.sender][poolIndex] = amount; uint256 currentCap = currentCapPool[poolIndex]; currentCapPool[poolIndex] = Add(currentCap, amount); } // Withdraw ERC20's to personal address function withdrawKAI(uint256 poolIndex) public { require(lockStartTime + lockDays * 1 days < now, "In locking period"); require(isWithdrawKAI[msg.sender][poolIndex] != true, "Can only withdraw once"); uint256 amount = balance[msg.sender][poolIndex]; require(Token(kaiAddress).transfer(msg.sender, amount)); isWithdrawKAI[msg.sender][poolIndex] = true; } function withdrawBonus() public { require(lockStartTime + lockDays * 1 days < now, "In locking period"); require(balance[msg.sender][winPool] > 0, "Address has not deposited"); require(isWithdrawBonus[msg.sender] != true, "Can only withdraw once"); _withdrawBonus(msg.sender, winPool); } function _withdrawBonus(address addr, uint256 poolIndex) private { uint256 amount = balance[addr][poolIndex]; uint256 currentCap = currentCapPool[winPool]; uint256 bonus = Mul(amount, totalBonusUSDT) / currentCap; USDT(usdtAddress).transfer(msg.sender, bonus); isWithdrawBonus[msg.sender] = true; } function setWinningPoolAndBonus(uint256 _totalBonusUSDT, uint8 poolIndex) public onlyOwner { require(USDT(usdtAddress).balanceOf(address(this)) >= _totalBonusUSDT); totalBonusUSDT = _totalBonusUSDT; winPool = poolIndex; } // owner sets global variables the campaign ends function setEndedDeposit() public onlyOwner { isEnded = true; } // Below two emergency functions will be never used in normal situations. // These function is only prepared for emergency case such as smart contract hacking Vulnerability or smart contract abolishment // Withdrawn fund by these function cannot belong to any operators or owners. // Withdrawn fund should be distributed to individual accounts having original ownership of withdrawn fund. function emergencyWithdrawalETH(uint256 amount) public onlyOwner { require(msg.sender.send(amount)); } function emergencyWithdrawalKAI(uint256 amount) public onlyOwner { Token(kaiAddress).transfer(msg.sender, amount); } function emergencyWithdrawalUSDT(uint256 amount) public onlyOwner { USDT(usdtAddress).transfer(msg.sender, amount); } function getMyBalance(uint256 poolIndex) public view returns (uint256) { return balance[msg.sender][poolIndex]; } function getTimeStamp() public view returns (uint256) { return now; } // @notice Will receive any eth sent to the contract function () external payable {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"constant":false,"inputs":[{"name":"amount","type":"uint256"}],"name":"emergencyWithdrawalETH","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"poolIndex","type":"uint256"}],"name":"getMyBalance","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"poolIndex","type":"uint256"}],"name":"withdrawKAI","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"minDeposit","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_totalBonusUSDT","type":"uint256"},{"name":"poolIndex","type":"uint8"}],"name":"setWinningPoolAndBonus","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"maxDeposit","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"lockStartTime","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"withdrawBonus","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"","type":"uint256"}],"name":"currentCapPool","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"},{"name":"","type":"uint256"}],"name":"balance","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"lockDays","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"totalBonusUSDT","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"winPool","outputs":[{"name":"","type":"uint8"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"owner","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"amount","type":"uint256"}],"name":"emergencyWithdrawalKAI","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"amount","type":"uint256"}],"name":"emergencyWithdrawalUSDT","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"usdtAddress","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"isEnded","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"kaiAddress","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"amount","type":"uint256"},{"name":"poolIndex","type":"uint256"}],"name":"depositKAI","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"setEndedDeposit","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"getTimeStamp","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"isWithdrawBonus","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"hardCap","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"inputs":[{"name":"_lockStartTime","type":"uint256"},{"name":"_lockDays","type":"uint256"}],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"payable":true,"stateMutability":"payable","type":"fallback"}]
Contract Creation Code
60806040526a01a784379d99db42000000600155683635c9adc5dea000006003556934f086f3b33b6840000060045560058054600160a060020a03191673d9ec3ff1f8be459bb9369b4e79e9ebcf7141c09317905534801561006057600080fd5b506040516040806110e98339810180604052604081101561008057600080fd5b50805160209091015160008054600160a060020a031916331790556006556007556008805461ff001916905561102e806100bb6000396000f3fe60806040526004361061013d5763ffffffff7c01000000000000000000000000000000000000000000000000000000006000350416631f7a868e811461013f57806324cc8555146101695780633f53684e146101a557806341b3d185146101cf57806352f037ca146101e45780636083e59a1461021757806362c7fa761461022c57806366de84ec146102415780636bf52f02146102565780636d8c859a146102805780636e6ff8a9146102b9578063704b48a3146102ce5780637fe23f62146102e35780638da5cb5b1461030e5780638f970ea21461033f57806392abca3b146103695780639ab4a44514610393578063a4fd6f56146103a8578063b1ab2ddd146103d1578063b65a8b31146103e6578063caaba6cd14610416578063da235b221461042b578063db8d1ffc14610440578063fb86a40414610473575b005b34801561014b57600080fd5b5061013d6004803603602081101561016257600080fd5b5035610488565b34801561017557600080fd5b506101936004803603602081101561018c57600080fd5b50356104c9565b60408051918252519081900360200190f35b3480156101b157600080fd5b5061013d600480360360208110156101c857600080fd5b50356104e6565b3480156101db57600080fd5b50610193610692565b3480156101f057600080fd5b5061013d6004803603604081101561020757600080fd5b508035906020013560ff16610698565b34801561022357600080fd5b5061019361076e565b34801561023857600080fd5b50610193610774565b34801561024d57600080fd5b5061013d61077a565b34801561026257600080fd5b506101936004803603602081101561027957600080fd5b50356108d3565b34801561028c57600080fd5b50610193600480360360408110156102a357600080fd5b50600160a060020a0381351690602001356108e5565b3480156102c557600080fd5b50610193610902565b3480156102da57600080fd5b50610193610908565b3480156102ef57600080fd5b506102f861090e565b6040805160ff9092168252519081900360200190f35b34801561031a57600080fd5b50610323610917565b60408051600160a060020a039092168252519081900360200190f35b34801561034b57600080fd5b5061013d6004803603602081101561036257600080fd5b5035610926565b34801561037557600080fd5b5061013d6004803603602081101561038c57600080fd5b50356109c3565b34801561039f57600080fd5b50610323610a51565b3480156103b457600080fd5b506103bd610a69565b604080519115158252519081900360200190f35b3480156103dd57600080fd5b50610323610a77565b3480156103f257600080fd5b5061013d6004803603604081101561040957600080fd5b5080359060200135610a86565b34801561042257600080fd5b5061013d610dcc565b34801561043757600080fd5b50610193610df4565b34801561044c57600080fd5b506103bd6004803603602081101561046357600080fd5b5035600160a060020a0316610df8565b34801561047f57600080fd5b50610193610e0d565b600054600160a060020a0316331461049f57600080fd5b604051339082156108fc029083906000818181858888f1935050505015156104c657600080fd5b50565b336000908152600960209081526040808320938352929052205490565b4260065462015180026007540110151561054a576040805160e560020a62461bcd02815260206004820152601160248201527f496e206c6f636b696e6720706572696f64000000000000000000000000000000604482015290519081900360640190fd5b336000908152600c6020908152604080832084845290915290205460ff161515600114156105c2576040805160e560020a62461bcd02815260206004820152601660248201527f43616e206f6e6c79207769746864726177206f6e636500000000000000000000604482015290519081900360640190fd5b336000818152600960209081526040808320858452825280832054600554825160e060020a63a9059cbb02815260048101969096526024860182905291519094600160a060020a039092169363a9059cbb93604480850194919392918390030190829087803b15801561063457600080fd5b505af1158015610648573d6000803e3d6000fd5b505050506040513d602081101561065e57600080fd5b5051151561066b57600080fd5b50336000908152600c6020908152604080832093835292905220805460ff19166001179055565b60035481565b600054600160a060020a031633146106af57600080fd5b604080517f70a082310000000000000000000000000000000000000000000000000000000081523060048201529051839173dac17f958d2ee523a2206206994597c13d831ec7916370a0823191602480820192602092909190829003018186803b15801561071c57600080fd5b505afa158015610730573d6000803e3d6000fd5b505050506040513d602081101561074657600080fd5b5051101561075357600080fd5b6002919091556008805460ff191660ff909216919091179055565b60045481565b60075481565b426006546201518002600754011015156107de576040805160e560020a62461bcd02815260206004820152601160248201527f496e206c6f636b696e6720706572696f64000000000000000000000000000000604482015290519081900360640190fd5b33600090815260096020908152604080832060085460ff16845290915281205411610853576040805160e560020a62461bcd02815260206004820152601960248201527f4164647265737320686173206e6f74206465706f736974656400000000000000604482015290519081900360640190fd5b336000908152600b602052604090205460ff161515600114156108c0576040805160e560020a62461bcd02815260206004820152601660248201527f43616e206f6e6c79207769746864726177206f6e636500000000000000000000604482015290519081900360640190fd5b6008546108d190339060ff16610e13565b565b600a6020526000908152604090205481565b600960209081526000928352604080842090915290825290205481565b60065481565b60025481565b60085460ff1681565b600054600160a060020a031681565b600054600160a060020a0316331461093d57600080fd5b6005546040805160e060020a63a9059cbb028152336004820152602481018490529051600160a060020a039092169163a9059cbb916044808201926020929091908290030181600087803b15801561099457600080fd5b505af11580156109a8573d6000803e3d6000fd5b505050506040513d60208110156109be57600080fd5b505050565b600054600160a060020a031633146109da57600080fd5b6040805160e060020a63a9059cbb02815233600482015260248101839052905173dac17f958d2ee523a2206206994597c13d831ec79163a9059cbb91604480830192600092919082900301818387803b158015610a3657600080fd5b505af1158015610a4a573d6000803e3d6000fd5b5050505050565b73dac17f958d2ee523a2206206994597c13d831ec781565b600854610100900460ff1681565b600554600160a060020a031681565b60085460ff61010090910416151560011415610aa157600080fd5b6007544211610afa576040805160e560020a62461bcd02815260206004820152601e60248201527f4576656e7420686173206e6f74206265656e2073746172746564207965740000604482015290519081900360640190fd5b33600090815260096020908152604080832084845290915290205415610b6a576040805160e560020a62461bcd02815260206004820152601560248201527f43616e206f6e6c79206465706f736974206f6e63650000000000000000000000604482015290519081900360640190fd5b600354821015610bea576040805160e560020a62461bcd02815260206004820152602d60248201527f416d6f756e74206d75737420626520657175616c206f7220677265617465722060448201527f7468616e2031303030204b414900000000000000000000000000000000000000606482015290519081900360840190fd5b600454821115610c6a576040805160e560020a62461bcd02815260206004820152602c60248201527f416d6f756e74206d75737420626520657175616c206f72206c6573732074686160448201527f6e20323530303030204b41490000000000000000000000000000000000000000606482015290519081900360840190fd5b6001546000828152600a6020526040902054610c869084610f00565b1115610cdc576040805160e560020a62461bcd02815260206004820152601660248201527f457863656564206c696d697420746f74616c2063617000000000000000000000604482015290519081900360640190fd5b600554604080517f23b872dd000000000000000000000000000000000000000000000000000000008152336004820152306024820152604481018590529051600160a060020a03909216916323b872dd916064808201926020929091908290030181600087803b158015610d4f57600080fd5b505af1158015610d63573d6000803e3d6000fd5b505050506040513d6020811015610d7957600080fd5b50511515610d8657600080fd5b3360009081526009602090815260408083208484528252808320859055600a909152902054610db58184610f00565b6000928352600a6020526040909220919091555050565b600054600160a060020a03163314610de357600080fd5b6008805461ff001916610100179055565b4290565b600b6020526000908152604090205460ff1681565b60015481565b600160a060020a038216600090815260096020908152604080832084845282528083205460085460ff168452600a909252822054600254919290918290610e5b908590610f66565b811515610e6457fe5b6040805160e060020a63a9059cbb0281523360048201529290910460248301819052905190925073dac17f958d2ee523a2206206994597c13d831ec79163a9059cbb91604480830192600092919082900301818387803b158015610ec757600080fd5b505af1158015610edb573d6000803e3d6000fd5b5050336000908152600b60205260409020805460ff1916600117905550505050505050565b600082820183811015610f5d576040805160e560020a62461bcd02815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b90505b92915050565b6000821515610f7757506000610f60565b828202828482811515610f8657fe5b0414610f5d576040805160e560020a62461bcd02815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f60448201527f7700000000000000000000000000000000000000000000000000000000000000606482015290519081900360840190fdfea165627a7a7230582078f1da4a072969403f80e0c530ac971a64b2c62018e8aa80c85eed6d512b08a70029000000000000000000000000000000000000000000000000000000005f7d0500000000000000000000000000000000000000000000000000000000000000001f
Deployed Bytecode
0x60806040526004361061013d5763ffffffff7c01000000000000000000000000000000000000000000000000000000006000350416631f7a868e811461013f57806324cc8555146101695780633f53684e146101a557806341b3d185146101cf57806352f037ca146101e45780636083e59a1461021757806362c7fa761461022c57806366de84ec146102415780636bf52f02146102565780636d8c859a146102805780636e6ff8a9146102b9578063704b48a3146102ce5780637fe23f62146102e35780638da5cb5b1461030e5780638f970ea21461033f57806392abca3b146103695780639ab4a44514610393578063a4fd6f56146103a8578063b1ab2ddd146103d1578063b65a8b31146103e6578063caaba6cd14610416578063da235b221461042b578063db8d1ffc14610440578063fb86a40414610473575b005b34801561014b57600080fd5b5061013d6004803603602081101561016257600080fd5b5035610488565b34801561017557600080fd5b506101936004803603602081101561018c57600080fd5b50356104c9565b60408051918252519081900360200190f35b3480156101b157600080fd5b5061013d600480360360208110156101c857600080fd5b50356104e6565b3480156101db57600080fd5b50610193610692565b3480156101f057600080fd5b5061013d6004803603604081101561020757600080fd5b508035906020013560ff16610698565b34801561022357600080fd5b5061019361076e565b34801561023857600080fd5b50610193610774565b34801561024d57600080fd5b5061013d61077a565b34801561026257600080fd5b506101936004803603602081101561027957600080fd5b50356108d3565b34801561028c57600080fd5b50610193600480360360408110156102a357600080fd5b50600160a060020a0381351690602001356108e5565b3480156102c557600080fd5b50610193610902565b3480156102da57600080fd5b50610193610908565b3480156102ef57600080fd5b506102f861090e565b6040805160ff9092168252519081900360200190f35b34801561031a57600080fd5b50610323610917565b60408051600160a060020a039092168252519081900360200190f35b34801561034b57600080fd5b5061013d6004803603602081101561036257600080fd5b5035610926565b34801561037557600080fd5b5061013d6004803603602081101561038c57600080fd5b50356109c3565b34801561039f57600080fd5b50610323610a51565b3480156103b457600080fd5b506103bd610a69565b604080519115158252519081900360200190f35b3480156103dd57600080fd5b50610323610a77565b3480156103f257600080fd5b5061013d6004803603604081101561040957600080fd5b5080359060200135610a86565b34801561042257600080fd5b5061013d610dcc565b34801561043757600080fd5b50610193610df4565b34801561044c57600080fd5b506103bd6004803603602081101561046357600080fd5b5035600160a060020a0316610df8565b34801561047f57600080fd5b50610193610e0d565b600054600160a060020a0316331461049f57600080fd5b604051339082156108fc029083906000818181858888f1935050505015156104c657600080fd5b50565b336000908152600960209081526040808320938352929052205490565b4260065462015180026007540110151561054a576040805160e560020a62461bcd02815260206004820152601160248201527f496e206c6f636b696e6720706572696f64000000000000000000000000000000604482015290519081900360640190fd5b336000908152600c6020908152604080832084845290915290205460ff161515600114156105c2576040805160e560020a62461bcd02815260206004820152601660248201527f43616e206f6e6c79207769746864726177206f6e636500000000000000000000604482015290519081900360640190fd5b336000818152600960209081526040808320858452825280832054600554825160e060020a63a9059cbb02815260048101969096526024860182905291519094600160a060020a039092169363a9059cbb93604480850194919392918390030190829087803b15801561063457600080fd5b505af1158015610648573d6000803e3d6000fd5b505050506040513d602081101561065e57600080fd5b5051151561066b57600080fd5b50336000908152600c6020908152604080832093835292905220805460ff19166001179055565b60035481565b600054600160a060020a031633146106af57600080fd5b604080517f70a082310000000000000000000000000000000000000000000000000000000081523060048201529051839173dac17f958d2ee523a2206206994597c13d831ec7916370a0823191602480820192602092909190829003018186803b15801561071c57600080fd5b505afa158015610730573d6000803e3d6000fd5b505050506040513d602081101561074657600080fd5b5051101561075357600080fd5b6002919091556008805460ff191660ff909216919091179055565b60045481565b60075481565b426006546201518002600754011015156107de576040805160e560020a62461bcd02815260206004820152601160248201527f496e206c6f636b696e6720706572696f64000000000000000000000000000000604482015290519081900360640190fd5b33600090815260096020908152604080832060085460ff16845290915281205411610853576040805160e560020a62461bcd02815260206004820152601960248201527f4164647265737320686173206e6f74206465706f736974656400000000000000604482015290519081900360640190fd5b336000908152600b602052604090205460ff161515600114156108c0576040805160e560020a62461bcd02815260206004820152601660248201527f43616e206f6e6c79207769746864726177206f6e636500000000000000000000604482015290519081900360640190fd5b6008546108d190339060ff16610e13565b565b600a6020526000908152604090205481565b600960209081526000928352604080842090915290825290205481565b60065481565b60025481565b60085460ff1681565b600054600160a060020a031681565b600054600160a060020a0316331461093d57600080fd5b6005546040805160e060020a63a9059cbb028152336004820152602481018490529051600160a060020a039092169163a9059cbb916044808201926020929091908290030181600087803b15801561099457600080fd5b505af11580156109a8573d6000803e3d6000fd5b505050506040513d60208110156109be57600080fd5b505050565b600054600160a060020a031633146109da57600080fd5b6040805160e060020a63a9059cbb02815233600482015260248101839052905173dac17f958d2ee523a2206206994597c13d831ec79163a9059cbb91604480830192600092919082900301818387803b158015610a3657600080fd5b505af1158015610a4a573d6000803e3d6000fd5b5050505050565b73dac17f958d2ee523a2206206994597c13d831ec781565b600854610100900460ff1681565b600554600160a060020a031681565b60085460ff61010090910416151560011415610aa157600080fd5b6007544211610afa576040805160e560020a62461bcd02815260206004820152601e60248201527f4576656e7420686173206e6f74206265656e2073746172746564207965740000604482015290519081900360640190fd5b33600090815260096020908152604080832084845290915290205415610b6a576040805160e560020a62461bcd02815260206004820152601560248201527f43616e206f6e6c79206465706f736974206f6e63650000000000000000000000604482015290519081900360640190fd5b600354821015610bea576040805160e560020a62461bcd02815260206004820152602d60248201527f416d6f756e74206d75737420626520657175616c206f7220677265617465722060448201527f7468616e2031303030204b414900000000000000000000000000000000000000606482015290519081900360840190fd5b600454821115610c6a576040805160e560020a62461bcd02815260206004820152602c60248201527f416d6f756e74206d75737420626520657175616c206f72206c6573732074686160448201527f6e20323530303030204b41490000000000000000000000000000000000000000606482015290519081900360840190fd5b6001546000828152600a6020526040902054610c869084610f00565b1115610cdc576040805160e560020a62461bcd02815260206004820152601660248201527f457863656564206c696d697420746f74616c2063617000000000000000000000604482015290519081900360640190fd5b600554604080517f23b872dd000000000000000000000000000000000000000000000000000000008152336004820152306024820152604481018590529051600160a060020a03909216916323b872dd916064808201926020929091908290030181600087803b158015610d4f57600080fd5b505af1158015610d63573d6000803e3d6000fd5b505050506040513d6020811015610d7957600080fd5b50511515610d8657600080fd5b3360009081526009602090815260408083208484528252808320859055600a909152902054610db58184610f00565b6000928352600a6020526040909220919091555050565b600054600160a060020a03163314610de357600080fd5b6008805461ff001916610100179055565b4290565b600b6020526000908152604090205460ff1681565b60015481565b600160a060020a038216600090815260096020908152604080832084845282528083205460085460ff168452600a909252822054600254919290918290610e5b908590610f66565b811515610e6457fe5b6040805160e060020a63a9059cbb0281523360048201529290910460248301819052905190925073dac17f958d2ee523a2206206994597c13d831ec79163a9059cbb91604480830192600092919082900301818387803b158015610ec757600080fd5b505af1158015610edb573d6000803e3d6000fd5b5050336000908152600b60205260409020805460ff1916600117905550505050505050565b600082820183811015610f5d576040805160e560020a62461bcd02815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b90505b92915050565b6000821515610f7757506000610f60565b828202828482811515610f8657fe5b0414610f5d576040805160e560020a62461bcd02815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f60448201527f7700000000000000000000000000000000000000000000000000000000000000606482015290519081900360840190fdfea165627a7a7230582078f1da4a072969403f80e0c530ac971a64b2c62018e8aa80c85eed6d512b08a70029
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000000000000000000000000000000000005f7d0500000000000000000000000000000000000000000000000000000000000000001f
-----Decoded View---------------
Arg [0] : _lockStartTime (uint256): 1602028800
Arg [1] : _lockDays (uint256): 31
-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 000000000000000000000000000000000000000000000000000000005f7d0500
Arg [1] : 000000000000000000000000000000000000000000000000000000000000001f
Deployed Bytecode Sourcemap
2509:4856:0:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6630:116;;8:9:-1;5:2;;;30:1;27;20:12;5:2;6630:116:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;6630:116:0;;;7043:127;;8:9:-1;5:2;;;30:1;27;20:12;5:2;7043:127:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;7043:127:0;;;;;;;;;;;;;;;;;;;4684:403;;8:9:-1;5:2;;;30:1;27;20:12;5:2;4684:403:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;4684:403:0;;;2975:50;;8:9:-1;5:2;;;30:1;27;20:12;5:2;2975:50:0;;;;5810:255;;8:9:-1;5:2;;;30:1;27;20:12;5:2;5810:255:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;5810:255:0;;;;;;;;;;3044:52;;8:9:-1;5:2;;;30:1;27;20:12;5:2;3044:52:0;;;;3311:28;;8:9:-1;5:2;;;30:1;27;20:12;5:2;3311:28:0;;;;5099:338;;8:9:-1;5:2;;;30:1;27;20:12;5:2;5099:338:0;;;;3470:49;;8:9:-1;5:2;;;30:1;27;20:12;5:2;3470:49:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;3470:49:0;;;3401:62;;8:9:-1;5:2;;;30:1;27;20:12;5:2;3401:62:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;3401:62:0;;;;;;;;;3281:23;;8:9:-1;5:2;;;30:1;27;20:12;5:2;3281:23:0;;;;2939:29;;8:9:-1;5:2;;;30:1;27;20:12;5:2;2939:29:0;;;;3346:20;;8:9:-1;5:2;;;30:1;27;20:12;5:2;3346:20:0;;;;;;;;;;;;;;;;;;;;;;;2840;;8:9:-1;5:2;;;30:1;27;20:12;5:2;2840:20:0;;;;;;;;-1:-1:-1;;;;;2840:20:0;;;;;;;;;;;;;;6758:130;;8:9:-1;5:2;;;30:1;27;20:12;5:2;6758:130:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;6758:130:0;;;6900:131;;8:9:-1;5:2;;;30:1;27;20:12;5:2;6900:131:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;6900:131:0;;;3194:80;;8:9:-1;5:2;;;30:1;27;20:12;5:2;3194:80:0;;;;3373:19;;8:9:-1;5:2;;;30:1;27;20:12;5:2;3373:19:0;;;;;;;;;;;;;;;;;;;;;;3117:70;;8:9:-1;5:2;;;30:1;27;20:12;5:2;3117:70:0;;;;3841:790;;8:9:-1;5:2;;;30:1;27;20:12;5:2;3841:790:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;3841:790:0;;;;;;;;6130:77;;8:9:-1;5:2;;;30:1;27;20:12;5:2;6130:77:0;;;;7178:83;;8:9:-1;5:2;;;30:1;27;20:12;5:2;7178:83:0;;;;3526:47;;8:9:-1;5:2;;;30:1;27;20:12;5:2;3526:47:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;3526:47:0;-1:-1:-1;;;;;3526:47:0;;;2867:50;;8:9:-1;5:2;;;30:1;27;20:12;5:2;2867:50:0;;;;6630:116;3772:5;;-1:-1:-1;;;;;3772:5:0;3758:10;:19;3750:28;;;;;;6714:23;;:10;;:23;;;;;6730:6;;6714:23;;;;6730:6;6714:10;:23;;;;;;;6706:32;;;;;;;;6630:116;:::o;7043:127::-;7140:10;7105:7;7132:19;;;:7;:19;;;;;;;;:30;;;;;;;;;7043:127::o;4684:403::-;4786:3;4766:8;;4777:6;4766:17;4750:13;;:33;:39;4742:69;;;;;;;-1:-1:-1;;;;;4742:69:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;4844:10;4830:25;;;;:13;:25;;;;;;;;:36;;;;;;;;;;;:44;;:36;:44;;4822:79;;;;;-1:-1:-1;;;;;4822:79:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;4937:10;4912:14;4929:19;;;:7;:19;;;;;;;;:30;;;;;;;;;4984:10;;4978:46;;-1:-1:-1;;;;;4978:46:0;;;;;;;;;;;;;;;;;4929:30;;-1:-1:-1;;;;;4984:10:0;;;;4978:26;;:46;;;;;4929:19;;4978:46;;;;;;;;;4984:10;4978:46;;;5:2:-1;;;;30:1;27;20:12;5:2;4978:46:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;4978:46:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;4978:46:0;4970:55;;;;;;;;-1:-1:-1;5050:10:0;5036:25;;;;:13;:25;;;;;;;;:36;;;;;;;:43;;-1:-1:-1;;5036:43:0;5075:4;5036:43;;;4684:403::o;2975:50::-;;;;:::o;5810:255::-;3772:5;;-1:-1:-1;;;;;3772:5:0;3758:10;:19;3750:28;;;;;;5920:42;;;;;;5956:4;5920:42;;;;;;5966:15;;3232:42;;5920:27;;:42;;;;;;;;;;;;;;;3232;5920;;;5:2:-1;;;;30:1;27;20:12;5:2;5920:42:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;5920:42:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;5920:42:0;:61;;5912:70;;;;;;5995:14;:32;;;;6038:7;:19;;-1:-1:-1;;6038:19:0;;;;;;;;;;;5810:255::o;3044:52::-;;;;:::o;3311:28::-;;;;:::o;5099:338::-;5186:3;5166:8;;5177:6;5166:17;5150:13;;:33;:39;5142:69;;;;;;;-1:-1:-1;;;;;5142:69:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;5238:10;5261:1;5230:19;;;:7;:19;;;;;;;;5250:7;;;;5230:28;;;;;;;;:32;5222:70;;;;;-1:-1:-1;;;;;5222:70:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;5327:10;5311:27;;;;:15;:27;;;;;;;;:35;;:27;:35;;5303:70;;;;;-1:-1:-1;;;;;5303:70:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;5421:7;;5394:35;;5409:10;;5421:7;;5394:14;:35::i;:::-;5099:338::o;3470:49::-;;;;;;;;;;;;;:::o;3401:62::-;;;;;;;;;;;;;;;;;;;;;;;;:::o;3281:23::-;;;;:::o;2939:29::-;;;;:::o;3346:20::-;;;;;;:::o;2840:::-;;;-1:-1:-1;;;;;2840:20:0;;:::o;6758:130::-;3772:5;;-1:-1:-1;;;;;3772:5:0;3758:10;:19;3750:28;;;;;;6840:10;;6834:46;;;-1:-1:-1;;;;;6834:46:0;;6861:10;6834:46;;;;;;;;;;;;-1:-1:-1;;;;;6840:10:0;;;;6834:26;;:46;;;;;;;;;;;;;;;6840:10;;6834:46;;;5:2:-1;;;;30:1;27;20:12;5:2;6834:46:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;6834:46:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;6758:130:0:o;6900:131::-;3772:5;;-1:-1:-1;;;;;3772:5:0;3758:10;:19;3750:28;;;;;;6977:46;;;-1:-1:-1;;;;;6977:46:0;;7004:10;6977:46;;;;;;;;;;;;3232:42;;6977:26;;:46;;;;;-1:-1:-1;;6977:46:0;;;;;;;-1:-1:-1;3232:42:0;6977:46;;;5:2:-1;;;;30:1;27;20:12;5:2;6977:46:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;6977:46:0;;;;6900:131;:::o;3194:80::-;3232:42;3194:80;:::o;3373:19::-;;;;;;;;;:::o;3117:70::-;;;-1:-1:-1;;;;;3117:70:0;;:::o;3841:790::-;3922:7;;;;;;;;:15;;:7;:15;;3914:24;;;;;;3957:13;;3973:3;-1:-1:-1;3949:62:0;;;;;-1:-1:-1;;;;;3949:62:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;4038:10;4030:19;;;;:7;:19;;;;;;;;:30;;;;;;;;;:35;4022:69;;;;;-1:-1:-1;;;;;4022:69:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;4121:10;;4111:20;;;4102:79;;;;;-1:-1:-1;;;;;4102:79:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4211:10;;4201:20;;;4192:78;;;;;-1:-1:-1;;;;;4192:78:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4331:7;;4293:25;;;;:14;:25;;;;;;4289:38;;4320:6;4289:3;:38::i;:::-;:49;;4281:84;;;;;-1:-1:-1;;;;;4281:84:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;4392:10;;4386:65;;;;;;4417:10;4386:65;;;;4437:4;4386:65;;;;;;;;;;;;-1:-1:-1;;;;;4392:10:0;;;;4386:30;;:65;;;;;;;;;;;;;;;4392:10;;4386:65;;;5:2:-1;;;;30:1;27;20:12;5:2;4386:65:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;4386:65:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;4386:65:0;4378:74;;;;;;;;4473:10;4465:19;;;;:7;:19;;;;;;;;:30;;;;;;;;:39;;;4536:14;:25;;;;;;4600:23;4536:25;4498:6;4600:3;:23::i;:::-;4572:25;;;;:14;:25;;;;;;:51;;;;-1:-1:-1;;3841:790:0:o;6130:77::-;3772:5;;-1:-1:-1;;;;;3772:5:0;3758:10;:19;3750:28;;;;;;6185:7;:14;;-1:-1:-1;;6185:14:0;;;;;6130:77::o;7178:83::-;7250:3;7178:83;:::o;3526:47::-;;;;;;;;;;;;;;;:::o;2867:50::-;;;;:::o;5449:350::-;-1:-1:-1;;;;;5542:13:0;;5525:14;5542:13;;;:7;:13;;;;;;;;:24;;;;;;;;;5613:7;;;;5598:23;;:14;:23;;;;;;5662:14;;5542:24;;5598:23;;;;5650:27;;5542:24;;5650:3;:27::i;:::-;:40;;;;;;;5701:45;;;-1:-1:-1;;;;;5701:45:0;;5728:10;5701:45;;;;5650:40;;;;5701:45;;;;;;;;5650:40;;-1:-1:-1;3232:42:0;;5701:26;;:45;;;;;-1:-1:-1;;5701:45:0;;;;;;;-1:-1:-1;3232:42:0;5701:45;;;5:2:-1;;;;30:1;27;20:12;5:2;5701:45:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;-1:-1;;5773:10:0;5757:27;;;;:15;:27;;;;;:34;;-1:-1:-1;;5757:34:0;5787:4;5757:34;;;-1:-1:-1;;;;;;;5449:350:0:o;343:181::-;401:7;433:5;;;457:6;;;;449:46;;;;;-1:-1:-1;;;;;449:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;515:1;-1:-1:-1;343:181:0;;;;;:::o;532:250::-;590:7;614:6;;610:47;;;-1:-1:-1;644:1:0;637:8;;610:47;681:5;;;685:1;681;:5;705;;;;;;;;:10;697:56;;;;;-1:-1:-1;;;;;697:56:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
Swarm Source
bzzr://78f1da4a072969403f80e0c530ac971a64b2c62018e8aa80c85eed6d512b08a7
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 26 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|---|---|---|---|---|
ETH | 100.00% | $0.001964 | 10,000 | $19.64 |
Loading...
Loading
[ 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.