serialize method
Serializes the object to a map.
Implementation
@override
Map<String, dynamic> serialize() {
return {
"discriminator": _Utils.discriminator,
"treasuryMint": treasuryMint,
"mintA": mintA,
"mintB": mintB,
"tokenAEscrow": tokenAEscrow,
"tokenBEscrow": tokenBEscrow,
"authority": authority,
"bump": bump,
"tokenAEscrowBump": tokenAEscrowBump,
"tokenBEscrowBump": tokenBEscrowBump,
"price": price,
"paid": paid,
"paysEveryTime": paysEveryTime
};
}