Skip to content

Latest commit

 

History

History

mvp-treasury

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

MVP Treasury

The mvp-treasury contract is used for holding assets that were exchanged to BRO token via bonding.


InstantiateMsg

{
    "owner": "terra1..."
}

ExecuteMsg

spend

Sends whole treasury balance of specified asset to recipient. Can be executed only by owner.

{
    "asset_info": {
        "native": {
            "denom": "uusd"
        }
    },
    "amount": "100",
    "recipient": "terra1..."
}

QueryMsg

config

Returns mvp-treasury contract config.

{
    "config": {}
}

balance

Returns mvp-treasury contract balance of specified asset.

{
    "balance": {
        "asset_info": {
            "native": {
                "denom": "uusd"
            }
        }
    }
}

MigrateMsg

{}