📚
Common Types
The following are common data types used across White Whale's contracts. There might be few more that are used internally, though this list contains the types that are exposed via the entry points.
Struct | Description | Contains |
---|---|---|
Asset | Represents an asset |
|
Contract | Represents a contract, either a Pool or Vault |
|
Factory | Represents a Factory for either Collecting or Quering fees for |
|
FeatureToggle | Feature toggle for the pair/pool contract |
|
Fee | Represents a fee |
|
PairInfo | Defines information about a pair/pool |
|
PoolFee | Fees used by the pool |
|
UpdateConfigParams | Parameters to update the vault configuration with |
|
VaultFee | Fees used by the vault |
|
VaultInfo | Response for the vaults query |
|
Enums | Description | Alternatives |
---|---|---|
AssetInfo | Represents asset information |
|
CallbackMsg | Callback messages for the vault |
|
CollectFeesFor | Represents what to collect fees from |
|
FactoryType | Represents the type of factory |
|
QueryFeesFor | Represents what to query fees from |
|
SwapOperation | A swap operation, used by the pool router |
|