dfktear

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2024 License: MIT Imports: 12 Imported by: 0

Documentation

Overview

Code generated by synapse abigen DO NOT EDIT.

Package dfktear Go interface for synapse-contracts/.../TearBridge.sol

Index

Constants

This section is empty.

Variables

View Source
var ContextABI = ContextMetaData.ABI

ContextABI is the input ABI used to generate the binding from. Deprecated: Use ContextMetaData.ABI instead.

View Source
var ContextMetaData = &bind.MetaData{
	ABI: "[]",
}

ContextMetaData contains all meta data concerning the Context contract.

View Source
var Contracts map[string]*compiler.Contract

Contracts are unmarshalled on start

View Source
var IERC20ABI = IERC20MetaData.ABI

IERC20ABI is the input ABI used to generate the binding from. Deprecated: Use IERC20MetaData.ABI instead.

View Source
var IERC20FuncSigs = IERC20MetaData.Sigs

Deprecated: Use IERC20MetaData.Sigs instead. IERC20FuncSigs maps the 4-byte function signature to its string representation.

View Source
var IERC20MetaData = &bind.MetaData{
	ABI: "[{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"Approval\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"Transfer\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"}],\"name\":\"allowance\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"approve\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"balanceOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"totalSupply\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"transfer\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"transferFrom\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
	Sigs: map[string]string{
		"dd62ed3e": "allowance(address,address)",
		"095ea7b3": "approve(address,uint256)",
		"70a08231": "balanceOf(address)",
		"18160ddd": "totalSupply()",
		"a9059cbb": "transfer(address,uint256)",
		"23b872dd": "transferFrom(address,address,uint256)",
	},
}

IERC20MetaData contains all meta data concerning the IERC20 contract.

View Source
var IInventoryItemABI = IInventoryItemMetaData.ABI

IInventoryItemABI is the input ABI used to generate the binding from. Deprecated: Use IInventoryItemMetaData.ABI instead.

View Source
var IInventoryItemFuncSigs = IInventoryItemMetaData.Sigs

Deprecated: Use IInventoryItemMetaData.Sigs instead. IInventoryItemFuncSigs maps the 4-byte function signature to its string representation.

View Source
var IInventoryItemMetaData = &bind.MetaData{
	ABI: "[{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"Approval\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"Transfer\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"}],\"name\":\"allowance\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"approve\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"balanceOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"burnFrom\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"mint\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"totalSupply\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"transfer\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"transferFrom\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
	Sigs: map[string]string{
		"dd62ed3e": "allowance(address,address)",
		"095ea7b3": "approve(address,uint256)",
		"70a08231": "balanceOf(address)",
		"79cc6790": "burnFrom(address,uint256)",
		"40c10f19": "mint(address,uint256)",
		"18160ddd": "totalSupply()",
		"a9059cbb": "transfer(address,uint256)",
		"23b872dd": "transferFrom(address,address,uint256)",
	},
}

IInventoryItemMetaData contains all meta data concerning the IInventoryItem contract.

View Source
var IMessageBusABI = IMessageBusMetaData.ABI

IMessageBusABI is the input ABI used to generate the binding from. Deprecated: Use IMessageBusMetaData.ABI instead.

View Source
var IMessageBusFuncSigs = IMessageBusMetaData.Sigs

Deprecated: Use IMessageBusMetaData.Sigs instead. IMessageBusFuncSigs maps the 4-byte function signature to its string representation.

View Source
var IMessageBusMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_dstChainId\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"_options\",\"type\":\"bytes\"}],\"name\":\"estimateFee\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_srcChainId\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"_srcAddress\",\"type\":\"bytes\"},{\"internalType\":\"address\",\"name\":\"_dstAddress\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_gasLimit\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_nonce\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"_message\",\"type\":\"bytes\"},{\"internalType\":\"bytes32\",\"name\":\"_messageId\",\"type\":\"bytes32\"}],\"name\":\"executeMessage\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_receiver\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"_dstChainId\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"_message\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"_options\",\"type\":\"bytes\"}],\"name\":\"sendMessage\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_account\",\"type\":\"address\"}],\"name\":\"withdrawFee\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
	Sigs: map[string]string{
		"5da6d2c4": "estimateFee(uint256,bytes)",
		"21730efc": "executeMessage(uint256,bytes,address,uint256,uint256,bytes,bytes32)",
		"ac8a4c1b": "sendMessage(bytes32,uint256,bytes,bytes)",
		"1ac3ddeb": "withdrawFee(address)",
	},
}

IMessageBusMetaData contains all meta data concerning the IMessageBus contract.

View Source
var ISynMessagingReceiverABI = ISynMessagingReceiverMetaData.ABI

ISynMessagingReceiverABI is the input ABI used to generate the binding from. Deprecated: Use ISynMessagingReceiverMetaData.ABI instead.

View Source
var ISynMessagingReceiverFuncSigs = ISynMessagingReceiverMetaData.Sigs

Deprecated: Use ISynMessagingReceiverMetaData.Sigs instead. ISynMessagingReceiverFuncSigs maps the 4-byte function signature to its string representation.

View Source
var ISynMessagingReceiverMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_srcAddress\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"_srcChainId\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"_message\",\"type\":\"bytes\"},{\"internalType\":\"address\",\"name\":\"_executor\",\"type\":\"address\"}],\"name\":\"executeMessage\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
	Sigs: map[string]string{
		"a6060871": "executeMessage(bytes32,uint256,bytes,address)",
	},
}

ISynMessagingReceiverMetaData contains all meta data concerning the ISynMessagingReceiver contract.

View Source
var OwnableABI = OwnableMetaData.ABI

OwnableABI is the input ABI used to generate the binding from. Deprecated: Use OwnableMetaData.ABI instead.

View Source
var OwnableFuncSigs = OwnableMetaData.Sigs

Deprecated: Use OwnableMetaData.Sigs instead. OwnableFuncSigs maps the 4-byte function signature to its string representation.

View Source
var OwnableMetaData = &bind.MetaData{
	ABI: "[{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"previousOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransferred\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
	Sigs: map[string]string{
		"8da5cb5b": "owner()",
		"715018a6": "renounceOwnership()",
		"f2fde38b": "transferOwnership(address)",
	},
}

OwnableMetaData contains all meta data concerning the Ownable contract.

View Source
var SynMessagingReceiverABI = SynMessagingReceiverMetaData.ABI

SynMessagingReceiverABI is the input ABI used to generate the binding from. Deprecated: Use SynMessagingReceiverMetaData.ABI instead.

View Source
var SynMessagingReceiverFuncSigs = SynMessagingReceiverMetaData.Sigs

Deprecated: Use SynMessagingReceiverMetaData.Sigs instead. SynMessagingReceiverFuncSigs maps the 4-byte function signature to its string representation.

View Source
var SynMessagingReceiverMetaData = &bind.MetaData{
	ABI: "[{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"previousOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransferred\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"_srcChainId\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"_srcAddress\",\"type\":\"bytes32\"}],\"name\":\"SetTrustedRemote\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_srcAddress\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"_srcChainId\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"_message\",\"type\":\"bytes\"},{\"internalType\":\"address\",\"name\":\"_executor\",\"type\":\"address\"}],\"name\":\"executeMessage\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_chainId\",\"type\":\"uint256\"}],\"name\":\"getTrustedRemote\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"trustedRemote\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"messageBus\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_messageBus\",\"type\":\"address\"}],\"name\":\"setMessageBus\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_srcChainId\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"_srcAddress\",\"type\":\"bytes32\"}],\"name\":\"setTrustedRemote\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
	Sigs: map[string]string{
		"a6060871": "executeMessage(bytes32,uint256,bytes,address)",
		"84a12b0f": "getTrustedRemote(uint256)",
		"a1a227fa": "messageBus()",
		"8da5cb5b": "owner()",
		"715018a6": "renounceOwnership()",
		"547cad12": "setMessageBus(address)",
		"bd3583ae": "setTrustedRemote(uint256,bytes32)",
		"f2fde38b": "transferOwnership(address)",
	},
}

SynMessagingReceiverMetaData contains all meta data concerning the SynMessagingReceiver contract.

View Source
var TearBridgeABI = TearBridgeMetaData.ABI

TearBridgeABI is the input ABI used to generate the binding from. Deprecated: Use TearBridgeMetaData.ABI instead.

View Source
var TearBridgeBin = TearBridgeMetaData.Bin

TearBridgeBin is the compiled bytecode used for deploying new contracts. Deprecated: Use TearBridgeMetaData.Bin instead.

View Source
var TearBridgeFuncSigs = TearBridgeMetaData.Sigs

Deprecated: Use TearBridgeMetaData.Sigs instead. TearBridgeFuncSigs maps the 4-byte function signature to its string representation.

View Source
var TearBridgeMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_messageBus\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_gaiaTear\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"dstUser\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"arrivalChainId\",\"type\":\"uint256\"}],\"name\":\"GaiaArrived\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"dstUser\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"arrivalChainId\",\"type\":\"uint256\"}],\"name\":\"GaiaSent\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"previousOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransferred\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"_srcChainId\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"_srcAddress\",\"type\":\"bytes32\"}],\"name\":\"SetTrustedRemote\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"_message\",\"type\":\"bytes\"}],\"name\":\"decodeMessage\",\"outputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"dstUser\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"dstTearAmount\",\"type\":\"uint256\"}],\"internalType\":\"structTearBridge.MessageFormat\",\"name\":\"\",\"type\":\"tuple\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_srcAddress\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"_srcChainId\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"_message\",\"type\":\"bytes\"},{\"internalType\":\"address\",\"name\":\"_executor\",\"type\":\"address\"}],\"name\":\"executeMessage\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"gaiaTears\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_chainId\",\"type\":\"uint256\"}],\"name\":\"getTrustedRemote\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"trustedRemote\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"messageBus\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"msgGasLimit\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_tearsAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_dstChainId\",\"type\":\"uint256\"}],\"name\":\"sendTear\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_messageBus\",\"type\":\"address\"}],\"name\":\"setMessageBus\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_msgGasLimit\",\"type\":\"uint256\"}],\"name\":\"setMsgGasLimit\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_srcChainId\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"_srcAddress\",\"type\":\"bytes32\"}],\"name\":\"setTrustedRemote\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
	Sigs: map[string]string{
		"634d45b2": "decodeMessage(bytes)",
		"a6060871": "executeMessage(bytes32,uint256,bytes,address)",
		"acac4bdd": "gaiaTears()",
		"84a12b0f": "getTrustedRemote(uint256)",
		"a1a227fa": "messageBus()",
		"c0e07f28": "msgGasLimit()",
		"8da5cb5b": "owner()",
		"715018a6": "renounceOwnership()",
		"82731903": "sendTear(uint256,uint256)",
		"547cad12": "setMessageBus(address)",
		"f9ecc6f5": "setMsgGasLimit(uint256)",
		"bd3583ae": "setTrustedRemote(uint256,bytes32)",
		"f2fde38b": "transferOwnership(address)",
	},
	Bin: "0x60a060405234801561001057600080fd5b5060405161116e38038061116e83398101604081905261002f916100c9565b6100383361005d565b600180546001600160a01b0319166001600160a01b03938416179055166080526100fc565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b80516001600160a01b03811681146100c457600080fd5b919050565b600080604083850312156100dc57600080fd5b6100e5836100ad565b91506100f3602084016100ad565b90509250929050565b6080516110496101256000396000818161025d015281816104ab0152610c5b01526110496000f3fe6080604052600436106100d25760003560e01c8063a1a227fa1161007f578063bd3583ae11610059578063bd3583ae1461027f578063c0e07f281461029f578063f2fde38b146102b5578063f9ecc6f5146102d557600080fd5b8063a1a227fa146101fe578063a60608711461022b578063acac4bdd1461024b57600080fd5b806382731903116100b0578063827319031461016457806384a12b0f146101775780638da5cb5b146101b257600080fd5b8063547cad12146100d7578063634d45b2146100f9578063715018a61461014f575b600080fd5b3480156100e357600080fd5b506100f76100f2366004610d23565b6102f5565b005b34801561010557600080fd5b50610119610114366004610d6f565b6103c2565b60408051825173ffffffffffffffffffffffffffffffffffffffff16815260209283015192810192909252015b60405180910390f35b34801561015b57600080fd5b506100f76103e5565b6100f7610172366004610e3e565b610472565b34801561018357600080fd5b506101a4610192366004610e60565b60009081526002602052604090205490565b604051908152602001610146565b3480156101be57600080fd5b5060005473ffffffffffffffffffffffffffffffffffffffff165b60405173ffffffffffffffffffffffffffffffffffffffff9091168152602001610146565b34801561020a57600080fd5b506001546101d99073ffffffffffffffffffffffffffffffffffffffff1681565b34801561023757600080fd5b506100f7610246366004610e79565b6105ec565b34801561025757600080fd5b506101d97f000000000000000000000000000000000000000000000000000000000000000081565b34801561028b57600080fd5b506100f761029a366004610e3e565b61072e565b3480156102ab57600080fd5b506101a460035481565b3480156102c157600080fd5b506100f76102d0366004610d23565b6107fe565b3480156102e157600080fd5b506100f76102f0366004610e60565b61092e565b60005473ffffffffffffffffffffffffffffffffffffffff16331461037b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064015b60405180910390fd5b600180547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b60408051808201909152600080825260208201526103df826109b4565b92915050565b60005473ffffffffffffffffffffffffffffffffffffffff163314610466576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610372565b61047060006109e5565b565b6040517f79cc679000000000000000000000000000000000000000000000000000000000815233600482015260248101839052829082907f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff16906379cc679090604401600060405180830381600087803b15801561050457600080fd5b505af1158015610518573d6000803e3d6000fd5b50505060008281526002602090815260409182902054825180840184523380825290830187815284519384019190915251828401528251808303840181526060830184526003547e0100000000000000000000000000000000000000000000000000000000000060808501526082808501919091528451808503909101815260a290930190935292506105ad83858484610a5a565b60405185815233907fe82273e05845454dcf88823968e5c722028bc4cb17ed03bdc06eaa32cc58ee66906020015b60405180910390a250505050505050565b60015473ffffffffffffffffffffffffffffffffffffffff16331461066d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601960248201527f63616c6c6572206973206e6f74206d65737361676520627573000000000000006044820152606401610372565b60008481526002602052604090205485146106e4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601a60248201527f496e76616c696420736f757263652073656e64696e67206170700000000000006044820152606401610372565b610727858585858080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250879250610bf6915050565b5050505050565b60005473ffffffffffffffffffffffffffffffffffffffff1633146107af576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610372565b60008281526002602090815260409182902083905581518481529081018390527f642e74356c0610a9f944fb1a2d88d2fb82c6b74921566eee8bc0f9bb30f74f03910160405180910390a15050565b60005473ffffffffffffffffffffffffffffffffffffffff16331461087f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610372565b73ffffffffffffffffffffffffffffffffffffffff8116610922576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610372565b61092b816109e5565b50565b60005473ffffffffffffffffffffffffffffffffffffffff1633146109af576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610372565b600355565b60408051808201909152600080825260208201526000828060200190518101906109de9190610f14565b9392505050565b6000805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b60008381526002602052604090205480610ad0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f4e6f2072656d6f7465206170702073657420666f722064737420636861696e006044820152606401610372565b848114610b5f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f5265636569766572206973206e6f7420696e20747275737465642072656d6f7460448201527f65206170707300000000000000000000000000000000000000000000000000006064820152608401610372565b6001546040517fac8a4c1b00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff9091169063ac8a4c1b903490610bbd908990899089908990600401610fd7565b6000604051808303818588803b158015610bd657600080fd5b505af1158015610bea573d6000803e3d6000fd5b50505050505050505050565b6000610c01836109b4565b805160208201516040517f40c10f1900000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff808416600483015260248201839052939450919290917f0000000000000000000000000000000000000000000000000000000000000000909116906340c10f1990604401600060405180830381600087803b158015610ca157600080fd5b505af1158015610cb5573d6000803e3d6000fd5b505050508173ffffffffffffffffffffffffffffffffffffffff167f07b815cd29685803e7213231371fa19ce2e23221109bf847d949305e6b7464a4826040516105db91815260200190565b73ffffffffffffffffffffffffffffffffffffffff8116811461092b57600080fd5b600060208284031215610d3557600080fd5b81356109de81610d01565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600060208284031215610d8157600080fd5b813567ffffffffffffffff80821115610d9957600080fd5b818401915084601f830112610dad57600080fd5b813581811115610dbf57610dbf610d40565b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0908116603f01168101908382118183101715610e0557610e05610d40565b81604052828152876020848701011115610e1e57600080fd5b826020860160208301376000928101602001929092525095945050505050565b60008060408385031215610e5157600080fd5b50508035926020909101359150565b600060208284031215610e7257600080fd5b5035919050565b600080600080600060808688031215610e9157600080fd5b8535945060208601359350604086013567ffffffffffffffff80821115610eb757600080fd5b818801915088601f830112610ecb57600080fd5b813581811115610eda57600080fd5b896020828501011115610eec57600080fd5b6020830195508094505050506060860135610f0681610d01565b809150509295509295909350565b600060408284031215610f2657600080fd5b6040516040810181811067ffffffffffffffff82111715610f4957610f49610d40565b6040528251610f5781610d01565b81526020928301519281019290925250919050565b6000815180845260005b81811015610f9257602081850181015186830182015201610f76565b81811115610fa4576000602083870101525b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b848152836020820152608060408201526000610ff66080830185610f6c565b82810360608401526110088185610f6c565b97965050505050505056fea2646970667358221220cea6277f9f212d1506db098e9253d5cf9a52097aa7864aca3d8e1cacf1659e3964736f6c634300080d0033",
}

TearBridgeMetaData contains all meta data concerning the TearBridge contract.

Functions

This section is empty.

Types

type Context

type Context struct {
	ContextCaller     // Read-only binding to the contract
	ContextTransactor // Write-only binding to the contract
	ContextFilterer   // Log filterer for contract events
}

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

func NewContext

func NewContext(address common.Address, backend bind.ContractBackend) (*Context, error)

NewContext creates a new instance of Context, bound to a specific deployed contract.

type ContextCaller

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

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

func NewContextCaller

func NewContextCaller(address common.Address, caller bind.ContractCaller) (*ContextCaller, error)

NewContextCaller creates a new read-only instance of Context, bound to a specific deployed contract.

type ContextCallerRaw

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

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

func (*ContextCallerRaw) Call

func (_Context *ContextCallerRaw) 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 ContextCallerSession

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

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

type ContextFilterer

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

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

func NewContextFilterer

func NewContextFilterer(address common.Address, filterer bind.ContractFilterer) (*ContextFilterer, error)

NewContextFilterer creates a new log filterer instance of Context, bound to a specific deployed contract.

type ContextRaw

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

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

func (*ContextRaw) Call

func (_Context *ContextRaw) 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 (*ContextRaw) Transact

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

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

func (*ContextRaw) Transfer

func (_Context *ContextRaw) 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 ContextSession

type ContextSession struct {
	Contract     *Context          // 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
}

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

type ContextTransactor

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

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

func NewContextTransactor

func NewContextTransactor(address common.Address, transactor bind.ContractTransactor) (*ContextTransactor, error)

NewContextTransactor creates a new write-only instance of Context, bound to a specific deployed contract.

type ContextTransactorRaw

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

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

func (*ContextTransactorRaw) Transact

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

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

func (*ContextTransactorRaw) Transfer

func (_Context *ContextTransactorRaw) 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 ContextTransactorSession

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

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

type IERC20

type IERC20 struct {
	IERC20Caller     // Read-only binding to the contract
	IERC20Transactor // Write-only binding to the contract
	IERC20Filterer   // Log filterer for contract events
}

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

func NewIERC20

func NewIERC20(address common.Address, backend bind.ContractBackend) (*IERC20, error)

NewIERC20 creates a new instance of IERC20, bound to a specific deployed contract.

type IERC20Approval

type IERC20Approval struct {
	Owner   common.Address
	Spender common.Address
	Value   *big.Int
	Raw     types.Log // Blockchain specific contextual infos
}

IERC20Approval represents a Approval event raised by the IERC20 contract.

type IERC20ApprovalIterator

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

IERC20ApprovalIterator is returned from FilterApproval and is used to iterate over the raw logs and unpacked data for Approval events raised by the IERC20 contract.

func (*IERC20ApprovalIterator) Close

func (it *IERC20ApprovalIterator) Close() error

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

func (*IERC20ApprovalIterator) Error

func (it *IERC20ApprovalIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*IERC20ApprovalIterator) Next

func (it *IERC20ApprovalIterator) 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 IERC20Caller

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

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

func NewIERC20Caller

func NewIERC20Caller(address common.Address, caller bind.ContractCaller) (*IERC20Caller, error)

NewIERC20Caller creates a new read-only instance of IERC20, bound to a specific deployed contract.

func (*IERC20Caller) Allowance

func (_IERC20 *IERC20Caller) Allowance(opts *bind.CallOpts, owner common.Address, spender common.Address) (*big.Int, error)

Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.

Solidity: function allowance(address owner, address spender) view returns(uint256)

func (*IERC20Caller) BalanceOf

func (_IERC20 *IERC20Caller) BalanceOf(opts *bind.CallOpts, account common.Address) (*big.Int, error)

BalanceOf is a free data retrieval call binding the contract method 0x70a08231.

Solidity: function balanceOf(address account) view returns(uint256)

func (*IERC20Caller) TotalSupply

func (_IERC20 *IERC20Caller) TotalSupply(opts *bind.CallOpts) (*big.Int, error)

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

Solidity: function totalSupply() view returns(uint256)

type IERC20CallerRaw

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

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

func (*IERC20CallerRaw) Call

func (_IERC20 *IERC20CallerRaw) 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 IERC20CallerSession

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

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

func (*IERC20CallerSession) Allowance

func (_IERC20 *IERC20CallerSession) Allowance(owner common.Address, spender common.Address) (*big.Int, error)

Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.

Solidity: function allowance(address owner, address spender) view returns(uint256)

func (*IERC20CallerSession) BalanceOf

func (_IERC20 *IERC20CallerSession) BalanceOf(account common.Address) (*big.Int, error)

BalanceOf is a free data retrieval call binding the contract method 0x70a08231.

Solidity: function balanceOf(address account) view returns(uint256)

func (*IERC20CallerSession) TotalSupply

func (_IERC20 *IERC20CallerSession) TotalSupply() (*big.Int, error)

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

Solidity: function totalSupply() view returns(uint256)

type IERC20Filterer

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

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

func NewIERC20Filterer

func NewIERC20Filterer(address common.Address, filterer bind.ContractFilterer) (*IERC20Filterer, error)

NewIERC20Filterer creates a new log filterer instance of IERC20, bound to a specific deployed contract.

func (*IERC20Filterer) FilterApproval

func (_IERC20 *IERC20Filterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*IERC20ApprovalIterator, error)

FilterApproval is a free log retrieval operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.

Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)

func (*IERC20Filterer) FilterTransfer

func (_IERC20 *IERC20Filterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*IERC20TransferIterator, error)

FilterTransfer is a free log retrieval operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.

Solidity: event Transfer(address indexed from, address indexed to, uint256 value)

func (*IERC20Filterer) ParseApproval

func (_IERC20 *IERC20Filterer) ParseApproval(log types.Log) (*IERC20Approval, error)

ParseApproval is a log parse operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.

Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)

func (*IERC20Filterer) ParseTransfer

func (_IERC20 *IERC20Filterer) ParseTransfer(log types.Log) (*IERC20Transfer, error)

ParseTransfer is a log parse operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.

Solidity: event Transfer(address indexed from, address indexed to, uint256 value)

func (*IERC20Filterer) WatchApproval

func (_IERC20 *IERC20Filterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *IERC20Approval, owner []common.Address, spender []common.Address) (event.Subscription, error)

WatchApproval is a free log subscription operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.

Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)

func (*IERC20Filterer) WatchTransfer

func (_IERC20 *IERC20Filterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *IERC20Transfer, from []common.Address, to []common.Address) (event.Subscription, error)

WatchTransfer is a free log subscription operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.

Solidity: event Transfer(address indexed from, address indexed to, uint256 value)

type IERC20Raw

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

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

func (*IERC20Raw) Call

func (_IERC20 *IERC20Raw) 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 (*IERC20Raw) Transact

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

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

func (*IERC20Raw) Transfer

func (_IERC20 *IERC20Raw) 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 IERC20Session

type IERC20Session struct {
	Contract     *IERC20           // 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
}

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

func (*IERC20Session) Allowance

func (_IERC20 *IERC20Session) Allowance(owner common.Address, spender common.Address) (*big.Int, error)

Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.

Solidity: function allowance(address owner, address spender) view returns(uint256)

func (*IERC20Session) Approve

func (_IERC20 *IERC20Session) Approve(spender common.Address, amount *big.Int) (*types.Transaction, error)

Approve is a paid mutator transaction binding the contract method 0x095ea7b3.

Solidity: function approve(address spender, uint256 amount) returns(bool)

func (*IERC20Session) BalanceOf

func (_IERC20 *IERC20Session) BalanceOf(account common.Address) (*big.Int, error)

BalanceOf is a free data retrieval call binding the contract method 0x70a08231.

Solidity: function balanceOf(address account) view returns(uint256)

func (*IERC20Session) TotalSupply

func (_IERC20 *IERC20Session) TotalSupply() (*big.Int, error)

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

Solidity: function totalSupply() view returns(uint256)

func (*IERC20Session) Transfer

func (_IERC20 *IERC20Session) Transfer(to common.Address, amount *big.Int) (*types.Transaction, error)

Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.

Solidity: function transfer(address to, uint256 amount) returns(bool)

func (*IERC20Session) TransferFrom

func (_IERC20 *IERC20Session) TransferFrom(from common.Address, to common.Address, amount *big.Int) (*types.Transaction, error)

TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.

Solidity: function transferFrom(address from, address to, uint256 amount) returns(bool)

type IERC20Transactor

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

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

func NewIERC20Transactor

func NewIERC20Transactor(address common.Address, transactor bind.ContractTransactor) (*IERC20Transactor, error)

NewIERC20Transactor creates a new write-only instance of IERC20, bound to a specific deployed contract.

func (*IERC20Transactor) Approve

func (_IERC20 *IERC20Transactor) Approve(opts *bind.TransactOpts, spender common.Address, amount *big.Int) (*types.Transaction, error)

Approve is a paid mutator transaction binding the contract method 0x095ea7b3.

Solidity: function approve(address spender, uint256 amount) returns(bool)

func (*IERC20Transactor) Transfer

func (_IERC20 *IERC20Transactor) Transfer(opts *bind.TransactOpts, to common.Address, amount *big.Int) (*types.Transaction, error)

Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.

Solidity: function transfer(address to, uint256 amount) returns(bool)

func (*IERC20Transactor) TransferFrom

func (_IERC20 *IERC20Transactor) TransferFrom(opts *bind.TransactOpts, from common.Address, to common.Address, amount *big.Int) (*types.Transaction, error)

TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.

Solidity: function transferFrom(address from, address to, uint256 amount) returns(bool)

type IERC20TransactorRaw

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

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

func (*IERC20TransactorRaw) Transact

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

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

func (*IERC20TransactorRaw) Transfer

func (_IERC20 *IERC20TransactorRaw) 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 IERC20TransactorSession

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

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

func (*IERC20TransactorSession) Approve

func (_IERC20 *IERC20TransactorSession) Approve(spender common.Address, amount *big.Int) (*types.Transaction, error)

Approve is a paid mutator transaction binding the contract method 0x095ea7b3.

Solidity: function approve(address spender, uint256 amount) returns(bool)

func (*IERC20TransactorSession) Transfer

func (_IERC20 *IERC20TransactorSession) Transfer(to common.Address, amount *big.Int) (*types.Transaction, error)

Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.

Solidity: function transfer(address to, uint256 amount) returns(bool)

func (*IERC20TransactorSession) TransferFrom

func (_IERC20 *IERC20TransactorSession) TransferFrom(from common.Address, to common.Address, amount *big.Int) (*types.Transaction, error)

TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.

Solidity: function transferFrom(address from, address to, uint256 amount) returns(bool)

type IERC20Transfer

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

IERC20Transfer represents a Transfer event raised by the IERC20 contract.

type IERC20TransferIterator

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

IERC20TransferIterator is returned from FilterTransfer and is used to iterate over the raw logs and unpacked data for Transfer events raised by the IERC20 contract.

func (*IERC20TransferIterator) Close

func (it *IERC20TransferIterator) Close() error

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

func (*IERC20TransferIterator) Error

func (it *IERC20TransferIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*IERC20TransferIterator) Next

func (it *IERC20TransferIterator) 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 IInventoryItem

type IInventoryItem struct {
	IInventoryItemCaller     // Read-only binding to the contract
	IInventoryItemTransactor // Write-only binding to the contract
	IInventoryItemFilterer   // Log filterer for contract events
}

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

func NewIInventoryItem

func NewIInventoryItem(address common.Address, backend bind.ContractBackend) (*IInventoryItem, error)

NewIInventoryItem creates a new instance of IInventoryItem, bound to a specific deployed contract.

type IInventoryItemApproval

type IInventoryItemApproval struct {
	Owner   common.Address
	Spender common.Address
	Value   *big.Int
	Raw     types.Log // Blockchain specific contextual infos
}

IInventoryItemApproval represents a Approval event raised by the IInventoryItem contract.

type IInventoryItemApprovalIterator

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

IInventoryItemApprovalIterator is returned from FilterApproval and is used to iterate over the raw logs and unpacked data for Approval events raised by the IInventoryItem contract.

func (*IInventoryItemApprovalIterator) Close

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

func (*IInventoryItemApprovalIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*IInventoryItemApprovalIterator) 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 IInventoryItemCaller

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

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

func NewIInventoryItemCaller

func NewIInventoryItemCaller(address common.Address, caller bind.ContractCaller) (*IInventoryItemCaller, error)

NewIInventoryItemCaller creates a new read-only instance of IInventoryItem, bound to a specific deployed contract.

func (*IInventoryItemCaller) Allowance

func (_IInventoryItem *IInventoryItemCaller) Allowance(opts *bind.CallOpts, owner common.Address, spender common.Address) (*big.Int, error)

Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.

Solidity: function allowance(address owner, address spender) view returns(uint256)

func (*IInventoryItemCaller) BalanceOf

func (_IInventoryItem *IInventoryItemCaller) BalanceOf(opts *bind.CallOpts, account common.Address) (*big.Int, error)

BalanceOf is a free data retrieval call binding the contract method 0x70a08231.

Solidity: function balanceOf(address account) view returns(uint256)

func (*IInventoryItemCaller) TotalSupply

func (_IInventoryItem *IInventoryItemCaller) TotalSupply(opts *bind.CallOpts) (*big.Int, error)

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

Solidity: function totalSupply() view returns(uint256)

type IInventoryItemCallerRaw

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

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

func (*IInventoryItemCallerRaw) Call

func (_IInventoryItem *IInventoryItemCallerRaw) 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 IInventoryItemCallerSession

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

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

func (*IInventoryItemCallerSession) Allowance

func (_IInventoryItem *IInventoryItemCallerSession) Allowance(owner common.Address, spender common.Address) (*big.Int, error)

Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.

Solidity: function allowance(address owner, address spender) view returns(uint256)

func (*IInventoryItemCallerSession) BalanceOf

func (_IInventoryItem *IInventoryItemCallerSession) BalanceOf(account common.Address) (*big.Int, error)

BalanceOf is a free data retrieval call binding the contract method 0x70a08231.

Solidity: function balanceOf(address account) view returns(uint256)

func (*IInventoryItemCallerSession) TotalSupply

func (_IInventoryItem *IInventoryItemCallerSession) TotalSupply() (*big.Int, error)

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

Solidity: function totalSupply() view returns(uint256)

type IInventoryItemFilterer

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

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

func NewIInventoryItemFilterer

func NewIInventoryItemFilterer(address common.Address, filterer bind.ContractFilterer) (*IInventoryItemFilterer, error)

NewIInventoryItemFilterer creates a new log filterer instance of IInventoryItem, bound to a specific deployed contract.

func (*IInventoryItemFilterer) FilterApproval

func (_IInventoryItem *IInventoryItemFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*IInventoryItemApprovalIterator, error)

FilterApproval is a free log retrieval operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.

Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)

func (*IInventoryItemFilterer) FilterTransfer

func (_IInventoryItem *IInventoryItemFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*IInventoryItemTransferIterator, error)

FilterTransfer is a free log retrieval operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.

Solidity: event Transfer(address indexed from, address indexed to, uint256 value)

func (*IInventoryItemFilterer) ParseApproval

func (_IInventoryItem *IInventoryItemFilterer) ParseApproval(log types.Log) (*IInventoryItemApproval, error)

ParseApproval is a log parse operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.

Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)

func (*IInventoryItemFilterer) ParseTransfer

func (_IInventoryItem *IInventoryItemFilterer) ParseTransfer(log types.Log) (*IInventoryItemTransfer, error)

ParseTransfer is a log parse operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.

Solidity: event Transfer(address indexed from, address indexed to, uint256 value)

func (*IInventoryItemFilterer) WatchApproval

func (_IInventoryItem *IInventoryItemFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *IInventoryItemApproval, owner []common.Address, spender []common.Address) (event.Subscription, error)

WatchApproval is a free log subscription operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.

Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)

func (*IInventoryItemFilterer) WatchTransfer

func (_IInventoryItem *IInventoryItemFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *IInventoryItemTransfer, from []common.Address, to []common.Address) (event.Subscription, error)

WatchTransfer is a free log subscription operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.

Solidity: event Transfer(address indexed from, address indexed to, uint256 value)

type IInventoryItemRaw

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

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

func (*IInventoryItemRaw) Call

func (_IInventoryItem *IInventoryItemRaw) 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 (*IInventoryItemRaw) Transact

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

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

func (*IInventoryItemRaw) Transfer

func (_IInventoryItem *IInventoryItemRaw) 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 IInventoryItemSession

type IInventoryItemSession struct {
	Contract     *IInventoryItem   // 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
}

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

func (*IInventoryItemSession) Allowance

func (_IInventoryItem *IInventoryItemSession) Allowance(owner common.Address, spender common.Address) (*big.Int, error)

Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.

Solidity: function allowance(address owner, address spender) view returns(uint256)

func (*IInventoryItemSession) Approve

func (_IInventoryItem *IInventoryItemSession) Approve(spender common.Address, amount *big.Int) (*types.Transaction, error)

Approve is a paid mutator transaction binding the contract method 0x095ea7b3.

Solidity: function approve(address spender, uint256 amount) returns(bool)

func (*IInventoryItemSession) BalanceOf

func (_IInventoryItem *IInventoryItemSession) BalanceOf(account common.Address) (*big.Int, error)

BalanceOf is a free data retrieval call binding the contract method 0x70a08231.

Solidity: function balanceOf(address account) view returns(uint256)

func (*IInventoryItemSession) BurnFrom

func (_IInventoryItem *IInventoryItemSession) BurnFrom(from common.Address, amount *big.Int) (*types.Transaction, error)

BurnFrom is a paid mutator transaction binding the contract method 0x79cc6790.

Solidity: function burnFrom(address from, uint256 amount) returns()

func (*IInventoryItemSession) Mint

func (_IInventoryItem *IInventoryItemSession) Mint(to common.Address, amount *big.Int) (*types.Transaction, error)

Mint is a paid mutator transaction binding the contract method 0x40c10f19.

Solidity: function mint(address to, uint256 amount) returns()

func (*IInventoryItemSession) TotalSupply

func (_IInventoryItem *IInventoryItemSession) TotalSupply() (*big.Int, error)

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

Solidity: function totalSupply() view returns(uint256)

func (*IInventoryItemSession) Transfer

func (_IInventoryItem *IInventoryItemSession) Transfer(to common.Address, amount *big.Int) (*types.Transaction, error)

Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.

Solidity: function transfer(address to, uint256 amount) returns(bool)

func (*IInventoryItemSession) TransferFrom

func (_IInventoryItem *IInventoryItemSession) TransferFrom(from common.Address, to common.Address, amount *big.Int) (*types.Transaction, error)

TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.

Solidity: function transferFrom(address from, address to, uint256 amount) returns(bool)

type IInventoryItemTransactor

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

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

func NewIInventoryItemTransactor

func NewIInventoryItemTransactor(address common.Address, transactor bind.ContractTransactor) (*IInventoryItemTransactor, error)

NewIInventoryItemTransactor creates a new write-only instance of IInventoryItem, bound to a specific deployed contract.

func (*IInventoryItemTransactor) Approve

func (_IInventoryItem *IInventoryItemTransactor) Approve(opts *bind.TransactOpts, spender common.Address, amount *big.Int) (*types.Transaction, error)

Approve is a paid mutator transaction binding the contract method 0x095ea7b3.

Solidity: function approve(address spender, uint256 amount) returns(bool)

func (*IInventoryItemTransactor) BurnFrom

func (_IInventoryItem *IInventoryItemTransactor) BurnFrom(opts *bind.TransactOpts, from common.Address, amount *big.Int) (*types.Transaction, error)

BurnFrom is a paid mutator transaction binding the contract method 0x79cc6790.

Solidity: function burnFrom(address from, uint256 amount) returns()

func (*IInventoryItemTransactor) Mint

func (_IInventoryItem *IInventoryItemTransactor) Mint(opts *bind.TransactOpts, to common.Address, amount *big.Int) (*types.Transaction, error)

Mint is a paid mutator transaction binding the contract method 0x40c10f19.

Solidity: function mint(address to, uint256 amount) returns()

func (*IInventoryItemTransactor) Transfer

func (_IInventoryItem *IInventoryItemTransactor) Transfer(opts *bind.TransactOpts, to common.Address, amount *big.Int) (*types.Transaction, error)

Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.

Solidity: function transfer(address to, uint256 amount) returns(bool)

func (*IInventoryItemTransactor) TransferFrom

func (_IInventoryItem *IInventoryItemTransactor) TransferFrom(opts *bind.TransactOpts, from common.Address, to common.Address, amount *big.Int) (*types.Transaction, error)

TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.

Solidity: function transferFrom(address from, address to, uint256 amount) returns(bool)

type IInventoryItemTransactorRaw

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

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

func (*IInventoryItemTransactorRaw) Transact

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

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

func (*IInventoryItemTransactorRaw) Transfer

func (_IInventoryItem *IInventoryItemTransactorRaw) 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 IInventoryItemTransactorSession

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

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

func (*IInventoryItemTransactorSession) Approve

func (_IInventoryItem *IInventoryItemTransactorSession) Approve(spender common.Address, amount *big.Int) (*types.Transaction, error)

Approve is a paid mutator transaction binding the contract method 0x095ea7b3.

Solidity: function approve(address spender, uint256 amount) returns(bool)

func (*IInventoryItemTransactorSession) BurnFrom

func (_IInventoryItem *IInventoryItemTransactorSession) BurnFrom(from common.Address, amount *big.Int) (*types.Transaction, error)

BurnFrom is a paid mutator transaction binding the contract method 0x79cc6790.

Solidity: function burnFrom(address from, uint256 amount) returns()

func (*IInventoryItemTransactorSession) Mint

func (_IInventoryItem *IInventoryItemTransactorSession) Mint(to common.Address, amount *big.Int) (*types.Transaction, error)

Mint is a paid mutator transaction binding the contract method 0x40c10f19.

Solidity: function mint(address to, uint256 amount) returns()

func (*IInventoryItemTransactorSession) Transfer

func (_IInventoryItem *IInventoryItemTransactorSession) Transfer(to common.Address, amount *big.Int) (*types.Transaction, error)

Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.

Solidity: function transfer(address to, uint256 amount) returns(bool)

func (*IInventoryItemTransactorSession) TransferFrom

func (_IInventoryItem *IInventoryItemTransactorSession) TransferFrom(from common.Address, to common.Address, amount *big.Int) (*types.Transaction, error)

TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.

Solidity: function transferFrom(address from, address to, uint256 amount) returns(bool)

type IInventoryItemTransfer

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

IInventoryItemTransfer represents a Transfer event raised by the IInventoryItem contract.

type IInventoryItemTransferIterator

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

IInventoryItemTransferIterator is returned from FilterTransfer and is used to iterate over the raw logs and unpacked data for Transfer events raised by the IInventoryItem contract.

func (*IInventoryItemTransferIterator) Close

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

func (*IInventoryItemTransferIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*IInventoryItemTransferIterator) 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 IMessageBus

type IMessageBus struct {
	IMessageBusCaller     // Read-only binding to the contract
	IMessageBusTransactor // Write-only binding to the contract
	IMessageBusFilterer   // Log filterer for contract events
}

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

func NewIMessageBus

func NewIMessageBus(address common.Address, backend bind.ContractBackend) (*IMessageBus, error)

NewIMessageBus creates a new instance of IMessageBus, bound to a specific deployed contract.

type IMessageBusCaller

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

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

func NewIMessageBusCaller

func NewIMessageBusCaller(address common.Address, caller bind.ContractCaller) (*IMessageBusCaller, error)

NewIMessageBusCaller creates a new read-only instance of IMessageBus, bound to a specific deployed contract.

type IMessageBusCallerRaw

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

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

func (*IMessageBusCallerRaw) Call

func (_IMessageBus *IMessageBusCallerRaw) 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 IMessageBusCallerSession

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

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

type IMessageBusFilterer

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

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

func NewIMessageBusFilterer

func NewIMessageBusFilterer(address common.Address, filterer bind.ContractFilterer) (*IMessageBusFilterer, error)

NewIMessageBusFilterer creates a new log filterer instance of IMessageBus, bound to a specific deployed contract.

type IMessageBusRaw

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

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

func (*IMessageBusRaw) Call

func (_IMessageBus *IMessageBusRaw) 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 (*IMessageBusRaw) Transact

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

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

func (*IMessageBusRaw) Transfer

func (_IMessageBus *IMessageBusRaw) 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 IMessageBusSession

type IMessageBusSession struct {
	Contract     *IMessageBus      // 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
}

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

func (*IMessageBusSession) EstimateFee

func (_IMessageBus *IMessageBusSession) EstimateFee(_dstChainId *big.Int, _options []byte) (*types.Transaction, error)

EstimateFee is a paid mutator transaction binding the contract method 0x5da6d2c4.

Solidity: function estimateFee(uint256 _dstChainId, bytes _options) returns(uint256)

func (*IMessageBusSession) ExecuteMessage

func (_IMessageBus *IMessageBusSession) ExecuteMessage(_srcChainId *big.Int, _srcAddress []byte, _dstAddress common.Address, _gasLimit *big.Int, _nonce *big.Int, _message []byte, _messageId [32]byte) (*types.Transaction, error)

ExecuteMessage is a paid mutator transaction binding the contract method 0x21730efc.

Solidity: function executeMessage(uint256 _srcChainId, bytes _srcAddress, address _dstAddress, uint256 _gasLimit, uint256 _nonce, bytes _message, bytes32 _messageId) returns()

func (*IMessageBusSession) SendMessage

func (_IMessageBus *IMessageBusSession) SendMessage(_receiver [32]byte, _dstChainId *big.Int, _message []byte, _options []byte) (*types.Transaction, error)

SendMessage is a paid mutator transaction binding the contract method 0xac8a4c1b.

Solidity: function sendMessage(bytes32 _receiver, uint256 _dstChainId, bytes _message, bytes _options) payable returns()

func (*IMessageBusSession) WithdrawFee

func (_IMessageBus *IMessageBusSession) WithdrawFee(_account common.Address) (*types.Transaction, error)

WithdrawFee is a paid mutator transaction binding the contract method 0x1ac3ddeb.

Solidity: function withdrawFee(address _account) returns()

type IMessageBusTransactor

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

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

func NewIMessageBusTransactor

func NewIMessageBusTransactor(address common.Address, transactor bind.ContractTransactor) (*IMessageBusTransactor, error)

NewIMessageBusTransactor creates a new write-only instance of IMessageBus, bound to a specific deployed contract.

func (*IMessageBusTransactor) EstimateFee

func (_IMessageBus *IMessageBusTransactor) EstimateFee(opts *bind.TransactOpts, _dstChainId *big.Int, _options []byte) (*types.Transaction, error)

EstimateFee is a paid mutator transaction binding the contract method 0x5da6d2c4.

Solidity: function estimateFee(uint256 _dstChainId, bytes _options) returns(uint256)

func (*IMessageBusTransactor) ExecuteMessage

func (_IMessageBus *IMessageBusTransactor) ExecuteMessage(opts *bind.TransactOpts, _srcChainId *big.Int, _srcAddress []byte, _dstAddress common.Address, _gasLimit *big.Int, _nonce *big.Int, _message []byte, _messageId [32]byte) (*types.Transaction, error)

ExecuteMessage is a paid mutator transaction binding the contract method 0x21730efc.

Solidity: function executeMessage(uint256 _srcChainId, bytes _srcAddress, address _dstAddress, uint256 _gasLimit, uint256 _nonce, bytes _message, bytes32 _messageId) returns()

func (*IMessageBusTransactor) SendMessage

func (_IMessageBus *IMessageBusTransactor) SendMessage(opts *bind.TransactOpts, _receiver [32]byte, _dstChainId *big.Int, _message []byte, _options []byte) (*types.Transaction, error)

SendMessage is a paid mutator transaction binding the contract method 0xac8a4c1b.

Solidity: function sendMessage(bytes32 _receiver, uint256 _dstChainId, bytes _message, bytes _options) payable returns()

func (*IMessageBusTransactor) WithdrawFee

func (_IMessageBus *IMessageBusTransactor) WithdrawFee(opts *bind.TransactOpts, _account common.Address) (*types.Transaction, error)

WithdrawFee is a paid mutator transaction binding the contract method 0x1ac3ddeb.

Solidity: function withdrawFee(address _account) returns()

type IMessageBusTransactorRaw

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

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

func (*IMessageBusTransactorRaw) Transact

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

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

func (*IMessageBusTransactorRaw) Transfer

func (_IMessageBus *IMessageBusTransactorRaw) 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 IMessageBusTransactorSession

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

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

func (*IMessageBusTransactorSession) EstimateFee

func (_IMessageBus *IMessageBusTransactorSession) EstimateFee(_dstChainId *big.Int, _options []byte) (*types.Transaction, error)

EstimateFee is a paid mutator transaction binding the contract method 0x5da6d2c4.

Solidity: function estimateFee(uint256 _dstChainId, bytes _options) returns(uint256)

func (*IMessageBusTransactorSession) ExecuteMessage

func (_IMessageBus *IMessageBusTransactorSession) ExecuteMessage(_srcChainId *big.Int, _srcAddress []byte, _dstAddress common.Address, _gasLimit *big.Int, _nonce *big.Int, _message []byte, _messageId [32]byte) (*types.Transaction, error)

ExecuteMessage is a paid mutator transaction binding the contract method 0x21730efc.

Solidity: function executeMessage(uint256 _srcChainId, bytes _srcAddress, address _dstAddress, uint256 _gasLimit, uint256 _nonce, bytes _message, bytes32 _messageId) returns()

func (*IMessageBusTransactorSession) SendMessage

func (_IMessageBus *IMessageBusTransactorSession) SendMessage(_receiver [32]byte, _dstChainId *big.Int, _message []byte, _options []byte) (*types.Transaction, error)

SendMessage is a paid mutator transaction binding the contract method 0xac8a4c1b.

Solidity: function sendMessage(bytes32 _receiver, uint256 _dstChainId, bytes _message, bytes _options) payable returns()

func (*IMessageBusTransactorSession) WithdrawFee

func (_IMessageBus *IMessageBusTransactorSession) WithdrawFee(_account common.Address) (*types.Transaction, error)

WithdrawFee is a paid mutator transaction binding the contract method 0x1ac3ddeb.

Solidity: function withdrawFee(address _account) returns()

type ISynMessagingReceiver

type ISynMessagingReceiver struct {
	ISynMessagingReceiverCaller     // Read-only binding to the contract
	ISynMessagingReceiverTransactor // Write-only binding to the contract
	ISynMessagingReceiverFilterer   // Log filterer for contract events
}

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

func NewISynMessagingReceiver

func NewISynMessagingReceiver(address common.Address, backend bind.ContractBackend) (*ISynMessagingReceiver, error)

NewISynMessagingReceiver creates a new instance of ISynMessagingReceiver, bound to a specific deployed contract.

type ISynMessagingReceiverCaller

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

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

func NewISynMessagingReceiverCaller

func NewISynMessagingReceiverCaller(address common.Address, caller bind.ContractCaller) (*ISynMessagingReceiverCaller, error)

NewISynMessagingReceiverCaller creates a new read-only instance of ISynMessagingReceiver, bound to a specific deployed contract.

type ISynMessagingReceiverCallerRaw

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

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

func (*ISynMessagingReceiverCallerRaw) Call

func (_ISynMessagingReceiver *ISynMessagingReceiverCallerRaw) 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 ISynMessagingReceiverCallerSession

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

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

type ISynMessagingReceiverFilterer

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

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

func NewISynMessagingReceiverFilterer

func NewISynMessagingReceiverFilterer(address common.Address, filterer bind.ContractFilterer) (*ISynMessagingReceiverFilterer, error)

NewISynMessagingReceiverFilterer creates a new log filterer instance of ISynMessagingReceiver, bound to a specific deployed contract.

type ISynMessagingReceiverRaw

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

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

func (*ISynMessagingReceiverRaw) Call

func (_ISynMessagingReceiver *ISynMessagingReceiverRaw) 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 (*ISynMessagingReceiverRaw) Transact

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

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

func (*ISynMessagingReceiverRaw) Transfer

func (_ISynMessagingReceiver *ISynMessagingReceiverRaw) 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 ISynMessagingReceiverSession

type ISynMessagingReceiverSession struct {
	Contract     *ISynMessagingReceiver // 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
}

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

func (*ISynMessagingReceiverSession) ExecuteMessage

func (_ISynMessagingReceiver *ISynMessagingReceiverSession) ExecuteMessage(_srcAddress [32]byte, _srcChainId *big.Int, _message []byte, _executor common.Address) (*types.Transaction, error)

ExecuteMessage is a paid mutator transaction binding the contract method 0xa6060871.

Solidity: function executeMessage(bytes32 _srcAddress, uint256 _srcChainId, bytes _message, address _executor) returns()

type ISynMessagingReceiverTransactor

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

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

func NewISynMessagingReceiverTransactor

func NewISynMessagingReceiverTransactor(address common.Address, transactor bind.ContractTransactor) (*ISynMessagingReceiverTransactor, error)

NewISynMessagingReceiverTransactor creates a new write-only instance of ISynMessagingReceiver, bound to a specific deployed contract.

func (*ISynMessagingReceiverTransactor) ExecuteMessage

func (_ISynMessagingReceiver *ISynMessagingReceiverTransactor) ExecuteMessage(opts *bind.TransactOpts, _srcAddress [32]byte, _srcChainId *big.Int, _message []byte, _executor common.Address) (*types.Transaction, error)

ExecuteMessage is a paid mutator transaction binding the contract method 0xa6060871.

Solidity: function executeMessage(bytes32 _srcAddress, uint256 _srcChainId, bytes _message, address _executor) returns()

type ISynMessagingReceiverTransactorRaw

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

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

func (*ISynMessagingReceiverTransactorRaw) Transact

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

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

func (*ISynMessagingReceiverTransactorRaw) Transfer

func (_ISynMessagingReceiver *ISynMessagingReceiverTransactorRaw) 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 ISynMessagingReceiverTransactorSession

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

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

func (*ISynMessagingReceiverTransactorSession) ExecuteMessage

func (_ISynMessagingReceiver *ISynMessagingReceiverTransactorSession) ExecuteMessage(_srcAddress [32]byte, _srcChainId *big.Int, _message []byte, _executor common.Address) (*types.Transaction, error)

ExecuteMessage is a paid mutator transaction binding the contract method 0xa6060871.

Solidity: function executeMessage(bytes32 _srcAddress, uint256 _srcChainId, bytes _message, address _executor) returns()

type Ownable

type Ownable struct {
	OwnableCaller     // Read-only binding to the contract
	OwnableTransactor // Write-only binding to the contract
	OwnableFilterer   // Log filterer for contract events
}

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

func NewOwnable

func NewOwnable(address common.Address, backend bind.ContractBackend) (*Ownable, error)

NewOwnable creates a new instance of Ownable, bound to a specific deployed contract.

type OwnableCaller

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

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

func NewOwnableCaller

func NewOwnableCaller(address common.Address, caller bind.ContractCaller) (*OwnableCaller, error)

NewOwnableCaller creates a new read-only instance of Ownable, bound to a specific deployed contract.

func (*OwnableCaller) Owner

func (_Ownable *OwnableCaller) Owner(opts *bind.CallOpts) (common.Address, error)

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

Solidity: function owner() view returns(address)

type OwnableCallerRaw

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

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

func (*OwnableCallerRaw) Call

func (_Ownable *OwnableCallerRaw) 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 OwnableCallerSession

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

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

func (*OwnableCallerSession) Owner

func (_Ownable *OwnableCallerSession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

type OwnableFilterer

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

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

func NewOwnableFilterer

func NewOwnableFilterer(address common.Address, filterer bind.ContractFilterer) (*OwnableFilterer, error)

NewOwnableFilterer creates a new log filterer instance of Ownable, bound to a specific deployed contract.

func (*OwnableFilterer) FilterOwnershipTransferred

func (_Ownable *OwnableFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*OwnableOwnershipTransferredIterator, error)

FilterOwnershipTransferred is a free log retrieval operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)

func (*OwnableFilterer) ParseOwnershipTransferred

func (_Ownable *OwnableFilterer) ParseOwnershipTransferred(log types.Log) (*OwnableOwnershipTransferred, error)

ParseOwnershipTransferred is a log parse operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)

func (*OwnableFilterer) WatchOwnershipTransferred

func (_Ownable *OwnableFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *OwnableOwnershipTransferred, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error)

WatchOwnershipTransferred is a free log subscription operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)

type OwnableOwnershipTransferred

type OwnableOwnershipTransferred struct {
	PreviousOwner common.Address
	NewOwner      common.Address
	Raw           types.Log // Blockchain specific contextual infos
}

OwnableOwnershipTransferred represents a OwnershipTransferred event raised by the Ownable contract.

type OwnableOwnershipTransferredIterator

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

OwnableOwnershipTransferredIterator is returned from FilterOwnershipTransferred and is used to iterate over the raw logs and unpacked data for OwnershipTransferred events raised by the Ownable contract.

func (*OwnableOwnershipTransferredIterator) Close

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

func (*OwnableOwnershipTransferredIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*OwnableOwnershipTransferredIterator) 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 OwnableRaw

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

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

func (*OwnableRaw) Call

func (_Ownable *OwnableRaw) 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 (*OwnableRaw) Transact

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

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

func (*OwnableRaw) Transfer

func (_Ownable *OwnableRaw) 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 OwnableSession

type OwnableSession struct {
	Contract     *Ownable          // 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
}

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

func (*OwnableSession) Owner

func (_Ownable *OwnableSession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*OwnableSession) RenounceOwnership

func (_Ownable *OwnableSession) RenounceOwnership() (*types.Transaction, error)

RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.

Solidity: function renounceOwnership() returns()

func (*OwnableSession) TransferOwnership

func (_Ownable *OwnableSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)

TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.

Solidity: function transferOwnership(address newOwner) returns()

type OwnableTransactor

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

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

func NewOwnableTransactor

func NewOwnableTransactor(address common.Address, transactor bind.ContractTransactor) (*OwnableTransactor, error)

NewOwnableTransactor creates a new write-only instance of Ownable, bound to a specific deployed contract.

func (*OwnableTransactor) RenounceOwnership

func (_Ownable *OwnableTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)

RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.

Solidity: function renounceOwnership() returns()

func (*OwnableTransactor) TransferOwnership

func (_Ownable *OwnableTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)

TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.

Solidity: function transferOwnership(address newOwner) returns()

type OwnableTransactorRaw

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

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

func (*OwnableTransactorRaw) Transact

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

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

func (*OwnableTransactorRaw) Transfer

func (_Ownable *OwnableTransactorRaw) 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 OwnableTransactorSession

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

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

func (*OwnableTransactorSession) RenounceOwnership

func (_Ownable *OwnableTransactorSession) RenounceOwnership() (*types.Transaction, error)

RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.

Solidity: function renounceOwnership() returns()

func (*OwnableTransactorSession) TransferOwnership

func (_Ownable *OwnableTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)

TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.

Solidity: function transferOwnership(address newOwner) returns()

type SynMessagingReceiver

type SynMessagingReceiver struct {
	SynMessagingReceiverCaller     // Read-only binding to the contract
	SynMessagingReceiverTransactor // Write-only binding to the contract
	SynMessagingReceiverFilterer   // Log filterer for contract events
}

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

func NewSynMessagingReceiver

func NewSynMessagingReceiver(address common.Address, backend bind.ContractBackend) (*SynMessagingReceiver, error)

NewSynMessagingReceiver creates a new instance of SynMessagingReceiver, bound to a specific deployed contract.

type SynMessagingReceiverCaller

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

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

func NewSynMessagingReceiverCaller

func NewSynMessagingReceiverCaller(address common.Address, caller bind.ContractCaller) (*SynMessagingReceiverCaller, error)

NewSynMessagingReceiverCaller creates a new read-only instance of SynMessagingReceiver, bound to a specific deployed contract.

func (*SynMessagingReceiverCaller) GetTrustedRemote

func (_SynMessagingReceiver *SynMessagingReceiverCaller) GetTrustedRemote(opts *bind.CallOpts, _chainId *big.Int) ([32]byte, error)

GetTrustedRemote is a free data retrieval call binding the contract method 0x84a12b0f.

Solidity: function getTrustedRemote(uint256 _chainId) view returns(bytes32 trustedRemote)

func (*SynMessagingReceiverCaller) MessageBus

func (_SynMessagingReceiver *SynMessagingReceiverCaller) MessageBus(opts *bind.CallOpts) (common.Address, error)

MessageBus is a free data retrieval call binding the contract method 0xa1a227fa.

Solidity: function messageBus() view returns(address)

func (*SynMessagingReceiverCaller) Owner

func (_SynMessagingReceiver *SynMessagingReceiverCaller) Owner(opts *bind.CallOpts) (common.Address, error)

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

Solidity: function owner() view returns(address)

type SynMessagingReceiverCallerRaw

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

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

func (*SynMessagingReceiverCallerRaw) Call

func (_SynMessagingReceiver *SynMessagingReceiverCallerRaw) 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 SynMessagingReceiverCallerSession

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

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

func (*SynMessagingReceiverCallerSession) GetTrustedRemote

func (_SynMessagingReceiver *SynMessagingReceiverCallerSession) GetTrustedRemote(_chainId *big.Int) ([32]byte, error)

GetTrustedRemote is a free data retrieval call binding the contract method 0x84a12b0f.

Solidity: function getTrustedRemote(uint256 _chainId) view returns(bytes32 trustedRemote)

func (*SynMessagingReceiverCallerSession) MessageBus

func (_SynMessagingReceiver *SynMessagingReceiverCallerSession) MessageBus() (common.Address, error)

MessageBus is a free data retrieval call binding the contract method 0xa1a227fa.

Solidity: function messageBus() view returns(address)

func (*SynMessagingReceiverCallerSession) Owner

func (_SynMessagingReceiver *SynMessagingReceiverCallerSession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

type SynMessagingReceiverFilterer

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

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

func NewSynMessagingReceiverFilterer

func NewSynMessagingReceiverFilterer(address common.Address, filterer bind.ContractFilterer) (*SynMessagingReceiverFilterer, error)

NewSynMessagingReceiverFilterer creates a new log filterer instance of SynMessagingReceiver, bound to a specific deployed contract.

func (*SynMessagingReceiverFilterer) FilterOwnershipTransferred

func (_SynMessagingReceiver *SynMessagingReceiverFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*SynMessagingReceiverOwnershipTransferredIterator, error)

FilterOwnershipTransferred is a free log retrieval operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)

func (*SynMessagingReceiverFilterer) FilterSetTrustedRemote

func (_SynMessagingReceiver *SynMessagingReceiverFilterer) FilterSetTrustedRemote(opts *bind.FilterOpts) (*SynMessagingReceiverSetTrustedRemoteIterator, error)

FilterSetTrustedRemote is a free log retrieval operation binding the contract event 0x642e74356c0610a9f944fb1a2d88d2fb82c6b74921566eee8bc0f9bb30f74f03.

Solidity: event SetTrustedRemote(uint256 _srcChainId, bytes32 _srcAddress)

func (*SynMessagingReceiverFilterer) ParseOwnershipTransferred

func (_SynMessagingReceiver *SynMessagingReceiverFilterer) ParseOwnershipTransferred(log types.Log) (*SynMessagingReceiverOwnershipTransferred, error)

ParseOwnershipTransferred is a log parse operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)

func (*SynMessagingReceiverFilterer) ParseSetTrustedRemote

func (_SynMessagingReceiver *SynMessagingReceiverFilterer) ParseSetTrustedRemote(log types.Log) (*SynMessagingReceiverSetTrustedRemote, error)

ParseSetTrustedRemote is a log parse operation binding the contract event 0x642e74356c0610a9f944fb1a2d88d2fb82c6b74921566eee8bc0f9bb30f74f03.

Solidity: event SetTrustedRemote(uint256 _srcChainId, bytes32 _srcAddress)

func (*SynMessagingReceiverFilterer) WatchOwnershipTransferred

func (_SynMessagingReceiver *SynMessagingReceiverFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *SynMessagingReceiverOwnershipTransferred, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error)

WatchOwnershipTransferred is a free log subscription operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)

func (*SynMessagingReceiverFilterer) WatchSetTrustedRemote

func (_SynMessagingReceiver *SynMessagingReceiverFilterer) WatchSetTrustedRemote(opts *bind.WatchOpts, sink chan<- *SynMessagingReceiverSetTrustedRemote) (event.Subscription, error)

WatchSetTrustedRemote is a free log subscription operation binding the contract event 0x642e74356c0610a9f944fb1a2d88d2fb82c6b74921566eee8bc0f9bb30f74f03.

Solidity: event SetTrustedRemote(uint256 _srcChainId, bytes32 _srcAddress)

type SynMessagingReceiverOwnershipTransferred

type SynMessagingReceiverOwnershipTransferred struct {
	PreviousOwner common.Address
	NewOwner      common.Address
	Raw           types.Log // Blockchain specific contextual infos
}

SynMessagingReceiverOwnershipTransferred represents a OwnershipTransferred event raised by the SynMessagingReceiver contract.

type SynMessagingReceiverOwnershipTransferredIterator

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

SynMessagingReceiverOwnershipTransferredIterator is returned from FilterOwnershipTransferred and is used to iterate over the raw logs and unpacked data for OwnershipTransferred events raised by the SynMessagingReceiver contract.

func (*SynMessagingReceiverOwnershipTransferredIterator) Close

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

func (*SynMessagingReceiverOwnershipTransferredIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*SynMessagingReceiverOwnershipTransferredIterator) 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 SynMessagingReceiverRaw

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

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

func (*SynMessagingReceiverRaw) Call

func (_SynMessagingReceiver *SynMessagingReceiverRaw) 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 (*SynMessagingReceiverRaw) Transact

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

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

func (*SynMessagingReceiverRaw) Transfer

func (_SynMessagingReceiver *SynMessagingReceiverRaw) 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 SynMessagingReceiverSession

type SynMessagingReceiverSession struct {
	Contract     *SynMessagingReceiver // 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
}

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

func (*SynMessagingReceiverSession) ExecuteMessage

func (_SynMessagingReceiver *SynMessagingReceiverSession) ExecuteMessage(_srcAddress [32]byte, _srcChainId *big.Int, _message []byte, _executor common.Address) (*types.Transaction, error)

ExecuteMessage is a paid mutator transaction binding the contract method 0xa6060871.

Solidity: function executeMessage(bytes32 _srcAddress, uint256 _srcChainId, bytes _message, address _executor) returns()

func (*SynMessagingReceiverSession) GetTrustedRemote

func (_SynMessagingReceiver *SynMessagingReceiverSession) GetTrustedRemote(_chainId *big.Int) ([32]byte, error)

GetTrustedRemote is a free data retrieval call binding the contract method 0x84a12b0f.

Solidity: function getTrustedRemote(uint256 _chainId) view returns(bytes32 trustedRemote)

func (*SynMessagingReceiverSession) MessageBus

func (_SynMessagingReceiver *SynMessagingReceiverSession) MessageBus() (common.Address, error)

MessageBus is a free data retrieval call binding the contract method 0xa1a227fa.

Solidity: function messageBus() view returns(address)

func (*SynMessagingReceiverSession) Owner

func (_SynMessagingReceiver *SynMessagingReceiverSession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*SynMessagingReceiverSession) RenounceOwnership

func (_SynMessagingReceiver *SynMessagingReceiverSession) RenounceOwnership() (*types.Transaction, error)

RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.

Solidity: function renounceOwnership() returns()

func (*SynMessagingReceiverSession) SetMessageBus

func (_SynMessagingReceiver *SynMessagingReceiverSession) SetMessageBus(_messageBus common.Address) (*types.Transaction, error)

SetMessageBus is a paid mutator transaction binding the contract method 0x547cad12.

Solidity: function setMessageBus(address _messageBus) returns()

func (*SynMessagingReceiverSession) SetTrustedRemote

func (_SynMessagingReceiver *SynMessagingReceiverSession) SetTrustedRemote(_srcChainId *big.Int, _srcAddress [32]byte) (*types.Transaction, error)

SetTrustedRemote is a paid mutator transaction binding the contract method 0xbd3583ae.

Solidity: function setTrustedRemote(uint256 _srcChainId, bytes32 _srcAddress) returns()

func (*SynMessagingReceiverSession) TransferOwnership

func (_SynMessagingReceiver *SynMessagingReceiverSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)

TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.

Solidity: function transferOwnership(address newOwner) returns()

type SynMessagingReceiverSetTrustedRemote

type SynMessagingReceiverSetTrustedRemote struct {
	SrcChainId *big.Int
	SrcAddress [32]byte
	Raw        types.Log // Blockchain specific contextual infos
}

SynMessagingReceiverSetTrustedRemote represents a SetTrustedRemote event raised by the SynMessagingReceiver contract.

type SynMessagingReceiverSetTrustedRemoteIterator

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

SynMessagingReceiverSetTrustedRemoteIterator is returned from FilterSetTrustedRemote and is used to iterate over the raw logs and unpacked data for SetTrustedRemote events raised by the SynMessagingReceiver contract.

func (*SynMessagingReceiverSetTrustedRemoteIterator) Close

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

func (*SynMessagingReceiverSetTrustedRemoteIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*SynMessagingReceiverSetTrustedRemoteIterator) 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 SynMessagingReceiverTransactor

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

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

func NewSynMessagingReceiverTransactor

func NewSynMessagingReceiverTransactor(address common.Address, transactor bind.ContractTransactor) (*SynMessagingReceiverTransactor, error)

NewSynMessagingReceiverTransactor creates a new write-only instance of SynMessagingReceiver, bound to a specific deployed contract.

func (*SynMessagingReceiverTransactor) ExecuteMessage

func (_SynMessagingReceiver *SynMessagingReceiverTransactor) ExecuteMessage(opts *bind.TransactOpts, _srcAddress [32]byte, _srcChainId *big.Int, _message []byte, _executor common.Address) (*types.Transaction, error)

ExecuteMessage is a paid mutator transaction binding the contract method 0xa6060871.

Solidity: function executeMessage(bytes32 _srcAddress, uint256 _srcChainId, bytes _message, address _executor) returns()

func (*SynMessagingReceiverTransactor) RenounceOwnership

func (_SynMessagingReceiver *SynMessagingReceiverTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)

RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.

Solidity: function renounceOwnership() returns()

func (*SynMessagingReceiverTransactor) SetMessageBus

func (_SynMessagingReceiver *SynMessagingReceiverTransactor) SetMessageBus(opts *bind.TransactOpts, _messageBus common.Address) (*types.Transaction, error)

SetMessageBus is a paid mutator transaction binding the contract method 0x547cad12.

Solidity: function setMessageBus(address _messageBus) returns()

func (*SynMessagingReceiverTransactor) SetTrustedRemote

func (_SynMessagingReceiver *SynMessagingReceiverTransactor) SetTrustedRemote(opts *bind.TransactOpts, _srcChainId *big.Int, _srcAddress [32]byte) (*types.Transaction, error)

SetTrustedRemote is a paid mutator transaction binding the contract method 0xbd3583ae.

Solidity: function setTrustedRemote(uint256 _srcChainId, bytes32 _srcAddress) returns()

func (*SynMessagingReceiverTransactor) TransferOwnership

func (_SynMessagingReceiver *SynMessagingReceiverTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)

TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.

Solidity: function transferOwnership(address newOwner) returns()

type SynMessagingReceiverTransactorRaw

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

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

func (*SynMessagingReceiverTransactorRaw) Transact

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

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

func (*SynMessagingReceiverTransactorRaw) Transfer

func (_SynMessagingReceiver *SynMessagingReceiverTransactorRaw) 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 SynMessagingReceiverTransactorSession

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

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

func (*SynMessagingReceiverTransactorSession) ExecuteMessage

func (_SynMessagingReceiver *SynMessagingReceiverTransactorSession) ExecuteMessage(_srcAddress [32]byte, _srcChainId *big.Int, _message []byte, _executor common.Address) (*types.Transaction, error)

ExecuteMessage is a paid mutator transaction binding the contract method 0xa6060871.

Solidity: function executeMessage(bytes32 _srcAddress, uint256 _srcChainId, bytes _message, address _executor) returns()

func (*SynMessagingReceiverTransactorSession) RenounceOwnership

func (_SynMessagingReceiver *SynMessagingReceiverTransactorSession) RenounceOwnership() (*types.Transaction, error)

RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.

Solidity: function renounceOwnership() returns()

func (*SynMessagingReceiverTransactorSession) SetMessageBus

func (_SynMessagingReceiver *SynMessagingReceiverTransactorSession) SetMessageBus(_messageBus common.Address) (*types.Transaction, error)

SetMessageBus is a paid mutator transaction binding the contract method 0x547cad12.

Solidity: function setMessageBus(address _messageBus) returns()

func (*SynMessagingReceiverTransactorSession) SetTrustedRemote

func (_SynMessagingReceiver *SynMessagingReceiverTransactorSession) SetTrustedRemote(_srcChainId *big.Int, _srcAddress [32]byte) (*types.Transaction, error)

SetTrustedRemote is a paid mutator transaction binding the contract method 0xbd3583ae.

Solidity: function setTrustedRemote(uint256 _srcChainId, bytes32 _srcAddress) returns()

func (*SynMessagingReceiverTransactorSession) TransferOwnership

func (_SynMessagingReceiver *SynMessagingReceiverTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)

TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.

Solidity: function transferOwnership(address newOwner) returns()

type TearBridge

type TearBridge struct {
	TearBridgeCaller     // Read-only binding to the contract
	TearBridgeTransactor // Write-only binding to the contract
	TearBridgeFilterer   // Log filterer for contract events
}

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

func DeployTearBridge

func DeployTearBridge(auth *bind.TransactOpts, backend bind.ContractBackend, _messageBus common.Address, _gaiaTear common.Address) (common.Address, *types.Transaction, *TearBridge, error)

DeployTearBridge deploys a new Ethereum contract, binding an instance of TearBridge to it.

func NewTearBridge

func NewTearBridge(address common.Address, backend bind.ContractBackend) (*TearBridge, error)

NewTearBridge creates a new instance of TearBridge, bound to a specific deployed contract.

type TearBridgeCaller

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

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

func NewTearBridgeCaller

func NewTearBridgeCaller(address common.Address, caller bind.ContractCaller) (*TearBridgeCaller, error)

NewTearBridgeCaller creates a new read-only instance of TearBridge, bound to a specific deployed contract.

func (*TearBridgeCaller) DecodeMessage

func (_TearBridge *TearBridgeCaller) DecodeMessage(opts *bind.CallOpts, _message []byte) (TearBridgeMessageFormat, error)

DecodeMessage is a free data retrieval call binding the contract method 0x634d45b2.

Solidity: function decodeMessage(bytes _message) pure returns((address,uint256))

func (*TearBridgeCaller) GaiaTears

func (_TearBridge *TearBridgeCaller) GaiaTears(opts *bind.CallOpts) (common.Address, error)

GaiaTears is a free data retrieval call binding the contract method 0xacac4bdd.

Solidity: function gaiaTears() view returns(address)

func (*TearBridgeCaller) GetTrustedRemote

func (_TearBridge *TearBridgeCaller) GetTrustedRemote(opts *bind.CallOpts, _chainId *big.Int) ([32]byte, error)

GetTrustedRemote is a free data retrieval call binding the contract method 0x84a12b0f.

Solidity: function getTrustedRemote(uint256 _chainId) view returns(bytes32 trustedRemote)

func (*TearBridgeCaller) MessageBus

func (_TearBridge *TearBridgeCaller) MessageBus(opts *bind.CallOpts) (common.Address, error)

MessageBus is a free data retrieval call binding the contract method 0xa1a227fa.

Solidity: function messageBus() view returns(address)

func (*TearBridgeCaller) MsgGasLimit

func (_TearBridge *TearBridgeCaller) MsgGasLimit(opts *bind.CallOpts) (*big.Int, error)

MsgGasLimit is a free data retrieval call binding the contract method 0xc0e07f28.

Solidity: function msgGasLimit() view returns(uint256)

func (*TearBridgeCaller) Owner

func (_TearBridge *TearBridgeCaller) Owner(opts *bind.CallOpts) (common.Address, error)

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

Solidity: function owner() view returns(address)

type TearBridgeCallerRaw

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

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

func (*TearBridgeCallerRaw) Call

func (_TearBridge *TearBridgeCallerRaw) 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 TearBridgeCallerSession

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

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

func (*TearBridgeCallerSession) DecodeMessage

func (_TearBridge *TearBridgeCallerSession) DecodeMessage(_message []byte) (TearBridgeMessageFormat, error)

DecodeMessage is a free data retrieval call binding the contract method 0x634d45b2.

Solidity: function decodeMessage(bytes _message) pure returns((address,uint256))

func (*TearBridgeCallerSession) GaiaTears

func (_TearBridge *TearBridgeCallerSession) GaiaTears() (common.Address, error)

GaiaTears is a free data retrieval call binding the contract method 0xacac4bdd.

Solidity: function gaiaTears() view returns(address)

func (*TearBridgeCallerSession) GetTrustedRemote

func (_TearBridge *TearBridgeCallerSession) GetTrustedRemote(_chainId *big.Int) ([32]byte, error)

GetTrustedRemote is a free data retrieval call binding the contract method 0x84a12b0f.

Solidity: function getTrustedRemote(uint256 _chainId) view returns(bytes32 trustedRemote)

func (*TearBridgeCallerSession) MessageBus

func (_TearBridge *TearBridgeCallerSession) MessageBus() (common.Address, error)

MessageBus is a free data retrieval call binding the contract method 0xa1a227fa.

Solidity: function messageBus() view returns(address)

func (*TearBridgeCallerSession) MsgGasLimit

func (_TearBridge *TearBridgeCallerSession) MsgGasLimit() (*big.Int, error)

MsgGasLimit is a free data retrieval call binding the contract method 0xc0e07f28.

Solidity: function msgGasLimit() view returns(uint256)

func (*TearBridgeCallerSession) Owner

func (_TearBridge *TearBridgeCallerSession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

type TearBridgeFilterer

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

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

func NewTearBridgeFilterer

func NewTearBridgeFilterer(address common.Address, filterer bind.ContractFilterer) (*TearBridgeFilterer, error)

NewTearBridgeFilterer creates a new log filterer instance of TearBridge, bound to a specific deployed contract.

func (*TearBridgeFilterer) FilterGaiaArrived

func (_TearBridge *TearBridgeFilterer) FilterGaiaArrived(opts *bind.FilterOpts, dstUser []common.Address) (*TearBridgeGaiaArrivedIterator, error)

FilterGaiaArrived is a free log retrieval operation binding the contract event 0x07b815cd29685803e7213231371fa19ce2e23221109bf847d949305e6b7464a4.

Solidity: event GaiaArrived(address indexed dstUser, uint256 arrivalChainId)

func (*TearBridgeFilterer) FilterGaiaSent

func (_TearBridge *TearBridgeFilterer) FilterGaiaSent(opts *bind.FilterOpts, dstUser []common.Address) (*TearBridgeGaiaSentIterator, error)

FilterGaiaSent is a free log retrieval operation binding the contract event 0xe82273e05845454dcf88823968e5c722028bc4cb17ed03bdc06eaa32cc58ee66.

Solidity: event GaiaSent(address indexed dstUser, uint256 arrivalChainId)

func (*TearBridgeFilterer) FilterOwnershipTransferred

func (_TearBridge *TearBridgeFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*TearBridgeOwnershipTransferredIterator, error)

FilterOwnershipTransferred is a free log retrieval operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)

func (*TearBridgeFilterer) FilterSetTrustedRemote

func (_TearBridge *TearBridgeFilterer) FilterSetTrustedRemote(opts *bind.FilterOpts) (*TearBridgeSetTrustedRemoteIterator, error)

FilterSetTrustedRemote is a free log retrieval operation binding the contract event 0x642e74356c0610a9f944fb1a2d88d2fb82c6b74921566eee8bc0f9bb30f74f03.

Solidity: event SetTrustedRemote(uint256 _srcChainId, bytes32 _srcAddress)

func (*TearBridgeFilterer) ParseGaiaArrived

func (_TearBridge *TearBridgeFilterer) ParseGaiaArrived(log types.Log) (*TearBridgeGaiaArrived, error)

ParseGaiaArrived is a log parse operation binding the contract event 0x07b815cd29685803e7213231371fa19ce2e23221109bf847d949305e6b7464a4.

Solidity: event GaiaArrived(address indexed dstUser, uint256 arrivalChainId)

func (*TearBridgeFilterer) ParseGaiaSent

func (_TearBridge *TearBridgeFilterer) ParseGaiaSent(log types.Log) (*TearBridgeGaiaSent, error)

ParseGaiaSent is a log parse operation binding the contract event 0xe82273e05845454dcf88823968e5c722028bc4cb17ed03bdc06eaa32cc58ee66.

Solidity: event GaiaSent(address indexed dstUser, uint256 arrivalChainId)

func (*TearBridgeFilterer) ParseOwnershipTransferred

func (_TearBridge *TearBridgeFilterer) ParseOwnershipTransferred(log types.Log) (*TearBridgeOwnershipTransferred, error)

ParseOwnershipTransferred is a log parse operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)

func (*TearBridgeFilterer) ParseSetTrustedRemote

func (_TearBridge *TearBridgeFilterer) ParseSetTrustedRemote(log types.Log) (*TearBridgeSetTrustedRemote, error)

ParseSetTrustedRemote is a log parse operation binding the contract event 0x642e74356c0610a9f944fb1a2d88d2fb82c6b74921566eee8bc0f9bb30f74f03.

Solidity: event SetTrustedRemote(uint256 _srcChainId, bytes32 _srcAddress)

func (*TearBridgeFilterer) WatchGaiaArrived

func (_TearBridge *TearBridgeFilterer) WatchGaiaArrived(opts *bind.WatchOpts, sink chan<- *TearBridgeGaiaArrived, dstUser []common.Address) (event.Subscription, error)

WatchGaiaArrived is a free log subscription operation binding the contract event 0x07b815cd29685803e7213231371fa19ce2e23221109bf847d949305e6b7464a4.

Solidity: event GaiaArrived(address indexed dstUser, uint256 arrivalChainId)

func (*TearBridgeFilterer) WatchGaiaSent

func (_TearBridge *TearBridgeFilterer) WatchGaiaSent(opts *bind.WatchOpts, sink chan<- *TearBridgeGaiaSent, dstUser []common.Address) (event.Subscription, error)

WatchGaiaSent is a free log subscription operation binding the contract event 0xe82273e05845454dcf88823968e5c722028bc4cb17ed03bdc06eaa32cc58ee66.

Solidity: event GaiaSent(address indexed dstUser, uint256 arrivalChainId)

func (*TearBridgeFilterer) WatchOwnershipTransferred

func (_TearBridge *TearBridgeFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *TearBridgeOwnershipTransferred, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error)

WatchOwnershipTransferred is a free log subscription operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)

func (*TearBridgeFilterer) WatchSetTrustedRemote

func (_TearBridge *TearBridgeFilterer) WatchSetTrustedRemote(opts *bind.WatchOpts, sink chan<- *TearBridgeSetTrustedRemote) (event.Subscription, error)

WatchSetTrustedRemote is a free log subscription operation binding the contract event 0x642e74356c0610a9f944fb1a2d88d2fb82c6b74921566eee8bc0f9bb30f74f03.

Solidity: event SetTrustedRemote(uint256 _srcChainId, bytes32 _srcAddress)

type TearBridgeGaiaArrived

type TearBridgeGaiaArrived struct {
	DstUser        common.Address
	ArrivalChainId *big.Int
	Raw            types.Log // Blockchain specific contextual infos
}

TearBridgeGaiaArrived represents a GaiaArrived event raised by the TearBridge contract.

type TearBridgeGaiaArrivedIterator

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

TearBridgeGaiaArrivedIterator is returned from FilterGaiaArrived and is used to iterate over the raw logs and unpacked data for GaiaArrived events raised by the TearBridge contract.

func (*TearBridgeGaiaArrivedIterator) Close

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

func (*TearBridgeGaiaArrivedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*TearBridgeGaiaArrivedIterator) 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 TearBridgeGaiaSent

type TearBridgeGaiaSent struct {
	DstUser        common.Address
	ArrivalChainId *big.Int
	Raw            types.Log // Blockchain specific contextual infos
}

TearBridgeGaiaSent represents a GaiaSent event raised by the TearBridge contract.

type TearBridgeGaiaSentIterator

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

TearBridgeGaiaSentIterator is returned from FilterGaiaSent and is used to iterate over the raw logs and unpacked data for GaiaSent events raised by the TearBridge contract.

func (*TearBridgeGaiaSentIterator) Close

func (it *TearBridgeGaiaSentIterator) Close() error

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

func (*TearBridgeGaiaSentIterator) Error

func (it *TearBridgeGaiaSentIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*TearBridgeGaiaSentIterator) Next

func (it *TearBridgeGaiaSentIterator) 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 TearBridgeMessageFormat

type TearBridgeMessageFormat struct {
	DstUser       common.Address
	DstTearAmount *big.Int
}

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

type TearBridgeOwnershipTransferred

type TearBridgeOwnershipTransferred struct {
	PreviousOwner common.Address
	NewOwner      common.Address
	Raw           types.Log // Blockchain specific contextual infos
}

TearBridgeOwnershipTransferred represents a OwnershipTransferred event raised by the TearBridge contract.

type TearBridgeOwnershipTransferredIterator

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

TearBridgeOwnershipTransferredIterator is returned from FilterOwnershipTransferred and is used to iterate over the raw logs and unpacked data for OwnershipTransferred events raised by the TearBridge contract.

func (*TearBridgeOwnershipTransferredIterator) Close

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

func (*TearBridgeOwnershipTransferredIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*TearBridgeOwnershipTransferredIterator) 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 TearBridgeRaw

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

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

func (*TearBridgeRaw) Call

func (_TearBridge *TearBridgeRaw) 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 (*TearBridgeRaw) Transact

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

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

func (*TearBridgeRaw) Transfer

func (_TearBridge *TearBridgeRaw) 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 TearBridgeSession

type TearBridgeSession struct {
	Contract     *TearBridge       // 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
}

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

func (*TearBridgeSession) DecodeMessage

func (_TearBridge *TearBridgeSession) DecodeMessage(_message []byte) (TearBridgeMessageFormat, error)

DecodeMessage is a free data retrieval call binding the contract method 0x634d45b2.

Solidity: function decodeMessage(bytes _message) pure returns((address,uint256))

func (*TearBridgeSession) ExecuteMessage

func (_TearBridge *TearBridgeSession) ExecuteMessage(_srcAddress [32]byte, _srcChainId *big.Int, _message []byte, _executor common.Address) (*types.Transaction, error)

ExecuteMessage is a paid mutator transaction binding the contract method 0xa6060871.

Solidity: function executeMessage(bytes32 _srcAddress, uint256 _srcChainId, bytes _message, address _executor) returns()

func (*TearBridgeSession) GaiaTears

func (_TearBridge *TearBridgeSession) GaiaTears() (common.Address, error)

GaiaTears is a free data retrieval call binding the contract method 0xacac4bdd.

Solidity: function gaiaTears() view returns(address)

func (*TearBridgeSession) GetTrustedRemote

func (_TearBridge *TearBridgeSession) GetTrustedRemote(_chainId *big.Int) ([32]byte, error)

GetTrustedRemote is a free data retrieval call binding the contract method 0x84a12b0f.

Solidity: function getTrustedRemote(uint256 _chainId) view returns(bytes32 trustedRemote)

func (*TearBridgeSession) MessageBus

func (_TearBridge *TearBridgeSession) MessageBus() (common.Address, error)

MessageBus is a free data retrieval call binding the contract method 0xa1a227fa.

Solidity: function messageBus() view returns(address)

func (*TearBridgeSession) MsgGasLimit

func (_TearBridge *TearBridgeSession) MsgGasLimit() (*big.Int, error)

MsgGasLimit is a free data retrieval call binding the contract method 0xc0e07f28.

Solidity: function msgGasLimit() view returns(uint256)

func (*TearBridgeSession) Owner

func (_TearBridge *TearBridgeSession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*TearBridgeSession) RenounceOwnership

func (_TearBridge *TearBridgeSession) RenounceOwnership() (*types.Transaction, error)

RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.

Solidity: function renounceOwnership() returns()

func (*TearBridgeSession) SendTear

func (_TearBridge *TearBridgeSession) SendTear(_tearsAmount *big.Int, _dstChainId *big.Int) (*types.Transaction, error)

SendTear is a paid mutator transaction binding the contract method 0x82731903.

Solidity: function sendTear(uint256 _tearsAmount, uint256 _dstChainId) payable returns()

func (*TearBridgeSession) SetMessageBus

func (_TearBridge *TearBridgeSession) SetMessageBus(_messageBus common.Address) (*types.Transaction, error)

SetMessageBus is a paid mutator transaction binding the contract method 0x547cad12.

Solidity: function setMessageBus(address _messageBus) returns()

func (*TearBridgeSession) SetMsgGasLimit

func (_TearBridge *TearBridgeSession) SetMsgGasLimit(_msgGasLimit *big.Int) (*types.Transaction, error)

SetMsgGasLimit is a paid mutator transaction binding the contract method 0xf9ecc6f5.

Solidity: function setMsgGasLimit(uint256 _msgGasLimit) returns()

func (*TearBridgeSession) SetTrustedRemote

func (_TearBridge *TearBridgeSession) SetTrustedRemote(_srcChainId *big.Int, _srcAddress [32]byte) (*types.Transaction, error)

SetTrustedRemote is a paid mutator transaction binding the contract method 0xbd3583ae.

Solidity: function setTrustedRemote(uint256 _srcChainId, bytes32 _srcAddress) returns()

func (*TearBridgeSession) TransferOwnership

func (_TearBridge *TearBridgeSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)

TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.

Solidity: function transferOwnership(address newOwner) returns()

type TearBridgeSetTrustedRemote

type TearBridgeSetTrustedRemote struct {
	SrcChainId *big.Int
	SrcAddress [32]byte
	Raw        types.Log // Blockchain specific contextual infos
}

TearBridgeSetTrustedRemote represents a SetTrustedRemote event raised by the TearBridge contract.

type TearBridgeSetTrustedRemoteIterator

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

TearBridgeSetTrustedRemoteIterator is returned from FilterSetTrustedRemote and is used to iterate over the raw logs and unpacked data for SetTrustedRemote events raised by the TearBridge contract.

func (*TearBridgeSetTrustedRemoteIterator) Close

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

func (*TearBridgeSetTrustedRemoteIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*TearBridgeSetTrustedRemoteIterator) 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 TearBridgeTransactor

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

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

func NewTearBridgeTransactor

func NewTearBridgeTransactor(address common.Address, transactor bind.ContractTransactor) (*TearBridgeTransactor, error)

NewTearBridgeTransactor creates a new write-only instance of TearBridge, bound to a specific deployed contract.

func (*TearBridgeTransactor) ExecuteMessage

func (_TearBridge *TearBridgeTransactor) ExecuteMessage(opts *bind.TransactOpts, _srcAddress [32]byte, _srcChainId *big.Int, _message []byte, _executor common.Address) (*types.Transaction, error)

ExecuteMessage is a paid mutator transaction binding the contract method 0xa6060871.

Solidity: function executeMessage(bytes32 _srcAddress, uint256 _srcChainId, bytes _message, address _executor) returns()

func (*TearBridgeTransactor) RenounceOwnership

func (_TearBridge *TearBridgeTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)

RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.

Solidity: function renounceOwnership() returns()

func (*TearBridgeTransactor) SendTear

func (_TearBridge *TearBridgeTransactor) SendTear(opts *bind.TransactOpts, _tearsAmount *big.Int, _dstChainId *big.Int) (*types.Transaction, error)

SendTear is a paid mutator transaction binding the contract method 0x82731903.

Solidity: function sendTear(uint256 _tearsAmount, uint256 _dstChainId) payable returns()

func (*TearBridgeTransactor) SetMessageBus

func (_TearBridge *TearBridgeTransactor) SetMessageBus(opts *bind.TransactOpts, _messageBus common.Address) (*types.Transaction, error)

SetMessageBus is a paid mutator transaction binding the contract method 0x547cad12.

Solidity: function setMessageBus(address _messageBus) returns()

func (*TearBridgeTransactor) SetMsgGasLimit

func (_TearBridge *TearBridgeTransactor) SetMsgGasLimit(opts *bind.TransactOpts, _msgGasLimit *big.Int) (*types.Transaction, error)

SetMsgGasLimit is a paid mutator transaction binding the contract method 0xf9ecc6f5.

Solidity: function setMsgGasLimit(uint256 _msgGasLimit) returns()

func (*TearBridgeTransactor) SetTrustedRemote

func (_TearBridge *TearBridgeTransactor) SetTrustedRemote(opts *bind.TransactOpts, _srcChainId *big.Int, _srcAddress [32]byte) (*types.Transaction, error)

SetTrustedRemote is a paid mutator transaction binding the contract method 0xbd3583ae.

Solidity: function setTrustedRemote(uint256 _srcChainId, bytes32 _srcAddress) returns()

func (*TearBridgeTransactor) TransferOwnership

func (_TearBridge *TearBridgeTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)

TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.

Solidity: function transferOwnership(address newOwner) returns()

type TearBridgeTransactorRaw

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

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

func (*TearBridgeTransactorRaw) Transact

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

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

func (*TearBridgeTransactorRaw) Transfer

func (_TearBridge *TearBridgeTransactorRaw) 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 TearBridgeTransactorSession

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

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

func (*TearBridgeTransactorSession) ExecuteMessage

func (_TearBridge *TearBridgeTransactorSession) ExecuteMessage(_srcAddress [32]byte, _srcChainId *big.Int, _message []byte, _executor common.Address) (*types.Transaction, error)

ExecuteMessage is a paid mutator transaction binding the contract method 0xa6060871.

Solidity: function executeMessage(bytes32 _srcAddress, uint256 _srcChainId, bytes _message, address _executor) returns()

func (*TearBridgeTransactorSession) RenounceOwnership

func (_TearBridge *TearBridgeTransactorSession) RenounceOwnership() (*types.Transaction, error)

RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.

Solidity: function renounceOwnership() returns()

func (*TearBridgeTransactorSession) SendTear

func (_TearBridge *TearBridgeTransactorSession) SendTear(_tearsAmount *big.Int, _dstChainId *big.Int) (*types.Transaction, error)

SendTear is a paid mutator transaction binding the contract method 0x82731903.

Solidity: function sendTear(uint256 _tearsAmount, uint256 _dstChainId) payable returns()

func (*TearBridgeTransactorSession) SetMessageBus

func (_TearBridge *TearBridgeTransactorSession) SetMessageBus(_messageBus common.Address) (*types.Transaction, error)

SetMessageBus is a paid mutator transaction binding the contract method 0x547cad12.

Solidity: function setMessageBus(address _messageBus) returns()

func (*TearBridgeTransactorSession) SetMsgGasLimit

func (_TearBridge *TearBridgeTransactorSession) SetMsgGasLimit(_msgGasLimit *big.Int) (*types.Transaction, error)

SetMsgGasLimit is a paid mutator transaction binding the contract method 0xf9ecc6f5.

Solidity: function setMsgGasLimit(uint256 _msgGasLimit) returns()

func (*TearBridgeTransactorSession) SetTrustedRemote

func (_TearBridge *TearBridgeTransactorSession) SetTrustedRemote(_srcChainId *big.Int, _srcAddress [32]byte) (*types.Transaction, error)

SetTrustedRemote is a paid mutator transaction binding the contract method 0xbd3583ae.

Solidity: function setTrustedRemote(uint256 _srcChainId, bytes32 _srcAddress) returns()

func (*TearBridgeTransactorSession) TransferOwnership

func (_TearBridge *TearBridgeTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)

TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.

Solidity: function transferOwnership(address newOwner) returns()

Jump to

Keyboard shortcuts

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