hasher

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CancelOrder

type CancelOrder struct {
	ContractAddr common.Address
	OrderHash    []byte
	UserAddr     common.Address
	Nonce        *big.Int
}

func (*CancelOrder) Keccak256Hash

func (p *CancelOrder) Keccak256Hash() common.Hash

type CreateOrder

type CreateOrder struct {
	ContractAddr        common.Address
	FuturesContractHash []byte
	UserAddr            common.Address
	Amount              *big.Int
	Price               *big.Int
	Side                bool
	Nonce               *big.Int
	Leverage            *big.Int
}

func (*CreateOrder) Keccak256Hash

func (p *CreateOrder) Keccak256Hash() common.Hash

Jump to

Keyboard shortcuts

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