contract VotingEscrow votingEscrowconstructor(address _votingEscrow) publicfunction createManyLocks(uint256[] _value, uint256[] _lockDuration, address[] _to, address[] _delegatee, bool[] _permanent) publicfunction balanceOfLockAt(uint256 _tokenId, uint256 _timestamp) external view returns (uint256 balance)Get the current voting power for _tokenId
Adheres to the ERC20 balanceOf interface for Aragon compatibility
Fetches last user point prior to the CLOCK_UNIT before the timestamp
| Name | Type | Description |
|---|---|---|
| _tokenId | uint256 | NFT for lock |
| _timestamp | uint256 | Epoch time to return voting power at |
| Name | Type | Description |
|---|---|---|
| balance | uint256 | ser voting power |