Versailles Heroes
Search…
⌃K

VotingEscrow

Contract details

Querying balance and supply

VotingEscrow.balanceOf(addr: address, _t: uint256 = block.timestamp) -> uint256
VotingEscrow.balanceOfAt(addr: address, _block: uint256) -> uint256
VotingEscrow.totalSupply() -> uint256
VotingEscrow.totalSupplyAt(_block: uint256) -> uint256
VotingEscrow.locked(_user: address)

Vote-locks

VotingEscrow.create_lock(_value: uint256, _unlock_time: uint256)
VotingEscrow.create_lock_for(_value: uint256, _unlock_time: uint256)
VotingEscrow.increase_amount(_value: uint256)
VotingEscrow.increase_unlock_time(_unlock_time: uint256)
VotingEscrow.withdraw()