bondingmanagerharness

package
v0.0.213 Latest Latest
Warning

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

Go to latest
Published: Aug 7, 2023 License: MIT Imports: 14 Imported by: 0

Documentation

Overview

Code generated by synapse abigen DO NOT EDIT.

Package bondingmanagerharness generates abi data for contract BondingManagerHarness.t.sol

Index

Constants

This section is empty.

Variables

View Source
var AddressUpgradeableABI = AddressUpgradeableMetaData.ABI

AddressUpgradeableABI is the input ABI used to generate the binding from. Deprecated: Use AddressUpgradeableMetaData.ABI instead.

View Source
var AddressUpgradeableBin = AddressUpgradeableMetaData.Bin

AddressUpgradeableBin is the compiled bytecode used for deploying new contracts. Deprecated: Use AddressUpgradeableMetaData.Bin instead.

View Source
var AddressUpgradeableMetaData = &bind.MetaData{
	ABI: "[]",
	Bin: "0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea26469706673582212205e753e68934c3d94ca29c2397a6bce334215b132362b28a2cbb95a1ed8a63c8564736f6c63430008110033",
}

AddressUpgradeableMetaData contains all meta data concerning the AddressUpgradeable contract.

View Source
var AgentManagerABI = AgentManagerMetaData.ABI

AgentManagerABI is the input ABI used to generate the binding from. Deprecated: Use AgentManagerMetaData.ABI instead.

View Source
var AgentManagerEventsABI = AgentManagerEventsMetaData.ABI

AgentManagerEventsABI is the input ABI used to generate the binding from. Deprecated: Use AgentManagerEventsMetaData.ABI instead.

View Source
var AgentManagerEventsMetaData = &bind.MetaData{
	ABI: "[{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"disputeIndex\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint32\",\"name\":\"guardIndex\",\"type\":\"uint32\"},{\"indexed\":false,\"internalType\":\"uint32\",\"name\":\"notaryIndex\",\"type\":\"uint32\"}],\"name\":\"DisputeOpened\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"disputeIndex\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint32\",\"name\":\"slashedIndex\",\"type\":\"uint32\"},{\"indexed\":false,\"internalType\":\"uint32\",\"name\":\"rivalIndex\",\"type\":\"uint32\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"fraudProver\",\"type\":\"address\"}],\"name\":\"DisputeResolved\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"newRoot\",\"type\":\"bytes32\"}],\"name\":\"RootUpdated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"enumAgentFlag\",\"name\":\"flag\",\"type\":\"uint8\"},{\"indexed\":true,\"internalType\":\"uint32\",\"name\":\"domain\",\"type\":\"uint32\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"agent\",\"type\":\"address\"}],\"name\":\"StatusUpdated\",\"type\":\"event\"}]",
}

AgentManagerEventsMetaData contains all meta data concerning the AgentManagerEvents contract.

View Source
var AgentManagerFuncSigs = AgentManagerMetaData.Sigs

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

View Source
var AgentManagerHarnessABI = AgentManagerHarnessMetaData.ABI

AgentManagerHarnessABI is the input ABI used to generate the binding from. Deprecated: Use AgentManagerHarnessMetaData.ABI instead.

View Source
var AgentManagerHarnessFuncSigs = AgentManagerHarnessMetaData.Sigs

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

View Source
var AgentManagerHarnessMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[],\"name\":\"AgentNotActiveNorUnstaking\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"CallerNotDestination\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"CallerNotInbox\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"DisputeAlreadyResolved\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"DisputeNotOpened\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"DisputeNotStuck\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"GuardInDispute\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"IncorrectAgentDomain\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"IncorrectVersionLength\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"IndexOutOfRange\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"NotaryInDispute\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"disputeIndex\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint32\",\"name\":\"guardIndex\",\"type\":\"uint32\"},{\"indexed\":false,\"internalType\":\"uint32\",\"name\":\"notaryIndex\",\"type\":\"uint32\"}],\"name\":\"DisputeOpened\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"disputeIndex\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint32\",\"name\":\"slashedIndex\",\"type\":\"uint32\"},{\"indexed\":false,\"internalType\":\"uint32\",\"name\":\"rivalIndex\",\"type\":\"uint32\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"fraudProver\",\"type\":\"address\"}],\"name\":\"DisputeResolved\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint8\",\"name\":\"version\",\"type\":\"uint8\"}],\"name\":\"Initialized\",\"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\":\"bytes32\",\"name\":\"newRoot\",\"type\":\"bytes32\"}],\"name\":\"RootUpdated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"enumAgentFlag\",\"name\":\"flag\",\"type\":\"uint8\"},{\"indexed\":true,\"internalType\":\"uint32\",\"name\":\"domain\",\"type\":\"uint32\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"agent\",\"type\":\"address\"}],\"name\":\"StatusUpdated\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"agentRoot\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"agent\",\"type\":\"address\"}],\"name\":\"agentStatus\",\"outputs\":[{\"components\":[{\"internalType\":\"enumAgentFlag\",\"name\":\"flag\",\"type\":\"uint8\"},{\"internalType\":\"uint32\",\"name\":\"domain\",\"type\":\"uint32\"},{\"internalType\":\"uint32\",\"name\":\"index\",\"type\":\"uint32\"}],\"internalType\":\"structAgentStatus\",\"name\":\"status\",\"type\":\"tuple\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"destination\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"agent\",\"type\":\"address\"}],\"name\":\"disputeStatus\",\"outputs\":[{\"internalType\":\"enumDisputeFlag\",\"name\":\"flag\",\"type\":\"uint8\"},{\"internalType\":\"address\",\"name\":\"rival\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"fraudProver\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"disputePtr\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"index\",\"type\":\"uint256\"}],\"name\":\"getAgent\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"agent\",\"type\":\"address\"},{\"components\":[{\"internalType\":\"enumAgentFlag\",\"name\":\"flag\",\"type\":\"uint8\"},{\"internalType\":\"uint32\",\"name\":\"domain\",\"type\":\"uint32\"},{\"internalType\":\"uint32\",\"name\":\"index\",\"type\":\"uint32\"}],\"internalType\":\"structAgentStatus\",\"name\":\"status\",\"type\":\"tuple\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"index\",\"type\":\"uint256\"}],\"name\":\"getDispute\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"guard\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"notary\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"slashedAgent\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"fraudProver\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"reportPayload\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"reportSignature\",\"type\":\"bytes\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getDisputesAmount\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"inbox\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"localDomain\",\"outputs\":[{\"internalType\":\"uint32\",\"name\":\"\",\"type\":\"uint32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"bool\",\"name\":\"allowFailure\",\"type\":\"bool\"},{\"internalType\":\"bytes\",\"name\":\"callData\",\"type\":\"bytes\"}],\"internalType\":\"structMultiCallable.Call[]\",\"name\":\"calls\",\"type\":\"tuple[]\"}],\"name\":\"multicall\",\"outputs\":[{\"components\":[{\"internalType\":\"bool\",\"name\":\"success\",\"type\":\"bool\"},{\"internalType\":\"bytes\",\"name\":\"returnData\",\"type\":\"bytes\"}],\"internalType\":\"structMultiCallable.Result[]\",\"name\":\"callResults\",\"type\":\"tuple[]\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint32\",\"name\":\"guardIndex\",\"type\":\"uint32\"},{\"internalType\":\"uint32\",\"name\":\"notaryIndex\",\"type\":\"uint32\"}],\"name\":\"openDispute\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"origin\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint32\",\"name\":\"\",\"type\":\"uint32\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"name\":\"remoteMockFunc\",\"outputs\":[{\"internalType\":\"bytes4\",\"name\":\"\",\"type\":\"bytes4\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint32\",\"name\":\"domain\",\"type\":\"uint32\"},{\"internalType\":\"address\",\"name\":\"slashedAgent\",\"type\":\"address\"}],\"name\":\"resolveStuckDispute\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"},{\"internalType\":\"bytes32\",\"name\":\"data\",\"type\":\"bytes32\"}],\"name\":\"sensitiveMockFunc\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint16\",\"name\":\"\",\"type\":\"uint16\"},{\"internalType\":\"bytes4\",\"name\":\"\",\"type\":\"bytes4\"},{\"internalType\":\"bytes32\",\"name\":\"data\",\"type\":\"bytes32\"}],\"name\":\"sensitiveMockFuncOver32Bytes\",\"outputs\":[{\"internalType\":\"bytes4\",\"name\":\"\",\"type\":\"bytes4\"},{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint16\",\"name\":\"\",\"type\":\"uint16\"},{\"internalType\":\"bytes4\",\"name\":\"\",\"type\":\"bytes4\"},{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"name\":\"sensitiveMockFuncVoid\",\"outputs\":[],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint32\",\"name\":\"domain\",\"type\":\"uint32\"},{\"internalType\":\"address\",\"name\":\"agent\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"prover\",\"type\":\"address\"}],\"name\":\"slashAgent\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint32\",\"name\":\"domain\",\"type\":\"uint32\"},{\"internalType\":\"address\",\"name\":\"agent\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"prover\",\"type\":\"address\"}],\"name\":\"slashAgentExposed\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"version\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"versionString\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"}]",
	Sigs: map[string]string{
		"36cba43c": "agentRoot()",
		"28f3fac9": "agentStatus(address)",
		"b269681d": "destination()",
		"3463d1b1": "disputeStatus(address)",
		"2de5aaf7": "getAgent(uint256)",
		"e3a96cbd": "getDispute(uint256)",
		"3aaeccc6": "getDisputesAmount()",
		"fb0e722b": "inbox()",
		"8d3638f4": "localDomain()",
		"60fc8466": "multicall((bool,bytes)[])",
		"a2155c34": "openDispute(uint32,uint32)",
		"938b5f32": "origin()",
		"8da5cb5b": "owner()",
		"a149352c": "remoteMockFunc(uint32,uint256,bytes32)",
		"715018a6": "renounceOwnership()",
		"89791e17": "resolveStuckDispute(uint32,address)",
		"127a2c9d": "sensitiveMockFunc(address,uint8,bytes32)",
		"0e6bfcd5": "sensitiveMockFuncOver32Bytes(uint16,bytes4,bytes32)",
		"c9f1a03f": "sensitiveMockFuncVoid(uint16,bytes4,bytes32)",
		"2853a0e6": "slashAgent(uint32,address,address)",
		"69978b0d": "slashAgentExposed(uint32,address,address)",
		"f2fde38b": "transferOwnership(address)",
		"54fd4d50": "version()",
	},
}

AgentManagerHarnessMetaData contains all meta data concerning the AgentManagerHarness contract.

View Source
var AgentManagerMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[],\"name\":\"AgentNotActiveNorUnstaking\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"CallerNotInbox\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"DisputeAlreadyResolved\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"DisputeNotOpened\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"DisputeNotStuck\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"GuardInDispute\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"IncorrectAgentDomain\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"IncorrectVersionLength\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"IndexOutOfRange\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"NotaryInDispute\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"disputeIndex\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint32\",\"name\":\"guardIndex\",\"type\":\"uint32\"},{\"indexed\":false,\"internalType\":\"uint32\",\"name\":\"notaryIndex\",\"type\":\"uint32\"}],\"name\":\"DisputeOpened\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"disputeIndex\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint32\",\"name\":\"slashedIndex\",\"type\":\"uint32\"},{\"indexed\":false,\"internalType\":\"uint32\",\"name\":\"rivalIndex\",\"type\":\"uint32\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"fraudProver\",\"type\":\"address\"}],\"name\":\"DisputeResolved\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint8\",\"name\":\"version\",\"type\":\"uint8\"}],\"name\":\"Initialized\",\"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\":\"bytes32\",\"name\":\"newRoot\",\"type\":\"bytes32\"}],\"name\":\"RootUpdated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"enumAgentFlag\",\"name\":\"flag\",\"type\":\"uint8\"},{\"indexed\":true,\"internalType\":\"uint32\",\"name\":\"domain\",\"type\":\"uint32\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"agent\",\"type\":\"address\"}],\"name\":\"StatusUpdated\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"agentRoot\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"agent\",\"type\":\"address\"}],\"name\":\"agentStatus\",\"outputs\":[{\"components\":[{\"internalType\":\"enumAgentFlag\",\"name\":\"flag\",\"type\":\"uint8\"},{\"internalType\":\"uint32\",\"name\":\"domain\",\"type\":\"uint32\"},{\"internalType\":\"uint32\",\"name\":\"index\",\"type\":\"uint32\"}],\"internalType\":\"structAgentStatus\",\"name\":\"status\",\"type\":\"tuple\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"destination\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"agent\",\"type\":\"address\"}],\"name\":\"disputeStatus\",\"outputs\":[{\"internalType\":\"enumDisputeFlag\",\"name\":\"flag\",\"type\":\"uint8\"},{\"internalType\":\"address\",\"name\":\"rival\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"fraudProver\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"disputePtr\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"index\",\"type\":\"uint256\"}],\"name\":\"getAgent\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"agent\",\"type\":\"address\"},{\"components\":[{\"internalType\":\"enumAgentFlag\",\"name\":\"flag\",\"type\":\"uint8\"},{\"internalType\":\"uint32\",\"name\":\"domain\",\"type\":\"uint32\"},{\"internalType\":\"uint32\",\"name\":\"index\",\"type\":\"uint32\"}],\"internalType\":\"structAgentStatus\",\"name\":\"status\",\"type\":\"tuple\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"index\",\"type\":\"uint256\"}],\"name\":\"getDispute\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"guard\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"notary\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"slashedAgent\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"fraudProver\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"reportPayload\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"reportSignature\",\"type\":\"bytes\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getDisputesAmount\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"inbox\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"localDomain\",\"outputs\":[{\"internalType\":\"uint32\",\"name\":\"\",\"type\":\"uint32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"bool\",\"name\":\"allowFailure\",\"type\":\"bool\"},{\"internalType\":\"bytes\",\"name\":\"callData\",\"type\":\"bytes\"}],\"internalType\":\"structMultiCallable.Call[]\",\"name\":\"calls\",\"type\":\"tuple[]\"}],\"name\":\"multicall\",\"outputs\":[{\"components\":[{\"internalType\":\"bool\",\"name\":\"success\",\"type\":\"bool\"},{\"internalType\":\"bytes\",\"name\":\"returnData\",\"type\":\"bytes\"}],\"internalType\":\"structMultiCallable.Result[]\",\"name\":\"callResults\",\"type\":\"tuple[]\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint32\",\"name\":\"guardIndex\",\"type\":\"uint32\"},{\"internalType\":\"uint32\",\"name\":\"notaryIndex\",\"type\":\"uint32\"}],\"name\":\"openDispute\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"origin\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint32\",\"name\":\"domain\",\"type\":\"uint32\"},{\"internalType\":\"address\",\"name\":\"slashedAgent\",\"type\":\"address\"}],\"name\":\"resolveStuckDispute\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint32\",\"name\":\"domain\",\"type\":\"uint32\"},{\"internalType\":\"address\",\"name\":\"agent\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"prover\",\"type\":\"address\"}],\"name\":\"slashAgent\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"version\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"versionString\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"}]",
	Sigs: map[string]string{
		"36cba43c": "agentRoot()",
		"28f3fac9": "agentStatus(address)",
		"b269681d": "destination()",
		"3463d1b1": "disputeStatus(address)",
		"2de5aaf7": "getAgent(uint256)",
		"e3a96cbd": "getDispute(uint256)",
		"3aaeccc6": "getDisputesAmount()",
		"fb0e722b": "inbox()",
		"8d3638f4": "localDomain()",
		"60fc8466": "multicall((bool,bytes)[])",
		"a2155c34": "openDispute(uint32,uint32)",
		"938b5f32": "origin()",
		"8da5cb5b": "owner()",
		"715018a6": "renounceOwnership()",
		"89791e17": "resolveStuckDispute(uint32,address)",
		"2853a0e6": "slashAgent(uint32,address,address)",
		"f2fde38b": "transferOwnership(address)",
		"54fd4d50": "version()",
	},
}

AgentManagerMetaData contains all meta data concerning the AgentManager contract.

View Source
var BondingManagerABI = BondingManagerMetaData.ABI

BondingManagerABI is the input ABI used to generate the binding from. Deprecated: Use BondingManagerMetaData.ABI instead.

View Source
var BondingManagerBin = BondingManagerMetaData.Bin

BondingManagerBin is the compiled bytecode used for deploying new contracts. Deprecated: Use BondingManagerMetaData.Bin instead.

View Source
var BondingManagerFuncSigs = BondingManagerMetaData.Sigs

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

View Source
var BondingManagerHarnessABI = BondingManagerHarnessMetaData.ABI

BondingManagerHarnessABI is the input ABI used to generate the binding from. Deprecated: Use BondingManagerHarnessMetaData.ABI instead.

View Source
var BondingManagerHarnessBin = BondingManagerHarnessMetaData.Bin

BondingManagerHarnessBin is the compiled bytecode used for deploying new contracts. Deprecated: Use BondingManagerHarnessMetaData.Bin instead.

View Source
var BondingManagerHarnessFuncSigs = BondingManagerHarnessMetaData.Sigs

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

View Source
var BondingManagerHarnessMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[{\"internalType\":\"uint32\",\"name\":\"domain\",\"type\":\"uint32\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"inputs\":[],\"name\":\"AgentCantBeAdded\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"AgentNotActive\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"AgentNotActiveNorUnstaking\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"AgentNotFraudulent\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"AgentNotUnstaking\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"CallerNotDestination\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"CallerNotInbox\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"CallerNotSummit\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"DisputeAlreadyResolved\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"DisputeNotOpened\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"DisputeNotStuck\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"GuardInDispute\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"IncorrectAgentDomain\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"IncorrectVersionLength\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"IndexOutOfRange\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"LeafNotProven\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"MerkleTreeFull\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"MustBeSynapseDomain\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"NotaryInDispute\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"SlashAgentOptimisticPeriod\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"SynapseDomainForbidden\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"TreeHeightTooLow\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"disputeIndex\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint32\",\"name\":\"guardIndex\",\"type\":\"uint32\"},{\"indexed\":false,\"internalType\":\"uint32\",\"name\":\"notaryIndex\",\"type\":\"uint32\"}],\"name\":\"DisputeOpened\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"disputeIndex\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint32\",\"name\":\"slashedIndex\",\"type\":\"uint32\"},{\"indexed\":false,\"internalType\":\"uint32\",\"name\":\"rivalIndex\",\"type\":\"uint32\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"fraudProver\",\"type\":\"address\"}],\"name\":\"DisputeResolved\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint8\",\"name\":\"version\",\"type\":\"uint8\"}],\"name\":\"Initialized\",\"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\":\"bytes32\",\"name\":\"newRoot\",\"type\":\"bytes32\"}],\"name\":\"RootUpdated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"enumAgentFlag\",\"name\":\"flag\",\"type\":\"uint8\"},{\"indexed\":true,\"internalType\":\"uint32\",\"name\":\"domain\",\"type\":\"uint32\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"agent\",\"type\":\"address\"}],\"name\":\"StatusUpdated\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"uint32\",\"name\":\"domain\",\"type\":\"uint32\"},{\"internalType\":\"address\",\"name\":\"agent\",\"type\":\"address\"},{\"internalType\":\"bytes32[]\",\"name\":\"proof\",\"type\":\"bytes32[]\"}],\"name\":\"addAgent\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"agent\",\"type\":\"address\"}],\"name\":\"agentLeaf\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"leaf\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"agentRoot\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"agent\",\"type\":\"address\"}],\"name\":\"agentStatus\",\"outputs\":[{\"components\":[{\"internalType\":\"enumAgentFlag\",\"name\":\"flag\",\"type\":\"uint8\"},{\"internalType\":\"uint32\",\"name\":\"domain\",\"type\":\"uint32\"},{\"internalType\":\"uint32\",\"name\":\"index\",\"type\":\"uint32\"}],\"internalType\":\"structAgentStatus\",\"name\":\"status\",\"type\":\"tuple\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"allLeafs\",\"outputs\":[{\"internalType\":\"bytes32[]\",\"name\":\"leafs\",\"type\":\"bytes32[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint32\",\"name\":\"domain\",\"type\":\"uint32\"},{\"internalType\":\"address\",\"name\":\"agent\",\"type\":\"address\"},{\"internalType\":\"bytes32[]\",\"name\":\"proof\",\"type\":\"bytes32[]\"}],\"name\":\"completeSlashing\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint32\",\"name\":\"domain\",\"type\":\"uint32\"},{\"internalType\":\"address\",\"name\":\"agent\",\"type\":\"address\"},{\"internalType\":\"bytes32[]\",\"name\":\"proof\",\"type\":\"bytes32[]\"}],\"name\":\"completeUnstaking\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"destination\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"agent\",\"type\":\"address\"}],\"name\":\"disputeStatus\",\"outputs\":[{\"internalType\":\"enumDisputeFlag\",\"name\":\"flag\",\"type\":\"uint8\"},{\"internalType\":\"address\",\"name\":\"rival\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"fraudProver\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"disputePtr\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint32\",\"name\":\"domain\",\"type\":\"uint32\"}],\"name\":\"getActiveAgents\",\"outputs\":[{\"internalType\":\"address[]\",\"name\":\"agents\",\"type\":\"address[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"index\",\"type\":\"uint256\"}],\"name\":\"getAgent\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"agent\",\"type\":\"address\"},{\"components\":[{\"internalType\":\"enumAgentFlag\",\"name\":\"flag\",\"type\":\"uint8\"},{\"internalType\":\"uint32\",\"name\":\"domain\",\"type\":\"uint32\"},{\"internalType\":\"uint32\",\"name\":\"index\",\"type\":\"uint32\"}],\"internalType\":\"structAgentStatus\",\"name\":\"status\",\"type\":\"tuple\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"index\",\"type\":\"uint256\"}],\"name\":\"getDispute\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"guard\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"notary\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"slashedAgent\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"fraudProver\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"reportPayload\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"reportSignature\",\"type\":\"bytes\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getDisputesAmount\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"indexFrom\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"getLeafs\",\"outputs\":[{\"internalType\":\"bytes32[]\",\"name\":\"leafs\",\"type\":\"bytes32[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"agent\",\"type\":\"address\"}],\"name\":\"getProof\",\"outputs\":[{\"internalType\":\"bytes32[]\",\"name\":\"proof\",\"type\":\"bytes32[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"inbox\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"origin_\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"destination_\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"inbox_\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"summit_\",\"type\":\"address\"}],\"name\":\"initialize\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint32\",\"name\":\"domain\",\"type\":\"uint32\"},{\"internalType\":\"address\",\"name\":\"agent\",\"type\":\"address\"},{\"internalType\":\"bytes32[]\",\"name\":\"proof\",\"type\":\"bytes32[]\"}],\"name\":\"initiateUnstaking\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"leafsAmount\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"localDomain\",\"outputs\":[{\"internalType\":\"uint32\",\"name\":\"\",\"type\":\"uint32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"bool\",\"name\":\"allowFailure\",\"type\":\"bool\"},{\"internalType\":\"bytes\",\"name\":\"callData\",\"type\":\"bytes\"}],\"internalType\":\"structMultiCallable.Call[]\",\"name\":\"calls\",\"type\":\"tuple[]\"}],\"name\":\"multicall\",\"outputs\":[{\"components\":[{\"internalType\":\"bool\",\"name\":\"success\",\"type\":\"bool\"},{\"internalType\":\"bytes\",\"name\":\"returnData\",\"type\":\"bytes\"}],\"internalType\":\"structMultiCallable.Result[]\",\"name\":\"callResults\",\"type\":\"tuple[]\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint32\",\"name\":\"guardIndex\",\"type\":\"uint32\"},{\"internalType\":\"uint32\",\"name\":\"notaryIndex\",\"type\":\"uint32\"}],\"name\":\"openDispute\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"origin\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint32\",\"name\":\"\",\"type\":\"uint32\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"name\":\"remoteMockFunc\",\"outputs\":[{\"internalType\":\"bytes4\",\"name\":\"\",\"type\":\"bytes4\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint32\",\"name\":\"msgOrigin\",\"type\":\"uint32\"},{\"internalType\":\"uint256\",\"name\":\"proofMaturity\",\"type\":\"uint256\"},{\"internalType\":\"uint32\",\"name\":\"domain\",\"type\":\"uint32\"},{\"internalType\":\"address\",\"name\":\"agent\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"prover\",\"type\":\"address\"}],\"name\":\"remoteSlashAgent\",\"outputs\":[{\"internalType\":\"bytes4\",\"name\":\"magicValue\",\"type\":\"bytes4\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint32\",\"name\":\"domain\",\"type\":\"uint32\"},{\"internalType\":\"address\",\"name\":\"slashedAgent\",\"type\":\"address\"}],\"name\":\"resolveStuckDispute\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"},{\"internalType\":\"bytes32\",\"name\":\"data\",\"type\":\"bytes32\"}],\"name\":\"sensitiveMockFunc\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint16\",\"name\":\"\",\"type\":\"uint16\"},{\"internalType\":\"bytes4\",\"name\":\"\",\"type\":\"bytes4\"},{\"internalType\":\"bytes32\",\"name\":\"data\",\"type\":\"bytes32\"}],\"name\":\"sensitiveMockFuncOver32Bytes\",\"outputs\":[{\"internalType\":\"bytes4\",\"name\":\"\",\"type\":\"bytes4\"},{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint16\",\"name\":\"\",\"type\":\"uint16\"},{\"internalType\":\"bytes4\",\"name\":\"\",\"type\":\"bytes4\"},{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"name\":\"sensitiveMockFuncVoid\",\"outputs\":[],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint32\",\"name\":\"domain\",\"type\":\"uint32\"},{\"internalType\":\"address\",\"name\":\"agent\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"prover\",\"type\":\"address\"}],\"name\":\"slashAgent\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint32\",\"name\":\"domain\",\"type\":\"uint32\"},{\"internalType\":\"address\",\"name\":\"agent\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"prover\",\"type\":\"address\"}],\"name\":\"slashAgentExposed\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"summit\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"version\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"versionString\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"uint32\",\"name\":\"origin_\",\"type\":\"uint32\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"withdrawTips\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
	Sigs: map[string]string{
		"237a85a5": "addAgent(uint32,address,bytes32[])",
		"c99dcb9e": "agentLeaf(address)",
		"36cba43c": "agentRoot()",
		"28f3fac9": "agentStatus(address)",
		"12db2ef6": "allLeafs()",
		"fbc5265e": "completeSlashing(uint32,address,bytes32[])",
		"4c3e1c1f": "completeUnstaking(uint32,address,bytes32[])",
		"b269681d": "destination()",
		"3463d1b1": "disputeStatus(address)",
		"c1c0f4f6": "getActiveAgents(uint32)",
		"2de5aaf7": "getAgent(uint256)",
		"e3a96cbd": "getDispute(uint256)",
		"3aaeccc6": "getDisputesAmount()",
		"33d1b2e8": "getLeafs(uint256,uint256)",
		"3eea79d1": "getProof(address)",
		"fb0e722b": "inbox()",
		"f8c8765e": "initialize(address,address,address,address)",
		"130c5673": "initiateUnstaking(uint32,address,bytes32[])",
		"33c3a8f3": "leafsAmount()",
		"8d3638f4": "localDomain()",
		"60fc8466": "multicall((bool,bytes)[])",
		"a2155c34": "openDispute(uint32,uint32)",
		"938b5f32": "origin()",
		"8da5cb5b": "owner()",
		"a149352c": "remoteMockFunc(uint32,uint256,bytes32)",
		"9d228a51": "remoteSlashAgent(uint32,uint256,uint32,address,address)",
		"715018a6": "renounceOwnership()",
		"89791e17": "resolveStuckDispute(uint32,address)",
		"127a2c9d": "sensitiveMockFunc(address,uint8,bytes32)",
		"0e6bfcd5": "sensitiveMockFuncOver32Bytes(uint16,bytes4,bytes32)",
		"c9f1a03f": "sensitiveMockFuncVoid(uint16,bytes4,bytes32)",
		"2853a0e6": "slashAgent(uint32,address,address)",
		"69978b0d": "slashAgentExposed(uint32,address,address)",
		"9fbcb9cb": "summit()",
		"f2fde38b": "transferOwnership(address)",
		"54fd4d50": "version()",
		"cc875501": "withdrawTips(address,uint32,uint256)",
	},
	Bin: "0x60e06040523480156200001157600080fd5b5060405162003ee938038062003ee983398101604081905262000034916200009f565b60408051808201909152600580825264302e302e3360d81b6020830152608052819081816200006381620000ce565b60a0525063ffffffff90811660c0528216600a1490506200009757604051632b3a807f60e01b815260040160405180910390fd5b5050620000f6565b600060208284031215620000b257600080fd5b815163ffffffff81168114620000c757600080fd5b9392505050565b80516020808301519190811015620000f0576000198160200360031b1b821691505b50919050565b60805160a05160c051613dbc6200012d600039600081816104a30152611b3f01526000610420015260006103fd0152613dbc6000f3fe608060405234801561001057600080fd5b50600436106102775760003560e01c8063715018a611610160578063b269681d116100d8578063e3a96cbd1161008c578063f8c8765e11610071578063f8c8765e14610633578063fb0e722b14610646578063fbc5265e1461065957600080fd5b8063e3a96cbd146105fb578063f2fde38b1461062057600080fd5b8063c99dcb9e116100bd578063c99dcb9e146105c2578063c9f1a03f146105d5578063cc875501146105e857600080fd5b8063b269681d1461058f578063c1c0f4f6146105a257600080fd5b8063938b5f321161012f5780639fbcb9cb116101145780639fbcb9cb14610556578063a149352c14610569578063a2155c341461057c57600080fd5b8063938b5f32146104ff5780639d228a511461051257600080fd5b8063715018a61461048357806389791e171461048b5780638d3638f41461049e5780638da5cb5b146104da57600080fd5b806333d1b2e8116101f35780633eea79d1116101c257806354fd4d50116101a757806354fd4d50146103f257806360fc84661461045057806369978b0d1461047057600080fd5b80633eea79d1146103cc5780634c3e1c1f146103df57600080fd5b806333d1b2e8146103865780633463d1b11461039957806336cba43c146103bc5780633aaeccc6146103c457600080fd5b8063237a85a51161024a57806328f3fac91161022f57806328f3fac91461033d5780632de5aaf71461035d57806333c3a8f31461037e57600080fd5b8063237a85a5146103175780632853a0e61461032a57600080fd5b80630e6bfcd51461027c578063127a2c9d146102cc57806312db2ef6146102ed578063130c567314610302575b600080fd5b61028f61028a366004613239565b61066c565b604080517fffffffff0000000000000000000000000000000000000000000000000000000090931683526020830191909152015b60405180910390f35b6102df6102da3660046132bd565b6106e1565b6040519081526020016102c3565b6102f561077d565b6040516102c391906132f1565b6103156103103660046133c5565b610794565b005b6103156103253660046133c5565b6108b1565b610315610338366004613490565b610b39565b61035061034b3660046134d5565b610b8d565b6040516102c3919061355f565b61037061036b36600461356d565b610c30565b6040516102c3929190613586565b60cc546102df565b6102f56103943660046135a3565b610c77565b6103ac6103a73660046134d5565b610d6b565b6040516102c394939291906135c5565b60cd546102df565b609b546102df565b6102f56103da3660046134d5565b610edf565b6103156103ed3660046133c5565b610f3e565b6040805180820182527f000000000000000000000000000000000000000000000000000000000000000081527f0000000000000000000000000000000000000000000000000000000000000000602082015290516102c3919061366a565b61046361045e36600461367d565b61102a565b6040516102c391906136f2565b61031561047e366004613490565b610b7d565b610315611195565b610315610499366004613786565b6111f1565b6104c57f000000000000000000000000000000000000000000000000000000000000000081565b60405163ffffffff90911681526020016102c3565b6033546001600160a01b03165b6040516001600160a01b0390911681526020016102c3565b6097546104e7906001600160a01b031681565b6105256105203660046137bb565b611471565b6040517fffffffff0000000000000000000000000000000000000000000000000000000090911681526020016102c3565b60c9546104e7906001600160a01b031681565b61052561057736600461381d565b61152b565b61031561058a366004613852565b61159b565b6098546104e7906001600160a01b031681565b6105b56105b036600461388b565b611977565b6040516102c391906138a8565b6102df6105d03660046134d5565b611aa4565b6103156105e3366004613239565b611ab5565b6103156105f63660046138e9565b611af9565b61060e61060936600461356d565b611cf2565b6040516102c396959493929190613917565b61031561062e3660046134d5565b611eca565b610315610641366004613972565b611fac565b6099546104e7906001600160a01b031681565b6103156106673660046133c5565b6120f4565b60985460009081906001600160a01b031633146106b5576040517f6efcc49f00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b507f0e6bfcd5000000000000000000000000000000000000000000000000000000009491935090915050565b6098546000906001600160a01b03163314610728576040517f6efcc49f00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b81610751577f474d00000000000000000000000000000000000000000000000000000000000091505b507f127a2c9d0000000000000000000000000000000000000000000000000000000081185b9392505050565b606061078f600060cc80549050610c77565b905090565b6033546001600160a01b031633146107f35760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064015b60405180910390fd5b60006107fe83610b8d565b905061080981612182565b8363ffffffff16816020015163ffffffff1614610852576040517f1612d2ee00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000610860600186866121ce565b90506108aa8184604051806060016040528060026005811115610885576108856134f0565b81526020018963ffffffff168152602001866040015163ffffffff1681525087612204565b5050505050565b6033546001600160a01b0316331461090b5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016107ea565b7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff663ffffffff84160161096a576040517ff2b2faa000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600061097583612397565b9050600080808351600581111561098e5761098e6134f0565b03610a6b5760cc5463ffffffff116109d2576040517fef5ccf6600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60cc805460018082019092557f47197230e1e4b29fc0bd84d7d78966c0925452aff72a2a121538b102457e9ebe810180546001600160a01b0389167fffffffffffffffffffffffff0000000000000000000000000000000000000000918216811790925563ffffffff8a16600090815260cb60209081526040822080549687018155825290209093018054909316179091559150610aed565b600383516005811115610a8057610a806134f0565b148015610a9c57508563ffffffff16836020015163ffffffff16145b15610abb5782604001519150610ab4600387876121ce565b9050610aed565b6040517f86511bd900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610b318185604051806060016040528060016005811115610b1057610b106134f0565b81526020018a63ffffffff1681526020018663ffffffff1681525088612204565b505050505050565b6099546001600160a01b03163314610b7d576040517fdbc2fa8500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610b8883838361242c565b505050565b6040805160608101825260008082526020820181905291810191909152610bb382612397565b6001600160a01b038316600090815260ca602090815260408083205465010000000000900463ffffffff168352609a90915290205490915060029060ff1681811115610c0157610c016134f0565b148015610c215750600581516005811115610c1e57610c1e6134f0565b14155b15610c2b57600481525b919050565b60408051606081018252600080825260208201819052918101829052610c55836124e7565b91506001600160a01b03821615610c7257610c6f82610b8d565b90505b915091565b60cc54606090808410610cb6576040517f1390f2a100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80610cc184866139f5565b1115610cd457610cd18482613a08565b92505b8267ffffffffffffffff811115610ced57610ced613347565b604051908082528060200260200182016040528015610d16578160200160208202803683370190505b50915060005b83811015610d6357610d36610d3182876139f5565b612522565b838281518110610d4857610d48613a1b565b6020908102919091010152610d5c81613a4a565b9050610d1c565b505092915050565b6000806000806000610da2866001600160a01b0316600090815260ca602052604090205463ffffffff650100000000009091041690565b6000818152609a602052604080822081516060810190925280549394509192909190829060ff166002811115610dda57610dda6134f0565b6002811115610deb57610deb6134f0565b8152905461010081046affffffffffffffffffffff9081166020808501919091526c010000000000000000000000009092046001600160a01b03166040938401528351928401519184015192995090965016935090508215610ed6576000609b610e56600186613a08565b81548110610e6657610e66613a1b565b600091825260209182902060408051606081018252929091015463ffffffff80821680855264010000000083048216958501959095526801000000000000000090910416908201529150610ed2908414610ec1578151610ec7565b81602001515b63ffffffff166124e7565b9550505b50509193509193565b60606000610eeb61077d565b90506000610ef884612397565b905060008082516005811115610f1057610f106134f0565b14610f2557816040015163ffffffff16610f29565b60cc545b9050610f35838261255a565b95945050505050565b6033546001600160a01b03163314610f985760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016107ea565b6000610fa383610b8d565b9050610fae816126c9565b8363ffffffff16816020015163ffffffff1614610ff7576040517f1612d2ee00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000611005600286866121ce565b90506108aa8184604051806060016040528060036005811115610885576108856134f0565b6060818067ffffffffffffffff81111561104657611046613347565b60405190808252806020026020018201604052801561108c57816020015b6040805180820190915260008152606060208201528152602001906001900390816110645790505b5091503660005b8281101561118c578585828181106110ad576110ad613a1b565b90506020028101906110bf9190613a82565b915060008482815181106110d5576110d5613a1b565b60200260200101519050306001600160a01b03168380602001906110f99190613ac0565b604051611107929190613b2c565b600060405180830381855af49150503d8060008114611142576040519150601f19603f3d011682016040523d82523d6000602084013e611147565b606091505b5060208301521515808252833517611183577f4d6a23280000000000000000000000000000000000000000000000000000000060005260046000fd5b50600101611093565b50505092915050565b6033546001600160a01b031633146111ef5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016107ea565b565b6033546001600160a01b0316331461124b5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016107ea565b6001600160a01b038116600090815260ca602090815260408083205465010000000000900463ffffffff168352609a9091528082208151606081019092528054829060ff1660028111156112a1576112a16134f0565b60028111156112b2576112b26134f0565b8152905461010081046affffffffffffffffffffff1660208301526c0100000000000000000000000090046001600160a01b03166040909101529050600081516002811115611303576113036134f0565b0361133a576040517fb3a71fa200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60028151600281111561134f5761134f6134f0565b03611386576040517ff10068b500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b609854604080517f4098915200000000000000000000000000000000000000000000000000000000815290516000926001600160a01b03169163409891529160048083019260609291908290030181865afa1580156113e9573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061140d9190613b51565b505090508064ffffffffff1661384061142691906139f5565b42101561145f576040517f6fdc56c000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61146b8484600061242c565b50505050565b6098546000906001600160a01b031633146114b8576040517f6efcc49f00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b620151808510156114f5576040517fa8928dd000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61150084848461242c565b507f9d228a510000000000000000000000000000000000000000000000000000000095945050505050565b6098546000906001600160a01b03163314611572576040517f6efcc49f00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b507fa149352c000000000000000000000000000000000000000000000000000000009392505050565b6099546001600160a01b031633146115df576040517fdbc2fa8500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b63ffffffff82166000908152609a602052604081205460ff166002811115611609576116096134f0565b14611640576040517fd9d49b4c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b63ffffffff81166000908152609a602052604081205460ff16600281111561166a5761166a6134f0565b146116a1576040517f6893014300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b604080516060808201835263ffffffff8086168352848116602084019081526000848601818152609b8054600181810183559382905296517fbba9db4cdbea0a37c207bbb83e20f828cd4441c49891101dc94fd20dc8efc349909701805494519251861668010000000000000000027fffffffffffffffffffffffffffffffffffffffff00000000ffffffffffffffff938716640100000000027fffffffffffffffffffffffffffffffffffffffffffffffff000000000000000090961698909616979097179390931716929092179093559154835191820190935290819081526affffffffffffffffffffff83166020808301919091526000604092830181905263ffffffff87168152609a909152208151815482907fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001660018360028111156117ee576117ee6134f0565b0217905550602082015181546040938401516001600160a01b03166c01000000000000000000000000026bffffffffffffffffffffffff6affffffffffffffffffffff909316610100029290921660ff9091161717905580516060810190915280600181526affffffffffffffffffffff83166020808301919091526000604092830181905263ffffffff86168152609a909152208151815482907fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001660018360028111156118bf576118bf6134f0565b0217905550602082015181546040909301516001600160a01b03166c01000000000000000000000000026bffffffffffffffffffffffff6affffffffffffffffffffff909216610100029190911660ff909316929092179190911790557fd0672fae056abe2bf0637742527d49add67fdb68192a6c6f6bf86eac19fe0530611948600183613a08565b6040805191825263ffffffff808716602084015285169082015260600160405180910390a1610b888383612715565b63ffffffff8116600090815260cb60205260409020546060908067ffffffffffffffff8111156119a9576119a9613347565b6040519080825280602002602001820160405280156119d2578160200160208202803683370190505b5091506000805b82811015611a915763ffffffff8516600090815260cb60205260408120805483908110611a0857611a08613a1b565b6000918252602090912001546001600160a01b031690506001611a2a82610b8d565b516005811115611a3c57611a3c6134f0565b03611a8057808584611a4d81613a4a565b955081518110611a5f57611a5f613a1b565b60200260200101906001600160a01b031690816001600160a01b0316815250505b50611a8a81613a4a565b90506119d9565b50818114611a9d578083525b5050919050565b6000611aaf8261281a565b92915050565b6098546001600160a01b03163314610b88576040517f6efcc49f00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60c9546001600160a01b03163314611b3d576040517fc9c49ce600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b7f000000000000000000000000000000000000000000000000000000000000000063ffffffff168263ffffffff1603611bf4576097546040517f4e04e7a70000000000000000000000000000000000000000000000000000000081526001600160a01b0385811660048301526024820184905290911690634e04e7a790604401600060405180830381600087803b158015611bd757600080fd5b505af1158015611beb573d6000803e3d6000fd5b50505050505050565b609754604080516001600160a01b038681166024830152604480830186905283518084039091018152606490920183526020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167f1fa071380000000000000000000000000000000000000000000000000000000017905291517fa1c702a7000000000000000000000000000000000000000000000000000000008152919092169163a1c702a791611cb0918691620151809190600401613b98565b60408051808303816000875af1158015611cce573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108aa9190613bc1565b600080600080606080609b805490508710611d39576040517f1390f2a100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000609b8881548110611d4e57611d4e613a1b565b600091825260209182902060408051606081018252929091015463ffffffff80821680855264010000000083048216958501959095526801000000000000000090910416908201529150611da1906124e7565b9650611db6816020015163ffffffff166124e7565b604082015190965063ffffffff1615611e1357611ddc816040015163ffffffff166124e7565b60408281015163ffffffff166000908152609a60205220549095506c0100000000000000000000000090046001600160a01b031693505b6099546040517fc495912b000000000000000000000000000000000000000000000000000000008152600481018a90526001600160a01b039091169063c495912b90602401600060405180830381865afa158015611e75573d6000803e3d6000fd5b505050506040513d6000823e601f3d9081017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0168201604052611ebb9190810190613c71565b97999698509496939592505050565b6033546001600160a01b03163314611f245760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016107ea565b6001600160a01b038116611fa05760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f646472657373000000000000000000000000000000000000000000000000000060648201526084016107ea565b611fa98161285b565b50565b6000611fb860016128c5565b90508015611fed57600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff166101001790555b611ff8858585612a17565b60c980547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b038416179055612033612aeb565b60cc80546001810182556000919091527f47197230e1e4b29fc0bd84d7d78966c0925452aff72a2a121538b102457e9ebe0180547fffffffffffffffffffffffff000000000000000000000000000000000000000016905580156108aa57600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15050505050565b60006120ff83610b8d565b905061210a81612b70565b8363ffffffff16816020015163ffffffff1614612153576040517f1612d2ee00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600061215e8461281a565b90506108aa81846040518060600160405280600580811115610885576108856134f0565b600181516005811115612197576121976134f0565b14611fa9576040517f486fcee200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008383836040516020016121e593929190613cd5565b6040516020818303038152906040528051906020012090509392505050565b600061221983600001518460200151846121ce565b90506000612241846040015163ffffffff1687878560cd612bbc90949392919063ffffffff16565b6001600160a01b038416600090815260ca6020526040902085518154929350869282907fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0016600183600581111561229a5761229a6134f0565b021790555060208281015182546040948501517fffffffffffffffffffffffffffffffffffffffffffffff0000000000000000ff90911661010063ffffffff938416027fffffffffffffffffffffffffffffffffffffffffffffff00000000ffffffffff1617650100000000009183169190910217909255860151865192516001600160a01b0387169391909216917f8f9b8b0f4f062833bec85ea9a8465e4a1207b4be6eb565bbd0ae8b913588d04e9161235491613d4d565b60405180910390a36040518181527f2cbc14f49c068133583f7cb530018af451c87c1cf1327cf2a4ff4698c4730aa49060200160405180910390a1505050505050565b60408051606081018252600080825260208201819052918101919091526001600160a01b038216600090815260ca6020526040908190208151606081019092528054829060ff1660058111156123ef576123ef6134f0565b6005811115612400576124006134f0565b8152905463ffffffff610100820481166020840152650100000000009091041660409091015292915050565b600061243783612397565b905061244281612c20565b8363ffffffff16816020015163ffffffff161461248b576040517f1612d2ee00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b826001600160a01b03168463ffffffff167f8f9b8b0f4f062833bec85ea9a8465e4a1207b4be6eb565bbd0ae8b913588d04e60046040516124cc9190613d4d565b60405180910390a36124e2816040015183612c8d565b61146b565b60cc54600090821015610c2b5760cc828154811061250757612507613a1b565b6000918252602090912001546001600160a01b031692915050565b60008115610c2b57611aaf60cc838154811061254057612540613a1b565b6000918252602090912001546001600160a01b031661281a565b6060600061258084518410612579576125748460016139f5565b612f9e565b8451612f9e565b90508067ffffffffffffffff81111561259b5761259b613347565b6040519080825280602002602001820160405280156125c4578160200160208202803683370190505b50845190925060005b8281101561118c578185600118106125e6576000612604565b8585600118815181106125fb576125fb613a1b565b60200260200101515b84828151811061261657612616613a1b565b60200260200101818152505060005b828110156126b6576000816001019050600088838151811061264957612649613a1b565b60200260200101519050600085831061266357600061267e565b89838151811061267557612675613a1b565b60200260200101515b905061268a8282612fb7565b8a600186901c815181106126a0576126a0613a1b565b6020908102919091010152505050600201612625565b50600194851c94918201821c91016125cd565b6002815160058111156126de576126de6134f0565b14611fa9576040517fe637af9400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6098546040517fa2155c3400000000000000000000000000000000000000000000000000000000815263ffffffff8085166004830152831660248201526001600160a01b039091169063a2155c3490604401600060405180830381600087803b15801561278157600080fd5b505af1158015612795573d6000803e3d6000fd5b505060c9546040517fa2155c3400000000000000000000000000000000000000000000000000000000815263ffffffff8087166004830152851660248201526001600160a01b03909116925063a2155c3491506044015b600060405180830381600087803b15801561280657600080fd5b505af1158015610b31573d6000803e3d6000fd5b60008061282683612397565b905060008151600581111561283d5761283d6134f0565b146128555761077681600001518260200151856121ce565b50919050565b603380546001600160a01b038381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60008054610100900460ff1615612962578160ff1660011480156128e85750303b155b61295a5760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201527f647920696e697469616c697a656400000000000000000000000000000000000060648201526084016107ea565b506000919050565b60005460ff8084169116106129df5760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201527f647920696e697469616c697a656400000000000000000000000000000000000060648201526084016107ea565b50600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001660ff92909216919091179055600190565b600054610100900460ff16612a945760405162461bcd60e51b815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201527f6e697469616c697a696e6700000000000000000000000000000000000000000060648201526084016107ea565b609780546001600160a01b039485167fffffffffffffffffffffffff000000000000000000000000000000000000000091821617909155609880549385169382169390931790925560998054919093169116179055565b600054610100900460ff16612b685760405162461bcd60e51b815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201527f6e697469616c697a696e6700000000000000000000000000000000000000000060648201526084016107ea565b6111ef612fff565b600481516005811115612b8557612b856134f0565b14611fa9576040517f0a06903700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8454600090612bce8686866020613085565b14612c05576040517f18b00be200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b612c128583856020613085565b958690555093949350505050565b600181516005811115612c3557612c356134f0565b14158015612c565750600281516005811115612c5357612c536134f0565b14155b15611fa9576040517fec3d0d8500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b63ffffffff82166000908152609a60205260408082208151606081019092528054829060ff166002811115612cc457612cc46134f0565b6002811115612cd557612cd56134f0565b8152905461010081046affffffffffffffffffffff1660208301526c0100000000000000000000000090046001600160a01b03166040909101529050600281516002811115612d2657612d266134f0565b03612d5d576040517ff10068b500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60028082526001600160a01b03831660408084019190915263ffffffff85166000908152609a6020522082518154849383917fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0016906001908490811115612dc657612dc66134f0565b021790555060208281015182546040909401516001600160a01b03166c01000000000000000000000000026bffffffffffffffffffffffff6affffffffffffffffffffff928316610100021660ff90951694909417939093179091558201516000911615612f9457600060018360200151612e419190613d5b565b6affffffffffffffffffffff1690506000609b8281548110612e6557612e65613a1b565b600091825260209182902060408051606081018252919092015463ffffffff8082168352640100000000820481169483019490945268010000000000000000900490921690820152609b8054919250879184908110612ec657612ec6613a1b565b60009182526020918290200180547fffffffffffffffffffffffffffffffffffffffff00000000ffffffffffffffff166801000000000000000063ffffffff94851602179055820151878216911614612f23578060200151612f26565b80515b63ffffffff8181166000818152609a60209081526040808320929092558151878152938b16908401528201526001600160a01b03871660608201529093507fb4cad5624e1d1c6c622ec70516ee582fe3f6519440c5b47e5165141edc9c54cf9060800160405180910390a150505b61146b848261312d565b600060015b82811015612855576001918201911b612fa3565b600082158015612fc5575081155b15612fd257506000611aaf565b50604080516020808201949094528082019290925280518083038201815260609092019052805191012090565b600054610100900460ff1661307c5760405162461bcd60e51b815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201527f6e697469616c697a696e6700000000000000000000000000000000000000000060648201526084016107ea565b6111ef3361285b565b8151600090828111156130c4576040517fc5360feb00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b84915060005b81811015613101576130f7838683815181106130e8576130e8613a1b565b60200260200101518984613208565b92506001016130ca565b50805b83811015613123576131198360008984613208565b9250600101613104565b5050949350505050565b6098546040517f6116921800000000000000000000000000000000000000000000000000000000815263ffffffff8085166004830152831660248201526001600160a01b0390911690636116921890604401600060405180830381600087803b15801561319957600080fd5b505af11580156131ad573d6000803e3d6000fd5b505060c9546040517f6116921800000000000000000000000000000000000000000000000000000000815263ffffffff8087166004830152851660248201526001600160a01b039091169250636116921891506044016127ec565b6000600183831c168103613227576132208585612fb7565b9050613231565b6132208486612fb7565b949350505050565b60008060006060848603121561324e57600080fd5b833561ffff8116811461326057600080fd5b925060208401357fffffffff000000000000000000000000000000000000000000000000000000008116811461329557600080fd5b929592945050506040919091013590565b80356001600160a01b0381168114610c2b57600080fd5b6000806000606084860312156132d257600080fd5b6132db846132a6565b9250602084013560ff8116811461329557600080fd5b6020808252825182820181905260009190848201906040850190845b818110156133295783518352928401929184019160010161330d565b50909695505050505050565b63ffffffff81168114611fa957600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016810167ffffffffffffffff811182821017156133bd576133bd613347565b604052919050565b6000806000606084860312156133da57600080fd5b83356133e581613335565b925060206133f48582016132a6565b9250604085013567ffffffffffffffff8082111561341157600080fd5b818701915087601f83011261342557600080fd5b81358181111561343757613437613347565b8060051b9150613448848301613376565b818152918301840191848101908a84111561346257600080fd5b938501935b8385101561348057843582529385019390850190613467565b8096505050505050509250925092565b6000806000606084860312156134a557600080fd5b83356134b081613335565b92506134be602085016132a6565b91506134cc604085016132a6565b90509250925092565b6000602082840312156134e757600080fd5b610776826132a6565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b6006811061352f5761352f6134f0565b9052565b61353e82825161351f565b60208181015163ffffffff9081169184019190915260409182015116910152565b60608101611aaf8284613533565b60006020828403121561357f57600080fd5b5035919050565b6001600160a01b0383168152608081016107766020830184613533565b600080604083850312156135b657600080fd5b50508035926020909101359150565b60808101600386106135d9576135d96134f0565b9481526001600160a01b0393841660208201529190921660408201526060015290565b60005b838110156136175781810151838201526020016135ff565b50506000910152565b600081518084526136388160208601602086016135fc565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b6020815260006107766020830184613620565b6000806020838503121561369057600080fd5b823567ffffffffffffffff808211156136a857600080fd5b818501915085601f8301126136bc57600080fd5b8135818111156136cb57600080fd5b8660208260051b85010111156136e057600080fd5b60209290920196919550909350505050565b60006020808301818452808551808352604092508286019150828160051b87010184880160005b83811015613778578883037fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc0018552815180511515845287015187840187905261376587850182613620565b9588019593505090860190600101613719565b509098975050505050505050565b6000806040838503121561379957600080fd5b82356137a481613335565b91506137b2602084016132a6565b90509250929050565b600080600080600060a086880312156137d357600080fd5b85356137de81613335565b94506020860135935060408601356137f581613335565b9250613803606087016132a6565b9150613811608087016132a6565b90509295509295909350565b60008060006060848603121561383257600080fd5b833561383d81613335565b95602085013595506040909401359392505050565b6000806040838503121561386557600080fd5b823561387081613335565b9150602083013561388081613335565b809150509250929050565b60006020828403121561389d57600080fd5b813561077681613335565b6020808252825182820181905260009190848201906040850190845b818110156133295783516001600160a01b0316835292840192918401916001016138c4565b6000806000606084860312156138fe57600080fd5b613907846132a6565b9250602084013561329581613335565b60006001600160a01b0380891683528088166020840152808716604084015280861660608401525060c0608083015261395360c0830185613620565b82810360a08401526139658185613620565b9998505050505050505050565b6000806000806080858703121561398857600080fd5b613991856132a6565b935061399f602086016132a6565b92506139ad604086016132a6565b91506139bb606086016132a6565b905092959194509250565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b80820180821115611aaf57611aaf6139c6565b81810381811115611aaf57611aaf6139c6565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203613a7b57613a7b6139c6565b5060010190565b600082357fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc1833603018112613ab657600080fd5b9190910192915050565b60008083357fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe1843603018112613af557600080fd5b83018035915067ffffffffffffffff821115613b1057600080fd5b602001915036819003821315613b2557600080fd5b9250929050565b8183823760009101908152919050565b805164ffffffffff81168114610c2b57600080fd5b600080600060608486031215613b6657600080fd5b613b6f84613b3c565b9250613b7d60208501613b3c565b91506040840151613b8d81613335565b809150509250925092565b600063ffffffff808616835280851660208401525060606040830152610f356060830184613620565b60008060408385031215613bd457600080fd5b8251613bdf81613335565b6020939093015192949293505050565b600082601f830112613c0057600080fd5b815167ffffffffffffffff811115613c1a57613c1a613347565b613c4b60207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f84011601613376565b818152846020838601011115613c6057600080fd5b6132318260208301602087016135fc565b60008060408385031215613c8457600080fd5b825167ffffffffffffffff80821115613c9c57600080fd5b613ca886838701613bef565b93506020850151915080821115613cbe57600080fd5b50613ccb85828601613bef565b9150509250929050565b600060068510613ce757613ce76134f0565b5060f89390931b835260e09190911b7fffffffff0000000000000000000000000000000000000000000000000000000016600183015260601b7fffffffffffffffffffffffffffffffffffffffff00000000000000000000000016600582015260190190565b60208101611aaf828461351f565b6affffffffffffffffffffff828116828216039080821115613d7f57613d7f6139c6565b509291505056fea26469706673582212200c09e05890eb17a97f8b585c9bc6ef377477291e2f36d1c4eb870fb3bd3dce4964736f6c63430008110033",
}

BondingManagerHarnessMetaData contains all meta data concerning the BondingManagerHarness contract.

View Source
var BondingManagerMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[{\"internalType\":\"uint32\",\"name\":\"domain\",\"type\":\"uint32\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"inputs\":[],\"name\":\"AgentCantBeAdded\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"AgentNotActive\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"AgentNotActiveNorUnstaking\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"AgentNotFraudulent\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"AgentNotUnstaking\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"CallerNotDestination\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"CallerNotInbox\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"CallerNotSummit\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"DisputeAlreadyResolved\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"DisputeNotOpened\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"DisputeNotStuck\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"GuardInDispute\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"IncorrectAgentDomain\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"IncorrectVersionLength\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"IndexOutOfRange\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"LeafNotProven\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"MerkleTreeFull\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"MustBeSynapseDomain\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"NotaryInDispute\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"SlashAgentOptimisticPeriod\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"SynapseDomainForbidden\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"TreeHeightTooLow\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"disputeIndex\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint32\",\"name\":\"guardIndex\",\"type\":\"uint32\"},{\"indexed\":false,\"internalType\":\"uint32\",\"name\":\"notaryIndex\",\"type\":\"uint32\"}],\"name\":\"DisputeOpened\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"disputeIndex\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint32\",\"name\":\"slashedIndex\",\"type\":\"uint32\"},{\"indexed\":false,\"internalType\":\"uint32\",\"name\":\"rivalIndex\",\"type\":\"uint32\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"fraudProver\",\"type\":\"address\"}],\"name\":\"DisputeResolved\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint8\",\"name\":\"version\",\"type\":\"uint8\"}],\"name\":\"Initialized\",\"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\":\"bytes32\",\"name\":\"newRoot\",\"type\":\"bytes32\"}],\"name\":\"RootUpdated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"enumAgentFlag\",\"name\":\"flag\",\"type\":\"uint8\"},{\"indexed\":true,\"internalType\":\"uint32\",\"name\":\"domain\",\"type\":\"uint32\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"agent\",\"type\":\"address\"}],\"name\":\"StatusUpdated\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"uint32\",\"name\":\"domain\",\"type\":\"uint32\"},{\"internalType\":\"address\",\"name\":\"agent\",\"type\":\"address\"},{\"internalType\":\"bytes32[]\",\"name\":\"proof\",\"type\":\"bytes32[]\"}],\"name\":\"addAgent\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"agent\",\"type\":\"address\"}],\"name\":\"agentLeaf\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"leaf\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"agentRoot\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"agent\",\"type\":\"address\"}],\"name\":\"agentStatus\",\"outputs\":[{\"components\":[{\"internalType\":\"enumAgentFlag\",\"name\":\"flag\",\"type\":\"uint8\"},{\"internalType\":\"uint32\",\"name\":\"domain\",\"type\":\"uint32\"},{\"internalType\":\"uint32\",\"name\":\"index\",\"type\":\"uint32\"}],\"internalType\":\"structAgentStatus\",\"name\":\"status\",\"type\":\"tuple\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"allLeafs\",\"outputs\":[{\"internalType\":\"bytes32[]\",\"name\":\"leafs\",\"type\":\"bytes32[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint32\",\"name\":\"domain\",\"type\":\"uint32\"},{\"internalType\":\"address\",\"name\":\"agent\",\"type\":\"address\"},{\"internalType\":\"bytes32[]\",\"name\":\"proof\",\"type\":\"bytes32[]\"}],\"name\":\"completeSlashing\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint32\",\"name\":\"domain\",\"type\":\"uint32\"},{\"internalType\":\"address\",\"name\":\"agent\",\"type\":\"address\"},{\"internalType\":\"bytes32[]\",\"name\":\"proof\",\"type\":\"bytes32[]\"}],\"name\":\"completeUnstaking\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"destination\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"agent\",\"type\":\"address\"}],\"name\":\"disputeStatus\",\"outputs\":[{\"internalType\":\"enumDisputeFlag\",\"name\":\"flag\",\"type\":\"uint8\"},{\"internalType\":\"address\",\"name\":\"rival\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"fraudProver\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"disputePtr\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint32\",\"name\":\"domain\",\"type\":\"uint32\"}],\"name\":\"getActiveAgents\",\"outputs\":[{\"internalType\":\"address[]\",\"name\":\"agents\",\"type\":\"address[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"index\",\"type\":\"uint256\"}],\"name\":\"getAgent\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"agent\",\"type\":\"address\"},{\"components\":[{\"internalType\":\"enumAgentFlag\",\"name\":\"flag\",\"type\":\"uint8\"},{\"internalType\":\"uint32\",\"name\":\"domain\",\"type\":\"uint32\"},{\"internalType\":\"uint32\",\"name\":\"index\",\"type\":\"uint32\"}],\"internalType\":\"structAgentStatus\",\"name\":\"status\",\"type\":\"tuple\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"index\",\"type\":\"uint256\"}],\"name\":\"getDispute\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"guard\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"notary\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"slashedAgent\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"fraudProver\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"reportPayload\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"reportSignature\",\"type\":\"bytes\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getDisputesAmount\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"indexFrom\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"getLeafs\",\"outputs\":[{\"internalType\":\"bytes32[]\",\"name\":\"leafs\",\"type\":\"bytes32[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"agent\",\"type\":\"address\"}],\"name\":\"getProof\",\"outputs\":[{\"internalType\":\"bytes32[]\",\"name\":\"proof\",\"type\":\"bytes32[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"inbox\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"origin_\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"destination_\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"inbox_\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"summit_\",\"type\":\"address\"}],\"name\":\"initialize\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint32\",\"name\":\"domain\",\"type\":\"uint32\"},{\"internalType\":\"address\",\"name\":\"agent\",\"type\":\"address\"},{\"internalType\":\"bytes32[]\",\"name\":\"proof\",\"type\":\"bytes32[]\"}],\"name\":\"initiateUnstaking\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"leafsAmount\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"localDomain\",\"outputs\":[{\"internalType\":\"uint32\",\"name\":\"\",\"type\":\"uint32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"bool\",\"name\":\"allowFailure\",\"type\":\"bool\"},{\"internalType\":\"bytes\",\"name\":\"callData\",\"type\":\"bytes\"}],\"internalType\":\"structMultiCallable.Call[]\",\"name\":\"calls\",\"type\":\"tuple[]\"}],\"name\":\"multicall\",\"outputs\":[{\"components\":[{\"internalType\":\"bool\",\"name\":\"success\",\"type\":\"bool\"},{\"internalType\":\"bytes\",\"name\":\"returnData\",\"type\":\"bytes\"}],\"internalType\":\"structMultiCallable.Result[]\",\"name\":\"callResults\",\"type\":\"tuple[]\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint32\",\"name\":\"guardIndex\",\"type\":\"uint32\"},{\"internalType\":\"uint32\",\"name\":\"notaryIndex\",\"type\":\"uint32\"}],\"name\":\"openDispute\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"origin\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint32\",\"name\":\"msgOrigin\",\"type\":\"uint32\"},{\"internalType\":\"uint256\",\"name\":\"proofMaturity\",\"type\":\"uint256\"},{\"internalType\":\"uint32\",\"name\":\"domain\",\"type\":\"uint32\"},{\"internalType\":\"address\",\"name\":\"agent\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"prover\",\"type\":\"address\"}],\"name\":\"remoteSlashAgent\",\"outputs\":[{\"internalType\":\"bytes4\",\"name\":\"magicValue\",\"type\":\"bytes4\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint32\",\"name\":\"domain\",\"type\":\"uint32\"},{\"internalType\":\"address\",\"name\":\"slashedAgent\",\"type\":\"address\"}],\"name\":\"resolveStuckDispute\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint32\",\"name\":\"domain\",\"type\":\"uint32\"},{\"internalType\":\"address\",\"name\":\"agent\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"prover\",\"type\":\"address\"}],\"name\":\"slashAgent\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"summit\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"version\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"versionString\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"uint32\",\"name\":\"origin_\",\"type\":\"uint32\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"withdrawTips\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
	Sigs: map[string]string{
		"237a85a5": "addAgent(uint32,address,bytes32[])",
		"c99dcb9e": "agentLeaf(address)",
		"36cba43c": "agentRoot()",
		"28f3fac9": "agentStatus(address)",
		"12db2ef6": "allLeafs()",
		"fbc5265e": "completeSlashing(uint32,address,bytes32[])",
		"4c3e1c1f": "completeUnstaking(uint32,address,bytes32[])",
		"b269681d": "destination()",
		"3463d1b1": "disputeStatus(address)",
		"c1c0f4f6": "getActiveAgents(uint32)",
		"2de5aaf7": "getAgent(uint256)",
		"e3a96cbd": "getDispute(uint256)",
		"3aaeccc6": "getDisputesAmount()",
		"33d1b2e8": "getLeafs(uint256,uint256)",
		"3eea79d1": "getProof(address)",
		"fb0e722b": "inbox()",
		"f8c8765e": "initialize(address,address,address,address)",
		"130c5673": "initiateUnstaking(uint32,address,bytes32[])",
		"33c3a8f3": "leafsAmount()",
		"8d3638f4": "localDomain()",
		"60fc8466": "multicall((bool,bytes)[])",
		"a2155c34": "openDispute(uint32,uint32)",
		"938b5f32": "origin()",
		"8da5cb5b": "owner()",
		"9d228a51": "remoteSlashAgent(uint32,uint256,uint32,address,address)",
		"715018a6": "renounceOwnership()",
		"89791e17": "resolveStuckDispute(uint32,address)",
		"2853a0e6": "slashAgent(uint32,address,address)",
		"9fbcb9cb": "summit()",
		"f2fde38b": "transferOwnership(address)",
		"54fd4d50": "version()",
		"cc875501": "withdrawTips(address,uint32,uint256)",
	},
	Bin: "0x60e06040523480156200001157600080fd5b5060405162003b3f38038062003b3f83398101604081905262000034916200009c565b60408051808201909152600580825264302e302e3360d81b602083015260805281816200006181620000cb565b60a0525063ffffffff90811660c0528216600a1490506200009557604051632b3a807f60e01b815260040160405180910390fd5b50620000f3565b600060208284031215620000af57600080fd5b815163ffffffff81168114620000c457600080fd5b9392505050565b80516020808301519190811015620000ed576000198160200360031b1b821691505b50919050565b60805160a05160c051613a156200012a600039600081816103ab015261185c0152600061033b015260006103180152613a156000f3fe608060405234801561001057600080fd5b50600436106101f05760003560e01c806389791e171161010f578063c1c0f4f6116100a2578063f2fde38b11610071578063f2fde38b14610502578063f8c8765e14610515578063fb0e722b14610528578063fbc5265e1461053b57600080fd5b8063c1c0f4f614610497578063c99dcb9e146104b7578063cc875501146104ca578063e3a96cbd146104dd57600080fd5b80639d228a51116100de5780639d228a511461041a5780639fbcb9cb1461045e578063a2155c3414610471578063b269681d1461048457600080fd5b806389791e17146103935780638d3638f4146103a65780638da5cb5b146103e2578063938b5f321461040757600080fd5b80633463d1b1116101875780634c3e1c1f116101565780634c3e1c1f146102fa57806354fd4d501461030d57806360fc84661461036b578063715018a61461038b57600080fd5b80633463d1b1146102b457806336cba43c146102d75780633aaeccc6146102df5780633eea79d1146102e757600080fd5b806328f3fac9116101c357806328f3fac91461024e5780632de5aaf71461026e57806333c3a8f31461028f57806333d1b2e8146102a157600080fd5b806312db2ef6146101f5578063130c567314610213578063237a85a5146102285780632853a0e61461023b575b600080fd5b6101fd61054e565b60405161020a9190612f57565b60405180910390f35b610226610221366004613042565b610565565b005b610226610236366004613042565b610682565b61022661024936600461310d565b61090a565b61026161025c366004613152565b61095e565b60405161020a91906131dc565b61028161027c3660046131ea565b610a01565b60405161020a929190613203565b60cc545b60405190815260200161020a565b6101fd6102af366004613220565b610a48565b6102c76102c2366004613152565b610b3c565b60405161020a9493929190613242565b60cd54610293565b609b54610293565b6101fd6102f5366004613152565b610cb0565b610226610308366004613042565b610d0f565b6040805180820182527f000000000000000000000000000000000000000000000000000000000000000081527f00000000000000000000000000000000000000000000000000000000000000006020820152905161020a91906132e7565b61037e6103793660046132fa565b610dfb565b60405161020a919061336f565b610226610f66565b6102266103a1366004613403565b610fc2565b6103cd7f000000000000000000000000000000000000000000000000000000000000000081565b60405163ffffffff909116815260200161020a565b6033546001600160a01b03165b6040516001600160a01b03909116815260200161020a565b6097546103ef906001600160a01b031681565b61042d610428366004613438565b611242565b6040517fffffffff00000000000000000000000000000000000000000000000000000000909116815260200161020a565b60c9546103ef906001600160a01b031681565b61022661047f36600461349a565b6112fc565b6098546103ef906001600160a01b031681565b6104aa6104a53660046134d3565b6116d8565b60405161020a91906134f0565b6102936104c5366004613152565b611805565b6102266104d8366004613531565b611816565b6104f06104eb3660046131ea565b611a0f565b60405161020a96959493929190613570565b610226610510366004613152565b611be7565b6102266105233660046135cb565b611cc9565b6099546103ef906001600160a01b031681565b610226610549366004613042565b611e11565b6060610560600060cc80549050610a48565b905090565b6033546001600160a01b031633146105c45760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064015b60405180910390fd5b60006105cf8361095e565b90506105da81611e9f565b8363ffffffff16816020015163ffffffff1614610623576040517f1612d2ee00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600061063160018686611eeb565b905061067b81846040518060600160405280600260058111156106565761065661316d565b81526020018963ffffffff168152602001866040015163ffffffff1681525087611f22565b5050505050565b6033546001600160a01b031633146106dc5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016105bb565b7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff663ffffffff84160161073b576040517ff2b2faa000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000610746836120b5565b9050600080808351600581111561075f5761075f61316d565b0361083c5760cc5463ffffffff116107a3576040517fef5ccf6600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60cc805460018082019092557f47197230e1e4b29fc0bd84d7d78966c0925452aff72a2a121538b102457e9ebe810180546001600160a01b0389167fffffffffffffffffffffffff0000000000000000000000000000000000000000918216811790925563ffffffff8a16600090815260cb602090815260408220805496870181558252902090930180549093161790915591506108be565b6003835160058111156108515761085161316d565b14801561086d57508563ffffffff16836020015163ffffffff16145b1561088c578260400151915061088560038787611eeb565b90506108be565b6040517f86511bd900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61090281856040518060600160405280600160058111156108e1576108e161316d565b81526020018a63ffffffff1681526020018663ffffffff1681525088611f22565b505050505050565b6099546001600160a01b0316331461094e576040517fdbc2fa8500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61095983838361214a565b505050565b6040805160608101825260008082526020820181905291810191909152610984826120b5565b6001600160a01b038316600090815260ca602090815260408083205465010000000000900463ffffffff168352609a90915290205490915060029060ff16818111156109d2576109d261316d565b1480156109f257506005815160058111156109ef576109ef61316d565b14155b156109fc57600481525b919050565b60408051606081018252600080825260208201819052918101829052610a2683612205565b91506001600160a01b03821615610a4357610a408261095e565b90505b915091565b60cc54606090808410610a87576040517f1390f2a100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80610a92848661364e565b1115610aa557610aa28482613661565b92505b8267ffffffffffffffff811115610abe57610abe612fc4565b604051908082528060200260200182016040528015610ae7578160200160208202803683370190505b50915060005b83811015610b3457610b07610b02828761364e565b612240565b838281518110610b1957610b19613674565b6020908102919091010152610b2d816136a3565b9050610aed565b505092915050565b6000806000806000610b73866001600160a01b0316600090815260ca602052604090205463ffffffff650100000000009091041690565b6000818152609a602052604080822081516060810190925280549394509192909190829060ff166002811115610bab57610bab61316d565b6002811115610bbc57610bbc61316d565b8152905461010081046affffffffffffffffffffff9081166020808501919091526c010000000000000000000000009092046001600160a01b03166040938401528351928401519184015192995090965016935090508215610ca7576000609b610c27600186613661565b81548110610c3757610c37613674565b600091825260209182902060408051606081018252929091015463ffffffff80821680855264010000000083048216958501959095526801000000000000000090910416908201529150610ca3908414610c92578151610c98565b81602001515b63ffffffff16612205565b9550505b50509193509193565b60606000610cbc61054e565b90506000610cc9846120b5565b905060008082516005811115610ce157610ce161316d565b14610cf657816040015163ffffffff16610cfa565b60cc545b9050610d068382612278565b95945050505050565b6033546001600160a01b03163314610d695760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016105bb565b6000610d748361095e565b9050610d7f816123e7565b8363ffffffff16816020015163ffffffff1614610dc8576040517f1612d2ee00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000610dd660028686611eeb565b905061067b81846040518060600160405280600360058111156106565761065661316d565b6060818067ffffffffffffffff811115610e1757610e17612fc4565b604051908082528060200260200182016040528015610e5d57816020015b604080518082019091526000815260606020820152815260200190600190039081610e355790505b5091503660005b82811015610f5d57858582818110610e7e57610e7e613674565b9050602002810190610e9091906136db565b91506000848281518110610ea657610ea6613674565b60200260200101519050306001600160a01b0316838060200190610eca9190613719565b604051610ed8929190613785565b600060405180830381855af49150503d8060008114610f13576040519150601f19603f3d011682016040523d82523d6000602084013e610f18565b606091505b5060208301521515808252833517610f54577f4d6a23280000000000000000000000000000000000000000000000000000000060005260046000fd5b50600101610e64565b50505092915050565b6033546001600160a01b03163314610fc05760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016105bb565b565b6033546001600160a01b0316331461101c5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016105bb565b6001600160a01b038116600090815260ca602090815260408083205465010000000000900463ffffffff168352609a9091528082208151606081019092528054829060ff1660028111156110725761107261316d565b60028111156110835761108361316d565b8152905461010081046affffffffffffffffffffff1660208301526c0100000000000000000000000090046001600160a01b031660409091015290506000815160028111156110d4576110d461316d565b0361110b576040517fb3a71fa200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6002815160028111156111205761112061316d565b03611157576040517ff10068b500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b609854604080517f4098915200000000000000000000000000000000000000000000000000000000815290516000926001600160a01b03169163409891529160048083019260609291908290030181865afa1580156111ba573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111de91906137aa565b505090508064ffffffffff166138406111f7919061364e565b421015611230576040517f6fdc56c000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61123c8484600061214a565b50505050565b6098546000906001600160a01b03163314611289576040517f6efcc49f00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b620151808510156112c6576040517fa8928dd000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6112d184848461214a565b507f9d228a510000000000000000000000000000000000000000000000000000000095945050505050565b6099546001600160a01b03163314611340576040517fdbc2fa8500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b63ffffffff82166000908152609a602052604081205460ff16600281111561136a5761136a61316d565b146113a1576040517fd9d49b4c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b63ffffffff81166000908152609a602052604081205460ff1660028111156113cb576113cb61316d565b14611402576040517f6893014300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b604080516060808201835263ffffffff8086168352848116602084019081526000848601818152609b8054600181810183559382905296517fbba9db4cdbea0a37c207bbb83e20f828cd4441c49891101dc94fd20dc8efc349909701805494519251861668010000000000000000027fffffffffffffffffffffffffffffffffffffffff00000000ffffffffffffffff938716640100000000027fffffffffffffffffffffffffffffffffffffffffffffffff000000000000000090961698909616979097179390931716929092179093559154835191820190935290819081526affffffffffffffffffffff83166020808301919091526000604092830181905263ffffffff87168152609a909152208151815482907fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0016600183600281111561154f5761154f61316d565b0217905550602082015181546040938401516001600160a01b03166c01000000000000000000000000026bffffffffffffffffffffffff6affffffffffffffffffffff909316610100029290921660ff9091161717905580516060810190915280600181526affffffffffffffffffffff83166020808301919091526000604092830181905263ffffffff86168152609a909152208151815482907fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001660018360028111156116205761162061316d565b0217905550602082015181546040909301516001600160a01b03166c01000000000000000000000000026bffffffffffffffffffffffff6affffffffffffffffffffff909216610100029190911660ff909316929092179190911790557fd0672fae056abe2bf0637742527d49add67fdb68192a6c6f6bf86eac19fe05306116a9600183613661565b6040805191825263ffffffff808716602084015285169082015260600160405180910390a16109598383612433565b63ffffffff8116600090815260cb60205260409020546060908067ffffffffffffffff81111561170a5761170a612fc4565b604051908082528060200260200182016040528015611733578160200160208202803683370190505b5091506000805b828110156117f25763ffffffff8516600090815260cb6020526040812080548390811061176957611769613674565b6000918252602090912001546001600160a01b03169050600161178b8261095e565b51600581111561179d5761179d61316d565b036117e1578085846117ae816136a3565b9550815181106117c0576117c0613674565b60200260200101906001600160a01b031690816001600160a01b0316815250505b506117eb816136a3565b905061173a565b508181146117fe578083525b5050919050565b600061181082612538565b92915050565b60c9546001600160a01b0316331461185a576040517fc9c49ce600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b7f000000000000000000000000000000000000000000000000000000000000000063ffffffff168263ffffffff1603611911576097546040517f4e04e7a70000000000000000000000000000000000000000000000000000000081526001600160a01b0385811660048301526024820184905290911690634e04e7a790604401600060405180830381600087803b1580156118f457600080fd5b505af1158015611908573d6000803e3d6000fd5b50505050505050565b609754604080516001600160a01b038681166024830152604480830186905283518084039091018152606490920183526020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167f1fa071380000000000000000000000000000000000000000000000000000000017905291517fa1c702a7000000000000000000000000000000000000000000000000000000008152919092169163a1c702a7916119cd9186916201518091906004016137f1565b60408051808303816000875af11580156119eb573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061067b919061381a565b600080600080606080609b805490508710611a56576040517f1390f2a100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000609b8881548110611a6b57611a6b613674565b600091825260209182902060408051606081018252929091015463ffffffff80821680855264010000000083048216958501959095526801000000000000000090910416908201529150611abe90612205565b9650611ad3816020015163ffffffff16612205565b604082015190965063ffffffff1615611b3057611af9816040015163ffffffff16612205565b60408281015163ffffffff166000908152609a60205220549095506c0100000000000000000000000090046001600160a01b031693505b6099546040517fc495912b000000000000000000000000000000000000000000000000000000008152600481018a90526001600160a01b039091169063c495912b90602401600060405180830381865afa158015611b92573d6000803e3d6000fd5b505050506040513d6000823e601f3d9081017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0168201604052611bd891908101906138ca565b97999698509496939592505050565b6033546001600160a01b03163314611c415760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016105bb565b6001600160a01b038116611cbd5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f646472657373000000000000000000000000000000000000000000000000000060648201526084016105bb565b611cc681612579565b50565b6000611cd560016125e3565b90508015611d0a57600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff166101001790555b611d15858585612735565b60c980547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b038416179055611d50612809565b60cc80546001810182556000919091527f47197230e1e4b29fc0bd84d7d78966c0925452aff72a2a121538b102457e9ebe0180547fffffffffffffffffffffffff0000000000000000000000000000000000000000169055801561067b57600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15050505050565b6000611e1c8361095e565b9050611e278161288e565b8363ffffffff16816020015163ffffffff1614611e70576040517f1612d2ee00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000611e7b84612538565b905061067b818460405180606001604052806005808111156106565761065661316d565b600181516005811115611eb457611eb461316d565b14611cc6576040517f486fcee200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000838383604051602001611f029392919061392e565b6040516020818303038152906040528051906020012090505b9392505050565b6000611f378360000151846020015184611eeb565b90506000611f5f846040015163ffffffff1687878560cd6128da90949392919063ffffffff16565b6001600160a01b038416600090815260ca6020526040902085518154929350869282907fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00166001836005811115611fb857611fb861316d565b021790555060208281015182546040948501517fffffffffffffffffffffffffffffffffffffffffffffff0000000000000000ff90911661010063ffffffff938416027fffffffffffffffffffffffffffffffffffffffffffffff00000000ffffffffff1617650100000000009183169190910217909255860151865192516001600160a01b0387169391909216917f8f9b8b0f4f062833bec85ea9a8465e4a1207b4be6eb565bbd0ae8b913588d04e91612072916139a6565b60405180910390a36040518181527f2cbc14f49c068133583f7cb530018af451c87c1cf1327cf2a4ff4698c4730aa49060200160405180910390a1505050505050565b60408051606081018252600080825260208201819052918101919091526001600160a01b038216600090815260ca6020526040908190208151606081019092528054829060ff16600581111561210d5761210d61316d565b600581111561211e5761211e61316d565b8152905463ffffffff610100820481166020840152650100000000009091041660409091015292915050565b6000612155836120b5565b90506121608161293e565b8363ffffffff16816020015163ffffffff16146121a9576040517f1612d2ee00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b826001600160a01b03168463ffffffff167f8f9b8b0f4f062833bec85ea9a8465e4a1207b4be6eb565bbd0ae8b913588d04e60046040516121ea91906139a6565b60405180910390a36122008160400151836129ab565b61123c565b60cc546000908210156109fc5760cc828154811061222557612225613674565b6000918252602090912001546001600160a01b031692915050565b600081156109fc5761181060cc838154811061225e5761225e613674565b6000918252602090912001546001600160a01b0316612538565b6060600061229e845184106122975761229284600161364e565b612cbc565b8451612cbc565b90508067ffffffffffffffff8111156122b9576122b9612fc4565b6040519080825280602002602001820160405280156122e2578160200160208202803683370190505b50845190925060005b82811015610f5d57818560011810612304576000612322565b85856001188151811061231957612319613674565b60200260200101515b84828151811061233457612334613674565b60200260200101818152505060005b828110156123d4576000816001019050600088838151811061236757612367613674565b60200260200101519050600085831061238157600061239c565b89838151811061239357612393613674565b60200260200101515b90506123a88282612cd5565b8a600186901c815181106123be576123be613674565b6020908102919091010152505050600201612343565b50600194851c94918201821c91016122eb565b6002815160058111156123fc576123fc61316d565b14611cc6576040517fe637af9400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6098546040517fa2155c3400000000000000000000000000000000000000000000000000000000815263ffffffff8085166004830152831660248201526001600160a01b039091169063a2155c3490604401600060405180830381600087803b15801561249f57600080fd5b505af11580156124b3573d6000803e3d6000fd5b505060c9546040517fa2155c3400000000000000000000000000000000000000000000000000000000815263ffffffff8087166004830152851660248201526001600160a01b03909116925063a2155c3491506044015b600060405180830381600087803b15801561252457600080fd5b505af1158015610902573d6000803e3d6000fd5b600080612544836120b5565b905060008151600581111561255b5761255b61316d565b1461257357611f1b8160000151826020015185611eeb565b50919050565b603380546001600160a01b038381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60008054610100900460ff1615612680578160ff1660011480156126065750303b155b6126785760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201527f647920696e697469616c697a656400000000000000000000000000000000000060648201526084016105bb565b506000919050565b60005460ff8084169116106126fd5760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201527f647920696e697469616c697a656400000000000000000000000000000000000060648201526084016105bb565b50600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001660ff92909216919091179055600190565b600054610100900460ff166127b25760405162461bcd60e51b815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201527f6e697469616c697a696e6700000000000000000000000000000000000000000060648201526084016105bb565b609780546001600160a01b039485167fffffffffffffffffffffffff000000000000000000000000000000000000000091821617909155609880549385169382169390931790925560998054919093169116179055565b600054610100900460ff166128865760405162461bcd60e51b815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201527f6e697469616c697a696e6700000000000000000000000000000000000000000060648201526084016105bb565b610fc0612d1d565b6004815160058111156128a3576128a361316d565b14611cc6576040517f0a06903700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b84546000906128ec8686866020612da3565b14612923576040517f18b00be200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6129308583856020612da3565b958690555093949350505050565b6001815160058111156129535761295361316d565b1415801561297457506002815160058111156129715761297161316d565b14155b15611cc6576040517fec3d0d8500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b63ffffffff82166000908152609a60205260408082208151606081019092528054829060ff1660028111156129e2576129e261316d565b60028111156129f3576129f361316d565b8152905461010081046affffffffffffffffffffff1660208301526c0100000000000000000000000090046001600160a01b03166040909101529050600281516002811115612a4457612a4461316d565b03612a7b576040517ff10068b500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60028082526001600160a01b03831660408084019190915263ffffffff85166000908152609a6020522082518154849383917fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0016906001908490811115612ae457612ae461316d565b021790555060208281015182546040909401516001600160a01b03166c01000000000000000000000000026bffffffffffffffffffffffff6affffffffffffffffffffff928316610100021660ff90951694909417939093179091558201516000911615612cb257600060018360200151612b5f91906139b4565b6affffffffffffffffffffff1690506000609b8281548110612b8357612b83613674565b600091825260209182902060408051606081018252919092015463ffffffff8082168352640100000000820481169483019490945268010000000000000000900490921690820152609b8054919250879184908110612be457612be4613674565b60009182526020918290200180547fffffffffffffffffffffffffffffffffffffffff00000000ffffffffffffffff166801000000000000000063ffffffff94851602179055820151878216911614612c41578060200151612c44565b80515b63ffffffff8181166000818152609a60209081526040808320929092558151878152938b16908401528201526001600160a01b03871660608201529093507fb4cad5624e1d1c6c622ec70516ee582fe3f6519440c5b47e5165141edc9c54cf9060800160405180910390a150505b61123c8482612e4b565b600060015b82811015612573576001918201911b612cc1565b600082158015612ce3575081155b15612cf057506000611810565b50604080516020808201949094528082019290925280518083038201815260609092019052805191012090565b600054610100900460ff16612d9a5760405162461bcd60e51b815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201527f6e697469616c697a696e6700000000000000000000000000000000000000000060648201526084016105bb565b610fc033612579565b815160009082811115612de2576040517fc5360feb00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b84915060005b81811015612e1f57612e1583868381518110612e0657612e06613674565b60200260200101518984612f26565b9250600101612de8565b50805b83811015612e4157612e378360008984612f26565b9250600101612e22565b5050949350505050565b6098546040517f6116921800000000000000000000000000000000000000000000000000000000815263ffffffff8085166004830152831660248201526001600160a01b0390911690636116921890604401600060405180830381600087803b158015612eb757600080fd5b505af1158015612ecb573d6000803e3d6000fd5b505060c9546040517f6116921800000000000000000000000000000000000000000000000000000000815263ffffffff8087166004830152851660248201526001600160a01b0390911692506361169218915060440161250a565b6000600183831c168103612f4557612f3e8585612cd5565b9050612f4f565b612f3e8486612cd5565b949350505050565b6020808252825182820181905260009190848201906040850190845b81811015612f8f57835183529284019291840191600101612f73565b50909695505050505050565b63ffffffff81168114611cc657600080fd5b80356001600160a01b03811681146109fc57600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016810167ffffffffffffffff8111828210171561303a5761303a612fc4565b604052919050565b60008060006060848603121561305757600080fd5b833561306281612f9b565b92506020613071858201612fad565b9250604085013567ffffffffffffffff8082111561308e57600080fd5b818701915087601f8301126130a257600080fd5b8135818111156130b4576130b4612fc4565b8060051b91506130c5848301612ff3565b818152918301840191848101908a8411156130df57600080fd5b938501935b838510156130fd578435825293850193908501906130e4565b8096505050505050509250925092565b60008060006060848603121561312257600080fd5b833561312d81612f9b565b925061313b60208501612fad565b915061314960408501612fad565b90509250925092565b60006020828403121561316457600080fd5b611f1b82612fad565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b600681106131ac576131ac61316d565b9052565b6131bb82825161319c565b60208181015163ffffffff9081169184019190915260409182015116910152565b6060810161181082846131b0565b6000602082840312156131fc57600080fd5b5035919050565b6001600160a01b038316815260808101611f1b60208301846131b0565b6000806040838503121561323357600080fd5b50508035926020909101359150565b60808101600386106132565761325661316d565b9481526001600160a01b0393841660208201529190921660408201526060015290565b60005b8381101561329457818101518382015260200161327c565b50506000910152565b600081518084526132b5816020860160208601613279565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b602081526000611f1b602083018461329d565b6000806020838503121561330d57600080fd5b823567ffffffffffffffff8082111561332557600080fd5b818501915085601f83011261333957600080fd5b81358181111561334857600080fd5b8660208260051b850101111561335d57600080fd5b60209290920196919550909350505050565b60006020808301818452808551808352604092508286019150828160051b87010184880160005b838110156133f5578883037fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc001855281518051151584528701518784018790526133e28785018261329d565b9588019593505090860190600101613396565b509098975050505050505050565b6000806040838503121561341657600080fd5b823561342181612f9b565b915061342f60208401612fad565b90509250929050565b600080600080600060a0868803121561345057600080fd5b853561345b81612f9b565b945060208601359350604086013561347281612f9b565b925061348060608701612fad565b915061348e60808701612fad565b90509295509295909350565b600080604083850312156134ad57600080fd5b82356134b881612f9b565b915060208301356134c881612f9b565b809150509250929050565b6000602082840312156134e557600080fd5b8135611f1b81612f9b565b6020808252825182820181905260009190848201906040850190845b81811015612f8f5783516001600160a01b03168352928401929184019160010161350c565b60008060006060848603121561354657600080fd5b61354f84612fad565b9250602084013561355f81612f9b565b929592945050506040919091013590565b60006001600160a01b0380891683528088166020840152808716604084015280861660608401525060c060808301526135ac60c083018561329d565b82810360a08401526135be818561329d565b9998505050505050505050565b600080600080608085870312156135e157600080fd5b6135ea85612fad565b93506135f860208601612fad565b925061360660408601612fad565b915061361460608601612fad565b905092959194509250565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b808201808211156118105761181061361f565b818103818111156118105761181061361f565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82036136d4576136d461361f565b5060010190565b600082357fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc183360301811261370f57600080fd5b9190910192915050565b60008083357fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe184360301811261374e57600080fd5b83018035915067ffffffffffffffff82111561376957600080fd5b60200191503681900382131561377e57600080fd5b9250929050565b8183823760009101908152919050565b805164ffffffffff811681146109fc57600080fd5b6000806000606084860312156137bf57600080fd5b6137c884613795565b92506137d660208501613795565b915060408401516137e681612f9b565b809150509250925092565b600063ffffffff808616835280851660208401525060606040830152610d06606083018461329d565b6000806040838503121561382d57600080fd5b825161383881612f9b565b6020939093015192949293505050565b600082601f83011261385957600080fd5b815167ffffffffffffffff81111561387357613873612fc4565b6138a460207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f84011601612ff3565b8181528460208386010111156138b957600080fd5b612f4f826020830160208701613279565b600080604083850312156138dd57600080fd5b825167ffffffffffffffff808211156138f557600080fd5b61390186838701613848565b9350602085015191508082111561391757600080fd5b5061392485828601613848565b9150509250929050565b6000600685106139405761394061316d565b5060f89390931b835260e09190911b7fffffffff0000000000000000000000000000000000000000000000000000000016600183015260601b7fffffffffffffffffffffffffffffffffffffffff00000000000000000000000016600582015260190190565b60208101611810828461319c565b6affffffffffffffffffffff8281168282160390808211156139d8576139d861361f565b509291505056fea2646970667358221220e309f9bffc15890b051ed3430856c060a8f43710dfae59ee291e1ab157bc0db564736f6c63430008110033",
}

BondingManagerMetaData contains all meta data concerning the BondingManager contract.

View Source
var ContextUpgradeableABI = ContextUpgradeableMetaData.ABI

ContextUpgradeableABI is the input ABI used to generate the binding from. Deprecated: Use ContextUpgradeableMetaData.ABI instead.

View Source
var ContextUpgradeableMetaData = &bind.MetaData{
	ABI: "[{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint8\",\"name\":\"version\",\"type\":\"uint8\"}],\"name\":\"Initialized\",\"type\":\"event\"}]",
}

ContextUpgradeableMetaData contains all meta data concerning the ContextUpgradeable contract.

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

Contracts are unmarshalled on start

View Source
var GasDataLibABI = GasDataLibMetaData.ABI

GasDataLibABI is the input ABI used to generate the binding from. Deprecated: Use GasDataLibMetaData.ABI instead.

View Source
var GasDataLibBin = GasDataLibMetaData.Bin

GasDataLibBin is the compiled bytecode used for deploying new contracts. Deprecated: Use GasDataLibMetaData.Bin instead.

View Source
var GasDataLibMetaData = &bind.MetaData{
	ABI: "[]",
	Bin: "0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220454da8b88aae5239844c021feb4aadc952f1363a899e43e9439cbeb8c8c4145264736f6c63430008110033",
}

GasDataLibMetaData contains all meta data concerning the GasDataLib contract.

View Source
var IAgentManagerABI = IAgentManagerMetaData.ABI

IAgentManagerABI is the input ABI used to generate the binding from. Deprecated: Use IAgentManagerMetaData.ABI instead.

View Source
var IAgentManagerFuncSigs = IAgentManagerMetaData.Sigs

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

View Source
var IAgentManagerMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[],\"name\":\"agentRoot\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"agent\",\"type\":\"address\"}],\"name\":\"agentStatus\",\"outputs\":[{\"components\":[{\"internalType\":\"enumAgentFlag\",\"name\":\"flag\",\"type\":\"uint8\"},{\"internalType\":\"uint32\",\"name\":\"domain\",\"type\":\"uint32\"},{\"internalType\":\"uint32\",\"name\":\"index\",\"type\":\"uint32\"}],\"internalType\":\"structAgentStatus\",\"name\":\"\",\"type\":\"tuple\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"agent\",\"type\":\"address\"}],\"name\":\"disputeStatus\",\"outputs\":[{\"internalType\":\"enumDisputeFlag\",\"name\":\"flag\",\"type\":\"uint8\"},{\"internalType\":\"address\",\"name\":\"rival\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"fraudProver\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"disputePtr\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"index\",\"type\":\"uint256\"}],\"name\":\"getAgent\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"agent\",\"type\":\"address\"},{\"components\":[{\"internalType\":\"enumAgentFlag\",\"name\":\"flag\",\"type\":\"uint8\"},{\"internalType\":\"uint32\",\"name\":\"domain\",\"type\":\"uint32\"},{\"internalType\":\"uint32\",\"name\":\"index\",\"type\":\"uint32\"}],\"internalType\":\"structAgentStatus\",\"name\":\"status\",\"type\":\"tuple\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"index\",\"type\":\"uint256\"}],\"name\":\"getDispute\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"guard\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"notary\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"slashedAgent\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"fraudProver\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"reportPayload\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"reportSignature\",\"type\":\"bytes\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getDisputesAmount\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint32\",\"name\":\"guardIndex\",\"type\":\"uint32\"},{\"internalType\":\"uint32\",\"name\":\"notaryIndex\",\"type\":\"uint32\"}],\"name\":\"openDispute\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint32\",\"name\":\"domain\",\"type\":\"uint32\"},{\"internalType\":\"address\",\"name\":\"slashedAgent\",\"type\":\"address\"}],\"name\":\"resolveStuckDispute\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint32\",\"name\":\"domain\",\"type\":\"uint32\"},{\"internalType\":\"address\",\"name\":\"agent\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"prover\",\"type\":\"address\"}],\"name\":\"slashAgent\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
	Sigs: map[string]string{
		"36cba43c": "agentRoot()",
		"28f3fac9": "agentStatus(address)",
		"3463d1b1": "disputeStatus(address)",
		"2de5aaf7": "getAgent(uint256)",
		"e3a96cbd": "getDispute(uint256)",
		"3aaeccc6": "getDisputesAmount()",
		"a2155c34": "openDispute(uint32,uint32)",
		"89791e17": "resolveStuckDispute(uint32,address)",
		"2853a0e6": "slashAgent(uint32,address,address)",
	},
}

IAgentManagerMetaData contains all meta data concerning the IAgentManager contract.

View Source
var IAgentSecuredABI = IAgentSecuredMetaData.ABI

IAgentSecuredABI is the input ABI used to generate the binding from. Deprecated: Use IAgentSecuredMetaData.ABI instead.

View Source
var IAgentSecuredFuncSigs = IAgentSecuredMetaData.Sigs

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

View Source
var IAgentSecuredMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[],\"name\":\"agentManager\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"agent\",\"type\":\"address\"}],\"name\":\"agentStatus\",\"outputs\":[{\"components\":[{\"internalType\":\"enumAgentFlag\",\"name\":\"flag\",\"type\":\"uint8\"},{\"internalType\":\"uint32\",\"name\":\"domain\",\"type\":\"uint32\"},{\"internalType\":\"uint32\",\"name\":\"index\",\"type\":\"uint32\"}],\"internalType\":\"structAgentStatus\",\"name\":\"\",\"type\":\"tuple\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"index\",\"type\":\"uint256\"}],\"name\":\"getAgent\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"agent\",\"type\":\"address\"},{\"components\":[{\"internalType\":\"enumAgentFlag\",\"name\":\"flag\",\"type\":\"uint8\"},{\"internalType\":\"uint32\",\"name\":\"domain\",\"type\":\"uint32\"},{\"internalType\":\"uint32\",\"name\":\"index\",\"type\":\"uint32\"}],\"internalType\":\"structAgentStatus\",\"name\":\"status\",\"type\":\"tuple\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"inbox\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint32\",\"name\":\"guardIndex\",\"type\":\"uint32\"},{\"internalType\":\"uint32\",\"name\":\"notaryIndex\",\"type\":\"uint32\"}],\"name\":\"openDispute\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint32\",\"name\":\"slashedIndex\",\"type\":\"uint32\"},{\"internalType\":\"uint32\",\"name\":\"rivalIndex\",\"type\":\"uint32\"}],\"name\":\"resolveDispute\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
	Sigs: map[string]string{
		"7622f78d": "agentManager()",
		"28f3fac9": "agentStatus(address)",
		"2de5aaf7": "getAgent(uint256)",
		"fb0e722b": "inbox()",
		"a2155c34": "openDispute(uint32,uint32)",
		"61169218": "resolveDispute(uint32,uint32)",
	},
}

IAgentSecuredMetaData contains all meta data concerning the IAgentSecured contract.

View Source
var IStatementInboxABI = IStatementInboxMetaData.ABI

IStatementInboxABI is the input ABI used to generate the binding from. Deprecated: Use IStatementInboxMetaData.ABI instead.

View Source
var IStatementInboxFuncSigs = IStatementInboxMetaData.Sigs

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

View Source
var IStatementInboxMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"index\",\"type\":\"uint256\"}],\"name\":\"getGuardReport\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"statementPayload\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"reportSignature\",\"type\":\"bytes\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getReportsAmount\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"index\",\"type\":\"uint256\"}],\"name\":\"getStoredSignature\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"stateIndex\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"srSignature\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"snapPayload\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"attPayload\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"attSignature\",\"type\":\"bytes\"}],\"name\":\"submitStateReportWithAttestation\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"wasAccepted\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"stateIndex\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"srSignature\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"snapPayload\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"snapSignature\",\"type\":\"bytes\"}],\"name\":\"submitStateReportWithSnapshot\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"wasAccepted\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"stateIndex\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"statePayload\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"srSignature\",\"type\":\"bytes\"},{\"internalType\":\"bytes32[]\",\"name\":\"snapProof\",\"type\":\"bytes32[]\"},{\"internalType\":\"bytes\",\"name\":\"attPayload\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"attSignature\",\"type\":\"bytes\"}],\"name\":\"submitStateReportWithSnapshotProof\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"wasAccepted\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"rcptPayload\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"rcptSignature\",\"type\":\"bytes\"}],\"name\":\"verifyReceipt\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"isValidReceipt\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"rcptPayload\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"rrSignature\",\"type\":\"bytes\"}],\"name\":\"verifyReceiptReport\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"isValidReport\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"statePayload\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"srSignature\",\"type\":\"bytes\"}],\"name\":\"verifyStateReport\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"isValidReport\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"stateIndex\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"snapPayload\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"attPayload\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"attSignature\",\"type\":\"bytes\"}],\"name\":\"verifyStateWithAttestation\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"isValidState\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"stateIndex\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"snapPayload\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"snapSignature\",\"type\":\"bytes\"}],\"name\":\"verifyStateWithSnapshot\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"isValidState\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"stateIndex\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"statePayload\",\"type\":\"bytes\"},{\"internalType\":\"bytes32[]\",\"name\":\"snapProof\",\"type\":\"bytes32[]\"},{\"internalType\":\"bytes\",\"name\":\"attPayload\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"attSignature\",\"type\":\"bytes\"}],\"name\":\"verifyStateWithSnapshotProof\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"isValidState\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
	Sigs: map[string]string{
		"c495912b": "getGuardReport(uint256)",
		"756ed01d": "getReportsAmount()",
		"ddeffa66": "getStoredSignature(uint256)",
		"0b6b985c": "submitStateReportWithAttestation(uint256,bytes,bytes,bytes,bytes)",
		"62389709": "submitStateReportWithSnapshot(uint256,bytes,bytes,bytes)",
		"0db27e77": "submitStateReportWithSnapshotProof(uint256,bytes,bytes,bytes32[],bytes,bytes)",
		"c25aa585": "verifyReceipt(bytes,bytes)",
		"91af2e5d": "verifyReceiptReport(bytes,bytes)",
		"dfe39675": "verifyStateReport(bytes,bytes)",
		"200f6b66": "verifyStateWithAttestation(uint256,bytes,bytes,bytes)",
		"213a6ddb": "verifyStateWithSnapshot(uint256,bytes,bytes)",
		"7be8e738": "verifyStateWithSnapshotProof(uint256,bytes,bytes32[],bytes,bytes)",
	},
}

IStatementInboxMetaData contains all meta data concerning the IStatementInbox contract.

View Source
var InitializableABI = InitializableMetaData.ABI

InitializableABI is the input ABI used to generate the binding from. Deprecated: Use InitializableMetaData.ABI instead.

View Source
var InitializableMetaData = &bind.MetaData{
	ABI: "[{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint8\",\"name\":\"version\",\"type\":\"uint8\"}],\"name\":\"Initialized\",\"type\":\"event\"}]",
}

InitializableMetaData contains all meta data concerning the Initializable contract.

View Source
var InterfaceBondingManagerABI = InterfaceBondingManagerMetaData.ABI

InterfaceBondingManagerABI is the input ABI used to generate the binding from. Deprecated: Use InterfaceBondingManagerMetaData.ABI instead.

View Source
var InterfaceBondingManagerFuncSigs = InterfaceBondingManagerMetaData.Sigs

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

View Source
var InterfaceBondingManagerMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[{\"internalType\":\"uint32\",\"name\":\"domain\",\"type\":\"uint32\"},{\"internalType\":\"address\",\"name\":\"agent\",\"type\":\"address\"},{\"internalType\":\"bytes32[]\",\"name\":\"proof\",\"type\":\"bytes32[]\"}],\"name\":\"addAgent\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"agent\",\"type\":\"address\"}],\"name\":\"agentLeaf\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"leaf\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"allLeafs\",\"outputs\":[{\"internalType\":\"bytes32[]\",\"name\":\"leafs\",\"type\":\"bytes32[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint32\",\"name\":\"domain\",\"type\":\"uint32\"},{\"internalType\":\"address\",\"name\":\"agent\",\"type\":\"address\"},{\"internalType\":\"bytes32[]\",\"name\":\"proof\",\"type\":\"bytes32[]\"}],\"name\":\"completeSlashing\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint32\",\"name\":\"domain\",\"type\":\"uint32\"},{\"internalType\":\"address\",\"name\":\"agent\",\"type\":\"address\"},{\"internalType\":\"bytes32[]\",\"name\":\"proof\",\"type\":\"bytes32[]\"}],\"name\":\"completeUnstaking\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint32\",\"name\":\"domain\",\"type\":\"uint32\"}],\"name\":\"getActiveAgents\",\"outputs\":[{\"internalType\":\"address[]\",\"name\":\"agents\",\"type\":\"address[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"indexFrom\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"getLeafs\",\"outputs\":[{\"internalType\":\"bytes32[]\",\"name\":\"leafs\",\"type\":\"bytes32[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"agent\",\"type\":\"address\"}],\"name\":\"getProof\",\"outputs\":[{\"internalType\":\"bytes32[]\",\"name\":\"proof\",\"type\":\"bytes32[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint32\",\"name\":\"domain\",\"type\":\"uint32\"},{\"internalType\":\"address\",\"name\":\"agent\",\"type\":\"address\"},{\"internalType\":\"bytes32[]\",\"name\":\"proof\",\"type\":\"bytes32[]\"}],\"name\":\"initiateUnstaking\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"leafsAmount\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint32\",\"name\":\"msgOrigin\",\"type\":\"uint32\"},{\"internalType\":\"uint256\",\"name\":\"proofMaturity\",\"type\":\"uint256\"},{\"internalType\":\"uint32\",\"name\":\"domain\",\"type\":\"uint32\"},{\"internalType\":\"address\",\"name\":\"agent\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"prover\",\"type\":\"address\"}],\"name\":\"remoteSlashAgent\",\"outputs\":[{\"internalType\":\"bytes4\",\"name\":\"magicValue\",\"type\":\"bytes4\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"uint32\",\"name\":\"origin\",\"type\":\"uint32\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"withdrawTips\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
	Sigs: map[string]string{
		"237a85a5": "addAgent(uint32,address,bytes32[])",
		"c99dcb9e": "agentLeaf(address)",
		"12db2ef6": "allLeafs()",
		"fbc5265e": "completeSlashing(uint32,address,bytes32[])",
		"4c3e1c1f": "completeUnstaking(uint32,address,bytes32[])",
		"c1c0f4f6": "getActiveAgents(uint32)",
		"33d1b2e8": "getLeafs(uint256,uint256)",
		"3eea79d1": "getProof(address)",
		"130c5673": "initiateUnstaking(uint32,address,bytes32[])",
		"33c3a8f3": "leafsAmount()",
		"9d228a51": "remoteSlashAgent(uint32,uint256,uint32,address,address)",
		"cc875501": "withdrawTips(address,uint32,uint256)",
	},
}

InterfaceBondingManagerMetaData contains all meta data concerning the InterfaceBondingManager contract.

View Source
var InterfaceDestinationABI = InterfaceDestinationMetaData.ABI

InterfaceDestinationABI is the input ABI used to generate the binding from. Deprecated: Use InterfaceDestinationMetaData.ABI instead.

View Source
var InterfaceDestinationFuncSigs = InterfaceDestinationMetaData.Sigs

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

View Source
var InterfaceDestinationMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[{\"internalType\":\"uint32\",\"name\":\"notaryIndex\",\"type\":\"uint32\"},{\"internalType\":\"uint256\",\"name\":\"sigIndex\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"attPayload\",\"type\":\"bytes\"},{\"internalType\":\"bytes32\",\"name\":\"agentRoot\",\"type\":\"bytes32\"},{\"internalType\":\"ChainGas[]\",\"name\":\"snapGas\",\"type\":\"uint128[]\"}],\"name\":\"acceptAttestation\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"wasAccepted\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"attestationsAmount\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"destStatus\",\"outputs\":[{\"internalType\":\"uint40\",\"name\":\"snapRootTime\",\"type\":\"uint40\"},{\"internalType\":\"uint40\",\"name\":\"agentRootTime\",\"type\":\"uint40\"},{\"internalType\":\"uint32\",\"name\":\"notaryIndex\",\"type\":\"uint32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"index\",\"type\":\"uint256\"}],\"name\":\"getAttestation\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"attPayload\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"attSignature\",\"type\":\"bytes\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint32\",\"name\":\"domain\",\"type\":\"uint32\"}],\"name\":\"getGasData\",\"outputs\":[{\"internalType\":\"GasData\",\"name\":\"gasData\",\"type\":\"uint96\"},{\"internalType\":\"uint256\",\"name\":\"dataMaturity\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"nextAgentRoot\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"passAgentRoot\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"rootPassed\",\"type\":\"bool\"},{\"internalType\":\"bool\",\"name\":\"rootPending\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
	Sigs: map[string]string{
		"39fe2736": "acceptAttestation(uint32,uint256,bytes,bytes32,uint128[])",
		"3cf7b120": "attestationsAmount()",
		"40989152": "destStatus()",
		"29be4db2": "getAttestation(uint256)",
		"d0dd0675": "getGasData(uint32)",
		"55252dd1": "nextAgentRoot()",
		"a554d1e3": "passAgentRoot()",
	},
}

InterfaceDestinationMetaData contains all meta data concerning the InterfaceDestination contract.

View Source
var InterfaceLightManagerABI = InterfaceLightManagerMetaData.ABI

InterfaceLightManagerABI is the input ABI used to generate the binding from. Deprecated: Use InterfaceLightManagerMetaData.ABI instead.

View Source
var InterfaceLightManagerFuncSigs = InterfaceLightManagerMetaData.Sigs

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

View Source
var InterfaceLightManagerMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[{\"internalType\":\"uint32\",\"name\":\"msgOrigin\",\"type\":\"uint32\"},{\"internalType\":\"uint256\",\"name\":\"proofMaturity\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"remoteWithdrawTips\",\"outputs\":[{\"internalType\":\"bytes4\",\"name\":\"magicValue\",\"type\":\"bytes4\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"agentRoot\",\"type\":\"bytes32\"}],\"name\":\"setAgentRoot\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"agent\",\"type\":\"address\"},{\"components\":[{\"internalType\":\"enumAgentFlag\",\"name\":\"flag\",\"type\":\"uint8\"},{\"internalType\":\"uint32\",\"name\":\"domain\",\"type\":\"uint32\"},{\"internalType\":\"uint32\",\"name\":\"index\",\"type\":\"uint32\"}],\"internalType\":\"structAgentStatus\",\"name\":\"status\",\"type\":\"tuple\"},{\"internalType\":\"bytes32[]\",\"name\":\"proof\",\"type\":\"bytes32[]\"}],\"name\":\"updateAgentStatus\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
	Sigs: map[string]string{
		"1fa07138": "remoteWithdrawTips(uint32,uint256,address,uint256)",
		"58668176": "setAgentRoot(bytes32)",
		"cbd05965": "updateAgentStatus(address,(uint8,uint32,uint32),bytes32[])",
	},
}

InterfaceLightManagerMetaData contains all meta data concerning the InterfaceLightManager contract.

View Source
var InterfaceOriginABI = InterfaceOriginMetaData.ABI

InterfaceOriginABI is the input ABI used to generate the binding from. Deprecated: Use InterfaceOriginMetaData.ABI instead.

View Source
var InterfaceOriginFuncSigs = InterfaceOriginMetaData.Sigs

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

View Source
var InterfaceOriginMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[{\"internalType\":\"uint32\",\"name\":\"destination\",\"type\":\"uint32\"},{\"internalType\":\"uint256\",\"name\":\"paddedRequest\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"contentLength\",\"type\":\"uint256\"}],\"name\":\"getMinimumTipsValue\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"tipsValue\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint32\",\"name\":\"destination\",\"type\":\"uint32\"},{\"internalType\":\"bytes32\",\"name\":\"recipient\",\"type\":\"bytes32\"},{\"internalType\":\"uint32\",\"name\":\"optimisticPeriod\",\"type\":\"uint32\"},{\"internalType\":\"uint256\",\"name\":\"paddedRequest\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"content\",\"type\":\"bytes\"}],\"name\":\"sendBaseMessage\",\"outputs\":[{\"internalType\":\"uint32\",\"name\":\"messageNonce\",\"type\":\"uint32\"},{\"internalType\":\"bytes32\",\"name\":\"messageHash\",\"type\":\"bytes32\"}],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint32\",\"name\":\"destination\",\"type\":\"uint32\"},{\"internalType\":\"uint32\",\"name\":\"optimisticPeriod\",\"type\":\"uint32\"},{\"internalType\":\"bytes\",\"name\":\"payload\",\"type\":\"bytes\"}],\"name\":\"sendManagerMessage\",\"outputs\":[{\"internalType\":\"uint32\",\"name\":\"messageNonce\",\"type\":\"uint32\"},{\"internalType\":\"bytes32\",\"name\":\"messageHash\",\"type\":\"bytes32\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"withdrawTips\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
	Sigs: map[string]string{
		"4fc6ad85": "getMinimumTipsValue(uint32,uint256,uint256)",
		"873661bd": "sendBaseMessage(uint32,bytes32,uint32,uint256,bytes)",
		"a1c702a7": "sendManagerMessage(uint32,uint32,bytes)",
		"4e04e7a7": "withdrawTips(address,uint256)",
	},
}

InterfaceOriginMetaData contains all meta data concerning the InterfaceOrigin contract.

View Source
var MerkleMathABI = MerkleMathMetaData.ABI

MerkleMathABI is the input ABI used to generate the binding from. Deprecated: Use MerkleMathMetaData.ABI instead.

View Source
var MerkleMathBin = MerkleMathMetaData.Bin

MerkleMathBin is the compiled bytecode used for deploying new contracts. Deprecated: Use MerkleMathMetaData.Bin instead.

View Source
var MerkleMathMetaData = &bind.MetaData{
	ABI: "[]",
	Bin: "0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea26469706673582212202ffb8fc453efe7daad95cf90227a455d974d681b1c7348e8aab7568e4efaf22264736f6c63430008110033",
}

MerkleMathMetaData contains all meta data concerning the MerkleMath contract.

View Source
var MerkleTreeABI = MerkleTreeMetaData.ABI

MerkleTreeABI is the input ABI used to generate the binding from. Deprecated: Use MerkleTreeMetaData.ABI instead.

View Source
var MerkleTreeBin = MerkleTreeMetaData.Bin

MerkleTreeBin is the compiled bytecode used for deploying new contracts. Deprecated: Use MerkleTreeMetaData.Bin instead.

View Source
var MerkleTreeMetaData = &bind.MetaData{
	ABI: "[]",
	Bin: "0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea26469706673582212200269a857f777cd2b749e4b72e0b6df0ada69dbc9b4e3503e8ef922ad73d07ae964736f6c63430008110033",
}

MerkleTreeMetaData contains all meta data concerning the MerkleTree contract.

View Source
var MessagingBaseABI = MessagingBaseMetaData.ABI

MessagingBaseABI is the input ABI used to generate the binding from. Deprecated: Use MessagingBaseMetaData.ABI instead.

View Source
var MessagingBaseFuncSigs = MessagingBaseMetaData.Sigs

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

View Source
var MessagingBaseMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[],\"name\":\"IncorrectVersionLength\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint8\",\"name\":\"version\",\"type\":\"uint8\"}],\"name\":\"Initialized\",\"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\"},{\"inputs\":[],\"name\":\"localDomain\",\"outputs\":[{\"internalType\":\"uint32\",\"name\":\"\",\"type\":\"uint32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"bool\",\"name\":\"allowFailure\",\"type\":\"bool\"},{\"internalType\":\"bytes\",\"name\":\"callData\",\"type\":\"bytes\"}],\"internalType\":\"structMultiCallable.Call[]\",\"name\":\"calls\",\"type\":\"tuple[]\"}],\"name\":\"multicall\",\"outputs\":[{\"components\":[{\"internalType\":\"bool\",\"name\":\"success\",\"type\":\"bool\"},{\"internalType\":\"bytes\",\"name\":\"returnData\",\"type\":\"bytes\"}],\"internalType\":\"structMultiCallable.Result[]\",\"name\":\"callResults\",\"type\":\"tuple[]\"}],\"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\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"version\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"versionString\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"}]",
	Sigs: map[string]string{
		"8d3638f4": "localDomain()",
		"60fc8466": "multicall((bool,bytes)[])",
		"8da5cb5b": "owner()",
		"715018a6": "renounceOwnership()",
		"f2fde38b": "transferOwnership(address)",
		"54fd4d50": "version()",
	},
}

MessagingBaseMetaData contains all meta data concerning the MessagingBase contract.

View Source
var MultiCallableABI = MultiCallableMetaData.ABI

MultiCallableABI is the input ABI used to generate the binding from. Deprecated: Use MultiCallableMetaData.ABI instead.

View Source
var MultiCallableFuncSigs = MultiCallableMetaData.Sigs

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

View Source
var MultiCallableMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[{\"components\":[{\"internalType\":\"bool\",\"name\":\"allowFailure\",\"type\":\"bool\"},{\"internalType\":\"bytes\",\"name\":\"callData\",\"type\":\"bytes\"}],\"internalType\":\"structMultiCallable.Call[]\",\"name\":\"calls\",\"type\":\"tuple[]\"}],\"name\":\"multicall\",\"outputs\":[{\"components\":[{\"internalType\":\"bool\",\"name\":\"success\",\"type\":\"bool\"},{\"internalType\":\"bytes\",\"name\":\"returnData\",\"type\":\"bytes\"}],\"internalType\":\"structMultiCallable.Result[]\",\"name\":\"callResults\",\"type\":\"tuple[]\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
	Sigs: map[string]string{
		"60fc8466": "multicall((bool,bytes)[])",
	},
}

MultiCallableMetaData contains all meta data concerning the MultiCallable contract.

View Source
var NumberLibABI = NumberLibMetaData.ABI

NumberLibABI is the input ABI used to generate the binding from. Deprecated: Use NumberLibMetaData.ABI instead.

View Source
var NumberLibBin = NumberLibMetaData.Bin

NumberLibBin is the compiled bytecode used for deploying new contracts. Deprecated: Use NumberLibMetaData.Bin instead.

View Source
var NumberLibMetaData = &bind.MetaData{
	ABI: "[]",
	Bin: "0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220c970b15dbf08d99cf364c261d55c26ddb233cdaf59463f362f5df086ec4943f864736f6c63430008110033",
}

NumberLibMetaData contains all meta data concerning the NumberLib contract.

View Source
var OwnableUpgradeableABI = OwnableUpgradeableMetaData.ABI

OwnableUpgradeableABI is the input ABI used to generate the binding from. Deprecated: Use OwnableUpgradeableMetaData.ABI instead.

View Source
var OwnableUpgradeableFuncSigs = OwnableUpgradeableMetaData.Sigs

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

View Source
var OwnableUpgradeableMetaData = &bind.MetaData{
	ABI: "[{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint8\",\"name\":\"version\",\"type\":\"uint8\"}],\"name\":\"Initialized\",\"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\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
	Sigs: map[string]string{
		"8da5cb5b": "owner()",
		"715018a6": "renounceOwnership()",
		"f2fde38b": "transferOwnership(address)",
	},
}

OwnableUpgradeableMetaData contains all meta data concerning the OwnableUpgradeable contract.

View Source
var StructureUtilsABI = StructureUtilsMetaData.ABI

StructureUtilsABI is the input ABI used to generate the binding from. Deprecated: Use StructureUtilsMetaData.ABI instead.

View Source
var StructureUtilsBin = StructureUtilsMetaData.Bin

StructureUtilsBin is the compiled bytecode used for deploying new contracts. Deprecated: Use StructureUtilsMetaData.Bin instead.

View Source
var StructureUtilsMetaData = &bind.MetaData{
	ABI: "[]",
	Bin: "0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220d488c4b6d174e1b21d8e7d19832b8cdf6bc83224777463448bf456f30f2c431864736f6c63430008110033",
}

StructureUtilsMetaData contains all meta data concerning the StructureUtils contract.

View Source
var VersionedABI = VersionedMetaData.ABI

VersionedABI is the input ABI used to generate the binding from. Deprecated: Use VersionedMetaData.ABI instead.

View Source
var VersionedFuncSigs = VersionedMetaData.Sigs

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

View Source
var VersionedMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[],\"name\":\"IncorrectVersionLength\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"version\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"versionString\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"}]",
	Sigs: map[string]string{
		"54fd4d50": "version()",
	},
}

VersionedMetaData contains all meta data concerning the Versioned contract.

Functions

This section is empty.

Types

type AddressUpgradeable

type AddressUpgradeable struct {
	AddressUpgradeableCaller     // Read-only binding to the contract
	AddressUpgradeableTransactor // Write-only binding to the contract
	AddressUpgradeableFilterer   // Log filterer for contract events
}

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

func DeployAddressUpgradeable

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

DeployAddressUpgradeable deploys a new Ethereum contract, binding an instance of AddressUpgradeable to it.

func NewAddressUpgradeable

func NewAddressUpgradeable(address common.Address, backend bind.ContractBackend) (*AddressUpgradeable, error)

NewAddressUpgradeable creates a new instance of AddressUpgradeable, bound to a specific deployed contract.

type AddressUpgradeableCaller

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

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

func NewAddressUpgradeableCaller

func NewAddressUpgradeableCaller(address common.Address, caller bind.ContractCaller) (*AddressUpgradeableCaller, error)

NewAddressUpgradeableCaller creates a new read-only instance of AddressUpgradeable, bound to a specific deployed contract.

type AddressUpgradeableCallerRaw

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

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

func (*AddressUpgradeableCallerRaw) Call

func (_AddressUpgradeable *AddressUpgradeableCallerRaw) 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 AddressUpgradeableCallerSession

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

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

type AddressUpgradeableFilterer

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

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

func NewAddressUpgradeableFilterer

func NewAddressUpgradeableFilterer(address common.Address, filterer bind.ContractFilterer) (*AddressUpgradeableFilterer, error)

NewAddressUpgradeableFilterer creates a new log filterer instance of AddressUpgradeable, bound to a specific deployed contract.

type AddressUpgradeableRaw

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

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

func (*AddressUpgradeableRaw) Call

func (_AddressUpgradeable *AddressUpgradeableRaw) 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 (*AddressUpgradeableRaw) Transact

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

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

func (*AddressUpgradeableRaw) Transfer

func (_AddressUpgradeable *AddressUpgradeableRaw) 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 AddressUpgradeableSession

type AddressUpgradeableSession struct {
	Contract     *AddressUpgradeable // 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
}

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

type AddressUpgradeableTransactor

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

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

func NewAddressUpgradeableTransactor

func NewAddressUpgradeableTransactor(address common.Address, transactor bind.ContractTransactor) (*AddressUpgradeableTransactor, error)

NewAddressUpgradeableTransactor creates a new write-only instance of AddressUpgradeable, bound to a specific deployed contract.

type AddressUpgradeableTransactorRaw

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

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

func (*AddressUpgradeableTransactorRaw) Transact

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

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

func (*AddressUpgradeableTransactorRaw) Transfer

func (_AddressUpgradeable *AddressUpgradeableTransactorRaw) 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 AddressUpgradeableTransactorSession

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

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

type AgentManager

type AgentManager struct {
	AgentManagerCaller     // Read-only binding to the contract
	AgentManagerTransactor // Write-only binding to the contract
	AgentManagerFilterer   // Log filterer for contract events
}

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

func NewAgentManager

func NewAgentManager(address common.Address, backend bind.ContractBackend) (*AgentManager, error)

NewAgentManager creates a new instance of AgentManager, bound to a specific deployed contract.

type AgentManagerCaller

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

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

func NewAgentManagerCaller

func NewAgentManagerCaller(address common.Address, caller bind.ContractCaller) (*AgentManagerCaller, error)

NewAgentManagerCaller creates a new read-only instance of AgentManager, bound to a specific deployed contract.

func (*AgentManagerCaller) AgentRoot

func (_AgentManager *AgentManagerCaller) AgentRoot(opts *bind.CallOpts) ([32]byte, error)

AgentRoot is a free data retrieval call binding the contract method 0x36cba43c.

Solidity: function agentRoot() view returns(bytes32)

func (*AgentManagerCaller) AgentStatus

func (_AgentManager *AgentManagerCaller) AgentStatus(opts *bind.CallOpts, agent common.Address) (AgentStatus, error)

AgentStatus is a free data retrieval call binding the contract method 0x28f3fac9.

Solidity: function agentStatus(address agent) view returns((uint8,uint32,uint32) status)

func (*AgentManagerCaller) Destination

func (_AgentManager *AgentManagerCaller) Destination(opts *bind.CallOpts) (common.Address, error)

Destination is a free data retrieval call binding the contract method 0xb269681d.

Solidity: function destination() view returns(address)

func (*AgentManagerCaller) DisputeStatus

func (_AgentManager *AgentManagerCaller) DisputeStatus(opts *bind.CallOpts, agent common.Address) (struct {
	Flag        uint8
	Rival       common.Address
	FraudProver common.Address
	DisputePtr  *big.Int
}, error)

DisputeStatus is a free data retrieval call binding the contract method 0x3463d1b1.

Solidity: function disputeStatus(address agent) view returns(uint8 flag, address rival, address fraudProver, uint256 disputePtr)

func (*AgentManagerCaller) GetAgent

func (_AgentManager *AgentManagerCaller) GetAgent(opts *bind.CallOpts, index *big.Int) (struct {
	Agent  common.Address
	Status AgentStatus
}, error)

GetAgent is a free data retrieval call binding the contract method 0x2de5aaf7.

Solidity: function getAgent(uint256 index) view returns(address agent, (uint8,uint32,uint32) status)

func (*AgentManagerCaller) GetDispute

func (_AgentManager *AgentManagerCaller) GetDispute(opts *bind.CallOpts, index *big.Int) (struct {
	Guard           common.Address
	Notary          common.Address
	SlashedAgent    common.Address
	FraudProver     common.Address
	ReportPayload   []byte
	ReportSignature []byte
}, error)

GetDispute is a free data retrieval call binding the contract method 0xe3a96cbd.

Solidity: function getDispute(uint256 index) view returns(address guard, address notary, address slashedAgent, address fraudProver, bytes reportPayload, bytes reportSignature)

func (*AgentManagerCaller) GetDisputesAmount

func (_AgentManager *AgentManagerCaller) GetDisputesAmount(opts *bind.CallOpts) (*big.Int, error)

GetDisputesAmount is a free data retrieval call binding the contract method 0x3aaeccc6.

Solidity: function getDisputesAmount() view returns(uint256)

func (*AgentManagerCaller) Inbox

func (_AgentManager *AgentManagerCaller) Inbox(opts *bind.CallOpts) (common.Address, error)

Inbox is a free data retrieval call binding the contract method 0xfb0e722b.

Solidity: function inbox() view returns(address)

func (*AgentManagerCaller) LocalDomain

func (_AgentManager *AgentManagerCaller) LocalDomain(opts *bind.CallOpts) (uint32, error)

LocalDomain is a free data retrieval call binding the contract method 0x8d3638f4.

Solidity: function localDomain() view returns(uint32)

func (*AgentManagerCaller) Origin

func (_AgentManager *AgentManagerCaller) Origin(opts *bind.CallOpts) (common.Address, error)

Origin is a free data retrieval call binding the contract method 0x938b5f32.

Solidity: function origin() view returns(address)

func (*AgentManagerCaller) Owner

func (_AgentManager *AgentManagerCaller) 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 (*AgentManagerCaller) Version

func (_AgentManager *AgentManagerCaller) Version(opts *bind.CallOpts) (string, error)

Version is a free data retrieval call binding the contract method 0x54fd4d50.

Solidity: function version() view returns(string versionString)

type AgentManagerCallerRaw

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

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

func (*AgentManagerCallerRaw) Call

func (_AgentManager *AgentManagerCallerRaw) 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 AgentManagerCallerSession

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

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

func (*AgentManagerCallerSession) AgentRoot

func (_AgentManager *AgentManagerCallerSession) AgentRoot() ([32]byte, error)

AgentRoot is a free data retrieval call binding the contract method 0x36cba43c.

Solidity: function agentRoot() view returns(bytes32)

func (*AgentManagerCallerSession) AgentStatus

func (_AgentManager *AgentManagerCallerSession) AgentStatus(agent common.Address) (AgentStatus, error)

AgentStatus is a free data retrieval call binding the contract method 0x28f3fac9.

Solidity: function agentStatus(address agent) view returns((uint8,uint32,uint32) status)

func (*AgentManagerCallerSession) Destination

func (_AgentManager *AgentManagerCallerSession) Destination() (common.Address, error)

Destination is a free data retrieval call binding the contract method 0xb269681d.

Solidity: function destination() view returns(address)

func (*AgentManagerCallerSession) DisputeStatus

func (_AgentManager *AgentManagerCallerSession) DisputeStatus(agent common.Address) (struct {
	Flag        uint8
	Rival       common.Address
	FraudProver common.Address
	DisputePtr  *big.Int
}, error)

DisputeStatus is a free data retrieval call binding the contract method 0x3463d1b1.

Solidity: function disputeStatus(address agent) view returns(uint8 flag, address rival, address fraudProver, uint256 disputePtr)

func (*AgentManagerCallerSession) GetAgent

func (_AgentManager *AgentManagerCallerSession) GetAgent(index *big.Int) (struct {
	Agent  common.Address
	Status AgentStatus
}, error)

GetAgent is a free data retrieval call binding the contract method 0x2de5aaf7.

Solidity: function getAgent(uint256 index) view returns(address agent, (uint8,uint32,uint32) status)

func (*AgentManagerCallerSession) GetDispute

func (_AgentManager *AgentManagerCallerSession) GetDispute(index *big.Int) (struct {
	Guard           common.Address
	Notary          common.Address
	SlashedAgent    common.Address
	FraudProver     common.Address
	ReportPayload   []byte
	ReportSignature []byte
}, error)

GetDispute is a free data retrieval call binding the contract method 0xe3a96cbd.

Solidity: function getDispute(uint256 index) view returns(address guard, address notary, address slashedAgent, address fraudProver, bytes reportPayload, bytes reportSignature)

func (*AgentManagerCallerSession) GetDisputesAmount

func (_AgentManager *AgentManagerCallerSession) GetDisputesAmount() (*big.Int, error)

GetDisputesAmount is a free data retrieval call binding the contract method 0x3aaeccc6.

Solidity: function getDisputesAmount() view returns(uint256)

func (*AgentManagerCallerSession) Inbox

func (_AgentManager *AgentManagerCallerSession) Inbox() (common.Address, error)

Inbox is a free data retrieval call binding the contract method 0xfb0e722b.

Solidity: function inbox() view returns(address)

func (*AgentManagerCallerSession) LocalDomain

func (_AgentManager *AgentManagerCallerSession) LocalDomain() (uint32, error)

LocalDomain is a free data retrieval call binding the contract method 0x8d3638f4.

Solidity: function localDomain() view returns(uint32)

func (*AgentManagerCallerSession) Origin

func (_AgentManager *AgentManagerCallerSession) Origin() (common.Address, error)

Origin is a free data retrieval call binding the contract method 0x938b5f32.

Solidity: function origin() view returns(address)

func (*AgentManagerCallerSession) Owner

func (_AgentManager *AgentManagerCallerSession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*AgentManagerCallerSession) Version

func (_AgentManager *AgentManagerCallerSession) Version() (string, error)

Version is a free data retrieval call binding the contract method 0x54fd4d50.

Solidity: function version() view returns(string versionString)

type AgentManagerDisputeOpened

type AgentManagerDisputeOpened struct {
	DisputeIndex *big.Int
	GuardIndex   uint32
	NotaryIndex  uint32
	Raw          types.Log // Blockchain specific contextual infos
}

AgentManagerDisputeOpened represents a DisputeOpened event raised by the AgentManager contract.

type AgentManagerDisputeOpenedIterator

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

AgentManagerDisputeOpenedIterator is returned from FilterDisputeOpened and is used to iterate over the raw logs and unpacked data for DisputeOpened events raised by the AgentManager contract.

func (*AgentManagerDisputeOpenedIterator) Close

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

func (*AgentManagerDisputeOpenedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*AgentManagerDisputeOpenedIterator) 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 AgentManagerDisputeResolved

type AgentManagerDisputeResolved struct {
	DisputeIndex *big.Int
	SlashedIndex uint32
	RivalIndex   uint32
	FraudProver  common.Address
	Raw          types.Log // Blockchain specific contextual infos
}

AgentManagerDisputeResolved represents a DisputeResolved event raised by the AgentManager contract.

type AgentManagerDisputeResolvedIterator

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

AgentManagerDisputeResolvedIterator is returned from FilterDisputeResolved and is used to iterate over the raw logs and unpacked data for DisputeResolved events raised by the AgentManager contract.

func (*AgentManagerDisputeResolvedIterator) Close

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

func (*AgentManagerDisputeResolvedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*AgentManagerDisputeResolvedIterator) 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 AgentManagerEvents

type AgentManagerEvents struct {
	AgentManagerEventsCaller     // Read-only binding to the contract
	AgentManagerEventsTransactor // Write-only binding to the contract
	AgentManagerEventsFilterer   // Log filterer for contract events
}

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

func NewAgentManagerEvents

func NewAgentManagerEvents(address common.Address, backend bind.ContractBackend) (*AgentManagerEvents, error)

NewAgentManagerEvents creates a new instance of AgentManagerEvents, bound to a specific deployed contract.

type AgentManagerEventsCaller

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

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

func NewAgentManagerEventsCaller

func NewAgentManagerEventsCaller(address common.Address, caller bind.ContractCaller) (*AgentManagerEventsCaller, error)

NewAgentManagerEventsCaller creates a new read-only instance of AgentManagerEvents, bound to a specific deployed contract.

type AgentManagerEventsCallerRaw

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

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

func (*AgentManagerEventsCallerRaw) Call

func (_AgentManagerEvents *AgentManagerEventsCallerRaw) 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 AgentManagerEventsCallerSession

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

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

type AgentManagerEventsDisputeOpened

type AgentManagerEventsDisputeOpened struct {
	DisputeIndex *big.Int
	GuardIndex   uint32
	NotaryIndex  uint32
	Raw          types.Log // Blockchain specific contextual infos
}

AgentManagerEventsDisputeOpened represents a DisputeOpened event raised by the AgentManagerEvents contract.

type AgentManagerEventsDisputeOpenedIterator

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

AgentManagerEventsDisputeOpenedIterator is returned from FilterDisputeOpened and is used to iterate over the raw logs and unpacked data for DisputeOpened events raised by the AgentManagerEvents contract.

func (*AgentManagerEventsDisputeOpenedIterator) Close

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

func (*AgentManagerEventsDisputeOpenedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*AgentManagerEventsDisputeOpenedIterator) 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 AgentManagerEventsDisputeResolved

type AgentManagerEventsDisputeResolved struct {
	DisputeIndex *big.Int
	SlashedIndex uint32
	RivalIndex   uint32
	FraudProver  common.Address
	Raw          types.Log // Blockchain specific contextual infos
}

AgentManagerEventsDisputeResolved represents a DisputeResolved event raised by the AgentManagerEvents contract.

type AgentManagerEventsDisputeResolvedIterator

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

AgentManagerEventsDisputeResolvedIterator is returned from FilterDisputeResolved and is used to iterate over the raw logs and unpacked data for DisputeResolved events raised by the AgentManagerEvents contract.

func (*AgentManagerEventsDisputeResolvedIterator) Close

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

func (*AgentManagerEventsDisputeResolvedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*AgentManagerEventsDisputeResolvedIterator) 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 AgentManagerEventsFilterer

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

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

func NewAgentManagerEventsFilterer

func NewAgentManagerEventsFilterer(address common.Address, filterer bind.ContractFilterer) (*AgentManagerEventsFilterer, error)

NewAgentManagerEventsFilterer creates a new log filterer instance of AgentManagerEvents, bound to a specific deployed contract.

func (*AgentManagerEventsFilterer) FilterDisputeOpened

func (_AgentManagerEvents *AgentManagerEventsFilterer) FilterDisputeOpened(opts *bind.FilterOpts) (*AgentManagerEventsDisputeOpenedIterator, error)

FilterDisputeOpened is a free log retrieval operation binding the contract event 0xd0672fae056abe2bf0637742527d49add67fdb68192a6c6f6bf86eac19fe0530.

Solidity: event DisputeOpened(uint256 disputeIndex, uint32 guardIndex, uint32 notaryIndex)

func (*AgentManagerEventsFilterer) FilterDisputeResolved

func (_AgentManagerEvents *AgentManagerEventsFilterer) FilterDisputeResolved(opts *bind.FilterOpts) (*AgentManagerEventsDisputeResolvedIterator, error)

FilterDisputeResolved is a free log retrieval operation binding the contract event 0xb4cad5624e1d1c6c622ec70516ee582fe3f6519440c5b47e5165141edc9c54cf.

Solidity: event DisputeResolved(uint256 disputeIndex, uint32 slashedIndex, uint32 rivalIndex, address fraudProver)

func (*AgentManagerEventsFilterer) FilterRootUpdated

func (_AgentManagerEvents *AgentManagerEventsFilterer) FilterRootUpdated(opts *bind.FilterOpts) (*AgentManagerEventsRootUpdatedIterator, error)

FilterRootUpdated is a free log retrieval operation binding the contract event 0x2cbc14f49c068133583f7cb530018af451c87c1cf1327cf2a4ff4698c4730aa4.

Solidity: event RootUpdated(bytes32 newRoot)

func (*AgentManagerEventsFilterer) FilterStatusUpdated

func (_AgentManagerEvents *AgentManagerEventsFilterer) FilterStatusUpdated(opts *bind.FilterOpts, domain []uint32, agent []common.Address) (*AgentManagerEventsStatusUpdatedIterator, error)

FilterStatusUpdated is a free log retrieval operation binding the contract event 0x8f9b8b0f4f062833bec85ea9a8465e4a1207b4be6eb565bbd0ae8b913588d04e.

Solidity: event StatusUpdated(uint8 flag, uint32 indexed domain, address indexed agent)

func (*AgentManagerEventsFilterer) ParseDisputeOpened

func (_AgentManagerEvents *AgentManagerEventsFilterer) ParseDisputeOpened(log types.Log) (*AgentManagerEventsDisputeOpened, error)

ParseDisputeOpened is a log parse operation binding the contract event 0xd0672fae056abe2bf0637742527d49add67fdb68192a6c6f6bf86eac19fe0530.

Solidity: event DisputeOpened(uint256 disputeIndex, uint32 guardIndex, uint32 notaryIndex)

func (*AgentManagerEventsFilterer) ParseDisputeResolved

func (_AgentManagerEvents *AgentManagerEventsFilterer) ParseDisputeResolved(log types.Log) (*AgentManagerEventsDisputeResolved, error)

ParseDisputeResolved is a log parse operation binding the contract event 0xb4cad5624e1d1c6c622ec70516ee582fe3f6519440c5b47e5165141edc9c54cf.

Solidity: event DisputeResolved(uint256 disputeIndex, uint32 slashedIndex, uint32 rivalIndex, address fraudProver)

func (*AgentManagerEventsFilterer) ParseRootUpdated

func (_AgentManagerEvents *AgentManagerEventsFilterer) ParseRootUpdated(log types.Log) (*AgentManagerEventsRootUpdated, error)

ParseRootUpdated is a log parse operation binding the contract event 0x2cbc14f49c068133583f7cb530018af451c87c1cf1327cf2a4ff4698c4730aa4.

Solidity: event RootUpdated(bytes32 newRoot)

func (*AgentManagerEventsFilterer) ParseStatusUpdated

func (_AgentManagerEvents *AgentManagerEventsFilterer) ParseStatusUpdated(log types.Log) (*AgentManagerEventsStatusUpdated, error)

ParseStatusUpdated is a log parse operation binding the contract event 0x8f9b8b0f4f062833bec85ea9a8465e4a1207b4be6eb565bbd0ae8b913588d04e.

Solidity: event StatusUpdated(uint8 flag, uint32 indexed domain, address indexed agent)

func (*AgentManagerEventsFilterer) WatchDisputeOpened

func (_AgentManagerEvents *AgentManagerEventsFilterer) WatchDisputeOpened(opts *bind.WatchOpts, sink chan<- *AgentManagerEventsDisputeOpened) (event.Subscription, error)

WatchDisputeOpened is a free log subscription operation binding the contract event 0xd0672fae056abe2bf0637742527d49add67fdb68192a6c6f6bf86eac19fe0530.

Solidity: event DisputeOpened(uint256 disputeIndex, uint32 guardIndex, uint32 notaryIndex)

func (*AgentManagerEventsFilterer) WatchDisputeResolved

func (_AgentManagerEvents *AgentManagerEventsFilterer) WatchDisputeResolved(opts *bind.WatchOpts, sink chan<- *AgentManagerEventsDisputeResolved) (event.Subscription, error)

WatchDisputeResolved is a free log subscription operation binding the contract event 0xb4cad5624e1d1c6c622ec70516ee582fe3f6519440c5b47e5165141edc9c54cf.

Solidity: event DisputeResolved(uint256 disputeIndex, uint32 slashedIndex, uint32 rivalIndex, address fraudProver)

func (*AgentManagerEventsFilterer) WatchRootUpdated

func (_AgentManagerEvents *AgentManagerEventsFilterer) WatchRootUpdated(opts *bind.WatchOpts, sink chan<- *AgentManagerEventsRootUpdated) (event.Subscription, error)

WatchRootUpdated is a free log subscription operation binding the contract event 0x2cbc14f49c068133583f7cb530018af451c87c1cf1327cf2a4ff4698c4730aa4.

Solidity: event RootUpdated(bytes32 newRoot)

func (*AgentManagerEventsFilterer) WatchStatusUpdated

func (_AgentManagerEvents *AgentManagerEventsFilterer) WatchStatusUpdated(opts *bind.WatchOpts, sink chan<- *AgentManagerEventsStatusUpdated, domain []uint32, agent []common.Address) (event.Subscription, error)

WatchStatusUpdated is a free log subscription operation binding the contract event 0x8f9b8b0f4f062833bec85ea9a8465e4a1207b4be6eb565bbd0ae8b913588d04e.

Solidity: event StatusUpdated(uint8 flag, uint32 indexed domain, address indexed agent)

type AgentManagerEventsRaw

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

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

func (*AgentManagerEventsRaw) Call

func (_AgentManagerEvents *AgentManagerEventsRaw) 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 (*AgentManagerEventsRaw) Transact

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

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

func (*AgentManagerEventsRaw) Transfer

func (_AgentManagerEvents *AgentManagerEventsRaw) 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 AgentManagerEventsRootUpdated

type AgentManagerEventsRootUpdated struct {
	NewRoot [32]byte
	Raw     types.Log // Blockchain specific contextual infos
}

AgentManagerEventsRootUpdated represents a RootUpdated event raised by the AgentManagerEvents contract.

type AgentManagerEventsRootUpdatedIterator

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

AgentManagerEventsRootUpdatedIterator is returned from FilterRootUpdated and is used to iterate over the raw logs and unpacked data for RootUpdated events raised by the AgentManagerEvents contract.

func (*AgentManagerEventsRootUpdatedIterator) Close

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

func (*AgentManagerEventsRootUpdatedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*AgentManagerEventsRootUpdatedIterator) 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 AgentManagerEventsSession

type AgentManagerEventsSession struct {
	Contract     *AgentManagerEvents // 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
}

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

type AgentManagerEventsStatusUpdated

type AgentManagerEventsStatusUpdated struct {
	Flag   uint8
	Domain uint32
	Agent  common.Address
	Raw    types.Log // Blockchain specific contextual infos
}

AgentManagerEventsStatusUpdated represents a StatusUpdated event raised by the AgentManagerEvents contract.

type AgentManagerEventsStatusUpdatedIterator

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

AgentManagerEventsStatusUpdatedIterator is returned from FilterStatusUpdated and is used to iterate over the raw logs and unpacked data for StatusUpdated events raised by the AgentManagerEvents contract.

func (*AgentManagerEventsStatusUpdatedIterator) Close

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

func (*AgentManagerEventsStatusUpdatedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*AgentManagerEventsStatusUpdatedIterator) 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 AgentManagerEventsTransactor

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

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

func NewAgentManagerEventsTransactor

func NewAgentManagerEventsTransactor(address common.Address, transactor bind.ContractTransactor) (*AgentManagerEventsTransactor, error)

NewAgentManagerEventsTransactor creates a new write-only instance of AgentManagerEvents, bound to a specific deployed contract.

type AgentManagerEventsTransactorRaw

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

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

func (*AgentManagerEventsTransactorRaw) Transact

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

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

func (*AgentManagerEventsTransactorRaw) Transfer

func (_AgentManagerEvents *AgentManagerEventsTransactorRaw) 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 AgentManagerEventsTransactorSession

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

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

type AgentManagerFilterer

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

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

func NewAgentManagerFilterer

func NewAgentManagerFilterer(address common.Address, filterer bind.ContractFilterer) (*AgentManagerFilterer, error)

NewAgentManagerFilterer creates a new log filterer instance of AgentManager, bound to a specific deployed contract.

func (*AgentManagerFilterer) FilterDisputeOpened

func (_AgentManager *AgentManagerFilterer) FilterDisputeOpened(opts *bind.FilterOpts) (*AgentManagerDisputeOpenedIterator, error)

FilterDisputeOpened is a free log retrieval operation binding the contract event 0xd0672fae056abe2bf0637742527d49add67fdb68192a6c6f6bf86eac19fe0530.

Solidity: event DisputeOpened(uint256 disputeIndex, uint32 guardIndex, uint32 notaryIndex)

func (*AgentManagerFilterer) FilterDisputeResolved

func (_AgentManager *AgentManagerFilterer) FilterDisputeResolved(opts *bind.FilterOpts) (*AgentManagerDisputeResolvedIterator, error)

FilterDisputeResolved is a free log retrieval operation binding the contract event 0xb4cad5624e1d1c6c622ec70516ee582fe3f6519440c5b47e5165141edc9c54cf.

Solidity: event DisputeResolved(uint256 disputeIndex, uint32 slashedIndex, uint32 rivalIndex, address fraudProver)

func (*AgentManagerFilterer) FilterInitialized

func (_AgentManager *AgentManagerFilterer) FilterInitialized(opts *bind.FilterOpts) (*AgentManagerInitializedIterator, error)

FilterInitialized is a free log retrieval operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.

Solidity: event Initialized(uint8 version)

func (*AgentManagerFilterer) FilterOwnershipTransferred

func (_AgentManager *AgentManagerFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*AgentManagerOwnershipTransferredIterator, error)

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

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

func (*AgentManagerFilterer) FilterRootUpdated

func (_AgentManager *AgentManagerFilterer) FilterRootUpdated(opts *bind.FilterOpts) (*AgentManagerRootUpdatedIterator, error)

FilterRootUpdated is a free log retrieval operation binding the contract event 0x2cbc14f49c068133583f7cb530018af451c87c1cf1327cf2a4ff4698c4730aa4.

Solidity: event RootUpdated(bytes32 newRoot)

func (*AgentManagerFilterer) FilterStatusUpdated

func (_AgentManager *AgentManagerFilterer) FilterStatusUpdated(opts *bind.FilterOpts, domain []uint32, agent []common.Address) (*AgentManagerStatusUpdatedIterator, error)

FilterStatusUpdated is a free log retrieval operation binding the contract event 0x8f9b8b0f4f062833bec85ea9a8465e4a1207b4be6eb565bbd0ae8b913588d04e.

Solidity: event StatusUpdated(uint8 flag, uint32 indexed domain, address indexed agent)

func (*AgentManagerFilterer) ParseDisputeOpened

func (_AgentManager *AgentManagerFilterer) ParseDisputeOpened(log types.Log) (*AgentManagerDisputeOpened, error)

ParseDisputeOpened is a log parse operation binding the contract event 0xd0672fae056abe2bf0637742527d49add67fdb68192a6c6f6bf86eac19fe0530.

Solidity: event DisputeOpened(uint256 disputeIndex, uint32 guardIndex, uint32 notaryIndex)

func (*AgentManagerFilterer) ParseDisputeResolved

func (_AgentManager *AgentManagerFilterer) ParseDisputeResolved(log types.Log) (*AgentManagerDisputeResolved, error)

ParseDisputeResolved is a log parse operation binding the contract event 0xb4cad5624e1d1c6c622ec70516ee582fe3f6519440c5b47e5165141edc9c54cf.

Solidity: event DisputeResolved(uint256 disputeIndex, uint32 slashedIndex, uint32 rivalIndex, address fraudProver)

func (*AgentManagerFilterer) ParseInitialized

func (_AgentManager *AgentManagerFilterer) ParseInitialized(log types.Log) (*AgentManagerInitialized, error)

ParseInitialized is a log parse operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.

Solidity: event Initialized(uint8 version)

func (*AgentManagerFilterer) ParseOwnershipTransferred

func (_AgentManager *AgentManagerFilterer) ParseOwnershipTransferred(log types.Log) (*AgentManagerOwnershipTransferred, error)

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

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

func (*AgentManagerFilterer) ParseRootUpdated

func (_AgentManager *AgentManagerFilterer) ParseRootUpdated(log types.Log) (*AgentManagerRootUpdated, error)

ParseRootUpdated is a log parse operation binding the contract event 0x2cbc14f49c068133583f7cb530018af451c87c1cf1327cf2a4ff4698c4730aa4.

Solidity: event RootUpdated(bytes32 newRoot)

func (*AgentManagerFilterer) ParseStatusUpdated

func (_AgentManager *AgentManagerFilterer) ParseStatusUpdated(log types.Log) (*AgentManagerStatusUpdated, error)

ParseStatusUpdated is a log parse operation binding the contract event 0x8f9b8b0f4f062833bec85ea9a8465e4a1207b4be6eb565bbd0ae8b913588d04e.

Solidity: event StatusUpdated(uint8 flag, uint32 indexed domain, address indexed agent)

func (*AgentManagerFilterer) WatchDisputeOpened

func (_AgentManager *AgentManagerFilterer) WatchDisputeOpened(opts *bind.WatchOpts, sink chan<- *AgentManagerDisputeOpened) (event.Subscription, error)

WatchDisputeOpened is a free log subscription operation binding the contract event 0xd0672fae056abe2bf0637742527d49add67fdb68192a6c6f6bf86eac19fe0530.

Solidity: event DisputeOpened(uint256 disputeIndex, uint32 guardIndex, uint32 notaryIndex)

func (*AgentManagerFilterer) WatchDisputeResolved

func (_AgentManager *AgentManagerFilterer) WatchDisputeResolved(opts *bind.WatchOpts, sink chan<- *AgentManagerDisputeResolved) (event.Subscription, error)

WatchDisputeResolved is a free log subscription operation binding the contract event 0xb4cad5624e1d1c6c622ec70516ee582fe3f6519440c5b47e5165141edc9c54cf.

Solidity: event DisputeResolved(uint256 disputeIndex, uint32 slashedIndex, uint32 rivalIndex, address fraudProver)

func (*AgentManagerFilterer) WatchInitialized

func (_AgentManager *AgentManagerFilterer) WatchInitialized(opts *bind.WatchOpts, sink chan<- *AgentManagerInitialized) (event.Subscription, error)

WatchInitialized is a free log subscription operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.

Solidity: event Initialized(uint8 version)

func (*AgentManagerFilterer) WatchOwnershipTransferred

func (_AgentManager *AgentManagerFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *AgentManagerOwnershipTransferred, 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 (*AgentManagerFilterer) WatchRootUpdated

func (_AgentManager *AgentManagerFilterer) WatchRootUpdated(opts *bind.WatchOpts, sink chan<- *AgentManagerRootUpdated) (event.Subscription, error)

WatchRootUpdated is a free log subscription operation binding the contract event 0x2cbc14f49c068133583f7cb530018af451c87c1cf1327cf2a4ff4698c4730aa4.

Solidity: event RootUpdated(bytes32 newRoot)

func (*AgentManagerFilterer) WatchStatusUpdated

func (_AgentManager *AgentManagerFilterer) WatchStatusUpdated(opts *bind.WatchOpts, sink chan<- *AgentManagerStatusUpdated, domain []uint32, agent []common.Address) (event.Subscription, error)

WatchStatusUpdated is a free log subscription operation binding the contract event 0x8f9b8b0f4f062833bec85ea9a8465e4a1207b4be6eb565bbd0ae8b913588d04e.

Solidity: event StatusUpdated(uint8 flag, uint32 indexed domain, address indexed agent)

type AgentManagerHarness

type AgentManagerHarness struct {
	AgentManagerHarnessCaller     // Read-only binding to the contract
	AgentManagerHarnessTransactor // Write-only binding to the contract
	AgentManagerHarnessFilterer   // Log filterer for contract events
}

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

func NewAgentManagerHarness

func NewAgentManagerHarness(address common.Address, backend bind.ContractBackend) (*AgentManagerHarness, error)

NewAgentManagerHarness creates a new instance of AgentManagerHarness, bound to a specific deployed contract.

type AgentManagerHarnessCaller

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

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

func NewAgentManagerHarnessCaller

func NewAgentManagerHarnessCaller(address common.Address, caller bind.ContractCaller) (*AgentManagerHarnessCaller, error)

NewAgentManagerHarnessCaller creates a new read-only instance of AgentManagerHarness, bound to a specific deployed contract.

func (*AgentManagerHarnessCaller) AgentRoot

func (_AgentManagerHarness *AgentManagerHarnessCaller) AgentRoot(opts *bind.CallOpts) ([32]byte, error)

AgentRoot is a free data retrieval call binding the contract method 0x36cba43c.

Solidity: function agentRoot() view returns(bytes32)

func (*AgentManagerHarnessCaller) AgentStatus

func (_AgentManagerHarness *AgentManagerHarnessCaller) AgentStatus(opts *bind.CallOpts, agent common.Address) (AgentStatus, error)

AgentStatus is a free data retrieval call binding the contract method 0x28f3fac9.

Solidity: function agentStatus(address agent) view returns((uint8,uint32,uint32) status)

func (*AgentManagerHarnessCaller) Destination

func (_AgentManagerHarness *AgentManagerHarnessCaller) Destination(opts *bind.CallOpts) (common.Address, error)

Destination is a free data retrieval call binding the contract method 0xb269681d.

Solidity: function destination() view returns(address)

func (*AgentManagerHarnessCaller) DisputeStatus

func (_AgentManagerHarness *AgentManagerHarnessCaller) DisputeStatus(opts *bind.CallOpts, agent common.Address) (struct {
	Flag        uint8
	Rival       common.Address
	FraudProver common.Address
	DisputePtr  *big.Int
}, error)

DisputeStatus is a free data retrieval call binding the contract method 0x3463d1b1.

Solidity: function disputeStatus(address agent) view returns(uint8 flag, address rival, address fraudProver, uint256 disputePtr)

func (*AgentManagerHarnessCaller) GetAgent

func (_AgentManagerHarness *AgentManagerHarnessCaller) GetAgent(opts *bind.CallOpts, index *big.Int) (struct {
	Agent  common.Address
	Status AgentStatus
}, error)

GetAgent is a free data retrieval call binding the contract method 0x2de5aaf7.

Solidity: function getAgent(uint256 index) view returns(address agent, (uint8,uint32,uint32) status)

func (*AgentManagerHarnessCaller) GetDispute

func (_AgentManagerHarness *AgentManagerHarnessCaller) GetDispute(opts *bind.CallOpts, index *big.Int) (struct {
	Guard           common.Address
	Notary          common.Address
	SlashedAgent    common.Address
	FraudProver     common.Address
	ReportPayload   []byte
	ReportSignature []byte
}, error)

GetDispute is a free data retrieval call binding the contract method 0xe3a96cbd.

Solidity: function getDispute(uint256 index) view returns(address guard, address notary, address slashedAgent, address fraudProver, bytes reportPayload, bytes reportSignature)

func (*AgentManagerHarnessCaller) GetDisputesAmount

func (_AgentManagerHarness *AgentManagerHarnessCaller) GetDisputesAmount(opts *bind.CallOpts) (*big.Int, error)

GetDisputesAmount is a free data retrieval call binding the contract method 0x3aaeccc6.

Solidity: function getDisputesAmount() view returns(uint256)

func (*AgentManagerHarnessCaller) Inbox

func (_AgentManagerHarness *AgentManagerHarnessCaller) Inbox(opts *bind.CallOpts) (common.Address, error)

Inbox is a free data retrieval call binding the contract method 0xfb0e722b.

Solidity: function inbox() view returns(address)

func (*AgentManagerHarnessCaller) LocalDomain

func (_AgentManagerHarness *AgentManagerHarnessCaller) LocalDomain(opts *bind.CallOpts) (uint32, error)

LocalDomain is a free data retrieval call binding the contract method 0x8d3638f4.

Solidity: function localDomain() view returns(uint32)

func (*AgentManagerHarnessCaller) Origin

func (_AgentManagerHarness *AgentManagerHarnessCaller) Origin(opts *bind.CallOpts) (common.Address, error)

Origin is a free data retrieval call binding the contract method 0x938b5f32.

Solidity: function origin() view returns(address)

func (*AgentManagerHarnessCaller) Owner

func (_AgentManagerHarness *AgentManagerHarnessCaller) 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 (*AgentManagerHarnessCaller) RemoteMockFunc

func (_AgentManagerHarness *AgentManagerHarnessCaller) RemoteMockFunc(opts *bind.CallOpts, arg0 uint32, arg1 *big.Int, arg2 [32]byte) ([4]byte, error)

RemoteMockFunc is a free data retrieval call binding the contract method 0xa149352c.

Solidity: function remoteMockFunc(uint32 , uint256 , bytes32 ) view returns(bytes4)

func (*AgentManagerHarnessCaller) SensitiveMockFunc

func (_AgentManagerHarness *AgentManagerHarnessCaller) SensitiveMockFunc(opts *bind.CallOpts, arg0 common.Address, arg1 uint8, data [32]byte) ([32]byte, error)

SensitiveMockFunc is a free data retrieval call binding the contract method 0x127a2c9d.

Solidity: function sensitiveMockFunc(address , uint8 , bytes32 data) view returns(bytes32)

func (*AgentManagerHarnessCaller) SensitiveMockFuncOver32Bytes

func (_AgentManagerHarness *AgentManagerHarnessCaller) SensitiveMockFuncOver32Bytes(opts *bind.CallOpts, arg0 uint16, arg1 [4]byte, data [32]byte) ([4]byte, [32]byte, error)

SensitiveMockFuncOver32Bytes is a free data retrieval call binding the contract method 0x0e6bfcd5.

Solidity: function sensitiveMockFuncOver32Bytes(uint16 , bytes4 , bytes32 data) view returns(bytes4, bytes32)

func (*AgentManagerHarnessCaller) SensitiveMockFuncVoid

func (_AgentManagerHarness *AgentManagerHarnessCaller) SensitiveMockFuncVoid(opts *bind.CallOpts, arg0 uint16, arg1 [4]byte, arg2 [32]byte) error

SensitiveMockFuncVoid is a free data retrieval call binding the contract method 0xc9f1a03f.

Solidity: function sensitiveMockFuncVoid(uint16 , bytes4 , bytes32 ) view returns()

func (*AgentManagerHarnessCaller) Version

func (_AgentManagerHarness *AgentManagerHarnessCaller) Version(opts *bind.CallOpts) (string, error)

Version is a free data retrieval call binding the contract method 0x54fd4d50.

Solidity: function version() view returns(string versionString)

type AgentManagerHarnessCallerRaw

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

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

func (*AgentManagerHarnessCallerRaw) Call

func (_AgentManagerHarness *AgentManagerHarnessCallerRaw) 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 AgentManagerHarnessCallerSession

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

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

func (*AgentManagerHarnessCallerSession) AgentRoot

func (_AgentManagerHarness *AgentManagerHarnessCallerSession) AgentRoot() ([32]byte, error)

AgentRoot is a free data retrieval call binding the contract method 0x36cba43c.

Solidity: function agentRoot() view returns(bytes32)

func (*AgentManagerHarnessCallerSession) AgentStatus

func (_AgentManagerHarness *AgentManagerHarnessCallerSession) AgentStatus(agent common.Address) (AgentStatus, error)

AgentStatus is a free data retrieval call binding the contract method 0x28f3fac9.

Solidity: function agentStatus(address agent) view returns((uint8,uint32,uint32) status)

func (*AgentManagerHarnessCallerSession) Destination

func (_AgentManagerHarness *AgentManagerHarnessCallerSession) Destination() (common.Address, error)

Destination is a free data retrieval call binding the contract method 0xb269681d.

Solidity: function destination() view returns(address)

func (*AgentManagerHarnessCallerSession) DisputeStatus

func (_AgentManagerHarness *AgentManagerHarnessCallerSession) DisputeStatus(agent common.Address) (struct {
	Flag        uint8
	Rival       common.Address
	FraudProver common.Address
	DisputePtr  *big.Int
}, error)

DisputeStatus is a free data retrieval call binding the contract method 0x3463d1b1.

Solidity: function disputeStatus(address agent) view returns(uint8 flag, address rival, address fraudProver, uint256 disputePtr)

func (*AgentManagerHarnessCallerSession) GetAgent

func (_AgentManagerHarness *AgentManagerHarnessCallerSession) GetAgent(index *big.Int) (struct {
	Agent  common.Address
	Status AgentStatus
}, error)

GetAgent is a free data retrieval call binding the contract method 0x2de5aaf7.

Solidity: function getAgent(uint256 index) view returns(address agent, (uint8,uint32,uint32) status)

func (*AgentManagerHarnessCallerSession) GetDispute

func (_AgentManagerHarness *AgentManagerHarnessCallerSession) GetDispute(index *big.Int) (struct {
	Guard           common.Address
	Notary          common.Address
	SlashedAgent    common.Address
	FraudProver     common.Address
	ReportPayload   []byte
	ReportSignature []byte
}, error)

GetDispute is a free data retrieval call binding the contract method 0xe3a96cbd.

Solidity: function getDispute(uint256 index) view returns(address guard, address notary, address slashedAgent, address fraudProver, bytes reportPayload, bytes reportSignature)

func (*AgentManagerHarnessCallerSession) GetDisputesAmount

func (_AgentManagerHarness *AgentManagerHarnessCallerSession) GetDisputesAmount() (*big.Int, error)

GetDisputesAmount is a free data retrieval call binding the contract method 0x3aaeccc6.

Solidity: function getDisputesAmount() view returns(uint256)

func (*AgentManagerHarnessCallerSession) Inbox

func (_AgentManagerHarness *AgentManagerHarnessCallerSession) Inbox() (common.Address, error)

Inbox is a free data retrieval call binding the contract method 0xfb0e722b.

Solidity: function inbox() view returns(address)

func (*AgentManagerHarnessCallerSession) LocalDomain

func (_AgentManagerHarness *AgentManagerHarnessCallerSession) LocalDomain() (uint32, error)

LocalDomain is a free data retrieval call binding the contract method 0x8d3638f4.

Solidity: function localDomain() view returns(uint32)

func (*AgentManagerHarnessCallerSession) Origin

func (_AgentManagerHarness *AgentManagerHarnessCallerSession) Origin() (common.Address, error)

Origin is a free data retrieval call binding the contract method 0x938b5f32.

Solidity: function origin() view returns(address)

func (*AgentManagerHarnessCallerSession) Owner

func (_AgentManagerHarness *AgentManagerHarnessCallerSession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*AgentManagerHarnessCallerSession) RemoteMockFunc

func (_AgentManagerHarness *AgentManagerHarnessCallerSession) RemoteMockFunc(arg0 uint32, arg1 *big.Int, arg2 [32]byte) ([4]byte, error)

RemoteMockFunc is a free data retrieval call binding the contract method 0xa149352c.

Solidity: function remoteMockFunc(uint32 , uint256 , bytes32 ) view returns(bytes4)

func (*AgentManagerHarnessCallerSession) SensitiveMockFunc

func (_AgentManagerHarness *AgentManagerHarnessCallerSession) SensitiveMockFunc(arg0 common.Address, arg1 uint8, data [32]byte) ([32]byte, error)

SensitiveMockFunc is a free data retrieval call binding the contract method 0x127a2c9d.

Solidity: function sensitiveMockFunc(address , uint8 , bytes32 data) view returns(bytes32)

func (*AgentManagerHarnessCallerSession) SensitiveMockFuncOver32Bytes

func (_AgentManagerHarness *AgentManagerHarnessCallerSession) SensitiveMockFuncOver32Bytes(arg0 uint16, arg1 [4]byte, data [32]byte) ([4]byte, [32]byte, error)

SensitiveMockFuncOver32Bytes is a free data retrieval call binding the contract method 0x0e6bfcd5.

Solidity: function sensitiveMockFuncOver32Bytes(uint16 , bytes4 , bytes32 data) view returns(bytes4, bytes32)

func (*AgentManagerHarnessCallerSession) SensitiveMockFuncVoid

func (_AgentManagerHarness *AgentManagerHarnessCallerSession) SensitiveMockFuncVoid(arg0 uint16, arg1 [4]byte, arg2 [32]byte) error

SensitiveMockFuncVoid is a free data retrieval call binding the contract method 0xc9f1a03f.

Solidity: function sensitiveMockFuncVoid(uint16 , bytes4 , bytes32 ) view returns()

func (*AgentManagerHarnessCallerSession) Version

func (_AgentManagerHarness *AgentManagerHarnessCallerSession) Version() (string, error)

Version is a free data retrieval call binding the contract method 0x54fd4d50.

Solidity: function version() view returns(string versionString)

type AgentManagerHarnessDisputeOpened

type AgentManagerHarnessDisputeOpened struct {
	DisputeIndex *big.Int
	GuardIndex   uint32
	NotaryIndex  uint32
	Raw          types.Log // Blockchain specific contextual infos
}

AgentManagerHarnessDisputeOpened represents a DisputeOpened event raised by the AgentManagerHarness contract.

type AgentManagerHarnessDisputeOpenedIterator

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

AgentManagerHarnessDisputeOpenedIterator is returned from FilterDisputeOpened and is used to iterate over the raw logs and unpacked data for DisputeOpened events raised by the AgentManagerHarness contract.

func (*AgentManagerHarnessDisputeOpenedIterator) Close

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

func (*AgentManagerHarnessDisputeOpenedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*AgentManagerHarnessDisputeOpenedIterator) 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 AgentManagerHarnessDisputeResolved

type AgentManagerHarnessDisputeResolved struct {
	DisputeIndex *big.Int
	SlashedIndex uint32
	RivalIndex   uint32
	FraudProver  common.Address
	Raw          types.Log // Blockchain specific contextual infos
}

AgentManagerHarnessDisputeResolved represents a DisputeResolved event raised by the AgentManagerHarness contract.

type AgentManagerHarnessDisputeResolvedIterator

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

AgentManagerHarnessDisputeResolvedIterator is returned from FilterDisputeResolved and is used to iterate over the raw logs and unpacked data for DisputeResolved events raised by the AgentManagerHarness contract.

func (*AgentManagerHarnessDisputeResolvedIterator) Close

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

func (*AgentManagerHarnessDisputeResolvedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*AgentManagerHarnessDisputeResolvedIterator) 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 AgentManagerHarnessFilterer

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

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

func NewAgentManagerHarnessFilterer

func NewAgentManagerHarnessFilterer(address common.Address, filterer bind.ContractFilterer) (*AgentManagerHarnessFilterer, error)

NewAgentManagerHarnessFilterer creates a new log filterer instance of AgentManagerHarness, bound to a specific deployed contract.

func (*AgentManagerHarnessFilterer) FilterDisputeOpened

func (_AgentManagerHarness *AgentManagerHarnessFilterer) FilterDisputeOpened(opts *bind.FilterOpts) (*AgentManagerHarnessDisputeOpenedIterator, error)

FilterDisputeOpened is a free log retrieval operation binding the contract event 0xd0672fae056abe2bf0637742527d49add67fdb68192a6c6f6bf86eac19fe0530.

Solidity: event DisputeOpened(uint256 disputeIndex, uint32 guardIndex, uint32 notaryIndex)

func (*AgentManagerHarnessFilterer) FilterDisputeResolved

func (_AgentManagerHarness *AgentManagerHarnessFilterer) FilterDisputeResolved(opts *bind.FilterOpts) (*AgentManagerHarnessDisputeResolvedIterator, error)

FilterDisputeResolved is a free log retrieval operation binding the contract event 0xb4cad5624e1d1c6c622ec70516ee582fe3f6519440c5b47e5165141edc9c54cf.

Solidity: event DisputeResolved(uint256 disputeIndex, uint32 slashedIndex, uint32 rivalIndex, address fraudProver)

func (*AgentManagerHarnessFilterer) FilterInitialized

func (_AgentManagerHarness *AgentManagerHarnessFilterer) FilterInitialized(opts *bind.FilterOpts) (*AgentManagerHarnessInitializedIterator, error)

FilterInitialized is a free log retrieval operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.

Solidity: event Initialized(uint8 version)

func (*AgentManagerHarnessFilterer) FilterOwnershipTransferred

func (_AgentManagerHarness *AgentManagerHarnessFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*AgentManagerHarnessOwnershipTransferredIterator, error)

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

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

func (*AgentManagerHarnessFilterer) FilterRootUpdated

func (_AgentManagerHarness *AgentManagerHarnessFilterer) FilterRootUpdated(opts *bind.FilterOpts) (*AgentManagerHarnessRootUpdatedIterator, error)

FilterRootUpdated is a free log retrieval operation binding the contract event 0x2cbc14f49c068133583f7cb530018af451c87c1cf1327cf2a4ff4698c4730aa4.

Solidity: event RootUpdated(bytes32 newRoot)

func (*AgentManagerHarnessFilterer) FilterStatusUpdated

func (_AgentManagerHarness *AgentManagerHarnessFilterer) FilterStatusUpdated(opts *bind.FilterOpts, domain []uint32, agent []common.Address) (*AgentManagerHarnessStatusUpdatedIterator, error)

FilterStatusUpdated is a free log retrieval operation binding the contract event 0x8f9b8b0f4f062833bec85ea9a8465e4a1207b4be6eb565bbd0ae8b913588d04e.

Solidity: event StatusUpdated(uint8 flag, uint32 indexed domain, address indexed agent)

func (*AgentManagerHarnessFilterer) ParseDisputeOpened

func (_AgentManagerHarness *AgentManagerHarnessFilterer) ParseDisputeOpened(log types.Log) (*AgentManagerHarnessDisputeOpened, error)

ParseDisputeOpened is a log parse operation binding the contract event 0xd0672fae056abe2bf0637742527d49add67fdb68192a6c6f6bf86eac19fe0530.

Solidity: event DisputeOpened(uint256 disputeIndex, uint32 guardIndex, uint32 notaryIndex)

func (*AgentManagerHarnessFilterer) ParseDisputeResolved

func (_AgentManagerHarness *AgentManagerHarnessFilterer) ParseDisputeResolved(log types.Log) (*AgentManagerHarnessDisputeResolved, error)

ParseDisputeResolved is a log parse operation binding the contract event 0xb4cad5624e1d1c6c622ec70516ee582fe3f6519440c5b47e5165141edc9c54cf.

Solidity: event DisputeResolved(uint256 disputeIndex, uint32 slashedIndex, uint32 rivalIndex, address fraudProver)

func (*AgentManagerHarnessFilterer) ParseInitialized

func (_AgentManagerHarness *AgentManagerHarnessFilterer) ParseInitialized(log types.Log) (*AgentManagerHarnessInitialized, error)

ParseInitialized is a log parse operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.

Solidity: event Initialized(uint8 version)

func (*AgentManagerHarnessFilterer) ParseOwnershipTransferred

func (_AgentManagerHarness *AgentManagerHarnessFilterer) ParseOwnershipTransferred(log types.Log) (*AgentManagerHarnessOwnershipTransferred, error)

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

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

func (*AgentManagerHarnessFilterer) ParseRootUpdated

func (_AgentManagerHarness *AgentManagerHarnessFilterer) ParseRootUpdated(log types.Log) (*AgentManagerHarnessRootUpdated, error)

ParseRootUpdated is a log parse operation binding the contract event 0x2cbc14f49c068133583f7cb530018af451c87c1cf1327cf2a4ff4698c4730aa4.

Solidity: event RootUpdated(bytes32 newRoot)

func (*AgentManagerHarnessFilterer) ParseStatusUpdated

func (_AgentManagerHarness *AgentManagerHarnessFilterer) ParseStatusUpdated(log types.Log) (*AgentManagerHarnessStatusUpdated, error)

ParseStatusUpdated is a log parse operation binding the contract event 0x8f9b8b0f4f062833bec85ea9a8465e4a1207b4be6eb565bbd0ae8b913588d04e.

Solidity: event StatusUpdated(uint8 flag, uint32 indexed domain, address indexed agent)

func (*AgentManagerHarnessFilterer) WatchDisputeOpened

func (_AgentManagerHarness *AgentManagerHarnessFilterer) WatchDisputeOpened(opts *bind.WatchOpts, sink chan<- *AgentManagerHarnessDisputeOpened) (event.Subscription, error)

WatchDisputeOpened is a free log subscription operation binding the contract event 0xd0672fae056abe2bf0637742527d49add67fdb68192a6c6f6bf86eac19fe0530.

Solidity: event DisputeOpened(uint256 disputeIndex, uint32 guardIndex, uint32 notaryIndex)

func (*AgentManagerHarnessFilterer) WatchDisputeResolved

func (_AgentManagerHarness *AgentManagerHarnessFilterer) WatchDisputeResolved(opts *bind.WatchOpts, sink chan<- *AgentManagerHarnessDisputeResolved) (event.Subscription, error)

WatchDisputeResolved is a free log subscription operation binding the contract event 0xb4cad5624e1d1c6c622ec70516ee582fe3f6519440c5b47e5165141edc9c54cf.

Solidity: event DisputeResolved(uint256 disputeIndex, uint32 slashedIndex, uint32 rivalIndex, address fraudProver)

func (*AgentManagerHarnessFilterer) WatchInitialized

func (_AgentManagerHarness *AgentManagerHarnessFilterer) WatchInitialized(opts *bind.WatchOpts, sink chan<- *AgentManagerHarnessInitialized) (event.Subscription, error)

WatchInitialized is a free log subscription operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.

Solidity: event Initialized(uint8 version)

func (*AgentManagerHarnessFilterer) WatchOwnershipTransferred

func (_AgentManagerHarness *AgentManagerHarnessFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *AgentManagerHarnessOwnershipTransferred, 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 (*AgentManagerHarnessFilterer) WatchRootUpdated

func (_AgentManagerHarness *AgentManagerHarnessFilterer) WatchRootUpdated(opts *bind.WatchOpts, sink chan<- *AgentManagerHarnessRootUpdated) (event.Subscription, error)

WatchRootUpdated is a free log subscription operation binding the contract event 0x2cbc14f49c068133583f7cb530018af451c87c1cf1327cf2a4ff4698c4730aa4.

Solidity: event RootUpdated(bytes32 newRoot)

func (*AgentManagerHarnessFilterer) WatchStatusUpdated

func (_AgentManagerHarness *AgentManagerHarnessFilterer) WatchStatusUpdated(opts *bind.WatchOpts, sink chan<- *AgentManagerHarnessStatusUpdated, domain []uint32, agent []common.Address) (event.Subscription, error)

WatchStatusUpdated is a free log subscription operation binding the contract event 0x8f9b8b0f4f062833bec85ea9a8465e4a1207b4be6eb565bbd0ae8b913588d04e.

Solidity: event StatusUpdated(uint8 flag, uint32 indexed domain, address indexed agent)

type AgentManagerHarnessInitialized

type AgentManagerHarnessInitialized struct {
	Version uint8
	Raw     types.Log // Blockchain specific contextual infos
}

AgentManagerHarnessInitialized represents a Initialized event raised by the AgentManagerHarness contract.

type AgentManagerHarnessInitializedIterator

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

AgentManagerHarnessInitializedIterator is returned from FilterInitialized and is used to iterate over the raw logs and unpacked data for Initialized events raised by the AgentManagerHarness contract.

func (*AgentManagerHarnessInitializedIterator) Close

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

func (*AgentManagerHarnessInitializedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*AgentManagerHarnessInitializedIterator) 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 AgentManagerHarnessOwnershipTransferred

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

AgentManagerHarnessOwnershipTransferred represents a OwnershipTransferred event raised by the AgentManagerHarness contract.

type AgentManagerHarnessOwnershipTransferredIterator

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

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

func (*AgentManagerHarnessOwnershipTransferredIterator) Close

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

func (*AgentManagerHarnessOwnershipTransferredIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*AgentManagerHarnessOwnershipTransferredIterator) 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 AgentManagerHarnessRaw

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

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

func (*AgentManagerHarnessRaw) Call

func (_AgentManagerHarness *AgentManagerHarnessRaw) 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 (*AgentManagerHarnessRaw) Transact

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

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

func (*AgentManagerHarnessRaw) Transfer

func (_AgentManagerHarness *AgentManagerHarnessRaw) 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 AgentManagerHarnessRootUpdated

type AgentManagerHarnessRootUpdated struct {
	NewRoot [32]byte
	Raw     types.Log // Blockchain specific contextual infos
}

AgentManagerHarnessRootUpdated represents a RootUpdated event raised by the AgentManagerHarness contract.

type AgentManagerHarnessRootUpdatedIterator

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

AgentManagerHarnessRootUpdatedIterator is returned from FilterRootUpdated and is used to iterate over the raw logs and unpacked data for RootUpdated events raised by the AgentManagerHarness contract.

func (*AgentManagerHarnessRootUpdatedIterator) Close

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

func (*AgentManagerHarnessRootUpdatedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*AgentManagerHarnessRootUpdatedIterator) 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 AgentManagerHarnessSession

type AgentManagerHarnessSession struct {
	Contract     *AgentManagerHarness // 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
}

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

func (*AgentManagerHarnessSession) AgentRoot

func (_AgentManagerHarness *AgentManagerHarnessSession) AgentRoot() ([32]byte, error)

AgentRoot is a free data retrieval call binding the contract method 0x36cba43c.

Solidity: function agentRoot() view returns(bytes32)

func (*AgentManagerHarnessSession) AgentStatus

func (_AgentManagerHarness *AgentManagerHarnessSession) AgentStatus(agent common.Address) (AgentStatus, error)

AgentStatus is a free data retrieval call binding the contract method 0x28f3fac9.

Solidity: function agentStatus(address agent) view returns((uint8,uint32,uint32) status)

func (*AgentManagerHarnessSession) Destination

func (_AgentManagerHarness *AgentManagerHarnessSession) Destination() (common.Address, error)

Destination is a free data retrieval call binding the contract method 0xb269681d.

Solidity: function destination() view returns(address)

func (*AgentManagerHarnessSession) DisputeStatus

func (_AgentManagerHarness *AgentManagerHarnessSession) DisputeStatus(agent common.Address) (struct {
	Flag        uint8
	Rival       common.Address
	FraudProver common.Address
	DisputePtr  *big.Int
}, error)

DisputeStatus is a free data retrieval call binding the contract method 0x3463d1b1.

Solidity: function disputeStatus(address agent) view returns(uint8 flag, address rival, address fraudProver, uint256 disputePtr)

func (*AgentManagerHarnessSession) GetAgent

func (_AgentManagerHarness *AgentManagerHarnessSession) GetAgent(index *big.Int) (struct {
	Agent  common.Address
	Status AgentStatus
}, error)

GetAgent is a free data retrieval call binding the contract method 0x2de5aaf7.

Solidity: function getAgent(uint256 index) view returns(address agent, (uint8,uint32,uint32) status)

func (*AgentManagerHarnessSession) GetDispute

func (_AgentManagerHarness *AgentManagerHarnessSession) GetDispute(index *big.Int) (struct {
	Guard           common.Address
	Notary          common.Address
	SlashedAgent    common.Address
	FraudProver     common.Address
	ReportPayload   []byte
	ReportSignature []byte
}, error)

GetDispute is a free data retrieval call binding the contract method 0xe3a96cbd.

Solidity: function getDispute(uint256 index) view returns(address guard, address notary, address slashedAgent, address fraudProver, bytes reportPayload, bytes reportSignature)

func (*AgentManagerHarnessSession) GetDisputesAmount

func (_AgentManagerHarness *AgentManagerHarnessSession) GetDisputesAmount() (*big.Int, error)

GetDisputesAmount is a free data retrieval call binding the contract method 0x3aaeccc6.

Solidity: function getDisputesAmount() view returns(uint256)

func (*AgentManagerHarnessSession) Inbox

func (_AgentManagerHarness *AgentManagerHarnessSession) Inbox() (common.Address, error)

Inbox is a free data retrieval call binding the contract method 0xfb0e722b.

Solidity: function inbox() view returns(address)

func (*AgentManagerHarnessSession) LocalDomain

func (_AgentManagerHarness *AgentManagerHarnessSession) LocalDomain() (uint32, error)

LocalDomain is a free data retrieval call binding the contract method 0x8d3638f4.

Solidity: function localDomain() view returns(uint32)

func (*AgentManagerHarnessSession) Multicall

func (_AgentManagerHarness *AgentManagerHarnessSession) Multicall(calls []MultiCallableCall) (*types.Transaction, error)

Multicall is a paid mutator transaction binding the contract method 0x60fc8466.

Solidity: function multicall((bool,bytes)[] calls) returns((bool,bytes)[] callResults)

func (*AgentManagerHarnessSession) OpenDispute

func (_AgentManagerHarness *AgentManagerHarnessSession) OpenDispute(guardIndex uint32, notaryIndex uint32) (*types.Transaction, error)

OpenDispute is a paid mutator transaction binding the contract method 0xa2155c34.

Solidity: function openDispute(uint32 guardIndex, uint32 notaryIndex) returns()

func (*AgentManagerHarnessSession) Origin

func (_AgentManagerHarness *AgentManagerHarnessSession) Origin() (common.Address, error)

Origin is a free data retrieval call binding the contract method 0x938b5f32.

Solidity: function origin() view returns(address)

func (*AgentManagerHarnessSession) Owner

func (_AgentManagerHarness *AgentManagerHarnessSession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*AgentManagerHarnessSession) RemoteMockFunc

func (_AgentManagerHarness *AgentManagerHarnessSession) RemoteMockFunc(arg0 uint32, arg1 *big.Int, arg2 [32]byte) ([4]byte, error)

RemoteMockFunc is a free data retrieval call binding the contract method 0xa149352c.

Solidity: function remoteMockFunc(uint32 , uint256 , bytes32 ) view returns(bytes4)

func (*AgentManagerHarnessSession) RenounceOwnership

func (_AgentManagerHarness *AgentManagerHarnessSession) RenounceOwnership() (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*AgentManagerHarnessSession) ResolveStuckDispute

func (_AgentManagerHarness *AgentManagerHarnessSession) ResolveStuckDispute(domain uint32, slashedAgent common.Address) (*types.Transaction, error)

ResolveStuckDispute is a paid mutator transaction binding the contract method 0x89791e17.

Solidity: function resolveStuckDispute(uint32 domain, address slashedAgent) returns()

func (*AgentManagerHarnessSession) SensitiveMockFunc

func (_AgentManagerHarness *AgentManagerHarnessSession) SensitiveMockFunc(arg0 common.Address, arg1 uint8, data [32]byte) ([32]byte, error)

SensitiveMockFunc is a free data retrieval call binding the contract method 0x127a2c9d.

Solidity: function sensitiveMockFunc(address , uint8 , bytes32 data) view returns(bytes32)

func (*AgentManagerHarnessSession) SensitiveMockFuncOver32Bytes

func (_AgentManagerHarness *AgentManagerHarnessSession) SensitiveMockFuncOver32Bytes(arg0 uint16, arg1 [4]byte, data [32]byte) ([4]byte, [32]byte, error)

SensitiveMockFuncOver32Bytes is a free data retrieval call binding the contract method 0x0e6bfcd5.

Solidity: function sensitiveMockFuncOver32Bytes(uint16 , bytes4 , bytes32 data) view returns(bytes4, bytes32)

func (*AgentManagerHarnessSession) SensitiveMockFuncVoid

func (_AgentManagerHarness *AgentManagerHarnessSession) SensitiveMockFuncVoid(arg0 uint16, arg1 [4]byte, arg2 [32]byte) error

SensitiveMockFuncVoid is a free data retrieval call binding the contract method 0xc9f1a03f.

Solidity: function sensitiveMockFuncVoid(uint16 , bytes4 , bytes32 ) view returns()

func (*AgentManagerHarnessSession) SlashAgent

func (_AgentManagerHarness *AgentManagerHarnessSession) SlashAgent(domain uint32, agent common.Address, prover common.Address) (*types.Transaction, error)

SlashAgent is a paid mutator transaction binding the contract method 0x2853a0e6.

Solidity: function slashAgent(uint32 domain, address agent, address prover) returns()

func (*AgentManagerHarnessSession) SlashAgentExposed

func (_AgentManagerHarness *AgentManagerHarnessSession) SlashAgentExposed(domain uint32, agent common.Address, prover common.Address) (*types.Transaction, error)

SlashAgentExposed is a paid mutator transaction binding the contract method 0x69978b0d.

Solidity: function slashAgentExposed(uint32 domain, address agent, address prover) returns()

func (*AgentManagerHarnessSession) TransferOwnership

func (_AgentManagerHarness *AgentManagerHarnessSession) 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 (*AgentManagerHarnessSession) Version

func (_AgentManagerHarness *AgentManagerHarnessSession) Version() (string, error)

Version is a free data retrieval call binding the contract method 0x54fd4d50.

Solidity: function version() view returns(string versionString)

type AgentManagerHarnessStatusUpdated

type AgentManagerHarnessStatusUpdated struct {
	Flag   uint8
	Domain uint32
	Agent  common.Address
	Raw    types.Log // Blockchain specific contextual infos
}

AgentManagerHarnessStatusUpdated represents a StatusUpdated event raised by the AgentManagerHarness contract.

type AgentManagerHarnessStatusUpdatedIterator

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

AgentManagerHarnessStatusUpdatedIterator is returned from FilterStatusUpdated and is used to iterate over the raw logs and unpacked data for StatusUpdated events raised by the AgentManagerHarness contract.

func (*AgentManagerHarnessStatusUpdatedIterator) Close

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

func (*AgentManagerHarnessStatusUpdatedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*AgentManagerHarnessStatusUpdatedIterator) 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 AgentManagerHarnessTransactor

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

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

func NewAgentManagerHarnessTransactor

func NewAgentManagerHarnessTransactor(address common.Address, transactor bind.ContractTransactor) (*AgentManagerHarnessTransactor, error)

NewAgentManagerHarnessTransactor creates a new write-only instance of AgentManagerHarness, bound to a specific deployed contract.

func (*AgentManagerHarnessTransactor) Multicall

func (_AgentManagerHarness *AgentManagerHarnessTransactor) Multicall(opts *bind.TransactOpts, calls []MultiCallableCall) (*types.Transaction, error)

Multicall is a paid mutator transaction binding the contract method 0x60fc8466.

Solidity: function multicall((bool,bytes)[] calls) returns((bool,bytes)[] callResults)

func (*AgentManagerHarnessTransactor) OpenDispute

func (_AgentManagerHarness *AgentManagerHarnessTransactor) OpenDispute(opts *bind.TransactOpts, guardIndex uint32, notaryIndex uint32) (*types.Transaction, error)

OpenDispute is a paid mutator transaction binding the contract method 0xa2155c34.

Solidity: function openDispute(uint32 guardIndex, uint32 notaryIndex) returns()

func (*AgentManagerHarnessTransactor) RenounceOwnership

func (_AgentManagerHarness *AgentManagerHarnessTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*AgentManagerHarnessTransactor) ResolveStuckDispute

func (_AgentManagerHarness *AgentManagerHarnessTransactor) ResolveStuckDispute(opts *bind.TransactOpts, domain uint32, slashedAgent common.Address) (*types.Transaction, error)

ResolveStuckDispute is a paid mutator transaction binding the contract method 0x89791e17.

Solidity: function resolveStuckDispute(uint32 domain, address slashedAgent) returns()

func (*AgentManagerHarnessTransactor) SlashAgent

func (_AgentManagerHarness *AgentManagerHarnessTransactor) SlashAgent(opts *bind.TransactOpts, domain uint32, agent common.Address, prover common.Address) (*types.Transaction, error)

SlashAgent is a paid mutator transaction binding the contract method 0x2853a0e6.

Solidity: function slashAgent(uint32 domain, address agent, address prover) returns()

func (*AgentManagerHarnessTransactor) SlashAgentExposed

func (_AgentManagerHarness *AgentManagerHarnessTransactor) SlashAgentExposed(opts *bind.TransactOpts, domain uint32, agent common.Address, prover common.Address) (*types.Transaction, error)

SlashAgentExposed is a paid mutator transaction binding the contract method 0x69978b0d.

Solidity: function slashAgentExposed(uint32 domain, address agent, address prover) returns()

func (*AgentManagerHarnessTransactor) TransferOwnership

func (_AgentManagerHarness *AgentManagerHarnessTransactor) 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 AgentManagerHarnessTransactorRaw

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

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

func (*AgentManagerHarnessTransactorRaw) Transact

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

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

func (*AgentManagerHarnessTransactorRaw) Transfer

func (_AgentManagerHarness *AgentManagerHarnessTransactorRaw) 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 AgentManagerHarnessTransactorSession

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

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

func (*AgentManagerHarnessTransactorSession) Multicall

func (_AgentManagerHarness *AgentManagerHarnessTransactorSession) Multicall(calls []MultiCallableCall) (*types.Transaction, error)

Multicall is a paid mutator transaction binding the contract method 0x60fc8466.

Solidity: function multicall((bool,bytes)[] calls) returns((bool,bytes)[] callResults)

func (*AgentManagerHarnessTransactorSession) OpenDispute

func (_AgentManagerHarness *AgentManagerHarnessTransactorSession) OpenDispute(guardIndex uint32, notaryIndex uint32) (*types.Transaction, error)

OpenDispute is a paid mutator transaction binding the contract method 0xa2155c34.

Solidity: function openDispute(uint32 guardIndex, uint32 notaryIndex) returns()

func (*AgentManagerHarnessTransactorSession) RenounceOwnership

func (_AgentManagerHarness *AgentManagerHarnessTransactorSession) RenounceOwnership() (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*AgentManagerHarnessTransactorSession) ResolveStuckDispute

func (_AgentManagerHarness *AgentManagerHarnessTransactorSession) ResolveStuckDispute(domain uint32, slashedAgent common.Address) (*types.Transaction, error)

ResolveStuckDispute is a paid mutator transaction binding the contract method 0x89791e17.

Solidity: function resolveStuckDispute(uint32 domain, address slashedAgent) returns()

func (*AgentManagerHarnessTransactorSession) SlashAgent

func (_AgentManagerHarness *AgentManagerHarnessTransactorSession) SlashAgent(domain uint32, agent common.Address, prover common.Address) (*types.Transaction, error)

SlashAgent is a paid mutator transaction binding the contract method 0x2853a0e6.

Solidity: function slashAgent(uint32 domain, address agent, address prover) returns()

func (*AgentManagerHarnessTransactorSession) SlashAgentExposed

func (_AgentManagerHarness *AgentManagerHarnessTransactorSession) SlashAgentExposed(domain uint32, agent common.Address, prover common.Address) (*types.Transaction, error)

SlashAgentExposed is a paid mutator transaction binding the contract method 0x69978b0d.

Solidity: function slashAgentExposed(uint32 domain, address agent, address prover) returns()

func (*AgentManagerHarnessTransactorSession) TransferOwnership

func (_AgentManagerHarness *AgentManagerHarnessTransactorSession) 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 AgentManagerInitialized

type AgentManagerInitialized struct {
	Version uint8
	Raw     types.Log // Blockchain specific contextual infos
}

AgentManagerInitialized represents a Initialized event raised by the AgentManager contract.

type AgentManagerInitializedIterator

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

AgentManagerInitializedIterator is returned from FilterInitialized and is used to iterate over the raw logs and unpacked data for Initialized events raised by the AgentManager contract.

func (*AgentManagerInitializedIterator) Close

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

func (*AgentManagerInitializedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*AgentManagerInitializedIterator) 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 AgentManagerOwnershipTransferred

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

AgentManagerOwnershipTransferred represents a OwnershipTransferred event raised by the AgentManager contract.

type AgentManagerOwnershipTransferredIterator

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

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

func (*AgentManagerOwnershipTransferredIterator) Close

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

func (*AgentManagerOwnershipTransferredIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*AgentManagerOwnershipTransferredIterator) 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 AgentManagerRaw

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

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

func (*AgentManagerRaw) Call

func (_AgentManager *AgentManagerRaw) 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 (*AgentManagerRaw) Transact

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

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

func (*AgentManagerRaw) Transfer

func (_AgentManager *AgentManagerRaw) 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 AgentManagerRootUpdated

type AgentManagerRootUpdated struct {
	NewRoot [32]byte
	Raw     types.Log // Blockchain specific contextual infos
}

AgentManagerRootUpdated represents a RootUpdated event raised by the AgentManager contract.

type AgentManagerRootUpdatedIterator

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

AgentManagerRootUpdatedIterator is returned from FilterRootUpdated and is used to iterate over the raw logs and unpacked data for RootUpdated events raised by the AgentManager contract.

func (*AgentManagerRootUpdatedIterator) Close

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

func (*AgentManagerRootUpdatedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*AgentManagerRootUpdatedIterator) 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 AgentManagerSession

type AgentManagerSession struct {
	Contract     *AgentManager     // 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
}

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

func (*AgentManagerSession) AgentRoot

func (_AgentManager *AgentManagerSession) AgentRoot() ([32]byte, error)

AgentRoot is a free data retrieval call binding the contract method 0x36cba43c.

Solidity: function agentRoot() view returns(bytes32)

func (*AgentManagerSession) AgentStatus

func (_AgentManager *AgentManagerSession) AgentStatus(agent common.Address) (AgentStatus, error)

AgentStatus is a free data retrieval call binding the contract method 0x28f3fac9.

Solidity: function agentStatus(address agent) view returns((uint8,uint32,uint32) status)

func (*AgentManagerSession) Destination

func (_AgentManager *AgentManagerSession) Destination() (common.Address, error)

Destination is a free data retrieval call binding the contract method 0xb269681d.

Solidity: function destination() view returns(address)

func (*AgentManagerSession) DisputeStatus

func (_AgentManager *AgentManagerSession) DisputeStatus(agent common.Address) (struct {
	Flag        uint8
	Rival       common.Address
	FraudProver common.Address
	DisputePtr  *big.Int
}, error)

DisputeStatus is a free data retrieval call binding the contract method 0x3463d1b1.

Solidity: function disputeStatus(address agent) view returns(uint8 flag, address rival, address fraudProver, uint256 disputePtr)

func (*AgentManagerSession) GetAgent

func (_AgentManager *AgentManagerSession) GetAgent(index *big.Int) (struct {
	Agent  common.Address
	Status AgentStatus
}, error)

GetAgent is a free data retrieval call binding the contract method 0x2de5aaf7.

Solidity: function getAgent(uint256 index) view returns(address agent, (uint8,uint32,uint32) status)

func (*AgentManagerSession) GetDispute

func (_AgentManager *AgentManagerSession) GetDispute(index *big.Int) (struct {
	Guard           common.Address
	Notary          common.Address
	SlashedAgent    common.Address
	FraudProver     common.Address
	ReportPayload   []byte
	ReportSignature []byte
}, error)

GetDispute is a free data retrieval call binding the contract method 0xe3a96cbd.

Solidity: function getDispute(uint256 index) view returns(address guard, address notary, address slashedAgent, address fraudProver, bytes reportPayload, bytes reportSignature)

func (*AgentManagerSession) GetDisputesAmount

func (_AgentManager *AgentManagerSession) GetDisputesAmount() (*big.Int, error)

GetDisputesAmount is a free data retrieval call binding the contract method 0x3aaeccc6.

Solidity: function getDisputesAmount() view returns(uint256)

func (*AgentManagerSession) Inbox

func (_AgentManager *AgentManagerSession) Inbox() (common.Address, error)

Inbox is a free data retrieval call binding the contract method 0xfb0e722b.

Solidity: function inbox() view returns(address)

func (*AgentManagerSession) LocalDomain

func (_AgentManager *AgentManagerSession) LocalDomain() (uint32, error)

LocalDomain is a free data retrieval call binding the contract method 0x8d3638f4.

Solidity: function localDomain() view returns(uint32)

func (*AgentManagerSession) Multicall

func (_AgentManager *AgentManagerSession) Multicall(calls []MultiCallableCall) (*types.Transaction, error)

Multicall is a paid mutator transaction binding the contract method 0x60fc8466.

Solidity: function multicall((bool,bytes)[] calls) returns((bool,bytes)[] callResults)

func (*AgentManagerSession) OpenDispute

func (_AgentManager *AgentManagerSession) OpenDispute(guardIndex uint32, notaryIndex uint32) (*types.Transaction, error)

OpenDispute is a paid mutator transaction binding the contract method 0xa2155c34.

Solidity: function openDispute(uint32 guardIndex, uint32 notaryIndex) returns()

func (*AgentManagerSession) Origin

func (_AgentManager *AgentManagerSession) Origin() (common.Address, error)

Origin is a free data retrieval call binding the contract method 0x938b5f32.

Solidity: function origin() view returns(address)

func (*AgentManagerSession) Owner

func (_AgentManager *AgentManagerSession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*AgentManagerSession) RenounceOwnership

func (_AgentManager *AgentManagerSession) RenounceOwnership() (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*AgentManagerSession) ResolveStuckDispute

func (_AgentManager *AgentManagerSession) ResolveStuckDispute(domain uint32, slashedAgent common.Address) (*types.Transaction, error)

ResolveStuckDispute is a paid mutator transaction binding the contract method 0x89791e17.

Solidity: function resolveStuckDispute(uint32 domain, address slashedAgent) returns()

func (*AgentManagerSession) SlashAgent

func (_AgentManager *AgentManagerSession) SlashAgent(domain uint32, agent common.Address, prover common.Address) (*types.Transaction, error)

SlashAgent is a paid mutator transaction binding the contract method 0x2853a0e6.

Solidity: function slashAgent(uint32 domain, address agent, address prover) returns()

func (*AgentManagerSession) TransferOwnership

func (_AgentManager *AgentManagerSession) 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 (*AgentManagerSession) Version

func (_AgentManager *AgentManagerSession) Version() (string, error)

Version is a free data retrieval call binding the contract method 0x54fd4d50.

Solidity: function version() view returns(string versionString)

type AgentManagerStatusUpdated

type AgentManagerStatusUpdated struct {
	Flag   uint8
	Domain uint32
	Agent  common.Address
	Raw    types.Log // Blockchain specific contextual infos
}

AgentManagerStatusUpdated represents a StatusUpdated event raised by the AgentManager contract.

type AgentManagerStatusUpdatedIterator

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

AgentManagerStatusUpdatedIterator is returned from FilterStatusUpdated and is used to iterate over the raw logs and unpacked data for StatusUpdated events raised by the AgentManager contract.

func (*AgentManagerStatusUpdatedIterator) Close

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

func (*AgentManagerStatusUpdatedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*AgentManagerStatusUpdatedIterator) 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 AgentManagerTransactor

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

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

func NewAgentManagerTransactor

func NewAgentManagerTransactor(address common.Address, transactor bind.ContractTransactor) (*AgentManagerTransactor, error)

NewAgentManagerTransactor creates a new write-only instance of AgentManager, bound to a specific deployed contract.

func (*AgentManagerTransactor) Multicall

func (_AgentManager *AgentManagerTransactor) Multicall(opts *bind.TransactOpts, calls []MultiCallableCall) (*types.Transaction, error)

Multicall is a paid mutator transaction binding the contract method 0x60fc8466.

Solidity: function multicall((bool,bytes)[] calls) returns((bool,bytes)[] callResults)

func (*AgentManagerTransactor) OpenDispute

func (_AgentManager *AgentManagerTransactor) OpenDispute(opts *bind.TransactOpts, guardIndex uint32, notaryIndex uint32) (*types.Transaction, error)

OpenDispute is a paid mutator transaction binding the contract method 0xa2155c34.

Solidity: function openDispute(uint32 guardIndex, uint32 notaryIndex) returns()

func (*AgentManagerTransactor) RenounceOwnership

func (_AgentManager *AgentManagerTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*AgentManagerTransactor) ResolveStuckDispute

func (_AgentManager *AgentManagerTransactor) ResolveStuckDispute(opts *bind.TransactOpts, domain uint32, slashedAgent common.Address) (*types.Transaction, error)

ResolveStuckDispute is a paid mutator transaction binding the contract method 0x89791e17.

Solidity: function resolveStuckDispute(uint32 domain, address slashedAgent) returns()

func (*AgentManagerTransactor) SlashAgent

func (_AgentManager *AgentManagerTransactor) SlashAgent(opts *bind.TransactOpts, domain uint32, agent common.Address, prover common.Address) (*types.Transaction, error)

SlashAgent is a paid mutator transaction binding the contract method 0x2853a0e6.

Solidity: function slashAgent(uint32 domain, address agent, address prover) returns()

func (*AgentManagerTransactor) TransferOwnership

func (_AgentManager *AgentManagerTransactor) 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 AgentManagerTransactorRaw

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

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

func (*AgentManagerTransactorRaw) Transact

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

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

func (*AgentManagerTransactorRaw) Transfer

func (_AgentManager *AgentManagerTransactorRaw) 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 AgentManagerTransactorSession

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

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

func (*AgentManagerTransactorSession) Multicall

func (_AgentManager *AgentManagerTransactorSession) Multicall(calls []MultiCallableCall) (*types.Transaction, error)

Multicall is a paid mutator transaction binding the contract method 0x60fc8466.

Solidity: function multicall((bool,bytes)[] calls) returns((bool,bytes)[] callResults)

func (*AgentManagerTransactorSession) OpenDispute

func (_AgentManager *AgentManagerTransactorSession) OpenDispute(guardIndex uint32, notaryIndex uint32) (*types.Transaction, error)

OpenDispute is a paid mutator transaction binding the contract method 0xa2155c34.

Solidity: function openDispute(uint32 guardIndex, uint32 notaryIndex) returns()

func (*AgentManagerTransactorSession) RenounceOwnership

func (_AgentManager *AgentManagerTransactorSession) RenounceOwnership() (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*AgentManagerTransactorSession) ResolveStuckDispute

func (_AgentManager *AgentManagerTransactorSession) ResolveStuckDispute(domain uint32, slashedAgent common.Address) (*types.Transaction, error)

ResolveStuckDispute is a paid mutator transaction binding the contract method 0x89791e17.

Solidity: function resolveStuckDispute(uint32 domain, address slashedAgent) returns()

func (*AgentManagerTransactorSession) SlashAgent

func (_AgentManager *AgentManagerTransactorSession) SlashAgent(domain uint32, agent common.Address, prover common.Address) (*types.Transaction, error)

SlashAgent is a paid mutator transaction binding the contract method 0x2853a0e6.

Solidity: function slashAgent(uint32 domain, address agent, address prover) returns()

func (*AgentManagerTransactorSession) TransferOwnership

func (_AgentManager *AgentManagerTransactorSession) 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 AgentStatus

type AgentStatus struct {
	Flag   uint8
	Domain uint32
	Index  uint32
}

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

type BondingManager

type BondingManager struct {
	BondingManagerCaller     // Read-only binding to the contract
	BondingManagerTransactor // Write-only binding to the contract
	BondingManagerFilterer   // Log filterer for contract events
}

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

func DeployBondingManager

func DeployBondingManager(auth *bind.TransactOpts, backend bind.ContractBackend, domain uint32) (common.Address, *types.Transaction, *BondingManager, error)

DeployBondingManager deploys a new Ethereum contract, binding an instance of BondingManager to it.

func NewBondingManager

func NewBondingManager(address common.Address, backend bind.ContractBackend) (*BondingManager, error)

NewBondingManager creates a new instance of BondingManager, bound to a specific deployed contract.

type BondingManagerCaller

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

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

func NewBondingManagerCaller

func NewBondingManagerCaller(address common.Address, caller bind.ContractCaller) (*BondingManagerCaller, error)

NewBondingManagerCaller creates a new read-only instance of BondingManager, bound to a specific deployed contract.

func (*BondingManagerCaller) AgentLeaf

func (_BondingManager *BondingManagerCaller) AgentLeaf(opts *bind.CallOpts, agent common.Address) ([32]byte, error)

AgentLeaf is a free data retrieval call binding the contract method 0xc99dcb9e.

Solidity: function agentLeaf(address agent) view returns(bytes32 leaf)

func (*BondingManagerCaller) AgentRoot

func (_BondingManager *BondingManagerCaller) AgentRoot(opts *bind.CallOpts) ([32]byte, error)

AgentRoot is a free data retrieval call binding the contract method 0x36cba43c.

Solidity: function agentRoot() view returns(bytes32)

func (*BondingManagerCaller) AgentStatus

func (_BondingManager *BondingManagerCaller) AgentStatus(opts *bind.CallOpts, agent common.Address) (AgentStatus, error)

AgentStatus is a free data retrieval call binding the contract method 0x28f3fac9.

Solidity: function agentStatus(address agent) view returns((uint8,uint32,uint32) status)

func (*BondingManagerCaller) AllLeafs

func (_BondingManager *BondingManagerCaller) AllLeafs(opts *bind.CallOpts) ([][32]byte, error)

AllLeafs is a free data retrieval call binding the contract method 0x12db2ef6.

Solidity: function allLeafs() view returns(bytes32[] leafs)

func (*BondingManagerCaller) Destination

func (_BondingManager *BondingManagerCaller) Destination(opts *bind.CallOpts) (common.Address, error)

Destination is a free data retrieval call binding the contract method 0xb269681d.

Solidity: function destination() view returns(address)

func (*BondingManagerCaller) DisputeStatus

func (_BondingManager *BondingManagerCaller) DisputeStatus(opts *bind.CallOpts, agent common.Address) (struct {
	Flag        uint8
	Rival       common.Address
	FraudProver common.Address
	DisputePtr  *big.Int
}, error)

DisputeStatus is a free data retrieval call binding the contract method 0x3463d1b1.

Solidity: function disputeStatus(address agent) view returns(uint8 flag, address rival, address fraudProver, uint256 disputePtr)

func (*BondingManagerCaller) GetActiveAgents

func (_BondingManager *BondingManagerCaller) GetActiveAgents(opts *bind.CallOpts, domain uint32) ([]common.Address, error)

GetActiveAgents is a free data retrieval call binding the contract method 0xc1c0f4f6.

Solidity: function getActiveAgents(uint32 domain) view returns(address[] agents)

func (*BondingManagerCaller) GetAgent

func (_BondingManager *BondingManagerCaller) GetAgent(opts *bind.CallOpts, index *big.Int) (struct {
	Agent  common.Address
	Status AgentStatus
}, error)

GetAgent is a free data retrieval call binding the contract method 0x2de5aaf7.

Solidity: function getAgent(uint256 index) view returns(address agent, (uint8,uint32,uint32) status)

func (*BondingManagerCaller) GetDispute

func (_BondingManager *BondingManagerCaller) GetDispute(opts *bind.CallOpts, index *big.Int) (struct {
	Guard           common.Address
	Notary          common.Address
	SlashedAgent    common.Address
	FraudProver     common.Address
	ReportPayload   []byte
	ReportSignature []byte
}, error)

GetDispute is a free data retrieval call binding the contract method 0xe3a96cbd.

Solidity: function getDispute(uint256 index) view returns(address guard, address notary, address slashedAgent, address fraudProver, bytes reportPayload, bytes reportSignature)

func (*BondingManagerCaller) GetDisputesAmount

func (_BondingManager *BondingManagerCaller) GetDisputesAmount(opts *bind.CallOpts) (*big.Int, error)

GetDisputesAmount is a free data retrieval call binding the contract method 0x3aaeccc6.

Solidity: function getDisputesAmount() view returns(uint256)

func (*BondingManagerCaller) GetLeafs

func (_BondingManager *BondingManagerCaller) GetLeafs(opts *bind.CallOpts, indexFrom *big.Int, amount *big.Int) ([][32]byte, error)

GetLeafs is a free data retrieval call binding the contract method 0x33d1b2e8.

Solidity: function getLeafs(uint256 indexFrom, uint256 amount) view returns(bytes32[] leafs)

func (*BondingManagerCaller) GetProof

func (_BondingManager *BondingManagerCaller) GetProof(opts *bind.CallOpts, agent common.Address) ([][32]byte, error)

GetProof is a free data retrieval call binding the contract method 0x3eea79d1.

Solidity: function getProof(address agent) view returns(bytes32[] proof)

func (*BondingManagerCaller) Inbox

func (_BondingManager *BondingManagerCaller) Inbox(opts *bind.CallOpts) (common.Address, error)

Inbox is a free data retrieval call binding the contract method 0xfb0e722b.

Solidity: function inbox() view returns(address)

func (*BondingManagerCaller) LeafsAmount

func (_BondingManager *BondingManagerCaller) LeafsAmount(opts *bind.CallOpts) (*big.Int, error)

LeafsAmount is a free data retrieval call binding the contract method 0x33c3a8f3.

Solidity: function leafsAmount() view returns(uint256 amount)

func (*BondingManagerCaller) LocalDomain

func (_BondingManager *BondingManagerCaller) LocalDomain(opts *bind.CallOpts) (uint32, error)

LocalDomain is a free data retrieval call binding the contract method 0x8d3638f4.

Solidity: function localDomain() view returns(uint32)

func (*BondingManagerCaller) Origin

func (_BondingManager *BondingManagerCaller) Origin(opts *bind.CallOpts) (common.Address, error)

Origin is a free data retrieval call binding the contract method 0x938b5f32.

Solidity: function origin() view returns(address)

func (*BondingManagerCaller) Owner

func (_BondingManager *BondingManagerCaller) 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 (*BondingManagerCaller) Summit

func (_BondingManager *BondingManagerCaller) Summit(opts *bind.CallOpts) (common.Address, error)

Summit is a free data retrieval call binding the contract method 0x9fbcb9cb.

Solidity: function summit() view returns(address)

func (*BondingManagerCaller) Version

func (_BondingManager *BondingManagerCaller) Version(opts *bind.CallOpts) (string, error)

Version is a free data retrieval call binding the contract method 0x54fd4d50.

Solidity: function version() view returns(string versionString)

type BondingManagerCallerRaw

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

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

func (*BondingManagerCallerRaw) Call

func (_BondingManager *BondingManagerCallerRaw) 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 BondingManagerCallerSession

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

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

func (*BondingManagerCallerSession) AgentLeaf

func (_BondingManager *BondingManagerCallerSession) AgentLeaf(agent common.Address) ([32]byte, error)

AgentLeaf is a free data retrieval call binding the contract method 0xc99dcb9e.

Solidity: function agentLeaf(address agent) view returns(bytes32 leaf)

func (*BondingManagerCallerSession) AgentRoot

func (_BondingManager *BondingManagerCallerSession) AgentRoot() ([32]byte, error)

AgentRoot is a free data retrieval call binding the contract method 0x36cba43c.

Solidity: function agentRoot() view returns(bytes32)

func (*BondingManagerCallerSession) AgentStatus

func (_BondingManager *BondingManagerCallerSession) AgentStatus(agent common.Address) (AgentStatus, error)

AgentStatus is a free data retrieval call binding the contract method 0x28f3fac9.

Solidity: function agentStatus(address agent) view returns((uint8,uint32,uint32) status)

func (*BondingManagerCallerSession) AllLeafs

func (_BondingManager *BondingManagerCallerSession) AllLeafs() ([][32]byte, error)

AllLeafs is a free data retrieval call binding the contract method 0x12db2ef6.

Solidity: function allLeafs() view returns(bytes32[] leafs)

func (*BondingManagerCallerSession) Destination

func (_BondingManager *BondingManagerCallerSession) Destination() (common.Address, error)

Destination is a free data retrieval call binding the contract method 0xb269681d.

Solidity: function destination() view returns(address)

func (*BondingManagerCallerSession) DisputeStatus

func (_BondingManager *BondingManagerCallerSession) DisputeStatus(agent common.Address) (struct {
	Flag        uint8
	Rival       common.Address
	FraudProver common.Address
	DisputePtr  *big.Int
}, error)

DisputeStatus is a free data retrieval call binding the contract method 0x3463d1b1.

Solidity: function disputeStatus(address agent) view returns(uint8 flag, address rival, address fraudProver, uint256 disputePtr)

func (*BondingManagerCallerSession) GetActiveAgents

func (_BondingManager *BondingManagerCallerSession) GetActiveAgents(domain uint32) ([]common.Address, error)

GetActiveAgents is a free data retrieval call binding the contract method 0xc1c0f4f6.

Solidity: function getActiveAgents(uint32 domain) view returns(address[] agents)

func (*BondingManagerCallerSession) GetAgent

func (_BondingManager *BondingManagerCallerSession) GetAgent(index *big.Int) (struct {
	Agent  common.Address
	Status AgentStatus
}, error)

GetAgent is a free data retrieval call binding the contract method 0x2de5aaf7.

Solidity: function getAgent(uint256 index) view returns(address agent, (uint8,uint32,uint32) status)

func (*BondingManagerCallerSession) GetDispute

func (_BondingManager *BondingManagerCallerSession) GetDispute(index *big.Int) (struct {
	Guard           common.Address
	Notary          common.Address
	SlashedAgent    common.Address
	FraudProver     common.Address
	ReportPayload   []byte
	ReportSignature []byte
}, error)

GetDispute is a free data retrieval call binding the contract method 0xe3a96cbd.

Solidity: function getDispute(uint256 index) view returns(address guard, address notary, address slashedAgent, address fraudProver, bytes reportPayload, bytes reportSignature)

func (*BondingManagerCallerSession) GetDisputesAmount

func (_BondingManager *BondingManagerCallerSession) GetDisputesAmount() (*big.Int, error)

GetDisputesAmount is a free data retrieval call binding the contract method 0x3aaeccc6.

Solidity: function getDisputesAmount() view returns(uint256)

func (*BondingManagerCallerSession) GetLeafs

func (_BondingManager *BondingManagerCallerSession) GetLeafs(indexFrom *big.Int, amount *big.Int) ([][32]byte, error)

GetLeafs is a free data retrieval call binding the contract method 0x33d1b2e8.

Solidity: function getLeafs(uint256 indexFrom, uint256 amount) view returns(bytes32[] leafs)

func (*BondingManagerCallerSession) GetProof

func (_BondingManager *BondingManagerCallerSession) GetProof(agent common.Address) ([][32]byte, error)

GetProof is a free data retrieval call binding the contract method 0x3eea79d1.

Solidity: function getProof(address agent) view returns(bytes32[] proof)

func (*BondingManagerCallerSession) Inbox

func (_BondingManager *BondingManagerCallerSession) Inbox() (common.Address, error)

Inbox is a free data retrieval call binding the contract method 0xfb0e722b.

Solidity: function inbox() view returns(address)

func (*BondingManagerCallerSession) LeafsAmount

func (_BondingManager *BondingManagerCallerSession) LeafsAmount() (*big.Int, error)

LeafsAmount is a free data retrieval call binding the contract method 0x33c3a8f3.

Solidity: function leafsAmount() view returns(uint256 amount)

func (*BondingManagerCallerSession) LocalDomain

func (_BondingManager *BondingManagerCallerSession) LocalDomain() (uint32, error)

LocalDomain is a free data retrieval call binding the contract method 0x8d3638f4.

Solidity: function localDomain() view returns(uint32)

func (*BondingManagerCallerSession) Origin

func (_BondingManager *BondingManagerCallerSession) Origin() (common.Address, error)

Origin is a free data retrieval call binding the contract method 0x938b5f32.

Solidity: function origin() view returns(address)

func (*BondingManagerCallerSession) Owner

func (_BondingManager *BondingManagerCallerSession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*BondingManagerCallerSession) Summit

func (_BondingManager *BondingManagerCallerSession) Summit() (common.Address, error)

Summit is a free data retrieval call binding the contract method 0x9fbcb9cb.

Solidity: function summit() view returns(address)

func (*BondingManagerCallerSession) Version

func (_BondingManager *BondingManagerCallerSession) Version() (string, error)

Version is a free data retrieval call binding the contract method 0x54fd4d50.

Solidity: function version() view returns(string versionString)

type BondingManagerDisputeOpened

type BondingManagerDisputeOpened struct {
	DisputeIndex *big.Int
	GuardIndex   uint32
	NotaryIndex  uint32
	Raw          types.Log // Blockchain specific contextual infos
}

BondingManagerDisputeOpened represents a DisputeOpened event raised by the BondingManager contract.

type BondingManagerDisputeOpenedIterator

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

BondingManagerDisputeOpenedIterator is returned from FilterDisputeOpened and is used to iterate over the raw logs and unpacked data for DisputeOpened events raised by the BondingManager contract.

func (*BondingManagerDisputeOpenedIterator) Close

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

func (*BondingManagerDisputeOpenedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*BondingManagerDisputeOpenedIterator) 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 BondingManagerDisputeResolved

type BondingManagerDisputeResolved struct {
	DisputeIndex *big.Int
	SlashedIndex uint32
	RivalIndex   uint32
	FraudProver  common.Address
	Raw          types.Log // Blockchain specific contextual infos
}

BondingManagerDisputeResolved represents a DisputeResolved event raised by the BondingManager contract.

type BondingManagerDisputeResolvedIterator

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

BondingManagerDisputeResolvedIterator is returned from FilterDisputeResolved and is used to iterate over the raw logs and unpacked data for DisputeResolved events raised by the BondingManager contract.

func (*BondingManagerDisputeResolvedIterator) Close

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

func (*BondingManagerDisputeResolvedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*BondingManagerDisputeResolvedIterator) 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 BondingManagerFilterer

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

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

func NewBondingManagerFilterer

func NewBondingManagerFilterer(address common.Address, filterer bind.ContractFilterer) (*BondingManagerFilterer, error)

NewBondingManagerFilterer creates a new log filterer instance of BondingManager, bound to a specific deployed contract.

func (*BondingManagerFilterer) FilterDisputeOpened

func (_BondingManager *BondingManagerFilterer) FilterDisputeOpened(opts *bind.FilterOpts) (*BondingManagerDisputeOpenedIterator, error)

FilterDisputeOpened is a free log retrieval operation binding the contract event 0xd0672fae056abe2bf0637742527d49add67fdb68192a6c6f6bf86eac19fe0530.

Solidity: event DisputeOpened(uint256 disputeIndex, uint32 guardIndex, uint32 notaryIndex)

func (*BondingManagerFilterer) FilterDisputeResolved

func (_BondingManager *BondingManagerFilterer) FilterDisputeResolved(opts *bind.FilterOpts) (*BondingManagerDisputeResolvedIterator, error)

FilterDisputeResolved is a free log retrieval operation binding the contract event 0xb4cad5624e1d1c6c622ec70516ee582fe3f6519440c5b47e5165141edc9c54cf.

Solidity: event DisputeResolved(uint256 disputeIndex, uint32 slashedIndex, uint32 rivalIndex, address fraudProver)

func (*BondingManagerFilterer) FilterInitialized

func (_BondingManager *BondingManagerFilterer) FilterInitialized(opts *bind.FilterOpts) (*BondingManagerInitializedIterator, error)

FilterInitialized is a free log retrieval operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.

Solidity: event Initialized(uint8 version)

func (*BondingManagerFilterer) FilterOwnershipTransferred

func (_BondingManager *BondingManagerFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*BondingManagerOwnershipTransferredIterator, error)

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

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

func (*BondingManagerFilterer) FilterRootUpdated

func (_BondingManager *BondingManagerFilterer) FilterRootUpdated(opts *bind.FilterOpts) (*BondingManagerRootUpdatedIterator, error)

FilterRootUpdated is a free log retrieval operation binding the contract event 0x2cbc14f49c068133583f7cb530018af451c87c1cf1327cf2a4ff4698c4730aa4.

Solidity: event RootUpdated(bytes32 newRoot)

func (*BondingManagerFilterer) FilterStatusUpdated

func (_BondingManager *BondingManagerFilterer) FilterStatusUpdated(opts *bind.FilterOpts, domain []uint32, agent []common.Address) (*BondingManagerStatusUpdatedIterator, error)

FilterStatusUpdated is a free log retrieval operation binding the contract event 0x8f9b8b0f4f062833bec85ea9a8465e4a1207b4be6eb565bbd0ae8b913588d04e.

Solidity: event StatusUpdated(uint8 flag, uint32 indexed domain, address indexed agent)

func (*BondingManagerFilterer) ParseDisputeOpened

func (_BondingManager *BondingManagerFilterer) ParseDisputeOpened(log types.Log) (*BondingManagerDisputeOpened, error)

ParseDisputeOpened is a log parse operation binding the contract event 0xd0672fae056abe2bf0637742527d49add67fdb68192a6c6f6bf86eac19fe0530.

Solidity: event DisputeOpened(uint256 disputeIndex, uint32 guardIndex, uint32 notaryIndex)

func (*BondingManagerFilterer) ParseDisputeResolved

func (_BondingManager *BondingManagerFilterer) ParseDisputeResolved(log types.Log) (*BondingManagerDisputeResolved, error)

ParseDisputeResolved is a log parse operation binding the contract event 0xb4cad5624e1d1c6c622ec70516ee582fe3f6519440c5b47e5165141edc9c54cf.

Solidity: event DisputeResolved(uint256 disputeIndex, uint32 slashedIndex, uint32 rivalIndex, address fraudProver)

func (*BondingManagerFilterer) ParseInitialized

func (_BondingManager *BondingManagerFilterer) ParseInitialized(log types.Log) (*BondingManagerInitialized, error)

ParseInitialized is a log parse operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.

Solidity: event Initialized(uint8 version)

func (*BondingManagerFilterer) ParseOwnershipTransferred

func (_BondingManager *BondingManagerFilterer) ParseOwnershipTransferred(log types.Log) (*BondingManagerOwnershipTransferred, error)

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

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

func (*BondingManagerFilterer) ParseRootUpdated

func (_BondingManager *BondingManagerFilterer) ParseRootUpdated(log types.Log) (*BondingManagerRootUpdated, error)

ParseRootUpdated is a log parse operation binding the contract event 0x2cbc14f49c068133583f7cb530018af451c87c1cf1327cf2a4ff4698c4730aa4.

Solidity: event RootUpdated(bytes32 newRoot)

func (*BondingManagerFilterer) ParseStatusUpdated

func (_BondingManager *BondingManagerFilterer) ParseStatusUpdated(log types.Log) (*BondingManagerStatusUpdated, error)

ParseStatusUpdated is a log parse operation binding the contract event 0x8f9b8b0f4f062833bec85ea9a8465e4a1207b4be6eb565bbd0ae8b913588d04e.

Solidity: event StatusUpdated(uint8 flag, uint32 indexed domain, address indexed agent)

func (*BondingManagerFilterer) WatchDisputeOpened

func (_BondingManager *BondingManagerFilterer) WatchDisputeOpened(opts *bind.WatchOpts, sink chan<- *BondingManagerDisputeOpened) (event.Subscription, error)

WatchDisputeOpened is a free log subscription operation binding the contract event 0xd0672fae056abe2bf0637742527d49add67fdb68192a6c6f6bf86eac19fe0530.

Solidity: event DisputeOpened(uint256 disputeIndex, uint32 guardIndex, uint32 notaryIndex)

func (*BondingManagerFilterer) WatchDisputeResolved

func (_BondingManager *BondingManagerFilterer) WatchDisputeResolved(opts *bind.WatchOpts, sink chan<- *BondingManagerDisputeResolved) (event.Subscription, error)

WatchDisputeResolved is a free log subscription operation binding the contract event 0xb4cad5624e1d1c6c622ec70516ee582fe3f6519440c5b47e5165141edc9c54cf.

Solidity: event DisputeResolved(uint256 disputeIndex, uint32 slashedIndex, uint32 rivalIndex, address fraudProver)

func (*BondingManagerFilterer) WatchInitialized

func (_BondingManager *BondingManagerFilterer) WatchInitialized(opts *bind.WatchOpts, sink chan<- *BondingManagerInitialized) (event.Subscription, error)

WatchInitialized is a free log subscription operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.

Solidity: event Initialized(uint8 version)

func (*BondingManagerFilterer) WatchOwnershipTransferred

func (_BondingManager *BondingManagerFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *BondingManagerOwnershipTransferred, 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 (*BondingManagerFilterer) WatchRootUpdated

func (_BondingManager *BondingManagerFilterer) WatchRootUpdated(opts *bind.WatchOpts, sink chan<- *BondingManagerRootUpdated) (event.Subscription, error)

WatchRootUpdated is a free log subscription operation binding the contract event 0x2cbc14f49c068133583f7cb530018af451c87c1cf1327cf2a4ff4698c4730aa4.

Solidity: event RootUpdated(bytes32 newRoot)

func (*BondingManagerFilterer) WatchStatusUpdated

func (_BondingManager *BondingManagerFilterer) WatchStatusUpdated(opts *bind.WatchOpts, sink chan<- *BondingManagerStatusUpdated, domain []uint32, agent []common.Address) (event.Subscription, error)

WatchStatusUpdated is a free log subscription operation binding the contract event 0x8f9b8b0f4f062833bec85ea9a8465e4a1207b4be6eb565bbd0ae8b913588d04e.

Solidity: event StatusUpdated(uint8 flag, uint32 indexed domain, address indexed agent)

type BondingManagerHarness

type BondingManagerHarness struct {
	BondingManagerHarnessCaller     // Read-only binding to the contract
	BondingManagerHarnessTransactor // Write-only binding to the contract
	BondingManagerHarnessFilterer   // Log filterer for contract events
}

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

func DeployBondingManagerHarness

func DeployBondingManagerHarness(auth *bind.TransactOpts, backend bind.ContractBackend, domain uint32) (common.Address, *types.Transaction, *BondingManagerHarness, error)

DeployBondingManagerHarness deploys a new Ethereum contract, binding an instance of BondingManagerHarness to it.

func NewBondingManagerHarness

func NewBondingManagerHarness(address common.Address, backend bind.ContractBackend) (*BondingManagerHarness, error)

NewBondingManagerHarness creates a new instance of BondingManagerHarness, bound to a specific deployed contract.

type BondingManagerHarnessCaller

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

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

func NewBondingManagerHarnessCaller

func NewBondingManagerHarnessCaller(address common.Address, caller bind.ContractCaller) (*BondingManagerHarnessCaller, error)

NewBondingManagerHarnessCaller creates a new read-only instance of BondingManagerHarness, bound to a specific deployed contract.

func (*BondingManagerHarnessCaller) AgentLeaf

func (_BondingManagerHarness *BondingManagerHarnessCaller) AgentLeaf(opts *bind.CallOpts, agent common.Address) ([32]byte, error)

AgentLeaf is a free data retrieval call binding the contract method 0xc99dcb9e.

Solidity: function agentLeaf(address agent) view returns(bytes32 leaf)

func (*BondingManagerHarnessCaller) AgentRoot

func (_BondingManagerHarness *BondingManagerHarnessCaller) AgentRoot(opts *bind.CallOpts) ([32]byte, error)

AgentRoot is a free data retrieval call binding the contract method 0x36cba43c.

Solidity: function agentRoot() view returns(bytes32)

func (*BondingManagerHarnessCaller) AgentStatus

func (_BondingManagerHarness *BondingManagerHarnessCaller) AgentStatus(opts *bind.CallOpts, agent common.Address) (AgentStatus, error)

AgentStatus is a free data retrieval call binding the contract method 0x28f3fac9.

Solidity: function agentStatus(address agent) view returns((uint8,uint32,uint32) status)

func (*BondingManagerHarnessCaller) AllLeafs

func (_BondingManagerHarness *BondingManagerHarnessCaller) AllLeafs(opts *bind.CallOpts) ([][32]byte, error)

AllLeafs is a free data retrieval call binding the contract method 0x12db2ef6.

Solidity: function allLeafs() view returns(bytes32[] leafs)

func (*BondingManagerHarnessCaller) Destination

func (_BondingManagerHarness *BondingManagerHarnessCaller) Destination(opts *bind.CallOpts) (common.Address, error)

Destination is a free data retrieval call binding the contract method 0xb269681d.

Solidity: function destination() view returns(address)

func (*BondingManagerHarnessCaller) DisputeStatus

func (_BondingManagerHarness *BondingManagerHarnessCaller) DisputeStatus(opts *bind.CallOpts, agent common.Address) (struct {
	Flag        uint8
	Rival       common.Address
	FraudProver common.Address
	DisputePtr  *big.Int
}, error)

DisputeStatus is a free data retrieval call binding the contract method 0x3463d1b1.

Solidity: function disputeStatus(address agent) view returns(uint8 flag, address rival, address fraudProver, uint256 disputePtr)

func (*BondingManagerHarnessCaller) GetActiveAgents

func (_BondingManagerHarness *BondingManagerHarnessCaller) GetActiveAgents(opts *bind.CallOpts, domain uint32) ([]common.Address, error)

GetActiveAgents is a free data retrieval call binding the contract method 0xc1c0f4f6.

Solidity: function getActiveAgents(uint32 domain) view returns(address[] agents)

func (*BondingManagerHarnessCaller) GetAgent

func (_BondingManagerHarness *BondingManagerHarnessCaller) GetAgent(opts *bind.CallOpts, index *big.Int) (struct {
	Agent  common.Address
	Status AgentStatus
}, error)

GetAgent is a free data retrieval call binding the contract method 0x2de5aaf7.

Solidity: function getAgent(uint256 index) view returns(address agent, (uint8,uint32,uint32) status)

func (*BondingManagerHarnessCaller) GetDispute

func (_BondingManagerHarness *BondingManagerHarnessCaller) GetDispute(opts *bind.CallOpts, index *big.Int) (struct {
	Guard           common.Address
	Notary          common.Address
	SlashedAgent    common.Address
	FraudProver     common.Address
	ReportPayload   []byte
	ReportSignature []byte
}, error)

GetDispute is a free data retrieval call binding the contract method 0xe3a96cbd.

Solidity: function getDispute(uint256 index) view returns(address guard, address notary, address slashedAgent, address fraudProver, bytes reportPayload, bytes reportSignature)

func (*BondingManagerHarnessCaller) GetDisputesAmount

func (_BondingManagerHarness *BondingManagerHarnessCaller) GetDisputesAmount(opts *bind.CallOpts) (*big.Int, error)

GetDisputesAmount is a free data retrieval call binding the contract method 0x3aaeccc6.

Solidity: function getDisputesAmount() view returns(uint256)

func (*BondingManagerHarnessCaller) GetLeafs

func (_BondingManagerHarness *BondingManagerHarnessCaller) GetLeafs(opts *bind.CallOpts, indexFrom *big.Int, amount *big.Int) ([][32]byte, error)

GetLeafs is a free data retrieval call binding the contract method 0x33d1b2e8.

Solidity: function getLeafs(uint256 indexFrom, uint256 amount) view returns(bytes32[] leafs)

func (*BondingManagerHarnessCaller) GetProof

func (_BondingManagerHarness *BondingManagerHarnessCaller) GetProof(opts *bind.CallOpts, agent common.Address) ([][32]byte, error)

GetProof is a free data retrieval call binding the contract method 0x3eea79d1.

Solidity: function getProof(address agent) view returns(bytes32[] proof)

func (*BondingManagerHarnessCaller) Inbox

func (_BondingManagerHarness *BondingManagerHarnessCaller) Inbox(opts *bind.CallOpts) (common.Address, error)

Inbox is a free data retrieval call binding the contract method 0xfb0e722b.

Solidity: function inbox() view returns(address)

func (*BondingManagerHarnessCaller) LeafsAmount

func (_BondingManagerHarness *BondingManagerHarnessCaller) LeafsAmount(opts *bind.CallOpts) (*big.Int, error)

LeafsAmount is a free data retrieval call binding the contract method 0x33c3a8f3.

Solidity: function leafsAmount() view returns(uint256 amount)

func (*BondingManagerHarnessCaller) LocalDomain

func (_BondingManagerHarness *BondingManagerHarnessCaller) LocalDomain(opts *bind.CallOpts) (uint32, error)

LocalDomain is a free data retrieval call binding the contract method 0x8d3638f4.

Solidity: function localDomain() view returns(uint32)

func (*BondingManagerHarnessCaller) Origin

func (_BondingManagerHarness *BondingManagerHarnessCaller) Origin(opts *bind.CallOpts) (common.Address, error)

Origin is a free data retrieval call binding the contract method 0x938b5f32.

Solidity: function origin() view returns(address)

func (*BondingManagerHarnessCaller) Owner

func (_BondingManagerHarness *BondingManagerHarnessCaller) 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 (*BondingManagerHarnessCaller) RemoteMockFunc

func (_BondingManagerHarness *BondingManagerHarnessCaller) RemoteMockFunc(opts *bind.CallOpts, arg0 uint32, arg1 *big.Int, arg2 [32]byte) ([4]byte, error)

RemoteMockFunc is a free data retrieval call binding the contract method 0xa149352c.

Solidity: function remoteMockFunc(uint32 , uint256 , bytes32 ) view returns(bytes4)

func (*BondingManagerHarnessCaller) SensitiveMockFunc

func (_BondingManagerHarness *BondingManagerHarnessCaller) SensitiveMockFunc(opts *bind.CallOpts, arg0 common.Address, arg1 uint8, data [32]byte) ([32]byte, error)

SensitiveMockFunc is a free data retrieval call binding the contract method 0x127a2c9d.

Solidity: function sensitiveMockFunc(address , uint8 , bytes32 data) view returns(bytes32)

func (*BondingManagerHarnessCaller) SensitiveMockFuncOver32Bytes

func (_BondingManagerHarness *BondingManagerHarnessCaller) SensitiveMockFuncOver32Bytes(opts *bind.CallOpts, arg0 uint16, arg1 [4]byte, data [32]byte) ([4]byte, [32]byte, error)

SensitiveMockFuncOver32Bytes is a free data retrieval call binding the contract method 0x0e6bfcd5.

Solidity: function sensitiveMockFuncOver32Bytes(uint16 , bytes4 , bytes32 data) view returns(bytes4, bytes32)

func (*BondingManagerHarnessCaller) SensitiveMockFuncVoid

func (_BondingManagerHarness *BondingManagerHarnessCaller) SensitiveMockFuncVoid(opts *bind.CallOpts, arg0 uint16, arg1 [4]byte, arg2 [32]byte) error

SensitiveMockFuncVoid is a free data retrieval call binding the contract method 0xc9f1a03f.

Solidity: function sensitiveMockFuncVoid(uint16 , bytes4 , bytes32 ) view returns()

func (*BondingManagerHarnessCaller) Summit

func (_BondingManagerHarness *BondingManagerHarnessCaller) Summit(opts *bind.CallOpts) (common.Address, error)

Summit is a free data retrieval call binding the contract method 0x9fbcb9cb.

Solidity: function summit() view returns(address)

func (*BondingManagerHarnessCaller) Version

func (_BondingManagerHarness *BondingManagerHarnessCaller) Version(opts *bind.CallOpts) (string, error)

Version is a free data retrieval call binding the contract method 0x54fd4d50.

Solidity: function version() view returns(string versionString)

type BondingManagerHarnessCallerRaw

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

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

func (*BondingManagerHarnessCallerRaw) Call

func (_BondingManagerHarness *BondingManagerHarnessCallerRaw) 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 BondingManagerHarnessCallerSession

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

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

func (*BondingManagerHarnessCallerSession) AgentLeaf

func (_BondingManagerHarness *BondingManagerHarnessCallerSession) AgentLeaf(agent common.Address) ([32]byte, error)

AgentLeaf is a free data retrieval call binding the contract method 0xc99dcb9e.

Solidity: function agentLeaf(address agent) view returns(bytes32 leaf)

func (*BondingManagerHarnessCallerSession) AgentRoot

func (_BondingManagerHarness *BondingManagerHarnessCallerSession) AgentRoot() ([32]byte, error)

AgentRoot is a free data retrieval call binding the contract method 0x36cba43c.

Solidity: function agentRoot() view returns(bytes32)

func (*BondingManagerHarnessCallerSession) AgentStatus

func (_BondingManagerHarness *BondingManagerHarnessCallerSession) AgentStatus(agent common.Address) (AgentStatus, error)

AgentStatus is a free data retrieval call binding the contract method 0x28f3fac9.

Solidity: function agentStatus(address agent) view returns((uint8,uint32,uint32) status)

func (*BondingManagerHarnessCallerSession) AllLeafs

func (_BondingManagerHarness *BondingManagerHarnessCallerSession) AllLeafs() ([][32]byte, error)

AllLeafs is a free data retrieval call binding the contract method 0x12db2ef6.

Solidity: function allLeafs() view returns(bytes32[] leafs)

func (*BondingManagerHarnessCallerSession) Destination

func (_BondingManagerHarness *BondingManagerHarnessCallerSession) Destination() (common.Address, error)

Destination is a free data retrieval call binding the contract method 0xb269681d.

Solidity: function destination() view returns(address)

func (*BondingManagerHarnessCallerSession) DisputeStatus

func (_BondingManagerHarness *BondingManagerHarnessCallerSession) DisputeStatus(agent common.Address) (struct {
	Flag        uint8
	Rival       common.Address
	FraudProver common.Address
	DisputePtr  *big.Int
}, error)

DisputeStatus is a free data retrieval call binding the contract method 0x3463d1b1.

Solidity: function disputeStatus(address agent) view returns(uint8 flag, address rival, address fraudProver, uint256 disputePtr)

func (*BondingManagerHarnessCallerSession) GetActiveAgents

func (_BondingManagerHarness *BondingManagerHarnessCallerSession) GetActiveAgents(domain uint32) ([]common.Address, error)

GetActiveAgents is a free data retrieval call binding the contract method 0xc1c0f4f6.

Solidity: function getActiveAgents(uint32 domain) view returns(address[] agents)

func (*BondingManagerHarnessCallerSession) GetAgent

func (_BondingManagerHarness *BondingManagerHarnessCallerSession) GetAgent(index *big.Int) (struct {
	Agent  common.Address
	Status AgentStatus
}, error)

GetAgent is a free data retrieval call binding the contract method 0x2de5aaf7.

Solidity: function getAgent(uint256 index) view returns(address agent, (uint8,uint32,uint32) status)

func (*BondingManagerHarnessCallerSession) GetDispute

func (_BondingManagerHarness *BondingManagerHarnessCallerSession) GetDispute(index *big.Int) (struct {
	Guard           common.Address
	Notary          common.Address
	SlashedAgent    common.Address
	FraudProver     common.Address
	ReportPayload   []byte
	ReportSignature []byte
}, error)

GetDispute is a free data retrieval call binding the contract method 0xe3a96cbd.

Solidity: function getDispute(uint256 index) view returns(address guard, address notary, address slashedAgent, address fraudProver, bytes reportPayload, bytes reportSignature)

func (*BondingManagerHarnessCallerSession) GetDisputesAmount

func (_BondingManagerHarness *BondingManagerHarnessCallerSession) GetDisputesAmount() (*big.Int, error)

GetDisputesAmount is a free data retrieval call binding the contract method 0x3aaeccc6.

Solidity: function getDisputesAmount() view returns(uint256)

func (*BondingManagerHarnessCallerSession) GetLeafs

func (_BondingManagerHarness *BondingManagerHarnessCallerSession) GetLeafs(indexFrom *big.Int, amount *big.Int) ([][32]byte, error)

GetLeafs is a free data retrieval call binding the contract method 0x33d1b2e8.

Solidity: function getLeafs(uint256 indexFrom, uint256 amount) view returns(bytes32[] leafs)

func (*BondingManagerHarnessCallerSession) GetProof

func (_BondingManagerHarness *BondingManagerHarnessCallerSession) GetProof(agent common.Address) ([][32]byte, error)

GetProof is a free data retrieval call binding the contract method 0x3eea79d1.

Solidity: function getProof(address agent) view returns(bytes32[] proof)

func (*BondingManagerHarnessCallerSession) Inbox

func (_BondingManagerHarness *BondingManagerHarnessCallerSession) Inbox() (common.Address, error)

Inbox is a free data retrieval call binding the contract method 0xfb0e722b.

Solidity: function inbox() view returns(address)

func (*BondingManagerHarnessCallerSession) LeafsAmount

func (_BondingManagerHarness *BondingManagerHarnessCallerSession) LeafsAmount() (*big.Int, error)

LeafsAmount is a free data retrieval call binding the contract method 0x33c3a8f3.

Solidity: function leafsAmount() view returns(uint256 amount)

func (*BondingManagerHarnessCallerSession) LocalDomain

func (_BondingManagerHarness *BondingManagerHarnessCallerSession) LocalDomain() (uint32, error)

LocalDomain is a free data retrieval call binding the contract method 0x8d3638f4.

Solidity: function localDomain() view returns(uint32)

func (*BondingManagerHarnessCallerSession) Origin

func (_BondingManagerHarness *BondingManagerHarnessCallerSession) Origin() (common.Address, error)

Origin is a free data retrieval call binding the contract method 0x938b5f32.

Solidity: function origin() view returns(address)

func (*BondingManagerHarnessCallerSession) Owner

func (_BondingManagerHarness *BondingManagerHarnessCallerSession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*BondingManagerHarnessCallerSession) RemoteMockFunc

func (_BondingManagerHarness *BondingManagerHarnessCallerSession) RemoteMockFunc(arg0 uint32, arg1 *big.Int, arg2 [32]byte) ([4]byte, error)

RemoteMockFunc is a free data retrieval call binding the contract method 0xa149352c.

Solidity: function remoteMockFunc(uint32 , uint256 , bytes32 ) view returns(bytes4)

func (*BondingManagerHarnessCallerSession) SensitiveMockFunc

func (_BondingManagerHarness *BondingManagerHarnessCallerSession) SensitiveMockFunc(arg0 common.Address, arg1 uint8, data [32]byte) ([32]byte, error)

SensitiveMockFunc is a free data retrieval call binding the contract method 0x127a2c9d.

Solidity: function sensitiveMockFunc(address , uint8 , bytes32 data) view returns(bytes32)

func (*BondingManagerHarnessCallerSession) SensitiveMockFuncOver32Bytes

func (_BondingManagerHarness *BondingManagerHarnessCallerSession) SensitiveMockFuncOver32Bytes(arg0 uint16, arg1 [4]byte, data [32]byte) ([4]byte, [32]byte, error)

SensitiveMockFuncOver32Bytes is a free data retrieval call binding the contract method 0x0e6bfcd5.

Solidity: function sensitiveMockFuncOver32Bytes(uint16 , bytes4 , bytes32 data) view returns(bytes4, bytes32)

func (*BondingManagerHarnessCallerSession) SensitiveMockFuncVoid

func (_BondingManagerHarness *BondingManagerHarnessCallerSession) SensitiveMockFuncVoid(arg0 uint16, arg1 [4]byte, arg2 [32]byte) error

SensitiveMockFuncVoid is a free data retrieval call binding the contract method 0xc9f1a03f.

Solidity: function sensitiveMockFuncVoid(uint16 , bytes4 , bytes32 ) view returns()

func (*BondingManagerHarnessCallerSession) Summit

func (_BondingManagerHarness *BondingManagerHarnessCallerSession) Summit() (common.Address, error)

Summit is a free data retrieval call binding the contract method 0x9fbcb9cb.

Solidity: function summit() view returns(address)

func (*BondingManagerHarnessCallerSession) Version

func (_BondingManagerHarness *BondingManagerHarnessCallerSession) Version() (string, error)

Version is a free data retrieval call binding the contract method 0x54fd4d50.

Solidity: function version() view returns(string versionString)

type BondingManagerHarnessDisputeOpened

type BondingManagerHarnessDisputeOpened struct {
	DisputeIndex *big.Int
	GuardIndex   uint32
	NotaryIndex  uint32
	Raw          types.Log // Blockchain specific contextual infos
}

BondingManagerHarnessDisputeOpened represents a DisputeOpened event raised by the BondingManagerHarness contract.

type BondingManagerHarnessDisputeOpenedIterator

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

BondingManagerHarnessDisputeOpenedIterator is returned from FilterDisputeOpened and is used to iterate over the raw logs and unpacked data for DisputeOpened events raised by the BondingManagerHarness contract.

func (*BondingManagerHarnessDisputeOpenedIterator) Close

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

func (*BondingManagerHarnessDisputeOpenedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*BondingManagerHarnessDisputeOpenedIterator) 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 BondingManagerHarnessDisputeResolved

type BondingManagerHarnessDisputeResolved struct {
	DisputeIndex *big.Int
	SlashedIndex uint32
	RivalIndex   uint32
	FraudProver  common.Address
	Raw          types.Log // Blockchain specific contextual infos
}

BondingManagerHarnessDisputeResolved represents a DisputeResolved event raised by the BondingManagerHarness contract.

type BondingManagerHarnessDisputeResolvedIterator

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

BondingManagerHarnessDisputeResolvedIterator is returned from FilterDisputeResolved and is used to iterate over the raw logs and unpacked data for DisputeResolved events raised by the BondingManagerHarness contract.

func (*BondingManagerHarnessDisputeResolvedIterator) Close

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

func (*BondingManagerHarnessDisputeResolvedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*BondingManagerHarnessDisputeResolvedIterator) 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 BondingManagerHarnessFilterer

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

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

func NewBondingManagerHarnessFilterer

func NewBondingManagerHarnessFilterer(address common.Address, filterer bind.ContractFilterer) (*BondingManagerHarnessFilterer, error)

NewBondingManagerHarnessFilterer creates a new log filterer instance of BondingManagerHarness, bound to a specific deployed contract.

func (*BondingManagerHarnessFilterer) FilterDisputeOpened

func (_BondingManagerHarness *BondingManagerHarnessFilterer) FilterDisputeOpened(opts *bind.FilterOpts) (*BondingManagerHarnessDisputeOpenedIterator, error)

FilterDisputeOpened is a free log retrieval operation binding the contract event 0xd0672fae056abe2bf0637742527d49add67fdb68192a6c6f6bf86eac19fe0530.

Solidity: event DisputeOpened(uint256 disputeIndex, uint32 guardIndex, uint32 notaryIndex)

func (*BondingManagerHarnessFilterer) FilterDisputeResolved

func (_BondingManagerHarness *BondingManagerHarnessFilterer) FilterDisputeResolved(opts *bind.FilterOpts) (*BondingManagerHarnessDisputeResolvedIterator, error)

FilterDisputeResolved is a free log retrieval operation binding the contract event 0xb4cad5624e1d1c6c622ec70516ee582fe3f6519440c5b47e5165141edc9c54cf.

Solidity: event DisputeResolved(uint256 disputeIndex, uint32 slashedIndex, uint32 rivalIndex, address fraudProver)

func (*BondingManagerHarnessFilterer) FilterInitialized

func (_BondingManagerHarness *BondingManagerHarnessFilterer) FilterInitialized(opts *bind.FilterOpts) (*BondingManagerHarnessInitializedIterator, error)

FilterInitialized is a free log retrieval operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.

Solidity: event Initialized(uint8 version)

func (*BondingManagerHarnessFilterer) FilterOwnershipTransferred

func (_BondingManagerHarness *BondingManagerHarnessFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*BondingManagerHarnessOwnershipTransferredIterator, error)

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

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

func (*BondingManagerHarnessFilterer) FilterRootUpdated

func (_BondingManagerHarness *BondingManagerHarnessFilterer) FilterRootUpdated(opts *bind.FilterOpts) (*BondingManagerHarnessRootUpdatedIterator, error)

FilterRootUpdated is a free log retrieval operation binding the contract event 0x2cbc14f49c068133583f7cb530018af451c87c1cf1327cf2a4ff4698c4730aa4.

Solidity: event RootUpdated(bytes32 newRoot)

func (*BondingManagerHarnessFilterer) FilterStatusUpdated

func (_BondingManagerHarness *BondingManagerHarnessFilterer) FilterStatusUpdated(opts *bind.FilterOpts, domain []uint32, agent []common.Address) (*BondingManagerHarnessStatusUpdatedIterator, error)

FilterStatusUpdated is a free log retrieval operation binding the contract event 0x8f9b8b0f4f062833bec85ea9a8465e4a1207b4be6eb565bbd0ae8b913588d04e.

Solidity: event StatusUpdated(uint8 flag, uint32 indexed domain, address indexed agent)

func (*BondingManagerHarnessFilterer) ParseDisputeOpened

func (_BondingManagerHarness *BondingManagerHarnessFilterer) ParseDisputeOpened(log types.Log) (*BondingManagerHarnessDisputeOpened, error)

ParseDisputeOpened is a log parse operation binding the contract event 0xd0672fae056abe2bf0637742527d49add67fdb68192a6c6f6bf86eac19fe0530.

Solidity: event DisputeOpened(uint256 disputeIndex, uint32 guardIndex, uint32 notaryIndex)

func (*BondingManagerHarnessFilterer) ParseDisputeResolved

func (_BondingManagerHarness *BondingManagerHarnessFilterer) ParseDisputeResolved(log types.Log) (*BondingManagerHarnessDisputeResolved, error)

ParseDisputeResolved is a log parse operation binding the contract event 0xb4cad5624e1d1c6c622ec70516ee582fe3f6519440c5b47e5165141edc9c54cf.

Solidity: event DisputeResolved(uint256 disputeIndex, uint32 slashedIndex, uint32 rivalIndex, address fraudProver)

func (*BondingManagerHarnessFilterer) ParseInitialized

func (_BondingManagerHarness *BondingManagerHarnessFilterer) ParseInitialized(log types.Log) (*BondingManagerHarnessInitialized, error)

ParseInitialized is a log parse operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.

Solidity: event Initialized(uint8 version)

func (*BondingManagerHarnessFilterer) ParseOwnershipTransferred

func (_BondingManagerHarness *BondingManagerHarnessFilterer) ParseOwnershipTransferred(log types.Log) (*BondingManagerHarnessOwnershipTransferred, error)

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

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

func (*BondingManagerHarnessFilterer) ParseRootUpdated

func (_BondingManagerHarness *BondingManagerHarnessFilterer) ParseRootUpdated(log types.Log) (*BondingManagerHarnessRootUpdated, error)

ParseRootUpdated is a log parse operation binding the contract event 0x2cbc14f49c068133583f7cb530018af451c87c1cf1327cf2a4ff4698c4730aa4.

Solidity: event RootUpdated(bytes32 newRoot)

func (*BondingManagerHarnessFilterer) ParseStatusUpdated

func (_BondingManagerHarness *BondingManagerHarnessFilterer) ParseStatusUpdated(log types.Log) (*BondingManagerHarnessStatusUpdated, error)

ParseStatusUpdated is a log parse operation binding the contract event 0x8f9b8b0f4f062833bec85ea9a8465e4a1207b4be6eb565bbd0ae8b913588d04e.

Solidity: event StatusUpdated(uint8 flag, uint32 indexed domain, address indexed agent)

func (*BondingManagerHarnessFilterer) WatchDisputeOpened

func (_BondingManagerHarness *BondingManagerHarnessFilterer) WatchDisputeOpened(opts *bind.WatchOpts, sink chan<- *BondingManagerHarnessDisputeOpened) (event.Subscription, error)

WatchDisputeOpened is a free log subscription operation binding the contract event 0xd0672fae056abe2bf0637742527d49add67fdb68192a6c6f6bf86eac19fe0530.

Solidity: event DisputeOpened(uint256 disputeIndex, uint32 guardIndex, uint32 notaryIndex)

func (*BondingManagerHarnessFilterer) WatchDisputeResolved

func (_BondingManagerHarness *BondingManagerHarnessFilterer) WatchDisputeResolved(opts *bind.WatchOpts, sink chan<- *BondingManagerHarnessDisputeResolved) (event.Subscription, error)

WatchDisputeResolved is a free log subscription operation binding the contract event 0xb4cad5624e1d1c6c622ec70516ee582fe3f6519440c5b47e5165141edc9c54cf.

Solidity: event DisputeResolved(uint256 disputeIndex, uint32 slashedIndex, uint32 rivalIndex, address fraudProver)

func (*BondingManagerHarnessFilterer) WatchInitialized

func (_BondingManagerHarness *BondingManagerHarnessFilterer) WatchInitialized(opts *bind.WatchOpts, sink chan<- *BondingManagerHarnessInitialized) (event.Subscription, error)

WatchInitialized is a free log subscription operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.

Solidity: event Initialized(uint8 version)

func (*BondingManagerHarnessFilterer) WatchOwnershipTransferred

func (_BondingManagerHarness *BondingManagerHarnessFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *BondingManagerHarnessOwnershipTransferred, 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 (*BondingManagerHarnessFilterer) WatchRootUpdated

func (_BondingManagerHarness *BondingManagerHarnessFilterer) WatchRootUpdated(opts *bind.WatchOpts, sink chan<- *BondingManagerHarnessRootUpdated) (event.Subscription, error)

WatchRootUpdated is a free log subscription operation binding the contract event 0x2cbc14f49c068133583f7cb530018af451c87c1cf1327cf2a4ff4698c4730aa4.

Solidity: event RootUpdated(bytes32 newRoot)

func (*BondingManagerHarnessFilterer) WatchStatusUpdated

func (_BondingManagerHarness *BondingManagerHarnessFilterer) WatchStatusUpdated(opts *bind.WatchOpts, sink chan<- *BondingManagerHarnessStatusUpdated, domain []uint32, agent []common.Address) (event.Subscription, error)

WatchStatusUpdated is a free log subscription operation binding the contract event 0x8f9b8b0f4f062833bec85ea9a8465e4a1207b4be6eb565bbd0ae8b913588d04e.

Solidity: event StatusUpdated(uint8 flag, uint32 indexed domain, address indexed agent)

type BondingManagerHarnessInitialized

type BondingManagerHarnessInitialized struct {
	Version uint8
	Raw     types.Log // Blockchain specific contextual infos
}

BondingManagerHarnessInitialized represents a Initialized event raised by the BondingManagerHarness contract.

type BondingManagerHarnessInitializedIterator

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

BondingManagerHarnessInitializedIterator is returned from FilterInitialized and is used to iterate over the raw logs and unpacked data for Initialized events raised by the BondingManagerHarness contract.

func (*BondingManagerHarnessInitializedIterator) Close

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

func (*BondingManagerHarnessInitializedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*BondingManagerHarnessInitializedIterator) 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 BondingManagerHarnessOwnershipTransferred

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

BondingManagerHarnessOwnershipTransferred represents a OwnershipTransferred event raised by the BondingManagerHarness contract.

type BondingManagerHarnessOwnershipTransferredIterator

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

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

func (*BondingManagerHarnessOwnershipTransferredIterator) Close

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

func (*BondingManagerHarnessOwnershipTransferredIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*BondingManagerHarnessOwnershipTransferredIterator) 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 BondingManagerHarnessRaw

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

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

func (*BondingManagerHarnessRaw) Call

func (_BondingManagerHarness *BondingManagerHarnessRaw) 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 (*BondingManagerHarnessRaw) Transact

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

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

func (*BondingManagerHarnessRaw) Transfer

func (_BondingManagerHarness *BondingManagerHarnessRaw) 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 BondingManagerHarnessRef

type BondingManagerHarnessRef struct {
	*BondingManagerHarness
	// contains filtered or unexported fields
}

BondingManagerHarnessRef is a bonding manager harness reference

func NewBondingManagerHarnessRef

func NewBondingManagerHarnessRef(address common.Address, backend bind.ContractBackend) (*BondingManagerHarnessRef, error)

NewBondingManagerHarnessRef creates a new bonding manager harness.

func (BondingManagerHarnessRef) Address

Address gets the address of the contract.

type BondingManagerHarnessRootUpdated

type BondingManagerHarnessRootUpdated struct {
	NewRoot [32]byte
	Raw     types.Log // Blockchain specific contextual infos
}

BondingManagerHarnessRootUpdated represents a RootUpdated event raised by the BondingManagerHarness contract.

type BondingManagerHarnessRootUpdatedIterator

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

BondingManagerHarnessRootUpdatedIterator is returned from FilterRootUpdated and is used to iterate over the raw logs and unpacked data for RootUpdated events raised by the BondingManagerHarness contract.

func (*BondingManagerHarnessRootUpdatedIterator) Close

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

func (*BondingManagerHarnessRootUpdatedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*BondingManagerHarnessRootUpdatedIterator) 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 BondingManagerHarnessSession

type BondingManagerHarnessSession struct {
	Contract     *BondingManagerHarness // 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
}

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

func (*BondingManagerHarnessSession) AddAgent

func (_BondingManagerHarness *BondingManagerHarnessSession) AddAgent(domain uint32, agent common.Address, proof [][32]byte) (*types.Transaction, error)

AddAgent is a paid mutator transaction binding the contract method 0x237a85a5.

Solidity: function addAgent(uint32 domain, address agent, bytes32[] proof) returns()

func (*BondingManagerHarnessSession) AgentLeaf

func (_BondingManagerHarness *BondingManagerHarnessSession) AgentLeaf(agent common.Address) ([32]byte, error)

AgentLeaf is a free data retrieval call binding the contract method 0xc99dcb9e.

Solidity: function agentLeaf(address agent) view returns(bytes32 leaf)

func (*BondingManagerHarnessSession) AgentRoot

func (_BondingManagerHarness *BondingManagerHarnessSession) AgentRoot() ([32]byte, error)

AgentRoot is a free data retrieval call binding the contract method 0x36cba43c.

Solidity: function agentRoot() view returns(bytes32)

func (*BondingManagerHarnessSession) AgentStatus

func (_BondingManagerHarness *BondingManagerHarnessSession) AgentStatus(agent common.Address) (AgentStatus, error)

AgentStatus is a free data retrieval call binding the contract method 0x28f3fac9.

Solidity: function agentStatus(address agent) view returns((uint8,uint32,uint32) status)

func (*BondingManagerHarnessSession) AllLeafs

func (_BondingManagerHarness *BondingManagerHarnessSession) AllLeafs() ([][32]byte, error)

AllLeafs is a free data retrieval call binding the contract method 0x12db2ef6.

Solidity: function allLeafs() view returns(bytes32[] leafs)

func (*BondingManagerHarnessSession) CompleteSlashing

func (_BondingManagerHarness *BondingManagerHarnessSession) CompleteSlashing(domain uint32, agent common.Address, proof [][32]byte) (*types.Transaction, error)

CompleteSlashing is a paid mutator transaction binding the contract method 0xfbc5265e.

Solidity: function completeSlashing(uint32 domain, address agent, bytes32[] proof) returns()

func (*BondingManagerHarnessSession) CompleteUnstaking

func (_BondingManagerHarness *BondingManagerHarnessSession) CompleteUnstaking(domain uint32, agent common.Address, proof [][32]byte) (*types.Transaction, error)

CompleteUnstaking is a paid mutator transaction binding the contract method 0x4c3e1c1f.

Solidity: function completeUnstaking(uint32 domain, address agent, bytes32[] proof) returns()

func (*BondingManagerHarnessSession) Destination

func (_BondingManagerHarness *BondingManagerHarnessSession) Destination() (common.Address, error)

Destination is a free data retrieval call binding the contract method 0xb269681d.

Solidity: function destination() view returns(address)

func (*BondingManagerHarnessSession) DisputeStatus

func (_BondingManagerHarness *BondingManagerHarnessSession) DisputeStatus(agent common.Address) (struct {
	Flag        uint8
	Rival       common.Address
	FraudProver common.Address
	DisputePtr  *big.Int
}, error)

DisputeStatus is a free data retrieval call binding the contract method 0x3463d1b1.

Solidity: function disputeStatus(address agent) view returns(uint8 flag, address rival, address fraudProver, uint256 disputePtr)

func (*BondingManagerHarnessSession) GetActiveAgents

func (_BondingManagerHarness *BondingManagerHarnessSession) GetActiveAgents(domain uint32) ([]common.Address, error)

GetActiveAgents is a free data retrieval call binding the contract method 0xc1c0f4f6.

Solidity: function getActiveAgents(uint32 domain) view returns(address[] agents)

func (*BondingManagerHarnessSession) GetAgent

func (_BondingManagerHarness *BondingManagerHarnessSession) GetAgent(index *big.Int) (struct {
	Agent  common.Address
	Status AgentStatus
}, error)

GetAgent is a free data retrieval call binding the contract method 0x2de5aaf7.

Solidity: function getAgent(uint256 index) view returns(address agent, (uint8,uint32,uint32) status)

func (*BondingManagerHarnessSession) GetDispute

func (_BondingManagerHarness *BondingManagerHarnessSession) GetDispute(index *big.Int) (struct {
	Guard           common.Address
	Notary          common.Address
	SlashedAgent    common.Address
	FraudProver     common.Address
	ReportPayload   []byte
	ReportSignature []byte
}, error)

GetDispute is a free data retrieval call binding the contract method 0xe3a96cbd.

Solidity: function getDispute(uint256 index) view returns(address guard, address notary, address slashedAgent, address fraudProver, bytes reportPayload, bytes reportSignature)

func (*BondingManagerHarnessSession) GetDisputesAmount

func (_BondingManagerHarness *BondingManagerHarnessSession) GetDisputesAmount() (*big.Int, error)

GetDisputesAmount is a free data retrieval call binding the contract method 0x3aaeccc6.

Solidity: function getDisputesAmount() view returns(uint256)

func (*BondingManagerHarnessSession) GetLeafs

func (_BondingManagerHarness *BondingManagerHarnessSession) GetLeafs(indexFrom *big.Int, amount *big.Int) ([][32]byte, error)

GetLeafs is a free data retrieval call binding the contract method 0x33d1b2e8.

Solidity: function getLeafs(uint256 indexFrom, uint256 amount) view returns(bytes32[] leafs)

func (*BondingManagerHarnessSession) GetProof

func (_BondingManagerHarness *BondingManagerHarnessSession) GetProof(agent common.Address) ([][32]byte, error)

GetProof is a free data retrieval call binding the contract method 0x3eea79d1.

Solidity: function getProof(address agent) view returns(bytes32[] proof)

func (*BondingManagerHarnessSession) Inbox

func (_BondingManagerHarness *BondingManagerHarnessSession) Inbox() (common.Address, error)

Inbox is a free data retrieval call binding the contract method 0xfb0e722b.

Solidity: function inbox() view returns(address)

func (*BondingManagerHarnessSession) Initialize

func (_BondingManagerHarness *BondingManagerHarnessSession) Initialize(origin_ common.Address, destination_ common.Address, inbox_ common.Address, summit_ common.Address) (*types.Transaction, error)

Initialize is a paid mutator transaction binding the contract method 0xf8c8765e.

Solidity: function initialize(address origin_, address destination_, address inbox_, address summit_) returns()

func (*BondingManagerHarnessSession) InitiateUnstaking

func (_BondingManagerHarness *BondingManagerHarnessSession) InitiateUnstaking(domain uint32, agent common.Address, proof [][32]byte) (*types.Transaction, error)

InitiateUnstaking is a paid mutator transaction binding the contract method 0x130c5673.

Solidity: function initiateUnstaking(uint32 domain, address agent, bytes32[] proof) returns()

func (*BondingManagerHarnessSession) LeafsAmount

func (_BondingManagerHarness *BondingManagerHarnessSession) LeafsAmount() (*big.Int, error)

LeafsAmount is a free data retrieval call binding the contract method 0x33c3a8f3.

Solidity: function leafsAmount() view returns(uint256 amount)

func (*BondingManagerHarnessSession) LocalDomain

func (_BondingManagerHarness *BondingManagerHarnessSession) LocalDomain() (uint32, error)

LocalDomain is a free data retrieval call binding the contract method 0x8d3638f4.

Solidity: function localDomain() view returns(uint32)

func (*BondingManagerHarnessSession) Multicall

func (_BondingManagerHarness *BondingManagerHarnessSession) Multicall(calls []MultiCallableCall) (*types.Transaction, error)

Multicall is a paid mutator transaction binding the contract method 0x60fc8466.

Solidity: function multicall((bool,bytes)[] calls) returns((bool,bytes)[] callResults)

func (*BondingManagerHarnessSession) OpenDispute

func (_BondingManagerHarness *BondingManagerHarnessSession) OpenDispute(guardIndex uint32, notaryIndex uint32) (*types.Transaction, error)

OpenDispute is a paid mutator transaction binding the contract method 0xa2155c34.

Solidity: function openDispute(uint32 guardIndex, uint32 notaryIndex) returns()

func (*BondingManagerHarnessSession) Origin

func (_BondingManagerHarness *BondingManagerHarnessSession) Origin() (common.Address, error)

Origin is a free data retrieval call binding the contract method 0x938b5f32.

Solidity: function origin() view returns(address)

func (*BondingManagerHarnessSession) Owner

func (_BondingManagerHarness *BondingManagerHarnessSession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*BondingManagerHarnessSession) RemoteMockFunc

func (_BondingManagerHarness *BondingManagerHarnessSession) RemoteMockFunc(arg0 uint32, arg1 *big.Int, arg2 [32]byte) ([4]byte, error)

RemoteMockFunc is a free data retrieval call binding the contract method 0xa149352c.

Solidity: function remoteMockFunc(uint32 , uint256 , bytes32 ) view returns(bytes4)

func (*BondingManagerHarnessSession) RemoteSlashAgent

func (_BondingManagerHarness *BondingManagerHarnessSession) RemoteSlashAgent(msgOrigin uint32, proofMaturity *big.Int, domain uint32, agent common.Address, prover common.Address) (*types.Transaction, error)

RemoteSlashAgent is a paid mutator transaction binding the contract method 0x9d228a51.

Solidity: function remoteSlashAgent(uint32 msgOrigin, uint256 proofMaturity, uint32 domain, address agent, address prover) returns(bytes4 magicValue)

func (*BondingManagerHarnessSession) RenounceOwnership

func (_BondingManagerHarness *BondingManagerHarnessSession) RenounceOwnership() (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*BondingManagerHarnessSession) ResolveStuckDispute

func (_BondingManagerHarness *BondingManagerHarnessSession) ResolveStuckDispute(domain uint32, slashedAgent common.Address) (*types.Transaction, error)

ResolveStuckDispute is a paid mutator transaction binding the contract method 0x89791e17.

Solidity: function resolveStuckDispute(uint32 domain, address slashedAgent) returns()

func (*BondingManagerHarnessSession) SensitiveMockFunc

func (_BondingManagerHarness *BondingManagerHarnessSession) SensitiveMockFunc(arg0 common.Address, arg1 uint8, data [32]byte) ([32]byte, error)

SensitiveMockFunc is a free data retrieval call binding the contract method 0x127a2c9d.

Solidity: function sensitiveMockFunc(address , uint8 , bytes32 data) view returns(bytes32)

func (*BondingManagerHarnessSession) SensitiveMockFuncOver32Bytes

func (_BondingManagerHarness *BondingManagerHarnessSession) SensitiveMockFuncOver32Bytes(arg0 uint16, arg1 [4]byte, data [32]byte) ([4]byte, [32]byte, error)

SensitiveMockFuncOver32Bytes is a free data retrieval call binding the contract method 0x0e6bfcd5.

Solidity: function sensitiveMockFuncOver32Bytes(uint16 , bytes4 , bytes32 data) view returns(bytes4, bytes32)

func (*BondingManagerHarnessSession) SensitiveMockFuncVoid

func (_BondingManagerHarness *BondingManagerHarnessSession) SensitiveMockFuncVoid(arg0 uint16, arg1 [4]byte, arg2 [32]byte) error

SensitiveMockFuncVoid is a free data retrieval call binding the contract method 0xc9f1a03f.

Solidity: function sensitiveMockFuncVoid(uint16 , bytes4 , bytes32 ) view returns()

func (*BondingManagerHarnessSession) SlashAgent

func (_BondingManagerHarness *BondingManagerHarnessSession) SlashAgent(domain uint32, agent common.Address, prover common.Address) (*types.Transaction, error)

SlashAgent is a paid mutator transaction binding the contract method 0x2853a0e6.

Solidity: function slashAgent(uint32 domain, address agent, address prover) returns()

func (*BondingManagerHarnessSession) SlashAgentExposed

func (_BondingManagerHarness *BondingManagerHarnessSession) SlashAgentExposed(domain uint32, agent common.Address, prover common.Address) (*types.Transaction, error)

SlashAgentExposed is a paid mutator transaction binding the contract method 0x69978b0d.

Solidity: function slashAgentExposed(uint32 domain, address agent, address prover) returns()

func (*BondingManagerHarnessSession) Summit

func (_BondingManagerHarness *BondingManagerHarnessSession) Summit() (common.Address, error)

Summit is a free data retrieval call binding the contract method 0x9fbcb9cb.

Solidity: function summit() view returns(address)

func (*BondingManagerHarnessSession) TransferOwnership

func (_BondingManagerHarness *BondingManagerHarnessSession) 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 (*BondingManagerHarnessSession) Version

func (_BondingManagerHarness *BondingManagerHarnessSession) Version() (string, error)

Version is a free data retrieval call binding the contract method 0x54fd4d50.

Solidity: function version() view returns(string versionString)

func (*BondingManagerHarnessSession) WithdrawTips

func (_BondingManagerHarness *BondingManagerHarnessSession) WithdrawTips(recipient common.Address, origin_ uint32, amount *big.Int) (*types.Transaction, error)

WithdrawTips is a paid mutator transaction binding the contract method 0xcc875501.

Solidity: function withdrawTips(address recipient, uint32 origin_, uint256 amount) returns()

type BondingManagerHarnessStatusUpdated

type BondingManagerHarnessStatusUpdated struct {
	Flag   uint8
	Domain uint32
	Agent  common.Address
	Raw    types.Log // Blockchain specific contextual infos
}

BondingManagerHarnessStatusUpdated represents a StatusUpdated event raised by the BondingManagerHarness contract.

type BondingManagerHarnessStatusUpdatedIterator

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

BondingManagerHarnessStatusUpdatedIterator is returned from FilterStatusUpdated and is used to iterate over the raw logs and unpacked data for StatusUpdated events raised by the BondingManagerHarness contract.

func (*BondingManagerHarnessStatusUpdatedIterator) Close

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

func (*BondingManagerHarnessStatusUpdatedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*BondingManagerHarnessStatusUpdatedIterator) 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 BondingManagerHarnessTransactor

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

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

func NewBondingManagerHarnessTransactor

func NewBondingManagerHarnessTransactor(address common.Address, transactor bind.ContractTransactor) (*BondingManagerHarnessTransactor, error)

NewBondingManagerHarnessTransactor creates a new write-only instance of BondingManagerHarness, bound to a specific deployed contract.

func (*BondingManagerHarnessTransactor) AddAgent

func (_BondingManagerHarness *BondingManagerHarnessTransactor) AddAgent(opts *bind.TransactOpts, domain uint32, agent common.Address, proof [][32]byte) (*types.Transaction, error)

AddAgent is a paid mutator transaction binding the contract method 0x237a85a5.

Solidity: function addAgent(uint32 domain, address agent, bytes32[] proof) returns()

func (*BondingManagerHarnessTransactor) CompleteSlashing

func (_BondingManagerHarness *BondingManagerHarnessTransactor) CompleteSlashing(opts *bind.TransactOpts, domain uint32, agent common.Address, proof [][32]byte) (*types.Transaction, error)

CompleteSlashing is a paid mutator transaction binding the contract method 0xfbc5265e.

Solidity: function completeSlashing(uint32 domain, address agent, bytes32[] proof) returns()

func (*BondingManagerHarnessTransactor) CompleteUnstaking

func (_BondingManagerHarness *BondingManagerHarnessTransactor) CompleteUnstaking(opts *bind.TransactOpts, domain uint32, agent common.Address, proof [][32]byte) (*types.Transaction, error)

CompleteUnstaking is a paid mutator transaction binding the contract method 0x4c3e1c1f.

Solidity: function completeUnstaking(uint32 domain, address agent, bytes32[] proof) returns()

func (*BondingManagerHarnessTransactor) Initialize

func (_BondingManagerHarness *BondingManagerHarnessTransactor) Initialize(opts *bind.TransactOpts, origin_ common.Address, destination_ common.Address, inbox_ common.Address, summit_ common.Address) (*types.Transaction, error)

Initialize is a paid mutator transaction binding the contract method 0xf8c8765e.

Solidity: function initialize(address origin_, address destination_, address inbox_, address summit_) returns()

func (*BondingManagerHarnessTransactor) InitiateUnstaking

func (_BondingManagerHarness *BondingManagerHarnessTransactor) InitiateUnstaking(opts *bind.TransactOpts, domain uint32, agent common.Address, proof [][32]byte) (*types.Transaction, error)

InitiateUnstaking is a paid mutator transaction binding the contract method 0x130c5673.

Solidity: function initiateUnstaking(uint32 domain, address agent, bytes32[] proof) returns()

func (*BondingManagerHarnessTransactor) Multicall

func (_BondingManagerHarness *BondingManagerHarnessTransactor) Multicall(opts *bind.TransactOpts, calls []MultiCallableCall) (*types.Transaction, error)

Multicall is a paid mutator transaction binding the contract method 0x60fc8466.

Solidity: function multicall((bool,bytes)[] calls) returns((bool,bytes)[] callResults)

func (*BondingManagerHarnessTransactor) OpenDispute

func (_BondingManagerHarness *BondingManagerHarnessTransactor) OpenDispute(opts *bind.TransactOpts, guardIndex uint32, notaryIndex uint32) (*types.Transaction, error)

OpenDispute is a paid mutator transaction binding the contract method 0xa2155c34.

Solidity: function openDispute(uint32 guardIndex, uint32 notaryIndex) returns()

func (*BondingManagerHarnessTransactor) RemoteSlashAgent

func (_BondingManagerHarness *BondingManagerHarnessTransactor) RemoteSlashAgent(opts *bind.TransactOpts, msgOrigin uint32, proofMaturity *big.Int, domain uint32, agent common.Address, prover common.Address) (*types.Transaction, error)

RemoteSlashAgent is a paid mutator transaction binding the contract method 0x9d228a51.

Solidity: function remoteSlashAgent(uint32 msgOrigin, uint256 proofMaturity, uint32 domain, address agent, address prover) returns(bytes4 magicValue)

func (*BondingManagerHarnessTransactor) RenounceOwnership

func (_BondingManagerHarness *BondingManagerHarnessTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*BondingManagerHarnessTransactor) ResolveStuckDispute

func (_BondingManagerHarness *BondingManagerHarnessTransactor) ResolveStuckDispute(opts *bind.TransactOpts, domain uint32, slashedAgent common.Address) (*types.Transaction, error)

ResolveStuckDispute is a paid mutator transaction binding the contract method 0x89791e17.

Solidity: function resolveStuckDispute(uint32 domain, address slashedAgent) returns()

func (*BondingManagerHarnessTransactor) SlashAgent

func (_BondingManagerHarness *BondingManagerHarnessTransactor) SlashAgent(opts *bind.TransactOpts, domain uint32, agent common.Address, prover common.Address) (*types.Transaction, error)

SlashAgent is a paid mutator transaction binding the contract method 0x2853a0e6.

Solidity: function slashAgent(uint32 domain, address agent, address prover) returns()

func (*BondingManagerHarnessTransactor) SlashAgentExposed

func (_BondingManagerHarness *BondingManagerHarnessTransactor) SlashAgentExposed(opts *bind.TransactOpts, domain uint32, agent common.Address, prover common.Address) (*types.Transaction, error)

SlashAgentExposed is a paid mutator transaction binding the contract method 0x69978b0d.

Solidity: function slashAgentExposed(uint32 domain, address agent, address prover) returns()

func (*BondingManagerHarnessTransactor) TransferOwnership

func (_BondingManagerHarness *BondingManagerHarnessTransactor) 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 (*BondingManagerHarnessTransactor) WithdrawTips

func (_BondingManagerHarness *BondingManagerHarnessTransactor) WithdrawTips(opts *bind.TransactOpts, recipient common.Address, origin_ uint32, amount *big.Int) (*types.Transaction, error)

WithdrawTips is a paid mutator transaction binding the contract method 0xcc875501.

Solidity: function withdrawTips(address recipient, uint32 origin_, uint256 amount) returns()

type BondingManagerHarnessTransactorRaw

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

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

func (*BondingManagerHarnessTransactorRaw) Transact

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

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

func (*BondingManagerHarnessTransactorRaw) Transfer

func (_BondingManagerHarness *BondingManagerHarnessTransactorRaw) 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 BondingManagerHarnessTransactorSession

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

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

func (*BondingManagerHarnessTransactorSession) AddAgent

func (_BondingManagerHarness *BondingManagerHarnessTransactorSession) AddAgent(domain uint32, agent common.Address, proof [][32]byte) (*types.Transaction, error)

AddAgent is a paid mutator transaction binding the contract method 0x237a85a5.

Solidity: function addAgent(uint32 domain, address agent, bytes32[] proof) returns()

func (*BondingManagerHarnessTransactorSession) CompleteSlashing

func (_BondingManagerHarness *BondingManagerHarnessTransactorSession) CompleteSlashing(domain uint32, agent common.Address, proof [][32]byte) (*types.Transaction, error)

CompleteSlashing is a paid mutator transaction binding the contract method 0xfbc5265e.

Solidity: function completeSlashing(uint32 domain, address agent, bytes32[] proof) returns()

func (*BondingManagerHarnessTransactorSession) CompleteUnstaking

func (_BondingManagerHarness *BondingManagerHarnessTransactorSession) CompleteUnstaking(domain uint32, agent common.Address, proof [][32]byte) (*types.Transaction, error)

CompleteUnstaking is a paid mutator transaction binding the contract method 0x4c3e1c1f.

Solidity: function completeUnstaking(uint32 domain, address agent, bytes32[] proof) returns()

func (*BondingManagerHarnessTransactorSession) Initialize

func (_BondingManagerHarness *BondingManagerHarnessTransactorSession) Initialize(origin_ common.Address, destination_ common.Address, inbox_ common.Address, summit_ common.Address) (*types.Transaction, error)

Initialize is a paid mutator transaction binding the contract method 0xf8c8765e.

Solidity: function initialize(address origin_, address destination_, address inbox_, address summit_) returns()

func (*BondingManagerHarnessTransactorSession) InitiateUnstaking

func (_BondingManagerHarness *BondingManagerHarnessTransactorSession) InitiateUnstaking(domain uint32, agent common.Address, proof [][32]byte) (*types.Transaction, error)

InitiateUnstaking is a paid mutator transaction binding the contract method 0x130c5673.

Solidity: function initiateUnstaking(uint32 domain, address agent, bytes32[] proof) returns()

func (*BondingManagerHarnessTransactorSession) Multicall

func (_BondingManagerHarness *BondingManagerHarnessTransactorSession) Multicall(calls []MultiCallableCall) (*types.Transaction, error)

Multicall is a paid mutator transaction binding the contract method 0x60fc8466.

Solidity: function multicall((bool,bytes)[] calls) returns((bool,bytes)[] callResults)

func (*BondingManagerHarnessTransactorSession) OpenDispute

func (_BondingManagerHarness *BondingManagerHarnessTransactorSession) OpenDispute(guardIndex uint32, notaryIndex uint32) (*types.Transaction, error)

OpenDispute is a paid mutator transaction binding the contract method 0xa2155c34.

Solidity: function openDispute(uint32 guardIndex, uint32 notaryIndex) returns()

func (*BondingManagerHarnessTransactorSession) RemoteSlashAgent

func (_BondingManagerHarness *BondingManagerHarnessTransactorSession) RemoteSlashAgent(msgOrigin uint32, proofMaturity *big.Int, domain uint32, agent common.Address, prover common.Address) (*types.Transaction, error)

RemoteSlashAgent is a paid mutator transaction binding the contract method 0x9d228a51.

Solidity: function remoteSlashAgent(uint32 msgOrigin, uint256 proofMaturity, uint32 domain, address agent, address prover) returns(bytes4 magicValue)

func (*BondingManagerHarnessTransactorSession) RenounceOwnership

func (_BondingManagerHarness *BondingManagerHarnessTransactorSession) RenounceOwnership() (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*BondingManagerHarnessTransactorSession) ResolveStuckDispute

func (_BondingManagerHarness *BondingManagerHarnessTransactorSession) ResolveStuckDispute(domain uint32, slashedAgent common.Address) (*types.Transaction, error)

ResolveStuckDispute is a paid mutator transaction binding the contract method 0x89791e17.

Solidity: function resolveStuckDispute(uint32 domain, address slashedAgent) returns()

func (*BondingManagerHarnessTransactorSession) SlashAgent

func (_BondingManagerHarness *BondingManagerHarnessTransactorSession) SlashAgent(domain uint32, agent common.Address, prover common.Address) (*types.Transaction, error)

SlashAgent is a paid mutator transaction binding the contract method 0x2853a0e6.

Solidity: function slashAgent(uint32 domain, address agent, address prover) returns()

func (*BondingManagerHarnessTransactorSession) SlashAgentExposed

func (_BondingManagerHarness *BondingManagerHarnessTransactorSession) SlashAgentExposed(domain uint32, agent common.Address, prover common.Address) (*types.Transaction, error)

SlashAgentExposed is a paid mutator transaction binding the contract method 0x69978b0d.

Solidity: function slashAgentExposed(uint32 domain, address agent, address prover) returns()

func (*BondingManagerHarnessTransactorSession) TransferOwnership

func (_BondingManagerHarness *BondingManagerHarnessTransactorSession) 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 (*BondingManagerHarnessTransactorSession) WithdrawTips

func (_BondingManagerHarness *BondingManagerHarnessTransactorSession) WithdrawTips(recipient common.Address, origin_ uint32, amount *big.Int) (*types.Transaction, error)

WithdrawTips is a paid mutator transaction binding the contract method 0xcc875501.

Solidity: function withdrawTips(address recipient, uint32 origin_, uint256 amount) returns()

type BondingManagerInitialized

type BondingManagerInitialized struct {
	Version uint8
	Raw     types.Log // Blockchain specific contextual infos
}

BondingManagerInitialized represents a Initialized event raised by the BondingManager contract.

type BondingManagerInitializedIterator

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

BondingManagerInitializedIterator is returned from FilterInitialized and is used to iterate over the raw logs and unpacked data for Initialized events raised by the BondingManager contract.

func (*BondingManagerInitializedIterator) Close

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

func (*BondingManagerInitializedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*BondingManagerInitializedIterator) 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 BondingManagerOwnershipTransferred

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

BondingManagerOwnershipTransferred represents a OwnershipTransferred event raised by the BondingManager contract.

type BondingManagerOwnershipTransferredIterator

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

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

func (*BondingManagerOwnershipTransferredIterator) Close

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

func (*BondingManagerOwnershipTransferredIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*BondingManagerOwnershipTransferredIterator) 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 BondingManagerRaw

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

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

func (*BondingManagerRaw) Call

func (_BondingManager *BondingManagerRaw) 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 (*BondingManagerRaw) Transact

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

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

func (*BondingManagerRaw) Transfer

func (_BondingManager *BondingManagerRaw) 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 BondingManagerRootUpdated

type BondingManagerRootUpdated struct {
	NewRoot [32]byte
	Raw     types.Log // Blockchain specific contextual infos
}

BondingManagerRootUpdated represents a RootUpdated event raised by the BondingManager contract.

type BondingManagerRootUpdatedIterator

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

BondingManagerRootUpdatedIterator is returned from FilterRootUpdated and is used to iterate over the raw logs and unpacked data for RootUpdated events raised by the BondingManager contract.

func (*BondingManagerRootUpdatedIterator) Close

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

func (*BondingManagerRootUpdatedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*BondingManagerRootUpdatedIterator) 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 BondingManagerSession

type BondingManagerSession struct {
	Contract     *BondingManager   // 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
}

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

func (*BondingManagerSession) AddAgent

func (_BondingManager *BondingManagerSession) AddAgent(domain uint32, agent common.Address, proof [][32]byte) (*types.Transaction, error)

AddAgent is a paid mutator transaction binding the contract method 0x237a85a5.

Solidity: function addAgent(uint32 domain, address agent, bytes32[] proof) returns()

func (*BondingManagerSession) AgentLeaf

func (_BondingManager *BondingManagerSession) AgentLeaf(agent common.Address) ([32]byte, error)

AgentLeaf is a free data retrieval call binding the contract method 0xc99dcb9e.

Solidity: function agentLeaf(address agent) view returns(bytes32 leaf)

func (*BondingManagerSession) AgentRoot

func (_BondingManager *BondingManagerSession) AgentRoot() ([32]byte, error)

AgentRoot is a free data retrieval call binding the contract method 0x36cba43c.

Solidity: function agentRoot() view returns(bytes32)

func (*BondingManagerSession) AgentStatus

func (_BondingManager *BondingManagerSession) AgentStatus(agent common.Address) (AgentStatus, error)

AgentStatus is a free data retrieval call binding the contract method 0x28f3fac9.

Solidity: function agentStatus(address agent) view returns((uint8,uint32,uint32) status)

func (*BondingManagerSession) AllLeafs

func (_BondingManager *BondingManagerSession) AllLeafs() ([][32]byte, error)

AllLeafs is a free data retrieval call binding the contract method 0x12db2ef6.

Solidity: function allLeafs() view returns(bytes32[] leafs)

func (*BondingManagerSession) CompleteSlashing

func (_BondingManager *BondingManagerSession) CompleteSlashing(domain uint32, agent common.Address, proof [][32]byte) (*types.Transaction, error)

CompleteSlashing is a paid mutator transaction binding the contract method 0xfbc5265e.

Solidity: function completeSlashing(uint32 domain, address agent, bytes32[] proof) returns()

func (*BondingManagerSession) CompleteUnstaking

func (_BondingManager *BondingManagerSession) CompleteUnstaking(domain uint32, agent common.Address, proof [][32]byte) (*types.Transaction, error)

CompleteUnstaking is a paid mutator transaction binding the contract method 0x4c3e1c1f.

Solidity: function completeUnstaking(uint32 domain, address agent, bytes32[] proof) returns()

func (*BondingManagerSession) Destination

func (_BondingManager *BondingManagerSession) Destination() (common.Address, error)

Destination is a free data retrieval call binding the contract method 0xb269681d.

Solidity: function destination() view returns(address)

func (*BondingManagerSession) DisputeStatus

func (_BondingManager *BondingManagerSession) DisputeStatus(agent common.Address) (struct {
	Flag        uint8
	Rival       common.Address
	FraudProver common.Address
	DisputePtr  *big.Int
}, error)

DisputeStatus is a free data retrieval call binding the contract method 0x3463d1b1.

Solidity: function disputeStatus(address agent) view returns(uint8 flag, address rival, address fraudProver, uint256 disputePtr)

func (*BondingManagerSession) GetActiveAgents

func (_BondingManager *BondingManagerSession) GetActiveAgents(domain uint32) ([]common.Address, error)

GetActiveAgents is a free data retrieval call binding the contract method 0xc1c0f4f6.

Solidity: function getActiveAgents(uint32 domain) view returns(address[] agents)

func (*BondingManagerSession) GetAgent

func (_BondingManager *BondingManagerSession) GetAgent(index *big.Int) (struct {
	Agent  common.Address
	Status AgentStatus
}, error)

GetAgent is a free data retrieval call binding the contract method 0x2de5aaf7.

Solidity: function getAgent(uint256 index) view returns(address agent, (uint8,uint32,uint32) status)

func (*BondingManagerSession) GetDispute

func (_BondingManager *BondingManagerSession) GetDispute(index *big.Int) (struct {
	Guard           common.Address
	Notary          common.Address
	SlashedAgent    common.Address
	FraudProver     common.Address
	ReportPayload   []byte
	ReportSignature []byte
}, error)

GetDispute is a free data retrieval call binding the contract method 0xe3a96cbd.

Solidity: function getDispute(uint256 index) view returns(address guard, address notary, address slashedAgent, address fraudProver, bytes reportPayload, bytes reportSignature)

func (*BondingManagerSession) GetDisputesAmount

func (_BondingManager *BondingManagerSession) GetDisputesAmount() (*big.Int, error)

GetDisputesAmount is a free data retrieval call binding the contract method 0x3aaeccc6.

Solidity: function getDisputesAmount() view returns(uint256)

func (*BondingManagerSession) GetLeafs

func (_BondingManager *BondingManagerSession) GetLeafs(indexFrom *big.Int, amount *big.Int) ([][32]byte, error)

GetLeafs is a free data retrieval call binding the contract method 0x33d1b2e8.

Solidity: function getLeafs(uint256 indexFrom, uint256 amount) view returns(bytes32[] leafs)

func (*BondingManagerSession) GetProof

func (_BondingManager *BondingManagerSession) GetProof(agent common.Address) ([][32]byte, error)

GetProof is a free data retrieval call binding the contract method 0x3eea79d1.

Solidity: function getProof(address agent) view returns(bytes32[] proof)

func (*BondingManagerSession) Inbox

func (_BondingManager *BondingManagerSession) Inbox() (common.Address, error)

Inbox is a free data retrieval call binding the contract method 0xfb0e722b.

Solidity: function inbox() view returns(address)

func (*BondingManagerSession) Initialize

func (_BondingManager *BondingManagerSession) Initialize(origin_ common.Address, destination_ common.Address, inbox_ common.Address, summit_ common.Address) (*types.Transaction, error)

Initialize is a paid mutator transaction binding the contract method 0xf8c8765e.

Solidity: function initialize(address origin_, address destination_, address inbox_, address summit_) returns()

func (*BondingManagerSession) InitiateUnstaking

func (_BondingManager *BondingManagerSession) InitiateUnstaking(domain uint32, agent common.Address, proof [][32]byte) (*types.Transaction, error)

InitiateUnstaking is a paid mutator transaction binding the contract method 0x130c5673.

Solidity: function initiateUnstaking(uint32 domain, address agent, bytes32[] proof) returns()

func (*BondingManagerSession) LeafsAmount

func (_BondingManager *BondingManagerSession) LeafsAmount() (*big.Int, error)

LeafsAmount is a free data retrieval call binding the contract method 0x33c3a8f3.

Solidity: function leafsAmount() view returns(uint256 amount)

func (*BondingManagerSession) LocalDomain

func (_BondingManager *BondingManagerSession) LocalDomain() (uint32, error)

LocalDomain is a free data retrieval call binding the contract method 0x8d3638f4.

Solidity: function localDomain() view returns(uint32)

func (*BondingManagerSession) Multicall

func (_BondingManager *BondingManagerSession) Multicall(calls []MultiCallableCall) (*types.Transaction, error)

Multicall is a paid mutator transaction binding the contract method 0x60fc8466.

Solidity: function multicall((bool,bytes)[] calls) returns((bool,bytes)[] callResults)

func (*BondingManagerSession) OpenDispute

func (_BondingManager *BondingManagerSession) OpenDispute(guardIndex uint32, notaryIndex uint32) (*types.Transaction, error)

OpenDispute is a paid mutator transaction binding the contract method 0xa2155c34.

Solidity: function openDispute(uint32 guardIndex, uint32 notaryIndex) returns()

func (*BondingManagerSession) Origin

func (_BondingManager *BondingManagerSession) Origin() (common.Address, error)

Origin is a free data retrieval call binding the contract method 0x938b5f32.

Solidity: function origin() view returns(address)

func (*BondingManagerSession) Owner

func (_BondingManager *BondingManagerSession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*BondingManagerSession) RemoteSlashAgent

func (_BondingManager *BondingManagerSession) RemoteSlashAgent(msgOrigin uint32, proofMaturity *big.Int, domain uint32, agent common.Address, prover common.Address) (*types.Transaction, error)

RemoteSlashAgent is a paid mutator transaction binding the contract method 0x9d228a51.

Solidity: function remoteSlashAgent(uint32 msgOrigin, uint256 proofMaturity, uint32 domain, address agent, address prover) returns(bytes4 magicValue)

func (*BondingManagerSession) RenounceOwnership

func (_BondingManager *BondingManagerSession) RenounceOwnership() (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*BondingManagerSession) ResolveStuckDispute

func (_BondingManager *BondingManagerSession) ResolveStuckDispute(domain uint32, slashedAgent common.Address) (*types.Transaction, error)

ResolveStuckDispute is a paid mutator transaction binding the contract method 0x89791e17.

Solidity: function resolveStuckDispute(uint32 domain, address slashedAgent) returns()

func (*BondingManagerSession) SlashAgent

func (_BondingManager *BondingManagerSession) SlashAgent(domain uint32, agent common.Address, prover common.Address) (*types.Transaction, error)

SlashAgent is a paid mutator transaction binding the contract method 0x2853a0e6.

Solidity: function slashAgent(uint32 domain, address agent, address prover) returns()

func (*BondingManagerSession) Summit

func (_BondingManager *BondingManagerSession) Summit() (common.Address, error)

Summit is a free data retrieval call binding the contract method 0x9fbcb9cb.

Solidity: function summit() view returns(address)

func (*BondingManagerSession) TransferOwnership

func (_BondingManager *BondingManagerSession) 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 (*BondingManagerSession) Version

func (_BondingManager *BondingManagerSession) Version() (string, error)

Version is a free data retrieval call binding the contract method 0x54fd4d50.

Solidity: function version() view returns(string versionString)

func (*BondingManagerSession) WithdrawTips

func (_BondingManager *BondingManagerSession) WithdrawTips(recipient common.Address, origin_ uint32, amount *big.Int) (*types.Transaction, error)

WithdrawTips is a paid mutator transaction binding the contract method 0xcc875501.

Solidity: function withdrawTips(address recipient, uint32 origin_, uint256 amount) returns()

type BondingManagerStatusUpdated

type BondingManagerStatusUpdated struct {
	Flag   uint8
	Domain uint32
	Agent  common.Address
	Raw    types.Log // Blockchain specific contextual infos
}

BondingManagerStatusUpdated represents a StatusUpdated event raised by the BondingManager contract.

type BondingManagerStatusUpdatedIterator

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

BondingManagerStatusUpdatedIterator is returned from FilterStatusUpdated and is used to iterate over the raw logs and unpacked data for StatusUpdated events raised by the BondingManager contract.

func (*BondingManagerStatusUpdatedIterator) Close

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

func (*BondingManagerStatusUpdatedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*BondingManagerStatusUpdatedIterator) 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 BondingManagerTransactor

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

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

func NewBondingManagerTransactor

func NewBondingManagerTransactor(address common.Address, transactor bind.ContractTransactor) (*BondingManagerTransactor, error)

NewBondingManagerTransactor creates a new write-only instance of BondingManager, bound to a specific deployed contract.

func (*BondingManagerTransactor) AddAgent

func (_BondingManager *BondingManagerTransactor) AddAgent(opts *bind.TransactOpts, domain uint32, agent common.Address, proof [][32]byte) (*types.Transaction, error)

AddAgent is a paid mutator transaction binding the contract method 0x237a85a5.

Solidity: function addAgent(uint32 domain, address agent, bytes32[] proof) returns()

func (*BondingManagerTransactor) CompleteSlashing

func (_BondingManager *BondingManagerTransactor) CompleteSlashing(opts *bind.TransactOpts, domain uint32, agent common.Address, proof [][32]byte) (*types.Transaction, error)

CompleteSlashing is a paid mutator transaction binding the contract method 0xfbc5265e.

Solidity: function completeSlashing(uint32 domain, address agent, bytes32[] proof) returns()

func (*BondingManagerTransactor) CompleteUnstaking

func (_BondingManager *BondingManagerTransactor) CompleteUnstaking(opts *bind.TransactOpts, domain uint32, agent common.Address, proof [][32]byte) (*types.Transaction, error)

CompleteUnstaking is a paid mutator transaction binding the contract method 0x4c3e1c1f.

Solidity: function completeUnstaking(uint32 domain, address agent, bytes32[] proof) returns()

func (*BondingManagerTransactor) Initialize

func (_BondingManager *BondingManagerTransactor) Initialize(opts *bind.TransactOpts, origin_ common.Address, destination_ common.Address, inbox_ common.Address, summit_ common.Address) (*types.Transaction, error)

Initialize is a paid mutator transaction binding the contract method 0xf8c8765e.

Solidity: function initialize(address origin_, address destination_, address inbox_, address summit_) returns()

func (*BondingManagerTransactor) InitiateUnstaking

func (_BondingManager *BondingManagerTransactor) InitiateUnstaking(opts *bind.TransactOpts, domain uint32, agent common.Address, proof [][32]byte) (*types.Transaction, error)

InitiateUnstaking is a paid mutator transaction binding the contract method 0x130c5673.

Solidity: function initiateUnstaking(uint32 domain, address agent, bytes32[] proof) returns()

func (*BondingManagerTransactor) Multicall

func (_BondingManager *BondingManagerTransactor) Multicall(opts *bind.TransactOpts, calls []MultiCallableCall) (*types.Transaction, error)

Multicall is a paid mutator transaction binding the contract method 0x60fc8466.

Solidity: function multicall((bool,bytes)[] calls) returns((bool,bytes)[] callResults)

func (*BondingManagerTransactor) OpenDispute

func (_BondingManager *BondingManagerTransactor) OpenDispute(opts *bind.TransactOpts, guardIndex uint32, notaryIndex uint32) (*types.Transaction, error)

OpenDispute is a paid mutator transaction binding the contract method 0xa2155c34.

Solidity: function openDispute(uint32 guardIndex, uint32 notaryIndex) returns()

func (*BondingManagerTransactor) RemoteSlashAgent

func (_BondingManager *BondingManagerTransactor) RemoteSlashAgent(opts *bind.TransactOpts, msgOrigin uint32, proofMaturity *big.Int, domain uint32, agent common.Address, prover common.Address) (*types.Transaction, error)

RemoteSlashAgent is a paid mutator transaction binding the contract method 0x9d228a51.

Solidity: function remoteSlashAgent(uint32 msgOrigin, uint256 proofMaturity, uint32 domain, address agent, address prover) returns(bytes4 magicValue)

func (*BondingManagerTransactor) RenounceOwnership

func (_BondingManager *BondingManagerTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*BondingManagerTransactor) ResolveStuckDispute

func (_BondingManager *BondingManagerTransactor) ResolveStuckDispute(opts *bind.TransactOpts, domain uint32, slashedAgent common.Address) (*types.Transaction, error)

ResolveStuckDispute is a paid mutator transaction binding the contract method 0x89791e17.

Solidity: function resolveStuckDispute(uint32 domain, address slashedAgent) returns()

func (*BondingManagerTransactor) SlashAgent

func (_BondingManager *BondingManagerTransactor) SlashAgent(opts *bind.TransactOpts, domain uint32, agent common.Address, prover common.Address) (*types.Transaction, error)

SlashAgent is a paid mutator transaction binding the contract method 0x2853a0e6.

Solidity: function slashAgent(uint32 domain, address agent, address prover) returns()

func (*BondingManagerTransactor) TransferOwnership

func (_BondingManager *BondingManagerTransactor) 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 (*BondingManagerTransactor) WithdrawTips

func (_BondingManager *BondingManagerTransactor) WithdrawTips(opts *bind.TransactOpts, recipient common.Address, origin_ uint32, amount *big.Int) (*types.Transaction, error)

WithdrawTips is a paid mutator transaction binding the contract method 0xcc875501.

Solidity: function withdrawTips(address recipient, uint32 origin_, uint256 amount) returns()

type BondingManagerTransactorRaw

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

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

func (*BondingManagerTransactorRaw) Transact

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

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

func (*BondingManagerTransactorRaw) Transfer

func (_BondingManager *BondingManagerTransactorRaw) 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 BondingManagerTransactorSession

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

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

func (*BondingManagerTransactorSession) AddAgent

func (_BondingManager *BondingManagerTransactorSession) AddAgent(domain uint32, agent common.Address, proof [][32]byte) (*types.Transaction, error)

AddAgent is a paid mutator transaction binding the contract method 0x237a85a5.

Solidity: function addAgent(uint32 domain, address agent, bytes32[] proof) returns()

func (*BondingManagerTransactorSession) CompleteSlashing

func (_BondingManager *BondingManagerTransactorSession) CompleteSlashing(domain uint32, agent common.Address, proof [][32]byte) (*types.Transaction, error)

CompleteSlashing is a paid mutator transaction binding the contract method 0xfbc5265e.

Solidity: function completeSlashing(uint32 domain, address agent, bytes32[] proof) returns()

func (*BondingManagerTransactorSession) CompleteUnstaking

func (_BondingManager *BondingManagerTransactorSession) CompleteUnstaking(domain uint32, agent common.Address, proof [][32]byte) (*types.Transaction, error)

CompleteUnstaking is a paid mutator transaction binding the contract method 0x4c3e1c1f.

Solidity: function completeUnstaking(uint32 domain, address agent, bytes32[] proof) returns()

func (*BondingManagerTransactorSession) Initialize

func (_BondingManager *BondingManagerTransactorSession) Initialize(origin_ common.Address, destination_ common.Address, inbox_ common.Address, summit_ common.Address) (*types.Transaction, error)

Initialize is a paid mutator transaction binding the contract method 0xf8c8765e.

Solidity: function initialize(address origin_, address destination_, address inbox_, address summit_) returns()

func (*BondingManagerTransactorSession) InitiateUnstaking

func (_BondingManager *BondingManagerTransactorSession) InitiateUnstaking(domain uint32, agent common.Address, proof [][32]byte) (*types.Transaction, error)

InitiateUnstaking is a paid mutator transaction binding the contract method 0x130c5673.

Solidity: function initiateUnstaking(uint32 domain, address agent, bytes32[] proof) returns()

func (*BondingManagerTransactorSession) Multicall

func (_BondingManager *BondingManagerTransactorSession) Multicall(calls []MultiCallableCall) (*types.Transaction, error)

Multicall is a paid mutator transaction binding the contract method 0x60fc8466.

Solidity: function multicall((bool,bytes)[] calls) returns((bool,bytes)[] callResults)

func (*BondingManagerTransactorSession) OpenDispute

func (_BondingManager *BondingManagerTransactorSession) OpenDispute(guardIndex uint32, notaryIndex uint32) (*types.Transaction, error)

OpenDispute is a paid mutator transaction binding the contract method 0xa2155c34.

Solidity: function openDispute(uint32 guardIndex, uint32 notaryIndex) returns()

func (*BondingManagerTransactorSession) RemoteSlashAgent

func (_BondingManager *BondingManagerTransactorSession) RemoteSlashAgent(msgOrigin uint32, proofMaturity *big.Int, domain uint32, agent common.Address, prover common.Address) (*types.Transaction, error)

RemoteSlashAgent is a paid mutator transaction binding the contract method 0x9d228a51.

Solidity: function remoteSlashAgent(uint32 msgOrigin, uint256 proofMaturity, uint32 domain, address agent, address prover) returns(bytes4 magicValue)

func (*BondingManagerTransactorSession) RenounceOwnership

func (_BondingManager *BondingManagerTransactorSession) RenounceOwnership() (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*BondingManagerTransactorSession) ResolveStuckDispute

func (_BondingManager *BondingManagerTransactorSession) ResolveStuckDispute(domain uint32, slashedAgent common.Address) (*types.Transaction, error)

ResolveStuckDispute is a paid mutator transaction binding the contract method 0x89791e17.

Solidity: function resolveStuckDispute(uint32 domain, address slashedAgent) returns()

func (*BondingManagerTransactorSession) SlashAgent

func (_BondingManager *BondingManagerTransactorSession) SlashAgent(domain uint32, agent common.Address, prover common.Address) (*types.Transaction, error)

SlashAgent is a paid mutator transaction binding the contract method 0x2853a0e6.

Solidity: function slashAgent(uint32 domain, address agent, address prover) returns()

func (*BondingManagerTransactorSession) TransferOwnership

func (_BondingManager *BondingManagerTransactorSession) 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 (*BondingManagerTransactorSession) WithdrawTips

func (_BondingManager *BondingManagerTransactorSession) WithdrawTips(recipient common.Address, origin_ uint32, amount *big.Int) (*types.Transaction, error)

WithdrawTips is a paid mutator transaction binding the contract method 0xcc875501.

Solidity: function withdrawTips(address recipient, uint32 origin_, uint256 amount) returns()

type ContextUpgradeable

type ContextUpgradeable struct {
	ContextUpgradeableCaller     // Read-only binding to the contract
	ContextUpgradeableTransactor // Write-only binding to the contract
	ContextUpgradeableFilterer   // Log filterer for contract events
}

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

func NewContextUpgradeable

func NewContextUpgradeable(address common.Address, backend bind.ContractBackend) (*ContextUpgradeable, error)

NewContextUpgradeable creates a new instance of ContextUpgradeable, bound to a specific deployed contract.

type ContextUpgradeableCaller

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

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

func NewContextUpgradeableCaller

func NewContextUpgradeableCaller(address common.Address, caller bind.ContractCaller) (*ContextUpgradeableCaller, error)

NewContextUpgradeableCaller creates a new read-only instance of ContextUpgradeable, bound to a specific deployed contract.

type ContextUpgradeableCallerRaw

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

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

func (*ContextUpgradeableCallerRaw) Call

func (_ContextUpgradeable *ContextUpgradeableCallerRaw) 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 ContextUpgradeableCallerSession

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

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

type ContextUpgradeableFilterer

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

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

func NewContextUpgradeableFilterer

func NewContextUpgradeableFilterer(address common.Address, filterer bind.ContractFilterer) (*ContextUpgradeableFilterer, error)

NewContextUpgradeableFilterer creates a new log filterer instance of ContextUpgradeable, bound to a specific deployed contract.

func (*ContextUpgradeableFilterer) FilterInitialized

func (_ContextUpgradeable *ContextUpgradeableFilterer) FilterInitialized(opts *bind.FilterOpts) (*ContextUpgradeableInitializedIterator, error)

FilterInitialized is a free log retrieval operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.

Solidity: event Initialized(uint8 version)

func (*ContextUpgradeableFilterer) ParseInitialized

func (_ContextUpgradeable *ContextUpgradeableFilterer) ParseInitialized(log types.Log) (*ContextUpgradeableInitialized, error)

ParseInitialized is a log parse operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.

Solidity: event Initialized(uint8 version)

func (*ContextUpgradeableFilterer) WatchInitialized

func (_ContextUpgradeable *ContextUpgradeableFilterer) WatchInitialized(opts *bind.WatchOpts, sink chan<- *ContextUpgradeableInitialized) (event.Subscription, error)

WatchInitialized is a free log subscription operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.

Solidity: event Initialized(uint8 version)

type ContextUpgradeableInitialized

type ContextUpgradeableInitialized struct {
	Version uint8
	Raw     types.Log // Blockchain specific contextual infos
}

ContextUpgradeableInitialized represents a Initialized event raised by the ContextUpgradeable contract.

type ContextUpgradeableInitializedIterator

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

ContextUpgradeableInitializedIterator is returned from FilterInitialized and is used to iterate over the raw logs and unpacked data for Initialized events raised by the ContextUpgradeable contract.

func (*ContextUpgradeableInitializedIterator) Close

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

func (*ContextUpgradeableInitializedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ContextUpgradeableInitializedIterator) 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 ContextUpgradeableRaw

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

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

func (*ContextUpgradeableRaw) Call

func (_ContextUpgradeable *ContextUpgradeableRaw) 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 (*ContextUpgradeableRaw) Transact

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

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

func (*ContextUpgradeableRaw) Transfer

func (_ContextUpgradeable *ContextUpgradeableRaw) 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 ContextUpgradeableSession

type ContextUpgradeableSession struct {
	Contract     *ContextUpgradeable // 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
}

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

type ContextUpgradeableTransactor

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

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

func NewContextUpgradeableTransactor

func NewContextUpgradeableTransactor(address common.Address, transactor bind.ContractTransactor) (*ContextUpgradeableTransactor, error)

NewContextUpgradeableTransactor creates a new write-only instance of ContextUpgradeable, bound to a specific deployed contract.

type ContextUpgradeableTransactorRaw

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

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

func (*ContextUpgradeableTransactorRaw) Transact

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

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

func (*ContextUpgradeableTransactorRaw) Transfer

func (_ContextUpgradeable *ContextUpgradeableTransactorRaw) 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 ContextUpgradeableTransactorSession

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

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

type GasDataLib

type GasDataLib struct {
	GasDataLibCaller     // Read-only binding to the contract
	GasDataLibTransactor // Write-only binding to the contract
	GasDataLibFilterer   // Log filterer for contract events
}

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

func DeployGasDataLib

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

DeployGasDataLib deploys a new Ethereum contract, binding an instance of GasDataLib to it.

func NewGasDataLib

func NewGasDataLib(address common.Address, backend bind.ContractBackend) (*GasDataLib, error)

NewGasDataLib creates a new instance of GasDataLib, bound to a specific deployed contract.

type GasDataLibCaller

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

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

func NewGasDataLibCaller

func NewGasDataLibCaller(address common.Address, caller bind.ContractCaller) (*GasDataLibCaller, error)

NewGasDataLibCaller creates a new read-only instance of GasDataLib, bound to a specific deployed contract.

type GasDataLibCallerRaw

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

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

func (*GasDataLibCallerRaw) Call

func (_GasDataLib *GasDataLibCallerRaw) 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 GasDataLibCallerSession

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

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

type GasDataLibFilterer

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

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

func NewGasDataLibFilterer

func NewGasDataLibFilterer(address common.Address, filterer bind.ContractFilterer) (*GasDataLibFilterer, error)

NewGasDataLibFilterer creates a new log filterer instance of GasDataLib, bound to a specific deployed contract.

type GasDataLibRaw

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

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

func (*GasDataLibRaw) Call

func (_GasDataLib *GasDataLibRaw) 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 (*GasDataLibRaw) Transact

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

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

func (*GasDataLibRaw) Transfer

func (_GasDataLib *GasDataLibRaw) 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 GasDataLibSession

type GasDataLibSession struct {
	Contract     *GasDataLib       // 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
}

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

type GasDataLibTransactor

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

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

func NewGasDataLibTransactor

func NewGasDataLibTransactor(address common.Address, transactor bind.ContractTransactor) (*GasDataLibTransactor, error)

NewGasDataLibTransactor creates a new write-only instance of GasDataLib, bound to a specific deployed contract.

type GasDataLibTransactorRaw

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

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

func (*GasDataLibTransactorRaw) Transact

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

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

func (*GasDataLibTransactorRaw) Transfer

func (_GasDataLib *GasDataLibTransactorRaw) 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 GasDataLibTransactorSession

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

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

type IAgentManager

type IAgentManager struct {
	IAgentManagerCaller     // Read-only binding to the contract
	IAgentManagerTransactor // Write-only binding to the contract
	IAgentManagerFilterer   // Log filterer for contract events
}

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

func NewIAgentManager

func NewIAgentManager(address common.Address, backend bind.ContractBackend) (*IAgentManager, error)

NewIAgentManager creates a new instance of IAgentManager, bound to a specific deployed contract.

type IAgentManagerCaller

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

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

func NewIAgentManagerCaller

func NewIAgentManagerCaller(address common.Address, caller bind.ContractCaller) (*IAgentManagerCaller, error)

NewIAgentManagerCaller creates a new read-only instance of IAgentManager, bound to a specific deployed contract.

func (*IAgentManagerCaller) AgentRoot

func (_IAgentManager *IAgentManagerCaller) AgentRoot(opts *bind.CallOpts) ([32]byte, error)

AgentRoot is a free data retrieval call binding the contract method 0x36cba43c.

Solidity: function agentRoot() view returns(bytes32)

func (*IAgentManagerCaller) AgentStatus

func (_IAgentManager *IAgentManagerCaller) AgentStatus(opts *bind.CallOpts, agent common.Address) (AgentStatus, error)

AgentStatus is a free data retrieval call binding the contract method 0x28f3fac9.

Solidity: function agentStatus(address agent) view returns((uint8,uint32,uint32))

func (*IAgentManagerCaller) DisputeStatus

func (_IAgentManager *IAgentManagerCaller) DisputeStatus(opts *bind.CallOpts, agent common.Address) (struct {
	Flag        uint8
	Rival       common.Address
	FraudProver common.Address
	DisputePtr  *big.Int
}, error)

DisputeStatus is a free data retrieval call binding the contract method 0x3463d1b1.

Solidity: function disputeStatus(address agent) view returns(uint8 flag, address rival, address fraudProver, uint256 disputePtr)

func (*IAgentManagerCaller) GetAgent

func (_IAgentManager *IAgentManagerCaller) GetAgent(opts *bind.CallOpts, index *big.Int) (struct {
	Agent  common.Address
	Status AgentStatus
}, error)

GetAgent is a free data retrieval call binding the contract method 0x2de5aaf7.

Solidity: function getAgent(uint256 index) view returns(address agent, (uint8,uint32,uint32) status)

func (*IAgentManagerCaller) GetDispute

func (_IAgentManager *IAgentManagerCaller) GetDispute(opts *bind.CallOpts, index *big.Int) (struct {
	Guard           common.Address
	Notary          common.Address
	SlashedAgent    common.Address
	FraudProver     common.Address
	ReportPayload   []byte
	ReportSignature []byte
}, error)

GetDispute is a free data retrieval call binding the contract method 0xe3a96cbd.

Solidity: function getDispute(uint256 index) view returns(address guard, address notary, address slashedAgent, address fraudProver, bytes reportPayload, bytes reportSignature)

func (*IAgentManagerCaller) GetDisputesAmount

func (_IAgentManager *IAgentManagerCaller) GetDisputesAmount(opts *bind.CallOpts) (*big.Int, error)

GetDisputesAmount is a free data retrieval call binding the contract method 0x3aaeccc6.

Solidity: function getDisputesAmount() view returns(uint256)

type IAgentManagerCallerRaw

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

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

func (*IAgentManagerCallerRaw) Call

func (_IAgentManager *IAgentManagerCallerRaw) 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 IAgentManagerCallerSession

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

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

func (*IAgentManagerCallerSession) AgentRoot

func (_IAgentManager *IAgentManagerCallerSession) AgentRoot() ([32]byte, error)

AgentRoot is a free data retrieval call binding the contract method 0x36cba43c.

Solidity: function agentRoot() view returns(bytes32)

func (*IAgentManagerCallerSession) AgentStatus

func (_IAgentManager *IAgentManagerCallerSession) AgentStatus(agent common.Address) (AgentStatus, error)

AgentStatus is a free data retrieval call binding the contract method 0x28f3fac9.

Solidity: function agentStatus(address agent) view returns((uint8,uint32,uint32))

func (*IAgentManagerCallerSession) DisputeStatus

func (_IAgentManager *IAgentManagerCallerSession) DisputeStatus(agent common.Address) (struct {
	Flag        uint8
	Rival       common.Address
	FraudProver common.Address
	DisputePtr  *big.Int
}, error)

DisputeStatus is a free data retrieval call binding the contract method 0x3463d1b1.

Solidity: function disputeStatus(address agent) view returns(uint8 flag, address rival, address fraudProver, uint256 disputePtr)

func (*IAgentManagerCallerSession) GetAgent

func (_IAgentManager *IAgentManagerCallerSession) GetAgent(index *big.Int) (struct {
	Agent  common.Address
	Status AgentStatus
}, error)

GetAgent is a free data retrieval call binding the contract method 0x2de5aaf7.

Solidity: function getAgent(uint256 index) view returns(address agent, (uint8,uint32,uint32) status)

func (*IAgentManagerCallerSession) GetDispute

func (_IAgentManager *IAgentManagerCallerSession) GetDispute(index *big.Int) (struct {
	Guard           common.Address
	Notary          common.Address
	SlashedAgent    common.Address
	FraudProver     common.Address
	ReportPayload   []byte
	ReportSignature []byte
}, error)

GetDispute is a free data retrieval call binding the contract method 0xe3a96cbd.

Solidity: function getDispute(uint256 index) view returns(address guard, address notary, address slashedAgent, address fraudProver, bytes reportPayload, bytes reportSignature)

func (*IAgentManagerCallerSession) GetDisputesAmount

func (_IAgentManager *IAgentManagerCallerSession) GetDisputesAmount() (*big.Int, error)

GetDisputesAmount is a free data retrieval call binding the contract method 0x3aaeccc6.

Solidity: function getDisputesAmount() view returns(uint256)

type IAgentManagerFilterer

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

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

func NewIAgentManagerFilterer

func NewIAgentManagerFilterer(address common.Address, filterer bind.ContractFilterer) (*IAgentManagerFilterer, error)

NewIAgentManagerFilterer creates a new log filterer instance of IAgentManager, bound to a specific deployed contract.

type IAgentManagerRaw

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

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

func (*IAgentManagerRaw) Call

func (_IAgentManager *IAgentManagerRaw) 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 (*IAgentManagerRaw) Transact

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

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

func (*IAgentManagerRaw) Transfer

func (_IAgentManager *IAgentManagerRaw) 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 IAgentManagerSession

type IAgentManagerSession struct {
	Contract     *IAgentManager    // 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
}

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

func (*IAgentManagerSession) AgentRoot

func (_IAgentManager *IAgentManagerSession) AgentRoot() ([32]byte, error)

AgentRoot is a free data retrieval call binding the contract method 0x36cba43c.

Solidity: function agentRoot() view returns(bytes32)

func (*IAgentManagerSession) AgentStatus

func (_IAgentManager *IAgentManagerSession) AgentStatus(agent common.Address) (AgentStatus, error)

AgentStatus is a free data retrieval call binding the contract method 0x28f3fac9.

Solidity: function agentStatus(address agent) view returns((uint8,uint32,uint32))

func (*IAgentManagerSession) DisputeStatus

func (_IAgentManager *IAgentManagerSession) DisputeStatus(agent common.Address) (struct {
	Flag        uint8
	Rival       common.Address
	FraudProver common.Address
	DisputePtr  *big.Int
}, error)

DisputeStatus is a free data retrieval call binding the contract method 0x3463d1b1.

Solidity: function disputeStatus(address agent) view returns(uint8 flag, address rival, address fraudProver, uint256 disputePtr)

func (*IAgentManagerSession) GetAgent

func (_IAgentManager *IAgentManagerSession) GetAgent(index *big.Int) (struct {
	Agent  common.Address
	Status AgentStatus
}, error)

GetAgent is a free data retrieval call binding the contract method 0x2de5aaf7.

Solidity: function getAgent(uint256 index) view returns(address agent, (uint8,uint32,uint32) status)

func (*IAgentManagerSession) GetDispute

func (_IAgentManager *IAgentManagerSession) GetDispute(index *big.Int) (struct {
	Guard           common.Address
	Notary          common.Address
	SlashedAgent    common.Address
	FraudProver     common.Address
	ReportPayload   []byte
	ReportSignature []byte
}, error)

GetDispute is a free data retrieval call binding the contract method 0xe3a96cbd.

Solidity: function getDispute(uint256 index) view returns(address guard, address notary, address slashedAgent, address fraudProver, bytes reportPayload, bytes reportSignature)

func (*IAgentManagerSession) GetDisputesAmount

func (_IAgentManager *IAgentManagerSession) GetDisputesAmount() (*big.Int, error)

GetDisputesAmount is a free data retrieval call binding the contract method 0x3aaeccc6.

Solidity: function getDisputesAmount() view returns(uint256)

func (*IAgentManagerSession) OpenDispute

func (_IAgentManager *IAgentManagerSession) OpenDispute(guardIndex uint32, notaryIndex uint32) (*types.Transaction, error)

OpenDispute is a paid mutator transaction binding the contract method 0xa2155c34.

Solidity: function openDispute(uint32 guardIndex, uint32 notaryIndex) returns()

func (*IAgentManagerSession) ResolveStuckDispute

func (_IAgentManager *IAgentManagerSession) ResolveStuckDispute(domain uint32, slashedAgent common.Address) (*types.Transaction, error)

ResolveStuckDispute is a paid mutator transaction binding the contract method 0x89791e17.

Solidity: function resolveStuckDispute(uint32 domain, address slashedAgent) returns()

func (*IAgentManagerSession) SlashAgent

func (_IAgentManager *IAgentManagerSession) SlashAgent(domain uint32, agent common.Address, prover common.Address) (*types.Transaction, error)

SlashAgent is a paid mutator transaction binding the contract method 0x2853a0e6.

Solidity: function slashAgent(uint32 domain, address agent, address prover) returns()

type IAgentManagerTransactor

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

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

func NewIAgentManagerTransactor

func NewIAgentManagerTransactor(address common.Address, transactor bind.ContractTransactor) (*IAgentManagerTransactor, error)

NewIAgentManagerTransactor creates a new write-only instance of IAgentManager, bound to a specific deployed contract.

func (*IAgentManagerTransactor) OpenDispute

func (_IAgentManager *IAgentManagerTransactor) OpenDispute(opts *bind.TransactOpts, guardIndex uint32, notaryIndex uint32) (*types.Transaction, error)

OpenDispute is a paid mutator transaction binding the contract method 0xa2155c34.

Solidity: function openDispute(uint32 guardIndex, uint32 notaryIndex) returns()

func (*IAgentManagerTransactor) ResolveStuckDispute

func (_IAgentManager *IAgentManagerTransactor) ResolveStuckDispute(opts *bind.TransactOpts, domain uint32, slashedAgent common.Address) (*types.Transaction, error)

ResolveStuckDispute is a paid mutator transaction binding the contract method 0x89791e17.

Solidity: function resolveStuckDispute(uint32 domain, address slashedAgent) returns()

func (*IAgentManagerTransactor) SlashAgent

func (_IAgentManager *IAgentManagerTransactor) SlashAgent(opts *bind.TransactOpts, domain uint32, agent common.Address, prover common.Address) (*types.Transaction, error)

SlashAgent is a paid mutator transaction binding the contract method 0x2853a0e6.

Solidity: function slashAgent(uint32 domain, address agent, address prover) returns()

type IAgentManagerTransactorRaw

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

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

func (*IAgentManagerTransactorRaw) Transact

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

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

func (*IAgentManagerTransactorRaw) Transfer

func (_IAgentManager *IAgentManagerTransactorRaw) 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 IAgentManagerTransactorSession

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

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

func (*IAgentManagerTransactorSession) OpenDispute

func (_IAgentManager *IAgentManagerTransactorSession) OpenDispute(guardIndex uint32, notaryIndex uint32) (*types.Transaction, error)

OpenDispute is a paid mutator transaction binding the contract method 0xa2155c34.

Solidity: function openDispute(uint32 guardIndex, uint32 notaryIndex) returns()

func (*IAgentManagerTransactorSession) ResolveStuckDispute

func (_IAgentManager *IAgentManagerTransactorSession) ResolveStuckDispute(domain uint32, slashedAgent common.Address) (*types.Transaction, error)

ResolveStuckDispute is a paid mutator transaction binding the contract method 0x89791e17.

Solidity: function resolveStuckDispute(uint32 domain, address slashedAgent) returns()

func (*IAgentManagerTransactorSession) SlashAgent

func (_IAgentManager *IAgentManagerTransactorSession) SlashAgent(domain uint32, agent common.Address, prover common.Address) (*types.Transaction, error)

SlashAgent is a paid mutator transaction binding the contract method 0x2853a0e6.

Solidity: function slashAgent(uint32 domain, address agent, address prover) returns()

type IAgentSecured

type IAgentSecured struct {
	IAgentSecuredCaller     // Read-only binding to the contract
	IAgentSecuredTransactor // Write-only binding to the contract
	IAgentSecuredFilterer   // Log filterer for contract events
}

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

func NewIAgentSecured

func NewIAgentSecured(address common.Address, backend bind.ContractBackend) (*IAgentSecured, error)

NewIAgentSecured creates a new instance of IAgentSecured, bound to a specific deployed contract.

type IAgentSecuredCaller

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

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

func NewIAgentSecuredCaller

func NewIAgentSecuredCaller(address common.Address, caller bind.ContractCaller) (*IAgentSecuredCaller, error)

NewIAgentSecuredCaller creates a new read-only instance of IAgentSecured, bound to a specific deployed contract.

func (*IAgentSecuredCaller) AgentManager

func (_IAgentSecured *IAgentSecuredCaller) AgentManager(opts *bind.CallOpts) (common.Address, error)

AgentManager is a free data retrieval call binding the contract method 0x7622f78d.

Solidity: function agentManager() view returns(address)

func (*IAgentSecuredCaller) AgentStatus

func (_IAgentSecured *IAgentSecuredCaller) AgentStatus(opts *bind.CallOpts, agent common.Address) (AgentStatus, error)

AgentStatus is a free data retrieval call binding the contract method 0x28f3fac9.

Solidity: function agentStatus(address agent) view returns((uint8,uint32,uint32))

func (*IAgentSecuredCaller) GetAgent

func (_IAgentSecured *IAgentSecuredCaller) GetAgent(opts *bind.CallOpts, index *big.Int) (struct {
	Agent  common.Address
	Status AgentStatus
}, error)

GetAgent is a free data retrieval call binding the contract method 0x2de5aaf7.

Solidity: function getAgent(uint256 index) view returns(address agent, (uint8,uint32,uint32) status)

func (*IAgentSecuredCaller) Inbox

func (_IAgentSecured *IAgentSecuredCaller) Inbox(opts *bind.CallOpts) (common.Address, error)

Inbox is a free data retrieval call binding the contract method 0xfb0e722b.

Solidity: function inbox() view returns(address)

type IAgentSecuredCallerRaw

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

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

func (*IAgentSecuredCallerRaw) Call

func (_IAgentSecured *IAgentSecuredCallerRaw) 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 IAgentSecuredCallerSession

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

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

func (*IAgentSecuredCallerSession) AgentManager

func (_IAgentSecured *IAgentSecuredCallerSession) AgentManager() (common.Address, error)

AgentManager is a free data retrieval call binding the contract method 0x7622f78d.

Solidity: function agentManager() view returns(address)

func (*IAgentSecuredCallerSession) AgentStatus

func (_IAgentSecured *IAgentSecuredCallerSession) AgentStatus(agent common.Address) (AgentStatus, error)

AgentStatus is a free data retrieval call binding the contract method 0x28f3fac9.

Solidity: function agentStatus(address agent) view returns((uint8,uint32,uint32))

func (*IAgentSecuredCallerSession) GetAgent

func (_IAgentSecured *IAgentSecuredCallerSession) GetAgent(index *big.Int) (struct {
	Agent  common.Address
	Status AgentStatus
}, error)

GetAgent is a free data retrieval call binding the contract method 0x2de5aaf7.

Solidity: function getAgent(uint256 index) view returns(address agent, (uint8,uint32,uint32) status)

func (*IAgentSecuredCallerSession) Inbox

func (_IAgentSecured *IAgentSecuredCallerSession) Inbox() (common.Address, error)

Inbox is a free data retrieval call binding the contract method 0xfb0e722b.

Solidity: function inbox() view returns(address)

type IAgentSecuredFilterer

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

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

func NewIAgentSecuredFilterer

func NewIAgentSecuredFilterer(address common.Address, filterer bind.ContractFilterer) (*IAgentSecuredFilterer, error)

NewIAgentSecuredFilterer creates a new log filterer instance of IAgentSecured, bound to a specific deployed contract.

type IAgentSecuredRaw

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

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

func (*IAgentSecuredRaw) Call

func (_IAgentSecured *IAgentSecuredRaw) 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 (*IAgentSecuredRaw) Transact

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

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

func (*IAgentSecuredRaw) Transfer

func (_IAgentSecured *IAgentSecuredRaw) 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 IAgentSecuredSession

type IAgentSecuredSession struct {
	Contract     *IAgentSecured    // 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
}

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

func (*IAgentSecuredSession) AgentManager

func (_IAgentSecured *IAgentSecuredSession) AgentManager() (common.Address, error)

AgentManager is a free data retrieval call binding the contract method 0x7622f78d.

Solidity: function agentManager() view returns(address)

func (*IAgentSecuredSession) AgentStatus

func (_IAgentSecured *IAgentSecuredSession) AgentStatus(agent common.Address) (AgentStatus, error)

AgentStatus is a free data retrieval call binding the contract method 0x28f3fac9.

Solidity: function agentStatus(address agent) view returns((uint8,uint32,uint32))

func (*IAgentSecuredSession) GetAgent

func (_IAgentSecured *IAgentSecuredSession) GetAgent(index *big.Int) (struct {
	Agent  common.Address
	Status AgentStatus
}, error)

GetAgent is a free data retrieval call binding the contract method 0x2de5aaf7.

Solidity: function getAgent(uint256 index) view returns(address agent, (uint8,uint32,uint32) status)

func (*IAgentSecuredSession) Inbox

func (_IAgentSecured *IAgentSecuredSession) Inbox() (common.Address, error)

Inbox is a free data retrieval call binding the contract method 0xfb0e722b.

Solidity: function inbox() view returns(address)

func (*IAgentSecuredSession) OpenDispute

func (_IAgentSecured *IAgentSecuredSession) OpenDispute(guardIndex uint32, notaryIndex uint32) (*types.Transaction, error)

OpenDispute is a paid mutator transaction binding the contract method 0xa2155c34.

Solidity: function openDispute(uint32 guardIndex, uint32 notaryIndex) returns()

func (*IAgentSecuredSession) ResolveDispute

func (_IAgentSecured *IAgentSecuredSession) ResolveDispute(slashedIndex uint32, rivalIndex uint32) (*types.Transaction, error)

ResolveDispute is a paid mutator transaction binding the contract method 0x61169218.

Solidity: function resolveDispute(uint32 slashedIndex, uint32 rivalIndex) returns()

type IAgentSecuredTransactor

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

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

func NewIAgentSecuredTransactor

func NewIAgentSecuredTransactor(address common.Address, transactor bind.ContractTransactor) (*IAgentSecuredTransactor, error)

NewIAgentSecuredTransactor creates a new write-only instance of IAgentSecured, bound to a specific deployed contract.

func (*IAgentSecuredTransactor) OpenDispute

func (_IAgentSecured *IAgentSecuredTransactor) OpenDispute(opts *bind.TransactOpts, guardIndex uint32, notaryIndex uint32) (*types.Transaction, error)

OpenDispute is a paid mutator transaction binding the contract method 0xa2155c34.

Solidity: function openDispute(uint32 guardIndex, uint32 notaryIndex) returns()

func (*IAgentSecuredTransactor) ResolveDispute

func (_IAgentSecured *IAgentSecuredTransactor) ResolveDispute(opts *bind.TransactOpts, slashedIndex uint32, rivalIndex uint32) (*types.Transaction, error)

ResolveDispute is a paid mutator transaction binding the contract method 0x61169218.

Solidity: function resolveDispute(uint32 slashedIndex, uint32 rivalIndex) returns()

type IAgentSecuredTransactorRaw

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

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

func (*IAgentSecuredTransactorRaw) Transact

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

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

func (*IAgentSecuredTransactorRaw) Transfer

func (_IAgentSecured *IAgentSecuredTransactorRaw) 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 IAgentSecuredTransactorSession

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

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

func (*IAgentSecuredTransactorSession) OpenDispute

func (_IAgentSecured *IAgentSecuredTransactorSession) OpenDispute(guardIndex uint32, notaryIndex uint32) (*types.Transaction, error)

OpenDispute is a paid mutator transaction binding the contract method 0xa2155c34.

Solidity: function openDispute(uint32 guardIndex, uint32 notaryIndex) returns()

func (*IAgentSecuredTransactorSession) ResolveDispute

func (_IAgentSecured *IAgentSecuredTransactorSession) ResolveDispute(slashedIndex uint32, rivalIndex uint32) (*types.Transaction, error)

ResolveDispute is a paid mutator transaction binding the contract method 0x61169218.

Solidity: function resolveDispute(uint32 slashedIndex, uint32 rivalIndex) returns()

type IStatementInbox

type IStatementInbox struct {
	IStatementInboxCaller     // Read-only binding to the contract
	IStatementInboxTransactor // Write-only binding to the contract
	IStatementInboxFilterer   // Log filterer for contract events
}

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

func NewIStatementInbox

func NewIStatementInbox(address common.Address, backend bind.ContractBackend) (*IStatementInbox, error)

NewIStatementInbox creates a new instance of IStatementInbox, bound to a specific deployed contract.

type IStatementInboxCaller

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

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

func NewIStatementInboxCaller

func NewIStatementInboxCaller(address common.Address, caller bind.ContractCaller) (*IStatementInboxCaller, error)

NewIStatementInboxCaller creates a new read-only instance of IStatementInbox, bound to a specific deployed contract.

func (*IStatementInboxCaller) GetGuardReport

func (_IStatementInbox *IStatementInboxCaller) GetGuardReport(opts *bind.CallOpts, index *big.Int) (struct {
	StatementPayload []byte
	ReportSignature  []byte
}, error)

GetGuardReport is a free data retrieval call binding the contract method 0xc495912b.

Solidity: function getGuardReport(uint256 index) view returns(bytes statementPayload, bytes reportSignature)

func (*IStatementInboxCaller) GetReportsAmount

func (_IStatementInbox *IStatementInboxCaller) GetReportsAmount(opts *bind.CallOpts) (*big.Int, error)

GetReportsAmount is a free data retrieval call binding the contract method 0x756ed01d.

Solidity: function getReportsAmount() view returns(uint256)

func (*IStatementInboxCaller) GetStoredSignature

func (_IStatementInbox *IStatementInboxCaller) GetStoredSignature(opts *bind.CallOpts, index *big.Int) ([]byte, error)

GetStoredSignature is a free data retrieval call binding the contract method 0xddeffa66.

Solidity: function getStoredSignature(uint256 index) view returns(bytes)

type IStatementInboxCallerRaw

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

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

func (*IStatementInboxCallerRaw) Call

func (_IStatementInbox *IStatementInboxCallerRaw) 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 IStatementInboxCallerSession

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

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

func (*IStatementInboxCallerSession) GetGuardReport

func (_IStatementInbox *IStatementInboxCallerSession) GetGuardReport(index *big.Int) (struct {
	StatementPayload []byte
	ReportSignature  []byte
}, error)

GetGuardReport is a free data retrieval call binding the contract method 0xc495912b.

Solidity: function getGuardReport(uint256 index) view returns(bytes statementPayload, bytes reportSignature)

func (*IStatementInboxCallerSession) GetReportsAmount

func (_IStatementInbox *IStatementInboxCallerSession) GetReportsAmount() (*big.Int, error)

GetReportsAmount is a free data retrieval call binding the contract method 0x756ed01d.

Solidity: function getReportsAmount() view returns(uint256)

func (*IStatementInboxCallerSession) GetStoredSignature

func (_IStatementInbox *IStatementInboxCallerSession) GetStoredSignature(index *big.Int) ([]byte, error)

GetStoredSignature is a free data retrieval call binding the contract method 0xddeffa66.

Solidity: function getStoredSignature(uint256 index) view returns(bytes)

type IStatementInboxFilterer

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

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

func NewIStatementInboxFilterer

func NewIStatementInboxFilterer(address common.Address, filterer bind.ContractFilterer) (*IStatementInboxFilterer, error)

NewIStatementInboxFilterer creates a new log filterer instance of IStatementInbox, bound to a specific deployed contract.

type IStatementInboxRaw

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

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

func (*IStatementInboxRaw) Call

func (_IStatementInbox *IStatementInboxRaw) 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 (*IStatementInboxRaw) Transact

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

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

func (*IStatementInboxRaw) Transfer

func (_IStatementInbox *IStatementInboxRaw) 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 IStatementInboxSession

type IStatementInboxSession struct {
	Contract     *IStatementInbox  // 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
}

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

func (*IStatementInboxSession) GetGuardReport

func (_IStatementInbox *IStatementInboxSession) GetGuardReport(index *big.Int) (struct {
	StatementPayload []byte
	ReportSignature  []byte
}, error)

GetGuardReport is a free data retrieval call binding the contract method 0xc495912b.

Solidity: function getGuardReport(uint256 index) view returns(bytes statementPayload, bytes reportSignature)

func (*IStatementInboxSession) GetReportsAmount

func (_IStatementInbox *IStatementInboxSession) GetReportsAmount() (*big.Int, error)

GetReportsAmount is a free data retrieval call binding the contract method 0x756ed01d.

Solidity: function getReportsAmount() view returns(uint256)

func (*IStatementInboxSession) GetStoredSignature

func (_IStatementInbox *IStatementInboxSession) GetStoredSignature(index *big.Int) ([]byte, error)

GetStoredSignature is a free data retrieval call binding the contract method 0xddeffa66.

Solidity: function getStoredSignature(uint256 index) view returns(bytes)

func (*IStatementInboxSession) SubmitStateReportWithAttestation

func (_IStatementInbox *IStatementInboxSession) SubmitStateReportWithAttestation(stateIndex *big.Int, srSignature []byte, snapPayload []byte, attPayload []byte, attSignature []byte) (*types.Transaction, error)

SubmitStateReportWithAttestation is a paid mutator transaction binding the contract method 0x0b6b985c.

Solidity: function submitStateReportWithAttestation(uint256 stateIndex, bytes srSignature, bytes snapPayload, bytes attPayload, bytes attSignature) returns(bool wasAccepted)

func (*IStatementInboxSession) SubmitStateReportWithSnapshot

func (_IStatementInbox *IStatementInboxSession) SubmitStateReportWithSnapshot(stateIndex *big.Int, srSignature []byte, snapPayload []byte, snapSignature []byte) (*types.Transaction, error)

SubmitStateReportWithSnapshot is a paid mutator transaction binding the contract method 0x62389709.

Solidity: function submitStateReportWithSnapshot(uint256 stateIndex, bytes srSignature, bytes snapPayload, bytes snapSignature) returns(bool wasAccepted)

func (*IStatementInboxSession) SubmitStateReportWithSnapshotProof

func (_IStatementInbox *IStatementInboxSession) SubmitStateReportWithSnapshotProof(stateIndex *big.Int, statePayload []byte, srSignature []byte, snapProof [][32]byte, attPayload []byte, attSignature []byte) (*types.Transaction, error)

SubmitStateReportWithSnapshotProof is a paid mutator transaction binding the contract method 0x0db27e77.

Solidity: function submitStateReportWithSnapshotProof(uint256 stateIndex, bytes statePayload, bytes srSignature, bytes32[] snapProof, bytes attPayload, bytes attSignature) returns(bool wasAccepted)

func (*IStatementInboxSession) VerifyReceipt

func (_IStatementInbox *IStatementInboxSession) VerifyReceipt(rcptPayload []byte, rcptSignature []byte) (*types.Transaction, error)

VerifyReceipt is a paid mutator transaction binding the contract method 0xc25aa585.

Solidity: function verifyReceipt(bytes rcptPayload, bytes rcptSignature) returns(bool isValidReceipt)

func (*IStatementInboxSession) VerifyReceiptReport

func (_IStatementInbox *IStatementInboxSession) VerifyReceiptReport(rcptPayload []byte, rrSignature []byte) (*types.Transaction, error)

VerifyReceiptReport is a paid mutator transaction binding the contract method 0x91af2e5d.

Solidity: function verifyReceiptReport(bytes rcptPayload, bytes rrSignature) returns(bool isValidReport)

func (*IStatementInboxSession) VerifyStateReport

func (_IStatementInbox *IStatementInboxSession) VerifyStateReport(statePayload []byte, srSignature []byte) (*types.Transaction, error)

VerifyStateReport is a paid mutator transaction binding the contract method 0xdfe39675.

Solidity: function verifyStateReport(bytes statePayload, bytes srSignature) returns(bool isValidReport)

func (*IStatementInboxSession) VerifyStateWithAttestation

func (_IStatementInbox *IStatementInboxSession) VerifyStateWithAttestation(stateIndex *big.Int, snapPayload []byte, attPayload []byte, attSignature []byte) (*types.Transaction, error)

VerifyStateWithAttestation is a paid mutator transaction binding the contract method 0x200f6b66.

Solidity: function verifyStateWithAttestation(uint256 stateIndex, bytes snapPayload, bytes attPayload, bytes attSignature) returns(bool isValidState)

func (*IStatementInboxSession) VerifyStateWithSnapshot

func (_IStatementInbox *IStatementInboxSession) VerifyStateWithSnapshot(stateIndex *big.Int, snapPayload []byte, snapSignature []byte) (*types.Transaction, error)

VerifyStateWithSnapshot is a paid mutator transaction binding the contract method 0x213a6ddb.

Solidity: function verifyStateWithSnapshot(uint256 stateIndex, bytes snapPayload, bytes snapSignature) returns(bool isValidState)

func (*IStatementInboxSession) VerifyStateWithSnapshotProof

func (_IStatementInbox *IStatementInboxSession) VerifyStateWithSnapshotProof(stateIndex *big.Int, statePayload []byte, snapProof [][32]byte, attPayload []byte, attSignature []byte) (*types.Transaction, error)

VerifyStateWithSnapshotProof is a paid mutator transaction binding the contract method 0x7be8e738.

Solidity: function verifyStateWithSnapshotProof(uint256 stateIndex, bytes statePayload, bytes32[] snapProof, bytes attPayload, bytes attSignature) returns(bool isValidState)

type IStatementInboxTransactor

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

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

func NewIStatementInboxTransactor

func NewIStatementInboxTransactor(address common.Address, transactor bind.ContractTransactor) (*IStatementInboxTransactor, error)

NewIStatementInboxTransactor creates a new write-only instance of IStatementInbox, bound to a specific deployed contract.

func (*IStatementInboxTransactor) SubmitStateReportWithAttestation

func (_IStatementInbox *IStatementInboxTransactor) SubmitStateReportWithAttestation(opts *bind.TransactOpts, stateIndex *big.Int, srSignature []byte, snapPayload []byte, attPayload []byte, attSignature []byte) (*types.Transaction, error)

SubmitStateReportWithAttestation is a paid mutator transaction binding the contract method 0x0b6b985c.

Solidity: function submitStateReportWithAttestation(uint256 stateIndex, bytes srSignature, bytes snapPayload, bytes attPayload, bytes attSignature) returns(bool wasAccepted)

func (*IStatementInboxTransactor) SubmitStateReportWithSnapshot

func (_IStatementInbox *IStatementInboxTransactor) SubmitStateReportWithSnapshot(opts *bind.TransactOpts, stateIndex *big.Int, srSignature []byte, snapPayload []byte, snapSignature []byte) (*types.Transaction, error)

SubmitStateReportWithSnapshot is a paid mutator transaction binding the contract method 0x62389709.

Solidity: function submitStateReportWithSnapshot(uint256 stateIndex, bytes srSignature, bytes snapPayload, bytes snapSignature) returns(bool wasAccepted)

func (*IStatementInboxTransactor) SubmitStateReportWithSnapshotProof

func (_IStatementInbox *IStatementInboxTransactor) SubmitStateReportWithSnapshotProof(opts *bind.TransactOpts, stateIndex *big.Int, statePayload []byte, srSignature []byte, snapProof [][32]byte, attPayload []byte, attSignature []byte) (*types.Transaction, error)

SubmitStateReportWithSnapshotProof is a paid mutator transaction binding the contract method 0x0db27e77.

Solidity: function submitStateReportWithSnapshotProof(uint256 stateIndex, bytes statePayload, bytes srSignature, bytes32[] snapProof, bytes attPayload, bytes attSignature) returns(bool wasAccepted)

func (*IStatementInboxTransactor) VerifyReceipt

func (_IStatementInbox *IStatementInboxTransactor) VerifyReceipt(opts *bind.TransactOpts, rcptPayload []byte, rcptSignature []byte) (*types.Transaction, error)

VerifyReceipt is a paid mutator transaction binding the contract method 0xc25aa585.

Solidity: function verifyReceipt(bytes rcptPayload, bytes rcptSignature) returns(bool isValidReceipt)

func (*IStatementInboxTransactor) VerifyReceiptReport

func (_IStatementInbox *IStatementInboxTransactor) VerifyReceiptReport(opts *bind.TransactOpts, rcptPayload []byte, rrSignature []byte) (*types.Transaction, error)

VerifyReceiptReport is a paid mutator transaction binding the contract method 0x91af2e5d.

Solidity: function verifyReceiptReport(bytes rcptPayload, bytes rrSignature) returns(bool isValidReport)

func (*IStatementInboxTransactor) VerifyStateReport

func (_IStatementInbox *IStatementInboxTransactor) VerifyStateReport(opts *bind.TransactOpts, statePayload []byte, srSignature []byte) (*types.Transaction, error)

VerifyStateReport is a paid mutator transaction binding the contract method 0xdfe39675.

Solidity: function verifyStateReport(bytes statePayload, bytes srSignature) returns(bool isValidReport)

func (*IStatementInboxTransactor) VerifyStateWithAttestation

func (_IStatementInbox *IStatementInboxTransactor) VerifyStateWithAttestation(opts *bind.TransactOpts, stateIndex *big.Int, snapPayload []byte, attPayload []byte, attSignature []byte) (*types.Transaction, error)

VerifyStateWithAttestation is a paid mutator transaction binding the contract method 0x200f6b66.

Solidity: function verifyStateWithAttestation(uint256 stateIndex, bytes snapPayload, bytes attPayload, bytes attSignature) returns(bool isValidState)

func (*IStatementInboxTransactor) VerifyStateWithSnapshot

func (_IStatementInbox *IStatementInboxTransactor) VerifyStateWithSnapshot(opts *bind.TransactOpts, stateIndex *big.Int, snapPayload []byte, snapSignature []byte) (*types.Transaction, error)

VerifyStateWithSnapshot is a paid mutator transaction binding the contract method 0x213a6ddb.

Solidity: function verifyStateWithSnapshot(uint256 stateIndex, bytes snapPayload, bytes snapSignature) returns(bool isValidState)

func (*IStatementInboxTransactor) VerifyStateWithSnapshotProof

func (_IStatementInbox *IStatementInboxTransactor) VerifyStateWithSnapshotProof(opts *bind.TransactOpts, stateIndex *big.Int, statePayload []byte, snapProof [][32]byte, attPayload []byte, attSignature []byte) (*types.Transaction, error)

VerifyStateWithSnapshotProof is a paid mutator transaction binding the contract method 0x7be8e738.

Solidity: function verifyStateWithSnapshotProof(uint256 stateIndex, bytes statePayload, bytes32[] snapProof, bytes attPayload, bytes attSignature) returns(bool isValidState)

type IStatementInboxTransactorRaw

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

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

func (*IStatementInboxTransactorRaw) Transact

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

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

func (*IStatementInboxTransactorRaw) Transfer

func (_IStatementInbox *IStatementInboxTransactorRaw) 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 IStatementInboxTransactorSession

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

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

func (*IStatementInboxTransactorSession) SubmitStateReportWithAttestation

func (_IStatementInbox *IStatementInboxTransactorSession) SubmitStateReportWithAttestation(stateIndex *big.Int, srSignature []byte, snapPayload []byte, attPayload []byte, attSignature []byte) (*types.Transaction, error)

SubmitStateReportWithAttestation is a paid mutator transaction binding the contract method 0x0b6b985c.

Solidity: function submitStateReportWithAttestation(uint256 stateIndex, bytes srSignature, bytes snapPayload, bytes attPayload, bytes attSignature) returns(bool wasAccepted)

func (*IStatementInboxTransactorSession) SubmitStateReportWithSnapshot

func (_IStatementInbox *IStatementInboxTransactorSession) SubmitStateReportWithSnapshot(stateIndex *big.Int, srSignature []byte, snapPayload []byte, snapSignature []byte) (*types.Transaction, error)

SubmitStateReportWithSnapshot is a paid mutator transaction binding the contract method 0x62389709.

Solidity: function submitStateReportWithSnapshot(uint256 stateIndex, bytes srSignature, bytes snapPayload, bytes snapSignature) returns(bool wasAccepted)

func (*IStatementInboxTransactorSession) SubmitStateReportWithSnapshotProof

func (_IStatementInbox *IStatementInboxTransactorSession) SubmitStateReportWithSnapshotProof(stateIndex *big.Int, statePayload []byte, srSignature []byte, snapProof [][32]byte, attPayload []byte, attSignature []byte) (*types.Transaction, error)

SubmitStateReportWithSnapshotProof is a paid mutator transaction binding the contract method 0x0db27e77.

Solidity: function submitStateReportWithSnapshotProof(uint256 stateIndex, bytes statePayload, bytes srSignature, bytes32[] snapProof, bytes attPayload, bytes attSignature) returns(bool wasAccepted)

func (*IStatementInboxTransactorSession) VerifyReceipt

func (_IStatementInbox *IStatementInboxTransactorSession) VerifyReceipt(rcptPayload []byte, rcptSignature []byte) (*types.Transaction, error)

VerifyReceipt is a paid mutator transaction binding the contract method 0xc25aa585.

Solidity: function verifyReceipt(bytes rcptPayload, bytes rcptSignature) returns(bool isValidReceipt)

func (*IStatementInboxTransactorSession) VerifyReceiptReport

func (_IStatementInbox *IStatementInboxTransactorSession) VerifyReceiptReport(rcptPayload []byte, rrSignature []byte) (*types.Transaction, error)

VerifyReceiptReport is a paid mutator transaction binding the contract method 0x91af2e5d.

Solidity: function verifyReceiptReport(bytes rcptPayload, bytes rrSignature) returns(bool isValidReport)

func (*IStatementInboxTransactorSession) VerifyStateReport

func (_IStatementInbox *IStatementInboxTransactorSession) VerifyStateReport(statePayload []byte, srSignature []byte) (*types.Transaction, error)

VerifyStateReport is a paid mutator transaction binding the contract method 0xdfe39675.

Solidity: function verifyStateReport(bytes statePayload, bytes srSignature) returns(bool isValidReport)

func (*IStatementInboxTransactorSession) VerifyStateWithAttestation

func (_IStatementInbox *IStatementInboxTransactorSession) VerifyStateWithAttestation(stateIndex *big.Int, snapPayload []byte, attPayload []byte, attSignature []byte) (*types.Transaction, error)

VerifyStateWithAttestation is a paid mutator transaction binding the contract method 0x200f6b66.

Solidity: function verifyStateWithAttestation(uint256 stateIndex, bytes snapPayload, bytes attPayload, bytes attSignature) returns(bool isValidState)

func (*IStatementInboxTransactorSession) VerifyStateWithSnapshot

func (_IStatementInbox *IStatementInboxTransactorSession) VerifyStateWithSnapshot(stateIndex *big.Int, snapPayload []byte, snapSignature []byte) (*types.Transaction, error)

VerifyStateWithSnapshot is a paid mutator transaction binding the contract method 0x213a6ddb.

Solidity: function verifyStateWithSnapshot(uint256 stateIndex, bytes snapPayload, bytes snapSignature) returns(bool isValidState)

func (*IStatementInboxTransactorSession) VerifyStateWithSnapshotProof

func (_IStatementInbox *IStatementInboxTransactorSession) VerifyStateWithSnapshotProof(stateIndex *big.Int, statePayload []byte, snapProof [][32]byte, attPayload []byte, attSignature []byte) (*types.Transaction, error)

VerifyStateWithSnapshotProof is a paid mutator transaction binding the contract method 0x7be8e738.

Solidity: function verifyStateWithSnapshotProof(uint256 stateIndex, bytes statePayload, bytes32[] snapProof, bytes attPayload, bytes attSignature) returns(bool isValidState)

type Initializable

type Initializable struct {
	InitializableCaller     // Read-only binding to the contract
	InitializableTransactor // Write-only binding to the contract
	InitializableFilterer   // Log filterer for contract events
}

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

func NewInitializable

func NewInitializable(address common.Address, backend bind.ContractBackend) (*Initializable, error)

NewInitializable creates a new instance of Initializable, bound to a specific deployed contract.

type InitializableCaller

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

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

func NewInitializableCaller

func NewInitializableCaller(address common.Address, caller bind.ContractCaller) (*InitializableCaller, error)

NewInitializableCaller creates a new read-only instance of Initializable, bound to a specific deployed contract.

type InitializableCallerRaw

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

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

func (*InitializableCallerRaw) Call

func (_Initializable *InitializableCallerRaw) 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 InitializableCallerSession

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

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

type InitializableFilterer

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

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

func NewInitializableFilterer

func NewInitializableFilterer(address common.Address, filterer bind.ContractFilterer) (*InitializableFilterer, error)

NewInitializableFilterer creates a new log filterer instance of Initializable, bound to a specific deployed contract.

func (*InitializableFilterer) FilterInitialized

func (_Initializable *InitializableFilterer) FilterInitialized(opts *bind.FilterOpts) (*InitializableInitializedIterator, error)

FilterInitialized is a free log retrieval operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.

Solidity: event Initialized(uint8 version)

func (*InitializableFilterer) ParseInitialized

func (_Initializable *InitializableFilterer) ParseInitialized(log types.Log) (*InitializableInitialized, error)

ParseInitialized is a log parse operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.

Solidity: event Initialized(uint8 version)

func (*InitializableFilterer) WatchInitialized

func (_Initializable *InitializableFilterer) WatchInitialized(opts *bind.WatchOpts, sink chan<- *InitializableInitialized) (event.Subscription, error)

WatchInitialized is a free log subscription operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.

Solidity: event Initialized(uint8 version)

type InitializableInitialized

type InitializableInitialized struct {
	Version uint8
	Raw     types.Log // Blockchain specific contextual infos
}

InitializableInitialized represents a Initialized event raised by the Initializable contract.

type InitializableInitializedIterator

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

InitializableInitializedIterator is returned from FilterInitialized and is used to iterate over the raw logs and unpacked data for Initialized events raised by the Initializable contract.

func (*InitializableInitializedIterator) Close

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

func (*InitializableInitializedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*InitializableInitializedIterator) 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 InitializableRaw

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

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

func (*InitializableRaw) Call

func (_Initializable *InitializableRaw) 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 (*InitializableRaw) Transact

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

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

func (*InitializableRaw) Transfer

func (_Initializable *InitializableRaw) 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 InitializableSession

type InitializableSession struct {
	Contract     *Initializable    // 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
}

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

type InitializableTransactor

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

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

func NewInitializableTransactor

func NewInitializableTransactor(address common.Address, transactor bind.ContractTransactor) (*InitializableTransactor, error)

NewInitializableTransactor creates a new write-only instance of Initializable, bound to a specific deployed contract.

type InitializableTransactorRaw

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

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

func (*InitializableTransactorRaw) Transact

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

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

func (*InitializableTransactorRaw) Transfer

func (_Initializable *InitializableTransactorRaw) 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 InitializableTransactorSession

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

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

type InterfaceBondingManager

type InterfaceBondingManager struct {
	InterfaceBondingManagerCaller     // Read-only binding to the contract
	InterfaceBondingManagerTransactor // Write-only binding to the contract
	InterfaceBondingManagerFilterer   // Log filterer for contract events
}

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

func NewInterfaceBondingManager

func NewInterfaceBondingManager(address common.Address, backend bind.ContractBackend) (*InterfaceBondingManager, error)

NewInterfaceBondingManager creates a new instance of InterfaceBondingManager, bound to a specific deployed contract.

type InterfaceBondingManagerCaller

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

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

func NewInterfaceBondingManagerCaller

func NewInterfaceBondingManagerCaller(address common.Address, caller bind.ContractCaller) (*InterfaceBondingManagerCaller, error)

NewInterfaceBondingManagerCaller creates a new read-only instance of InterfaceBondingManager, bound to a specific deployed contract.

func (*InterfaceBondingManagerCaller) AgentLeaf

func (_InterfaceBondingManager *InterfaceBondingManagerCaller) AgentLeaf(opts *bind.CallOpts, agent common.Address) ([32]byte, error)

AgentLeaf is a free data retrieval call binding the contract method 0xc99dcb9e.

Solidity: function agentLeaf(address agent) view returns(bytes32 leaf)

func (*InterfaceBondingManagerCaller) AllLeafs

func (_InterfaceBondingManager *InterfaceBondingManagerCaller) AllLeafs(opts *bind.CallOpts) ([][32]byte, error)

AllLeafs is a free data retrieval call binding the contract method 0x12db2ef6.

Solidity: function allLeafs() view returns(bytes32[] leafs)

func (*InterfaceBondingManagerCaller) GetActiveAgents

func (_InterfaceBondingManager *InterfaceBondingManagerCaller) GetActiveAgents(opts *bind.CallOpts, domain uint32) ([]common.Address, error)

GetActiveAgents is a free data retrieval call binding the contract method 0xc1c0f4f6.

Solidity: function getActiveAgents(uint32 domain) view returns(address[] agents)

func (*InterfaceBondingManagerCaller) GetLeafs

func (_InterfaceBondingManager *InterfaceBondingManagerCaller) GetLeafs(opts *bind.CallOpts, indexFrom *big.Int, amount *big.Int) ([][32]byte, error)

GetLeafs is a free data retrieval call binding the contract method 0x33d1b2e8.

Solidity: function getLeafs(uint256 indexFrom, uint256 amount) view returns(bytes32[] leafs)

func (*InterfaceBondingManagerCaller) GetProof

func (_InterfaceBondingManager *InterfaceBondingManagerCaller) GetProof(opts *bind.CallOpts, agent common.Address) ([][32]byte, error)

GetProof is a free data retrieval call binding the contract method 0x3eea79d1.

Solidity: function getProof(address agent) view returns(bytes32[] proof)

func (*InterfaceBondingManagerCaller) LeafsAmount

func (_InterfaceBondingManager *InterfaceBondingManagerCaller) LeafsAmount(opts *bind.CallOpts) (*big.Int, error)

LeafsAmount is a free data retrieval call binding the contract method 0x33c3a8f3.

Solidity: function leafsAmount() view returns(uint256 amount)

type InterfaceBondingManagerCallerRaw

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

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

func (*InterfaceBondingManagerCallerRaw) Call

func (_InterfaceBondingManager *InterfaceBondingManagerCallerRaw) 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 InterfaceBondingManagerCallerSession

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

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

func (*InterfaceBondingManagerCallerSession) AgentLeaf

func (_InterfaceBondingManager *InterfaceBondingManagerCallerSession) AgentLeaf(agent common.Address) ([32]byte, error)

AgentLeaf is a free data retrieval call binding the contract method 0xc99dcb9e.

Solidity: function agentLeaf(address agent) view returns(bytes32 leaf)

func (*InterfaceBondingManagerCallerSession) AllLeafs

func (_InterfaceBondingManager *InterfaceBondingManagerCallerSession) AllLeafs() ([][32]byte, error)

AllLeafs is a free data retrieval call binding the contract method 0x12db2ef6.

Solidity: function allLeafs() view returns(bytes32[] leafs)

func (*InterfaceBondingManagerCallerSession) GetActiveAgents

func (_InterfaceBondingManager *InterfaceBondingManagerCallerSession) GetActiveAgents(domain uint32) ([]common.Address, error)

GetActiveAgents is a free data retrieval call binding the contract method 0xc1c0f4f6.

Solidity: function getActiveAgents(uint32 domain) view returns(address[] agents)

func (*InterfaceBondingManagerCallerSession) GetLeafs

func (_InterfaceBondingManager *InterfaceBondingManagerCallerSession) GetLeafs(indexFrom *big.Int, amount *big.Int) ([][32]byte, error)

GetLeafs is a free data retrieval call binding the contract method 0x33d1b2e8.

Solidity: function getLeafs(uint256 indexFrom, uint256 amount) view returns(bytes32[] leafs)

func (*InterfaceBondingManagerCallerSession) GetProof

func (_InterfaceBondingManager *InterfaceBondingManagerCallerSession) GetProof(agent common.Address) ([][32]byte, error)

GetProof is a free data retrieval call binding the contract method 0x3eea79d1.

Solidity: function getProof(address agent) view returns(bytes32[] proof)

func (*InterfaceBondingManagerCallerSession) LeafsAmount

func (_InterfaceBondingManager *InterfaceBondingManagerCallerSession) LeafsAmount() (*big.Int, error)

LeafsAmount is a free data retrieval call binding the contract method 0x33c3a8f3.

Solidity: function leafsAmount() view returns(uint256 amount)

type InterfaceBondingManagerFilterer

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

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

func NewInterfaceBondingManagerFilterer

func NewInterfaceBondingManagerFilterer(address common.Address, filterer bind.ContractFilterer) (*InterfaceBondingManagerFilterer, error)

NewInterfaceBondingManagerFilterer creates a new log filterer instance of InterfaceBondingManager, bound to a specific deployed contract.

type InterfaceBondingManagerRaw

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

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

func (*InterfaceBondingManagerRaw) Call

func (_InterfaceBondingManager *InterfaceBondingManagerRaw) 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 (*InterfaceBondingManagerRaw) Transact

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

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

func (*InterfaceBondingManagerRaw) Transfer

func (_InterfaceBondingManager *InterfaceBondingManagerRaw) 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 InterfaceBondingManagerSession

type InterfaceBondingManagerSession struct {
	Contract     *InterfaceBondingManager // 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
}

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

func (*InterfaceBondingManagerSession) AddAgent

func (_InterfaceBondingManager *InterfaceBondingManagerSession) AddAgent(domain uint32, agent common.Address, proof [][32]byte) (*types.Transaction, error)

AddAgent is a paid mutator transaction binding the contract method 0x237a85a5.

Solidity: function addAgent(uint32 domain, address agent, bytes32[] proof) returns()

func (*InterfaceBondingManagerSession) AgentLeaf

func (_InterfaceBondingManager *InterfaceBondingManagerSession) AgentLeaf(agent common.Address) ([32]byte, error)

AgentLeaf is a free data retrieval call binding the contract method 0xc99dcb9e.

Solidity: function agentLeaf(address agent) view returns(bytes32 leaf)

func (*InterfaceBondingManagerSession) AllLeafs

func (_InterfaceBondingManager *InterfaceBondingManagerSession) AllLeafs() ([][32]byte, error)

AllLeafs is a free data retrieval call binding the contract method 0x12db2ef6.

Solidity: function allLeafs() view returns(bytes32[] leafs)

func (*InterfaceBondingManagerSession) CompleteSlashing

func (_InterfaceBondingManager *InterfaceBondingManagerSession) CompleteSlashing(domain uint32, agent common.Address, proof [][32]byte) (*types.Transaction, error)

CompleteSlashing is a paid mutator transaction binding the contract method 0xfbc5265e.

Solidity: function completeSlashing(uint32 domain, address agent, bytes32[] proof) returns()

func (*InterfaceBondingManagerSession) CompleteUnstaking

func (_InterfaceBondingManager *InterfaceBondingManagerSession) CompleteUnstaking(domain uint32, agent common.Address, proof [][32]byte) (*types.Transaction, error)

CompleteUnstaking is a paid mutator transaction binding the contract method 0x4c3e1c1f.

Solidity: function completeUnstaking(uint32 domain, address agent, bytes32[] proof) returns()

func (*InterfaceBondingManagerSession) GetActiveAgents

func (_InterfaceBondingManager *InterfaceBondingManagerSession) GetActiveAgents(domain uint32) ([]common.Address, error)

GetActiveAgents is a free data retrieval call binding the contract method 0xc1c0f4f6.

Solidity: function getActiveAgents(uint32 domain) view returns(address[] agents)

func (*InterfaceBondingManagerSession) GetLeafs

func (_InterfaceBondingManager *InterfaceBondingManagerSession) GetLeafs(indexFrom *big.Int, amount *big.Int) ([][32]byte, error)

GetLeafs is a free data retrieval call binding the contract method 0x33d1b2e8.

Solidity: function getLeafs(uint256 indexFrom, uint256 amount) view returns(bytes32[] leafs)

func (*InterfaceBondingManagerSession) GetProof

func (_InterfaceBondingManager *InterfaceBondingManagerSession) GetProof(agent common.Address) ([][32]byte, error)

GetProof is a free data retrieval call binding the contract method 0x3eea79d1.

Solidity: function getProof(address agent) view returns(bytes32[] proof)

func (*InterfaceBondingManagerSession) InitiateUnstaking

func (_InterfaceBondingManager *InterfaceBondingManagerSession) InitiateUnstaking(domain uint32, agent common.Address, proof [][32]byte) (*types.Transaction, error)

InitiateUnstaking is a paid mutator transaction binding the contract method 0x130c5673.

Solidity: function initiateUnstaking(uint32 domain, address agent, bytes32[] proof) returns()

func (*InterfaceBondingManagerSession) LeafsAmount

func (_InterfaceBondingManager *InterfaceBondingManagerSession) LeafsAmount() (*big.Int, error)

LeafsAmount is a free data retrieval call binding the contract method 0x33c3a8f3.

Solidity: function leafsAmount() view returns(uint256 amount)

func (*InterfaceBondingManagerSession) RemoteSlashAgent

func (_InterfaceBondingManager *InterfaceBondingManagerSession) RemoteSlashAgent(msgOrigin uint32, proofMaturity *big.Int, domain uint32, agent common.Address, prover common.Address) (*types.Transaction, error)

RemoteSlashAgent is a paid mutator transaction binding the contract method 0x9d228a51.

Solidity: function remoteSlashAgent(uint32 msgOrigin, uint256 proofMaturity, uint32 domain, address agent, address prover) returns(bytes4 magicValue)

func (*InterfaceBondingManagerSession) WithdrawTips

func (_InterfaceBondingManager *InterfaceBondingManagerSession) WithdrawTips(recipient common.Address, origin uint32, amount *big.Int) (*types.Transaction, error)

WithdrawTips is a paid mutator transaction binding the contract method 0xcc875501.

Solidity: function withdrawTips(address recipient, uint32 origin, uint256 amount) returns()

type InterfaceBondingManagerTransactor

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

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

func NewInterfaceBondingManagerTransactor

func NewInterfaceBondingManagerTransactor(address common.Address, transactor bind.ContractTransactor) (*InterfaceBondingManagerTransactor, error)

NewInterfaceBondingManagerTransactor creates a new write-only instance of InterfaceBondingManager, bound to a specific deployed contract.

func (*InterfaceBondingManagerTransactor) AddAgent

func (_InterfaceBondingManager *InterfaceBondingManagerTransactor) AddAgent(opts *bind.TransactOpts, domain uint32, agent common.Address, proof [][32]byte) (*types.Transaction, error)

AddAgent is a paid mutator transaction binding the contract method 0x237a85a5.

Solidity: function addAgent(uint32 domain, address agent, bytes32[] proof) returns()

func (*InterfaceBondingManagerTransactor) CompleteSlashing

func (_InterfaceBondingManager *InterfaceBondingManagerTransactor) CompleteSlashing(opts *bind.TransactOpts, domain uint32, agent common.Address, proof [][32]byte) (*types.Transaction, error)

CompleteSlashing is a paid mutator transaction binding the contract method 0xfbc5265e.

Solidity: function completeSlashing(uint32 domain, address agent, bytes32[] proof) returns()

func (*InterfaceBondingManagerTransactor) CompleteUnstaking

func (_InterfaceBondingManager *InterfaceBondingManagerTransactor) CompleteUnstaking(opts *bind.TransactOpts, domain uint32, agent common.Address, proof [][32]byte) (*types.Transaction, error)

CompleteUnstaking is a paid mutator transaction binding the contract method 0x4c3e1c1f.

Solidity: function completeUnstaking(uint32 domain, address agent, bytes32[] proof) returns()

func (*InterfaceBondingManagerTransactor) InitiateUnstaking

func (_InterfaceBondingManager *InterfaceBondingManagerTransactor) InitiateUnstaking(opts *bind.TransactOpts, domain uint32, agent common.Address, proof [][32]byte) (*types.Transaction, error)

InitiateUnstaking is a paid mutator transaction binding the contract method 0x130c5673.

Solidity: function initiateUnstaking(uint32 domain, address agent, bytes32[] proof) returns()

func (*InterfaceBondingManagerTransactor) RemoteSlashAgent

func (_InterfaceBondingManager *InterfaceBondingManagerTransactor) RemoteSlashAgent(opts *bind.TransactOpts, msgOrigin uint32, proofMaturity *big.Int, domain uint32, agent common.Address, prover common.Address) (*types.Transaction, error)

RemoteSlashAgent is a paid mutator transaction binding the contract method 0x9d228a51.

Solidity: function remoteSlashAgent(uint32 msgOrigin, uint256 proofMaturity, uint32 domain, address agent, address prover) returns(bytes4 magicValue)

func (*InterfaceBondingManagerTransactor) WithdrawTips

func (_InterfaceBondingManager *InterfaceBondingManagerTransactor) WithdrawTips(opts *bind.TransactOpts, recipient common.Address, origin uint32, amount *big.Int) (*types.Transaction, error)

WithdrawTips is a paid mutator transaction binding the contract method 0xcc875501.

Solidity: function withdrawTips(address recipient, uint32 origin, uint256 amount) returns()

type InterfaceBondingManagerTransactorRaw

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

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

func (*InterfaceBondingManagerTransactorRaw) Transact

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

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

func (*InterfaceBondingManagerTransactorRaw) Transfer

func (_InterfaceBondingManager *InterfaceBondingManagerTransactorRaw) 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 InterfaceBondingManagerTransactorSession

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

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

func (*InterfaceBondingManagerTransactorSession) AddAgent

func (_InterfaceBondingManager *InterfaceBondingManagerTransactorSession) AddAgent(domain uint32, agent common.Address, proof [][32]byte) (*types.Transaction, error)

AddAgent is a paid mutator transaction binding the contract method 0x237a85a5.

Solidity: function addAgent(uint32 domain, address agent, bytes32[] proof) returns()

func (*InterfaceBondingManagerTransactorSession) CompleteSlashing

func (_InterfaceBondingManager *InterfaceBondingManagerTransactorSession) CompleteSlashing(domain uint32, agent common.Address, proof [][32]byte) (*types.Transaction, error)

CompleteSlashing is a paid mutator transaction binding the contract method 0xfbc5265e.

Solidity: function completeSlashing(uint32 domain, address agent, bytes32[] proof) returns()

func (*InterfaceBondingManagerTransactorSession) CompleteUnstaking

func (_InterfaceBondingManager *InterfaceBondingManagerTransactorSession) CompleteUnstaking(domain uint32, agent common.Address, proof [][32]byte) (*types.Transaction, error)

CompleteUnstaking is a paid mutator transaction binding the contract method 0x4c3e1c1f.

Solidity: function completeUnstaking(uint32 domain, address agent, bytes32[] proof) returns()

func (*InterfaceBondingManagerTransactorSession) InitiateUnstaking

func (_InterfaceBondingManager *InterfaceBondingManagerTransactorSession) InitiateUnstaking(domain uint32, agent common.Address, proof [][32]byte) (*types.Transaction, error)

InitiateUnstaking is a paid mutator transaction binding the contract method 0x130c5673.

Solidity: function initiateUnstaking(uint32 domain, address agent, bytes32[] proof) returns()

func (*InterfaceBondingManagerTransactorSession) RemoteSlashAgent

func (_InterfaceBondingManager *InterfaceBondingManagerTransactorSession) RemoteSlashAgent(msgOrigin uint32, proofMaturity *big.Int, domain uint32, agent common.Address, prover common.Address) (*types.Transaction, error)

RemoteSlashAgent is a paid mutator transaction binding the contract method 0x9d228a51.

Solidity: function remoteSlashAgent(uint32 msgOrigin, uint256 proofMaturity, uint32 domain, address agent, address prover) returns(bytes4 magicValue)

func (*InterfaceBondingManagerTransactorSession) WithdrawTips

func (_InterfaceBondingManager *InterfaceBondingManagerTransactorSession) WithdrawTips(recipient common.Address, origin uint32, amount *big.Int) (*types.Transaction, error)

WithdrawTips is a paid mutator transaction binding the contract method 0xcc875501.

Solidity: function withdrawTips(address recipient, uint32 origin, uint256 amount) returns()

type InterfaceDestination

type InterfaceDestination struct {
	InterfaceDestinationCaller     // Read-only binding to the contract
	InterfaceDestinationTransactor // Write-only binding to the contract
	InterfaceDestinationFilterer   // Log filterer for contract events
}

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

func NewInterfaceDestination

func NewInterfaceDestination(address common.Address, backend bind.ContractBackend) (*InterfaceDestination, error)

NewInterfaceDestination creates a new instance of InterfaceDestination, bound to a specific deployed contract.

type InterfaceDestinationCaller

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

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

func NewInterfaceDestinationCaller

func NewInterfaceDestinationCaller(address common.Address, caller bind.ContractCaller) (*InterfaceDestinationCaller, error)

NewInterfaceDestinationCaller creates a new read-only instance of InterfaceDestination, bound to a specific deployed contract.

func (*InterfaceDestinationCaller) AttestationsAmount

func (_InterfaceDestination *InterfaceDestinationCaller) AttestationsAmount(opts *bind.CallOpts) (*big.Int, error)

AttestationsAmount is a free data retrieval call binding the contract method 0x3cf7b120.

Solidity: function attestationsAmount() view returns(uint256)

func (*InterfaceDestinationCaller) DestStatus

func (_InterfaceDestination *InterfaceDestinationCaller) DestStatus(opts *bind.CallOpts) (struct {
	SnapRootTime  *big.Int
	AgentRootTime *big.Int
	NotaryIndex   uint32
}, error)

DestStatus is a free data retrieval call binding the contract method 0x40989152.

Solidity: function destStatus() view returns(uint40 snapRootTime, uint40 agentRootTime, uint32 notaryIndex)

func (*InterfaceDestinationCaller) GetAttestation

func (_InterfaceDestination *InterfaceDestinationCaller) GetAttestation(opts *bind.CallOpts, index *big.Int) (struct {
	AttPayload   []byte
	AttSignature []byte
}, error)

GetAttestation is a free data retrieval call binding the contract method 0x29be4db2.

Solidity: function getAttestation(uint256 index) view returns(bytes attPayload, bytes attSignature)

func (*InterfaceDestinationCaller) GetGasData

func (_InterfaceDestination *InterfaceDestinationCaller) GetGasData(opts *bind.CallOpts, domain uint32) (struct {
	GasData      *big.Int
	DataMaturity *big.Int
}, error)

GetGasData is a free data retrieval call binding the contract method 0xd0dd0675.

Solidity: function getGasData(uint32 domain) view returns(uint96 gasData, uint256 dataMaturity)

func (*InterfaceDestinationCaller) NextAgentRoot

func (_InterfaceDestination *InterfaceDestinationCaller) NextAgentRoot(opts *bind.CallOpts) ([32]byte, error)

NextAgentRoot is a free data retrieval call binding the contract method 0x55252dd1.

Solidity: function nextAgentRoot() view returns(bytes32)

type InterfaceDestinationCallerRaw

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

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

func (*InterfaceDestinationCallerRaw) Call

func (_InterfaceDestination *InterfaceDestinationCallerRaw) 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 InterfaceDestinationCallerSession

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

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

func (*InterfaceDestinationCallerSession) AttestationsAmount

func (_InterfaceDestination *InterfaceDestinationCallerSession) AttestationsAmount() (*big.Int, error)

AttestationsAmount is a free data retrieval call binding the contract method 0x3cf7b120.

Solidity: function attestationsAmount() view returns(uint256)

func (*InterfaceDestinationCallerSession) DestStatus

func (_InterfaceDestination *InterfaceDestinationCallerSession) DestStatus() (struct {
	SnapRootTime  *big.Int
	AgentRootTime *big.Int
	NotaryIndex   uint32
}, error)

DestStatus is a free data retrieval call binding the contract method 0x40989152.

Solidity: function destStatus() view returns(uint40 snapRootTime, uint40 agentRootTime, uint32 notaryIndex)

func (*InterfaceDestinationCallerSession) GetAttestation

func (_InterfaceDestination *InterfaceDestinationCallerSession) GetAttestation(index *big.Int) (struct {
	AttPayload   []byte
	AttSignature []byte
}, error)

GetAttestation is a free data retrieval call binding the contract method 0x29be4db2.

Solidity: function getAttestation(uint256 index) view returns(bytes attPayload, bytes attSignature)

func (*InterfaceDestinationCallerSession) GetGasData

func (_InterfaceDestination *InterfaceDestinationCallerSession) GetGasData(domain uint32) (struct {
	GasData      *big.Int
	DataMaturity *big.Int
}, error)

GetGasData is a free data retrieval call binding the contract method 0xd0dd0675.

Solidity: function getGasData(uint32 domain) view returns(uint96 gasData, uint256 dataMaturity)

func (*InterfaceDestinationCallerSession) NextAgentRoot

func (_InterfaceDestination *InterfaceDestinationCallerSession) NextAgentRoot() ([32]byte, error)

NextAgentRoot is a free data retrieval call binding the contract method 0x55252dd1.

Solidity: function nextAgentRoot() view returns(bytes32)

type InterfaceDestinationFilterer

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

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

func NewInterfaceDestinationFilterer

func NewInterfaceDestinationFilterer(address common.Address, filterer bind.ContractFilterer) (*InterfaceDestinationFilterer, error)

NewInterfaceDestinationFilterer creates a new log filterer instance of InterfaceDestination, bound to a specific deployed contract.

type InterfaceDestinationRaw

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

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

func (*InterfaceDestinationRaw) Call

func (_InterfaceDestination *InterfaceDestinationRaw) 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 (*InterfaceDestinationRaw) Transact

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

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

func (*InterfaceDestinationRaw) Transfer

func (_InterfaceDestination *InterfaceDestinationRaw) 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 InterfaceDestinationSession

type InterfaceDestinationSession struct {
	Contract     *InterfaceDestination // 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
}

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

func (*InterfaceDestinationSession) AcceptAttestation

func (_InterfaceDestination *InterfaceDestinationSession) AcceptAttestation(notaryIndex uint32, sigIndex *big.Int, attPayload []byte, agentRoot [32]byte, snapGas []*big.Int) (*types.Transaction, error)

AcceptAttestation is a paid mutator transaction binding the contract method 0x39fe2736.

Solidity: function acceptAttestation(uint32 notaryIndex, uint256 sigIndex, bytes attPayload, bytes32 agentRoot, uint128[] snapGas) returns(bool wasAccepted)

func (*InterfaceDestinationSession) AttestationsAmount

func (_InterfaceDestination *InterfaceDestinationSession) AttestationsAmount() (*big.Int, error)

AttestationsAmount is a free data retrieval call binding the contract method 0x3cf7b120.

Solidity: function attestationsAmount() view returns(uint256)

func (*InterfaceDestinationSession) DestStatus

func (_InterfaceDestination *InterfaceDestinationSession) DestStatus() (struct {
	SnapRootTime  *big.Int
	AgentRootTime *big.Int
	NotaryIndex   uint32
}, error)

DestStatus is a free data retrieval call binding the contract method 0x40989152.

Solidity: function destStatus() view returns(uint40 snapRootTime, uint40 agentRootTime, uint32 notaryIndex)

func (*InterfaceDestinationSession) GetAttestation

func (_InterfaceDestination *InterfaceDestinationSession) GetAttestation(index *big.Int) (struct {
	AttPayload   []byte
	AttSignature []byte
}, error)

GetAttestation is a free data retrieval call binding the contract method 0x29be4db2.

Solidity: function getAttestation(uint256 index) view returns(bytes attPayload, bytes attSignature)

func (*InterfaceDestinationSession) GetGasData

func (_InterfaceDestination *InterfaceDestinationSession) GetGasData(domain uint32) (struct {
	GasData      *big.Int
	DataMaturity *big.Int
}, error)

GetGasData is a free data retrieval call binding the contract method 0xd0dd0675.

Solidity: function getGasData(uint32 domain) view returns(uint96 gasData, uint256 dataMaturity)

func (*InterfaceDestinationSession) NextAgentRoot

func (_InterfaceDestination *InterfaceDestinationSession) NextAgentRoot() ([32]byte, error)

NextAgentRoot is a free data retrieval call binding the contract method 0x55252dd1.

Solidity: function nextAgentRoot() view returns(bytes32)

func (*InterfaceDestinationSession) PassAgentRoot

func (_InterfaceDestination *InterfaceDestinationSession) PassAgentRoot() (*types.Transaction, error)

PassAgentRoot is a paid mutator transaction binding the contract method 0xa554d1e3.

Solidity: function passAgentRoot() returns(bool rootPassed, bool rootPending)

type InterfaceDestinationTransactor

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

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

func NewInterfaceDestinationTransactor

func NewInterfaceDestinationTransactor(address common.Address, transactor bind.ContractTransactor) (*InterfaceDestinationTransactor, error)

NewInterfaceDestinationTransactor creates a new write-only instance of InterfaceDestination, bound to a specific deployed contract.

func (*InterfaceDestinationTransactor) AcceptAttestation

func (_InterfaceDestination *InterfaceDestinationTransactor) AcceptAttestation(opts *bind.TransactOpts, notaryIndex uint32, sigIndex *big.Int, attPayload []byte, agentRoot [32]byte, snapGas []*big.Int) (*types.Transaction, error)

AcceptAttestation is a paid mutator transaction binding the contract method 0x39fe2736.

Solidity: function acceptAttestation(uint32 notaryIndex, uint256 sigIndex, bytes attPayload, bytes32 agentRoot, uint128[] snapGas) returns(bool wasAccepted)

func (*InterfaceDestinationTransactor) PassAgentRoot

func (_InterfaceDestination *InterfaceDestinationTransactor) PassAgentRoot(opts *bind.TransactOpts) (*types.Transaction, error)

PassAgentRoot is a paid mutator transaction binding the contract method 0xa554d1e3.

Solidity: function passAgentRoot() returns(bool rootPassed, bool rootPending)

type InterfaceDestinationTransactorRaw

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

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

func (*InterfaceDestinationTransactorRaw) Transact

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

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

func (*InterfaceDestinationTransactorRaw) Transfer

func (_InterfaceDestination *InterfaceDestinationTransactorRaw) 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 InterfaceDestinationTransactorSession

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

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

func (*InterfaceDestinationTransactorSession) AcceptAttestation

func (_InterfaceDestination *InterfaceDestinationTransactorSession) AcceptAttestation(notaryIndex uint32, sigIndex *big.Int, attPayload []byte, agentRoot [32]byte, snapGas []*big.Int) (*types.Transaction, error)

AcceptAttestation is a paid mutator transaction binding the contract method 0x39fe2736.

Solidity: function acceptAttestation(uint32 notaryIndex, uint256 sigIndex, bytes attPayload, bytes32 agentRoot, uint128[] snapGas) returns(bool wasAccepted)

func (*InterfaceDestinationTransactorSession) PassAgentRoot

func (_InterfaceDestination *InterfaceDestinationTransactorSession) PassAgentRoot() (*types.Transaction, error)

PassAgentRoot is a paid mutator transaction binding the contract method 0xa554d1e3.

Solidity: function passAgentRoot() returns(bool rootPassed, bool rootPending)

type InterfaceLightManager

type InterfaceLightManager struct {
	InterfaceLightManagerCaller     // Read-only binding to the contract
	InterfaceLightManagerTransactor // Write-only binding to the contract
	InterfaceLightManagerFilterer   // Log filterer for contract events
}

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

func NewInterfaceLightManager

func NewInterfaceLightManager(address common.Address, backend bind.ContractBackend) (*InterfaceLightManager, error)

NewInterfaceLightManager creates a new instance of InterfaceLightManager, bound to a specific deployed contract.

type InterfaceLightManagerCaller

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

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

func NewInterfaceLightManagerCaller

func NewInterfaceLightManagerCaller(address common.Address, caller bind.ContractCaller) (*InterfaceLightManagerCaller, error)

NewInterfaceLightManagerCaller creates a new read-only instance of InterfaceLightManager, bound to a specific deployed contract.

type InterfaceLightManagerCallerRaw

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

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

func (*InterfaceLightManagerCallerRaw) Call

func (_InterfaceLightManager *InterfaceLightManagerCallerRaw) 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 InterfaceLightManagerCallerSession

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

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

type InterfaceLightManagerFilterer

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

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

func NewInterfaceLightManagerFilterer

func NewInterfaceLightManagerFilterer(address common.Address, filterer bind.ContractFilterer) (*InterfaceLightManagerFilterer, error)

NewInterfaceLightManagerFilterer creates a new log filterer instance of InterfaceLightManager, bound to a specific deployed contract.

type InterfaceLightManagerRaw

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

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

func (*InterfaceLightManagerRaw) Call

func (_InterfaceLightManager *InterfaceLightManagerRaw) 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 (*InterfaceLightManagerRaw) Transact

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

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

func (*InterfaceLightManagerRaw) Transfer

func (_InterfaceLightManager *InterfaceLightManagerRaw) 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 InterfaceLightManagerSession

type InterfaceLightManagerSession struct {
	Contract     *InterfaceLightManager // 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
}

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

func (*InterfaceLightManagerSession) RemoteWithdrawTips

func (_InterfaceLightManager *InterfaceLightManagerSession) RemoteWithdrawTips(msgOrigin uint32, proofMaturity *big.Int, recipient common.Address, amount *big.Int) (*types.Transaction, error)

RemoteWithdrawTips is a paid mutator transaction binding the contract method 0x1fa07138.

Solidity: function remoteWithdrawTips(uint32 msgOrigin, uint256 proofMaturity, address recipient, uint256 amount) returns(bytes4 magicValue)

func (*InterfaceLightManagerSession) SetAgentRoot

func (_InterfaceLightManager *InterfaceLightManagerSession) SetAgentRoot(agentRoot [32]byte) (*types.Transaction, error)

SetAgentRoot is a paid mutator transaction binding the contract method 0x58668176.

Solidity: function setAgentRoot(bytes32 agentRoot) returns()

func (*InterfaceLightManagerSession) UpdateAgentStatus

func (_InterfaceLightManager *InterfaceLightManagerSession) UpdateAgentStatus(agent common.Address, status AgentStatus, proof [][32]byte) (*types.Transaction, error)

UpdateAgentStatus is a paid mutator transaction binding the contract method 0xcbd05965.

Solidity: function updateAgentStatus(address agent, (uint8,uint32,uint32) status, bytes32[] proof) returns()

type InterfaceLightManagerTransactor

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

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

func NewInterfaceLightManagerTransactor

func NewInterfaceLightManagerTransactor(address common.Address, transactor bind.ContractTransactor) (*InterfaceLightManagerTransactor, error)

NewInterfaceLightManagerTransactor creates a new write-only instance of InterfaceLightManager, bound to a specific deployed contract.

func (*InterfaceLightManagerTransactor) RemoteWithdrawTips

func (_InterfaceLightManager *InterfaceLightManagerTransactor) RemoteWithdrawTips(opts *bind.TransactOpts, msgOrigin uint32, proofMaturity *big.Int, recipient common.Address, amount *big.Int) (*types.Transaction, error)

RemoteWithdrawTips is a paid mutator transaction binding the contract method 0x1fa07138.

Solidity: function remoteWithdrawTips(uint32 msgOrigin, uint256 proofMaturity, address recipient, uint256 amount) returns(bytes4 magicValue)

func (*InterfaceLightManagerTransactor) SetAgentRoot

func (_InterfaceLightManager *InterfaceLightManagerTransactor) SetAgentRoot(opts *bind.TransactOpts, agentRoot [32]byte) (*types.Transaction, error)

SetAgentRoot is a paid mutator transaction binding the contract method 0x58668176.

Solidity: function setAgentRoot(bytes32 agentRoot) returns()

func (*InterfaceLightManagerTransactor) UpdateAgentStatus

func (_InterfaceLightManager *InterfaceLightManagerTransactor) UpdateAgentStatus(opts *bind.TransactOpts, agent common.Address, status AgentStatus, proof [][32]byte) (*types.Transaction, error)

UpdateAgentStatus is a paid mutator transaction binding the contract method 0xcbd05965.

Solidity: function updateAgentStatus(address agent, (uint8,uint32,uint32) status, bytes32[] proof) returns()

type InterfaceLightManagerTransactorRaw

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

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

func (*InterfaceLightManagerTransactorRaw) Transact

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

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

func (*InterfaceLightManagerTransactorRaw) Transfer

func (_InterfaceLightManager *InterfaceLightManagerTransactorRaw) 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 InterfaceLightManagerTransactorSession

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

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

func (*InterfaceLightManagerTransactorSession) RemoteWithdrawTips

func (_InterfaceLightManager *InterfaceLightManagerTransactorSession) RemoteWithdrawTips(msgOrigin uint32, proofMaturity *big.Int, recipient common.Address, amount *big.Int) (*types.Transaction, error)

RemoteWithdrawTips is a paid mutator transaction binding the contract method 0x1fa07138.

Solidity: function remoteWithdrawTips(uint32 msgOrigin, uint256 proofMaturity, address recipient, uint256 amount) returns(bytes4 magicValue)

func (*InterfaceLightManagerTransactorSession) SetAgentRoot

func (_InterfaceLightManager *InterfaceLightManagerTransactorSession) SetAgentRoot(agentRoot [32]byte) (*types.Transaction, error)

SetAgentRoot is a paid mutator transaction binding the contract method 0x58668176.

Solidity: function setAgentRoot(bytes32 agentRoot) returns()

func (*InterfaceLightManagerTransactorSession) UpdateAgentStatus

func (_InterfaceLightManager *InterfaceLightManagerTransactorSession) UpdateAgentStatus(agent common.Address, status AgentStatus, proof [][32]byte) (*types.Transaction, error)

UpdateAgentStatus is a paid mutator transaction binding the contract method 0xcbd05965.

Solidity: function updateAgentStatus(address agent, (uint8,uint32,uint32) status, bytes32[] proof) returns()

type InterfaceOrigin

type InterfaceOrigin struct {
	InterfaceOriginCaller     // Read-only binding to the contract
	InterfaceOriginTransactor // Write-only binding to the contract
	InterfaceOriginFilterer   // Log filterer for contract events
}

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

func NewInterfaceOrigin

func NewInterfaceOrigin(address common.Address, backend bind.ContractBackend) (*InterfaceOrigin, error)

NewInterfaceOrigin creates a new instance of InterfaceOrigin, bound to a specific deployed contract.

type InterfaceOriginCaller

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

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

func NewInterfaceOriginCaller

func NewInterfaceOriginCaller(address common.Address, caller bind.ContractCaller) (*InterfaceOriginCaller, error)

NewInterfaceOriginCaller creates a new read-only instance of InterfaceOrigin, bound to a specific deployed contract.

func (*InterfaceOriginCaller) GetMinimumTipsValue

func (_InterfaceOrigin *InterfaceOriginCaller) GetMinimumTipsValue(opts *bind.CallOpts, destination uint32, paddedRequest *big.Int, contentLength *big.Int) (*big.Int, error)

GetMinimumTipsValue is a free data retrieval call binding the contract method 0x4fc6ad85.

Solidity: function getMinimumTipsValue(uint32 destination, uint256 paddedRequest, uint256 contentLength) view returns(uint256 tipsValue)

type InterfaceOriginCallerRaw

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

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

func (*InterfaceOriginCallerRaw) Call

func (_InterfaceOrigin *InterfaceOriginCallerRaw) 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 InterfaceOriginCallerSession

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

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

func (*InterfaceOriginCallerSession) GetMinimumTipsValue

func (_InterfaceOrigin *InterfaceOriginCallerSession) GetMinimumTipsValue(destination uint32, paddedRequest *big.Int, contentLength *big.Int) (*big.Int, error)

GetMinimumTipsValue is a free data retrieval call binding the contract method 0x4fc6ad85.

Solidity: function getMinimumTipsValue(uint32 destination, uint256 paddedRequest, uint256 contentLength) view returns(uint256 tipsValue)

type InterfaceOriginFilterer

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

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

func NewInterfaceOriginFilterer

func NewInterfaceOriginFilterer(address common.Address, filterer bind.ContractFilterer) (*InterfaceOriginFilterer, error)

NewInterfaceOriginFilterer creates a new log filterer instance of InterfaceOrigin, bound to a specific deployed contract.

type InterfaceOriginRaw

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

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

func (*InterfaceOriginRaw) Call

func (_InterfaceOrigin *InterfaceOriginRaw) 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 (*InterfaceOriginRaw) Transact

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

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

func (*InterfaceOriginRaw) Transfer

func (_InterfaceOrigin *InterfaceOriginRaw) 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 InterfaceOriginSession

type InterfaceOriginSession struct {
	Contract     *InterfaceOrigin  // 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
}

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

func (*InterfaceOriginSession) GetMinimumTipsValue

func (_InterfaceOrigin *InterfaceOriginSession) GetMinimumTipsValue(destination uint32, paddedRequest *big.Int, contentLength *big.Int) (*big.Int, error)

GetMinimumTipsValue is a free data retrieval call binding the contract method 0x4fc6ad85.

Solidity: function getMinimumTipsValue(uint32 destination, uint256 paddedRequest, uint256 contentLength) view returns(uint256 tipsValue)

func (*InterfaceOriginSession) SendBaseMessage

func (_InterfaceOrigin *InterfaceOriginSession) SendBaseMessage(destination uint32, recipient [32]byte, optimisticPeriod uint32, paddedRequest *big.Int, content []byte) (*types.Transaction, error)

SendBaseMessage is a paid mutator transaction binding the contract method 0x873661bd.

Solidity: function sendBaseMessage(uint32 destination, bytes32 recipient, uint32 optimisticPeriod, uint256 paddedRequest, bytes content) payable returns(uint32 messageNonce, bytes32 messageHash)

func (*InterfaceOriginSession) SendManagerMessage

func (_InterfaceOrigin *InterfaceOriginSession) SendManagerMessage(destination uint32, optimisticPeriod uint32, payload []byte) (*types.Transaction, error)

SendManagerMessage is a paid mutator transaction binding the contract method 0xa1c702a7.

Solidity: function sendManagerMessage(uint32 destination, uint32 optimisticPeriod, bytes payload) returns(uint32 messageNonce, bytes32 messageHash)

func (*InterfaceOriginSession) WithdrawTips

func (_InterfaceOrigin *InterfaceOriginSession) WithdrawTips(recipient common.Address, amount *big.Int) (*types.Transaction, error)

WithdrawTips is a paid mutator transaction binding the contract method 0x4e04e7a7.

Solidity: function withdrawTips(address recipient, uint256 amount) returns()

type InterfaceOriginTransactor

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

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

func NewInterfaceOriginTransactor

func NewInterfaceOriginTransactor(address common.Address, transactor bind.ContractTransactor) (*InterfaceOriginTransactor, error)

NewInterfaceOriginTransactor creates a new write-only instance of InterfaceOrigin, bound to a specific deployed contract.

func (*InterfaceOriginTransactor) SendBaseMessage

func (_InterfaceOrigin *InterfaceOriginTransactor) SendBaseMessage(opts *bind.TransactOpts, destination uint32, recipient [32]byte, optimisticPeriod uint32, paddedRequest *big.Int, content []byte) (*types.Transaction, error)

SendBaseMessage is a paid mutator transaction binding the contract method 0x873661bd.

Solidity: function sendBaseMessage(uint32 destination, bytes32 recipient, uint32 optimisticPeriod, uint256 paddedRequest, bytes content) payable returns(uint32 messageNonce, bytes32 messageHash)

func (*InterfaceOriginTransactor) SendManagerMessage

func (_InterfaceOrigin *InterfaceOriginTransactor) SendManagerMessage(opts *bind.TransactOpts, destination uint32, optimisticPeriod uint32, payload []byte) (*types.Transaction, error)

SendManagerMessage is a paid mutator transaction binding the contract method 0xa1c702a7.

Solidity: function sendManagerMessage(uint32 destination, uint32 optimisticPeriod, bytes payload) returns(uint32 messageNonce, bytes32 messageHash)

func (*InterfaceOriginTransactor) WithdrawTips

func (_InterfaceOrigin *InterfaceOriginTransactor) WithdrawTips(opts *bind.TransactOpts, recipient common.Address, amount *big.Int) (*types.Transaction, error)

WithdrawTips is a paid mutator transaction binding the contract method 0x4e04e7a7.

Solidity: function withdrawTips(address recipient, uint256 amount) returns()

type InterfaceOriginTransactorRaw

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

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

func (*InterfaceOriginTransactorRaw) Transact

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

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

func (*InterfaceOriginTransactorRaw) Transfer

func (_InterfaceOrigin *InterfaceOriginTransactorRaw) 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 InterfaceOriginTransactorSession

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

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

func (*InterfaceOriginTransactorSession) SendBaseMessage

func (_InterfaceOrigin *InterfaceOriginTransactorSession) SendBaseMessage(destination uint32, recipient [32]byte, optimisticPeriod uint32, paddedRequest *big.Int, content []byte) (*types.Transaction, error)

SendBaseMessage is a paid mutator transaction binding the contract method 0x873661bd.

Solidity: function sendBaseMessage(uint32 destination, bytes32 recipient, uint32 optimisticPeriod, uint256 paddedRequest, bytes content) payable returns(uint32 messageNonce, bytes32 messageHash)

func (*InterfaceOriginTransactorSession) SendManagerMessage

func (_InterfaceOrigin *InterfaceOriginTransactorSession) SendManagerMessage(destination uint32, optimisticPeriod uint32, payload []byte) (*types.Transaction, error)

SendManagerMessage is a paid mutator transaction binding the contract method 0xa1c702a7.

Solidity: function sendManagerMessage(uint32 destination, uint32 optimisticPeriod, bytes payload) returns(uint32 messageNonce, bytes32 messageHash)

func (*InterfaceOriginTransactorSession) WithdrawTips

func (_InterfaceOrigin *InterfaceOriginTransactorSession) WithdrawTips(recipient common.Address, amount *big.Int) (*types.Transaction, error)

WithdrawTips is a paid mutator transaction binding the contract method 0x4e04e7a7.

Solidity: function withdrawTips(address recipient, uint256 amount) returns()

type MerkleMath

type MerkleMath struct {
	MerkleMathCaller     // Read-only binding to the contract
	MerkleMathTransactor // Write-only binding to the contract
	MerkleMathFilterer   // Log filterer for contract events
}

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

func DeployMerkleMath

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

DeployMerkleMath deploys a new Ethereum contract, binding an instance of MerkleMath to it.

func NewMerkleMath

func NewMerkleMath(address common.Address, backend bind.ContractBackend) (*MerkleMath, error)

NewMerkleMath creates a new instance of MerkleMath, bound to a specific deployed contract.

type MerkleMathCaller

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

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

func NewMerkleMathCaller

func NewMerkleMathCaller(address common.Address, caller bind.ContractCaller) (*MerkleMathCaller, error)

NewMerkleMathCaller creates a new read-only instance of MerkleMath, bound to a specific deployed contract.

type MerkleMathCallerRaw

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

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

func (*MerkleMathCallerRaw) Call

func (_MerkleMath *MerkleMathCallerRaw) 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 MerkleMathCallerSession

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

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

type MerkleMathFilterer

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

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

func NewMerkleMathFilterer

func NewMerkleMathFilterer(address common.Address, filterer bind.ContractFilterer) (*MerkleMathFilterer, error)

NewMerkleMathFilterer creates a new log filterer instance of MerkleMath, bound to a specific deployed contract.

type MerkleMathRaw

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

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

func (*MerkleMathRaw) Call

func (_MerkleMath *MerkleMathRaw) 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 (*MerkleMathRaw) Transact

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

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

func (*MerkleMathRaw) Transfer

func (_MerkleMath *MerkleMathRaw) 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 MerkleMathSession

type MerkleMathSession struct {
	Contract     *MerkleMath       // 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
}

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

type MerkleMathTransactor

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

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

func NewMerkleMathTransactor

func NewMerkleMathTransactor(address common.Address, transactor bind.ContractTransactor) (*MerkleMathTransactor, error)

NewMerkleMathTransactor creates a new write-only instance of MerkleMath, bound to a specific deployed contract.

type MerkleMathTransactorRaw

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

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

func (*MerkleMathTransactorRaw) Transact

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

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

func (*MerkleMathTransactorRaw) Transfer

func (_MerkleMath *MerkleMathTransactorRaw) 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 MerkleMathTransactorSession

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

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

type MerkleTree

type MerkleTree struct {
	MerkleTreeCaller     // Read-only binding to the contract
	MerkleTreeTransactor // Write-only binding to the contract
	MerkleTreeFilterer   // Log filterer for contract events
}

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

func DeployMerkleTree

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

DeployMerkleTree deploys a new Ethereum contract, binding an instance of MerkleTree to it.

func NewMerkleTree

func NewMerkleTree(address common.Address, backend bind.ContractBackend) (*MerkleTree, error)

NewMerkleTree creates a new instance of MerkleTree, bound to a specific deployed contract.

type MerkleTreeCaller

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

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

func NewMerkleTreeCaller

func NewMerkleTreeCaller(address common.Address, caller bind.ContractCaller) (*MerkleTreeCaller, error)

NewMerkleTreeCaller creates a new read-only instance of MerkleTree, bound to a specific deployed contract.

type MerkleTreeCallerRaw

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

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

func (*MerkleTreeCallerRaw) Call

func (_MerkleTree *MerkleTreeCallerRaw) 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 MerkleTreeCallerSession

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

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

type MerkleTreeFilterer

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

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

func NewMerkleTreeFilterer

func NewMerkleTreeFilterer(address common.Address, filterer bind.ContractFilterer) (*MerkleTreeFilterer, error)

NewMerkleTreeFilterer creates a new log filterer instance of MerkleTree, bound to a specific deployed contract.

type MerkleTreeRaw

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

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

func (*MerkleTreeRaw) Call

func (_MerkleTree *MerkleTreeRaw) 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 (*MerkleTreeRaw) Transact

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

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

func (*MerkleTreeRaw) Transfer

func (_MerkleTree *MerkleTreeRaw) 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 MerkleTreeSession

type MerkleTreeSession struct {
	Contract     *MerkleTree       // 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
}

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

type MerkleTreeTransactor

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

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

func NewMerkleTreeTransactor

func NewMerkleTreeTransactor(address common.Address, transactor bind.ContractTransactor) (*MerkleTreeTransactor, error)

NewMerkleTreeTransactor creates a new write-only instance of MerkleTree, bound to a specific deployed contract.

type MerkleTreeTransactorRaw

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

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

func (*MerkleTreeTransactorRaw) Transact

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

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

func (*MerkleTreeTransactorRaw) Transfer

func (_MerkleTree *MerkleTreeTransactorRaw) 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 MerkleTreeTransactorSession

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

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

type MessagingBase

type MessagingBase struct {
	MessagingBaseCaller     // Read-only binding to the contract
	MessagingBaseTransactor // Write-only binding to the contract
	MessagingBaseFilterer   // Log filterer for contract events
}

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

func NewMessagingBase

func NewMessagingBase(address common.Address, backend bind.ContractBackend) (*MessagingBase, error)

NewMessagingBase creates a new instance of MessagingBase, bound to a specific deployed contract.

type MessagingBaseCaller

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

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

func NewMessagingBaseCaller

func NewMessagingBaseCaller(address common.Address, caller bind.ContractCaller) (*MessagingBaseCaller, error)

NewMessagingBaseCaller creates a new read-only instance of MessagingBase, bound to a specific deployed contract.

func (*MessagingBaseCaller) LocalDomain

func (_MessagingBase *MessagingBaseCaller) LocalDomain(opts *bind.CallOpts) (uint32, error)

LocalDomain is a free data retrieval call binding the contract method 0x8d3638f4.

Solidity: function localDomain() view returns(uint32)

func (*MessagingBaseCaller) Owner

func (_MessagingBase *MessagingBaseCaller) 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 (*MessagingBaseCaller) Version

func (_MessagingBase *MessagingBaseCaller) Version(opts *bind.CallOpts) (string, error)

Version is a free data retrieval call binding the contract method 0x54fd4d50.

Solidity: function version() view returns(string versionString)

type MessagingBaseCallerRaw

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

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

func (*MessagingBaseCallerRaw) Call

func (_MessagingBase *MessagingBaseCallerRaw) 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 MessagingBaseCallerSession

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

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

func (*MessagingBaseCallerSession) LocalDomain

func (_MessagingBase *MessagingBaseCallerSession) LocalDomain() (uint32, error)

LocalDomain is a free data retrieval call binding the contract method 0x8d3638f4.

Solidity: function localDomain() view returns(uint32)

func (*MessagingBaseCallerSession) Owner

func (_MessagingBase *MessagingBaseCallerSession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*MessagingBaseCallerSession) Version

func (_MessagingBase *MessagingBaseCallerSession) Version() (string, error)

Version is a free data retrieval call binding the contract method 0x54fd4d50.

Solidity: function version() view returns(string versionString)

type MessagingBaseFilterer

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

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

func NewMessagingBaseFilterer

func NewMessagingBaseFilterer(address common.Address, filterer bind.ContractFilterer) (*MessagingBaseFilterer, error)

NewMessagingBaseFilterer creates a new log filterer instance of MessagingBase, bound to a specific deployed contract.

func (*MessagingBaseFilterer) FilterInitialized

func (_MessagingBase *MessagingBaseFilterer) FilterInitialized(opts *bind.FilterOpts) (*MessagingBaseInitializedIterator, error)

FilterInitialized is a free log retrieval operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.

Solidity: event Initialized(uint8 version)

func (*MessagingBaseFilterer) FilterOwnershipTransferred

func (_MessagingBase *MessagingBaseFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*MessagingBaseOwnershipTransferredIterator, error)

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

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

func (*MessagingBaseFilterer) ParseInitialized

func (_MessagingBase *MessagingBaseFilterer) ParseInitialized(log types.Log) (*MessagingBaseInitialized, error)

ParseInitialized is a log parse operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.

Solidity: event Initialized(uint8 version)

func (*MessagingBaseFilterer) ParseOwnershipTransferred

func (_MessagingBase *MessagingBaseFilterer) ParseOwnershipTransferred(log types.Log) (*MessagingBaseOwnershipTransferred, error)

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

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

func (*MessagingBaseFilterer) WatchInitialized

func (_MessagingBase *MessagingBaseFilterer) WatchInitialized(opts *bind.WatchOpts, sink chan<- *MessagingBaseInitialized) (event.Subscription, error)

WatchInitialized is a free log subscription operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.

Solidity: event Initialized(uint8 version)

func (*MessagingBaseFilterer) WatchOwnershipTransferred

func (_MessagingBase *MessagingBaseFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *MessagingBaseOwnershipTransferred, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error)

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

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

type MessagingBaseInitialized

type MessagingBaseInitialized struct {
	Version uint8
	Raw     types.Log // Blockchain specific contextual infos
}

MessagingBaseInitialized represents a Initialized event raised by the MessagingBase contract.

type MessagingBaseInitializedIterator

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

MessagingBaseInitializedIterator is returned from FilterInitialized and is used to iterate over the raw logs and unpacked data for Initialized events raised by the MessagingBase contract.

func (*MessagingBaseInitializedIterator) Close

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

func (*MessagingBaseInitializedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*MessagingBaseInitializedIterator) 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 MessagingBaseOwnershipTransferred

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

MessagingBaseOwnershipTransferred represents a OwnershipTransferred event raised by the MessagingBase contract.

type MessagingBaseOwnershipTransferredIterator

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

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

func (*MessagingBaseOwnershipTransferredIterator) Close

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

func (*MessagingBaseOwnershipTransferredIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*MessagingBaseOwnershipTransferredIterator) 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 MessagingBaseRaw

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

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

func (*MessagingBaseRaw) Call

func (_MessagingBase *MessagingBaseRaw) 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 (*MessagingBaseRaw) Transact

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

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

func (*MessagingBaseRaw) Transfer

func (_MessagingBase *MessagingBaseRaw) 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 MessagingBaseSession

type MessagingBaseSession struct {
	Contract     *MessagingBase    // 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
}

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

func (*MessagingBaseSession) LocalDomain

func (_MessagingBase *MessagingBaseSession) LocalDomain() (uint32, error)

LocalDomain is a free data retrieval call binding the contract method 0x8d3638f4.

Solidity: function localDomain() view returns(uint32)

func (*MessagingBaseSession) Multicall

func (_MessagingBase *MessagingBaseSession) Multicall(calls []MultiCallableCall) (*types.Transaction, error)

Multicall is a paid mutator transaction binding the contract method 0x60fc8466.

Solidity: function multicall((bool,bytes)[] calls) returns((bool,bytes)[] callResults)

func (*MessagingBaseSession) Owner

func (_MessagingBase *MessagingBaseSession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*MessagingBaseSession) RenounceOwnership

func (_MessagingBase *MessagingBaseSession) RenounceOwnership() (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*MessagingBaseSession) TransferOwnership

func (_MessagingBase *MessagingBaseSession) 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 (*MessagingBaseSession) Version

func (_MessagingBase *MessagingBaseSession) Version() (string, error)

Version is a free data retrieval call binding the contract method 0x54fd4d50.

Solidity: function version() view returns(string versionString)

type MessagingBaseTransactor

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

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

func NewMessagingBaseTransactor

func NewMessagingBaseTransactor(address common.Address, transactor bind.ContractTransactor) (*MessagingBaseTransactor, error)

NewMessagingBaseTransactor creates a new write-only instance of MessagingBase, bound to a specific deployed contract.

func (*MessagingBaseTransactor) Multicall

func (_MessagingBase *MessagingBaseTransactor) Multicall(opts *bind.TransactOpts, calls []MultiCallableCall) (*types.Transaction, error)

Multicall is a paid mutator transaction binding the contract method 0x60fc8466.

Solidity: function multicall((bool,bytes)[] calls) returns((bool,bytes)[] callResults)

func (*MessagingBaseTransactor) RenounceOwnership

func (_MessagingBase *MessagingBaseTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*MessagingBaseTransactor) TransferOwnership

func (_MessagingBase *MessagingBaseTransactor) 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 MessagingBaseTransactorRaw

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

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

func (*MessagingBaseTransactorRaw) Transact

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

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

func (*MessagingBaseTransactorRaw) Transfer

func (_MessagingBase *MessagingBaseTransactorRaw) 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 MessagingBaseTransactorSession

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

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

func (*MessagingBaseTransactorSession) Multicall

func (_MessagingBase *MessagingBaseTransactorSession) Multicall(calls []MultiCallableCall) (*types.Transaction, error)

Multicall is a paid mutator transaction binding the contract method 0x60fc8466.

Solidity: function multicall((bool,bytes)[] calls) returns((bool,bytes)[] callResults)

func (*MessagingBaseTransactorSession) RenounceOwnership

func (_MessagingBase *MessagingBaseTransactorSession) RenounceOwnership() (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*MessagingBaseTransactorSession) TransferOwnership

func (_MessagingBase *MessagingBaseTransactorSession) 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 MultiCallable

type MultiCallable struct {
	MultiCallableCaller     // Read-only binding to the contract
	MultiCallableTransactor // Write-only binding to the contract
	MultiCallableFilterer   // Log filterer for contract events
}

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

func NewMultiCallable

func NewMultiCallable(address common.Address, backend bind.ContractBackend) (*MultiCallable, error)

NewMultiCallable creates a new instance of MultiCallable, bound to a specific deployed contract.

type MultiCallableCall

type MultiCallableCall struct {
	AllowFailure bool
	CallData     []byte
}

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

type MultiCallableCaller

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

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

func NewMultiCallableCaller

func NewMultiCallableCaller(address common.Address, caller bind.ContractCaller) (*MultiCallableCaller, error)

NewMultiCallableCaller creates a new read-only instance of MultiCallable, bound to a specific deployed contract.

type MultiCallableCallerRaw

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

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

func (*MultiCallableCallerRaw) Call

func (_MultiCallable *MultiCallableCallerRaw) 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 MultiCallableCallerSession

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

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

type MultiCallableFilterer

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

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

func NewMultiCallableFilterer

func NewMultiCallableFilterer(address common.Address, filterer bind.ContractFilterer) (*MultiCallableFilterer, error)

NewMultiCallableFilterer creates a new log filterer instance of MultiCallable, bound to a specific deployed contract.

type MultiCallableRaw

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

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

func (*MultiCallableRaw) Call

func (_MultiCallable *MultiCallableRaw) 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 (*MultiCallableRaw) Transact

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

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

func (*MultiCallableRaw) Transfer

func (_MultiCallable *MultiCallableRaw) 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 MultiCallableResult

type MultiCallableResult struct {
	Success    bool
	ReturnData []byte
}

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

type MultiCallableSession

type MultiCallableSession struct {
	Contract     *MultiCallable    // 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
}

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

func (*MultiCallableSession) Multicall

func (_MultiCallable *MultiCallableSession) Multicall(calls []MultiCallableCall) (*types.Transaction, error)

Multicall is a paid mutator transaction binding the contract method 0x60fc8466.

Solidity: function multicall((bool,bytes)[] calls) returns((bool,bytes)[] callResults)

type MultiCallableTransactor

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

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

func NewMultiCallableTransactor

func NewMultiCallableTransactor(address common.Address, transactor bind.ContractTransactor) (*MultiCallableTransactor, error)

NewMultiCallableTransactor creates a new write-only instance of MultiCallable, bound to a specific deployed contract.

func (*MultiCallableTransactor) Multicall

func (_MultiCallable *MultiCallableTransactor) Multicall(opts *bind.TransactOpts, calls []MultiCallableCall) (*types.Transaction, error)

Multicall is a paid mutator transaction binding the contract method 0x60fc8466.

Solidity: function multicall((bool,bytes)[] calls) returns((bool,bytes)[] callResults)

type MultiCallableTransactorRaw

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

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

func (*MultiCallableTransactorRaw) Transact

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

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

func (*MultiCallableTransactorRaw) Transfer

func (_MultiCallable *MultiCallableTransactorRaw) 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 MultiCallableTransactorSession

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

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

func (*MultiCallableTransactorSession) Multicall

func (_MultiCallable *MultiCallableTransactorSession) Multicall(calls []MultiCallableCall) (*types.Transaction, error)

Multicall is a paid mutator transaction binding the contract method 0x60fc8466.

Solidity: function multicall((bool,bytes)[] calls) returns((bool,bytes)[] callResults)

type NumberLib

type NumberLib struct {
	NumberLibCaller     // Read-only binding to the contract
	NumberLibTransactor // Write-only binding to the contract
	NumberLibFilterer   // Log filterer for contract events
}

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

func DeployNumberLib

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

DeployNumberLib deploys a new Ethereum contract, binding an instance of NumberLib to it.

func NewNumberLib

func NewNumberLib(address common.Address, backend bind.ContractBackend) (*NumberLib, error)

NewNumberLib creates a new instance of NumberLib, bound to a specific deployed contract.

type NumberLibCaller

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

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

func NewNumberLibCaller

func NewNumberLibCaller(address common.Address, caller bind.ContractCaller) (*NumberLibCaller, error)

NewNumberLibCaller creates a new read-only instance of NumberLib, bound to a specific deployed contract.

type NumberLibCallerRaw

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

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

func (*NumberLibCallerRaw) Call

func (_NumberLib *NumberLibCallerRaw) 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 NumberLibCallerSession

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

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

type NumberLibFilterer

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

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

func NewNumberLibFilterer

func NewNumberLibFilterer(address common.Address, filterer bind.ContractFilterer) (*NumberLibFilterer, error)

NewNumberLibFilterer creates a new log filterer instance of NumberLib, bound to a specific deployed contract.

type NumberLibRaw

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

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

func (*NumberLibRaw) Call

func (_NumberLib *NumberLibRaw) 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 (*NumberLibRaw) Transact

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

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

func (*NumberLibRaw) Transfer

func (_NumberLib *NumberLibRaw) 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 NumberLibSession

type NumberLibSession struct {
	Contract     *NumberLib        // 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
}

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

type NumberLibTransactor

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

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

func NewNumberLibTransactor

func NewNumberLibTransactor(address common.Address, transactor bind.ContractTransactor) (*NumberLibTransactor, error)

NewNumberLibTransactor creates a new write-only instance of NumberLib, bound to a specific deployed contract.

type NumberLibTransactorRaw

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

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

func (*NumberLibTransactorRaw) Transact

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

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

func (*NumberLibTransactorRaw) Transfer

func (_NumberLib *NumberLibTransactorRaw) 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 NumberLibTransactorSession

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

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

type OwnableUpgradeable

type OwnableUpgradeable struct {
	OwnableUpgradeableCaller     // Read-only binding to the contract
	OwnableUpgradeableTransactor // Write-only binding to the contract
	OwnableUpgradeableFilterer   // Log filterer for contract events
}

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

func NewOwnableUpgradeable

func NewOwnableUpgradeable(address common.Address, backend bind.ContractBackend) (*OwnableUpgradeable, error)

NewOwnableUpgradeable creates a new instance of OwnableUpgradeable, bound to a specific deployed contract.

type OwnableUpgradeableCaller

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

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

func NewOwnableUpgradeableCaller

func NewOwnableUpgradeableCaller(address common.Address, caller bind.ContractCaller) (*OwnableUpgradeableCaller, error)

NewOwnableUpgradeableCaller creates a new read-only instance of OwnableUpgradeable, bound to a specific deployed contract.

func (*OwnableUpgradeableCaller) Owner

func (_OwnableUpgradeable *OwnableUpgradeableCaller) Owner(opts *bind.CallOpts) (common.Address, error)

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

Solidity: function owner() view returns(address)

type OwnableUpgradeableCallerRaw

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

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

func (*OwnableUpgradeableCallerRaw) Call

func (_OwnableUpgradeable *OwnableUpgradeableCallerRaw) 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 OwnableUpgradeableCallerSession

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

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

func (*OwnableUpgradeableCallerSession) Owner

func (_OwnableUpgradeable *OwnableUpgradeableCallerSession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

type OwnableUpgradeableFilterer

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

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

func NewOwnableUpgradeableFilterer

func NewOwnableUpgradeableFilterer(address common.Address, filterer bind.ContractFilterer) (*OwnableUpgradeableFilterer, error)

NewOwnableUpgradeableFilterer creates a new log filterer instance of OwnableUpgradeable, bound to a specific deployed contract.

func (*OwnableUpgradeableFilterer) FilterInitialized

func (_OwnableUpgradeable *OwnableUpgradeableFilterer) FilterInitialized(opts *bind.FilterOpts) (*OwnableUpgradeableInitializedIterator, error)

FilterInitialized is a free log retrieval operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.

Solidity: event Initialized(uint8 version)

func (*OwnableUpgradeableFilterer) FilterOwnershipTransferred

func (_OwnableUpgradeable *OwnableUpgradeableFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*OwnableUpgradeableOwnershipTransferredIterator, error)

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

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

func (*OwnableUpgradeableFilterer) ParseInitialized

func (_OwnableUpgradeable *OwnableUpgradeableFilterer) ParseInitialized(log types.Log) (*OwnableUpgradeableInitialized, error)

ParseInitialized is a log parse operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.

Solidity: event Initialized(uint8 version)

func (*OwnableUpgradeableFilterer) ParseOwnershipTransferred

func (_OwnableUpgradeable *OwnableUpgradeableFilterer) ParseOwnershipTransferred(log types.Log) (*OwnableUpgradeableOwnershipTransferred, error)

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

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

func (*OwnableUpgradeableFilterer) WatchInitialized

func (_OwnableUpgradeable *OwnableUpgradeableFilterer) WatchInitialized(opts *bind.WatchOpts, sink chan<- *OwnableUpgradeableInitialized) (event.Subscription, error)

WatchInitialized is a free log subscription operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.

Solidity: event Initialized(uint8 version)

func (*OwnableUpgradeableFilterer) WatchOwnershipTransferred

func (_OwnableUpgradeable *OwnableUpgradeableFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *OwnableUpgradeableOwnershipTransferred, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error)

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

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

type OwnableUpgradeableInitialized

type OwnableUpgradeableInitialized struct {
	Version uint8
	Raw     types.Log // Blockchain specific contextual infos
}

OwnableUpgradeableInitialized represents a Initialized event raised by the OwnableUpgradeable contract.

type OwnableUpgradeableInitializedIterator

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

OwnableUpgradeableInitializedIterator is returned from FilterInitialized and is used to iterate over the raw logs and unpacked data for Initialized events raised by the OwnableUpgradeable contract.

func (*OwnableUpgradeableInitializedIterator) Close

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

func (*OwnableUpgradeableInitializedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*OwnableUpgradeableInitializedIterator) 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 OwnableUpgradeableOwnershipTransferred

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

OwnableUpgradeableOwnershipTransferred represents a OwnershipTransferred event raised by the OwnableUpgradeable contract.

type OwnableUpgradeableOwnershipTransferredIterator

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

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

func (*OwnableUpgradeableOwnershipTransferredIterator) Close

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

func (*OwnableUpgradeableOwnershipTransferredIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*OwnableUpgradeableOwnershipTransferredIterator) 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 OwnableUpgradeableRaw

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

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

func (*OwnableUpgradeableRaw) Call

func (_OwnableUpgradeable *OwnableUpgradeableRaw) 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 (*OwnableUpgradeableRaw) Transact

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

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

func (*OwnableUpgradeableRaw) Transfer

func (_OwnableUpgradeable *OwnableUpgradeableRaw) 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 OwnableUpgradeableSession

type OwnableUpgradeableSession struct {
	Contract     *OwnableUpgradeable // 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
}

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

func (*OwnableUpgradeableSession) Owner

func (_OwnableUpgradeable *OwnableUpgradeableSession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*OwnableUpgradeableSession) RenounceOwnership

func (_OwnableUpgradeable *OwnableUpgradeableSession) RenounceOwnership() (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*OwnableUpgradeableSession) TransferOwnership

func (_OwnableUpgradeable *OwnableUpgradeableSession) 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 OwnableUpgradeableTransactor

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

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

func NewOwnableUpgradeableTransactor

func NewOwnableUpgradeableTransactor(address common.Address, transactor bind.ContractTransactor) (*OwnableUpgradeableTransactor, error)

NewOwnableUpgradeableTransactor creates a new write-only instance of OwnableUpgradeable, bound to a specific deployed contract.

func (*OwnableUpgradeableTransactor) RenounceOwnership

func (_OwnableUpgradeable *OwnableUpgradeableTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*OwnableUpgradeableTransactor) TransferOwnership

func (_OwnableUpgradeable *OwnableUpgradeableTransactor) 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 OwnableUpgradeableTransactorRaw

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

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

func (*OwnableUpgradeableTransactorRaw) Transact

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

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

func (*OwnableUpgradeableTransactorRaw) Transfer

func (_OwnableUpgradeable *OwnableUpgradeableTransactorRaw) 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 OwnableUpgradeableTransactorSession

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

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

func (*OwnableUpgradeableTransactorSession) RenounceOwnership

func (_OwnableUpgradeable *OwnableUpgradeableTransactorSession) RenounceOwnership() (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*OwnableUpgradeableTransactorSession) TransferOwnership

func (_OwnableUpgradeable *OwnableUpgradeableTransactorSession) 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 StructureUtils

type StructureUtils struct {
	StructureUtilsCaller     // Read-only binding to the contract
	StructureUtilsTransactor // Write-only binding to the contract
	StructureUtilsFilterer   // Log filterer for contract events
}

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

func DeployStructureUtils

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

DeployStructureUtils deploys a new Ethereum contract, binding an instance of StructureUtils to it.

func NewStructureUtils

func NewStructureUtils(address common.Address, backend bind.ContractBackend) (*StructureUtils, error)

NewStructureUtils creates a new instance of StructureUtils, bound to a specific deployed contract.

type StructureUtilsCaller

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

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

func NewStructureUtilsCaller

func NewStructureUtilsCaller(address common.Address, caller bind.ContractCaller) (*StructureUtilsCaller, error)

NewStructureUtilsCaller creates a new read-only instance of StructureUtils, bound to a specific deployed contract.

type StructureUtilsCallerRaw

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

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

func (*StructureUtilsCallerRaw) Call

func (_StructureUtils *StructureUtilsCallerRaw) 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 StructureUtilsCallerSession

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

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

type StructureUtilsFilterer

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

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

func NewStructureUtilsFilterer

func NewStructureUtilsFilterer(address common.Address, filterer bind.ContractFilterer) (*StructureUtilsFilterer, error)

NewStructureUtilsFilterer creates a new log filterer instance of StructureUtils, bound to a specific deployed contract.

type StructureUtilsRaw

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

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

func (*StructureUtilsRaw) Call

func (_StructureUtils *StructureUtilsRaw) 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 (*StructureUtilsRaw) Transact

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

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

func (*StructureUtilsRaw) Transfer

func (_StructureUtils *StructureUtilsRaw) 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 StructureUtilsSession

type StructureUtilsSession struct {
	Contract     *StructureUtils   // 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
}

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

type StructureUtilsTransactor

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

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

func NewStructureUtilsTransactor

func NewStructureUtilsTransactor(address common.Address, transactor bind.ContractTransactor) (*StructureUtilsTransactor, error)

NewStructureUtilsTransactor creates a new write-only instance of StructureUtils, bound to a specific deployed contract.

type StructureUtilsTransactorRaw

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

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

func (*StructureUtilsTransactorRaw) Transact

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

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

func (*StructureUtilsTransactorRaw) Transfer

func (_StructureUtils *StructureUtilsTransactorRaw) 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 StructureUtilsTransactorSession

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

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

type Versioned

type Versioned struct {
	VersionedCaller     // Read-only binding to the contract
	VersionedTransactor // Write-only binding to the contract
	VersionedFilterer   // Log filterer for contract events
}

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

func NewVersioned

func NewVersioned(address common.Address, backend bind.ContractBackend) (*Versioned, error)

NewVersioned creates a new instance of Versioned, bound to a specific deployed contract.

type VersionedCaller

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

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

func NewVersionedCaller

func NewVersionedCaller(address common.Address, caller bind.ContractCaller) (*VersionedCaller, error)

NewVersionedCaller creates a new read-only instance of Versioned, bound to a specific deployed contract.

func (*VersionedCaller) Version

func (_Versioned *VersionedCaller) Version(opts *bind.CallOpts) (string, error)

Version is a free data retrieval call binding the contract method 0x54fd4d50.

Solidity: function version() view returns(string versionString)

type VersionedCallerRaw

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

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

func (*VersionedCallerRaw) Call

func (_Versioned *VersionedCallerRaw) 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 VersionedCallerSession

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

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

func (*VersionedCallerSession) Version

func (_Versioned *VersionedCallerSession) Version() (string, error)

Version is a free data retrieval call binding the contract method 0x54fd4d50.

Solidity: function version() view returns(string versionString)

type VersionedFilterer

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

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

func NewVersionedFilterer

func NewVersionedFilterer(address common.Address, filterer bind.ContractFilterer) (*VersionedFilterer, error)

NewVersionedFilterer creates a new log filterer instance of Versioned, bound to a specific deployed contract.

type VersionedRaw

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

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

func (*VersionedRaw) Call

func (_Versioned *VersionedRaw) 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 (*VersionedRaw) Transact

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

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

func (*VersionedRaw) Transfer

func (_Versioned *VersionedRaw) 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 VersionedSession

type VersionedSession struct {
	Contract     *Versioned        // 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
}

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

func (*VersionedSession) Version

func (_Versioned *VersionedSession) Version() (string, error)

Version is a free data retrieval call binding the contract method 0x54fd4d50.

Solidity: function version() view returns(string versionString)

type VersionedTransactor

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

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

func NewVersionedTransactor

func NewVersionedTransactor(address common.Address, transactor bind.ContractTransactor) (*VersionedTransactor, error)

NewVersionedTransactor creates a new write-only instance of Versioned, bound to a specific deployed contract.

type VersionedTransactorRaw

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

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

func (*VersionedTransactorRaw) Transact

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

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

func (*VersionedTransactorRaw) Transfer

func (_Versioned *VersionedTransactorRaw) 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 VersionedTransactorSession

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

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

Jump to

Keyboard shortcuts

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