MsgToggleConversion class

MsgToggleConversion is the Msg/MsgToggleConversion request type for toggling an Erc20 contract conversion capability.

Inheritance
Mixed-in types

Constructors

MsgToggleConversion({String? authority, String? token})
const
MsgToggleConversion.deserialize(List<int> bytes)
factory
MsgToggleConversion.fromJson(Map<String, dynamic> json)
factory

Properties

authority → String?
authority is the address of the governance account.
final
declarationId → DefaultCosmosProtoTypeUrl
no setteroverride
hashCode → int
The hash code for this object.
no setterinherited
protoValues → List<Object?>
no setteroverride
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
token → String?
token identifier can be either the hex contract address of the ERC20 or the Cosmos base denomination
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onServiceResponse(List<int> bytes) → MsgToggleConversionResponse
override
onServiceResponseJson(Map<String, dynamic> json) → MsgToggleConversionResponse
override
protoConfig() → ProtoMessageConfig
override
toAminoJson({CosmosBech32Config? config}) → Map<String, dynamic>
inherited
toAny() → Any
inherited
toBase64() → String
inherited
toBuffer() → List<int>
inherited
toJson() → Map<String, dynamic>
Dont change order of toJson the key index must be equal to protoConfig fields.
override
toJsonObject(CosmosToJsonEncoding encoding, {CosmosBech32Config? config}) → Map<String, dynamic>
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Static Methods

protoConfigStatic() → ProtoMessageConfig