CW20
Introduction
InstantiateMsg
pub struct InstantiateMsg {
pub name: String,
pub symbol: String,
pub decimals: u8,
pub initial_balances: Vec<Cw20Coin>,
pub mint: Option<MinterResponse>,
pub marketing: Option<InstantiateMarketingInfo>,
pub kernel_address: String,
pub owner: Option<String>
}{
"name": "mytoken",
"symbol":"MYT",
"decimals": 6,
"initial_balances":[
{
"address":"andr1...",
"amount":"500"
}
...
],
"mint":{
"minter":"andr1...",
"cap": "1000000"
},
"marketing":{
"project":"website-url",
"description":"small project description",
"marketing":"andr1...",
"logo":{
"url": "https://example.com/logo.png"
}
},
"kernel_address":"andr1..."
} Name
Type
Description
Cw20Coin
InstantiateMarketingInfo
Name
Type
Logo
EmbeddedLogo
MinterResponse
Name
Type
Description
ExecuteMsg
Mint
Name
Type
Description
Transfer
Name
Type
Description
Send
Name
Type
Description
Burn
Name
Type
Description
IncreaseAllowance
Name
Type
Description
DecreaseAllowance
Name
Type
Description
TransferFrom
Name
Type
Description
SendFrom
Name
Type
Description
BurnFrom
Name
Type
Description
UpdateMarketing
Name
Type
Description
UploadLogo
UpdateMinter
Name
Type
Description
Base Executes
QueryMsg
Balance
Name
Type
Description
BalanceResponse
Name
Type
Description
TokenInfo
TokenInfoResponse
Name
Type
Description
Minter
MinterResponse
Name
Type
Description
Allowance
Name
Type
Description
AllowanceResponse
Name
Type
Description
AllAllowanaces
Name
Type
Description
AllAllowanceResponse
Name
Type
Description
AllowanceInfo
Name
Type
Description
AllSpenderAllowances
Name
Type
Description
AllAccounts
Name
Type
Description
AllAccountsResponse
Name
Type
Description
MarketingInfo
MarketingInfoResponse
Name
Type
Description
DownloadLogo
DownloadLogoResponse
Name
Type
Description
Base Queries
Last updated
Was this helpful?