You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
But for example cw20-base contract uses tuple variants that have no name:
pub enum ExecuteMsg {
UploadLogo(Logo),
}
pub enum Logo {
/// A reference to an externally hosted logo. Must be a valid HTTP or HTTPS URL.
Url(String),
/// Logo content stored on the blockchain. Enforce maximum size of 5KB on all variants
Embedded(EmbeddedLogo),
}
In the case of tuple variant execution message would look like this:
_extract_msgs
can't handle tuple variants and returns'upload_logo' = {dict: 0} {}
Most of the contracts are using named fields
This would be called like
But for example
cw20-base
contract uses tuple variants that have no name:In the case of tuple variant execution message would look like this:
This is named fields schema
This is a tuple variant schema:
The text was updated successfully, but these errors were encountered: