contracts

package
v1.0.0-rc3 Latest Latest
Warning

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

Go to latest
Published: Jul 21, 2021 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const OneInchOracleABI = "" /* 342-byte string literal not displayed */

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

View Source
const RPLFaucetABI = "" /* 3027-byte string literal not displayed */

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

Variables

This section is empty.

Functions

This section is empty.

Types

type OneInchOracle

type OneInchOracle struct {
	OneInchOracleCaller     // Read-only binding to the contract
	OneInchOracleTransactor // Write-only binding to the contract
	OneInchOracleFilterer   // Log filterer for contract events
}

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

func NewOneInchOracle

func NewOneInchOracle(address common.Address, backend bind.ContractBackend) (*OneInchOracle, error)

NewOneInchOracle creates a new instance of OneInchOracle, bound to a specific deployed contract.

type OneInchOracleCaller

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

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

func NewOneInchOracleCaller

func NewOneInchOracleCaller(address common.Address, caller bind.ContractCaller) (*OneInchOracleCaller, error)

NewOneInchOracleCaller creates a new read-only instance of OneInchOracle, bound to a specific deployed contract.

func (*OneInchOracleCaller) GetRate

func (_OneInchOracle *OneInchOracleCaller) GetRate(opts *bind.CallOpts, srcToken common.Address, dstToken common.Address) (*big.Int, error)

GetRate is a free data retrieval call binding the contract method 0x379b87ea.

Solidity: function getRate(address srcToken, address dstToken) view returns(uint256 weightedRate)

type OneInchOracleCallerRaw

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

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

func (*OneInchOracleCallerRaw) Call

func (_OneInchOracle *OneInchOracleCallerRaw) 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 OneInchOracleCallerSession

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

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

func (*OneInchOracleCallerSession) GetRate

func (_OneInchOracle *OneInchOracleCallerSession) GetRate(srcToken common.Address, dstToken common.Address) (*big.Int, error)

GetRate is a free data retrieval call binding the contract method 0x379b87ea.

Solidity: function getRate(address srcToken, address dstToken) view returns(uint256 weightedRate)

type OneInchOracleFilterer

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

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

func NewOneInchOracleFilterer

func NewOneInchOracleFilterer(address common.Address, filterer bind.ContractFilterer) (*OneInchOracleFilterer, error)

NewOneInchOracleFilterer creates a new log filterer instance of OneInchOracle, bound to a specific deployed contract.

type OneInchOracleRaw

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

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

func (*OneInchOracleRaw) Call

func (_OneInchOracle *OneInchOracleRaw) 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 (*OneInchOracleRaw) Transact

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

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

func (*OneInchOracleRaw) Transfer

func (_OneInchOracle *OneInchOracleRaw) 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 OneInchOracleSession

type OneInchOracleSession struct {
	Contract     *OneInchOracle    // 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
}

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

func (*OneInchOracleSession) GetRate

func (_OneInchOracle *OneInchOracleSession) GetRate(srcToken common.Address, dstToken common.Address) (*big.Int, error)

GetRate is a free data retrieval call binding the contract method 0x379b87ea.

Solidity: function getRate(address srcToken, address dstToken) view returns(uint256 weightedRate)

type OneInchOracleTransactor

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

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

func NewOneInchOracleTransactor

func NewOneInchOracleTransactor(address common.Address, transactor bind.ContractTransactor) (*OneInchOracleTransactor, error)

NewOneInchOracleTransactor creates a new write-only instance of OneInchOracle, bound to a specific deployed contract.

type OneInchOracleTransactorRaw

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

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

func (*OneInchOracleTransactorRaw) Transact

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

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

func (*OneInchOracleTransactorRaw) Transfer

func (_OneInchOracle *OneInchOracleTransactorRaw) 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 OneInchOracleTransactorSession

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

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

type RPLFaucet

type RPLFaucet struct {
	RPLFaucetCaller     // Read-only binding to the contract
	RPLFaucetTransactor // Write-only binding to the contract
	RPLFaucetFilterer   // Log filterer for contract events
}

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

func NewRPLFaucet

func NewRPLFaucet(address common.Address, backend bind.ContractBackend) (*RPLFaucet, error)

NewRPLFaucet creates a new instance of RPLFaucet, bound to a specific deployed contract.

type RPLFaucetCaller

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

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

func NewRPLFaucetCaller

func NewRPLFaucetCaller(address common.Address, caller bind.ContractCaller) (*RPLFaucetCaller, error)

NewRPLFaucetCaller creates a new read-only instance of RPLFaucet, bound to a specific deployed contract.

func (*RPLFaucetCaller) GetAllowance

func (_RPLFaucet *RPLFaucetCaller) GetAllowance(opts *bind.CallOpts) (*big.Int, error)

GetAllowance is a free data retrieval call binding the contract method 0x973e9b8b.

Solidity: function getAllowance() view returns(uint256)

func (*RPLFaucetCaller) GetAllowanceFor

func (_RPLFaucet *RPLFaucetCaller) GetAllowanceFor(opts *bind.CallOpts, _address common.Address) (*big.Int, error)

GetAllowanceFor is a free data retrieval call binding the contract method 0x7639a24b.

Solidity: function getAllowanceFor(address _address) view returns(uint256)

func (*RPLFaucetCaller) GetBalance

func (_RPLFaucet *RPLFaucetCaller) GetBalance(opts *bind.CallOpts) (*big.Int, error)

GetBalance is a free data retrieval call binding the contract method 0x12065fe0.

Solidity: function getBalance() view returns(uint256)

func (*RPLFaucetCaller) GetWithdrawalPeriodStart

func (_RPLFaucet *RPLFaucetCaller) GetWithdrawalPeriodStart(opts *bind.CallOpts) (*big.Int, error)

GetWithdrawalPeriodStart is a free data retrieval call binding the contract method 0xfc65bc4f.

Solidity: function getWithdrawalPeriodStart() view returns(uint256)

func (*RPLFaucetCaller) MaxWithdrawalPerPeriod

func (_RPLFaucet *RPLFaucetCaller) MaxWithdrawalPerPeriod(opts *bind.CallOpts) (*big.Int, error)

MaxWithdrawalPerPeriod is a free data retrieval call binding the contract method 0x203bf056.

Solidity: function maxWithdrawalPerPeriod() view returns(uint256)

func (*RPLFaucetCaller) Owner

func (_RPLFaucet *RPLFaucetCaller) Owner(opts *bind.CallOpts) (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*RPLFaucetCaller) WithdrawalFee

func (_RPLFaucet *RPLFaucetCaller) WithdrawalFee(opts *bind.CallOpts) (*big.Int, error)

WithdrawalFee is a free data retrieval call binding the contract method 0x8bc7e8c4.

Solidity: function withdrawalFee() view returns(uint256)

func (*RPLFaucetCaller) WithdrawalPeriod

func (_RPLFaucet *RPLFaucetCaller) WithdrawalPeriod(opts *bind.CallOpts) (*big.Int, error)

WithdrawalPeriod is a free data retrieval call binding the contract method 0xbca7093d.

Solidity: function withdrawalPeriod() view returns(uint256)

type RPLFaucetCallerRaw

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

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

func (*RPLFaucetCallerRaw) Call

func (_RPLFaucet *RPLFaucetCallerRaw) 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 RPLFaucetCallerSession

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

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

func (*RPLFaucetCallerSession) GetAllowance

func (_RPLFaucet *RPLFaucetCallerSession) GetAllowance() (*big.Int, error)

GetAllowance is a free data retrieval call binding the contract method 0x973e9b8b.

Solidity: function getAllowance() view returns(uint256)

func (*RPLFaucetCallerSession) GetAllowanceFor

func (_RPLFaucet *RPLFaucetCallerSession) GetAllowanceFor(_address common.Address) (*big.Int, error)

GetAllowanceFor is a free data retrieval call binding the contract method 0x7639a24b.

Solidity: function getAllowanceFor(address _address) view returns(uint256)

func (*RPLFaucetCallerSession) GetBalance

func (_RPLFaucet *RPLFaucetCallerSession) GetBalance() (*big.Int, error)

GetBalance is a free data retrieval call binding the contract method 0x12065fe0.

Solidity: function getBalance() view returns(uint256)

func (*RPLFaucetCallerSession) GetWithdrawalPeriodStart

func (_RPLFaucet *RPLFaucetCallerSession) GetWithdrawalPeriodStart() (*big.Int, error)

GetWithdrawalPeriodStart is a free data retrieval call binding the contract method 0xfc65bc4f.

Solidity: function getWithdrawalPeriodStart() view returns(uint256)

func (*RPLFaucetCallerSession) MaxWithdrawalPerPeriod

func (_RPLFaucet *RPLFaucetCallerSession) MaxWithdrawalPerPeriod() (*big.Int, error)

MaxWithdrawalPerPeriod is a free data retrieval call binding the contract method 0x203bf056.

Solidity: function maxWithdrawalPerPeriod() view returns(uint256)

func (*RPLFaucetCallerSession) Owner

func (_RPLFaucet *RPLFaucetCallerSession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*RPLFaucetCallerSession) WithdrawalFee

func (_RPLFaucet *RPLFaucetCallerSession) WithdrawalFee() (*big.Int, error)

WithdrawalFee is a free data retrieval call binding the contract method 0x8bc7e8c4.

Solidity: function withdrawalFee() view returns(uint256)

func (*RPLFaucetCallerSession) WithdrawalPeriod

func (_RPLFaucet *RPLFaucetCallerSession) WithdrawalPeriod() (*big.Int, error)

WithdrawalPeriod is a free data retrieval call binding the contract method 0xbca7093d.

Solidity: function withdrawalPeriod() view returns(uint256)

type RPLFaucetFilterer

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

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

func NewRPLFaucetFilterer

func NewRPLFaucetFilterer(address common.Address, filterer bind.ContractFilterer) (*RPLFaucetFilterer, error)

NewRPLFaucetFilterer creates a new log filterer instance of RPLFaucet, bound to a specific deployed contract.

func (*RPLFaucetFilterer) FilterWithdrawal

func (_RPLFaucet *RPLFaucetFilterer) FilterWithdrawal(opts *bind.FilterOpts, to []common.Address) (*RPLFaucetWithdrawalIterator, error)

FilterWithdrawal is a free log retrieval operation binding the contract event 0xdf273cb619d95419a9cd0ec88123a0538c85064229baa6363788f743fff90deb.

Solidity: event Withdrawal(address indexed to, uint256 value, uint256 created)

func (*RPLFaucetFilterer) ParseWithdrawal

func (_RPLFaucet *RPLFaucetFilterer) ParseWithdrawal(log types.Log) (*RPLFaucetWithdrawal, error)

ParseWithdrawal is a log parse operation binding the contract event 0xdf273cb619d95419a9cd0ec88123a0538c85064229baa6363788f743fff90deb.

Solidity: event Withdrawal(address indexed to, uint256 value, uint256 created)

func (*RPLFaucetFilterer) WatchWithdrawal

func (_RPLFaucet *RPLFaucetFilterer) WatchWithdrawal(opts *bind.WatchOpts, sink chan<- *RPLFaucetWithdrawal, to []common.Address) (event.Subscription, error)

WatchWithdrawal is a free log subscription operation binding the contract event 0xdf273cb619d95419a9cd0ec88123a0538c85064229baa6363788f743fff90deb.

Solidity: event Withdrawal(address indexed to, uint256 value, uint256 created)

type RPLFaucetRaw

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

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

func (*RPLFaucetRaw) Call

func (_RPLFaucet *RPLFaucetRaw) 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 (*RPLFaucetRaw) Transact

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

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

func (*RPLFaucetRaw) Transfer

func (_RPLFaucet *RPLFaucetRaw) 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 RPLFaucetSession

type RPLFaucetSession struct {
	Contract     *RPLFaucet        // 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
}

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

func (*RPLFaucetSession) GetAllowance

func (_RPLFaucet *RPLFaucetSession) GetAllowance() (*big.Int, error)

GetAllowance is a free data retrieval call binding the contract method 0x973e9b8b.

Solidity: function getAllowance() view returns(uint256)

func (*RPLFaucetSession) GetAllowanceFor

func (_RPLFaucet *RPLFaucetSession) GetAllowanceFor(_address common.Address) (*big.Int, error)

GetAllowanceFor is a free data retrieval call binding the contract method 0x7639a24b.

Solidity: function getAllowanceFor(address _address) view returns(uint256)

func (*RPLFaucetSession) GetBalance

func (_RPLFaucet *RPLFaucetSession) GetBalance() (*big.Int, error)

GetBalance is a free data retrieval call binding the contract method 0x12065fe0.

Solidity: function getBalance() view returns(uint256)

func (*RPLFaucetSession) GetWithdrawalPeriodStart

func (_RPLFaucet *RPLFaucetSession) GetWithdrawalPeriodStart() (*big.Int, error)

GetWithdrawalPeriodStart is a free data retrieval call binding the contract method 0xfc65bc4f.

Solidity: function getWithdrawalPeriodStart() view returns(uint256)

func (*RPLFaucetSession) MaxWithdrawalPerPeriod

func (_RPLFaucet *RPLFaucetSession) MaxWithdrawalPerPeriod() (*big.Int, error)

MaxWithdrawalPerPeriod is a free data retrieval call binding the contract method 0x203bf056.

Solidity: function maxWithdrawalPerPeriod() view returns(uint256)

func (*RPLFaucetSession) Owner

func (_RPLFaucet *RPLFaucetSession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*RPLFaucetSession) SetMaxWithdrawalPerPeriod

func (_RPLFaucet *RPLFaucetSession) SetMaxWithdrawalPerPeriod(_maxWithdrawalPerPeriod *big.Int) (*types.Transaction, error)

SetMaxWithdrawalPerPeriod is a paid mutator transaction binding the contract method 0xc0ac9128.

Solidity: function setMaxWithdrawalPerPeriod(uint256 _maxWithdrawalPerPeriod) returns()

func (*RPLFaucetSession) SetWithdrawalFee

func (_RPLFaucet *RPLFaucetSession) SetWithdrawalFee(_withdrawalFee *big.Int) (*types.Transaction, error)

SetWithdrawalFee is a paid mutator transaction binding the contract method 0xac1e5025.

Solidity: function setWithdrawalFee(uint256 _withdrawalFee) returns()

func (*RPLFaucetSession) SetWithdrawalPeriod

func (_RPLFaucet *RPLFaucetSession) SetWithdrawalPeriod(_withdrawalPeriod *big.Int) (*types.Transaction, error)

SetWithdrawalPeriod is a paid mutator transaction binding the contract method 0x973b294f.

Solidity: function setWithdrawalPeriod(uint256 _withdrawalPeriod) returns()

func (*RPLFaucetSession) Withdraw

func (_RPLFaucet *RPLFaucetSession) Withdraw(_amount *big.Int) (*types.Transaction, error)

Withdraw is a paid mutator transaction binding the contract method 0x2e1a7d4d.

Solidity: function withdraw(uint256 _amount) payable returns(bool)

func (*RPLFaucetSession) WithdrawTo

func (_RPLFaucet *RPLFaucetSession) WithdrawTo(_to common.Address, _amount *big.Int) (*types.Transaction, error)

WithdrawTo is a paid mutator transaction binding the contract method 0x205c2878.

Solidity: function withdrawTo(address _to, uint256 _amount) payable returns(bool)

func (*RPLFaucetSession) WithdrawalFee

func (_RPLFaucet *RPLFaucetSession) WithdrawalFee() (*big.Int, error)

WithdrawalFee is a free data retrieval call binding the contract method 0x8bc7e8c4.

Solidity: function withdrawalFee() view returns(uint256)

func (*RPLFaucetSession) WithdrawalPeriod

func (_RPLFaucet *RPLFaucetSession) WithdrawalPeriod() (*big.Int, error)

WithdrawalPeriod is a free data retrieval call binding the contract method 0xbca7093d.

Solidity: function withdrawalPeriod() view returns(uint256)

type RPLFaucetTransactor

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

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

func NewRPLFaucetTransactor

func NewRPLFaucetTransactor(address common.Address, transactor bind.ContractTransactor) (*RPLFaucetTransactor, error)

NewRPLFaucetTransactor creates a new write-only instance of RPLFaucet, bound to a specific deployed contract.

func (*RPLFaucetTransactor) SetMaxWithdrawalPerPeriod

func (_RPLFaucet *RPLFaucetTransactor) SetMaxWithdrawalPerPeriod(opts *bind.TransactOpts, _maxWithdrawalPerPeriod *big.Int) (*types.Transaction, error)

SetMaxWithdrawalPerPeriod is a paid mutator transaction binding the contract method 0xc0ac9128.

Solidity: function setMaxWithdrawalPerPeriod(uint256 _maxWithdrawalPerPeriod) returns()

func (*RPLFaucetTransactor) SetWithdrawalFee

func (_RPLFaucet *RPLFaucetTransactor) SetWithdrawalFee(opts *bind.TransactOpts, _withdrawalFee *big.Int) (*types.Transaction, error)

SetWithdrawalFee is a paid mutator transaction binding the contract method 0xac1e5025.

Solidity: function setWithdrawalFee(uint256 _withdrawalFee) returns()

func (*RPLFaucetTransactor) SetWithdrawalPeriod

func (_RPLFaucet *RPLFaucetTransactor) SetWithdrawalPeriod(opts *bind.TransactOpts, _withdrawalPeriod *big.Int) (*types.Transaction, error)

SetWithdrawalPeriod is a paid mutator transaction binding the contract method 0x973b294f.

Solidity: function setWithdrawalPeriod(uint256 _withdrawalPeriod) returns()

func (*RPLFaucetTransactor) Withdraw

func (_RPLFaucet *RPLFaucetTransactor) Withdraw(opts *bind.TransactOpts, _amount *big.Int) (*types.Transaction, error)

Withdraw is a paid mutator transaction binding the contract method 0x2e1a7d4d.

Solidity: function withdraw(uint256 _amount) payable returns(bool)

func (*RPLFaucetTransactor) WithdrawTo

func (_RPLFaucet *RPLFaucetTransactor) WithdrawTo(opts *bind.TransactOpts, _to common.Address, _amount *big.Int) (*types.Transaction, error)

WithdrawTo is a paid mutator transaction binding the contract method 0x205c2878.

Solidity: function withdrawTo(address _to, uint256 _amount) payable returns(bool)

type RPLFaucetTransactorRaw

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

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

func (*RPLFaucetTransactorRaw) Transact

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

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

func (*RPLFaucetTransactorRaw) Transfer

func (_RPLFaucet *RPLFaucetTransactorRaw) 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 RPLFaucetTransactorSession

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

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

func (*RPLFaucetTransactorSession) SetMaxWithdrawalPerPeriod

func (_RPLFaucet *RPLFaucetTransactorSession) SetMaxWithdrawalPerPeriod(_maxWithdrawalPerPeriod *big.Int) (*types.Transaction, error)

SetMaxWithdrawalPerPeriod is a paid mutator transaction binding the contract method 0xc0ac9128.

Solidity: function setMaxWithdrawalPerPeriod(uint256 _maxWithdrawalPerPeriod) returns()

func (*RPLFaucetTransactorSession) SetWithdrawalFee

func (_RPLFaucet *RPLFaucetTransactorSession) SetWithdrawalFee(_withdrawalFee *big.Int) (*types.Transaction, error)

SetWithdrawalFee is a paid mutator transaction binding the contract method 0xac1e5025.

Solidity: function setWithdrawalFee(uint256 _withdrawalFee) returns()

func (*RPLFaucetTransactorSession) SetWithdrawalPeriod

func (_RPLFaucet *RPLFaucetTransactorSession) SetWithdrawalPeriod(_withdrawalPeriod *big.Int) (*types.Transaction, error)

SetWithdrawalPeriod is a paid mutator transaction binding the contract method 0x973b294f.

Solidity: function setWithdrawalPeriod(uint256 _withdrawalPeriod) returns()

func (*RPLFaucetTransactorSession) Withdraw

func (_RPLFaucet *RPLFaucetTransactorSession) Withdraw(_amount *big.Int) (*types.Transaction, error)

Withdraw is a paid mutator transaction binding the contract method 0x2e1a7d4d.

Solidity: function withdraw(uint256 _amount) payable returns(bool)

func (*RPLFaucetTransactorSession) WithdrawTo

func (_RPLFaucet *RPLFaucetTransactorSession) WithdrawTo(_to common.Address, _amount *big.Int) (*types.Transaction, error)

WithdrawTo is a paid mutator transaction binding the contract method 0x205c2878.

Solidity: function withdrawTo(address _to, uint256 _amount) payable returns(bool)

type RPLFaucetWithdrawal

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

RPLFaucetWithdrawal represents a Withdrawal event raised by the RPLFaucet contract.

type RPLFaucetWithdrawalIterator

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

RPLFaucetWithdrawalIterator is returned from FilterWithdrawal and is used to iterate over the raw logs and unpacked data for Withdrawal events raised by the RPLFaucet contract.

func (*RPLFaucetWithdrawalIterator) Close

func (it *RPLFaucetWithdrawalIterator) Close() error

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

func (*RPLFaucetWithdrawalIterator) Error

func (it *RPLFaucetWithdrawalIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*RPLFaucetWithdrawalIterator) Next

func (it *RPLFaucetWithdrawalIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

Jump to

Keyboard shortcuts

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