ocr2types

package
v0.0.11 Latest Latest
Warning

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

Go to latest
Published: Oct 22, 2021 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	QueryLatestConfigDetails        = "latest_config_details"
	QueryTransmitters               = "transmitters"
	QueryLatestTransmissionDetails  = "latest_transmission_details"
	QueryLatestConfigDigestAndEpoch = "latest_config_digest_and_epoch"
	QueryDescription                = "description"
	QueryDecimals                   = "decimals"
	QueryLatestRoundData            = "latest_round_data"
	QueryLinkToken                  = "link_token"
	QueryBilling                    = "billing"
	QueryBillingAccessController    = "billing_access_controller"
	QueryRequesterAccessController  = "requester_access_controller"
	QueryLinkAvailableForPayment    = "link_available_for_payment"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type ByteArray

type ByteArray []byte

func (ByteArray) MarshalJSON

func (b ByteArray) MarshalJSON() ([]byte, error)

type ByteArrayArray

type ByteArrayArray [][]byte

func (ByteArrayArray) MarshalJSON

func (b ByteArrayArray) MarshalJSON() ([]byte, error)

type ExecuteSetBillingConfigMsgType

type ExecuteSetBillingConfigMsgType struct {
	ObservationPayment  uint32 `json:"observation_payment"`
	RecommendedGasPrice uint32 `json:"recommended_gas_price"`
}

type ExecuteSetBillingMsg

type ExecuteSetBillingMsg struct {
	SetBilling ExecuteSetBillingMsgType `json:"set_billing"`
}

type ExecuteSetBillingMsgType

type ExecuteSetBillingMsgType struct {
	Config ExecuteSetBillingConfigMsgType `json:"config"`
}

type ExecuteSetConfigMsg

type ExecuteSetConfigMsg struct {
	SetConfig ExecuteSetConfigMsgType `json:"set_config"`
}

type ExecuteSetConfigMsgType

type ExecuteSetConfigMsgType struct {
	Signers               ByteArrayArray `json:"signers"`
	Transmitters          []string       `json:"transmitters"`
	F                     uint8          `json:"f"`
	OnchainConfig         ByteArray      `json:"onchain_config"`
	OffchainConfigVersion uint64         `json:"offchain_config_version"`
	OffchainConfig        ByteArray      `json:"offchain_config"`
}

type ExecuteTransferOwnershipMsg

type ExecuteTransferOwnershipMsg struct {
	TransferOwnership ExecuteTransferOwnershipMsgType `json:"transfer_ownership"`
}

type ExecuteTransferOwnershipMsgType

type ExecuteTransferOwnershipMsgType struct {
	To msg.AccAddress `json:"to"`
}

type OCRv2InstantiateMsg

type OCRv2InstantiateMsg struct {
	BillingAccessController   msg.AccAddress `json:"billing_access_controller"`
	RequesterAccessController msg.AccAddress `json:"requester_access_controller"`
	LinkToken                 msg.AccAddress `json:"link_token"`
	Decimals                  uint8          `json:"decimals"`
	Description               string         `json:"description"`
	MinAnswer                 string         `json:"min_answer"`
	MaxAnswer                 string         `json:"max_answer"`
}

type QueryOwedPaymentMsg

type QueryOwedPaymentMsg struct {
	OwedPayment QueryOwedPaymentTypeMsg `json:"owed_payment"`
}

type QueryOwedPaymentTypeMsg

type QueryOwedPaymentTypeMsg struct {
	Transmitter msg.AccAddress `json:"transmitter"`
}

type QueryRoundDataMsg

type QueryRoundDataMsg struct {
	RoundData QueryRoundDataTypeMsg `json:"round_data"`
}

type QueryRoundDataTypeMsg

type QueryRoundDataTypeMsg struct {
	RoundID uint32 `json:"round_id"`
}

Jump to

Keyboard shortcuts

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