migrate

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: Aug 11, 2020 License: GPL-3.0 Imports: 8 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

View Source
const LedgerMigrateABI = "" /* 431-byte string literal not displayed */

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

Variables

View Source
var LedgerMigrateBin = "" /* 9790-byte string literal not displayed */

LedgerMigrateBin is the compiled bytecode used for deploying new contracts.

Functions

This section is empty.

Types

type LedgerMigrate

type LedgerMigrate struct {
	LedgerMigrateCaller     // Read-only binding to the contract
	LedgerMigrateTransactor // Write-only binding to the contract
	LedgerMigrateFilterer   // Log filterer for contract events
}

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

func DeployLedgerMigrate

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

DeployLedgerMigrate deploys a new Ethereum contract, binding an instance of LedgerMigrate to it.

func NewLedgerMigrate

func NewLedgerMigrate(address common.Address, backend bind.ContractBackend) (*LedgerMigrate, error)

NewLedgerMigrate creates a new instance of LedgerMigrate, bound to a specific deployed contract.

type LedgerMigrateCaller

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

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

func NewLedgerMigrateCaller

func NewLedgerMigrateCaller(address common.Address, caller bind.ContractCaller) (*LedgerMigrateCaller, error)

NewLedgerMigrateCaller creates a new read-only instance of LedgerMigrate, bound to a specific deployed contract.

type LedgerMigrateCallerRaw

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

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

func (*LedgerMigrateCallerRaw) Call

func (_LedgerMigrate *LedgerMigrateCallerRaw) 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 LedgerMigrateCallerSession

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

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

type LedgerMigrateFilterer

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

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

func NewLedgerMigrateFilterer

func NewLedgerMigrateFilterer(address common.Address, filterer bind.ContractFilterer) (*LedgerMigrateFilterer, error)

NewLedgerMigrateFilterer creates a new log filterer instance of LedgerMigrate, bound to a specific deployed contract.

func (*LedgerMigrateFilterer) FilterMigrateChannelFrom

func (_LedgerMigrate *LedgerMigrateFilterer) FilterMigrateChannelFrom(opts *bind.FilterOpts, channelId [][32]byte, oldLedgerAddr []common.Address) (*LedgerMigrateMigrateChannelFromIterator, error)

FilterMigrateChannelFrom is a free log retrieval operation binding the contract event 0x141a72a1d915a7c4205104b6e564cc991aa827c5f2c672a5d6a1da8bef99d6eb.

Solidity: event MigrateChannelFrom(bytes32 indexed channelId, address indexed oldLedgerAddr)

func (*LedgerMigrateFilterer) FilterMigrateChannelTo

func (_LedgerMigrate *LedgerMigrateFilterer) FilterMigrateChannelTo(opts *bind.FilterOpts, channelId [][32]byte, newLedgerAddr []common.Address) (*LedgerMigrateMigrateChannelToIterator, error)

FilterMigrateChannelTo is a free log retrieval operation binding the contract event 0xdefb8a94bbfc44ef5297b035407a7dd1314f369e39c3301f5b90f8810fb9fe4f.

Solidity: event MigrateChannelTo(bytes32 indexed channelId, address indexed newLedgerAddr)

func (*LedgerMigrateFilterer) ParseMigrateChannelFrom

func (_LedgerMigrate *LedgerMigrateFilterer) ParseMigrateChannelFrom(log types.Log) (*LedgerMigrateMigrateChannelFrom, error)

ParseMigrateChannelFrom is a log parse operation binding the contract event 0x141a72a1d915a7c4205104b6e564cc991aa827c5f2c672a5d6a1da8bef99d6eb.

Solidity: event MigrateChannelFrom(bytes32 indexed channelId, address indexed oldLedgerAddr)

func (*LedgerMigrateFilterer) ParseMigrateChannelTo

func (_LedgerMigrate *LedgerMigrateFilterer) ParseMigrateChannelTo(log types.Log) (*LedgerMigrateMigrateChannelTo, error)

ParseMigrateChannelTo is a log parse operation binding the contract event 0xdefb8a94bbfc44ef5297b035407a7dd1314f369e39c3301f5b90f8810fb9fe4f.

Solidity: event MigrateChannelTo(bytes32 indexed channelId, address indexed newLedgerAddr)

func (*LedgerMigrateFilterer) WatchMigrateChannelFrom

func (_LedgerMigrate *LedgerMigrateFilterer) WatchMigrateChannelFrom(opts *bind.WatchOpts, sink chan<- *LedgerMigrateMigrateChannelFrom, channelId [][32]byte, oldLedgerAddr []common.Address) (event.Subscription, error)

WatchMigrateChannelFrom is a free log subscription operation binding the contract event 0x141a72a1d915a7c4205104b6e564cc991aa827c5f2c672a5d6a1da8bef99d6eb.

Solidity: event MigrateChannelFrom(bytes32 indexed channelId, address indexed oldLedgerAddr)

func (*LedgerMigrateFilterer) WatchMigrateChannelTo

func (_LedgerMigrate *LedgerMigrateFilterer) WatchMigrateChannelTo(opts *bind.WatchOpts, sink chan<- *LedgerMigrateMigrateChannelTo, channelId [][32]byte, newLedgerAddr []common.Address) (event.Subscription, error)

WatchMigrateChannelTo is a free log subscription operation binding the contract event 0xdefb8a94bbfc44ef5297b035407a7dd1314f369e39c3301f5b90f8810fb9fe4f.

Solidity: event MigrateChannelTo(bytes32 indexed channelId, address indexed newLedgerAddr)

type LedgerMigrateMigrateChannelFrom

type LedgerMigrateMigrateChannelFrom struct {
	ChannelId     [32]byte
	OldLedgerAddr common.Address
	Raw           types.Log // Blockchain specific contextual infos
}

LedgerMigrateMigrateChannelFrom represents a MigrateChannelFrom event raised by the LedgerMigrate contract.

type LedgerMigrateMigrateChannelFromIterator

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

LedgerMigrateMigrateChannelFromIterator is returned from FilterMigrateChannelFrom and is used to iterate over the raw logs and unpacked data for MigrateChannelFrom events raised by the LedgerMigrate contract.

func (*LedgerMigrateMigrateChannelFromIterator) Close

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

func (*LedgerMigrateMigrateChannelFromIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*LedgerMigrateMigrateChannelFromIterator) 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 LedgerMigrateMigrateChannelTo

type LedgerMigrateMigrateChannelTo struct {
	ChannelId     [32]byte
	NewLedgerAddr common.Address
	Raw           types.Log // Blockchain specific contextual infos
}

LedgerMigrateMigrateChannelTo represents a MigrateChannelTo event raised by the LedgerMigrate contract.

type LedgerMigrateMigrateChannelToIterator

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

LedgerMigrateMigrateChannelToIterator is returned from FilterMigrateChannelTo and is used to iterate over the raw logs and unpacked data for MigrateChannelTo events raised by the LedgerMigrate contract.

func (*LedgerMigrateMigrateChannelToIterator) Close

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

func (*LedgerMigrateMigrateChannelToIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*LedgerMigrateMigrateChannelToIterator) 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 LedgerMigrateRaw

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

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

func (*LedgerMigrateRaw) Call

func (_LedgerMigrate *LedgerMigrateRaw) 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 (*LedgerMigrateRaw) Transact

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

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

func (*LedgerMigrateRaw) Transfer

func (_LedgerMigrate *LedgerMigrateRaw) 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 LedgerMigrateSession

type LedgerMigrateSession struct {
	Contract     *LedgerMigrate    // 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
}

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

type LedgerMigrateTransactor

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

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

func NewLedgerMigrateTransactor

func NewLedgerMigrateTransactor(address common.Address, transactor bind.ContractTransactor) (*LedgerMigrateTransactor, error)

NewLedgerMigrateTransactor creates a new write-only instance of LedgerMigrate, bound to a specific deployed contract.

type LedgerMigrateTransactorRaw

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

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

func (*LedgerMigrateTransactorRaw) Transact

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

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

func (*LedgerMigrateTransactorRaw) Transfer

func (_LedgerMigrate *LedgerMigrateTransactorRaw) 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 LedgerMigrateTransactorSession

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

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

Jump to

Keyboard shortcuts

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