Type Definition boot_abstract::idea_token::Idea
source · pub type Idea<Chain> = AbstractOS<Chain, ExecuteMsg, InstantiateMsg, QueryMsg, MigrateMsg>;Implementations
sourceimpl<Chain: TxHandler + Clone> Idea<Chain>where
TxResponse<Chain>: IndexResponse,
impl<Chain: TxHandler + Clone> Idea<Chain>where
TxResponse<Chain>: IndexResponse,
pub fn new(name: &str, chain: &Chain) -> Self
pub fn send(
&self,
msg: Binary,
amount: u128,
contract: String
) -> Result<TxResponse<Chain>, BootError>
sourcepub fn create_new<T: Into<Uint128>>(
&self,
minter: &Addr,
balance: T,
version_control_address: String,
symbol: &str
) -> Result<TxResponse<Chain>, BootError>
pub fn create_new<T: Into<Uint128>>(
&self,
minter: &Addr,
balance: T,
version_control_address: String,
symbol: &str
) -> Result<TxResponse<Chain>, BootError>
Instantiate a new token instance with some initial balance given to the minter