Documentation ¶
Index ¶
- type LinkTokenService
- func (s *LinkTokenService) Approve(ctx context.Context, spender common.Address, amount *big.Int) error
- func (s *LinkTokenService) CheckAllowance(ctx context.Context, spender common.Address) (*big.Int, error)
- func (s *LinkTokenService) IncreaseAllowance(ctx context.Context, spender common.Address, amount *big.Int) error
- func (s *LinkTokenService) IncreaseAllowanceIfNotEnough(ctx context.Context, spender common.Address, minApprove *big.Int) error
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) CheckAllowance ¶
func (*LinkTokenService) IncreaseAllowance ¶
func (*LinkTokenService) IncreaseAllowanceIfNotEnough ¶
Click to show internal directories.
Click to hide internal directories.