From 0c69a957135ea144e981c27ca190d296b8225c75 Mon Sep 17 00:00:00 2001 From: shotaronowhere Date: Mon, 20 Jun 2022 11:23:50 +0100 Subject: [PATCH] feat(account): safer params --- contracts/interfaces/ICoreKleros.sol | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/contracts/interfaces/ICoreKleros.sol b/contracts/interfaces/ICoreKleros.sol index f9baef7..a89ec6b 100644 --- a/contracts/interfaces/ICoreKleros.sol +++ b/contracts/interfaces/ICoreKleros.sol @@ -14,9 +14,9 @@ pragma solidity ^0.8.0; interface ICore{ struct Account { - uint88 stakedTokens; // The account's total amount of tokens staked in subpools. + uint96 stakedTokens; // The account's total amount of tokens staked in subpools. uint88 lockedTokens; // The account's total amount of tokens locked. - uint48 index; // indexing the account + uint40 index; // indexing the account uint32 time; // The time when the juror staked }