MixinStorage
Overview
License: Apache 2.0-or-later
abstract contract MixinStorage is MixinImmutablesStorage 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.
Structs info
Accounts
struct Accounts {
mapping(address => ISmartPoolState.UserAccount) userAccounts;
}PoolWrapper
struct PoolWrapper {
Pool pool;
}Pool initialization struct wrapper.
Allows initializing pool as struct for better readability.
Parameters:
Name
Type
Description
pool
struct Pool
The pool struct.
Operator
Last updated