token

package
v0.0.0-...-3ed91c8 Latest Latest
Warning

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

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

Documentation

Index

Constants

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

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

Variables

This section is empty.

Functions

This section is empty.

Types

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 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) 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) 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) 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) 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) 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) 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