wtoken

package
v1.5.2 Latest Latest
Warning

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

Go to latest
Published: Aug 18, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const WtokenABI = "" /* 7523-byte string literal not displayed */

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

Variables

This section is empty.

Functions

This section is empty.

Types

type Wtoken

type Wtoken struct {
	WtokenCaller     // Read-only binding to the contract
	WtokenTransactor // Write-only binding to the contract
	WtokenFilterer   // Log filterer for contract events
}

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

func NewWtoken

func NewWtoken(address common.Address, backend bind.ContractBackend) (*Wtoken, error)

NewWtoken creates a new instance of Wtoken, bound to a specific deployed contract.

type WtokenApproval

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

WtokenApproval represents a Approval event raised by the Wtoken contract.

type WtokenApprovalIterator

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

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

func (*WtokenApprovalIterator) Close

func (it *WtokenApprovalIterator) Close() error

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

func (*WtokenApprovalIterator) Error

func (it *WtokenApprovalIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*WtokenApprovalIterator) Next

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

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

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

func NewWtokenCaller

func NewWtokenCaller(address common.Address, caller bind.ContractCaller) (*WtokenCaller, error)

NewWtokenCaller creates a new read-only instance of Wtoken, bound to a specific deployed contract.

func (*WtokenCaller) Allowance

func (_Wtoken *WtokenCaller) 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 (*WtokenCaller) BalanceOf

func (_Wtoken *WtokenCaller) 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 (*WtokenCaller) Controller

func (_Wtoken *WtokenCaller) Controller(opts *bind.CallOpts) (common.Address, error)

Controller is a free data retrieval call binding the contract method 0xf77c4791.

Solidity: function controller() view returns(address)

func (*WtokenCaller) Decimals

func (_Wtoken *WtokenCaller) 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 (*WtokenCaller) DomainSeparators

func (_Wtoken *WtokenCaller) DomainSeparators(opts *bind.CallOpts, arg0 *big.Int) ([32]byte, error)

DomainSeparators is a free data retrieval call binding the contract method 0x99740a18.

Solidity: function domainSeparators(uint256 ) view returns(bytes32)

func (*WtokenCaller) Name

func (_Wtoken *WtokenCaller) 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 (*WtokenCaller) Nonces

func (_Wtoken *WtokenCaller) Nonces(opts *bind.CallOpts, owner common.Address) (*big.Int, error)

Nonces is a free data retrieval call binding the contract method 0x7ecebe00.

Solidity: function nonces(address owner) view returns(uint256)

func (*WtokenCaller) Owner

func (_Wtoken *WtokenCaller) Owner(opts *bind.CallOpts) (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*WtokenCaller) Paused

func (_Wtoken *WtokenCaller) 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 (*WtokenCaller) Symbol

func (_Wtoken *WtokenCaller) 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 (*WtokenCaller) TotalSupply

func (_Wtoken *WtokenCaller) 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 WtokenCallerRaw

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

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

func (*WtokenCallerRaw) Call

func (_Wtoken *WtokenCallerRaw) 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 WtokenCallerSession

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

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

func (*WtokenCallerSession) Allowance

func (_Wtoken *WtokenCallerSession) 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 (*WtokenCallerSession) BalanceOf

func (_Wtoken *WtokenCallerSession) 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 (*WtokenCallerSession) Controller

func (_Wtoken *WtokenCallerSession) Controller() (common.Address, error)

Controller is a free data retrieval call binding the contract method 0xf77c4791.

Solidity: function controller() view returns(address)

func (*WtokenCallerSession) Decimals

func (_Wtoken *WtokenCallerSession) Decimals() (uint8, error)

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

Solidity: function decimals() view returns(uint8)

func (*WtokenCallerSession) DomainSeparators

func (_Wtoken *WtokenCallerSession) DomainSeparators(arg0 *big.Int) ([32]byte, error)

DomainSeparators is a free data retrieval call binding the contract method 0x99740a18.

Solidity: function domainSeparators(uint256 ) view returns(bytes32)

func (*WtokenCallerSession) Name

func (_Wtoken *WtokenCallerSession) Name() (string, error)

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

Solidity: function name() view returns(string)

func (*WtokenCallerSession) Nonces

func (_Wtoken *WtokenCallerSession) Nonces(owner common.Address) (*big.Int, error)

Nonces is a free data retrieval call binding the contract method 0x7ecebe00.

Solidity: function nonces(address owner) view returns(uint256)

func (*WtokenCallerSession) Owner

func (_Wtoken *WtokenCallerSession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*WtokenCallerSession) Paused

func (_Wtoken *WtokenCallerSession) Paused() (bool, error)

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

Solidity: function paused() view returns(bool)

func (*WtokenCallerSession) Symbol

func (_Wtoken *WtokenCallerSession) Symbol() (string, error)

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

Solidity: function symbol() view returns(string)

func (*WtokenCallerSession) TotalSupply

func (_Wtoken *WtokenCallerSession) TotalSupply() (*big.Int, error)

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

Solidity: function totalSupply() view returns(uint256)

type WtokenControllerSet

type WtokenControllerSet struct {
	NewController common.Address
	Raw           types.Log // Blockchain specific contextual infos
}

WtokenControllerSet represents a ControllerSet event raised by the Wtoken contract.

type WtokenControllerSetIterator

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

WtokenControllerSetIterator is returned from FilterControllerSet and is used to iterate over the raw logs and unpacked data for ControllerSet events raised by the Wtoken contract.

func (*WtokenControllerSetIterator) Close

func (it *WtokenControllerSetIterator) Close() error

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

func (*WtokenControllerSetIterator) Error

func (it *WtokenControllerSetIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*WtokenControllerSetIterator) Next

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

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

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

func NewWtokenFilterer

func NewWtokenFilterer(address common.Address, filterer bind.ContractFilterer) (*WtokenFilterer, error)

NewWtokenFilterer creates a new log filterer instance of Wtoken, bound to a specific deployed contract.

func (*WtokenFilterer) FilterApproval

func (_Wtoken *WtokenFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*WtokenApprovalIterator, 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 (*WtokenFilterer) FilterControllerSet

func (_Wtoken *WtokenFilterer) FilterControllerSet(opts *bind.FilterOpts, newController []common.Address) (*WtokenControllerSetIterator, error)

FilterControllerSet is a free log retrieval operation binding the contract event 0x79f74fd5964b6943d8a1865abfb7f668c92fa3f32c0a2e3195da7d0946703ad7.

Solidity: event ControllerSet(address indexed newController)

func (*WtokenFilterer) FilterOwnershipTransferred

func (_Wtoken *WtokenFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*WtokenOwnershipTransferredIterator, error)

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

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

func (*WtokenFilterer) FilterPaused

func (_Wtoken *WtokenFilterer) FilterPaused(opts *bind.FilterOpts) (*WtokenPausedIterator, error)

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

Solidity: event Paused(address account)

func (*WtokenFilterer) FilterTransfer

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

func (_Wtoken *WtokenFilterer) FilterUnpaused(opts *bind.FilterOpts) (*WtokenUnpausedIterator, error)

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

Solidity: event Unpaused(address account)

func (*WtokenFilterer) ParseApproval

func (_Wtoken *WtokenFilterer) ParseApproval(log types.Log) (*WtokenApproval, error)

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

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

func (*WtokenFilterer) ParseControllerSet

func (_Wtoken *WtokenFilterer) ParseControllerSet(log types.Log) (*WtokenControllerSet, error)

ParseControllerSet is a log parse operation binding the contract event 0x79f74fd5964b6943d8a1865abfb7f668c92fa3f32c0a2e3195da7d0946703ad7.

Solidity: event ControllerSet(address indexed newController)

func (*WtokenFilterer) ParseOwnershipTransferred

func (_Wtoken *WtokenFilterer) ParseOwnershipTransferred(log types.Log) (*WtokenOwnershipTransferred, error)

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

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

func (*WtokenFilterer) ParsePaused

func (_Wtoken *WtokenFilterer) ParsePaused(log types.Log) (*WtokenPaused, error)

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

Solidity: event Paused(address account)

func (*WtokenFilterer) ParseTransfer

func (_Wtoken *WtokenFilterer) ParseTransfer(log types.Log) (*WtokenTransfer, error)

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

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

func (*WtokenFilterer) ParseUnpaused

func (_Wtoken *WtokenFilterer) ParseUnpaused(log types.Log) (*WtokenUnpaused, error)

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

Solidity: event Unpaused(address account)

func (*WtokenFilterer) WatchApproval

func (_Wtoken *WtokenFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *WtokenApproval, 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 (*WtokenFilterer) WatchControllerSet

func (_Wtoken *WtokenFilterer) WatchControllerSet(opts *bind.WatchOpts, sink chan<- *WtokenControllerSet, newController []common.Address) (event.Subscription, error)

WatchControllerSet is a free log subscription operation binding the contract event 0x79f74fd5964b6943d8a1865abfb7f668c92fa3f32c0a2e3195da7d0946703ad7.

Solidity: event ControllerSet(address indexed newController)

func (*WtokenFilterer) WatchOwnershipTransferred

func (_Wtoken *WtokenFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *WtokenOwnershipTransferred, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error)

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

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

func (*WtokenFilterer) WatchPaused

func (_Wtoken *WtokenFilterer) WatchPaused(opts *bind.WatchOpts, sink chan<- *WtokenPaused) (event.Subscription, error)

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

Solidity: event Paused(address account)

func (*WtokenFilterer) WatchTransfer

func (_Wtoken *WtokenFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *WtokenTransfer, 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 (*WtokenFilterer) WatchUnpaused

func (_Wtoken *WtokenFilterer) WatchUnpaused(opts *bind.WatchOpts, sink chan<- *WtokenUnpaused) (event.Subscription, error)

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

Solidity: event Unpaused(address account)

type WtokenOwnershipTransferred

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

WtokenOwnershipTransferred represents a OwnershipTransferred event raised by the Wtoken contract.

type WtokenOwnershipTransferredIterator

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

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

func (*WtokenOwnershipTransferredIterator) Close

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

func (*WtokenOwnershipTransferredIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*WtokenOwnershipTransferredIterator) 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 WtokenPaused

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

WtokenPaused represents a Paused event raised by the Wtoken contract.

type WtokenPausedIterator

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

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

func (*WtokenPausedIterator) Close

func (it *WtokenPausedIterator) Close() error

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

func (*WtokenPausedIterator) Error

func (it *WtokenPausedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*WtokenPausedIterator) Next

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

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

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

func (*WtokenRaw) Call

func (_Wtoken *WtokenRaw) 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 (*WtokenRaw) Transact

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

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

func (*WtokenRaw) Transfer

func (_Wtoken *WtokenRaw) 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 WtokenSession

type WtokenSession struct {
	Contract     *Wtoken           // 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
}

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

func (*WtokenSession) Allowance

func (_Wtoken *WtokenSession) 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 (*WtokenSession) Approve

func (_Wtoken *WtokenSession) 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 (*WtokenSession) BalanceOf

func (_Wtoken *WtokenSession) 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 (*WtokenSession) BurnFrom

func (_Wtoken *WtokenSession) 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 (*WtokenSession) Controller

func (_Wtoken *WtokenSession) Controller() (common.Address, error)

Controller is a free data retrieval call binding the contract method 0xf77c4791.

Solidity: function controller() view returns(address)

func (*WtokenSession) Decimals

func (_Wtoken *WtokenSession) Decimals() (uint8, error)

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

Solidity: function decimals() view returns(uint8)

func (*WtokenSession) DecreaseAllowance

func (_Wtoken *WtokenSession) 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 (*WtokenSession) DomainSeparators

func (_Wtoken *WtokenSession) DomainSeparators(arg0 *big.Int) ([32]byte, error)

DomainSeparators is a free data retrieval call binding the contract method 0x99740a18.

Solidity: function domainSeparators(uint256 ) view returns(bytes32)

func (*WtokenSession) IncreaseAllowance

func (_Wtoken *WtokenSession) 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 (*WtokenSession) Mint

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

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

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

func (*WtokenSession) Name

func (_Wtoken *WtokenSession) Name() (string, error)

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

Solidity: function name() view returns(string)

func (*WtokenSession) Nonces

func (_Wtoken *WtokenSession) Nonces(owner common.Address) (*big.Int, error)

Nonces is a free data retrieval call binding the contract method 0x7ecebe00.

Solidity: function nonces(address owner) view returns(uint256)

func (*WtokenSession) Owner

func (_Wtoken *WtokenSession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*WtokenSession) Pause

func (_Wtoken *WtokenSession) Pause() (*types.Transaction, error)

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

Solidity: function pause() returns()

func (*WtokenSession) Paused

func (_Wtoken *WtokenSession) Paused() (bool, error)

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

Solidity: function paused() view returns(bool)

func (*WtokenSession) Permit

func (_Wtoken *WtokenSession) Permit(owner common.Address, spender common.Address, amount *big.Int, deadline *big.Int, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)

Permit is a paid mutator transaction binding the contract method 0xd505accf.

Solidity: function permit(address owner, address spender, uint256 amount, uint256 deadline, uint8 v, bytes32 r, bytes32 s) returns()

func (*WtokenSession) RenounceOwnership

func (_Wtoken *WtokenSession) RenounceOwnership() (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*WtokenSession) SetController

func (_Wtoken *WtokenSession) SetController(_controller common.Address) (*types.Transaction, error)

SetController is a paid mutator transaction binding the contract method 0x92eefe9b.

Solidity: function setController(address _controller) returns()

func (*WtokenSession) Symbol

func (_Wtoken *WtokenSession) Symbol() (string, error)

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

Solidity: function symbol() view returns(string)

func (*WtokenSession) TotalSupply

func (_Wtoken *WtokenSession) TotalSupply() (*big.Int, error)

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

Solidity: function totalSupply() view returns(uint256)

func (*WtokenSession) Transfer

func (_Wtoken *WtokenSession) 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 (*WtokenSession) TransferFrom

func (_Wtoken *WtokenSession) 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 (*WtokenSession) TransferOwnership

func (_Wtoken *WtokenSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)

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

Solidity: function transferOwnership(address newOwner) returns()

func (*WtokenSession) Unpause

func (_Wtoken *WtokenSession) Unpause() (*types.Transaction, error)

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

Solidity: function unpause() returns()

type WtokenTransactor

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

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

func NewWtokenTransactor

func NewWtokenTransactor(address common.Address, transactor bind.ContractTransactor) (*WtokenTransactor, error)

NewWtokenTransactor creates a new write-only instance of Wtoken, bound to a specific deployed contract.

func (*WtokenTransactor) Approve

func (_Wtoken *WtokenTransactor) 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 (*WtokenTransactor) BurnFrom

func (_Wtoken *WtokenTransactor) 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 (*WtokenTransactor) DecreaseAllowance

func (_Wtoken *WtokenTransactor) 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 (*WtokenTransactor) IncreaseAllowance

func (_Wtoken *WtokenTransactor) 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 (*WtokenTransactor) Mint

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

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

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

func (*WtokenTransactor) Pause

func (_Wtoken *WtokenTransactor) Pause(opts *bind.TransactOpts) (*types.Transaction, error)

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

Solidity: function pause() returns()

func (*WtokenTransactor) Permit

func (_Wtoken *WtokenTransactor) Permit(opts *bind.TransactOpts, owner common.Address, spender common.Address, amount *big.Int, deadline *big.Int, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)

Permit is a paid mutator transaction binding the contract method 0xd505accf.

Solidity: function permit(address owner, address spender, uint256 amount, uint256 deadline, uint8 v, bytes32 r, bytes32 s) returns()

func (*WtokenTransactor) RenounceOwnership

func (_Wtoken *WtokenTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*WtokenTransactor) SetController

func (_Wtoken *WtokenTransactor) SetController(opts *bind.TransactOpts, _controller common.Address) (*types.Transaction, error)

SetController is a paid mutator transaction binding the contract method 0x92eefe9b.

Solidity: function setController(address _controller) returns()

func (*WtokenTransactor) Transfer

func (_Wtoken *WtokenTransactor) 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 (*WtokenTransactor) TransferFrom

func (_Wtoken *WtokenTransactor) 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 (*WtokenTransactor) TransferOwnership

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

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

Solidity: function transferOwnership(address newOwner) returns()

func (*WtokenTransactor) Unpause

func (_Wtoken *WtokenTransactor) Unpause(opts *bind.TransactOpts) (*types.Transaction, error)

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

Solidity: function unpause() returns()

type WtokenTransactorRaw

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

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

func (*WtokenTransactorRaw) Transact

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

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

func (*WtokenTransactorRaw) Transfer

func (_Wtoken *WtokenTransactorRaw) 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 WtokenTransactorSession

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

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

func (*WtokenTransactorSession) Approve

func (_Wtoken *WtokenTransactorSession) 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 (*WtokenTransactorSession) BurnFrom

func (_Wtoken *WtokenTransactorSession) 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 (*WtokenTransactorSession) DecreaseAllowance

func (_Wtoken *WtokenTransactorSession) 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 (*WtokenTransactorSession) IncreaseAllowance

func (_Wtoken *WtokenTransactorSession) 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 (*WtokenTransactorSession) Mint

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

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

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

func (*WtokenTransactorSession) Pause

func (_Wtoken *WtokenTransactorSession) Pause() (*types.Transaction, error)

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

Solidity: function pause() returns()

func (*WtokenTransactorSession) Permit

func (_Wtoken *WtokenTransactorSession) Permit(owner common.Address, spender common.Address, amount *big.Int, deadline *big.Int, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)

Permit is a paid mutator transaction binding the contract method 0xd505accf.

Solidity: function permit(address owner, address spender, uint256 amount, uint256 deadline, uint8 v, bytes32 r, bytes32 s) returns()

func (*WtokenTransactorSession) RenounceOwnership

func (_Wtoken *WtokenTransactorSession) RenounceOwnership() (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*WtokenTransactorSession) SetController

func (_Wtoken *WtokenTransactorSession) SetController(_controller common.Address) (*types.Transaction, error)

SetController is a paid mutator transaction binding the contract method 0x92eefe9b.

Solidity: function setController(address _controller) returns()

func (*WtokenTransactorSession) Transfer

func (_Wtoken *WtokenTransactorSession) 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 (*WtokenTransactorSession) TransferFrom

func (_Wtoken *WtokenTransactorSession) 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 (*WtokenTransactorSession) TransferOwnership

func (_Wtoken *WtokenTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)

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

Solidity: function transferOwnership(address newOwner) returns()

func (*WtokenTransactorSession) Unpause

func (_Wtoken *WtokenTransactorSession) Unpause() (*types.Transaction, error)

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

Solidity: function unpause() returns()

type WtokenTransfer

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

WtokenTransfer represents a Transfer event raised by the Wtoken contract.

type WtokenTransferIterator

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

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

func (*WtokenTransferIterator) Close

func (it *WtokenTransferIterator) Close() error

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

func (*WtokenTransferIterator) Error

func (it *WtokenTransferIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*WtokenTransferIterator) Next

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

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

WtokenUnpaused represents a Unpaused event raised by the Wtoken contract.

type WtokenUnpausedIterator

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

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

func (*WtokenUnpausedIterator) Close

func (it *WtokenUnpausedIterator) Close() error

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

func (*WtokenUnpausedIterator) Error

func (it *WtokenUnpausedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*WtokenUnpausedIterator) Next

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