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

function pool() internal pure returns (struct MixinStorage.Pool s)

PoolWrapper

struct PoolWrapper {
  struct MixinStorage.Pool pool;
}

poolWrapper

function poolWrapper() internal pure returns (struct MixinStorage.PoolWrapper s)

poolParams

function poolParams() internal pure returns (struct IRigoblockV3PoolState.PoolParams s)

poolTokens

function poolTokens() internal pure returns (struct IRigoblockV3PoolState.PoolTokens s)

Last updated