Vesting

Contract that holds logic for vested MBRN in the builder's allocation

Builder's staked allocations can vote with a Governance determined % of their voting power and receive normal revenue minus MBRN inflationary rewards. Staking revenue needs to be claimed for the contract before being able to distribute to the receiver. Voting and proposal creation by allocation receivers is also done through this contract.

InstantiateMsg

#[derive(Serialize, Deserialize, Clone, Debug, PartialEq, JsonSchema)]
pub struct InstantiateMsg {
    pub owner: Option<String>,
    pub initial_allocation: Uint128,
    pub pre_launch_contributors: String,
    pub pre_launch_community: Vec<String>
    pub mbrn_denom: String,
    pub osmosis_proxy: String,
    pub staking_contract: String,
}
Key
Type
Description

*owner

String

Owner of contract

initial_allocation

Uint128

Builder's Allocation

pre_launch_contributors

String

Address receiving pre-launch contributors allocation

pre_launch_community

Vec<String>

Address receiving pre-launch community allocation

mbrn_denom

String

MBRN token denom

osmosis_proxy

String

Osmosis Proxy contract address

staking_contract

String

MBRN Staking contract address

* = optional

ExecuteMsg

AddRecipient

Add address eligible to receiver a MBRN allocation

Key
Type
Decription

recipient

String

Address of Recipient

RemoveRecipient

Remove Receiver and any allocations

Key
Type
Description

recipient

String

Address of Recipient

AddAllocation

Add MBRN allocation to an eligible Recipient

Key
Type
Description

recipient

String

Address of Receiver

allocation

Uint128

Allocation amount

*vesting_period

VestingPeriod

VestingPeriod for receiver's allocation

* = optional

WithdrawUnlocked

Withdraw unlocked tokens for info.sender if address is a Receiver

ClaimFeesForContract

Claim staking liquidation fee rewards for the contract which distributes it to Receivers with an allocation

ClaimFeesForReceiver

If info.sender is a Receiver, claim allocated rewards

SubmitProposal

Submit MBRN Governance proposal

Key
Type
Description

title

String

Proposal title

description

String

Proposal description

*link

String

Proposal link

*messages

Vec<ProposalMessage>

Proposal executeable messages

expedited

bool

Expedited Proposal toggle

* = optional

CastVote

Vote for MBRN proposal

Key
Type
Description

proposal_id

u64

Proposal identifier

vote

ProposalVoteOption

Proposal vote option

UpdateConfig

Update Config if contract owner

Key
Type
Description

*owner

String

Contract owner

*mbrn_denom

String

MBRN full denom

*osmosis_proxy

String

Osmosis Proxy contract addr

*staking_contract

String

MBRN staking contract addr

*addtional_allocation

Uint128

Increase contract's available allocation amount

* = optional

QueryMsg

Config

Returns Config

Recipients

Returns list of Recipients

Allocation

Returns allocation for a Recipient

Key
Type
Description

recipient

String

Recipient address

UnlockedTokens

Returns a Receiver's unlocked allocation

Key
Type
Description

recipient

String

Recipient address

Recipient

Returns a Recipient

Key
Type
Description

recipient

String

Recipient address

Last updated