The Vesting Contract contains logic for distributing the token according to the specified vesting schedules for multiple accounts. Each account can have a different vesting schedules, and the accounts can claim a token at any time after the schedule has passed.
{
"owner": "terra1...",
"bro_token": "terra1...",
"genesis_time": 1642852083
}
Updates vesting contract config. Can be executed only by owner. Message params are optional.
{
"update_config": {
"genesis_time": 1642852083
}
}
Registers a list of vesting accounts for future token distribution.
{
"register_vesting_accounts": {
"vesting_accounts": [
{
"address": "terra1...",
"schedules": [
{
"start_time": 1642852083,
"end_time": 1642952083,
"bro_amount": "10"
}
]
}
]
}
}
Claims available amount for sender.address
.
{
"claim": {}
}
Creates an offer for a new owner. Only owner can execute this function.
{
"propose_new_owner": {
"new_owner": "terra1...",
"expires_in_blocks": 100
}
}
Removes the existing offer for the new owner. Only owner can execute this function
{
"drop_ownership_proposal": {}
}
Used to claim(approve) new owner proposal, thus changing contract's owner. Only address proposed as a new owner can execute this function.
{
"claim_ownership": {}
}
Returns vesting contract config.
{
"config": {}
}
Returns vesting schedules for specified account.
{
"vesting_account": {
"address": "terra1..."
}
}
Returns paginated vesting schedules using specified filters. Query params are optional.
{
"vesting_accounts": {
"start_after": "terra1...",
"limit": 10,
"order_by": {
"asc": {}
}
}
}
Returns available amount to claim for specified account.
{
"claimable": {
"address": "terra1..."
}
}
Returns information about created ownership proposal otherwise returns not-found error.
{
"ownership_proposal": {}
}
{}