Closed vikmeup closed 4 years ago
"delegator": {
"id": "cosmosvaloper1fhr7e04ct0zslmkzqt9smakg3sxrdve6ulclj2",
"status": true,
"info": {
"name": "POS Bakerz",
"description": "POS Bakerz is a staking company operating secure and efficient nodes for different Proof-of-Stake cryptocurrencies such as Cosmos Network, Tezos, IRISnet, Terra Money and others.",
"image": "https://raw.githubusercontent.com/trustwallet/assets/master/blockchains/cosmos/validators/assets/cosmosvaloper1fhr7e04ct0zslmkzqt9smakg3sxrdve6ulclj2/logo.png",
"website": "https://posbakerz.com/"
},
"details": {
"reward": {
"annual": 10.04212310250548
},
"locktime": 1814400,
"minimum_amount": "0"
}
},
to
"delegator": {
"id": "cosmosvaloper1fhr7e04ct0zslmkzqt9smakg3sxrdve6ulclj2",
"status": true,
"name": "POS Bakerz",
"description": "POS Bakerz is a staking company operating secure and efficient nodes for different Proof-of-Stake cryptocurrencies such as Cosmos Network, Tezos, IRISnet, Terra Money and others.",
"image": "https://raw.githubusercontent.com/trustwallet/assets/master/blockchains/cosmos/validators/assets/cosmosvaloper1fhr7e04ct0zslmkzqt9smakg3sxrdve6ulclj2/logo.png",
"website": "https://posbakerz.com/"
"details": {
"reward": {
"annual": 10.04212310250548
},
"locktime": 1814400,
"minimum_amount": "0"
}
},
Add
{
value: "123",
pending_value: "123"
balance: "123"
}
Add
enum Type {
case auto
case delegate
case gas
case lend
}
{
type: Type
}
Most of it already implemented.
to