github.com/lino-network/lino@v0.6.11/x/vote/manager/golden/TestVoteManagerTestSuite/TestMultipleStakeInWithConsumption.golden (about)

     1  [
     2    {
     3      "prefix": "1",
     4      "key": "user1",
     5      "val": {
     6        "type": "lino/voter",
     7        "value": {
     8          "username": "user1",
     9          "lino_stake": {
    10            "amount": "5000"
    11          },
    12          "last_power_change_at": "7",
    13          "interest": {
    14            "amount": "0"
    15          },
    16          "duty": "0",
    17          "frozen_amount": {
    18            "amount": "0"
    19          }
    20        }
    21      }
    22    },
    23    {
    24      "prefix": "1",
    25      "key": "user2",
    26      "val": {
    27        "type": "lino/voter",
    28        "value": {
    29          "username": "user2",
    30          "lino_stake": {
    31            "amount": "6000"
    32          },
    33          "last_power_change_at": "6",
    34          "interest": {
    35            "amount": "0"
    36          },
    37          "duty": "0",
    38          "frozen_amount": {
    39            "amount": "0"
    40          }
    41        }
    42      }
    43    },
    44    {
    45      "prefix": "2",
    46      "key": "0",
    47      "val": {
    48        "type": "lino/stakestats",
    49        "value": {
    50          "total_consumption_friction": {
    51            "amount": "222"
    52          },
    53          "unclaimed_friction": {
    54            "amount": "0"
    55          },
    56          "total_lino_power": {
    57            "amount": "1000"
    58          },
    59          "unclaimed_lino_power": {
    60            "amount": "0"
    61          }
    62        }
    63      }
    64    },
    65    {
    66      "prefix": "2",
    67      "key": "1",
    68      "val": {
    69        "type": "lino/stakestats",
    70        "value": {
    71          "total_consumption_friction": {
    72            "amount": "444"
    73          },
    74          "unclaimed_friction": {
    75            "amount": "0"
    76          },
    77          "total_lino_power": {
    78            "amount": "5000"
    79          },
    80          "unclaimed_lino_power": {
    81            "amount": "0"
    82          }
    83        }
    84      }
    85    },
    86    {
    87      "prefix": "2",
    88      "key": "2",
    89      "val": {
    90        "type": "lino/stakestats",
    91        "value": {
    92          "total_consumption_friction": {
    93            "amount": "888"
    94          },
    95          "unclaimed_friction": {
    96            "amount": "0"
    97          },
    98          "total_lino_power": {
    99            "amount": "2000"
   100          },
   101          "unclaimed_lino_power": {
   102            "amount": "0"
   103          }
   104        }
   105      }
   106    },
   107    {
   108      "prefix": "2",
   109      "key": "3",
   110      "val": {
   111        "type": "lino/stakestats",
   112        "value": {
   113          "total_consumption_friction": {
   114            "amount": "100"
   115          },
   116          "unclaimed_friction": {
   117            "amount": "0"
   118          },
   119          "total_lino_power": {
   120            "amount": "2000"
   121          },
   122          "unclaimed_lino_power": {
   123            "amount": "0"
   124          }
   125        }
   126      }
   127    },
   128    {
   129      "prefix": "2",
   130      "key": "4",
   131      "val": {
   132        "type": "lino/stakestats",
   133        "value": {
   134          "total_consumption_friction": {
   135            "amount": "500"
   136          },
   137          "unclaimed_friction": {
   138            "amount": "0"
   139          },
   140          "total_lino_power": {
   141            "amount": "6000"
   142          },
   143          "unclaimed_lino_power": {
   144            "amount": "0"
   145          }
   146        }
   147      }
   148    },
   149    {
   150      "prefix": "2",
   151      "key": "5",
   152      "val": {
   153        "type": "lino/stakestats",
   154        "value": {
   155          "total_consumption_friction": {
   156            "amount": "300"
   157          },
   158          "unclaimed_friction": {
   159            "amount": "0"
   160          },
   161          "total_lino_power": {
   162            "amount": "7000"
   163          },
   164          "unclaimed_lino_power": {
   165            "amount": "0"
   166          }
   167        }
   168      }
   169    },
   170    {
   171      "prefix": "2",
   172      "key": "6",
   173      "val": {
   174        "type": "lino/stakestats",
   175        "value": {
   176          "total_consumption_friction": {
   177            "amount": "0"
   178          },
   179          "unclaimed_friction": {
   180            "amount": "0"
   181          },
   182          "total_lino_power": {
   183            "amount": "11000"
   184          },
   185          "unclaimed_lino_power": {
   186            "amount": "6000"
   187          }
   188        }
   189      }
   190    },
   191    {
   192      "prefix": "2",
   193      "key": "7",
   194      "val": {
   195        "type": "lino/stakestats",
   196        "value": {
   197          "total_consumption_friction": {
   198            "amount": "300"
   199          },
   200          "unclaimed_friction": {
   201            "amount": "300"
   202          },
   203          "total_lino_power": {
   204            "amount": "11000"
   205          },
   206          "unclaimed_lino_power": {
   207            "amount": "11000"
   208          }
   209        }
   210      }
   211    }
   212  ]