Get Prior Votes
function getPriorVotes(address account, uint blockNumber) returns (uint96)AGL agl = AGL(0x123...); // contract address
uint priorVotes = agl.getPriorVotes(account, blockNumber);const priorVotes = await agl.methods.getPriorVotes(account, blockNumber).call();Last updated