bindings

package
v0.0.0-...-3acd70f Latest Latest
Warning

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

Go to latest
Published: Jan 13, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var CartesiDAppABI = CartesiDAppMetaData.ABI

CartesiDAppABI is the input ABI used to generate the binding from. Deprecated: Use CartesiDAppMetaData.ABI instead.

View Source
var CartesiDAppMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[{\"internalType\":\"contractIConsensus\",\"name\":\"_consensus\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_owner\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"_templateHash\",\"type\":\"bytes32\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"inputs\":[],\"name\":\"EtherTransferFailed\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"IncorrectEpochHash\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"IncorrectOutputHashesRootHash\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"IncorrectOutputsEpochRootHash\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InputIndexOutOfClaimBounds\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"OnlyDApp\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"VoucherReexecutionNotAllowed\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"contractIConsensus\",\"name\":\"newConsensus\",\"type\":\"address\"}],\"name\":\"NewConsensus\",\"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\":\"voucherId\",\"type\":\"uint256\"}],\"name\":\"VoucherExecuted\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_destination\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"_payload\",\"type\":\"bytes\"},{\"components\":[{\"components\":[{\"internalType\":\"uint64\",\"name\":\"inputIndexWithinEpoch\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"outputIndexWithinInput\",\"type\":\"uint64\"},{\"internalType\":\"bytes32\",\"name\":\"outputHashesRootHash\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"vouchersEpochRootHash\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"noticesEpochRootHash\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"machineStateHash\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32[]\",\"name\":\"outputHashInOutputHashesSiblings\",\"type\":\"bytes32[]\"},{\"internalType\":\"bytes32[]\",\"name\":\"outputHashesInEpochSiblings\",\"type\":\"bytes32[]\"}],\"internalType\":\"structOutputValidityProof\",\"name\":\"validity\",\"type\":\"tuple\"},{\"internalType\":\"bytes\",\"name\":\"context\",\"type\":\"bytes\"}],\"internalType\":\"structProof\",\"name\":\"_proof\",\"type\":\"tuple\"}],\"name\":\"executeVoucher\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getConsensus\",\"outputs\":[{\"internalType\":\"contractIConsensus\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getTemplateHash\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contractIConsensus\",\"name\":\"_newConsensus\",\"type\":\"address\"}],\"name\":\"migrateToConsensus\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"uint256[]\",\"name\":\"\",\"type\":\"uint256[]\"},{\"internalType\":\"uint256[]\",\"name\":\"\",\"type\":\"uint256[]\"},{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"name\":\"onERC1155BatchReceived\",\"outputs\":[{\"internalType\":\"bytes4\",\"name\":\"\",\"type\":\"bytes4\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"name\":\"onERC1155Received\",\"outputs\":[{\"internalType\":\"bytes4\",\"name\":\"\",\"type\":\"bytes4\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"name\":\"onERC721Received\",\"outputs\":[{\"internalType\":\"bytes4\",\"name\":\"\",\"type\":\"bytes4\"}],\"stateMutability\":\"nonpayable\",\"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\":\"bytes4\",\"name\":\"interfaceId\",\"type\":\"bytes4\"}],\"name\":\"supportsInterface\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"_notice\",\"type\":\"bytes\"},{\"components\":[{\"components\":[{\"internalType\":\"uint64\",\"name\":\"inputIndexWithinEpoch\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"outputIndexWithinInput\",\"type\":\"uint64\"},{\"internalType\":\"bytes32\",\"name\":\"outputHashesRootHash\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"vouchersEpochRootHash\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"noticesEpochRootHash\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"machineStateHash\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32[]\",\"name\":\"outputHashInOutputHashesSiblings\",\"type\":\"bytes32[]\"},{\"internalType\":\"bytes32[]\",\"name\":\"outputHashesInEpochSiblings\",\"type\":\"bytes32[]\"}],\"internalType\":\"structOutputValidityProof\",\"name\":\"validity\",\"type\":\"tuple\"},{\"internalType\":\"bytes\",\"name\":\"context\",\"type\":\"bytes\"}],\"internalType\":\"structProof\",\"name\":\"_proof\",\"type\":\"tuple\"}],\"name\":\"validateNotice\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_inputIndex\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_outputIndexWithinInput\",\"type\":\"uint256\"}],\"name\":\"wasVoucherExecuted\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_receiver\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_value\",\"type\":\"uint256\"}],\"name\":\"withdrawEther\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"stateMutability\":\"payable\",\"type\":\"receive\"}]",
}

CartesiDAppMetaData contains all meta data concerning the CartesiDApp contract.

View Source
var DAppAddressRelayABI = DAppAddressRelayMetaData.ABI

DAppAddressRelayABI is the input ABI used to generate the binding from. Deprecated: Use DAppAddressRelayMetaData.ABI instead.

View Source
var DAppAddressRelayMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[{\"internalType\":\"contractIInputBox\",\"name\":\"_inputBox\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"inputs\":[],\"name\":\"getInputBox\",\"outputs\":[{\"internalType\":\"contractIInputBox\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_dapp\",\"type\":\"address\"}],\"name\":\"relayDAppAddress\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
}

DAppAddressRelayMetaData contains all meta data concerning the DAppAddressRelay contract.

View Source
var ERC1155BatchPortalABI = ERC1155BatchPortalMetaData.ABI

ERC1155BatchPortalABI is the input ABI used to generate the binding from. Deprecated: Use ERC1155BatchPortalMetaData.ABI instead.

View Source
var ERC1155BatchPortalMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[{\"internalType\":\"contractIInputBox\",\"name\":\"_inputBox\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"inputs\":[{\"internalType\":\"contractIERC1155\",\"name\":\"_token\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_dapp\",\"type\":\"address\"},{\"internalType\":\"uint256[]\",\"name\":\"_tokenIds\",\"type\":\"uint256[]\"},{\"internalType\":\"uint256[]\",\"name\":\"_values\",\"type\":\"uint256[]\"},{\"internalType\":\"bytes\",\"name\":\"_baseLayerData\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"_execLayerData\",\"type\":\"bytes\"}],\"name\":\"depositBatchERC1155Token\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getInputBox\",\"outputs\":[{\"internalType\":\"contractIInputBox\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"}]",
}

ERC1155BatchPortalMetaData contains all meta data concerning the ERC1155BatchPortal contract.

View Source
var ERC1155SinglePortalABI = ERC1155SinglePortalMetaData.ABI

ERC1155SinglePortalABI is the input ABI used to generate the binding from. Deprecated: Use ERC1155SinglePortalMetaData.ABI instead.

View Source
var ERC1155SinglePortalMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[{\"internalType\":\"contractIInputBox\",\"name\":\"_inputBox\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"inputs\":[{\"internalType\":\"contractIERC1155\",\"name\":\"_token\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_dapp\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_tokenId\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_value\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"_baseLayerData\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"_execLayerData\",\"type\":\"bytes\"}],\"name\":\"depositSingleERC1155Token\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getInputBox\",\"outputs\":[{\"internalType\":\"contractIInputBox\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"}]",
}

ERC1155SinglePortalMetaData contains all meta data concerning the ERC1155SinglePortal contract.

View Source
var ERC20PortalABI = ERC20PortalMetaData.ABI

ERC20PortalABI is the input ABI used to generate the binding from. Deprecated: Use ERC20PortalMetaData.ABI instead.

View Source
var ERC20PortalMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[{\"internalType\":\"contractIInputBox\",\"name\":\"_inputBox\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"inputs\":[{\"internalType\":\"contractIERC20\",\"name\":\"_token\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_dapp\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"_execLayerData\",\"type\":\"bytes\"}],\"name\":\"depositERC20Tokens\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getInputBox\",\"outputs\":[{\"internalType\":\"contractIInputBox\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"}]",
}

ERC20PortalMetaData contains all meta data concerning the ERC20Portal contract.

View Source
var ERC721PortalABI = ERC721PortalMetaData.ABI

ERC721PortalABI is the input ABI used to generate the binding from. Deprecated: Use ERC721PortalMetaData.ABI instead.

View Source
var ERC721PortalMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[{\"internalType\":\"contractIInputBox\",\"name\":\"_inputBox\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"inputs\":[{\"internalType\":\"contractIERC721\",\"name\":\"_token\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_dapp\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_tokenId\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"_baseLayerData\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"_execLayerData\",\"type\":\"bytes\"}],\"name\":\"depositERC721Token\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getInputBox\",\"outputs\":[{\"internalType\":\"contractIInputBox\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"}]",
}

ERC721PortalMetaData contains all meta data concerning the ERC721Portal contract.

View Source
var EtherPortalABI = EtherPortalMetaData.ABI

EtherPortalABI is the input ABI used to generate the binding from. Deprecated: Use EtherPortalMetaData.ABI instead.

View Source
var EtherPortalMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[{\"internalType\":\"contractIInputBox\",\"name\":\"_inputBox\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"inputs\":[],\"name\":\"EtherTransferFailed\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_dapp\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"_execLayerData\",\"type\":\"bytes\"}],\"name\":\"depositEther\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getInputBox\",\"outputs\":[{\"internalType\":\"contractIInputBox\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"}]",
}

EtherPortalMetaData contains all meta data concerning the EtherPortal contract.

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 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\":\"value\",\"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\":\"value\",\"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\":\"value\",\"type\":\"uint256\"}],\"name\":\"transferFrom\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
}

IERC20MetaData contains all meta data concerning the IERC20 contract.

View Source
var InputBoxABI = InputBoxMetaData.ABI

InputBoxABI is the input ABI used to generate the binding from. Deprecated: Use InputBoxMetaData.ABI instead.

View Source
var InputBoxMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[],\"name\":\"InputSizeExceedsLimit\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"dapp\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"inputIndex\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"input\",\"type\":\"bytes\"}],\"name\":\"InputAdded\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_dapp\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"_input\",\"type\":\"bytes\"}],\"name\":\"addInput\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_dapp\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_index\",\"type\":\"uint256\"}],\"name\":\"getInputHash\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_dapp\",\"type\":\"address\"}],\"name\":\"getNumberOfInputs\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"}]",
}

InputBoxMetaData contains all meta data concerning the InputBox contract.

View Source
var TestERC20ABI = TestERC20MetaData.ABI

TestERC20ABI is the input ABI used to generate the binding from. Deprecated: Use TestERC20MetaData.ABI instead.

View Source
var TestERC20Bin = TestERC20MetaData.Bin

TestERC20Bin is the compiled bytecode used for deploying new contracts. Deprecated: Use TestERC20MetaData.Bin instead.

View Source
var TestERC20MetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"initialOwner\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"allowance\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"needed\",\"type\":\"uint256\"}],\"name\":\"ERC20InsufficientAllowance\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"balance\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"needed\",\"type\":\"uint256\"}],\"name\":\"ERC20InsufficientBalance\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"approver\",\"type\":\"address\"}],\"name\":\"ERC20InvalidApprover\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"receiver\",\"type\":\"address\"}],\"name\":\"ERC20InvalidReceiver\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"}],\"name\":\"ERC20InvalidSender\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"}],\"name\":\"ERC20InvalidSpender\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"name\":\"OwnableInvalidOwner\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"OwnableUnauthorizedAccount\",\"type\":\"error\"},{\"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\":\"previousOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransferred\",\"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\":\"value\",\"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\":\"decimals\",\"outputs\":[{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"mint\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"name\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"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\":[],\"name\":\"symbol\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"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\":\"value\",\"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\":\"value\",\"type\":\"uint256\"}],\"name\":\"transferFrom\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
	Bin: "0x60806040523480156200001157600080fd5b5060405162000e9238038062000e928339810160408190526200003491620002c5565b806040518060400160405280600981526020016805465737445524332360bc1b81525060405180604001604052806004815260200163151154d560e21b81525081600390816200008591906200039c565b5060046200009482826200039c565b5050506001600160a01b038116620000c757604051631e4fbdf760e01b8152600060048201526024015b60405180910390fd5b620000d28162000102565b50620000fb33620000e66012600a6200057d565b620000f590620f42406200058e565b62000154565b50620005be565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b038216620001805760405163ec442f0560e01b815260006004820152602401620000be565b6200018e6000838362000192565b5050565b6001600160a01b038316620001c1578060026000828254620001b59190620005a8565b90915550620002359050565b6001600160a01b03831660009081526020819052604090205481811015620002165760405163391434e360e21b81526001600160a01b03851660048201526024810182905260448101839052606401620000be565b6001600160a01b03841660009081526020819052604090209082900390555b6001600160a01b038216620002535760028054829003905562000272565b6001600160a01b03821660009081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051620002b891815260200190565b60405180910390a3505050565b600060208284031215620002d857600080fd5b81516001600160a01b0381168114620002f057600080fd5b9392505050565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200032257607f821691505b6020821081036200034357634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200039757600081815260208120601f850160051c81016020861015620003725750805b601f850160051c820191505b8181101562000393578281556001016200037e565b5050505b505050565b81516001600160401b03811115620003b857620003b8620002f7565b620003d081620003c984546200030d565b8462000349565b602080601f831160018114620004085760008415620003ef5750858301515b600019600386901b1c1916600185901b17855562000393565b600085815260208120601f198616915b82811015620004395788860151825594840194600190910190840162000418565b5085821015620004585787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b600052601160045260246000fd5b600181815b80851115620004bf578160001904821115620004a357620004a362000468565b80851615620004b157918102915b93841c939080029062000483565b509250929050565b600082620004d85750600162000577565b81620004e75750600062000577565b81600181146200050057600281146200050b576200052b565b600191505062000577565b60ff8411156200051f576200051f62000468565b50506001821b62000577565b5060208310610133831016604e8410600b841016171562000550575081810a62000577565b6200055c83836200047e565b806000190482111562000573576200057362000468565b0290505b92915050565b6000620002f060ff841683620004c7565b808202811582820484141762000577576200057762000468565b8082018082111562000577576200057762000468565b6108c480620005ce6000396000f3fe608060405234801561001057600080fd5b50600436106100cf5760003560e01c806370a082311161008c57806395d89b411161006657806395d89b41146101aa578063a9059cbb146101b2578063dd62ed3e146101c5578063f2fde38b146101fe57600080fd5b806370a082311461015e578063715018a6146101875780638da5cb5b1461018f57600080fd5b806306fdde03146100d4578063095ea7b3146100f257806318160ddd1461011557806323b872dd14610127578063313ce5671461013a57806340c10f1914610149575b600080fd5b6100dc610211565b6040516100e9919061070e565b60405180910390f35b610105610100366004610778565b6102a3565b60405190151581526020016100e9565b6002545b6040519081526020016100e9565b6101056101353660046107a2565b6102bd565b604051601281526020016100e9565b61015c610157366004610778565b6102e1565b005b61011961016c3660046107de565b6001600160a01b031660009081526020819052604090205490565b61015c6102f7565b6005546040516001600160a01b0390911681526020016100e9565b6100dc61030b565b6101056101c0366004610778565b61031a565b6101196101d3366004610800565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b61015c61020c3660046107de565b610328565b60606003805461022090610833565b80601f016020809104026020016040519081016040528092919081815260200182805461024c90610833565b80156102995780601f1061026e57610100808354040283529160200191610299565b820191906000526020600020905b81548152906001019060200180831161027c57829003601f168201915b5050505050905090565b6000336102b181858561036b565b60019150505b92915050565b6000336102cb85828561037d565b6102d68585856103fb565b506001949350505050565b6102e961045a565b6102f38282610487565b5050565b6102ff61045a565b61030960006104bd565b565b60606004805461022090610833565b6000336102b18185856103fb565b61033061045a565b6001600160a01b03811661035f57604051631e4fbdf760e01b8152600060048201526024015b60405180910390fd5b610368816104bd565b50565b610378838383600161050f565b505050565b6001600160a01b0383811660009081526001602090815260408083209386168352929052205460001981146103f557818110156103e657604051637dc7a0d960e11b81526001600160a01b03841660048201526024810182905260448101839052606401610356565b6103f58484848403600061050f565b50505050565b6001600160a01b03831661042557604051634b637e8f60e11b815260006004820152602401610356565b6001600160a01b03821661044f5760405163ec442f0560e01b815260006004820152602401610356565b6103788383836105e4565b6005546001600160a01b031633146103095760405163118cdaa760e01b8152336004820152602401610356565b6001600160a01b0382166104b15760405163ec442f0560e01b815260006004820152602401610356565b6102f3600083836105e4565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b0384166105395760405163e602df0560e01b815260006004820152602401610356565b6001600160a01b03831661056357604051634a1406b160e11b815260006004820152602401610356565b6001600160a01b03808516600090815260016020908152604080832093871683529290522082905580156103f557826001600160a01b0316846001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925846040516105d691815260200190565b60405180910390a350505050565b6001600160a01b03831661060f578060026000828254610604919061086d565b909155506106819050565b6001600160a01b038316600090815260208190526040902054818110156106625760405163391434e360e21b81526001600160a01b03851660048201526024810182905260448101839052606401610356565b6001600160a01b03841660009081526020819052604090209082900390555b6001600160a01b03821661069d576002805482900390556106bc565b6001600160a01b03821660009081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8360405161070191815260200190565b60405180910390a3505050565b600060208083528351808285015260005b8181101561073b5785810183015185820160400152820161071f565b506000604082860101526040601f19601f8301168501019250505092915050565b80356001600160a01b038116811461077357600080fd5b919050565b6000806040838503121561078b57600080fd5b6107948361075c565b946020939093013593505050565b6000806000606084860312156107b757600080fd5b6107c08461075c565b92506107ce6020850161075c565b9150604084013590509250925092565b6000602082840312156107f057600080fd5b6107f98261075c565b9392505050565b6000806040838503121561081357600080fd5b61081c8361075c565b915061082a6020840161075c565b90509250929050565b600181811c9082168061084757607f821691505b60208210810361086757634e487b7160e01b600052602260045260246000fd5b50919050565b808201808211156102b757634e487b7160e01b600052601160045260246000fdfea2646970667358221220b01223401d8477d4ca6f176679b1a3163cb1a8559ae44bc3baf00480dfb35c6764736f6c63430008150033",
}

TestERC20MetaData contains all meta data concerning the TestERC20 contract.

Functions

This section is empty.

Types

type CartesiDApp

type CartesiDApp struct {
	CartesiDAppCaller     // Read-only binding to the contract
	CartesiDAppTransactor // Write-only binding to the contract
	CartesiDAppFilterer   // Log filterer for contract events
}

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

func NewCartesiDApp

func NewCartesiDApp(address common.Address, backend bind.ContractBackend) (*CartesiDApp, error)

NewCartesiDApp creates a new instance of CartesiDApp, bound to a specific deployed contract.

type CartesiDAppCaller

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

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

func NewCartesiDAppCaller

func NewCartesiDAppCaller(address common.Address, caller bind.ContractCaller) (*CartesiDAppCaller, error)

NewCartesiDAppCaller creates a new read-only instance of CartesiDApp, bound to a specific deployed contract.

func (*CartesiDAppCaller) GetConsensus

func (_CartesiDApp *CartesiDAppCaller) GetConsensus(opts *bind.CallOpts) (common.Address, error)

GetConsensus is a free data retrieval call binding the contract method 0x179e740b.

Solidity: function getConsensus() view returns(address)

func (*CartesiDAppCaller) GetTemplateHash

func (_CartesiDApp *CartesiDAppCaller) GetTemplateHash(opts *bind.CallOpts) ([32]byte, error)

GetTemplateHash is a free data retrieval call binding the contract method 0x61b12c66.

Solidity: function getTemplateHash() view returns(bytes32)

func (*CartesiDAppCaller) Owner

func (_CartesiDApp *CartesiDAppCaller) 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)

func (*CartesiDAppCaller) SupportsInterface

func (_CartesiDApp *CartesiDAppCaller) SupportsInterface(opts *bind.CallOpts, interfaceId [4]byte) (bool, error)

SupportsInterface is a free data retrieval call binding the contract method 0x01ffc9a7.

Solidity: function supportsInterface(bytes4 interfaceId) view returns(bool)

func (*CartesiDAppCaller) ValidateNotice

func (_CartesiDApp *CartesiDAppCaller) ValidateNotice(opts *bind.CallOpts, _notice []byte, _proof Proof) (bool, error)

ValidateNotice is a free data retrieval call binding the contract method 0x96487d46.

Solidity: function validateNotice(bytes _notice, ((uint64,uint64,bytes32,bytes32,bytes32,bytes32,bytes32[],bytes32[]),bytes) _proof) view returns(bool)

func (*CartesiDAppCaller) WasVoucherExecuted

func (_CartesiDApp *CartesiDAppCaller) WasVoucherExecuted(opts *bind.CallOpts, _inputIndex *big.Int, _outputIndexWithinInput *big.Int) (bool, error)

WasVoucherExecuted is a free data retrieval call binding the contract method 0x9d9b1145.

Solidity: function wasVoucherExecuted(uint256 _inputIndex, uint256 _outputIndexWithinInput) view returns(bool)

type CartesiDAppCallerRaw

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

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

func (*CartesiDAppCallerRaw) Call

func (_CartesiDApp *CartesiDAppCallerRaw) 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 CartesiDAppCallerSession

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

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

func (*CartesiDAppCallerSession) GetConsensus

func (_CartesiDApp *CartesiDAppCallerSession) GetConsensus() (common.Address, error)

GetConsensus is a free data retrieval call binding the contract method 0x179e740b.

Solidity: function getConsensus() view returns(address)

func (*CartesiDAppCallerSession) GetTemplateHash

func (_CartesiDApp *CartesiDAppCallerSession) GetTemplateHash() ([32]byte, error)

GetTemplateHash is a free data retrieval call binding the contract method 0x61b12c66.

Solidity: function getTemplateHash() view returns(bytes32)

func (*CartesiDAppCallerSession) Owner

func (_CartesiDApp *CartesiDAppCallerSession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*CartesiDAppCallerSession) SupportsInterface

func (_CartesiDApp *CartesiDAppCallerSession) SupportsInterface(interfaceId [4]byte) (bool, error)

SupportsInterface is a free data retrieval call binding the contract method 0x01ffc9a7.

Solidity: function supportsInterface(bytes4 interfaceId) view returns(bool)

func (*CartesiDAppCallerSession) ValidateNotice

func (_CartesiDApp *CartesiDAppCallerSession) ValidateNotice(_notice []byte, _proof Proof) (bool, error)

ValidateNotice is a free data retrieval call binding the contract method 0x96487d46.

Solidity: function validateNotice(bytes _notice, ((uint64,uint64,bytes32,bytes32,bytes32,bytes32,bytes32[],bytes32[]),bytes) _proof) view returns(bool)

func (*CartesiDAppCallerSession) WasVoucherExecuted

func (_CartesiDApp *CartesiDAppCallerSession) WasVoucherExecuted(_inputIndex *big.Int, _outputIndexWithinInput *big.Int) (bool, error)

WasVoucherExecuted is a free data retrieval call binding the contract method 0x9d9b1145.

Solidity: function wasVoucherExecuted(uint256 _inputIndex, uint256 _outputIndexWithinInput) view returns(bool)

type CartesiDAppFilterer

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

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

func NewCartesiDAppFilterer

func NewCartesiDAppFilterer(address common.Address, filterer bind.ContractFilterer) (*CartesiDAppFilterer, error)

NewCartesiDAppFilterer creates a new log filterer instance of CartesiDApp, bound to a specific deployed contract.

func (*CartesiDAppFilterer) FilterNewConsensus

func (_CartesiDApp *CartesiDAppFilterer) FilterNewConsensus(opts *bind.FilterOpts) (*CartesiDAppNewConsensusIterator, error)

FilterNewConsensus is a free log retrieval operation binding the contract event 0x4991c6f37185659e276ff918a96f3e20e6c5abcd8c9aab450dc19c2f7ad35cb5.

Solidity: event NewConsensus(address newConsensus)

func (*CartesiDAppFilterer) FilterOwnershipTransferred

func (_CartesiDApp *CartesiDAppFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*CartesiDAppOwnershipTransferredIterator, error)

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

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

func (*CartesiDAppFilterer) FilterVoucherExecuted

func (_CartesiDApp *CartesiDAppFilterer) FilterVoucherExecuted(opts *bind.FilterOpts) (*CartesiDAppVoucherExecutedIterator, error)

FilterVoucherExecuted is a free log retrieval operation binding the contract event 0x0eb7ee080f865f1cadc4f54daf58cc3b8879e888832867d13351edcec0fbdc54.

Solidity: event VoucherExecuted(uint256 voucherId)

func (*CartesiDAppFilterer) ParseNewConsensus

func (_CartesiDApp *CartesiDAppFilterer) ParseNewConsensus(log types.Log) (*CartesiDAppNewConsensus, error)

ParseNewConsensus is a log parse operation binding the contract event 0x4991c6f37185659e276ff918a96f3e20e6c5abcd8c9aab450dc19c2f7ad35cb5.

Solidity: event NewConsensus(address newConsensus)

func (*CartesiDAppFilterer) ParseOwnershipTransferred

func (_CartesiDApp *CartesiDAppFilterer) ParseOwnershipTransferred(log types.Log) (*CartesiDAppOwnershipTransferred, error)

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

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

func (*CartesiDAppFilterer) ParseVoucherExecuted

func (_CartesiDApp *CartesiDAppFilterer) ParseVoucherExecuted(log types.Log) (*CartesiDAppVoucherExecuted, error)

ParseVoucherExecuted is a log parse operation binding the contract event 0x0eb7ee080f865f1cadc4f54daf58cc3b8879e888832867d13351edcec0fbdc54.

Solidity: event VoucherExecuted(uint256 voucherId)

func (*CartesiDAppFilterer) WatchNewConsensus

func (_CartesiDApp *CartesiDAppFilterer) WatchNewConsensus(opts *bind.WatchOpts, sink chan<- *CartesiDAppNewConsensus) (event.Subscription, error)

WatchNewConsensus is a free log subscription operation binding the contract event 0x4991c6f37185659e276ff918a96f3e20e6c5abcd8c9aab450dc19c2f7ad35cb5.

Solidity: event NewConsensus(address newConsensus)

func (*CartesiDAppFilterer) WatchOwnershipTransferred

func (_CartesiDApp *CartesiDAppFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *CartesiDAppOwnershipTransferred, 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 (*CartesiDAppFilterer) WatchVoucherExecuted

func (_CartesiDApp *CartesiDAppFilterer) WatchVoucherExecuted(opts *bind.WatchOpts, sink chan<- *CartesiDAppVoucherExecuted) (event.Subscription, error)

WatchVoucherExecuted is a free log subscription operation binding the contract event 0x0eb7ee080f865f1cadc4f54daf58cc3b8879e888832867d13351edcec0fbdc54.

Solidity: event VoucherExecuted(uint256 voucherId)

type CartesiDAppNewConsensus

type CartesiDAppNewConsensus struct {
	NewConsensus common.Address
	Raw          types.Log // Blockchain specific contextual infos
}

CartesiDAppNewConsensus represents a NewConsensus event raised by the CartesiDApp contract.

type CartesiDAppNewConsensusIterator

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

CartesiDAppNewConsensusIterator is returned from FilterNewConsensus and is used to iterate over the raw logs and unpacked data for NewConsensus events raised by the CartesiDApp contract.

func (*CartesiDAppNewConsensusIterator) Close

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

func (*CartesiDAppNewConsensusIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*CartesiDAppNewConsensusIterator) 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 CartesiDAppOwnershipTransferred

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

CartesiDAppOwnershipTransferred represents a OwnershipTransferred event raised by the CartesiDApp contract.

type CartesiDAppOwnershipTransferredIterator

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

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

func (*CartesiDAppOwnershipTransferredIterator) Close

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

func (*CartesiDAppOwnershipTransferredIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*CartesiDAppOwnershipTransferredIterator) 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 CartesiDAppRaw

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

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

func (*CartesiDAppRaw) Call

func (_CartesiDApp *CartesiDAppRaw) 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 (*CartesiDAppRaw) Transact

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

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

func (*CartesiDAppRaw) Transfer

func (_CartesiDApp *CartesiDAppRaw) 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 CartesiDAppSession

type CartesiDAppSession struct {
	Contract     *CartesiDApp      // 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
}

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

func (*CartesiDAppSession) ExecuteVoucher

func (_CartesiDApp *CartesiDAppSession) ExecuteVoucher(_destination common.Address, _payload []byte, _proof Proof) (*types.Transaction, error)

ExecuteVoucher is a paid mutator transaction binding the contract method 0x1250482f.

Solidity: function executeVoucher(address _destination, bytes _payload, ((uint64,uint64,bytes32,bytes32,bytes32,bytes32,bytes32[],bytes32[]),bytes) _proof) returns(bool)

func (*CartesiDAppSession) GetConsensus

func (_CartesiDApp *CartesiDAppSession) GetConsensus() (common.Address, error)

GetConsensus is a free data retrieval call binding the contract method 0x179e740b.

Solidity: function getConsensus() view returns(address)

func (*CartesiDAppSession) GetTemplateHash

func (_CartesiDApp *CartesiDAppSession) GetTemplateHash() ([32]byte, error)

GetTemplateHash is a free data retrieval call binding the contract method 0x61b12c66.

Solidity: function getTemplateHash() view returns(bytes32)

func (*CartesiDAppSession) MigrateToConsensus

func (_CartesiDApp *CartesiDAppSession) MigrateToConsensus(_newConsensus common.Address) (*types.Transaction, error)

MigrateToConsensus is a paid mutator transaction binding the contract method 0xfc411683.

Solidity: function migrateToConsensus(address _newConsensus) returns()

func (*CartesiDAppSession) OnERC1155BatchReceived

func (_CartesiDApp *CartesiDAppSession) OnERC1155BatchReceived(arg0 common.Address, arg1 common.Address, arg2 []*big.Int, arg3 []*big.Int, arg4 []byte) (*types.Transaction, error)

OnERC1155BatchReceived is a paid mutator transaction binding the contract method 0xbc197c81.

Solidity: function onERC1155BatchReceived(address , address , uint256[] , uint256[] , bytes ) returns(bytes4)

func (*CartesiDAppSession) OnERC1155Received

func (_CartesiDApp *CartesiDAppSession) OnERC1155Received(arg0 common.Address, arg1 common.Address, arg2 *big.Int, arg3 *big.Int, arg4 []byte) (*types.Transaction, error)

OnERC1155Received is a paid mutator transaction binding the contract method 0xf23a6e61.

Solidity: function onERC1155Received(address , address , uint256 , uint256 , bytes ) returns(bytes4)

func (*CartesiDAppSession) OnERC721Received

func (_CartesiDApp *CartesiDAppSession) OnERC721Received(arg0 common.Address, arg1 common.Address, arg2 *big.Int, arg3 []byte) (*types.Transaction, error)

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

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

func (*CartesiDAppSession) Owner

func (_CartesiDApp *CartesiDAppSession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*CartesiDAppSession) Receive

func (_CartesiDApp *CartesiDAppSession) Receive() (*types.Transaction, error)

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

Solidity: receive() payable returns()

func (*CartesiDAppSession) RenounceOwnership

func (_CartesiDApp *CartesiDAppSession) RenounceOwnership() (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*CartesiDAppSession) SupportsInterface

func (_CartesiDApp *CartesiDAppSession) SupportsInterface(interfaceId [4]byte) (bool, error)

SupportsInterface is a free data retrieval call binding the contract method 0x01ffc9a7.

Solidity: function supportsInterface(bytes4 interfaceId) view returns(bool)

func (*CartesiDAppSession) TransferOwnership

func (_CartesiDApp *CartesiDAppSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)

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

Solidity: function transferOwnership(address newOwner) returns()

func (*CartesiDAppSession) ValidateNotice

func (_CartesiDApp *CartesiDAppSession) ValidateNotice(_notice []byte, _proof Proof) (bool, error)

ValidateNotice is a free data retrieval call binding the contract method 0x96487d46.

Solidity: function validateNotice(bytes _notice, ((uint64,uint64,bytes32,bytes32,bytes32,bytes32,bytes32[],bytes32[]),bytes) _proof) view returns(bool)

func (*CartesiDAppSession) WasVoucherExecuted

func (_CartesiDApp *CartesiDAppSession) WasVoucherExecuted(_inputIndex *big.Int, _outputIndexWithinInput *big.Int) (bool, error)

WasVoucherExecuted is a free data retrieval call binding the contract method 0x9d9b1145.

Solidity: function wasVoucherExecuted(uint256 _inputIndex, uint256 _outputIndexWithinInput) view returns(bool)

func (*CartesiDAppSession) WithdrawEther

func (_CartesiDApp *CartesiDAppSession) WithdrawEther(_receiver common.Address, _value *big.Int) (*types.Transaction, error)

WithdrawEther is a paid mutator transaction binding the contract method 0x522f6815.

Solidity: function withdrawEther(address _receiver, uint256 _value) returns()

type CartesiDAppTransactor

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

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

func NewCartesiDAppTransactor

func NewCartesiDAppTransactor(address common.Address, transactor bind.ContractTransactor) (*CartesiDAppTransactor, error)

NewCartesiDAppTransactor creates a new write-only instance of CartesiDApp, bound to a specific deployed contract.

func (*CartesiDAppTransactor) ExecuteVoucher

func (_CartesiDApp *CartesiDAppTransactor) ExecuteVoucher(opts *bind.TransactOpts, _destination common.Address, _payload []byte, _proof Proof) (*types.Transaction, error)

ExecuteVoucher is a paid mutator transaction binding the contract method 0x1250482f.

Solidity: function executeVoucher(address _destination, bytes _payload, ((uint64,uint64,bytes32,bytes32,bytes32,bytes32,bytes32[],bytes32[]),bytes) _proof) returns(bool)

func (*CartesiDAppTransactor) MigrateToConsensus

func (_CartesiDApp *CartesiDAppTransactor) MigrateToConsensus(opts *bind.TransactOpts, _newConsensus common.Address) (*types.Transaction, error)

MigrateToConsensus is a paid mutator transaction binding the contract method 0xfc411683.

Solidity: function migrateToConsensus(address _newConsensus) returns()

func (*CartesiDAppTransactor) OnERC1155BatchReceived

func (_CartesiDApp *CartesiDAppTransactor) OnERC1155BatchReceived(opts *bind.TransactOpts, arg0 common.Address, arg1 common.Address, arg2 []*big.Int, arg3 []*big.Int, arg4 []byte) (*types.Transaction, error)

OnERC1155BatchReceived is a paid mutator transaction binding the contract method 0xbc197c81.

Solidity: function onERC1155BatchReceived(address , address , uint256[] , uint256[] , bytes ) returns(bytes4)

func (*CartesiDAppTransactor) OnERC1155Received

func (_CartesiDApp *CartesiDAppTransactor) OnERC1155Received(opts *bind.TransactOpts, arg0 common.Address, arg1 common.Address, arg2 *big.Int, arg3 *big.Int, arg4 []byte) (*types.Transaction, error)

OnERC1155Received is a paid mutator transaction binding the contract method 0xf23a6e61.

Solidity: function onERC1155Received(address , address , uint256 , uint256 , bytes ) returns(bytes4)

func (*CartesiDAppTransactor) OnERC721Received

func (_CartesiDApp *CartesiDAppTransactor) OnERC721Received(opts *bind.TransactOpts, arg0 common.Address, arg1 common.Address, arg2 *big.Int, arg3 []byte) (*types.Transaction, error)

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

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

func (*CartesiDAppTransactor) Receive

func (_CartesiDApp *CartesiDAppTransactor) Receive(opts *bind.TransactOpts) (*types.Transaction, error)

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

Solidity: receive() payable returns()

func (*CartesiDAppTransactor) RenounceOwnership

func (_CartesiDApp *CartesiDAppTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*CartesiDAppTransactor) TransferOwnership

func (_CartesiDApp *CartesiDAppTransactor) 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()

func (*CartesiDAppTransactor) WithdrawEther

func (_CartesiDApp *CartesiDAppTransactor) WithdrawEther(opts *bind.TransactOpts, _receiver common.Address, _value *big.Int) (*types.Transaction, error)

WithdrawEther is a paid mutator transaction binding the contract method 0x522f6815.

Solidity: function withdrawEther(address _receiver, uint256 _value) returns()

type CartesiDAppTransactorRaw

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

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

func (*CartesiDAppTransactorRaw) Transact

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

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

func (*CartesiDAppTransactorRaw) Transfer

func (_CartesiDApp *CartesiDAppTransactorRaw) 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 CartesiDAppTransactorSession

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

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

func (*CartesiDAppTransactorSession) ExecuteVoucher

func (_CartesiDApp *CartesiDAppTransactorSession) ExecuteVoucher(_destination common.Address, _payload []byte, _proof Proof) (*types.Transaction, error)

ExecuteVoucher is a paid mutator transaction binding the contract method 0x1250482f.

Solidity: function executeVoucher(address _destination, bytes _payload, ((uint64,uint64,bytes32,bytes32,bytes32,bytes32,bytes32[],bytes32[]),bytes) _proof) returns(bool)

func (*CartesiDAppTransactorSession) MigrateToConsensus

func (_CartesiDApp *CartesiDAppTransactorSession) MigrateToConsensus(_newConsensus common.Address) (*types.Transaction, error)

MigrateToConsensus is a paid mutator transaction binding the contract method 0xfc411683.

Solidity: function migrateToConsensus(address _newConsensus) returns()

func (*CartesiDAppTransactorSession) OnERC1155BatchReceived

func (_CartesiDApp *CartesiDAppTransactorSession) OnERC1155BatchReceived(arg0 common.Address, arg1 common.Address, arg2 []*big.Int, arg3 []*big.Int, arg4 []byte) (*types.Transaction, error)

OnERC1155BatchReceived is a paid mutator transaction binding the contract method 0xbc197c81.

Solidity: function onERC1155BatchReceived(address , address , uint256[] , uint256[] , bytes ) returns(bytes4)

func (*CartesiDAppTransactorSession) OnERC1155Received

func (_CartesiDApp *CartesiDAppTransactorSession) OnERC1155Received(arg0 common.Address, arg1 common.Address, arg2 *big.Int, arg3 *big.Int, arg4 []byte) (*types.Transaction, error)

OnERC1155Received is a paid mutator transaction binding the contract method 0xf23a6e61.

Solidity: function onERC1155Received(address , address , uint256 , uint256 , bytes ) returns(bytes4)

func (*CartesiDAppTransactorSession) OnERC721Received

func (_CartesiDApp *CartesiDAppTransactorSession) OnERC721Received(arg0 common.Address, arg1 common.Address, arg2 *big.Int, arg3 []byte) (*types.Transaction, error)

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

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

func (*CartesiDAppTransactorSession) Receive

func (_CartesiDApp *CartesiDAppTransactorSession) Receive() (*types.Transaction, error)

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

Solidity: receive() payable returns()

func (*CartesiDAppTransactorSession) RenounceOwnership

func (_CartesiDApp *CartesiDAppTransactorSession) RenounceOwnership() (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*CartesiDAppTransactorSession) TransferOwnership

func (_CartesiDApp *CartesiDAppTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)

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

Solidity: function transferOwnership(address newOwner) returns()

func (*CartesiDAppTransactorSession) WithdrawEther

func (_CartesiDApp *CartesiDAppTransactorSession) WithdrawEther(_receiver common.Address, _value *big.Int) (*types.Transaction, error)

WithdrawEther is a paid mutator transaction binding the contract method 0x522f6815.

Solidity: function withdrawEther(address _receiver, uint256 _value) returns()

type CartesiDAppVoucherExecuted

type CartesiDAppVoucherExecuted struct {
	VoucherId *big.Int
	Raw       types.Log // Blockchain specific contextual infos
}

CartesiDAppVoucherExecuted represents a VoucherExecuted event raised by the CartesiDApp contract.

type CartesiDAppVoucherExecutedIterator

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

CartesiDAppVoucherExecutedIterator is returned from FilterVoucherExecuted and is used to iterate over the raw logs and unpacked data for VoucherExecuted events raised by the CartesiDApp contract.

func (*CartesiDAppVoucherExecutedIterator) Close

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

func (*CartesiDAppVoucherExecutedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*CartesiDAppVoucherExecutedIterator) 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 DAppAddressRelay

type DAppAddressRelay struct {
	DAppAddressRelayCaller     // Read-only binding to the contract
	DAppAddressRelayTransactor // Write-only binding to the contract
	DAppAddressRelayFilterer   // Log filterer for contract events
}

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

func NewDAppAddressRelay

func NewDAppAddressRelay(address common.Address, backend bind.ContractBackend) (*DAppAddressRelay, error)

NewDAppAddressRelay creates a new instance of DAppAddressRelay, bound to a specific deployed contract.

type DAppAddressRelayCaller

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

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

func NewDAppAddressRelayCaller

func NewDAppAddressRelayCaller(address common.Address, caller bind.ContractCaller) (*DAppAddressRelayCaller, error)

NewDAppAddressRelayCaller creates a new read-only instance of DAppAddressRelay, bound to a specific deployed contract.

func (*DAppAddressRelayCaller) GetInputBox

func (_DAppAddressRelay *DAppAddressRelayCaller) GetInputBox(opts *bind.CallOpts) (common.Address, error)

GetInputBox is a free data retrieval call binding the contract method 0x00aace9a.

Solidity: function getInputBox() view returns(address)

type DAppAddressRelayCallerRaw

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

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

func (*DAppAddressRelayCallerRaw) Call

func (_DAppAddressRelay *DAppAddressRelayCallerRaw) 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 DAppAddressRelayCallerSession

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

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

func (*DAppAddressRelayCallerSession) GetInputBox

func (_DAppAddressRelay *DAppAddressRelayCallerSession) GetInputBox() (common.Address, error)

GetInputBox is a free data retrieval call binding the contract method 0x00aace9a.

Solidity: function getInputBox() view returns(address)

type DAppAddressRelayFilterer

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

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

func NewDAppAddressRelayFilterer

func NewDAppAddressRelayFilterer(address common.Address, filterer bind.ContractFilterer) (*DAppAddressRelayFilterer, error)

NewDAppAddressRelayFilterer creates a new log filterer instance of DAppAddressRelay, bound to a specific deployed contract.

type DAppAddressRelayRaw

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

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

func (*DAppAddressRelayRaw) Call

func (_DAppAddressRelay *DAppAddressRelayRaw) 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 (*DAppAddressRelayRaw) Transact

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

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

func (*DAppAddressRelayRaw) Transfer

func (_DAppAddressRelay *DAppAddressRelayRaw) 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 DAppAddressRelaySession

type DAppAddressRelaySession struct {
	Contract     *DAppAddressRelay // 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
}

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

func (*DAppAddressRelaySession) GetInputBox

func (_DAppAddressRelay *DAppAddressRelaySession) GetInputBox() (common.Address, error)

GetInputBox is a free data retrieval call binding the contract method 0x00aace9a.

Solidity: function getInputBox() view returns(address)

func (*DAppAddressRelaySession) RelayDAppAddress

func (_DAppAddressRelay *DAppAddressRelaySession) RelayDAppAddress(_dapp common.Address) (*types.Transaction, error)

RelayDAppAddress is a paid mutator transaction binding the contract method 0x3016f49e.

Solidity: function relayDAppAddress(address _dapp) returns()

type DAppAddressRelayTransactor

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

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

func NewDAppAddressRelayTransactor

func NewDAppAddressRelayTransactor(address common.Address, transactor bind.ContractTransactor) (*DAppAddressRelayTransactor, error)

NewDAppAddressRelayTransactor creates a new write-only instance of DAppAddressRelay, bound to a specific deployed contract.

func (*DAppAddressRelayTransactor) RelayDAppAddress

func (_DAppAddressRelay *DAppAddressRelayTransactor) RelayDAppAddress(opts *bind.TransactOpts, _dapp common.Address) (*types.Transaction, error)

RelayDAppAddress is a paid mutator transaction binding the contract method 0x3016f49e.

Solidity: function relayDAppAddress(address _dapp) returns()

type DAppAddressRelayTransactorRaw

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

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

func (*DAppAddressRelayTransactorRaw) Transact

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

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

func (*DAppAddressRelayTransactorRaw) Transfer

func (_DAppAddressRelay *DAppAddressRelayTransactorRaw) 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 DAppAddressRelayTransactorSession

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

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

func (*DAppAddressRelayTransactorSession) RelayDAppAddress

func (_DAppAddressRelay *DAppAddressRelayTransactorSession) RelayDAppAddress(_dapp common.Address) (*types.Transaction, error)

RelayDAppAddress is a paid mutator transaction binding the contract method 0x3016f49e.

Solidity: function relayDAppAddress(address _dapp) returns()

type ERC1155BatchPortal

type ERC1155BatchPortal struct {
	ERC1155BatchPortalCaller     // Read-only binding to the contract
	ERC1155BatchPortalTransactor // Write-only binding to the contract
	ERC1155BatchPortalFilterer   // Log filterer for contract events
}

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

func NewERC1155BatchPortal

func NewERC1155BatchPortal(address common.Address, backend bind.ContractBackend) (*ERC1155BatchPortal, error)

NewERC1155BatchPortal creates a new instance of ERC1155BatchPortal, bound to a specific deployed contract.

type ERC1155BatchPortalCaller

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

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

func NewERC1155BatchPortalCaller

func NewERC1155BatchPortalCaller(address common.Address, caller bind.ContractCaller) (*ERC1155BatchPortalCaller, error)

NewERC1155BatchPortalCaller creates a new read-only instance of ERC1155BatchPortal, bound to a specific deployed contract.

func (*ERC1155BatchPortalCaller) GetInputBox

func (_ERC1155BatchPortal *ERC1155BatchPortalCaller) GetInputBox(opts *bind.CallOpts) (common.Address, error)

GetInputBox is a free data retrieval call binding the contract method 0x00aace9a.

Solidity: function getInputBox() view returns(address)

type ERC1155BatchPortalCallerRaw

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

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

func (*ERC1155BatchPortalCallerRaw) Call

func (_ERC1155BatchPortal *ERC1155BatchPortalCallerRaw) 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 ERC1155BatchPortalCallerSession

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

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

func (*ERC1155BatchPortalCallerSession) GetInputBox

func (_ERC1155BatchPortal *ERC1155BatchPortalCallerSession) GetInputBox() (common.Address, error)

GetInputBox is a free data retrieval call binding the contract method 0x00aace9a.

Solidity: function getInputBox() view returns(address)

type ERC1155BatchPortalFilterer

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

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

func NewERC1155BatchPortalFilterer

func NewERC1155BatchPortalFilterer(address common.Address, filterer bind.ContractFilterer) (*ERC1155BatchPortalFilterer, error)

NewERC1155BatchPortalFilterer creates a new log filterer instance of ERC1155BatchPortal, bound to a specific deployed contract.

type ERC1155BatchPortalRaw

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

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

func (*ERC1155BatchPortalRaw) Call

func (_ERC1155BatchPortal *ERC1155BatchPortalRaw) 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 (*ERC1155BatchPortalRaw) Transact

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

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

func (*ERC1155BatchPortalRaw) Transfer

func (_ERC1155BatchPortal *ERC1155BatchPortalRaw) 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 ERC1155BatchPortalSession

type ERC1155BatchPortalSession struct {
	Contract     *ERC1155BatchPortal // 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
}

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

func (*ERC1155BatchPortalSession) DepositBatchERC1155Token

func (_ERC1155BatchPortal *ERC1155BatchPortalSession) DepositBatchERC1155Token(_token common.Address, _dapp common.Address, _tokenIds []*big.Int, _values []*big.Int, _baseLayerData []byte, _execLayerData []byte) (*types.Transaction, error)

DepositBatchERC1155Token is a paid mutator transaction binding the contract method 0x24d15c67.

Solidity: function depositBatchERC1155Token(address _token, address _dapp, uint256[] _tokenIds, uint256[] _values, bytes _baseLayerData, bytes _execLayerData) returns()

func (*ERC1155BatchPortalSession) GetInputBox

func (_ERC1155BatchPortal *ERC1155BatchPortalSession) GetInputBox() (common.Address, error)

GetInputBox is a free data retrieval call binding the contract method 0x00aace9a.

Solidity: function getInputBox() view returns(address)

type ERC1155BatchPortalTransactor

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

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

func NewERC1155BatchPortalTransactor

func NewERC1155BatchPortalTransactor(address common.Address, transactor bind.ContractTransactor) (*ERC1155BatchPortalTransactor, error)

NewERC1155BatchPortalTransactor creates a new write-only instance of ERC1155BatchPortal, bound to a specific deployed contract.

func (*ERC1155BatchPortalTransactor) DepositBatchERC1155Token

func (_ERC1155BatchPortal *ERC1155BatchPortalTransactor) DepositBatchERC1155Token(opts *bind.TransactOpts, _token common.Address, _dapp common.Address, _tokenIds []*big.Int, _values []*big.Int, _baseLayerData []byte, _execLayerData []byte) (*types.Transaction, error)

DepositBatchERC1155Token is a paid mutator transaction binding the contract method 0x24d15c67.

Solidity: function depositBatchERC1155Token(address _token, address _dapp, uint256[] _tokenIds, uint256[] _values, bytes _baseLayerData, bytes _execLayerData) returns()

type ERC1155BatchPortalTransactorRaw

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

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

func (*ERC1155BatchPortalTransactorRaw) Transact

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

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

func (*ERC1155BatchPortalTransactorRaw) Transfer

func (_ERC1155BatchPortal *ERC1155BatchPortalTransactorRaw) 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 ERC1155BatchPortalTransactorSession

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

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

func (*ERC1155BatchPortalTransactorSession) DepositBatchERC1155Token

func (_ERC1155BatchPortal *ERC1155BatchPortalTransactorSession) DepositBatchERC1155Token(_token common.Address, _dapp common.Address, _tokenIds []*big.Int, _values []*big.Int, _baseLayerData []byte, _execLayerData []byte) (*types.Transaction, error)

DepositBatchERC1155Token is a paid mutator transaction binding the contract method 0x24d15c67.

Solidity: function depositBatchERC1155Token(address _token, address _dapp, uint256[] _tokenIds, uint256[] _values, bytes _baseLayerData, bytes _execLayerData) returns()

type ERC1155SinglePortal

type ERC1155SinglePortal struct {
	ERC1155SinglePortalCaller     // Read-only binding to the contract
	ERC1155SinglePortalTransactor // Write-only binding to the contract
	ERC1155SinglePortalFilterer   // Log filterer for contract events
}

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

func NewERC1155SinglePortal

func NewERC1155SinglePortal(address common.Address, backend bind.ContractBackend) (*ERC1155SinglePortal, error)

NewERC1155SinglePortal creates a new instance of ERC1155SinglePortal, bound to a specific deployed contract.

type ERC1155SinglePortalCaller

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

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

func NewERC1155SinglePortalCaller

func NewERC1155SinglePortalCaller(address common.Address, caller bind.ContractCaller) (*ERC1155SinglePortalCaller, error)

NewERC1155SinglePortalCaller creates a new read-only instance of ERC1155SinglePortal, bound to a specific deployed contract.

func (*ERC1155SinglePortalCaller) GetInputBox

func (_ERC1155SinglePortal *ERC1155SinglePortalCaller) GetInputBox(opts *bind.CallOpts) (common.Address, error)

GetInputBox is a free data retrieval call binding the contract method 0x00aace9a.

Solidity: function getInputBox() view returns(address)

type ERC1155SinglePortalCallerRaw

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

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

func (*ERC1155SinglePortalCallerRaw) Call

func (_ERC1155SinglePortal *ERC1155SinglePortalCallerRaw) 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 ERC1155SinglePortalCallerSession

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

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

func (*ERC1155SinglePortalCallerSession) GetInputBox

func (_ERC1155SinglePortal *ERC1155SinglePortalCallerSession) GetInputBox() (common.Address, error)

GetInputBox is a free data retrieval call binding the contract method 0x00aace9a.

Solidity: function getInputBox() view returns(address)

type ERC1155SinglePortalFilterer

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

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

func NewERC1155SinglePortalFilterer

func NewERC1155SinglePortalFilterer(address common.Address, filterer bind.ContractFilterer) (*ERC1155SinglePortalFilterer, error)

NewERC1155SinglePortalFilterer creates a new log filterer instance of ERC1155SinglePortal, bound to a specific deployed contract.

type ERC1155SinglePortalRaw

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

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

func (*ERC1155SinglePortalRaw) Call

func (_ERC1155SinglePortal *ERC1155SinglePortalRaw) 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 (*ERC1155SinglePortalRaw) Transact

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

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

func (*ERC1155SinglePortalRaw) Transfer

func (_ERC1155SinglePortal *ERC1155SinglePortalRaw) 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 ERC1155SinglePortalSession

type ERC1155SinglePortalSession struct {
	Contract     *ERC1155SinglePortal // 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
}

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

func (*ERC1155SinglePortalSession) DepositSingleERC1155Token

func (_ERC1155SinglePortal *ERC1155SinglePortalSession) DepositSingleERC1155Token(_token common.Address, _dapp common.Address, _tokenId *big.Int, _value *big.Int, _baseLayerData []byte, _execLayerData []byte) (*types.Transaction, error)

DepositSingleERC1155Token is a paid mutator transaction binding the contract method 0xdec07dca.

Solidity: function depositSingleERC1155Token(address _token, address _dapp, uint256 _tokenId, uint256 _value, bytes _baseLayerData, bytes _execLayerData) returns()

func (*ERC1155SinglePortalSession) GetInputBox

func (_ERC1155SinglePortal *ERC1155SinglePortalSession) GetInputBox() (common.Address, error)

GetInputBox is a free data retrieval call binding the contract method 0x00aace9a.

Solidity: function getInputBox() view returns(address)

type ERC1155SinglePortalTransactor

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

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

func NewERC1155SinglePortalTransactor

func NewERC1155SinglePortalTransactor(address common.Address, transactor bind.ContractTransactor) (*ERC1155SinglePortalTransactor, error)

NewERC1155SinglePortalTransactor creates a new write-only instance of ERC1155SinglePortal, bound to a specific deployed contract.

func (*ERC1155SinglePortalTransactor) DepositSingleERC1155Token

func (_ERC1155SinglePortal *ERC1155SinglePortalTransactor) DepositSingleERC1155Token(opts *bind.TransactOpts, _token common.Address, _dapp common.Address, _tokenId *big.Int, _value *big.Int, _baseLayerData []byte, _execLayerData []byte) (*types.Transaction, error)

DepositSingleERC1155Token is a paid mutator transaction binding the contract method 0xdec07dca.

Solidity: function depositSingleERC1155Token(address _token, address _dapp, uint256 _tokenId, uint256 _value, bytes _baseLayerData, bytes _execLayerData) returns()

type ERC1155SinglePortalTransactorRaw

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

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

func (*ERC1155SinglePortalTransactorRaw) Transact

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

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

func (*ERC1155SinglePortalTransactorRaw) Transfer

func (_ERC1155SinglePortal *ERC1155SinglePortalTransactorRaw) 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 ERC1155SinglePortalTransactorSession

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

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

func (*ERC1155SinglePortalTransactorSession) DepositSingleERC1155Token

func (_ERC1155SinglePortal *ERC1155SinglePortalTransactorSession) DepositSingleERC1155Token(_token common.Address, _dapp common.Address, _tokenId *big.Int, _value *big.Int, _baseLayerData []byte, _execLayerData []byte) (*types.Transaction, error)

DepositSingleERC1155Token is a paid mutator transaction binding the contract method 0xdec07dca.

Solidity: function depositSingleERC1155Token(address _token, address _dapp, uint256 _tokenId, uint256 _value, bytes _baseLayerData, bytes _execLayerData) returns()

type ERC20Portal

type ERC20Portal struct {
	ERC20PortalCaller     // Read-only binding to the contract
	ERC20PortalTransactor // Write-only binding to the contract
	ERC20PortalFilterer   // Log filterer for contract events
}

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

func NewERC20Portal

func NewERC20Portal(address common.Address, backend bind.ContractBackend) (*ERC20Portal, error)

NewERC20Portal creates a new instance of ERC20Portal, bound to a specific deployed contract.

type ERC20PortalCaller

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

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

func NewERC20PortalCaller

func NewERC20PortalCaller(address common.Address, caller bind.ContractCaller) (*ERC20PortalCaller, error)

NewERC20PortalCaller creates a new read-only instance of ERC20Portal, bound to a specific deployed contract.

func (*ERC20PortalCaller) GetInputBox

func (_ERC20Portal *ERC20PortalCaller) GetInputBox(opts *bind.CallOpts) (common.Address, error)

GetInputBox is a free data retrieval call binding the contract method 0x00aace9a.

Solidity: function getInputBox() view returns(address)

type ERC20PortalCallerRaw

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

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

func (*ERC20PortalCallerRaw) Call

func (_ERC20Portal *ERC20PortalCallerRaw) 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 ERC20PortalCallerSession

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

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

func (*ERC20PortalCallerSession) GetInputBox

func (_ERC20Portal *ERC20PortalCallerSession) GetInputBox() (common.Address, error)

GetInputBox is a free data retrieval call binding the contract method 0x00aace9a.

Solidity: function getInputBox() view returns(address)

type ERC20PortalFilterer

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

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

func NewERC20PortalFilterer

func NewERC20PortalFilterer(address common.Address, filterer bind.ContractFilterer) (*ERC20PortalFilterer, error)

NewERC20PortalFilterer creates a new log filterer instance of ERC20Portal, bound to a specific deployed contract.

type ERC20PortalRaw

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

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

func (*ERC20PortalRaw) Call

func (_ERC20Portal *ERC20PortalRaw) 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 (*ERC20PortalRaw) Transact

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

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

func (*ERC20PortalRaw) Transfer

func (_ERC20Portal *ERC20PortalRaw) 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 ERC20PortalSession

type ERC20PortalSession struct {
	Contract     *ERC20Portal      // 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
}

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

func (*ERC20PortalSession) DepositERC20Tokens

func (_ERC20Portal *ERC20PortalSession) DepositERC20Tokens(_token common.Address, _dapp common.Address, _amount *big.Int, _execLayerData []byte) (*types.Transaction, error)

DepositERC20Tokens is a paid mutator transaction binding the contract method 0x95854b81.

Solidity: function depositERC20Tokens(address _token, address _dapp, uint256 _amount, bytes _execLayerData) returns()

func (*ERC20PortalSession) GetInputBox

func (_ERC20Portal *ERC20PortalSession) GetInputBox() (common.Address, error)

GetInputBox is a free data retrieval call binding the contract method 0x00aace9a.

Solidity: function getInputBox() view returns(address)

type ERC20PortalTransactor

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

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

func NewERC20PortalTransactor

func NewERC20PortalTransactor(address common.Address, transactor bind.ContractTransactor) (*ERC20PortalTransactor, error)

NewERC20PortalTransactor creates a new write-only instance of ERC20Portal, bound to a specific deployed contract.

func (*ERC20PortalTransactor) DepositERC20Tokens

func (_ERC20Portal *ERC20PortalTransactor) DepositERC20Tokens(opts *bind.TransactOpts, _token common.Address, _dapp common.Address, _amount *big.Int, _execLayerData []byte) (*types.Transaction, error)

DepositERC20Tokens is a paid mutator transaction binding the contract method 0x95854b81.

Solidity: function depositERC20Tokens(address _token, address _dapp, uint256 _amount, bytes _execLayerData) returns()

type ERC20PortalTransactorRaw

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

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

func (*ERC20PortalTransactorRaw) Transact

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

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

func (*ERC20PortalTransactorRaw) Transfer

func (_ERC20Portal *ERC20PortalTransactorRaw) 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 ERC20PortalTransactorSession

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

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

func (*ERC20PortalTransactorSession) DepositERC20Tokens

func (_ERC20Portal *ERC20PortalTransactorSession) DepositERC20Tokens(_token common.Address, _dapp common.Address, _amount *big.Int, _execLayerData []byte) (*types.Transaction, error)

DepositERC20Tokens is a paid mutator transaction binding the contract method 0x95854b81.

Solidity: function depositERC20Tokens(address _token, address _dapp, uint256 _amount, bytes _execLayerData) returns()

type ERC721Portal

type ERC721Portal struct {
	ERC721PortalCaller     // Read-only binding to the contract
	ERC721PortalTransactor // Write-only binding to the contract
	ERC721PortalFilterer   // Log filterer for contract events
}

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

func NewERC721Portal

func NewERC721Portal(address common.Address, backend bind.ContractBackend) (*ERC721Portal, error)

NewERC721Portal creates a new instance of ERC721Portal, bound to a specific deployed contract.

type ERC721PortalCaller

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

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

func NewERC721PortalCaller

func NewERC721PortalCaller(address common.Address, caller bind.ContractCaller) (*ERC721PortalCaller, error)

NewERC721PortalCaller creates a new read-only instance of ERC721Portal, bound to a specific deployed contract.

func (*ERC721PortalCaller) GetInputBox

func (_ERC721Portal *ERC721PortalCaller) GetInputBox(opts *bind.CallOpts) (common.Address, error)

GetInputBox is a free data retrieval call binding the contract method 0x00aace9a.

Solidity: function getInputBox() view returns(address)

type ERC721PortalCallerRaw

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

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

func (*ERC721PortalCallerRaw) Call

func (_ERC721Portal *ERC721PortalCallerRaw) 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 ERC721PortalCallerSession

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

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

func (*ERC721PortalCallerSession) GetInputBox

func (_ERC721Portal *ERC721PortalCallerSession) GetInputBox() (common.Address, error)

GetInputBox is a free data retrieval call binding the contract method 0x00aace9a.

Solidity: function getInputBox() view returns(address)

type ERC721PortalFilterer

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

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

func NewERC721PortalFilterer

func NewERC721PortalFilterer(address common.Address, filterer bind.ContractFilterer) (*ERC721PortalFilterer, error)

NewERC721PortalFilterer creates a new log filterer instance of ERC721Portal, bound to a specific deployed contract.

type ERC721PortalRaw

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

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

func (*ERC721PortalRaw) Call

func (_ERC721Portal *ERC721PortalRaw) 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 (*ERC721PortalRaw) Transact

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

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

func (*ERC721PortalRaw) Transfer

func (_ERC721Portal *ERC721PortalRaw) 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 ERC721PortalSession

type ERC721PortalSession struct {
	Contract     *ERC721Portal     // 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
}

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

func (*ERC721PortalSession) DepositERC721Token

func (_ERC721Portal *ERC721PortalSession) DepositERC721Token(_token common.Address, _dapp common.Address, _tokenId *big.Int, _baseLayerData []byte, _execLayerData []byte) (*types.Transaction, error)

DepositERC721Token is a paid mutator transaction binding the contract method 0x28911e83.

Solidity: function depositERC721Token(address _token, address _dapp, uint256 _tokenId, bytes _baseLayerData, bytes _execLayerData) returns()

func (*ERC721PortalSession) GetInputBox

func (_ERC721Portal *ERC721PortalSession) GetInputBox() (common.Address, error)

GetInputBox is a free data retrieval call binding the contract method 0x00aace9a.

Solidity: function getInputBox() view returns(address)

type ERC721PortalTransactor

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

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

func NewERC721PortalTransactor

func NewERC721PortalTransactor(address common.Address, transactor bind.ContractTransactor) (*ERC721PortalTransactor, error)

NewERC721PortalTransactor creates a new write-only instance of ERC721Portal, bound to a specific deployed contract.

func (*ERC721PortalTransactor) DepositERC721Token

func (_ERC721Portal *ERC721PortalTransactor) DepositERC721Token(opts *bind.TransactOpts, _token common.Address, _dapp common.Address, _tokenId *big.Int, _baseLayerData []byte, _execLayerData []byte) (*types.Transaction, error)

DepositERC721Token is a paid mutator transaction binding the contract method 0x28911e83.

Solidity: function depositERC721Token(address _token, address _dapp, uint256 _tokenId, bytes _baseLayerData, bytes _execLayerData) returns()

type ERC721PortalTransactorRaw

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

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

func (*ERC721PortalTransactorRaw) Transact

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

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

func (*ERC721PortalTransactorRaw) Transfer

func (_ERC721Portal *ERC721PortalTransactorRaw) 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 ERC721PortalTransactorSession

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

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

func (*ERC721PortalTransactorSession) DepositERC721Token

func (_ERC721Portal *ERC721PortalTransactorSession) DepositERC721Token(_token common.Address, _dapp common.Address, _tokenId *big.Int, _baseLayerData []byte, _execLayerData []byte) (*types.Transaction, error)

DepositERC721Token is a paid mutator transaction binding the contract method 0x28911e83.

Solidity: function depositERC721Token(address _token, address _dapp, uint256 _tokenId, bytes _baseLayerData, bytes _execLayerData) returns()

type EtherPortal

type EtherPortal struct {
	EtherPortalCaller     // Read-only binding to the contract
	EtherPortalTransactor // Write-only binding to the contract
	EtherPortalFilterer   // Log filterer for contract events
}

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

func NewEtherPortal

func NewEtherPortal(address common.Address, backend bind.ContractBackend) (*EtherPortal, error)

NewEtherPortal creates a new instance of EtherPortal, bound to a specific deployed contract.

type EtherPortalCaller

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

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

func NewEtherPortalCaller

func NewEtherPortalCaller(address common.Address, caller bind.ContractCaller) (*EtherPortalCaller, error)

NewEtherPortalCaller creates a new read-only instance of EtherPortal, bound to a specific deployed contract.

func (*EtherPortalCaller) GetInputBox

func (_EtherPortal *EtherPortalCaller) GetInputBox(opts *bind.CallOpts) (common.Address, error)

GetInputBox is a free data retrieval call binding the contract method 0x00aace9a.

Solidity: function getInputBox() view returns(address)

type EtherPortalCallerRaw

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

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

func (*EtherPortalCallerRaw) Call

func (_EtherPortal *EtherPortalCallerRaw) 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 EtherPortalCallerSession

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

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

func (*EtherPortalCallerSession) GetInputBox

func (_EtherPortal *EtherPortalCallerSession) GetInputBox() (common.Address, error)

GetInputBox is a free data retrieval call binding the contract method 0x00aace9a.

Solidity: function getInputBox() view returns(address)

type EtherPortalFilterer

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

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

func NewEtherPortalFilterer

func NewEtherPortalFilterer(address common.Address, filterer bind.ContractFilterer) (*EtherPortalFilterer, error)

NewEtherPortalFilterer creates a new log filterer instance of EtherPortal, bound to a specific deployed contract.

type EtherPortalRaw

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

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

func (*EtherPortalRaw) Call

func (_EtherPortal *EtherPortalRaw) 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 (*EtherPortalRaw) Transact

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

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

func (*EtherPortalRaw) Transfer

func (_EtherPortal *EtherPortalRaw) 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 EtherPortalSession

type EtherPortalSession struct {
	Contract     *EtherPortal      // 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
}

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

func (*EtherPortalSession) DepositEther

func (_EtherPortal *EtherPortalSession) DepositEther(_dapp common.Address, _execLayerData []byte) (*types.Transaction, error)

DepositEther is a paid mutator transaction binding the contract method 0x938c054f.

Solidity: function depositEther(address _dapp, bytes _execLayerData) payable returns()

func (*EtherPortalSession) GetInputBox

func (_EtherPortal *EtherPortalSession) GetInputBox() (common.Address, error)

GetInputBox is a free data retrieval call binding the contract method 0x00aace9a.

Solidity: function getInputBox() view returns(address)

type EtherPortalTransactor

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

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

func NewEtherPortalTransactor

func NewEtherPortalTransactor(address common.Address, transactor bind.ContractTransactor) (*EtherPortalTransactor, error)

NewEtherPortalTransactor creates a new write-only instance of EtherPortal, bound to a specific deployed contract.

func (*EtherPortalTransactor) DepositEther

func (_EtherPortal *EtherPortalTransactor) DepositEther(opts *bind.TransactOpts, _dapp common.Address, _execLayerData []byte) (*types.Transaction, error)

DepositEther is a paid mutator transaction binding the contract method 0x938c054f.

Solidity: function depositEther(address _dapp, bytes _execLayerData) payable returns()

type EtherPortalTransactorRaw

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

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

func (*EtherPortalTransactorRaw) Transact

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

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

func (*EtherPortalTransactorRaw) Transfer

func (_EtherPortal *EtherPortalTransactorRaw) 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 EtherPortalTransactorSession

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

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

func (*EtherPortalTransactorSession) DepositEther

func (_EtherPortal *EtherPortalTransactorSession) DepositEther(_dapp common.Address, _execLayerData []byte) (*types.Transaction, error)

DepositEther is a paid mutator transaction binding the contract method 0x938c054f.

Solidity: function depositEther(address _dapp, bytes _execLayerData) payable returns()

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, value *big.Int) (*types.Transaction, error)

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

Solidity: function approve(address spender, uint256 value) 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, value *big.Int) (*types.Transaction, error)

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

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

func (*IERC20Session) TransferFrom

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

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

Solidity: function transferFrom(address from, address to, uint256 value) 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, value *big.Int) (*types.Transaction, error)

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

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

func (*IERC20Transactor) Transfer

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

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

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

func (*IERC20Transactor) TransferFrom

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

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

Solidity: function transferFrom(address from, address to, uint256 value) 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, value *big.Int) (*types.Transaction, error)

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

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

func (*IERC20TransactorSession) Transfer

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

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

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

func (*IERC20TransactorSession) TransferFrom

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

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

Solidity: function transferFrom(address from, address to, uint256 value) 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 InputBox

type InputBox struct {
	InputBoxCaller     // Read-only binding to the contract
	InputBoxTransactor // Write-only binding to the contract
	InputBoxFilterer   // Log filterer for contract events
}

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

func NewInputBox

func NewInputBox(address common.Address, backend bind.ContractBackend) (*InputBox, error)

NewInputBox creates a new instance of InputBox, bound to a specific deployed contract.

type InputBoxCaller

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

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

func NewInputBoxCaller

func NewInputBoxCaller(address common.Address, caller bind.ContractCaller) (*InputBoxCaller, error)

NewInputBoxCaller creates a new read-only instance of InputBox, bound to a specific deployed contract.

func (*InputBoxCaller) GetInputHash

func (_InputBox *InputBoxCaller) GetInputHash(opts *bind.CallOpts, _dapp common.Address, _index *big.Int) ([32]byte, error)

GetInputHash is a free data retrieval call binding the contract method 0x677087c9.

Solidity: function getInputHash(address _dapp, uint256 _index) view returns(bytes32)

func (*InputBoxCaller) GetNumberOfInputs

func (_InputBox *InputBoxCaller) GetNumberOfInputs(opts *bind.CallOpts, _dapp common.Address) (*big.Int, error)

GetNumberOfInputs is a free data retrieval call binding the contract method 0x61a93c87.

Solidity: function getNumberOfInputs(address _dapp) view returns(uint256)

type InputBoxCallerRaw

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

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

func (*InputBoxCallerRaw) Call

func (_InputBox *InputBoxCallerRaw) 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 InputBoxCallerSession

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

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

func (*InputBoxCallerSession) GetInputHash

func (_InputBox *InputBoxCallerSession) GetInputHash(_dapp common.Address, _index *big.Int) ([32]byte, error)

GetInputHash is a free data retrieval call binding the contract method 0x677087c9.

Solidity: function getInputHash(address _dapp, uint256 _index) view returns(bytes32)

func (*InputBoxCallerSession) GetNumberOfInputs

func (_InputBox *InputBoxCallerSession) GetNumberOfInputs(_dapp common.Address) (*big.Int, error)

GetNumberOfInputs is a free data retrieval call binding the contract method 0x61a93c87.

Solidity: function getNumberOfInputs(address _dapp) view returns(uint256)

type InputBoxFilterer

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

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

func NewInputBoxFilterer

func NewInputBoxFilterer(address common.Address, filterer bind.ContractFilterer) (*InputBoxFilterer, error)

NewInputBoxFilterer creates a new log filterer instance of InputBox, bound to a specific deployed contract.

func (*InputBoxFilterer) FilterInputAdded

func (_InputBox *InputBoxFilterer) FilterInputAdded(opts *bind.FilterOpts, dapp []common.Address, inputIndex []*big.Int) (*InputBoxInputAddedIterator, error)

FilterInputAdded is a free log retrieval operation binding the contract event 0x6aaa400068bf4ca337265e2a1e1e841f66b8597fd5b452fdc52a44bed28a0784.

Solidity: event InputAdded(address indexed dapp, uint256 indexed inputIndex, address sender, bytes input)

func (*InputBoxFilterer) ParseInputAdded

func (_InputBox *InputBoxFilterer) ParseInputAdded(log types.Log) (*InputBoxInputAdded, error)

ParseInputAdded is a log parse operation binding the contract event 0x6aaa400068bf4ca337265e2a1e1e841f66b8597fd5b452fdc52a44bed28a0784.

Solidity: event InputAdded(address indexed dapp, uint256 indexed inputIndex, address sender, bytes input)

func (*InputBoxFilterer) WatchInputAdded

func (_InputBox *InputBoxFilterer) WatchInputAdded(opts *bind.WatchOpts, sink chan<- *InputBoxInputAdded, dapp []common.Address, inputIndex []*big.Int) (event.Subscription, error)

WatchInputAdded is a free log subscription operation binding the contract event 0x6aaa400068bf4ca337265e2a1e1e841f66b8597fd5b452fdc52a44bed28a0784.

Solidity: event InputAdded(address indexed dapp, uint256 indexed inputIndex, address sender, bytes input)

type InputBoxInputAdded

type InputBoxInputAdded struct {
	Dapp       common.Address
	InputIndex *big.Int
	Sender     common.Address
	Input      []byte
	Raw        types.Log // Blockchain specific contextual infos
}

InputBoxInputAdded represents a InputAdded event raised by the InputBox contract.

type InputBoxInputAddedIterator

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

InputBoxInputAddedIterator is returned from FilterInputAdded and is used to iterate over the raw logs and unpacked data for InputAdded events raised by the InputBox contract.

func (*InputBoxInputAddedIterator) Close

func (it *InputBoxInputAddedIterator) Close() error

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

func (*InputBoxInputAddedIterator) Error

func (it *InputBoxInputAddedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*InputBoxInputAddedIterator) Next

func (it *InputBoxInputAddedIterator) 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 InputBoxRaw

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

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

func (*InputBoxRaw) Call

func (_InputBox *InputBoxRaw) 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 (*InputBoxRaw) Transact

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

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

func (*InputBoxRaw) Transfer

func (_InputBox *InputBoxRaw) 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 InputBoxSession

type InputBoxSession struct {
	Contract     *InputBox         // 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
}

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

func (*InputBoxSession) AddInput

func (_InputBox *InputBoxSession) AddInput(_dapp common.Address, _input []byte) (*types.Transaction, error)

AddInput is a paid mutator transaction binding the contract method 0x1789cd63.

Solidity: function addInput(address _dapp, bytes _input) returns(bytes32)

func (*InputBoxSession) GetInputHash

func (_InputBox *InputBoxSession) GetInputHash(_dapp common.Address, _index *big.Int) ([32]byte, error)

GetInputHash is a free data retrieval call binding the contract method 0x677087c9.

Solidity: function getInputHash(address _dapp, uint256 _index) view returns(bytes32)

func (*InputBoxSession) GetNumberOfInputs

func (_InputBox *InputBoxSession) GetNumberOfInputs(_dapp common.Address) (*big.Int, error)

GetNumberOfInputs is a free data retrieval call binding the contract method 0x61a93c87.

Solidity: function getNumberOfInputs(address _dapp) view returns(uint256)

type InputBoxTransactor

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

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

func NewInputBoxTransactor

func NewInputBoxTransactor(address common.Address, transactor bind.ContractTransactor) (*InputBoxTransactor, error)

NewInputBoxTransactor creates a new write-only instance of InputBox, bound to a specific deployed contract.

func (*InputBoxTransactor) AddInput

func (_InputBox *InputBoxTransactor) AddInput(opts *bind.TransactOpts, _dapp common.Address, _input []byte) (*types.Transaction, error)

AddInput is a paid mutator transaction binding the contract method 0x1789cd63.

Solidity: function addInput(address _dapp, bytes _input) returns(bytes32)

type InputBoxTransactorRaw

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

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

func (*InputBoxTransactorRaw) Transact

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

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

func (*InputBoxTransactorRaw) Transfer

func (_InputBox *InputBoxTransactorRaw) 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 InputBoxTransactorSession

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

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

func (*InputBoxTransactorSession) AddInput

func (_InputBox *InputBoxTransactorSession) AddInput(_dapp common.Address, _input []byte) (*types.Transaction, error)

AddInput is a paid mutator transaction binding the contract method 0x1789cd63.

Solidity: function addInput(address _dapp, bytes _input) returns(bytes32)

type OutputValidityProof

type OutputValidityProof struct {
	InputIndexWithinEpoch            uint64
	OutputIndexWithinInput           uint64
	OutputHashesRootHash             [32]byte
	VouchersEpochRootHash            [32]byte
	NoticesEpochRootHash             [32]byte
	MachineStateHash                 [32]byte
	OutputHashInOutputHashesSiblings [][32]byte
	OutputHashesInEpochSiblings      [][32]byte
}

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

type Proof

type Proof struct {
	Validity OutputValidityProof
	Context  []byte
}

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

type TestERC20

type TestERC20 struct {
	TestERC20Caller     // Read-only binding to the contract
	TestERC20Transactor // Write-only binding to the contract
	TestERC20Filterer   // Log filterer for contract events
}

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

func DeployTestERC20

func DeployTestERC20(auth *bind.TransactOpts, backend bind.ContractBackend, initialOwner common.Address) (common.Address, *types.Transaction, *TestERC20, error)

DeployTestERC20 deploys a new Ethereum contract, binding an instance of TestERC20 to it.

func NewTestERC20

func NewTestERC20(address common.Address, backend bind.ContractBackend) (*TestERC20, error)

NewTestERC20 creates a new instance of TestERC20, bound to a specific deployed contract.

type TestERC20Approval

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

TestERC20Approval represents a Approval event raised by the TestERC20 contract.

type TestERC20ApprovalIterator

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

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

func (*TestERC20ApprovalIterator) Close

func (it *TestERC20ApprovalIterator) Close() error

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

func (*TestERC20ApprovalIterator) Error

func (it *TestERC20ApprovalIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*TestERC20ApprovalIterator) Next

func (it *TestERC20ApprovalIterator) 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 TestERC20Caller

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

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

func NewTestERC20Caller

func NewTestERC20Caller(address common.Address, caller bind.ContractCaller) (*TestERC20Caller, error)

NewTestERC20Caller creates a new read-only instance of TestERC20, bound to a specific deployed contract.

func (*TestERC20Caller) Allowance

func (_TestERC20 *TestERC20Caller) 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 (*TestERC20Caller) BalanceOf

func (_TestERC20 *TestERC20Caller) 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 (*TestERC20Caller) Decimals

func (_TestERC20 *TestERC20Caller) Decimals(opts *bind.CallOpts) (uint8, error)

Decimals is a free data retrieval call binding the contract method 0x313ce567.

Solidity: function decimals() view returns(uint8)

func (*TestERC20Caller) Name

func (_TestERC20 *TestERC20Caller) Name(opts *bind.CallOpts) (string, error)

Name is a free data retrieval call binding the contract method 0x06fdde03.

Solidity: function name() view returns(string)

func (*TestERC20Caller) Owner

func (_TestERC20 *TestERC20Caller) 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)

func (*TestERC20Caller) Symbol

func (_TestERC20 *TestERC20Caller) Symbol(opts *bind.CallOpts) (string, error)

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

Solidity: function symbol() view returns(string)

func (*TestERC20Caller) TotalSupply

func (_TestERC20 *TestERC20Caller) 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 TestERC20CallerRaw

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

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

func (*TestERC20CallerRaw) Call

func (_TestERC20 *TestERC20CallerRaw) 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 TestERC20CallerSession

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

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

func (*TestERC20CallerSession) Allowance

func (_TestERC20 *TestERC20CallerSession) 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 (*TestERC20CallerSession) BalanceOf

func (_TestERC20 *TestERC20CallerSession) 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 (*TestERC20CallerSession) Decimals

func (_TestERC20 *TestERC20CallerSession) Decimals() (uint8, error)

Decimals is a free data retrieval call binding the contract method 0x313ce567.

Solidity: function decimals() view returns(uint8)

func (*TestERC20CallerSession) Name

func (_TestERC20 *TestERC20CallerSession) Name() (string, error)

Name is a free data retrieval call binding the contract method 0x06fdde03.

Solidity: function name() view returns(string)

func (*TestERC20CallerSession) Owner

func (_TestERC20 *TestERC20CallerSession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*TestERC20CallerSession) Symbol

func (_TestERC20 *TestERC20CallerSession) Symbol() (string, error)

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

Solidity: function symbol() view returns(string)

func (*TestERC20CallerSession) TotalSupply

func (_TestERC20 *TestERC20CallerSession) TotalSupply() (*big.Int, error)

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

Solidity: function totalSupply() view returns(uint256)

type TestERC20Filterer

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

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

func NewTestERC20Filterer

func NewTestERC20Filterer(address common.Address, filterer bind.ContractFilterer) (*TestERC20Filterer, error)

NewTestERC20Filterer creates a new log filterer instance of TestERC20, bound to a specific deployed contract.

func (*TestERC20Filterer) FilterApproval

func (_TestERC20 *TestERC20Filterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*TestERC20ApprovalIterator, 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 (*TestERC20Filterer) FilterOwnershipTransferred

func (_TestERC20 *TestERC20Filterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*TestERC20OwnershipTransferredIterator, error)

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

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

func (*TestERC20Filterer) FilterTransfer

func (_TestERC20 *TestERC20Filterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*TestERC20TransferIterator, 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 (*TestERC20Filterer) ParseApproval

func (_TestERC20 *TestERC20Filterer) ParseApproval(log types.Log) (*TestERC20Approval, error)

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

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

func (*TestERC20Filterer) ParseOwnershipTransferred

func (_TestERC20 *TestERC20Filterer) ParseOwnershipTransferred(log types.Log) (*TestERC20OwnershipTransferred, error)

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

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

func (*TestERC20Filterer) ParseTransfer

func (_TestERC20 *TestERC20Filterer) ParseTransfer(log types.Log) (*TestERC20Transfer, error)

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

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

func (*TestERC20Filterer) WatchApproval

func (_TestERC20 *TestERC20Filterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *TestERC20Approval, 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 (*TestERC20Filterer) WatchOwnershipTransferred

func (_TestERC20 *TestERC20Filterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *TestERC20OwnershipTransferred, 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 (*TestERC20Filterer) WatchTransfer

func (_TestERC20 *TestERC20Filterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *TestERC20Transfer, 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 TestERC20OwnershipTransferred

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

TestERC20OwnershipTransferred represents a OwnershipTransferred event raised by the TestERC20 contract.

type TestERC20OwnershipTransferredIterator

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

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

func (*TestERC20OwnershipTransferredIterator) Close

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

func (*TestERC20OwnershipTransferredIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*TestERC20OwnershipTransferredIterator) 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 TestERC20Raw

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

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

func (*TestERC20Raw) Call

func (_TestERC20 *TestERC20Raw) 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 (*TestERC20Raw) Transact

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

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

func (*TestERC20Raw) Transfer

func (_TestERC20 *TestERC20Raw) 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 TestERC20Session

type TestERC20Session struct {
	Contract     *TestERC20        // 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
}

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

func (*TestERC20Session) Allowance

func (_TestERC20 *TestERC20Session) 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 (*TestERC20Session) Approve

func (_TestERC20 *TestERC20Session) Approve(spender common.Address, value *big.Int) (*types.Transaction, error)

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

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

func (*TestERC20Session) BalanceOf

func (_TestERC20 *TestERC20Session) 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 (*TestERC20Session) Decimals

func (_TestERC20 *TestERC20Session) Decimals() (uint8, error)

Decimals is a free data retrieval call binding the contract method 0x313ce567.

Solidity: function decimals() view returns(uint8)

func (*TestERC20Session) Mint

func (_TestERC20 *TestERC20Session) 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 (*TestERC20Session) Name

func (_TestERC20 *TestERC20Session) Name() (string, error)

Name is a free data retrieval call binding the contract method 0x06fdde03.

Solidity: function name() view returns(string)

func (*TestERC20Session) Owner

func (_TestERC20 *TestERC20Session) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*TestERC20Session) RenounceOwnership

func (_TestERC20 *TestERC20Session) RenounceOwnership() (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*TestERC20Session) Symbol

func (_TestERC20 *TestERC20Session) Symbol() (string, error)

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

Solidity: function symbol() view returns(string)

func (*TestERC20Session) TotalSupply

func (_TestERC20 *TestERC20Session) TotalSupply() (*big.Int, error)

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

Solidity: function totalSupply() view returns(uint256)

func (*TestERC20Session) Transfer

func (_TestERC20 *TestERC20Session) Transfer(to common.Address, value *big.Int) (*types.Transaction, error)

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

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

func (*TestERC20Session) TransferFrom

func (_TestERC20 *TestERC20Session) TransferFrom(from common.Address, to common.Address, value *big.Int) (*types.Transaction, error)

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

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

func (*TestERC20Session) TransferOwnership

func (_TestERC20 *TestERC20Session) 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 TestERC20Transactor

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

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

func NewTestERC20Transactor

func NewTestERC20Transactor(address common.Address, transactor bind.ContractTransactor) (*TestERC20Transactor, error)

NewTestERC20Transactor creates a new write-only instance of TestERC20, bound to a specific deployed contract.

func (*TestERC20Transactor) Approve

func (_TestERC20 *TestERC20Transactor) Approve(opts *bind.TransactOpts, spender common.Address, value *big.Int) (*types.Transaction, error)

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

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

func (*TestERC20Transactor) Mint

func (_TestERC20 *TestERC20Transactor) 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 (*TestERC20Transactor) RenounceOwnership

func (_TestERC20 *TestERC20Transactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*TestERC20Transactor) Transfer

func (_TestERC20 *TestERC20Transactor) Transfer(opts *bind.TransactOpts, to common.Address, value *big.Int) (*types.Transaction, error)

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

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

func (*TestERC20Transactor) TransferFrom

func (_TestERC20 *TestERC20Transactor) TransferFrom(opts *bind.TransactOpts, from common.Address, to common.Address, value *big.Int) (*types.Transaction, error)

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

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

func (*TestERC20Transactor) TransferOwnership

func (_TestERC20 *TestERC20Transactor) 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 TestERC20TransactorRaw

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

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

func (*TestERC20TransactorRaw) Transact

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

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

func (*TestERC20TransactorRaw) Transfer

func (_TestERC20 *TestERC20TransactorRaw) 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 TestERC20TransactorSession

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

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

func (*TestERC20TransactorSession) Approve

func (_TestERC20 *TestERC20TransactorSession) Approve(spender common.Address, value *big.Int) (*types.Transaction, error)

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

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

func (*TestERC20TransactorSession) Mint

func (_TestERC20 *TestERC20TransactorSession) 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 (*TestERC20TransactorSession) RenounceOwnership

func (_TestERC20 *TestERC20TransactorSession) RenounceOwnership() (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*TestERC20TransactorSession) Transfer

func (_TestERC20 *TestERC20TransactorSession) Transfer(to common.Address, value *big.Int) (*types.Transaction, error)

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

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

func (*TestERC20TransactorSession) TransferFrom

func (_TestERC20 *TestERC20TransactorSession) TransferFrom(from common.Address, to common.Address, value *big.Int) (*types.Transaction, error)

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

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

func (*TestERC20TransactorSession) TransferOwnership

func (_TestERC20 *TestERC20TransactorSession) 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 TestERC20Transfer

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

TestERC20Transfer represents a Transfer event raised by the TestERC20 contract.

type TestERC20TransferIterator

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

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

func (*TestERC20TransferIterator) Close

func (it *TestERC20TransferIterator) Close() error

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

func (*TestERC20TransferIterator) Error

func (it *TestERC20TransferIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*TestERC20TransferIterator) Next

func (it *TestERC20TransferIterator) 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.

Jump to

Keyboard shortcuts

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