0 txs
0 calls
constructor
constructor(address _lbr)
functions
getClaimableAmount
viewfunction getClaimableAmount(address _user) view returns (uint256)
getUserUnlockingInfo
viewfunction getUserUnlockingInfo(address _user) view returns (tuple)
lbr
viewfunction lbr() view returns (address)
owner
viewfunction owner() view returns (address)
UnlockingInfo
viewfunction UnlockingInfo(address) view returns (uint256 directUnlock, uint256 directUnlockTime, uint256 totalLocked, uint256 duration, uint256 unlockStartTime, uint256 lastWithdrawTime)
renounceOwnership
nonpayablefunction renounceOwnership()
setPause
nonpayablefunction setPause(address _user, bool val)
setUnlockingRules
nonpayablefunction setUnlockingRules(address _user, uint256 _directUnlock, uint256 _directUnlockTime, uint256 _duration, uint256 _totalLocked, uint256 _unlockStartTime, uint256 _lastWithdrawTime)
transferOwnership
nonpayablefunction transferOwnership(address newOwner)
withdraw
nonpayablefunction withdraw()
withdrawDirect
nonpayablefunction withdrawDirect()
withdrawToken
nonpayablefunction withdrawToken(address token, uint256 amount)
events
OwnershipTransferred
event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
SetUnlockingRules
event SetUnlockingRules(address indexed _user, uint256 _directUnlock, uint256 directUnlockTime, uint256 _totalLocked, uint256 _duration, uint256 _unlockStartTime, uint256 _lastWithdrawTime)
Withdraw
event Withdraw(address indexed _user, uint256 _amount, uint256 _timestamp)
WithdrawDirect
event WithdrawDirect(address indexed _user, uint256 _amount, uint256 _timestamp)
errors
No errors.
creation bytecode
0x60a060405234801561001057600080fd5b50604051610cb8380380610cb883398101604081905261002f91610099565b61003833610049565b6001600160a01b03166080526100c9565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000602082840312156100ab57600080fd5b81516001600160a01b03811681146100c257600080fd5b9392505050565b608051610bc66100f2600039600081816101520152818161045301526106610152610bc66000f3fe608060405234801561001057600080fd5b50600436106100b45760003560e01c80639e281a98116100715780639e281a98146101a5578063c22dc722146101b8578063e0533ecb146101cb578063e12f3a61146101d3578063f2fde38b146101f4578063fe08daf11461020757600080fd5b80633c6287ae146100b95780633ccfd60b146100ce5780633efa4be1146100d6578063645022501461014d578063715018a61461018c5780638da5cb5b14610194575b600080fd5b6100cc6100c7366004610a14565b610266565b005b6100cc61030c565b61011b6100e4366004610a67565b6002602081905260009182526040909120805460018201549282015460038301546004840154600590940154929493919290919086565b604080519687526020870195909552938501929092526060840152608083015260a082015260c0015b60405180910390f35b6101747f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b039091168152602001610144565b6100cc610509565b6000546001600160a01b0316610174565b6100cc6101b3366004610a89565b61051d565b6100cc6101c6366004610ac1565b610596565b6100cc6105c9565b6101e66101e1366004610a67565b610715565b604051908152602001610144565b6100cc610202366004610a67565b610840565b61021a610215366004610a67565b6108b6565b6040516101449190600060c082019050825182526020830151602083015260408301516040830152606083015160608301526080830151608083015260a083015160a083015292915050565b61026e61094e565b6001600160a01b0387166000818152600260208181526040928390208a8155600181018a9055918201879055600382018890556004820186905560059091018490558151898152908101889052908101859052606081018690526080810184905260a081018390527f5d5ccc19e9c92f0c58fda9be347b046cb29049f8823a2ae640304f9539f21da79060c00160405180910390a250505050505050565b3360008181526001602052604090205460ff16156103635760405162461bcd60e51b815260206004820152600f60248201526e2b32b9ba1034b9903830bab9b2b21760891b60448201526064015b60405180910390fd5b336000908152600260205260409020600401544210156103c55760405162461bcd60e51b815260206004820152601d60248201527f5468652074696d6520686173206e6f742079657420617272697665642e000000604482015260640161035a565b33600090815260026020526040812060038101546004909101546103e99190610b0e565b905060006103f633610715565b90508015610504578142111561042057336000908152600260205260409020600501829055610437565b336000908152600260205260409020426005909101555b60405163a9059cbb60e01b8152336004820152602481018290527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063a9059cbb906044016020604051808303816000875af11580156104a4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104c89190610b27565b506040805182815242602082015233917ff279e6a1f5e320cca91135676d9cb6e44ca8a08c0b88342bcdb1144f6511b568910160405180910390a25b505050565b61051161094e565b61051b60006109a8565b565b61052561094e565b60405163a9059cbb60e01b8152336004820152602481018290526001600160a01b0383169063a9059cbb906044016020604051808303816000875af1158015610572573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105049190610b27565b61059e61094e565b6001600160a01b03919091166000908152600160205260409020805460ff1916911515919091179055565b3360009081526002602052604090206001015442101561062b5760405162461bcd60e51b815260206004820152601d60248201527f5468652074696d6520686173206e6f742079657420617272697665642e000000604482015260640161035a565b336000908152600260205260408120805491905580156107125760405163a9059cbb60e01b8152336004820152602481018290527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063a9059cbb906044016020604051808303816000875af11580156106b2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106d69190610b27565b506040805182815242602082015233917f743d721c98791a12f4ca0c8e5d8708ef607ef9f95a2c53ef54daafe16983d7dd910160405180910390a25b50565b6001600160a01b0381166000908152600260205260408120600401544211158061075857506001600160a01b038216600090815260026020526040902060040154155b1561076557506000919050565b6001600160a01b038216600090815260026020526040812060038101546004909101546107929190610b0e565b6001600160a01b03841660009081526002602081905260408220600381015491015492935090916107c39190610b44565b90506000824211610805576001600160a01b03851660009081526002602052604090206005015482906107f69042610b66565b6108009190610b79565b610837565b6001600160a01b038516600090815260026020526040902060050154829061082d9085610b66565b6108379190610b79565b95945050505050565b61084861094e565b6001600160a01b0381166108ad5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161035a565b610712816109a8565b6108ef6040518060c001604052806000815260200160008152602001600081526020016000815260200160008152602001600081525090565b506001600160a01b0316600090815260026020818152604092839020835160c08101855281548152600182015492810192909252918201549281019290925260038101546060830152600481015460808301526005015460a082015290565b6000546001600160a01b0316331461051b5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161035a565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b80356001600160a01b0381168114610a0f57600080fd5b919050565b600080600080600080600060e0888a031215610a2f57600080fd5b610a38886109f8565b9960208901359950604089013598606081013598506080810135975060a0810135965060c00135945092505050565b600060208284031215610a7957600080fd5b610a82826109f8565b9392505050565b60008060408385031215610a9c57600080fd5b610aa5836109f8565b946020939093013593505050565b801515811461071257600080fd5b60008060408385031215610ad457600080fd5b610add836109f8565b91506020830135610aed81610ab3565b809150509250929050565b634e487b7160e01b600052601160045260246000fd5b80820180821115610b2157610b21610af8565b92915050565b600060208284031215610b3957600080fd5b8151610a8281610ab3565b600082610b6157634e487b7160e01b600052601260045260246000fd5b500490565b81810381811115610b2157610b21610af8565b8082028115828204841417610b2157610b21610af856fea26469706673582212205aca3e7484c23b50698563da9777e1255b85a66b18bb5060256167ca9ba1315064736f6c63430008110033000000000000000000000000ed1167b6dc64e8a366db86f2e952a482d0981ebd