assets.proto
path vega/assets.proto
package vega
Messages
Asset
Vega representation of an external asset
Name | Type | Description |
---|---|---|
id | string | Internal identifier of the asset. |
details | AssetDetails | Definition of the external source for this asset. |
status | Asset.Status | Status of the asset. |
AssetDetails
Vega representation of an external asset
Name | Type | Description |
---|---|---|
name | string | Name of the asset (e.g: Great British Pound). |
symbol | string | Symbol of the asset (e.g: GBP). |
decimals | uint64 | Number of decimal / precision handled by this asset. |
quantum | string | Minimum economically meaningful amount in the asset. |
builtin_asset | BuiltinAsset | Vega built-in asset. |
erc20 | ERC20 | Ethereum ERC20 asset. |
AssetDetailsUpdate
Changes to apply on an existing asset.
Name | Type | Description |
---|---|---|
quantum | string | Minimum economically meaningful amount in the asset. |
erc20 | ERC20Update | Ethereum ERC20 asset update. |
BuiltinAsset
Vega internal asset
Name | Type | Description |
---|---|---|
max_faucet_amount_mint | string | Maximum amount that can be requested by a party through the built-in asset faucet at a time. |
ERC20
ERC20 token based asset, living on the ethereum network
Name | Type | Description |
---|---|---|
contract_address | string | Address of the contract for the token, on the ethereum network. |
lifetime_limit | string | Lifetime limits deposit per address note: this is a temporary measure that can be changed by governance. |
withdraw_threshold | string | Maximum you can withdraw instantly. All withdrawals over the threshold will be delayed by the withdrawal delay. There’s no limit on the size of a withdrawal note: this is a temporary measure that can be changed by governance. |
ERC20Update
Name | Type | Description |
---|---|---|
lifetime_limit | string | Lifetime limits deposit per address. This will be interpreted against the asset decimals. note: this is a temporary measure that can be changed by governance. |
withdraw_threshold | string | Maximum you can withdraw instantly. All withdrawals over the threshold will be delayed by the withdrawal delay. There’s no limit on the size of a withdrawal note: this is a temporary measure that can be changed by governance. |
Enums
Asset.Status
Name | Number | Description |
---|---|---|
STATUS_UNSPECIFIED | 0 | Default value, always invalid |
STATUS_PROPOSED | 1 | Asset is proposed and under vote |
STATUS_REJECTED | 2 | Asset has been rejected from governance |
STATUS_PENDING_LISTING | 3 | Asset is pending listing from the bridge |
STATUS_ENABLED | 4 | Asset is fully usable in the network |