chainlink

package
v0.0.0-...-0264a13 Latest Latest
Warning

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

Go to latest
Published: Jun 15, 2023 License: AGPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LinkTokenService

type LinkTokenService struct {
	// contains filtered or unexported fields
}

func NewLinkTokenService

func NewLinkTokenService(ctx context.Context, cfg *config.Config, accountService *service.AccountService, contract *chainlink.LinkTokenContract) *LinkTokenService

func (*LinkTokenService) Approve

func (s *LinkTokenService) Approve(ctx context.Context, spender common.Address, amount *big.Int) error

func (*LinkTokenService) CheckAllowance

func (s *LinkTokenService) CheckAllowance(ctx context.Context, spender common.Address) (*big.Int, error)

func (*LinkTokenService) IncreaseAllowance

func (s *LinkTokenService) IncreaseAllowance(ctx context.Context, spender common.Address, amount *big.Int) error

func (*LinkTokenService) IncreaseAllowanceIfNotEnough

func (s *LinkTokenService) IncreaseAllowanceIfNotEnough(ctx context.Context, spender common.Address, minApprove *big.Int) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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