Documentation
¶
Index ¶
- Constants
- Variables
- func NewFutureBTCUSDT(settlementVegaAssetId string, oraclePubKey string, closingTime time.Time, ...) *commandspb.ProposalSubmission
- func NewFutureBTCUSDTWithoutTime(settlementAsset string, oraclePubKey string) *commandspb.ProposalSubmission
- func NewFutureETHUSDT(settlementVegaAssetId string, oraclePubKey string, closingTime time.Time, ...) *commandspb.ProposalSubmission
- func NewFutureETHUSDTWithoutTime(settlementAsset string, oraclePubKey string) *commandspb.ProposalSubmission
- func NewMainnetSimulationBitcoinTetherPerpetual(settlementAsset string, closingTime time.Time, enactmentTime time.Time) *commandspb.ProposalSubmission
- func NewMainnetSimulationBitcoinTetherPerpetualWithoutTime(settlementAsset string) *commandspb.ProposalSubmission
- func NewMainnetSimulationEtherTetherPerpetual(settlementAsset string, closingTime time.Time, enactmentTime time.Time) *commandspb.ProposalSubmission
- func NewMainnetSimulationEtherTetherPerpetualWithoutTime(settlementAsset string) *commandspb.ProposalSubmission
- func NewMainnetSimulationINJUSDTPerp(settlementVegaAssetId string, closingTime time.Time, enactmentTime time.Time, ...) *commandspb.ProposalSubmission
- func NewMainnetSimulationINJUSDTPerpWithoutTime(settlementAsset string) *commandspb.ProposalSubmission
- func NewMainnetSimulationLDOUSDTPerp(settlementVegaAssetId string, closingTime time.Time, enactmentTime time.Time, ...) *commandspb.ProposalSubmission
- func NewMainnetSimulationLDOUSDTPerpWithoutTime(settlementAsset string) *commandspb.ProposalSubmission
- func NewMainnetSimulationSNXUSDTPerp(settlementVegaAssetId string, closingTime time.Time, enactmentTime time.Time, ...) *commandspb.ProposalSubmission
- func NewMainnetSimulationSNXUSDTPerpWithoutTime(settlementAsset string) *commandspb.ProposalSubmission
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.
Click to show internal directories.
Click to hide internal directories.