market

package
v0.76.8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 11, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	SepoliaChainID = 11155111
	GnosisChainID  = 100
)
View Source
const MainnetBTCUSDTMetadataID = "auto:mainnet_btc_usdt"
View Source
const MainnetETHUSDTMetadataID = "auto:mainnet_eth_usdt"

Variables

View Source
var (
	MainnetBTCUSDTOracleDecimalPlaces   = uint64(6)
	MainnetBTCUSDTMarketSettlementHours = 24 * 31
	MainnetBTCUSDTPositionDecimalPlaces = int64(4)
	MainnetBTCUSDTDecimalPlaces         = uint64(1)
)
View Source
var (
	MainnetETHUSDTOracleDecimalPlaces   = uint64(6)
	MainnetETHUSDTMarketSettlementHours = 24 * 31
	MainnetETHUSDTPositionDecimalPlaces = int64(3)
	MainnetETHUSDTDecimalPlaces         = uint64(2)
)
View Source
var DefaultExtraMetadata = []string{
	"devopstools:true",
}

Functions

func NewFutureBTCUSDT added in v0.74.10

func NewFutureBTCUSDT(
	settlementVegaAssetId string,
	oraclePubKey string,
	closingTime time.Time,
	enactmentTime time.Time,
	extraMetadata []string,
) *commandspb.ProposalSubmission

func NewFutureBTCUSDTWithoutTime added in v0.74.10

func NewFutureBTCUSDTWithoutTime(settlementAsset string, oraclePubKey string) *commandspb.ProposalSubmission

func NewFutureETHUSDT added in v0.74.10

func NewFutureETHUSDT(
	settlementVegaAssetId string,
	oraclePubKey string,
	closingTime time.Time,
	enactmentTime time.Time,
	extraMetadata []string,
) *commandspb.ProposalSubmission

func NewFutureETHUSDTWithoutTime added in v0.74.10

func NewFutureETHUSDTWithoutTime(settlementAsset string, oraclePubKey string) *commandspb.ProposalSubmission

func NewMainnetSimulationBitcoinTetherPerpetual added in v0.74.10

func NewMainnetSimulationBitcoinTetherPerpetual(
	settlementAsset string,
	closingTime time.Time,
	enactmentTime time.Time,
) *commandspb.ProposalSubmission

func NewMainnetSimulationBitcoinTetherPerpetualWithoutTime added in v0.74.10

func NewMainnetSimulationBitcoinTetherPerpetualWithoutTime(settlementAsset string) *commandspb.ProposalSubmission

func NewMainnetSimulationEtherTetherPerpetual added in v0.74.10

func NewMainnetSimulationEtherTetherPerpetual(
	settlementAsset string,
	closingTime time.Time,
	enactmentTime time.Time,
) *commandspb.ProposalSubmission

func NewMainnetSimulationEtherTetherPerpetualWithoutTime added in v0.74.10

func NewMainnetSimulationEtherTetherPerpetualWithoutTime(settlementAsset string) *commandspb.ProposalSubmission

func NewMainnetSimulationINJUSDTPerp added in v0.74.10

func NewMainnetSimulationINJUSDTPerp(
	settlementVegaAssetId string,
	closingTime time.Time,
	enactmentTime time.Time,
	extraMetadata []string,
) *commandspb.ProposalSubmission

func NewMainnetSimulationINJUSDTPerpWithoutTime added in v0.74.10

func NewMainnetSimulationINJUSDTPerpWithoutTime(settlementAsset string) *commandspb.ProposalSubmission

func NewMainnetSimulationLDOUSDTPerp added in v0.74.10

func NewMainnetSimulationLDOUSDTPerp(
	settlementVegaAssetId string,
	closingTime time.Time,
	enactmentTime time.Time,
	extraMetadata []string,
) *commandspb.ProposalSubmission

func NewMainnetSimulationLDOUSDTPerpWithoutTime added in v0.74.10

func NewMainnetSimulationLDOUSDTPerpWithoutTime(settlementAsset string) *commandspb.ProposalSubmission

func NewMainnetSimulationSNXUSDTPerp added in v0.74.10

func NewMainnetSimulationSNXUSDTPerp(
	settlementVegaAssetId string,
	closingTime time.Time,
	enactmentTime time.Time,
	extraMetadata []string,
) *commandspb.ProposalSubmission

func NewMainnetSimulationSNXUSDTPerpWithoutTime added in v0.74.10

func NewMainnetSimulationSNXUSDTPerpWithoutTime(settlementAsset string) *commandspb.ProposalSubmission

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL