Crate cw_vault_token

Crate cw_vault_token 

Source
Expand description

§Cosmwasm Vault Token

§Description

An abstraction for different ways of implementing a vault token. This crate defines a set of traits that define the behavior of a vault token. Two implementations are provided, one for an Osmosis native denom minted through the TokenFactory module and one for Cw4626 tokenized vaults. See the cosmwasm-vault-standard crate for more information about tokenized vaults.

Modules§

cw4626
CW4626 standard tokenized vaults
osmosis
Osmosis tokenFactory Denom

Enums§

CwTokenError
Describes router-test contract errors!

Traits§

Burn
A trait encapsulating the behavior necessary for Burning
Instantiate
A trait encapsulating the behavior necessary for instantiation of a token.
Mint
A trait encapsulating the behavior necessary for Minting
Receive
A trait encapsulating the behavior necessary for Receive
VaultToken
Combined trait for implementations that can be used as a vault token.

Type Aliases§

CwTokenResponse
CW Token Response type
CwTokenResult
CW token Result type