token

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: Dec 23, 2020 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const TFCManagerABI = "" /* 1397-byte string literal not displayed */

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

View Source
const TFCTokenABI = "" /* 9142-byte string literal not displayed */

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

Variables

View Source
var TFCManagerBin = "" /* 28314-byte string literal not displayed */

TFCManagerBin is the compiled bytecode used for deploying new contracts.

View Source
var TFCTokenBin = "" /* 23954-byte string literal not displayed */

TFCTokenBin is the compiled bytecode used for deploying new contracts.

Functions

This section is empty.

Types

type TFCManager added in v0.0.3

type TFCManager struct {
	TFCManagerCaller     // Read-only binding to the contract
	TFCManagerTransactor // Write-only binding to the contract
	TFCManagerFilterer   // Log filterer for contract events
}

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

func DeployTFCManager added in v0.0.3

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

DeployTFCManager deploys a new Ethereum contract, binding an instance of TFCManager to it.

func NewTFCManager added in v0.0.3

func NewTFCManager(address common.Address, backend bind.ContractBackend) (*TFCManager, error)

NewTFCManager creates a new instance of TFCManager, bound to a specific deployed contract.

type TFCManagerCaller added in v0.0.3

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

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

func NewTFCManagerCaller added in v0.0.3

func NewTFCManagerCaller(address common.Address, caller bind.ContractCaller) (*TFCManagerCaller, error)

NewTFCManagerCaller creates a new read-only instance of TFCManager, bound to a specific deployed contract.

func (*TFCManagerCaller) Signer added in v0.0.3

func (_TFCManager *TFCManagerCaller) Signer(opts *bind.CallOpts) (common.Address, error)

Signer is a free data retrieval call binding the contract method 0x238ac933.

Solidity: function signer() view returns(address)

func (*TFCManagerCaller) TfcToken added in v0.0.3

func (_TFCManager *TFCManagerCaller) TfcToken(opts *bind.CallOpts) (common.Address, error)

TfcToken is a free data retrieval call binding the contract method 0xff59d118.

Solidity: function tfcToken() view returns(address)

func (*TFCManagerCaller) UsedNonces added in v0.0.3

func (_TFCManager *TFCManagerCaller) UsedNonces(opts *bind.CallOpts, arg0 *big.Int) (bool, error)

UsedNonces is a free data retrieval call binding the contract method 0x6717e41c.

Solidity: function usedNonces(uint256 ) view returns(bool)

type TFCManagerCallerRaw added in v0.0.3

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

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

func (*TFCManagerCallerRaw) Call added in v0.0.3

func (_TFCManager *TFCManagerCallerRaw) 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 TFCManagerCallerSession added in v0.0.3

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

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

func (*TFCManagerCallerSession) Signer added in v0.0.3

func (_TFCManager *TFCManagerCallerSession) Signer() (common.Address, error)

Signer is a free data retrieval call binding the contract method 0x238ac933.

Solidity: function signer() view returns(address)

func (*TFCManagerCallerSession) TfcToken added in v0.0.3

func (_TFCManager *TFCManagerCallerSession) TfcToken() (common.Address, error)

TfcToken is a free data retrieval call binding the contract method 0xff59d118.

Solidity: function tfcToken() view returns(address)

func (*TFCManagerCallerSession) UsedNonces added in v0.0.3

func (_TFCManager *TFCManagerCallerSession) UsedNonces(arg0 *big.Int) (bool, error)

UsedNonces is a free data retrieval call binding the contract method 0x6717e41c.

Solidity: function usedNonces(uint256 ) view returns(bool)

type TFCManagerClaimTFC added in v0.0.5

type TFCManagerClaimTFC struct {
	Recipient common.Address
	Amount    *big.Int
	Nonce     *big.Int
	Sig       []byte
	Raw       types.Log // Blockchain specific contextual infos
}

TFCManagerClaimTFC represents a ClaimTFC event raised by the TFCManager contract.

type TFCManagerClaimTFCIterator added in v0.0.5

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

TFCManagerClaimTFCIterator is returned from FilterClaimTFC and is used to iterate over the raw logs and unpacked data for ClaimTFC events raised by the TFCManager contract.

func (*TFCManagerClaimTFCIterator) Close added in v0.0.5

func (it *TFCManagerClaimTFCIterator) Close() error

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

func (*TFCManagerClaimTFCIterator) Error added in v0.0.5

func (it *TFCManagerClaimTFCIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*TFCManagerClaimTFCIterator) Next added in v0.0.5

func (it *TFCManagerClaimTFCIterator) 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 TFCManagerFilterer added in v0.0.3

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

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

func NewTFCManagerFilterer added in v0.0.3

func NewTFCManagerFilterer(address common.Address, filterer bind.ContractFilterer) (*TFCManagerFilterer, error)

NewTFCManagerFilterer creates a new log filterer instance of TFCManager, bound to a specific deployed contract.

func (*TFCManagerFilterer) FilterClaimTFC added in v0.0.5

func (_TFCManager *TFCManagerFilterer) FilterClaimTFC(opts *bind.FilterOpts, recipient []common.Address, amount []*big.Int, nonce []*big.Int) (*TFCManagerClaimTFCIterator, error)

FilterClaimTFC is a free log retrieval operation binding the contract event 0x0fb8fa078a2a089173a846a2b5210ce31ff98eae182881ba221e6c19fefd1333.

Solidity: event ClaimTFC(address indexed recipient, uint256 indexed amount, uint256 indexed nonce, bytes sig)

func (*TFCManagerFilterer) ParseClaimTFC added in v0.0.5

func (_TFCManager *TFCManagerFilterer) ParseClaimTFC(log types.Log) (*TFCManagerClaimTFC, error)

ParseClaimTFC is a log parse operation binding the contract event 0x0fb8fa078a2a089173a846a2b5210ce31ff98eae182881ba221e6c19fefd1333.

Solidity: event ClaimTFC(address indexed recipient, uint256 indexed amount, uint256 indexed nonce, bytes sig)

func (*TFCManagerFilterer) WatchClaimTFC added in v0.0.5

func (_TFCManager *TFCManagerFilterer) WatchClaimTFC(opts *bind.WatchOpts, sink chan<- *TFCManagerClaimTFC, recipient []common.Address, amount []*big.Int, nonce []*big.Int) (event.Subscription, error)

WatchClaimTFC is a free log subscription operation binding the contract event 0x0fb8fa078a2a089173a846a2b5210ce31ff98eae182881ba221e6c19fefd1333.

Solidity: event ClaimTFC(address indexed recipient, uint256 indexed amount, uint256 indexed nonce, bytes sig)

type TFCManagerRaw added in v0.0.3

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

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

func (*TFCManagerRaw) Call added in v0.0.3

func (_TFCManager *TFCManagerRaw) 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 (*TFCManagerRaw) Transact added in v0.0.3

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

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

func (*TFCManagerRaw) Transfer added in v0.0.3

func (_TFCManager *TFCManagerRaw) 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 TFCManagerSession added in v0.0.3

type TFCManagerSession struct {
	Contract     *TFCManager       // 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
}

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

func (*TFCManagerSession) ClaimTFC added in v0.0.3

func (_TFCManager *TFCManagerSession) ClaimTFC(amount *big.Int, nonce *big.Int, sig []byte) (*types.Transaction, error)

ClaimTFC is a paid mutator transaction binding the contract method 0x2d6fec1d.

Solidity: function claimTFC(uint256 amount, uint256 nonce, bytes sig) returns()

func (*TFCManagerSession) Signer added in v0.0.3

func (_TFCManager *TFCManagerSession) Signer() (common.Address, error)

Signer is a free data retrieval call binding the contract method 0x238ac933.

Solidity: function signer() view returns(address)

func (*TFCManagerSession) TfcToken added in v0.0.3

func (_TFCManager *TFCManagerSession) TfcToken() (common.Address, error)

TfcToken is a free data retrieval call binding the contract method 0xff59d118.

Solidity: function tfcToken() view returns(address)

func (*TFCManagerSession) UsedNonces added in v0.0.3

func (_TFCManager *TFCManagerSession) UsedNonces(arg0 *big.Int) (bool, error)

UsedNonces is a free data retrieval call binding the contract method 0x6717e41c.

Solidity: function usedNonces(uint256 ) view returns(bool)

type TFCManagerTransactor added in v0.0.3

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

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

func NewTFCManagerTransactor added in v0.0.3

func NewTFCManagerTransactor(address common.Address, transactor bind.ContractTransactor) (*TFCManagerTransactor, error)

NewTFCManagerTransactor creates a new write-only instance of TFCManager, bound to a specific deployed contract.

func (*TFCManagerTransactor) ClaimTFC added in v0.0.3

func (_TFCManager *TFCManagerTransactor) ClaimTFC(opts *bind.TransactOpts, amount *big.Int, nonce *big.Int, sig []byte) (*types.Transaction, error)

ClaimTFC is a paid mutator transaction binding the contract method 0x2d6fec1d.

Solidity: function claimTFC(uint256 amount, uint256 nonce, bytes sig) returns()

type TFCManagerTransactorRaw added in v0.0.3

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

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

func (*TFCManagerTransactorRaw) Transact added in v0.0.3

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

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

func (*TFCManagerTransactorRaw) Transfer added in v0.0.3

func (_TFCManager *TFCManagerTransactorRaw) 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 TFCManagerTransactorSession added in v0.0.3

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

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

func (*TFCManagerTransactorSession) ClaimTFC added in v0.0.3

func (_TFCManager *TFCManagerTransactorSession) ClaimTFC(amount *big.Int, nonce *big.Int, sig []byte) (*types.Transaction, error)

ClaimTFC is a paid mutator transaction binding the contract method 0x2d6fec1d.

Solidity: function claimTFC(uint256 amount, uint256 nonce, bytes sig) returns()

type TFCToken

type TFCToken struct {
	TFCTokenCaller     // Read-only binding to the contract
	TFCTokenTransactor // Write-only binding to the contract
	TFCTokenFilterer   // Log filterer for contract events
}

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

func DeployTFCToken added in v0.0.3

func DeployTFCToken(auth *bind.TransactOpts, backend bind.ContractBackend, adminAddress common.Address, managerAddress common.Address) (common.Address, *types.Transaction, *TFCToken, error)

DeployTFCToken deploys a new Ethereum contract, binding an instance of TFCToken to it.

func NewTFCToken

func NewTFCToken(address common.Address, backend bind.ContractBackend) (*TFCToken, error)

NewTFCToken creates a new instance of TFCToken, bound to a specific deployed contract.

type TFCTokenApproval

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

TFCTokenApproval represents a Approval event raised by the TFCToken contract.

type TFCTokenApprovalIterator

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

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

func (*TFCTokenApprovalIterator) Close

func (it *TFCTokenApprovalIterator) Close() error

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

func (*TFCTokenApprovalIterator) Error

func (it *TFCTokenApprovalIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*TFCTokenApprovalIterator) Next

func (it *TFCTokenApprovalIterator) 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 TFCTokenCaller

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

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

func NewTFCTokenCaller

func NewTFCTokenCaller(address common.Address, caller bind.ContractCaller) (*TFCTokenCaller, error)

NewTFCTokenCaller creates a new read-only instance of TFCToken, bound to a specific deployed contract.

func (*TFCTokenCaller) Allowance

func (_TFCToken *TFCTokenCaller) 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 (*TFCTokenCaller) BURNERROLE added in v0.0.4

func (_TFCToken *TFCTokenCaller) BURNERROLE(opts *bind.CallOpts) ([32]byte, error)

BURNERROLE is a free data retrieval call binding the contract method 0x282c51f3.

Solidity: function BURNER_ROLE() view returns(bytes32)

func (*TFCTokenCaller) BalanceOf

func (_TFCToken *TFCTokenCaller) 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 (*TFCTokenCaller) DEFAULTADMINROLE

func (_TFCToken *TFCTokenCaller) DEFAULTADMINROLE(opts *bind.CallOpts) ([32]byte, error)

DEFAULTADMINROLE is a free data retrieval call binding the contract method 0xa217fddf.

Solidity: function DEFAULT_ADMIN_ROLE() view returns(bytes32)

func (*TFCTokenCaller) Decimals

func (_TFCToken *TFCTokenCaller) 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 (*TFCTokenCaller) GetRoleAdmin

func (_TFCToken *TFCTokenCaller) GetRoleAdmin(opts *bind.CallOpts, role [32]byte) ([32]byte, error)

GetRoleAdmin is a free data retrieval call binding the contract method 0x248a9ca3.

Solidity: function getRoleAdmin(bytes32 role) view returns(bytes32)

func (*TFCTokenCaller) GetRoleMember

func (_TFCToken *TFCTokenCaller) GetRoleMember(opts *bind.CallOpts, role [32]byte, index *big.Int) (common.Address, error)

GetRoleMember is a free data retrieval call binding the contract method 0x9010d07c.

Solidity: function getRoleMember(bytes32 role, uint256 index) view returns(address)

func (*TFCTokenCaller) GetRoleMemberCount

func (_TFCToken *TFCTokenCaller) GetRoleMemberCount(opts *bind.CallOpts, role [32]byte) (*big.Int, error)

GetRoleMemberCount is a free data retrieval call binding the contract method 0xca15c873.

Solidity: function getRoleMemberCount(bytes32 role) view returns(uint256)

func (*TFCTokenCaller) HasRole

func (_TFCToken *TFCTokenCaller) HasRole(opts *bind.CallOpts, role [32]byte, account common.Address) (bool, error)

HasRole is a free data retrieval call binding the contract method 0x91d14854.

Solidity: function hasRole(bytes32 role, address account) view returns(bool)

func (*TFCTokenCaller) MINTERROLE

func (_TFCToken *TFCTokenCaller) MINTERROLE(opts *bind.CallOpts) ([32]byte, error)

MINTERROLE is a free data retrieval call binding the contract method 0xd5391393.

Solidity: function MINTER_ROLE() view returns(bytes32)

func (*TFCTokenCaller) Name

func (_TFCToken *TFCTokenCaller) 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 (*TFCTokenCaller) PAUSERROLE

func (_TFCToken *TFCTokenCaller) PAUSERROLE(opts *bind.CallOpts) ([32]byte, error)

PAUSERROLE is a free data retrieval call binding the contract method 0xe63ab1e9.

Solidity: function PAUSER_ROLE() view returns(bytes32)

func (*TFCTokenCaller) Paused

func (_TFCToken *TFCTokenCaller) Paused(opts *bind.CallOpts) (bool, error)

Paused is a free data retrieval call binding the contract method 0x5c975abb.

Solidity: function paused() view returns(bool)

func (*TFCTokenCaller) Symbol

func (_TFCToken *TFCTokenCaller) 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 (*TFCTokenCaller) TotalSupply

func (_TFCToken *TFCTokenCaller) 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 TFCTokenCallerRaw

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

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

func (*TFCTokenCallerRaw) Call

func (_TFCToken *TFCTokenCallerRaw) 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 TFCTokenCallerSession

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

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

func (*TFCTokenCallerSession) Allowance

func (_TFCToken *TFCTokenCallerSession) 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 (*TFCTokenCallerSession) BURNERROLE added in v0.0.4

func (_TFCToken *TFCTokenCallerSession) BURNERROLE() ([32]byte, error)

BURNERROLE is a free data retrieval call binding the contract method 0x282c51f3.

Solidity: function BURNER_ROLE() view returns(bytes32)

func (*TFCTokenCallerSession) BalanceOf

func (_TFCToken *TFCTokenCallerSession) 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 (*TFCTokenCallerSession) DEFAULTADMINROLE

func (_TFCToken *TFCTokenCallerSession) DEFAULTADMINROLE() ([32]byte, error)

DEFAULTADMINROLE is a free data retrieval call binding the contract method 0xa217fddf.

Solidity: function DEFAULT_ADMIN_ROLE() view returns(bytes32)

func (*TFCTokenCallerSession) Decimals

func (_TFCToken *TFCTokenCallerSession) Decimals() (uint8, error)

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

Solidity: function decimals() view returns(uint8)

func (*TFCTokenCallerSession) GetRoleAdmin

func (_TFCToken *TFCTokenCallerSession) GetRoleAdmin(role [32]byte) ([32]byte, error)

GetRoleAdmin is a free data retrieval call binding the contract method 0x248a9ca3.

Solidity: function getRoleAdmin(bytes32 role) view returns(bytes32)

func (*TFCTokenCallerSession) GetRoleMember

func (_TFCToken *TFCTokenCallerSession) GetRoleMember(role [32]byte, index *big.Int) (common.Address, error)

GetRoleMember is a free data retrieval call binding the contract method 0x9010d07c.

Solidity: function getRoleMember(bytes32 role, uint256 index) view returns(address)

func (*TFCTokenCallerSession) GetRoleMemberCount

func (_TFCToken *TFCTokenCallerSession) GetRoleMemberCount(role [32]byte) (*big.Int, error)

GetRoleMemberCount is a free data retrieval call binding the contract method 0xca15c873.

Solidity: function getRoleMemberCount(bytes32 role) view returns(uint256)

func (*TFCTokenCallerSession) HasRole

func (_TFCToken *TFCTokenCallerSession) HasRole(role [32]byte, account common.Address) (bool, error)

HasRole is a free data retrieval call binding the contract method 0x91d14854.

Solidity: function hasRole(bytes32 role, address account) view returns(bool)

func (*TFCTokenCallerSession) MINTERROLE

func (_TFCToken *TFCTokenCallerSession) MINTERROLE() ([32]byte, error)

MINTERROLE is a free data retrieval call binding the contract method 0xd5391393.

Solidity: function MINTER_ROLE() view returns(bytes32)

func (*TFCTokenCallerSession) Name

func (_TFCToken *TFCTokenCallerSession) Name() (string, error)

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

Solidity: function name() view returns(string)

func (*TFCTokenCallerSession) PAUSERROLE

func (_TFCToken *TFCTokenCallerSession) PAUSERROLE() ([32]byte, error)

PAUSERROLE is a free data retrieval call binding the contract method 0xe63ab1e9.

Solidity: function PAUSER_ROLE() view returns(bytes32)

func (*TFCTokenCallerSession) Paused

func (_TFCToken *TFCTokenCallerSession) Paused() (bool, error)

Paused is a free data retrieval call binding the contract method 0x5c975abb.

Solidity: function paused() view returns(bool)

func (*TFCTokenCallerSession) Symbol

func (_TFCToken *TFCTokenCallerSession) Symbol() (string, error)

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

Solidity: function symbol() view returns(string)

func (*TFCTokenCallerSession) TotalSupply

func (_TFCToken *TFCTokenCallerSession) TotalSupply() (*big.Int, error)

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

Solidity: function totalSupply() view returns(uint256)

type TFCTokenFilterer

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

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

func NewTFCTokenFilterer

func NewTFCTokenFilterer(address common.Address, filterer bind.ContractFilterer) (*TFCTokenFilterer, error)

NewTFCTokenFilterer creates a new log filterer instance of TFCToken, bound to a specific deployed contract.

func (*TFCTokenFilterer) FilterApproval

func (_TFCToken *TFCTokenFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*TFCTokenApprovalIterator, 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 (*TFCTokenFilterer) FilterPaused

func (_TFCToken *TFCTokenFilterer) FilterPaused(opts *bind.FilterOpts) (*TFCTokenPausedIterator, error)

FilterPaused is a free log retrieval operation binding the contract event 0x62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258.

Solidity: event Paused(address account)

func (*TFCTokenFilterer) FilterRoleAdminChanged

func (_TFCToken *TFCTokenFilterer) FilterRoleAdminChanged(opts *bind.FilterOpts, role [][32]byte, previousAdminRole [][32]byte, newAdminRole [][32]byte) (*TFCTokenRoleAdminChangedIterator, error)

FilterRoleAdminChanged is a free log retrieval operation binding the contract event 0xbd79b86ffe0ab8e8776151514217cd7cacd52c909f66475c3af44e129f0b00ff.

Solidity: event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole)

func (*TFCTokenFilterer) FilterRoleGranted

func (_TFCToken *TFCTokenFilterer) FilterRoleGranted(opts *bind.FilterOpts, role [][32]byte, account []common.Address, sender []common.Address) (*TFCTokenRoleGrantedIterator, error)

FilterRoleGranted is a free log retrieval operation binding the contract event 0x2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d.

Solidity: event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender)

func (*TFCTokenFilterer) FilterRoleRevoked

func (_TFCToken *TFCTokenFilterer) FilterRoleRevoked(opts *bind.FilterOpts, role [][32]byte, account []common.Address, sender []common.Address) (*TFCTokenRoleRevokedIterator, error)

FilterRoleRevoked is a free log retrieval operation binding the contract event 0xf6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b.

Solidity: event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender)

func (*TFCTokenFilterer) FilterTransfer

func (_TFCToken *TFCTokenFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*TFCTokenTransferIterator, 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 (*TFCTokenFilterer) FilterUnpaused

func (_TFCToken *TFCTokenFilterer) FilterUnpaused(opts *bind.FilterOpts) (*TFCTokenUnpausedIterator, error)

FilterUnpaused is a free log retrieval operation binding the contract event 0x5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa.

Solidity: event Unpaused(address account)

func (*TFCTokenFilterer) ParseApproval

func (_TFCToken *TFCTokenFilterer) ParseApproval(log types.Log) (*TFCTokenApproval, error)

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

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

func (*TFCTokenFilterer) ParsePaused

func (_TFCToken *TFCTokenFilterer) ParsePaused(log types.Log) (*TFCTokenPaused, error)

ParsePaused is a log parse operation binding the contract event 0x62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258.

Solidity: event Paused(address account)

func (*TFCTokenFilterer) ParseRoleAdminChanged

func (_TFCToken *TFCTokenFilterer) ParseRoleAdminChanged(log types.Log) (*TFCTokenRoleAdminChanged, error)

ParseRoleAdminChanged is a log parse operation binding the contract event 0xbd79b86ffe0ab8e8776151514217cd7cacd52c909f66475c3af44e129f0b00ff.

Solidity: event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole)

func (*TFCTokenFilterer) ParseRoleGranted

func (_TFCToken *TFCTokenFilterer) ParseRoleGranted(log types.Log) (*TFCTokenRoleGranted, error)

ParseRoleGranted is a log parse operation binding the contract event 0x2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d.

Solidity: event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender)

func (*TFCTokenFilterer) ParseRoleRevoked

func (_TFCToken *TFCTokenFilterer) ParseRoleRevoked(log types.Log) (*TFCTokenRoleRevoked, error)

ParseRoleRevoked is a log parse operation binding the contract event 0xf6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b.

Solidity: event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender)

func (*TFCTokenFilterer) ParseTransfer

func (_TFCToken *TFCTokenFilterer) ParseTransfer(log types.Log) (*TFCTokenTransfer, error)

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

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

func (*TFCTokenFilterer) ParseUnpaused

func (_TFCToken *TFCTokenFilterer) ParseUnpaused(log types.Log) (*TFCTokenUnpaused, error)

ParseUnpaused is a log parse operation binding the contract event 0x5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa.

Solidity: event Unpaused(address account)

func (*TFCTokenFilterer) WatchApproval

func (_TFCToken *TFCTokenFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *TFCTokenApproval, 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 (*TFCTokenFilterer) WatchPaused

func (_TFCToken *TFCTokenFilterer) WatchPaused(opts *bind.WatchOpts, sink chan<- *TFCTokenPaused) (event.Subscription, error)

WatchPaused is a free log subscription operation binding the contract event 0x62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258.

Solidity: event Paused(address account)

func (*TFCTokenFilterer) WatchRoleAdminChanged

func (_TFCToken *TFCTokenFilterer) WatchRoleAdminChanged(opts *bind.WatchOpts, sink chan<- *TFCTokenRoleAdminChanged, role [][32]byte, previousAdminRole [][32]byte, newAdminRole [][32]byte) (event.Subscription, error)

WatchRoleAdminChanged is a free log subscription operation binding the contract event 0xbd79b86ffe0ab8e8776151514217cd7cacd52c909f66475c3af44e129f0b00ff.

Solidity: event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole)

func (*TFCTokenFilterer) WatchRoleGranted

func (_TFCToken *TFCTokenFilterer) WatchRoleGranted(opts *bind.WatchOpts, sink chan<- *TFCTokenRoleGranted, role [][32]byte, account []common.Address, sender []common.Address) (event.Subscription, error)

WatchRoleGranted is a free log subscription operation binding the contract event 0x2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d.

Solidity: event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender)

func (*TFCTokenFilterer) WatchRoleRevoked

func (_TFCToken *TFCTokenFilterer) WatchRoleRevoked(opts *bind.WatchOpts, sink chan<- *TFCTokenRoleRevoked, role [][32]byte, account []common.Address, sender []common.Address) (event.Subscription, error)

WatchRoleRevoked is a free log subscription operation binding the contract event 0xf6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b.

Solidity: event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender)

func (*TFCTokenFilterer) WatchTransfer

func (_TFCToken *TFCTokenFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *TFCTokenTransfer, 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)

func (*TFCTokenFilterer) WatchUnpaused

func (_TFCToken *TFCTokenFilterer) WatchUnpaused(opts *bind.WatchOpts, sink chan<- *TFCTokenUnpaused) (event.Subscription, error)

WatchUnpaused is a free log subscription operation binding the contract event 0x5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa.

Solidity: event Unpaused(address account)

type TFCTokenPaused

type TFCTokenPaused struct {
	Account common.Address
	Raw     types.Log // Blockchain specific contextual infos
}

TFCTokenPaused represents a Paused event raised by the TFCToken contract.

type TFCTokenPausedIterator

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

TFCTokenPausedIterator is returned from FilterPaused and is used to iterate over the raw logs and unpacked data for Paused events raised by the TFCToken contract.

func (*TFCTokenPausedIterator) Close

func (it *TFCTokenPausedIterator) Close() error

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

func (*TFCTokenPausedIterator) Error

func (it *TFCTokenPausedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*TFCTokenPausedIterator) Next

func (it *TFCTokenPausedIterator) 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 TFCTokenRaw

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

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

func (*TFCTokenRaw) Call

func (_TFCToken *TFCTokenRaw) 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 (*TFCTokenRaw) Transact

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

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

func (*TFCTokenRaw) Transfer

func (_TFCToken *TFCTokenRaw) 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 TFCTokenRoleAdminChanged

type TFCTokenRoleAdminChanged struct {
	Role              [32]byte
	PreviousAdminRole [32]byte
	NewAdminRole      [32]byte
	Raw               types.Log // Blockchain specific contextual infos
}

TFCTokenRoleAdminChanged represents a RoleAdminChanged event raised by the TFCToken contract.

type TFCTokenRoleAdminChangedIterator

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

TFCTokenRoleAdminChangedIterator is returned from FilterRoleAdminChanged and is used to iterate over the raw logs and unpacked data for RoleAdminChanged events raised by the TFCToken contract.

func (*TFCTokenRoleAdminChangedIterator) Close

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

func (*TFCTokenRoleAdminChangedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*TFCTokenRoleAdminChangedIterator) 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 TFCTokenRoleGranted

type TFCTokenRoleGranted struct {
	Role    [32]byte
	Account common.Address
	Sender  common.Address
	Raw     types.Log // Blockchain specific contextual infos
}

TFCTokenRoleGranted represents a RoleGranted event raised by the TFCToken contract.

type TFCTokenRoleGrantedIterator

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

TFCTokenRoleGrantedIterator is returned from FilterRoleGranted and is used to iterate over the raw logs and unpacked data for RoleGranted events raised by the TFCToken contract.

func (*TFCTokenRoleGrantedIterator) Close

func (it *TFCTokenRoleGrantedIterator) Close() error

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

func (*TFCTokenRoleGrantedIterator) Error

func (it *TFCTokenRoleGrantedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*TFCTokenRoleGrantedIterator) Next

func (it *TFCTokenRoleGrantedIterator) 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 TFCTokenRoleRevoked

type TFCTokenRoleRevoked struct {
	Role    [32]byte
	Account common.Address
	Sender  common.Address
	Raw     types.Log // Blockchain specific contextual infos
}

TFCTokenRoleRevoked represents a RoleRevoked event raised by the TFCToken contract.

type TFCTokenRoleRevokedIterator

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

TFCTokenRoleRevokedIterator is returned from FilterRoleRevoked and is used to iterate over the raw logs and unpacked data for RoleRevoked events raised by the TFCToken contract.

func (*TFCTokenRoleRevokedIterator) Close

func (it *TFCTokenRoleRevokedIterator) Close() error

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

func (*TFCTokenRoleRevokedIterator) Error

func (it *TFCTokenRoleRevokedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*TFCTokenRoleRevokedIterator) Next

func (it *TFCTokenRoleRevokedIterator) 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 TFCTokenSession

type TFCTokenSession struct {
	Contract     *TFCToken         // 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
}

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

func (*TFCTokenSession) Allowance

func (_TFCToken *TFCTokenSession) 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 (*TFCTokenSession) Approve

func (_TFCToken *TFCTokenSession) 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 (*TFCTokenSession) BURNERROLE added in v0.0.4

func (_TFCToken *TFCTokenSession) BURNERROLE() ([32]byte, error)

BURNERROLE is a free data retrieval call binding the contract method 0x282c51f3.

Solidity: function BURNER_ROLE() view returns(bytes32)

func (*TFCTokenSession) BalanceOf

func (_TFCToken *TFCTokenSession) 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 (*TFCTokenSession) Burn

func (_TFCToken *TFCTokenSession) Burn(amount *big.Int) (*types.Transaction, error)

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

Solidity: function burn(uint256 amount) returns()

func (*TFCTokenSession) BurnFrom

func (_TFCToken *TFCTokenSession) BurnFrom(account common.Address, amount *big.Int) (*types.Transaction, error)

BurnFrom is a paid mutator transaction binding the contract method 0x79cc6790.

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

func (*TFCTokenSession) DEFAULTADMINROLE

func (_TFCToken *TFCTokenSession) DEFAULTADMINROLE() ([32]byte, error)

DEFAULTADMINROLE is a free data retrieval call binding the contract method 0xa217fddf.

Solidity: function DEFAULT_ADMIN_ROLE() view returns(bytes32)

func (*TFCTokenSession) Decimals

func (_TFCToken *TFCTokenSession) Decimals() (uint8, error)

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

Solidity: function decimals() view returns(uint8)

func (*TFCTokenSession) DecreaseAllowance

func (_TFCToken *TFCTokenSession) 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 (*TFCTokenSession) GetRoleAdmin

func (_TFCToken *TFCTokenSession) GetRoleAdmin(role [32]byte) ([32]byte, error)

GetRoleAdmin is a free data retrieval call binding the contract method 0x248a9ca3.

Solidity: function getRoleAdmin(bytes32 role) view returns(bytes32)

func (*TFCTokenSession) GetRoleMember

func (_TFCToken *TFCTokenSession) GetRoleMember(role [32]byte, index *big.Int) (common.Address, error)

GetRoleMember is a free data retrieval call binding the contract method 0x9010d07c.

Solidity: function getRoleMember(bytes32 role, uint256 index) view returns(address)

func (*TFCTokenSession) GetRoleMemberCount

func (_TFCToken *TFCTokenSession) GetRoleMemberCount(role [32]byte) (*big.Int, error)

GetRoleMemberCount is a free data retrieval call binding the contract method 0xca15c873.

Solidity: function getRoleMemberCount(bytes32 role) view returns(uint256)

func (*TFCTokenSession) GrantRole

func (_TFCToken *TFCTokenSession) GrantRole(role [32]byte, account common.Address) (*types.Transaction, error)

GrantRole is a paid mutator transaction binding the contract method 0x2f2ff15d.

Solidity: function grantRole(bytes32 role, address account) returns()

func (*TFCTokenSession) HasRole

func (_TFCToken *TFCTokenSession) HasRole(role [32]byte, account common.Address) (bool, error)

HasRole is a free data retrieval call binding the contract method 0x91d14854.

Solidity: function hasRole(bytes32 role, address account) view returns(bool)

func (*TFCTokenSession) IncreaseAllowance

func (_TFCToken *TFCTokenSession) 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 (*TFCTokenSession) MINTERROLE

func (_TFCToken *TFCTokenSession) MINTERROLE() ([32]byte, error)

MINTERROLE is a free data retrieval call binding the contract method 0xd5391393.

Solidity: function MINTER_ROLE() view returns(bytes32)

func (*TFCTokenSession) Mint

func (_TFCToken *TFCTokenSession) Mint(to common.Address, amount *big.Int) (*types.Transaction, error)

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

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

func (*TFCTokenSession) Name

func (_TFCToken *TFCTokenSession) Name() (string, error)

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

Solidity: function name() view returns(string)

func (*TFCTokenSession) One2manyTransfer added in v0.0.3

func (_TFCToken *TFCTokenSession) One2manyTransfer(tos []common.Address, amounts []*big.Int) (*types.Transaction, error)

One2manyTransfer is a paid mutator transaction binding the contract method 0x436ff61b.

Solidity: function one2manyTransfer(address[] tos, uint256[] amounts) returns(bool)

func (*TFCTokenSession) PAUSERROLE

func (_TFCToken *TFCTokenSession) PAUSERROLE() ([32]byte, error)

PAUSERROLE is a free data retrieval call binding the contract method 0xe63ab1e9.

Solidity: function PAUSER_ROLE() view returns(bytes32)

func (*TFCTokenSession) Pause

func (_TFCToken *TFCTokenSession) Pause() (*types.Transaction, error)

Pause is a paid mutator transaction binding the contract method 0x8456cb59.

Solidity: function pause() returns()

func (*TFCTokenSession) Paused

func (_TFCToken *TFCTokenSession) Paused() (bool, error)

Paused is a free data retrieval call binding the contract method 0x5c975abb.

Solidity: function paused() view returns(bool)

func (*TFCTokenSession) RenounceRole

func (_TFCToken *TFCTokenSession) RenounceRole(role [32]byte, account common.Address) (*types.Transaction, error)

RenounceRole is a paid mutator transaction binding the contract method 0x36568abe.

Solidity: function renounceRole(bytes32 role, address account) returns()

func (*TFCTokenSession) RevokeRole

func (_TFCToken *TFCTokenSession) RevokeRole(role [32]byte, account common.Address) (*types.Transaction, error)

RevokeRole is a paid mutator transaction binding the contract method 0xd547741f.

Solidity: function revokeRole(bytes32 role, address account) returns()

func (*TFCTokenSession) Symbol

func (_TFCToken *TFCTokenSession) Symbol() (string, error)

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

Solidity: function symbol() view returns(string)

func (*TFCTokenSession) TotalSupply

func (_TFCToken *TFCTokenSession) TotalSupply() (*big.Int, error)

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

Solidity: function totalSupply() view returns(uint256)

func (*TFCTokenSession) Transfer

func (_TFCToken *TFCTokenSession) 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 (*TFCTokenSession) TransferFrom

func (_TFCToken *TFCTokenSession) 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 (*TFCTokenSession) Unpause

func (_TFCToken *TFCTokenSession) Unpause() (*types.Transaction, error)

Unpause is a paid mutator transaction binding the contract method 0x3f4ba83a.

Solidity: function unpause() returns()

type TFCTokenTransactor

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

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

func NewTFCTokenTransactor

func NewTFCTokenTransactor(address common.Address, transactor bind.ContractTransactor) (*TFCTokenTransactor, error)

NewTFCTokenTransactor creates a new write-only instance of TFCToken, bound to a specific deployed contract.

func (*TFCTokenTransactor) Approve

func (_TFCToken *TFCTokenTransactor) 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 (*TFCTokenTransactor) Burn

func (_TFCToken *TFCTokenTransactor) Burn(opts *bind.TransactOpts, amount *big.Int) (*types.Transaction, error)

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

Solidity: function burn(uint256 amount) returns()

func (*TFCTokenTransactor) BurnFrom

func (_TFCToken *TFCTokenTransactor) BurnFrom(opts *bind.TransactOpts, account common.Address, amount *big.Int) (*types.Transaction, error)

BurnFrom is a paid mutator transaction binding the contract method 0x79cc6790.

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

func (*TFCTokenTransactor) DecreaseAllowance

func (_TFCToken *TFCTokenTransactor) 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 (*TFCTokenTransactor) GrantRole

func (_TFCToken *TFCTokenTransactor) GrantRole(opts *bind.TransactOpts, role [32]byte, account common.Address) (*types.Transaction, error)

GrantRole is a paid mutator transaction binding the contract method 0x2f2ff15d.

Solidity: function grantRole(bytes32 role, address account) returns()

func (*TFCTokenTransactor) IncreaseAllowance

func (_TFCToken *TFCTokenTransactor) 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 (*TFCTokenTransactor) Mint

func (_TFCToken *TFCTokenTransactor) Mint(opts *bind.TransactOpts, to common.Address, amount *big.Int) (*types.Transaction, error)

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

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

func (*TFCTokenTransactor) One2manyTransfer added in v0.0.3

func (_TFCToken *TFCTokenTransactor) One2manyTransfer(opts *bind.TransactOpts, tos []common.Address, amounts []*big.Int) (*types.Transaction, error)

One2manyTransfer is a paid mutator transaction binding the contract method 0x436ff61b.

Solidity: function one2manyTransfer(address[] tos, uint256[] amounts) returns(bool)

func (*TFCTokenTransactor) Pause

func (_TFCToken *TFCTokenTransactor) Pause(opts *bind.TransactOpts) (*types.Transaction, error)

Pause is a paid mutator transaction binding the contract method 0x8456cb59.

Solidity: function pause() returns()

func (*TFCTokenTransactor) RenounceRole

func (_TFCToken *TFCTokenTransactor) RenounceRole(opts *bind.TransactOpts, role [32]byte, account common.Address) (*types.Transaction, error)

RenounceRole is a paid mutator transaction binding the contract method 0x36568abe.

Solidity: function renounceRole(bytes32 role, address account) returns()

func (*TFCTokenTransactor) RevokeRole

func (_TFCToken *TFCTokenTransactor) RevokeRole(opts *bind.TransactOpts, role [32]byte, account common.Address) (*types.Transaction, error)

RevokeRole is a paid mutator transaction binding the contract method 0xd547741f.

Solidity: function revokeRole(bytes32 role, address account) returns()

func (*TFCTokenTransactor) Transfer

func (_TFCToken *TFCTokenTransactor) 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 (*TFCTokenTransactor) TransferFrom

func (_TFCToken *TFCTokenTransactor) 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 (*TFCTokenTransactor) Unpause

func (_TFCToken *TFCTokenTransactor) Unpause(opts *bind.TransactOpts) (*types.Transaction, error)

Unpause is a paid mutator transaction binding the contract method 0x3f4ba83a.

Solidity: function unpause() returns()

type TFCTokenTransactorRaw

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

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

func (*TFCTokenTransactorRaw) Transact

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

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

func (*TFCTokenTransactorRaw) Transfer

func (_TFCToken *TFCTokenTransactorRaw) 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 TFCTokenTransactorSession

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

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

func (*TFCTokenTransactorSession) Approve

func (_TFCToken *TFCTokenTransactorSession) 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 (*TFCTokenTransactorSession) Burn

func (_TFCToken *TFCTokenTransactorSession) Burn(amount *big.Int) (*types.Transaction, error)

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

Solidity: function burn(uint256 amount) returns()

func (*TFCTokenTransactorSession) BurnFrom

func (_TFCToken *TFCTokenTransactorSession) BurnFrom(account common.Address, amount *big.Int) (*types.Transaction, error)

BurnFrom is a paid mutator transaction binding the contract method 0x79cc6790.

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

func (*TFCTokenTransactorSession) DecreaseAllowance

func (_TFCToken *TFCTokenTransactorSession) 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 (*TFCTokenTransactorSession) GrantRole

func (_TFCToken *TFCTokenTransactorSession) GrantRole(role [32]byte, account common.Address) (*types.Transaction, error)

GrantRole is a paid mutator transaction binding the contract method 0x2f2ff15d.

Solidity: function grantRole(bytes32 role, address account) returns()

func (*TFCTokenTransactorSession) IncreaseAllowance

func (_TFCToken *TFCTokenTransactorSession) 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 (*TFCTokenTransactorSession) Mint

func (_TFCToken *TFCTokenTransactorSession) Mint(to common.Address, amount *big.Int) (*types.Transaction, error)

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

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

func (*TFCTokenTransactorSession) One2manyTransfer added in v0.0.3

func (_TFCToken *TFCTokenTransactorSession) One2manyTransfer(tos []common.Address, amounts []*big.Int) (*types.Transaction, error)

One2manyTransfer is a paid mutator transaction binding the contract method 0x436ff61b.

Solidity: function one2manyTransfer(address[] tos, uint256[] amounts) returns(bool)

func (*TFCTokenTransactorSession) Pause

func (_TFCToken *TFCTokenTransactorSession) Pause() (*types.Transaction, error)

Pause is a paid mutator transaction binding the contract method 0x8456cb59.

Solidity: function pause() returns()

func (*TFCTokenTransactorSession) RenounceRole

func (_TFCToken *TFCTokenTransactorSession) RenounceRole(role [32]byte, account common.Address) (*types.Transaction, error)

RenounceRole is a paid mutator transaction binding the contract method 0x36568abe.

Solidity: function renounceRole(bytes32 role, address account) returns()

func (*TFCTokenTransactorSession) RevokeRole

func (_TFCToken *TFCTokenTransactorSession) RevokeRole(role [32]byte, account common.Address) (*types.Transaction, error)

RevokeRole is a paid mutator transaction binding the contract method 0xd547741f.

Solidity: function revokeRole(bytes32 role, address account) returns()

func (*TFCTokenTransactorSession) Transfer

func (_TFCToken *TFCTokenTransactorSession) 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 (*TFCTokenTransactorSession) TransferFrom

func (_TFCToken *TFCTokenTransactorSession) 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 (*TFCTokenTransactorSession) Unpause

func (_TFCToken *TFCTokenTransactorSession) Unpause() (*types.Transaction, error)

Unpause is a paid mutator transaction binding the contract method 0x3f4ba83a.

Solidity: function unpause() returns()

type TFCTokenTransfer

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

TFCTokenTransfer represents a Transfer event raised by the TFCToken contract.

type TFCTokenTransferIterator

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

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

func (*TFCTokenTransferIterator) Close

func (it *TFCTokenTransferIterator) Close() error

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

func (*TFCTokenTransferIterator) Error

func (it *TFCTokenTransferIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*TFCTokenTransferIterator) Next

func (it *TFCTokenTransferIterator) 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 TFCTokenUnpaused

type TFCTokenUnpaused struct {
	Account common.Address
	Raw     types.Log // Blockchain specific contextual infos
}

TFCTokenUnpaused represents a Unpaused event raised by the TFCToken contract.

type TFCTokenUnpausedIterator

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

TFCTokenUnpausedIterator is returned from FilterUnpaused and is used to iterate over the raw logs and unpacked data for Unpaused events raised by the TFCToken contract.

func (*TFCTokenUnpausedIterator) Close

func (it *TFCTokenUnpausedIterator) Close() error

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

func (*TFCTokenUnpausedIterator) Error

func (it *TFCTokenUnpausedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*TFCTokenUnpausedIterator) Next

func (it *TFCTokenUnpausedIterator) 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