fee

package
v0.0.0-...-9f791b1 Latest Latest
Warning

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

Go to latest
Published: Jun 22, 2022 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Charger

type Charger interface {
	//GetNodeChargeFee returns how many tokens charge for transfer 'amount' tokens on token who's address is tokenAddress.
	GetNodeChargeFee(nodeAddress, tokenAddress common.Address, amount *big.Int) *big.Int
}

Charger defines how to charge fee for a mediated node it relates which token and how much to transfer.

Jump to

Keyboard shortcuts

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