abi

package
v0.0.0-...-6d87009 Latest Latest
Warning

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

Go to latest
Published: Oct 14, 2022 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var BridgeContractABI = BridgeContractMetaData.ABI

BridgeContractABI is the input ABI used to generate the binding from. Deprecated: Use BridgeContractMetaData.ABI instead.

View Source
var BridgeContractMetaData = &bind.MetaData{
	ABI: "[{\"type\":\"constructor\",\"stateMutability\":\"nonpayable\",\"inputs\":[{\"type\":\"address\",\"name\":\"factory\",\"internalType\":\"address\"},{\"type\":\"address\",\"name\":\"xin\",\"internalType\":\"address\"}]},{\"type\":\"event\",\"name\":\"Bound\",\"inputs\":[{\"type\":\"address\",\"name\":\"from\",\"internalType\":\"address\",\"indexed\":true},{\"type\":\"address\",\"name\":\"to\",\"internalType\":\"address\",\"indexed\":true}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"Through\",\"inputs\":[{\"type\":\"address\",\"name\":\"asset\",\"internalType\":\"address\",\"indexed\":true},{\"type\":\"address\",\"name\":\"from\",\"internalType\":\"address\",\"indexed\":true},{\"type\":\"address\",\"name\":\"to\",\"internalType\":\"address\",\"indexed\":true},{\"type\":\"uint256\",\"name\":\"amount\",\"internalType\":\"uint256\",\"indexed\":false}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"Vault\",\"inputs\":[{\"type\":\"address\",\"name\":\"from\",\"internalType\":\"address\",\"indexed\":true},{\"type\":\"uint256\",\"name\":\"amount\",\"internalType\":\"uint256\",\"indexed\":false}],\"anonymous\":false},{\"type\":\"fallback\",\"stateMutability\":\"payable\"},{\"type\":\"function\",\"stateMutability\":\"view\",\"outputs\":[{\"type\":\"uint256\",\"name\":\"\",\"internalType\":\"uint256\"}],\"name\":\"BASE\",\"inputs\":[]},{\"type\":\"function\",\"stateMutability\":\"view\",\"outputs\":[{\"type\":\"address\",\"name\":\"\",\"internalType\":\"address\"}],\"name\":\"FACTORY\",\"inputs\":[]},{\"type\":\"function\",\"stateMutability\":\"view\",\"outputs\":[{\"type\":\"address\",\"name\":\"\",\"internalType\":\"address\"}],\"name\":\"OWNER\",\"inputs\":[]},{\"type\":\"function\",\"stateMutability\":\"view\",\"outputs\":[{\"type\":\"address\",\"name\":\"\",\"internalType\":\"address\"}],\"name\":\"XIN\",\"inputs\":[]},{\"type\":\"function\",\"stateMutability\":\"nonpayable\",\"outputs\":[],\"name\":\"bind\",\"inputs\":[{\"type\":\"address\",\"name\":\"receiver\",\"internalType\":\"address\"}]},{\"type\":\"function\",\"stateMutability\":\"view\",\"outputs\":[{\"type\":\"address\",\"name\":\"\",\"internalType\":\"address\"}],\"name\":\"bridges\",\"inputs\":[{\"type\":\"address\",\"name\":\"\",\"internalType\":\"address\"}]},{\"type\":\"function\",\"stateMutability\":\"nonpayable\",\"outputs\":[],\"name\":\"pass\",\"inputs\":[{\"type\":\"address\",\"name\":\"asset\",\"internalType\":\"address\"},{\"type\":\"uint256\",\"name\":\"amount\",\"internalType\":\"uint256\"}]},{\"type\":\"function\",\"stateMutability\":\"nonpayable\",\"outputs\":[],\"name\":\"vault\",\"inputs\":[{\"type\":\"address\",\"name\":\"asset\",\"internalType\":\"address\"},{\"type\":\"uint256\",\"name\":\"amount\",\"internalType\":\"uint256\"}]},{\"type\":\"receive\",\"stateMutability\":\"payable\"}]",
}

BridgeContractMetaData contains all meta data concerning the BridgeContract contract.

View Source
var MirrorContractABI = MirrorContractMetaData.ABI

MirrorContractABI is the input ABI used to generate the binding from. Deprecated: Use MirrorContractMetaData.ABI instead.

View Source
var MirrorContractMetaData = &bind.MetaData{
	ABI: "[{\"type\":\"constructor\",\"stateMutability\":\"nonpayable\",\"inputs\":[{\"type\":\"address\",\"name\":\"factory\",\"internalType\":\"address\"}]},{\"type\":\"event\",\"name\":\"Bound\",\"inputs\":[{\"type\":\"address\",\"name\":\"from\",\"internalType\":\"address\",\"indexed\":true},{\"type\":\"address\",\"name\":\"to\",\"internalType\":\"address\",\"indexed\":true}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"CollectionCreated\",\"inputs\":[{\"type\":\"address\",\"name\":\"at\",\"internalType\":\"address\",\"indexed\":true},{\"type\":\"uint256\",\"name\":\"id\",\"internalType\":\"uint256\",\"indexed\":false}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"Through\",\"inputs\":[{\"type\":\"address\",\"name\":\"collection\",\"internalType\":\"address\",\"indexed\":true},{\"type\":\"address\",\"name\":\"from\",\"internalType\":\"address\",\"indexed\":true},{\"type\":\"address\",\"name\":\"to\",\"internalType\":\"address\",\"indexed\":true},{\"type\":\"uint256\",\"name\":\"id\",\"internalType\":\"uint256\",\"indexed\":false}],\"anonymous\":false},{\"type\":\"function\",\"stateMutability\":\"view\",\"outputs\":[{\"type\":\"address\",\"name\":\"\",\"internalType\":\"address\"}],\"name\":\"FACTORY\",\"inputs\":[]},{\"type\":\"function\",\"stateMutability\":\"view\",\"outputs\":[{\"type\":\"uint256\",\"name\":\"\",\"internalType\":\"uint256\"}],\"name\":\"VERSION\",\"inputs\":[]},{\"type\":\"function\",\"stateMutability\":\"nonpayable\",\"outputs\":[],\"name\":\"bind\",\"inputs\":[{\"type\":\"address\",\"name\":\"receiver\",\"internalType\":\"address\"}]},{\"type\":\"function\",\"stateMutability\":\"view\",\"outputs\":[{\"type\":\"address\",\"name\":\"\",\"internalType\":\"address\"}],\"name\":\"bridges\",\"inputs\":[{\"type\":\"address\",\"name\":\"\",\"internalType\":\"address\"}]},{\"type\":\"function\",\"stateMutability\":\"view\",\"outputs\":[{\"type\":\"uint256\",\"name\":\"\",\"internalType\":\"uint256\"}],\"name\":\"collections\",\"inputs\":[{\"type\":\"address\",\"name\":\"\",\"internalType\":\"address\"}]},{\"type\":\"function\",\"stateMutability\":\"view\",\"outputs\":[{\"type\":\"address\",\"name\":\"\",\"internalType\":\"address\"}],\"name\":\"contracts\",\"inputs\":[{\"type\":\"uint256\",\"name\":\"\",\"internalType\":\"uint256\"}]},{\"type\":\"function\",\"stateMutability\":\"view\",\"outputs\":[{\"type\":\"address\",\"name\":\"collection\",\"internalType\":\"address\"},{\"type\":\"uint256\",\"name\":\"id\",\"internalType\":\"uint256\"}],\"name\":\"mints\",\"inputs\":[{\"type\":\"address\",\"name\":\"\",\"internalType\":\"address\"}]},{\"type\":\"function\",\"stateMutability\":\"nonpayable\",\"outputs\":[{\"type\":\"bytes4\",\"name\":\"\",\"internalType\":\"bytes4\"}],\"name\":\"onERC721Received\",\"inputs\":[{\"type\":\"address\",\"name\":\"\",\"internalType\":\"address\"},{\"type\":\"address\",\"name\":\"_from\",\"internalType\":\"address\"},{\"type\":\"uint256\",\"name\":\"_tokenId\",\"internalType\":\"uint256\"},{\"type\":\"bytes\",\"name\":\"_data\",\"internalType\":\"bytes\"}]},{\"type\":\"function\",\"stateMutability\":\"nonpayable\",\"outputs\":[],\"name\":\"pass\",\"inputs\":[{\"type\":\"address\",\"name\":\"asset\",\"internalType\":\"address\"}]},{\"type\":\"function\",\"stateMutability\":\"view\",\"outputs\":[{\"type\":\"address\",\"name\":\"\",\"internalType\":\"address\"}],\"name\":\"tokens\",\"inputs\":[{\"type\":\"address\",\"name\":\"\",\"internalType\":\"address\"},{\"type\":\"uint256\",\"name\":\"\",\"internalType\":\"uint256\"}]}]",
}

MirrorContractMetaData contains all meta data concerning the MirrorContract contract.

View Source
var RegistryContractABI = RegistryContractMetaData.ABI

RegistryContractABI is the input ABI used to generate the binding from. Deprecated: Use RegistryContractMetaData.ABI instead.

View Source
var RegistryContractMetaData = &bind.MetaData{
	ABI: "[{\"type\":\"constructor\",\"stateMutability\":\"nonpayable\",\"inputs\":[{\"type\":\"bytes\",\"name\":\"raw\",\"internalType\":\"bytes\"},{\"type\":\"uint128\",\"name\":\"pid\",\"internalType\":\"uint128\"}]},{\"type\":\"event\",\"name\":\"AssetCreated\",\"inputs\":[{\"type\":\"address\",\"name\":\"at\",\"internalType\":\"address\",\"indexed\":true},{\"type\":\"uint256\",\"name\":\"id\",\"internalType\":\"uint256\",\"indexed\":false}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"Halted\",\"inputs\":[{\"type\":\"bool\",\"name\":\"state\",\"internalType\":\"bool\",\"indexed\":false}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"Iterated\",\"inputs\":[{\"type\":\"uint256[4]\",\"name\":\"from\",\"internalType\":\"uint256[4]\",\"indexed\":false},{\"type\":\"uint256[4]\",\"name\":\"to\",\"internalType\":\"uint256[4]\",\"indexed\":false}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"MixinEvent\",\"inputs\":[{\"type\":\"tuple\",\"name\":\"evt\",\"internalType\":\"structRegistry.Event\",\"indexed\":false,\"components\":[{\"type\":\"uint64\",\"name\":\"nonce\",\"internalType\":\"uint64\"},{\"type\":\"address\",\"name\":\"user\",\"internalType\":\"address\"},{\"type\":\"address\",\"name\":\"asset\",\"internalType\":\"address\"},{\"type\":\"uint256\",\"name\":\"amount\",\"internalType\":\"uint256\"},{\"type\":\"bytes\",\"name\":\"extra\",\"internalType\":\"bytes\"},{\"type\":\"uint64\",\"name\":\"timestamp\",\"internalType\":\"uint64\"},{\"type\":\"uint256[2]\",\"name\":\"sig\",\"internalType\":\"uint256[2]\"}]}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"MixinTransaction\",\"inputs\":[{\"type\":\"bytes\",\"name\":\"raw\",\"internalType\":\"bytes\",\"indexed\":false}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"UserCreated\",\"inputs\":[{\"type\":\"address\",\"name\":\"at\",\"internalType\":\"address\",\"indexed\":true},{\"type\":\"bytes\",\"name\":\"members\",\"internalType\":\"bytes\",\"indexed\":false}],\"anonymous\":false},{\"type\":\"function\",\"stateMutability\":\"view\",\"outputs\":[{\"type\":\"uint256\",\"name\":\"\",\"internalType\":\"uint256\"}],\"name\":\"GROUP\",\"inputs\":[{\"type\":\"uint256\",\"name\":\"\",\"internalType\":\"uint256\"}]},{\"type\":\"function\",\"stateMutability\":\"view\",\"outputs\":[{\"type\":\"bool\",\"name\":\"\",\"internalType\":\"bool\"}],\"name\":\"HALTED\",\"inputs\":[]},{\"type\":\"function\",\"stateMutability\":\"view\",\"outputs\":[{\"type\":\"uint64\",\"name\":\"\",\"internalType\":\"uint64\"}],\"name\":\"INBOUND\",\"inputs\":[]},{\"type\":\"function\",\"stateMutability\":\"view\",\"outputs\":[{\"type\":\"uint64\",\"name\":\"\",\"internalType\":\"uint64\"}],\"name\":\"OUTBOUND\",\"inputs\":[]},{\"type\":\"function\",\"stateMutability\":\"view\",\"outputs\":[{\"type\":\"uint128\",\"name\":\"\",\"internalType\":\"uint128\"}],\"name\":\"PID\",\"inputs\":[]},{\"type\":\"function\",\"stateMutability\":\"view\",\"outputs\":[{\"type\":\"uint256\",\"name\":\"\",\"internalType\":\"uint256\"}],\"name\":\"VERSION\",\"inputs\":[]},{\"type\":\"function\",\"stateMutability\":\"view\",\"outputs\":[{\"type\":\"uint128\",\"name\":\"\",\"internalType\":\"uint128\"}],\"name\":\"assets\",\"inputs\":[{\"type\":\"address\",\"name\":\"\",\"internalType\":\"address\"}]},{\"type\":\"function\",\"stateMutability\":\"view\",\"outputs\":[{\"type\":\"uint256\",\"name\":\"\",\"internalType\":\"uint256\"}],\"name\":\"balances\",\"inputs\":[{\"type\":\"uint128\",\"name\":\"\",\"internalType\":\"uint128\"}]},{\"type\":\"function\",\"stateMutability\":\"nonpayable\",\"outputs\":[{\"type\":\"bool\",\"name\":\"\",\"internalType\":\"bool\"}],\"name\":\"burn\",\"inputs\":[{\"type\":\"address\",\"name\":\"user\",\"internalType\":\"address\"},{\"type\":\"uint256\",\"name\":\"amount\",\"internalType\":\"uint256\"},{\"type\":\"bytes\",\"name\":\"extra\",\"internalType\":\"bytes\"}]},{\"type\":\"function\",\"stateMutability\":\"nonpayable\",\"outputs\":[{\"type\":\"bool\",\"name\":\"\",\"internalType\":\"bool\"}],\"name\":\"claim\",\"inputs\":[{\"type\":\"address\",\"name\":\"asset\",\"internalType\":\"address\"},{\"type\":\"uint256\",\"name\":\"amount\",\"internalType\":\"uint256\"}]},{\"type\":\"function\",\"stateMutability\":\"view\",\"outputs\":[{\"type\":\"address\",\"name\":\"\",\"internalType\":\"address\"}],\"name\":\"contracts\",\"inputs\":[{\"type\":\"uint256\",\"name\":\"\",\"internalType\":\"uint256\"}]},{\"type\":\"function\",\"stateMutability\":\"nonpayable\",\"outputs\":[],\"name\":\"halt\",\"inputs\":[{\"type\":\"bytes\",\"name\":\"raw\",\"internalType\":\"bytes\"}]},{\"type\":\"function\",\"stateMutability\":\"nonpayable\",\"outputs\":[],\"name\":\"iterate\",\"inputs\":[{\"type\":\"bytes\",\"name\":\"raw\",\"internalType\":\"bytes\"}]},{\"type\":\"function\",\"stateMutability\":\"nonpayable\",\"outputs\":[{\"type\":\"bool\",\"name\":\"\",\"internalType\":\"bool\"}],\"name\":\"mixin\",\"inputs\":[{\"type\":\"bytes\",\"name\":\"raw\",\"internalType\":\"bytes\"}]},{\"type\":\"function\",\"stateMutability\":\"view\",\"outputs\":[{\"type\":\"bytes\",\"name\":\"\",\"internalType\":\"bytes\"}],\"name\":\"users\",\"inputs\":[{\"type\":\"address\",\"name\":\"\",\"internalType\":\"address\"}]}]",
}

RegistryContractMetaData contains all meta data concerning the RegistryContract contract.

View Source
var StorageContractABI = StorageContractMetaData.ABI

StorageContractABI is the input ABI used to generate the binding from. Deprecated: Use StorageContractMetaData.ABI instead.

View Source
var StorageContractMetaData = &bind.MetaData{
	ABI: "[{\"type\":\"function\",\"stateMutability\":\"view\",\"outputs\":[{\"type\":\"bytes\",\"name\":\"\",\"internalType\":\"bytes\"}],\"name\":\"read\",\"inputs\":[{\"type\":\"uint256\",\"name\":\"_key\",\"internalType\":\"uint256\"}]},{\"type\":\"function\",\"stateMutability\":\"nonpayable\",\"outputs\":[],\"name\":\"write\",\"inputs\":[{\"type\":\"uint256\",\"name\":\"_key\",\"internalType\":\"uint256\"},{\"type\":\"bytes\",\"name\":\"raw\",\"internalType\":\"bytes\"}]}]",
}

StorageContractMetaData contains all meta data concerning the StorageContract contract.

Functions

This section is empty.

Types

type BridgeContract

type BridgeContract struct {
	BridgeContractCaller     // Read-only binding to the contract
	BridgeContractTransactor // Write-only binding to the contract
	BridgeContractFilterer   // Log filterer for contract events
}

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

func NewBridgeContract

func NewBridgeContract(address common.Address, backend bind.ContractBackend) (*BridgeContract, error)

NewBridgeContract creates a new instance of BridgeContract, bound to a specific deployed contract.

type BridgeContractBound

type BridgeContractBound struct {
	From common.Address
	To   common.Address
	Raw  types.Log // Blockchain specific contextual infos
}

BridgeContractBound represents a Bound event raised by the BridgeContract contract.

type BridgeContractBoundIterator

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

BridgeContractBoundIterator is returned from FilterBound and is used to iterate over the raw logs and unpacked data for Bound events raised by the BridgeContract contract.

func (*BridgeContractBoundIterator) Close

func (it *BridgeContractBoundIterator) Close() error

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

func (*BridgeContractBoundIterator) Error

func (it *BridgeContractBoundIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*BridgeContractBoundIterator) Next

func (it *BridgeContractBoundIterator) 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 BridgeContractCaller

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

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

func NewBridgeContractCaller

func NewBridgeContractCaller(address common.Address, caller bind.ContractCaller) (*BridgeContractCaller, error)

NewBridgeContractCaller creates a new read-only instance of BridgeContract, bound to a specific deployed contract.

func (*BridgeContractCaller) BASE

func (_BridgeContract *BridgeContractCaller) BASE(opts *bind.CallOpts) (*big.Int, error)

BASE is a free data retrieval call binding the contract method 0xec342ad0.

Solidity: function BASE() view returns(uint256)

func (*BridgeContractCaller) Bridges

func (_BridgeContract *BridgeContractCaller) Bridges(opts *bind.CallOpts, arg0 common.Address) (common.Address, error)

Bridges is a free data retrieval call binding the contract method 0xced67f0c.

Solidity: function bridges(address ) view returns(address)

func (*BridgeContractCaller) FACTORY

func (_BridgeContract *BridgeContractCaller) FACTORY(opts *bind.CallOpts) (common.Address, error)

FACTORY is a free data retrieval call binding the contract method 0x2dd31000.

Solidity: function FACTORY() view returns(address)

func (*BridgeContractCaller) OWNER

func (_BridgeContract *BridgeContractCaller) OWNER(opts *bind.CallOpts) (common.Address, error)

OWNER is a free data retrieval call binding the contract method 0x117803e3.

Solidity: function OWNER() view returns(address)

func (*BridgeContractCaller) XIN

func (_BridgeContract *BridgeContractCaller) XIN(opts *bind.CallOpts) (common.Address, error)

XIN is a free data retrieval call binding the contract method 0x7ae47b95.

Solidity: function XIN() view returns(address)

type BridgeContractCallerRaw

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

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

func (*BridgeContractCallerRaw) Call

func (_BridgeContract *BridgeContractCallerRaw) 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 BridgeContractCallerSession

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

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

func (*BridgeContractCallerSession) BASE

func (_BridgeContract *BridgeContractCallerSession) BASE() (*big.Int, error)

BASE is a free data retrieval call binding the contract method 0xec342ad0.

Solidity: function BASE() view returns(uint256)

func (*BridgeContractCallerSession) Bridges

func (_BridgeContract *BridgeContractCallerSession) Bridges(arg0 common.Address) (common.Address, error)

Bridges is a free data retrieval call binding the contract method 0xced67f0c.

Solidity: function bridges(address ) view returns(address)

func (*BridgeContractCallerSession) FACTORY

func (_BridgeContract *BridgeContractCallerSession) FACTORY() (common.Address, error)

FACTORY is a free data retrieval call binding the contract method 0x2dd31000.

Solidity: function FACTORY() view returns(address)

func (*BridgeContractCallerSession) OWNER

func (_BridgeContract *BridgeContractCallerSession) OWNER() (common.Address, error)

OWNER is a free data retrieval call binding the contract method 0x117803e3.

Solidity: function OWNER() view returns(address)

func (*BridgeContractCallerSession) XIN

func (_BridgeContract *BridgeContractCallerSession) XIN() (common.Address, error)

XIN is a free data retrieval call binding the contract method 0x7ae47b95.

Solidity: function XIN() view returns(address)

type BridgeContractFilterer

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

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

func NewBridgeContractFilterer

func NewBridgeContractFilterer(address common.Address, filterer bind.ContractFilterer) (*BridgeContractFilterer, error)

NewBridgeContractFilterer creates a new log filterer instance of BridgeContract, bound to a specific deployed contract.

func (*BridgeContractFilterer) FilterBound

func (_BridgeContract *BridgeContractFilterer) FilterBound(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*BridgeContractBoundIterator, error)

FilterBound is a free log retrieval operation binding the contract event 0x0d128562eaa47ab89086803e64a0f96847c0ed3cc63c26251f29ba1aede09d4e.

Solidity: event Bound(address indexed from, address indexed to)

func (*BridgeContractFilterer) FilterThrough

func (_BridgeContract *BridgeContractFilterer) FilterThrough(opts *bind.FilterOpts, asset []common.Address, from []common.Address, to []common.Address) (*BridgeContractThroughIterator, error)

FilterThrough is a free log retrieval operation binding the contract event 0x72d27832ca9ac59ff168a29801fcbe15464d099fb1b06cea8475d4a9d47a2248.

Solidity: event Through(address indexed asset, address indexed from, address indexed to, uint256 amount)

func (*BridgeContractFilterer) FilterVault

func (_BridgeContract *BridgeContractFilterer) FilterVault(opts *bind.FilterOpts, from []common.Address) (*BridgeContractVaultIterator, error)

FilterVault is a free log retrieval operation binding the contract event 0xcc189d00e17c637536854a6446232b39c2adbc24668adad4fa348e9ee1eb37b1.

Solidity: event Vault(address indexed from, uint256 amount)

func (*BridgeContractFilterer) ParseBound

func (_BridgeContract *BridgeContractFilterer) ParseBound(log types.Log) (*BridgeContractBound, error)

ParseBound is a log parse operation binding the contract event 0x0d128562eaa47ab89086803e64a0f96847c0ed3cc63c26251f29ba1aede09d4e.

Solidity: event Bound(address indexed from, address indexed to)

func (*BridgeContractFilterer) ParseThrough

func (_BridgeContract *BridgeContractFilterer) ParseThrough(log types.Log) (*BridgeContractThrough, error)

ParseThrough is a log parse operation binding the contract event 0x72d27832ca9ac59ff168a29801fcbe15464d099fb1b06cea8475d4a9d47a2248.

Solidity: event Through(address indexed asset, address indexed from, address indexed to, uint256 amount)

func (*BridgeContractFilterer) ParseVault

func (_BridgeContract *BridgeContractFilterer) ParseVault(log types.Log) (*BridgeContractVault, error)

ParseVault is a log parse operation binding the contract event 0xcc189d00e17c637536854a6446232b39c2adbc24668adad4fa348e9ee1eb37b1.

Solidity: event Vault(address indexed from, uint256 amount)

func (*BridgeContractFilterer) WatchBound

func (_BridgeContract *BridgeContractFilterer) WatchBound(opts *bind.WatchOpts, sink chan<- *BridgeContractBound, from []common.Address, to []common.Address) (event.Subscription, error)

WatchBound is a free log subscription operation binding the contract event 0x0d128562eaa47ab89086803e64a0f96847c0ed3cc63c26251f29ba1aede09d4e.

Solidity: event Bound(address indexed from, address indexed to)

func (*BridgeContractFilterer) WatchThrough

func (_BridgeContract *BridgeContractFilterer) WatchThrough(opts *bind.WatchOpts, sink chan<- *BridgeContractThrough, asset []common.Address, from []common.Address, to []common.Address) (event.Subscription, error)

WatchThrough is a free log subscription operation binding the contract event 0x72d27832ca9ac59ff168a29801fcbe15464d099fb1b06cea8475d4a9d47a2248.

Solidity: event Through(address indexed asset, address indexed from, address indexed to, uint256 amount)

func (*BridgeContractFilterer) WatchVault

func (_BridgeContract *BridgeContractFilterer) WatchVault(opts *bind.WatchOpts, sink chan<- *BridgeContractVault, from []common.Address) (event.Subscription, error)

WatchVault is a free log subscription operation binding the contract event 0xcc189d00e17c637536854a6446232b39c2adbc24668adad4fa348e9ee1eb37b1.

Solidity: event Vault(address indexed from, uint256 amount)

type BridgeContractRaw

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

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

func (*BridgeContractRaw) Call

func (_BridgeContract *BridgeContractRaw) 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 (*BridgeContractRaw) Transact

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

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

func (*BridgeContractRaw) Transfer

func (_BridgeContract *BridgeContractRaw) 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 BridgeContractSession

type BridgeContractSession struct {
	Contract     *BridgeContract   // 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
}

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

func (*BridgeContractSession) BASE

func (_BridgeContract *BridgeContractSession) BASE() (*big.Int, error)

BASE is a free data retrieval call binding the contract method 0xec342ad0.

Solidity: function BASE() view returns(uint256)

func (*BridgeContractSession) Bind

func (_BridgeContract *BridgeContractSession) Bind(receiver common.Address) (*types.Transaction, error)

Bind is a paid mutator transaction binding the contract method 0x81bac14f.

Solidity: function bind(address receiver) returns()

func (*BridgeContractSession) Bridges

func (_BridgeContract *BridgeContractSession) Bridges(arg0 common.Address) (common.Address, error)

Bridges is a free data retrieval call binding the contract method 0xced67f0c.

Solidity: function bridges(address ) view returns(address)

func (*BridgeContractSession) FACTORY

func (_BridgeContract *BridgeContractSession) FACTORY() (common.Address, error)

FACTORY is a free data retrieval call binding the contract method 0x2dd31000.

Solidity: function FACTORY() view returns(address)

func (*BridgeContractSession) Fallback

func (_BridgeContract *BridgeContractSession) Fallback(calldata []byte) (*types.Transaction, error)

Fallback is a paid mutator transaction binding the contract fallback function.

Solidity: fallback() payable returns()

func (*BridgeContractSession) OWNER

func (_BridgeContract *BridgeContractSession) OWNER() (common.Address, error)

OWNER is a free data retrieval call binding the contract method 0x117803e3.

Solidity: function OWNER() view returns(address)

func (*BridgeContractSession) Pass

func (_BridgeContract *BridgeContractSession) Pass(asset common.Address, amount *big.Int) (*types.Transaction, error)

Pass is a paid mutator transaction binding the contract method 0x0ed1db9f.

Solidity: function pass(address asset, uint256 amount) returns()

func (*BridgeContractSession) Receive

func (_BridgeContract *BridgeContractSession) Receive() (*types.Transaction, error)

Receive is a paid mutator transaction binding the contract receive function.

Solidity: receive() payable returns()

func (*BridgeContractSession) Vault

func (_BridgeContract *BridgeContractSession) Vault(asset common.Address, amount *big.Int) (*types.Transaction, error)

Vault is a paid mutator transaction binding the contract method 0x3fa16d99.

Solidity: function vault(address asset, uint256 amount) returns()

func (*BridgeContractSession) XIN

func (_BridgeContract *BridgeContractSession) XIN() (common.Address, error)

XIN is a free data retrieval call binding the contract method 0x7ae47b95.

Solidity: function XIN() view returns(address)

type BridgeContractThrough

type BridgeContractThrough struct {
	Asset  common.Address
	From   common.Address
	To     common.Address
	Amount *big.Int
	Raw    types.Log // Blockchain specific contextual infos
}

BridgeContractThrough represents a Through event raised by the BridgeContract contract.

type BridgeContractThroughIterator

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

BridgeContractThroughIterator is returned from FilterThrough and is used to iterate over the raw logs and unpacked data for Through events raised by the BridgeContract contract.

func (*BridgeContractThroughIterator) Close

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

func (*BridgeContractThroughIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*BridgeContractThroughIterator) 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 BridgeContractTransactor

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

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

func NewBridgeContractTransactor

func NewBridgeContractTransactor(address common.Address, transactor bind.ContractTransactor) (*BridgeContractTransactor, error)

NewBridgeContractTransactor creates a new write-only instance of BridgeContract, bound to a specific deployed contract.

func (*BridgeContractTransactor) Bind

func (_BridgeContract *BridgeContractTransactor) Bind(opts *bind.TransactOpts, receiver common.Address) (*types.Transaction, error)

Bind is a paid mutator transaction binding the contract method 0x81bac14f.

Solidity: function bind(address receiver) returns()

func (*BridgeContractTransactor) Fallback

func (_BridgeContract *BridgeContractTransactor) Fallback(opts *bind.TransactOpts, calldata []byte) (*types.Transaction, error)

Fallback is a paid mutator transaction binding the contract fallback function.

Solidity: fallback() payable returns()

func (*BridgeContractTransactor) Pass

func (_BridgeContract *BridgeContractTransactor) Pass(opts *bind.TransactOpts, asset common.Address, amount *big.Int) (*types.Transaction, error)

Pass is a paid mutator transaction binding the contract method 0x0ed1db9f.

Solidity: function pass(address asset, uint256 amount) returns()

func (*BridgeContractTransactor) Receive

func (_BridgeContract *BridgeContractTransactor) Receive(opts *bind.TransactOpts) (*types.Transaction, error)

Receive is a paid mutator transaction binding the contract receive function.

Solidity: receive() payable returns()

func (*BridgeContractTransactor) Vault

func (_BridgeContract *BridgeContractTransactor) Vault(opts *bind.TransactOpts, asset common.Address, amount *big.Int) (*types.Transaction, error)

Vault is a paid mutator transaction binding the contract method 0x3fa16d99.

Solidity: function vault(address asset, uint256 amount) returns()

type BridgeContractTransactorRaw

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

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

func (*BridgeContractTransactorRaw) Transact

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

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

func (*BridgeContractTransactorRaw) Transfer

func (_BridgeContract *BridgeContractTransactorRaw) 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 BridgeContractTransactorSession

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

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

func (*BridgeContractTransactorSession) Bind

func (_BridgeContract *BridgeContractTransactorSession) Bind(receiver common.Address) (*types.Transaction, error)

Bind is a paid mutator transaction binding the contract method 0x81bac14f.

Solidity: function bind(address receiver) returns()

func (*BridgeContractTransactorSession) Fallback

func (_BridgeContract *BridgeContractTransactorSession) Fallback(calldata []byte) (*types.Transaction, error)

Fallback is a paid mutator transaction binding the contract fallback function.

Solidity: fallback() payable returns()

func (*BridgeContractTransactorSession) Pass

func (_BridgeContract *BridgeContractTransactorSession) Pass(asset common.Address, amount *big.Int) (*types.Transaction, error)

Pass is a paid mutator transaction binding the contract method 0x0ed1db9f.

Solidity: function pass(address asset, uint256 amount) returns()

func (*BridgeContractTransactorSession) Receive

func (_BridgeContract *BridgeContractTransactorSession) Receive() (*types.Transaction, error)

Receive is a paid mutator transaction binding the contract receive function.

Solidity: receive() payable returns()

func (*BridgeContractTransactorSession) Vault

func (_BridgeContract *BridgeContractTransactorSession) Vault(asset common.Address, amount *big.Int) (*types.Transaction, error)

Vault is a paid mutator transaction binding the contract method 0x3fa16d99.

Solidity: function vault(address asset, uint256 amount) returns()

type BridgeContractVault

type BridgeContractVault struct {
	From   common.Address
	Amount *big.Int
	Raw    types.Log // Blockchain specific contextual infos
}

BridgeContractVault represents a Vault event raised by the BridgeContract contract.

type BridgeContractVaultIterator

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

BridgeContractVaultIterator is returned from FilterVault and is used to iterate over the raw logs and unpacked data for Vault events raised by the BridgeContract contract.

func (*BridgeContractVaultIterator) Close

func (it *BridgeContractVaultIterator) Close() error

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

func (*BridgeContractVaultIterator) Error

func (it *BridgeContractVaultIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*BridgeContractVaultIterator) Next

func (it *BridgeContractVaultIterator) 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 MirrorContract

type MirrorContract struct {
	MirrorContractCaller     // Read-only binding to the contract
	MirrorContractTransactor // Write-only binding to the contract
	MirrorContractFilterer   // Log filterer for contract events
}

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

func NewMirrorContract

func NewMirrorContract(address common.Address, backend bind.ContractBackend) (*MirrorContract, error)

NewMirrorContract creates a new instance of MirrorContract, bound to a specific deployed contract.

type MirrorContractBound

type MirrorContractBound struct {
	From common.Address
	To   common.Address
	Raw  types.Log // Blockchain specific contextual infos
}

MirrorContractBound represents a Bound event raised by the MirrorContract contract.

type MirrorContractBoundIterator

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

MirrorContractBoundIterator is returned from FilterBound and is used to iterate over the raw logs and unpacked data for Bound events raised by the MirrorContract contract.

func (*MirrorContractBoundIterator) Close

func (it *MirrorContractBoundIterator) Close() error

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

func (*MirrorContractBoundIterator) Error

func (it *MirrorContractBoundIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*MirrorContractBoundIterator) Next

func (it *MirrorContractBoundIterator) 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 MirrorContractCaller

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

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

func NewMirrorContractCaller

func NewMirrorContractCaller(address common.Address, caller bind.ContractCaller) (*MirrorContractCaller, error)

NewMirrorContractCaller creates a new read-only instance of MirrorContract, bound to a specific deployed contract.

func (*MirrorContractCaller) Bridges

func (_MirrorContract *MirrorContractCaller) Bridges(opts *bind.CallOpts, arg0 common.Address) (common.Address, error)

Bridges is a free data retrieval call binding the contract method 0xced67f0c.

Solidity: function bridges(address ) view returns(address)

func (*MirrorContractCaller) Collections

func (_MirrorContract *MirrorContractCaller) Collections(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)

Collections is a free data retrieval call binding the contract method 0x43add2e6.

Solidity: function collections(address ) view returns(uint256)

func (*MirrorContractCaller) Contracts

func (_MirrorContract *MirrorContractCaller) Contracts(opts *bind.CallOpts, arg0 *big.Int) (common.Address, error)

Contracts is a free data retrieval call binding the contract method 0x474da79a.

Solidity: function contracts(uint256 ) view returns(address)

func (*MirrorContractCaller) FACTORY

func (_MirrorContract *MirrorContractCaller) FACTORY(opts *bind.CallOpts) (common.Address, error)

FACTORY is a free data retrieval call binding the contract method 0x2dd31000.

Solidity: function FACTORY() view returns(address)

func (*MirrorContractCaller) Mints

func (_MirrorContract *MirrorContractCaller) Mints(opts *bind.CallOpts, arg0 common.Address) (struct {
	Collection common.Address
	Id         *big.Int
}, error)

Mints is a free data retrieval call binding the contract method 0x5660f851.

Solidity: function mints(address ) view returns(address collection, uint256 id)

func (*MirrorContractCaller) Tokens

func (_MirrorContract *MirrorContractCaller) Tokens(opts *bind.CallOpts, arg0 common.Address, arg1 *big.Int) (common.Address, error)

Tokens is a free data retrieval call binding the contract method 0x4abf825d.

Solidity: function tokens(address , uint256 ) view returns(address)

func (*MirrorContractCaller) VERSION

func (_MirrorContract *MirrorContractCaller) VERSION(opts *bind.CallOpts) (*big.Int, error)

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

Solidity: function VERSION() view returns(uint256)

type MirrorContractCallerRaw

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

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

func (*MirrorContractCallerRaw) Call

func (_MirrorContract *MirrorContractCallerRaw) 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 MirrorContractCallerSession

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

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

func (*MirrorContractCallerSession) Bridges

func (_MirrorContract *MirrorContractCallerSession) Bridges(arg0 common.Address) (common.Address, error)

Bridges is a free data retrieval call binding the contract method 0xced67f0c.

Solidity: function bridges(address ) view returns(address)

func (*MirrorContractCallerSession) Collections

func (_MirrorContract *MirrorContractCallerSession) Collections(arg0 common.Address) (*big.Int, error)

Collections is a free data retrieval call binding the contract method 0x43add2e6.

Solidity: function collections(address ) view returns(uint256)

func (*MirrorContractCallerSession) Contracts

func (_MirrorContract *MirrorContractCallerSession) Contracts(arg0 *big.Int) (common.Address, error)

Contracts is a free data retrieval call binding the contract method 0x474da79a.

Solidity: function contracts(uint256 ) view returns(address)

func (*MirrorContractCallerSession) FACTORY

func (_MirrorContract *MirrorContractCallerSession) FACTORY() (common.Address, error)

FACTORY is a free data retrieval call binding the contract method 0x2dd31000.

Solidity: function FACTORY() view returns(address)

func (*MirrorContractCallerSession) Mints

func (_MirrorContract *MirrorContractCallerSession) Mints(arg0 common.Address) (struct {
	Collection common.Address
	Id         *big.Int
}, error)

Mints is a free data retrieval call binding the contract method 0x5660f851.

Solidity: function mints(address ) view returns(address collection, uint256 id)

func (*MirrorContractCallerSession) Tokens

func (_MirrorContract *MirrorContractCallerSession) Tokens(arg0 common.Address, arg1 *big.Int) (common.Address, error)

Tokens is a free data retrieval call binding the contract method 0x4abf825d.

Solidity: function tokens(address , uint256 ) view returns(address)

func (*MirrorContractCallerSession) VERSION

func (_MirrorContract *MirrorContractCallerSession) VERSION() (*big.Int, error)

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

Solidity: function VERSION() view returns(uint256)

type MirrorContractCollectionCreated

type MirrorContractCollectionCreated struct {
	At  common.Address
	Id  *big.Int
	Raw types.Log // Blockchain specific contextual infos
}

MirrorContractCollectionCreated represents a CollectionCreated event raised by the MirrorContract contract.

type MirrorContractCollectionCreatedIterator

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

MirrorContractCollectionCreatedIterator is returned from FilterCollectionCreated and is used to iterate over the raw logs and unpacked data for CollectionCreated events raised by the MirrorContract contract.

func (*MirrorContractCollectionCreatedIterator) Close

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

func (*MirrorContractCollectionCreatedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*MirrorContractCollectionCreatedIterator) 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 MirrorContractFilterer

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

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

func NewMirrorContractFilterer

func NewMirrorContractFilterer(address common.Address, filterer bind.ContractFilterer) (*MirrorContractFilterer, error)

NewMirrorContractFilterer creates a new log filterer instance of MirrorContract, bound to a specific deployed contract.

func (*MirrorContractFilterer) FilterBound

func (_MirrorContract *MirrorContractFilterer) FilterBound(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*MirrorContractBoundIterator, error)

FilterBound is a free log retrieval operation binding the contract event 0x0d128562eaa47ab89086803e64a0f96847c0ed3cc63c26251f29ba1aede09d4e.

Solidity: event Bound(address indexed from, address indexed to)

func (*MirrorContractFilterer) FilterCollectionCreated

func (_MirrorContract *MirrorContractFilterer) FilterCollectionCreated(opts *bind.FilterOpts, at []common.Address) (*MirrorContractCollectionCreatedIterator, error)

FilterCollectionCreated is a free log retrieval operation binding the contract event 0xae66da0f1658d46bfee58255b370697fedca10e984d310c30f2579d377a04255.

Solidity: event CollectionCreated(address indexed at, uint256 id)

func (*MirrorContractFilterer) FilterThrough

func (_MirrorContract *MirrorContractFilterer) FilterThrough(opts *bind.FilterOpts, collection []common.Address, from []common.Address, to []common.Address) (*MirrorContractThroughIterator, error)

FilterThrough is a free log retrieval operation binding the contract event 0x72d27832ca9ac59ff168a29801fcbe15464d099fb1b06cea8475d4a9d47a2248.

Solidity: event Through(address indexed collection, address indexed from, address indexed to, uint256 id)

func (*MirrorContractFilterer) ParseBound

func (_MirrorContract *MirrorContractFilterer) ParseBound(log types.Log) (*MirrorContractBound, error)

ParseBound is a log parse operation binding the contract event 0x0d128562eaa47ab89086803e64a0f96847c0ed3cc63c26251f29ba1aede09d4e.

Solidity: event Bound(address indexed from, address indexed to)

func (*MirrorContractFilterer) ParseCollectionCreated

func (_MirrorContract *MirrorContractFilterer) ParseCollectionCreated(log types.Log) (*MirrorContractCollectionCreated, error)

ParseCollectionCreated is a log parse operation binding the contract event 0xae66da0f1658d46bfee58255b370697fedca10e984d310c30f2579d377a04255.

Solidity: event CollectionCreated(address indexed at, uint256 id)

func (*MirrorContractFilterer) ParseThrough

func (_MirrorContract *MirrorContractFilterer) ParseThrough(log types.Log) (*MirrorContractThrough, error)

ParseThrough is a log parse operation binding the contract event 0x72d27832ca9ac59ff168a29801fcbe15464d099fb1b06cea8475d4a9d47a2248.

Solidity: event Through(address indexed collection, address indexed from, address indexed to, uint256 id)

func (*MirrorContractFilterer) WatchBound

func (_MirrorContract *MirrorContractFilterer) WatchBound(opts *bind.WatchOpts, sink chan<- *MirrorContractBound, from []common.Address, to []common.Address) (event.Subscription, error)

WatchBound is a free log subscription operation binding the contract event 0x0d128562eaa47ab89086803e64a0f96847c0ed3cc63c26251f29ba1aede09d4e.

Solidity: event Bound(address indexed from, address indexed to)

func (*MirrorContractFilterer) WatchCollectionCreated

func (_MirrorContract *MirrorContractFilterer) WatchCollectionCreated(opts *bind.WatchOpts, sink chan<- *MirrorContractCollectionCreated, at []common.Address) (event.Subscription, error)

WatchCollectionCreated is a free log subscription operation binding the contract event 0xae66da0f1658d46bfee58255b370697fedca10e984d310c30f2579d377a04255.

Solidity: event CollectionCreated(address indexed at, uint256 id)

func (*MirrorContractFilterer) WatchThrough

func (_MirrorContract *MirrorContractFilterer) WatchThrough(opts *bind.WatchOpts, sink chan<- *MirrorContractThrough, collection []common.Address, from []common.Address, to []common.Address) (event.Subscription, error)

WatchThrough is a free log subscription operation binding the contract event 0x72d27832ca9ac59ff168a29801fcbe15464d099fb1b06cea8475d4a9d47a2248.

Solidity: event Through(address indexed collection, address indexed from, address indexed to, uint256 id)

type MirrorContractRaw

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

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

func (*MirrorContractRaw) Call

func (_MirrorContract *MirrorContractRaw) 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 (*MirrorContractRaw) Transact

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

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

func (*MirrorContractRaw) Transfer

func (_MirrorContract *MirrorContractRaw) 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 MirrorContractSession

type MirrorContractSession struct {
	Contract     *MirrorContract   // 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
}

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

func (*MirrorContractSession) Bind

func (_MirrorContract *MirrorContractSession) Bind(receiver common.Address) (*types.Transaction, error)

Bind is a paid mutator transaction binding the contract method 0x81bac14f.

Solidity: function bind(address receiver) returns()

func (*MirrorContractSession) Bridges

func (_MirrorContract *MirrorContractSession) Bridges(arg0 common.Address) (common.Address, error)

Bridges is a free data retrieval call binding the contract method 0xced67f0c.

Solidity: function bridges(address ) view returns(address)

func (*MirrorContractSession) Collections

func (_MirrorContract *MirrorContractSession) Collections(arg0 common.Address) (*big.Int, error)

Collections is a free data retrieval call binding the contract method 0x43add2e6.

Solidity: function collections(address ) view returns(uint256)

func (*MirrorContractSession) Contracts

func (_MirrorContract *MirrorContractSession) Contracts(arg0 *big.Int) (common.Address, error)

Contracts is a free data retrieval call binding the contract method 0x474da79a.

Solidity: function contracts(uint256 ) view returns(address)

func (*MirrorContractSession) FACTORY

func (_MirrorContract *MirrorContractSession) FACTORY() (common.Address, error)

FACTORY is a free data retrieval call binding the contract method 0x2dd31000.

Solidity: function FACTORY() view returns(address)

func (*MirrorContractSession) Mints

func (_MirrorContract *MirrorContractSession) Mints(arg0 common.Address) (struct {
	Collection common.Address
	Id         *big.Int
}, error)

Mints is a free data retrieval call binding the contract method 0x5660f851.

Solidity: function mints(address ) view returns(address collection, uint256 id)

func (*MirrorContractSession) OnERC721Received

func (_MirrorContract *MirrorContractSession) OnERC721Received(arg0 common.Address, _from common.Address, _tokenId *big.Int, _data []byte) (*types.Transaction, error)

OnERC721Received is a paid mutator transaction binding the contract method 0x150b7a02.

Solidity: function onERC721Received(address , address _from, uint256 _tokenId, bytes _data) returns(bytes4)

func (*MirrorContractSession) Pass

func (_MirrorContract *MirrorContractSession) Pass(asset common.Address) (*types.Transaction, error)

Pass is a paid mutator transaction binding the contract method 0x82c4b3b2.

Solidity: function pass(address asset) returns()

func (*MirrorContractSession) Tokens

func (_MirrorContract *MirrorContractSession) Tokens(arg0 common.Address, arg1 *big.Int) (common.Address, error)

Tokens is a free data retrieval call binding the contract method 0x4abf825d.

Solidity: function tokens(address , uint256 ) view returns(address)

func (*MirrorContractSession) VERSION

func (_MirrorContract *MirrorContractSession) VERSION() (*big.Int, error)

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

Solidity: function VERSION() view returns(uint256)

type MirrorContractThrough

type MirrorContractThrough struct {
	Collection common.Address
	From       common.Address
	To         common.Address
	Id         *big.Int
	Raw        types.Log // Blockchain specific contextual infos
}

MirrorContractThrough represents a Through event raised by the MirrorContract contract.

type MirrorContractThroughIterator

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

MirrorContractThroughIterator is returned from FilterThrough and is used to iterate over the raw logs and unpacked data for Through events raised by the MirrorContract contract.

func (*MirrorContractThroughIterator) Close

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

func (*MirrorContractThroughIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*MirrorContractThroughIterator) 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 MirrorContractTransactor

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

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

func NewMirrorContractTransactor

func NewMirrorContractTransactor(address common.Address, transactor bind.ContractTransactor) (*MirrorContractTransactor, error)

NewMirrorContractTransactor creates a new write-only instance of MirrorContract, bound to a specific deployed contract.

func (*MirrorContractTransactor) Bind

func (_MirrorContract *MirrorContractTransactor) Bind(opts *bind.TransactOpts, receiver common.Address) (*types.Transaction, error)

Bind is a paid mutator transaction binding the contract method 0x81bac14f.

Solidity: function bind(address receiver) returns()

func (*MirrorContractTransactor) OnERC721Received

func (_MirrorContract *MirrorContractTransactor) OnERC721Received(opts *bind.TransactOpts, arg0 common.Address, _from common.Address, _tokenId *big.Int, _data []byte) (*types.Transaction, error)

OnERC721Received is a paid mutator transaction binding the contract method 0x150b7a02.

Solidity: function onERC721Received(address , address _from, uint256 _tokenId, bytes _data) returns(bytes4)

func (*MirrorContractTransactor) Pass

func (_MirrorContract *MirrorContractTransactor) Pass(opts *bind.TransactOpts, asset common.Address) (*types.Transaction, error)

Pass is a paid mutator transaction binding the contract method 0x82c4b3b2.

Solidity: function pass(address asset) returns()

type MirrorContractTransactorRaw

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

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

func (*MirrorContractTransactorRaw) Transact

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

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

func (*MirrorContractTransactorRaw) Transfer

func (_MirrorContract *MirrorContractTransactorRaw) 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 MirrorContractTransactorSession

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

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

func (*MirrorContractTransactorSession) Bind

func (_MirrorContract *MirrorContractTransactorSession) Bind(receiver common.Address) (*types.Transaction, error)

Bind is a paid mutator transaction binding the contract method 0x81bac14f.

Solidity: function bind(address receiver) returns()

func (*MirrorContractTransactorSession) OnERC721Received

func (_MirrorContract *MirrorContractTransactorSession) OnERC721Received(arg0 common.Address, _from common.Address, _tokenId *big.Int, _data []byte) (*types.Transaction, error)

OnERC721Received is a paid mutator transaction binding the contract method 0x150b7a02.

Solidity: function onERC721Received(address , address _from, uint256 _tokenId, bytes _data) returns(bytes4)

func (*MirrorContractTransactorSession) Pass

func (_MirrorContract *MirrorContractTransactorSession) Pass(asset common.Address) (*types.Transaction, error)

Pass is a paid mutator transaction binding the contract method 0x82c4b3b2.

Solidity: function pass(address asset) returns()

type RegistryContract

type RegistryContract struct {
	RegistryContractCaller     // Read-only binding to the contract
	RegistryContractTransactor // Write-only binding to the contract
	RegistryContractFilterer   // Log filterer for contract events
}

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

func NewRegistryContract

func NewRegistryContract(address common.Address, backend bind.ContractBackend) (*RegistryContract, error)

NewRegistryContract creates a new instance of RegistryContract, bound to a specific deployed contract.

type RegistryContractAssetCreated

type RegistryContractAssetCreated struct {
	At  common.Address
	Id  *big.Int
	Raw types.Log // Blockchain specific contextual infos
}

RegistryContractAssetCreated represents a AssetCreated event raised by the RegistryContract contract.

type RegistryContractAssetCreatedIterator

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

RegistryContractAssetCreatedIterator is returned from FilterAssetCreated and is used to iterate over the raw logs and unpacked data for AssetCreated events raised by the RegistryContract contract.

func (*RegistryContractAssetCreatedIterator) Close

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

func (*RegistryContractAssetCreatedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*RegistryContractAssetCreatedIterator) 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 RegistryContractCaller

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

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

func NewRegistryContractCaller

func NewRegistryContractCaller(address common.Address, caller bind.ContractCaller) (*RegistryContractCaller, error)

NewRegistryContractCaller creates a new read-only instance of RegistryContract, bound to a specific deployed contract.

func (*RegistryContractCaller) Assets

func (_RegistryContract *RegistryContractCaller) Assets(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)

Assets is a free data retrieval call binding the contract method 0xf11b8188.

Solidity: function assets(address ) view returns(uint128)

func (*RegistryContractCaller) Balances

func (_RegistryContract *RegistryContractCaller) Balances(opts *bind.CallOpts, arg0 *big.Int) (*big.Int, error)

Balances is a free data retrieval call binding the contract method 0x8d46b0c9.

Solidity: function balances(uint128 ) view returns(uint256)

func (*RegistryContractCaller) Contracts

func (_RegistryContract *RegistryContractCaller) Contracts(opts *bind.CallOpts, arg0 *big.Int) (common.Address, error)

Contracts is a free data retrieval call binding the contract method 0x474da79a.

Solidity: function contracts(uint256 ) view returns(address)

func (*RegistryContractCaller) GROUP

func (_RegistryContract *RegistryContractCaller) GROUP(opts *bind.CallOpts, arg0 *big.Int) (*big.Int, error)

GROUP is a free data retrieval call binding the contract method 0x81ebf1c3.

Solidity: function GROUP(uint256 ) view returns(uint256)

func (*RegistryContractCaller) HALTED

func (_RegistryContract *RegistryContractCaller) HALTED(opts *bind.CallOpts) (bool, error)

HALTED is a free data retrieval call binding the contract method 0x678d7732.

Solidity: function HALTED() view returns(bool)

func (*RegistryContractCaller) INBOUND

func (_RegistryContract *RegistryContractCaller) INBOUND(opts *bind.CallOpts) (uint64, error)

INBOUND is a free data retrieval call binding the contract method 0x85835923.

Solidity: function INBOUND() view returns(uint64)

func (*RegistryContractCaller) OUTBOUND

func (_RegistryContract *RegistryContractCaller) OUTBOUND(opts *bind.CallOpts) (uint64, error)

OUTBOUND is a free data retrieval call binding the contract method 0x48093204.

Solidity: function OUTBOUND() view returns(uint64)

func (*RegistryContractCaller) PID

func (_RegistryContract *RegistryContractCaller) PID(opts *bind.CallOpts) (*big.Int, error)

PID is a free data retrieval call binding the contract method 0x5eaec0e4.

Solidity: function PID() view returns(uint128)

func (*RegistryContractCaller) Users

func (_RegistryContract *RegistryContractCaller) Users(opts *bind.CallOpts, arg0 common.Address) ([]byte, error)

Users is a free data retrieval call binding the contract method 0xa87430ba.

Solidity: function users(address ) view returns(bytes)

func (*RegistryContractCaller) VERSION

func (_RegistryContract *RegistryContractCaller) VERSION(opts *bind.CallOpts) (*big.Int, error)

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

Solidity: function VERSION() view returns(uint256)

type RegistryContractCallerRaw

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

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

func (*RegistryContractCallerRaw) Call

func (_RegistryContract *RegistryContractCallerRaw) 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 RegistryContractCallerSession

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

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

func (*RegistryContractCallerSession) Assets

func (_RegistryContract *RegistryContractCallerSession) Assets(arg0 common.Address) (*big.Int, error)

Assets is a free data retrieval call binding the contract method 0xf11b8188.

Solidity: function assets(address ) view returns(uint128)

func (*RegistryContractCallerSession) Balances

func (_RegistryContract *RegistryContractCallerSession) Balances(arg0 *big.Int) (*big.Int, error)

Balances is a free data retrieval call binding the contract method 0x8d46b0c9.

Solidity: function balances(uint128 ) view returns(uint256)

func (*RegistryContractCallerSession) Contracts

func (_RegistryContract *RegistryContractCallerSession) Contracts(arg0 *big.Int) (common.Address, error)

Contracts is a free data retrieval call binding the contract method 0x474da79a.

Solidity: function contracts(uint256 ) view returns(address)

func (*RegistryContractCallerSession) GROUP

func (_RegistryContract *RegistryContractCallerSession) GROUP(arg0 *big.Int) (*big.Int, error)

GROUP is a free data retrieval call binding the contract method 0x81ebf1c3.

Solidity: function GROUP(uint256 ) view returns(uint256)

func (*RegistryContractCallerSession) HALTED

func (_RegistryContract *RegistryContractCallerSession) HALTED() (bool, error)

HALTED is a free data retrieval call binding the contract method 0x678d7732.

Solidity: function HALTED() view returns(bool)

func (*RegistryContractCallerSession) INBOUND

func (_RegistryContract *RegistryContractCallerSession) INBOUND() (uint64, error)

INBOUND is a free data retrieval call binding the contract method 0x85835923.

Solidity: function INBOUND() view returns(uint64)

func (*RegistryContractCallerSession) OUTBOUND

func (_RegistryContract *RegistryContractCallerSession) OUTBOUND() (uint64, error)

OUTBOUND is a free data retrieval call binding the contract method 0x48093204.

Solidity: function OUTBOUND() view returns(uint64)

func (*RegistryContractCallerSession) PID

func (_RegistryContract *RegistryContractCallerSession) PID() (*big.Int, error)

PID is a free data retrieval call binding the contract method 0x5eaec0e4.

Solidity: function PID() view returns(uint128)

func (*RegistryContractCallerSession) Users

func (_RegistryContract *RegistryContractCallerSession) Users(arg0 common.Address) ([]byte, error)

Users is a free data retrieval call binding the contract method 0xa87430ba.

Solidity: function users(address ) view returns(bytes)

func (*RegistryContractCallerSession) VERSION

func (_RegistryContract *RegistryContractCallerSession) VERSION() (*big.Int, error)

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

Solidity: function VERSION() view returns(uint256)

type RegistryContractFilterer

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

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

func NewRegistryContractFilterer

func NewRegistryContractFilterer(address common.Address, filterer bind.ContractFilterer) (*RegistryContractFilterer, error)

NewRegistryContractFilterer creates a new log filterer instance of RegistryContract, bound to a specific deployed contract.

func (*RegistryContractFilterer) FilterAssetCreated

func (_RegistryContract *RegistryContractFilterer) FilterAssetCreated(opts *bind.FilterOpts, at []common.Address) (*RegistryContractAssetCreatedIterator, error)

FilterAssetCreated is a free log retrieval operation binding the contract event 0x20df459a0f7f1bc64a42346a9e6536111a3512be01de7a0f5327a4e13b337038.

Solidity: event AssetCreated(address indexed at, uint256 id)

func (*RegistryContractFilterer) FilterHalted

func (_RegistryContract *RegistryContractFilterer) FilterHalted(opts *bind.FilterOpts) (*RegistryContractHaltedIterator, error)

FilterHalted is a free log retrieval operation binding the contract event 0x92333b0b676476985757350034668cb9ee247674ac7a7479de10cd761381f733.

Solidity: event Halted(bool state)

func (*RegistryContractFilterer) FilterIterated

func (_RegistryContract *RegistryContractFilterer) FilterIterated(opts *bind.FilterOpts) (*RegistryContractIteratedIterator, error)

FilterIterated is a free log retrieval operation binding the contract event 0x20b54a4e4d72fb59d7f4da768f89618921cb2abc9d2ede08c065bb1f36c745f5.

Solidity: event Iterated(uint256[4] from, uint256[4] to)

func (*RegistryContractFilterer) FilterMixinEvent

func (_RegistryContract *RegistryContractFilterer) FilterMixinEvent(opts *bind.FilterOpts) (*RegistryContractMixinEventIterator, error)

FilterMixinEvent is a free log retrieval operation binding the contract event 0xbf9be0caf58b62993c79cd8f1c0b53386c571be762dcafde0ed58d45fe73e621.

Solidity: event MixinEvent((uint64,address,address,uint256,bytes,uint64,uint256[2]) evt)

func (*RegistryContractFilterer) ParseAssetCreated

func (_RegistryContract *RegistryContractFilterer) ParseAssetCreated(log types.Log) (*RegistryContractAssetCreated, error)

ParseAssetCreated is a log parse operation binding the contract event 0x20df459a0f7f1bc64a42346a9e6536111a3512be01de7a0f5327a4e13b337038.

Solidity: event AssetCreated(address indexed at, uint256 id)

func (*RegistryContractFilterer) ParseHalted

func (_RegistryContract *RegistryContractFilterer) ParseHalted(log types.Log) (*RegistryContractHalted, error)

ParseHalted is a log parse operation binding the contract event 0x92333b0b676476985757350034668cb9ee247674ac7a7479de10cd761381f733.

Solidity: event Halted(bool state)

func (*RegistryContractFilterer) ParseIterated

func (_RegistryContract *RegistryContractFilterer) ParseIterated(log types.Log) (*RegistryContractIterated, error)

ParseIterated is a log parse operation binding the contract event 0x20b54a4e4d72fb59d7f4da768f89618921cb2abc9d2ede08c065bb1f36c745f5.

Solidity: event Iterated(uint256[4] from, uint256[4] to)

func (*RegistryContractFilterer) ParseMixinEvent

func (_RegistryContract *RegistryContractFilterer) ParseMixinEvent(log types.Log) (*RegistryContractMixinEvent, error)

ParseMixinEvent is a log parse operation binding the contract event 0xbf9be0caf58b62993c79cd8f1c0b53386c571be762dcafde0ed58d45fe73e621.

Solidity: event MixinEvent((uint64,address,address,uint256,bytes,uint64,uint256[2]) evt)

func (*RegistryContractFilterer) WatchAssetCreated

func (_RegistryContract *RegistryContractFilterer) WatchAssetCreated(opts *bind.WatchOpts, sink chan<- *RegistryContractAssetCreated, at []common.Address) (event.Subscription, error)

WatchAssetCreated is a free log subscription operation binding the contract event 0x20df459a0f7f1bc64a42346a9e6536111a3512be01de7a0f5327a4e13b337038.

Solidity: event AssetCreated(address indexed at, uint256 id)

func (*RegistryContractFilterer) WatchHalted

func (_RegistryContract *RegistryContractFilterer) WatchHalted(opts *bind.WatchOpts, sink chan<- *RegistryContractHalted) (event.Subscription, error)

WatchHalted is a free log subscription operation binding the contract event 0x92333b0b676476985757350034668cb9ee247674ac7a7479de10cd761381f733.

Solidity: event Halted(bool state)

func (*RegistryContractFilterer) WatchIterated

func (_RegistryContract *RegistryContractFilterer) WatchIterated(opts *bind.WatchOpts, sink chan<- *RegistryContractIterated) (event.Subscription, error)

WatchIterated is a free log subscription operation binding the contract event 0x20b54a4e4d72fb59d7f4da768f89618921cb2abc9d2ede08c065bb1f36c745f5.

Solidity: event Iterated(uint256[4] from, uint256[4] to)

func (*RegistryContractFilterer) WatchMixinEvent

func (_RegistryContract *RegistryContractFilterer) WatchMixinEvent(opts *bind.WatchOpts, sink chan<- *RegistryContractMixinEvent) (event.Subscription, error)

WatchMixinEvent is a free log subscription operation binding the contract event 0xbf9be0caf58b62993c79cd8f1c0b53386c571be762dcafde0ed58d45fe73e621.

Solidity: event MixinEvent((uint64,address,address,uint256,bytes,uint64,uint256[2]) evt)

type RegistryContractHalted

type RegistryContractHalted struct {
	State bool
	Raw   types.Log // Blockchain specific contextual infos
}

RegistryContractHalted represents a Halted event raised by the RegistryContract contract.

type RegistryContractHaltedIterator

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

RegistryContractHaltedIterator is returned from FilterHalted and is used to iterate over the raw logs and unpacked data for Halted events raised by the RegistryContract contract.

func (*RegistryContractHaltedIterator) Close

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

func (*RegistryContractHaltedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*RegistryContractHaltedIterator) 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 RegistryContractIterated

type RegistryContractIterated struct {
	From [4]*big.Int
	To   [4]*big.Int
	Raw  types.Log // Blockchain specific contextual infos
}

RegistryContractIterated represents a Iterated event raised by the RegistryContract contract.

type RegistryContractIteratedIterator

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

RegistryContractIteratedIterator is returned from FilterIterated and is used to iterate over the raw logs and unpacked data for Iterated events raised by the RegistryContract contract.

func (*RegistryContractIteratedIterator) Close

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

func (*RegistryContractIteratedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*RegistryContractIteratedIterator) 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 RegistryContractMixinEvent

type RegistryContractMixinEvent struct {
	Evt RegistryEvent
	Raw types.Log // Blockchain specific contextual infos
}

RegistryContractMixinEvent represents a MixinEvent event raised by the RegistryContract contract.

type RegistryContractMixinEventIterator

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

RegistryContractMixinEventIterator is returned from FilterMixinEvent and is used to iterate over the raw logs and unpacked data for MixinEvent events raised by the RegistryContract contract.

func (*RegistryContractMixinEventIterator) Close

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

func (*RegistryContractMixinEventIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*RegistryContractMixinEventIterator) 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 RegistryContractRaw

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

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

func (*RegistryContractRaw) Call

func (_RegistryContract *RegistryContractRaw) 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 (*RegistryContractRaw) Transact

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

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

func (*RegistryContractRaw) Transfer

func (_RegistryContract *RegistryContractRaw) 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 RegistryContractSession

type RegistryContractSession struct {
	Contract     *RegistryContract // 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
}

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

func (*RegistryContractSession) Assets

func (_RegistryContract *RegistryContractSession) Assets(arg0 common.Address) (*big.Int, error)

Assets is a free data retrieval call binding the contract method 0xf11b8188.

Solidity: function assets(address ) view returns(uint128)

func (*RegistryContractSession) Balances

func (_RegistryContract *RegistryContractSession) Balances(arg0 *big.Int) (*big.Int, error)

Balances is a free data retrieval call binding the contract method 0x8d46b0c9.

Solidity: function balances(uint128 ) view returns(uint256)

func (*RegistryContractSession) Burn

func (_RegistryContract *RegistryContractSession) Burn(user common.Address, amount *big.Int, extra []byte) (*types.Transaction, error)

Burn is a paid mutator transaction binding the contract method 0x44d17187.

Solidity: function burn(address user, uint256 amount, bytes extra) returns(bool)

func (*RegistryContractSession) Claim

func (_RegistryContract *RegistryContractSession) Claim(asset common.Address, amount *big.Int) (*types.Transaction, error)

Claim is a paid mutator transaction binding the contract method 0xaad3ec96.

Solidity: function claim(address asset, uint256 amount) returns(bool)

func (*RegistryContractSession) Contracts

func (_RegistryContract *RegistryContractSession) Contracts(arg0 *big.Int) (common.Address, error)

Contracts is a free data retrieval call binding the contract method 0x474da79a.

Solidity: function contracts(uint256 ) view returns(address)

func (*RegistryContractSession) GROUP

func (_RegistryContract *RegistryContractSession) GROUP(arg0 *big.Int) (*big.Int, error)

GROUP is a free data retrieval call binding the contract method 0x81ebf1c3.

Solidity: function GROUP(uint256 ) view returns(uint256)

func (*RegistryContractSession) HALTED

func (_RegistryContract *RegistryContractSession) HALTED() (bool, error)

HALTED is a free data retrieval call binding the contract method 0x678d7732.

Solidity: function HALTED() view returns(bool)

func (*RegistryContractSession) Halt

func (_RegistryContract *RegistryContractSession) Halt(raw []byte) (*types.Transaction, error)

Halt is a paid mutator transaction binding the contract method 0x944e7cb1.

Solidity: function halt(bytes raw) returns()

func (*RegistryContractSession) INBOUND

func (_RegistryContract *RegistryContractSession) INBOUND() (uint64, error)

INBOUND is a free data retrieval call binding the contract method 0x85835923.

Solidity: function INBOUND() view returns(uint64)

func (*RegistryContractSession) Iterate

func (_RegistryContract *RegistryContractSession) Iterate(raw []byte) (*types.Transaction, error)

Iterate is a paid mutator transaction binding the contract method 0xbab54626.

Solidity: function iterate(bytes raw) returns()

func (*RegistryContractSession) Mixin

func (_RegistryContract *RegistryContractSession) Mixin(raw []byte) (*types.Transaction, error)

Mixin is a paid mutator transaction binding the contract method 0x5cae8005.

Solidity: function mixin(bytes raw) returns(bool)

func (*RegistryContractSession) OUTBOUND

func (_RegistryContract *RegistryContractSession) OUTBOUND() (uint64, error)

OUTBOUND is a free data retrieval call binding the contract method 0x48093204.

Solidity: function OUTBOUND() view returns(uint64)

func (*RegistryContractSession) PID

func (_RegistryContract *RegistryContractSession) PID() (*big.Int, error)

PID is a free data retrieval call binding the contract method 0x5eaec0e4.

Solidity: function PID() view returns(uint128)

func (*RegistryContractSession) Users

func (_RegistryContract *RegistryContractSession) Users(arg0 common.Address) ([]byte, error)

Users is a free data retrieval call binding the contract method 0xa87430ba.

Solidity: function users(address ) view returns(bytes)

func (*RegistryContractSession) VERSION

func (_RegistryContract *RegistryContractSession) VERSION() (*big.Int, error)

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

Solidity: function VERSION() view returns(uint256)

type RegistryContractTransactor

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

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

func NewRegistryContractTransactor

func NewRegistryContractTransactor(address common.Address, transactor bind.ContractTransactor) (*RegistryContractTransactor, error)

NewRegistryContractTransactor creates a new write-only instance of RegistryContract, bound to a specific deployed contract.

func (*RegistryContractTransactor) Burn

func (_RegistryContract *RegistryContractTransactor) Burn(opts *bind.TransactOpts, user common.Address, amount *big.Int, extra []byte) (*types.Transaction, error)

Burn is a paid mutator transaction binding the contract method 0x44d17187.

Solidity: function burn(address user, uint256 amount, bytes extra) returns(bool)

func (*RegistryContractTransactor) Claim

func (_RegistryContract *RegistryContractTransactor) Claim(opts *bind.TransactOpts, asset common.Address, amount *big.Int) (*types.Transaction, error)

Claim is a paid mutator transaction binding the contract method 0xaad3ec96.

Solidity: function claim(address asset, uint256 amount) returns(bool)

func (*RegistryContractTransactor) Halt

func (_RegistryContract *RegistryContractTransactor) Halt(opts *bind.TransactOpts, raw []byte) (*types.Transaction, error)

Halt is a paid mutator transaction binding the contract method 0x944e7cb1.

Solidity: function halt(bytes raw) returns()

func (*RegistryContractTransactor) Iterate

func (_RegistryContract *RegistryContractTransactor) Iterate(opts *bind.TransactOpts, raw []byte) (*types.Transaction, error)

Iterate is a paid mutator transaction binding the contract method 0xbab54626.

Solidity: function iterate(bytes raw) returns()

func (*RegistryContractTransactor) Mixin

func (_RegistryContract *RegistryContractTransactor) Mixin(opts *bind.TransactOpts, raw []byte) (*types.Transaction, error)

Mixin is a paid mutator transaction binding the contract method 0x5cae8005.

Solidity: function mixin(bytes raw) returns(bool)

type RegistryContractTransactorRaw

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

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

func (*RegistryContractTransactorRaw) Transact

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

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

func (*RegistryContractTransactorRaw) Transfer

func (_RegistryContract *RegistryContractTransactorRaw) 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 RegistryContractTransactorSession

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

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

func (*RegistryContractTransactorSession) Burn

func (_RegistryContract *RegistryContractTransactorSession) Burn(user common.Address, amount *big.Int, extra []byte) (*types.Transaction, error)

Burn is a paid mutator transaction binding the contract method 0x44d17187.

Solidity: function burn(address user, uint256 amount, bytes extra) returns(bool)

func (*RegistryContractTransactorSession) Claim

func (_RegistryContract *RegistryContractTransactorSession) Claim(asset common.Address, amount *big.Int) (*types.Transaction, error)

Claim is a paid mutator transaction binding the contract method 0xaad3ec96.

Solidity: function claim(address asset, uint256 amount) returns(bool)

func (*RegistryContractTransactorSession) Halt

func (_RegistryContract *RegistryContractTransactorSession) Halt(raw []byte) (*types.Transaction, error)

Halt is a paid mutator transaction binding the contract method 0x944e7cb1.

Solidity: function halt(bytes raw) returns()

func (*RegistryContractTransactorSession) Iterate

func (_RegistryContract *RegistryContractTransactorSession) Iterate(raw []byte) (*types.Transaction, error)

Iterate is a paid mutator transaction binding the contract method 0xbab54626.

Solidity: function iterate(bytes raw) returns()

func (*RegistryContractTransactorSession) Mixin

func (_RegistryContract *RegistryContractTransactorSession) Mixin(raw []byte) (*types.Transaction, error)

Mixin is a paid mutator transaction binding the contract method 0x5cae8005.

Solidity: function mixin(bytes raw) returns(bool)

type RegistryEvent

type RegistryEvent struct {
	Nonce     uint64
	User      common.Address
	Asset     common.Address
	Amount    *big.Int
	Extra     []byte
	Timestamp uint64
	Sig       [2]*big.Int
}

RegistryEvent is an auto generated low-level Go binding around an user-defined struct.

type StorageContract

type StorageContract struct {
	StorageContractCaller     // Read-only binding to the contract
	StorageContractTransactor // Write-only binding to the contract
	StorageContractFilterer   // Log filterer for contract events
}

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

func NewStorageContract

func NewStorageContract(address common.Address, backend bind.ContractBackend) (*StorageContract, error)

NewStorageContract creates a new instance of StorageContract, bound to a specific deployed contract.

type StorageContractCaller

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

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

func NewStorageContractCaller

func NewStorageContractCaller(address common.Address, caller bind.ContractCaller) (*StorageContractCaller, error)

NewStorageContractCaller creates a new read-only instance of StorageContract, bound to a specific deployed contract.

func (*StorageContractCaller) Read

func (_StorageContract *StorageContractCaller) Read(opts *bind.CallOpts, _key *big.Int) ([]byte, error)

Read is a free data retrieval call binding the contract method 0xed2e5a97.

Solidity: function read(uint256 _key) view returns(bytes)

type StorageContractCallerRaw

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

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

func (*StorageContractCallerRaw) Call

func (_StorageContract *StorageContractCallerRaw) 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 StorageContractCallerSession

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

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

func (*StorageContractCallerSession) Read

func (_StorageContract *StorageContractCallerSession) Read(_key *big.Int) ([]byte, error)

Read is a free data retrieval call binding the contract method 0xed2e5a97.

Solidity: function read(uint256 _key) view returns(bytes)

type StorageContractFilterer

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

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

func NewStorageContractFilterer

func NewStorageContractFilterer(address common.Address, filterer bind.ContractFilterer) (*StorageContractFilterer, error)

NewStorageContractFilterer creates a new log filterer instance of StorageContract, bound to a specific deployed contract.

type StorageContractRaw

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

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

func (*StorageContractRaw) Call

func (_StorageContract *StorageContractRaw) 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 (*StorageContractRaw) Transact

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

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

func (*StorageContractRaw) Transfer

func (_StorageContract *StorageContractRaw) 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 StorageContractSession

type StorageContractSession struct {
	Contract     *StorageContract  // 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
}

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

func (*StorageContractSession) Read

func (_StorageContract *StorageContractSession) Read(_key *big.Int) ([]byte, error)

Read is a free data retrieval call binding the contract method 0xed2e5a97.

Solidity: function read(uint256 _key) view returns(bytes)

func (*StorageContractSession) Write

func (_StorageContract *StorageContractSession) Write(_key *big.Int, raw []byte) (*types.Transaction, error)

Write is a paid mutator transaction binding the contract method 0x7341a70e.

Solidity: function write(uint256 _key, bytes raw) returns()

type StorageContractTransactor

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

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

func NewStorageContractTransactor

func NewStorageContractTransactor(address common.Address, transactor bind.ContractTransactor) (*StorageContractTransactor, error)

NewStorageContractTransactor creates a new write-only instance of StorageContract, bound to a specific deployed contract.

func (*StorageContractTransactor) Write

func (_StorageContract *StorageContractTransactor) Write(opts *bind.TransactOpts, _key *big.Int, raw []byte) (*types.Transaction, error)

Write is a paid mutator transaction binding the contract method 0x7341a70e.

Solidity: function write(uint256 _key, bytes raw) returns()

type StorageContractTransactorRaw

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

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

func (*StorageContractTransactorRaw) Transact

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

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

func (*StorageContractTransactorRaw) Transfer

func (_StorageContract *StorageContractTransactorRaw) 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 StorageContractTransactorSession

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

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

func (*StorageContractTransactorSession) Write

func (_StorageContract *StorageContractTransactorSession) Write(_key *big.Int, raw []byte) (*types.Transaction, error)

Write is a paid mutator transaction binding the contract method 0x7341a70e.

Solidity: function write(uint256 _key, bytes raw) returns()

Jump to

Keyboard shortcuts

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