Skip to main content
Version: mainnet (v0.75)

assets.proto

path vega/assets.proto

package vega


Messages

Asset

Vega representation of an external asset

NameTypeDescription
idstringInternal identifier of the asset.
detailsAssetDetailsDefinition of the external source for this asset.
statusAsset.StatusStatus of the asset.

AssetDetails

Vega representation of an external asset

NameTypeDescription
namestringName of the asset (e.g: Great British Pound).
symbolstringSymbol of the asset (e.g: GBP).
decimalsuint64Number of decimal / precision handled by this asset.
quantumstringMinimum economically meaningful amount in the asset.
builtin_assetBuiltinAssetVega built-in asset.
erc20ERC20Ethereum ERC20 asset.

AssetDetailsUpdate

Changes to apply on an existing asset.

NameTypeDescription
quantumstringMinimum economically meaningful amount in the asset.
erc20ERC20UpdateEthereum ERC20 asset update.

BuiltinAsset

Vega internal asset

NameTypeDescription
max_faucet_amount_mintstringMaximum 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

NameTypeDescription
contract_addressstringAddress of the contract for the token, on the ethereum network.
lifetime_limitstringLifetime limits deposit per address note: this is a temporary measure that can be changed by governance.
withdraw_thresholdstringMaximum 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

NameTypeDescription
lifetime_limitstringLifetime 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_thresholdstringMaximum 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

NameNumberDescription
STATUS_UNSPECIFIED0Default value, always invalid
STATUS_PROPOSED1Asset is proposed and under vote
STATUS_REJECTED2Asset has been rejected from governance
STATUS_PENDING_LISTING3Asset is pending listing from the bridge
STATUS_ENABLED4Asset is fully usable in the network