oep4_abi

package
v0.0.0-...-e558250 Latest Latest
Warning

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

Go to latest
Published: Dec 8, 2020 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const ContextABI = "[{\"inputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"}]"

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

View Source
const ERC20ABI = "" /* 2579-byte string literal not displayed */

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

View Source
const ERC20DetailedABI = "" /* 2752-byte string literal not displayed */

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

View Source
const IERC20ABI = "" /* 2016-byte string literal not displayed */

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

View Source
const OEP4TemplateABI = "" /* 3877-byte string literal not displayed */

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

View Source
const SafeMathABI = "[]"

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

Variables

View Source
var ERC20Bin = "" /* 4546-byte string literal not displayed */

ERC20Bin is the compiled bytecode used for deploying new contracts.

View Source
var ERC20DetailedFuncSigs = map[string]string{
	"852d9213": "allowance(address,address)",
	"1f2d4860": "approve(address,uint256)",
	"cc8be70e": "balanceOf(address)",
	"46b13615": "decimals()",
	"b11b6883": "name()",
	"5bfa2796": "symbol()",
	"0256e278": "totalSupply()",
	"6904e965": "transfer(address,uint256)",
	"ad8a9731": "transferFrom(address,address,uint256)",
}

ERC20DetailedFuncSigs maps the 4-byte function signature to its string representation.

View Source
var ERC20FuncSigs = map[string]string{
	"852d9213": "allowance(address,address)",
	"1f2d4860": "approve(address,uint256)",
	"cc8be70e": "balanceOf(address)",
	"13a1aa5c": "decreaseAllowance(address,uint256)",
	"4d2e8120": "increaseAllowance(address,uint256)",
	"0256e278": "totalSupply()",
	"6904e965": "transfer(address,uint256)",
	"ad8a9731": "transferFrom(address,address,uint256)",
}

ERC20FuncSigs maps the 4-byte function signature to its string representation.

View Source
var IERC20FuncSigs = map[string]string{
	"852d9213": "allowance(address,address)",
	"1f2d4860": "approve(address,uint256)",
	"cc8be70e": "balanceOf(address)",
	"0256e278": "totalSupply()",
	"6904e965": "transfer(address,uint256)",
	"ad8a9731": "transferFrom(address,address,uint256)",
}

IERC20FuncSigs maps the 4-byte function signature to its string representation.

View Source
var OEP4TemplateBin = "" /* 8924-byte string literal not displayed */

OEP4TemplateBin is the compiled bytecode used for deploying new contracts.

View Source
var OEP4TemplateFuncSigs = map[string]string{
	"3a7faf63": "Operator()",
	"852d9213": "allowance(address,address)",
	"1f2d4860": "approve(address,uint256)",
	"cc8be70e": "balanceOf(address)",
	"46b13615": "decimals()",
	"13a1aa5c": "decreaseAllowance(address,uint256)",
	"2f361b27": "deletageToProxy(address,uint256)",
	"4d2e8120": "increaseAllowance(address,uint256)",
	"b11b6883": "name()",
	"0bd04123": "proxyHash()",
	"5bfa2796": "symbol()",
	"0256e278": "totalSupply()",
	"6904e965": "transfer(address,uint256)",
	"ad8a9731": "transferFrom(address,address,uint256)",
}

OEP4TemplateFuncSigs maps the 4-byte function signature to its string representation.

View Source
var SafeMathBin = "" /* 242-byte string literal not displayed */

SafeMathBin is the compiled bytecode used for deploying new contracts.

Functions

func AsyncDeployERC20

func AsyncDeployERC20(auth *bind.TransactOpts, handler func(*types.Receipt, error), backend bind.ContractBackend) (*types.Transaction, error)

func AsyncDeployOEP4Template

func AsyncDeployOEP4Template(auth *bind.TransactOpts, handler func(*types.Receipt, error), backend bind.ContractBackend, proxyContractAddress common.Address) (*types.Transaction, error)

func AsyncDeploySafeMath

func AsyncDeploySafeMath(auth *bind.TransactOpts, handler func(*types.Receipt, error), backend bind.ContractBackend) (*types.Transaction, error)

Types

type Context

type Context struct {
	ContextCaller     // Read-only binding to the contract
	ContextTransactor // Write-only binding to the contract
	ContextFilterer   // Log filterer for contract events
}

Context is an auto generated Go binding around a Solidity contract.

func NewContext

func NewContext(address common.Address, backend bind.ContractBackend) (*Context, error)

NewContext creates a new instance of Context, bound to a specific deployed contract.

type ContextCaller

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

ContextCaller is an auto generated read-only Go binding around a Solidity contract.

func NewContextCaller

func NewContextCaller(address common.Address, caller bind.ContractCaller) (*ContextCaller, error)

NewContextCaller creates a new read-only instance of Context, bound to a specific deployed contract.

type ContextCallerRaw

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

ContextCallerRaw is an auto generated low-level read-only Go binding around a Solidity contract.

func (*ContextCallerRaw) Call

func (_Context *ContextCallerRaw) 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 ContextCallerSession

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

ContextCallerSession is an auto generated read-only Go binding around a Solidity contract, with pre-set call options.

type ContextFilterer

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

ContextFilterer is an auto generated log filtering Go binding around a Solidity contract events.

func NewContextFilterer

func NewContextFilterer(address common.Address, filterer bind.ContractFilterer) (*ContextFilterer, error)

NewContextFilterer creates a new log filterer instance of Context, bound to a specific deployed contract.

type ContextRaw

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

ContextRaw is an auto generated low-level Go binding around a Solidity contract.

func (*ContextRaw) Call

func (_Context *ContextRaw) 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 (*ContextRaw) Transact

func (_Context *ContextRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, *types.Receipt, error)

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

func (*ContextRaw) Transfer

func (_Context *ContextRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, *types.Receipt, error)

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

type ContextSession

type ContextSession struct {
	Contract     *Context          // 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
}

ContextSession is an auto generated Go binding around a Solidity contract, with pre-set call and transact options.

type ContextTransactor

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

ContextTransactor is an auto generated write-only Go binding around a Solidity contract.

func NewContextTransactor

func NewContextTransactor(address common.Address, transactor bind.ContractTransactor) (*ContextTransactor, error)

NewContextTransactor creates a new write-only instance of Context, bound to a specific deployed contract.

type ContextTransactorRaw

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

ContextTransactorRaw is an auto generated low-level write-only Go binding around a Solidity contract.

func (*ContextTransactorRaw) Transact

func (_Context *ContextTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, *types.Receipt, error)

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

func (*ContextTransactorRaw) Transfer

func (_Context *ContextTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, *types.Receipt, error)

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

type ContextTransactorSession

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

ContextTransactorSession is an auto generated write-only Go binding around a Solidity contract, with pre-set transact options.

type ERC20

type ERC20 struct {
	ERC20Caller     // Read-only binding to the contract
	ERC20Transactor // Write-only binding to the contract
	ERC20Filterer   // Log filterer for contract events
}

ERC20 is an auto generated Go binding around a Solidity contract.

func DeployERC20

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

DeployERC20 deploys a new contract, binding an instance of ERC20 to it.

func NewERC20

func NewERC20(address common.Address, backend bind.ContractBackend) (*ERC20, error)

NewERC20 creates a new instance of ERC20, bound to a specific deployed contract.

type ERC20Approval

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

ERC20Approval represents a Approval event raised by the ERC20 contract.

type ERC20ApprovalIterator

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

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

func (*ERC20ApprovalIterator) Close

func (it *ERC20ApprovalIterator) Close() error

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

func (*ERC20ApprovalIterator) Error

func (it *ERC20ApprovalIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*ERC20ApprovalIterator) Next

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

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

ERC20Caller is an auto generated read-only Go binding around a Solidity contract.

func NewERC20Caller

func NewERC20Caller(address common.Address, caller bind.ContractCaller) (*ERC20Caller, error)

NewERC20Caller creates a new read-only instance of ERC20, bound to a specific deployed contract.

func (*ERC20Caller) Allowance

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

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

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

func (*ERC20Caller) BalanceOf

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

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

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

func (*ERC20Caller) TotalSupply

func (_ERC20 *ERC20Caller) TotalSupply(opts *bind.CallOpts) (*big.Int, error)

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

Solidity: function totalSupply() constant returns(uint256)

type ERC20CallerRaw

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

ERC20CallerRaw is an auto generated low-level read-only Go binding around a Solidity contract.

func (*ERC20CallerRaw) Call

func (_ERC20 *ERC20CallerRaw) 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 ERC20CallerSession

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

ERC20CallerSession is an auto generated read-only Go binding around a Solidity contract, with pre-set call options.

func (*ERC20CallerSession) Allowance

func (_ERC20 *ERC20CallerSession) Allowance(owner common.Address, spender common.Address) (*big.Int, error)

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

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

func (*ERC20CallerSession) BalanceOf

func (_ERC20 *ERC20CallerSession) BalanceOf(account common.Address) (*big.Int, error)

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

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

func (*ERC20CallerSession) TotalSupply

func (_ERC20 *ERC20CallerSession) TotalSupply() (*big.Int, error)

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

Solidity: function totalSupply() constant returns(uint256)

type ERC20Detailed

type ERC20Detailed struct {
	ERC20DetailedCaller     // Read-only binding to the contract
	ERC20DetailedTransactor // Write-only binding to the contract
	ERC20DetailedFilterer   // Log filterer for contract events
}

ERC20Detailed is an auto generated Go binding around a Solidity contract.

func NewERC20Detailed

func NewERC20Detailed(address common.Address, backend bind.ContractBackend) (*ERC20Detailed, error)

NewERC20Detailed creates a new instance of ERC20Detailed, bound to a specific deployed contract.

type ERC20DetailedApproval

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

ERC20DetailedApproval represents a Approval event raised by the ERC20Detailed contract.

type ERC20DetailedApprovalIterator

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

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

func (*ERC20DetailedApprovalIterator) Close

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

func (*ERC20DetailedApprovalIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ERC20DetailedApprovalIterator) 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 ERC20DetailedCaller

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

ERC20DetailedCaller is an auto generated read-only Go binding around a Solidity contract.

func NewERC20DetailedCaller

func NewERC20DetailedCaller(address common.Address, caller bind.ContractCaller) (*ERC20DetailedCaller, error)

NewERC20DetailedCaller creates a new read-only instance of ERC20Detailed, bound to a specific deployed contract.

func (*ERC20DetailedCaller) Allowance

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

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

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

func (*ERC20DetailedCaller) BalanceOf

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

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

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

func (*ERC20DetailedCaller) Decimals

func (_ERC20Detailed *ERC20DetailedCaller) Decimals(opts *bind.CallOpts) (uint8, error)

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

Solidity: function decimals() constant returns(uint8)

func (*ERC20DetailedCaller) Name

func (_ERC20Detailed *ERC20DetailedCaller) Name(opts *bind.CallOpts) (string, error)

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

Solidity: function name() constant returns(string)

func (*ERC20DetailedCaller) Symbol

func (_ERC20Detailed *ERC20DetailedCaller) Symbol(opts *bind.CallOpts) (string, error)

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

Solidity: function symbol() constant returns(string)

func (*ERC20DetailedCaller) TotalSupply

func (_ERC20Detailed *ERC20DetailedCaller) TotalSupply(opts *bind.CallOpts) (*big.Int, error)

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

Solidity: function totalSupply() constant returns(uint256)

type ERC20DetailedCallerRaw

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

ERC20DetailedCallerRaw is an auto generated low-level read-only Go binding around a Solidity contract.

func (*ERC20DetailedCallerRaw) Call

func (_ERC20Detailed *ERC20DetailedCallerRaw) 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 ERC20DetailedCallerSession

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

ERC20DetailedCallerSession is an auto generated read-only Go binding around a Solidity contract, with pre-set call options.

func (*ERC20DetailedCallerSession) Allowance

func (_ERC20Detailed *ERC20DetailedCallerSession) Allowance(owner common.Address, spender common.Address) (*big.Int, error)

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

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

func (*ERC20DetailedCallerSession) BalanceOf

func (_ERC20Detailed *ERC20DetailedCallerSession) BalanceOf(account common.Address) (*big.Int, error)

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

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

func (*ERC20DetailedCallerSession) Decimals

func (_ERC20Detailed *ERC20DetailedCallerSession) Decimals() (uint8, error)

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

Solidity: function decimals() constant returns(uint8)

func (*ERC20DetailedCallerSession) Name

func (_ERC20Detailed *ERC20DetailedCallerSession) Name() (string, error)

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

Solidity: function name() constant returns(string)

func (*ERC20DetailedCallerSession) Symbol

func (_ERC20Detailed *ERC20DetailedCallerSession) Symbol() (string, error)

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

Solidity: function symbol() constant returns(string)

func (*ERC20DetailedCallerSession) TotalSupply

func (_ERC20Detailed *ERC20DetailedCallerSession) TotalSupply() (*big.Int, error)

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

Solidity: function totalSupply() constant returns(uint256)

type ERC20DetailedFilterer

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

ERC20DetailedFilterer is an auto generated log filtering Go binding around a Solidity contract events.

func NewERC20DetailedFilterer

func NewERC20DetailedFilterer(address common.Address, filterer bind.ContractFilterer) (*ERC20DetailedFilterer, error)

NewERC20DetailedFilterer creates a new log filterer instance of ERC20Detailed, bound to a specific deployed contract.

func (*ERC20DetailedFilterer) FilterApproval

func (_ERC20Detailed *ERC20DetailedFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*ERC20DetailedApprovalIterator, error)

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

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

func (*ERC20DetailedFilterer) FilterTransfer

func (_ERC20Detailed *ERC20DetailedFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*ERC20DetailedTransferIterator, error)

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

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

func (*ERC20DetailedFilterer) ParseApproval

func (_ERC20Detailed *ERC20DetailedFilterer) ParseApproval(log types.Log) (*ERC20DetailedApproval, error)

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

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

func (*ERC20DetailedFilterer) ParseTransfer

func (_ERC20Detailed *ERC20DetailedFilterer) ParseTransfer(log types.Log) (*ERC20DetailedTransfer, error)

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

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

func (*ERC20DetailedFilterer) WatchApproval

func (_ERC20Detailed *ERC20DetailedFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *ERC20DetailedApproval, owner []common.Address, spender []common.Address) (event.Subscription, error)

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

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

func (*ERC20DetailedFilterer) WatchTransfer

func (_ERC20Detailed *ERC20DetailedFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *ERC20DetailedTransfer, from []common.Address, to []common.Address) (event.Subscription, error)

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

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

type ERC20DetailedRaw

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

ERC20DetailedRaw is an auto generated low-level Go binding around a Solidity contract.

func (*ERC20DetailedRaw) Call

func (_ERC20Detailed *ERC20DetailedRaw) 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 (*ERC20DetailedRaw) Transact

func (_ERC20Detailed *ERC20DetailedRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, *types.Receipt, error)

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

func (*ERC20DetailedRaw) Transfer

func (_ERC20Detailed *ERC20DetailedRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, *types.Receipt, error)

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

type ERC20DetailedSession

type ERC20DetailedSession struct {
	Contract     *ERC20Detailed    // 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
}

ERC20DetailedSession is an auto generated Go binding around a Solidity contract, with pre-set call and transact options.

func (*ERC20DetailedSession) Allowance

func (_ERC20Detailed *ERC20DetailedSession) Allowance(owner common.Address, spender common.Address) (*big.Int, error)

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

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

func (*ERC20DetailedSession) Approve

func (_ERC20Detailed *ERC20DetailedSession) Approve(spender common.Address, amount *big.Int) (*types.Transaction, *types.Receipt, error)

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

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

func (*ERC20DetailedSession) AsyncApprove

func (_ERC20Detailed *ERC20DetailedSession) AsyncApprove(handler func(*types.Receipt, error), spender common.Address, amount *big.Int) (*types.Transaction, error)

func (*ERC20DetailedSession) AsyncTransfer

func (_ERC20Detailed *ERC20DetailedSession) AsyncTransfer(handler func(*types.Receipt, error), recipient common.Address, amount *big.Int) (*types.Transaction, error)

func (*ERC20DetailedSession) AsyncTransferFrom

func (_ERC20Detailed *ERC20DetailedSession) AsyncTransferFrom(handler func(*types.Receipt, error), sender common.Address, recipient common.Address, amount *big.Int) (*types.Transaction, error)

func (*ERC20DetailedSession) BalanceOf

func (_ERC20Detailed *ERC20DetailedSession) BalanceOf(account common.Address) (*big.Int, error)

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

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

func (*ERC20DetailedSession) Decimals

func (_ERC20Detailed *ERC20DetailedSession) Decimals() (uint8, error)

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

Solidity: function decimals() constant returns(uint8)

func (*ERC20DetailedSession) Name

func (_ERC20Detailed *ERC20DetailedSession) Name() (string, error)

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

Solidity: function name() constant returns(string)

func (*ERC20DetailedSession) Symbol

func (_ERC20Detailed *ERC20DetailedSession) Symbol() (string, error)

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

Solidity: function symbol() constant returns(string)

func (*ERC20DetailedSession) TotalSupply

func (_ERC20Detailed *ERC20DetailedSession) TotalSupply() (*big.Int, error)

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

Solidity: function totalSupply() constant returns(uint256)

func (*ERC20DetailedSession) Transfer

func (_ERC20Detailed *ERC20DetailedSession) Transfer(recipient common.Address, amount *big.Int) (*types.Transaction, *types.Receipt, error)

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

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

func (*ERC20DetailedSession) TransferFrom

func (_ERC20Detailed *ERC20DetailedSession) TransferFrom(sender common.Address, recipient common.Address, amount *big.Int) (*types.Transaction, *types.Receipt, error)

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

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

type ERC20DetailedTransactor

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

ERC20DetailedTransactor is an auto generated write-only Go binding around a Solidity contract.

func NewERC20DetailedTransactor

func NewERC20DetailedTransactor(address common.Address, transactor bind.ContractTransactor) (*ERC20DetailedTransactor, error)

NewERC20DetailedTransactor creates a new write-only instance of ERC20Detailed, bound to a specific deployed contract.

func (*ERC20DetailedTransactor) Approve

func (_ERC20Detailed *ERC20DetailedTransactor) Approve(opts *bind.TransactOpts, spender common.Address, amount *big.Int) (*types.Transaction, *types.Receipt, error)

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

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

func (*ERC20DetailedTransactor) AsyncApprove

func (_ERC20Detailed *ERC20DetailedTransactor) AsyncApprove(handler func(*types.Receipt, error), opts *bind.TransactOpts, spender common.Address, amount *big.Int) (*types.Transaction, error)

func (*ERC20DetailedTransactor) AsyncTransfer

func (_ERC20Detailed *ERC20DetailedTransactor) AsyncTransfer(handler func(*types.Receipt, error), opts *bind.TransactOpts, recipient common.Address, amount *big.Int) (*types.Transaction, error)

func (*ERC20DetailedTransactor) AsyncTransferFrom

func (_ERC20Detailed *ERC20DetailedTransactor) AsyncTransferFrom(handler func(*types.Receipt, error), opts *bind.TransactOpts, sender common.Address, recipient common.Address, amount *big.Int) (*types.Transaction, error)

func (*ERC20DetailedTransactor) Transfer

func (_ERC20Detailed *ERC20DetailedTransactor) Transfer(opts *bind.TransactOpts, recipient common.Address, amount *big.Int) (*types.Transaction, *types.Receipt, error)

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

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

func (*ERC20DetailedTransactor) TransferFrom

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

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

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

type ERC20DetailedTransactorRaw

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

ERC20DetailedTransactorRaw is an auto generated low-level write-only Go binding around a Solidity contract.

func (*ERC20DetailedTransactorRaw) Transact

func (_ERC20Detailed *ERC20DetailedTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, *types.Receipt, error)

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

func (*ERC20DetailedTransactorRaw) Transfer

func (_ERC20Detailed *ERC20DetailedTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, *types.Receipt, error)

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

type ERC20DetailedTransactorSession

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

ERC20DetailedTransactorSession is an auto generated write-only Go binding around a Solidity contract, with pre-set transact options.

func (*ERC20DetailedTransactorSession) Approve

func (_ERC20Detailed *ERC20DetailedTransactorSession) Approve(spender common.Address, amount *big.Int) (*types.Transaction, *types.Receipt, error)

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

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

func (*ERC20DetailedTransactorSession) AsyncApprove

func (_ERC20Detailed *ERC20DetailedTransactorSession) AsyncApprove(handler func(*types.Receipt, error), spender common.Address, amount *big.Int) (*types.Transaction, error)

func (*ERC20DetailedTransactorSession) AsyncTransfer

func (_ERC20Detailed *ERC20DetailedTransactorSession) AsyncTransfer(handler func(*types.Receipt, error), recipient common.Address, amount *big.Int) (*types.Transaction, error)

func (*ERC20DetailedTransactorSession) AsyncTransferFrom

func (_ERC20Detailed *ERC20DetailedTransactorSession) AsyncTransferFrom(handler func(*types.Receipt, error), sender common.Address, recipient common.Address, amount *big.Int) (*types.Transaction, error)

func (*ERC20DetailedTransactorSession) Transfer

func (_ERC20Detailed *ERC20DetailedTransactorSession) Transfer(recipient common.Address, amount *big.Int) (*types.Transaction, *types.Receipt, error)

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

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

func (*ERC20DetailedTransactorSession) TransferFrom

func (_ERC20Detailed *ERC20DetailedTransactorSession) TransferFrom(sender common.Address, recipient common.Address, amount *big.Int) (*types.Transaction, *types.Receipt, error)

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

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

type ERC20DetailedTransfer

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

ERC20DetailedTransfer represents a Transfer event raised by the ERC20Detailed contract.

type ERC20DetailedTransferIterator

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

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

func (*ERC20DetailedTransferIterator) Close

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

func (*ERC20DetailedTransferIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ERC20DetailedTransferIterator) 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 ERC20Filterer

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

ERC20Filterer is an auto generated log filtering Go binding around a Solidity contract events.

func NewERC20Filterer

func NewERC20Filterer(address common.Address, filterer bind.ContractFilterer) (*ERC20Filterer, error)

NewERC20Filterer creates a new log filterer instance of ERC20, bound to a specific deployed contract.

func (*ERC20Filterer) FilterApproval

func (_ERC20 *ERC20Filterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*ERC20ApprovalIterator, error)

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

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

func (*ERC20Filterer) FilterTransfer

func (_ERC20 *ERC20Filterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*ERC20TransferIterator, error)

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

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

func (*ERC20Filterer) ParseApproval

func (_ERC20 *ERC20Filterer) ParseApproval(log types.Log) (*ERC20Approval, error)

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

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

func (*ERC20Filterer) ParseTransfer

func (_ERC20 *ERC20Filterer) ParseTransfer(log types.Log) (*ERC20Transfer, error)

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

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

func (*ERC20Filterer) WatchApproval

func (_ERC20 *ERC20Filterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *ERC20Approval, owner []common.Address, spender []common.Address) (event.Subscription, error)

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

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

func (*ERC20Filterer) WatchTransfer

func (_ERC20 *ERC20Filterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *ERC20Transfer, from []common.Address, to []common.Address) (event.Subscription, error)

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

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

type ERC20Raw

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

ERC20Raw is an auto generated low-level Go binding around a Solidity contract.

func (*ERC20Raw) Call

func (_ERC20 *ERC20Raw) 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 (*ERC20Raw) Transact

func (_ERC20 *ERC20Raw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, *types.Receipt, error)

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

func (*ERC20Raw) Transfer

func (_ERC20 *ERC20Raw) Transfer(opts *bind.TransactOpts) (*types.Transaction, *types.Receipt, error)

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

type ERC20Session

type ERC20Session struct {
	Contract     *ERC20            // 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
}

ERC20Session is an auto generated Go binding around a Solidity contract, with pre-set call and transact options.

func (*ERC20Session) Allowance

func (_ERC20 *ERC20Session) Allowance(owner common.Address, spender common.Address) (*big.Int, error)

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

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

func (*ERC20Session) Approve

func (_ERC20 *ERC20Session) Approve(spender common.Address, amount *big.Int) (*types.Transaction, *types.Receipt, error)

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

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

func (*ERC20Session) AsyncApprove

func (_ERC20 *ERC20Session) AsyncApprove(handler func(*types.Receipt, error), spender common.Address, amount *big.Int) (*types.Transaction, error)

func (*ERC20Session) AsyncDecreaseAllowance

func (_ERC20 *ERC20Session) AsyncDecreaseAllowance(handler func(*types.Receipt, error), spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)

func (*ERC20Session) AsyncIncreaseAllowance

func (_ERC20 *ERC20Session) AsyncIncreaseAllowance(handler func(*types.Receipt, error), spender common.Address, addedValue *big.Int) (*types.Transaction, error)

func (*ERC20Session) AsyncTransfer

func (_ERC20 *ERC20Session) AsyncTransfer(handler func(*types.Receipt, error), recipient common.Address, amount *big.Int) (*types.Transaction, error)

func (*ERC20Session) AsyncTransferFrom

func (_ERC20 *ERC20Session) AsyncTransferFrom(handler func(*types.Receipt, error), sender common.Address, recipient common.Address, amount *big.Int) (*types.Transaction, error)

func (*ERC20Session) BalanceOf

func (_ERC20 *ERC20Session) BalanceOf(account common.Address) (*big.Int, error)

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

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

func (*ERC20Session) DecreaseAllowance

func (_ERC20 *ERC20Session) DecreaseAllowance(spender common.Address, subtractedValue *big.Int) (*types.Transaction, *types.Receipt, error)

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

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

func (*ERC20Session) IncreaseAllowance

func (_ERC20 *ERC20Session) IncreaseAllowance(spender common.Address, addedValue *big.Int) (*types.Transaction, *types.Receipt, error)

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

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

func (*ERC20Session) TotalSupply

func (_ERC20 *ERC20Session) TotalSupply() (*big.Int, error)

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

Solidity: function totalSupply() constant returns(uint256)

func (*ERC20Session) Transfer

func (_ERC20 *ERC20Session) Transfer(recipient common.Address, amount *big.Int) (*types.Transaction, *types.Receipt, error)

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

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

func (*ERC20Session) TransferFrom

func (_ERC20 *ERC20Session) TransferFrom(sender common.Address, recipient common.Address, amount *big.Int) (*types.Transaction, *types.Receipt, error)

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

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

type ERC20Transactor

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

ERC20Transactor is an auto generated write-only Go binding around a Solidity contract.

func NewERC20Transactor

func NewERC20Transactor(address common.Address, transactor bind.ContractTransactor) (*ERC20Transactor, error)

NewERC20Transactor creates a new write-only instance of ERC20, bound to a specific deployed contract.

func (*ERC20Transactor) Approve

func (_ERC20 *ERC20Transactor) Approve(opts *bind.TransactOpts, spender common.Address, amount *big.Int) (*types.Transaction, *types.Receipt, error)

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

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

func (*ERC20Transactor) AsyncApprove

func (_ERC20 *ERC20Transactor) AsyncApprove(handler func(*types.Receipt, error), opts *bind.TransactOpts, spender common.Address, amount *big.Int) (*types.Transaction, error)

func (*ERC20Transactor) AsyncDecreaseAllowance

func (_ERC20 *ERC20Transactor) AsyncDecreaseAllowance(handler func(*types.Receipt, error), opts *bind.TransactOpts, spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)

func (*ERC20Transactor) AsyncIncreaseAllowance

func (_ERC20 *ERC20Transactor) AsyncIncreaseAllowance(handler func(*types.Receipt, error), opts *bind.TransactOpts, spender common.Address, addedValue *big.Int) (*types.Transaction, error)

func (*ERC20Transactor) AsyncTransfer

func (_ERC20 *ERC20Transactor) AsyncTransfer(handler func(*types.Receipt, error), opts *bind.TransactOpts, recipient common.Address, amount *big.Int) (*types.Transaction, error)

func (*ERC20Transactor) AsyncTransferFrom

func (_ERC20 *ERC20Transactor) AsyncTransferFrom(handler func(*types.Receipt, error), opts *bind.TransactOpts, sender common.Address, recipient common.Address, amount *big.Int) (*types.Transaction, error)

func (*ERC20Transactor) DecreaseAllowance

func (_ERC20 *ERC20Transactor) DecreaseAllowance(opts *bind.TransactOpts, spender common.Address, subtractedValue *big.Int) (*types.Transaction, *types.Receipt, error)

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

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

func (*ERC20Transactor) IncreaseAllowance

func (_ERC20 *ERC20Transactor) IncreaseAllowance(opts *bind.TransactOpts, spender common.Address, addedValue *big.Int) (*types.Transaction, *types.Receipt, error)

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

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

func (*ERC20Transactor) Transfer

func (_ERC20 *ERC20Transactor) Transfer(opts *bind.TransactOpts, recipient common.Address, amount *big.Int) (*types.Transaction, *types.Receipt, error)

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

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

func (*ERC20Transactor) TransferFrom

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

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

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

type ERC20TransactorRaw

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

ERC20TransactorRaw is an auto generated low-level write-only Go binding around a Solidity contract.

func (*ERC20TransactorRaw) Transact

func (_ERC20 *ERC20TransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, *types.Receipt, error)

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

func (*ERC20TransactorRaw) Transfer

func (_ERC20 *ERC20TransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, *types.Receipt, error)

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

type ERC20TransactorSession

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

ERC20TransactorSession is an auto generated write-only Go binding around a Solidity contract, with pre-set transact options.

func (*ERC20TransactorSession) Approve

func (_ERC20 *ERC20TransactorSession) Approve(spender common.Address, amount *big.Int) (*types.Transaction, *types.Receipt, error)

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

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

func (*ERC20TransactorSession) AsyncApprove

func (_ERC20 *ERC20TransactorSession) AsyncApprove(handler func(*types.Receipt, error), spender common.Address, amount *big.Int) (*types.Transaction, error)

func (*ERC20TransactorSession) AsyncDecreaseAllowance

func (_ERC20 *ERC20TransactorSession) AsyncDecreaseAllowance(handler func(*types.Receipt, error), spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)

func (*ERC20TransactorSession) AsyncIncreaseAllowance

func (_ERC20 *ERC20TransactorSession) AsyncIncreaseAllowance(handler func(*types.Receipt, error), spender common.Address, addedValue *big.Int) (*types.Transaction, error)

func (*ERC20TransactorSession) AsyncTransfer

func (_ERC20 *ERC20TransactorSession) AsyncTransfer(handler func(*types.Receipt, error), recipient common.Address, amount *big.Int) (*types.Transaction, error)

func (*ERC20TransactorSession) AsyncTransferFrom

func (_ERC20 *ERC20TransactorSession) AsyncTransferFrom(handler func(*types.Receipt, error), sender common.Address, recipient common.Address, amount *big.Int) (*types.Transaction, error)

func (*ERC20TransactorSession) DecreaseAllowance

func (_ERC20 *ERC20TransactorSession) DecreaseAllowance(spender common.Address, subtractedValue *big.Int) (*types.Transaction, *types.Receipt, error)

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

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

func (*ERC20TransactorSession) IncreaseAllowance

func (_ERC20 *ERC20TransactorSession) IncreaseAllowance(spender common.Address, addedValue *big.Int) (*types.Transaction, *types.Receipt, error)

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

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

func (*ERC20TransactorSession) Transfer

func (_ERC20 *ERC20TransactorSession) Transfer(recipient common.Address, amount *big.Int) (*types.Transaction, *types.Receipt, error)

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

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

func (*ERC20TransactorSession) TransferFrom

func (_ERC20 *ERC20TransactorSession) TransferFrom(sender common.Address, recipient common.Address, amount *big.Int) (*types.Transaction, *types.Receipt, error)

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

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

type ERC20Transfer

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

ERC20Transfer represents a Transfer event raised by the ERC20 contract.

type ERC20TransferIterator

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

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

func (*ERC20TransferIterator) Close

func (it *ERC20TransferIterator) Close() error

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

func (*ERC20TransferIterator) Error

func (it *ERC20TransferIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*ERC20TransferIterator) Next

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

type IERC20 struct {
	IERC20Caller     // Read-only binding to the contract
	IERC20Transactor // Write-only binding to the contract
	IERC20Filterer   // Log filterer for contract events
}

IERC20 is an auto generated Go binding around a Solidity contract.

func NewIERC20

func NewIERC20(address common.Address, backend bind.ContractBackend) (*IERC20, error)

NewIERC20 creates a new instance of IERC20, bound to a specific deployed contract.

type IERC20Approval

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

IERC20Approval represents a Approval event raised by the IERC20 contract.

type IERC20ApprovalIterator

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

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

func (*IERC20ApprovalIterator) Close

func (it *IERC20ApprovalIterator) Close() error

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

func (*IERC20ApprovalIterator) Error

func (it *IERC20ApprovalIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*IERC20ApprovalIterator) Next

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

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

IERC20Caller is an auto generated read-only Go binding around a Solidity contract.

func NewIERC20Caller

func NewIERC20Caller(address common.Address, caller bind.ContractCaller) (*IERC20Caller, error)

NewIERC20Caller creates a new read-only instance of IERC20, bound to a specific deployed contract.

func (*IERC20Caller) Allowance

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

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

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

func (*IERC20Caller) BalanceOf

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

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

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

func (*IERC20Caller) TotalSupply

func (_IERC20 *IERC20Caller) TotalSupply(opts *bind.CallOpts) (*big.Int, error)

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

Solidity: function totalSupply() constant returns(uint256)

type IERC20CallerRaw

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

IERC20CallerRaw is an auto generated low-level read-only Go binding around a Solidity contract.

func (*IERC20CallerRaw) Call

func (_IERC20 *IERC20CallerRaw) 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 IERC20CallerSession

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

IERC20CallerSession is an auto generated read-only Go binding around a Solidity contract, with pre-set call options.

func (*IERC20CallerSession) Allowance

func (_IERC20 *IERC20CallerSession) Allowance(owner common.Address, spender common.Address) (*big.Int, error)

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

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

func (*IERC20CallerSession) BalanceOf

func (_IERC20 *IERC20CallerSession) BalanceOf(account common.Address) (*big.Int, error)

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

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

func (*IERC20CallerSession) TotalSupply

func (_IERC20 *IERC20CallerSession) TotalSupply() (*big.Int, error)

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

Solidity: function totalSupply() constant returns(uint256)

type IERC20Filterer

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

IERC20Filterer is an auto generated log filtering Go binding around a Solidity contract events.

func NewIERC20Filterer

func NewIERC20Filterer(address common.Address, filterer bind.ContractFilterer) (*IERC20Filterer, error)

NewIERC20Filterer creates a new log filterer instance of IERC20, bound to a specific deployed contract.

func (*IERC20Filterer) FilterApproval

func (_IERC20 *IERC20Filterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*IERC20ApprovalIterator, error)

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

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

func (*IERC20Filterer) FilterTransfer

func (_IERC20 *IERC20Filterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*IERC20TransferIterator, error)

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

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

func (*IERC20Filterer) ParseApproval

func (_IERC20 *IERC20Filterer) ParseApproval(log types.Log) (*IERC20Approval, error)

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

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

func (*IERC20Filterer) ParseTransfer

func (_IERC20 *IERC20Filterer) ParseTransfer(log types.Log) (*IERC20Transfer, error)

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

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

func (*IERC20Filterer) WatchApproval

func (_IERC20 *IERC20Filterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *IERC20Approval, owner []common.Address, spender []common.Address) (event.Subscription, error)

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

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

func (*IERC20Filterer) WatchTransfer

func (_IERC20 *IERC20Filterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *IERC20Transfer, from []common.Address, to []common.Address) (event.Subscription, error)

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

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

type IERC20Raw

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

IERC20Raw is an auto generated low-level Go binding around a Solidity contract.

func (*IERC20Raw) Call

func (_IERC20 *IERC20Raw) 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 (*IERC20Raw) Transact

func (_IERC20 *IERC20Raw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, *types.Receipt, error)

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

func (*IERC20Raw) Transfer

func (_IERC20 *IERC20Raw) Transfer(opts *bind.TransactOpts) (*types.Transaction, *types.Receipt, error)

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

type IERC20Session

type IERC20Session struct {
	Contract     *IERC20           // 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
}

IERC20Session is an auto generated Go binding around a Solidity contract, with pre-set call and transact options.

func (*IERC20Session) Allowance

func (_IERC20 *IERC20Session) Allowance(owner common.Address, spender common.Address) (*big.Int, error)

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

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

func (*IERC20Session) Approve

func (_IERC20 *IERC20Session) Approve(spender common.Address, amount *big.Int) (*types.Transaction, *types.Receipt, error)

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

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

func (*IERC20Session) AsyncApprove

func (_IERC20 *IERC20Session) AsyncApprove(handler func(*types.Receipt, error), spender common.Address, amount *big.Int) (*types.Transaction, error)

func (*IERC20Session) AsyncTransfer

func (_IERC20 *IERC20Session) AsyncTransfer(handler func(*types.Receipt, error), recipient common.Address, amount *big.Int) (*types.Transaction, error)

func (*IERC20Session) AsyncTransferFrom

func (_IERC20 *IERC20Session) AsyncTransferFrom(handler func(*types.Receipt, error), sender common.Address, recipient common.Address, amount *big.Int) (*types.Transaction, error)

func (*IERC20Session) BalanceOf

func (_IERC20 *IERC20Session) BalanceOf(account common.Address) (*big.Int, error)

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

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

func (*IERC20Session) TotalSupply

func (_IERC20 *IERC20Session) TotalSupply() (*big.Int, error)

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

Solidity: function totalSupply() constant returns(uint256)

func (*IERC20Session) Transfer

func (_IERC20 *IERC20Session) Transfer(recipient common.Address, amount *big.Int) (*types.Transaction, *types.Receipt, error)

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

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

func (*IERC20Session) TransferFrom

func (_IERC20 *IERC20Session) TransferFrom(sender common.Address, recipient common.Address, amount *big.Int) (*types.Transaction, *types.Receipt, error)

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

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

type IERC20Transactor

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

IERC20Transactor is an auto generated write-only Go binding around a Solidity contract.

func NewIERC20Transactor

func NewIERC20Transactor(address common.Address, transactor bind.ContractTransactor) (*IERC20Transactor, error)

NewIERC20Transactor creates a new write-only instance of IERC20, bound to a specific deployed contract.

func (*IERC20Transactor) Approve

func (_IERC20 *IERC20Transactor) Approve(opts *bind.TransactOpts, spender common.Address, amount *big.Int) (*types.Transaction, *types.Receipt, error)

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

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

func (*IERC20Transactor) AsyncApprove

func (_IERC20 *IERC20Transactor) AsyncApprove(handler func(*types.Receipt, error), opts *bind.TransactOpts, spender common.Address, amount *big.Int) (*types.Transaction, error)

func (*IERC20Transactor) AsyncTransfer

func (_IERC20 *IERC20Transactor) AsyncTransfer(handler func(*types.Receipt, error), opts *bind.TransactOpts, recipient common.Address, amount *big.Int) (*types.Transaction, error)

func (*IERC20Transactor) AsyncTransferFrom

func (_IERC20 *IERC20Transactor) AsyncTransferFrom(handler func(*types.Receipt, error), opts *bind.TransactOpts, sender common.Address, recipient common.Address, amount *big.Int) (*types.Transaction, error)

func (*IERC20Transactor) Transfer

func (_IERC20 *IERC20Transactor) Transfer(opts *bind.TransactOpts, recipient common.Address, amount *big.Int) (*types.Transaction, *types.Receipt, error)

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

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

func (*IERC20Transactor) TransferFrom

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

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

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

type IERC20TransactorRaw

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

IERC20TransactorRaw is an auto generated low-level write-only Go binding around a Solidity contract.

func (*IERC20TransactorRaw) Transact

func (_IERC20 *IERC20TransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, *types.Receipt, error)

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

func (*IERC20TransactorRaw) Transfer

func (_IERC20 *IERC20TransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, *types.Receipt, error)

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

type IERC20TransactorSession

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

IERC20TransactorSession is an auto generated write-only Go binding around a Solidity contract, with pre-set transact options.

func (*IERC20TransactorSession) Approve

func (_IERC20 *IERC20TransactorSession) Approve(spender common.Address, amount *big.Int) (*types.Transaction, *types.Receipt, error)

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

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

func (*IERC20TransactorSession) AsyncApprove

func (_IERC20 *IERC20TransactorSession) AsyncApprove(handler func(*types.Receipt, error), spender common.Address, amount *big.Int) (*types.Transaction, error)

func (*IERC20TransactorSession) AsyncTransfer

func (_IERC20 *IERC20TransactorSession) AsyncTransfer(handler func(*types.Receipt, error), recipient common.Address, amount *big.Int) (*types.Transaction, error)

func (*IERC20TransactorSession) AsyncTransferFrom

func (_IERC20 *IERC20TransactorSession) AsyncTransferFrom(handler func(*types.Receipt, error), sender common.Address, recipient common.Address, amount *big.Int) (*types.Transaction, error)

func (*IERC20TransactorSession) Transfer

func (_IERC20 *IERC20TransactorSession) Transfer(recipient common.Address, amount *big.Int) (*types.Transaction, *types.Receipt, error)

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

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

func (*IERC20TransactorSession) TransferFrom

func (_IERC20 *IERC20TransactorSession) TransferFrom(sender common.Address, recipient common.Address, amount *big.Int) (*types.Transaction, *types.Receipt, error)

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

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

type IERC20Transfer

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

IERC20Transfer represents a Transfer event raised by the IERC20 contract.

type IERC20TransferIterator

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

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

func (*IERC20TransferIterator) Close

func (it *IERC20TransferIterator) Close() error

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

func (*IERC20TransferIterator) Error

func (it *IERC20TransferIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*IERC20TransferIterator) Next

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

type OEP4Template struct {
	OEP4TemplateCaller     // Read-only binding to the contract
	OEP4TemplateTransactor // Write-only binding to the contract
	OEP4TemplateFilterer   // Log filterer for contract events
}

OEP4Template is an auto generated Go binding around a Solidity contract.

func DeployOEP4Template

func DeployOEP4Template(auth *bind.TransactOpts, backend bind.ContractBackend, proxyContractAddress common.Address) (common.Address, *types.Transaction, *OEP4Template, error)

DeployOEP4Template deploys a new contract, binding an instance of OEP4Template to it.

func NewOEP4Template

func NewOEP4Template(address common.Address, backend bind.ContractBackend) (*OEP4Template, error)

NewOEP4Template creates a new instance of OEP4Template, bound to a specific deployed contract.

type OEP4TemplateApproval

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

OEP4TemplateApproval represents a Approval event raised by the OEP4Template contract.

type OEP4TemplateApprovalIterator

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

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

func (*OEP4TemplateApprovalIterator) Close

func (it *OEP4TemplateApprovalIterator) Close() error

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

func (*OEP4TemplateApprovalIterator) Error

func (it *OEP4TemplateApprovalIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*OEP4TemplateApprovalIterator) 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 OEP4TemplateCaller

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

OEP4TemplateCaller is an auto generated read-only Go binding around a Solidity contract.

func NewOEP4TemplateCaller

func NewOEP4TemplateCaller(address common.Address, caller bind.ContractCaller) (*OEP4TemplateCaller, error)

NewOEP4TemplateCaller creates a new read-only instance of OEP4Template, bound to a specific deployed contract.

func (*OEP4TemplateCaller) Allowance

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

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

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

func (*OEP4TemplateCaller) BalanceOf

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

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

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

func (*OEP4TemplateCaller) Decimals

func (_OEP4Template *OEP4TemplateCaller) Decimals(opts *bind.CallOpts) (uint8, error)

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

Solidity: function decimals() constant returns(uint8)

func (*OEP4TemplateCaller) Name

func (_OEP4Template *OEP4TemplateCaller) Name(opts *bind.CallOpts) (string, error)

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

Solidity: function name() constant returns(string)

func (*OEP4TemplateCaller) Operator

func (_OEP4Template *OEP4TemplateCaller) Operator(opts *bind.CallOpts) (common.Address, error)

Operator is a free data retrieval call binding the contract method 0x3a7faf63.

Solidity: function Operator() constant returns(address)

func (*OEP4TemplateCaller) ProxyHash

func (_OEP4Template *OEP4TemplateCaller) ProxyHash(opts *bind.CallOpts) (common.Address, error)

ProxyHash is a free data retrieval call binding the contract method 0x0bd04123.

Solidity: function proxyHash() constant returns(address)

func (*OEP4TemplateCaller) Symbol

func (_OEP4Template *OEP4TemplateCaller) Symbol(opts *bind.CallOpts) (string, error)

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

Solidity: function symbol() constant returns(string)

func (*OEP4TemplateCaller) TotalSupply

func (_OEP4Template *OEP4TemplateCaller) TotalSupply(opts *bind.CallOpts) (*big.Int, error)

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

Solidity: function totalSupply() constant returns(uint256)

type OEP4TemplateCallerRaw

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

OEP4TemplateCallerRaw is an auto generated low-level read-only Go binding around a Solidity contract.

func (*OEP4TemplateCallerRaw) Call

func (_OEP4Template *OEP4TemplateCallerRaw) 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 OEP4TemplateCallerSession

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

OEP4TemplateCallerSession is an auto generated read-only Go binding around a Solidity contract, with pre-set call options.

func (*OEP4TemplateCallerSession) Allowance

func (_OEP4Template *OEP4TemplateCallerSession) Allowance(owner common.Address, spender common.Address) (*big.Int, error)

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

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

func (*OEP4TemplateCallerSession) BalanceOf

func (_OEP4Template *OEP4TemplateCallerSession) BalanceOf(account common.Address) (*big.Int, error)

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

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

func (*OEP4TemplateCallerSession) Decimals

func (_OEP4Template *OEP4TemplateCallerSession) Decimals() (uint8, error)

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

Solidity: function decimals() constant returns(uint8)

func (*OEP4TemplateCallerSession) Name

func (_OEP4Template *OEP4TemplateCallerSession) Name() (string, error)

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

Solidity: function name() constant returns(string)

func (*OEP4TemplateCallerSession) Operator

func (_OEP4Template *OEP4TemplateCallerSession) Operator() (common.Address, error)

Operator is a free data retrieval call binding the contract method 0x3a7faf63.

Solidity: function Operator() constant returns(address)

func (*OEP4TemplateCallerSession) ProxyHash

func (_OEP4Template *OEP4TemplateCallerSession) ProxyHash() (common.Address, error)

ProxyHash is a free data retrieval call binding the contract method 0x0bd04123.

Solidity: function proxyHash() constant returns(address)

func (*OEP4TemplateCallerSession) Symbol

func (_OEP4Template *OEP4TemplateCallerSession) Symbol() (string, error)

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

Solidity: function symbol() constant returns(string)

func (*OEP4TemplateCallerSession) TotalSupply

func (_OEP4Template *OEP4TemplateCallerSession) TotalSupply() (*big.Int, error)

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

Solidity: function totalSupply() constant returns(uint256)

type OEP4TemplateFilterer

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

OEP4TemplateFilterer is an auto generated log filtering Go binding around a Solidity contract events.

func NewOEP4TemplateFilterer

func NewOEP4TemplateFilterer(address common.Address, filterer bind.ContractFilterer) (*OEP4TemplateFilterer, error)

NewOEP4TemplateFilterer creates a new log filterer instance of OEP4Template, bound to a specific deployed contract.

func (*OEP4TemplateFilterer) FilterApproval

func (_OEP4Template *OEP4TemplateFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*OEP4TemplateApprovalIterator, error)

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

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

func (*OEP4TemplateFilterer) FilterTransfer

func (_OEP4Template *OEP4TemplateFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*OEP4TemplateTransferIterator, error)

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

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

func (*OEP4TemplateFilterer) ParseApproval

func (_OEP4Template *OEP4TemplateFilterer) ParseApproval(log types.Log) (*OEP4TemplateApproval, error)

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

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

func (*OEP4TemplateFilterer) ParseTransfer

func (_OEP4Template *OEP4TemplateFilterer) ParseTransfer(log types.Log) (*OEP4TemplateTransfer, error)

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

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

func (*OEP4TemplateFilterer) WatchApproval

func (_OEP4Template *OEP4TemplateFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *OEP4TemplateApproval, owner []common.Address, spender []common.Address) (event.Subscription, error)

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

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

func (*OEP4TemplateFilterer) WatchTransfer

func (_OEP4Template *OEP4TemplateFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *OEP4TemplateTransfer, from []common.Address, to []common.Address) (event.Subscription, error)

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

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

type OEP4TemplateRaw

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

OEP4TemplateRaw is an auto generated low-level Go binding around a Solidity contract.

func (*OEP4TemplateRaw) Call

func (_OEP4Template *OEP4TemplateRaw) 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 (*OEP4TemplateRaw) Transact

func (_OEP4Template *OEP4TemplateRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, *types.Receipt, error)

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

func (*OEP4TemplateRaw) Transfer

func (_OEP4Template *OEP4TemplateRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, *types.Receipt, error)

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

type OEP4TemplateSession

type OEP4TemplateSession struct {
	Contract     *OEP4Template     // 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
}

OEP4TemplateSession is an auto generated Go binding around a Solidity contract, with pre-set call and transact options.

func (*OEP4TemplateSession) Allowance

func (_OEP4Template *OEP4TemplateSession) Allowance(owner common.Address, spender common.Address) (*big.Int, error)

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

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

func (*OEP4TemplateSession) Approve

func (_OEP4Template *OEP4TemplateSession) Approve(spender common.Address, amount *big.Int) (*types.Transaction, *types.Receipt, error)

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

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

func (*OEP4TemplateSession) AsyncApprove

func (_OEP4Template *OEP4TemplateSession) AsyncApprove(handler func(*types.Receipt, error), spender common.Address, amount *big.Int) (*types.Transaction, error)

func (*OEP4TemplateSession) AsyncDecreaseAllowance

func (_OEP4Template *OEP4TemplateSession) AsyncDecreaseAllowance(handler func(*types.Receipt, error), spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)

func (*OEP4TemplateSession) AsyncDeletageToProxy

func (_OEP4Template *OEP4TemplateSession) AsyncDeletageToProxy(handler func(*types.Receipt, error), _proxyHash common.Address, _amount *big.Int) (*types.Transaction, error)

func (*OEP4TemplateSession) AsyncIncreaseAllowance

func (_OEP4Template *OEP4TemplateSession) AsyncIncreaseAllowance(handler func(*types.Receipt, error), spender common.Address, addedValue *big.Int) (*types.Transaction, error)

func (*OEP4TemplateSession) AsyncTransfer

func (_OEP4Template *OEP4TemplateSession) AsyncTransfer(handler func(*types.Receipt, error), recipient common.Address, amount *big.Int) (*types.Transaction, error)

func (*OEP4TemplateSession) AsyncTransferFrom

func (_OEP4Template *OEP4TemplateSession) AsyncTransferFrom(handler func(*types.Receipt, error), sender common.Address, recipient common.Address, amount *big.Int) (*types.Transaction, error)

func (*OEP4TemplateSession) BalanceOf

func (_OEP4Template *OEP4TemplateSession) BalanceOf(account common.Address) (*big.Int, error)

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

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

func (*OEP4TemplateSession) Decimals

func (_OEP4Template *OEP4TemplateSession) Decimals() (uint8, error)

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

Solidity: function decimals() constant returns(uint8)

func (*OEP4TemplateSession) DecreaseAllowance

func (_OEP4Template *OEP4TemplateSession) DecreaseAllowance(spender common.Address, subtractedValue *big.Int) (*types.Transaction, *types.Receipt, error)

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

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

func (*OEP4TemplateSession) DeletageToProxy

func (_OEP4Template *OEP4TemplateSession) DeletageToProxy(_proxyHash common.Address, _amount *big.Int) (*types.Transaction, *types.Receipt, error)

DeletageToProxy is a paid mutator transaction binding the contract method 0x2f361b27.

Solidity: function deletageToProxy(address _proxyHash, uint256 _amount) returns(bool)

func (*OEP4TemplateSession) IncreaseAllowance

func (_OEP4Template *OEP4TemplateSession) IncreaseAllowance(spender common.Address, addedValue *big.Int) (*types.Transaction, *types.Receipt, error)

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

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

func (*OEP4TemplateSession) Name

func (_OEP4Template *OEP4TemplateSession) Name() (string, error)

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

Solidity: function name() constant returns(string)

func (*OEP4TemplateSession) Operator

func (_OEP4Template *OEP4TemplateSession) Operator() (common.Address, error)

Operator is a free data retrieval call binding the contract method 0x3a7faf63.

Solidity: function Operator() constant returns(address)

func (*OEP4TemplateSession) ProxyHash

func (_OEP4Template *OEP4TemplateSession) ProxyHash() (common.Address, error)

ProxyHash is a free data retrieval call binding the contract method 0x0bd04123.

Solidity: function proxyHash() constant returns(address)

func (*OEP4TemplateSession) Symbol

func (_OEP4Template *OEP4TemplateSession) Symbol() (string, error)

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

Solidity: function symbol() constant returns(string)

func (*OEP4TemplateSession) TotalSupply

func (_OEP4Template *OEP4TemplateSession) TotalSupply() (*big.Int, error)

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

Solidity: function totalSupply() constant returns(uint256)

func (*OEP4TemplateSession) Transfer

func (_OEP4Template *OEP4TemplateSession) Transfer(recipient common.Address, amount *big.Int) (*types.Transaction, *types.Receipt, error)

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

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

func (*OEP4TemplateSession) TransferFrom

func (_OEP4Template *OEP4TemplateSession) TransferFrom(sender common.Address, recipient common.Address, amount *big.Int) (*types.Transaction, *types.Receipt, error)

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

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

type OEP4TemplateTransactor

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

OEP4TemplateTransactor is an auto generated write-only Go binding around a Solidity contract.

func NewOEP4TemplateTransactor

func NewOEP4TemplateTransactor(address common.Address, transactor bind.ContractTransactor) (*OEP4TemplateTransactor, error)

NewOEP4TemplateTransactor creates a new write-only instance of OEP4Template, bound to a specific deployed contract.

func (*OEP4TemplateTransactor) Approve

func (_OEP4Template *OEP4TemplateTransactor) Approve(opts *bind.TransactOpts, spender common.Address, amount *big.Int) (*types.Transaction, *types.Receipt, error)

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

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

func (*OEP4TemplateTransactor) AsyncApprove

func (_OEP4Template *OEP4TemplateTransactor) AsyncApprove(handler func(*types.Receipt, error), opts *bind.TransactOpts, spender common.Address, amount *big.Int) (*types.Transaction, error)

func (*OEP4TemplateTransactor) AsyncDecreaseAllowance

func (_OEP4Template *OEP4TemplateTransactor) AsyncDecreaseAllowance(handler func(*types.Receipt, error), opts *bind.TransactOpts, spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)

func (*OEP4TemplateTransactor) AsyncDeletageToProxy

func (_OEP4Template *OEP4TemplateTransactor) AsyncDeletageToProxy(handler func(*types.Receipt, error), opts *bind.TransactOpts, _proxyHash common.Address, _amount *big.Int) (*types.Transaction, error)

func (*OEP4TemplateTransactor) AsyncIncreaseAllowance

func (_OEP4Template *OEP4TemplateTransactor) AsyncIncreaseAllowance(handler func(*types.Receipt, error), opts *bind.TransactOpts, spender common.Address, addedValue *big.Int) (*types.Transaction, error)

func (*OEP4TemplateTransactor) AsyncTransfer

func (_OEP4Template *OEP4TemplateTransactor) AsyncTransfer(handler func(*types.Receipt, error), opts *bind.TransactOpts, recipient common.Address, amount *big.Int) (*types.Transaction, error)

func (*OEP4TemplateTransactor) AsyncTransferFrom

func (_OEP4Template *OEP4TemplateTransactor) AsyncTransferFrom(handler func(*types.Receipt, error), opts *bind.TransactOpts, sender common.Address, recipient common.Address, amount *big.Int) (*types.Transaction, error)

func (*OEP4TemplateTransactor) DecreaseAllowance

func (_OEP4Template *OEP4TemplateTransactor) DecreaseAllowance(opts *bind.TransactOpts, spender common.Address, subtractedValue *big.Int) (*types.Transaction, *types.Receipt, error)

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

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

func (*OEP4TemplateTransactor) DeletageToProxy

func (_OEP4Template *OEP4TemplateTransactor) DeletageToProxy(opts *bind.TransactOpts, _proxyHash common.Address, _amount *big.Int) (*types.Transaction, *types.Receipt, error)

DeletageToProxy is a paid mutator transaction binding the contract method 0x2f361b27.

Solidity: function deletageToProxy(address _proxyHash, uint256 _amount) returns(bool)

func (*OEP4TemplateTransactor) IncreaseAllowance

func (_OEP4Template *OEP4TemplateTransactor) IncreaseAllowance(opts *bind.TransactOpts, spender common.Address, addedValue *big.Int) (*types.Transaction, *types.Receipt, error)

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

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

func (*OEP4TemplateTransactor) Transfer

func (_OEP4Template *OEP4TemplateTransactor) Transfer(opts *bind.TransactOpts, recipient common.Address, amount *big.Int) (*types.Transaction, *types.Receipt, error)

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

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

func (*OEP4TemplateTransactor) TransferFrom

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

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

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

type OEP4TemplateTransactorRaw

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

OEP4TemplateTransactorRaw is an auto generated low-level write-only Go binding around a Solidity contract.

func (*OEP4TemplateTransactorRaw) Transact

func (_OEP4Template *OEP4TemplateTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, *types.Receipt, error)

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

func (*OEP4TemplateTransactorRaw) Transfer

func (_OEP4Template *OEP4TemplateTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, *types.Receipt, error)

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

type OEP4TemplateTransactorSession

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

OEP4TemplateTransactorSession is an auto generated write-only Go binding around a Solidity contract, with pre-set transact options.

func (*OEP4TemplateTransactorSession) Approve

func (_OEP4Template *OEP4TemplateTransactorSession) Approve(spender common.Address, amount *big.Int) (*types.Transaction, *types.Receipt, error)

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

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

func (*OEP4TemplateTransactorSession) AsyncApprove

func (_OEP4Template *OEP4TemplateTransactorSession) AsyncApprove(handler func(*types.Receipt, error), spender common.Address, amount *big.Int) (*types.Transaction, error)

func (*OEP4TemplateTransactorSession) AsyncDecreaseAllowance

func (_OEP4Template *OEP4TemplateTransactorSession) AsyncDecreaseAllowance(handler func(*types.Receipt, error), spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)

func (*OEP4TemplateTransactorSession) AsyncDeletageToProxy

func (_OEP4Template *OEP4TemplateTransactorSession) AsyncDeletageToProxy(handler func(*types.Receipt, error), _proxyHash common.Address, _amount *big.Int) (*types.Transaction, error)

func (*OEP4TemplateTransactorSession) AsyncIncreaseAllowance

func (_OEP4Template *OEP4TemplateTransactorSession) AsyncIncreaseAllowance(handler func(*types.Receipt, error), spender common.Address, addedValue *big.Int) (*types.Transaction, error)

func (*OEP4TemplateTransactorSession) AsyncTransfer

func (_OEP4Template *OEP4TemplateTransactorSession) AsyncTransfer(handler func(*types.Receipt, error), recipient common.Address, amount *big.Int) (*types.Transaction, error)

func (*OEP4TemplateTransactorSession) AsyncTransferFrom

func (_OEP4Template *OEP4TemplateTransactorSession) AsyncTransferFrom(handler func(*types.Receipt, error), sender common.Address, recipient common.Address, amount *big.Int) (*types.Transaction, error)

func (*OEP4TemplateTransactorSession) DecreaseAllowance

func (_OEP4Template *OEP4TemplateTransactorSession) DecreaseAllowance(spender common.Address, subtractedValue *big.Int) (*types.Transaction, *types.Receipt, error)

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

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

func (*OEP4TemplateTransactorSession) DeletageToProxy

func (_OEP4Template *OEP4TemplateTransactorSession) DeletageToProxy(_proxyHash common.Address, _amount *big.Int) (*types.Transaction, *types.Receipt, error)

DeletageToProxy is a paid mutator transaction binding the contract method 0x2f361b27.

Solidity: function deletageToProxy(address _proxyHash, uint256 _amount) returns(bool)

func (*OEP4TemplateTransactorSession) IncreaseAllowance

func (_OEP4Template *OEP4TemplateTransactorSession) IncreaseAllowance(spender common.Address, addedValue *big.Int) (*types.Transaction, *types.Receipt, error)

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

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

func (*OEP4TemplateTransactorSession) Transfer

func (_OEP4Template *OEP4TemplateTransactorSession) Transfer(recipient common.Address, amount *big.Int) (*types.Transaction, *types.Receipt, error)

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

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

func (*OEP4TemplateTransactorSession) TransferFrom

func (_OEP4Template *OEP4TemplateTransactorSession) TransferFrom(sender common.Address, recipient common.Address, amount *big.Int) (*types.Transaction, *types.Receipt, error)

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

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

type OEP4TemplateTransfer

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

OEP4TemplateTransfer represents a Transfer event raised by the OEP4Template contract.

type OEP4TemplateTransferIterator

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

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

func (*OEP4TemplateTransferIterator) Close

func (it *OEP4TemplateTransferIterator) Close() error

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

func (*OEP4TemplateTransferIterator) Error

func (it *OEP4TemplateTransferIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*OEP4TemplateTransferIterator) 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 SafeMath

type SafeMath struct {
	SafeMathCaller     // Read-only binding to the contract
	SafeMathTransactor // Write-only binding to the contract
	SafeMathFilterer   // Log filterer for contract events
}

SafeMath is an auto generated Go binding around a Solidity contract.

func DeploySafeMath

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

DeploySafeMath deploys a new contract, binding an instance of SafeMath to it.

func NewSafeMath

func NewSafeMath(address common.Address, backend bind.ContractBackend) (*SafeMath, error)

NewSafeMath creates a new instance of SafeMath, bound to a specific deployed contract.

type SafeMathCaller

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

SafeMathCaller is an auto generated read-only Go binding around a Solidity contract.

func NewSafeMathCaller

func NewSafeMathCaller(address common.Address, caller bind.ContractCaller) (*SafeMathCaller, error)

NewSafeMathCaller creates a new read-only instance of SafeMath, bound to a specific deployed contract.

type SafeMathCallerRaw

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

SafeMathCallerRaw is an auto generated low-level read-only Go binding around a Solidity contract.

func (*SafeMathCallerRaw) Call

func (_SafeMath *SafeMathCallerRaw) 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 SafeMathCallerSession

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

SafeMathCallerSession is an auto generated read-only Go binding around a Solidity contract, with pre-set call options.

type SafeMathFilterer

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

SafeMathFilterer is an auto generated log filtering Go binding around a Solidity contract events.

func NewSafeMathFilterer

func NewSafeMathFilterer(address common.Address, filterer bind.ContractFilterer) (*SafeMathFilterer, error)

NewSafeMathFilterer creates a new log filterer instance of SafeMath, bound to a specific deployed contract.

type SafeMathRaw

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

SafeMathRaw is an auto generated low-level Go binding around a Solidity contract.

func (*SafeMathRaw) Call

func (_SafeMath *SafeMathRaw) 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 (*SafeMathRaw) Transact

func (_SafeMath *SafeMathRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, *types.Receipt, error)

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

func (*SafeMathRaw) Transfer

func (_SafeMath *SafeMathRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, *types.Receipt, error)

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

type SafeMathSession

type SafeMathSession struct {
	Contract     *SafeMath         // 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
}

SafeMathSession is an auto generated Go binding around a Solidity contract, with pre-set call and transact options.

type SafeMathTransactor

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

SafeMathTransactor is an auto generated write-only Go binding around a Solidity contract.

func NewSafeMathTransactor

func NewSafeMathTransactor(address common.Address, transactor bind.ContractTransactor) (*SafeMathTransactor, error)

NewSafeMathTransactor creates a new write-only instance of SafeMath, bound to a specific deployed contract.

type SafeMathTransactorRaw

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

SafeMathTransactorRaw is an auto generated low-level write-only Go binding around a Solidity contract.

func (*SafeMathTransactorRaw) Transact

func (_SafeMath *SafeMathTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, *types.Receipt, error)

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

func (*SafeMathTransactorRaw) Transfer

func (_SafeMath *SafeMathTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, *types.Receipt, error)

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

type SafeMathTransactorSession

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

SafeMathTransactorSession is an auto generated write-only Go binding around a Solidity contract, with pre-set transact options.

Jump to

Keyboard shortcuts

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