artemis_req_types

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Mar 3, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GasPriceLimits

type GasPriceLimits struct {
	GasPrice *big.Int
	GasLimit uint64
}

type SendContractTxPayload

type SendContractTxPayload struct {
	SmartContractAddr string
	SendEtherPayload  // payable would be an amount, otherwise for tokens use the params field
	ContractFile      string
	ContractABI       *abi.ABI // this has first priority, if nil will check default contracts using contract file
	MethodName        string   // name of the smart contract function
	Params            []interface{}
}

type SendEtherPayload

type SendEtherPayload struct {
	TransferArgs
	GasPriceLimits
}

type SignedTxPayload

type SignedTxPayload struct {
	types.Transaction `json:"tx"`
}

type TransferArgs

type TransferArgs struct {
	Amount    *big.Int
	ToAddress accounts.Address
}

Jump to

Keyboard shortcuts

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