eth

package
v0.0.0 Latest Latest
Warning

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

Go to latest
Published: Nov 5, 2018 License: GPL-3.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

View Source
const RenExAtomicSwapperABI = "" /* 3442-byte string literal not displayed */

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

View Source
const RenExAtomicSwapperBin = `` /* 5976-byte string literal not displayed */

RenExAtomicSwapperBin is the compiled bytecode used for deploying new contracts.

Variables

This section is empty.

Functions

func NewETHSwapContractBinder

func NewETHSwapContractBinder(account beth.Account, swap foundation.Swap, logger swapper.Logger) (swapper.Contract, error)

NewETHSwapContractBinder returns a new Ethereum RequestAtom instance

Types

type RenExAtomicSwapper

type RenExAtomicSwapper struct {
	RenExAtomicSwapperCaller     // Read-only binding to the contract
	RenExAtomicSwapperTransactor // Write-only binding to the contract
	RenExAtomicSwapperFilterer   // Log filterer for contract events
}

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

func DeployRenExAtomicSwapper

func DeployRenExAtomicSwapper(auth *bind.TransactOpts, backend bind.ContractBackend, _VERSION string) (common.Address, *types.Transaction, *RenExAtomicSwapper, error)

DeployRenExAtomicSwapper deploys a new Ethereum contract, binding an instance of RenExAtomicSwapper to it.

func NewRenExAtomicSwapper

func NewRenExAtomicSwapper(address common.Address, backend bind.ContractBackend) (*RenExAtomicSwapper, error)

NewRenExAtomicSwapper creates a new instance of RenExAtomicSwapper, bound to a specific deployed contract.

type RenExAtomicSwapperCaller

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

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

func NewRenExAtomicSwapperCaller

func NewRenExAtomicSwapperCaller(address common.Address, caller bind.ContractCaller) (*RenExAtomicSwapperCaller, error)

NewRenExAtomicSwapperCaller creates a new read-only instance of RenExAtomicSwapper, bound to a specific deployed contract.

func (*RenExAtomicSwapperCaller) Audit

func (_RenExAtomicSwapper *RenExAtomicSwapperCaller) Audit(opts *bind.CallOpts, _swapID [32]byte) (struct {
	Timelock   *big.Int
	Value      *big.Int
	To         common.Address
	From       common.Address
	SecretLock [32]byte
}, error)

Audit is a free data retrieval call binding the contract method 0xc140635b.

Solidity: function audit(_swapID bytes32) constant returns(timelock uint256, value uint256, to address, from address, secretLock bytes32)

func (*RenExAtomicSwapperCaller) AuditSecret

func (_RenExAtomicSwapper *RenExAtomicSwapperCaller) AuditSecret(opts *bind.CallOpts, _swapID [32]byte) ([32]byte, error)

AuditSecret is a free data retrieval call binding the contract method 0x976d00f4.

Solidity: function auditSecret(_swapID bytes32) constant returns(secretKey bytes32)

func (*RenExAtomicSwapperCaller) Initiatable

func (_RenExAtomicSwapper *RenExAtomicSwapperCaller) Initiatable(opts *bind.CallOpts, _swapID [32]byte) (bool, error)

Initiatable is a free data retrieval call binding the contract method 0x09ece618.

Solidity: function initiatable(_swapID bytes32) constant returns(bool)

func (*RenExAtomicSwapperCaller) Redeemable

func (_RenExAtomicSwapper *RenExAtomicSwapperCaller) Redeemable(opts *bind.CallOpts, _swapID [32]byte) (bool, error)

Redeemable is a free data retrieval call binding the contract method 0x68f06b29.

Solidity: function redeemable(_swapID bytes32) constant returns(bool)

func (*RenExAtomicSwapperCaller) RedeemedAt

func (_RenExAtomicSwapper *RenExAtomicSwapperCaller) RedeemedAt(opts *bind.CallOpts, arg0 [32]byte) (*big.Int, error)

RedeemedAt is a free data retrieval call binding the contract method 0xbc4fcc4a.

Solidity: function redeemedAt( bytes32) constant returns(uint256)

func (*RenExAtomicSwapperCaller) Refundable

func (_RenExAtomicSwapper *RenExAtomicSwapperCaller) Refundable(opts *bind.CallOpts, _swapID [32]byte) (bool, error)

Refundable is a free data retrieval call binding the contract method 0x9fb31475.

Solidity: function refundable(_swapID bytes32) constant returns(bool)

func (*RenExAtomicSwapperCaller) SwapID

func (_RenExAtomicSwapper *RenExAtomicSwapperCaller) SwapID(opts *bind.CallOpts, _secretLock [32]byte, _timelock *big.Int) ([32]byte, error)

SwapID is a free data retrieval call binding the contract method 0x4b2ac3fa.

Solidity: function swapID(_secretLock bytes32, _timelock uint256) constant returns(bytes32)

func (*RenExAtomicSwapperCaller) VERSION

func (_RenExAtomicSwapper *RenExAtomicSwapperCaller) VERSION(opts *bind.CallOpts) (string, error)

VERSION is a free data retrieval call binding the contract method 0xffa1ad74.

Solidity: function VERSION() constant returns(string)

type RenExAtomicSwapperCallerRaw

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

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

func (*RenExAtomicSwapperCallerRaw) Call

func (_RenExAtomicSwapper *RenExAtomicSwapperCallerRaw) 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 RenExAtomicSwapperCallerSession

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

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

func (*RenExAtomicSwapperCallerSession) Audit

func (_RenExAtomicSwapper *RenExAtomicSwapperCallerSession) Audit(_swapID [32]byte) (struct {
	Timelock   *big.Int
	Value      *big.Int
	To         common.Address
	From       common.Address
	SecretLock [32]byte
}, error)

Audit is a free data retrieval call binding the contract method 0xc140635b.

Solidity: function audit(_swapID bytes32) constant returns(timelock uint256, value uint256, to address, from address, secretLock bytes32)

func (*RenExAtomicSwapperCallerSession) AuditSecret

func (_RenExAtomicSwapper *RenExAtomicSwapperCallerSession) AuditSecret(_swapID [32]byte) ([32]byte, error)

AuditSecret is a free data retrieval call binding the contract method 0x976d00f4.

Solidity: function auditSecret(_swapID bytes32) constant returns(secretKey bytes32)

func (*RenExAtomicSwapperCallerSession) Initiatable

func (_RenExAtomicSwapper *RenExAtomicSwapperCallerSession) Initiatable(_swapID [32]byte) (bool, error)

Initiatable is a free data retrieval call binding the contract method 0x09ece618.

Solidity: function initiatable(_swapID bytes32) constant returns(bool)

func (*RenExAtomicSwapperCallerSession) Redeemable

func (_RenExAtomicSwapper *RenExAtomicSwapperCallerSession) Redeemable(_swapID [32]byte) (bool, error)

Redeemable is a free data retrieval call binding the contract method 0x68f06b29.

Solidity: function redeemable(_swapID bytes32) constant returns(bool)

func (*RenExAtomicSwapperCallerSession) RedeemedAt

func (_RenExAtomicSwapper *RenExAtomicSwapperCallerSession) RedeemedAt(arg0 [32]byte) (*big.Int, error)

RedeemedAt is a free data retrieval call binding the contract method 0xbc4fcc4a.

Solidity: function redeemedAt( bytes32) constant returns(uint256)

func (*RenExAtomicSwapperCallerSession) Refundable

func (_RenExAtomicSwapper *RenExAtomicSwapperCallerSession) Refundable(_swapID [32]byte) (bool, error)

Refundable is a free data retrieval call binding the contract method 0x9fb31475.

Solidity: function refundable(_swapID bytes32) constant returns(bool)

func (*RenExAtomicSwapperCallerSession) SwapID

func (_RenExAtomicSwapper *RenExAtomicSwapperCallerSession) SwapID(_secretLock [32]byte, _timelock *big.Int) ([32]byte, error)

SwapID is a free data retrieval call binding the contract method 0x4b2ac3fa.

Solidity: function swapID(_secretLock bytes32, _timelock uint256) constant returns(bytes32)

func (*RenExAtomicSwapperCallerSession) VERSION

func (_RenExAtomicSwapper *RenExAtomicSwapperCallerSession) VERSION() (string, error)

VERSION is a free data retrieval call binding the contract method 0xffa1ad74.

Solidity: function VERSION() constant returns(string)

type RenExAtomicSwapperFilterer

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

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

func NewRenExAtomicSwapperFilterer

func NewRenExAtomicSwapperFilterer(address common.Address, filterer bind.ContractFilterer) (*RenExAtomicSwapperFilterer, error)

NewRenExAtomicSwapperFilterer creates a new log filterer instance of RenExAtomicSwapper, bound to a specific deployed contract.

func (*RenExAtomicSwapperFilterer) FilterLogClose

func (_RenExAtomicSwapper *RenExAtomicSwapperFilterer) FilterLogClose(opts *bind.FilterOpts) (*RenExAtomicSwapperLogCloseIterator, error)

FilterLogClose is a free log retrieval operation binding the contract event 0x07da1fa25a1d885732677ce9c192cbec27051a4b69d391c9a64850f5a5112ba0.

Solidity: e LogClose(_swapID bytes32, _secretKey bytes32)

func (*RenExAtomicSwapperFilterer) FilterLogExpire

func (_RenExAtomicSwapper *RenExAtomicSwapperFilterer) FilterLogExpire(opts *bind.FilterOpts) (*RenExAtomicSwapperLogExpireIterator, error)

FilterLogExpire is a free log retrieval operation binding the contract event 0xeb711459e1247171382f0da0387b86239b8e3ca60af3b15a9ff2f1eb3d7f6a1d.

Solidity: e LogExpire(_swapID bytes32)

func (*RenExAtomicSwapperFilterer) FilterLogOpen

func (_RenExAtomicSwapper *RenExAtomicSwapperFilterer) FilterLogOpen(opts *bind.FilterOpts) (*RenExAtomicSwapperLogOpenIterator, error)

FilterLogOpen is a free log retrieval operation binding the contract event 0x497d46e9505eefe8b910d1a02e6b40d8769510023b0053c3ac4b9574b81c97bf.

Solidity: e LogOpen(_swapID bytes32, _withdrawTrader address, _secretLock bytes32)

func (*RenExAtomicSwapperFilterer) WatchLogClose

func (_RenExAtomicSwapper *RenExAtomicSwapperFilterer) WatchLogClose(opts *bind.WatchOpts, sink chan<- *RenExAtomicSwapperLogClose) (event.Subscription, error)

WatchLogClose is a free log subscription operation binding the contract event 0x07da1fa25a1d885732677ce9c192cbec27051a4b69d391c9a64850f5a5112ba0.

Solidity: e LogClose(_swapID bytes32, _secretKey bytes32)

func (*RenExAtomicSwapperFilterer) WatchLogExpire

func (_RenExAtomicSwapper *RenExAtomicSwapperFilterer) WatchLogExpire(opts *bind.WatchOpts, sink chan<- *RenExAtomicSwapperLogExpire) (event.Subscription, error)

WatchLogExpire is a free log subscription operation binding the contract event 0xeb711459e1247171382f0da0387b86239b8e3ca60af3b15a9ff2f1eb3d7f6a1d.

Solidity: e LogExpire(_swapID bytes32)

func (*RenExAtomicSwapperFilterer) WatchLogOpen

func (_RenExAtomicSwapper *RenExAtomicSwapperFilterer) WatchLogOpen(opts *bind.WatchOpts, sink chan<- *RenExAtomicSwapperLogOpen) (event.Subscription, error)

WatchLogOpen is a free log subscription operation binding the contract event 0x497d46e9505eefe8b910d1a02e6b40d8769510023b0053c3ac4b9574b81c97bf.

Solidity: e LogOpen(_swapID bytes32, _withdrawTrader address, _secretLock bytes32)

type RenExAtomicSwapperLogClose

type RenExAtomicSwapperLogClose struct {
	SwapID    [32]byte
	SecretKey [32]byte
	Raw       types.Log // Blockchain specific contextual infos
}

RenExAtomicSwapperLogClose represents a LogClose event raised by the RenExAtomicSwapper contract.

type RenExAtomicSwapperLogCloseIterator

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

RenExAtomicSwapperLogCloseIterator is returned from FilterLogClose and is used to iterate over the raw logs and unpacked data for LogClose events raised by the RenExAtomicSwapper contract.

func (*RenExAtomicSwapperLogCloseIterator) Close

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

func (*RenExAtomicSwapperLogCloseIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*RenExAtomicSwapperLogCloseIterator) 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 RenExAtomicSwapperLogExpire

type RenExAtomicSwapperLogExpire struct {
	SwapID [32]byte
	Raw    types.Log // Blockchain specific contextual infos
}

RenExAtomicSwapperLogExpire represents a LogExpire event raised by the RenExAtomicSwapper contract.

type RenExAtomicSwapperLogExpireIterator

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

RenExAtomicSwapperLogExpireIterator is returned from FilterLogExpire and is used to iterate over the raw logs and unpacked data for LogExpire events raised by the RenExAtomicSwapper contract.

func (*RenExAtomicSwapperLogExpireIterator) Close

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

func (*RenExAtomicSwapperLogExpireIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*RenExAtomicSwapperLogExpireIterator) 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 RenExAtomicSwapperLogOpen

type RenExAtomicSwapperLogOpen struct {
	SwapID         [32]byte
	WithdrawTrader common.Address
	SecretLock     [32]byte
	Raw            types.Log // Blockchain specific contextual infos
}

RenExAtomicSwapperLogOpen represents a LogOpen event raised by the RenExAtomicSwapper contract.

type RenExAtomicSwapperLogOpenIterator

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

RenExAtomicSwapperLogOpenIterator is returned from FilterLogOpen and is used to iterate over the raw logs and unpacked data for LogOpen events raised by the RenExAtomicSwapper contract.

func (*RenExAtomicSwapperLogOpenIterator) Close

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

func (*RenExAtomicSwapperLogOpenIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*RenExAtomicSwapperLogOpenIterator) 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 RenExAtomicSwapperRaw

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

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

func (*RenExAtomicSwapperRaw) Call

func (_RenExAtomicSwapper *RenExAtomicSwapperRaw) 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 (*RenExAtomicSwapperRaw) Transact

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

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

func (*RenExAtomicSwapperRaw) Transfer

func (_RenExAtomicSwapper *RenExAtomicSwapperRaw) 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 RenExAtomicSwapperSession

type RenExAtomicSwapperSession struct {
	Contract     *RenExAtomicSwapper // 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
}

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

func (*RenExAtomicSwapperSession) Audit

func (_RenExAtomicSwapper *RenExAtomicSwapperSession) Audit(_swapID [32]byte) (struct {
	Timelock   *big.Int
	Value      *big.Int
	To         common.Address
	From       common.Address
	SecretLock [32]byte
}, error)

Audit is a free data retrieval call binding the contract method 0xc140635b.

Solidity: function audit(_swapID bytes32) constant returns(timelock uint256, value uint256, to address, from address, secretLock bytes32)

func (*RenExAtomicSwapperSession) AuditSecret

func (_RenExAtomicSwapper *RenExAtomicSwapperSession) AuditSecret(_swapID [32]byte) ([32]byte, error)

AuditSecret is a free data retrieval call binding the contract method 0x976d00f4.

Solidity: function auditSecret(_swapID bytes32) constant returns(secretKey bytes32)

func (*RenExAtomicSwapperSession) Initiatable

func (_RenExAtomicSwapper *RenExAtomicSwapperSession) Initiatable(_swapID [32]byte) (bool, error)

Initiatable is a free data retrieval call binding the contract method 0x09ece618.

Solidity: function initiatable(_swapID bytes32) constant returns(bool)

func (*RenExAtomicSwapperSession) Initiate

func (_RenExAtomicSwapper *RenExAtomicSwapperSession) Initiate(_swapID [32]byte, _withdrawTrader common.Address, _secretLock [32]byte, _timelock *big.Int) (*types.Transaction, error)

Initiate is a paid mutator transaction binding the contract method 0x412c0b58.

Solidity: function initiate(_swapID bytes32, _withdrawTrader address, _secretLock bytes32, _timelock uint256) returns()

func (*RenExAtomicSwapperSession) Redeem

func (_RenExAtomicSwapper *RenExAtomicSwapperSession) Redeem(_swapID [32]byte, _secretKey [32]byte) (*types.Transaction, error)

Redeem is a paid mutator transaction binding the contract method 0xb31597ad.

Solidity: function redeem(_swapID bytes32, _secretKey bytes32) returns()

func (*RenExAtomicSwapperSession) Redeemable

func (_RenExAtomicSwapper *RenExAtomicSwapperSession) Redeemable(_swapID [32]byte) (bool, error)

Redeemable is a free data retrieval call binding the contract method 0x68f06b29.

Solidity: function redeemable(_swapID bytes32) constant returns(bool)

func (*RenExAtomicSwapperSession) RedeemedAt

func (_RenExAtomicSwapper *RenExAtomicSwapperSession) RedeemedAt(arg0 [32]byte) (*big.Int, error)

RedeemedAt is a free data retrieval call binding the contract method 0xbc4fcc4a.

Solidity: function redeemedAt( bytes32) constant returns(uint256)

func (*RenExAtomicSwapperSession) Refund

func (_RenExAtomicSwapper *RenExAtomicSwapperSession) Refund(_swapID [32]byte) (*types.Transaction, error)

Refund is a paid mutator transaction binding the contract method 0x7249fbb6.

Solidity: function refund(_swapID bytes32) returns()

func (*RenExAtomicSwapperSession) Refundable

func (_RenExAtomicSwapper *RenExAtomicSwapperSession) Refundable(_swapID [32]byte) (bool, error)

Refundable is a free data retrieval call binding the contract method 0x9fb31475.

Solidity: function refundable(_swapID bytes32) constant returns(bool)

func (*RenExAtomicSwapperSession) SwapID

func (_RenExAtomicSwapper *RenExAtomicSwapperSession) SwapID(_secretLock [32]byte, _timelock *big.Int) ([32]byte, error)

SwapID is a free data retrieval call binding the contract method 0x4b2ac3fa.

Solidity: function swapID(_secretLock bytes32, _timelock uint256) constant returns(bytes32)

func (*RenExAtomicSwapperSession) VERSION

func (_RenExAtomicSwapper *RenExAtomicSwapperSession) VERSION() (string, error)

VERSION is a free data retrieval call binding the contract method 0xffa1ad74.

Solidity: function VERSION() constant returns(string)

type RenExAtomicSwapperTransactor

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

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

func NewRenExAtomicSwapperTransactor

func NewRenExAtomicSwapperTransactor(address common.Address, transactor bind.ContractTransactor) (*RenExAtomicSwapperTransactor, error)

NewRenExAtomicSwapperTransactor creates a new write-only instance of RenExAtomicSwapper, bound to a specific deployed contract.

func (*RenExAtomicSwapperTransactor) Initiate

func (_RenExAtomicSwapper *RenExAtomicSwapperTransactor) Initiate(opts *bind.TransactOpts, _swapID [32]byte, _withdrawTrader common.Address, _secretLock [32]byte, _timelock *big.Int) (*types.Transaction, error)

Initiate is a paid mutator transaction binding the contract method 0x412c0b58.

Solidity: function initiate(_swapID bytes32, _withdrawTrader address, _secretLock bytes32, _timelock uint256) returns()

func (*RenExAtomicSwapperTransactor) Redeem

func (_RenExAtomicSwapper *RenExAtomicSwapperTransactor) Redeem(opts *bind.TransactOpts, _swapID [32]byte, _secretKey [32]byte) (*types.Transaction, error)

Redeem is a paid mutator transaction binding the contract method 0xb31597ad.

Solidity: function redeem(_swapID bytes32, _secretKey bytes32) returns()

func (*RenExAtomicSwapperTransactor) Refund

func (_RenExAtomicSwapper *RenExAtomicSwapperTransactor) Refund(opts *bind.TransactOpts, _swapID [32]byte) (*types.Transaction, error)

Refund is a paid mutator transaction binding the contract method 0x7249fbb6.

Solidity: function refund(_swapID bytes32) returns()

type RenExAtomicSwapperTransactorRaw

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

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

func (*RenExAtomicSwapperTransactorRaw) Transact

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

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

func (*RenExAtomicSwapperTransactorRaw) Transfer

func (_RenExAtomicSwapper *RenExAtomicSwapperTransactorRaw) 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 RenExAtomicSwapperTransactorSession

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

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

func (*RenExAtomicSwapperTransactorSession) Initiate

func (_RenExAtomicSwapper *RenExAtomicSwapperTransactorSession) Initiate(_swapID [32]byte, _withdrawTrader common.Address, _secretLock [32]byte, _timelock *big.Int) (*types.Transaction, error)

Initiate is a paid mutator transaction binding the contract method 0x412c0b58.

Solidity: function initiate(_swapID bytes32, _withdrawTrader address, _secretLock bytes32, _timelock uint256) returns()

func (*RenExAtomicSwapperTransactorSession) Redeem

func (_RenExAtomicSwapper *RenExAtomicSwapperTransactorSession) Redeem(_swapID [32]byte, _secretKey [32]byte) (*types.Transaction, error)

Redeem is a paid mutator transaction binding the contract method 0xb31597ad.

Solidity: function redeem(_swapID bytes32, _secretKey bytes32) returns()

func (*RenExAtomicSwapperTransactorSession) Refund

func (_RenExAtomicSwapper *RenExAtomicSwapperTransactorSession) Refund(_swapID [32]byte) (*types.Transaction, error)

Refund is a paid mutator transaction binding the contract method 0x7249fbb6.

Solidity: function refund(_swapID bytes32) returns()

Jump to

Keyboard shortcuts

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