MsgSetCommunityPoolRebate.fromJson constructor
MsgSetCommunityPoolRebate.fromJson(
- Map<String, dynamic> json
)
Implementation
factory MsgSetCommunityPoolRebate.fromJson(Map<String, dynamic> json) {
return MsgSetCommunityPoolRebate(
creator: json.valueAsString<String?>('creator', acceptCamelCase: true),
chainId: json.valueAsString<String?>('chain_id', acceptCamelCase: true),
rebateRate: json.valueAsString<String?>(
'rebate_rate',
acceptCamelCase: true,
),
liquidStakedStTokenAmount: json.valueAsString<String?>(
'liquid_staked_st_token_amount',
acceptCamelCase: true,
),
);
}