Documentation ¶
Index ¶
- Constants
- Variables
- func ParseERC20SafeABI() (*abi.ABI, error)
- type ERC20Safe
- type ERC20SafeCaller
- type ERC20SafeCallerRaw
- type ERC20SafeCallerSession
- type ERC20SafeFilterer
- type ERC20SafeRaw
- func (_ERC20Safe *ERC20SafeRaw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error
- func (_ERC20Safe *ERC20SafeRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_ERC20Safe *ERC20SafeRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type ERC20SafeSession
- type ERC20SafeTransactor
- type ERC20SafeTransactorRaw
- type ERC20SafeTransactorSession
Constants ¶
const ERC20SafeABI = "" /* 351-byte string literal not displayed */
ERC20SafeABI is the input ABI used to generate the binding from.
Variables ¶
var ERC20SafeBin = "" /* 1294-byte string literal not displayed */
ERC20SafeBin is the compiled bytecode used for deploying new contracts.
Functions ¶
func ParseERC20SafeABI ¶
ParseERC20SafeABI parses the ABI
Types ¶
type ERC20Safe ¶
type ERC20Safe struct { ERC20SafeCaller // Read-only binding to the contract ERC20SafeTransactor // Write-only binding to the contract ERC20SafeFilterer // Log filterer for contract events }
ERC20Safe is an auto generated Go binding around an Ethereum contract.
func DeployERC20Safe ¶
func DeployERC20Safe(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *ERC20Safe, error)
DeployERC20Safe deploys a new Ethereum contract, binding an instance of ERC20Safe to it.
func NewERC20Safe ¶
NewERC20Safe creates a new instance of ERC20Safe, bound to a specific deployed contract.
type ERC20SafeCaller ¶
type ERC20SafeCaller struct {
// contains filtered or unexported fields
}
ERC20SafeCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewERC20SafeCaller ¶
func NewERC20SafeCaller(address common.Address, caller bind.ContractCaller) (*ERC20SafeCaller, error)
NewERC20SafeCaller creates a new read-only instance of ERC20Safe, bound to a specific deployed contract.
type ERC20SafeCallerRaw ¶
type ERC20SafeCallerRaw struct {
Contract *ERC20SafeCaller // Generic read-only contract binding to access the raw methods on
}
ERC20SafeCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*ERC20SafeCallerRaw) Call ¶
func (_ERC20Safe *ERC20SafeCallerRaw) 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 ERC20SafeCallerSession ¶
type ERC20SafeCallerSession struct { Contract *ERC20SafeCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
ERC20SafeCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
type ERC20SafeFilterer ¶
type ERC20SafeFilterer struct {
// contains filtered or unexported fields
}
ERC20SafeFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewERC20SafeFilterer ¶
func NewERC20SafeFilterer(address common.Address, filterer bind.ContractFilterer) (*ERC20SafeFilterer, error)
NewERC20SafeFilterer creates a new log filterer instance of ERC20Safe, bound to a specific deployed contract.
func (*ERC20SafeFilterer) TryParseLog ¶
func (_ERC20Safe *ERC20SafeFilterer) TryParseLog(log types.Log) (eventName string, event interface{}, ok bool, err error)
TryParseLog attempts to parse a log. Returns the parsed log, evenName and whether it was succesfull
type ERC20SafeRaw ¶
type ERC20SafeRaw struct {
Contract *ERC20Safe // Generic contract binding to access the raw methods on
}
ERC20SafeRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*ERC20SafeRaw) Call ¶
func (_ERC20Safe *ERC20SafeRaw) 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 (*ERC20SafeRaw) Transact ¶
func (_ERC20Safe *ERC20SafeRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*ERC20SafeRaw) Transfer ¶
func (_ERC20Safe *ERC20SafeRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.
type ERC20SafeSession ¶
type ERC20SafeSession struct { Contract *ERC20Safe // 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 }
ERC20SafeSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*ERC20SafeSession) FundERC20 ¶
func (_ERC20Safe *ERC20SafeSession) FundERC20(tokenAddress common.Address, owner common.Address, amount *big.Int) (*types.Transaction, error)
FundERC20 is a paid mutator transaction binding the contract method 0x95601f09.
Solidity: function fundERC20(address tokenAddress, address owner, uint256 amount) returns()
type ERC20SafeTransactor ¶
type ERC20SafeTransactor struct {
// contains filtered or unexported fields
}
ERC20SafeTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewERC20SafeTransactor ¶
func NewERC20SafeTransactor(address common.Address, transactor bind.ContractTransactor) (*ERC20SafeTransactor, error)
NewERC20SafeTransactor creates a new write-only instance of ERC20Safe, bound to a specific deployed contract.
func (*ERC20SafeTransactor) FundERC20 ¶
func (_ERC20Safe *ERC20SafeTransactor) FundERC20(opts *bind.TransactOpts, tokenAddress common.Address, owner common.Address, amount *big.Int) (*types.Transaction, error)
FundERC20 is a paid mutator transaction binding the contract method 0x95601f09.
Solidity: function fundERC20(address tokenAddress, address owner, uint256 amount) returns()
type ERC20SafeTransactorRaw ¶
type ERC20SafeTransactorRaw struct {
Contract *ERC20SafeTransactor // Generic write-only contract binding to access the raw methods on
}
ERC20SafeTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*ERC20SafeTransactorRaw) Transact ¶
func (_ERC20Safe *ERC20SafeTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*ERC20SafeTransactorRaw) Transfer ¶
func (_ERC20Safe *ERC20SafeTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.
type ERC20SafeTransactorSession ¶
type ERC20SafeTransactorSession struct { Contract *ERC20SafeTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
ERC20SafeTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*ERC20SafeTransactorSession) FundERC20 ¶
func (_ERC20Safe *ERC20SafeTransactorSession) FundERC20(tokenAddress common.Address, owner common.Address, amount *big.Int) (*types.Transaction, error)
FundERC20 is a paid mutator transaction binding the contract method 0x95601f09.
Solidity: function fundERC20(address tokenAddress, address owner, uint256 amount) returns()