proposals

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Aug 3, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const CommunityBTCUSD230630MetadataID = "auto:community_btcusdc230630"
View Source
const CommunityETHUSD230630MetadataID = "auto:community_ethusdc230630"
View Source
const CommunityLinkUSD230630MetadataID = "auto:community_linkusdc230630"

Variables

This section is empty.

Functions

func NewAAPLMarketProposal

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

func NewAAVEDAIMarketProposal

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

func NewBTCUSDMarketProposal

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

func NewCommunityBTCUSD230630

func NewCommunityBTCUSD230630(
	settlementVegaAssetId string,
	decimalPlaces uint64,
	oraclePubKey string,
	closingTime time.Time,
	enactmentTime time.Time,
	extraMetadata []string,
) (*commandspb.ProposalSubmission, error)

settlementVegaAssetId ideally with 6 decimal places

func NewCommunityETHUSD230630

func NewCommunityETHUSD230630(
	settlementVegaAssetId string,
	decimalPlaces uint64,
	oraclePubKey string,
	closingTime time.Time,
	enactmentTime time.Time,
	extraMetadata []string,
) (*commandspb.ProposalSubmission, error)

settlementVegaAssetId ideally with 6 decimal places

func NewCommunityLinkUSD230630

func NewCommunityLinkUSD230630(
	settlementVegaAssetId string,
	decimalPlaces uint64,
	oraclePubKey string,
	closingTime time.Time,
	enactmentTime time.Time,
	extraMetadata []string,
) (*commandspb.ProposalSubmission, error)

settlementVegaAssetId ideally with 6 decimal places

func NewETHBTCMarketProposal

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

func NewETHDAIMarketProposal

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

func NewTSLAMarketProposal

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

func NewUNIDAIMarketProposal

func NewUNIDAIMarketProposal(
	settlementVegaAssetId string,
	decimalPlaces uint64,
	oraclePubKey string,
	closingTime time.Time,
	enactmentTime time.Time,
	extraMetadata []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