contracts

package
v0.0.0-...-0db867e Latest Latest
Warning

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

Go to latest
Published: Sep 8, 2021 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const USDKABI = "" /* 4904-byte string literal not displayed */

USDKABI is the input ABI used to generate the binding from.

Variables

View Source
var USDKBin = "" /* 16864-byte string literal not displayed */

USDKBin is the compiled bytecode used for deploying new contracts.

Functions

This section is empty.

Types

type USDK

type USDK struct {
	USDKCaller     // Read-only binding to the contract
	USDKTransactor // Write-only binding to the contract
	USDKFilterer   // Log filterer for contract events
}

USDK is an auto generated Go binding around an Ethereum contract.

func DeployUSDK

func DeployUSDK(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *USDK, error)

DeployUSDK deploys a new Ethereum contract, binding an instance of USDK to it.

func NewUSDK

func NewUSDK(address common.Address, backend bind.ContractBackend) (*USDK, error)

NewUSDK creates a new instance of USDK, bound to a specific deployed contract.

type USDKApproval

type USDKApproval struct {
	Owner   common.Address
	Spender common.Address
	Value   *big.Int
	Raw     types.Log // Blockchain specific contextual infos
}

USDKApproval represents a Approval event raised by the USDK contract.

type USDKApprovalIterator

type USDKApprovalIterator struct {
	Event *USDKApproval // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

USDKApprovalIterator is returned from FilterApproval and is used to iterate over the raw logs and unpacked data for Approval events raised by the USDK contract.

func (*USDKApprovalIterator) Close

func (it *USDKApprovalIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*USDKApprovalIterator) Error

func (it *USDKApprovalIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*USDKApprovalIterator) Next

func (it *USDKApprovalIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type USDKCaller

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

USDKCaller is an auto generated read-only Go binding around an Ethereum contract.

func NewUSDKCaller

func NewUSDKCaller(address common.Address, caller bind.ContractCaller) (*USDKCaller, error)

NewUSDKCaller creates a new read-only instance of USDK, bound to a specific deployed contract.

func (*USDKCaller) Allowance

func (_USDK *USDKCaller) Allowance(opts *bind.CallOpts, owner common.Address, spender common.Address) (*big.Int, error)

Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.

Solidity: function allowance(address owner, address spender) view returns(uint256)

func (*USDKCaller) BalanceOf

func (_USDK *USDKCaller) BalanceOf(opts *bind.CallOpts, account common.Address) (*big.Int, error)

BalanceOf is a free data retrieval call binding the contract method 0x70a08231.

Solidity: function balanceOf(address account) view returns(uint256)

func (*USDKCaller) Decimals

func (_USDK *USDKCaller) Decimals(opts *bind.CallOpts) (uint8, error)

Decimals is a free data retrieval call binding the contract method 0x313ce567.

Solidity: function decimals() view returns(uint8)

func (*USDKCaller) Name

func (_USDK *USDKCaller) Name(opts *bind.CallOpts) (string, error)

Name is a free data retrieval call binding the contract method 0x06fdde03.

Solidity: function name() view returns(string)

func (*USDKCaller) Owner

func (_USDK *USDKCaller) Owner(opts *bind.CallOpts) (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() view returns(address)

func (*USDKCaller) Symbol

func (_USDK *USDKCaller) Symbol(opts *bind.CallOpts) (string, error)

Symbol is a free data retrieval call binding the contract method 0x95d89b41.

Solidity: function symbol() view returns(string)

func (*USDKCaller) TotalSupply

func (_USDK *USDKCaller) TotalSupply(opts *bind.CallOpts) (*big.Int, error)

TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.

Solidity: function totalSupply() view returns(uint256)

type USDKCallerRaw

type USDKCallerRaw struct {
	Contract *USDKCaller // Generic read-only contract binding to access the raw methods on
}

USDKCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.

func (*USDKCallerRaw) Call

func (_USDK *USDKCallerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error

Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.

type USDKCallerSession

type USDKCallerSession struct {
	Contract *USDKCaller   // Generic contract caller binding to set the session for
	CallOpts bind.CallOpts // Call options to use throughout this session
}

USDKCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.

func (*USDKCallerSession) Allowance

func (_USDK *USDKCallerSession) Allowance(owner common.Address, spender common.Address) (*big.Int, error)

Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.

Solidity: function allowance(address owner, address spender) view returns(uint256)

func (*USDKCallerSession) BalanceOf

func (_USDK *USDKCallerSession) BalanceOf(account common.Address) (*big.Int, error)

BalanceOf is a free data retrieval call binding the contract method 0x70a08231.

Solidity: function balanceOf(address account) view returns(uint256)

func (*USDKCallerSession) Decimals

func (_USDK *USDKCallerSession) Decimals() (uint8, error)

Decimals is a free data retrieval call binding the contract method 0x313ce567.

Solidity: function decimals() view returns(uint8)

func (*USDKCallerSession) Name

func (_USDK *USDKCallerSession) Name() (string, error)

Name is a free data retrieval call binding the contract method 0x06fdde03.

Solidity: function name() view returns(string)

func (*USDKCallerSession) Owner

func (_USDK *USDKCallerSession) Owner() (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() view returns(address)

func (*USDKCallerSession) Symbol

func (_USDK *USDKCallerSession) Symbol() (string, error)

Symbol is a free data retrieval call binding the contract method 0x95d89b41.

Solidity: function symbol() view returns(string)

func (*USDKCallerSession) TotalSupply

func (_USDK *USDKCallerSession) TotalSupply() (*big.Int, error)

TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.

Solidity: function totalSupply() view returns(uint256)

type USDKFilterer

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

USDKFilterer is an auto generated log filtering Go binding around an Ethereum contract events.

func NewUSDKFilterer

func NewUSDKFilterer(address common.Address, filterer bind.ContractFilterer) (*USDKFilterer, error)

NewUSDKFilterer creates a new log filterer instance of USDK, bound to a specific deployed contract.

func (*USDKFilterer) FilterApproval

func (_USDK *USDKFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*USDKApprovalIterator, error)

FilterApproval is a free log retrieval operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.

Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)

func (*USDKFilterer) FilterOwnershipTransferred

func (_USDK *USDKFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*USDKOwnershipTransferredIterator, error)

FilterOwnershipTransferred is a free log retrieval operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)

func (*USDKFilterer) FilterTransfer

func (_USDK *USDKFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*USDKTransferIterator, error)

FilterTransfer is a free log retrieval operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.

Solidity: event Transfer(address indexed from, address indexed to, uint256 value)

func (*USDKFilterer) ParseApproval

func (_USDK *USDKFilterer) ParseApproval(log types.Log) (*USDKApproval, error)

ParseApproval is a log parse operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.

Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)

func (*USDKFilterer) ParseOwnershipTransferred

func (_USDK *USDKFilterer) ParseOwnershipTransferred(log types.Log) (*USDKOwnershipTransferred, error)

ParseOwnershipTransferred is a log parse operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)

func (*USDKFilterer) ParseTransfer

func (_USDK *USDKFilterer) ParseTransfer(log types.Log) (*USDKTransfer, error)

ParseTransfer is a log parse operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.

Solidity: event Transfer(address indexed from, address indexed to, uint256 value)

func (*USDKFilterer) WatchApproval

func (_USDK *USDKFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *USDKApproval, owner []common.Address, spender []common.Address) (event.Subscription, error)

WatchApproval is a free log subscription operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.

Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)

func (*USDKFilterer) WatchOwnershipTransferred

func (_USDK *USDKFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *USDKOwnershipTransferred, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error)

WatchOwnershipTransferred is a free log subscription operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)

func (*USDKFilterer) WatchTransfer

func (_USDK *USDKFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *USDKTransfer, from []common.Address, to []common.Address) (event.Subscription, error)

WatchTransfer is a free log subscription operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.

Solidity: event Transfer(address indexed from, address indexed to, uint256 value)

type USDKOwnershipTransferred

type USDKOwnershipTransferred struct {
	PreviousOwner common.Address
	NewOwner      common.Address
	Raw           types.Log // Blockchain specific contextual infos
}

USDKOwnershipTransferred represents a OwnershipTransferred event raised by the USDK contract.

type USDKOwnershipTransferredIterator

type USDKOwnershipTransferredIterator struct {
	Event *USDKOwnershipTransferred // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

USDKOwnershipTransferredIterator is returned from FilterOwnershipTransferred and is used to iterate over the raw logs and unpacked data for OwnershipTransferred events raised by the USDK contract.

func (*USDKOwnershipTransferredIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*USDKOwnershipTransferredIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*USDKOwnershipTransferredIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type USDKRaw

type USDKRaw struct {
	Contract *USDK // Generic contract binding to access the raw methods on
}

USDKRaw is an auto generated low-level Go binding around an Ethereum contract.

func (*USDKRaw) Call

func (_USDK *USDKRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error

Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.

func (*USDKRaw) Transact

func (_USDK *USDKRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*USDKRaw) Transfer

func (_USDK *USDKRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.

type USDKSession

type USDKSession struct {
	Contract     *USDK             // Generic contract binding to set the session for
	CallOpts     bind.CallOpts     // Call options to use throughout this session
	TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session
}

USDKSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.

func (*USDKSession) Allowance

func (_USDK *USDKSession) Allowance(owner common.Address, spender common.Address) (*big.Int, error)

Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.

Solidity: function allowance(address owner, address spender) view returns(uint256)

func (*USDKSession) Approve

func (_USDK *USDKSession) Approve(spender common.Address, amount *big.Int) (*types.Transaction, error)

Approve is a paid mutator transaction binding the contract method 0x095ea7b3.

Solidity: function approve(address spender, uint256 amount) returns(bool)

func (*USDKSession) BalanceOf

func (_USDK *USDKSession) BalanceOf(account common.Address) (*big.Int, error)

BalanceOf is a free data retrieval call binding the contract method 0x70a08231.

Solidity: function balanceOf(address account) view returns(uint256)

func (*USDKSession) Burn

func (_USDK *USDKSession) Burn(account common.Address, amount *big.Int) (*types.Transaction, error)

Burn is a paid mutator transaction binding the contract method 0x9dc29fac.

Solidity: function burn(address account, uint256 amount) returns()

func (*USDKSession) Decimals

func (_USDK *USDKSession) Decimals() (uint8, error)

Decimals is a free data retrieval call binding the contract method 0x313ce567.

Solidity: function decimals() view returns(uint8)

func (*USDKSession) DecreaseAllowance

func (_USDK *USDKSession) DecreaseAllowance(spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)

DecreaseAllowance is a paid mutator transaction binding the contract method 0xa457c2d7.

Solidity: function decreaseAllowance(address spender, uint256 subtractedValue) returns(bool)

func (*USDKSession) IncreaseAllowance

func (_USDK *USDKSession) IncreaseAllowance(spender common.Address, addedValue *big.Int) (*types.Transaction, error)

IncreaseAllowance is a paid mutator transaction binding the contract method 0x39509351.

Solidity: function increaseAllowance(address spender, uint256 addedValue) returns(bool)

func (*USDKSession) Mint

func (_USDK *USDKSession) Mint(account common.Address, amount *big.Int) (*types.Transaction, error)

Mint is a paid mutator transaction binding the contract method 0x40c10f19.

Solidity: function mint(address account, uint256 amount) returns()

func (*USDKSession) Name

func (_USDK *USDKSession) Name() (string, error)

Name is a free data retrieval call binding the contract method 0x06fdde03.

Solidity: function name() view returns(string)

func (*USDKSession) Owner

func (_USDK *USDKSession) Owner() (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() view returns(address)

func (*USDKSession) RenounceOwnership

func (_USDK *USDKSession) RenounceOwnership() (*types.Transaction, error)

RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.

Solidity: function renounceOwnership() returns()

func (*USDKSession) Symbol

func (_USDK *USDKSession) Symbol() (string, error)

Symbol is a free data retrieval call binding the contract method 0x95d89b41.

Solidity: function symbol() view returns(string)

func (*USDKSession) TotalSupply

func (_USDK *USDKSession) TotalSupply() (*big.Int, error)

TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.

Solidity: function totalSupply() view returns(uint256)

func (*USDKSession) Transfer

func (_USDK *USDKSession) Transfer(recipient common.Address, amount *big.Int) (*types.Transaction, error)

Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.

Solidity: function transfer(address recipient, uint256 amount) returns(bool)

func (*USDKSession) TransferFrom

func (_USDK *USDKSession) TransferFrom(sender common.Address, recipient common.Address, amount *big.Int) (*types.Transaction, error)

TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.

Solidity: function transferFrom(address sender, address recipient, uint256 amount) returns(bool)

func (*USDKSession) TransferOwnership

func (_USDK *USDKSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)

TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.

Solidity: function transferOwnership(address newOwner) returns()

type USDKTransactor

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

USDKTransactor is an auto generated write-only Go binding around an Ethereum contract.

func NewUSDKTransactor

func NewUSDKTransactor(address common.Address, transactor bind.ContractTransactor) (*USDKTransactor, error)

NewUSDKTransactor creates a new write-only instance of USDK, bound to a specific deployed contract.

func (*USDKTransactor) Approve

func (_USDK *USDKTransactor) Approve(opts *bind.TransactOpts, spender common.Address, amount *big.Int) (*types.Transaction, error)

Approve is a paid mutator transaction binding the contract method 0x095ea7b3.

Solidity: function approve(address spender, uint256 amount) returns(bool)

func (*USDKTransactor) Burn

func (_USDK *USDKTransactor) Burn(opts *bind.TransactOpts, account common.Address, amount *big.Int) (*types.Transaction, error)

Burn is a paid mutator transaction binding the contract method 0x9dc29fac.

Solidity: function burn(address account, uint256 amount) returns()

func (*USDKTransactor) DecreaseAllowance

func (_USDK *USDKTransactor) DecreaseAllowance(opts *bind.TransactOpts, spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)

DecreaseAllowance is a paid mutator transaction binding the contract method 0xa457c2d7.

Solidity: function decreaseAllowance(address spender, uint256 subtractedValue) returns(bool)

func (*USDKTransactor) IncreaseAllowance

func (_USDK *USDKTransactor) IncreaseAllowance(opts *bind.TransactOpts, spender common.Address, addedValue *big.Int) (*types.Transaction, error)

IncreaseAllowance is a paid mutator transaction binding the contract method 0x39509351.

Solidity: function increaseAllowance(address spender, uint256 addedValue) returns(bool)

func (*USDKTransactor) Mint

func (_USDK *USDKTransactor) Mint(opts *bind.TransactOpts, account common.Address, amount *big.Int) (*types.Transaction, error)

Mint is a paid mutator transaction binding the contract method 0x40c10f19.

Solidity: function mint(address account, uint256 amount) returns()

func (*USDKTransactor) RenounceOwnership

func (_USDK *USDKTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)

RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.

Solidity: function renounceOwnership() returns()

func (*USDKTransactor) Transfer

func (_USDK *USDKTransactor) Transfer(opts *bind.TransactOpts, recipient common.Address, amount *big.Int) (*types.Transaction, error)

Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.

Solidity: function transfer(address recipient, uint256 amount) returns(bool)

func (*USDKTransactor) TransferFrom

func (_USDK *USDKTransactor) TransferFrom(opts *bind.TransactOpts, sender common.Address, recipient common.Address, amount *big.Int) (*types.Transaction, error)

TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.

Solidity: function transferFrom(address sender, address recipient, uint256 amount) returns(bool)

func (*USDKTransactor) TransferOwnership

func (_USDK *USDKTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)

TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.

Solidity: function transferOwnership(address newOwner) returns()

type USDKTransactorRaw

type USDKTransactorRaw struct {
	Contract *USDKTransactor // Generic write-only contract binding to access the raw methods on
}

USDKTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.

func (*USDKTransactorRaw) Transact

func (_USDK *USDKTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*USDKTransactorRaw) Transfer

func (_USDK *USDKTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.

type USDKTransactorSession

type USDKTransactorSession struct {
	Contract     *USDKTransactor   // Generic contract transactor binding to set the session for
	TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session
}

USDKTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.

func (*USDKTransactorSession) Approve

func (_USDK *USDKTransactorSession) Approve(spender common.Address, amount *big.Int) (*types.Transaction, error)

Approve is a paid mutator transaction binding the contract method 0x095ea7b3.

Solidity: function approve(address spender, uint256 amount) returns(bool)

func (*USDKTransactorSession) Burn

func (_USDK *USDKTransactorSession) Burn(account common.Address, amount *big.Int) (*types.Transaction, error)

Burn is a paid mutator transaction binding the contract method 0x9dc29fac.

Solidity: function burn(address account, uint256 amount) returns()

func (*USDKTransactorSession) DecreaseAllowance

func (_USDK *USDKTransactorSession) DecreaseAllowance(spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)

DecreaseAllowance is a paid mutator transaction binding the contract method 0xa457c2d7.

Solidity: function decreaseAllowance(address spender, uint256 subtractedValue) returns(bool)

func (*USDKTransactorSession) IncreaseAllowance

func (_USDK *USDKTransactorSession) IncreaseAllowance(spender common.Address, addedValue *big.Int) (*types.Transaction, error)

IncreaseAllowance is a paid mutator transaction binding the contract method 0x39509351.

Solidity: function increaseAllowance(address spender, uint256 addedValue) returns(bool)

func (*USDKTransactorSession) Mint

func (_USDK *USDKTransactorSession) Mint(account common.Address, amount *big.Int) (*types.Transaction, error)

Mint is a paid mutator transaction binding the contract method 0x40c10f19.

Solidity: function mint(address account, uint256 amount) returns()

func (*USDKTransactorSession) RenounceOwnership

func (_USDK *USDKTransactorSession) RenounceOwnership() (*types.Transaction, error)

RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.

Solidity: function renounceOwnership() returns()

func (*USDKTransactorSession) Transfer

func (_USDK *USDKTransactorSession) Transfer(recipient common.Address, amount *big.Int) (*types.Transaction, error)

Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.

Solidity: function transfer(address recipient, uint256 amount) returns(bool)

func (*USDKTransactorSession) TransferFrom

func (_USDK *USDKTransactorSession) TransferFrom(sender common.Address, recipient common.Address, amount *big.Int) (*types.Transaction, error)

TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.

Solidity: function transferFrom(address sender, address recipient, uint256 amount) returns(bool)

func (*USDKTransactorSession) TransferOwnership

func (_USDK *USDKTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)

TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.

Solidity: function transferOwnership(address newOwner) returns()

type USDKTransfer

type USDKTransfer struct {
	From  common.Address
	To    common.Address
	Value *big.Int
	Raw   types.Log // Blockchain specific contextual infos
}

USDKTransfer represents a Transfer event raised by the USDK contract.

type USDKTransferIterator

type USDKTransferIterator struct {
	Event *USDKTransfer // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

USDKTransferIterator is returned from FilterTransfer and is used to iterate over the raw logs and unpacked data for Transfer events raised by the USDK contract.

func (*USDKTransferIterator) Close

func (it *USDKTransferIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*USDKTransferIterator) Error

func (it *USDKTransferIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*USDKTransferIterator) Next

func (it *USDKTransferIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

Jump to

Keyboard shortcuts

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