InterestBearingMintConfigState.fromAccountBytes constructor
InterestBearingMintConfigState.fromAccountBytes(
- List<int> accountBytes
)
Implementation
factory InterestBearingMintConfigState.fromAccountBytes(
List<int> accountBytes) {
final decode = _Utils.decodeFromAccount(accountBytes);
return InterestBearingMintConfigState(
rateAuthority: decode["rateAuthority"],
initializationTimestamp: decode["initializationTimestamp"],
preUpdateAverageRate: decode["preUpdateAverageRate"],
lastUpdateTimestamp: decode["lastUpdateTimestamp"],
currentRate: decode["currentRate"]);
}