logswap

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: May 1, 2021 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const LogswapABI = "" /* 4207-byte string literal not displayed */

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

Variables

View Source
var LogswapBin = "" /* 6706-byte string literal not displayed */

LogswapBin is the compiled bytecode used for deploying new contracts.

Functions

This section is empty.

Types

type Logswap

type Logswap struct {
	LogswapCaller     // Read-only binding to the contract
	LogswapTransactor // Write-only binding to the contract
	LogswapFilterer   // Log filterer for contract events
}

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

func DeployLogswap

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

DeployLogswap deploys a new Ethereum contract, binding an instance of Logswap to it.

func NewLogswap

func NewLogswap(address common.Address, backend bind.ContractBackend) (*Logswap, error)

NewLogswap creates a new instance of Logswap, bound to a specific deployed contract.

type LogswapCaller

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

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

func NewLogswapCaller

func NewLogswapCaller(address common.Address, caller bind.ContractCaller) (*LogswapCaller, error)

NewLogswapCaller creates a new read-only instance of Logswap, bound to a specific deployed contract.

func (*LogswapCaller) CircuitBreaker added in v0.0.9

func (_Logswap *LogswapCaller) CircuitBreaker(opts *bind.CallOpts) (common.Address, error)

CircuitBreaker is a free data retrieval call binding the contract method 0x16efd941.

Solidity: function circuitBreaker() view returns(address)

func (*LogswapCaller) Decimal

func (_Logswap *LogswapCaller) Decimal(opts *bind.CallOpts) (uint8, error)

Decimal is a free data retrieval call binding the contract method 0x76809ce3.

Solidity: function decimal() view returns(uint8)

func (*LogswapCaller) GetBalance

func (_Logswap *LogswapCaller) GetBalance(opts *bind.CallOpts, token common.Address) (*big.Int, error)

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

Solidity: function getBalance(address token) view returns(uint256)

func (*LogswapCaller) GetController added in v0.0.4

func (_Logswap *LogswapCaller) GetController(opts *bind.CallOpts) (common.Address, error)

GetController is a free data retrieval call binding the contract method 0x3018205f.

Solidity: function getController() view returns(address)

func (*LogswapCaller) GetCurrentTokens

func (_Logswap *LogswapCaller) GetCurrentTokens(opts *bind.CallOpts) ([]common.Address, error)

GetCurrentTokens is a free data retrieval call binding the contract method 0xcc77828d.

Solidity: function getCurrentTokens() view returns(address[])

func (*LogswapCaller) GetDenormalizedWeight

func (_Logswap *LogswapCaller) GetDenormalizedWeight(opts *bind.CallOpts, token common.Address) (*big.Int, error)

GetDenormalizedWeight is a free data retrieval call binding the contract method 0x948d8ce6.

Solidity: function getDenormalizedWeight(address token) view returns(uint256)

func (*LogswapCaller) GetSpotPrice

func (_Logswap *LogswapCaller) GetSpotPrice(opts *bind.CallOpts, tokenIn common.Address, tokenOut common.Address) (*big.Int, error)

GetSpotPrice is a free data retrieval call binding the contract method 0x15e84af9.

Solidity: function getSpotPrice(address tokenIn, address tokenOut) view returns(uint256)

func (*LogswapCaller) GetSwapFee

func (_Logswap *LogswapCaller) GetSwapFee(opts *bind.CallOpts) (*big.Int, error)

GetSwapFee is a free data retrieval call binding the contract method 0xd4cadf68.

Solidity: function getSwapFee() view returns(uint256)

func (*LogswapCaller) GetUsedBalance

func (_Logswap *LogswapCaller) GetUsedBalance(opts *bind.CallOpts, token common.Address) (*big.Int, error)

GetUsedBalance is a free data retrieval call binding the contract method 0x4aa4e0b5.

Solidity: function getUsedBalance(address token) view returns(uint256)

func (*LogswapCaller) SwapFee

func (_Logswap *LogswapCaller) SwapFee(opts *bind.CallOpts) (*big.Int, error)

SwapFee is a free data retrieval call binding the contract method 0x83278155.

Solidity: function _swapFee() view returns(uint256)

func (*LogswapCaller) Symbol

func (_Logswap *LogswapCaller) Symbol(opts *bind.CallOpts) (string, error)

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

Solidity: function symbol() view returns(string)

func (*LogswapCaller) TotalSupply

func (_Logswap *LogswapCaller) TotalSupply(opts *bind.CallOpts) (*big.Int, error)

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

Solidity: function totalSupply() view returns(uint256)

type LogswapCallerRaw

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

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

func (*LogswapCallerRaw) Call

func (_Logswap *LogswapCallerRaw) 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 LogswapCallerSession

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

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

func (*LogswapCallerSession) CircuitBreaker added in v0.0.9

func (_Logswap *LogswapCallerSession) CircuitBreaker() (common.Address, error)

CircuitBreaker is a free data retrieval call binding the contract method 0x16efd941.

Solidity: function circuitBreaker() view returns(address)

func (*LogswapCallerSession) Decimal

func (_Logswap *LogswapCallerSession) Decimal() (uint8, error)

Decimal is a free data retrieval call binding the contract method 0x76809ce3.

Solidity: function decimal() view returns(uint8)

func (*LogswapCallerSession) GetBalance

func (_Logswap *LogswapCallerSession) GetBalance(token common.Address) (*big.Int, error)

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

Solidity: function getBalance(address token) view returns(uint256)

func (*LogswapCallerSession) GetController added in v0.0.4

func (_Logswap *LogswapCallerSession) GetController() (common.Address, error)

GetController is a free data retrieval call binding the contract method 0x3018205f.

Solidity: function getController() view returns(address)

func (*LogswapCallerSession) GetCurrentTokens

func (_Logswap *LogswapCallerSession) GetCurrentTokens() ([]common.Address, error)

GetCurrentTokens is a free data retrieval call binding the contract method 0xcc77828d.

Solidity: function getCurrentTokens() view returns(address[])

func (*LogswapCallerSession) GetDenormalizedWeight

func (_Logswap *LogswapCallerSession) GetDenormalizedWeight(token common.Address) (*big.Int, error)

GetDenormalizedWeight is a free data retrieval call binding the contract method 0x948d8ce6.

Solidity: function getDenormalizedWeight(address token) view returns(uint256)

func (*LogswapCallerSession) GetSpotPrice

func (_Logswap *LogswapCallerSession) GetSpotPrice(tokenIn common.Address, tokenOut common.Address) (*big.Int, error)

GetSpotPrice is a free data retrieval call binding the contract method 0x15e84af9.

Solidity: function getSpotPrice(address tokenIn, address tokenOut) view returns(uint256)

func (*LogswapCallerSession) GetSwapFee

func (_Logswap *LogswapCallerSession) GetSwapFee() (*big.Int, error)

GetSwapFee is a free data retrieval call binding the contract method 0xd4cadf68.

Solidity: function getSwapFee() view returns(uint256)

func (*LogswapCallerSession) GetUsedBalance

func (_Logswap *LogswapCallerSession) GetUsedBalance(token common.Address) (*big.Int, error)

GetUsedBalance is a free data retrieval call binding the contract method 0x4aa4e0b5.

Solidity: function getUsedBalance(address token) view returns(uint256)

func (*LogswapCallerSession) SwapFee

func (_Logswap *LogswapCallerSession) SwapFee() (*big.Int, error)

SwapFee is a free data retrieval call binding the contract method 0x83278155.

Solidity: function _swapFee() view returns(uint256)

func (*LogswapCallerSession) Symbol

func (_Logswap *LogswapCallerSession) Symbol() (string, error)

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

Solidity: function symbol() view returns(string)

func (*LogswapCallerSession) TotalSupply

func (_Logswap *LogswapCallerSession) TotalSupply() (*big.Int, error)

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

Solidity: function totalSupply() view returns(uint256)

type LogswapFilterer

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

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

func NewLogswapFilterer

func NewLogswapFilterer(address common.Address, filterer bind.ContractFilterer) (*LogswapFilterer, error)

NewLogswapFilterer creates a new log filterer instance of Logswap, bound to a specific deployed contract.

func (*LogswapFilterer) FilterLOGPUBLICSWAPTOGGLED added in v0.0.4

func (_Logswap *LogswapFilterer) FilterLOGPUBLICSWAPTOGGLED(opts *bind.FilterOpts) (*LogswapLOGPUBLICSWAPTOGGLEDIterator, error)

FilterLOGPUBLICSWAPTOGGLED is a free log retrieval operation binding the contract event 0x40fc85fbff9305015298ba6fcee88b7e442a64cc803ddb889327680bbd62270a.

Solidity: event LOG_PUBLIC_SWAP_TOGGLED(bool enabled)

func (*LogswapFilterer) FilterLOGSWAP

func (_Logswap *LogswapFilterer) FilterLOGSWAP(opts *bind.FilterOpts, caller []common.Address, tokenIn []common.Address, tokenOut []common.Address) (*LogswapLOGSWAPIterator, error)

FilterLOGSWAP is a free log retrieval operation binding the contract event 0x908fb5ee8f16c6bc9bc3690973819f32a4d4b10188134543c88706e0e1d43378.

Solidity: event LOG_SWAP(address indexed caller, address indexed tokenIn, address indexed tokenOut, uint256 tokenAmountIn, uint256 tokenAmountOut)

func (*LogswapFilterer) ParseLOGPUBLICSWAPTOGGLED added in v0.0.4

func (_Logswap *LogswapFilterer) ParseLOGPUBLICSWAPTOGGLED(log types.Log) (*LogswapLOGPUBLICSWAPTOGGLED, error)

ParseLOGPUBLICSWAPTOGGLED is a log parse operation binding the contract event 0x40fc85fbff9305015298ba6fcee88b7e442a64cc803ddb889327680bbd62270a.

Solidity: event LOG_PUBLIC_SWAP_TOGGLED(bool enabled)

func (*LogswapFilterer) ParseLOGSWAP

func (_Logswap *LogswapFilterer) ParseLOGSWAP(log types.Log) (*LogswapLOGSWAP, error)

ParseLOGSWAP is a log parse operation binding the contract event 0x908fb5ee8f16c6bc9bc3690973819f32a4d4b10188134543c88706e0e1d43378.

Solidity: event LOG_SWAP(address indexed caller, address indexed tokenIn, address indexed tokenOut, uint256 tokenAmountIn, uint256 tokenAmountOut)

func (*LogswapFilterer) WatchLOGPUBLICSWAPTOGGLED added in v0.0.4

func (_Logswap *LogswapFilterer) WatchLOGPUBLICSWAPTOGGLED(opts *bind.WatchOpts, sink chan<- *LogswapLOGPUBLICSWAPTOGGLED) (event.Subscription, error)

WatchLOGPUBLICSWAPTOGGLED is a free log subscription operation binding the contract event 0x40fc85fbff9305015298ba6fcee88b7e442a64cc803ddb889327680bbd62270a.

Solidity: event LOG_PUBLIC_SWAP_TOGGLED(bool enabled)

func (*LogswapFilterer) WatchLOGSWAP

func (_Logswap *LogswapFilterer) WatchLOGSWAP(opts *bind.WatchOpts, sink chan<- *LogswapLOGSWAP, caller []common.Address, tokenIn []common.Address, tokenOut []common.Address) (event.Subscription, error)

WatchLOGSWAP is a free log subscription operation binding the contract event 0x908fb5ee8f16c6bc9bc3690973819f32a4d4b10188134543c88706e0e1d43378.

Solidity: event LOG_SWAP(address indexed caller, address indexed tokenIn, address indexed tokenOut, uint256 tokenAmountIn, uint256 tokenAmountOut)

type LogswapLOGPUBLICSWAPTOGGLED added in v0.0.4

type LogswapLOGPUBLICSWAPTOGGLED struct {
	Enabled bool
	Raw     types.Log // Blockchain specific contextual infos
}

LogswapLOGPUBLICSWAPTOGGLED represents a LOGPUBLICSWAPTOGGLED event raised by the Logswap contract.

type LogswapLOGPUBLICSWAPTOGGLEDIterator added in v0.0.4

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

LogswapLOGPUBLICSWAPTOGGLEDIterator is returned from FilterLOGPUBLICSWAPTOGGLED and is used to iterate over the raw logs and unpacked data for LOGPUBLICSWAPTOGGLED events raised by the Logswap contract.

func (*LogswapLOGPUBLICSWAPTOGGLEDIterator) Close added in v0.0.4

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

func (*LogswapLOGPUBLICSWAPTOGGLEDIterator) Error added in v0.0.4

Error returns any retrieval or parsing error occurred during filtering.

func (*LogswapLOGPUBLICSWAPTOGGLEDIterator) Next added in v0.0.4

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 LogswapLOGSWAP

type LogswapLOGSWAP struct {
	Caller         common.Address
	TokenIn        common.Address
	TokenOut       common.Address
	TokenAmountIn  *big.Int
	TokenAmountOut *big.Int
	Raw            types.Log // Blockchain specific contextual infos
}

LogswapLOGSWAP represents a LOGSWAP event raised by the Logswap contract.

type LogswapLOGSWAPIterator

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

LogswapLOGSWAPIterator is returned from FilterLOGSWAP and is used to iterate over the raw logs and unpacked data for LOGSWAP events raised by the Logswap contract.

func (*LogswapLOGSWAPIterator) Close

func (it *LogswapLOGSWAPIterator) Close() error

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

func (*LogswapLOGSWAPIterator) Error

func (it *LogswapLOGSWAPIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*LogswapLOGSWAPIterator) Next

func (it *LogswapLOGSWAPIterator) 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 LogswapRaw

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

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

func (*LogswapRaw) Call

func (_Logswap *LogswapRaw) 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 (*LogswapRaw) Transact

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

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

func (*LogswapRaw) Transfer

func (_Logswap *LogswapRaw) 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 LogswapSession

type LogswapSession struct {
	Contract     *Logswap          // 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
}

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

func (*LogswapSession) CircuitBreaker added in v0.0.9

func (_Logswap *LogswapSession) CircuitBreaker() (common.Address, error)

CircuitBreaker is a free data retrieval call binding the contract method 0x16efd941.

Solidity: function circuitBreaker() view returns(address)

func (*LogswapSession) Decimal

func (_Logswap *LogswapSession) Decimal() (uint8, error)

Decimal is a free data retrieval call binding the contract method 0x76809ce3.

Solidity: function decimal() view returns(uint8)

func (*LogswapSession) EmitLogSwap

func (_Logswap *LogswapSession) EmitLogSwap(outAmount *big.Int, inAmount *big.Int) (*types.Transaction, error)

EmitLogSwap is a paid mutator transaction binding the contract method 0xad4a5c4b.

Solidity: function emitLogSwap(uint256 outAmount, uint256 inAmount) returns()

func (*LogswapSession) EmitPublicSwap added in v0.0.4

func (_Logswap *LogswapSession) EmitPublicSwap(enabled bool) (*types.Transaction, error)

EmitPublicSwap is a paid mutator transaction binding the contract method 0xc94ddf8c.

Solidity: function emitPublicSwap(bool enabled) returns()

func (*LogswapSession) GetBalance

func (_Logswap *LogswapSession) GetBalance(token common.Address) (*big.Int, error)

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

Solidity: function getBalance(address token) view returns(uint256)

func (*LogswapSession) GetController added in v0.0.4

func (_Logswap *LogswapSession) GetController() (common.Address, error)

GetController is a free data retrieval call binding the contract method 0x3018205f.

Solidity: function getController() view returns(address)

func (*LogswapSession) GetCurrentTokens

func (_Logswap *LogswapSession) GetCurrentTokens() ([]common.Address, error)

GetCurrentTokens is a free data retrieval call binding the contract method 0xcc77828d.

Solidity: function getCurrentTokens() view returns(address[])

func (*LogswapSession) GetDenormalizedWeight

func (_Logswap *LogswapSession) GetDenormalizedWeight(token common.Address) (*big.Int, error)

GetDenormalizedWeight is a free data retrieval call binding the contract method 0x948d8ce6.

Solidity: function getDenormalizedWeight(address token) view returns(uint256)

func (*LogswapSession) GetSpotPrice

func (_Logswap *LogswapSession) GetSpotPrice(tokenIn common.Address, tokenOut common.Address) (*big.Int, error)

GetSpotPrice is a free data retrieval call binding the contract method 0x15e84af9.

Solidity: function getSpotPrice(address tokenIn, address tokenOut) view returns(uint256)

func (*LogswapSession) GetSwapFee

func (_Logswap *LogswapSession) GetSwapFee() (*big.Int, error)

GetSwapFee is a free data retrieval call binding the contract method 0xd4cadf68.

Solidity: function getSwapFee() view returns(uint256)

func (*LogswapSession) GetUsedBalance

func (_Logswap *LogswapSession) GetUsedBalance(token common.Address) (*big.Int, error)

GetUsedBalance is a free data retrieval call binding the contract method 0x4aa4e0b5.

Solidity: function getUsedBalance(address token) view returns(uint256)

func (*LogswapSession) IncRando

func (_Logswap *LogswapSession) IncRando() (*types.Transaction, error)

IncRando is a paid mutator transaction binding the contract method 0x5d93a794.

Solidity: function incRando() returns()

func (*LogswapSession) SetPublicSwap added in v0.0.4

func (_Logswap *LogswapSession) SetPublicSwap(pool common.Address, enabled bool) (*types.Transaction, error)

SetPublicSwap is a paid mutator transaction binding the contract method 0x1eccc185.

Solidity: function setPublicSwap(address pool, bool enabled) returns()

func (*LogswapSession) SetPublicSwap0 added in v0.0.4

func (_Logswap *LogswapSession) SetPublicSwap0(enabled bool) (*types.Transaction, error)

SetPublicSwap0 is a paid mutator transaction binding the contract method 0x49b59552.

Solidity: function setPublicSwap(bool enabled) returns()

func (*LogswapSession) SwapFee

func (_Logswap *LogswapSession) SwapFee() (*big.Int, error)

SwapFee is a free data retrieval call binding the contract method 0x83278155.

Solidity: function _swapFee() view returns(uint256)

func (*LogswapSession) Symbol

func (_Logswap *LogswapSession) Symbol() (string, error)

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

Solidity: function symbol() view returns(string)

func (*LogswapSession) TotalSupply

func (_Logswap *LogswapSession) TotalSupply() (*big.Int, error)

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

Solidity: function totalSupply() view returns(uint256)

type LogswapTransactor

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

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

func NewLogswapTransactor

func NewLogswapTransactor(address common.Address, transactor bind.ContractTransactor) (*LogswapTransactor, error)

NewLogswapTransactor creates a new write-only instance of Logswap, bound to a specific deployed contract.

func (*LogswapTransactor) EmitLogSwap

func (_Logswap *LogswapTransactor) EmitLogSwap(opts *bind.TransactOpts, outAmount *big.Int, inAmount *big.Int) (*types.Transaction, error)

EmitLogSwap is a paid mutator transaction binding the contract method 0xad4a5c4b.

Solidity: function emitLogSwap(uint256 outAmount, uint256 inAmount) returns()

func (*LogswapTransactor) EmitPublicSwap added in v0.0.4

func (_Logswap *LogswapTransactor) EmitPublicSwap(opts *bind.TransactOpts, enabled bool) (*types.Transaction, error)

EmitPublicSwap is a paid mutator transaction binding the contract method 0xc94ddf8c.

Solidity: function emitPublicSwap(bool enabled) returns()

func (*LogswapTransactor) IncRando

func (_Logswap *LogswapTransactor) IncRando(opts *bind.TransactOpts) (*types.Transaction, error)

IncRando is a paid mutator transaction binding the contract method 0x5d93a794.

Solidity: function incRando() returns()

func (*LogswapTransactor) SetPublicSwap added in v0.0.4

func (_Logswap *LogswapTransactor) SetPublicSwap(opts *bind.TransactOpts, pool common.Address, enabled bool) (*types.Transaction, error)

SetPublicSwap is a paid mutator transaction binding the contract method 0x1eccc185.

Solidity: function setPublicSwap(address pool, bool enabled) returns()

func (*LogswapTransactor) SetPublicSwap0 added in v0.0.4

func (_Logswap *LogswapTransactor) SetPublicSwap0(opts *bind.TransactOpts, enabled bool) (*types.Transaction, error)

SetPublicSwap0 is a paid mutator transaction binding the contract method 0x49b59552.

Solidity: function setPublicSwap(bool enabled) returns()

type LogswapTransactorRaw

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

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

func (*LogswapTransactorRaw) Transact

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

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

func (*LogswapTransactorRaw) Transfer

func (_Logswap *LogswapTransactorRaw) 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 LogswapTransactorSession

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

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

func (*LogswapTransactorSession) EmitLogSwap

func (_Logswap *LogswapTransactorSession) EmitLogSwap(outAmount *big.Int, inAmount *big.Int) (*types.Transaction, error)

EmitLogSwap is a paid mutator transaction binding the contract method 0xad4a5c4b.

Solidity: function emitLogSwap(uint256 outAmount, uint256 inAmount) returns()

func (*LogswapTransactorSession) EmitPublicSwap added in v0.0.4

func (_Logswap *LogswapTransactorSession) EmitPublicSwap(enabled bool) (*types.Transaction, error)

EmitPublicSwap is a paid mutator transaction binding the contract method 0xc94ddf8c.

Solidity: function emitPublicSwap(bool enabled) returns()

func (*LogswapTransactorSession) IncRando

func (_Logswap *LogswapTransactorSession) IncRando() (*types.Transaction, error)

IncRando is a paid mutator transaction binding the contract method 0x5d93a794.

Solidity: function incRando() returns()

func (*LogswapTransactorSession) SetPublicSwap added in v0.0.4

func (_Logswap *LogswapTransactorSession) SetPublicSwap(pool common.Address, enabled bool) (*types.Transaction, error)

SetPublicSwap is a paid mutator transaction binding the contract method 0x1eccc185.

Solidity: function setPublicSwap(address pool, bool enabled) returns()

func (*LogswapTransactorSession) SetPublicSwap0 added in v0.0.4

func (_Logswap *LogswapTransactorSession) SetPublicSwap0(enabled bool) (*types.Transaction, error)

SetPublicSwap0 is a paid mutator transaction binding the contract method 0x49b59552.

Solidity: function setPublicSwap(bool enabled) returns()

Jump to

Keyboard shortcuts

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