auth_message

package
v1.5.2 Latest Latest
Warning

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

Go to latest
Published: Aug 18, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EncodeFungibleBytesFrom added in v1.4.0

func EncodeFungibleBytesFrom(sourceChainId, targetChainId uint64, txId, asset, receiverEthAddress, amount string) ([]byte, error)

EncodeFungibleBytesFrom returns the array of bytes representing an authorisation ERC-20 Mint signature ready to be signed by EVM Private Key

func EncodeNftBytesFrom added in v1.4.0

func EncodeNftBytesFrom(sourceChainId, targetChainId uint64, txId, asset string, serialNum int64, metadata, receiverEthAddress string) ([]byte, error)

EncodeNftBytesFrom returns the array of bytes representing an authorisation ERC-721 NFT signature for Mint ready to be signed by EVM Private Key

Types

This section is empty.

Jump to

Keyboard shortcuts

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