VotingEscrow
Creating a Lock
amount = ethers.utils.parseEther("100") // 100 CANTO
await VotingEscrow.createLock(amount, { value: amount })cast send --ledger 0x... "createLock(uint256)" 100 --value 100etherAdding to a Lock
amount = ethers.utils.parseEther("100") // 100 CANTO
await VotingEscrow.increaseAmount(amount, { value: amount })cast send --ledger 0x... "increaseAmount(uint256)" 100 --value 100etherReading Voting Power
Withdrawing
Last updated
