BscScan - Sponsored slots available. Book your slot here!
Contract Overview
My Name Tag:
Not Available, login to update
Txn Hash |
Block
|
From
|
To
|
Value | [Txn Fee] | |||
---|---|---|---|---|---|---|---|---|
0x871d7c32e1a83114903c8cf04a4ffa0c493be5296bc54874065ca2f68271b7f5 | 4806258 | 18 days 21 hrs ago | 0x5f4127e3d5a01351b7cfea8593cf5ff2634f79f5 | IN | Contract Creation | 0 BNB | 0.00463938 |
[ Download CSV Export ]
Contract Name:
WHOLE_LPLocker
Compiler Version
v0.4.26+commit.4563c3fc
Contract Source Code (Solidity)
/** *Submitted for verification at BscScan.com on 2021-02-12 */ // Token Locker for RFBinance LP Tokens // 1 Months for Liquidity Lock pragma solidity ^0.4.13; contract _ERC20Basic { function balanceOf(address _owner) public returns (uint256 balance); function transfer(address to, uint256 value) public returns (bool); } contract WHOLE_LPLocker { address owner; address tokenAddress = 0xb65fe59c2edb766ed50f5940763d2b729476c9dd; uint256 unlockUnix = now + 30 days; // 1 months _ERC20Basic token = _ERC20Basic(tokenAddress); constructor() public { owner = msg.sender; } function unlockLPTokens() public { require(owner == msg.sender, "You are not owner"); require( now > unlockUnix, "Still locked"); token.transfer(owner, token.balanceOf(address(this))); } //Control function getLockAmount() public view returns (uint256) { return token.balanceOf(address(this)); } function getTokenAddress() public view returns (address) { return tokenAddress; } function getUnlockTimeLeft() public view returns (uint) { return unlockUnix - now; } }
[{"constant":false,"inputs":[],"name":"unlockLPTokens","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"getTokenAddress","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"getUnlockTimeLeft","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"getLockAmount","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"inputs":[],"payable":false,"stateMutability":"nonpayable","type":"constructor"}]
Contract Creation Code
608060405273b65fe59c2edb766ed50f5940763d2b729476c9dd600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555062278d004201600255600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055503480156100d157600080fd5b50336000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506105e4806101216000396000f300608060405260043610610062576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff16806309cba0f71461006757806310fe9ae81461007e578063b3fc91e4146100d5578063d64c34fc14610100575b600080fd5b34801561007357600080fd5b5061007c61012b565b005b34801561008a57600080fd5b50610093610483565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b3480156100e157600080fd5b506100ea6104ad565b6040518082815260200191505060405180910390f35b34801561010c57600080fd5b506101156104b9565b6040518082815260200191505060405180910390f35b3373ffffffffffffffffffffffffffffffffffffffff166000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415156101ef576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260118152602001807f596f7520617265206e6f74206f776e657200000000000000000000000000000081525060200191505060405180910390fd5b60025442111515610268576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600c8152602001807f5374696c6c206c6f636b6564000000000000000000000000000000000000000081525060200191505060405180910390fd5b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff16600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001915050602060405180830381600087803b15801561038557600080fd5b505af1158015610399573d6000803e3d6000fd5b505050506040513d60208110156103af57600080fd5b81019080805190602001909291905050506040518363ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b15801561044557600080fd5b505af1158015610459573d6000803e3d6000fd5b505050506040513d602081101561046f57600080fd5b810190808051906020019092919050505050565b6000600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60004260025403905090565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001915050602060405180830381600087803b15801561057857600080fd5b505af115801561058c573d6000803e3d6000fd5b505050506040513d60208110156105a257600080fd5b81019080805190602001909291905050509050905600a165627a7a72305820d7ddcd70aef35efead171888a890f78a2d8ac609e19e41b51480d42c072931040029
Deployed ByteCode Sourcemap
279:867:0:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;581:218;;8:9:-1;5:2;;;30:1;27;20:12;5:2;581:218:0;;;;;;941:96;;8:9:-1;5:2;;;30:1;27;20:12;5:2;941:96:0;;;;;;;;;;;;;;;;;;;;;;;;;;;1045:98;;8:9:-1;5:2;;;30:1;27;20:12;5:2;1045:98:0;;;;;;;;;;;;;;;;;;;;;;;822:111;;8:9:-1;5:2;;;30:1;27;20:12;5:2;822:111:0;;;;;;;;;;;;;;;;;;;;;;;581:218;642:10;633:19;;:5;;;;;;;;;;;:19;;;625:49;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;700:10;;694:3;:16;685:42;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;738:5;;;;;;;;;;;:14;;;753:5;;;;;;;;;;;760;;;;;;;;;;;:15;;;784:4;760:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;760:30:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;760:30:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;760:30:0;;;;;;;;;;;;;;;;738:53;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;738:53:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;738:53:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;738:53:0;;;;;;;;;;;;;;;;;581:218::o;941:96::-;990:7;1017:12;;;;;;;;;;;1010:19;;941:96;:::o;1045:98::-;1095:4;1132:3;1119:10;;:16;1112:23;;1045:98;:::o;822:111::-;868:7;895:5;;;;;;;;;;;:15;;;919:4;895:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;895:30:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;895:30:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;895:30:0;;;;;;;;;;;;;;;;888:37;;822:111;:::o
Swarm Source
bzzr://d7ddcd70aef35efead171888a890f78a2d8ac609e19e41b51480d42c07293104
Age | Block | Fee Address | BC Fee Address | Voting Power | Jailed | Incoming |
---|
Make sure to use the "Vote Down" button for any spammy posts, and the "Vote Up" for interesting conversations.