Vesting
Solidity Interface & ABI
Vesting.sol is an interface through which Solidity contracts can interact with Paxeer Network vesting module.
This is convenient for developers as they don’t need to know the implementation details behind the x/vesting
module in Paxeer Network. Instead,
they can interact with vesting accounts using the Ethereum interface they are familiar with.
:::tip
To learn more about the x/vesting module, check out the module’s docs.
:::
Interface Vesting.sol
Find the Solidity interface in the Paxeer Network/extensions repo.
ABI
Find the ABI in the Paxeer Network/extensions repo.Transactions
The Vesting solidity interface includes the following transactions-
createClawbackVestingAccountcreateClawbackVestingAccountdefines a method for the creation of aClawbackVestingAccount. -
fundVestingAccountfundVestingAccountdefines a method for funding a vesting account. -
clawbackclawbackdefines a method for clawing back coins from a vesting account. -
updateVestingFunderupdateVestingFunderdefines a method for updating the funder of a vesting account. -
convertVestingAccountconvertVestingAccountdefines a method for converting a clawback vesting account to an eth account.
Queries
-
balancesbalancesquery the balances of a vesting account
Events
Each of the transactions emits its corresponding event. These are:-
CreateClawbackVestingAccountEvent that is emitted when a clawback vesting account is created. -
FundVestingAccountEvent that is emitted when a clawback vesting account is funded. -
ClawbackEvent that is emitted when a vesting account is clawed back. -
UpdateVestingFunderEvent that is emitted when a vesting account’s funder is updated. -
ConvertVestingAccountEvent that is emitted when a vesting account is converted to a clawback vesting account.