Documentation ¶
Index ¶
- Variables
- type SafeERC20
- type SafeERC20Caller
- type SafeERC20CallerRaw
- type SafeERC20CallerSession
- type SafeERC20Filterer
- type SafeERC20Raw
- func (_SafeERC20 *SafeERC20Raw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_SafeERC20 *SafeERC20Raw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_SafeERC20 *SafeERC20Raw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type SafeERC20Session
- type SafeERC20Transactor
- type SafeERC20TransactorRaw
- type SafeERC20TransactorSession
Constants ¶
This section is empty.
Variables ¶
var SafeERC20ABI = SafeERC20MetaData.ABI
SafeERC20ABI is the input ABI used to generate the binding from. Deprecated: Use SafeERC20MetaData.ABI instead.
var SafeERC20Bin = SafeERC20MetaData.Bin
SafeERC20Bin is the compiled bytecode used for deploying new contracts. Deprecated: Use SafeERC20MetaData.Bin instead.
var SafeERC20MetaData = &bind.MetaData{
ABI: "[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"currentAllowance\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"requestedDecrease\",\"type\":\"uint256\"}],\"name\":\"SafeERC20FailedDecreaseAllowance\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"}],\"name\":\"SafeERC20FailedOperation\",\"type\":\"error\"}]",
Bin: "0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220bfc23a0f53ebed26b1686f1a14e3c95322dd51ff86eb83ade06e6f6cebf9894a64736f6c63430008150033",
}
SafeERC20MetaData contains all meta data concerning the SafeERC20 contract.
Functions ¶
This section is empty.
Types ¶
type SafeERC20 ¶
type SafeERC20 struct { SafeERC20Caller // Read-only binding to the contract SafeERC20Transactor // Write-only binding to the contract SafeERC20Filterer // Log filterer for contract events }
SafeERC20 is an auto generated Go binding around an Ethereum contract.
func DeploySafeERC20 ¶
func DeploySafeERC20(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *SafeERC20, error)
DeploySafeERC20 deploys a new Ethereum contract, binding an instance of SafeERC20 to it.
func NewSafeERC20 ¶
NewSafeERC20 creates a new instance of SafeERC20, bound to a specific deployed contract.
type SafeERC20Caller ¶
type SafeERC20Caller struct {
// contains filtered or unexported fields
}
SafeERC20Caller is an auto generated read-only Go binding around an Ethereum contract.
func NewSafeERC20Caller ¶
func NewSafeERC20Caller(address common.Address, caller bind.ContractCaller) (*SafeERC20Caller, error)
NewSafeERC20Caller creates a new read-only instance of SafeERC20, bound to a specific deployed contract.
type SafeERC20CallerRaw ¶
type SafeERC20CallerRaw struct {
Contract *SafeERC20Caller // Generic read-only contract binding to access the raw methods on
}
SafeERC20CallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*SafeERC20CallerRaw) Call ¶
func (_SafeERC20 *SafeERC20CallerRaw) 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 SafeERC20CallerSession ¶
type SafeERC20CallerSession struct { Contract *SafeERC20Caller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
SafeERC20CallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
type SafeERC20Filterer ¶
type SafeERC20Filterer struct {
// contains filtered or unexported fields
}
SafeERC20Filterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewSafeERC20Filterer ¶
func NewSafeERC20Filterer(address common.Address, filterer bind.ContractFilterer) (*SafeERC20Filterer, error)
NewSafeERC20Filterer creates a new log filterer instance of SafeERC20, bound to a specific deployed contract.
type SafeERC20Raw ¶
type SafeERC20Raw struct {
Contract *SafeERC20 // Generic contract binding to access the raw methods on
}
SafeERC20Raw is an auto generated low-level Go binding around an Ethereum contract.
func (*SafeERC20Raw) Call ¶
func (_SafeERC20 *SafeERC20Raw) 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 (*SafeERC20Raw) Transact ¶
func (_SafeERC20 *SafeERC20Raw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*SafeERC20Raw) Transfer ¶
func (_SafeERC20 *SafeERC20Raw) 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 SafeERC20Session ¶
type SafeERC20Session struct { Contract *SafeERC20 // 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 }
SafeERC20Session is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
type SafeERC20Transactor ¶
type SafeERC20Transactor struct {
// contains filtered or unexported fields
}
SafeERC20Transactor is an auto generated write-only Go binding around an Ethereum contract.
func NewSafeERC20Transactor ¶
func NewSafeERC20Transactor(address common.Address, transactor bind.ContractTransactor) (*SafeERC20Transactor, error)
NewSafeERC20Transactor creates a new write-only instance of SafeERC20, bound to a specific deployed contract.
type SafeERC20TransactorRaw ¶
type SafeERC20TransactorRaw struct {
Contract *SafeERC20Transactor // Generic write-only contract binding to access the raw methods on
}
SafeERC20TransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*SafeERC20TransactorRaw) Transact ¶
func (_SafeERC20 *SafeERC20TransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*SafeERC20TransactorRaw) Transfer ¶
func (_SafeERC20 *SafeERC20TransactorRaw) 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 SafeERC20TransactorSession ¶
type SafeERC20TransactorSession struct { Contract *SafeERC20Transactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
SafeERC20TransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.