signature

package
v0.5.7 Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2025 License: LGPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DOMAIN_NAME = "LiquidityPool"
	VERSION     = "1.0.0"
)

Variables

This section is empty.

Functions

func BorrowManyUnlockHash

func BorrowManyUnlockHash(
	calldata []byte,
	outputAmounts []*big.Int,
	outputTokens []common.Address,
	destinationChainId *big.Int,
	target common.Address,
	deadline uint64,
	caller common.Address,
	liquidityPool common.Address,
	nonce *big.Int,
) ([]byte, error)

BorrowManyUnlockHash calculates the hash that has to be signed and submitted on-chain to the liquidity pool contract.

func BorrowUnlockHash

func BorrowUnlockHash(
	calldata []byte,
	outputAmount *big.Int,
	outputToken common.Address,
	destinationChainId *big.Int,
	target common.Address,
	deadline uint64,
	caller common.Address,
	liquidityPool common.Address,
	nonce *big.Int,
) ([]byte, error)

BorrowUnlockHash calculates the hash that has to be signed and submitted on-chain to the liquidity pool contract.

Types

This section is empty.

Jump to

Keyboard shortcuts

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