storage

MixinStorage

Storage slots must be preserved to prevent storage clashing.

Pool storage is not sequential: each variable is wrapped into a struct which is assigned a storage slot.

constructor

constructor() internal

Accounts

struct Accounts {
  mapping(address => struct IRigoblockV3PoolState.UserAccount) userAccounts;
}

accounts

function accounts() internal pure returns (struct MixinStorage.Accounts s)

Pool

struct Pool {
  string name;
  bytes8 symbol;
  uint8 decimals;
  address owner;
  bool unlocked;
  address baseToken;
}

pool

PoolWrapper

poolWrapper

poolParams

poolTokens

Last updated