eth

package
v0.0.0-...-77861b7 Latest Latest
Warning

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

Go to latest
Published: Jun 16, 2023 License: GPL-3.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// ZeroAddr is all 0s
	ZeroAddr Addr
	// ZeroAddrHex is string of 20 0s
	ZeroAddrHex = Addr2Hex(ZeroAddr)
	// ZeroBigInt is big.NewInt(0)
	ZeroBigInt = big.NewInt(0)
	// ZeroHash is all 0s
	ZeroHash Hash
)
View Source
var BridgeABI = BridgeMetaData.ABI

BridgeABI is the input ABI used to generate the binding from. Deprecated: Use BridgeMetaData.ABI instead.

View Source
var BridgeBin = BridgeMetaData.Bin

BridgeBin is the compiled bytecode used for deploying new contracts. Deprecated: Use BridgeMetaData.Bin instead.

View Source
var BridgeMetaData = &bind.MetaData{
	ABI: "[{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"period\",\"type\":\"uint256\"}],\"name\":\"DelayPeriodUpdated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"threshold\",\"type\":\"uint256\"}],\"name\":\"DelayThresholdUpdated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"id\",\"type\":\"bytes32\"}],\"name\":\"DelayedTransferAdded\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"id\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"receiver\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"DelayedTransferExecuted\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"length\",\"type\":\"uint256\"}],\"name\":\"EpochLengthUpdated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"cap\",\"type\":\"uint256\"}],\"name\":\"EpochVolumeUpdated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"GovernorAdded\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"GovernorRemoved\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint64\",\"name\":\"seqnum\",\"type\":\"uint64\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"provider\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"LiquidityAdded\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"MaxSendUpdated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"MinAddUpdated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"MinSendUpdated\",\"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\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"Paused\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"PauserAdded\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"PauserRemoved\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"transferId\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"receiver\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint64\",\"name\":\"srcChainId\",\"type\":\"uint64\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"srcTransferId\",\"type\":\"bytes32\"}],\"name\":\"Relay\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"resetTime\",\"type\":\"uint256\"}],\"name\":\"ResetNotification\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"transferId\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"receiver\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint64\",\"name\":\"dstChainId\",\"type\":\"uint64\"},{\"indexed\":false,\"internalType\":\"uint64\",\"name\":\"nonce\",\"type\":\"uint64\"},{\"indexed\":false,\"internalType\":\"uint32\",\"name\":\"maxSlippage\",\"type\":\"uint32\"}],\"name\":\"Send\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address[]\",\"name\":\"_signers\",\"type\":\"address[]\"},{\"indexed\":false,\"internalType\":\"uint256[]\",\"name\":\"_powers\",\"type\":\"uint256[]\"}],\"name\":\"SignersUpdated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"Unpaused\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"withdrawId\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"uint64\",\"name\":\"seqnum\",\"type\":\"uint64\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"receiver\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"refid\",\"type\":\"bytes32\"}],\"name\":\"WithdrawDone\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_account\",\"type\":\"address\"}],\"name\":\"addGovernor\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_token\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"}],\"name\":\"addLiquidity\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"}],\"name\":\"addNativeLiquidity\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"addPauser\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"addseq\",\"outputs\":[{\"internalType\":\"uint64\",\"name\":\"\",\"type\":\"uint64\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"delayPeriod\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"delayThresholds\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"name\":\"delayedTransfers\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"receiver\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"timestamp\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"epochLength\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"epochVolumeCaps\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"epochVolumes\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"id\",\"type\":\"bytes32\"}],\"name\":\"executeDelayedTransfer\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"governors\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"period\",\"type\":\"uint256\"}],\"name\":\"increaseNoticePeriod\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_account\",\"type\":\"address\"}],\"name\":\"isGovernor\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"isPauser\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"lastOpTimestamps\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"maxSend\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"minAdd\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"minSend\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"minimalMaxSlippage\",\"outputs\":[{\"internalType\":\"uint32\",\"name\":\"\",\"type\":\"uint32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"nativeWrap\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"noticePeriod\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"notifyResetSigners\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"pause\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"paused\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"pausers\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"_relayRequest\",\"type\":\"bytes\"},{\"internalType\":\"bytes[]\",\"name\":\"_sigs\",\"type\":\"bytes[]\"},{\"internalType\":\"address[]\",\"name\":\"_signers\",\"type\":\"address[]\"},{\"internalType\":\"uint256[]\",\"name\":\"_powers\",\"type\":\"uint256[]\"}],\"name\":\"relay\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_account\",\"type\":\"address\"}],\"name\":\"removeGovernor\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"removePauser\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceGovernor\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renouncePauser\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address[]\",\"name\":\"_signers\",\"type\":\"address[]\"},{\"internalType\":\"uint256[]\",\"name\":\"_powers\",\"type\":\"uint256[]\"}],\"name\":\"resetSigners\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"resetTime\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_receiver\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_token\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"},{\"internalType\":\"uint64\",\"name\":\"_dstChainId\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"_nonce\",\"type\":\"uint64\"},{\"internalType\":\"uint32\",\"name\":\"_maxSlippage\",\"type\":\"uint32\"}],\"name\":\"send\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_receiver\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"},{\"internalType\":\"uint64\",\"name\":\"_dstChainId\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"_nonce\",\"type\":\"uint64\"},{\"internalType\":\"uint32\",\"name\":\"_maxSlippage\",\"type\":\"uint32\"}],\"name\":\"sendNative\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_period\",\"type\":\"uint256\"}],\"name\":\"setDelayPeriod\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address[]\",\"name\":\"_tokens\",\"type\":\"address[]\"},{\"internalType\":\"uint256[]\",\"name\":\"_thresholds\",\"type\":\"uint256[]\"}],\"name\":\"setDelayThresholds\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_length\",\"type\":\"uint256\"}],\"name\":\"setEpochLength\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address[]\",\"name\":\"_tokens\",\"type\":\"address[]\"},{\"internalType\":\"uint256[]\",\"name\":\"_caps\",\"type\":\"uint256[]\"}],\"name\":\"setEpochVolumeCaps\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address[]\",\"name\":\"_tokens\",\"type\":\"address[]\"},{\"internalType\":\"uint256[]\",\"name\":\"_amounts\",\"type\":\"uint256[]\"}],\"name\":\"setMaxSend\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address[]\",\"name\":\"_tokens\",\"type\":\"address[]\"},{\"internalType\":\"uint256[]\",\"name\":\"_amounts\",\"type\":\"uint256[]\"}],\"name\":\"setMinAdd\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address[]\",\"name\":\"_tokens\",\"type\":\"address[]\"},{\"internalType\":\"uint256[]\",\"name\":\"_amounts\",\"type\":\"uint256[]\"}],\"name\":\"setMinSend\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint32\",\"name\":\"_minimalMaxSlippage\",\"type\":\"uint32\"}],\"name\":\"setMinimalMaxSlippage\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_weth\",\"type\":\"address\"}],\"name\":\"setWrap\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"ssHash\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"name\":\"transfers\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"triggerTime\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"unpause\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_triggerTime\",\"type\":\"uint256\"},{\"internalType\":\"address[]\",\"name\":\"_newSigners\",\"type\":\"address[]\"},{\"internalType\":\"uint256[]\",\"name\":\"_newPowers\",\"type\":\"uint256[]\"},{\"internalType\":\"bytes[]\",\"name\":\"_sigs\",\"type\":\"bytes[]\"},{\"internalType\":\"address[]\",\"name\":\"_curSigners\",\"type\":\"address[]\"},{\"internalType\":\"uint256[]\",\"name\":\"_curPowers\",\"type\":\"uint256[]\"}],\"name\":\"updateSigners\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"_msg\",\"type\":\"bytes\"},{\"internalType\":\"bytes[]\",\"name\":\"_sigs\",\"type\":\"bytes[]\"},{\"internalType\":\"address[]\",\"name\":\"_signers\",\"type\":\"address[]\"},{\"internalType\":\"uint256[]\",\"name\":\"_powers\",\"type\":\"uint256[]\"}],\"name\":\"verifySigs\",\"outputs\":[],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"_wdmsg\",\"type\":\"bytes\"},{\"internalType\":\"bytes[]\",\"name\":\"_sigs\",\"type\":\"bytes[]\"},{\"internalType\":\"address[]\",\"name\":\"_signers\",\"type\":\"address[]\"},{\"internalType\":\"uint256[]\",\"name\":\"_powers\",\"type\":\"uint256[]\"}],\"name\":\"withdraw\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"name\":\"withdraws\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"stateMutability\":\"payable\",\"type\":\"receive\"}]",
	Bin: "0x60806040523480156200001157600080fd5b506200001d3362000048565b60016005556006805460ff19169055620000373362000098565b620000423362000162565b62000222565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6001600160a01b03811660009081526007602052604090205460ff1615620001075760405162461bcd60e51b815260206004820152601960248201527f4163636f756e7420697320616c7265616479207061757365720000000000000060448201526064015b60405180910390fd5b6001600160a01b038116600081815260076020908152604091829020805460ff1916600117905590519182527f6719d08c1888103bea251a4ed56406bd0c3e69723c8a1686e017e7bbe159b6f891015b60405180910390a150565b6001600160a01b03811660009081526008602052604090205460ff1615620001cd5760405162461bcd60e51b815260206004820152601b60248201527f4163636f756e7420697320616c726561647920676f7665726e6f7200000000006044820152606401620000fe565b6001600160a01b038116600081815260086020908152604091829020805460ff1916600117905590519182527fdc5a48d79e2e147530ff63ecdbed5a5a66adb9d5cf339384d5d076da197c40b5910162000157565b61513480620002326000396000f3fe6080604052600436106103645760003560e01c806382dc1ec4116101c6578063ba2cb25c116100f7578063e43581b811610095578063f20c922a1161006f578063f20c922a14610aaf578063f2fde38b14610acf578063f832138314610aef578063f8b30d7d14610b1c57600080fd5b8063e43581b814610a36578063e999e5f414610a6f578063eecdac8814610a8f57600080fd5b8063d0790da9116100d1578063d0790da9146109ab578063e026049c146109c1578063e09ab428146109d6578063e3eece2614610a0657600080fd5b8063ba2cb25c1461093e578063ccde517a1461095e578063cdd1b25d1461098b57600080fd5b80639ff9001a11610164578063a7bdf45a1161013e578063a7bdf45a14610861578063adc0d57f14610881578063b1c94d94146108fb578063b5f2bc471461091157600080fd5b80639ff9001a14610801578063a21a928014610821578063a5977fbb1461084157600080fd5b806389e39127116101a057806389e39127146107735780638da5cb5b146107ad5780639b14d4c6146107cb5780639e25fc5c146107e157600080fd5b806382dc1ec41461071e5780638456cb591461073e578063878fe1ce1461075357600080fd5b806348234126116102a0578063618ee0551161023e5780636b2c0f55116102185780636b2c0f55146106a65780636ef8d66d146106c65780637044c89e146106db57806380f51c12146106ee57600080fd5b8063618ee0551461064357806365a114f114610670578063682dbc221461068657600080fd5b8063566887001161027a57806356688700146105c857806357d775f8146105e85780635c975abb146105fe57806360216b001461061657600080fd5b8063482341261461055b57806352532faa1461057b57806354eea796146105a857600080fd5b80633c64f04b1161030d5780633f4ba83a116102e75780633f4ba83a146104b5578063457bfa2f146104ca57806346fbf68e1461050257806347b16c6c1461053b57600080fd5b80633c64f04b146104425780633d572107146104825780633f2e5fc3146104a257600080fd5b80632fd1b0a41161033e5780632fd1b0a4146103c7578063370fb47b146103fe5780633c4a25d01461042257600080fd5b8063089927411461037057806317bdbae51461039257806325c38b9f146103b257600080fd5b3661036b57005b600080fd5b34801561037c57600080fd5b5061039061038b3660046148ae565b610b49565b005b34801561039e57600080fd5b506103906103ad3660046148ae565b610cec565b3480156103be57600080fd5b50610390610e83565b3480156103d357600080fd5b506017546103e49063ffffffff1681565b60405163ffffffff90911681526020015b60405180910390f35b34801561040a57600080fd5b5061041460025481565b6040519081526020016103f5565b34801561042e57600080fd5b5061039061043d366004614936565b610f22565b34801561044e57600080fd5b5061047261045d366004614951565b60146020526000908152604090205460ff1681565b60405190151581526020016103f5565b34801561048e57600080fd5b5061039061049d366004614951565b610f85565b6103906104b0366004614996565b611019565b3480156104c157600080fd5b5061039061126e565b3480156104d657600080fd5b506013546104ea906001600160a01b031681565b6040516001600160a01b0390911681526020016103f5565b34801561050e57600080fd5b5061047261051d366004614936565b6001600160a01b031660009081526007602052604090205460ff1690565b34801561054757600080fd5b506103906105563660046148ae565b6112d7565b34801561056757600080fd5b506103906105763660046149f4565b61146e565b34801561058757600080fd5b50610414610596366004614936565b600e6020526000908152604090205481565b3480156105b457600080fd5b506103906105c3366004614951565b6114e2565b3480156105d457600080fd5b506103906105e3366004614a0f565b61156f565b3480156105f457600080fd5b5061041460095481565b34801561060a57600080fd5b5060065460ff16610472565b34801561062257600080fd5b50610414610631366004614936565b600a6020526000908152604090205481565b34801561064f57600080fd5b5061041461065e366004614936565b60166020526000908152604090205481565b34801561067c57600080fd5b5061041460035481565b34801561069257600080fd5b506103906106a1366004614a4f565b611730565b3480156106b257600080fd5b506103906106c1366004614936565b61181c565b3480156106d257600080fd5b5061039061187c565b6103906106e9366004614951565b611885565b3480156106fa57600080fd5b50610472610709366004614936565b60076020526000908152604090205460ff1681565b34801561072a57600080fd5b50610390610739366004614936565b611b36565b34801561074a57600080fd5b50610390611b96565b34801561075f57600080fd5b5061039061076e3660046148ae565b611bfd565b34801561077f57600080fd5b506010546107949067ffffffffffffffff1681565b60405167ffffffffffffffff90911681526020016103f5565b3480156107b957600080fd5b506000546001600160a01b03166104ea565b3480156107d757600080fd5b5061041460045481565b3480156107ed57600080fd5b506103906107fc366004614951565b611d94565b34801561080d57600080fd5b5061039061081c366004614936565b611e02565b34801561082d57600080fd5b5061039061083c366004614b7d565b611e7b565b34801561084d57600080fd5b5061039061085c366004614c6c565b6121c2565b34801561086d57600080fd5b5061039061087c3660046148ae565b61230f565b34801561088d57600080fd5b506108d061089c366004614951565b600d6020526000908152604090208054600182015460028301546003909301546001600160a01b0392831693919092169184565b604080516001600160a01b0395861681529490931660208501529183015260608201526080016103f5565b34801561090757600080fd5b50610414600f5481565b34801561091d57600080fd5b5061041461092c366004614936565b600b6020526000908152604090205481565b34801561094a57600080fd5b50610390610959366004614cd9565b6123cf565b34801561096a57600080fd5b50610414610979366004614936565b60116020526000908152604090205481565b34801561099757600080fd5b506103906109a6366004614b7d565b612525565b3480156109b757600080fd5b5061041460015481565b3480156109cd57600080fd5b5061039061284a565b3480156109e257600080fd5b506104726109f1366004614951565b60126020526000908152604090205460ff1681565b348015610a1257600080fd5b50610472610a21366004614936565b60086020526000908152604090205460ff1681565b348015610a4257600080fd5b50610472610a51366004614936565b6001600160a01b031660009081526008602052604090205460ff1690565b348015610a7b57600080fd5b50610390610a8a3660046148ae565b612853565b348015610a9b57600080fd5b50610390610aaa366004614936565b6129ea565b348015610abb57600080fd5b50610390610aca366004614951565b612a4a565b348015610adb57600080fd5b50610390610aea366004614936565b612b03565b348015610afb57600080fd5b50610414610b0a366004614936565b600c6020526000908152604090205481565b348015610b2857600080fd5b50610414610b37366004614936565b60156020526000908152604090205481565b3360009081526008602052604090205460ff16610ba65760405162461bcd60e51b815260206004820152601660248201527521b0b63632b91034b9903737ba1033b7bb32b93737b960511b60448201526064015b60405180910390fd5b828114610be75760405162461bcd60e51b815260206004820152600f60248201526e0d8cadccee8d040dad2e6dac2e8c6d608b1b6044820152606401610b9d565b60005b83811015610ce557828282818110610c0457610c04614dd9565b9050602002013560156000878785818110610c2157610c21614dd9565b9050602002016020810190610c369190614936565b6001600160a01b031681526020810191909152604001600020557f8b59d386e660418a48d742213ad5ce7c4dd51ae81f30e4e2c387f17d907010c9858583818110610c8357610c83614dd9565b9050602002016020810190610c989190614936565b848484818110610caa57610caa614dd9565b604080516001600160a01b0390951685526020918202939093013590840152500160405180910390a180610cdd81614e05565b915050610bea565b5050505050565b3360009081526008602052604090205460ff16610d445760405162461bcd60e51b815260206004820152601660248201527521b0b63632b91034b9903737ba1033b7bb32b93737b960511b6044820152606401610b9d565b828114610d855760405162461bcd60e51b815260206004820152600f60248201526e0d8cadccee8d040dad2e6dac2e8c6d608b1b6044820152606401610b9d565b60005b83811015610ce557828282818110610da257610da2614dd9565b90506020020135600e6000878785818110610dbf57610dbf614dd9565b9050602002016020810190610dd49190614936565b6001600160a01b031681526020810191909152604001600020557fceaad6533bfb481492fb3e08ef19297f46611b8fa9de5ef4cf8dc23a56ad09ce858583818110610e2157610e21614dd9565b9050602002016020810190610e369190614936565b848484818110610e4857610e48614dd9565b604080516001600160a01b0390951685526020918202939093013590840152500160405180910390a180610e7b81614e05565b915050610d88565b33610e966000546001600160a01b031690565b6001600160a01b031614610eda5760405162461bcd60e51b815260206004820181905260248201526000805160206150df8339815191526044820152606401610b9d565b600454610ee79042614e1e565b60038190556040519081527f68e825132f7d4bc837dea2d64ac9fc19912bf0224b67f9317d8f1a917f5304a1906020015b60405180910390a1565b33610f356000546001600160a01b031690565b6001600160a01b031614610f795760405162461bcd60e51b815260206004820181905260248201526000805160206150df8339815191526044820152606401610b9d565b610f8281612bdf565b50565b3360009081526008602052604090205460ff16610fdd5760405162461bcd60e51b815260206004820152601660248201527521b0b63632b91034b9903737ba1033b7bb32b93737b960511b6044820152606401610b9d565b600f8190556040518181527fc0a39f234199b125fb93713c4d067bdcebbf691087f87b79c0feb92b156ba8b6906020015b60405180910390a150565b60026005540361106b5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610b9d565b600260055560065460ff16156110b65760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b6044820152606401610b9d565b8334146110f75760405162461bcd60e51b815260206004820152600f60248201526e082dadeeadce840dad2e6dac2e8c6d608b1b6044820152606401610b9d565b6013546001600160a01b031661114f5760405162461bcd60e51b815260206004820152601360248201527f4e61746976652077726170206e6f7420736574000000000000000000000000006044820152606401610b9d565b60135460009061116d9087906001600160a01b031687878787612c9c565b9050601360009054906101000a90046001600160a01b03166001600160a01b031663d0e30db0866040518263ffffffff1660e01b81526004016000604051808303818588803b1580156111bf57600080fd5b505af11580156111d3573d6000803e3d6000fd5b5050601354604080518681523360208201526001600160a01b03808d1692820192909252911660608201526080810189905267ffffffffffffffff80891660a0830152871660c082015263ffffffff861660e08201527f89d8051e597ab4178a863a5190407b98abfeff406aa8db90c59af76612e58f0193506101000191506112599050565b60405180910390a15050600160055550505050565b3360009081526007602052604090205460ff166112cd5760405162461bcd60e51b815260206004820152601460248201527f43616c6c6572206973206e6f74207061757365720000000000000000000000006044820152606401610b9d565b6112d5612ecf565b565b3360009081526008602052604090205460ff1661132f5760405162461bcd60e51b815260206004820152601660248201527521b0b63632b91034b9903737ba1033b7bb32b93737b960511b6044820152606401610b9d565b8281146113705760405162461bcd60e51b815260206004820152600f60248201526e0d8cadccee8d040dad2e6dac2e8c6d608b1b6044820152606401610b9d565b60005b83811015610ce55782828281811061138d5761138d614dd9565b90506020020135600b60008787858181106113aa576113aa614dd9565b90506020020160208101906113bf9190614936565b6001600160a01b031681526020810191909152604001600020557f608e49c22994f20b5d3496dca088b88dfd81b4a3e8cc3809ea1e10a320107e8985858381811061140c5761140c614dd9565b90506020020160208101906114219190614936565b84848481811061143357611433614dd9565b604080516001600160a01b0390951685526020918202939093013590840152500160405180910390a18061146681614e05565b915050611373565b3360009081526008602052604090205460ff166114c65760405162461bcd60e51b815260206004820152601660248201527521b0b63632b91034b9903737ba1033b7bb32b93737b960511b6044820152606401610b9d565b6017805463ffffffff191663ffffffff92909216919091179055565b3360009081526008602052604090205460ff1661153a5760405162461bcd60e51b815260206004820152601660248201527521b0b63632b91034b9903737ba1033b7bb32b93737b960511b6044820152606401610b9d565b60098190556040518181527f2664fec2ff76486ac58ed087310855b648b15b9d19f3de8529e95f7c46b7d6b39060200161100e565b6002600554036115c15760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610b9d565b600260055560065460ff161561160c5760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b6044820152606401610b9d565b6001600160a01b03821660009081526011602052604090205481116116665760405162461bcd60e51b815260206004820152601060248201526f185b5bdd5b9d081d1bdbc81cdb585b1b60821b6044820152606401610b9d565b601080546001919060009061168690849067ffffffffffffffff16614e31565b92506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506116cc333083856001600160a01b0316612f66909392919063ffffffff16565b6010546040805167ffffffffffffffff90921682523360208301526001600160a01b0384168282015260608201839052517fd5d28426c3248963b1719df49aa4c665120372e02c8249bbea03d019c39ce7649181900360800190a150506001600555565b6000848484846040516020016117499493929190614ec1565b60405160208183030381529060405280519060200120905080600154146117b25760405162461bcd60e51b815260206004820152601860248201527f4d69736d617463682063757272656e74207369676e65727300000000000000006044820152606401610b9d565b87516020808a0191909120604080517f19457468657265756d205369676e6564204d6573736167653a0a33320000000081850152603c8082019390935281518082039093018352605c019052805191012061181290888888888888612ffe565b5050505050505050565b3361182f6000546001600160a01b031690565b6001600160a01b0316146118735760405162461bcd60e51b815260206004820181905260248201526000805160206150df8339815191526044820152606401610b9d565b610f8281613333565b6112d533613333565b6002600554036118d75760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610b9d565b600260055560065460ff16156119225760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b6044820152606401610b9d565b8034146119635760405162461bcd60e51b815260206004820152600f60248201526e082dadeeadce840dad2e6dac2e8c6d608b1b6044820152606401610b9d565b6013546001600160a01b03166119bb5760405162461bcd60e51b815260206004820152601360248201527f4e61746976652077726170206e6f7420736574000000000000000000000000006044820152606401610b9d565b6013546001600160a01b03166000908152601160205260409020548111611a175760405162461bcd60e51b815260206004820152601060248201526f185b5bdd5b9d081d1bdbc81cdb585b1b60821b6044820152606401610b9d565b6010805460019190600090611a3790849067ffffffffffffffff16614e31565b92506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550601360009054906101000a90046001600160a01b03166001600160a01b031663d0e30db0826040518263ffffffff1660e01b81526004016000604051808303818588803b158015611aad57600080fd5b505af1158015611ac1573d6000803e3d6000fd5b50506010546013546040805167ffffffffffffffff90931683523360208401526001600160a01b0390911690820152606081018590527fd5d28426c3248963b1719df49aa4c665120372e02c8249bbea03d019c39ce76493506080019150611b269050565b60405180910390a1506001600555565b33611b496000546001600160a01b031690565b6001600160a01b031614611b8d5760405162461bcd60e51b815260206004820181905260248201526000805160206150df8339815191526044820152606401610b9d565b610f82816133ec565b3360009081526007602052604090205460ff16611bf55760405162461bcd60e51b815260206004820152601460248201527f43616c6c6572206973206e6f74207061757365720000000000000000000000006044820152606401610b9d565b6112d56134a9565b3360009081526008602052604090205460ff16611c555760405162461bcd60e51b815260206004820152601660248201527521b0b63632b91034b9903737ba1033b7bb32b93737b960511b6044820152606401610b9d565b828114611c965760405162461bcd60e51b815260206004820152600f60248201526e0d8cadccee8d040dad2e6dac2e8c6d608b1b6044820152606401610b9d565b60005b83811015610ce557828282818110611cb357611cb3614dd9565b9050602002013560166000878785818110611cd057611cd0614dd9565b9050602002016020810190611ce59190614936565b6001600160a01b031681526020810191909152604001600020557f4f12d1a5bfb3ccd3719255d4d299d808d50cdca9a0a5c2b3a5aaa7edde73052c858583818110611d3257611d32614dd9565b9050602002016020810190611d479190614936565b848484818110611d5957611d59614dd9565b604080516001600160a01b0390951685526020918202939093013590840152500160405180910390a180611d8c81614e05565b915050611c99565b60065460ff1615611dda5760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b6044820152606401610b9d565b6000611de582613524565b9050611dfe8160000151826020015183604001516136e9565b5050565b33611e156000546001600160a01b031690565b6001600160a01b031614611e595760405162461bcd60e51b815260206004820181905260248201526000805160206150df8339815191526044820152606401610b9d565b601380546001600160a01b0319166001600160a01b0392909216919091179055565b60065460ff1615611ec15760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b6044820152606401610b9d565b60004630604051602001611f1792919091825260601b6bffffffffffffffffffffffff191660208201527f57697468647261774d73670000000000000000000000000000000000000000006034820152603f0190565b604051602081830303815290604052805190602001209050611f61818a8a604051602001611f4793929190614ee2565b604051602081830303815290604052888888888888611730565b6000611fa28a8a8080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525061381e92505050565b905060008160000151826020015183604001518460600151856080015160405160200161201b95949392919060c095861b6001600160c01b031990811682529490951b9093166008850152606091821b6bffffffffffffffffffffffff199081166010860152911b166024830152603882015260580190565b60408051601f1981840301815291815281516020928301206000818152601290935291205490915060ff16156120935760405162461bcd60e51b815260206004820152601a60248201527f776974686472617720616c7265616479207375636365656465640000000000006044820152606401610b9d565b6000818152601260205260409020805460ff19166001179055606082015160808301516120c09190613978565b60608201516001600160a01b03166000908152600e602052604090205480158015906120ef5750808360800151115b156121115761210c82846040015185606001518660800151613a96565b612128565b6121288360400151846060015185608001516136e9565b7f48a1ab26f3aa7b62bb6b6e8eed182f292b84eb7b006c0254386b268af20774be8284602001518560400151866060015187608001518860a001516040516121ac9695949392919095865267ffffffffffffffff9490941660208601526001600160a01b03928316604086015291166060840152608083015260a082015260c00190565b60405180910390a1505050505050505050505050565b6002600554036122145760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610b9d565b600260055560065460ff161561225f5760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b6044820152606401610b9d565b600061226f878787878787612c9c565b90506122866001600160a01b038716333088612f66565b604080518281523360208201526001600160a01b0389811682840152881660608201526080810187905267ffffffffffffffff86811660a0830152851660c082015263ffffffff841660e082015290517f89d8051e597ab4178a863a5190407b98abfeff406aa8db90c59af76612e58f01918190036101000190a1505060016005555050505050565b336123226000546001600160a01b031690565b6001600160a01b0316146123665760405162461bcd60e51b815260206004820181905260248201526000805160206150df8339815191526044820152606401610b9d565b60035442116123b75760405162461bcd60e51b815260206004820152601460248201527f6e6f742072656163682072657365742074696d650000000000000000000000006044820152606401610b9d565b6000196003556123c984848484613ba9565b50505050565b6002548b116124205760405162461bcd60e51b815260206004820152601e60248201527f547269676765722074696d65206973206e6f7420696e6372656173696e6700006044820152606401610b9d565b61242c42610e10614e1e565b8b1061247a5760405162461bcd60e51b815260206004820152601960248201527f547269676765722074696d6520697320746f6f206c61726765000000000000006044820152606401610b9d565b600046306040516020016124d092919091825260601b6bffffffffffffffffffffffff191660208201527f5570646174655369676e65727300000000000000000000000000000000000000603482015260410190565b604051602081830303815290604052805190602001209050612506818d8d8d8d8d604051602001611f4796959493929190614efc565b6125128b8b8b8b613ba9565b5050506002989098555050505050505050565b60065460ff161561256b5760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b6044820152606401610b9d565b600046306040516020016125c192919091825260601b6bffffffffffffffffffffffff191660208201527f52656c6179000000000000000000000000000000000000000000000000000000603482015260390190565b6040516020818303038152906040528051906020012090506125f1818a8a604051602001611f4793929190614ee2565b60006126328a8a8080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250613d5392505050565b8051602080830151604080850151606080870151608088015160a089015160c0808b015187519a861b6bffffffffffffffffffffffff199081168c8c015298861b891660348c01529590941b9096166048890152605c880191909152811b6001600160c01b0319908116607c88015293901b9092166084850152608c808501929092528051808503909201825260ac909301835280519082012060008181526014909252919020549192509060ff16156127205760405162461bcd60e51b815260206004820152600f60248201526e7472616e736665722065786973747360881b6044820152606401610b9d565b60008181526014602052604090819020805460ff19166001179055820151606083015161274d9190613978565b6040808301516001600160a01b03166000908152600e6020522054801580159061277a5750808360600151115b1561279c5761279782846020015185604001518660600151613a96565b6127b3565b6127b38360200151846040015185606001516136e9565b7f79fa08de5149d912dce8e5e8da7a7c17ccdf23dd5d3bfe196802e6eb86347c7c82846000015185602001518660400151876060015188608001518960c001516040516121ac97969594939291909687526001600160a01b0395861660208801529385166040870152919093166060850152608084019290925267ffffffffffffffff9190911660a083015260c082015260e00190565b6112d533613ec4565b3360009081526008602052604090205460ff166128ab5760405162461bcd60e51b815260206004820152601660248201527521b0b63632b91034b9903737ba1033b7bb32b93737b960511b6044820152606401610b9d565b8281146128ec5760405162461bcd60e51b815260206004820152600f60248201526e0d8cadccee8d040dad2e6dac2e8c6d608b1b6044820152606401610b9d565b60005b83811015610ce55782828281811061290957612909614dd9565b905060200201356011600087878581811061292657612926614dd9565b905060200201602081019061293b9190614936565b6001600160a01b031681526020810191909152604001600020557fc56b0d14c4940515800d94ebbd0f3f5d8cc58ba1109c12536bd993b72e466e4f85858381811061298857612988614dd9565b905060200201602081019061299d9190614936565b8484848181106129af576129af614dd9565b604080516001600160a01b0390951685526020918202939093013590840152500160405180910390a1806129e281614e05565b9150506128ef565b336129fd6000546001600160a01b031690565b6001600160a01b031614612a415760405162461bcd60e51b815260206004820181905260248201526000805160206150df8339815191526044820152606401610b9d565b610f8281613ec4565b33612a5d6000546001600160a01b031690565b6001600160a01b031614612aa15760405162461bcd60e51b815260206004820181905260248201526000805160206150df8339815191526044820152606401610b9d565b6004548111612afe5760405162461bcd60e51b815260206004820152602360248201527f6e6f7469636520706572696f642063616e206f6e6c7920626520696e637265616044820152621cd95960ea1b6064820152608401610b9d565b600455565b33612b166000546001600160a01b031690565b6001600160a01b031614612b5a5760405162461bcd60e51b815260206004820181905260248201526000805160206150df8339815191526044820152606401610b9d565b6001600160a01b038116612bd65760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610b9d565b610f8281613f7d565b6001600160a01b03811660009081526008602052604090205460ff1615612c485760405162461bcd60e51b815260206004820152601b60248201527f4163636f756e7420697320616c726561647920676f7665726e6f7200000000006044820152606401610b9d565b6001600160a01b038116600081815260086020908152604091829020805460ff1916600117905590519182527fdc5a48d79e2e147530ff63ecdbed5a5a66adb9d5cf339384d5d076da197c40b5910161100e565b6001600160a01b0385166000908152601560205260408120548511612cf65760405162461bcd60e51b815260206004820152601060248201526f185b5bdd5b9d081d1bdbc81cdb585b1b60821b6044820152606401610b9d565b6001600160a01b0386166000908152601660205260409020541580612d3357506001600160a01b0386166000908152601660205260409020548511155b612d7f5760405162461bcd60e51b815260206004820152601060248201527f616d6f756e7420746f6f206c61726765000000000000000000000000000000006044820152606401610b9d565b60175463ffffffff90811690831611612dda5760405162461bcd60e51b815260206004820152601660248201527f6d617820736c69707061676520746f6f20736d616c6c000000000000000000006044820152606401610b9d565b6040516bffffffffffffffffffffffff1933606090811b8216602084015289811b8216603484015288901b166048820152605c81018690526001600160c01b031960c086811b8216607c84015285811b8216608484015246901b16608c82015260009060940160408051601f1981840301815291815281516020928301206000818152601490935291205490915060ff1615612eaa5760405162461bcd60e51b815260206004820152600f60248201526e7472616e736665722065786973747360881b6044820152606401610b9d565b6000818152601460205260409020805460ff1916600117905590509695505050505050565b60065460ff16612f215760405162461bcd60e51b815260206004820152601460248201527f5061757361626c653a206e6f74207061757365640000000000000000000000006044820152606401610b9d565b6006805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b039091168152602001610f18565b6040516001600160a01b03808516602483015283166044820152606481018290526123c99085906323b872dd60e01b906084015b60408051601f198184030181529190526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fffffffff0000000000000000000000000000000000000000000000000000000090931692909217909152613fcd565b8281146130595760405162461bcd60e51b815260206004820152602360248201527f7369676e65727320616e6420706f77657273206c656e677468206e6f74206d616044820152620e8c6d60eb1b6064820152608401610b9d565b6000805b8481101561309d5783838281811061307757613077614dd9565b90506020020135826130899190614e1e565b91508061309581614e05565b91505061305d565b50600060036130ad836002614f24565b6130b79190614f3b565b6130c2906001614e1e565b905060008080805b8a8110156132e157600061314d8d8d848181106130e9576130e9614dd9565b90506020028101906130fb9190614f5d565b8080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f820116905080830192505050505050508f6140b290919063ffffffff16565b9050836001600160a01b0316816001600160a01b0316116131b05760405162461bcd60e51b815260206004820152601e60248201527f7369676e657273206e6f7420696e20617363656e64696e67206f7264657200006044820152606401610b9d565b8093505b8a8a848181106131c6576131c6614dd9565b90506020020160208101906131db9190614936565b6001600160a01b0316816001600160a01b03161115613255576131ff600184614e1e565b92508983106132505760405162461bcd60e51b815260206004820152601060248201527f7369676e6572206e6f7420666f756e64000000000000000000000000000000006044820152606401610b9d565b6131b4565b8a8a8481811061326757613267614dd9565b905060200201602081019061327c9190614936565b6001600160a01b0316816001600160a01b0316036132bb578888848181106132a6576132a6614dd9565b90506020020135856132b89190614e1e565b94505b8585106132ce575050505050505061332a565b50806132d981614e05565b9150506130ca565b5060405162461bcd60e51b815260206004820152601260248201527f71756f72756d206e6f74207265616368656400000000000000000000000000006044820152606401610b9d565b50505050505050565b6001600160a01b03811660009081526007602052604090205460ff1661339b5760405162461bcd60e51b815260206004820152601560248201527f4163636f756e74206973206e6f742070617573657200000000000000000000006044820152606401610b9d565b6001600160a01b038116600081815260076020908152604091829020805460ff1916905590519182527fcd265ebaf09df2871cc7bd4133404a235ba12eff2041bb89d9c714a2621c7c7e910161100e565b6001600160a01b03811660009081526007602052604090205460ff16156134555760405162461bcd60e51b815260206004820152601960248201527f4163636f756e7420697320616c726561647920706175736572000000000000006044820152606401610b9d565b6001600160a01b038116600081815260076020908152604091829020805460ff1916600117905590519182527f6719d08c1888103bea251a4ed56406bd0c3e69723c8a1686e017e7bbe159b6f8910161100e565b60065460ff16156134ef5760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b6044820152606401610b9d565b6006805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258612f4e3390565b6040805160808101825260008082526020820181905291810182905260608101919091526000828152600d6020908152604091829020825160808101845281546001600160a01b03908116825260018301541692810192909252600281015492820192909252600390910154606082018190526135e35760405162461bcd60e51b815260206004820152601a60248201527f64656c61796564207472616e73666572206e6f742065786973740000000000006044820152606401610b9d565b600f5481606001516135f59190614e1e565b42116136435760405162461bcd60e51b815260206004820152601d60248201527f64656c61796564207472616e73666572207374696c6c206c6f636b65640000006044820152606401610b9d565b6000838152600d6020908152604080832080546001600160a01b03199081168255600182018054909116905560028101849055600301929092558251908301518383015192517f3b40e5089937425d14cdd96947e5661868357e224af59bd8b24a4b8a330d4426936136db93889390929091909384526001600160a01b03928316602085015291166040830152606082015260800190565b60405180910390a192915050565b6013546001600160a01b039081169083160361380557601354604051632e1a7d4d60e01b8152600481018390526001600160a01b0390911690632e1a7d4d90602401600060405180830381600087803b15801561374557600080fd5b505af1158015613759573d6000803e3d6000fd5b505050506000836001600160a01b03168261c35090604051600060405180830381858888f193505050503d80600081146137af576040519150601f19603f3d011682016040523d82523d6000602084013e6137b4565b606091505b50509050806123c95760405162461bcd60e51b815260206004820152601b60248201527f6661696c656420746f2073656e64206e617469766520746f6b656e00000000006044820152606401610b9d565b6138196001600160a01b03831684836140d8565b505050565b6040805160c08101825260008082526020808301829052828401829052606083018290526080830182905260a0830182905283518085019094528184528301849052909190805b602083015151835110156139705761387c83614108565b9092509050816001036138a35761389283614142565b67ffffffffffffffff168452613865565b816002036138c8576138b483614142565b67ffffffffffffffff166020850152613865565b816003036138f4576138e16138dc846141bd565b61427a565b6001600160a01b03166040850152613865565b8160040361391b576139086138dc846141bd565b6001600160a01b03166060850152613865565b8160050361393e5761393461392f846141bd565b614285565b6080850152613865565b8160060361396157613957613952846141bd565b6142bc565b60a0850152613865565b61396b83826142d4565b613865565b505050919050565b600954600003613986575050565b6001600160a01b0382166000908152600b6020526040812054908190036139ac57505050565b6001600160a01b0383166000908152600a6020526040812054600954909142916139d68184614f3b565b6139e09190614f24565b6001600160a01b0387166000908152600c6020526040902054909150811115613a0b57849250613a18565b613a158584614e1e565b92505b83831115613a685760405162461bcd60e51b815260206004820152601260248201527f766f6c756d6520657863656564732063617000000000000000000000000000006044820152606401610b9d565b506001600160a01b039094166000908152600a6020908152604080832093909355600c905220929092555050565b6000848152600d602052604090206003015415613af55760405162461bcd60e51b815260206004820152601f60248201527f64656c61796564207472616e7366657220616c726561647920657869737473006044820152606401610b9d565b604080516080810182526001600160a01b0380861682528481166020808401918252838501868152426060860190815260008b8152600d90935291869020945185549085166001600160a01b031991821617865592516001860180549190951693169290921790925551600283015551600390910155517fcbcfffe5102114216a85d3aceb14ad4b81a3935b1b5c468fadf3889eb9c5dce690613b9b9086815260200190565b60405180910390a150505050565b828114613c045760405162461bcd60e51b815260206004820152602360248201527f7369676e65727320616e6420706f77657273206c656e677468206e6f74206d616044820152620e8c6d60eb1b6064820152608401610b9d565b6000805b84811015613cdd57816001600160a01b0316868683818110613c2c57613c2c614dd9565b9050602002016020810190613c419190614936565b6001600160a01b031611613ca25760405162461bcd60e51b815260206004820152602260248201527f4e6577207369676e657273206e6f7420696e20617363656e64696e67206f726460448201526132b960f11b6064820152608401610b9d565b858582818110613cb457613cb4614dd9565b9050602002016020810190613cc99190614936565b915080613cd581614e05565b915050613c08565b5084848484604051602001613cf59493929190614ec1565b60408051601f198184030181529082905280516020909101206001557ff126123539a68393c55697f617e7d1148e371988daed246c2f41da99965a23f890613d44908790879087908790614fa4565b60405180910390a15050505050565b6040805160e08101825260008082526020808301829052828401829052606083018290526080830182905260a0830182905260c0830182905283518085019094528184528301849052909190805b6020830151518351101561397057613db883614108565b909250905081600103613de157613dd16138dc846141bd565b6001600160a01b03168452613da1565b81600203613e0857613df56138dc846141bd565b6001600160a01b03166020850152613da1565b81600303613e2f57613e1c6138dc846141bd565b6001600160a01b03166040850152613da1565b81600403613e4d57613e4361392f846141bd565b6060850152613da1565b81600503613e7257613e5e83614142565b67ffffffffffffffff166080850152613da1565b81600603613e9757613e8383614142565b67ffffffffffffffff1660a0850152613da1565b81600703613eb557613eab613952846141bd565b60c0850152613da1565b613ebf83826142d4565b613da1565b6001600160a01b03811660009081526008602052604090205460ff16613f2c5760405162461bcd60e51b815260206004820152601760248201527f4163636f756e74206973206e6f7420676f7665726e6f720000000000000000006044820152606401610b9d565b6001600160a01b038116600081815260086020908152604091829020805460ff1916905590519182527f1ebe834e73d60a5fec822c1e1727d34bc79f2ad977ed504581cc1822fe20fb5b910161100e565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000614022826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166143449092919063ffffffff16565b80519091501561381957808060200190518101906140409190615020565b6138195760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e60448201527f6f742073756363656564000000000000000000000000000000000000000000006064820152608401610b9d565b60008060006140c1858561435d565b915091506140ce816143cb565b5090505b92915050565b6040516001600160a01b03831660248201526044810182905261381990849063a9059cbb60e01b90606401612f9a565b600080600061411684614142565b9050614123600882614f3b565b925080600716600581111561413a5761413a615042565b915050915091565b602080820151825181019091015160009182805b600a81101561036b5783811a915061416f816007614f24565b82607f16901b85179450816080166000036141ab5761418f816001614e1e565b8651879061419e908390614e1e565b9052509395945050505050565b806141b581614e05565b915050614156565b606060006141ca83614142565b905060008184600001516141de9190614e1e565b90508360200151518111156141f257600080fd5b8167ffffffffffffffff81111561420b5761420b614a39565b6040519080825280601f01601f191660200182016040528015614235576020820181803683370190505b50602080860151865192955091818601919083010160005b8581101561426f578181015183820152614268602082614e1e565b905061424d565b505050935250919050565b60006140d282614581565b600060208251111561429657600080fd5b60208201519050815160206142ab9190615058565b6142b6906008614f24565b1c919050565b600081516020146142cc57600080fd5b506020015190565b60008160058111156142e8576142e8615042565b036142f65761381982614142565b600281600581111561430a5761430a615042565b0361036b57600061431a83614142565b9050808360000181815161432e9190614e1e565b9052506020830151518351111561381957600080fd5b606061435384846000856145a9565b90505b9392505050565b60008082516041036143935760208301516040840151606085015160001a614387878285856146f1565b945094505050506143c4565b82516040036143bc57602083015160408401516143b18683836147de565b9350935050506143c4565b506000905060025b9250929050565b60008160048111156143df576143df615042565b036143e75750565b60018160048111156143fb576143fb615042565b036144485760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e617475726500000000000000006044820152606401610b9d565b600281600481111561445c5761445c615042565b036144a95760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e677468006044820152606401610b9d565b60038160048111156144bd576144bd615042565b036145155760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b6064820152608401610b9d565b600481600481111561452957614529615042565b03610f825760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202776272076616c604482015261756560f01b6064820152608401610b9d565b6000815160141461459157600080fd5b50602001516c01000000000000000000000000900490565b6060824710156146215760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f60448201527f722063616c6c00000000000000000000000000000000000000000000000000006064820152608401610b9d565b6001600160a01b0385163b6146785760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610b9d565b600080866001600160a01b03168587604051614694919061508f565b60006040518083038185875af1925050503d80600081146146d1576040519150601f19603f3d011682016040523d82523d6000602084013e6146d6565b606091505b50915091506146e6828286614830565b979650505050505050565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a083111561472857506000905060036147d5565b8460ff16601b1415801561474057508460ff16601c14155b1561475157506000905060046147d5565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa1580156147a5573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b0381166147ce576000600192509250506147d5565b9150600090505b94509492505050565b6000807f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff83168161481460ff86901c601b614e1e565b9050614822878288856146f1565b935093505050935093915050565b6060831561483f575081614356565b82511561484f5782518084602001fd5b8160405162461bcd60e51b8152600401610b9d91906150ab565b60008083601f84011261487b57600080fd5b50813567ffffffffffffffff81111561489357600080fd5b6020830191508360208260051b85010111156143c457600080fd5b600080600080604085870312156148c457600080fd5b843567ffffffffffffffff808211156148dc57600080fd5b6148e888838901614869565b9096509450602087013591508082111561490157600080fd5b5061490e87828801614869565b95989497509550505050565b80356001600160a01b038116811461493157600080fd5b919050565b60006020828403121561494857600080fd5b6143568261491a565b60006020828403121561496357600080fd5b5035919050565b803567ffffffffffffffff8116811461493157600080fd5b803563ffffffff8116811461493157600080fd5b600080600080600060a086880312156149ae57600080fd5b6149b78661491a565b9450602086013593506149cc6040870161496a565b92506149da6060870161496a565b91506149e860808701614982565b90509295509295909350565b600060208284031215614a0657600080fd5b61435682614982565b60008060408385031215614a2257600080fd5b614a2b8361491a565b946020939093013593505050565b634e487b7160e01b600052604160045260246000fd5b60008060008060008060006080888a031215614a6a57600080fd5b873567ffffffffffffffff80821115614a8257600080fd5b818a0191508a601f830112614a9657600080fd5b813581811115614aa857614aa8614a39565b604051601f8201601f19908116603f01168101908382118183101715614ad057614ad0614a39565b816040528281528d6020848701011115614ae957600080fd5b82602086016020830137600094508460208483010152809b5050505060208a013581811115614b16578283fd5b614b228c828d01614869565b90995097505060408a013581811115614b39578283fd5b614b458c828d01614869565b90975095505060608a013581811115614b5c578283fd5b614b688c828d01614869565b9a9d999c50979a509598949794955050505050565b6000806000806000806000806080898b031215614b9957600080fd5b883567ffffffffffffffff80821115614bb157600080fd5b818b0191508b601f830112614bc557600080fd5b813581811115614bd457600080fd5b8c6020828501011115614be657600080fd5b60209283019a509850908a01359080821115614c0157600080fd5b614c0d8c838d01614869565b909850965060408b0135915080821115614c2657600080fd5b614c328c838d01614869565b909650945060608b0135915080821115614c4b57600080fd5b50614c588b828c01614869565b999c989b5096995094979396929594505050565b60008060008060008060c08789031215614c8557600080fd5b614c8e8761491a565b9550614c9c6020880161491a565b945060408701359350614cb16060880161496a565b9250614cbf6080880161496a565b9150614ccd60a08801614982565b90509295509295509295565b600080600080600080600080600080600060c08c8e031215614cfa57600080fd5b8b359a5067ffffffffffffffff8060208e01351115614d1857600080fd5b614d288e60208f01358f01614869565b909b50995060408d0135811015614d3e57600080fd5b614d4e8e60408f01358f01614869565b909950975060608d0135811015614d6457600080fd5b614d748e60608f01358f01614869565b909750955060808d0135811015614d8a57600080fd5b614d9a8e60808f01358f01614869565b909550935060a08d0135811015614db057600080fd5b50614dc18d60a08e01358e01614869565b81935080925050509295989b509295989b9093969950565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b600060018201614e1757614e17614def565b5060010190565b808201808211156140d2576140d2614def565b67ffffffffffffffff818116838216019080821115614e5257614e52614def565b5092915050565b60008160005b84811015614e8e576001600160a01b03614e788361491a565b1686526020958601959190910190600101614e5f565b5093949350505050565b60006001600160fb1b03831115614eae57600080fd5b8260051b80838637939093019392505050565b6000614ed8614ed1838789614e59565b8486614e98565b9695505050505050565b838152818360208301376000910160200190815292915050565b8681528560208201526000614f18614ed1604084018789614e59565b98975050505050505050565b80820281158282048414176140d2576140d2614def565b600082614f5857634e487b7160e01b600052601260045260246000fd5b500490565b6000808335601e19843603018112614f7457600080fd5b83018035915067ffffffffffffffff821115614f8f57600080fd5b6020019150368190038213156143c457600080fd5b6040808252810184905260008560608301825b87811015614fe5576001600160a01b03614fd08461491a565b16825260209283019290910190600101614fb7565b5083810360208501528481526001600160fb1b0385111561500557600080fd5b8460051b915081866020830137016020019695505050505050565b60006020828403121561503257600080fd5b8151801515811461435657600080fd5b634e487b7160e01b600052602160045260246000fd5b818103818111156140d2576140d2614def565b60005b8381101561508657818101518382015260200161506e565b50506000910152565b600082516150a181846020870161506b565b9190910192915050565b60208152600082518060208401526150ca81604085016020870161506b565b601f01601f1916919091016040019291505056fe4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572a264697066735822122083f5088b5affc0ba5362edc8473512e073daf5f6cce6705d70fb83da5eb22a9164736f6c63430008110033",
}

BridgeMetaData contains all meta data concerning the Bridge contract.

View Source
var ContractAsLPABI = ContractAsLPMetaData.ABI

ContractAsLPABI is the input ABI used to generate the binding from. Deprecated: Use ContractAsLPMetaData.ABI instead.

View Source
var ContractAsLPBin = ContractAsLPMetaData.Bin

ContractAsLPBin is the compiled bytecode used for deploying new contracts. Deprecated: Use ContractAsLPMetaData.Bin instead.

View Source
var ContractAsLPMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_bridge\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_inbox\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"depositor\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"Deposited\",\"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\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"Paused\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"PauserAdded\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"PauserRemoved\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"Unpaused\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_token\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"}],\"name\":\"addLiquidity\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"addPauser\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"bridge\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_token\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"}],\"name\":\"deposit\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"inbox\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"isPauser\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"pause\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"paused\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"pausers\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"removePauser\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renouncePauser\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"unpause\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint64\",\"name\":\"_wdSeq\",\"type\":\"uint64\"},{\"internalType\":\"address\",\"name\":\"_receiver\",\"type\":\"address\"},{\"internalType\":\"uint64\",\"name\":\"_toChain\",\"type\":\"uint64\"},{\"internalType\":\"uint64[]\",\"name\":\"_fromChains\",\"type\":\"uint64[]\"},{\"internalType\":\"address[]\",\"name\":\"_tokens\",\"type\":\"address[]\"},{\"internalType\":\"uint32[]\",\"name\":\"_ratios\",\"type\":\"uint32[]\"},{\"internalType\":\"uint32[]\",\"name\":\"_slippages\",\"type\":\"uint32[]\"}],\"name\":\"withdraw\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
	Bin: "0x60806040523480156200001157600080fd5b50604051620016a9380380620016a98339810160408190526200003491620001c5565b600160005562000044336200008e565b6001805460ff60a01b191690556200005c33620000e0565b600380546001600160a01b039384166001600160a01b03199182161790915560048054929093169116179055620001fd565b600180546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b03811660009081526002602052604090205460ff16156200014e5760405162461bcd60e51b815260206004820152601960248201527f4163636f756e7420697320616c72656164792070617573657200000000000000604482015260640160405180910390fd5b6001600160a01b038116600081815260026020908152604091829020805460ff1916600117905590519182527f6719d08c1888103bea251a4ed56406bd0c3e69723c8a1686e017e7bbe159b6f8910160405180910390a150565b80516001600160a01b0381168114620001c057600080fd5b919050565b60008060408385031215620001d957600080fd5b620001e483620001a8565b9150620001f460208401620001a8565b90509250929050565b61149c806200020d6000396000f3fe608060405234801561001057600080fd5b50600436106100f55760003560e01c806380f51c1211610097578063a485529611610066578063a4855296146101fb578063e78cea921461020e578063f2fde38b14610221578063fb0e722b1461023457600080fd5b806380f51c121461019857806382dc1ec4146101bb5780638456cb59146101ce5780638da5cb5b146101d657600080fd5b806356688700116100d357806356688700146101585780635c975abb1461016b5780636b2c0f551461017d5780636ef8d66d1461019057600080fd5b80633f4ba83a146100fa57806346fbf68e1461010457806347e7ef2414610145575b600080fd5b610102610247565b005b61013061011236600461109c565b6001600160a01b031660009081526002602052604090205460ff1690565b60405190151581526020015b60405180910390f35b6101026101533660046110b7565b6102b5565b6101026101663660046110b7565b610429565b600154600160a01b900460ff16610130565b61010261018b36600461109c565b61061a565b61010261068f565b6101306101a636600461109c565b60026020526000908152604090205460ff1681565b6101026101c936600461109c565b610698565b61010261070a565b6001546001600160a01b03165b6040516001600160a01b03909116815260200161013c565b610102610209366004611145565b610771565b6003546101e3906001600160a01b031681565b61010261022f36600461109c565b6108a9565b6004546101e3906001600160a01b031681565b3360009081526002602052604090205460ff166102ab5760405162461bcd60e51b815260206004820152601460248201527f43616c6c6572206973206e6f742070617573657200000000000000000000000060448201526064015b60405180910390fd5b6102b3610997565b565b6002600054036103075760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016102a2565b6002600055600154600160a01b900460ff16156103595760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b60448201526064016102a2565b3361036c6001546001600160a01b031690565b6001600160a01b0316146103c25760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016102a2565b6103d76001600160a01b038316333084610a3d565b604080513381526001600160a01b03841660208201529081018290527f8752a472e571a816aea92eec8dae9baf628e840f4929fbcc2d155e6233ff68a79060600160405180910390a150506001600055565b600154600160a01b900460ff16156104765760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b60448201526064016102a2565b336104896001546001600160a01b031690565b6001600160a01b0316146104df5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016102a2565b6040516370a0823160e01b815230600482015281906001600160a01b038416906370a0823190602401602060405180830381865afa158015610525573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105499190611242565b10156105975760405162461bcd60e51b815260206004820152601460248201527f696e73756666696369656e742062616c616e636500000000000000000000000060448201526064016102a2565b6003546105b1906001600160a01b03848116911683610adb565b6003546040516256688760e81b81526001600160a01b0384811660048301526024820184905290911690635668870090604401600060405180830381600087803b1580156105fe57600080fd5b505af1158015610612573d6000803e3d6000fd5b505050505050565b3361062d6001546001600160a01b031690565b6001600160a01b0316146106835760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016102a2565b61068c81610b8d565b50565b6102b333610b8d565b336106ab6001546001600160a01b031690565b6001600160a01b0316146107015760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016102a2565b61068c81610c4d565b3360009081526002602052604090205460ff166107695760405162461bcd60e51b815260206004820152601460248201527f43616c6c6572206973206e6f742070617573657200000000000000000000000060448201526064016102a2565b6102b3610d0a565b600154600160a01b900460ff16156107be5760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b60448201526064016102a2565b336107d16001546001600160a01b031690565b6001600160a01b0316146108275760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016102a2565b60048054604051635242a94b60e11b81526001600160a01b039091169163a48552969161086a918f918f918f918f918f918f918f918f918f918f918f91016112ee565b600060405180830381600087803b15801561088457600080fd5b505af1158015610898573d6000803e3d6000fd5b505050505050505050505050505050565b336108bc6001546001600160a01b031690565b6001600160a01b0316146109125760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016102a2565b6001600160a01b03811661098e5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f646472657373000000000000000000000000000000000000000000000000000060648201526084016102a2565b61068c81610d92565b600154600160a01b900460ff166109f05760405162461bcd60e51b815260206004820152601460248201527f5061757361626c653a206e6f742070617573656400000000000000000000000060448201526064016102a2565b6001805460ff60a01b191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b6040516001600160a01b0380851660248301528316604482015260648101829052610ad59085906323b872dd60e01b906084015b60408051601f198184030181529190526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fffffffff0000000000000000000000000000000000000000000000000000000090931692909217909152610dfc565b50505050565b604051636eb1769f60e11b81523060048201526001600160a01b038381166024830152600091839186169063dd62ed3e90604401602060405180830381865afa158015610b2c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b509190611242565b610b5a91906113aa565b6040516001600160a01b038516602482015260448101829052909150610ad590859063095ea7b360e01b90606401610a71565b6001600160a01b03811660009081526002602052604090205460ff16610bf55760405162461bcd60e51b815260206004820152601560248201527f4163636f756e74206973206e6f7420706175736572000000000000000000000060448201526064016102a2565b6001600160a01b038116600081815260026020908152604091829020805460ff1916905590519182527fcd265ebaf09df2871cc7bd4133404a235ba12eff2041bb89d9c714a2621c7c7e91015b60405180910390a150565b6001600160a01b03811660009081526002602052604090205460ff1615610cb65760405162461bcd60e51b815260206004820152601960248201527f4163636f756e7420697320616c7265616479207061757365720000000000000060448201526064016102a2565b6001600160a01b038116600081815260026020908152604091829020805460ff1916600117905590519182527f6719d08c1888103bea251a4ed56406bd0c3e69723c8a1686e017e7bbe159b6f89101610c42565b600154600160a01b900460ff1615610d575760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b60448201526064016102a2565b6001805460ff60a01b1916600160a01b1790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258610a203390565b600180546001600160a01b038381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6000610e51826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316610ee69092919063ffffffff16565b805190915015610ee15780806020019051810190610e6f91906113d1565b610ee15760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e60448201527f6f7420737563636565640000000000000000000000000000000000000000000060648201526084016102a2565b505050565b6060610ef58484600085610eff565b90505b9392505050565b606082471015610f775760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f60448201527f722063616c6c000000000000000000000000000000000000000000000000000060648201526084016102a2565b6001600160a01b0385163b610fce5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000060448201526064016102a2565b600080866001600160a01b03168587604051610fea9190611417565b60006040518083038185875af1925050503d8060008114611027576040519150601f19603f3d011682016040523d82523d6000602084013e61102c565b606091505b509150915061103c828286611047565b979650505050505050565b60608315611056575081610ef8565b8251156110665782518084602001fd5b8160405162461bcd60e51b81526004016102a29190611433565b80356001600160a01b038116811461109757600080fd5b919050565b6000602082840312156110ae57600080fd5b610ef882611080565b600080604083850312156110ca57600080fd5b6110d383611080565b946020939093013593505050565b803567ffffffffffffffff8116811461109757600080fd5b60008083601f84011261110b57600080fd5b50813567ffffffffffffffff81111561112357600080fd5b6020830191508360208260051b850101111561113e57600080fd5b9250929050565b600080600080600080600080600080600060e08c8e03121561116657600080fd5b61116f8c6110e1565b9a5061117d60208d01611080565b995061118b60408d016110e1565b985067ffffffffffffffff8060608e013511156111a757600080fd5b6111b78e60608f01358f016110f9565b909950975060808d01358110156111cd57600080fd5b6111dd8e60808f01358f016110f9565b909750955060a08d01358110156111f357600080fd5b6112038e60a08f01358f016110f9565b909550935060c08d013581101561121957600080fd5b5061122a8d60c08e01358e016110f9565b81935080925050509295989b509295989b9093969950565b60006020828403121561125457600080fd5b5051919050565b8183526000602080850194508260005b85811015611297576001600160a01b0361128483611080565b168752958201959082019060010161126b565b509495945050505050565b818352600060208085019450826000805b868110156112e257823563ffffffff81168082146112cf578384fd5b89525096830196918301916001016112b3565b50959695505050505050565b600060e0820167ffffffffffffffff808f16845260206001600160a01b038f1681860152818e16604086015260e06060860152828c8452610100860190508d935060005b8d8110156113575783611344866110e1565b1682529382019390820190600101611332565b50858103608087015261136b818c8e61125b565b935050505082810360a08401526113838187896112a2565b905082810360c08401526113988185876112a2565b9e9d5050505050505050505050505050565b808201808211156113cb57634e487b7160e01b600052601160045260246000fd5b92915050565b6000602082840312156113e357600080fd5b81518015158114610ef857600080fd5b60005b8381101561140e5781810151838201526020016113f6565b50506000910152565b600082516114298184602087016113f3565b9190910192915050565b60208152600082518060208401526114528160408501602087016113f3565b601f01601f1916919091016040019291505056fea264697066735822122091734f2ca67d120c3d7389bd6980c23895763a6e567fac09df8e49556588a19764736f6c63430008110033",
}

ContractAsLPMetaData contains all meta data concerning the ContractAsLP contract.

View Source
var DataTypesABI = DataTypesMetaData.ABI

DataTypesABI is the input ABI used to generate the binding from. Deprecated: Use DataTypesMetaData.ABI instead.

View Source
var DataTypesBin = DataTypesMetaData.Bin

DataTypesBin is the compiled bytecode used for deploying new contracts. Deprecated: Use DataTypesMetaData.Bin instead.

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

DataTypesMetaData contains all meta data concerning the DataTypes contract.

View Source
var FarmingRewardsABI = FarmingRewardsMetaData.ABI

FarmingRewardsABI is the input ABI used to generate the binding from. Deprecated: Use FarmingRewardsMetaData.ABI instead.

View Source
var FarmingRewardsBin = FarmingRewardsMetaData.Bin

FarmingRewardsBin is the compiled bytecode used for deploying new contracts. Deprecated: Use FarmingRewardsMetaData.Bin instead.

View Source
var FarmingRewardsMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[{\"internalType\":\"contractISigsVerifier\",\"name\":\"_sigsVerifier\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"reward\",\"type\":\"uint256\"}],\"name\":\"FarmingRewardClaimed\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"contributor\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"contribution\",\"type\":\"uint256\"}],\"name\":\"FarmingRewardContributed\",\"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\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"Paused\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"PauserAdded\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"PauserRemoved\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"Unpaused\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"addPauser\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"_rewardsRequest\",\"type\":\"bytes\"},{\"internalType\":\"bytes[]\",\"name\":\"_sigs\",\"type\":\"bytes[]\"},{\"internalType\":\"address[]\",\"name\":\"_signers\",\"type\":\"address[]\"},{\"internalType\":\"uint256[]\",\"name\":\"_powers\",\"type\":\"uint256[]\"}],\"name\":\"claimRewards\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"claimedRewardAmounts\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_token\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"}],\"name\":\"contributeToRewardPool\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_token\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"}],\"name\":\"drainToken\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"isPauser\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"pause\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"paused\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"pausers\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"removePauser\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renouncePauser\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"sigsVerifier\",\"outputs\":[{\"internalType\":\"contractISigsVerifier\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"unpause\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
	Bin: "0x60a06040523480156200001157600080fd5b5060405162001d1b38038062001d1b833981016040819052620000349162000182565b6200003f3362000069565b6000805460ff60a01b191690556200005733620000b9565b6001600160a01b0316608052620001b4565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6001600160a01b03811660009081526001602052604090205460ff1615620001275760405162461bcd60e51b815260206004820152601960248201527f4163636f756e7420697320616c72656164792070617573657200000000000000604482015260640160405180910390fd5b6001600160a01b038116600081815260016020818152604092839020805460ff191690921790915590519182527f6719d08c1888103bea251a4ed56406bd0c3e69723c8a1686e017e7bbe159b6f8910160405180910390a150565b6000602082840312156200019557600080fd5b81516001600160a01b0381168114620001ad57600080fd5b9392505050565b608051611b44620001d76000396000818161024c01526104210152611b446000f3fe608060405234801561001057600080fd5b50600436106100f55760003560e01c806380f51c12116100975780638da5cb5b116100665780638da5cb5b1461020f5780639d4323be14610234578063ccf2683b14610247578063f2fde38b1461026e57600080fd5b806380f51c12146101be578063825168ff146101e157806382dc1ec4146101f45780638456cb591461020757600080fd5b80635c975abb116100d35780635c975abb1461017e5780636b2c0f55146101905780636b5d21e9146101a35780636ef8d66d146101b657600080fd5b80631744092e146100fa5780633f4ba83a1461013857806346fbf68e14610142575b600080fd5b610125610108366004611639565b600260209081526000928352604080842090915290825290205481565b6040519081526020015b60405180910390f35b610140610281565b005b61016e61015036600461166c565b6001600160a01b031660009081526001602052604090205460ff1690565b604051901515815260200161012f565b600054600160a01b900460ff1661016e565b61014061019e36600461166c565b6102ef565b6101406101b13660046116d3565b610364565b610140610693565b61016e6101cc36600461166c565b60016020526000908152604090205460ff1681565b6101406101ef3660046117c2565b61069c565b61014061020236600461166c565b610751565b6101406107c3565b6000546001600160a01b03165b6040516001600160a01b03909116815260200161012f565b6101406102423660046117c2565b61082a565b61021c7f000000000000000000000000000000000000000000000000000000000000000081565b61014061027c36600461166c565b610904565b3360009081526001602052604090205460ff166102e55760405162461bcd60e51b815260206004820152601460248201527f43616c6c6572206973206e6f742070617573657200000000000000000000000060448201526064015b60405180910390fd5b6102ed6109f2565b565b336103026000546001600160a01b031690565b6001600160a01b0316146103585760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016102dc565b61036181610a98565b50565b600054600160a01b900460ff16156103b15760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b60448201526064016102dc565b6000463060405160200161040792919091825260601b6bffffffffffffffffffffffff191660208201527f4661726d696e6752657761726473000000000000000000000000000000000000603482015260420190565b6040516020818303038152906040528051906020012090507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663682dbc22828b8b604051602001610463939291906117ec565b6040516020818303038152906040528989898989896040518863ffffffff1660e01b815260040161049a9796959493929190611911565b60006040518083038186803b1580156104b257600080fd5b505afa1580156104c6573d6000803e3d6000fd5b50505050600061050b8a8a8080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250610b5892505050565b90506000805b82602001515181101561063857600083602001518281518110610536576105366119ed565b60200260200101519050600084604001518381518110610558576105586119ed565b60209081029190910181015186516001600160a01b0390811660009081526002845260408082209287168252919093528220549092506105989083611a19565b905080156106225785516001600160a01b0390811660009081526002602090815260408083209387168084529390915290208390558651600196506105de919083610e11565b85516040518281526001600160a01b038086169216907f97e6c3172350795e26977663112f38653689372e771e85bad9fbadb1af0e98b29060200160405180910390a35b505050808061063090611a2c565b915050610511565b50806106865760405162461bcd60e51b815260206004820152600d60248201527f4e6f206e6577207265776172640000000000000000000000000000000000000060448201526064016102dc565b5050505050505050505050565b6102ed33610a98565b600054600160a01b900460ff16156106e95760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b60448201526064016102dc565b336106ff6001600160a01b038416823085610ea6565b826001600160a01b0316816001600160a01b03167f40aa1b9a9157bc37a09a78d5a46e53087b82ee0034ebe896d4d1a52f31b333d48460405161074491815260200190565b60405180910390a3505050565b336107646000546001600160a01b031690565b6001600160a01b0316146107ba5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016102dc565b61036181610ee4565b3360009081526001602052604090205460ff166108225760405162461bcd60e51b815260206004820152601460248201527f43616c6c6572206973206e6f742070617573657200000000000000000000000060448201526064016102dc565b6102ed610fa2565b600054600160a01b900460ff166108835760405162461bcd60e51b815260206004820152601460248201527f5061757361626c653a206e6f742070617573656400000000000000000000000060448201526064016102dc565b336108966000546001600160a01b031690565b6001600160a01b0316146108ec5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016102dc565b6109006001600160a01b0383163383610e11565b5050565b336109176000546001600160a01b031690565b6001600160a01b03161461096d5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016102dc565b6001600160a01b0381166109e95760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f646472657373000000000000000000000000000000000000000000000000000060648201526084016102dc565b6103618161102a565b600054600160a01b900460ff16610a4b5760405162461bcd60e51b815260206004820152601460248201527f5061757361626c653a206e6f742070617573656400000000000000000000000060448201526064016102dc565b6000805460ff60a01b191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b6001600160a01b03811660009081526001602052604090205460ff16610b005760405162461bcd60e51b815260206004820152601560248201527f4163636f756e74206973206e6f7420706175736572000000000000000000000060448201526064016102dc565b6001600160a01b038116600081815260016020908152604091829020805460ff1916905590519182527fcd265ebaf09df2871cc7bd4133404a235ba12eff2041bb89d9c714a2621c7c7e91015b60405180910390a150565b610b85604051806060016040528060006001600160a01b0316815260200160608152602001606081525090565b60408051808201909152600080825260208201849052610ba6826003611092565b905080600281518110610bbb57610bbb6119ed565b602002602001015167ffffffffffffffff811115610bdb57610bdb611a45565b604051908082528060200260200182016040528015610c04578160200160208202803683370190505b508360200181905250600081600281518110610c2257610c226119ed565b60200260200101818152505080600381518110610c4157610c416119ed565b602002602001015167ffffffffffffffff811115610c6157610c61611a45565b604051908082528060200260200182016040528015610c8a578160200160208202803683370190505b508360400181905250600081600381518110610ca857610ca86119ed565b6020026020010181815250506000805b60208401515184511015610e0857610ccf8461114c565b909250905081600103610cfd57610ced610ce885611186565b611243565b6001600160a01b03168552610cb8565b81600203610d9157610d11610ce885611186565b856020015184600281518110610d2957610d296119ed565b602002602001015181518110610d4157610d416119ed565b60200260200101906001600160a01b031690816001600160a01b03168152505082600281518110610d7457610d746119ed565b602002602001018051809190610d8990611a2c565b905250610cb8565b81600303610df957610daa610da585611186565b611254565b856040015184600381518110610dc257610dc26119ed565b602002602001015181518110610dda57610dda6119ed565b60200260200101818152505082600381518110610d7457610d746119ed565b610e03848261128b565b610cb8565b50505050919050565b6040516001600160a01b038316602482015260448101829052610ea190849063a9059cbb60e01b906064015b60408051601f198184030181529190526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fffffffff00000000000000000000000000000000000000000000000000000000909316929092179091526112fb565b505050565b6040516001600160a01b0380851660248301528316604482015260648101829052610ede9085906323b872dd60e01b90608401610e3d565b50505050565b6001600160a01b03811660009081526001602052604090205460ff1615610f4d5760405162461bcd60e51b815260206004820152601960248201527f4163636f756e7420697320616c7265616479207061757365720000000000000060448201526064016102dc565b6001600160a01b038116600081815260016020818152604092839020805460ff191690921790915590519182527f6719d08c1888103bea251a4ed56406bd0c3e69723c8a1686e017e7bbe159b6f89101610b4d565b600054600160a01b900460ff1615610fef5760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b60448201526064016102dc565b6000805460ff60a01b1916600160a01b1790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258610a7b3390565b600080546001600160a01b038381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b81516060906110a2836001611a5b565b67ffffffffffffffff8111156110ba576110ba611a45565b6040519080825280602002602001820160405280156110e3578160200160208202803683370190505b5091506000805b60208601515186511015611143576111018661114c565b8092508193505050600184838151811061111d5761111d6119ed565b602002602001018181516111319190611a5b565b90525061113e868261128b565b6110ea565b50509092525090565b600080600061115a846113e0565b9050611167600882611a6e565b925080600716600581111561117e5761117e611a90565b915050915091565b60606000611193836113e0565b905060008184600001516111a79190611a5b565b90508360200151518111156111bb57600080fd5b8167ffffffffffffffff8111156111d4576111d4611a45565b6040519080825280601f01601f1916602001820160405280156111fe576020820181803683370190505b50602080860151865192955091818601919083010160005b85811015611238578181015183820152611231602082611a5b565b9050611216565b505050935250919050565b600061124e8261145b565b92915050565b600060208251111561126557600080fd5b602082015190508151602061127a9190611a19565b611285906008611aa6565b1c919050565b600081600581111561129f5761129f611a90565b036112ad57610ea1826113e0565b60028160058111156112c1576112c1611a90565b036100f55760006112d1836113e0565b905080836000018181516112e59190611a5b565b90525060208301515183511115610ea157600080fd5b6000611350826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166114839092919063ffffffff16565b805190915015610ea1578080602001905181019061136e9190611abd565b610ea15760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e60448201527f6f7420737563636565640000000000000000000000000000000000000000000060648201526084016102dc565b602080820151825181019091015160009182805b600a8110156100f55783811a915061140d816007611aa6565b82607f16901b85179450816080166000036114495761142d816001611a5b565b8651879061143c908390611a5b565b9052509395945050505050565b8061145381611a2c565b9150506113f4565b6000815160141461146b57600080fd5b50602001516c01000000000000000000000000900490565b6060611492848460008561149c565b90505b9392505050565b6060824710156115145760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f60448201527f722063616c6c000000000000000000000000000000000000000000000000000060648201526084016102dc565b6001600160a01b0385163b61156b5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000060448201526064016102dc565b600080866001600160a01b031685876040516115879190611adf565b60006040518083038185875af1925050503d80600081146115c4576040519150601f19603f3d011682016040523d82523d6000602084013e6115c9565b606091505b50915091506115d98282866115e4565b979650505050505050565b606083156115f3575081611495565b8251156116035782518084602001fd5b8160405162461bcd60e51b81526004016102dc9190611afb565b80356001600160a01b038116811461163457600080fd5b919050565b6000806040838503121561164c57600080fd5b6116558361161d565b91506116636020840161161d565b90509250929050565b60006020828403121561167e57600080fd5b6114958261161d565b60008083601f84011261169957600080fd5b50813567ffffffffffffffff8111156116b157600080fd5b6020830191508360208260051b85010111156116cc57600080fd5b9250929050565b6000806000806000806000806080898b0312156116ef57600080fd5b883567ffffffffffffffff8082111561170757600080fd5b818b0191508b601f83011261171b57600080fd5b81358181111561172a57600080fd5b8c602082850101111561173c57600080fd5b60209283019a509850908a0135908082111561175757600080fd5b6117638c838d01611687565b909850965060408b013591508082111561177c57600080fd5b6117888c838d01611687565b909650945060608b01359150808211156117a157600080fd5b506117ae8b828c01611687565b999c989b5096995094979396929594505050565b600080604083850312156117d557600080fd5b6117de8361161d565b946020939093013593505050565b838152818360208301376000910160200190815292915050565b60005b83811015611821578181015183820152602001611809565b50506000910152565b60008151808452611842816020860160208601611806565b601f01601f19169290920160200192915050565b81835281816020850137506000828201602090810191909152601f909101601f19169091010190565b8183526000602080850194508260005b858110156118bb576001600160a01b036118a88361161d565b168752958201959082019060010161188f565b509495945050505050565b81835260007f07ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8311156118f857600080fd5b8260051b80836020870137939093016020019392505050565b608081526000611924608083018a61182a565b602083820381850152818983528183019050818a60051b8401018b60005b8c8110156119b257858303601f190184528135368f9003601e1901811261196857600080fd5b8e01858101903567ffffffffffffffff81111561198457600080fd5b80360382131561199357600080fd5b61199e858284611856565b958701959450505090840190600101611942565b505085810360408701526119c7818a8c61187f565b935050505082810360608401526119df8185876118c6565b9a9950505050505050505050565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b8181038181111561124e5761124e611a03565b600060018201611a3e57611a3e611a03565b5060010190565b634e487b7160e01b600052604160045260246000fd5b8082018082111561124e5761124e611a03565b600082611a8b57634e487b7160e01b600052601260045260246000fd5b500490565b634e487b7160e01b600052602160045260246000fd5b808202811582820484141761124e5761124e611a03565b600060208284031215611acf57600080fd5b8151801515811461149557600080fd5b60008251611af1818460208701611806565b9190910192915050565b602081526000611495602083018461182a56fea2646970667358221220c92afd3c27561cc65de167896ff3cf19c9c97d3c4eb6f782f906f30310299f2564736f6c63430008110033",
}

FarmingRewardsMetaData contains all meta data concerning the FarmingRewards contract.

View Source
var GovernABI = GovernMetaData.ABI

GovernABI is the input ABI used to generate the binding from. Deprecated: Use GovernMetaData.ABI instead.

View Source
var GovernBin = GovernMetaData.Bin

GovernBin is the compiled bytecode used for deploying new contracts. Deprecated: Use GovernMetaData.Bin instead.

View Source
var GovernMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[{\"internalType\":\"contractStaking\",\"name\":\"_staking\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_celerTokenAddress\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_collector\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"proposalId\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"bool\",\"name\":\"passed\",\"type\":\"bool\"},{\"indexed\":false,\"internalType\":\"enumDataTypes.ParamName\",\"name\":\"name\",\"type\":\"uint8\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"newValue\",\"type\":\"uint256\"}],\"name\":\"ConfirmParamProposal\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"proposalId\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"proposer\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"deposit\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"voteDeadline\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"enumDataTypes.ParamName\",\"name\":\"name\",\"type\":\"uint8\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"newValue\",\"type\":\"uint256\"}],\"name\":\"CreateParamProposal\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"proposalId\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"voter\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"enumGovern.VoteOption\",\"name\":\"vote\",\"type\":\"uint8\"}],\"name\":\"VoteParam\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"celerToken\",\"outputs\":[{\"internalType\":\"contractIERC20\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"collectForfeiture\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"collector\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_proposalId\",\"type\":\"uint256\"}],\"name\":\"confirmParamProposal\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"enumDataTypes.ParamName\",\"name\":\"_name\",\"type\":\"uint8\"},{\"internalType\":\"uint256\",\"name\":\"_value\",\"type\":\"uint256\"}],\"name\":\"createParamProposal\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"forfeiture\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_proposalId\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"_voter\",\"type\":\"address\"}],\"name\":\"getParamProposalVote\",\"outputs\":[{\"internalType\":\"enumGovern.VoteOption\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"nextParamProposalId\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"paramProposals\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"proposer\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"deposit\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"voteDeadline\",\"type\":\"uint256\"},{\"internalType\":\"enumDataTypes.ParamName\",\"name\":\"name\",\"type\":\"uint8\"},{\"internalType\":\"uint256\",\"name\":\"newValue\",\"type\":\"uint256\"},{\"internalType\":\"enumGovern.ProposalStatus\",\"name\":\"status\",\"type\":\"uint8\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"staking\",\"outputs\":[{\"internalType\":\"contractStaking\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_proposalId\",\"type\":\"uint256\"},{\"internalType\":\"enumGovern.VoteOption\",\"name\":\"_vote\",\"type\":\"uint8\"}],\"name\":\"voteParam\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
	Bin: "0x60e06040523480156200001157600080fd5b50604051620015a8380380620015a883398101604081905262000034916200006b565b6001600160a01b0392831660805290821660a0521660c052620000bf565b6001600160a01b03811681146200006857600080fd5b50565b6000806000606084860312156200008157600080fd5b83516200008e8162000052565b6020850151909350620000a18162000052565b6040850151909250620000b48162000052565b809150509250925092565b60805160a05160c05161147a6200012e600039600081816101da0152610610015260008181610214015281816105ed0152818161093e0152610ba30152600081816101040152818161026b01528181610643015281816108c101528181610a180152610add015261147a6000f3fe608060405234801561001057600080fd5b50600436106100c95760003560e01c806382d7b4b811610081578063934a18ec1161005b578063934a18ec146101fc578063c6c21e9d1461020f578063e478ed9d1461023657600080fd5b806382d7b4b8146101c45780638338f0e5146101cc578063913e77ad146101d557600080fd5b80634cf088d9116100b25780634cf088d9146100ff578063581c53c51461013e5780637e5fb8f31461015e57600080fd5b806322da7927146100ce57806325ed6b35146100ea575b600080fd5b6100d760015481565b6040519081526020015b60405180910390f35b6100fd6100f8366004610f90565b610249565b005b6101267f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b0390911681526020016100e1565b61015161014c366004610fd5565b61055c565b6040516100e19190611024565b6101b261016c366004611032565b6000602081905290815260409020805460018201546002830154600384015460048501546005909501546001600160a01b03909416949293919260ff9182169290911686565b6040516100e19695949392919061105b565b6100fd61058a565b6100d760025481565b6101267f000000000000000000000000000000000000000000000000000000000000000081565b6100fd61020a366004611032565b61063c565b6101267f000000000000000000000000000000000000000000000000000000000000000081565b6100fd6102443660046110ad565b6109dc565b33600360405163a310624f60e01b81526001600160a01b0383811660048301527f0000000000000000000000000000000000000000000000000000000000000000169063a310624f90602401602060405180830381865afa1580156102b2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102d691906110dd565b60038111156102e7576102e7610ffa565b146103395760405162461bcd60e51b815260206004820152601f60248201527f566f746572206973206e6f74206120626f6e6465642076616c696461746f720060448201526064015b60405180910390fd5b60008381526020819052604090206001600582015460ff16600281111561036257610362610ffa565b146103af5760405162461bcd60e51b815260206004820152601760248201527f496e76616c69642070726f706f73616c207374617475730000000000000000006044820152606401610330565b806002015443106104025760405162461bcd60e51b815260206004820152601460248201527f566f746520646561646c696e65207061737365640000000000000000000000006044820152606401610330565b6001600160a01b038216600090815260068201602052604081205460ff16600381111561043157610431610ffa565b1461047e5760405162461bcd60e51b815260206004820152600f60248201527f566f7465722068617320766f74656400000000000000000000000000000000006044820152606401610330565b600083600381111561049257610492610ffa565b036104df5760405162461bcd60e51b815260206004820152600c60248201527f496e76616c696420766f746500000000000000000000000000000000000000006044820152606401610330565b6001600160a01b03821660009081526006820160205260409020805484919060ff1916600183600381111561051657610516610ffa565b02179055507f06c7ef6e19454637e93ee60cc680c61fb2ebabb57e58cf36d94141a5036b3d6584838560405161054e939291906110fa565b60405180910390a150505050565b6000828152602081815260408083206001600160a01b038516845260060190915290205460ff165b92915050565b6000600254116105dc5760405162461bcd60e51b815260206004820152601260248201527f4e6f7468696e6720746f20636f6c6c65637400000000000000000000000000006044820152606401610330565b600254610635906001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016907f000000000000000000000000000000000000000000000000000000000000000090610c2c565b6000600255565b60008060007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316634021d4d56040518163ffffffff1660e01b8152600401600060405180830381865afa15801561069f573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526106c7919081019061118d565b905060005b81518163ffffffff16101561079557600161070a86848463ffffffff16815181106106f9576106f9611263565b60200260200101516000015161055c565b600381111561071b5761071b610ffa565b0361075257818163ffffffff168151811061073857610738611263565b6020026020010151602001518461074f919061128f565b93505b818163ffffffff168151811061076a5761076a611263565b60200260200101516020015183610781919061128f565b92508061078d816112a2565b9150506106cc565b50600060036107a58460026112c5565b6107af91906112dc565b6107ba90600161128f565b60008681526020819052604090209085101591506001600582015460ff1660028111156107e9576107e9610ffa565b146108365760405162461bcd60e51b815260206004820152601760248201527f496e76616c69642070726f706f73616c207374617475730000000000000000006044820152606401610330565b806002015443101561088a5760405162461bcd60e51b815260206004820152601960248201527f566f746520646561646c696e65206e6f742072656163686564000000000000006044820152606401610330565b60058101805460ff19166002179055811561096f57600381015460048083015460405163e909156d60e01b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169363e909156d936108f89360ff90921692016112fe565b600060405180830381600087803b15801561091257600080fd5b505af1158015610926573d6000803e3d6000fd5b50508254600184015461096a93506001600160a01b037f00000000000000000000000000000000000000000000000000000000000000008116935090911690610c2c565b61098b565b806001015460026000828254610985919061128f565b90915550505b600381015460048201546040517fd0d659ab2c0f954d2f29cf2e13d8ff2e15e147f3424eb205a079c4caa6bfe1a9926109cc928a92879260ff169190611319565b60405180910390a1505050505050565b600180546000818152602081905260409020916109f9919061128f565b600155604051631042b80b60e21b815233906000906001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063410ae02c90610a4d908490600401611344565b602060405180830381865afa158015610a6a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a8e9190611352565b83547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b038481169190911785556001808601839055604051631042b80b60e21b81529293507f00000000000000000000000000000000000000000000000000000000000000009091169163410ae02c91610b1291600401611344565b602060405180830381865afa158015610b2f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b539190611352565b610b5d904361128f565b600284015560038301805486919060ff19166001836008811115610b8357610b83610ffa565b02179055506004830184905560058301805460ff19166001179055610bd37f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316833084610cc1565b7f4a4d354dbdc4d7b757c1f44b6e074bb6e1afe33f4b9867ce48cfb7004d76f16060018054610c02919061136b565b838386600201548989604051610c1d9695949392919061137e565b60405180910390a15050505050565b6040516001600160a01b038316602482015260448101829052610cbc90849063a9059cbb60e01b906064015b60408051601f198184030181529190526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fffffffff0000000000000000000000000000000000000000000000000000000090931692909217909152610cff565b505050565b6040516001600160a01b0380851660248301528316604482015260648101829052610cf99085906323b872dd60e01b90608401610c58565b50505050565b6000610d54826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316610de49092919063ffffffff16565b805190915015610cbc5780806020019051810190610d7291906113af565b610cbc5760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e60448201527f6f742073756363656564000000000000000000000000000000000000000000006064820152608401610330565b6060610df38484600085610dfd565b90505b9392505050565b606082471015610e755760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f60448201527f722063616c6c00000000000000000000000000000000000000000000000000006064820152608401610330565b6001600160a01b0385163b610ecc5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610330565b600080866001600160a01b03168587604051610ee891906113f5565b60006040518083038185875af1925050503d8060008114610f25576040519150601f19603f3d011682016040523d82523d6000602084013e610f2a565b606091505b5091509150610f3a828286610f47565b925050505b949350505050565b60608315610f56575081610df6565b825115610f665782518084602001fd5b8160405162461bcd60e51b81526004016103309190611411565b60048110610f8d57600080fd5b50565b60008060408385031215610fa357600080fd5b823591506020830135610fb581610f80565b809150509250929050565b6001600160a01b0381168114610f8d57600080fd5b60008060408385031215610fe857600080fd5b823591506020830135610fb581610fc0565b634e487b7160e01b600052602160045260246000fd5b6004811061102057611020610ffa565b9052565b602081016105848284611010565b60006020828403121561104457600080fd5b5035919050565b6009811061102057611020610ffa565b6001600160a01b0387168152602081018690526040810185905260c08101611086606083018661104b565b8360808301526003831061109c5761109c610ffa565b8260a0830152979650505050505050565b600080604083850312156110c057600080fd5b8235600981106110cf57600080fd5b946020939093013593505050565b6000602082840312156110ef57600080fd5b8151610df681610f80565b8381526001600160a01b038316602082015260608101610f3f6040830184611010565b634e487b7160e01b600052604160045260246000fd5b6040805190810167ffffffffffffffff811182821017156111565761115661111d565b60405290565b604051601f8201601f1916810167ffffffffffffffff811182821017156111855761118561111d565b604052919050565b600060208083850312156111a057600080fd5b825167ffffffffffffffff808211156111b857600080fd5b818501915085601f8301126111cc57600080fd5b8151818111156111de576111de61111d565b6111ec848260051b0161115c565b818152848101925060069190911b83018401908782111561120c57600080fd5b928401925b81841015611258576040848903121561122a5760008081fd5b611232611133565b845161123d81610fc0565b81528486015186820152835260409093019291840191611211565b979650505050505050565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b8082018082111561058457610584611279565b600063ffffffff8083168181036112bb576112bb611279565b6001019392505050565b808202811582820484141761058457610584611279565b6000826112f957634e487b7160e01b600052601260045260246000fd5b500490565b6040810161130c828561104b565b8260208301529392505050565b848152831515602082015260808101611335604083018561104b565b82606083015295945050505050565b60208101610584828461104b565b60006020828403121561136457600080fd5b5051919050565b8181038181111561058457610584611279565b8681526001600160a01b0386166020820152604081018590526060810184905260c0810161109c608083018561104b565b6000602082840312156113c157600080fd5b81518015158114610df657600080fd5b60005b838110156113ec5781810151838201526020016113d4565b50506000910152565b600082516114078184602087016113d1565b9190910192915050565b60208152600082518060208401526114308160408501602087016113d1565b601f01601f1916919091016040019291505056fea2646970667358221220640e635f72555ad296aa8422c6b11fbff2d1c1486e6f24e77362251d8231c38564736f6c63430008110033",
}

GovernMetaData contains all meta data concerning the Govern contract.

View Source
var IMessageReceiverAppABI = IMessageReceiverAppMetaData.ABI

IMessageReceiverAppABI is the input ABI used to generate the binding from. Deprecated: Use IMessageReceiverAppMetaData.ABI instead.

View Source
var IMessageReceiverAppMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"_sender\",\"type\":\"bytes\"},{\"internalType\":\"uint64\",\"name\":\"_srcChainId\",\"type\":\"uint64\"},{\"internalType\":\"bytes\",\"name\":\"_message\",\"type\":\"bytes\"},{\"internalType\":\"address\",\"name\":\"_executor\",\"type\":\"address\"}],\"name\":\"executeMessage\",\"outputs\":[{\"internalType\":\"enumIMessageReceiverApp.ExecutionStatus\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_sender\",\"type\":\"address\"},{\"internalType\":\"uint64\",\"name\":\"_srcChainId\",\"type\":\"uint64\"},{\"internalType\":\"bytes\",\"name\":\"_message\",\"type\":\"bytes\"},{\"internalType\":\"address\",\"name\":\"_executor\",\"type\":\"address\"}],\"name\":\"executeMessage\",\"outputs\":[{\"internalType\":\"enumIMessageReceiverApp.ExecutionStatus\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_sender\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_token\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"},{\"internalType\":\"uint64\",\"name\":\"_srcChainId\",\"type\":\"uint64\"},{\"internalType\":\"bytes\",\"name\":\"_message\",\"type\":\"bytes\"},{\"internalType\":\"address\",\"name\":\"_executor\",\"type\":\"address\"}],\"name\":\"executeMessageWithTransfer\",\"outputs\":[{\"internalType\":\"enumIMessageReceiverApp.ExecutionStatus\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_sender\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_token\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"},{\"internalType\":\"uint64\",\"name\":\"_srcChainId\",\"type\":\"uint64\"},{\"internalType\":\"bytes\",\"name\":\"_message\",\"type\":\"bytes\"},{\"internalType\":\"address\",\"name\":\"_executor\",\"type\":\"address\"}],\"name\":\"executeMessageWithTransferFallback\",\"outputs\":[{\"internalType\":\"enumIMessageReceiverApp.ExecutionStatus\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_token\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"_message\",\"type\":\"bytes\"},{\"internalType\":\"address\",\"name\":\"_executor\",\"type\":\"address\"}],\"name\":\"executeMessageWithTransferRefund\",\"outputs\":[{\"internalType\":\"enumIMessageReceiverApp.ExecutionStatus\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"payable\",\"type\":\"function\"}]",
}

IMessageReceiverAppMetaData contains all meta data concerning the IMessageReceiverApp contract.

View Source
var ISigsVerifierABI = ISigsVerifierMetaData.ABI

ISigsVerifierABI is the input ABI used to generate the binding from. Deprecated: Use ISigsVerifierMetaData.ABI instead.

View Source
var ISigsVerifierMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"_msg\",\"type\":\"bytes\"},{\"internalType\":\"bytes[]\",\"name\":\"_sigs\",\"type\":\"bytes[]\"},{\"internalType\":\"address[]\",\"name\":\"_signers\",\"type\":\"address[]\"},{\"internalType\":\"uint256[]\",\"name\":\"_powers\",\"type\":\"uint256[]\"}],\"name\":\"verifySigs\",\"outputs\":[],\"stateMutability\":\"view\",\"type\":\"function\"}]",
}

ISigsVerifierMetaData contains all meta data concerning the ISigsVerifier contract.

View Source
var IncentiveEventsRewardABI = IncentiveEventsRewardMetaData.ABI

IncentiveEventsRewardABI is the input ABI used to generate the binding from. Deprecated: Use IncentiveEventsRewardMetaData.ABI instead.

View Source
var IncentiveEventsRewardBin = IncentiveEventsRewardMetaData.Bin

IncentiveEventsRewardBin is the compiled bytecode used for deploying new contracts. Deprecated: Use IncentiveEventsRewardMetaData.Bin instead.

View Source
var IncentiveEventsRewardMetaData = &bind.MetaData{
	ABI: "[{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"eventId\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"reward\",\"type\":\"uint256\"}],\"name\":\"IncentiveRewardClaimed\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"contributor\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"contribution\",\"type\":\"uint256\"}],\"name\":\"IncentiveRewardContributed\",\"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\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"Paused\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"Unpaused\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"claimDeadlines\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_recipient\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_eventId\",\"type\":\"uint256\"},{\"internalType\":\"address[]\",\"name\":\"_tokens\",\"type\":\"address[]\"},{\"internalType\":\"uint256[]\",\"name\":\"_rewardAmounts\",\"type\":\"uint256[]\"},{\"internalType\":\"bytes\",\"name\":\"_sig\",\"type\":\"bytes\"}],\"name\":\"claimReward\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"claimedRewardAmounts\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_token\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"}],\"name\":\"contributeToRewardPool\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_token\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"}],\"name\":\"drainToken\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"pause\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"paused\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"rewardSigner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_eventId\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_deadline\",\"type\":\"uint256\"}],\"name\":\"setClaimDeadline\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_signer\",\"type\":\"address\"}],\"name\":\"setSigner\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"unpause\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
	Bin: "0x608060405234801561001057600080fd5b506000805460ff1916905561002433610029565b610082565b600080546001600160a01b03838116610100818102610100600160a81b0319851617855560405193049190911692909183917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a35050565b61174d806100916000396000f3fe608060405234801561001057600080fd5b50600436106100ea5760003560e01c8063825168ff1161008c5780639d4323be116100665780639d4323be146101ea578063b8d2ce7f146101fd578063f2fde38b14610210578063f4e6b11c1461022357600080fd5b8063825168ff146101b95780638456cb59146101cc5780638da5cb5b146101d457600080fd5b80635c975abb116100c85780635c975abb146101575780636c19e7831461016d5780636cd943f114610180578063715018a6146101b157600080fd5b80632b5f3ece146100ef578063323f24ab146101225780633f4ba83a1461014d575b600080fd5b61010f6100fd366004611343565b60036020526000908152604090205481565b6040519081526020015b60405180910390f35b600154610135906001600160a01b031681565b6040516001600160a01b039091168152602001610119565b610155610236565b005b60005460ff166040519015158152602001610119565b61015561017b366004611378565b6102a5565b61010f61018e366004611393565b600260209081526000938452604080852082529284528284209052825290205481565b61015561033f565b6101556101c73660046113cf565b6103a9565b610155610457565b60005461010090046001600160a01b0316610135565b6101556101f83660046113cf565b6104bf565b61015561020b3660046113f9565b610589565b61015561021e366004611378565b6105fb565b610155610231366004611460565b6106e3565b6000546001600160a01b0361010090910416331461029b5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064015b60405180910390fd5b6102a3610a22565b565b6000546001600160a01b036101009091041633146103055760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610292565b600180547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b0392909216919091179055565b6000546001600160a01b0361010090910416331461039f5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610292565b6102a36000610abe565b60005460ff16156103ef5760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b6044820152606401610292565b336104056001600160a01b038416823085610b2e565b826001600160a01b0316816001600160a01b03167f57eaaa782395163669286660e541412345ba796d72347d77f65ce69b98241a6b8460405161044a91815260200190565b60405180910390a3505050565b6000546001600160a01b036101009091041633146104b75760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610292565b6102a3610bcc565b60005460ff166105115760405162461bcd60e51b815260206004820152601460248201527f5061757361626c653a206e6f74207061757365640000000000000000000000006044820152606401610292565b6000546001600160a01b036101009091041633146105715760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610292565b6105856001600160a01b0383163383610c47565b5050565b6000546001600160a01b036101009091041633146105e95760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610292565b60009182526003602052604090912055565b6000546001600160a01b0361010090910416331461065b5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610292565b6001600160a01b0381166106d75760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610292565b6106e081610abe565b50565b60005460ff16156107295760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b6044820152606401610292565b600087815260036020526040812054908190036107885760405162461bcd60e51b815260206004820152600f60248201527f496e76616c6964206576656e74496400000000000000000000000000000000006044820152606401610292565b804211156107d85760405162461bcd60e51b815260206004820152600d60248201527f436c61696d2065787069726564000000000000000000000000000000000000006044820152606401610292565b8584146108275760405162461bcd60e51b815260206004820152601c60248201527f4d69736d617463682072657761726420696e666f206c656e67746873000000006044820152606401610292565b60006108ab46308c8c8c8c8c8c60405160200161084b989796959493929190611541565b60408051601f1981840301815282825280516020918201207f19457468657265756d205369676e6564204d6573736167653a0a33320000000084830152603c8085019190915282518085039091018152605c909301909152815191012090565b905060006108f185858080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152508693925050610c7c9050565b6001549091506001600160a01b038083169116146109515760405162461bcd60e51b815260206004820152600b60248201527f496e76616c6964207369670000000000000000000000000000000000000000006044820152606401610292565b6000805b898110156109c65760006109a98e8e8e8e8681811061097657610976611614565b905060200201602081019061098b9190611378565b8d8d8781811061099d5761099d611614565b90506020020135610ca2565b11156109b457600191505b806109be81611640565b915050610955565b5080610a145760405162461bcd60e51b815260206004820152600d60248201527f4e6f206e657720726577617264000000000000000000000000000000000000006044820152606401610292565b505050505050505050505050565b60005460ff16610a745760405162461bcd60e51b815260206004820152601460248201527f5061757361626c653a206e6f74207061757365640000000000000000000000006044820152606401610292565b6000805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b600080546001600160a01b038381166101008181027fffffffffffffffffffffff0000000000000000000000000000000000000000ff851617855560405193049190911692909183917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a35050565b6040516001600160a01b0380851660248301528316604482015260648101829052610bc69085906323b872dd60e01b906084015b60408051601f198184030181529190526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fffffffff0000000000000000000000000000000000000000000000000000000090931692909217909152610d74565b50505050565b60005460ff1615610c125760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b6044820152606401610292565b6000805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258610aa13390565b6040516001600160a01b038316602482015260448101829052610c7790849063a9059cbb60e01b90606401610b62565b505050565b6000806000610c8b8585610e59565b91509150610c9881610ec7565b5090505b92915050565b60008381526002602090815260408083206001600160a01b038089168552908352818420908616845290915281205481610cdc8285611659565b60008781526002602090815260408083206001600160a01b03808d168552908352818420908a168085529252909120869055909150610d1c908883610c47565b846001600160a01b031686886001600160a01b03167f4725b2f44eb58121ab1f49975418c658cd3b55c3b2304f17d763d0f7db2eeea484604051610d6291815260200190565b60405180910390a49695505050505050565b6000610dc9826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b031661107d9092919063ffffffff16565b805190915015610c775780806020019051810190610de7919061166c565b610c775760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e60448201527f6f742073756363656564000000000000000000000000000000000000000000006064820152608401610292565b6000808251604103610e8f5760208301516040840151606085015160001a610e8387828585611096565b94509450505050610ec0565b8251604003610eb85760208301516040840151610ead868383611183565b935093505050610ec0565b506000905060025b9250929050565b6000816004811115610edb57610edb61168e565b03610ee35750565b6001816004811115610ef757610ef761168e565b03610f445760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e617475726500000000000000006044820152606401610292565b6002816004811115610f5857610f5861168e565b03610fa55760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e677468006044820152606401610292565b6003816004811115610fb957610fb961168e565b036110115760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b6064820152608401610292565b60048160048111156110255761102561168e565b036106e05760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202776272076616c604482015261756560f01b6064820152608401610292565b606061108c84846000856111cb565b90505b9392505050565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08311156110cd575060009050600361117a565b8460ff16601b141580156110e557508460ff16601c14155b156110f6575060009050600461117a565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa15801561114a573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b0381166111735760006001925092505061117a565b9150600090505b94509492505050565b6000807f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff831660ff84901c601b016111bd87828885611096565b935093505050935093915050565b6060824710156112435760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f60448201527f722063616c6c00000000000000000000000000000000000000000000000000006064820152608401610292565b843b6112915760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610292565b600080866001600160a01b031685876040516112ad91906116c8565b60006040518083038185875af1925050503d80600081146112ea576040519150601f19603f3d011682016040523d82523d6000602084013e6112ef565b606091505b50915091506112ff82828661130a565b979650505050505050565b6060831561131957508161108f565b8251156113295782518084602001fd5b8160405162461bcd60e51b815260040161029291906116e4565b60006020828403121561135557600080fd5b5035919050565b80356001600160a01b038116811461137357600080fd5b919050565b60006020828403121561138a57600080fd5b61108f8261135c565b6000806000606084860312156113a857600080fd5b833592506113b86020850161135c565b91506113c66040850161135c565b90509250925092565b600080604083850312156113e257600080fd5b6113eb8361135c565b946020939093013593505050565b6000806040838503121561140c57600080fd5b50508035926020909101359150565b60008083601f84011261142d57600080fd5b50813567ffffffffffffffff81111561144557600080fd5b6020830191508360208260051b8501011115610ec057600080fd5b60008060008060008060008060a0898b03121561147c57600080fd5b6114858961135c565b975060208901359650604089013567ffffffffffffffff808211156114a957600080fd5b6114b58c838d0161141b565b909850965060608b01359150808211156114ce57600080fd5b6114da8c838d0161141b565b909650945060808b01359150808211156114f357600080fd5b818b0191508b601f83011261150757600080fd5b81358181111561151657600080fd5b8c602082850101111561152857600080fd5b6020830194508093505050509295985092959890939650565b888152600060206bffffffffffffffffffffffff19808b60601b16828501527f496e63656e74697665526577617264436c61696d0000000000000000000000006034850152808a60601b1660488501525087605c840152607c83018760005b888110156115cc576001600160a01b036115b98361135c565b16835291830191908301906001016115a0565b50507f07ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8511156115fb57600080fd5b8460051b915081868237019a9950505050505050505050565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b6000600182016116525761165261162a565b5060010190565b81810381811115610c9c57610c9c61162a565b60006020828403121561167e57600080fd5b8151801515811461108f57600080fd5b634e487b7160e01b600052602160045260246000fd5b60005b838110156116bf5781810151838201526020016116a7565b50506000910152565b600082516116da8184602087016116a4565b9190910192915050565b60208152600082518060208401526117038160408501602087016116a4565b601f01601f1916919091016040019291505056fea2646970667358221220b47fc36103a72188244a54cb9ae9ce2297d32bb1eec26e86ab144802bf47ff6964736f6c63430008110033",
}

IncentiveEventsRewardMetaData contains all meta data concerning the IncentiveEventsReward contract.

View Source
var MessageBusABI = MessageBusMetaData.ABI

MessageBusABI is the input ABI used to generate the binding from. Deprecated: Use MessageBusMetaData.ABI instead.

View Source
var MessageBusBin = MessageBusMetaData.Bin

MessageBusBin is the compiled bytecode used for deploying new contracts. Deprecated: Use MessageBusMetaData.Bin instead.

View Source
var MessageBusMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[{\"internalType\":\"contractISigsVerifier\",\"name\":\"_sigsVerifier\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_liquidityBridge\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_pegBridge\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_pegVault\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_pegBridgeV2\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_pegVaultV2\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"string\",\"name\":\"reason\",\"type\":\"string\"}],\"name\":\"CallReverted\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"enumMsgDataTypes.MsgType\",\"name\":\"msgType\",\"type\":\"uint8\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"msgId\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"enumMsgDataTypes.TxStatus\",\"name\":\"status\",\"type\":\"uint8\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"receiver\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint64\",\"name\":\"srcChainId\",\"type\":\"uint64\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"srcTxHash\",\"type\":\"bytes32\"}],\"name\":\"Executed\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"feeBase\",\"type\":\"uint256\"}],\"name\":\"FeeBaseUpdated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"feePerByte\",\"type\":\"uint256\"}],\"name\":\"FeePerByteUpdated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"receiver\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"FeeWithdrawn\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"liquidityBridge\",\"type\":\"address\"}],\"name\":\"LiquidityBridgeUpdated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"receiver\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"dstChainId\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"message\",\"type\":\"bytes\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"fee\",\"type\":\"uint256\"}],\"name\":\"Message\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"receiver\",\"type\":\"bytes\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"dstChainId\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"message\",\"type\":\"bytes\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"fee\",\"type\":\"uint256\"}],\"name\":\"Message2\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"receiver\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"dstChainId\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"bridge\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"srcTransferId\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"message\",\"type\":\"bytes\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"fee\",\"type\":\"uint256\"}],\"name\":\"MessageWithTransfer\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"enumMsgDataTypes.MsgType\",\"name\":\"msgType\",\"type\":\"uint8\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"msgId\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"uint64\",\"name\":\"srcChainId\",\"type\":\"uint64\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"srcTxHash\",\"type\":\"bytes32\"}],\"name\":\"NeedRetry\",\"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\":\"address\",\"name\":\"pegBridge\",\"type\":\"address\"}],\"name\":\"PegBridgeUpdated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"pegBridgeV2\",\"type\":\"address\"}],\"name\":\"PegBridgeV2Updated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"pegVault\",\"type\":\"address\"}],\"name\":\"PegVaultUpdated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"pegVaultV2\",\"type\":\"address\"}],\"name\":\"PegVaultV2Updated\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"_message\",\"type\":\"bytes\"}],\"name\":\"calcFee\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"_message\",\"type\":\"bytes\"},{\"components\":[{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"receiver\",\"type\":\"address\"},{\"internalType\":\"uint64\",\"name\":\"srcChainId\",\"type\":\"uint64\"},{\"internalType\":\"bytes32\",\"name\":\"srcTxHash\",\"type\":\"bytes32\"}],\"internalType\":\"structMsgDataTypes.RouteInfo\",\"name\":\"_route\",\"type\":\"tuple\"},{\"internalType\":\"bytes[]\",\"name\":\"_sigs\",\"type\":\"bytes[]\"},{\"internalType\":\"address[]\",\"name\":\"_signers\",\"type\":\"address[]\"},{\"internalType\":\"uint256[]\",\"name\":\"_powers\",\"type\":\"uint256[]\"}],\"name\":\"executeMessage\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"_message\",\"type\":\"bytes\"},{\"components\":[{\"internalType\":\"bytes\",\"name\":\"sender\",\"type\":\"bytes\"},{\"internalType\":\"address\",\"name\":\"receiver\",\"type\":\"address\"},{\"internalType\":\"uint64\",\"name\":\"srcChainId\",\"type\":\"uint64\"},{\"internalType\":\"bytes32\",\"name\":\"srcTxHash\",\"type\":\"bytes32\"}],\"internalType\":\"structMsgDataTypes.RouteInfo2\",\"name\":\"_route\",\"type\":\"tuple\"},{\"internalType\":\"bytes[]\",\"name\":\"_sigs\",\"type\":\"bytes[]\"},{\"internalType\":\"address[]\",\"name\":\"_signers\",\"type\":\"address[]\"},{\"internalType\":\"uint256[]\",\"name\":\"_powers\",\"type\":\"uint256[]\"}],\"name\":\"executeMessage\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"_message\",\"type\":\"bytes\"},{\"components\":[{\"internalType\":\"enumMsgDataTypes.TransferType\",\"name\":\"t\",\"type\":\"uint8\"},{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"receiver\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"uint64\",\"name\":\"wdseq\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"srcChainId\",\"type\":\"uint64\"},{\"internalType\":\"bytes32\",\"name\":\"refId\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"srcTxHash\",\"type\":\"bytes32\"}],\"internalType\":\"structMsgDataTypes.TransferInfo\",\"name\":\"_transfer\",\"type\":\"tuple\"},{\"internalType\":\"bytes[]\",\"name\":\"_sigs\",\"type\":\"bytes[]\"},{\"internalType\":\"address[]\",\"name\":\"_signers\",\"type\":\"address[]\"},{\"internalType\":\"uint256[]\",\"name\":\"_powers\",\"type\":\"uint256[]\"}],\"name\":\"executeMessageWithTransfer\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"_message\",\"type\":\"bytes\"},{\"components\":[{\"internalType\":\"enumMsgDataTypes.TransferType\",\"name\":\"t\",\"type\":\"uint8\"},{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"receiver\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"uint64\",\"name\":\"wdseq\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"srcChainId\",\"type\":\"uint64\"},{\"internalType\":\"bytes32\",\"name\":\"refId\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"srcTxHash\",\"type\":\"bytes32\"}],\"internalType\":\"structMsgDataTypes.TransferInfo\",\"name\":\"_transfer\",\"type\":\"tuple\"},{\"internalType\":\"bytes[]\",\"name\":\"_sigs\",\"type\":\"bytes[]\"},{\"internalType\":\"address[]\",\"name\":\"_signers\",\"type\":\"address[]\"},{\"internalType\":\"uint256[]\",\"name\":\"_powers\",\"type\":\"uint256[]\"}],\"name\":\"executeMessageWithTransferRefund\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"name\":\"executedMessages\",\"outputs\":[{\"internalType\":\"enumMsgDataTypes.TxStatus\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"feeBase\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"feePerByte\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_liquidityBridge\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_pegBridge\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_pegVault\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_pegBridgeV2\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_pegVaultV2\",\"type\":\"address\"}],\"name\":\"init\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"liquidityBridge\",\"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\":\"pegBridge\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"pegBridgeV2\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"pegVault\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"pegVaultV2\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"preExecuteMessageGasUsage\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"bytes\",\"name\":\"request\",\"type\":\"bytes\"},{\"internalType\":\"bytes[]\",\"name\":\"sigs\",\"type\":\"bytes[]\"},{\"internalType\":\"address[]\",\"name\":\"signers\",\"type\":\"address[]\"},{\"internalType\":\"uint256[]\",\"name\":\"powers\",\"type\":\"uint256[]\"}],\"internalType\":\"structMsgDataTypes.BridgeTransferParams\",\"name\":\"_transferParams\",\"type\":\"tuple\"},{\"components\":[{\"internalType\":\"bytes\",\"name\":\"message\",\"type\":\"bytes\"},{\"components\":[{\"internalType\":\"enumMsgDataTypes.TransferType\",\"name\":\"t\",\"type\":\"uint8\"},{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"receiver\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"uint64\",\"name\":\"wdseq\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"srcChainId\",\"type\":\"uint64\"},{\"internalType\":\"bytes32\",\"name\":\"refId\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"srcTxHash\",\"type\":\"bytes32\"}],\"internalType\":\"structMsgDataTypes.TransferInfo\",\"name\":\"transfer\",\"type\":\"tuple\"},{\"internalType\":\"bytes[]\",\"name\":\"sigs\",\"type\":\"bytes[]\"},{\"internalType\":\"address[]\",\"name\":\"signers\",\"type\":\"address[]\"},{\"internalType\":\"uint256[]\",\"name\":\"powers\",\"type\":\"uint256[]\"}],\"internalType\":\"structMsgDataTypes.MsgWithTransferExecutionParams\",\"name\":\"_msgParams\",\"type\":\"tuple\"}],\"name\":\"refundAndExecuteMsg\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"_receiver\",\"type\":\"bytes\"},{\"internalType\":\"uint256\",\"name\":\"_dstChainId\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"_message\",\"type\":\"bytes\"}],\"name\":\"sendMessage\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_receiver\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_dstChainId\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"_message\",\"type\":\"bytes\"}],\"name\":\"sendMessage\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_receiver\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_dstChainId\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"_srcBridge\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"_srcTransferId\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"_message\",\"type\":\"bytes\"}],\"name\":\"sendMessageWithTransfer\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_fee\",\"type\":\"uint256\"}],\"name\":\"setFeeBase\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_fee\",\"type\":\"uint256\"}],\"name\":\"setFeePerByte\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_addr\",\"type\":\"address\"}],\"name\":\"setLiquidityBridge\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_addr\",\"type\":\"address\"}],\"name\":\"setPegBridge\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_addr\",\"type\":\"address\"}],\"name\":\"setPegBridgeV2\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_addr\",\"type\":\"address\"}],\"name\":\"setPegVault\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_addr\",\"type\":\"address\"}],\"name\":\"setPegVaultV2\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_usage\",\"type\":\"uint256\"}],\"name\":\"setPreExecuteMessageGasUsage\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"sigsVerifier\",\"outputs\":[{\"internalType\":\"contractISigsVerifier\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"bytes\",\"name\":\"request\",\"type\":\"bytes\"},{\"internalType\":\"bytes[]\",\"name\":\"sigs\",\"type\":\"bytes[]\"},{\"internalType\":\"address[]\",\"name\":\"signers\",\"type\":\"address[]\"},{\"internalType\":\"uint256[]\",\"name\":\"powers\",\"type\":\"uint256[]\"}],\"internalType\":\"structMsgDataTypes.BridgeTransferParams\",\"name\":\"_transferParams\",\"type\":\"tuple\"},{\"components\":[{\"internalType\":\"bytes\",\"name\":\"message\",\"type\":\"bytes\"},{\"components\":[{\"internalType\":\"enumMsgDataTypes.TransferType\",\"name\":\"t\",\"type\":\"uint8\"},{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"receiver\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"uint64\",\"name\":\"wdseq\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"srcChainId\",\"type\":\"uint64\"},{\"internalType\":\"bytes32\",\"name\":\"refId\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"srcTxHash\",\"type\":\"bytes32\"}],\"internalType\":\"structMsgDataTypes.TransferInfo\",\"name\":\"transfer\",\"type\":\"tuple\"},{\"internalType\":\"bytes[]\",\"name\":\"sigs\",\"type\":\"bytes[]\"},{\"internalType\":\"address[]\",\"name\":\"signers\",\"type\":\"address[]\"},{\"internalType\":\"uint256[]\",\"name\":\"powers\",\"type\":\"uint256[]\"}],\"internalType\":\"structMsgDataTypes.MsgWithTransferExecutionParams\",\"name\":\"_msgParams\",\"type\":\"tuple\"}],\"name\":\"transferAndExecuteMsg\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_account\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_cumulativeFee\",\"type\":\"uint256\"},{\"internalType\":\"bytes[]\",\"name\":\"_sigs\",\"type\":\"bytes[]\"},{\"internalType\":\"address[]\",\"name\":\"_signers\",\"type\":\"address[]\"},{\"internalType\":\"uint256[]\",\"name\":\"_powers\",\"type\":\"uint256[]\"}],\"name\":\"withdrawFee\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"withdrawnFees\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"}]",
	Bin: "0x60a06040523480156200001157600080fd5b50604051620041183803806200411883398101604081905262000034916200011d565b84848484848a6200004533620000b4565b6001600160a01b03908116608052600580546001600160a01b0319908116978316979097179055600680548716958216959095179094556007805486169385169390931790925560088054851691841691909117905560098054909316911617905550620001b1945050505050565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6001600160a01b03811681146200011a57600080fd5b50565b60008060008060008060c087890312156200013757600080fd5b8651620001448162000104565b6020880151909650620001578162000104565b60408801519095506200016a8162000104565b60608801519094506200017d8162000104565b6080880151909350620001908162000104565b60a0880151909250620001a38162000104565b809150509295509295509295565b608051613f44620001d4600039600081816104eb01526108430152613f446000f3fe6080604052600436106101fe5760003560e01c806382980dc41161011d578063ccf2683b116100b0578063dfa2dbaf1161007f578063f2fde38b11610064578063f2fde38b146105bd578063f60bbe2a146105dd578063f83b0fb9146105f357600080fd5b8063dfa2dbaf1461057d578063e2c1ed251461059d57600080fd5b8063ccf2683b146104d9578063cd2abd661461050d578063d8257d171461054a578063db2c20c81461056a57600080fd5b806395e911a8116100ec57806395e911a8146104705780639b05a775146104865780639f3ce55a146104a6578063c66a9c5a146104b957600080fd5b806382980dc4146103da57806382efd502146104125780638da5cb5b1461043257806395b12c271461045057600080fd5b8063468a2d04116101955780635b3e5f50116101645780635b3e5f5014610367578063723d0a9d146103945780637b80ab20146103b45780637d7a101d146103c757600080fd5b8063468a2d04146102eb5780635335dca2146102fe578063584e45e114610331578063588be02b1461034757600080fd5b80633f395aff116101d15780633f395aff1461028557806340d0d026146102985780634289fbb3146102b85780634586f331146102cb57600080fd5b806303cbfe661461020357806306c28bd6146102255780632ff4c41114610245578063359ef75b14610265575b600080fd5b34801561020f57600080fd5b5061022361021e366004612f40565b610613565b005b34801561023157600080fd5b50610223610240366004612f5b565b61070c565b34801561025157600080fd5b50610223610260366004612fc0565b610798565b34801561027157600080fd5b50610223610280366004613074565b610a33565b61022361029336600461311b565b610a4f565b3480156102a457600080fd5b506102236102b3366004613224565b610d3f565b6102236102c6366004613290565b610d97565b3480156102d757600080fd5b506102236102e6366004612f5b565b610e7f565b6102236102f9366004613308565b610edb565b34801561030a57600080fd5b5061031e6103193660046133cd565b610f3b565b6040519081526020015b60405180910390f35b34801561033d57600080fd5b5061031e600a5481565b34801561035357600080fd5b50610223610362366004612f40565b610f61565b34801561037357600080fd5b5061031e610382366004612f40565b60036020526000908152604090205481565b3480156103a057600080fd5b506102236103af366004613224565b61104e565b6102236103c236600461311b565b61109c565b6102236103d536600461340f565b6112a9565b3480156103e657600080fd5b506005546103fa906001600160a01b031681565b6040516001600160a01b039091168152602001610328565b34801561041e57600080fd5b5061022361042d366004612f40565b611306565b34801561043e57600080fd5b506000546001600160a01b03166103fa565b34801561045c57600080fd5b506008546103fa906001600160a01b031681565b34801561047c57600080fd5b5061031e60015481565b34801561049257600080fd5b506102236104a1366004612f40565b6113f3565b6102236104b4366004613489565b6114e0565b3480156104c557600080fd5b506009546103fa906001600160a01b031681565b3480156104e557600080fd5b506103fa7f000000000000000000000000000000000000000000000000000000000000000081565b34801561051957600080fd5b5061053d610528366004612f5b565b60046020526000908152604090205460ff1681565b604051610328919061350d565b34801561055657600080fd5b506007546103fa906001600160a01b031681565b61022361057836600461351b565b61153a565b34801561058957600080fd5b506006546103fa906001600160a01b031681565b3480156105a957600080fd5b506102236105b8366004612f5b565b61158e565b3480156105c957600080fd5b506102236105d8366004612f40565b61161a565b3480156105e957600080fd5b5061031e60025481565b3480156105ff57600080fd5b5061022361060e366004612f40565b6116f9565b336106266000546001600160a01b031690565b6001600160a01b03161461066f5760405162461bcd60e51b81526020600482018190526024820152600080516020613ec383398151915260448201526064015b60405180910390fd5b6001600160a01b0381166106b75760405162461bcd60e51b815260206004820152600f60248201526e696e76616c6964206164647265737360881b6044820152606401610666565b600680546001600160a01b0319166001600160a01b0383169081179091556040519081527fd60e9ceb4f54f1bfb1741a4b35fc9d806d7ed48200b523203b92248ea38fa17d906020015b60405180910390a150565b3361071f6000546001600160a01b031690565b6001600160a01b0316146107635760405162461bcd60e51b81526020600482018190526024820152600080516020613ec38339815191526044820152606401610666565b60018190556040518181527f892dfdc99ecd3bb4f2f2cb118dca02f0bd16640ff156d3c6459d4282e336a5f290602001610701565b600046306040516020016107e992919091825260601b6001600160601b03191660208201527f77697468647261774665650000000000000000000000000000000000000000006034820152603f0190565b60408051808303601f19018152828252805160209182012090830181905260608c901b6001600160601b0319168383015260548084018c9052825180850390910181526074840192839052633416de1160e11b90925292507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169163682dbc229161088a918b908b908b908b908b908b9060780161377f565b60006040518083038186803b1580156108a257600080fd5b505afa1580156108b6573d6000803e3d6000fd5b505050506001600160a01b0389166000908152600360205260408120546108dd908a6137f3565b90506000811161092f5760405162461bcd60e51b815260206004820152601960248201527f4e6f206e657720616d6f756e7420746f207769746864726177000000000000006044820152606401610666565b6001600160a01b038a166000818152600360205260408082208c90555190919061c35090849084818181858888f193505050503d806000811461098e576040519150601f19603f3d011682016040523d82523d6000602084013e610993565b606091505b50509050806109e45760405162461bcd60e51b815260206004820152601660248201527f6661696c656420746f20776974686472617720666565000000000000000000006044820152606401610666565b604080516001600160a01b038d168152602081018490527f78473f3f373f7673597f4f0fa5873cb4d375fea6d4339ad6b56dbd411513cb3f910160405180910390a15050505050505050505050565b610a3b6117e6565b610a48858585858561184a565b5050505050565b6000610a5a88611902565b90506000808281526004602081905260409091205460ff1690811115610a8257610a826134e3565b14610acf5760405162461bcd60e51b815260206004820152601960248201527f7472616e7366657220616c7265616479206578656375746564000000000000006044820152606401610666565b6000818152600460208181526040808420805460ff1916909317909255815146918101919091526001600160601b03193060601b16918101919091527f4d657373616765576974685472616e73666572000000000000000000000000006054820152606701604051602081830303815290604052805190602001209050600560009054906101000a90046001600160a01b03166001600160a01b031663682dbc2282848e8e8e6101000135604051602001610b8e959493929190613806565b6040516020818303038152906040528a8a8a8a8a8a6040518863ffffffff1660e01b8152600401610bc5979695949392919061377f565b60006040518083038186803b158015610bdd57600080fd5b505afa158015610bf1573d6000803e3d6000fd5b50505050600080610c038b8e8e61216b565b90506001816002811115610c1957610c196134e3565b03610c275760019150610cef565b6002816002811115610c3b57610c3b6134e3565b03610cbb576000848152600460205260408120805460ff19166001835b02179055507fe49c2c954d381d1448cf824743aeff9da7a1d82078a7c9e5817269cc359bd26c6000858d60c0016020810190610c949190613828565b8e6101000135604051610caa9493929190613862565b60405180910390a150505050610d34565b610cc68b8e8e6122a6565b90506001816002811115610cdc57610cdc6134e3565b03610cea5760039150610cef565b600291505b60008481526004602081905260409091208054849260ff19909116906001908490811115610d1f57610d1f6134e3565b0217905550610d2f84838d6122e1565b505050505b505050505050505050565b610d58610d526040830160208401613895565b83612353565b610d93610d6582806138b6565b60208401610d776101408601866138fd565b610d856101608801886138fd565b6103c26101808a018a6138fd565b5050565b468503610dd85760405162461bcd60e51b815260206004820152600f60248201526e125b9d985b1a590818da185a5b9259608a1b6044820152606401610666565b6000610de48383610f3b565b905080341015610e295760405162461bcd60e51b815260206004820152601060248201526f496e73756666696369656e742066656560801b6044820152606401610666565b336001600160a01b03167f172762498a59a3bc4fed3f2b63f94f17ea0193cffdc304fe7d3eaf4d342d2f6688888888888834604051610e6e9796959493929190613947565b60405180910390a250505050505050565b33610e926000546001600160a01b031690565b6001600160a01b031614610ed65760405162461bcd60e51b81526020600482018190526024820152600080516020613ec38339815191526044820152606401610666565b600a55565b6000610ee68861259d565b9050610f2f8a8a838a8a8a8a8a8a6040518060400160405280600781526020017f4d65737361676500000000000000000000000000000000000000000000000000815250612654565b50505050505050505050565b600254600090610f4b9083613994565b600154610f5891906139ab565b90505b92915050565b33610f746000546001600160a01b031690565b6001600160a01b031614610fb85760405162461bcd60e51b81526020600482018190526024820152600080516020613ec38339815191526044820152606401610666565b6001600160a01b0381166110005760405162461bcd60e51b815260206004820152600f60248201526e696e76616c6964206164647265737360881b6044820152606401610666565b600580546001600160a01b0319166001600160a01b0383169081179091556040519081527fbf9977180dc6e6cff25598c8e59150cecd7f8e448e092633d38ab7ee223ae05890602001610701565b611061610d526040830160208401613895565b610d9361106e82806138b6565b602084016110806101408601866138fd565b61108e6101608801886138fd565b6102936101808a018a6138fd565b60006110a788611902565b90506000808281526004602081905260409091205460ff16908111156110cf576110cf6134e3565b1461111c5760405162461bcd60e51b815260206004820152601960248201527f7472616e7366657220616c7265616479206578656375746564000000000000006044820152606401610666565b6000818152600460208181526040808420805460ff1916909317909255815146918101919091526001600160601b03193060601b16918101919091527f4d657373616765576974685472616e73666572526566756e64000000000000006054820152606d01604051602081830303815290604052805190602001209050600560009054906101000a90046001600160a01b03166001600160a01b031663682dbc2282848e8e8e61010001356040516020016111db959493929190613806565b6040516020818303038152906040528a8a8a8a8a8a6040518863ffffffff1660e01b8152600401611212979695949392919061377f565b60006040518083038186803b15801561122a57600080fd5b505afa15801561123e573d6000803e3d6000fd5b505050506000806112508b8e8e6128a8565b90506001816002811115611266576112666134e3565b036112745760019150610cef565b6002816002811115611288576112886134e3565b03610cea576000848152600460205260408120805460ff1916600183610c58565b6112b48383836128ff565b336001600160a01b03167fe66fbe37d84ca73c589f782ac278844918ea6c56a4917f58707f715588080df28686868686346040516112f7969594939291906139be565b60405180910390a25050505050565b336113196000546001600160a01b031690565b6001600160a01b03161461135d5760405162461bcd60e51b81526020600482018190526024820152600080516020613ec38339815191526044820152606401610666565b6001600160a01b0381166113a55760405162461bcd60e51b815260206004820152600f60248201526e696e76616c6964206164647265737360881b6044820152606401610666565b600880546001600160a01b0319166001600160a01b0383169081179091556040519081527ffb337a6c76476534518d5816caeb86263972470fedccfd047a35eb1825eaa9e890602001610701565b336114066000546001600160a01b031690565b6001600160a01b03161461144a5760405162461bcd60e51b81526020600482018190526024820152600080516020613ec38339815191526044820152606401610666565b6001600160a01b0381166114925760405162461bcd60e51b815260206004820152600f60248201526e696e76616c6964206164647265737360881b6044820152606401610666565b600780546001600160a01b0319166001600160a01b0383169081179091556040519081527fa9db0c32d9c6c2f75f3b95047a9e67cc1c010eab792a4e6ca777ce918ad94aad90602001610701565b6114eb8383836128ff565b336001600160a01b03167fce3972bfffe49d317e1d128047a97a3d86b25c94f6f04409f988ef854d25e0e4858585853460405161152c9594939291906139ff565b60405180910390a250505050565b600061154588612997565b9050610f2f8a8a838a8a8a8a8a8a6040518060400160405280600881526020017f4d65737361676532000000000000000000000000000000000000000000000000815250612654565b336115a16000546001600160a01b031690565b6001600160a01b0316146115e55760405162461bcd60e51b81526020600482018190526024820152600080516020613ec38339815191526044820152606401610666565b60028190556040518181527f210d4d5d2d36d571207dac98e383e2441c684684c885fb2d7c54f8d24422074c90602001610701565b3361162d6000546001600160a01b031690565b6001600160a01b0316146116715760405162461bcd60e51b81526020600482018190526024820152600080516020613ec38339815191526044820152606401610666565b6001600160a01b0381166116ed5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610666565b6116f681612a2d565b50565b3361170c6000546001600160a01b031690565b6001600160a01b0316146117505760405162461bcd60e51b81526020600482018190526024820152600080516020613ec38339815191526044820152606401610666565b6001600160a01b0381166117985760405162461bcd60e51b815260206004820152600f60248201526e696e76616c6964206164647265737360881b6044820152606401610666565b600980546001600160a01b0319166001600160a01b0383169081179091556040519081527f918a691a2a82482a10e11f43d7b627b2ba220dd08f251cb61933c42560f6fcb590602001610701565b6000546001600160a01b03161561183f5760405162461bcd60e51b815260206004820152601160248201527f6f776e657220616c7265616479207365740000000000000000000000000000006044820152606401610666565b61184833612a2d565b565b6005546001600160a01b0316156118a35760405162461bcd60e51b815260206004820152601b60248201527f6c697175696469747942726964676520616c72656164792073657400000000006044820152606401610666565b600580546001600160a01b03199081166001600160a01b03978816179091556006805482169587169590951790945560078054851693861693909317909255600880548416918516919091179055600980549092169216919091179055565b6000808060016119156020860186613895565b6006811115611926576119266134e3565b03611ab15761193b6040850160208601612f40565b61194b6060860160408701612f40565b61195b6080870160608801612f40565b608087013561197060e0890160c08a01613828565b6040516001600160601b0319606096871b8116602083015294861b851660348201529290941b9092166048820152605c8101919091526001600160c01b031960c092831b8116607c8301524690921b909116608482015260e0850135608c82015260ac0160408051808303601f19018152908290528051602090910120600554633c64f04b60e01b8352600483018290529093506001600160a01b031691508190633c64f04b90602401602060405180830381865afa158015611a37573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a5b9190613a3a565b1515600114611aac5760405162461bcd60e51b815260206004820152601660248201527f6272696467652072656c6179206e6f74206578697374000000000000000000006044820152606401610666565b612136565b6002611ac06020860186613895565b6006811115611ad157611ad16134e3565b03611c2e5746611ae760c0860160a08701613828565b611af76060870160408801612f40565b611b076080880160608901612f40565b6040516001600160c01b031960c095861b811660208301529390941b90921660288401526001600160601b0319606091821b8116603085015291901b1660448201526080850135605882015260780160408051808303601f19018152908290528051602090910120600554631c13568560e31b8352600483018290529093506001600160a01b03169150819063e09ab42890602401602060405180830381865afa158015611bb9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611bdd9190613a3a565b1515600114611aac5760405162461bcd60e51b815260206004820152601960248201527f627269646765207769746864726177206e6f74206578697374000000000000006044820152606401610666565b6003611c3d6020860186613895565b6006811115611c4e57611c4e6134e3565b1480611c7757506004611c646020860186613895565b6006811115611c7557611c756134e3565b145b15611eda57611c8c6060850160408601612f40565b611c9c6080860160608701612f40565b6080860135611cb16040880160208901612f40565b611cc160e0890160c08a01613828565b604051606095861b6001600160601b0319908116602083015294861b851660348201526048810193909352931b909116606882015260c09190911b6001600160c01b031916607c82015260e0850135608482015260a40160408051601f19818403018152919052805160209091012091506003611d416020860186613895565b6006811115611d5257611d526134e3565b03611e1957506006546040516301e6472560e01b8152600481018390526001600160a01b039091169081906301e64725906024015b602060405180830381865afa158015611da4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611dc89190613a3a565b1515600114611aac5760405162461bcd60e51b815260206004820152601560248201527f6d696e74207265636f7264206e6f7420657869737400000000000000000000006044820152606401610666565b506007546040516301e6472560e01b8152600481018390526001600160a01b039091169081906301e6472590602401602060405180830381865afa158015611e65573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611e899190613a3a565b1515600114611aac5760405162461bcd60e51b815260206004820152601960248201527f7769746864726177207265636f7264206e6f74206578697374000000000000006044820152606401610666565b6005611ee96020860186613895565b6006811115611efa57611efa6134e3565b1480611f2357506006611f106020860186613895565b6006811115611f2157611f216134e3565b145b15612136576005611f376020860186613895565b6006811115611f4857611f486134e3565b03611f5f57506008546001600160a01b0316611f6d565b506009546001600160a01b03165b611f7d6060850160408601612f40565b611f8d6080860160608701612f40565b6080860135611fa26040880160208901612f40565b611fb260e0890160c08a01613828565b604051606095861b6001600160601b0319908116602083015294861b85166034820152604881019390935290841b8316606883015260c01b6001600160c01b031916607c82015260e087013560848201529183901b1660a482015260b80160408051601f198184030181529190528051602090910120915060056120396020860186613895565b600681111561204a5761204a6134e3565b0361207c576040516301e6472560e01b8152600481018390526001600160a01b038216906301e6472590602401611d87565b6040516301e6472560e01b8152600481018390526001600160a01b038216906301e6472590602401602060405180830381865afa1580156120c1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906120e59190613a3a565b15156001146121365760405162461bcd60e51b815260206004820152601960248201527f7769746864726177207265636f7264206e6f74206578697374000000000000006044820152606401610666565b6000818360405160200161214c93929190613a73565b6040516020818303038152906040528051906020012092505050919050565b6000805a90506000806121846060880160408901612f40565b6001600160a01b031634631f34afff60e21b6121a660408b0160208c01612f40565b6121b660808c0160608d01612f40565b60808c01356121cb60e08e0160c08f01613828565b8c8c336040516024016121e49796959493929190613a9f565b60408051601f198184030181529181526020820180516001600160e01b03166001600160e01b03199094169390931790925290516122229190613af8565b60006040518083038185875af1925050503d806000811461225f576040519150601f19603f3d011682016040523d82523d6000602084013e612264565b606091505b5091509150811561228d57808060200190518101906122839190613b14565b935050505061229f565b6122978382612a7d565b600093505050505b9392505050565b6000805a90506000806122bf6060880160408901612f40565b6001600160a01b031634632d5bd7e360e11b6121a660408b0160208c01612f40565b6122f16060820160408301612f40565b6001600160a01b03167fa635eb05143f74743822bbd96428928de4c8ee8cc578299749be9425c17bb34d6000858561232f60e0870160c08801613828565b866101000135604051612346959493929190613b35565b60405180910390a2505050565b6001826006811115612367576123676134e3565b03612407576005546001600160a01b031663cdd1b25d61238783806138b6565b61239460208601866138fd565b6123a160408801886138fd565b6123ae60608a018a6138fd565b6040518963ffffffff1660e01b81526004016123d1989796959493929190613b73565b600060405180830381600087803b1580156123eb57600080fd5b505af11580156123ff573d6000803e3d6000fd5b505050505050565b600282600681111561241b5761241b6134e3565b0361243b576005546001600160a01b031663a21a928061238783806138b6565b600382600681111561244f5761244f6134e3565b0361246f576006546001600160a01b031663f873430261238783806138b6565b6005826006811115612483576124836134e3565b03612535576008546001600160a01b031663f87343026124a383806138b6565b6124b060208601866138fd565b6124bd60408801886138fd565b6124ca60608a018a6138fd565b6040518963ffffffff1660e01b81526004016124ed989796959493929190613b73565b6020604051808303816000875af115801561250c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906125309190613bd3565b505050565b6004826006811115612549576125496134e3565b03612569576007546001600160a01b031663a21a928061238783806138b6565b600682600681111561257d5761257d6134e3565b03610d93576009546001600160a01b031663a21a92806124a383806138b6565b6040805160a081018252600080825260606020830181905292820181905291810182905260808101919091526040805160a08101909152806125e26020850185612f40565b6001600160a01b031681526020016040518060200160405280600081525081526020018360200160208101906126189190612f40565b6001600160a01b031681526020016126366060850160408601613828565b67ffffffffffffffff16815260200183606001358152509050919050565b6000612661898c8c612b08565b90506000808281526004602081905260409091205460ff1690811115612689576126896134e3565b146126d65760405162461bcd60e51b815260206004820152601860248201527f6d65737361676520616c726561647920657865637574656400000000000000006044820152606401610666565b6000818152600460208181526040808420805460ff191690931790925590516127059146913091879101613bec565b60408051601f1981840301815282825280516020918201206005549184018190528383018690528251808503840181526060850193849052633416de1160e11b90935293506001600160a01b03169163682dbc2291612772918d908d908d908d908d908d9060640161377f565b60006040518083038186803b15801561278a57600080fd5b505afa15801561279e573d6000803e3d6000fd5b505050506000806127b08c8f8f612b9c565b905060018160028111156127c6576127c66134e3565b036127d45760019150612858565b60028160028111156127e8576127e86134e3565b036128535760008481526004602052604090819020805460ff1916905560608d015160808e015191517fe49c2c954d381d1448cf824743aeff9da7a1d82078a7c9e5817269cc359bd26c9261284292600192899290613862565b60405180910390a150505050610f2f565b600291505b60008481526004602081905260409091208054849260ff19909116906001908490811115612888576128886134e3565b021790555061289884838e612d7d565b5050505050505050505050505050565b6000805a90506000806128c16060880160408901612f40565b6001600160a01b0316346305e5a4c160e11b6128e360808b0160608c01612f40565b8a608001358a8a336040516024016121e4959493929190613c2b565b4683036129405760405162461bcd60e51b815260206004820152600f60248201526e125b9d985b1a590818da185a5b9259608a1b6044820152606401610666565b600061294c8383610f3b565b9050803410156129915760405162461bcd60e51b815260206004820152601060248201526f496e73756666696369656e742066656560801b6044820152606401610666565b50505050565b6040805160a081018252600080825260606020830181905292820181905291810182905260808101919091526040805160a0810190915260008152602081016129e084806138b6565b8080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152505050908252506020908101906126189060408601908601612f40565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b60005a90506000600a5445612a9291906137f3565b90508084108015612aad5750612aa9604085613c6a565b8211155b15612ab457fe5b6000612abf84612dcb565b9050612aca81612e2a565b7fffdd6142bbb721f3400e3908b04b86f60649b2e4d191e3f4c50c32c3e6471d2f81604051612af99190613c8c565b60405180910390a15050505050565b60208301518051600091908203612b50578451604051612b3e919060200160609190911b6001600160601b031916815260140190565b60405160208183030381529060405290505b600181866040015187606001518860800151468989604051602001612b7c989796959493929190613c9f565b604051602081830303815290604052805190602001209150509392505050565b6000805a905060006060866020015151600003612c8c5786604001516001600160a01b0316346040518060600160405280602c8152602001613ee3602c91398051602090910120895160608b0151604051612c019291908c908c903390602401613d20565b60408051601f198184030181529181526020820180516001600160e01b03166001600160e01b0319909416939093179092529051612c3f9190613af8565b60006040518083038185875af1925050503d8060008114612c7c576040519150601f19603f3d011682016040523d82523d6000602084013e612c81565b606091505b509092509050612d63565b86604001516001600160a01b0316346040518060600160405280602a8152602001613e99602a91398051906020012089602001518a606001518a8a33604051602401612cdc959493929190613d54565b60408051601f198184030181529181526020820180516001600160e01b03166001600160e01b0319909416939093179092529051612d1a9190613af8565b60006040518083038185875af1925050503d8060008114612d57576040519150601f19603f3d011682016040523d82523d6000602084013e612d5c565b606091505b5090925090505b811561228d57808060200190518101906122839190613b14565b80604001516001600160a01b03167fa635eb05143f74743822bbd96428928de4c8ee8cc578299749be9425c17bb34d6001858585606001518660800151604051612346959493929190613b35565b6060604482511015612e1057505060408051808201909152601d81527f5472616e73616374696f6e2072657665727465642073696c656e746c79000000602082015290565b60048201915081806020019051810190610f5b9190613dbc565b60408051808201909152600b8082527f4d53473a3a41424f52543a000000000000000000000000000000000000000000602083015282518391116125305760005b8251811015612f0957828181518110612e8657612e86613e69565b602001015160f81c60f81b7effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916828281518110612ec557612ec5613e69565b01602001517fff000000000000000000000000000000000000000000000000000000000000001614612ef75750505050565b80612f0181613e7f565b915050612e6b565b508260405162461bcd60e51b81526004016106669190613c8c565b80356001600160a01b0381168114612f3b57600080fd5b919050565b600060208284031215612f5257600080fd5b610f5882612f24565b600060208284031215612f6d57600080fd5b5035919050565b60008083601f840112612f8657600080fd5b50813567ffffffffffffffff811115612f9e57600080fd5b6020830191508360208260051b8501011115612fb957600080fd5b9250929050565b60008060008060008060008060a0898b031215612fdc57600080fd5b612fe589612f24565b975060208901359650604089013567ffffffffffffffff8082111561300957600080fd5b6130158c838d01612f74565b909850965060608b013591508082111561302e57600080fd5b61303a8c838d01612f74565b909650945060808b013591508082111561305357600080fd5b506130608b828c01612f74565b999c989b5096995094979396929594505050565b600080600080600060a0868803121561308c57600080fd5b61309586612f24565b94506130a360208701612f24565b93506130b160408701612f24565b92506130bf60608701612f24565b91506130cd60808701612f24565b90509295509295909350565b60008083601f8401126130eb57600080fd5b50813567ffffffffffffffff81111561310357600080fd5b602083019150836020828501011115612fb957600080fd5b6000806000806000806000806000898b036101a081121561313b57600080fd5b8a3567ffffffffffffffff8082111561315357600080fd5b61315f8e838f016130d9565b909c509a508a9150610120601f198401121561317a57600080fd5b60208d0199506101408d013592508083111561319557600080fd5b6131a18e848f01612f74565b90995097506101608d01359250889150808311156131be57600080fd5b6131ca8e848f01612f74565b90975095506101808d01359250869150808311156131e757600080fd5b50506131f58c828d01612f74565b915080935050809150509295985092959850929598565b60006080828403121561321e57600080fd5b50919050565b6000806040838503121561323757600080fd5b823567ffffffffffffffff8082111561324f57600080fd5b61325b8683870161320c565b9350602085013591508082111561327157600080fd5b5083016101a0818603121561328557600080fd5b809150509250929050565b60008060008060008060a087890312156132a957600080fd5b6132b287612f24565b9550602087013594506132c760408801612f24565b935060608701359250608087013567ffffffffffffffff8111156132ea57600080fd5b6132f689828a016130d9565b979a9699509497509295939492505050565b60008060008060008060008060006101008a8c03121561332757600080fd5b893567ffffffffffffffff8082111561333f57600080fd5b61334b8d838e016130d9565b909b5099508991506133608d60208e0161320c565b985060a08c013591508082111561337657600080fd5b6133828d838e01612f74565b909850965060c08c013591508082111561339b57600080fd5b6133a78d838e01612f74565b909650945060e08c01359150808211156133c057600080fd5b506131f58c828d01612f74565b600080602083850312156133e057600080fd5b823567ffffffffffffffff8111156133f757600080fd5b613403858286016130d9565b90969095509350505050565b60008060008060006060868803121561342757600080fd5b853567ffffffffffffffff8082111561343f57600080fd5b61344b89838a016130d9565b909750955060208801359450604088013591508082111561346b57600080fd5b50613478888289016130d9565b969995985093965092949392505050565b6000806000806060858703121561349f57600080fd5b6134a885612f24565b935060208501359250604085013567ffffffffffffffff8111156134cb57600080fd5b6134d7878288016130d9565b95989497509550505050565b634e487b7160e01b600052602160045260246000fd5b60058110613509576135096134e3565b9052565b60208101610f5b82846134f9565b600080600080600080600080600060a08a8c03121561353957600080fd5b893567ffffffffffffffff8082111561355157600080fd5b61355d8d838e016130d9565b909b50995060208c013591508082111561357657600080fd5b6135828d838e0161320c565b985060408c013591508082111561359857600080fd5b6135a48d838e01612f74565b909850965060608c01359150808211156135bd57600080fd5b6135c98d838e01612f74565b909650945060808c01359150808211156133c057600080fd5b60005b838110156135fd5781810151838201526020016135e5565b50506000910152565b6000815180845261361e8160208601602086016135e2565b601f01601f19169290920160200192915050565b81835281816020850137506000828201602090810191909152601f909101601f19169091010190565b81835260006020808501808196508560051b810191508460005b878110156136e05782840389528135601e1988360301811261369657600080fd5b8701858101903567ffffffffffffffff8111156136b257600080fd5b8036038213156136c157600080fd5b6136cc868284613632565b9a87019a9550505090840190600101613675565b5091979650505050505050565b8183526000602080850194508260005b85811015613729576001600160a01b0361371683612f24565b16875295820195908201906001016136fd565b509495945050505050565b81835260007f07ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff83111561376657600080fd5b8260051b80836020870137939093016020019392505050565b608081526000613792608083018a613606565b82810360208401526137a581898b61365b565b905082810360408401526137ba8187896136ed565b905082810360608401526137cf818587613734565b9a9950505050505050505050565b634e487b7160e01b600052601160045260246000fd5b81810381811115610f5b57610f5b6137dd565b8581528460208201528284604083013760409201918201526060019392505050565b60006020828403121561383a57600080fd5b813567ffffffffffffffff8116811461229f57600080fd5b60028110613509576135096134e3565b608081016138708287613852565b84602083015267ffffffffffffffff8416604083015282606083015295945050505050565b6000602082840312156138a757600080fd5b81356007811061229f57600080fd5b6000808335601e198436030181126138cd57600080fd5b83018035915067ffffffffffffffff8211156138e857600080fd5b602001915036819003821315612fb957600080fd5b6000808335601e1984360301811261391457600080fd5b83018035915067ffffffffffffffff82111561392f57600080fd5b6020019150600581901b3603821315612fb957600080fd5b60006001600160a01b03808a16835288602084015280881660408401525085606083015260c0608083015261398060c083018587613632565b90508260a083015298975050505050505050565b8082028115828204841417610f5b57610f5b6137dd565b80820180821115610f5b57610f5b6137dd565b6080815260006139d260808301888a613632565b86602084015282810360408401526139eb818688613632565b915050826060830152979650505050505050565b6001600160a01b0386168152846020820152608060408201526000613a28608083018587613632565b90508260608301529695505050505050565b600060208284031215613a4c57600080fd5b8151801515811461229f57600080fd5b60028110613a6c57613a6c6134e3565b60f81b9052565b613a7d8185613a5c565b60609290921b6001600160601b03191660018301526015820152603501919050565b60006001600160a01b03808a168352808916602084015287604084015267ffffffffffffffff8716606084015260c06080840152613ae160c084018688613632565b915080841660a08401525098975050505050505050565b60008251613b0a8184602087016135e2565b9190910192915050565b600060208284031215613b2657600080fd5b81516003811061229f57600080fd5b60a08101613b438288613852565b856020830152613b5660408301866134f9565b67ffffffffffffffff939093166060820152608001529392505050565b608081526000613b87608083018a8c613632565b8281036020840152613b9a81898b61365b565b90508281036040840152613baf8187896136ed565b90508281036060840152613bc4818587613734565b9b9a5050505050505050505050565b600060208284031215613be557600080fd5b5051919050565b8381526bffffffffffffffffffffffff198360601b16602082015260008251613c1c8160348501602087016135e2565b91909101603401949350505050565b60006001600160a01b03808816835286602084015260806040840152613c55608084018688613632565b91508084166060840152509695505050505050565b600082613c8757634e487b7160e01b600052601260045260246000fd5b500490565b602081526000610f586020830184613606565b613ca9818a613a5c565b60008851613cbe816001850160208d016135e2565b80830190506bffffffffffffffffffffffff198960601b1660018201526001600160c01b0319808960c01b16601583015287601d830152808760c01b16603d830152508385604583013760009301604501928352509098975050505050505050565b60006001600160a01b03808816835267ffffffffffffffff8716602084015260806040840152613c55608084018688613632565b608081526000613d676080830188613606565b67ffffffffffffffff871660208401528281036040840152613d8a818688613632565b9150506001600160a01b03831660608301529695505050505050565b634e487b7160e01b600052604160045260246000fd5b600060208284031215613dce57600080fd5b815167ffffffffffffffff80821115613de657600080fd5b818401915084601f830112613dfa57600080fd5b815181811115613e0c57613e0c613da6565b604051601f8201601f19908116603f01168101908382118183101715613e3457613e34613da6565b81604052828152876020848701011115613e4d57600080fd5b613e5e8360208301602088016135e2565b979650505050505050565b634e487b7160e01b600052603260045260246000fd5b600060018201613e9157613e916137dd565b506001019056fe657865637574654d6573736167652862797465732c75696e7436342c62797465732c61646472657373294f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572657865637574654d65737361676528616464726573732c75696e7436342c62797465732c6164647265737329a26469706673582212200ee606fc1151b84213c23dfd294e0e281128248c80b28c385c3b71ff0a42109564736f6c63430008110033",
}

MessageBusMetaData contains all meta data concerning the MessageBus contract.

View Source
var MessageBusReceiverABI = MessageBusReceiverMetaData.ABI

MessageBusReceiverABI is the input ABI used to generate the binding from. Deprecated: Use MessageBusReceiverMetaData.ABI instead.

View Source
var MessageBusReceiverBin = MessageBusReceiverMetaData.Bin

MessageBusReceiverBin is the compiled bytecode used for deploying new contracts. Deprecated: Use MessageBusReceiverMetaData.Bin instead.

View Source
var MessageBusReceiverMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_liquidityBridge\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_pegBridge\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_pegVault\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_pegBridgeV2\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_pegVaultV2\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"string\",\"name\":\"reason\",\"type\":\"string\"}],\"name\":\"CallReverted\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"enumMsgDataTypes.MsgType\",\"name\":\"msgType\",\"type\":\"uint8\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"msgId\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"enumMsgDataTypes.TxStatus\",\"name\":\"status\",\"type\":\"uint8\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"receiver\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint64\",\"name\":\"srcChainId\",\"type\":\"uint64\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"srcTxHash\",\"type\":\"bytes32\"}],\"name\":\"Executed\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"liquidityBridge\",\"type\":\"address\"}],\"name\":\"LiquidityBridgeUpdated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"enumMsgDataTypes.MsgType\",\"name\":\"msgType\",\"type\":\"uint8\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"msgId\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"uint64\",\"name\":\"srcChainId\",\"type\":\"uint64\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"srcTxHash\",\"type\":\"bytes32\"}],\"name\":\"NeedRetry\",\"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\":\"address\",\"name\":\"pegBridge\",\"type\":\"address\"}],\"name\":\"PegBridgeUpdated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"pegBridgeV2\",\"type\":\"address\"}],\"name\":\"PegBridgeV2Updated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"pegVault\",\"type\":\"address\"}],\"name\":\"PegVaultUpdated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"pegVaultV2\",\"type\":\"address\"}],\"name\":\"PegVaultV2Updated\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"_message\",\"type\":\"bytes\"},{\"components\":[{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"receiver\",\"type\":\"address\"},{\"internalType\":\"uint64\",\"name\":\"srcChainId\",\"type\":\"uint64\"},{\"internalType\":\"bytes32\",\"name\":\"srcTxHash\",\"type\":\"bytes32\"}],\"internalType\":\"structMsgDataTypes.RouteInfo\",\"name\":\"_route\",\"type\":\"tuple\"},{\"internalType\":\"bytes[]\",\"name\":\"_sigs\",\"type\":\"bytes[]\"},{\"internalType\":\"address[]\",\"name\":\"_signers\",\"type\":\"address[]\"},{\"internalType\":\"uint256[]\",\"name\":\"_powers\",\"type\":\"uint256[]\"}],\"name\":\"executeMessage\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"_message\",\"type\":\"bytes\"},{\"components\":[{\"internalType\":\"bytes\",\"name\":\"sender\",\"type\":\"bytes\"},{\"internalType\":\"address\",\"name\":\"receiver\",\"type\":\"address\"},{\"internalType\":\"uint64\",\"name\":\"srcChainId\",\"type\":\"uint64\"},{\"internalType\":\"bytes32\",\"name\":\"srcTxHash\",\"type\":\"bytes32\"}],\"internalType\":\"structMsgDataTypes.RouteInfo2\",\"name\":\"_route\",\"type\":\"tuple\"},{\"internalType\":\"bytes[]\",\"name\":\"_sigs\",\"type\":\"bytes[]\"},{\"internalType\":\"address[]\",\"name\":\"_signers\",\"type\":\"address[]\"},{\"internalType\":\"uint256[]\",\"name\":\"_powers\",\"type\":\"uint256[]\"}],\"name\":\"executeMessage\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"_message\",\"type\":\"bytes\"},{\"components\":[{\"internalType\":\"enumMsgDataTypes.TransferType\",\"name\":\"t\",\"type\":\"uint8\"},{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"receiver\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"uint64\",\"name\":\"wdseq\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"srcChainId\",\"type\":\"uint64\"},{\"internalType\":\"bytes32\",\"name\":\"refId\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"srcTxHash\",\"type\":\"bytes32\"}],\"internalType\":\"structMsgDataTypes.TransferInfo\",\"name\":\"_transfer\",\"type\":\"tuple\"},{\"internalType\":\"bytes[]\",\"name\":\"_sigs\",\"type\":\"bytes[]\"},{\"internalType\":\"address[]\",\"name\":\"_signers\",\"type\":\"address[]\"},{\"internalType\":\"uint256[]\",\"name\":\"_powers\",\"type\":\"uint256[]\"}],\"name\":\"executeMessageWithTransfer\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"_message\",\"type\":\"bytes\"},{\"components\":[{\"internalType\":\"enumMsgDataTypes.TransferType\",\"name\":\"t\",\"type\":\"uint8\"},{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"receiver\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"uint64\",\"name\":\"wdseq\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"srcChainId\",\"type\":\"uint64\"},{\"internalType\":\"bytes32\",\"name\":\"refId\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"srcTxHash\",\"type\":\"bytes32\"}],\"internalType\":\"structMsgDataTypes.TransferInfo\",\"name\":\"_transfer\",\"type\":\"tuple\"},{\"internalType\":\"bytes[]\",\"name\":\"_sigs\",\"type\":\"bytes[]\"},{\"internalType\":\"address[]\",\"name\":\"_signers\",\"type\":\"address[]\"},{\"internalType\":\"uint256[]\",\"name\":\"_powers\",\"type\":\"uint256[]\"}],\"name\":\"executeMessageWithTransferRefund\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"name\":\"executedMessages\",\"outputs\":[{\"internalType\":\"enumMsgDataTypes.TxStatus\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"liquidityBridge\",\"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\":\"pegBridge\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"pegBridgeV2\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"pegVault\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"pegVaultV2\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"preExecuteMessageGasUsage\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"bytes\",\"name\":\"request\",\"type\":\"bytes\"},{\"internalType\":\"bytes[]\",\"name\":\"sigs\",\"type\":\"bytes[]\"},{\"internalType\":\"address[]\",\"name\":\"signers\",\"type\":\"address[]\"},{\"internalType\":\"uint256[]\",\"name\":\"powers\",\"type\":\"uint256[]\"}],\"internalType\":\"structMsgDataTypes.BridgeTransferParams\",\"name\":\"_transferParams\",\"type\":\"tuple\"},{\"components\":[{\"internalType\":\"bytes\",\"name\":\"message\",\"type\":\"bytes\"},{\"components\":[{\"internalType\":\"enumMsgDataTypes.TransferType\",\"name\":\"t\",\"type\":\"uint8\"},{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"receiver\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"uint64\",\"name\":\"wdseq\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"srcChainId\",\"type\":\"uint64\"},{\"internalType\":\"bytes32\",\"name\":\"refId\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"srcTxHash\",\"type\":\"bytes32\"}],\"internalType\":\"structMsgDataTypes.TransferInfo\",\"name\":\"transfer\",\"type\":\"tuple\"},{\"internalType\":\"bytes[]\",\"name\":\"sigs\",\"type\":\"bytes[]\"},{\"internalType\":\"address[]\",\"name\":\"signers\",\"type\":\"address[]\"},{\"internalType\":\"uint256[]\",\"name\":\"powers\",\"type\":\"uint256[]\"}],\"internalType\":\"structMsgDataTypes.MsgWithTransferExecutionParams\",\"name\":\"_msgParams\",\"type\":\"tuple\"}],\"name\":\"refundAndExecuteMsg\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_addr\",\"type\":\"address\"}],\"name\":\"setLiquidityBridge\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_addr\",\"type\":\"address\"}],\"name\":\"setPegBridge\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_addr\",\"type\":\"address\"}],\"name\":\"setPegBridgeV2\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_addr\",\"type\":\"address\"}],\"name\":\"setPegVault\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_addr\",\"type\":\"address\"}],\"name\":\"setPegVaultV2\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_usage\",\"type\":\"uint256\"}],\"name\":\"setPreExecuteMessageGasUsage\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"bytes\",\"name\":\"request\",\"type\":\"bytes\"},{\"internalType\":\"bytes[]\",\"name\":\"sigs\",\"type\":\"bytes[]\"},{\"internalType\":\"address[]\",\"name\":\"signers\",\"type\":\"address[]\"},{\"internalType\":\"uint256[]\",\"name\":\"powers\",\"type\":\"uint256[]\"}],\"internalType\":\"structMsgDataTypes.BridgeTransferParams\",\"name\":\"_transferParams\",\"type\":\"tuple\"},{\"components\":[{\"internalType\":\"bytes\",\"name\":\"message\",\"type\":\"bytes\"},{\"components\":[{\"internalType\":\"enumMsgDataTypes.TransferType\",\"name\":\"t\",\"type\":\"uint8\"},{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"receiver\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"uint64\",\"name\":\"wdseq\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"srcChainId\",\"type\":\"uint64\"},{\"internalType\":\"bytes32\",\"name\":\"refId\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"srcTxHash\",\"type\":\"bytes32\"}],\"internalType\":\"structMsgDataTypes.TransferInfo\",\"name\":\"transfer\",\"type\":\"tuple\"},{\"internalType\":\"bytes[]\",\"name\":\"sigs\",\"type\":\"bytes[]\"},{\"internalType\":\"address[]\",\"name\":\"signers\",\"type\":\"address[]\"},{\"internalType\":\"uint256[]\",\"name\":\"powers\",\"type\":\"uint256[]\"}],\"internalType\":\"structMsgDataTypes.MsgWithTransferExecutionParams\",\"name\":\"_msgParams\",\"type\":\"tuple\"}],\"name\":\"transferAndExecuteMsg\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
	Bin: "0x60806040523480156200001157600080fd5b50604051620034793803806200347983398101604081905262000034916200010f565b6200003f33620000a2565b600280546001600160a01b03199081166001600160a01b039788161790915560038054821695871695909517909455600480548516938616939093179092556005805484169185169190911790556006805490921692169190911790556200017f565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b80516001600160a01b03811681146200010a57600080fd5b919050565b600080600080600060a086880312156200012857600080fd5b6200013386620000f2565b94506200014360208701620000f2565b93506200015360408701620000f2565b92506200016360608701620000f2565b91506200017360808701620000f2565b90509295509295909350565b6132ea806200018f6000396000f3fe60806040526004361061016a5760003560e01c806382efd502116100cb578063cd2abd661161007f578063dfa2dbaf11610059578063dfa2dbaf146103b9578063f2fde38b146103d9578063f83b0fb9146103f957600080fd5b8063cd2abd6614610349578063d8257d1714610386578063db2c20c8146103a657600080fd5b806395b12c27116100b057806395b12c27146102e95780639b05a77514610309578063c66a9c5a1461032957600080fd5b806382efd502146102ab5780638da5cb5b146102cb57600080fd5b8063584e45e111610122578063723d0a9d11610107578063723d0a9d146102405780637b80ab201461026057806382980dc41461027357600080fd5b8063584e45e1146101f7578063588be02b1461022057600080fd5b806340d0d0261161015357806340d0d026146101a45780634586f331146101c4578063468a2d04146101e457600080fd5b806303cbfe661461016f5780633f395aff14610191575b600080fd5b34801561017b57600080fd5b5061018f61018a36600461269b565b610419565b005b61018f61019f366004612744565b610524565b3480156101b057600080fd5b5061018f6101bf36600461284d565b610816565b3480156101d057600080fd5b5061018f6101df3660046128b9565b61086e565b61018f6101f23660046128d2565b6108dc565b34801561020357600080fd5b5061020d60075481565b6040519081526020015b60405180910390f35b34801561022c57600080fd5b5061018f61023b36600461269b565b61093c565b34801561024c57600080fd5b5061018f61025b36600461284d565b610a3b565b61018f61026e366004612744565b610a89565b34801561027f57600080fd5b50600254610293906001600160a01b031681565b6040516001600160a01b039091168152602001610217565b3480156102b757600080fd5b5061018f6102c636600461269b565b610c9a565b3480156102d757600080fd5b506000546001600160a01b0316610293565b3480156102f557600080fd5b50600554610293906001600160a01b031681565b34801561031557600080fd5b5061018f61032436600461269b565b610d99565b34801561033557600080fd5b50600654610293906001600160a01b031681565b34801561035557600080fd5b506103796103643660046128b9565b60016020526000908152604090205460ff1681565b60405161021791906129c1565b34801561039257600080fd5b50600454610293906001600160a01b031681565b61018f6103b43660046129cf565b610e98565b3480156103c557600080fd5b50600354610293906001600160a01b031681565b3480156103e557600080fd5b5061018f6103f436600461269b565b610eec565b34801561040557600080fd5b5061018f61041436600461269b565b610fdd565b3361042c6000546001600160a01b031690565b6001600160a01b0316146104875760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064015b60405180910390fd5b6001600160a01b0381166104cf5760405162461bcd60e51b815260206004820152600f60248201526e696e76616c6964206164647265737360881b604482015260640161047e565b600380546001600160a01b0319166001600160a01b0383169081179091556040519081527fd60e9ceb4f54f1bfb1741a4b35fc9d806d7ed48200b523203b92248ea38fa17d906020015b60405180910390a150565b600061052f886110dc565b90506000808281526001602052604090205460ff16600481111561055557610555612997565b146105a25760405162461bcd60e51b815260206004820152601960248201527f7472616e7366657220616c726561647920657865637574656400000000000000604482015260640161047e565b6000818152600160209081526040808320805460ff19166004179055805146928101929092526bffffffffffffffffffffffff193060601b16908201527f4d657373616765576974685472616e73666572000000000000000000000000006054820152606701604051602081830303815290604052805190602001209050600260009054906101000a90046001600160a01b03166001600160a01b031663682dbc2282848e8e8e6101000135604051602001610662959493929190612a96565b6040516020818303038152906040528a8a8a8a8a8a6040518863ffffffff1660e01b81526004016106999796959493929190612c55565b60006040518083038186803b1580156106b157600080fd5b505afa1580156106c5573d6000803e3d6000fd5b505050506000806106d78b8e8e611957565b905060018160028111156106ed576106ed612997565b036106fb57600191506107c8565b600281600281111561070f5761070f612997565b0361079457600084815260016020819052604082208054909160ff1990911690835b02179055507fe49c2c954d381d1448cf824743aeff9da7a1d82078a7c9e5817269cc359bd26c6000858d60c001602081019061076d9190612cb3565b8e61010001356040516107839493929190612ced565b60405180910390a15050505061080b565b61079f8b8e8e611a92565b905060018160028111156107b5576107b5612997565b036107c357600391506107c8565b600291505b60008481526001602081905260409091208054849260ff19909116908360048111156107f6576107f6612997565b021790555061080684838d611acd565b505050505b505050505050505050565b61082f6108296040830160208401612d20565b83611b3f565b61086a61083c8280612d41565b6020840161084e610140860186612d88565b61085c610160880188612d88565b61026e6101808a018a612d88565b5050565b336108816000546001600160a01b031690565b6001600160a01b0316146108d75760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161047e565b600755565b60006108e788611d89565b90506109308a8a838a8a8a8a8a8a6040518060400160405280600781526020017f4d65737361676500000000000000000000000000000000000000000000000000815250611e40565b50505050505050505050565b3361094f6000546001600160a01b031690565b6001600160a01b0316146109a55760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161047e565b6001600160a01b0381166109ed5760405162461bcd60e51b815260206004820152600f60248201526e696e76616c6964206164647265737360881b604482015260640161047e565b600280546001600160a01b0319166001600160a01b0383169081179091556040519081527fbf9977180dc6e6cff25598c8e59150cecd7f8e448e092633d38ab7ee223ae05890602001610519565b610a4e6108296040830160208401612d20565b61086a610a5b8280612d41565b60208401610a6d610140860186612d88565b610a7b610160880188612d88565b61019f6101808a018a612d88565b6000610a94886110dc565b90506000808281526001602052604090205460ff166004811115610aba57610aba612997565b14610b075760405162461bcd60e51b815260206004820152601960248201527f7472616e7366657220616c726561647920657865637574656400000000000000604482015260640161047e565b6000818152600160209081526040808320805460ff19166004179055805146928101929092526bffffffffffffffffffffffff193060601b16908201527f4d657373616765576974685472616e73666572526566756e64000000000000006054820152606d01604051602081830303815290604052805190602001209050600260009054906101000a90046001600160a01b03166001600160a01b031663682dbc2282848e8e8e6101000135604051602001610bc7959493929190612a96565b6040516020818303038152906040528a8a8a8a8a8a6040518863ffffffff1660e01b8152600401610bfe9796959493929190612c55565b60006040518083038186803b158015610c1657600080fd5b505afa158015610c2a573d6000803e3d6000fd5b50505050600080610c3c8b8e8e612090565b90506001816002811115610c5257610c52612997565b03610c6057600191506107c8565b6002816002811115610c7457610c74612997565b036107c357600084815260016020819052604082208054909160ff199091169083610731565b33610cad6000546001600160a01b031690565b6001600160a01b031614610d035760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161047e565b6001600160a01b038116610d4b5760405162461bcd60e51b815260206004820152600f60248201526e696e76616c6964206164647265737360881b604482015260640161047e565b600580546001600160a01b0319166001600160a01b0383169081179091556040519081527ffb337a6c76476534518d5816caeb86263972470fedccfd047a35eb1825eaa9e890602001610519565b33610dac6000546001600160a01b031690565b6001600160a01b031614610e025760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161047e565b6001600160a01b038116610e4a5760405162461bcd60e51b815260206004820152600f60248201526e696e76616c6964206164647265737360881b604482015260640161047e565b600480546001600160a01b0319166001600160a01b0383169081179091556040519081527fa9db0c32d9c6c2f75f3b95047a9e67cc1c010eab792a4e6ca777ce918ad94aad90602001610519565b6000610ea3886120e7565b90506109308a8a838a8a8a8a8a8a6040518060400160405280600881526020017f4d65737361676532000000000000000000000000000000000000000000000000815250611e40565b33610eff6000546001600160a01b031690565b6001600160a01b031614610f555760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161047e565b6001600160a01b038116610fd15760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f6464726573730000000000000000000000000000000000000000000000000000606482015260840161047e565b610fda8161217d565b50565b33610ff06000546001600160a01b031690565b6001600160a01b0316146110465760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161047e565b6001600160a01b03811661108e5760405162461bcd60e51b815260206004820152600f60248201526e696e76616c6964206164647265737360881b604482015260640161047e565b600680546001600160a01b0319166001600160a01b0383169081179091556040519081527f918a691a2a82482a10e11f43d7b627b2ba220dd08f251cb61933c42560f6fcb590602001610519565b6000808060016110ef6020860186612d20565b600681111561110057611100612997565b0361129057611115604085016020860161269b565b611125606086016040870161269b565b611135608087016060880161269b565b608087013561114a60e0890160c08a01612cb3565b6040516bffffffffffffffffffffffff19606096871b8116602083015294861b851660348201529290941b9092166048820152605c8101919091526001600160c01b031960c092831b8116607c8301524690921b909116608482015260e0850135608c82015260ac0160408051808303601f19018152908290528051602090910120600254633c64f04b60e01b8352600483018290529093506001600160a01b031691508190633c64f04b90602401602060405180830381865afa158015611216573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061123a9190612dd2565b151560011461128b5760405162461bcd60e51b815260206004820152601660248201527f6272696467652072656c6179206e6f7420657869737400000000000000000000604482015260640161047e565b611922565b600261129f6020860186612d20565b60068111156112b0576112b0612997565b0361141257466112c660c0860160a08701612cb3565b6112d6606087016040880161269b565b6112e6608088016060890161269b565b6040516001600160c01b031960c095861b811660208301529390941b90921660288401526bffffffffffffffffffffffff19606091821b8116603085015291901b1660448201526080850135605882015260780160408051808303601f19018152908290528051602090910120600254631c13568560e31b8352600483018290529093506001600160a01b03169150819063e09ab42890602401602060405180830381865afa15801561139d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113c19190612dd2565b151560011461128b5760405162461bcd60e51b815260206004820152601960248201527f627269646765207769746864726177206e6f7420657869737400000000000000604482015260640161047e565b60036114216020860186612d20565b600681111561143257611432612997565b148061145b575060046114486020860186612d20565b600681111561145957611459612997565b145b156116c157611470606085016040860161269b565b611480608086016060870161269b565b6080860135611495604088016020890161269b565b6114a560e0890160c08a01612cb3565b604051606095861b6bffffffffffffffffffffffff19908116602083015294861b851660348201526048810193909352931b909116606882015260c09190911b6001600160c01b031916607c82015260e0850135608482015260a40160408051601f1981840301815291905280516020909101209150600361152a6020860186612d20565b600681111561153b5761153b612997565b0361160257506003546040516301e6472560e01b8152600481018390526001600160a01b039091169081906301e64725906024015b602060405180830381865afa15801561158d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115b19190612dd2565b151560011461128b5760405162461bcd60e51b815260206004820152601560248201527f6d696e74207265636f7264206e6f742065786973740000000000000000000000604482015260640161047e565b50600480546040516301e6472560e01b81529182018390526001600160a01b03169081906301e6472590602401602060405180830381865afa15801561164c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116709190612dd2565b151560011461128b5760405162461bcd60e51b815260206004820152601960248201527f7769746864726177207265636f7264206e6f7420657869737400000000000000604482015260640161047e565b60056116d06020860186612d20565b60068111156116e1576116e1612997565b148061170a575060066116f76020860186612d20565b600681111561170857611708612997565b145b1561192257600561171e6020860186612d20565b600681111561172f5761172f612997565b0361174657506005546001600160a01b0316611754565b506006546001600160a01b03165b611764606085016040860161269b565b611774608086016060870161269b565b6080860135611789604088016020890161269b565b61179960e0890160c08a01612cb3565b604051606095861b6bffffffffffffffffffffffff19908116602083015294861b85166034820152604881019390935290841b8316606883015260c01b6001600160c01b031916607c82015260e087013560848201529183901b1660a482015260b80160408051601f198184030181529190528051602090910120915060056118256020860186612d20565b600681111561183657611836612997565b03611868576040516301e6472560e01b8152600481018390526001600160a01b038216906301e6472590602401611570565b6040516301e6472560e01b8152600481018390526001600160a01b038216906301e6472590602401602060405180830381865afa1580156118ad573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118d19190612dd2565b15156001146119225760405162461bcd60e51b815260206004820152601960248201527f7769746864726177207265636f7264206e6f7420657869737400000000000000604482015260640161047e565b6000818360405160200161193893929190612e0b565b6040516020818303038152906040528051906020012092505050919050565b6000805a9050600080611970606088016040890161269b565b6001600160a01b031634631f34afff60e21b61199260408b0160208c0161269b565b6119a260808c0160608d0161269b565b60808c01356119b760e08e0160c08f01612cb3565b8c8c336040516024016119d09796959493929190612e3c565b60408051601f198184030181529181526020820180516001600160e01b03166001600160e01b0319909416939093179092529051611a0e9190612e95565b60006040518083038185875af1925050503d8060008114611a4b576040519150601f19603f3d011682016040523d82523d6000602084013e611a50565b606091505b50915091508115611a795780806020019051810190611a6f9190612eb1565b9350505050611a8b565b611a8383826121cd565b600093505050505b9392505050565b6000805a9050600080611aab606088016040890161269b565b6001600160a01b031634632d5bd7e360e11b61199260408b0160208c0161269b565b611add606082016040830161269b565b6001600160a01b03167fa635eb05143f74743822bbd96428928de4c8ee8cc578299749be9425c17bb34d60008585611b1b60e0870160c08801612cb3565b866101000135604051611b32959493929190612ed2565b60405180910390a2505050565b6001826006811115611b5357611b53612997565b03611bf3576002546001600160a01b031663cdd1b25d611b738380612d41565b611b806020860186612d88565b611b8d6040880188612d88565b611b9a60608a018a612d88565b6040518963ffffffff1660e01b8152600401611bbd989796959493929190612f10565b600060405180830381600087803b158015611bd757600080fd5b505af1158015611beb573d6000803e3d6000fd5b505050505050565b6002826006811115611c0757611c07612997565b03611c27576002546001600160a01b031663a21a9280611b738380612d41565b6003826006811115611c3b57611c3b612997565b03611c5b576003546001600160a01b031663f8734302611b738380612d41565b6005826006811115611c6f57611c6f612997565b03611d21576005546001600160a01b031663f8734302611c8f8380612d41565b611c9c6020860186612d88565b611ca96040880188612d88565b611cb660608a018a612d88565b6040518963ffffffff1660e01b8152600401611cd9989796959493929190612f10565b6020604051808303816000875af1158015611cf8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611d1c9190612f70565b505050565b6004826006811115611d3557611d35612997565b03611d55576004546001600160a01b031663a21a9280611b738380612d41565b6006826006811115611d6957611d69612997565b0361086a576006546001600160a01b031663a21a9280611c8f8380612d41565b6040805160a081018252600080825260606020830181905292820181905291810182905260808101919091526040805160a0810190915280611dce602085018561269b565b6001600160a01b03168152602001604051806020016040528060008152508152602001836020016020810190611e04919061269b565b6001600160a01b03168152602001611e226060850160408601612cb3565b67ffffffffffffffff16815260200183606001358152509050919050565b6000611e4d898c8c612258565b90506000808281526001602052604090205460ff166004811115611e7357611e73612997565b14611ec05760405162461bcd60e51b815260206004820152601860248201527f6d65737361676520616c72656164792065786563757465640000000000000000604482015260640161047e565b6000818152600160209081526040808320805460ff1916600417905551611eed9146913091879101612f89565b60408051601f1981840301815282825280516020918201206002549184018190528383018690528251808503840181526060850193849052633416de1160e11b90935293506001600160a01b03169163682dbc2291611f5a918d908d908d908d908d908d90606401612c55565b60006040518083038186803b158015611f7257600080fd5b505afa158015611f86573d6000803e3d6000fd5b50505050600080611f988c8f8f6122f1565b90506001816002811115611fae57611fae612997565b03611fbc5760019150612042565b6002816002811115611fd057611fd0612997565b0361203d57600084815260016020819052604091829020805460ff1916905560608e015160808f015192517fe49c2c954d381d1448cf824743aeff9da7a1d82078a7c9e5817269cc359bd26c9361202c93928992909190612ced565b60405180910390a150505050610930565b600291505b60008481526001602081905260409091208054849260ff199091169083600481111561207057612070612997565b021790555061208084838e6124d2565b5050505050505050505050505050565b6000805a90506000806120a9606088016040890161269b565b6001600160a01b0316346305e5a4c160e11b6120cb60808b0160608c0161269b565b8a608001358a8a336040516024016119d0959493929190612fc8565b6040805160a081018252600080825260606020830181905292820181905291810182905260808101919091526040805160a0810190915260008152602081016121308480612d41565b8080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250505090825250602090810190611e04906040860190860161269b565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b60005a90506000600754456121e2919061301d565b905080841080156121fd57506121f9604085613030565b8211155b1561220457fe5b600061220f84612520565b905061221a81612585565b7fffdd6142bbb721f3400e3908b04b86f60649b2e4d191e3f4c50c32c3e6471d2f816040516122499190613052565b60405180910390a15050505050565b602083015180516000919082036122a5578451604051612293919060200160609190911b6bffffffffffffffffffffffff1916815260140190565b60405160208183030381529060405290505b6001818660400151876060015188608001514689896040516020016122d1989796959493929190613065565b604051602081830303815290604052805190602001209150509392505050565b6000805a9050600060608660200151516000036123e15786604001516001600160a01b0316346040518060600160405280602c8152602001613289602c91398051602090910120895160608b01516040516123569291908c908c9033906024016130e6565b60408051601f198184030181529181526020820180516001600160e01b03166001600160e01b03199094169390931790925290516123949190612e95565b60006040518083038185875af1925050503d80600081146123d1576040519150601f19603f3d011682016040523d82523d6000602084013e6123d6565b606091505b5090925090506124b8565b86604001516001600160a01b0316346040518060600160405280602a815260200161325f602a91398051906020012089602001518a606001518a8a3360405160240161243195949392919061311a565b60408051601f198184030181529181526020820180516001600160e01b03166001600160e01b031990941693909317909252905161246f9190612e95565b60006040518083038185875af1925050503d80600081146124ac576040519150601f19603f3d011682016040523d82523d6000602084013e6124b1565b606091505b5090925090505b8115611a795780806020019051810190611a6f9190612eb1565b80604001516001600160a01b03167fa635eb05143f74743822bbd96428928de4c8ee8cc578299749be9425c17bb34d6001858585606001518660800151604051611b32959493929190612ed2565b606060448251101561256557505060408051808201909152601d81527f5472616e73616374696f6e2072657665727465642073696c656e746c79000000602082015290565b6004820191508180602001905181019061257f9190613182565b92915050565b60408051808201909152600b8082527f4d53473a3a41424f52543a00000000000000000000000000000000000000000060208301528251839111611d1c5760005b8251811015612664578281815181106125e1576125e161322f565b602001015160f81c60f81b7effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff19168282815181106126205761262061322f565b01602001517fff0000000000000000000000000000000000000000000000000000000000000016146126525750505050565b8061265c81613245565b9150506125c6565b508260405162461bcd60e51b815260040161047e9190613052565b80356001600160a01b038116811461269657600080fd5b919050565b6000602082840312156126ad57600080fd5b611a8b8261267f565b60008083601f8401126126c857600080fd5b50813567ffffffffffffffff8111156126e057600080fd5b6020830191508360208285010111156126f857600080fd5b9250929050565b60008083601f84011261271157600080fd5b50813567ffffffffffffffff81111561272957600080fd5b6020830191508360208260051b85010111156126f857600080fd5b6000806000806000806000806000898b036101a081121561276457600080fd5b8a3567ffffffffffffffff8082111561277c57600080fd5b6127888e838f016126b6565b909c509a508a9150610120601f19840112156127a357600080fd5b60208d0199506101408d01359250808311156127be57600080fd5b6127ca8e848f016126ff565b90995097506101608d01359250889150808311156127e757600080fd5b6127f38e848f016126ff565b90975095506101808d013592508691508083111561281057600080fd5b505061281e8c828d016126ff565b915080935050809150509295985092959850929598565b60006080828403121561284757600080fd5b50919050565b6000806040838503121561286057600080fd5b823567ffffffffffffffff8082111561287857600080fd5b61288486838701612835565b9350602085013591508082111561289a57600080fd5b5083016101a081860312156128ae57600080fd5b809150509250929050565b6000602082840312156128cb57600080fd5b5035919050565b60008060008060008060008060006101008a8c0312156128f157600080fd5b893567ffffffffffffffff8082111561290957600080fd5b6129158d838e016126b6565b909b50995089915061292a8d60208e01612835565b985060a08c013591508082111561294057600080fd5b61294c8d838e016126ff565b909850965060c08c013591508082111561296557600080fd5b6129718d838e016126ff565b909650945060e08c013591508082111561298a57600080fd5b5061281e8c828d016126ff565b634e487b7160e01b600052602160045260246000fd5b600581106129bd576129bd612997565b9052565b6020810161257f82846129ad565b600080600080600080600080600060a08a8c0312156129ed57600080fd5b893567ffffffffffffffff80821115612a0557600080fd5b612a118d838e016126b6565b909b50995060208c0135915080821115612a2a57600080fd5b612a368d838e01612835565b985060408c0135915080821115612a4c57600080fd5b612a588d838e016126ff565b909850965060608c0135915080821115612a7157600080fd5b612a7d8d838e016126ff565b909650945060808c013591508082111561298a57600080fd5b8581528460208201528284604083013760409201918201526060019392505050565b60005b83811015612ad3578181015183820152602001612abb565b50506000910152565b60008151808452612af4816020860160208601612ab8565b601f01601f19169290920160200192915050565b81835281816020850137506000828201602090810191909152601f909101601f19169091010190565b81835260006020808501808196508560051b810191508460005b87811015612bb65782840389528135601e19883603018112612b6c57600080fd5b8701858101903567ffffffffffffffff811115612b8857600080fd5b803603821315612b9757600080fd5b612ba2868284612b08565b9a87019a9550505090840190600101612b4b565b5091979650505050505050565b8183526000602080850194508260005b85811015612bff576001600160a01b03612bec8361267f565b1687529582019590820190600101612bd3565b509495945050505050565b81835260007f07ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff831115612c3c57600080fd5b8260051b80836020870137939093016020019392505050565b608081526000612c68608083018a612adc565b8281036020840152612c7b81898b612b31565b90508281036040840152612c90818789612bc3565b90508281036060840152612ca5818587612c0a565b9a9950505050505050505050565b600060208284031215612cc557600080fd5b813567ffffffffffffffff81168114611a8b57600080fd5b600281106129bd576129bd612997565b60808101612cfb8287612cdd565b84602083015267ffffffffffffffff8416604083015282606083015295945050505050565b600060208284031215612d3257600080fd5b813560078110611a8b57600080fd5b6000808335601e19843603018112612d5857600080fd5b83018035915067ffffffffffffffff821115612d7357600080fd5b6020019150368190038213156126f857600080fd5b6000808335601e19843603018112612d9f57600080fd5b83018035915067ffffffffffffffff821115612dba57600080fd5b6020019150600581901b36038213156126f857600080fd5b600060208284031215612de457600080fd5b81518015158114611a8b57600080fd5b60028110612e0457612e04612997565b60f81b9052565b612e158185612df4565b60609290921b6bffffffffffffffffffffffff191660018301526015820152603501919050565b60006001600160a01b03808a168352808916602084015287604084015267ffffffffffffffff8716606084015260c06080840152612e7e60c084018688612b08565b915080841660a08401525098975050505050505050565b60008251612ea7818460208701612ab8565b9190910192915050565b600060208284031215612ec357600080fd5b815160038110611a8b57600080fd5b60a08101612ee08288612cdd565b856020830152612ef360408301866129ad565b67ffffffffffffffff939093166060820152608001529392505050565b608081526000612f24608083018a8c612b08565b8281036020840152612f3781898b612b31565b90508281036040840152612f4c818789612bc3565b90508281036060840152612f61818587612c0a565b9b9a5050505050505050505050565b600060208284031215612f8257600080fd5b5051919050565b8381526bffffffffffffffffffffffff198360601b16602082015260008251612fb9816034850160208701612ab8565b91909101603401949350505050565b60006001600160a01b03808816835286602084015260806040840152612ff2608084018688612b08565b91508084166060840152509695505050505050565b634e487b7160e01b600052601160045260246000fd5b8181038181111561257f5761257f613007565b60008261304d57634e487b7160e01b600052601260045260246000fd5b500490565b602081526000611a8b6020830184612adc565b61306f818a612df4565b60008851613084816001850160208d01612ab8565b80830190506bffffffffffffffffffffffff198960601b1660018201526001600160c01b0319808960c01b16601583015287601d830152808760c01b16603d830152508385604583013760009301604501928352509098975050505050505050565b60006001600160a01b03808816835267ffffffffffffffff8716602084015260806040840152612ff2608084018688612b08565b60808152600061312d6080830188612adc565b67ffffffffffffffff871660208401528281036040840152613150818688612b08565b9150506001600160a01b03831660608301529695505050505050565b634e487b7160e01b600052604160045260246000fd5b60006020828403121561319457600080fd5b815167ffffffffffffffff808211156131ac57600080fd5b818401915084601f8301126131c057600080fd5b8151818111156131d2576131d261316c565b604051601f8201601f19908116603f011681019083821181831017156131fa576131fa61316c565b8160405282815287602084870101111561321357600080fd5b613224836020830160208801612ab8565b979650505050505050565b634e487b7160e01b600052603260045260246000fd5b60006001820161325757613257613007565b506001019056fe657865637574654d6573736167652862797465732c75696e7436342c62797465732c6164647265737329657865637574654d65737361676528616464726573732c75696e7436342c62797465732c6164647265737329a26469706673582212203967148941ba46a878a1579e21647777b61193f7f5e63f1ae85998ea4d7c78b864736f6c63430008110033",
}

MessageBusReceiverMetaData contains all meta data concerning the MessageBusReceiver contract.

View Source
var MessageBusSenderABI = MessageBusSenderMetaData.ABI

MessageBusSenderABI is the input ABI used to generate the binding from. Deprecated: Use MessageBusSenderMetaData.ABI instead.

View Source
var MessageBusSenderBin = MessageBusSenderMetaData.Bin

MessageBusSenderBin is the compiled bytecode used for deploying new contracts. Deprecated: Use MessageBusSenderMetaData.Bin instead.

View Source
var MessageBusSenderMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[{\"internalType\":\"contractISigsVerifier\",\"name\":\"_sigsVerifier\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"feeBase\",\"type\":\"uint256\"}],\"name\":\"FeeBaseUpdated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"feePerByte\",\"type\":\"uint256\"}],\"name\":\"FeePerByteUpdated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"receiver\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"FeeWithdrawn\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"receiver\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"dstChainId\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"message\",\"type\":\"bytes\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"fee\",\"type\":\"uint256\"}],\"name\":\"Message\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"receiver\",\"type\":\"bytes\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"dstChainId\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"message\",\"type\":\"bytes\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"fee\",\"type\":\"uint256\"}],\"name\":\"Message2\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"receiver\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"dstChainId\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"bridge\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"srcTransferId\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"message\",\"type\":\"bytes\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"fee\",\"type\":\"uint256\"}],\"name\":\"MessageWithTransfer\",\"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\":[{\"internalType\":\"bytes\",\"name\":\"_message\",\"type\":\"bytes\"}],\"name\":\"calcFee\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"feeBase\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"feePerByte\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"_receiver\",\"type\":\"bytes\"},{\"internalType\":\"uint256\",\"name\":\"_dstChainId\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"_message\",\"type\":\"bytes\"}],\"name\":\"sendMessage\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_receiver\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_dstChainId\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"_message\",\"type\":\"bytes\"}],\"name\":\"sendMessage\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_receiver\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_dstChainId\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"_srcBridge\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"_srcTransferId\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"_message\",\"type\":\"bytes\"}],\"name\":\"sendMessageWithTransfer\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_fee\",\"type\":\"uint256\"}],\"name\":\"setFeeBase\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_fee\",\"type\":\"uint256\"}],\"name\":\"setFeePerByte\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"sigsVerifier\",\"outputs\":[{\"internalType\":\"contractISigsVerifier\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_account\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_cumulativeFee\",\"type\":\"uint256\"},{\"internalType\":\"bytes[]\",\"name\":\"_sigs\",\"type\":\"bytes[]\"},{\"internalType\":\"address[]\",\"name\":\"_signers\",\"type\":\"address[]\"},{\"internalType\":\"uint256[]\",\"name\":\"_powers\",\"type\":\"uint256[]\"}],\"name\":\"withdrawFee\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"withdrawnFees\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"}]",
	Bin: "0x60a060405234801561001057600080fd5b5060405161116638038061116683398101604081905261002f91610099565b61003833610049565b6001600160a01b03166080526100c9565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000602082840312156100ab57600080fd5b81516001600160a01b03811681146100c257600080fd5b9392505050565b60805161107b6100eb6000396000818161020c01526103e3015261107b6000f3fe6080604052600436106100d25760003560e01c80638da5cb5b1161007f578063ccf2683b11610059578063ccf2683b146101fa578063e2c1ed251461022e578063f2fde38b1461024e578063f60bbe2a1461026e57600080fd5b80638da5cb5b1461019f57806395e911a8146101d15780639f3ce55a146101e757600080fd5b80635335dca2116100b05780635335dca21461012c5780635b3e5f501461015f5780637d7a101d1461018c57600080fd5b806306c28bd6146100d75780632ff4c411146100f95780634289fbb314610119575b600080fd5b3480156100e357600080fd5b506100f76100f2366004610a27565b610284565b005b34801561010557600080fd5b506100f7610114366004610aa8565b61032e565b6100f7610127366004610b9e565b6105d3565b34801561013857600080fd5b5061014c610147366004610c16565b6106bb565b6040519081526020015b60405180910390f35b34801561016b57600080fd5b5061014c61017a366004610c58565b60036020526000908152604090205481565b6100f761019a366004610c73565b6106e1565b3480156101ab57600080fd5b506000546001600160a01b03165b6040516001600160a01b039091168152602001610156565b3480156101dd57600080fd5b5061014c60015481565b6100f76101f5366004610ced565b61073e565b34801561020657600080fd5b506101b97f000000000000000000000000000000000000000000000000000000000000000081565b34801561023a57600080fd5b506100f7610249366004610a27565b610798565b34801561025a57600080fd5b506100f7610269366004610c58565b610836565b34801561027a57600080fd5b5061014c60025481565b336102976000546001600160a01b031690565b6001600160a01b0316146102f25760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064015b60405180910390fd5b60018190556040518181527f892dfdc99ecd3bb4f2f2cb118dca02f0bd16640ff156d3c6459d4282e336a5f2906020015b60405180910390a150565b6000463060405160200161038492919091825260601b6bffffffffffffffffffffffff191660208201527f77697468647261774665650000000000000000000000000000000000000000006034820152603f0190565b60408051808303601f19018152828252805160209182012090830181905260608c901b6bffffffffffffffffffffffff19168383015260548084018c9052825180850390910181526074840192839052633416de1160e11b90925292507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169163682dbc229161042a918b908b908b908b908b908b90607801610e94565b60006040518083038186803b15801561044257600080fd5b505afa158015610456573d6000803e3d6000fd5b505050506001600160a01b03891660009081526003602052604081205461047d908a610f3f565b9050600081116104cf5760405162461bcd60e51b815260206004820152601960248201527f4e6f206e657720616d6f756e7420746f2077697468647261770000000000000060448201526064016102e9565b6001600160a01b038a166000818152600360205260408082208c90555190919061c35090849084818181858888f193505050503d806000811461052e576040519150601f19603f3d011682016040523d82523d6000602084013e610533565b606091505b50509050806105845760405162461bcd60e51b815260206004820152601660248201527f6661696c656420746f207769746864726177206665650000000000000000000060448201526064016102e9565b604080516001600160a01b038d168152602081018490527f78473f3f373f7673597f4f0fa5873cb4d375fea6d4339ad6b56dbd411513cb3f910160405180910390a15050505050505050505050565b4685036106145760405162461bcd60e51b815260206004820152600f60248201526e125b9d985b1a590818da185a5b9259608a1b60448201526064016102e9565b600061062083836106bb565b9050803410156106655760405162461bcd60e51b815260206004820152601060248201526f496e73756666696369656e742066656560801b60448201526064016102e9565b336001600160a01b03167f172762498a59a3bc4fed3f2b63f94f17ea0193cffdc304fe7d3eaf4d342d2f66888888888888346040516106aa9796959493929190610f52565b60405180910390a250505050505050565b6002546000906106cb9083610f9f565b6001546106d89190610fb6565b90505b92915050565b6106ec838383610927565b336001600160a01b03167fe66fbe37d84ca73c589f782ac278844918ea6c56a4917f58707f715588080df286868686863460405161072f96959493929190610fc9565b60405180910390a25050505050565b610749838383610927565b336001600160a01b03167fce3972bfffe49d317e1d128047a97a3d86b25c94f6f04409f988ef854d25e0e4858585853460405161078a95949392919061100a565b60405180910390a250505050565b336107ab6000546001600160a01b031690565b6001600160a01b0316146108015760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016102e9565b60028190556040518181527f210d4d5d2d36d571207dac98e383e2441c684684c885fb2d7c54f8d24422074c90602001610323565b336108496000546001600160a01b031690565b6001600160a01b03161461089f5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016102e9565b6001600160a01b03811661091b5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f646472657373000000000000000000000000000000000000000000000000000060648201526084016102e9565b610924816109bf565b50565b4683036109685760405162461bcd60e51b815260206004820152600f60248201526e125b9d985b1a590818da185a5b9259608a1b60448201526064016102e9565b600061097483836106bb565b9050803410156109b95760405162461bcd60e51b815260206004820152601060248201526f496e73756666696369656e742066656560801b60448201526064016102e9565b50505050565b600080546001600160a01b038381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b600060208284031215610a3957600080fd5b5035919050565b80356001600160a01b0381168114610a5757600080fd5b919050565b60008083601f840112610a6e57600080fd5b50813567ffffffffffffffff811115610a8657600080fd5b6020830191508360208260051b8501011115610aa157600080fd5b9250929050565b60008060008060008060008060a0898b031215610ac457600080fd5b610acd89610a40565b975060208901359650604089013567ffffffffffffffff80821115610af157600080fd5b610afd8c838d01610a5c565b909850965060608b0135915080821115610b1657600080fd5b610b228c838d01610a5c565b909650945060808b0135915080821115610b3b57600080fd5b50610b488b828c01610a5c565b999c989b5096995094979396929594505050565b60008083601f840112610b6e57600080fd5b50813567ffffffffffffffff811115610b8657600080fd5b602083019150836020828501011115610aa157600080fd5b60008060008060008060a08789031215610bb757600080fd5b610bc087610a40565b955060208701359450610bd560408801610a40565b935060608701359250608087013567ffffffffffffffff811115610bf857600080fd5b610c0489828a01610b5c565b979a9699509497509295939492505050565b60008060208385031215610c2957600080fd5b823567ffffffffffffffff811115610c4057600080fd5b610c4c85828601610b5c565b90969095509350505050565b600060208284031215610c6a57600080fd5b6106d882610a40565b600080600080600060608688031215610c8b57600080fd5b853567ffffffffffffffff80821115610ca357600080fd5b610caf89838a01610b5c565b9097509550602088013594506040880135915080821115610ccf57600080fd5b50610cdc88828901610b5c565b969995985093965092949392505050565b60008060008060608587031215610d0357600080fd5b610d0c85610a40565b935060208501359250604085013567ffffffffffffffff811115610d2f57600080fd5b610d3b87828801610b5c565b95989497509550505050565b81835281816020850137506000828201602090810191909152601f909101601f19169091010190565b81835260006020808501808196508560051b810191508460005b87811015610df55782840389528135601e19883603018112610dab57600080fd5b8701858101903567ffffffffffffffff811115610dc757600080fd5b803603821315610dd657600080fd5b610de1868284610d47565b9a87019a9550505090840190600101610d8a565b5091979650505050505050565b8183526000602080850194508260005b85811015610e3e576001600160a01b03610e2b83610a40565b1687529582019590820190600101610e12565b509495945050505050565b81835260007f07ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff831115610e7b57600080fd5b8260051b80836020870137939093016020019392505050565b608081526000885180608084015260005b81811015610ec2576020818c0181015160a0868401015201610ea5565b50600060a08285010152601f19601f8201168301905060a0838203016020840152610ef160a08201898b610d70565b90508281036040840152610f06818789610e02565b90508281036060840152610f1b818587610e49565b9a9950505050505050505050565b634e487b7160e01b600052601160045260246000fd5b818103818111156106db576106db610f29565b60006001600160a01b03808a16835288602084015280881660408401525085606083015260c06080830152610f8b60c083018587610d47565b90508260a083015298975050505050505050565b80820281158282048414176106db576106db610f29565b808201808211156106db576106db610f29565b608081526000610fdd60808301888a610d47565b8660208401528281036040840152610ff6818688610d47565b915050826060830152979650505050505050565b6001600160a01b0386168152846020820152608060408201526000611033608083018587610d47565b9050826060830152969550505050505056fea2646970667358221220e28d377c50635a5b229422b202a7e96458ebf96e4cde136dfbc29ff1c2df1b1464736f6c63430008110033",
}

MessageBusSenderMetaData contains all meta data concerning the MessageBusSender contract.

View Source
var MsgDataTypesABI = MsgDataTypesMetaData.ABI

MsgDataTypesABI is the input ABI used to generate the binding from. Deprecated: Use MsgDataTypesMetaData.ABI instead.

View Source
var MsgDataTypesBin = MsgDataTypesMetaData.Bin

MsgDataTypesBin is the compiled bytecode used for deploying new contracts. Deprecated: Use MsgDataTypesMetaData.Bin instead.

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

MsgDataTypesMetaData contains all meta data concerning the MsgDataTypes contract.

View Source
var OVMGasPriceOracleABI = OVMGasPriceOracleMetaData.ABI

OVMGasPriceOracleABI is the input ABI used to generate the binding from. Deprecated: Use OVMGasPriceOracleMetaData.ABI instead.

View Source
var OVMGasPriceOracleMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_owner\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"DecimalsUpdated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"GasPriceUpdated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"L1BaseFeeUpdated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"OverheadUpdated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"previousOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransferred\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"ScalarUpdated\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"decimals\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"gasPrice\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"_data\",\"type\":\"bytes\"}],\"name\":\"getL1Fee\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"_data\",\"type\":\"bytes\"}],\"name\":\"getL1GasUsed\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"l1BaseFee\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"overhead\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"scalar\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_decimals\",\"type\":\"uint256\"}],\"name\":\"setDecimals\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_gasPrice\",\"type\":\"uint256\"}],\"name\":\"setGasPrice\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_baseFee\",\"type\":\"uint256\"}],\"name\":\"setL1BaseFee\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_overhead\",\"type\":\"uint256\"}],\"name\":\"setOverhead\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_scalar\",\"type\":\"uint256\"}],\"name\":\"setScalar\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
}

OVMGasPriceOracleMetaData contains all meta data concerning the OVMGasPriceOracle contract.

View Source
var OriginalTokenVaultABI = OriginalTokenVaultMetaData.ABI

OriginalTokenVaultABI is the input ABI used to generate the binding from. Deprecated: Use OriginalTokenVaultMetaData.ABI instead.

View Source
var OriginalTokenVaultBin = OriginalTokenVaultMetaData.Bin

OriginalTokenVaultBin is the compiled bytecode used for deploying new contracts. Deprecated: Use OriginalTokenVaultMetaData.Bin instead.

View Source
var OriginalTokenVaultMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[{\"internalType\":\"contractISigsVerifier\",\"name\":\"_sigsVerifier\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"period\",\"type\":\"uint256\"}],\"name\":\"DelayPeriodUpdated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"threshold\",\"type\":\"uint256\"}],\"name\":\"DelayThresholdUpdated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"id\",\"type\":\"bytes32\"}],\"name\":\"DelayedTransferAdded\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"id\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"receiver\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"DelayedTransferExecuted\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"depositId\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"depositor\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint64\",\"name\":\"mintChainId\",\"type\":\"uint64\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"mintAccount\",\"type\":\"address\"}],\"name\":\"Deposited\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"length\",\"type\":\"uint256\"}],\"name\":\"EpochLengthUpdated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"cap\",\"type\":\"uint256\"}],\"name\":\"EpochVolumeUpdated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"GovernorAdded\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"GovernorRemoved\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"MaxDepositUpdated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"MinDepositUpdated\",\"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\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"Paused\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"PauserAdded\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"PauserRemoved\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"Unpaused\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"withdrawId\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"receiver\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint64\",\"name\":\"refChainId\",\"type\":\"uint64\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"refId\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"burnAccount\",\"type\":\"address\"}],\"name\":\"Withdrawn\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_account\",\"type\":\"address\"}],\"name\":\"addGovernor\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"addPauser\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"delayPeriod\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"delayThresholds\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"name\":\"delayedTransfers\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"receiver\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"timestamp\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_token\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"},{\"internalType\":\"uint64\",\"name\":\"_mintChainId\",\"type\":\"uint64\"},{\"internalType\":\"address\",\"name\":\"_mintAccount\",\"type\":\"address\"},{\"internalType\":\"uint64\",\"name\":\"_nonce\",\"type\":\"uint64\"}],\"name\":\"deposit\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"},{\"internalType\":\"uint64\",\"name\":\"_mintChainId\",\"type\":\"uint64\"},{\"internalType\":\"address\",\"name\":\"_mintAccount\",\"type\":\"address\"},{\"internalType\":\"uint64\",\"name\":\"_nonce\",\"type\":\"uint64\"}],\"name\":\"depositNative\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"epochLength\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"epochVolumeCaps\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"epochVolumes\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"id\",\"type\":\"bytes32\"}],\"name\":\"executeDelayedTransfer\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"governors\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_account\",\"type\":\"address\"}],\"name\":\"isGovernor\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"isPauser\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"lastOpTimestamps\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"maxDeposit\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"minDeposit\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"nativeWrap\",\"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\":\"pause\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"paused\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"pausers\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"name\":\"records\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_account\",\"type\":\"address\"}],\"name\":\"removeGovernor\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"removePauser\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceGovernor\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renouncePauser\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_period\",\"type\":\"uint256\"}],\"name\":\"setDelayPeriod\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address[]\",\"name\":\"_tokens\",\"type\":\"address[]\"},{\"internalType\":\"uint256[]\",\"name\":\"_thresholds\",\"type\":\"uint256[]\"}],\"name\":\"setDelayThresholds\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_length\",\"type\":\"uint256\"}],\"name\":\"setEpochLength\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address[]\",\"name\":\"_tokens\",\"type\":\"address[]\"},{\"internalType\":\"uint256[]\",\"name\":\"_caps\",\"type\":\"uint256[]\"}],\"name\":\"setEpochVolumeCaps\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address[]\",\"name\":\"_tokens\",\"type\":\"address[]\"},{\"internalType\":\"uint256[]\",\"name\":\"_amounts\",\"type\":\"uint256[]\"}],\"name\":\"setMaxDeposit\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address[]\",\"name\":\"_tokens\",\"type\":\"address[]\"},{\"internalType\":\"uint256[]\",\"name\":\"_amounts\",\"type\":\"uint256[]\"}],\"name\":\"setMinDeposit\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_weth\",\"type\":\"address\"}],\"name\":\"setWrap\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"sigsVerifier\",\"outputs\":[{\"internalType\":\"contractISigsVerifier\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"unpause\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"_request\",\"type\":\"bytes\"},{\"internalType\":\"bytes[]\",\"name\":\"_sigs\",\"type\":\"bytes[]\"},{\"internalType\":\"address[]\",\"name\":\"_signers\",\"type\":\"address[]\"},{\"internalType\":\"uint256[]\",\"name\":\"_powers\",\"type\":\"uint256[]\"}],\"name\":\"withdraw\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"stateMutability\":\"payable\",\"type\":\"receive\"}]",
	Bin: "0x60a06040523480156200001157600080fd5b506040516200372b3803806200372b833981016040819052620000349162000255565b6001600055620000443362000079565b6001805460ff60a01b191690556200005c33620000cb565b620000673362000195565b6001600160a01b031660805262000287565b600180546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b03811660009081526002602052604090205460ff16156200013a5760405162461bcd60e51b815260206004820152601960248201527f4163636f756e7420697320616c7265616479207061757365720000000000000060448201526064015b60405180910390fd5b6001600160a01b038116600081815260026020908152604091829020805460ff1916600117905590519182527f6719d08c1888103bea251a4ed56406bd0c3e69723c8a1686e017e7bbe159b6f891015b60405180910390a150565b6001600160a01b03811660009081526003602052604090205460ff1615620002005760405162461bcd60e51b815260206004820152601b60248201527f4163636f756e7420697320616c726561647920676f7665726e6f720000000000604482015260640162000131565b6001600160a01b038116600081815260036020908152604091829020805460ff1916600117905590519182527fdc5a48d79e2e147530ff63ecdbed5a5a66adb9d5cf339384d5d076da197c40b591016200018a565b6000602082840312156200026857600080fd5b81516001600160a01b03811681146200028057600080fd5b9392505050565b608051613481620002aa60003960008181610752015261176701526134816000f3fe6080604052600436106102885760003560e01c80636b2c0f5511610153578063adc0d57f116100cb578063e3eece261161007f578063eecdac8811610064578063eecdac88146107f2578063f2fde38b14610812578063f83213831461083257600080fd5b8063e3eece2614610789578063e43581b8146107b957600080fd5b8063b5f2bc47116100b0578063b5f2bc4714610713578063ccf2683b14610740578063e026049c1461077457600080fd5b8063adc0d57f14610683578063b1c94d94146106fd57600080fd5b80638456cb59116101225780639e25fc5c116101075780639e25fc5c146106235780639ff9001a14610643578063a21a92801461066357600080fd5b80638456cb59146105f05780638da5cb5b1461060557600080fd5b80636b2c0f551461056b5780636ef8d66d1461058b57806380f51c12146105a057806382dc1ec4146105d057600080fd5b8063402d267d1161020157806354eea796116101b55780635c975abb1161019a5780635c975abb146104ff5780635ec2fa261461051e57806360216b001461053e57600080fd5b806354eea796146104c957806357d775f8146104e957600080fd5b806346fbf68e116101e657806346fbf68e1461044357806347b16c6c1461047c57806352532faa1461049c57600080fd5b8063402d267d146103de578063457bfa2f1461040b57600080fd5b8063303b6442116102585780633c4a25d01161023d5780633c4a25d0146103895780633d572107146103a95780633f4ba83a146103c957600080fd5b8063303b64421461032e5780633c29f8391461034e57600080fd5b8062a95fd71461029457806301e64725146102a957806317bdbae5146102ee578063234636241461030e57600080fd5b3661028f57005b600080fd5b6102a76102a2366004612ea3565b61085f565b005b3480156102b557600080fd5b506102d96102c4366004612ef0565b600b6020526000908152604090205460ff1681565b60405190151581526020015b60405180910390f35b3480156102fa57600080fd5b506102a7610309366004612f55565b610ab7565b34801561031a57600080fd5b506102a7610329366004612fc1565b610c55565b34801561033a57600080fd5b506102a7610349366004612f55565b610d92565b34801561035a57600080fd5b5061037b61036936600461301f565b600c6020526000908152604090205481565b6040519081526020016102e5565b34801561039557600080fd5b506102a76103a436600461301f565b610f29565b3480156103b557600080fd5b506102a76103c4366004612ef0565b610f9e565b3480156103d557600080fd5b506102a7611032565b3480156103ea57600080fd5b5061037b6103f936600461301f565b600d6020526000908152604090205481565b34801561041757600080fd5b50600e5461042b906001600160a01b031681565b6040516001600160a01b0390911681526020016102e5565b34801561044f57600080fd5b506102d961045e36600461301f565b6001600160a01b031660009081526002602052604090205460ff1690565b34801561048857600080fd5b506102a7610497366004612f55565b61109b565b3480156104a857600080fd5b5061037b6104b736600461301f565b60096020526000908152604090205481565b3480156104d557600080fd5b506102a76104e4366004612ef0565b611232565b3480156104f557600080fd5b5061037b60045481565b34801561050b57600080fd5b50600154600160a01b900460ff166102d9565b34801561052a57600080fd5b506102a7610539366004612f55565b6112bf565b34801561054a57600080fd5b5061037b61055936600461301f565b60056020526000908152604090205481565b34801561057757600080fd5b506102a761058636600461301f565b611456565b34801561059757600080fd5b506102a76114c8565b3480156105ac57600080fd5b506102d96105bb36600461301f565b60026020526000908152604090205460ff1681565b3480156105dc57600080fd5b506102a76105eb36600461301f565b6114d1565b3480156105fc57600080fd5b506102a7611543565b34801561061157600080fd5b506001546001600160a01b031661042b565b34801561062f57600080fd5b506102a761063e366004612ef0565b6115aa565b34801561064f57600080fd5b506102a761065e36600461301f565b61161f565b34801561066f57600080fd5b506102a761067e36600461303a565b6116aa565b34801561068f57600080fd5b506106d261069e366004612ef0565b60086020526000908152604090208054600182015460028301546003909301546001600160a01b0392831693919092169184565b604080516001600160a01b0395861681529490931660208501529183015260608201526080016102e5565b34801561070957600080fd5b5061037b600a5481565b34801561071f57600080fd5b5061037b61072e36600461301f565b60066020526000908152604090205481565b34801561074c57600080fd5b5061042b7f000000000000000000000000000000000000000000000000000000000000000081565b34801561078057600080fd5b506102a7611a66565b34801561079557600080fd5b506102d96107a436600461301f565b60036020526000908152604090205460ff1681565b3480156107c557600080fd5b506102d96107d436600461301f565b6001600160a01b031660009081526003602052604090205460ff1690565b3480156107fe57600080fd5b506102a761080d36600461301f565b611a6f565b34801561081e57600080fd5b506102a761082d36600461301f565b611ae1565b34801561083e57600080fd5b5061037b61084d36600461301f565b60076020526000908152604090205481565b6002600054036108b65760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064015b60405180910390fd5b6002600055600154600160a01b900460ff16156109085760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b60448201526064016108ad565b8334146109575760405162461bcd60e51b815260206004820152600f60248201527f416d6f756e74206d69736d61746368000000000000000000000000000000000060448201526064016108ad565b600e546001600160a01b03166109af5760405162461bcd60e51b815260206004820152601360248201527f4e61746976652077726170206e6f74207365740000000000000000000000000060448201526064016108ad565b600e546000906109cb906001600160a01b031686868686611bcf565b9050600e60009054906101000a90046001600160a01b03166001600160a01b031663d0e30db0866040518263ffffffff1660e01b81526004016000604051808303818588803b158015610a1d57600080fd5b505af1158015610a31573d6000803e3d6000fd5b5050600e54604080518681523360208201526001600160a01b0392831691810191909152606081018a905267ffffffffffffffff8916608082015290871660a08201527f15d2eeefbe4963b5b2178f239ddcc730dda55f1c23c22efb79ded0eb854ac789935060c0019150610aa39050565b60405180910390a150506001600055505050565b3360009081526003602052604090205460ff16610b0f5760405162461bcd60e51b815260206004820152601660248201527521b0b63632b91034b9903737ba1033b7bb32b93737b960511b60448201526064016108ad565b828114610b505760405162461bcd60e51b815260206004820152600f60248201526e0d8cadccee8d040dad2e6dac2e8c6d608b1b60448201526064016108ad565b60005b83811015610c4e57828282818110610b6d57610b6d613129565b9050602002013560096000878785818110610b8a57610b8a613129565b9050602002016020810190610b9f919061301f565b6001600160a01b031681526020810191909152604001600020557fceaad6533bfb481492fb3e08ef19297f46611b8fa9de5ef4cf8dc23a56ad09ce858583818110610bec57610bec613129565b9050602002016020810190610c01919061301f565b848484818110610c1357610c13613129565b604080516001600160a01b0390951685526020918202939093013590840152500160405180910390a180610c4681613155565b915050610b53565b5050505050565b600260005403610ca75760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016108ad565b6002600055600154600160a01b900460ff1615610cf95760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b60448201526064016108ad565b6000610d088686868686611bcf565b9050610d1f6001600160a01b038716333088611dc5565b604080518281523360208201526001600160a01b03888116828401526060820188905267ffffffffffffffff87166080830152851660a082015290517f15d2eeefbe4963b5b2178f239ddcc730dda55f1c23c22efb79ded0eb854ac7899181900360c00190a15050600160005550505050565b3360009081526003602052604090205460ff16610dea5760405162461bcd60e51b815260206004820152601660248201527521b0b63632b91034b9903737ba1033b7bb32b93737b960511b60448201526064016108ad565b828114610e2b5760405162461bcd60e51b815260206004820152600f60248201526e0d8cadccee8d040dad2e6dac2e8c6d608b1b60448201526064016108ad565b60005b83811015610c4e57828282818110610e4857610e48613129565b90506020020135600d6000878785818110610e6557610e65613129565b9050602002016020810190610e7a919061301f565b6001600160a01b031681526020810191909152604001600020557f0e5d348f9737ccc8b4cf0eea0ccf3670af071af8bea5d64664f10e700c08de72858583818110610ec757610ec7613129565b9050602002016020810190610edc919061301f565b848484818110610eee57610eee613129565b604080516001600160a01b0390951685526020918202939093013590840152500160405180910390a180610f2181613155565b915050610e2e565b33610f3c6001546001600160a01b031690565b6001600160a01b031614610f925760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016108ad565b610f9b81611e63565b50565b3360009081526003602052604090205460ff16610ff65760405162461bcd60e51b815260206004820152601660248201527521b0b63632b91034b9903737ba1033b7bb32b93737b960511b60448201526064016108ad565b600a8190556040518181527fc0a39f234199b125fb93713c4d067bdcebbf691087f87b79c0feb92b156ba8b6906020015b60405180910390a150565b3360009081526002602052604090205460ff166110915760405162461bcd60e51b815260206004820152601460248201527f43616c6c6572206973206e6f742070617573657200000000000000000000000060448201526064016108ad565b611099611f20565b565b3360009081526003602052604090205460ff166110f35760405162461bcd60e51b815260206004820152601660248201527521b0b63632b91034b9903737ba1033b7bb32b93737b960511b60448201526064016108ad565b8281146111345760405162461bcd60e51b815260206004820152600f60248201526e0d8cadccee8d040dad2e6dac2e8c6d608b1b60448201526064016108ad565b60005b83811015610c4e5782828281811061115157611151613129565b905060200201356006600087878581811061116e5761116e613129565b9050602002016020810190611183919061301f565b6001600160a01b031681526020810191909152604001600020557f608e49c22994f20b5d3496dca088b88dfd81b4a3e8cc3809ea1e10a320107e898585838181106111d0576111d0613129565b90506020020160208101906111e5919061301f565b8484848181106111f7576111f7613129565b604080516001600160a01b0390951685526020918202939093013590840152500160405180910390a18061122a81613155565b915050611137565b3360009081526003602052604090205460ff1661128a5760405162461bcd60e51b815260206004820152601660248201527521b0b63632b91034b9903737ba1033b7bb32b93737b960511b60448201526064016108ad565b60048190556040518181527f2664fec2ff76486ac58ed087310855b648b15b9d19f3de8529e95f7c46b7d6b390602001611027565b3360009081526003602052604090205460ff166113175760405162461bcd60e51b815260206004820152601660248201527521b0b63632b91034b9903737ba1033b7bb32b93737b960511b60448201526064016108ad565b8281146113585760405162461bcd60e51b815260206004820152600f60248201526e0d8cadccee8d040dad2e6dac2e8c6d608b1b60448201526064016108ad565b60005b83811015610c4e5782828281811061137557611375613129565b90506020020135600c600087878581811061139257611392613129565b90506020020160208101906113a7919061301f565b6001600160a01b031681526020810191909152604001600020557f0f48d517989455cd80ed52427e80553e66f9b69fd5cee8e26bd1a1f9c364fba68585838181106113f4576113f4613129565b9050602002016020810190611409919061301f565b84848481811061141b5761141b613129565b604080516001600160a01b0390951685526020918202939093013590840152500160405180910390a18061144e81613155565b91505061135b565b336114696001546001600160a01b031690565b6001600160a01b0316146114bf5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016108ad565b610f9b81611fc6565b61109933611fc6565b336114e46001546001600160a01b031690565b6001600160a01b03161461153a5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016108ad565b610f9b8161207f565b3360009081526002602052604090205460ff166115a25760405162461bcd60e51b815260206004820152601460248201527f43616c6c6572206973206e6f742070617573657200000000000000000000000060448201526064016108ad565b61109961213c565b600154600160a01b900460ff16156115f75760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b60448201526064016108ad565b6000611602826121c4565b905061161b816000015182602001518360400151612389565b5050565b336116326001546001600160a01b031690565b6001600160a01b0316146116885760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016108ad565b600e80546001600160a01b0319166001600160a01b0392909216919091179055565b600154600160a01b900460ff16156116f75760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b60448201526064016108ad565b6000463060405160200161174d92919091825260601b6bffffffffffffffffffffffff191660208201527f57697468647261770000000000000000000000000000000000000000000000006034820152603c0190565b6040516020818303038152906040528051906020012090507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663682dbc22828b8b6040516020016117a99392919061316e565b6040516020818303038152906040528989898989896040518863ffffffff1660e01b81526004016117e09796959493929190613293565b60006040518083038186803b1580156117f857600080fd5b505afa15801561180c573d6000803e3d6000fd5b5050505060006118518a8a8080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152506124be92505050565b6020818101518251604080850151606080870151608088015160a0890151855197841b6bffffffffffffffffffffffff19908116898b015296841b871660348901526048880194909452911b909316606885015260c09290921b77ffffffffffffffffffffffffffffffffffffffffffffffff1916607c8401526084808401929092528051808403909201825260a490920182528051908301206000818152600b9093529120549192509060ff161561193c5760405162461bcd60e51b815260206004820152600d60248201526c7265636f72642065786973747360981b60448201526064016108ad565b6000818152600b602052604090819020805460ff19166001179055825190830151611967919061261a565b81516001600160a01b031660009081526009602052604090205480158015906119935750808360400151115b156119b5576119b082846020015185600001518660400151612738565b6119cc565b6119cc836020015184600001518560400151612389565b602080840151845160408087015160808089015160a0808b01516060808d015187518d81526001600160a01b039a8b169b81019b909b52978916968a01969096529488019390935267ffffffffffffffff16908601528401521660c08201527f296a629c5265cb4e5319803d016902eb70a9079b89655fe2b7737821ed88beeb9060e00160405180910390a1505050505050505050505050565b6110993361284b565b33611a826001546001600160a01b031690565b6001600160a01b031614611ad85760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016108ad565b610f9b8161284b565b33611af46001546001600160a01b031690565b6001600160a01b031614611b4a5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016108ad565b6001600160a01b038116611bc65760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f646472657373000000000000000000000000000000000000000000000000000060648201526084016108ad565b610f9b81612904565b6001600160a01b0385166000908152600c60205260408120548511611c365760405162461bcd60e51b815260206004820152601060248201527f616d6f756e7420746f6f20736d616c6c0000000000000000000000000000000060448201526064016108ad565b6001600160a01b0386166000908152600d60205260409020541580611c7357506001600160a01b0386166000908152600d60205260409020548511155b611cbf5760405162461bcd60e51b815260206004820152601060248201527f616d6f756e7420746f6f206c617267650000000000000000000000000000000060448201526064016108ad565b6040516bffffffffffffffffffffffff1933606090811b8216602084015288811b821660348401526048830188905277ffffffffffffffffffffffffffffffffffffffffffffffff1960c088811b821660688601529187901b909216607084015284811b8216608484015246901b16608c82015260009060940160408051601f1981840301815291815281516020928301206000818152600b90935291205490915060ff1615611da15760405162461bcd60e51b815260206004820152600d60248201526c7265636f72642065786973747360981b60448201526064016108ad565b6000818152600b60205260409020805460ff19166001179055905095945050505050565b6040516001600160a01b0380851660248301528316604482015260648101829052611e5d9085906323b872dd60e01b906084015b60408051601f198184030181529190526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fffffffff0000000000000000000000000000000000000000000000000000000090931692909217909152612956565b50505050565b6001600160a01b03811660009081526003602052604090205460ff1615611ecc5760405162461bcd60e51b815260206004820152601b60248201527f4163636f756e7420697320616c726561647920676f7665726e6f72000000000060448201526064016108ad565b6001600160a01b038116600081815260036020908152604091829020805460ff1916600117905590519182527fdc5a48d79e2e147530ff63ecdbed5a5a66adb9d5cf339384d5d076da197c40b59101611027565b600154600160a01b900460ff16611f795760405162461bcd60e51b815260206004820152601460248201527f5061757361626c653a206e6f742070617573656400000000000000000000000060448201526064016108ad565b6001805460ff60a01b191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b6001600160a01b03811660009081526002602052604090205460ff1661202e5760405162461bcd60e51b815260206004820152601560248201527f4163636f756e74206973206e6f7420706175736572000000000000000000000060448201526064016108ad565b6001600160a01b038116600081815260026020908152604091829020805460ff1916905590519182527fcd265ebaf09df2871cc7bd4133404a235ba12eff2041bb89d9c714a2621c7c7e9101611027565b6001600160a01b03811660009081526002602052604090205460ff16156120e85760405162461bcd60e51b815260206004820152601960248201527f4163636f756e7420697320616c7265616479207061757365720000000000000060448201526064016108ad565b6001600160a01b038116600081815260026020908152604091829020805460ff1916600117905590519182527f6719d08c1888103bea251a4ed56406bd0c3e69723c8a1686e017e7bbe159b6f89101611027565b600154600160a01b900460ff16156121895760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b60448201526064016108ad565b6001805460ff60a01b1916600160a01b1790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258611fa93390565b604080516080810182526000808252602082018190529181018290526060810191909152600082815260086020908152604091829020825160808101845281546001600160a01b03908116825260018301541692810192909252600281015492820192909252600390910154606082018190526122835760405162461bcd60e51b815260206004820152601a60248201527f64656c61796564207472616e73666572206e6f7420657869737400000000000060448201526064016108ad565b600a548160600151612295919061336f565b42116122e35760405162461bcd60e51b815260206004820152601d60248201527f64656c61796564207472616e73666572207374696c6c206c6f636b656400000060448201526064016108ad565b600083815260086020908152604080832080546001600160a01b03199081168255600182018054909116905560028101849055600301929092558251908301518383015192517f3b40e5089937425d14cdd96947e5661868357e224af59bd8b24a4b8a330d44269361237b93889390929091909384526001600160a01b03928316602085015291166040830152606082015260800190565b60405180910390a192915050565b600e546001600160a01b03908116908316036124a557600e54604051632e1a7d4d60e01b8152600481018390526001600160a01b0390911690632e1a7d4d90602401600060405180830381600087803b1580156123e557600080fd5b505af11580156123f9573d6000803e3d6000fd5b505050506000836001600160a01b03168261c35090604051600060405180830381858888f193505050503d806000811461244f576040519150601f19603f3d011682016040523d82523d6000602084013e612454565b606091505b5050905080611e5d5760405162461bcd60e51b815260206004820152601b60248201527f6661696c656420746f2073656e64206e617469766520746f6b656e000000000060448201526064016108ad565b6124b96001600160a01b0383168483612a3b565b505050565b6040805160c08101825260008082526020808301829052828401829052606083018290526080830182905260a0830182905283518085019094528184528301849052909190805b602083015151835110156126125761251c83612a6b565b90925090508160010361254a5761253a61253584612aa5565b612b62565b6001600160a01b03168452612505565b816002036125715761255e61253584612aa5565b6001600160a01b03166020850152612505565b816003036125945761258a61258584612aa5565b612b73565b6040850152612505565b816004036125bb576125a861253584612aa5565b6001600160a01b03166060850152612505565b816005036125e0576125cc83612baa565b67ffffffffffffffff166080850152612505565b81600603612603576125f96125f484612aa5565b612c25565b60a0850152612505565b61260d8382612c3d565b612505565b505050919050565b600454600003612628575050565b6001600160a01b0382166000908152600660205260408120549081900361264e57505050565b6001600160a01b038316600090815260056020526040812054600454909142916126788184613382565b61268291906133a4565b6001600160a01b0387166000908152600760205260409020549091508111156126ad578492506126ba565b6126b7858461336f565b92505b8383111561270a5760405162461bcd60e51b815260206004820152601260248201527f766f6c756d65206578636565647320636170000000000000000000000000000060448201526064016108ad565b506001600160a01b039094166000908152600560209081526040808320939093556007905220929092555050565b600084815260086020526040902060030154156127975760405162461bcd60e51b815260206004820152601f60248201527f64656c61796564207472616e7366657220616c7265616479206578697374730060448201526064016108ad565b604080516080810182526001600160a01b0380861682528481166020808401918252838501868152426060860190815260008b8152600890935291869020945185549085166001600160a01b031991821617865592516001860180549190951693169290921790925551600283015551600390910155517fcbcfffe5102114216a85d3aceb14ad4b81a3935b1b5c468fadf3889eb9c5dce69061283d9086815260200190565b60405180910390a150505050565b6001600160a01b03811660009081526003602052604090205460ff166128b35760405162461bcd60e51b815260206004820152601760248201527f4163636f756e74206973206e6f7420676f7665726e6f7200000000000000000060448201526064016108ad565b6001600160a01b038116600081815260036020908152604091829020805460ff1916905590519182527f1ebe834e73d60a5fec822c1e1727d34bc79f2ad977ed504581cc1822fe20fb5b9101611027565b600180546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60006129ab826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316612cad9092919063ffffffff16565b8051909150156124b957808060200190518101906129c991906133bb565b6124b95760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e60448201527f6f7420737563636565640000000000000000000000000000000000000000000060648201526084016108ad565b6040516001600160a01b0383166024820152604481018290526124b990849063a9059cbb60e01b90606401611df9565b6000806000612a7984612baa565b9050612a86600882613382565b9250806007166005811115612a9d57612a9d6133dd565b915050915091565b60606000612ab283612baa565b90506000818460000151612ac6919061336f565b9050836020015151811115612ada57600080fd5b8167ffffffffffffffff811115612af357612af36133f3565b6040519080825280601f01601f191660200182016040528015612b1d576020820181803683370190505b50602080860151865192955091818601919083010160005b85811015612b57578181015183820152612b5060208261336f565b9050612b35565b505050935250919050565b6000612b6d82612cc6565b92915050565b6000602082511115612b8457600080fd5b6020820151905081516020612b999190613409565b612ba49060086133a4565b1c919050565b602080820151825181019091015160009182805b600a81101561028f5783811a9150612bd78160076133a4565b82607f16901b8517945081608016600003612c1357612bf781600161336f565b86518790612c0690839061336f565b9052509395945050505050565b80612c1d81613155565b915050612bbe565b60008151602014612c3557600080fd5b506020015190565b6000816005811115612c5157612c516133dd565b03612c5f576124b982612baa565b6002816005811115612c7357612c736133dd565b0361028f576000612c8383612baa565b90508083600001818151612c97919061336f565b905250602083015151835111156124b957600080fd5b6060612cbc8484600085612cee565b90505b9392505050565b60008151601414612cd657600080fd5b50602001516c01000000000000000000000000900490565b606082471015612d665760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f60448201527f722063616c6c000000000000000000000000000000000000000000000000000060648201526084016108ad565b6001600160a01b0385163b612dbd5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000060448201526064016108ad565b600080866001600160a01b03168587604051612dd9919061341c565b60006040518083038185875af1925050503d8060008114612e16576040519150601f19603f3d011682016040523d82523d6000602084013e612e1b565b606091505b5091509150612e2b828286612e36565b979650505050505050565b60608315612e45575081612cbf565b825115612e555782518084602001fd5b8160405162461bcd60e51b81526004016108ad9190613438565b803567ffffffffffffffff81168114612e8757600080fd5b919050565b80356001600160a01b0381168114612e8757600080fd5b60008060008060808587031215612eb957600080fd5b84359350612ec960208601612e6f565b9250612ed760408601612e8c565b9150612ee560608601612e6f565b905092959194509250565b600060208284031215612f0257600080fd5b5035919050565b60008083601f840112612f1b57600080fd5b50813567ffffffffffffffff811115612f3357600080fd5b6020830191508360208260051b8501011115612f4e57600080fd5b9250929050565b60008060008060408587031215612f6b57600080fd5b843567ffffffffffffffff80821115612f8357600080fd5b612f8f88838901612f09565b90965094506020870135915080821115612fa857600080fd5b50612fb587828801612f09565b95989497509550505050565b600080600080600060a08688031215612fd957600080fd5b612fe286612e8c565b945060208601359350612ff760408701612e6f565b925061300560608701612e8c565b915061301360808701612e6f565b90509295509295909350565b60006020828403121561303157600080fd5b612cbf82612e8c565b6000806000806000806000806080898b03121561305657600080fd5b883567ffffffffffffffff8082111561306e57600080fd5b818b0191508b601f83011261308257600080fd5b81358181111561309157600080fd5b8c60208285010111156130a357600080fd5b60209283019a509850908a013590808211156130be57600080fd5b6130ca8c838d01612f09565b909850965060408b01359150808211156130e357600080fd5b6130ef8c838d01612f09565b909650945060608b013591508082111561310857600080fd5b506131158b828c01612f09565b999c989b5096995094979396929594505050565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b6000600182016131675761316761313f565b5060010190565b838152818360208301376000910160200190815292915050565b60005b838110156131a357818101518382015260200161318b565b50506000910152565b600081518084526131c4816020860160208601613188565b601f01601f19169290920160200192915050565b81835281816020850137506000828201602090810191909152601f909101601f19169091010190565b8183526000602080850194508260005b8581101561323d576001600160a01b0361322a83612e8c565b1687529582019590820190600101613211565b509495945050505050565b81835260007f07ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff83111561327a57600080fd5b8260051b80836020870137939093016020019392505050565b6080815260006132a6608083018a6131ac565b602083820381850152818983528183019050818a60051b8401018b60005b8c81101561333457858303601f190184528135368f9003601e190181126132ea57600080fd5b8e01858101903567ffffffffffffffff81111561330657600080fd5b80360382131561331557600080fd5b6133208582846131d8565b9587019594505050908401906001016132c4565b50508581036040870152613349818a8c613201565b93505050508281036060840152613361818587613248565b9a9950505050505050505050565b80820180821115612b6d57612b6d61313f565b60008261339f57634e487b7160e01b600052601260045260246000fd5b500490565b8082028115828204841417612b6d57612b6d61313f565b6000602082840312156133cd57600080fd5b81518015158114612cbf57600080fd5b634e487b7160e01b600052602160045260246000fd5b634e487b7160e01b600052604160045260246000fd5b81810381811115612b6d57612b6d61313f565b6000825161342e818460208701613188565b9190910192915050565b602081526000612cbf60208301846131ac56fea26469706673582212207b9aaeea7360280588a1e06609b66cd53d37c1b24a1921ada7fa2264bcee4bb764736f6c63430008110033",
}

OriginalTokenVaultMetaData contains all meta data concerning the OriginalTokenVault contract.

View Source
var OriginalTokenVaultV2ABI = OriginalTokenVaultV2MetaData.ABI

OriginalTokenVaultV2ABI is the input ABI used to generate the binding from. Deprecated: Use OriginalTokenVaultV2MetaData.ABI instead.

View Source
var OriginalTokenVaultV2Bin = OriginalTokenVaultV2MetaData.Bin

OriginalTokenVaultV2Bin is the compiled bytecode used for deploying new contracts. Deprecated: Use OriginalTokenVaultV2MetaData.Bin instead.

View Source
var OriginalTokenVaultV2MetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[{\"internalType\":\"contractISigsVerifier\",\"name\":\"_sigsVerifier\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"period\",\"type\":\"uint256\"}],\"name\":\"DelayPeriodUpdated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"threshold\",\"type\":\"uint256\"}],\"name\":\"DelayThresholdUpdated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"id\",\"type\":\"bytes32\"}],\"name\":\"DelayedTransferAdded\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"id\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"receiver\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"DelayedTransferExecuted\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"depositId\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"depositor\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint64\",\"name\":\"mintChainId\",\"type\":\"uint64\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"mintAccount\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint64\",\"name\":\"nonce\",\"type\":\"uint64\"}],\"name\":\"Deposited\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"length\",\"type\":\"uint256\"}],\"name\":\"EpochLengthUpdated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"cap\",\"type\":\"uint256\"}],\"name\":\"EpochVolumeUpdated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"GovernorAdded\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"GovernorRemoved\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"MaxDepositUpdated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"MinDepositUpdated\",\"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\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"Paused\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"PauserAdded\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"PauserRemoved\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"Unpaused\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"withdrawId\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"receiver\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint64\",\"name\":\"refChainId\",\"type\":\"uint64\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"refId\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"burnAccount\",\"type\":\"address\"}],\"name\":\"Withdrawn\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_account\",\"type\":\"address\"}],\"name\":\"addGovernor\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"addPauser\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"delayPeriod\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"delayThresholds\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"name\":\"delayedTransfers\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"receiver\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"timestamp\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_token\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"},{\"internalType\":\"uint64\",\"name\":\"_mintChainId\",\"type\":\"uint64\"},{\"internalType\":\"address\",\"name\":\"_mintAccount\",\"type\":\"address\"},{\"internalType\":\"uint64\",\"name\":\"_nonce\",\"type\":\"uint64\"}],\"name\":\"deposit\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"},{\"internalType\":\"uint64\",\"name\":\"_mintChainId\",\"type\":\"uint64\"},{\"internalType\":\"address\",\"name\":\"_mintAccount\",\"type\":\"address\"},{\"internalType\":\"uint64\",\"name\":\"_nonce\",\"type\":\"uint64\"}],\"name\":\"depositNative\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"epochLength\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"epochVolumeCaps\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"epochVolumes\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"id\",\"type\":\"bytes32\"}],\"name\":\"executeDelayedTransfer\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"governors\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_account\",\"type\":\"address\"}],\"name\":\"isGovernor\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"isPauser\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"lastOpTimestamps\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"maxDeposit\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"minDeposit\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"nativeWrap\",\"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\":\"pause\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"paused\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"pausers\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"name\":\"records\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_account\",\"type\":\"address\"}],\"name\":\"removeGovernor\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"removePauser\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceGovernor\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renouncePauser\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_period\",\"type\":\"uint256\"}],\"name\":\"setDelayPeriod\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address[]\",\"name\":\"_tokens\",\"type\":\"address[]\"},{\"internalType\":\"uint256[]\",\"name\":\"_thresholds\",\"type\":\"uint256[]\"}],\"name\":\"setDelayThresholds\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_length\",\"type\":\"uint256\"}],\"name\":\"setEpochLength\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address[]\",\"name\":\"_tokens\",\"type\":\"address[]\"},{\"internalType\":\"uint256[]\",\"name\":\"_caps\",\"type\":\"uint256[]\"}],\"name\":\"setEpochVolumeCaps\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address[]\",\"name\":\"_tokens\",\"type\":\"address[]\"},{\"internalType\":\"uint256[]\",\"name\":\"_amounts\",\"type\":\"uint256[]\"}],\"name\":\"setMaxDeposit\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address[]\",\"name\":\"_tokens\",\"type\":\"address[]\"},{\"internalType\":\"uint256[]\",\"name\":\"_amounts\",\"type\":\"uint256[]\"}],\"name\":\"setMinDeposit\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_weth\",\"type\":\"address\"}],\"name\":\"setWrap\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"sigsVerifier\",\"outputs\":[{\"internalType\":\"contractISigsVerifier\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"unpause\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"_request\",\"type\":\"bytes\"},{\"internalType\":\"bytes[]\",\"name\":\"_sigs\",\"type\":\"bytes[]\"},{\"internalType\":\"address[]\",\"name\":\"_signers\",\"type\":\"address[]\"},{\"internalType\":\"uint256[]\",\"name\":\"_powers\",\"type\":\"uint256[]\"}],\"name\":\"withdraw\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"stateMutability\":\"payable\",\"type\":\"receive\"}]",
	Bin: "0x60a06040523480156200001157600080fd5b506040516200375a3803806200375a833981016040819052620000349162000255565b6001600055620000443362000079565b6001805460ff60a01b191690556200005c33620000cb565b620000673362000195565b6001600160a01b031660805262000287565b600180546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b03811660009081526002602052604090205460ff16156200013a5760405162461bcd60e51b815260206004820152601960248201527f4163636f756e7420697320616c7265616479207061757365720000000000000060448201526064015b60405180910390fd5b6001600160a01b038116600081815260026020908152604091829020805460ff1916600117905590519182527f6719d08c1888103bea251a4ed56406bd0c3e69723c8a1686e017e7bbe159b6f891015b60405180910390a150565b6001600160a01b03811660009081526003602052604090205460ff1615620002005760405162461bcd60e51b815260206004820152601b60248201527f4163636f756e7420697320616c726561647920676f7665726e6f720000000000604482015260640162000131565b6001600160a01b038116600081815260036020908152604091829020805460ff1916600117905590519182527fdc5a48d79e2e147530ff63ecdbed5a5a66adb9d5cf339384d5d076da197c40b591016200018a565b6000602082840312156200026857600080fd5b81516001600160a01b03811681146200028057600080fd5b9392505050565b6080516134b0620002aa60003960008181610752015261178401526134b06000f3fe6080604052600436106102885760003560e01c80636b2c0f5511610153578063adc0d57f116100cb578063e3eece261161007f578063eecdac8811610064578063eecdac88146107f2578063f2fde38b14610812578063f83213831461083257600080fd5b8063e3eece2614610789578063e43581b8146107b957600080fd5b8063b5f2bc47116100b0578063b5f2bc4714610713578063ccf2683b14610740578063e026049c1461077457600080fd5b8063adc0d57f14610683578063b1c94d94146106fd57600080fd5b80638456cb59116101225780639e25fc5c116101075780639e25fc5c146106235780639ff9001a14610643578063a21a92801461066357600080fd5b80638456cb59146105f05780638da5cb5b1461060557600080fd5b80636b2c0f551461056b5780636ef8d66d1461058b57806380f51c12146105a057806382dc1ec4146105d057600080fd5b8063402d267d1161020157806354eea796116101b55780635c975abb1161019a5780635c975abb146104ff5780635ec2fa261461051e57806360216b001461053e57600080fd5b806354eea796146104c957806357d775f8146104e957600080fd5b806346fbf68e116101e657806346fbf68e1461044357806347b16c6c1461047c57806352532faa1461049c57600080fd5b8063402d267d146103de578063457bfa2f1461040b57600080fd5b8063303b6442116102585780633c4a25d01161023d5780633c4a25d0146103895780633d572107146103a95780633f4ba83a146103c957600080fd5b8063303b64421461033c5780633c29f8391461035c57600080fd5b8062a95fd71461029457806301e64725146102ba57806317bdbae5146102fa578063234636241461031c57600080fd5b3661028f57005b600080fd5b6102a76102a2366004612ed2565b61085f565b6040519081526020015b60405180910390f35b3480156102c657600080fd5b506102ea6102d5366004612f1f565b600b6020526000908152604090205460ff1681565b60405190151581526020016102b1565b34801561030657600080fd5b5061031a610315366004612f84565b610ac4565b005b34801561032857600080fd5b506102a7610337366004612ff0565b610c62565b34801561034857600080fd5b5061031a610357366004612f84565b610dac565b34801561036857600080fd5b506102a761037736600461304e565b600c6020526000908152604090205481565b34801561039557600080fd5b5061031a6103a436600461304e565b610f43565b3480156103b557600080fd5b5061031a6103c4366004612f1f565b610fb8565b3480156103d557600080fd5b5061031a61104c565b3480156103ea57600080fd5b506102a76103f936600461304e565b600d6020526000908152604090205481565b34801561041757600080fd5b50600e5461042b906001600160a01b031681565b6040516001600160a01b0390911681526020016102b1565b34801561044f57600080fd5b506102ea61045e36600461304e565b6001600160a01b031660009081526002602052604090205460ff1690565b34801561048857600080fd5b5061031a610497366004612f84565b6110b5565b3480156104a857600080fd5b506102a76104b736600461304e565b60096020526000908152604090205481565b3480156104d557600080fd5b5061031a6104e4366004612f1f565b61124c565b3480156104f557600080fd5b506102a760045481565b34801561050b57600080fd5b50600154600160a01b900460ff166102ea565b34801561052a57600080fd5b5061031a610539366004612f84565b6112d9565b34801561054a57600080fd5b506102a761055936600461304e565b60056020526000908152604090205481565b34801561057757600080fd5b5061031a61058636600461304e565b611470565b34801561059757600080fd5b5061031a6114e2565b3480156105ac57600080fd5b506102ea6105bb36600461304e565b60026020526000908152604090205460ff1681565b3480156105dc57600080fd5b5061031a6105eb36600461304e565b6114eb565b3480156105fc57600080fd5b5061031a61155d565b34801561061157600080fd5b506001546001600160a01b031661042b565b34801561062f57600080fd5b5061031a61063e366004612f1f565b6115c4565b34801561064f57600080fd5b5061031a61065e36600461304e565b611639565b34801561066f57600080fd5b506102a761067e366004613069565b6116c4565b34801561068f57600080fd5b506106d261069e366004612f1f565b60086020526000908152604090208054600182015460028301546003909301546001600160a01b0392831693919092169184565b604080516001600160a01b0395861681529490931660208501529183015260608201526080016102b1565b34801561070957600080fd5b506102a7600a5481565b34801561071f57600080fd5b506102a761072e36600461304e565b60066020526000908152604090205481565b34801561074c57600080fd5b5061042b7f000000000000000000000000000000000000000000000000000000000000000081565b34801561078057600080fd5b5061031a611a8e565b34801561079557600080fd5b506102ea6107a436600461304e565b60036020526000908152604090205460ff1681565b3480156107c557600080fd5b506102ea6107d436600461304e565b6001600160a01b031660009081526003602052604090205460ff1690565b3480156107fe57600080fd5b5061031a61080d36600461304e565b611a97565b34801561081e57600080fd5b5061031a61082d36600461304e565b611b09565b34801561083e57600080fd5b506102a761084d36600461304e565b60076020526000908152604090205481565b60006002600054036108b85760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064015b60405180910390fd5b6002600055600154600160a01b900460ff161561090a5760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b60448201526064016108af565b8434146109595760405162461bcd60e51b815260206004820152600f60248201527f416d6f756e74206d69736d61746368000000000000000000000000000000000060448201526064016108af565b600e546001600160a01b03166109b15760405162461bcd60e51b815260206004820152601360248201527f4e61746976652077726170206e6f74207365740000000000000000000000000060448201526064016108af565b600e546000906109cd906001600160a01b031687878787611bf7565b9050600e60009054906101000a90046001600160a01b03166001600160a01b031663d0e30db0876040518263ffffffff1660e01b81526004016000604051808303818588803b158015610a1f57600080fd5b505af1158015610a33573d6000803e3d6000fd5b5050600e54604080518681523360208201526001600160a01b0392831691810191909152606081018b905267ffffffffffffffff808b16608083015291891660a082015290871660c08201527f28d226819e371600e26624ebc4a9a3947117ee2760209f816c789d3a99bf481b935060e0019150610aae9050565b60405180910390a1600160005595945050505050565b3360009081526003602052604090205460ff16610b1c5760405162461bcd60e51b815260206004820152601660248201527521b0b63632b91034b9903737ba1033b7bb32b93737b960511b60448201526064016108af565b828114610b5d5760405162461bcd60e51b815260206004820152600f60248201526e0d8cadccee8d040dad2e6dac2e8c6d608b1b60448201526064016108af565b60005b83811015610c5b57828282818110610b7a57610b7a613158565b9050602002013560096000878785818110610b9757610b97613158565b9050602002016020810190610bac919061304e565b6001600160a01b031681526020810191909152604001600020557fceaad6533bfb481492fb3e08ef19297f46611b8fa9de5ef4cf8dc23a56ad09ce858583818110610bf957610bf9613158565b9050602002016020810190610c0e919061304e565b848484818110610c2057610c20613158565b604080516001600160a01b0390951685526020918202939093013590840152500160405180910390a180610c5381613184565b915050610b60565b5050505050565b6000600260005403610cb65760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016108af565b6002600055600154600160a01b900460ff1615610d085760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b60448201526064016108af565b6000610d178787878787611bf7565b9050610d2e6001600160a01b038816333089611df4565b604080518281523360208201526001600160a01b03898116828401526060820189905267ffffffffffffffff888116608084015290871660a0830152851660c082015290517f28d226819e371600e26624ebc4a9a3947117ee2760209f816c789d3a99bf481b9181900360e00190a160016000559695505050505050565b3360009081526003602052604090205460ff16610e045760405162461bcd60e51b815260206004820152601660248201527521b0b63632b91034b9903737ba1033b7bb32b93737b960511b60448201526064016108af565b828114610e455760405162461bcd60e51b815260206004820152600f60248201526e0d8cadccee8d040dad2e6dac2e8c6d608b1b60448201526064016108af565b60005b83811015610c5b57828282818110610e6257610e62613158565b90506020020135600d6000878785818110610e7f57610e7f613158565b9050602002016020810190610e94919061304e565b6001600160a01b031681526020810191909152604001600020557f0e5d348f9737ccc8b4cf0eea0ccf3670af071af8bea5d64664f10e700c08de72858583818110610ee157610ee1613158565b9050602002016020810190610ef6919061304e565b848484818110610f0857610f08613158565b604080516001600160a01b0390951685526020918202939093013590840152500160405180910390a180610f3b81613184565b915050610e48565b33610f566001546001600160a01b031690565b6001600160a01b031614610fac5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016108af565b610fb581611e92565b50565b3360009081526003602052604090205460ff166110105760405162461bcd60e51b815260206004820152601660248201527521b0b63632b91034b9903737ba1033b7bb32b93737b960511b60448201526064016108af565b600a8190556040518181527fc0a39f234199b125fb93713c4d067bdcebbf691087f87b79c0feb92b156ba8b6906020015b60405180910390a150565b3360009081526002602052604090205460ff166110ab5760405162461bcd60e51b815260206004820152601460248201527f43616c6c6572206973206e6f742070617573657200000000000000000000000060448201526064016108af565b6110b3611f4f565b565b3360009081526003602052604090205460ff1661110d5760405162461bcd60e51b815260206004820152601660248201527521b0b63632b91034b9903737ba1033b7bb32b93737b960511b60448201526064016108af565b82811461114e5760405162461bcd60e51b815260206004820152600f60248201526e0d8cadccee8d040dad2e6dac2e8c6d608b1b60448201526064016108af565b60005b83811015610c5b5782828281811061116b5761116b613158565b905060200201356006600087878581811061118857611188613158565b905060200201602081019061119d919061304e565b6001600160a01b031681526020810191909152604001600020557f608e49c22994f20b5d3496dca088b88dfd81b4a3e8cc3809ea1e10a320107e898585838181106111ea576111ea613158565b90506020020160208101906111ff919061304e565b84848481811061121157611211613158565b604080516001600160a01b0390951685526020918202939093013590840152500160405180910390a18061124481613184565b915050611151565b3360009081526003602052604090205460ff166112a45760405162461bcd60e51b815260206004820152601660248201527521b0b63632b91034b9903737ba1033b7bb32b93737b960511b60448201526064016108af565b60048190556040518181527f2664fec2ff76486ac58ed087310855b648b15b9d19f3de8529e95f7c46b7d6b390602001611041565b3360009081526003602052604090205460ff166113315760405162461bcd60e51b815260206004820152601660248201527521b0b63632b91034b9903737ba1033b7bb32b93737b960511b60448201526064016108af565b8281146113725760405162461bcd60e51b815260206004820152600f60248201526e0d8cadccee8d040dad2e6dac2e8c6d608b1b60448201526064016108af565b60005b83811015610c5b5782828281811061138f5761138f613158565b90506020020135600c60008787858181106113ac576113ac613158565b90506020020160208101906113c1919061304e565b6001600160a01b031681526020810191909152604001600020557f0f48d517989455cd80ed52427e80553e66f9b69fd5cee8e26bd1a1f9c364fba685858381811061140e5761140e613158565b9050602002016020810190611423919061304e565b84848481811061143557611435613158565b604080516001600160a01b0390951685526020918202939093013590840152500160405180910390a18061146881613184565b915050611375565b336114836001546001600160a01b031690565b6001600160a01b0316146114d95760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016108af565b610fb581611ff5565b6110b333611ff5565b336114fe6001546001600160a01b031690565b6001600160a01b0316146115545760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016108af565b610fb5816120ae565b3360009081526002602052604090205460ff166115bc5760405162461bcd60e51b815260206004820152601460248201527f43616c6c6572206973206e6f742070617573657200000000000000000000000060448201526064016108af565b6110b361216b565b600154600160a01b900460ff16156116115760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b60448201526064016108af565b600061161c826121f3565b90506116358160000151826020015183604001516123b8565b5050565b3361164c6001546001600160a01b031690565b6001600160a01b0316146116a25760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016108af565b600e80546001600160a01b0319166001600160a01b0392909216919091179055565b600154600090600160a01b900460ff16156117145760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b60448201526064016108af565b6000463060405160200161176a92919091825260601b6bffffffffffffffffffffffff191660208201527f57697468647261770000000000000000000000000000000000000000000000006034820152603c0190565b6040516020818303038152906040528051906020012090507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663682dbc22828c8c6040516020016117c69392919061319d565b6040516020818303038152906040528a8a8a8a8a8a6040518863ffffffff1660e01b81526004016117fd97969594939291906132c2565b60006040518083038186803b15801561181557600080fd5b505afa158015611829573d6000803e3d6000fd5b50505050600061186e8b8b8080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152506124ed92505050565b6020818101518251604080850151606080870151608088015160a089015185516bffffffffffffffffffffffff1998851b8916818b015296841b88166034880152604887019490945290821b8616606886015277ffffffffffffffffffffffffffffffffffffffffffffffff1960c09190911b16607c850152608484019190915230901b90921660a48201528151808203609801815260b890910182528051908301206000818152600b9093529120549192509060ff16156119625760405162461bcd60e51b815260206004820152600d60248201526c7265636f72642065786973747360981b60448201526064016108af565b6000818152600b602052604090819020805460ff1916600117905582519083015161198d9190612649565b81516001600160a01b031660009081526009602052604090205480158015906119b95750808360400151115b156119db576119d682846020015185600001518660400151612767565b6119f2565b6119f28360200151846000015185604001516123b8565b602080840151845160408087015160808089015160a0808b01516060808d015187518d81526001600160a01b039a8b169b81019b909b52978916968a01969096529488019390935267ffffffffffffffff16908601528401521660c08201527f296a629c5265cb4e5319803d016902eb70a9079b89655fe2b7737821ed88beeb9060e00160405180910390a1509b9a5050505050505050505050565b6110b33361287a565b33611aaa6001546001600160a01b031690565b6001600160a01b031614611b005760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016108af565b610fb58161287a565b33611b1c6001546001600160a01b031690565b6001600160a01b031614611b725760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016108af565b6001600160a01b038116611bee5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f646472657373000000000000000000000000000000000000000000000000000060648201526084016108af565b610fb581612933565b6001600160a01b0385166000908152600c60205260408120548511611c5e5760405162461bcd60e51b815260206004820152601060248201527f616d6f756e7420746f6f20736d616c6c0000000000000000000000000000000060448201526064016108af565b6001600160a01b0386166000908152600d60205260409020541580611c9b57506001600160a01b0386166000908152600d60205260409020548511155b611ce75760405162461bcd60e51b815260206004820152601060248201527f616d6f756e7420746f6f206c617267650000000000000000000000000000000060448201526064016108af565b6040516bffffffffffffffffffffffff1933606090811b8216602084015288811b821660348401526048830188905277ffffffffffffffffffffffffffffffffffffffffffffffff1960c088811b8216606886015287831b8416607086015286811b8216608486015246901b16608c84015230901b16609482015260009060a80160408051601f1981840301815291815281516020928301206000818152600b90935291205490915060ff1615611dd05760405162461bcd60e51b815260206004820152600d60248201526c7265636f72642065786973747360981b60448201526064016108af565b6000818152600b60205260409020805460ff19166001179055905095945050505050565b6040516001600160a01b0380851660248301528316604482015260648101829052611e8c9085906323b872dd60e01b906084015b60408051601f198184030181529190526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fffffffff0000000000000000000000000000000000000000000000000000000090931692909217909152612985565b50505050565b6001600160a01b03811660009081526003602052604090205460ff1615611efb5760405162461bcd60e51b815260206004820152601b60248201527f4163636f756e7420697320616c726561647920676f7665726e6f72000000000060448201526064016108af565b6001600160a01b038116600081815260036020908152604091829020805460ff1916600117905590519182527fdc5a48d79e2e147530ff63ecdbed5a5a66adb9d5cf339384d5d076da197c40b59101611041565b600154600160a01b900460ff16611fa85760405162461bcd60e51b815260206004820152601460248201527f5061757361626c653a206e6f742070617573656400000000000000000000000060448201526064016108af565b6001805460ff60a01b191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b6001600160a01b03811660009081526002602052604090205460ff1661205d5760405162461bcd60e51b815260206004820152601560248201527f4163636f756e74206973206e6f7420706175736572000000000000000000000060448201526064016108af565b6001600160a01b038116600081815260026020908152604091829020805460ff1916905590519182527fcd265ebaf09df2871cc7bd4133404a235ba12eff2041bb89d9c714a2621c7c7e9101611041565b6001600160a01b03811660009081526002602052604090205460ff16156121175760405162461bcd60e51b815260206004820152601960248201527f4163636f756e7420697320616c7265616479207061757365720000000000000060448201526064016108af565b6001600160a01b038116600081815260026020908152604091829020805460ff1916600117905590519182527f6719d08c1888103bea251a4ed56406bd0c3e69723c8a1686e017e7bbe159b6f89101611041565b600154600160a01b900460ff16156121b85760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b60448201526064016108af565b6001805460ff60a01b1916600160a01b1790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258611fd83390565b604080516080810182526000808252602082018190529181018290526060810191909152600082815260086020908152604091829020825160808101845281546001600160a01b03908116825260018301541692810192909252600281015492820192909252600390910154606082018190526122b25760405162461bcd60e51b815260206004820152601a60248201527f64656c61796564207472616e73666572206e6f7420657869737400000000000060448201526064016108af565b600a5481606001516122c4919061339e565b42116123125760405162461bcd60e51b815260206004820152601d60248201527f64656c61796564207472616e73666572207374696c6c206c6f636b656400000060448201526064016108af565b600083815260086020908152604080832080546001600160a01b03199081168255600182018054909116905560028101849055600301929092558251908301518383015192517f3b40e5089937425d14cdd96947e5661868357e224af59bd8b24a4b8a330d4426936123aa93889390929091909384526001600160a01b03928316602085015291166040830152606082015260800190565b60405180910390a192915050565b600e546001600160a01b03908116908316036124d457600e54604051632e1a7d4d60e01b8152600481018390526001600160a01b0390911690632e1a7d4d90602401600060405180830381600087803b15801561241457600080fd5b505af1158015612428573d6000803e3d6000fd5b505050506000836001600160a01b03168261c35090604051600060405180830381858888f193505050503d806000811461247e576040519150601f19603f3d011682016040523d82523d6000602084013e612483565b606091505b5050905080611e8c5760405162461bcd60e51b815260206004820152601b60248201527f6661696c656420746f2073656e64206e617469766520746f6b656e000000000060448201526064016108af565b6124e86001600160a01b0383168483612a6a565b505050565b6040805160c08101825260008082526020808301829052828401829052606083018290526080830182905260a0830182905283518085019094528184528301849052909190805b602083015151835110156126415761254b83612a9a565b9092509050816001036125795761256961256484612ad4565b612b91565b6001600160a01b03168452612534565b816002036125a05761258d61256484612ad4565b6001600160a01b03166020850152612534565b816003036125c3576125b96125b484612ad4565b612ba2565b6040850152612534565b816004036125ea576125d761256484612ad4565b6001600160a01b03166060850152612534565b8160050361260f576125fb83612bd9565b67ffffffffffffffff166080850152612534565b816006036126325761262861262384612ad4565b612c54565b60a0850152612534565b61263c8382612c6c565b612534565b505050919050565b600454600003612657575050565b6001600160a01b0382166000908152600660205260408120549081900361267d57505050565b6001600160a01b038316600090815260056020526040812054600454909142916126a781846133b1565b6126b191906133d3565b6001600160a01b0387166000908152600760205260409020549091508111156126dc578492506126e9565b6126e6858461339e565b92505b838311156127395760405162461bcd60e51b815260206004820152601260248201527f766f6c756d65206578636565647320636170000000000000000000000000000060448201526064016108af565b506001600160a01b039094166000908152600560209081526040808320939093556007905220929092555050565b600084815260086020526040902060030154156127c65760405162461bcd60e51b815260206004820152601f60248201527f64656c61796564207472616e7366657220616c7265616479206578697374730060448201526064016108af565b604080516080810182526001600160a01b0380861682528481166020808401918252838501868152426060860190815260008b8152600890935291869020945185549085166001600160a01b031991821617865592516001860180549190951693169290921790925551600283015551600390910155517fcbcfffe5102114216a85d3aceb14ad4b81a3935b1b5c468fadf3889eb9c5dce69061286c9086815260200190565b60405180910390a150505050565b6001600160a01b03811660009081526003602052604090205460ff166128e25760405162461bcd60e51b815260206004820152601760248201527f4163636f756e74206973206e6f7420676f7665726e6f7200000000000000000060448201526064016108af565b6001600160a01b038116600081815260036020908152604091829020805460ff1916905590519182527f1ebe834e73d60a5fec822c1e1727d34bc79f2ad977ed504581cc1822fe20fb5b9101611041565b600180546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60006129da826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316612cdc9092919063ffffffff16565b8051909150156124e857808060200190518101906129f891906133ea565b6124e85760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e60448201527f6f7420737563636565640000000000000000000000000000000000000000000060648201526084016108af565b6040516001600160a01b0383166024820152604481018290526124e890849063a9059cbb60e01b90606401611e28565b6000806000612aa884612bd9565b9050612ab56008826133b1565b9250806007166005811115612acc57612acc61340c565b915050915091565b60606000612ae183612bd9565b90506000818460000151612af5919061339e565b9050836020015151811115612b0957600080fd5b8167ffffffffffffffff811115612b2257612b22613422565b6040519080825280601f01601f191660200182016040528015612b4c576020820181803683370190505b50602080860151865192955091818601919083010160005b85811015612b86578181015183820152612b7f60208261339e565b9050612b64565b505050935250919050565b6000612b9c82612cf5565b92915050565b6000602082511115612bb357600080fd5b6020820151905081516020612bc89190613438565b612bd39060086133d3565b1c919050565b602080820151825181019091015160009182805b600a81101561028f5783811a9150612c068160076133d3565b82607f16901b8517945081608016600003612c4257612c2681600161339e565b86518790612c3590839061339e565b9052509395945050505050565b80612c4c81613184565b915050612bed565b60008151602014612c6457600080fd5b506020015190565b6000816005811115612c8057612c8061340c565b03612c8e576124e882612bd9565b6002816005811115612ca257612ca261340c565b0361028f576000612cb283612bd9565b90508083600001818151612cc6919061339e565b905250602083015151835111156124e857600080fd5b6060612ceb8484600085612d1d565b90505b9392505050565b60008151601414612d0557600080fd5b50602001516c01000000000000000000000000900490565b606082471015612d955760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f60448201527f722063616c6c000000000000000000000000000000000000000000000000000060648201526084016108af565b6001600160a01b0385163b612dec5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000060448201526064016108af565b600080866001600160a01b03168587604051612e08919061344b565b60006040518083038185875af1925050503d8060008114612e45576040519150601f19603f3d011682016040523d82523d6000602084013e612e4a565b606091505b5091509150612e5a828286612e65565b979650505050505050565b60608315612e74575081612cee565b825115612e845782518084602001fd5b8160405162461bcd60e51b81526004016108af9190613467565b803567ffffffffffffffff81168114612eb657600080fd5b919050565b80356001600160a01b0381168114612eb657600080fd5b60008060008060808587031215612ee857600080fd5b84359350612ef860208601612e9e565b9250612f0660408601612ebb565b9150612f1460608601612e9e565b905092959194509250565b600060208284031215612f3157600080fd5b5035919050565b60008083601f840112612f4a57600080fd5b50813567ffffffffffffffff811115612f6257600080fd5b6020830191508360208260051b8501011115612f7d57600080fd5b9250929050565b60008060008060408587031215612f9a57600080fd5b843567ffffffffffffffff80821115612fb257600080fd5b612fbe88838901612f38565b90965094506020870135915080821115612fd757600080fd5b50612fe487828801612f38565b95989497509550505050565b600080600080600060a0868803121561300857600080fd5b61301186612ebb565b94506020860135935061302660408701612e9e565b925061303460608701612ebb565b915061304260808701612e9e565b90509295509295909350565b60006020828403121561306057600080fd5b612cee82612ebb565b6000806000806000806000806080898b03121561308557600080fd5b883567ffffffffffffffff8082111561309d57600080fd5b818b0191508b601f8301126130b157600080fd5b8135818111156130c057600080fd5b8c60208285010111156130d257600080fd5b60209283019a509850908a013590808211156130ed57600080fd5b6130f98c838d01612f38565b909850965060408b013591508082111561311257600080fd5b61311e8c838d01612f38565b909650945060608b013591508082111561313757600080fd5b506131448b828c01612f38565b999c989b5096995094979396929594505050565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b6000600182016131965761319661316e565b5060010190565b838152818360208301376000910160200190815292915050565b60005b838110156131d25781810151838201526020016131ba565b50506000910152565b600081518084526131f38160208601602086016131b7565b601f01601f19169290920160200192915050565b81835281816020850137506000828201602090810191909152601f909101601f19169091010190565b8183526000602080850194508260005b8581101561326c576001600160a01b0361325983612ebb565b1687529582019590820190600101613240565b509495945050505050565b81835260007f07ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8311156132a957600080fd5b8260051b80836020870137939093016020019392505050565b6080815260006132d5608083018a6131db565b602083820381850152818983528183019050818a60051b8401018b60005b8c81101561336357858303601f190184528135368f9003601e1901811261331957600080fd5b8e01858101903567ffffffffffffffff81111561333557600080fd5b80360382131561334457600080fd5b61334f858284613207565b9587019594505050908401906001016132f3565b50508581036040870152613378818a8c613230565b93505050508281036060840152613390818587613277565b9a9950505050505050505050565b80820180821115612b9c57612b9c61316e565b6000826133ce57634e487b7160e01b600052601260045260246000fd5b500490565b8082028115828204841417612b9c57612b9c61316e565b6000602082840312156133fc57600080fd5b81518015158114612cee57600080fd5b634e487b7160e01b600052602160045260246000fd5b634e487b7160e01b600052604160045260246000fd5b81810381811115612b9c57612b9c61316e565b6000825161345d8184602087016131b7565b9190910192915050565b602081526000612cee60208301846131db56fea2646970667358221220043f9324553be37a9af0658d5b9017a6fca6e41976f4a262e243fc304d09b96664736f6c63430008110033",
}

OriginalTokenVaultV2MetaData contains all meta data concerning the OriginalTokenVaultV2 contract.

View Source
var OwnableABI = OwnableMetaData.ABI

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

View Source
var OwnableMetaData = &bind.MetaData{
	ABI: "[{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"previousOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransferred\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
}

OwnableMetaData contains all meta data concerning the Ownable contract.

View Source
var PauserABI = PauserMetaData.ABI

PauserABI is the input ABI used to generate the binding from. Deprecated: Use PauserMetaData.ABI instead.

View Source
var PauserMetaData = &bind.MetaData{
	ABI: "[{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"previousOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransferred\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"Paused\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"PauserAdded\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"PauserRemoved\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"Unpaused\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"addPauser\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"isPauser\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"pause\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"paused\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"pausers\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"removePauser\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renouncePauser\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"unpause\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
}

PauserMetaData contains all meta data concerning the Pauser contract.

View Source
var PbABI = PbMetaData.ABI

PbABI is the input ABI used to generate the binding from. Deprecated: Use PbMetaData.ABI instead.

View Source
var PbBin = PbMetaData.Bin

PbBin is the compiled bytecode used for deploying new contracts. Deprecated: Use PbMetaData.Bin instead.

View Source
var PbFarmingABI = PbFarmingMetaData.ABI

PbFarmingABI is the input ABI used to generate the binding from. Deprecated: Use PbFarmingMetaData.ABI instead.

View Source
var PbFarmingBin = PbFarmingMetaData.Bin

PbFarmingBin is the compiled bytecode used for deploying new contracts. Deprecated: Use PbFarmingMetaData.Bin instead.

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

PbFarmingMetaData contains all meta data concerning the PbFarming contract.

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

PbMetaData contains all meta data concerning the Pb contract.

View Source
var PbSgnABI = PbSgnMetaData.ABI

PbSgnABI is the input ABI used to generate the binding from. Deprecated: Use PbSgnMetaData.ABI instead.

View Source
var PbSgnBin = PbSgnMetaData.Bin

PbSgnBin is the compiled bytecode used for deploying new contracts. Deprecated: Use PbSgnMetaData.Bin instead.

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

PbSgnMetaData contains all meta data concerning the PbSgn contract.

View Source
var PbStakingABI = PbStakingMetaData.ABI

PbStakingABI is the input ABI used to generate the binding from. Deprecated: Use PbStakingMetaData.ABI instead.

View Source
var PbStakingBin = PbStakingMetaData.Bin

PbStakingBin is the compiled bytecode used for deploying new contracts. Deprecated: Use PbStakingMetaData.Bin instead.

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

PbStakingMetaData contains all meta data concerning the PbStaking contract.

View Source
var PeggedTokenBridgeABI = PeggedTokenBridgeMetaData.ABI

PeggedTokenBridgeABI is the input ABI used to generate the binding from. Deprecated: Use PeggedTokenBridgeMetaData.ABI instead.

View Source
var PeggedTokenBridgeBin = PeggedTokenBridgeMetaData.Bin

PeggedTokenBridgeBin is the compiled bytecode used for deploying new contracts. Deprecated: Use PeggedTokenBridgeMetaData.Bin instead.

View Source
var PeggedTokenBridgeMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[{\"internalType\":\"contractISigsVerifier\",\"name\":\"_sigsVerifier\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"burnId\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"withdrawAccount\",\"type\":\"address\"}],\"name\":\"Burn\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"period\",\"type\":\"uint256\"}],\"name\":\"DelayPeriodUpdated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"threshold\",\"type\":\"uint256\"}],\"name\":\"DelayThresholdUpdated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"id\",\"type\":\"bytes32\"}],\"name\":\"DelayedTransferAdded\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"id\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"receiver\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"DelayedTransferExecuted\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"length\",\"type\":\"uint256\"}],\"name\":\"EpochLengthUpdated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"cap\",\"type\":\"uint256\"}],\"name\":\"EpochVolumeUpdated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"GovernorAdded\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"GovernorRemoved\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"MaxBurnUpdated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"MinBurnUpdated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"mintId\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint64\",\"name\":\"refChainId\",\"type\":\"uint64\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"refId\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"depositor\",\"type\":\"address\"}],\"name\":\"Mint\",\"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\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"Paused\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"PauserAdded\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"PauserRemoved\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"Unpaused\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_account\",\"type\":\"address\"}],\"name\":\"addGovernor\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"addPauser\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_token\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"_withdrawAccount\",\"type\":\"address\"},{\"internalType\":\"uint64\",\"name\":\"_nonce\",\"type\":\"uint64\"}],\"name\":\"burn\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"delayPeriod\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"delayThresholds\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"name\":\"delayedTransfers\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"receiver\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"timestamp\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"epochLength\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"epochVolumeCaps\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"epochVolumes\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"id\",\"type\":\"bytes32\"}],\"name\":\"executeDelayedTransfer\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"governors\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_account\",\"type\":\"address\"}],\"name\":\"isGovernor\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"isPauser\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"lastOpTimestamps\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"maxBurn\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"minBurn\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"_request\",\"type\":\"bytes\"},{\"internalType\":\"bytes[]\",\"name\":\"_sigs\",\"type\":\"bytes[]\"},{\"internalType\":\"address[]\",\"name\":\"_signers\",\"type\":\"address[]\"},{\"internalType\":\"uint256[]\",\"name\":\"_powers\",\"type\":\"uint256[]\"}],\"name\":\"mint\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"pause\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"paused\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"pausers\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"name\":\"records\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_account\",\"type\":\"address\"}],\"name\":\"removeGovernor\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"removePauser\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceGovernor\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renouncePauser\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_period\",\"type\":\"uint256\"}],\"name\":\"setDelayPeriod\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address[]\",\"name\":\"_tokens\",\"type\":\"address[]\"},{\"internalType\":\"uint256[]\",\"name\":\"_thresholds\",\"type\":\"uint256[]\"}],\"name\":\"setDelayThresholds\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_length\",\"type\":\"uint256\"}],\"name\":\"setEpochLength\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address[]\",\"name\":\"_tokens\",\"type\":\"address[]\"},{\"internalType\":\"uint256[]\",\"name\":\"_caps\",\"type\":\"uint256[]\"}],\"name\":\"setEpochVolumeCaps\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address[]\",\"name\":\"_tokens\",\"type\":\"address[]\"},{\"internalType\":\"uint256[]\",\"name\":\"_amounts\",\"type\":\"uint256[]\"}],\"name\":\"setMaxBurn\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address[]\",\"name\":\"_tokens\",\"type\":\"address[]\"},{\"internalType\":\"uint256[]\",\"name\":\"_amounts\",\"type\":\"uint256[]\"}],\"name\":\"setMinBurn\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"sigsVerifier\",\"outputs\":[{\"internalType\":\"contractISigsVerifier\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"unpause\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
	Bin: "0x60a06040523480156200001157600080fd5b5060405162002d2938038062002d2983398101604081905262000034916200024f565b6200003f3362000074565b6000805460ff60a01b191690556200005733620000c4565b62000062336200018f565b6001600160a01b031660805262000281565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6001600160a01b03811660009081526001602052604090205460ff1615620001335760405162461bcd60e51b815260206004820152601960248201527f4163636f756e7420697320616c7265616479207061757365720000000000000060448201526064015b60405180910390fd5b6001600160a01b038116600081815260016020818152604092839020805460ff191690921790915590519182527f6719d08c1888103bea251a4ed56406bd0c3e69723c8a1686e017e7bbe159b6f891015b60405180910390a150565b6001600160a01b03811660009081526002602052604090205460ff1615620001fa5760405162461bcd60e51b815260206004820152601b60248201527f4163636f756e7420697320616c726561647920676f7665726e6f72000000000060448201526064016200012a565b6001600160a01b038116600081815260026020908152604091829020805460ff1916600117905590519182527fdc5a48d79e2e147530ff63ecdbed5a5a66adb9d5cf339384d5d076da197c40b5910162000184565b6000602082840312156200026257600080fd5b81516001600160a01b03811681146200027a57600080fd5b9392505050565b608051612a85620002a4600039600081816104fb01526113da0152612a856000f3fe608060405234801561001057600080fd5b50600436106102415760003560e01c806382dc1ec411610145578063de790c7e116100bd578063eecdac881161008c578063f832138311610071578063f8321383146105ad578063f8734302146105cd578063f9a8ea08146105e057600080fd5b8063eecdac8814610587578063f2fde38b1461059a57600080fd5b8063de790c7e1461051d578063e026049c14610530578063e3eece2614610538578063e43581b81461055b57600080fd5b8063adc0d57f11610114578063b5f2bc47116100f9578063b5f2bc47146104c3578063bf4816f0146104e3578063ccf2683b146104f657600080fd5b8063adc0d57f1461044d578063b1c94d94146104ba57600080fd5b806382dc1ec4146103fa5780638456cb591461040d5780638da5cb5b146104155780639e25fc5c1461043a57600080fd5b806352532faa116101d857806360216b00116101a75780636ef8d66d1161018c5780636ef8d66d146103af5780637f856013146103b757806380f51c12146103d757600080fd5b806360216b001461037c5780636b2c0f551461039c57600080fd5b806352532faa1461032e57806354eea7961461034e57806357d775f8146103615780635c975abb1461036a57600080fd5b80633f4ba83a116102145780633f4ba83a146102b957806346fbf68e146102c157806347b16c6c146102ed578063497bf3b21461030057600080fd5b806301e647251461024657806317bdbae51461027e5780633c4a25d0146102935780633d572107146102a6575b600080fd5b610269610254366004612529565b600a6020526000908152604090205460ff1681565b60405190151581526020015b60405180910390f35b61029161028c36600461258e565b6105f3565b005b6102916102a1366004612616565b610796565b6102916102b4366004612529565b61080b565b61029161089f565b6102696102cf366004612616565b6001600160a01b031660009081526001602052604090205460ff1690565b6102916102fb36600461258e565b610908565b61032061030e366004612616565b600c6020526000908152604090205481565b604051908152602001610275565b61032061033c366004612616565b60086020526000908152604090205481565b61029161035c366004612529565b610a9f565b61032060035481565b600054600160a01b900460ff16610269565b61032061038a366004612616565b60046020526000908152604090205481565b6102916103aa366004612616565b610b2c565b610291610b9e565b6103206103c5366004612616565b600b6020526000908152604090205481565b6102696103e5366004612616565b60016020526000908152604090205460ff1681565b610291610408366004612616565b610ba7565b610291610c19565b6000546001600160a01b03165b6040516001600160a01b039091168152602001610275565b610291610448366004612529565b610c80565b61048f61045b366004612529565b60076020526000908152604090208054600182015460028301546003909301546001600160a01b0392831693919092169184565b604080516001600160a01b039586168152949093166020850152918301526060820152608001610275565b61032060095481565b6103206104d1366004612616565b60056020526000908152604090205481565b6102916104f136600461258e565b610d4d565b6104227f000000000000000000000000000000000000000000000000000000000000000081565b61029161052b366004612638565b610ee4565b6102916111cd565b610269610546366004612616565b60026020526000908152604090205460ff1681565b610269610569366004612616565b6001600160a01b031660009081526002602052604090205460ff1690565b610291610595366004612616565b6111d6565b6102916105a8366004612616565b611248565b6103206105bb366004612616565b60066020526000908152604090205481565b6102916105db366004612694565b611336565b6102916105ee36600461258e565b61173f565b3360009081526002602052604090205460ff166106505760405162461bcd60e51b815260206004820152601660248201527521b0b63632b91034b9903737ba1033b7bb32b93737b960511b60448201526064015b60405180910390fd5b8281146106915760405162461bcd60e51b815260206004820152600f60248201526e0d8cadccee8d040dad2e6dac2e8c6d608b1b6044820152606401610647565b60005b8381101561078f578282828181106106ae576106ae612783565b90506020020135600860008787858181106106cb576106cb612783565b90506020020160208101906106e09190612616565b6001600160a01b031681526020810191909152604001600020557fceaad6533bfb481492fb3e08ef19297f46611b8fa9de5ef4cf8dc23a56ad09ce85858381811061072d5761072d612783565b90506020020160208101906107429190612616565b84848481811061075457610754612783565b604080516001600160a01b0390951685526020918202939093013590840152500160405180910390a180610787816127af565b915050610694565b5050505050565b336107a96000546001600160a01b031690565b6001600160a01b0316146107ff5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610647565b610808816118d6565b50565b3360009081526002602052604090205460ff166108635760405162461bcd60e51b815260206004820152601660248201527521b0b63632b91034b9903737ba1033b7bb32b93737b960511b6044820152606401610647565b60098190556040518181527fc0a39f234199b125fb93713c4d067bdcebbf691087f87b79c0feb92b156ba8b6906020015b60405180910390a150565b3360009081526001602052604090205460ff166108fe5760405162461bcd60e51b815260206004820152601460248201527f43616c6c6572206973206e6f74207061757365720000000000000000000000006044820152606401610647565b610906611993565b565b3360009081526002602052604090205460ff166109605760405162461bcd60e51b815260206004820152601660248201527521b0b63632b91034b9903737ba1033b7bb32b93737b960511b6044820152606401610647565b8281146109a15760405162461bcd60e51b815260206004820152600f60248201526e0d8cadccee8d040dad2e6dac2e8c6d608b1b6044820152606401610647565b60005b8381101561078f578282828181106109be576109be612783565b90506020020135600560008787858181106109db576109db612783565b90506020020160208101906109f09190612616565b6001600160a01b031681526020810191909152604001600020557f608e49c22994f20b5d3496dca088b88dfd81b4a3e8cc3809ea1e10a320107e89858583818110610a3d57610a3d612783565b9050602002016020810190610a529190612616565b848484818110610a6457610a64612783565b604080516001600160a01b0390951685526020918202939093013590840152500160405180910390a180610a97816127af565b9150506109a4565b3360009081526002602052604090205460ff16610af75760405162461bcd60e51b815260206004820152601660248201527521b0b63632b91034b9903737ba1033b7bb32b93737b960511b6044820152606401610647565b60038190556040518181527f2664fec2ff76486ac58ed087310855b648b15b9d19f3de8529e95f7c46b7d6b390602001610894565b33610b3f6000546001600160a01b031690565b6001600160a01b031614610b955760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610647565b61080881611a39565b61090633611a39565b33610bba6000546001600160a01b031690565b6001600160a01b031614610c105760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610647565b61080881611af2565b3360009081526001602052604090205460ff16610c785760405162461bcd60e51b815260206004820152601460248201527f43616c6c6572206973206e6f74207061757365720000000000000000000000006044820152606401610647565b610906611bb0565b600054600160a01b900460ff1615610ccd5760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b6044820152606401610647565b6000610cd882611c38565b6020810151815160408084015190516340c10f1960e01b81526001600160a01b039283166004820152602481019190915292935016906340c10f1990604401600060405180830381600087803b158015610d3157600080fd5b505af1158015610d45573d6000803e3d6000fd5b505050505050565b3360009081526002602052604090205460ff16610da55760405162461bcd60e51b815260206004820152601660248201527521b0b63632b91034b9903737ba1033b7bb32b93737b960511b6044820152606401610647565b828114610de65760405162461bcd60e51b815260206004820152600f60248201526e0d8cadccee8d040dad2e6dac2e8c6d608b1b6044820152606401610647565b60005b8381101561078f57828282818110610e0357610e03612783565b90506020020135600b6000878785818110610e2057610e20612783565b9050602002016020810190610e359190612616565b6001600160a01b031681526020810191909152604001600020557f3796cd0b17a8734f8da819920625598e9a18be490f686725282e5383f1d06683858583818110610e8257610e82612783565b9050602002016020810190610e979190612616565b848484818110610ea957610ea9612783565b604080516001600160a01b0390951685526020918202939093013590840152500160405180910390a180610edc816127af565b915050610de9565b600054600160a01b900460ff1615610f315760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b6044820152606401610647565b6001600160a01b0384166000908152600b60205260409020548311610f985760405162461bcd60e51b815260206004820152601060248201527f616d6f756e7420746f6f20736d616c6c000000000000000000000000000000006044820152606401610647565b6001600160a01b0384166000908152600c60205260409020541580610fd557506001600160a01b0384166000908152600c60205260409020548311155b6110215760405162461bcd60e51b815260206004820152601060248201527f616d6f756e7420746f6f206c61726765000000000000000000000000000000006044820152606401610647565b6040516bffffffffffffffffffffffff1933606090811b8216602084015286811b821660348401526048830186905284901b16606882015277ffffffffffffffffffffffffffffffffffffffffffffffff1960c083811b8216607c84015246901b166084820152600090608c0160408051601f1981840301815291815281516020928301206000818152600a90935291205490915060ff16156110f65760405162461bcd60e51b815260206004820152600d60248201526c7265636f72642065786973747360981b6044820152606401610647565b6000818152600a602052604090819020805460ff1916600117905551632770a7eb60e21b8152336004820152602481018590526001600160a01b03861690639dc29fac90604401600060405180830381600087803b15801561115757600080fd5b505af115801561116b573d6000803e3d6000fd5b5050604080518481526001600160a01b0389811660208301523382840152606082018990528716608082015290517f75f1bf55bb1de41b63a775dc7d4500f01114ee62b688a6b11d34f4692c1f3d4393509081900360a0019150a15050505050565b61090633611e0a565b336111e96000546001600160a01b031690565b6001600160a01b03161461123f5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610647565b61080881611e0a565b3361125b6000546001600160a01b031690565b6001600160a01b0316146112b15760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610647565b6001600160a01b03811661132d5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610647565b61080881611ec3565b600054600160a01b900460ff16156113835760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b6044820152606401610647565b600046306040516020016113c092919091825260601b6bffffffffffffffffffffffff1916602082015263135a5b9d60e21b603482015260380190565b6040516020818303038152906040528051906020012090507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663682dbc22828b8b60405160200161141c939291906127c8565b6040516020818303038152906040528989898989896040518863ffffffff1660e01b8152600401611453979695949392919061292f565b60006040518083038186803b15801561146b57600080fd5b505afa15801561147f573d6000803e3d6000fd5b5050505060006114c48a8a8080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250611f2092505050565b6020818101518251604080850151606080870151608088015160a0890151855197841b6bffffffffffffffffffffffff19908116898b015296841b871660348901526048880194909452911b909316606885015260c09290921b77ffffffffffffffffffffffffffffffffffffffffffffffff1916607c8401526084808401929092528051808403909201825260a490920182528051908301206000818152600a9093529120549192509060ff16156115af5760405162461bcd60e51b815260206004820152600d60248201526c7265636f72642065786973747360981b6044820152606401610647565b6000818152600a602052604090819020805460ff191660011790558251908301516115da919061207c565b81516001600160a01b031660009081526008602052604090205480158015906116065750808360400151115b15611628576116238284602001518560000151866040015161219a565b611698565b8251602084015160408086015190516340c10f1960e01b81526001600160a01b03928316600482015260248101919091529116906340c10f1990604401600060405180830381600087803b15801561167f57600080fd5b505af1158015611693573d6000803e3d6000fd5b505050505b7f5bc84ecccfced5bb04bfc7f3efcdbe7f5cd21949ef146811b4d1967fe41f777a8284600001518560200151866040015187608001518860a00151896060015160405161172997969594939291909687526001600160a01b0395861660208801529385166040870152606086019290925267ffffffffffffffff16608085015260a08401521660c082015260e00190565b60405180910390a1505050505050505050505050565b3360009081526002602052604090205460ff166117975760405162461bcd60e51b815260206004820152601660248201527521b0b63632b91034b9903737ba1033b7bb32b93737b960511b6044820152606401610647565b8281146117d85760405162461bcd60e51b815260206004820152600f60248201526e0d8cadccee8d040dad2e6dac2e8c6d608b1b6044820152606401610647565b60005b8381101561078f578282828181106117f5576117f5612783565b90506020020135600c600087878581811061181257611812612783565b90506020020160208101906118279190612616565b6001600160a01b031681526020810191909152604001600020557fa3181379f6db47d9037efc6b6e8e3efe8c55ddb090b4f0512c152f97c4e47da585858381811061187457611874612783565b90506020020160208101906118899190612616565b84848481811061189b5761189b612783565b604080516001600160a01b0390951685526020918202939093013590840152500160405180910390a1806118ce816127af565b9150506117db565b6001600160a01b03811660009081526002602052604090205460ff161561193f5760405162461bcd60e51b815260206004820152601b60248201527f4163636f756e7420697320616c726561647920676f7665726e6f7200000000006044820152606401610647565b6001600160a01b038116600081815260026020908152604091829020805460ff1916600117905590519182527fdc5a48d79e2e147530ff63ecdbed5a5a66adb9d5cf339384d5d076da197c40b59101610894565b600054600160a01b900460ff166119ec5760405162461bcd60e51b815260206004820152601460248201527f5061757361626c653a206e6f74207061757365640000000000000000000000006044820152606401610647565b6000805460ff60a01b191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b6001600160a01b03811660009081526001602052604090205460ff16611aa15760405162461bcd60e51b815260206004820152601560248201527f4163636f756e74206973206e6f742070617573657200000000000000000000006044820152606401610647565b6001600160a01b038116600081815260016020908152604091829020805460ff1916905590519182527fcd265ebaf09df2871cc7bd4133404a235ba12eff2041bb89d9c714a2621c7c7e9101610894565b6001600160a01b03811660009081526001602052604090205460ff1615611b5b5760405162461bcd60e51b815260206004820152601960248201527f4163636f756e7420697320616c726561647920706175736572000000000000006044820152606401610647565b6001600160a01b038116600081815260016020818152604092839020805460ff191690921790915590519182527f6719d08c1888103bea251a4ed56406bd0c3e69723c8a1686e017e7bbe159b6f89101610894565b600054600160a01b900460ff1615611bfd5760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b6044820152606401610647565b6000805460ff60a01b1916600160a01b1790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258611a1c3390565b604080516080810182526000808252602082018190529181018290526060810191909152600082815260076020908152604091829020825160808101845281546001600160a01b0390811682526001830154169281019290925260028101549282019290925260039091015460608201819052611cf75760405162461bcd60e51b815260206004820152601a60248201527f64656c61796564207472616e73666572206e6f742065786973740000000000006044820152606401610647565b6009548160600151611d0991906129c4565b4211611d575760405162461bcd60e51b815260206004820152601d60248201527f64656c61796564207472616e73666572207374696c6c206c6f636b65640000006044820152606401610647565b6000838152600760209081526040808320805473ffffffffffffffffffffffffffffffffffffffff199081168255600182018054909116905560028101849055600301929092558251908301518383015192517f3b40e5089937425d14cdd96947e5661868357e224af59bd8b24a4b8a330d442693611dfc93889390929091909384526001600160a01b03928316602085015291166040830152606082015260800190565b60405180910390a192915050565b6001600160a01b03811660009081526002602052604090205460ff16611e725760405162461bcd60e51b815260206004820152601760248201527f4163636f756e74206973206e6f7420676f7665726e6f720000000000000000006044820152606401610647565b6001600160a01b038116600081815260026020908152604091829020805460ff1916905590519182527f1ebe834e73d60a5fec822c1e1727d34bc79f2ad977ed504581cc1822fe20fb5b9101610894565b600080546001600160a01b0383811673ffffffffffffffffffffffffffffffffffffffff19831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6040805160c08101825260008082526020808301829052828401829052606083018290526080830182905260a0830182905283518085019094528184528301849052909190805b6020830151518351101561207457611f7e836122ba565b909250905081600103611fac57611f9c611f97846122f4565b6123b1565b6001600160a01b03168452611f67565b81600203611fd357611fc0611f97846122f4565b6001600160a01b03166020850152611f67565b81600303611ff657611fec611fe7846122f4565b6123c2565b6040850152611f67565b8160040361201d5761200a611f97846122f4565b6001600160a01b03166060850152611f67565b816005036120425761202e836123f9565b67ffffffffffffffff166080850152611f67565b816006036120655761205b612056846122f4565b612474565b60a0850152611f67565b61206f838261248c565b611f67565b505050919050565b60035460000361208a575050565b6001600160a01b038216600090815260056020526040812054908190036120b057505050565b6001600160a01b038316600090815260046020526040812054600354909142916120da81846129d7565b6120e491906129f9565b6001600160a01b03871660009081526006602052604090205490915081111561210f5784925061211c565b61211985846129c4565b92505b8383111561216c5760405162461bcd60e51b815260206004820152601260248201527f766f6c756d6520657863656564732063617000000000000000000000000000006044820152606401610647565b506001600160a01b039094166000908152600460209081526040808320939093556006905220929092555050565b600084815260076020526040902060030154156121f95760405162461bcd60e51b815260206004820152601f60248201527f64656c61796564207472616e7366657220616c726561647920657869737473006044820152606401610647565b604080516080810182526001600160a01b0380861682528481166020808401918252838501868152426060860190815260008b81526007909352918690209451855490851673ffffffffffffffffffffffffffffffffffffffff1991821617865592516001860180549190951693169290921790925551600283015551600390910155517fcbcfffe5102114216a85d3aceb14ad4b81a3935b1b5c468fadf3889eb9c5dce6906122ac9086815260200190565b60405180910390a150505050565b60008060006122c8846123f9565b90506122d56008826129d7565b92508060071660058111156122ec576122ec612a10565b915050915091565b60606000612301836123f9565b9050600081846000015161231591906129c4565b905083602001515181111561232957600080fd5b8167ffffffffffffffff81111561234257612342612a26565b6040519080825280601f01601f19166020018201604052801561236c576020820181803683370190505b50602080860151865192955091818601919083010160005b858110156123a657818101518382015261239f6020826129c4565b9050612384565b505050935250919050565b60006123bc82612501565b92915050565b60006020825111156123d357600080fd5b60208201519050815160206123e89190612a3c565b6123f39060086129f9565b1c919050565b602080820151825181019091015160009182805b600a8110156102415783811a91506124268160076129f9565b82607f16901b8517945081608016600003612462576124468160016129c4565b865187906124559083906129c4565b9052509395945050505050565b8061246c816127af565b91505061240d565b6000815160201461248457600080fd5b506020015190565b60008160058111156124a0576124a0612a10565b036124b3576124ae826123f9565b505050565b60028160058111156124c7576124c7612a10565b036102415760006124d7836123f9565b905080836000018181516124eb91906129c4565b905250602083015151835111156124ae57600080fd5b6000815160141461251157600080fd5b50602001516c01000000000000000000000000900490565b60006020828403121561253b57600080fd5b5035919050565b60008083601f84011261255457600080fd5b50813567ffffffffffffffff81111561256c57600080fd5b6020830191508360208260051b850101111561258757600080fd5b9250929050565b600080600080604085870312156125a457600080fd5b843567ffffffffffffffff808211156125bc57600080fd5b6125c888838901612542565b909650945060208701359150808211156125e157600080fd5b506125ee87828801612542565b95989497509550505050565b80356001600160a01b038116811461261157600080fd5b919050565b60006020828403121561262857600080fd5b612631826125fa565b9392505050565b6000806000806080858703121561264e57600080fd5b612657856125fa565b93506020850135925061266c604086016125fa565b9150606085013567ffffffffffffffff8116811461268957600080fd5b939692955090935050565b6000806000806000806000806080898b0312156126b057600080fd5b883567ffffffffffffffff808211156126c857600080fd5b818b0191508b601f8301126126dc57600080fd5b8135818111156126eb57600080fd5b8c60208285010111156126fd57600080fd5b60209283019a509850908a0135908082111561271857600080fd5b6127248c838d01612542565b909850965060408b013591508082111561273d57600080fd5b6127498c838d01612542565b909650945060608b013591508082111561276257600080fd5b5061276f8b828c01612542565b999c989b5096995094979396929594505050565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b6000600182016127c1576127c1612799565b5060010190565b838152818360208301376000910160200190815292915050565b81835281816020850137506000828201602090810191909152601f909101601f19169091010190565b81835260006020808501808196508560051b810191508460005b878110156128905782840389528135601e1988360301811261284657600080fd5b8701858101903567ffffffffffffffff81111561286257600080fd5b80360382131561287157600080fd5b61287c8682846127e2565b9a87019a9550505090840190600101612825565b5091979650505050505050565b8183526000602080850194508260005b858110156128d9576001600160a01b036128c6836125fa565b16875295820195908201906001016128ad565b509495945050505050565b81835260007f07ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff83111561291657600080fd5b8260051b80836020870137939093016020019392505050565b608081526000885180608084015260005b8181101561295d576020818c0181015160a0868401015201612940565b50600060a08285010152601f19601f8201168301905060a083820301602084015261298c60a08201898b61280b565b905082810360408401526129a181878961289d565b905082810360608401526129b68185876128e4565b9a9950505050505050505050565b808201808211156123bc576123bc612799565b6000826129f457634e487b7160e01b600052601260045260246000fd5b500490565b80820281158282048414176123bc576123bc612799565b634e487b7160e01b600052602160045260246000fd5b634e487b7160e01b600052604160045260246000fd5b818103818111156123bc576123bc61279956fea2646970667358221220cd8111fbcdc77099ca5fc3460e5e27c466954953fcb16d62f5ff78779821afaa64736f6c63430008110033",
}

PeggedTokenBridgeMetaData contains all meta data concerning the PeggedTokenBridge contract.

View Source
var PeggedTokenBridgeV2ABI = PeggedTokenBridgeV2MetaData.ABI

PeggedTokenBridgeV2ABI is the input ABI used to generate the binding from. Deprecated: Use PeggedTokenBridgeV2MetaData.ABI instead.

View Source
var PeggedTokenBridgeV2Bin = PeggedTokenBridgeV2MetaData.Bin

PeggedTokenBridgeV2Bin is the compiled bytecode used for deploying new contracts. Deprecated: Use PeggedTokenBridgeV2MetaData.Bin instead.

View Source
var PeggedTokenBridgeV2MetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[{\"internalType\":\"contractISigsVerifier\",\"name\":\"_sigsVerifier\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"burnId\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint64\",\"name\":\"toChainId\",\"type\":\"uint64\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"toAccount\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint64\",\"name\":\"nonce\",\"type\":\"uint64\"}],\"name\":\"Burn\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"period\",\"type\":\"uint256\"}],\"name\":\"DelayPeriodUpdated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"threshold\",\"type\":\"uint256\"}],\"name\":\"DelayThresholdUpdated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"id\",\"type\":\"bytes32\"}],\"name\":\"DelayedTransferAdded\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"id\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"receiver\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"DelayedTransferExecuted\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"length\",\"type\":\"uint256\"}],\"name\":\"EpochLengthUpdated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"cap\",\"type\":\"uint256\"}],\"name\":\"EpochVolumeUpdated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"GovernorAdded\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"GovernorRemoved\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"MaxBurnUpdated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"MinBurnUpdated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"mintId\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint64\",\"name\":\"refChainId\",\"type\":\"uint64\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"refId\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"depositor\",\"type\":\"address\"}],\"name\":\"Mint\",\"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\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"Paused\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"PauserAdded\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"PauserRemoved\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"supply\",\"type\":\"uint256\"}],\"name\":\"SupplyUpdated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"Unpaused\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_account\",\"type\":\"address\"}],\"name\":\"addGovernor\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"addPauser\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_token\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"},{\"internalType\":\"uint64\",\"name\":\"_toChainId\",\"type\":\"uint64\"},{\"internalType\":\"address\",\"name\":\"_toAccount\",\"type\":\"address\"},{\"internalType\":\"uint64\",\"name\":\"_nonce\",\"type\":\"uint64\"}],\"name\":\"burn\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_token\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"},{\"internalType\":\"uint64\",\"name\":\"_toChainId\",\"type\":\"uint64\"},{\"internalType\":\"address\",\"name\":\"_toAccount\",\"type\":\"address\"},{\"internalType\":\"uint64\",\"name\":\"_nonce\",\"type\":\"uint64\"}],\"name\":\"burnFrom\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_token\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_delta\",\"type\":\"uint256\"}],\"name\":\"decreaseSupply\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"delayPeriod\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"delayThresholds\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"name\":\"delayedTransfers\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"receiver\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"timestamp\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"epochLength\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"epochVolumeCaps\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"epochVolumes\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"id\",\"type\":\"bytes32\"}],\"name\":\"executeDelayedTransfer\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"governors\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_token\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_delta\",\"type\":\"uint256\"}],\"name\":\"increaseSupply\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_account\",\"type\":\"address\"}],\"name\":\"isGovernor\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"isPauser\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"lastOpTimestamps\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"maxBurn\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"minBurn\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"_request\",\"type\":\"bytes\"},{\"internalType\":\"bytes[]\",\"name\":\"_sigs\",\"type\":\"bytes[]\"},{\"internalType\":\"address[]\",\"name\":\"_signers\",\"type\":\"address[]\"},{\"internalType\":\"uint256[]\",\"name\":\"_powers\",\"type\":\"uint256[]\"}],\"name\":\"mint\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"pause\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"paused\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"pausers\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"name\":\"records\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_account\",\"type\":\"address\"}],\"name\":\"removeGovernor\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"removePauser\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceGovernor\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renouncePauser\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_period\",\"type\":\"uint256\"}],\"name\":\"setDelayPeriod\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address[]\",\"name\":\"_tokens\",\"type\":\"address[]\"},{\"internalType\":\"uint256[]\",\"name\":\"_thresholds\",\"type\":\"uint256[]\"}],\"name\":\"setDelayThresholds\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_length\",\"type\":\"uint256\"}],\"name\":\"setEpochLength\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address[]\",\"name\":\"_tokens\",\"type\":\"address[]\"},{\"internalType\":\"uint256[]\",\"name\":\"_caps\",\"type\":\"uint256[]\"}],\"name\":\"setEpochVolumeCaps\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address[]\",\"name\":\"_tokens\",\"type\":\"address[]\"},{\"internalType\":\"uint256[]\",\"name\":\"_amounts\",\"type\":\"uint256[]\"}],\"name\":\"setMaxBurn\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address[]\",\"name\":\"_tokens\",\"type\":\"address[]\"},{\"internalType\":\"uint256[]\",\"name\":\"_amounts\",\"type\":\"uint256[]\"}],\"name\":\"setMinBurn\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_token\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_supply\",\"type\":\"uint256\"}],\"name\":\"setSupply\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"sigsVerifier\",\"outputs\":[{\"internalType\":\"contractISigsVerifier\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"supplies\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"unpause\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
	Bin: "0x60a06040523480156200001157600080fd5b50604051620031ec380380620031ec83398101604081905262000034916200024f565b6200003f3362000074565b6000805460ff60a01b191690556200005733620000c4565b62000062336200018f565b6001600160a01b031660805262000281565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6001600160a01b03811660009081526001602052604090205460ff1615620001335760405162461bcd60e51b815260206004820152601960248201527f4163636f756e7420697320616c7265616479207061757365720000000000000060448201526064015b60405180910390fd5b6001600160a01b038116600081815260016020818152604092839020805460ff191690921790915590519182527f6719d08c1888103bea251a4ed56406bd0c3e69723c8a1686e017e7bbe159b6f891015b60405180910390a150565b6001600160a01b03811660009081526002602052604090205460ff1615620001fa5760405162461bcd60e51b815260206004820152601b60248201527f4163636f756e7420697320616c726561647920676f7665726e6f72000000000060448201526064016200012a565b6001600160a01b038116600081815260026020908152604091829020805460ff1916600117905590519182527fdc5a48d79e2e147530ff63ecdbed5a5a66adb9d5cf339384d5d076da197c40b5910162000184565b6000602082840312156200026257600080fd5b81516001600160a01b03811681146200027a57600080fd5b9392505050565b608051612f48620002a460003960008181610601015261157b0152612f486000f3fe608060405234801561001057600080fd5b50600436106102c85760003560e01c806382dc1ec41161017b578063bf4816f0116100d8578063eecdac881161008c578063f832138311610071578063f8321383146106a0578063f8734302146106c0578063f9a8ea08146106d357600080fd5b8063eecdac881461067a578063f2fde38b1461068d57600080fd5b8063e026049c116100bd578063e026049c14610623578063e3eece261461062b578063e43581b81461064e57600080fd5b8063bf4816f0146105e9578063ccf2683b146105fc57600080fd5b8063a00293011161012f578063b1c94d9411610114578063b1c94d94146105ad578063b4d8cedc146105b6578063b5f2bc47146105c957600080fd5b8063a00293011461052d578063adc0d57f1461054057600080fd5b80638da5cb5b116101605780638da5cb5b146104e25780639e25fc5c146105075780639e422c331461051a57600080fd5b806382dc1ec4146104c75780638456cb59146104da57600080fd5b806352532faa116102295780636b2c0f55116101dd57806379fcd8ee116101c257806379fcd8ee146104715780637f8560131461048457806380f51c12146104a457600080fd5b80636b2c0f55146104565780636ef8d66d1461046957600080fd5b806357d775f81161020e57806357d775f81461041b5780635c975abb1461042457806360216b001461043657600080fd5b806352532faa146103e857806354eea7961461040857600080fd5b80633d5721071161028057806346fbf68e1161026557806346fbf68e1461038957806347b16c6c146103b5578063497bf3b2146103c857600080fd5b80633d5721071461036e5780633f4ba83a1461038157600080fd5b806317bdbae5116102b157806317bdbae51461031a578063274cee311461032d5780633c4a25d01461035b57600080fd5b806301e64725146102cd57806315d0975c14610305575b600080fd5b6102f06102db3660046129ab565b600a6020526000908152604090205460ff1681565b60405190151581526020015b60405180910390f35b6103186103133660046129e0565b6106e6565b005b610318610328366004612a56565b6107d7565b61034d61033b366004612ac2565b600b6020526000908152604090205481565b6040519081526020016102fc565b610318610369366004612ac2565b610975565b61031861037c3660046129ab565b6109ea565b610318610a7e565b6102f0610397366004612ac2565b6001600160a01b031660009081526001602052604090205460ff1690565b6103186103c3366004612a56565b610ae7565b61034d6103d6366004612ac2565b600d6020526000908152604090205481565b61034d6103f6366004612ac2565b60086020526000908152604090205481565b6103186104163660046129ab565b610c7e565b61034d60035481565b600054600160a01b900460ff166102f0565b61034d610444366004612ac2565b60046020526000908152604090205481565b610318610464366004612ac2565b610d0b565b610318610d7d565b61031861047f3660046129e0565b610d86565b61034d610492366004612ac2565b600c6020526000908152604090205481565b6102f06104b2366004612ac2565b60016020526000908152604090205460ff1681565b6103186104d5366004612ac2565b610e17565b610318610e89565b6000546001600160a01b03165b6040516001600160a01b0390911681526020016102fc565b6103186105153660046129ab565b610ef0565b61034d610528366004612afc565b610fbd565b61034d61053b366004612afc565b611089565b61058261054e3660046129ab565b60076020526000908152604090208054600182015460028301546003909301546001600160a01b0392831693919092169184565b604080516001600160a01b0395861681529490931660208501529183015260608201526080016102fc565b61034d60095481565b6103186105c43660046129e0565b61111c565b61034d6105d7366004612ac2565b60056020526000908152604090205481565b6103186105f7366004612a56565b6111d6565b6104ef7f000000000000000000000000000000000000000000000000000000000000000081565b61031861136d565b6102f0610639366004612ac2565b60026020526000908152604090205460ff1681565b6102f061065c366004612ac2565b6001600160a01b031660009081526002602052604090205460ff1690565b610318610688366004612ac2565b611376565b61031861069b366004612ac2565b6113e8565b61034d6106ae366004612ac2565b60066020526000908152604090205481565b61034d6106ce366004612b5a565b6114d6565b6103186106e1366004612a56565b611921565b336106f96000546001600160a01b031690565b6001600160a01b0316146107545760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064015b60405180910390fd5b6001600160a01b0382166000908152600b60205260408120805483929061077c908490612c5f565b90915550506001600160a01b0382166000818152600b6020908152604091829020548251938452908301527feb2f7272b55acd6dea98f5742868e8d2221ad82acb36b2d0cdd00150290e949991015b60405180910390a15050565b3360009081526002602052604090205460ff1661082f5760405162461bcd60e51b815260206004820152601660248201527521b0b63632b91034b9903737ba1033b7bb32b93737b960511b604482015260640161074b565b8281146108705760405162461bcd60e51b815260206004820152600f60248201526e0d8cadccee8d040dad2e6dac2e8c6d608b1b604482015260640161074b565b60005b8381101561096e5782828281811061088d5761088d612c72565b90506020020135600860008787858181106108aa576108aa612c72565b90506020020160208101906108bf9190612ac2565b6001600160a01b031681526020810191909152604001600020557fceaad6533bfb481492fb3e08ef19297f46611b8fa9de5ef4cf8dc23a56ad09ce85858381811061090c5761090c612c72565b90506020020160208101906109219190612ac2565b84848481811061093357610933612c72565b604080516001600160a01b0390951685526020918202939093013590840152500160405180910390a18061096681612c88565b915050610873565b5050505050565b336109886000546001600160a01b031690565b6001600160a01b0316146109de5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161074b565b6109e781611ab8565b50565b3360009081526002602052604090205460ff16610a425760405162461bcd60e51b815260206004820152601660248201527521b0b63632b91034b9903737ba1033b7bb32b93737b960511b604482015260640161074b565b60098190556040518181527fc0a39f234199b125fb93713c4d067bdcebbf691087f87b79c0feb92b156ba8b6906020015b60405180910390a150565b3360009081526001602052604090205460ff16610add5760405162461bcd60e51b815260206004820152601460248201527f43616c6c6572206973206e6f7420706175736572000000000000000000000000604482015260640161074b565b610ae5611b75565b565b3360009081526002602052604090205460ff16610b3f5760405162461bcd60e51b815260206004820152601660248201527521b0b63632b91034b9903737ba1033b7bb32b93737b960511b604482015260640161074b565b828114610b805760405162461bcd60e51b815260206004820152600f60248201526e0d8cadccee8d040dad2e6dac2e8c6d608b1b604482015260640161074b565b60005b8381101561096e57828282818110610b9d57610b9d612c72565b9050602002013560056000878785818110610bba57610bba612c72565b9050602002016020810190610bcf9190612ac2565b6001600160a01b031681526020810191909152604001600020557f608e49c22994f20b5d3496dca088b88dfd81b4a3e8cc3809ea1e10a320107e89858583818110610c1c57610c1c612c72565b9050602002016020810190610c319190612ac2565b848484818110610c4357610c43612c72565b604080516001600160a01b0390951685526020918202939093013590840152500160405180910390a180610c7681612c88565b915050610b83565b3360009081526002602052604090205460ff16610cd65760405162461bcd60e51b815260206004820152601660248201527521b0b63632b91034b9903737ba1033b7bb32b93737b960511b604482015260640161074b565b60038190556040518181527f2664fec2ff76486ac58ed087310855b648b15b9d19f3de8529e95f7c46b7d6b390602001610a73565b33610d1e6000546001600160a01b031690565b6001600160a01b031614610d745760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161074b565b6109e781611c1b565b610ae533611c1b565b33610d996000546001600160a01b031690565b6001600160a01b031614610def5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161074b565b6001600160a01b0382166000908152600b60205260408120805483929061077c908490612ca1565b33610e2a6000546001600160a01b031690565b6001600160a01b031614610e805760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161074b565b6109e781611cd4565b3360009081526001602052604090205460ff16610ee85760405162461bcd60e51b815260206004820152601460248201527f43616c6c6572206973206e6f7420706175736572000000000000000000000000604482015260640161074b565b610ae5611d92565b600054600160a01b900460ff1615610f3d5760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b604482015260640161074b565b6000610f4882611e1a565b6020810151815160408084015190516340c10f1960e01b81526001600160a01b039283166004820152602481019190915292935016906340c10f1990604401600060405180830381600087803b158015610fa157600080fd5b505af1158015610fb5573d6000803e3d6000fd5b505050505050565b60008054600160a01b900460ff161561100b5760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b604482015260640161074b565b600061101a8787878787611fec565b60405163079cc67960e41b8152336004820152602481018890529091506001600160a01b038816906379cc6790906044015b600060405180830381600087803b15801561106657600080fd5b505af115801561107a573d6000803e3d6000fd5b50929998505050505050505050565b60008054600160a01b900460ff16156110d75760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b604482015260640161074b565b60006110e68787878787611fec565b604051632770a7eb60e21b8152336004820152602481018890529091506001600160a01b03881690639dc29fac9060440161104c565b3361112f6000546001600160a01b031690565b6001600160a01b0316146111855760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161074b565b6001600160a01b0382166000818152600b6020908152604091829020849055815192835282018390527feb2f7272b55acd6dea98f5742868e8d2221ad82acb36b2d0cdd00150290e949991016107cb565b3360009081526002602052604090205460ff1661122e5760405162461bcd60e51b815260206004820152601660248201527521b0b63632b91034b9903737ba1033b7bb32b93737b960511b604482015260640161074b565b82811461126f5760405162461bcd60e51b815260206004820152600f60248201526e0d8cadccee8d040dad2e6dac2e8c6d608b1b604482015260640161074b565b60005b8381101561096e5782828281811061128c5761128c612c72565b90506020020135600c60008787858181106112a9576112a9612c72565b90506020020160208101906112be9190612ac2565b6001600160a01b031681526020810191909152604001600020557f3796cd0b17a8734f8da819920625598e9a18be490f686725282e5383f1d0668385858381811061130b5761130b612c72565b90506020020160208101906113209190612ac2565b84848481811061133257611332612c72565b604080516001600160a01b0390951685526020918202939093013590840152500160405180910390a18061136581612c88565b915050611272565b610ae53361228c565b336113896000546001600160a01b031690565b6001600160a01b0316146113df5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161074b565b6109e78161228c565b336113fb6000546001600160a01b031690565b6001600160a01b0316146114515760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161074b565b6001600160a01b0381166114cd5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f6464726573730000000000000000000000000000000000000000000000000000606482015260840161074b565b6109e781612345565b60008054600160a01b900460ff16156115245760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b604482015260640161074b565b6000463060405160200161156192919091825260601b6bffffffffffffffffffffffff1916602082015263135a5b9d60e21b603482015260380190565b6040516020818303038152906040528051906020012090507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663682dbc22828c8c6040516020016115bd93929190612cb4565b6040516020818303038152906040528a8a8a8a8a8a6040518863ffffffff1660e01b81526004016115f49796959493929190612e18565b60006040518083038186803b15801561160c57600080fd5b505afa158015611620573d6000803e3d6000fd5b5050505060006116658b8b8080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152506123a292505050565b6020818101518251604080850151606080870151608088015160a089015185516bffffffffffffffffffffffff1998851b8916818b015296841b88166034880152604887019490945290821b8616606886015277ffffffffffffffffffffffffffffffffffffffffffffffff1960c09190911b16607c850152608484019190915230901b90921660a48201528151808203609801815260b890910182528051908301206000818152600a9093529120549192509060ff16156117595760405162461bcd60e51b815260206004820152600d60248201526c7265636f72642065786973747360981b604482015260640161074b565b6000818152600a602052604090819020805460ff1916600117905582519083015161178491906124fe565b81516001600160a01b031660009081526008602052604090205480158015906117b05750808360400151115b156117d2576117cd8284602001518560000151866040015161261c565b611842565b8251602084015160408086015190516340c10f1960e01b81526001600160a01b03928316600482015260248101919091529116906340c10f1990604401600060405180830381600087803b15801561182957600080fd5b505af115801561183d573d6000803e3d6000fd5b505050505b60408084015184516001600160a01b03166000908152600b602052918220805491929091611871908490612ca1565b925050819055507f5bc84ecccfced5bb04bfc7f3efcdbe7f5cd21949ef146811b4d1967fe41f777a8284600001518560200151866040015187608001518860a00151896060015160405161190997969594939291909687526001600160a01b0395861660208801529385166040870152606086019290925267ffffffffffffffff16608085015260a08401521660c082015260e00190565b60405180910390a1509b9a5050505050505050505050565b3360009081526002602052604090205460ff166119795760405162461bcd60e51b815260206004820152601660248201527521b0b63632b91034b9903737ba1033b7bb32b93737b960511b604482015260640161074b565b8281146119ba5760405162461bcd60e51b815260206004820152600f60248201526e0d8cadccee8d040dad2e6dac2e8c6d608b1b604482015260640161074b565b60005b8381101561096e578282828181106119d7576119d7612c72565b90506020020135600d60008787858181106119f4576119f4612c72565b9050602002016020810190611a099190612ac2565b6001600160a01b031681526020810191909152604001600020557fa3181379f6db47d9037efc6b6e8e3efe8c55ddb090b4f0512c152f97c4e47da5858583818110611a5657611a56612c72565b9050602002016020810190611a6b9190612ac2565b848484818110611a7d57611a7d612c72565b604080516001600160a01b0390951685526020918202939093013590840152500160405180910390a180611ab081612c88565b9150506119bd565b6001600160a01b03811660009081526002602052604090205460ff1615611b215760405162461bcd60e51b815260206004820152601b60248201527f4163636f756e7420697320616c726561647920676f7665726e6f720000000000604482015260640161074b565b6001600160a01b038116600081815260026020908152604091829020805460ff1916600117905590519182527fdc5a48d79e2e147530ff63ecdbed5a5a66adb9d5cf339384d5d076da197c40b59101610a73565b600054600160a01b900460ff16611bce5760405162461bcd60e51b815260206004820152601460248201527f5061757361626c653a206e6f7420706175736564000000000000000000000000604482015260640161074b565b6000805460ff60a01b191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b6001600160a01b03811660009081526001602052604090205460ff16611c835760405162461bcd60e51b815260206004820152601560248201527f4163636f756e74206973206e6f74207061757365720000000000000000000000604482015260640161074b565b6001600160a01b038116600081815260016020908152604091829020805460ff1916905590519182527fcd265ebaf09df2871cc7bd4133404a235ba12eff2041bb89d9c714a2621c7c7e9101610a73565b6001600160a01b03811660009081526001602052604090205460ff1615611d3d5760405162461bcd60e51b815260206004820152601960248201527f4163636f756e7420697320616c72656164792070617573657200000000000000604482015260640161074b565b6001600160a01b038116600081815260016020818152604092839020805460ff191690921790915590519182527f6719d08c1888103bea251a4ed56406bd0c3e69723c8a1686e017e7bbe159b6f89101610a73565b600054600160a01b900460ff1615611ddf5760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b604482015260640161074b565b6000805460ff60a01b1916600160a01b1790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258611bfe3390565b604080516080810182526000808252602082018190529181018290526060810191909152600082815260076020908152604091829020825160808101845281546001600160a01b0390811682526001830154169281019290925260028101549282019290925260039091015460608201819052611ed95760405162461bcd60e51b815260206004820152601a60248201527f64656c61796564207472616e73666572206e6f74206578697374000000000000604482015260640161074b565b6009548160600151611eeb9190612ca1565b4211611f395760405162461bcd60e51b815260206004820152601d60248201527f64656c61796564207472616e73666572207374696c6c206c6f636b6564000000604482015260640161074b565b6000838152600760209081526040808320805473ffffffffffffffffffffffffffffffffffffffff199081168255600182018054909116905560028101849055600301929092558251908301518383015192517f3b40e5089937425d14cdd96947e5661868357e224af59bd8b24a4b8a330d442693611fde93889390929091909384526001600160a01b03928316602085015291166040830152606082015260800190565b60405180910390a192915050565b6001600160a01b0385166000908152600c602052604081205485116120535760405162461bcd60e51b815260206004820152601060248201527f616d6f756e7420746f6f20736d616c6c00000000000000000000000000000000604482015260640161074b565b6001600160a01b0386166000908152600d6020526040902054158061209057506001600160a01b0386166000908152600d60205260409020548511155b6120dc5760405162461bcd60e51b815260206004820152601060248201527f616d6f756e7420746f6f206c6172676500000000000000000000000000000000604482015260640161074b565b6001600160a01b0386166000908152600b602052604081208054879290612104908490612c5f565b90915550506040516bffffffffffffffffffffffff1933606090811b8216602084015288811b821660348401526048830188905277ffffffffffffffffffffffffffffffffffffffffffffffff1960c088811b8216606886015287831b8416607086015286811b8216608486015246901b16608c84015230901b16609482015260009060a80160408051601f1981840301815291815281516020928301206000818152600a90935291205490915060ff16156121f25760405162461bcd60e51b815260206004820152600d60248201526c7265636f72642065786973747360981b604482015260640161074b565b6000818152600a6020908152604091829020805460ff1916600117905581518381526001600160a01b038a81169282019290925233928101929092526060820188905267ffffffffffffffff878116608084015290861660a0830152841660c08201527f6298d7b58f235730b3b399dc5c282f15dae8b022e5fbbf89cee21fd83c8810a39060e00160405180910390a19695505050505050565b6001600160a01b03811660009081526002602052604090205460ff166122f45760405162461bcd60e51b815260206004820152601760248201527f4163636f756e74206973206e6f7420676f7665726e6f72000000000000000000604482015260640161074b565b6001600160a01b038116600081815260026020908152604091829020805460ff1916905590519182527f1ebe834e73d60a5fec822c1e1727d34bc79f2ad977ed504581cc1822fe20fb5b9101610a73565b600080546001600160a01b0383811673ffffffffffffffffffffffffffffffffffffffff19831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6040805160c08101825260008082526020808301829052828401829052606083018290526080830182905260a0830182905283518085019094528184528301849052909190805b602083015151835110156124f6576124008361273c565b90925090508160010361242e5761241e61241984612776565b612833565b6001600160a01b031684526123e9565b816002036124555761244261241984612776565b6001600160a01b031660208501526123e9565b816003036124785761246e61246984612776565b612844565b60408501526123e9565b8160040361249f5761248c61241984612776565b6001600160a01b031660608501526123e9565b816005036124c4576124b08361287b565b67ffffffffffffffff1660808501526123e9565b816006036124e7576124dd6124d884612776565b6128f6565b60a08501526123e9565b6124f1838261290e565b6123e9565b505050919050565b60035460000361250c575050565b6001600160a01b0382166000908152600560205260408120549081900361253257505050565b6001600160a01b0383166000908152600460205260408120546003549091429161255c8184612ead565b6125669190612ecf565b6001600160a01b0387166000908152600660205260409020549091508111156125915784925061259e565b61259b8584612ca1565b92505b838311156125ee5760405162461bcd60e51b815260206004820152601260248201527f766f6c756d652065786365656473206361700000000000000000000000000000604482015260640161074b565b506001600160a01b039094166000908152600460209081526040808320939093556006905220929092555050565b6000848152600760205260409020600301541561267b5760405162461bcd60e51b815260206004820152601f60248201527f64656c61796564207472616e7366657220616c72656164792065786973747300604482015260640161074b565b604080516080810182526001600160a01b0380861682528481166020808401918252838501868152426060860190815260008b81526007909352918690209451855490851673ffffffffffffffffffffffffffffffffffffffff1991821617865592516001860180549190951693169290921790925551600283015551600390910155517fcbcfffe5102114216a85d3aceb14ad4b81a3935b1b5c468fadf3889eb9c5dce69061272e9086815260200190565b60405180910390a150505050565b600080600061274a8461287b565b9050612757600882612ead565b925080600716600581111561276e5761276e612ee6565b915050915091565b606060006127838361287b565b905060008184600001516127979190612ca1565b90508360200151518111156127ab57600080fd5b8167ffffffffffffffff8111156127c4576127c4612efc565b6040519080825280601f01601f1916602001820160405280156127ee576020820181803683370190505b50602080860151865192955091818601919083010160005b85811015612828578181015183820152612821602082612ca1565b9050612806565b505050935250919050565b600061283e82612983565b92915050565b600060208251111561285557600080fd5b602082015190508151602061286a9190612c5f565b612875906008612ecf565b1c919050565b602080820151825181019091015160009182805b600a8110156102c85783811a91506128a8816007612ecf565b82607f16901b85179450816080166000036128e4576128c8816001612ca1565b865187906128d7908390612ca1565b9052509395945050505050565b806128ee81612c88565b91505061288f565b6000815160201461290657600080fd5b506020015190565b600081600581111561292257612922612ee6565b03612935576129308261287b565b505050565b600281600581111561294957612949612ee6565b036102c85760006129598361287b565b9050808360000181815161296d9190612ca1565b9052506020830151518351111561293057600080fd5b6000815160141461299357600080fd5b50602001516c01000000000000000000000000900490565b6000602082840312156129bd57600080fd5b5035919050565b80356001600160a01b03811681146129db57600080fd5b919050565b600080604083850312156129f357600080fd5b6129fc836129c4565b946020939093013593505050565b60008083601f840112612a1c57600080fd5b50813567ffffffffffffffff811115612a3457600080fd5b6020830191508360208260051b8501011115612a4f57600080fd5b9250929050565b60008060008060408587031215612a6c57600080fd5b843567ffffffffffffffff80821115612a8457600080fd5b612a9088838901612a0a565b90965094506020870135915080821115612aa957600080fd5b50612ab687828801612a0a565b95989497509550505050565b600060208284031215612ad457600080fd5b612add826129c4565b9392505050565b803567ffffffffffffffff811681146129db57600080fd5b600080600080600060a08688031215612b1457600080fd5b612b1d866129c4565b945060208601359350612b3260408701612ae4565b9250612b40606087016129c4565b9150612b4e60808701612ae4565b90509295509295909350565b6000806000806000806000806080898b031215612b7657600080fd5b883567ffffffffffffffff80821115612b8e57600080fd5b818b0191508b601f830112612ba257600080fd5b813581811115612bb157600080fd5b8c6020828501011115612bc357600080fd5b60209283019a509850908a01359080821115612bde57600080fd5b612bea8c838d01612a0a565b909850965060408b0135915080821115612c0357600080fd5b612c0f8c838d01612a0a565b909650945060608b0135915080821115612c2857600080fd5b50612c358b828c01612a0a565b999c989b5096995094979396929594505050565b634e487b7160e01b600052601160045260246000fd5b8181038181111561283e5761283e612c49565b634e487b7160e01b600052603260045260246000fd5b600060018201612c9a57612c9a612c49565b5060010190565b8082018082111561283e5761283e612c49565b838152818360208301376000910160200190815292915050565b81835281816020850137506000828201602090810191909152601f909101601f19169091010190565b818352600060208085019450848460051b86018460005b87811015612d795783830389528135601e19883603018112612d2f57600080fd5b8701858101903567ffffffffffffffff811115612d4b57600080fd5b803603821315612d5a57600080fd5b612d65858284612cce565b9a87019a9450505090840190600101612d0e565b5090979650505050505050565b8183526000602080850194508260005b85811015612dc2576001600160a01b03612daf836129c4565b1687529582019590820190600101612d96565b509495945050505050565b81835260007f07ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff831115612dff57600080fd5b8260051b80836020870137939093016020019392505050565b608081526000885180608084015260005b81811015612e46576020818c0181015160a0868401015201612e29565b50600060a08285010152601f19601f8201168301905060a0838203016020840152612e7560a08201898b612cf7565b90508281036040840152612e8a818789612d86565b90508281036060840152612e9f818587612dcd565b9a9950505050505050505050565b600082612eca57634e487b7160e01b600052601260045260246000fd5b500490565b808202811582820484141761283e5761283e612c49565b634e487b7160e01b600052602160045260246000fd5b634e487b7160e01b600052604160045260246000fdfea2646970667358221220f992bfc0eafc1c90bf7fb88b0ea95d60f3ecce8e29b7962eaca58569626cd22264736f6c63430008110033",
}

PeggedTokenBridgeV2MetaData contains all meta data concerning the PeggedTokenBridgeV2 contract.

View Source
var SGNABI = SGNMetaData.ABI

SGNABI is the input ABI used to generate the binding from. Deprecated: Use SGNMetaData.ABI instead.

View Source
var SGNBin = SGNMetaData.Bin

SGNBin is the compiled bytecode used for deploying new contracts. Deprecated: Use SGNMetaData.Bin instead.

View Source
var SGNMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[{\"internalType\":\"contractStaking\",\"name\":\"_staking\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"depositId\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"Deposit\",\"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\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"Paused\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"PauserAdded\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"PauserRemoved\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"valAddr\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"oldAddr\",\"type\":\"bytes\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"newAddr\",\"type\":\"bytes\"}],\"name\":\"SgnAddrUpdate\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"Unpaused\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"Withdraw\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"addPauser\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_token\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"}],\"name\":\"deposit\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"deposits\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_token\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"}],\"name\":\"drainToken\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"isPauser\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"pause\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"paused\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"pausers\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"removePauser\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renouncePauser\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"sgnAddrs\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"staking\",\"outputs\":[{\"internalType\":\"contractStaking\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"unpause\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"_sgnAddr\",\"type\":\"bytes\"}],\"name\":\"updateSgnAddr\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"_withdrawalRequest\",\"type\":\"bytes\"},{\"internalType\":\"bytes[]\",\"name\":\"_sigs\",\"type\":\"bytes[]\"}],\"name\":\"withdraw\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"withdrawnAmts\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"}]",
	Bin: "0x60a06040523480156200001157600080fd5b506040516200211838038062002118833981016040819052620000349162000182565b6200003f3362000069565b6000805460ff60a01b191690556200005733620000b9565b6001600160a01b0316608052620001b4565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6001600160a01b03811660009081526001602052604090205460ff1615620001275760405162461bcd60e51b815260206004820152601960248201527f4163636f756e7420697320616c72656164792070617573657200000000000000604482015260640160405180910390fd5b6001600160a01b038116600081815260016020818152604092839020805460ff191690921790915590519182527f6719d08c1888103bea251a4ed56406bd0c3e69723c8a1686e017e7bbe159b6f8910160405180910390a150565b6000602082840312156200019557600080fd5b81516001600160a01b0381168114620001ad57600080fd5b9392505050565b608051611f25620001f36000396000818161019e015281816107c301528181610851015281816108e901528181610a990152610c0d0152611f256000f3fe608060405234801561001057600080fd5b50600436106101365760003560e01c806382dc1ec4116100b2578063b02c43d011610081578063d0bb935111610066578063d0bb9351146102d3578063d88ef271146102e6578063f2fde38b146102f957600080fd5b8063b02c43d0146102a0578063c429fe1f146102b357600080fd5b806382dc1ec4146102615780638456cb59146102745780638da5cb5b1461027c5780639d4323be1461028d57600080fd5b80635c975abb116101095780636ef8d66d116100ee5780636ef8d66d146101fd578063795c2c141461020557806380f51c121461023e57600080fd5b80635c975abb146101d85780636b2c0f55146101ea57600080fd5b80633f4ba83a1461013b57806346fbf68e1461014557806347e7ef24146101865780634cf088d914610199575b600080fd5b61014361030c565b005b6101716101533660046118ca565b6001600160a01b031660009081526001602052604090205460ff1690565b60405190151581526020015b60405180910390f35b6101436101943660046118e7565b61037a565b6101c07f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b03909116815260200161017d565b600054600160a01b900460ff16610171565b6101436101f83660046118ca565b6104b4565b610143610529565b610230610213366004611913565b600360209081526000928352604080842090915290825290205481565b60405190815260200161017d565b61017161024c3660046118ca565b60016020526000908152604090205460ff1681565b61014361026f3660046118ca565b610532565b6101436105a4565b6000546001600160a01b03166101c0565b61014361029b3660046118e7565b61060b565b6102306102ae36600461194c565b6106e5565b6102c66102c13660046118ca565b610706565b60405161017d91906119b5565b6101436102e1366004611a11565b6107a0565b6101436102f4366004611a53565b610b50565b6101436103073660046118ca565b610e37565b3360009081526001602052604090205460ff166103705760405162461bcd60e51b815260206004820152601460248201527f43616c6c6572206973206e6f742070617573657200000000000000000000000060448201526064015b60405180910390fd5b610378610f25565b565b600054600160a01b900460ff16156103c75760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b6044820152606401610367565b6040516bffffffffffffffffffffffff1933606081811b8316602085015285901b9091166034830152604882018390529060029060680160408051601f1981840301815291905280516020918201208254600181018455600093845291909220015561043e6001600160a01b038416823085610fcb565b60025460009061045090600190611b03565b6040805167ffffffffffffffff831681526001600160a01b0385811660208301528716818301526060810186905290519192507f2c0f148b435140de488c1b34647f1511c646f7077e87007bacf22ef9977a16d8919081900360800190a150505050565b336104c76000546001600160a01b031690565b6001600160a01b03161461051d5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610367565b61052681611069565b50565b61037833611069565b336105456000546001600160a01b031690565b6001600160a01b03161461059b5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610367565b61052681611129565b3360009081526001602052604090205460ff166106035760405162461bcd60e51b815260206004820152601460248201527f43616c6c6572206973206e6f74207061757365720000000000000000000000006044820152606401610367565b6103786111e7565b600054600160a01b900460ff166106645760405162461bcd60e51b815260206004820152601460248201527f5061757361626c653a206e6f74207061757365640000000000000000000000006044820152606401610367565b336106776000546001600160a01b031690565b6001600160a01b0316146106cd5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610367565b6106e16001600160a01b038316338361126f565b5050565b600281815481106106f557600080fd5b600091825260209091200154905081565b6004602052600090815260409020805461071f90611b16565b80601f016020809104026020016040519081016040528092919081815260200182805461074b90611b16565b80156107985780601f1061076d57610100808354040283529160200191610798565b820191906000526020600020905b81548152906001019060200180831161077b57829003601f168201915b505050505081565b604051636d30878360e01b81523360048201819052906000906001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001690636d30878390602401602060405180830381865afa15801561080a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061082e9190611b50565b6001600160a01b0316146108c757604051636d30878360e01b81523360048201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031690636d30878390602401602060405180830381865afa1580156108a0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108c49190611b50565b90505b60405163a310624f60e01b81526001600160a01b0382811660048301526000917f00000000000000000000000000000000000000000000000000000000000000009091169063a310624f90602401602060405180830381865afa158015610932573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109569190611b6d565b9050600181600381111561096c5761096c611b8e565b146109b95760405162461bcd60e51b815260206004820152601660248201527f4e6f7420756e626f6e6465642076616c696461746f72000000000000000000006044820152606401610367565b6001600160a01b038216600090815260046020526040812080546109dc90611b16565b80601f0160208091040260200160405190810160405280929190818152602001828054610a0890611b16565b8015610a555780601f10610a2a57610100808354040283529160200191610a55565b820191906000526020600020905b815481529060010190602001808311610a3857829003601f168201915b505050506001600160a01b0385166000908152600460205260409020919250610a819050858783611c08565b506040516309146f1160e41b81526001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001690639146f11090610ad290869089908990600401611cf2565b600060405180830381600087803b158015610aec57600080fd5b505af1158015610b00573d6000803e3d6000fd5b50505050826001600160a01b03167f8ec5397226cce05bb5f1189621dc680f015802f7f73f89be1a9e89b6af41dcb4828787604051610b4193929190611d52565b60405180910390a25050505050565b600054600160a01b900460ff1615610b9d5760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b6044820152606401610367565b60004630604051602001610bf392919091825260601b6bffffffffffffffffffffffff191660208201527f5769746864726177616c000000000000000000000000000000000000000000006034820152603e0190565b6040516020818303038152906040528051906020012090507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316638a74d5fe828787604051602001610c4f93929190611d82565b60405160208183030381529060405285856040518463ffffffff1660e01b8152600401610c7e93929190611d9c565b602060405180830381865afa158015610c9b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cbf9190611e4c565b506000610d0186868080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152506112a492505050565b80516001600160a01b039081166000908152600360209081526040808320828601519094168352929052818120549183015192935091610d419190611b03565b905060008111610d935760405162461bcd60e51b815260206004820152601960248201527f4e6f206e657720616d6f756e7420746f207769746864726177000000000000006044820152606401610367565b60408083015183516001600160a01b0390811660009081526003602090815284822081880180518516845291529390209190915583519151610dd8929116908361126f565b8151602080840151604080516001600160a01b039485168152939091169183019190915281018290527f9b1bfa7fa9ee420a16e124f794c35ac9f90472acc99140eb2f6447c714cad8eb9060600160405180910390a150505050505050565b33610e4a6000546001600160a01b031690565b6001600160a01b031614610ea05760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610367565b6001600160a01b038116610f1c5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610367565b6105268161137c565b600054600160a01b900460ff16610f7e5760405162461bcd60e51b815260206004820152601460248201527f5061757361626c653a206e6f74207061757365640000000000000000000000006044820152606401610367565b6000805460ff60a01b191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b6040516001600160a01b03808516602483015283166044820152606481018290526110639085906323b872dd60e01b906084015b60408051601f198184030181529190526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fffffffff00000000000000000000000000000000000000000000000000000000909316929092179091526113e4565b50505050565b6001600160a01b03811660009081526001602052604090205460ff166110d15760405162461bcd60e51b815260206004820152601560248201527f4163636f756e74206973206e6f742070617573657200000000000000000000006044820152606401610367565b6001600160a01b038116600081815260016020908152604091829020805460ff1916905590519182527fcd265ebaf09df2871cc7bd4133404a235ba12eff2041bb89d9c714a2621c7c7e91015b60405180910390a150565b6001600160a01b03811660009081526001602052604090205460ff16156111925760405162461bcd60e51b815260206004820152601960248201527f4163636f756e7420697320616c726561647920706175736572000000000000006044820152606401610367565b6001600160a01b038116600081815260016020818152604092839020805460ff191690921790915590519182527f6719d08c1888103bea251a4ed56406bd0c3e69723c8a1686e017e7bbe159b6f8910161111e565b600054600160a01b900460ff16156112345760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b6044820152606401610367565b6000805460ff60a01b1916600160a01b1790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258610fae3390565b6040516001600160a01b03831660248201526044810182905261129f90849063a9059cbb60e01b90606401610fff565b505050565b604080516060810182526000808252602080830182905282840182905283518085019094528184528301849052909190805b60208301515183511015611374576112ed836114c9565b90925090508160010361131b5761130b61130684611503565b6115c0565b6001600160a01b031684526112d6565b816002036113425761132f61130684611503565b6001600160a01b031660208501526112d6565b816003036113655761135b61135684611503565b6115d1565b60408501526112d6565b61136f8382611608565b6112d6565b505050919050565b600080546001600160a01b038381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000611439826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166116789092919063ffffffff16565b80519091501561129f57808060200190518101906114579190611e4c565b61129f5760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e60448201527f6f742073756363656564000000000000000000000000000000000000000000006064820152608401610367565b60008060006114d784611691565b90506114e4600882611e6e565b92508060071660058111156114fb576114fb611b8e565b915050915091565b6060600061151083611691565b905060008184600001516115249190611e90565b905083602001515181111561153857600080fd5b8167ffffffffffffffff81111561155157611551611ba4565b6040519080825280601f01601f19166020018201604052801561157b576020820181803683370190505b50602080860151865192955091818601919083010160005b858110156115b55781810151838201526115ae602082611e90565b9050611593565b505050935250919050565b60006115cb8261170c565b92915050565b60006020825111156115e257600080fd5b60208201519050815160206115f79190611b03565b611602906008611ea3565b1c919050565b600081600581111561161c5761161c611b8e565b0361162a5761129f82611691565b600281600581111561163e5761163e611b8e565b0361013657600061164e83611691565b905080836000018181516116629190611e90565b9052506020830151518351111561129f57600080fd5b60606116878484600085611734565b90505b9392505050565b602080820151825181019091015160009182805b600a8110156101365783811a91506116be816007611ea3565b82607f16901b85179450816080166000036116fa576116de816001611e90565b865187906116ed908390611e90565b9052509395945050505050565b8061170481611eba565b9150506116a5565b6000815160141461171c57600080fd5b50602001516c01000000000000000000000000900490565b6060824710156117ac5760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f60448201527f722063616c6c00000000000000000000000000000000000000000000000000006064820152608401610367565b6001600160a01b0385163b6118035760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610367565b600080866001600160a01b0316858760405161181f9190611ed3565b60006040518083038185875af1925050503d806000811461185c576040519150601f19603f3d011682016040523d82523d6000602084013e611861565b606091505b509150915061187182828661187c565b979650505050505050565b6060831561188b57508161168a565b82511561189b5782518084602001fd5b8160405162461bcd60e51b815260040161036791906119b5565b6001600160a01b038116811461052657600080fd5b6000602082840312156118dc57600080fd5b813561168a816118b5565b600080604083850312156118fa57600080fd5b8235611905816118b5565b946020939093013593505050565b6000806040838503121561192657600080fd5b8235611931816118b5565b91506020830135611941816118b5565b809150509250929050565b60006020828403121561195e57600080fd5b5035919050565b60005b83811015611980578181015183820152602001611968565b50506000910152565b600081518084526119a1816020860160208601611965565b601f01601f19169290920160200192915050565b60208152600061168a6020830184611989565b60008083601f8401126119da57600080fd5b50813567ffffffffffffffff8111156119f257600080fd5b602083019150836020828501011115611a0a57600080fd5b9250929050565b60008060208385031215611a2457600080fd5b823567ffffffffffffffff811115611a3b57600080fd5b611a47858286016119c8565b90969095509350505050565b60008060008060408587031215611a6957600080fd5b843567ffffffffffffffff80821115611a8157600080fd5b611a8d888389016119c8565b90965094506020870135915080821115611aa657600080fd5b818701915087601f830112611aba57600080fd5b813581811115611ac957600080fd5b8860208260051b8501011115611ade57600080fd5b95989497505060200194505050565b634e487b7160e01b600052601160045260246000fd5b818103818111156115cb576115cb611aed565b600181811c90821680611b2a57607f821691505b602082108103611b4a57634e487b7160e01b600052602260045260246000fd5b50919050565b600060208284031215611b6257600080fd5b815161168a816118b5565b600060208284031215611b7f57600080fd5b81516004811061168a57600080fd5b634e487b7160e01b600052602160045260246000fd5b634e487b7160e01b600052604160045260246000fd5b601f82111561129f57600081815260208120601f850160051c81016020861015611be15750805b601f850160051c820191505b81811015611c0057828155600101611bed565b505050505050565b67ffffffffffffffff831115611c2057611c20611ba4565b611c3483611c2e8354611b16565b83611bba565b6000601f841160018114611c685760008515611c505750838201355b600019600387901b1c1916600186901b178355611cc2565b600083815260209020601f19861690835b82811015611c995786850135825560209485019460019092019101611c79565b5086821015611cb65760001960f88860031b161c19848701351681555b505060018560011b0183555b5050505050565b81835281816020850137506000828201602090810191909152601f909101601f19169091010190565b6001600160a01b038416815260606020820152600860608201527f73676e2d61646472000000000000000000000000000000000000000000000000608082015260a060408201526000611d4960a083018486611cc9565b95945050505050565b604081526000611d656040830186611989565b8281036020840152611d78818587611cc9565b9695505050505050565b838152818360208301376000910160200190815292915050565b604081526000611daf6040830186611989565b602083820381850152818583528183019050818660051b8401018760005b88811015611e3d57858303601f190184528135368b9003601e19018112611df357600080fd5b8a01858101903567ffffffffffffffff811115611e0f57600080fd5b803603821315611e1e57600080fd5b611e29858284611cc9565b958701959450505090840190600101611dcd565b50909998505050505050505050565b600060208284031215611e5e57600080fd5b8151801515811461168a57600080fd5b600082611e8b57634e487b7160e01b600052601260045260246000fd5b500490565b808201808211156115cb576115cb611aed565b80820281158282048414176115cb576115cb611aed565b600060018201611ecc57611ecc611aed565b5060010190565b60008251611ee5818460208701611965565b919091019291505056fea264697066735822122025ab68786e4615a176551d523f95e2c7c4705b78a6045216c56e1d3d1003439f64736f6c63430008110033",
}

SGNMetaData contains all meta data concerning the SGN contract.

View Source
var StakingABI = StakingMetaData.ABI

StakingABI is the input ABI used to generate the binding from. Deprecated: Use StakingMetaData.ABI instead.

View Source
var StakingBin = StakingMetaData.Bin

StakingBin is the compiled bytecode used for deploying new contracts. Deprecated: Use StakingMetaData.Bin instead.

View Source
var StakingMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_celerTokenAddress\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_proposalDeposit\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_votingPeriod\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_unbondingPeriod\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_maxBondedValidators\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_minValidatorTokens\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_minSelfDelegation\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_advanceNoticePeriod\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_validatorBondInterval\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_maxSlashFactor\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"valAddr\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"delAddr\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"valTokens\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"delShares\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"int256\",\"name\":\"tokenDiff\",\"type\":\"int256\"}],\"name\":\"DelegationUpdate\",\"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\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"Paused\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"PauserAdded\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"PauserRemoved\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"valAddr\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint64\",\"name\":\"nonce\",\"type\":\"uint64\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"slashAmt\",\"type\":\"uint256\"}],\"name\":\"Slash\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"SlashAmtCollected\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"valAddr\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"delAddr\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"Undelegated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"Unpaused\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"valAddr\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"string\",\"name\":\"key\",\"type\":\"string\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"}],\"name\":\"ValidatorNotice\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"valAddr\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"enumDataTypes.ValidatorStatus\",\"name\":\"status\",\"type\":\"uint8\"}],\"name\":\"ValidatorStatusUpdate\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"WhitelistedAdded\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"WhitelistedRemoved\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"CELER_TOKEN\",\"outputs\":[{\"internalType\":\"contractIERC20\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"addPauser\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"addWhitelisted\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"bondValidator\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"bondedTokens\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"bondedValAddrs\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"collectForfeiture\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_valAddr\",\"type\":\"address\"}],\"name\":\"completeUndelegate\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_valAddr\",\"type\":\"address\"}],\"name\":\"confirmUnbondedValidator\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_valAddr\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_tokens\",\"type\":\"uint256\"}],\"name\":\"delegate\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"}],\"name\":\"drainToken\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"forfeiture\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getBondedValidatorNum\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getBondedValidatorsTokens\",\"outputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"valAddr\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokens\",\"type\":\"uint256\"}],\"internalType\":\"structDataTypes.ValidatorTokens[]\",\"name\":\"\",\"type\":\"tuple[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_valAddr\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_delAddr\",\"type\":\"address\"}],\"name\":\"getDelegatorInfo\",\"outputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"valAddr\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokens\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"shares\",\"type\":\"uint256\"},{\"components\":[{\"internalType\":\"uint256\",\"name\":\"shares\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"creationBlock\",\"type\":\"uint256\"}],\"internalType\":\"structDataTypes.Undelegation[]\",\"name\":\"undelegations\",\"type\":\"tuple[]\"},{\"internalType\":\"uint256\",\"name\":\"undelegationTokens\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"withdrawableUndelegationTokens\",\"type\":\"uint256\"}],\"internalType\":\"structDataTypes.DelegatorInfo\",\"name\":\"\",\"type\":\"tuple\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"enumDataTypes.ParamName\",\"name\":\"_name\",\"type\":\"uint8\"}],\"name\":\"getParamValue\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getQuorumTokens\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getValidatorNum\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_valAddr\",\"type\":\"address\"}],\"name\":\"getValidatorStatus\",\"outputs\":[{\"internalType\":\"enumDataTypes.ValidatorStatus\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_valAddr\",\"type\":\"address\"}],\"name\":\"getValidatorTokens\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"govContract\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_valAddr\",\"type\":\"address\"},{\"internalType\":\"bool\",\"name\":\"_checkSelfDelegation\",\"type\":\"bool\"}],\"name\":\"hasMinRequiredTokens\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_signer\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_minSelfDelegation\",\"type\":\"uint256\"},{\"internalType\":\"uint64\",\"name\":\"_commissionRate\",\"type\":\"uint64\"}],\"name\":\"initializeValidator\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_addr\",\"type\":\"address\"}],\"name\":\"isBondedValidator\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"isPauser\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"isWhitelisted\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"nextBondBlock\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"enumDataTypes.ParamName\",\"name\":\"\",\"type\":\"uint8\"}],\"name\":\"params\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"pause\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"paused\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"pausers\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"removePauser\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"removeWhitelisted\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renouncePauser\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"rewardContract\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_addr\",\"type\":\"address\"}],\"name\":\"setGovContract\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_maxSlashFactor\",\"type\":\"uint256\"}],\"name\":\"setMaxSlashFactor\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"enumDataTypes.ParamName\",\"name\":\"_name\",\"type\":\"uint8\"},{\"internalType\":\"uint256\",\"name\":\"_value\",\"type\":\"uint256\"}],\"name\":\"setParamValue\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_addr\",\"type\":\"address\"}],\"name\":\"setRewardContract\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bool\",\"name\":\"_whitelistEnabled\",\"type\":\"bool\"}],\"name\":\"setWhitelistEnabled\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"signerVals\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"_slashRequest\",\"type\":\"bytes\"},{\"internalType\":\"bytes[]\",\"name\":\"_sigs\",\"type\":\"bytes[]\"}],\"name\":\"slash\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"slashNonces\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_valAddr\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_shares\",\"type\":\"uint256\"}],\"name\":\"undelegateShares\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_valAddr\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_tokens\",\"type\":\"uint256\"}],\"name\":\"undelegateTokens\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"unpause\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint64\",\"name\":\"_newRate\",\"type\":\"uint64\"}],\"name\":\"updateCommissionRate\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_minSelfDelegation\",\"type\":\"uint256\"}],\"name\":\"updateMinSelfDelegation\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_signer\",\"type\":\"address\"}],\"name\":\"updateValidatorSigner\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"valAddrs\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_valAddr\",\"type\":\"address\"},{\"internalType\":\"string\",\"name\":\"_key\",\"type\":\"string\"},{\"internalType\":\"bytes\",\"name\":\"_data\",\"type\":\"bytes\"}],\"name\":\"validatorNotice\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"validators\",\"outputs\":[{\"internalType\":\"enumDataTypes.ValidatorStatus\",\"name\":\"status\",\"type\":\"uint8\"},{\"internalType\":\"address\",\"name\":\"signer\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokens\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"shares\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"undelegationTokens\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"undelegationShares\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"minSelfDelegation\",\"type\":\"uint256\"},{\"internalType\":\"uint64\",\"name\":\"bondBlock\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"unbondBlock\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"commissionRate\",\"type\":\"uint64\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"_msg\",\"type\":\"bytes\"},{\"internalType\":\"bytes[]\",\"name\":\"_sigs\",\"type\":\"bytes[]\"}],\"name\":\"verifySignatures\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"_msg\",\"type\":\"bytes\"},{\"internalType\":\"bytes[]\",\"name\":\"_sigs\",\"type\":\"bytes[]\"},{\"internalType\":\"address[]\",\"name\":\"\",\"type\":\"address[]\"},{\"internalType\":\"uint256[]\",\"name\":\"\",\"type\":\"uint256[]\"}],\"name\":\"verifySigs\",\"outputs\":[],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"whitelist\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"whitelistEnabled\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"stateMutability\":\"payable\",\"type\":\"receive\"}]",
	Bin: "0x60a06040523480156200001157600080fd5b50604051620062ac380380620062ac8339810160408190526200003491620002cd565b6200003f33620001b4565b6000805460ff60a01b19169055620000573362000204565b6001600160a01b0399909916608052600b6020527fdf7de25b7f1fd6d0b5205f0e18f1f35bd7b8d84cce336588d184533ce43a6f76979097557f72c6bfb7988af3a1efa6568f02a999bc52252641c659d85961ca3d372b57d5cf959095557fa50eece07c7db1631545c0069bd8f5f54d5935e215d59097edf258a44ba91634939093557f64c15cc42be7899b001f818cf4433057002112c418d1d3a67cd5cb453051d33e919091557f12d0c11577e2f0950f57c455c117796550b79f444811db8ba2f69c57b646c784557febae6141bae5521e99e0a8d610356b0f501fea54980b59c84841db43ba7204f4557f0387e9d1203691d8e3362a7e4c6723de358a4010d7f31ecbec3fbfc61d1c75fc557ff5559028dc9ba50d75343c779b2f75e13a84a14662932fc67a486f263ca31a965560086000527f71f482bdabd1ea844d62c952b094e632959690d7448ca2aab34034ec98569358556200035a565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6001600160a01b03811660009081526001602052604090205460ff1615620002725760405162461bcd60e51b815260206004820152601960248201527f4163636f756e7420697320616c72656164792070617573657200000000000000604482015260640160405180910390fd5b6001600160a01b038116600081815260016020818152604092839020805460ff191690921790915590519182527f6719d08c1888103bea251a4ed56406bd0c3e69723c8a1686e017e7bbe159b6f8910160405180910390a150565b6000806000806000806000806000806101408b8d031215620002ee57600080fd5b8a516001600160a01b03811681146200030657600080fd5b809a505060208b0151985060408b0151975060608b0151965060808b0151955060a08b0151945060c08b0151935060e08b015192506101008b015191506101208b015190509295989b9194979a5092959850565b608051615f05620003a76000396000818161098701528181610de6015281816110b001528181611c4a01528181611cc5015281816121fd015281816130ed015261467b0152615f056000f3fe6080604052600436106103855760003560e01c80636ea69d62116101d157806390e360f811610102578063b4f7fa34116100a0578063eb505dd51161006f578063eb505dd514610ad8578063eecefef814610b05578063f2fde38b14610b32578063fa52c7d814610b5257600080fd5b8063b4f7fa3414610a3f578063c8f9f98414610a5f578063dcfdc1e114610a98578063e909156d14610ab857600080fd5b8063960dc08a116100dc578063960dc08a146109755780639b19251a146109a9578063a310624f146109d9578063acc62ccf14610a1f57600080fd5b806390e360f8146109055780639146f1101461093557806392bb243c1461095557600080fd5b80638338f0e51161016f57806388d996e81161014957806388d996e81461089257806389f9aab5146108b25780638a74d5fe146108c75780638da5cb5b146108e757600080fd5b80638338f0e51461085157806383cfb318146108675780638456cb591461087d57600080fd5b80637a50dbd2116101ab5780637a50dbd2146107cc57806380f51c12146107ec57806382d7b4b81461081c57806382dc1ec41461083157600080fd5b80636ea69d62146107775780636ef8d66d1461079757806371bc0216146107ac57600080fd5b8063410ae02c116102b6578063525eba2111610254578063682dbc2211610223578063682dbc22146106e157806368706e54146107015780636b2c0f55146107215780636d3087831461074157600080fd5b8063525eba211461066c5780635c975abb1461068c5780635e593eff146106ab57806365d5d420146106cb57600080fd5b806347abfdbf1161029057806347abfdbf146105f257806349955e391461061257806351508f0a1461063257806351fb012d1461065257600080fd5b8063410ae02c1461057957806346fbf68e14610599578063473849bd146105d257600080fd5b80632fa4d12b116103235780633985c4e6116102fd5780633985c4e6146104d95780633af32abf146104f95780633f4ba83a146105425780634021d4d51461055757600080fd5b80632fa4d12b1461047757806336f1635f146104af578063386c024a146104c457600080fd5b8063145aa1161161035f578063145aa116146103f35780631a203257146104135780631cfe4f0b14610433578063291d95491461045757600080fd5b8063026e402b14610391578063052d9e7e146103b357806310154bad146103d357600080fd5b3661038c57005b600080fd5b34801561039d57600080fd5b506103b16103ac366004615410565b610bf0565b005b3480156103bf57600080fd5b506103b16103ce366004615448565b610e6e565b3480156103df57600080fd5b506103b16103ee366004615465565b610ed8565b3480156103ff57600080fd5b506103b161040e366004615480565b610ff3565b34801561041f57600080fd5b506103b161042e366004615480565b6110da565b34801561043f57600080fd5b506006545b6040519081526020015b60405180910390f35b34801561046357600080fd5b506103b1610472366004615465565b61115f565b34801561048357600080fd5b50600c54610497906001600160a01b031681565b6040516001600160a01b03909116815260200161044e565b3480156104bb57600080fd5b506103b161126f565b3480156104d057600080fd5b506104446115fa565b3480156104e557600080fd5b506103b16104f4366004615520565b611627565b34801561050557600080fd5b50610532610514366004615465565b6001600160a01b031660009081526002602052604090205460ff1690565b604051901515815260200161044e565b34801561054e57600080fd5b506103b1611dcc565b34801561056357600080fd5b5061056c611e35565b60405161044e919061558c565b34801561058557600080fd5b506104446105943660046155f3565b611f36565b3480156105a557600080fd5b506105326105b4366004615465565b6001600160a01b031660009081526001602052604090205460ff1690565b3480156105de57600080fd5b506103b16105ed366004615465565b611f75565b3480156105fe57600080fd5b5061053261060d36600461560e565b61227c565b34801561061e57600080fd5b506103b161062d36600461565d565b612336565b34801561063e57600080fd5b506103b161064d366004615465565b612497565b34801561065e57600080fd5b506003546105329060ff1681565b34801561067857600080fd5b506103b1610687366004615678565b612510565b34801561069857600080fd5b50600054600160a01b900460ff16610532565b3480156106b757600080fd5b506103b16106c6366004615480565b6129b2565b3480156106d757600080fd5b5061044460045481565b3480156106ed57600080fd5b506103b16106fc36600461576b565b612bc9565b34801561070d57600080fd5b506103b161071c366004615465565b612c2c565b34801561072d57600080fd5b506103b161073c366004615465565b612ca5565b34801561074d57600080fd5b5061049761075c366004615465565b6009602052600090815260409020546001600160a01b031681565b34801561078357600080fd5b50600d54610497906001600160a01b031681565b3480156107a357600080fd5b506103b1612d05565b3480156107b857600080fd5b506103b16107c7366004615465565b612d0e565b3480156107d857600080fd5b506103b16107e7366004615465565b612e56565b3480156107f857600080fd5b50610532610807366004615465565b60016020526000908152604090205460ff1681565b34801561082857600080fd5b506103b1613087565b34801561083d57600080fd5b506103b161084c366004615465565b61311e565b34801561085d57600080fd5b50610444600e5481565b34801561087357600080fd5b5061044460055481565b34801561088957600080fd5b506103b161317e565b34801561089e57600080fd5b506103b16108ad366004615410565b6131e5565b3480156108be57600080fd5b50600754610444565b3480156108d357600080fd5b506105326108e23660046158af565b6132e2565b3480156108f357600080fd5b506000546001600160a01b0316610497565b34801561091157600080fd5b50610532610920366004615480565b600a6020526000908152604090205460ff1681565b34801561094157600080fd5b506103b1610950366004615927565b6134c6565b34801561096157600080fd5b50610497610970366004615480565b613593565b34801561098157600080fd5b506104977f000000000000000000000000000000000000000000000000000000000000000081565b3480156109b557600080fd5b506105326109c4366004615465565b60026020526000908152604090205460ff1681565b3480156109e557600080fd5b50610a126109f4366004615465565b6001600160a01b031660009081526008602052604090205460ff1690565b60405161044e91906159e0565b348015610a2b57600080fd5b50610497610a3a366004615480565b6135bd565b348015610a4b57600080fd5b50610532610a5a366004615465565b6135cd565b348015610a6b57600080fd5b50610444610a7a366004615465565b6001600160a01b031660009081526008602052604090206001015490565b348015610aa457600080fd5b506103b1610ab3366004615410565b613605565b348015610ac457600080fd5b506103b1610ad33660046159ee565b6136fc565b348015610ae457600080fd5b50610444610af33660046155f3565b600b6020526000908152604090205481565b348015610b1157600080fd5b50610b25610b20366004615a0a565b6137fe565b60405161044e9190615a3d565b348015610b3e57600080fd5b506103b1610b4d366004615465565b613af7565b348015610b5e57600080fd5b50610bda610b6d366004615465565b600860205260009081526040902080546001820154600283015460038401546004850154600686015460079096015460ff8616966101009096046001600160a01b0316959067ffffffffffffffff80821691680100000000000000008104821691600160801b909104168a565b60405161044e9a99989796959493929190615adc565b600054600160a01b900460ff1615610c425760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b60448201526064015b60405180910390fd5b33670de0b6b3a7640000821015610c9b5760405162461bcd60e51b815260206004820152601860248201527f4d696e696d616c20616d6f756e7420697320312043454c5200000000000000006044820152606401610c39565b6001600160a01b038316600090815260086020526040812090815460ff166003811115610cca57610cca6159a8565b03610d175760405162461bcd60e51b815260206004820152601c60248201527f56616c696461746f72206973206e6f7420696e697469616c697a6564000000006044820152606401610c39565b6000610d2c8483600101548460020154613bd3565b6001600160a01b0384166000908152600584016020526040812080549293509183918391610d5b908490615b5e565b9250508190555081836002016000828254610d769190615b5e565b9250508190555084836001016000828254610d919190615b5e565b9091555060039050835460ff166003811115610daf57610daf6159a8565b03610dd9578460046000828254610dc69190615b5e565b90915550506001830154610dd990613c03565b610e0e6001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016853088613d26565b6001830154815460408051928352602083019190915281018690526001600160a01b0380861691908816907f2e289e5a72f8e92e344eb866e0a32621f332835d2df2cf1f76e5a345b23cf1ea9060600160405180910390a3505050505050565b33610e816000546001600160a01b031690565b6001600160a01b031614610ec55760405162461bcd60e51b81526020600482018190526024820152600080516020615eb08339815191526044820152606401610c39565b6003805460ff1916911515919091179055565b33610eeb6000546001600160a01b031690565b6001600160a01b031614610f2f5760405162461bcd60e51b81526020600482018190526024820152600080516020615eb08339815191526044820152606401610c39565b6001600160a01b03811660009081526002602052604090205460ff1615610f985760405162461bcd60e51b815260206004820152601360248201527f416c72656164792077686974656c6973746564000000000000000000000000006044820152606401610c39565b6001600160a01b038116600081815260026020908152604091829020805460ff1916600117905590519182527fee1504a83b6d4a361f4c1dc78ab59bfa30d6a3b6612c403e86bb01ef2984295f91015b60405180910390a150565b600054600160a01b900460ff1661104c5760405162461bcd60e51b815260206004820152601460248201527f5061757361626c653a206e6f74207061757365640000000000000000000000006044820152606401610c39565b3361105f6000546001600160a01b031690565b6001600160a01b0316146110a35760405162461bcd60e51b81526020600482018190526024820152600080516020615eb08339815191526044820152606401610c39565b6110d76001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000163383613dbe565b50565b336110ed6000546001600160a01b031690565b6001600160a01b0316146111315760405162461bcd60e51b81526020600482018190526024820152600080516020615eb08339815191526044820152606401610c39565b6008600052600b6020527f71f482bdabd1ea844d62c952b094e632959690d7448ca2aab34034ec9856935855565b336111726000546001600160a01b031690565b6001600160a01b0316146111b65760405162461bcd60e51b81526020600482018190526024820152600080516020615eb08339815191526044820152606401610c39565b6001600160a01b03811660009081526002602052604090205460ff1661121e5760405162461bcd60e51b815260206004820152600f60248201527f4e6f742077686974656c697374656400000000000000000000000000000000006044820152606401610c39565b6001600160a01b038116600081815260026020908152604091829020805460ff1916905590519182527f270d9b30cf5b0793bbfd54c9d5b94aeb49462b8148399000265144a8722da6b69101610fe8565b336000818152600960205260409020546001600160a01b0316156112a85750336000908152600960205260409020546001600160a01b03165b6001600160a01b03811660009081526008602052604090206001815460ff1660038111156112d8576112d86159a8565b14806112f957506002815460ff1660038111156112f7576112f76159a8565b145b6113455760405162461bcd60e51b815260206004820152601860248201527f496e76616c69642076616c696461746f722073746174757300000000000000006044820152606401610c39565b600781015467ffffffffffffffff164310156113a35760405162461bcd60e51b815260206004820152601660248201527f426f6e6420626c6f636b206e6f742072656163686564000000000000000000006044820152606401610c39565b6005544310156113f55760405162461bcd60e51b815260206004820152601b60248201527f546f6f206672657175656e742076616c696461746f7220626f6e6400000000006044820152606401610c39565b6007600052600b6020527ff5559028dc9ba50d75343c779b2f75e13a84a14662932fc67a486f263ca31a965461142b9043615b5e565b60055561143982600161227c565b6114855760405162461bcd60e51b815260206004820152601360248201527f4e6f742068617665206d696e20746f6b656e73000000000000000000000000006044820152606401610c39565b6003600052600b6020527f64c15cc42be7899b001f818cf4433057002112c418d1d3a67cd5cb453051d33e546007548111156114d6576114c483613dee565b6114d18260010154613c03565b505050565b6000196000805b83811015611588578260086000600784815481106114fd576114fd615b71565b60009182526020808320909101546001600160a01b03168352820192909252604001902060010154101561157657809150600860006007838154811061154557611545615b71565b60009182526020808320909101546001600160a01b0316835282019290925260400190206001015492508215611588575b8061158081615b87565b9150506114dd565b50818460010154116115dc5760405162461bcd60e51b815260206004820152601360248201527f496e73756666696369656e7420746f6b656e73000000000000000000000000006044820152606401610c39565b6115e68582613e42565b6115f38460010154613c03565b5050505050565b60006003600454600261160d9190615ba0565b6116179190615bb7565b611622906001615b5e565b905090565b600054600160a01b900460ff16156116745760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b6044820152606401610c39565b600046306040516020016116ca92919091825260601b6bffffffffffffffffffffffff191660208201527f536c617368000000000000000000000000000000000000000000000000000000603482015260390190565b6040516020818303038152906040528051906020012090506117148186866040516020016116fa93929190615bd9565b60408051601f198184030181529190526108e28486615bf3565b50600061175686868080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250613ebd92505050565b9050806060015167ffffffffffffffff1642106117b55760405162461bcd60e51b815260206004820152600d60248201527f536c6173682065787069726564000000000000000000000000000000000000006044820152606401610c39565b620f4240816040015167ffffffffffffffff1611156118165760405162461bcd60e51b815260206004820152601460248201527f496e76616c696420736c61736820666163746f720000000000000000000000006044820152606401610c39565b6008600052600b6020527f71f482bdabd1ea844d62c952b094e632959690d7448ca2aab34034ec9856935854604082015167ffffffffffffffff16111561189f5760405162461bcd60e51b815260206004820152601760248201527f457863656564206d617820736c61736820666163746f720000000000000000006044820152606401610c39565b60208082015167ffffffffffffffff166000908152600a909152604090205460ff161561190e5760405162461bcd60e51b815260206004820152601060248201527f5573656420736c617368206e6f6e6365000000000000000000000000000000006044820152606401610c39565b60208082015167ffffffffffffffff166000908152600a82526040808220805460ff1916600117905583516001600160a01b0381168352600890935290206003815460ff166003811115611964576119646159a8565b148061198557506002815460ff166003811115611983576119836159a8565b145b6119d15760405162461bcd60e51b815260206004820152601860248201527f496e76616c69642076616c696461746f722073746174757300000000000000006044820152606401610c39565b6000620f4240846040015167ffffffffffffffff1683600101546119f59190615ba0565b6119ff9190615bb7565b905080826001016000828254611a159190615c00565b9091555060039050825460ff166003811115611a3357611a336159a8565b03611a81578060046000828254611a4a9190615c00565b9091555050608084015167ffffffffffffffff16151580611a735750611a7183600161227c565b155b15611a8157611a8183614129565b6002825460ff166003811115611a9957611a996159a8565b148015611ab457506000846080015167ffffffffffffffff16115b15611af7576080840151611ad29067ffffffffffffffff1643615b5e565b60078301805467ffffffffffffffff191667ffffffffffffffff929092169190911790555b60006001600160a01b0316836001600160a01b03167f2e289e5a72f8e92e344eb866e0a32621f332835d2df2cf1f76e5a345b23cf1ea8460010154600085611b3e90615c13565b6040805193845260208401929092529082015260600160405180910390a36000620f4240856040015167ffffffffffffffff168460030154611b809190615ba0565b611b8a9190615bb7565b905080836003016000828254611ba09190615c00565b90915550611bb090508183615b5e565b91506000805b8660a0015151811015611d4a5760008760a001518281518110611bdb57611bdb615b71565b6020026020010151905084816020015184611bf69190615b5e565b1115611c0c57611c068386615c00565b60208201525b602081015115611d37576020810151611c259084615b5e565b81519093506001600160a01b0316611cb0576020810151611c72906001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016903390613dbe565b60208082015160405190815233917fb1375221b23a15d2f6887c7dbdc6745a07d9a5245076d51fb41879590ebbd2a3910160405180910390a2611d37565b80516020820151611ceb916001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001691613dbe565b80600001516001600160a01b03167fb1375221b23a15d2f6887c7dbdc6745a07d9a5245076d51fb41879590ebbd2a38260200151604051611d2e91815260200190565b60405180910390a25b5080611d4281615b87565b915050611bb6565b50611d558184615c00565b600e6000828254611d669190615b5e565b90915550506020808701516040805167ffffffffffffffff90921682529181018590526001600160a01b038716917f10863f35bc5db9fda133333468bf7b1ceaaa88cb4263c061f890f97b79bf9008910160405180910390a25050505050505050505050565b3360009081526001602052604090205460ff16611e2b5760405162461bcd60e51b815260206004820152601460248201527f43616c6c6572206973206e6f74207061757365720000000000000000000000006044820152606401610c39565b611e3361428e565b565b60075460609060009067ffffffffffffffff811115611e5657611e566156b4565b604051908082528060200260200182016040528015611e9b57816020015b6040805180820190915260008082526020820152815260200190600190039081611e745790505b50905060005b600754811015611f3057600060078281548110611ec057611ec0615b71565b60009182526020808320909101546040805180820182526001600160a01b039092168083528085526008845293206001015491810191909152845191925090849084908110611f1157611f11615b71565b6020026020010181905250508080611f2890615b87565b915050611ea1565b50919050565b6000600b6000836008811115611f4e57611f4e6159a8565b6008811115611f5f57611f5f6159a8565b8152602001908152602001600020549050919050565b6001600160a01b03811660009081526008602052604081203391815460ff166003811115611fa557611fa56159a8565b03611ff25760405162461bcd60e51b815260206004820152601c60248201527f56616c696461746f72206973206e6f7420696e697469616c697a6564000000006044820152606401610c39565b6001600160a01b03821660009081526005820160209081526040822060028352600b9091527fa50eece07c7db1631545c0069bd8f5f54d5935e215d59097edf258a44ba916345483549192909160019060ff166003811115612056576120566159a8565b60028501549114915063ffffffff1660005b600285015463ffffffff6401000000009091048116908316101561211a5782806120b8575063ffffffff8216600090815260018087016020526040909120015443906120b5908690615b5e565b11155b156121035763ffffffff821660009081526001860160205260409020546120df9082615b5e565b63ffffffff8316600090815260018088016020526040822082815501559050612108565b61211a565b8161211281615c2f565b925050612068565b60028501805463ffffffff191663ffffffff8416179055806121a45760405162461bcd60e51b815260206004820152602560248201527f4e6f20756e64656c65676174696f6e20726561647920746f20626520636f6d7060448201527f6c657465640000000000000000000000000000000000000000000000000000006064820152608401610c39565b60006121b98288600301548960040154614334565b9050818760040160008282546121cf9190615c00565b92505081905550808760030160008282546121ea9190615c00565b9091555061222490506001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000168983613dbe565b876001600160a01b0316896001600160a01b03167f4d10bd049775c77bd7f255195afba5088028ecb3c7c277d393ccff7934f2f92c8360405161226991815260200190565b60405180910390a3505050505050505050565b6001600160a01b03821660009081526008602090815260408220600181015460048452600b9092527f12d0c11577e2f0950f57c455c117796550b79f444811db8ba2f69c57b646c784549091908110156122db57600092505050612330565b8315612329576001600160a01b0385166000908152600583016020526040812054600284015461230d91908490614334565b905082600601548110156123275760009350505050612330565b505b6001925050505b92915050565b33600081815260086020526040812090815460ff16600381111561235c5761235c6159a8565b036123a95760405162461bcd60e51b815260206004820152601c60248201527f56616c696461746f72206973206e6f7420696e697469616c697a6564000000006044820152606401610c39565b6127108367ffffffffffffffff1611156124055760405162461bcd60e51b815260206004820152601060248201527f496e76616c6964206e65772072617465000000000000000000000000000000006044820152606401610c39565b60078101805467ffffffffffffffff60801b1916600160801b67ffffffffffffffff8616908102919091179091556040805160208101929092526001600160a01b038416917f3683b59f352bc42833c21c736ba7631d3e35fed49723ebac8298d4e0f36e512c910160408051601f198184030181529082905261248a91600090615ca2565b60405180910390a2505050565b336124aa6000546001600160a01b031690565b6001600160a01b0316146124ee5760405162461bcd60e51b81526020600482018190526024820152600080516020615eb08339815191526044820152606401610c39565b600d80546001600160a01b0319166001600160a01b0392909216919091179055565b600054600160a01b900460ff161561255d5760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b6044820152606401610c39565b60035460ff16156125c7573360009081526002602052604090205460ff166125c75760405162461bcd60e51b815260206004820152601960248201527f43616c6c6572206973206e6f742077686974656c6973746564000000000000006044820152606401610c39565b33600081815260086020526040812090815460ff1660038111156125ed576125ed6159a8565b1461263a5760405162461bcd60e51b815260206004820152601860248201527f56616c696461746f7220697320696e697469616c697a656400000000000000006044820152606401610c39565b6001600160a01b03851660009081526008602052604081205460ff166003811115612667576126676159a8565b146126b45760405162461bcd60e51b815260206004820152601960248201527f5369676e6572206973206f746865722076616c696461746f72000000000000006044820152606401610c39565b6001600160a01b03828116600090815260096020526040902054161561271c5760405162461bcd60e51b815260206004820152601960248201527f56616c696461746f72206973206f74686572207369676e6572000000000000006044820152606401610c39565b6001600160a01b0385811660009081526009602052604090205416156127845760405162461bcd60e51b815260206004820152601360248201527f5369676e657220616c72656164792075736564000000000000000000000000006044820152606401610c39565b6127108367ffffffffffffffff1611156127e05760405162461bcd60e51b815260206004820152601760248201527f496e76616c696420636f6d6d697373696f6e20726174650000000000000000006044820152606401610c39565b6005600052600b6020527febae6141bae5521e99e0a8d610356b0f501fea54980b59c84841db43ba7204f45484101561285b5760405162461bcd60e51b815260206004820181905260248201527f496e73756666696369656e74206d696e2073656c662064656c65676174696f6e6044820152606401610c39565b80547fffffffffffffffffffffff0000000000000000000000000000000000000000001660ff196101006001600160a01b03888116918202929092169290921760019081178455600680850188905560078501805467ffffffffffffffff60801b1916600160801b67ffffffffffffffff8a1602179055805491820190557ff652222313e28459528d920b65115c16c04f3efc82aaedc97be59f3f377c0d3f0180546001600160a01b031990811692861692831790915560009283526009602052604090922080549092161790556129338285610bf0565b604080516001600160a01b03878116602083015291810186905267ffffffffffffffff85166060820152908316907f3683b59f352bc42833c21c736ba7631d3e35fed49723ebac8298d4e0f36e512c9060800160408051601f19818403018152908290526129a391600090615d01565b60405180910390a25050505050565b33600081815260086020526040812090815460ff1660038111156129d8576129d86159a8565b03612a255760405162461bcd60e51b815260206004820152601c60248201527f56616c696461746f72206973206e6f7420696e697469616c697a6564000000006044820152606401610c39565b6005600052600b6020527febae6141bae5521e99e0a8d610356b0f501fea54980b59c84841db43ba7204f454831015612aa05760405162461bcd60e51b815260206004820181905260248201527f496e73756666696369656e74206d696e2073656c662064656c65676174696f6e6044820152606401610c39565b8060060154831015612b6c576003815460ff166003811115612ac457612ac46159a8565b03612b115760405162461bcd60e51b815260206004820152601360248201527f56616c696461746f7220697320626f6e646564000000000000000000000000006044820152606401610c39565b6006600052600b6020527f0387e9d1203691d8e3362a7e4c6723de358a4010d7f31ecbec3fbfc61d1c75fc54612b479043615b5e565b60078201805467ffffffffffffffff191667ffffffffffffffff929092169190911790555b6006810183905560408051602081018590526001600160a01b038416917f3683b59f352bc42833c21c736ba7631d3e35fed49723ebac8298d4e0f36e512c910160408051601f198184030181529082905261248a91600090615d2f565b612bd7876108e28789615bf3565b612c235760405162461bcd60e51b815260206004820152601560248201527f4661696c656420746f20766572696679207369677300000000000000000000006044820152606401610c39565b50505050505050565b33612c3f6000546001600160a01b031690565b6001600160a01b031614612c835760405162461bcd60e51b81526020600482018190526024820152600080516020615eb08339815191526044820152606401610c39565b600c80546001600160a01b0319166001600160a01b0392909216919091179055565b33612cb86000546001600160a01b031690565b6001600160a01b031614612cfc5760405162461bcd60e51b81526020600482018190526024820152600080516020615eb08339815191526044820152606401610c39565b6110d781614350565b611e3333614350565b6001600160a01b03811660009081526008602052604090206002815460ff166003811115612d3e57612d3e6159a8565b14612d8b5760405162461bcd60e51b815260206004820152601760248201527f56616c696461746f72206e6f7420756e626f6e64696e670000000000000000006044820152606401610c39565b600781015468010000000000000000900467ffffffffffffffff16431015612df55760405162461bcd60e51b815260206004820152601860248201527f556e626f6e6420626c6f636b206e6f74207265616368656400000000000000006044820152606401610c39565b805460ff1916600190811782556007820180546fffffffffffffffff0000000000000000191690555b6040516001600160a01b038416907fd5e59fa85493a77fb57f6bf9080f2f71fde9de0eadc62b27b43b6263f3f1f59a90600090a35050565b33600081815260086020526040812090815460ff166003811115612e7c57612e7c6159a8565b03612ec95760405162461bcd60e51b815260206004820152601960248201527f56616c696461746f72206e6f7420696e697469616c697a6564000000000000006044820152606401610c39565b6001600160a01b038381166000908152600960205260409020541615612f315760405162461bcd60e51b815260206004820152601360248201527f5369676e657220616c72656164792075736564000000000000000000000000006044820152606401610c39565b816001600160a01b0316836001600160a01b031614612fc4576001600160a01b03831660009081526008602052604081205460ff166003811115612f7757612f776159a8565b14612fc45760405162461bcd60e51b815260206004820152601960248201527f5369676e6572206973206f746865722076616c696461746f72000000000000006044820152606401610c39565b8054610100908190046001600160a01b03908116600090815260096020908152604080832080546001600160a01b031990811690915586547fffffffffffffffffffffff0000000000000000000000000000000000000000ff1689861696870217875585845292819020805490931693871693841790925581519081019390935290917f3683b59f352bc42833c21c736ba7631d3e35fed49723ebac8298d4e0f36e512c910160408051601f198184030181529082905261248a91600090615d76565b6000600e54116130d95760405162461bcd60e51b815260206004820152601260248201527f4e6f7468696e6720746f20636f6c6c65637400000000000000000000000000006044820152606401610c39565b600d54600e54613117916001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000811692911690613dbe565b6000600e55565b336131316000546001600160a01b031690565b6001600160a01b0316146131755760405162461bcd60e51b81526020600482018190526024820152600080516020615eb08339815191526044820152606401610c39565b6110d781614409565b3360009081526001602052604090205460ff166131dd5760405162461bcd60e51b815260206004820152601460248201527f43616c6c6572206973206e6f74207061757365720000000000000000000000006044820152606401610c39565b611e336144c7565b670de0b6b3a764000081101561323d5760405162461bcd60e51b815260206004820152601960248201527f4d696e696d616c20616d6f756e742069732031207368617265000000000000006044820152606401610c39565b6001600160a01b038216600090815260086020526040812090815460ff16600381111561326c5761326c6159a8565b036132b95760405162461bcd60e51b815260206004820152601c60248201527f56616c696461746f72206973206e6f7420696e697469616c697a6564000000006044820152606401610c39565b60006132ce8383600101548460020154614334565b90506132dc8285838661454f565b50505050565b60008061334384805190602001206040517f19457468657265756d205369676e6564204d6573736167653a0a3332000000006020820152603c8101829052600090605c01604051602081830303815290604052805190602001209050919050565b9050600080806133516115fa565b905060005b865181101561347d57600061338d88838151811061337657613376615b71565b6020026020010151876148f090919063ffffffff16565b9050836001600160a01b0316816001600160a01b0316116133f05760405162461bcd60e51b815260206004820152601e60248201527f5369676e657273206e6f7420696e20617363656e64696e67206f7264657200006044820152606401610c39565b6001600160a01b038082166000908152600960209081526040808320549093168252600890522090935083906003815460ff166003811115613434576134346159a8565b1461344057505061346b565b600181015461344f9087615b5e565b9550838610613468576001975050505050505050612330565b50505b8061347581615b87565b915050613356565b5060405162461bcd60e51b815260206004820152601260248201527f51756f72756d206e6f74207265616368656400000000000000000000000000006044820152606401610c39565b6001600160a01b038516600090815260086020526040812090815460ff1660038111156134f5576134f56159a8565b036135425760405162461bcd60e51b815260206004820152601c60248201527f56616c696461746f72206973206e6f7420696e697469616c697a6564000000006044820152606401610c39565b856001600160a01b03167f3683b59f352bc42833c21c736ba7631d3e35fed49723ebac8298d4e0f36e512c8686868633604051613583959493929190615de6565b60405180910390a2505050505050565b600681815481106135a357600080fd5b6000918252602090912001546001600160a01b0316905081565b600781815481106135a357600080fd5b600060036001600160a01b03831660009081526008602052604090205460ff1660038111156135fe576135fe6159a8565b1492915050565b670de0b6b3a764000081101561365d5760405162461bcd60e51b815260206004820152601860248201527f4d696e696d616c20616d6f756e7420697320312043454c5200000000000000006044820152606401610c39565b6001600160a01b038216600090815260086020526040812090815460ff16600381111561368c5761368c6159a8565b036136d95760405162461bcd60e51b815260206004820152601c60248201527f56616c696461746f72206973206e6f7420696e697469616c697a6564000000006044820152606401610c39565b60006136ee8383600101548460020154613bd3565b90506132dc8285858461454f565b600c546001600160a01b031633146137565760405162461bcd60e51b815260206004820152601a60248201527f43616c6c6572206973206e6f7420676f7620636f6e74726163740000000000006044820152606401610c39565b600382600881111561376a5761376a6159a8565b036137c1576007548110156137c15760405162461bcd60e51b815260206004820152600d60248201527f696e76616c69642076616c7565000000000000000000000000000000000000006044820152606401610c39565b80600b60008460088111156137d8576137d86159a8565b60088111156137e9576137e96159a8565b81526020810191909152604001600020555050565b6138406040518060c0016040528060006001600160a01b0316815260200160008152602001600081526020016060815260200160008152602001600081525090565b6001600160a01b0380841660009081526008602090815260408083209386168352600584019091528120805460018401546002850154929392613884929190614334565b60026000908152600b6020527fa50eece07c7db1631545c0069bd8f5f54d5935e215d59097edf258a44ba916345485549293509091829190829060019060ff1660038111156138d5576138d56159a8565b6002880154911491506000906138fc9063ffffffff80821691640100000000900416615e29565b63ffffffff16905060008167ffffffffffffffff81111561391f5761391f6156b4565b60405190808252806020026020018201604052801561396457816020015b604080518082019091526000808252602082015281526020019060019003908161393d5790505b50905060005b82811015613a7b57600289015460018a019060009061398f9063ffffffff1684615b5e565b8152602001908152602001600020604051806040016040529081600082015481526020016001820154815250508282815181106139ce576139ce615b71565b60200260200101819052508181815181106139eb576139eb615b71565b60200260200101516000015187613a029190615b5e565b96508380613a3857504385838381518110613a1f57613a1f615b71565b602002602001015160200151613a359190615b5e565b11155b15613a6957818181518110613a4f57613a4f615b71565b60200260200101516000015186613a669190615b5e565b95505b80613a7381615b87565b91505061396a565b506000613a91878b600301548c60040154614334565b90506000613aa8878c600301548d60040154614334565b90506040518060c001604052808f6001600160a01b031681526020018a81526020018b600001548152602001848152602001838152602001828152509b50505050505050505050505092915050565b33613b0a6000546001600160a01b031690565b6001600160a01b031614613b4e5760405162461bcd60e51b81526020600482018190526024820152600080516020615eb08339815191526044820152606401610c39565b6001600160a01b038116613bca5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610c39565b6110d781614914565b600082600003613be4575082613bfc565b82613bef8386615ba0565b613bf99190615bb7565b90505b9392505050565b6007546002811480613c155750806003145b15613c9a57613c226115fa565b8210613c965760405162461bcd60e51b815260206004820152602e60248201527f53696e676c652076616c696461746f722073686f756c64206e6f74206861766560448201527f2071756f72756d20746f6b656e730000000000000000000000000000000000006064820152608401610c39565b5050565b6003811115613c96576003600454613cb29190615bb7565b8210613c965760405162461bcd60e51b815260206004820152602b60248201527f53696e676c652076616c696461746f722073686f756c64206e6f74206861766560448201527f20312f3320746f6b656e730000000000000000000000000000000000000000006064820152608401610c39565b6040516001600160a01b03808516602483015283166044820152606481018290526132dc9085906323b872dd60e01b906084015b60408051601f198184030181529190526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fffffffff0000000000000000000000000000000000000000000000000000000090931692909217909152614964565b6040516001600160a01b0383166024820152604481018290526114d190849063a9059cbb60e01b90606401613d5a565b600780546001810182556000919091527fa66cc928b5edb82af9bd49922954155ab7b0942694bea4ce44661d9a8736c6880180546001600160a01b0319166001600160a01b0383161790556110d781614a49565b613e7260078281548110613e5857613e58615b71565b6000918252602090912001546001600160a01b0316614aaf565b8160078281548110613e8657613e86615b71565b9060005260206000200160006101000a8154816001600160a01b0302191690836001600160a01b03160217905550613c9682614a49565b6040805160c0810182526000808252602080830182905282840182905260608084018390526080840183905260a084015283518085019094528184528301849052909190613f0c826006614b56565b905080600681518110613f2157613f21615b71565b602002602001015167ffffffffffffffff811115613f4157613f416156b4565b604051908082528060200260200182016040528015613f8657816020015b6040805180820190915260008082526020820152815260200190600190039081613f5f5790505b508360a00181905250600081600681518110613fa457613fa4615b71565b6020026020010181815250506000805b6020840151518451101561412057613fcb84614c10565b909250905081600103613ff957613fe9613fe485614c4a565b614d07565b6001600160a01b03168552613fb4565b8160020361401e5761400a84614d12565b67ffffffffffffffff166020860152613fb4565b816003036140435761402f84614d12565b67ffffffffffffffff166040860152613fb4565b816004036140685761405484614d12565b67ffffffffffffffff166060860152613fb4565b8160050361408d5761407984614d12565b67ffffffffffffffff166080860152613fb4565b81600603614111576140a66140a185614c4a565b614d8d565b8560a00151846006815181106140be576140be615b71565b6020026020010151815181106140d6576140d6615b71565b6020026020010181905250826006815181106140f4576140f4615b71565b60200260200101805180919061410990615b87565b905250613fb4565b61411b8482614e32565b613fb4565b50505050919050565b60075460009061413b90600190615c00565b905060005b60075481101561424557826001600160a01b03166007828154811061416757614167615b71565b6000918252602090912001546001600160a01b03160361423357818110156141f7576007828154811061419c5761419c615b71565b600091825260209091200154600780546001600160a01b0390921691839081106141c8576141c8615b71565b9060005260206000200160006101000a8154816001600160a01b0302191690836001600160a01b031602179055505b600780548061420857614208615e4d565b600082815260209020810160001990810180546001600160a01b03191690550190556114d183614aaf565b8061423d81615b87565b915050614140565b5060405162461bcd60e51b815260206004820152601460248201527f4e6f7420626f6e6465642076616c696461746f720000000000000000000000006044820152606401610c39565b600054600160a01b900460ff166142e75760405162461bcd60e51b815260206004820152601460248201527f5061757361626c653a206e6f74207061757365640000000000000000000000006044820152606401610c39565b6000805460ff60a01b191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b600081600003614345575082613bfc565b81613bef8486615ba0565b6001600160a01b03811660009081526001602052604090205460ff166143b85760405162461bcd60e51b815260206004820152601560248201527f4163636f756e74206973206e6f742070617573657200000000000000000000006044820152606401610c39565b6001600160a01b038116600081815260016020908152604091829020805460ff1916905590519182527fcd265ebaf09df2871cc7bd4133404a235ba12eff2041bb89d9c714a2621c7c7e9101610fe8565b6001600160a01b03811660009081526001602052604090205460ff16156144725760405162461bcd60e51b815260206004820152601960248201527f4163636f756e7420697320616c726561647920706175736572000000000000006044820152606401610c39565b6001600160a01b038116600081815260016020818152604092839020805460ff191690921790915590519182527f6719d08c1888103bea251a4ed56406bd0c3e69723c8a1686e017e7bbe159b6f89101610fe8565b600054600160a01b900460ff16156145145760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b6044820152606401610c39565b6000805460ff60a01b1916600160a01b1790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586143173390565b3360008181526005860160205260408120805490918491839190614574908490615c00565b925050819055508286600201600082825461458f9190615c00565b92505081905550838660010160008282546145aa9190615c00565b909155505060028601546001870154148015906145c957508054600210155b156145ee5780546002870180546000906145e4908490615c00565b9091555050600081555b8054158061460557508054670de0b6b3a764000011155b6146515760405162461bcd60e51b815260206004820152601b60248201527f6e6f7420656e6f7567682072656d61696e696e672073686172657300000000006044820152606401610c39565b6001865460ff166003811115614669576146696159a8565b036146f6576146a26001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000168386613dbe565b816001600160a01b0316856001600160a01b03167f4d10bd049775c77bd7f255195afba5088028ecb3c7c277d393ccff7934f2f92c866040516146e791815260200190565b60405180910390a350506132dc565b6003865460ff16600381111561470e5761470e6159a8565b036147575783600460008282546147259190615c00565b9250508190555061474a85866001600160a01b0316846001600160a01b03161461227c565b6147575761475785614129565b6002810154600a9061477a9063ffffffff80821691640100000000900416615e29565b63ffffffff16106147cd5760405162461bcd60e51b815260206004820152601f60248201527f457863656564206d617820756e64656c65676174696f6e20656e7472696573006044820152606401610c39565b60006147e28588600301548960040154613bd3565b9050808760040160008282546147f89190615b5e565b92505081905550848760030160008282546148139190615b5e565b909155505060028201805463ffffffff6401000000009182900481166000908152600180870160205260409091208581554391810191909155835490939290041690600461486083615c2f565b91906101000a81548163ffffffff021916908363ffffffff16021790555050836001600160a01b0316876001600160a01b03167f2e289e5a72f8e92e344eb866e0a32621f332835d2df2cf1f76e5a345b23cf1ea8a6001015486600001548a6148c890615c13565b6040805193845260208401929092529082015260600160405180910390a35050505050505050565b60008060006148ff8585614ea2565b9150915061490c81614f10565b509392505050565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b60006149b9826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166150c69092919063ffffffff16565b8051909150156114d157808060200190518101906149d79190615e63565b6114d15760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e60448201527f6f742073756363656564000000000000000000000000000000000000000000006064820152608401610c39565b6001600160a01b0381166000908152600860205260408120805460ff191660031781556007810180546fffffffffffffffff00000000000000001916905560018101546004805492939192909190614aa2908490615b5e565b9091555060039050612e1e565b6001600160a01b03811660009081526008602090815260408220805460ff191660029081178255909252600b90527fa50eece07c7db1631545c0069bd8f5f54d5935e215d59097edf258a44ba9163454614b099043615b5e565b8160070160086101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550806001015460046000828254614b499190615c00565b9091555060029050612e1e565b8151606090614b66836001615b5e565b67ffffffffffffffff811115614b7e57614b7e6156b4565b604051908082528060200260200182016040528015614ba7578160200160208202803683370190505b5091506000805b60208601515186511015614c0757614bc586614c10565b80925081935050506001848381518110614be157614be1615b71565b60200260200101818151614bf59190615b5e565b905250614c028682614e32565b614bae565b50509092525090565b6000806000614c1e84614d12565b9050614c2b600882615bb7565b9250806007166005811115614c4257614c426159a8565b915050915091565b60606000614c5783614d12565b90506000818460000151614c6b9190615b5e565b9050836020015151811115614c7f57600080fd5b8167ffffffffffffffff811115614c9857614c986156b4565b6040519080825280601f01601f191660200182016040528015614cc2576020820181803683370190505b50602080860151865192955091818601919083010160005b85811015614cfc578181015183820152614cf5602082615b5e565b9050614cda565b505050935250919050565b6000612330826150d5565b602080820151825181019091015160009182805b600a81101561038c5783811a9150614d3f816007615ba0565b82607f16901b8517945081608016600003614d7b57614d5f816001615b5e565b86518790614d6e908390615b5e565b9052509395945050505050565b80614d8581615b87565b915050614d26565b6040805180820182526000808252602080830182905283518085019094528184528301849052909190805b60208301515183511015614e2a57614dcf83614c10565b909250905081600103614df857614de8613fe484614c4a565b6001600160a01b03168452614db8565b81600203614e1b57614e11614e0c84614c4a565b6150fd565b6020850152614db8565b614e258382614e32565b614db8565b505050919050565b6000816005811115614e4657614e466159a8565b03614e54576114d182614d12565b6002816005811115614e6857614e686159a8565b0361038c576000614e7883614d12565b90508083600001818151614e8c9190615b5e565b905250602083015151835111156114d157600080fd5b6000808251604103614ed85760208301516040840151606085015160001a614ecc87828585615134565b94509450505050614f09565b8251604003614f015760208301516040840151614ef6868383615221565b935093505050614f09565b506000905060025b9250929050565b6000816004811115614f2457614f246159a8565b03614f2c5750565b6001816004811115614f4057614f406159a8565b03614f8d5760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e617475726500000000000000006044820152606401610c39565b6002816004811115614fa157614fa16159a8565b03614fee5760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e677468006044820152606401610c39565b6003816004811115615002576150026159a8565b0361505a5760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b6064820152608401610c39565b600481600481111561506e5761506e6159a8565b036110d75760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202776272076616c604482015261756560f01b6064820152608401610c39565b6060613bf98484600085615273565b600081516014146150e557600080fd5b50602001516c01000000000000000000000000900490565b600060208251111561510e57600080fd5b60208201519050815160206151239190615c00565b61512e906008615ba0565b1c919050565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a083111561516b5750600090506003615218565b8460ff16601b1415801561518357508460ff16601c14155b156151945750600090506004615218565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa1580156151e8573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b03811661521157600060019250925050615218565b9150600090505b94509492505050565b6000807f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff83168161525760ff86901c601b615b5e565b905061526587828885615134565b935093505050935093915050565b6060824710156152eb5760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f60448201527f722063616c6c00000000000000000000000000000000000000000000000000006064820152608401610c39565b6001600160a01b0385163b6153425760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610c39565b600080866001600160a01b0316858760405161535e9190615e80565b60006040518083038185875af1925050503d806000811461539b576040519150601f19603f3d011682016040523d82523d6000602084013e6153a0565b606091505b50915091506153b08282866153bb565b979650505050505050565b606083156153ca575081613bfc565b8251156153da5782518084602001fd5b8160405162461bcd60e51b8152600401610c399190615e9c565b80356001600160a01b038116811461540b57600080fd5b919050565b6000806040838503121561542357600080fd5b61542c836153f4565b946020939093013593505050565b80151581146110d757600080fd5b60006020828403121561545a57600080fd5b8135613bfc8161543a565b60006020828403121561547757600080fd5b613bfc826153f4565b60006020828403121561549257600080fd5b5035919050565b60008083601f8401126154ab57600080fd5b50813567ffffffffffffffff8111156154c357600080fd5b602083019150836020828501011115614f0957600080fd5b60008083601f8401126154ed57600080fd5b50813567ffffffffffffffff81111561550557600080fd5b6020830191508360208260051b8501011115614f0957600080fd5b6000806000806040858703121561553657600080fd5b843567ffffffffffffffff8082111561554e57600080fd5b61555a88838901615499565b9096509450602087013591508082111561557357600080fd5b50615580878288016154db565b95989497509550505050565b602080825282518282018190526000919060409081850190868401855b828110156155d757815180516001600160a01b031685528601518685015292840192908501906001016155a9565b5091979650505050505050565b80356009811061540b57600080fd5b60006020828403121561560557600080fd5b613bfc826155e4565b6000806040838503121561562157600080fd5b61562a836153f4565b9150602083013561563a8161543a565b809150509250929050565b803567ffffffffffffffff8116811461540b57600080fd5b60006020828403121561566f57600080fd5b613bfc82615645565b60008060006060848603121561568d57600080fd5b615696846153f4565b9250602084013591506156ab60408501615645565b90509250925092565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff811182821017156156f3576156f36156b4565b604052919050565b600082601f83011261570c57600080fd5b813567ffffffffffffffff811115615726576157266156b4565b615739601f8201601f19166020016156ca565b81815284602083860101111561574e57600080fd5b816020850160208301376000918101602001919091529392505050565b60008060008060008060006080888a03121561578657600080fd5b873567ffffffffffffffff8082111561579e57600080fd5b6157aa8b838c016156fb565b985060208a01359150808211156157c057600080fd5b6157cc8b838c016154db565b909850965060408a01359150808211156157e557600080fd5b6157f18b838c016154db565b909650945060608a013591508082111561580a57600080fd5b506158178a828b016154db565b989b979a50959850939692959293505050565b600067ffffffffffffffff80841115615845576158456156b4565b8360051b60206158568183016156ca565b8681529350908401908084018783111561586f57600080fd5b855b838110156158a3578035858111156158895760008081fd5b6158958a828a016156fb565b835250908201908201615871565b50505050509392505050565b600080604083850312156158c257600080fd5b823567ffffffffffffffff808211156158da57600080fd5b6158e6868387016156fb565b935060208501359150808211156158fc57600080fd5b508301601f8101851361590e57600080fd5b61591d8582356020840161582a565b9150509250929050565b60008060008060006060868803121561593f57600080fd5b615948866153f4565b9450602086013567ffffffffffffffff8082111561596557600080fd5b61597189838a01615499565b9096509450604088013591508082111561598a57600080fd5b5061599788828901615499565b969995985093965092949392505050565b634e487b7160e01b600052602160045260246000fd5b600481106159dc57634e487b7160e01b600052602160045260246000fd5b9052565b6020810161233082846159be565b60008060408385031215615a0157600080fd5b61542c836155e4565b60008060408385031215615a1d57600080fd5b615a26836153f4565b9150615a34602084016153f4565b90509250929050565b6000602080835260e083016001600160a01b038551168285015281850151604081818701528087015160608701526060870151915060c06080870152828251808552610100880191508584019450600093505b80841015615ab95784518051835286015186830152938501936001939093019290820190615a90565b50608088015160a088015260a088015160c0880152809550505050505092915050565b6101408101615aeb828d6159be565b6001600160a01b039a909a16602082015260408101989098526060880196909652608087019490945260a086019290925260c085015267ffffffffffffffff90811660e08501529081166101008401521661012090910152919050565b634e487b7160e01b600052601160045260246000fd5b8082018082111561233057612330615b48565b634e487b7160e01b600052603260045260246000fd5b600060018201615b9957615b99615b48565b5060010190565b808202811582820484141761233057612330615b48565b600082615bd457634e487b7160e01b600052601260045260246000fd5b500490565b838152818360208301376000910160200190815292915050565b6000613bfc36848461582a565b8181038181111561233057612330615b48565b6000600160ff1b8201615c2857615c28615b48565b5060000390565b600063ffffffff808316818103615c4857615c48615b48565b6001019392505050565b60005b83811015615c6d578181015183820152602001615c55565b50506000910152565b60008151808452615c8e816020860160208601615c52565b601f01601f19169290920160200192915050565b60608152600a60608201527f636f6d6d697373696f6e00000000000000000000000000000000000000000000608082015260a060208201526000615ce960a0830185615c76565b90506001600160a01b03831660408301529392505050565b6060815260046060820152631a5b9a5d60e21b608082015260a060208201526000615ce960a0830185615c76565b60608152601360608201527f6d696e2d73656c662d64656c65676174696f6e00000000000000000000000000608082015260a060208201526000615ce960a0830185615c76565b60608152600660608201527f7369676e65720000000000000000000000000000000000000000000000000000608082015260a060208201526000615ce960a0830185615c76565b81835281816020850137506000828201602090810191909152601f909101601f19169091010190565b606081526000615dfa606083018789615dbd565b8281036020840152615e0d818688615dbd565b9150506001600160a01b03831660408301529695505050505050565b63ffffffff828116828216039080821115615e4657615e46615b48565b5092915050565b634e487b7160e01b600052603160045260246000fd5b600060208284031215615e7557600080fd5b8151613bfc8161543a565b60008251615e92818460208701615c52565b9190910192915050565b602081526000613bfc6020830184615c7656fe4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572a2646970667358221220caf38da596d9e6dee66fccd74167d32ea8c12f5cadfdd6cecc37e4da943b7f4c64736f6c63430008110033",
}

StakingMetaData contains all meta data concerning the Staking contract.

View Source
var StakingRewardABI = StakingRewardMetaData.ABI

StakingRewardABI is the input ABI used to generate the binding from. Deprecated: Use StakingRewardMetaData.ABI instead.

View Source
var StakingRewardBin = StakingRewardMetaData.Bin

StakingRewardBin is the compiled bytecode used for deploying new contracts. Deprecated: Use StakingRewardMetaData.Bin instead.

View Source
var StakingRewardMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[{\"internalType\":\"contractStaking\",\"name\":\"_staking\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"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\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"Paused\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"PauserAdded\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"PauserRemoved\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"reward\",\"type\":\"uint256\"}],\"name\":\"StakingRewardClaimed\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"contributor\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"contribution\",\"type\":\"uint256\"}],\"name\":\"StakingRewardContributed\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"Unpaused\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"addPauser\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"_rewardRequest\",\"type\":\"bytes\"},{\"internalType\":\"bytes[]\",\"name\":\"_sigs\",\"type\":\"bytes[]\"}],\"name\":\"claimReward\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"claimedRewardAmounts\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"}],\"name\":\"contributeToRewardPool\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"}],\"name\":\"drainToken\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"isPauser\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"pause\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"paused\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"pausers\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"removePauser\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renouncePauser\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"staking\",\"outputs\":[{\"internalType\":\"contractStaking\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"unpause\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
	Bin: "0x60a06040523480156200001157600080fd5b50604051620019ce380380620019ce833981016040819052620000349162000182565b6200003f3362000069565b6000805460ff60a01b191690556200005733620000b9565b6001600160a01b0316608052620001b4565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6001600160a01b03811660009081526001602052604090205460ff1615620001275760405162461bcd60e51b815260206004820152601960248201527f4163636f756e7420697320616c72656164792070617573657200000000000000604482015260640160405180910390fd5b6001600160a01b038116600081815260016020818152604092839020805460ff191690921790915590519182527f6719d08c1888103bea251a4ed56406bd0c3e69723c8a1686e017e7bbe159b6f8910160405180910390a150565b6000602082840312156200019557600080fd5b81516001600160a01b0381168114620001ad57600080fd5b9392505050565b6080516117e2620001ec60003960008181610170015281816102d90152818161047a015281816108750152610a2201526117e26000f3fe608060405234801561001057600080fd5b50600436106100f55760003560e01c80636ef8d66d116100975780638da5cb5b116100665780638da5cb5b1461021557806396db0fef14610226578063f2fde38b14610254578063f8df0dc51461026757600080fd5b80636ef8d66d146101cf57806380f51c12146101d757806382dc1ec4146101fa5780638456cb591461020d57600080fd5b806346fbf68e116100d357806346fbf68e1461012a5780634cf088d91461016b5780635c975abb146101aa5780636b2c0f55146101bc57600080fd5b80630a300b09146100fa578063145aa1161461010f5780633f4ba83a14610122575b600080fd5b61010d610108366004611431565b61027a565b005b61010d61011d366004611431565b6103b1565b61010d61050d565b61015661013836600461145f565b6001600160a01b031660009081526001602052604090205460ff1690565b60405190151581526020015b60405180910390f35b6101927f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b039091168152602001610162565b600054600160a01b900460ff16610156565b61010d6101ca36600461145f565b610576565b61010d6105e8565b6101566101e536600461145f565b60016020526000908152604090205460ff1681565b61010d61020836600461145f565b6105f1565b61010d610663565b6000546001600160a01b0316610192565b61024661023436600461145f565b60026020526000908152604090205481565b604051908152602001610162565b61010d61026236600461145f565b6106ca565b61010d61027536600461147c565b6107b8565b600054600160a01b900460ff16156102cc5760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b60448201526064015b60405180910390fd5b600033905061036a8130847f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663960dc08a6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610335573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103599190611541565b6001600160a01b0316929190610acf565b806001600160a01b03167ff67017a05194c0853be9169be60cad9fa6e75d34b6b507a7a4261510e19c6d79836040516103a591815260200190565b60405180910390a25050565b600054600160a01b900460ff1661040a5760405162461bcd60e51b815260206004820152601460248201527f5061757361626c653a206e6f742070617573656400000000000000000000000060448201526064016102c3565b3361041d6000546001600160a01b031690565b6001600160a01b0316146104735760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016102c3565b61050a33827f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663960dc08a6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156104d6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104fa9190611541565b6001600160a01b03169190610b6d565b50565b3360009081526001602052604090205460ff1661056c5760405162461bcd60e51b815260206004820152601460248201527f43616c6c6572206973206e6f742070617573657200000000000000000000000060448201526064016102c3565b610574610ba2565b565b336105896000546001600160a01b031690565b6001600160a01b0316146105df5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016102c3565b61050a81610c48565b61057433610c48565b336106046000546001600160a01b031690565b6001600160a01b03161461065a5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016102c3565b61050a81610d08565b3360009081526001602052604090205460ff166106c25760405162461bcd60e51b815260206004820152601460248201527f43616c6c6572206973206e6f742070617573657200000000000000000000000060448201526064016102c3565b610574610dc6565b336106dd6000546001600160a01b031690565b6001600160a01b0316146107335760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016102c3565b6001600160a01b0381166107af5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f646472657373000000000000000000000000000000000000000000000000000060648201526084016102c3565b61050a81610e4e565b600054600160a01b900460ff16156108055760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b60448201526064016102c3565b6000463060405160200161085b92919091825260601b6bffffffffffffffffffffffff191660208201527f5374616b696e6752657761726400000000000000000000000000000000000000603482015260410190565b6040516020818303038152906040528051906020012090507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316638a74d5fe8287876040516020016108b79392919061155e565b60405160208183030381529060405285856040518463ffffffff1660e01b81526004016108e6939291906115f1565b602060405180830381865afa158015610903573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061092791906116a1565b50600061096986868080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250610eb692505050565b60208082015182516001600160a01b03166000908152600290925260408220549293509161099790836116d9565b9050600081116109e95760405162461bcd60e51b815260206004820152600d60248201527f4e6f206e6577207265776172640000000000000000000000000000000000000060448201526064016102c3565b816002600085600001516001600160a01b03166001600160a01b0316815260200190815260200160002081905550610a7e8360000151827f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663960dc08a6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156104d6573d6000803e3d6000fd5b82600001516001600160a01b03167f6dd401e61ba732582a5eba3d54ccc3afb3609cd3ac1a166d1d36f75fc0aedcda82604051610abd91815260200190565b60405180910390a25050505050505050565b6040516001600160a01b0380851660248301528316604482015260648101829052610b679085906323b872dd60e01b906084015b60408051601f198184030181529190526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fffffffff0000000000000000000000000000000000000000000000000000000090931692909217909152610f60565b50505050565b6040516001600160a01b038316602482015260448101829052610b9d90849063a9059cbb60e01b90606401610b03565b505050565b600054600160a01b900460ff16610bfb5760405162461bcd60e51b815260206004820152601460248201527f5061757361626c653a206e6f742070617573656400000000000000000000000060448201526064016102c3565b6000805460ff60a01b191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b6001600160a01b03811660009081526001602052604090205460ff16610cb05760405162461bcd60e51b815260206004820152601560248201527f4163636f756e74206973206e6f7420706175736572000000000000000000000060448201526064016102c3565b6001600160a01b038116600081815260016020908152604091829020805460ff1916905590519182527fcd265ebaf09df2871cc7bd4133404a235ba12eff2041bb89d9c714a2621c7c7e91015b60405180910390a150565b6001600160a01b03811660009081526001602052604090205460ff1615610d715760405162461bcd60e51b815260206004820152601960248201527f4163636f756e7420697320616c7265616479207061757365720000000000000060448201526064016102c3565b6001600160a01b038116600081815260016020818152604092839020805460ff191690921790915590519182527f6719d08c1888103bea251a4ed56406bd0c3e69723c8a1686e017e7bbe159b6f89101610cfd565b600054600160a01b900460ff1615610e135760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b60448201526064016102c3565b6000805460ff60a01b1916600160a01b1790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258610c2b3390565b600080546001600160a01b038381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6040805180820182526000808252602080830182905283518085019094528184528301849052909190805b60208301515183511015610f5857610ef883611045565b909250905081600103610f2657610f16610f118461107f565b61113c565b6001600160a01b03168452610ee1565b81600203610f4957610f3f610f3a8461107f565b61114d565b6020850152610ee1565b610f538382611184565b610ee1565b505050919050565b6000610fb5826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166111f49092919063ffffffff16565b805190915015610b9d5780806020019051810190610fd391906116a1565b610b9d5760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e60448201527f6f7420737563636565640000000000000000000000000000000000000000000060648201526084016102c3565b60008060006110538461120d565b90506110606008826116ec565b92508060071660058111156110775761107761170e565b915050915091565b6060600061108c8361120d565b905060008184600001516110a09190611724565b90508360200151518111156110b457600080fd5b8167ffffffffffffffff8111156110cd576110cd611737565b6040519080825280601f01601f1916602001820160405280156110f7576020820181803683370190505b50602080860151865192955091818601919083010160005b8581101561113157818101518382015261112a602082611724565b905061110f565b505050935250919050565b600061114782611288565b92915050565b600060208251111561115e57600080fd5b602082015190508151602061117391906116d9565b61117e90600861174d565b1c919050565b60008160058111156111985761119861170e565b036111a657610b9d8261120d565b60028160058111156111ba576111ba61170e565b036100f55760006111ca8361120d565b905080836000018181516111de9190611724565b90525060208301515183511115610b9d57600080fd5b606061120384846000856112b0565b90505b9392505050565b602080820151825181019091015160009182805b600a8110156100f55783811a915061123a81600761174d565b82607f16901b85179450816080166000036112765761125a816001611724565b86518790611269908390611724565b9052509395945050505050565b8061128081611764565b915050611221565b6000815160141461129857600080fd5b50602001516c01000000000000000000000000900490565b6060824710156113285760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f60448201527f722063616c6c000000000000000000000000000000000000000000000000000060648201526084016102c3565b6001600160a01b0385163b61137f5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000060448201526064016102c3565b600080866001600160a01b0316858760405161139b919061177d565b60006040518083038185875af1925050503d80600081146113d8576040519150601f19603f3d011682016040523d82523d6000602084013e6113dd565b606091505b50915091506113ed8282866113f8565b979650505050505050565b60608315611407575081611206565b8251156114175782518084602001fd5b8160405162461bcd60e51b81526004016102c39190611799565b60006020828403121561144357600080fd5b5035919050565b6001600160a01b038116811461050a57600080fd5b60006020828403121561147157600080fd5b81356112068161144a565b6000806000806040858703121561149257600080fd5b843567ffffffffffffffff808211156114aa57600080fd5b818701915087601f8301126114be57600080fd5b8135818111156114cd57600080fd5b8860208285010111156114df57600080fd5b6020928301965094509086013590808211156114fa57600080fd5b818701915087601f83011261150e57600080fd5b81358181111561151d57600080fd5b8860208260051b850101111561153257600080fd5b95989497505060200194505050565b60006020828403121561155357600080fd5b81516112068161144a565b838152818360208301376000910160200190815292915050565b60005b8381101561159357818101518382015260200161157b565b50506000910152565b600081518084526115b4816020860160208601611578565b601f01601f19169290920160200192915050565b81835281816020850137506000828201602090810191909152601f909101601f19169091010190565b604081526000611604604083018661159c565b602083820381850152818583528183019050818660051b8401018760005b8881101561169257858303601f190184528135368b9003601e1901811261164857600080fd5b8a01858101903567ffffffffffffffff81111561166457600080fd5b80360382131561167357600080fd5b61167e8582846115c8565b958701959450505090840190600101611622565b50909998505050505050505050565b6000602082840312156116b357600080fd5b8151801515811461120657600080fd5b634e487b7160e01b600052601160045260246000fd5b81810381811115611147576111476116c3565b60008261170957634e487b7160e01b600052601260045260246000fd5b500490565b634e487b7160e01b600052602160045260246000fd5b80820180821115611147576111476116c3565b634e487b7160e01b600052604160045260246000fd5b8082028115828204841417611147576111476116c3565b600060018201611776576117766116c3565b5060010190565b6000825161178f818460208701611578565b9190910192915050565b602081526000611206602083018461159c56fea264697066735822122029ae3121b1664f785526fc8bc9887d42022051f3f9bf1dbc9280b392425a7f7064736f6c63430008110033",
}

StakingRewardMetaData contains all meta data concerning the StakingReward contract.

View Source
var TransferAgentABI = TransferAgentMetaData.ABI

TransferAgentABI is the input ABI used to generate the binding from. Deprecated: Use TransferAgentMetaData.ABI instead.

View Source
var TransferAgentBin = TransferAgentMetaData.Bin

TransferAgentBin is the compiled bytecode used for deploying new contracts. Deprecated: Use TransferAgentMetaData.Bin instead.

View Source
var TransferAgentMetaData = &bind.MetaData{
	ABI: "[{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"enumBridgeTransferLib.BridgeSendType\",\"name\":\"bridgeSendType\",\"type\":\"uint8\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"bridgeAddr\",\"type\":\"address\"}],\"name\":\"BridgeUpdated\",\"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\":\"enumBridgeTransferLib.BridgeSendType\",\"name\":\"bridgeSendType\",\"type\":\"uint8\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"transferId\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"receiver\",\"type\":\"bytes\"},{\"components\":[{\"internalType\":\"uint8\",\"name\":\"Type\",\"type\":\"uint8\"},{\"internalType\":\"bytes\",\"name\":\"Value\",\"type\":\"bytes\"}],\"indexed\":false,\"internalType\":\"structTransferAgent.Extension[]\",\"name\":\"extensions\",\"type\":\"tuple[]\"}],\"name\":\"Supplement\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"enumBridgeTransferLib.BridgeSendType\",\"name\":\"\",\"type\":\"uint8\"}],\"name\":\"bridges\",\"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\":\"enumBridgeTransferLib.BridgeSendType\",\"name\":\"_bridgeSendType\",\"type\":\"uint8\"},{\"internalType\":\"address\",\"name\":\"_addr\",\"type\":\"address\"}],\"name\":\"setBridgeAddress\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"_receiver\",\"type\":\"bytes\"},{\"internalType\":\"address\",\"name\":\"_token\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"},{\"internalType\":\"uint64\",\"name\":\"_dstChainId\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"_nonce\",\"type\":\"uint64\"},{\"internalType\":\"uint32\",\"name\":\"_maxSlippage\",\"type\":\"uint32\"},{\"internalType\":\"enumBridgeTransferLib.BridgeSendType\",\"name\":\"_bridgeSendType\",\"type\":\"uint8\"},{\"components\":[{\"internalType\":\"uint8\",\"name\":\"Type\",\"type\":\"uint8\"},{\"internalType\":\"bytes\",\"name\":\"Value\",\"type\":\"bytes\"}],\"internalType\":\"structTransferAgent.Extension[]\",\"name\":\"_extensions\",\"type\":\"tuple[]\"}],\"name\":\"transfer\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"_receiver\",\"type\":\"bytes\"},{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"},{\"internalType\":\"uint64\",\"name\":\"_dstChainId\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"_nonce\",\"type\":\"uint64\"},{\"internalType\":\"uint32\",\"name\":\"_maxSlippage\",\"type\":\"uint32\"},{\"internalType\":\"enumBridgeTransferLib.BridgeSendType\",\"name\":\"_bridgeSendType\",\"type\":\"uint8\"},{\"components\":[{\"internalType\":\"uint8\",\"name\":\"Type\",\"type\":\"uint8\"},{\"internalType\":\"bytes\",\"name\":\"Value\",\"type\":\"bytes\"}],\"internalType\":\"structTransferAgent.Extension[]\",\"name\":\"_extensions\",\"type\":\"tuple[]\"}],\"name\":\"transferNative\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
	Bin: "0x608060405234801561001057600080fd5b50600160005561001f33610024565b610076565b600180546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b611b2b806100856000396000f3fe6080604052600436106100655760003560e01c80638da5cb5b116100435780638da5cb5b1461010d578063c5d8ac7e1461012b578063f2fde38b1461013e57600080fd5b806339b0070c1461006a57806365d67c331461009d5780636701d514146100eb575b600080fd5b34801561007657600080fd5b5061008a61008536600461166e565b61015e565b6040519081526020015b60405180910390f35b3480156100a957600080fd5b506100d36100b8366004611743565b6002602052600090815260409020546001600160a01b031681565b6040516001600160a01b039091168152602001610094565b3480156100f757600080fd5b5061010b61010636600461175e565b6102ce565b005b34801561011957600080fd5b506001546001600160a01b03166100d3565b61008a610139366004611795565b610424565b34801561014a57600080fd5b5061010b610159366004611856565b6105c7565b60006002600054036101b75760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064015b60405180910390fd5b60026000818155908190818760068111156101d4576101d4611873565b60068111156101e5576101e5611873565b81526020810191909152604001600020546001600160a01b031690508061024e5760405162461bcd60e51b815260206004820152601360248201527f756e6b6e6f776e2062726964676520747970650000000000000000000000000060448201526064016101ae565b6102636001600160a01b038c1633308d6106b8565b61027460008c8c8c8c8c8c88610756565b9150507f3f2b4c063a18045940932b9fba423a72e3b8d36e63ca462720d880f7b64504ca8582338f8f89896040516102b297969594939291906118d4565b60405180910390a160016000559b9a5050505050505050505050565b336102e16001546001600160a01b031690565b6001600160a01b0316146103375760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016101ae565b6001600160a01b03811661038d5760405162461bcd60e51b815260206004820152600f60248201527f696e76616c69642061646472657373000000000000000000000000000000000060448201526064016101ae565b80600260008460068111156103a4576103a4611873565b60068111156103b5576103b5611873565b815260200190815260200160002060006101000a8154816001600160a01b0302191690836001600160a01b031602179055507fe85507dd8a6159a69bf9f4aa5ae1283824ec9948b7d4a03d5cb457070f312dfc82826040516104189291906119df565b60405180910390a15050565b60006002600054036104785760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016101ae565b600260008181559081908187600681111561049557610495611873565b60068111156104a6576104a6611873565b81526020810191909152604001600020546001600160a01b031690508061050f5760405162461bcd60e51b815260206004820152601360248201527f756e6b6e6f776e2062726964676520747970650000000000000000000000000060448201526064016101ae565b89341461055e5760405162461bcd60e51b815260206004820152600f60248201527f616d6f756e74206d69736d61746368000000000000000000000000000000000060448201526064016101ae565b61056e60008b8b8b8b8b87610d15565b9150507f3f2b4c063a18045940932b9fba423a72e3b8d36e63ca462720d880f7b64504ca8582338e8e89896040516105ac97969594939291906118d4565b60405180910390a160016000559a9950505050505050505050565b336105da6001546001600160a01b031690565b6001600160a01b0316146106305760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016101ae565b6001600160a01b0381166106ac5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f646472657373000000000000000000000000000000000000000000000000000060648201526084016101ae565b6106b5816110cf565b50565b6040516001600160a01b03808516602483015283166044820152606481018290526107509085906323b872dd60e01b906084015b60408051601f198184030181529190526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fffffffff0000000000000000000000000000000000000000000000000000000090931692909217909152611139565b50505050565b60008061076d6001600160a01b038a16848a611223565b600184600681111561078157610781611873565b0361089b5760405163a5977fbb60e01b81526001600160a01b038b811660048301528a81166024830152604482018a905267ffffffffffffffff808a1660648401528816608483015263ffffffff871660a483015284169063a5977fbb9060c401600060405180830381600087803b1580156107fc57600080fd5b505af1158015610810573d6000803e3d6000fd5b50506040516bffffffffffffffffffffffff1930606090811b821660208401528e811b821660348401528d901b166048820152605c81018b90526001600160c01b031960c08b811b8216607c8401528a811b8216608484015246901b16608c820152609401915061087e9050565b604051602081830303815290604052805190602001209050610d08565b60028460068111156108af576108af611873565b036109b4576040516308d18d8960e21b81526001600160a01b038a81166004830152602482018a905267ffffffffffffffff808a1660448401528c821660648401528816608483015284169063234636249060a401600060405180830381600087803b15801561091e57600080fd5b505af1158015610932573d6000803e3d6000fd5b50505050308989898d8a4660405160200161087e9796959493929190606097881b6bffffffffffffffffffffffff19908116825296881b87166014820152602881019590955260c093841b6001600160c01b031990811660488701529290961b909416605084015292811b831660648301529290921b16606c82015260740190565b60038460068111156109c8576109c8611873565b03610adb57604051636f3c863f60e11b81526001600160a01b038a81166004830152602482018a90528b8116604483015267ffffffffffffffff8816606483015284169063de790c7e90608401600060405180830381600087803b158015610a2f57600080fd5b505af1158015610a43573d6000803e3d6000fd5b50506040516bffffffffffffffffffffffff1930606090811b821660208401528d811b82166034840152604883018d90528e901b1660688201526001600160c01b031960c08a811b8216607c84015246901b166084820152608c019150610aa79050565b60408051601f1981840301815291905280516020909101209050610ad66001600160a01b038a168460006112d5565b610d08565b6004846006811115610aef57610aef611873565b03610b8e576040516308d18d8960e21b81526001600160a01b038a81166004830152602482018a905267ffffffffffffffff808a1660448401528c821660648401528816608483015284169063234636249060a4016020604051808303816000875af1158015610b63573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b879190611a03565b9050610d08565b6005846006811115610ba257610ba2611873565b03610c525760405163a002930160e01b81526001600160a01b038a81166004830152602482018a905267ffffffffffffffff808a1660448401528c821660648401528816608483015284169063a00293019060a4015b6020604051808303816000875af1158015610c17573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c3b9190611a03565b9050610ad66001600160a01b038a168460006112d5565b6006846006811115610c6657610c66611873565b03610cc057604051639e422c3360e01b81526001600160a01b038a81166004830152602482018a905267ffffffffffffffff808a1660448401528c8216606484015288166084830152841690639e422c339060a401610bf8565b60405162461bcd60e51b815260206004820152601e60248201527f6272696467652073656e642074797065206e6f7420737570706f72746564000060448201526064016101ae565b9998505050505050505050565b60006001836006811115610d2b57610d2b611873565b1480610d4857506002836006811115610d4657610d46611873565b145b80610d6457506004836006811115610d6257610d62611873565b145b610db05760405162461bcd60e51b815260206004820152601d60248201527f4c69623a20696e76616c6964206272696467652073656e64207479706500000060448201526064016101ae565b6000826001600160a01b031663457bfa2f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610df0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e149190611a1c565b905060006001856006811115610e2c57610e2c611873565b03610f2357604051633f2e5fc360e01b81526001600160a01b038b81166004830152602482018b905267ffffffffffffffff808b1660448401528916606483015263ffffffff88166084830152851690633f2e5fc390349060a4016000604051808303818588803b158015610ea057600080fd5b505af1158015610eb4573d6000803e3d6000fd5b50506040516bffffffffffffffffffffffff1930606090811b821660208401528f811b8216603484015287901b166048820152605c81018d90526001600160c01b031960c08d811b8216607c8401528c811b8216608484015246901b16608c820152609401925061087e915050565b6002856006811115610f3757610f37611873565b036110355760405162a95fd760e01b8152600481018a905267ffffffffffffffff808a1660248301526001600160a01b038c81166044840152908916606483015285169062a95fd79034906084016000604051808303818588803b158015610f9e57600080fd5b505af1158015610fb2573d6000803e3d6000fd5b505050505030828a8a8d8b4660405160200161087e9796959493929190606097881b6bffffffffffffffffffffffff19908116825296881b87166014820152602881019590955260c093841b6001600160c01b031990811660488701529290961b909416605084015292811b831660648301529290921b16606c82015260740190565b60405162a95fd760e01b8152600481018a905267ffffffffffffffff808a1660248301526001600160a01b038c81166044840152908916606483015285169062a95fd790349060840160206040518083038185885af115801561109c573d6000803e3d6000fd5b50505050506040513d601f19601f820116820180604052508101906110c19190611a03565b9a9950505050505050505050565b600180546001600160a01b038381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600061118e826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166113f19092919063ffffffff16565b80519091501561121e57808060200190518101906111ac9190611a39565b61121e5760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e60448201527f6f7420737563636565640000000000000000000000000000000000000000000060648201526084016101ae565b505050565b604051636eb1769f60e11b81523060048201526001600160a01b038381166024830152600091839186169063dd62ed3e90604401602060405180830381865afa158015611274573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112989190611a03565b6112a29190611a5b565b6040516001600160a01b03851660248201526044810182905290915061075090859063095ea7b360e01b906064016106ec565b80158061134f5750604051636eb1769f60e11b81523060048201526001600160a01b03838116602483015284169063dd62ed3e90604401602060405180830381865afa158015611329573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061134d9190611a03565b155b6113c15760405162461bcd60e51b815260206004820152603660248201527f5361666545524332303a20617070726f76652066726f6d206e6f6e2d7a65726f60448201527f20746f206e6f6e2d7a65726f20616c6c6f77616e63650000000000000000000060648201526084016101ae565b6040516001600160a01b03831660248201526044810182905261121e90849063095ea7b360e01b906064016106ec565b6060611400848460008561140a565b90505b9392505050565b6060824710156114825760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f60448201527f722063616c6c000000000000000000000000000000000000000000000000000060648201526084016101ae565b6001600160a01b0385163b6114d95760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000060448201526064016101ae565b600080866001600160a01b031685876040516114f59190611aa6565b60006040518083038185875af1925050503d8060008114611532576040519150601f19603f3d011682016040523d82523d6000602084013e611537565b606091505b5091509150611547828286611552565b979650505050505050565b60608315611561575081611403565b8251156115715782518084602001fd5b8160405162461bcd60e51b81526004016101ae9190611ac2565b60008083601f84011261159d57600080fd5b50813567ffffffffffffffff8111156115b557600080fd5b6020830191508360208285010111156115cd57600080fd5b9250929050565b6001600160a01b03811681146106b557600080fd5b803567ffffffffffffffff8116811461160157600080fd5b919050565b803563ffffffff8116811461160157600080fd5b80356007811061160157600080fd5b60008083601f84011261163b57600080fd5b50813567ffffffffffffffff81111561165357600080fd5b6020830191508360208260051b85010111156115cd57600080fd5b6000806000806000806000806000806101008b8d03121561168e57600080fd5b8a3567ffffffffffffffff808211156116a657600080fd5b6116b28e838f0161158b565b909c509a5060208d013591506116c7826115d4565b81995060408d013598506116dd60608e016115e9565b97506116eb60808e016115e9565b96506116f960a08e01611606565b955061170760c08e0161161a565b945060e08d013591508082111561171d57600080fd5b5061172a8d828e01611629565b915080935050809150509295989b9194979a5092959850565b60006020828403121561175557600080fd5b6114038261161a565b6000806040838503121561177157600080fd5b61177a8361161a565b9150602083013561178a816115d4565b809150509250929050565b600080600080600080600080600060e08a8c0312156117b357600080fd5b893567ffffffffffffffff808211156117cb57600080fd5b6117d78d838e0161158b565b909b50995060208c013598508991506117f260408d016115e9565b975061180060608d016115e9565b965061180e60808d01611606565b955061181c60a08d0161161a565b945060c08c013591508082111561183257600080fd5b5061183f8c828d01611629565b915080935050809150509295985092959850929598565b60006020828403121561186857600080fd5b8135611403816115d4565b634e487b7160e01b600052602160045260246000fd5b600781106118a757634e487b7160e01b600052602160045260246000fd5b9052565b81835281816020850137506000828201602090810191909152601f909101601f19169091010190565b6118de8189611889565b60006020888184015260406001600160a01b0389168185015260a0606085015261190c60a08501888a6118ab565b8481036080860152858152828101600587901b820184018860005b898110156119cb57848303601f190184528135368c9003603e1901811261194d57600080fd5b8b01803560ff811680821461196157600080fd5b8552508088013536829003601e1901811261197b57600080fd5b01878101903567ffffffffffffffff81111561199657600080fd5b8036038213156119a557600080fd5b87898601526119b788860182846118ab565b958901959450505090860190600101611927565b50909e9d5050505050505050505050505050565b604081016119ed8285611889565b6001600160a01b03831660208301529392505050565b600060208284031215611a1557600080fd5b5051919050565b600060208284031215611a2e57600080fd5b8151611403816115d4565b600060208284031215611a4b57600080fd5b8151801515811461140357600080fd5b80820180821115611a7c57634e487b7160e01b600052601160045260246000fd5b92915050565b60005b83811015611a9d578181015183820152602001611a85565b50506000910152565b60008251611ab8818460208701611a82565b9190910192915050565b6020815260008251806020840152611ae1816040850160208701611a82565b601f01601f1916919091016040019291505056fea26469706673582212206affa77b214f9ba462647c30605b3dab0cf41f78093d8a0528029a013cbbf37564736f6c63430008110033",
}

TransferAgentMetaData contains all meta data concerning the TransferAgent contract.

View Source
var ViewerABI = ViewerMetaData.ABI

ViewerABI is the input ABI used to generate the binding from. Deprecated: Use ViewerMetaData.ABI instead.

View Source
var ViewerBin = ViewerMetaData.Bin

ViewerBin is the compiled bytecode used for deploying new contracts. Deprecated: Use ViewerMetaData.Bin instead.

View Source
var ViewerMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[{\"internalType\":\"contractStaking\",\"name\":\"_staking\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"inputs\":[],\"name\":\"getBondedValidatorInfos\",\"outputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"valAddr\",\"type\":\"address\"},{\"internalType\":\"enumDataTypes.ValidatorStatus\",\"name\":\"status\",\"type\":\"uint8\"},{\"internalType\":\"address\",\"name\":\"signer\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokens\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"shares\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"minSelfDelegation\",\"type\":\"uint256\"},{\"internalType\":\"uint64\",\"name\":\"commissionRate\",\"type\":\"uint64\"}],\"internalType\":\"structDataTypes.ValidatorInfo[]\",\"name\":\"\",\"type\":\"tuple[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_delAddr\",\"type\":\"address\"}],\"name\":\"getDelegatorInfos\",\"outputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"valAddr\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokens\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"shares\",\"type\":\"uint256\"},{\"components\":[{\"internalType\":\"uint256\",\"name\":\"shares\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"creationBlock\",\"type\":\"uint256\"}],\"internalType\":\"structDataTypes.Undelegation[]\",\"name\":\"undelegations\",\"type\":\"tuple[]\"},{\"internalType\":\"uint256\",\"name\":\"undelegationTokens\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"withdrawableUndelegationTokens\",\"type\":\"uint256\"}],\"internalType\":\"structDataTypes.DelegatorInfo[]\",\"name\":\"\",\"type\":\"tuple[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_delAddr\",\"type\":\"address\"}],\"name\":\"getDelegatorTokens\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getMinValidatorTokens\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_valAddr\",\"type\":\"address\"}],\"name\":\"getValidatorInfo\",\"outputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"valAddr\",\"type\":\"address\"},{\"internalType\":\"enumDataTypes.ValidatorStatus\",\"name\":\"status\",\"type\":\"uint8\"},{\"internalType\":\"address\",\"name\":\"signer\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokens\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"shares\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"minSelfDelegation\",\"type\":\"uint256\"},{\"internalType\":\"uint64\",\"name\":\"commissionRate\",\"type\":\"uint64\"}],\"internalType\":\"structDataTypes.ValidatorInfo\",\"name\":\"\",\"type\":\"tuple\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getValidatorInfos\",\"outputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"valAddr\",\"type\":\"address\"},{\"internalType\":\"enumDataTypes.ValidatorStatus\",\"name\":\"status\",\"type\":\"uint8\"},{\"internalType\":\"address\",\"name\":\"signer\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokens\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"shares\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"minSelfDelegation\",\"type\":\"uint256\"},{\"internalType\":\"uint64\",\"name\":\"commissionRate\",\"type\":\"uint64\"}],\"internalType\":\"structDataTypes.ValidatorInfo[]\",\"name\":\"\",\"type\":\"tuple[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_valAddr\",\"type\":\"address\"}],\"name\":\"shouldBondValidator\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"staking\",\"outputs\":[{\"internalType\":\"contractStaking\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"}]",
	Bin: "0x60a060405234801561001057600080fd5b506040516116f03803806116f083398101604081905261002f91610040565b6001600160a01b0316608052610070565b60006020828403121561005257600080fd5b81516001600160a01b038116811461006957600080fd5b9392505050565b6080516116046100ec6000396000818160bb01528181610199015281816102dc01528181610379015281816106060152818161073d0152818161085301528181610941015281816109db01528181610a8801528181610c6101528181610d9801528181610e2d01528181610f3b0152610fd201526116046000f3fe608060405234801561001057600080fd5b50600436106100885760003560e01c80638dc2336d1161005b5780638dc2336d1461012a578063c6fc1ed614610140578063d87ffe9114610168578063e9fe6b0b1461017057600080fd5b8063313019bb1461008d5780634cf088d9146100b657806366ab5d28146100f55780638a11d7c91461010a575b600080fd5b6100a061009b36600461108c565b610193565b6040516100ad91906110b0565b60405180910390f35b6100dd7f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b0390911681526020016100ad565b6100fd610600565b6040516100ad9190611208565b61011d61011836600461108c565b6107ee565b6040516100ad919061124a565b61013261093c565b6040519081526020016100ad565b61015361014e36600461108c565b610bb6565b604080519283526020830191909152016100ad565b6100fd610c5b565b61018361017e36600461108c565b610e05565b60405190151581526020016100ad565b606060007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316631cfe4f0b6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156101f5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610219919061125e565b905060008167ffffffffffffffff81111561023657610236611277565b6040519080825280602002602001820160405280156102a957816020015b6102966040518060c0016040528060006001600160a01b0316815260200160008152602001600081526020016060815260200160008152602001600081525090565b8152602001906001900390816102545790505b5090506000805b838163ffffffff16101561048a576040516324aec90f60e21b815263ffffffff821660048201526000907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906392bb243c90602401602060405180830381865afa15801561032b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061034f919061128d565b604051631dd9dfdf60e31b81526001600160a01b03808316600483015289811660248301529192507f00000000000000000000000000000000000000000000000000000000000000009091169063eecefef890604401600060405180830381865afa1580156103c2573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526103ea9190810190611327565b848363ffffffff168151811061040257610402611458565b6020026020010181905250838263ffffffff168151811061042557610425611458565b60200260200101516040015160001415806104645750838263ffffffff168151811061045357610453611458565b602002602001015160800151600014155b15610477578261047381611484565b9350505b508061048281611484565b9150506102b0565b5060008163ffffffff1667ffffffffffffffff8111156104ac576104ac611277565b60405190808252806020026020018201604052801561051f57816020015b61050c6040518060c0016040528060006001600160a01b0316815260200160008152602001600081526020016060815260200160008152602001600081525090565b8152602001906001900390816104ca5790505b5090506000805b858163ffffffff1610156105f457848163ffffffff168151811061054c5761054c611458565b602002602001015160400151600014158061058b5750848163ffffffff168151811061057a5761057a611458565b602002602001015160800151600014155b156105e257848163ffffffff16815181106105a8576105a8611458565b6020026020010151838363ffffffff16815181106105c8576105c8611458565b602002602001018190525081806105de90611484565b9250505b806105ec81611484565b915050610526565b50909695505050505050565b606060007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316631cfe4f0b6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610662573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610686919061125e565b905060008167ffffffffffffffff8111156106a3576106a3611277565b60405190808252806020026020018201604052801561070a57816020015b6040805160e08101825260008082526020808301829052928201819052606082018190526080820181905260a0820181905260c082015282526000199092019101816106c15790505b50905060005b828163ffffffff1610156107e7576040516324aec90f60e21b815263ffffffff821660048201526107b1907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906392bb243c906024015b602060405180830381865afa15801561078d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610118919061128d565b828263ffffffff16815181106107c9576107c9611458565b602002602001018190525080806107df90611484565b915050610710565b5092915050565b6040805160e081018252600080825260208201819052918101829052606081018290526080810182905260a0810182905260c0810191909152604051631f4a58fb60e31b81526001600160a01b038381166004830152600091829182918291829182917f0000000000000000000000000000000000000000000000000000000000000000169063fa52c7d89060240161014060405180830381865afa15801561089b573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108bf91906114c4565b995050509750505095509550955095506040518060e00160405280896001600160a01b031681526020018760038111156108fb576108fb611185565b8152602001866001600160a01b031681526020018581526020018481526020018381526020018267ffffffffffffffff168152509650505050505050919050565b6000807f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166389f9aab56040518163ffffffff1660e01b8152600401602060405180830381865afa15801561099d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109c1919061125e565b60405163eb505dd560e01b81529091506001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063eb505dd590610a1190600390600401611566565b602060405180830381865afa158015610a2e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a52919061125e565b811015610a6157600091505090565b60001960005b828110156107e75760405163acc62ccf60e01b8152600481018290526000907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063c8f9f98490829063acc62ccf90602401602060405180830381865afa158015610adf573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b03919061128d565b6040517fffffffff0000000000000000000000000000000000000000000000000000000060e084901b1681526001600160a01b039091166004820152602401602060405180830381865afa158015610b5f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b83919061125e565b905082811015610ba35780925082600003610ba357600094505050505090565b5080610bae81611580565b915050610a67565b6000806000610bc484610193565b905060008060005b83518163ffffffff161015610c4f57838163ffffffff1681518110610bf357610bf3611458565b60200260200101516020015183610c0a9190611599565b9250838163ffffffff1681518110610c2457610c24611458565b60200260200101516080015182610c3b9190611599565b915080610c4781611484565b915050610bcc565b50909590945092505050565b606060007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166389f9aab56040518163ffffffff1660e01b8152600401602060405180830381865afa158015610cbd573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ce1919061125e565b905060008167ffffffffffffffff811115610cfe57610cfe611277565b604051908082528060200260200182016040528015610d6557816020015b6040805160e08101825260008082526020808301829052928201819052606082018190526080820181905260a0820181905260c08201528252600019909201910181610d1c5790505b50905060005b828163ffffffff1610156107e75760405163acc62ccf60e01b815263ffffffff82166004820152610dcf907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063acc62ccf90602401610770565b828263ffffffff1681518110610de757610de7611458565b60200260200101819052508080610dfd90611484565b915050610d6b565b604051631f4a58fb60e31b81526001600160a01b0382811660048301526000918291829182917f0000000000000000000000000000000000000000000000000000000000000000169063fa52c7d89060240161014060405180830381865afa158015610e75573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e9991906114c4565b5050975050505050935050925060006003811115610eb957610eb9611185565b836003811115610ecb57610ecb611185565b1480610ee857506003836003811115610ee657610ee6611185565b145b15610ef857506000949350505050565b8067ffffffffffffffff16431015610f1557506000949350505050565b6040516347abfdbf60e01b81526001600160a01b038681166004830152600160248301527f000000000000000000000000000000000000000000000000000000000000000016906347abfdbf90604401602060405180830381865afa158015610f82573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fa691906115ac565b610fb557506000949350505050565b610fbd61093c565b8211610fce57506000949350505050565b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166383cfb3186040518163ffffffff1660e01b8152600401602060405180830381865afa15801561102e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611052919061125e565b9050804310156110685750600095945050505050565b50600195945050505050565b6001600160a01b038116811461108957600080fd5b50565b60006020828403121561109e57600080fd5b81356110a981611074565b9392505050565b60006020808301818452808551808352604092508286019150828160051b8701018488016000805b8481101561117657898403603f19018652825180516001600160a01b031685528881015189860152878101518886015260608082015160c0918701829052805191870182905260e0870191908b0190855b8181101561114e578251805185528d01518d850152928b0192918c0191600101611129565b5050506080828101519087015260a091820151919095015294870194918701916001016110d8565b50919998505050505050505050565b634e487b7160e01b600052602160045260246000fd5b6001600160a01b038082511683526020820151600481106111be576111be611185565b8060208501525080604083015116604084015250606081015160608301526080810151608083015260a081015160a083015267ffffffffffffffff60c08201511660c08301525050565b6020808252825182820181905260009190848201906040850190845b818110156105f45761123783855161119b565b9284019260e09290920191600101611224565b60e08101611258828461119b565b92915050565b60006020828403121561127057600080fd5b5051919050565b634e487b7160e01b600052604160045260246000fd5b60006020828403121561129f57600080fd5b81516110a981611074565b60405160c0810167ffffffffffffffff811182821017156112cd576112cd611277565b60405290565b6040805190810167ffffffffffffffff811182821017156112cd576112cd611277565b604051601f8201601f1916810167ffffffffffffffff8111828210171561131f5761131f611277565b604052919050565b6000602080838503121561133a57600080fd5b825167ffffffffffffffff8082111561135257600080fd5b9084019060c0828703121561136657600080fd5b61136e6112aa565b825161137981611074565b815282840151848201526040808401518183015260608401518381111561139f57600080fd5b8401601f810189136113b057600080fd5b8051848111156113c2576113c2611277565b6113d0878260051b016112f6565b818152878101955060069190911b82018701908a8211156113f057600080fd5b918701915b818310156114305783838c03121561140d5760008081fd5b6114156112d3565b835181528884015189820152865294870194918301916113f5565b60608501525050506080838101519082015260a0928301519281019290925250949350505050565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b600063ffffffff80831681810361149d5761149d61146e565b6001019392505050565b805167ffffffffffffffff811681146114bf57600080fd5b919050565b6000806000806000806000806000806101408b8d0312156114e457600080fd5b8a51600481106114f357600080fd5b60208c0151909a5061150481611074565b8099505060408b0151975060608b0151965060808b0151955060a08b0151945060c08b0151935061153760e08c016114a7565b92506115466101008c016114a7565b91506115556101208c016114a7565b90509295989b9194979a5092959850565b602081016009831061157a5761157a611185565b91905290565b6000600182016115925761159261146e565b5060010190565b808201808211156112585761125861146e565b6000602082840312156115be57600080fd5b815180151581146110a957600080fdfea2646970667358221220ecda5df98192ce09897e197902ba7303894feefce2d56e3c6743742a7e48cff464736f6c63430008110033",
}

ViewerMetaData contains all meta data concerning the Viewer contract.

View Source
var VotingEscrowTokenABI = VotingEscrowTokenMetaData.ABI

VotingEscrowTokenABI is the input ABI used to generate the binding from. Deprecated: Use VotingEscrowTokenMetaData.ABI instead.

View Source
var VotingEscrowTokenBin = VotingEscrowTokenMetaData.Bin

VotingEscrowTokenBin is the compiled bytecode used for deploying new contracts. Deprecated: Use VotingEscrowTokenMetaData.Bin instead.

View Source
var VotingEscrowTokenMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_token\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"locker\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"lockTime\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"lockType\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"timestamp\",\"type\":\"uint256\"}],\"name\":\"Deposited\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"previousSupply\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"supply\",\"type\":\"uint256\"}],\"name\":\"SupplyChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"locker\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"timestamp\",\"type\":\"uint256\"}],\"name\":\"Withdrawn\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"ACTION_CREATE_LOCK\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"ACTION_DEPOSIT_FOR\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"ACTION_INCREASE_LOCK_AMOUNT\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"ACTION_INCREASE_UNLOCK_TIME\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"MAX_LOCK\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"MULTIPLIER\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"WEEK\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_user\",\"type\":\"address\"}],\"name\":\"balanceOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_user\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_blockNumber\",\"type\":\"uint256\"}],\"name\":\"balanceOfAt\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"checkpoint\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_unlockTime\",\"type\":\"uint256\"}],\"name\":\"createLock\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"decimals\",\"outputs\":[{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_for\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"}],\"name\":\"depositFor\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"epoch\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"}],\"name\":\"increaseLockAmount\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_newUnlockTime\",\"type\":\"uint256\"}],\"name\":\"increaseUnlockTime\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"locks\",\"outputs\":[{\"internalType\":\"int128\",\"name\":\"amount\",\"type\":\"int128\"},{\"internalType\":\"uint256\",\"name\":\"end\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"name\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"pointHistory\",\"outputs\":[{\"internalType\":\"int128\",\"name\":\"bias\",\"type\":\"int128\"},{\"internalType\":\"int128\",\"name\":\"slope\",\"type\":\"int128\"},{\"internalType\":\"uint256\",\"name\":\"timestamp\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"blockNumber\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"slopeChanges\",\"outputs\":[{\"internalType\":\"int128\",\"name\":\"\",\"type\":\"int128\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"supply\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"symbol\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"token\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"totalSupply\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_blockNumber\",\"type\":\"uint256\"}],\"name\":\"totalSupplyAt\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"userPointEpoch\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"userPointHistory\",\"outputs\":[{\"internalType\":\"int128\",\"name\":\"bias\",\"type\":\"int128\"},{\"internalType\":\"int128\",\"name\":\"slope\",\"type\":\"int128\"},{\"internalType\":\"uint256\",\"name\":\"timestamp\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"blockNumber\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"withdraw\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
	Bin: "0x60806040523480156200001157600080fd5b5060405162002c8638038062002c8683398101604081905262000034916200029c565b6001600081815581546001600160a01b0384166001600160a01b03199091168117835560408051608081018252838152602080820185815242838501908152436060850190815260058054998a0181558852935191516001600160801b03908116600160801b0292169190911760039097027f036b6384b5eca791c62761152d0c79bb0604c104a5fb6f4eb0703f3154bb3db0810197909755517f036b6384b5eca791c62761152d0c79bb0604c104a5fb6f4eb0703f3154bb3db187015590517f036b6384b5eca791c62761152d0c79bb0604c104a5fb6f4eb0703f3154bb3db290950194909455805163313ce56760e01b815290519293919263313ce567926004808401939192918290030181865afa15801562000157573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200017d9190620002ce565b600b805460ff191660ff8316179055604080518082019091526005808252647665434e4f60d81b6020909201918252919250620001be9160099190620001f6565b50604080518082019091526005808252647665434e4f60d81b6020909201918252620001ed91600a91620001f6565b5050506200032f565b8280546200020490620002f3565b90600052602060002090601f01602090048101928262000228576000855562000273565b82601f106200024357805160ff191683800117855562000273565b8280016001018555821562000273579182015b828111156200027357825182559160200191906001019062000256565b506200028192915062000285565b5090565b5b8082111562000281576000815560010162000286565b600060208284031215620002af57600080fd5b81516001600160a01b0381168114620002c757600080fd5b9392505050565b600060208284031215620002e157600080fd5b815160ff81168114620002c757600080fd5b600181811c908216806200030857607f821691505b6020821081036200032957634e487b7160e01b600052602260045260246000fd5b50919050565b612947806200033f6000396000f3fe608060405234801561001057600080fd5b50600436106101c35760003560e01c806367e7a7cb116100f9578063981b24d011610097578063f2c7a81b11610071578063f2c7a81b146103ad578063f4359ce5146103b5578063f52a36f7146103bf578063fc0c546a146103f557600080fd5b8063981b24d01461037f578063b52c05fe14610392578063c2c4c5c1146103a557600080fd5b806381fc83bb116100d357806381fc83bb1461033b5780638ad4c4471461035b578063900cf0cf1461036e57806395d89b411461037757600080fd5b806367e7a7cb1461030d57806370a08231146103155780637c616fe61461032857600080fd5b8063313ce56711610166578063403f444711610140578063403f4447146102975780634ee2cd7e146102aa5780635de9a137146102bd57806365a5d5f01461030557600080fd5b8063313ce5671461023557806334d901a4146102545780633ccfd60b1461028f57600080fd5b8063059f8b16116101a2578063059f8b16146101f457806306fdde031461020357806318160ddd146102185780632f4f21e21461022057600080fd5b8062b79fd4146101c857806302641632146101e3578063047fc9aa146101eb575b600080fd5b6101d0600081565b6040519081526020015b60405180910390f35b6101d0600381565b6101d060025481565b6101d0670de0b6b3a764000081565b61020b610420565b6040516101da9190612589565b6101d06104ae565b61023361022e3660046125d8565b61051e565b005b600b546102429060ff1681565b60405160ff90911681526020016101da565b6102676102623660046125d8565b6106b2565b60408051600f95860b81529390940b60208401529282015260608101919091526080016101da565b610233610702565b6102336102a5366004612602565b6108fb565b6101d06102b83660046125d8565b610ab7565b6102eb6102cb36600461261b565b60036020526000908152604090208054600190910154600f9190910b9082565b60408051600f9390930b83526020830191909152016101da565b6101d0610d81565b6101d0600181565b6101d061032336600461261b565b610d9e565b610233610336366004612602565b610e92565b6101d061034936600461261b565b60076020526000908152604090205481565b610267610369366004612602565b6110db565b6101d060045481565b61020b61111f565b6101d061038d366004612602565b61112c565b6102336103a0366004612636565b611327565b610233611568565b6101d0600281565b6101d062093a8081565b6103e26103cd366004612602565b600860205260009081526040902054600f0b81565b604051600f9190910b81526020016101da565b600154610408906001600160a01b031681565b6040516001600160a01b0390911681526020016101da565b6009805461042d90612658565b80601f016020809104026020016040519081016040528092919081815260200182805461045990612658565b80156104a65780601f1061047b576101008083540402835291602001916104a6565b820191906000526020600020905b81548152906001019060200180831161048957829003601f168201915b505050505081565b60006105196005600454815481106104c8576104c8612692565b60009182526020918290206040805160808101825260039093029091018054600f81810b8552600160801b909104900b9383019390935260018301549082015260029091015460608201524261158c565b905090565b6002600054036105755760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064015b60405180910390fd5b600260009081556040805180820182526001600160a01b038516808452600360208181529385208054600f0b84529190945292825260019092015490820152816105ef5760405162461bcd60e51b815260206004820152600b60248201526a1898590817d85b5bdd5b9d60aa1b604482015260640161056c565b60008160000151600f0b136106465760405162461bcd60e51b815260206004820152600e60248201527f6c6f636b206e6f74206578697374000000000000000000000000000000000000604482015260640161056c565b428160200151116106995760405162461bcd60e51b815260206004820152601d60248201527f6c6f636b20657870697265642e20706c65617365207769746864726177000000604482015260640161056c565b6106a883836000846000611683565b5050600160005550565b600660205281600052604060002081815481106106ce57600080fd5b6000918252602090912060039091020180546001820154600290920154600f82810b9550600160801b90920490910b925084565b6002600054036107545760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015260640161056c565b600260009081553381526003602090815260409182902082518084019093528054600f0b8352600101549082018190524210156107d35760405162461bcd60e51b815260206004820152601060248201527f6c6f636b206e6f74206578706972656400000000000000000000000000000000604482015260640161056c565b60006107e58260000151600f0b6117e0565b6040805180820182528451600f0b8152602080860180518284015260008082528088523381526003909252929020855181546fffffffffffffffffffffffffffffffff19166001600160801b0390911617815591516001909201919091556002549192509061085483826126be565b600255610862338386611836565b600154610879906001600160a01b03163385611ffb565b6040805184815242602082015233917f92ccf450a286a957af52509bc1c9939d1a6a481783e142e41e2499f0bb66ebc6910160405180910390a26002546040805183815260208101929092527fed89e864eaa767d73408242ff6a09be53504bda6578087e3cc94dc198390488c910160405180910390a1505060016000555050565b333b15801561090957503233145b6109405760405162461bcd60e51b81526020600482015260086024820152676f6e6c7920454f4160c01b604482015260640161056c565b6002600054036109925760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015260640161056c565b6002600090815560408051808201825233808452600360208181529385208054600f0b8452919094529282526001909201549082015281610a035760405162461bcd60e51b815260206004820152600b60248201526a1898590817d85b5bdd5b9d60aa1b604482015260640161056c565b60008160000151600f0b13610a4c5760405162461bcd60e51b815260206004820152600f60248201526e6c6f636b206e6f742065786973747360881b604482015260640161056c565b42816020015111610a9f5760405162461bcd60e51b815260206004820152601d60248201527f6c6f636b20657870697265642e20706c65617365207769746864726177000000604482015260640161056c565b610aae33836000846002611683565b50506001600055565b600043821115610afc5760405162461bcd60e51b815260206004820152601060248201526f3130b2102fb13637b1b5a73ab6b132b960811b604482015260640161056c565b6000610b088484612090565b905080600003610b1c576000915050610d7b565b6001600160a01b0384166000908152600660205260408120805483908110610b4657610b46612692565b600091825260208083206040805160808101825260039094029091018054600f81810b8652600160801b909104900b9284019290925260018201549083015260020154606082015260045490925090610b9f868361215a565b9050600060058281548110610bb657610bb6612692565b600091825260208083206040805160808101825260039094029091018054600f81810b8652600160801b909104900b9284019290925260018201549083015260020154606082015291508084841015610ca45760006005610c188660016126d5565b81548110610c2857610c28612692565b60009182526020918290206040805160808101825260039093029091018054600f81810b8552600160801b909104900b938301939093526001830154908201526002909101546060808301829052860151919250610c8691906126be565b925083604001518160400151610c9c91906126be565b915050610cc8565b6060830151610cb390436126be565b9150826040015142610cc591906126be565b90505b60408301518215610d05578284606001518b610ce491906126be565b610cee90846126ed565b610cf89190612722565b610d0290826126d5565b90505b610d1d876040015182610d1891906126be565b6121ea565b8760200151610d2c9190612736565b87518890610d3b9083906127d4565b600f90810b90915288516000910b12159050610d6257600098505050505050505050610d7b565b8651610d7090600f0b6117e0565b985050505050505050505b92915050565b6001610d9162093a8060d06126ed565b610d9b91906126be565b81565b6001600160a01b038116600090815260076020526040812054808203610dc75750600092915050565b6001600160a01b0383166000908152600660205260408120805483908110610df157610df1612692565b60009182526020918290206040805160808101825260039093029091018054600f81810b8552600160801b909104900b93830193909352600183015490820181905260029092015460608201529150610e4e90610d1890426126be565b8160200151610e5d9190612736565b8151610e6991906127d4565b600f0b80825260001315610e7c57600081525b8051610e8a90600f0b6117e0565b949350505050565b333b158015610ea057503233145b610ed75760405162461bcd60e51b81526020600482015260086024820152676f6e6c7920454f4160c01b604482015260640161056c565b600260005403610f295760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015260640161056c565b6002600090815560408051808201825233808452600360208181529385208054600f0b84529190945292825260019092015490820152610f6882612286565b915060008160000151600f0b13610fb35760405162461bcd60e51b815260206004820152600f60248201526e6c6f636b206e6f742065786973747360881b604482015260640161056c565b428160200151116110065760405162461bcd60e51b815260206004820152601d60248201527f6c6f636b20657870697265642e20706c65617365207769746864726177000000604482015260640161056c565b806020015182116110595760405162461bcd60e51b815260206004820152601060248201527f6f6e6c7920657874656e64206c6f636b00000000000000000000000000000000604482015260640161056c565b600161106962093a8060d06126ed565b61107391906126be565b61107d90426126d5565b8211156110cc5760405162461bcd60e51b815260206004820152600b60248201527f34207965617273206d6178000000000000000000000000000000000000000000604482015260640161056c565b610aae33600084846003611683565b600581815481106110eb57600080fd5b6000918252602090912060039091020180546001820154600290920154600f82810b9450600160801b90920490910b919084565b600a805461042d90612658565b6000438211156111715760405162461bcd60e51b815260206004820152601060248201526f3130b2102fb13637b1b5a73ab6b132b960811b604482015260640161056c565b6004546000611180848361215a565b905060006005828154811061119757611197612692565b600091825260208083206040805160808101825260039094029091018054600f81810b8652600160801b909104900b928401929092526001820154908301526002015460608201529150838310156112b557600060056111f88560016126d5565b8154811061120857611208612692565b60009182526020918290206040805160808101825260039093029091018054600f81810b8552600160801b909104900b938301939093526001830154908201526002909101546060808301829052850151919250146112af578260600151816060015161127591906126be565b8360400151826040015161128991906126be565b6060850151611298908a6126be565b6112a291906126ed565b6112ac9190612722565b91505b50611304565b438260600151146113045760608201516112cf90436126be565b60408301516112de90426126be565b60608401516112ed90896126be565b6112f791906126ed565b6113019190612722565b90505b61131d8282846040015161131891906126d5565b61158c565b9695505050505050565b333b15801561133557503233145b61136c5760405162461bcd60e51b81526020600482015260086024820152676f6e6c7920454f4160c01b604482015260640161056c565b6002600054036113be5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015260640161056c565b60026000556113cc81612286565b3360009081526003602090815260409182902082518084019093528054600f0b83526001015490820152909150826114465760405162461bcd60e51b815260206004820152600a60248201527f62616420616d6f756e7400000000000000000000000000000000000000000000604482015260640161056c565b8051600f0b156114985760405162461bcd60e51b815260206004820152600e60248201527f616c7265616479206c6f636b6564000000000000000000000000000000000000604482015260640161056c565b4282116114e75760405162461bcd60e51b815260206004820152601a60248201527f63616e206f6e6c79206c6f636b20756e74696c20667574757265000000000000604482015260640161056c565b60016114f762093a8060d06126ed565b61150191906126be565b61150b90426126d5565b82111561155a5760405162461bcd60e51b815260206004820152601960248201527f63616e206f6e6c79206c6f636b2034207965617273206d617800000000000000604482015260640161056c565b6106a8338484846001611683565b60408051808201909152600080825260208201819052611589908280611836565b50565b60008083905060006115a18560400151612286565b905060005b60ff811015611656576115bc62093a80836126d5565b91506000858311156115d0578592506115e4565b50600082815260086020526040902054600f0b5b6115f7846040015184610d1891906126be565b84602001516116069190612736565b845161161291906127d4565b600f0b84528583036116245750611656565b8084602001516116349190612824565b600f0b602085015250604083018290528061164e81612873565b9150506115a6565b5060008260000151600f0b121561166c57600082525b815161167a90600f0b6117e0565b95945050505050565b60025461169085826126d5565b600255604080518082019091528351600f0b8152602080850151908201526116b7866121ea565b81516116c39190612824565b600f0b815284156116d657602081018590525b6001600160a01b0387166000908152600360209081526040909120825181546fffffffffffffffffffffffffffffffff19166001600160801b039091161781559082015160019091015561172b878583611836565b851561174957600154611749906001600160a01b03163330896122a0565b602080820151604080518981529283018690524290830152906001600160a01b038916907fe3b53cd1a44fbf11535e145d80b8ef1ed6d57a73bf5daa7e939b6b01657d65499060600160405180910390a36002546040805184815260208101929092527fed89e864eaa767d73408242ff6a09be53504bda6578087e3cc94dc198390488c910160405180910390a150505050505050565b6000808212156118325760405162461bcd60e51b815260206004820181905260248201527f53616665436173743a2076616c7565206d75737420626520706f736974697665604482015260640161056c565b5090565b6040805160808082018352600080835260208084018290528385018290526060808501839052855193840186528284529083018290529382018190529281018390526004549192909181906001600160a01b03881615611add574287602001511180156118aa575060008760000151600f0b135b1561190b576118cc60016118c262093a8060d06126ed565b610d1891906126be565b87516118d8919061288c565b600f0b6020808701919091528701516118f690610d189042906126be565b85602001516119059190612736565b600f0b85525b428660200151118015611925575060008660000151600f0b135b1561197c5761193d60016118c262093a8060d06126ed565b8651611949919061288c565b600f0b60208086019190915286015161196790610d189042906126be565b84602001516119769190612736565b600f0b84525b6001600160a01b03881660009081526007602052604081205490819003611a03576001600160a01b0389166000908152600660209081526040808320805460018181018355918552938390208a51938b01516001600160801b03908116600160801b0294169390931760039094029092019283558801519082015560608701516002909101555b611a0e8160016126d5565b6001600160a01b038a16600081815260076020908152604080832094909455428985019081524360608b01908152938352600682528483208054600181810183559185528385208c518d8601516001600160801b03908116600160801b0291161760039092020190815591519082015592516002909301929092558a820151815260088252919091205490880151600f9190910b945015611adb578760200151876020015103611ac057839250611adb565b602080880151600090815260089091526040902054600f0b92505b505b604080516080810182526000808252602082015242918101919091524360608201528115611b665760058281548110611b1857611b18612692565b60009182526020918290206040805160808101825260039093029091018054600f81810b8552600160801b909104900b93830193909352600183015490820152600290910154606082015290505b604080820180518251608081018452600080825260208201819052835194820194909452606080860151908201529151909290421115611bdd576040840151611baf90426126be565b6060850151611bbe90436126be565b611bd090670de0b6b3a76400006126ed565b611bda9190612722565b90505b6000611be884612286565b905060005b60ff811015611dcd57611c0362093a80836126d5565b9150600042831115611c1757429250611c2b565b50600082815260086020526040902054600f0b5b6000611c3a610d1888866126be565b8860200151611c499190612736565b8851909150611c599082906127d4565b600f0b88526020880151611c6e908390612824565b600f90810b60208a015288516000910b1215611c8957600088525b60008860200151600f0b1215611ca157600060208901525b60408089018590528601519396508693670de0b6b3a764000090611cc590866126be565b611ccf90876126ed565b611cd99190612722565b8660600151611ce891906126d5565b6060890152611cf88960016126d5565b9850428403611d0e575050436060870152611dcd565b60058054600181018255600091909152885160208a01516001600160801b03908116600160801b0291161760039091027f036b6384b5eca791c62761152d0c79bb0604c104a5fb6f4eb0703f3154bb3db081019190915560408901517f036b6384b5eca791c62761152d0c79bb0604c104a5fb6f4eb0703f3154bb3db182015560608901517f036b6384b5eca791c62761152d0c79bb0604c104a5fb6f4eb0703f3154bb3db29091015550508080611dc590612873565b915050611bed565b5060048690556001600160a01b038d1615611e5a57896020015189602001518660200151611dfb9190612824565b611e0591906127d4565b600f0b6020860152895189518651611e1d9190612824565b611e2791906127d4565b600f90810b865260208601516000910b1215611e4557600060208601525b60008560000151600f0b1215611e5a57600085525b60058054600181018255600091909152855160208701516001600160801b03908116600160801b0291161760039091027f036b6384b5eca791c62761152d0c79bb0604c104a5fb6f4eb0703f3154bb3db081019190915560408601517f036b6384b5eca791c62761152d0c79bb0604c104a5fb6f4eb0703f3154bb3db182015560608601517f036b6384b5eca791c62761152d0c79bb0604c104a5fb6f4eb0703f3154bb3db2909101556001600160a01b038d1615611fec57428c602001511115611f885760208a0151611f2e9089612824565b97508b602001518b6020015103611f51576020890151611f4e90896127d4565b97505b60208c810151600090815260089091526040902080546fffffffffffffffffffffffffffffffff19166001600160801b038a161790555b428b602001511115611fec578b602001518b602001511115611fec576020890151611fb390886127d4565b60208c810151600090815260089091526040902080546fffffffffffffffffffffffffffffffff19166001600160801b03831617905596505b50505050505050505050505050565b6040516001600160a01b03831660248201526044810182905261208b90849063a9059cbb60e01b906064015b60408051601f198184030181529190526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fffffffff00000000000000000000000000000000000000000000000000000000909316929092179091526122de565b505050565b6001600160a01b0382166000908152600760205260408120548190815b6080811015612150578183101561215057600060026120cc84866126d5565b6120d79060016126d5565b6120e19190612722565b6001600160a01b0388166000908152600660205260409020805491925087918390811061211057612110612692565b9060005260206000209060030201600201541161212f5780935061213d565b61213a6001826126be565b92505b508061214881612873565b9150506120ad565b5090949350505050565b60008082815b60808110156121505781831015612150576000600261217f84866126d5565b61218a9060016126d5565b6121949190612722565b905086600582815481106121aa576121aa612692565b906000526020600020906003020160020154116121c9578093506121d7565b6121d46001826126be565b92505b50806121e281612873565b915050612160565b60006f7fffffffffffffffffffffffffffffff198212801590612214575060016001607f1b038213155b6118325760405162461bcd60e51b815260206004820152602760248201527f53616665436173743a2076616c756520646f65736e27742066697420696e203160448201527f3238206269747300000000000000000000000000000000000000000000000000606482015260840161056c565b600062093a806122968184612722565b610d7b91906126ed565b6040516001600160a01b03808516602483015283166044820152606481018290526122d89085906323b872dd60e01b90608401612027565b50505050565b6000612333826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166123c39092919063ffffffff16565b80519091501561208b578080602001905181019061235191906128d3565b61208b5760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e60448201527f6f74207375636365656400000000000000000000000000000000000000000000606482015260840161056c565b60606123d284846000856123dc565b90505b9392505050565b6060824710156124545760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f60448201527f722063616c6c0000000000000000000000000000000000000000000000000000606482015260840161056c565b6001600160a01b0385163b6124ab5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015260640161056c565b600080866001600160a01b031685876040516124c791906128f5565b60006040518083038185875af1925050503d8060008114612504576040519150601f19603f3d011682016040523d82523d6000602084013e612509565b606091505b5091509150612519828286612524565b979650505050505050565b606083156125335750816123d5565b8251156125435782518084602001fd5b8160405162461bcd60e51b815260040161056c9190612589565b60005b83811015612578578181015183820152602001612560565b838111156122d85750506000910152565b60208152600082518060208401526125a881604085016020870161255d565b601f01601f19169190910160400192915050565b80356001600160a01b03811681146125d357600080fd5b919050565b600080604083850312156125eb57600080fd5b6125f4836125bc565b946020939093013593505050565b60006020828403121561261457600080fd5b5035919050565b60006020828403121561262d57600080fd5b6123d5826125bc565b6000806040838503121561264957600080fd5b50508035926020909101359150565b600181811c9082168061266c57607f821691505b60208210810361268c57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b6000828210156126d0576126d06126a8565b500390565b600082198211156126e8576126e86126a8565b500190565b6000816000190483118215151615612707576127076126a8565b500290565b634e487b7160e01b600052601260045260246000fd5b6000826127315761273161270c565b500490565b600081600f0b83600f0b60016001607f1b03600082136000841383830485118282161615612766576127666126a8565b6f7fffffffffffffffffffffffffffffff196000851282811687830587121615612792576127926126a8565b600087129250858205871284841616156127ae576127ae6126a8565b858505871281841616156127c4576127c46126a8565b5050509290910295945050505050565b600081600f0b83600f0b600081128160016001607f1b0319018312811516156127ff576127ff6126a8565b8160016001607f1b0301831381161561281a5761281a6126a8565b5090039392505050565b600081600f0b83600f0b600082128260016001607f1b030382138115161561284e5761284e6126a8565b8260016001607f1b031903821281161561286a5761286a6126a8565b50019392505050565b600060018201612885576128856126a8565b5060010190565b600081600f0b83600f0b806128a3576128a361270c565b6f7fffffffffffffffffffffffffffffff198214600019821416156128ca576128ca6126a8565b90059392505050565b6000602082840312156128e557600080fd5b815180151581146123d557600080fd5b6000825161290781846020870161255d565b919091019291505056fea26469706673582212209786904ceb02c9818738eb08c9ccbcf0cc7cc483c5b02b19570625e2ebdb922064736f6c634300080e0033",
}

VotingEscrowTokenMetaData contains all meta data concerning the VotingEscrowToken contract.

View Source
var WhitelistABI = WhitelistMetaData.ABI

WhitelistABI is the input ABI used to generate the binding from. Deprecated: Use WhitelistMetaData.ABI instead.

View Source
var WhitelistMetaData = &bind.MetaData{
	ABI: "[{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"previousOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransferred\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"WhitelistedAdded\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"WhitelistedRemoved\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"addWhitelisted\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"isWhitelisted\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"removeWhitelisted\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bool\",\"name\":\"_whitelistEnabled\",\"type\":\"bool\"}],\"name\":\"setWhitelistEnabled\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"whitelist\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"whitelistEnabled\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"}]",
}

WhitelistMetaData contains all meta data concerning the Whitelist contract.

View Source
var WithdrawInboxABI = WithdrawInboxMetaData.ABI

WithdrawInboxABI is the input ABI used to generate the binding from. Deprecated: Use WithdrawInboxMetaData.ABI instead.

View Source
var WithdrawInboxBin = WithdrawInboxMetaData.Bin

WithdrawInboxBin is the compiled bytecode used for deploying new contracts. Deprecated: Use WithdrawInboxMetaData.Bin instead.

View Source
var WithdrawInboxMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"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\":\"uint64\",\"name\":\"seqNum\",\"type\":\"uint64\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"receiver\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint64\",\"name\":\"toChain\",\"type\":\"uint64\"},{\"indexed\":false,\"internalType\":\"uint64[]\",\"name\":\"fromChains\",\"type\":\"uint64[]\"},{\"indexed\":false,\"internalType\":\"address[]\",\"name\":\"tokens\",\"type\":\"address[]\"},{\"indexed\":false,\"internalType\":\"uint32[]\",\"name\":\"ratios\",\"type\":\"uint32[]\"},{\"indexed\":false,\"internalType\":\"uint32[]\",\"name\":\"slippages\",\"type\":\"uint32[]\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"}],\"name\":\"WithdrawalRequest\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"minimalMaxSlippage\",\"outputs\":[{\"internalType\":\"uint32\",\"name\":\"\",\"type\":\"uint32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint32\",\"name\":\"_minimalMaxSlippage\",\"type\":\"uint32\"}],\"name\":\"setMinimalMaxSlippage\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_validityPeriod\",\"type\":\"uint256\"}],\"name\":\"setValidityPeriod\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"validityPeriod\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint64\",\"name\":\"_wdSeq\",\"type\":\"uint64\"},{\"internalType\":\"address\",\"name\":\"_receiver\",\"type\":\"address\"},{\"internalType\":\"uint64\",\"name\":\"_toChain\",\"type\":\"uint64\"},{\"internalType\":\"uint64[]\",\"name\":\"_fromChains\",\"type\":\"uint64[]\"},{\"internalType\":\"address[]\",\"name\":\"_tokens\",\"type\":\"address[]\"},{\"internalType\":\"uint32[]\",\"name\":\"_ratios\",\"type\":\"uint32[]\"},{\"internalType\":\"uint32[]\",\"name\":\"_slippages\",\"type\":\"uint32[]\"}],\"name\":\"withdraw\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
	Bin: "0x608060405234801561001057600080fd5b5061001a33610025565b611c20600155610075565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6109f3806100846000396000f3fe608060405234801561001057600080fd5b506004361061007d5760003560e01c806387e647ed1161005b57806387e647ed146100df5780638da5cb5b146100f2578063a48552961461010d578063f2fde38b1461012057600080fd5b80631e6c3850146100825780632fd1b0a41461009e57806348234126146100ca575b600080fd5b61008b60015481565b6040519081526020015b60405180910390f35b6000546100b590600160a01b900463ffffffff1681565b60405163ffffffff9091168152602001610095565b6100dd6100d8366004610641565b610133565b005b6100dd6100ed366004610663565b6101df565b6000546040516001600160a01b039091168152602001610095565b6100dd61011b3660046106f7565b61024d565b6100dd61012e3660046107f4565b6104cf565b336101466000546001600160a01b031690565b6001600160a01b0316146101a15760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064015b60405180910390fd5b6000805463ffffffff909216600160a01b027fffffffffffffffff00000000ffffffffffffffffffffffffffffffffffffffff909216919091179055565b336101f26000546001600160a01b031690565b6001600160a01b0316146102485760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610198565b600155565b8661029a5760405162461bcd60e51b815260206004820152601860248201527f656d707479207769746864726177616c207265717565737400000000000000006044820152606401610198565b84871480156102a857508287145b80156102b357508087145b6102ff5760405162461bcd60e51b815260206004820152600f60248201527f6c656e677468206d69736d6174636800000000000000000000000000000000006044820152606401610198565b60005b8381101561045f57600085858381811061031e5761031e61080f565b90506020020160208101906103339190610641565b63ffffffff1611801561037657506305f5e1008585838181106103585761035861080f565b905060200201602081019061036d9190610641565b63ffffffff1611155b6103c25760405162461bcd60e51b815260206004820152600d60248201527f696e76616c696420726174696f000000000000000000000000000000000000006044820152606401610198565b600054600160a01b900463ffffffff168383838181106103e4576103e461080f565b90506020020160208101906103f99190610641565b63ffffffff16101561044d5760405162461bcd60e51b815260206004820152601260248201527f736c69707061676520746f6f20736d616c6c00000000000000000000000000006044820152606401610198565b806104578161083b565b915050610302565b506000600154426104709190610854565b90507f7e2b24139224d852dd26bdb9f06f8136f7a1c9227a386d815a4ed8f1b8d7cc958c338d8d8d8d8d8d8d8d8d8d8d6040516104b99d9c9b9a999897969594939291906108ed565b60405180910390a1505050505050505050505050565b336104e26000546001600160a01b031690565b6001600160a01b0316146105385760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610198565b6001600160a01b0381166105b45760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610198565b6105bd816105c0565b50565b600080546001600160a01b038381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b803563ffffffff8116811461063c57600080fd5b919050565b60006020828403121561065357600080fd5b61065c82610628565b9392505050565b60006020828403121561067557600080fd5b5035919050565b803567ffffffffffffffff8116811461063c57600080fd5b80356001600160a01b038116811461063c57600080fd5b60008083601f8401126106bd57600080fd5b50813567ffffffffffffffff8111156106d557600080fd5b6020830191508360208260051b85010111156106f057600080fd5b9250929050565b600080600080600080600080600080600060e08c8e03121561071857600080fd5b6107218c61067c565b9a5061072f60208d01610694565b995061073d60408d0161067c565b985067ffffffffffffffff8060608e0135111561075957600080fd5b6107698e60608f01358f016106ab565b909950975060808d013581101561077f57600080fd5b61078f8e60808f01358f016106ab565b909750955060a08d01358110156107a557600080fd5b6107b58e60a08f01358f016106ab565b909550935060c08d01358110156107cb57600080fd5b506107dc8d60c08e01358e016106ab565b81935080925050509295989b509295989b9093969950565b60006020828403121561080657600080fd5b61065c82610694565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b60006001820161084d5761084d610825565b5060010190565b8082018082111561086757610867610825565b92915050565b8183526000602080850194508260005b858110156108a9576001600160a01b0361089683610694565b168752958201959082019060010161087d565b509495945050505050565b8183526000602080850194508260005b858110156108a95763ffffffff6108da83610628565b16875295820195908201906001016108c4565b67ffffffffffffffff8e811682526001600160a01b038e811660208401528d1660408301528b166060820152610120608082018190528101899052600061014082018b825b8c8110156109625767ffffffffffffffff61094c8361067c565b1683526020928301929190910190600101610932565b505082810360a0840152610977818a8c61086d565b905082810360c084015261098c81888a6108b4565b905082810360e08401526109a18186886108b4565b915050826101008301529e9d505050505050505050505050505056fea2646970667358221220928b78cdf2ef8a33b253143024b3214b40ee74cddc57c2bd7f9e4ffb5c8085ca64736f6c63430008110033",
}

WithdrawInboxMetaData contains all meta data concerning the WithdrawInbox contract.

Functions

func Addr2Hex

func Addr2Hex(a Addr) string

Addr2Hex returns hex without 0x

func Bytes2AddrHex

func Bytes2AddrHex(b []byte) string

Bytes2AddrHex returns hex without 0x

func Bytes2Hex

func Bytes2Hex(b []byte) string

Bytes2Hex returns hex string without 0x prefix

func FormatAddrHex

func FormatAddrHex(s string) string

FormatAddrHex formats a string into standard Addr string

func Hex2Bytes

func Hex2Bytes(s string) (b []byte)

Hex2Bytes supports hex string with or without 0x prefix Calls hex.DecodeString directly and ignore err similar to ec.FromHex but better

func Pad20Bytes

func Pad20Bytes(in []byte) []byte

if in is 20 bytes, return directly. otherwise return a new []byte w/ len 20, left pad 0x00..[in] if len(in)>20, panic

func Pad32Bytes

func Pad32Bytes(in []byte) []byte

func ParseAwsKms

func ParseAwsKms(ksfile, passphrase string) (region, alias, awsKey, awsSec string)

parse ksfile string if valid awskms, return region and alias. otherwise return empty strings

func SignerBytes

func SignerBytes(addrs []Addr, powers []*big.Int) []byte

func ToPadBytes

func ToPadBytes(v interface{}, rlen ...int) []byte

ToPadBytes return big-endian/network order bytes, left padded to specific length if v is uint32: 4 bytes, int64/uint64: 8 bytes, *big.Int: 32 bytes or rlen bytes if set return nil if type not supported

Types

type Addr

type Addr = ec.Address

Addr is alias to geth common.Address

func Bytes2Addr

func Bytes2Addr(b []byte) Addr

Bytes2Addr returns Address from b Addr.Bytes() does the reverse

func CreateSigner

func CreateSigner(ksfile, passphrase string, chainid *big.Int) (ethutils.Signer, Addr, error)

return signer, address

func Hex2Addr

func Hex2Addr(s string) Addr

Hex2Addr accepts hex string with or without 0x prefix and return Addr

type Bridge

type Bridge struct {
	BridgeCaller     // Read-only binding to the contract
	BridgeTransactor // Write-only binding to the contract
	BridgeFilterer   // Log filterer for contract events
}

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

func DeployBridge

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

DeployBridge deploys a new Ethereum contract, binding an instance of Bridge to it.

func NewBridge

func NewBridge(address common.Address, backend bind.ContractBackend) (*Bridge, error)

NewBridge creates a new instance of Bridge, bound to a specific deployed contract.

type BridgeCaller

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

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

func NewBridgeCaller

func NewBridgeCaller(address common.Address, caller bind.ContractCaller) (*BridgeCaller, error)

NewBridgeCaller creates a new read-only instance of Bridge, bound to a specific deployed contract.

func (*BridgeCaller) Addseq

func (_Bridge *BridgeCaller) Addseq(opts *bind.CallOpts) (uint64, error)

Addseq is a free data retrieval call binding the contract method 0x89e39127.

Solidity: function addseq() view returns(uint64)

func (*BridgeCaller) DelayPeriod

func (_Bridge *BridgeCaller) DelayPeriod(opts *bind.CallOpts) (*big.Int, error)

DelayPeriod is a free data retrieval call binding the contract method 0xb1c94d94.

Solidity: function delayPeriod() view returns(uint256)

func (*BridgeCaller) DelayThresholds

func (_Bridge *BridgeCaller) DelayThresholds(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)

DelayThresholds is a free data retrieval call binding the contract method 0x52532faa.

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

func (*BridgeCaller) DelayedTransfers

func (_Bridge *BridgeCaller) DelayedTransfers(opts *bind.CallOpts, arg0 [32]byte) (struct {
	Receiver  common.Address
	Token     common.Address
	Amount    *big.Int
	Timestamp *big.Int
}, error)

DelayedTransfers is a free data retrieval call binding the contract method 0xadc0d57f.

Solidity: function delayedTransfers(bytes32 ) view returns(address receiver, address token, uint256 amount, uint256 timestamp)

func (*BridgeCaller) EpochLength

func (_Bridge *BridgeCaller) EpochLength(opts *bind.CallOpts) (*big.Int, error)

EpochLength is a free data retrieval call binding the contract method 0x57d775f8.

Solidity: function epochLength() view returns(uint256)

func (*BridgeCaller) EpochVolumeCaps

func (_Bridge *BridgeCaller) EpochVolumeCaps(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)

EpochVolumeCaps is a free data retrieval call binding the contract method 0xb5f2bc47.

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

func (*BridgeCaller) EpochVolumes

func (_Bridge *BridgeCaller) EpochVolumes(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)

EpochVolumes is a free data retrieval call binding the contract method 0x60216b00.

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

func (*BridgeCaller) Governors

func (_Bridge *BridgeCaller) Governors(opts *bind.CallOpts, arg0 common.Address) (bool, error)

Governors is a free data retrieval call binding the contract method 0xe3eece26.

Solidity: function governors(address ) view returns(bool)

func (*BridgeCaller) IsGovernor

func (_Bridge *BridgeCaller) IsGovernor(opts *bind.CallOpts, _account common.Address) (bool, error)

IsGovernor is a free data retrieval call binding the contract method 0xe43581b8.

Solidity: function isGovernor(address _account) view returns(bool)

func (*BridgeCaller) IsPauser

func (_Bridge *BridgeCaller) IsPauser(opts *bind.CallOpts, account common.Address) (bool, error)

IsPauser is a free data retrieval call binding the contract method 0x46fbf68e.

Solidity: function isPauser(address account) view returns(bool)

func (*BridgeCaller) LastOpTimestamps

func (_Bridge *BridgeCaller) LastOpTimestamps(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)

LastOpTimestamps is a free data retrieval call binding the contract method 0xf8321383.

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

func (*BridgeCaller) MaxSend

func (_Bridge *BridgeCaller) MaxSend(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)

MaxSend is a free data retrieval call binding the contract method 0x618ee055.

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

func (*BridgeCaller) MinAdd

func (_Bridge *BridgeCaller) MinAdd(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)

MinAdd is a free data retrieval call binding the contract method 0xccde517a.

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

func (*BridgeCaller) MinSend

func (_Bridge *BridgeCaller) MinSend(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)

MinSend is a free data retrieval call binding the contract method 0xf8b30d7d.

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

func (*BridgeCaller) MinimalMaxSlippage

func (_Bridge *BridgeCaller) MinimalMaxSlippage(opts *bind.CallOpts) (uint32, error)

MinimalMaxSlippage is a free data retrieval call binding the contract method 0x2fd1b0a4.

Solidity: function minimalMaxSlippage() view returns(uint32)

func (*BridgeCaller) NativeWrap

func (_Bridge *BridgeCaller) NativeWrap(opts *bind.CallOpts) (common.Address, error)

NativeWrap is a free data retrieval call binding the contract method 0x457bfa2f.

Solidity: function nativeWrap() view returns(address)

func (*BridgeCaller) NoticePeriod

func (_Bridge *BridgeCaller) NoticePeriod(opts *bind.CallOpts) (*big.Int, error)

NoticePeriod is a free data retrieval call binding the contract method 0x9b14d4c6.

Solidity: function noticePeriod() view returns(uint256)

func (*BridgeCaller) Owner

func (_Bridge *BridgeCaller) 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 (*BridgeCaller) Paused

func (_Bridge *BridgeCaller) Paused(opts *bind.CallOpts) (bool, error)

Paused is a free data retrieval call binding the contract method 0x5c975abb.

Solidity: function paused() view returns(bool)

func (*BridgeCaller) Pausers

func (_Bridge *BridgeCaller) Pausers(opts *bind.CallOpts, arg0 common.Address) (bool, error)

Pausers is a free data retrieval call binding the contract method 0x80f51c12.

Solidity: function pausers(address ) view returns(bool)

func (*BridgeCaller) ResetTime

func (_Bridge *BridgeCaller) ResetTime(opts *bind.CallOpts) (*big.Int, error)

ResetTime is a free data retrieval call binding the contract method 0x65a114f1.

Solidity: function resetTime() view returns(uint256)

func (*BridgeCaller) SsHash

func (_Bridge *BridgeCaller) SsHash(opts *bind.CallOpts) ([32]byte, error)

SsHash is a free data retrieval call binding the contract method 0xd0790da9.

Solidity: function ssHash() view returns(bytes32)

func (*BridgeCaller) Transfers

func (_Bridge *BridgeCaller) Transfers(opts *bind.CallOpts, arg0 [32]byte) (bool, error)

Transfers is a free data retrieval call binding the contract method 0x3c64f04b.

Solidity: function transfers(bytes32 ) view returns(bool)

func (*BridgeCaller) TriggerTime

func (_Bridge *BridgeCaller) TriggerTime(opts *bind.CallOpts) (*big.Int, error)

TriggerTime is a free data retrieval call binding the contract method 0x370fb47b.

Solidity: function triggerTime() view returns(uint256)

func (*BridgeCaller) VerifySigs

func (_Bridge *BridgeCaller) VerifySigs(opts *bind.CallOpts, _msg []byte, _sigs [][]byte, _signers []common.Address, _powers []*big.Int) error

VerifySigs is a free data retrieval call binding the contract method 0x682dbc22.

Solidity: function verifySigs(bytes _msg, bytes[] _sigs, address[] _signers, uint256[] _powers) view returns()

func (*BridgeCaller) Withdraws

func (_Bridge *BridgeCaller) Withdraws(opts *bind.CallOpts, arg0 [32]byte) (bool, error)

Withdraws is a free data retrieval call binding the contract method 0xe09ab428.

Solidity: function withdraws(bytes32 ) view returns(bool)

type BridgeCallerRaw

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

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

func (*BridgeCallerRaw) Call

func (_Bridge *BridgeCallerRaw) 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 BridgeCallerSession

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

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

func (*BridgeCallerSession) Addseq

func (_Bridge *BridgeCallerSession) Addseq() (uint64, error)

Addseq is a free data retrieval call binding the contract method 0x89e39127.

Solidity: function addseq() view returns(uint64)

func (*BridgeCallerSession) DelayPeriod

func (_Bridge *BridgeCallerSession) DelayPeriod() (*big.Int, error)

DelayPeriod is a free data retrieval call binding the contract method 0xb1c94d94.

Solidity: function delayPeriod() view returns(uint256)

func (*BridgeCallerSession) DelayThresholds

func (_Bridge *BridgeCallerSession) DelayThresholds(arg0 common.Address) (*big.Int, error)

DelayThresholds is a free data retrieval call binding the contract method 0x52532faa.

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

func (*BridgeCallerSession) DelayedTransfers

func (_Bridge *BridgeCallerSession) DelayedTransfers(arg0 [32]byte) (struct {
	Receiver  common.Address
	Token     common.Address
	Amount    *big.Int
	Timestamp *big.Int
}, error)

DelayedTransfers is a free data retrieval call binding the contract method 0xadc0d57f.

Solidity: function delayedTransfers(bytes32 ) view returns(address receiver, address token, uint256 amount, uint256 timestamp)

func (*BridgeCallerSession) EpochLength

func (_Bridge *BridgeCallerSession) EpochLength() (*big.Int, error)

EpochLength is a free data retrieval call binding the contract method 0x57d775f8.

Solidity: function epochLength() view returns(uint256)

func (*BridgeCallerSession) EpochVolumeCaps

func (_Bridge *BridgeCallerSession) EpochVolumeCaps(arg0 common.Address) (*big.Int, error)

EpochVolumeCaps is a free data retrieval call binding the contract method 0xb5f2bc47.

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

func (*BridgeCallerSession) EpochVolumes

func (_Bridge *BridgeCallerSession) EpochVolumes(arg0 common.Address) (*big.Int, error)

EpochVolumes is a free data retrieval call binding the contract method 0x60216b00.

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

func (*BridgeCallerSession) Governors

func (_Bridge *BridgeCallerSession) Governors(arg0 common.Address) (bool, error)

Governors is a free data retrieval call binding the contract method 0xe3eece26.

Solidity: function governors(address ) view returns(bool)

func (*BridgeCallerSession) IsGovernor

func (_Bridge *BridgeCallerSession) IsGovernor(_account common.Address) (bool, error)

IsGovernor is a free data retrieval call binding the contract method 0xe43581b8.

Solidity: function isGovernor(address _account) view returns(bool)

func (*BridgeCallerSession) IsPauser

func (_Bridge *BridgeCallerSession) IsPauser(account common.Address) (bool, error)

IsPauser is a free data retrieval call binding the contract method 0x46fbf68e.

Solidity: function isPauser(address account) view returns(bool)

func (*BridgeCallerSession) LastOpTimestamps

func (_Bridge *BridgeCallerSession) LastOpTimestamps(arg0 common.Address) (*big.Int, error)

LastOpTimestamps is a free data retrieval call binding the contract method 0xf8321383.

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

func (*BridgeCallerSession) MaxSend

func (_Bridge *BridgeCallerSession) MaxSend(arg0 common.Address) (*big.Int, error)

MaxSend is a free data retrieval call binding the contract method 0x618ee055.

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

func (*BridgeCallerSession) MinAdd

func (_Bridge *BridgeCallerSession) MinAdd(arg0 common.Address) (*big.Int, error)

MinAdd is a free data retrieval call binding the contract method 0xccde517a.

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

func (*BridgeCallerSession) MinSend

func (_Bridge *BridgeCallerSession) MinSend(arg0 common.Address) (*big.Int, error)

MinSend is a free data retrieval call binding the contract method 0xf8b30d7d.

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

func (*BridgeCallerSession) MinimalMaxSlippage

func (_Bridge *BridgeCallerSession) MinimalMaxSlippage() (uint32, error)

MinimalMaxSlippage is a free data retrieval call binding the contract method 0x2fd1b0a4.

Solidity: function minimalMaxSlippage() view returns(uint32)

func (*BridgeCallerSession) NativeWrap

func (_Bridge *BridgeCallerSession) NativeWrap() (common.Address, error)

NativeWrap is a free data retrieval call binding the contract method 0x457bfa2f.

Solidity: function nativeWrap() view returns(address)

func (*BridgeCallerSession) NoticePeriod

func (_Bridge *BridgeCallerSession) NoticePeriod() (*big.Int, error)

NoticePeriod is a free data retrieval call binding the contract method 0x9b14d4c6.

Solidity: function noticePeriod() view returns(uint256)

func (*BridgeCallerSession) Owner

func (_Bridge *BridgeCallerSession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*BridgeCallerSession) Paused

func (_Bridge *BridgeCallerSession) Paused() (bool, error)

Paused is a free data retrieval call binding the contract method 0x5c975abb.

Solidity: function paused() view returns(bool)

func (*BridgeCallerSession) Pausers

func (_Bridge *BridgeCallerSession) Pausers(arg0 common.Address) (bool, error)

Pausers is a free data retrieval call binding the contract method 0x80f51c12.

Solidity: function pausers(address ) view returns(bool)

func (*BridgeCallerSession) ResetTime

func (_Bridge *BridgeCallerSession) ResetTime() (*big.Int, error)

ResetTime is a free data retrieval call binding the contract method 0x65a114f1.

Solidity: function resetTime() view returns(uint256)

func (*BridgeCallerSession) SsHash

func (_Bridge *BridgeCallerSession) SsHash() ([32]byte, error)

SsHash is a free data retrieval call binding the contract method 0xd0790da9.

Solidity: function ssHash() view returns(bytes32)

func (*BridgeCallerSession) Transfers

func (_Bridge *BridgeCallerSession) Transfers(arg0 [32]byte) (bool, error)

Transfers is a free data retrieval call binding the contract method 0x3c64f04b.

Solidity: function transfers(bytes32 ) view returns(bool)

func (*BridgeCallerSession) TriggerTime

func (_Bridge *BridgeCallerSession) TriggerTime() (*big.Int, error)

TriggerTime is a free data retrieval call binding the contract method 0x370fb47b.

Solidity: function triggerTime() view returns(uint256)

func (*BridgeCallerSession) VerifySigs

func (_Bridge *BridgeCallerSession) VerifySigs(_msg []byte, _sigs [][]byte, _signers []common.Address, _powers []*big.Int) error

VerifySigs is a free data retrieval call binding the contract method 0x682dbc22.

Solidity: function verifySigs(bytes _msg, bytes[] _sigs, address[] _signers, uint256[] _powers) view returns()

func (*BridgeCallerSession) Withdraws

func (_Bridge *BridgeCallerSession) Withdraws(arg0 [32]byte) (bool, error)

Withdraws is a free data retrieval call binding the contract method 0xe09ab428.

Solidity: function withdraws(bytes32 ) view returns(bool)

type BridgeContract

type BridgeContract struct {
	*Bridge
	Address Addr
}

func NewBridgeContract

func NewBridgeContract(address Addr, client *ethclient.Client) (*BridgeContract, error)

func (*BridgeContract) GetABI

func (c *BridgeContract) GetABI() string

func (*BridgeContract) GetAddr

func (c *BridgeContract) GetAddr() Addr

type BridgeDelayPeriodUpdated

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

BridgeDelayPeriodUpdated represents a DelayPeriodUpdated event raised by the Bridge contract.

type BridgeDelayPeriodUpdatedIterator

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

BridgeDelayPeriodUpdatedIterator is returned from FilterDelayPeriodUpdated and is used to iterate over the raw logs and unpacked data for DelayPeriodUpdated events raised by the Bridge contract.

func (*BridgeDelayPeriodUpdatedIterator) Close

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

func (*BridgeDelayPeriodUpdatedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*BridgeDelayPeriodUpdatedIterator) 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 BridgeDelayThresholdUpdated

type BridgeDelayThresholdUpdated struct {
	Token     common.Address
	Threshold *big.Int
	Raw       types.Log // Blockchain specific contextual infos
}

BridgeDelayThresholdUpdated represents a DelayThresholdUpdated event raised by the Bridge contract.

type BridgeDelayThresholdUpdatedIterator

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

BridgeDelayThresholdUpdatedIterator is returned from FilterDelayThresholdUpdated and is used to iterate over the raw logs and unpacked data for DelayThresholdUpdated events raised by the Bridge contract.

func (*BridgeDelayThresholdUpdatedIterator) Close

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

func (*BridgeDelayThresholdUpdatedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*BridgeDelayThresholdUpdatedIterator) 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 BridgeDelayedTransferAdded

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

BridgeDelayedTransferAdded represents a DelayedTransferAdded event raised by the Bridge contract.

type BridgeDelayedTransferAddedIterator

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

BridgeDelayedTransferAddedIterator is returned from FilterDelayedTransferAdded and is used to iterate over the raw logs and unpacked data for DelayedTransferAdded events raised by the Bridge contract.

func (*BridgeDelayedTransferAddedIterator) Close

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

func (*BridgeDelayedTransferAddedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*BridgeDelayedTransferAddedIterator) 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 BridgeDelayedTransferExecuted

type BridgeDelayedTransferExecuted struct {
	Id       [32]byte
	Receiver common.Address
	Token    common.Address
	Amount   *big.Int
	Raw      types.Log // Blockchain specific contextual infos
}

BridgeDelayedTransferExecuted represents a DelayedTransferExecuted event raised by the Bridge contract.

type BridgeDelayedTransferExecutedIterator

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

BridgeDelayedTransferExecutedIterator is returned from FilterDelayedTransferExecuted and is used to iterate over the raw logs and unpacked data for DelayedTransferExecuted events raised by the Bridge contract.

func (*BridgeDelayedTransferExecutedIterator) Close

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

func (*BridgeDelayedTransferExecutedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*BridgeDelayedTransferExecutedIterator) 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 BridgeEpochLengthUpdated

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

BridgeEpochLengthUpdated represents a EpochLengthUpdated event raised by the Bridge contract.

type BridgeEpochLengthUpdatedIterator

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

BridgeEpochLengthUpdatedIterator is returned from FilterEpochLengthUpdated and is used to iterate over the raw logs and unpacked data for EpochLengthUpdated events raised by the Bridge contract.

func (*BridgeEpochLengthUpdatedIterator) Close

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

func (*BridgeEpochLengthUpdatedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*BridgeEpochLengthUpdatedIterator) 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 BridgeEpochVolumeUpdated

type BridgeEpochVolumeUpdated struct {
	Token common.Address
	Cap   *big.Int
	Raw   types.Log // Blockchain specific contextual infos
}

BridgeEpochVolumeUpdated represents a EpochVolumeUpdated event raised by the Bridge contract.

type BridgeEpochVolumeUpdatedIterator

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

BridgeEpochVolumeUpdatedIterator is returned from FilterEpochVolumeUpdated and is used to iterate over the raw logs and unpacked data for EpochVolumeUpdated events raised by the Bridge contract.

func (*BridgeEpochVolumeUpdatedIterator) Close

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

func (*BridgeEpochVolumeUpdatedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*BridgeEpochVolumeUpdatedIterator) 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 BridgeFilterer

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

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

func NewBridgeFilterer

func NewBridgeFilterer(address common.Address, filterer bind.ContractFilterer) (*BridgeFilterer, error)

NewBridgeFilterer creates a new log filterer instance of Bridge, bound to a specific deployed contract.

func (*BridgeFilterer) FilterDelayPeriodUpdated

func (_Bridge *BridgeFilterer) FilterDelayPeriodUpdated(opts *bind.FilterOpts) (*BridgeDelayPeriodUpdatedIterator, error)

FilterDelayPeriodUpdated is a free log retrieval operation binding the contract event 0xc0a39f234199b125fb93713c4d067bdcebbf691087f87b79c0feb92b156ba8b6.

Solidity: event DelayPeriodUpdated(uint256 period)

func (*BridgeFilterer) FilterDelayThresholdUpdated

func (_Bridge *BridgeFilterer) FilterDelayThresholdUpdated(opts *bind.FilterOpts) (*BridgeDelayThresholdUpdatedIterator, error)

FilterDelayThresholdUpdated is a free log retrieval operation binding the contract event 0xceaad6533bfb481492fb3e08ef19297f46611b8fa9de5ef4cf8dc23a56ad09ce.

Solidity: event DelayThresholdUpdated(address token, uint256 threshold)

func (*BridgeFilterer) FilterDelayedTransferAdded

func (_Bridge *BridgeFilterer) FilterDelayedTransferAdded(opts *bind.FilterOpts) (*BridgeDelayedTransferAddedIterator, error)

FilterDelayedTransferAdded is a free log retrieval operation binding the contract event 0xcbcfffe5102114216a85d3aceb14ad4b81a3935b1b5c468fadf3889eb9c5dce6.

Solidity: event DelayedTransferAdded(bytes32 id)

func (*BridgeFilterer) FilterDelayedTransferExecuted

func (_Bridge *BridgeFilterer) FilterDelayedTransferExecuted(opts *bind.FilterOpts) (*BridgeDelayedTransferExecutedIterator, error)

FilterDelayedTransferExecuted is a free log retrieval operation binding the contract event 0x3b40e5089937425d14cdd96947e5661868357e224af59bd8b24a4b8a330d4426.

Solidity: event DelayedTransferExecuted(bytes32 id, address receiver, address token, uint256 amount)

func (*BridgeFilterer) FilterEpochLengthUpdated

func (_Bridge *BridgeFilterer) FilterEpochLengthUpdated(opts *bind.FilterOpts) (*BridgeEpochLengthUpdatedIterator, error)

FilterEpochLengthUpdated is a free log retrieval operation binding the contract event 0x2664fec2ff76486ac58ed087310855b648b15b9d19f3de8529e95f7c46b7d6b3.

Solidity: event EpochLengthUpdated(uint256 length)

func (*BridgeFilterer) FilterEpochVolumeUpdated

func (_Bridge *BridgeFilterer) FilterEpochVolumeUpdated(opts *bind.FilterOpts) (*BridgeEpochVolumeUpdatedIterator, error)

FilterEpochVolumeUpdated is a free log retrieval operation binding the contract event 0x608e49c22994f20b5d3496dca088b88dfd81b4a3e8cc3809ea1e10a320107e89.

Solidity: event EpochVolumeUpdated(address token, uint256 cap)

func (*BridgeFilterer) FilterGovernorAdded

func (_Bridge *BridgeFilterer) FilterGovernorAdded(opts *bind.FilterOpts) (*BridgeGovernorAddedIterator, error)

FilterGovernorAdded is a free log retrieval operation binding the contract event 0xdc5a48d79e2e147530ff63ecdbed5a5a66adb9d5cf339384d5d076da197c40b5.

Solidity: event GovernorAdded(address account)

func (*BridgeFilterer) FilterGovernorRemoved

func (_Bridge *BridgeFilterer) FilterGovernorRemoved(opts *bind.FilterOpts) (*BridgeGovernorRemovedIterator, error)

FilterGovernorRemoved is a free log retrieval operation binding the contract event 0x1ebe834e73d60a5fec822c1e1727d34bc79f2ad977ed504581cc1822fe20fb5b.

Solidity: event GovernorRemoved(address account)

func (*BridgeFilterer) FilterLiquidityAdded

func (_Bridge *BridgeFilterer) FilterLiquidityAdded(opts *bind.FilterOpts) (*BridgeLiquidityAddedIterator, error)

FilterLiquidityAdded is a free log retrieval operation binding the contract event 0xd5d28426c3248963b1719df49aa4c665120372e02c8249bbea03d019c39ce764.

Solidity: event LiquidityAdded(uint64 seqnum, address provider, address token, uint256 amount)

func (*BridgeFilterer) FilterMaxSendUpdated

func (_Bridge *BridgeFilterer) FilterMaxSendUpdated(opts *bind.FilterOpts) (*BridgeMaxSendUpdatedIterator, error)

FilterMaxSendUpdated is a free log retrieval operation binding the contract event 0x4f12d1a5bfb3ccd3719255d4d299d808d50cdca9a0a5c2b3a5aaa7edde73052c.

Solidity: event MaxSendUpdated(address token, uint256 amount)

func (*BridgeFilterer) FilterMinAddUpdated

func (_Bridge *BridgeFilterer) FilterMinAddUpdated(opts *bind.FilterOpts) (*BridgeMinAddUpdatedIterator, error)

FilterMinAddUpdated is a free log retrieval operation binding the contract event 0xc56b0d14c4940515800d94ebbd0f3f5d8cc58ba1109c12536bd993b72e466e4f.

Solidity: event MinAddUpdated(address token, uint256 amount)

func (*BridgeFilterer) FilterMinSendUpdated

func (_Bridge *BridgeFilterer) FilterMinSendUpdated(opts *bind.FilterOpts) (*BridgeMinSendUpdatedIterator, error)

FilterMinSendUpdated is a free log retrieval operation binding the contract event 0x8b59d386e660418a48d742213ad5ce7c4dd51ae81f30e4e2c387f17d907010c9.

Solidity: event MinSendUpdated(address token, uint256 amount)

func (*BridgeFilterer) FilterOwnershipTransferred

func (_Bridge *BridgeFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*BridgeOwnershipTransferredIterator, error)

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

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

func (*BridgeFilterer) FilterPaused

func (_Bridge *BridgeFilterer) FilterPaused(opts *bind.FilterOpts) (*BridgePausedIterator, error)

FilterPaused is a free log retrieval operation binding the contract event 0x62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258.

Solidity: event Paused(address account)

func (*BridgeFilterer) FilterPauserAdded

func (_Bridge *BridgeFilterer) FilterPauserAdded(opts *bind.FilterOpts) (*BridgePauserAddedIterator, error)

FilterPauserAdded is a free log retrieval operation binding the contract event 0x6719d08c1888103bea251a4ed56406bd0c3e69723c8a1686e017e7bbe159b6f8.

Solidity: event PauserAdded(address account)

func (*BridgeFilterer) FilterPauserRemoved

func (_Bridge *BridgeFilterer) FilterPauserRemoved(opts *bind.FilterOpts) (*BridgePauserRemovedIterator, error)

FilterPauserRemoved is a free log retrieval operation binding the contract event 0xcd265ebaf09df2871cc7bd4133404a235ba12eff2041bb89d9c714a2621c7c7e.

Solidity: event PauserRemoved(address account)

func (*BridgeFilterer) FilterRelay

func (_Bridge *BridgeFilterer) FilterRelay(opts *bind.FilterOpts) (*BridgeRelayIterator, error)

FilterRelay is a free log retrieval operation binding the contract event 0x79fa08de5149d912dce8e5e8da7a7c17ccdf23dd5d3bfe196802e6eb86347c7c.

Solidity: event Relay(bytes32 transferId, address sender, address receiver, address token, uint256 amount, uint64 srcChainId, bytes32 srcTransferId)

func (*BridgeFilterer) FilterResetNotification

func (_Bridge *BridgeFilterer) FilterResetNotification(opts *bind.FilterOpts) (*BridgeResetNotificationIterator, error)

FilterResetNotification is a free log retrieval operation binding the contract event 0x68e825132f7d4bc837dea2d64ac9fc19912bf0224b67f9317d8f1a917f5304a1.

Solidity: event ResetNotification(uint256 resetTime)

func (*BridgeFilterer) FilterSend

func (_Bridge *BridgeFilterer) FilterSend(opts *bind.FilterOpts) (*BridgeSendIterator, error)

FilterSend is a free log retrieval operation binding the contract event 0x89d8051e597ab4178a863a5190407b98abfeff406aa8db90c59af76612e58f01.

Solidity: event Send(bytes32 transferId, address sender, address receiver, address token, uint256 amount, uint64 dstChainId, uint64 nonce, uint32 maxSlippage)

func (*BridgeFilterer) FilterSignersUpdated

func (_Bridge *BridgeFilterer) FilterSignersUpdated(opts *bind.FilterOpts) (*BridgeSignersUpdatedIterator, error)

FilterSignersUpdated is a free log retrieval operation binding the contract event 0xf126123539a68393c55697f617e7d1148e371988daed246c2f41da99965a23f8.

Solidity: event SignersUpdated(address[] _signers, uint256[] _powers)

func (*BridgeFilterer) FilterUnpaused

func (_Bridge *BridgeFilterer) FilterUnpaused(opts *bind.FilterOpts) (*BridgeUnpausedIterator, error)

FilterUnpaused is a free log retrieval operation binding the contract event 0x5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa.

Solidity: event Unpaused(address account)

func (*BridgeFilterer) FilterWithdrawDone

func (_Bridge *BridgeFilterer) FilterWithdrawDone(opts *bind.FilterOpts) (*BridgeWithdrawDoneIterator, error)

FilterWithdrawDone is a free log retrieval operation binding the contract event 0x48a1ab26f3aa7b62bb6b6e8eed182f292b84eb7b006c0254386b268af20774be.

Solidity: event WithdrawDone(bytes32 withdrawId, uint64 seqnum, address receiver, address token, uint256 amount, bytes32 refid)

func (*BridgeFilterer) ParseDelayPeriodUpdated

func (_Bridge *BridgeFilterer) ParseDelayPeriodUpdated(log types.Log) (*BridgeDelayPeriodUpdated, error)

ParseDelayPeriodUpdated is a log parse operation binding the contract event 0xc0a39f234199b125fb93713c4d067bdcebbf691087f87b79c0feb92b156ba8b6.

Solidity: event DelayPeriodUpdated(uint256 period)

func (*BridgeFilterer) ParseDelayThresholdUpdated

func (_Bridge *BridgeFilterer) ParseDelayThresholdUpdated(log types.Log) (*BridgeDelayThresholdUpdated, error)

ParseDelayThresholdUpdated is a log parse operation binding the contract event 0xceaad6533bfb481492fb3e08ef19297f46611b8fa9de5ef4cf8dc23a56ad09ce.

Solidity: event DelayThresholdUpdated(address token, uint256 threshold)

func (*BridgeFilterer) ParseDelayedTransferAdded

func (_Bridge *BridgeFilterer) ParseDelayedTransferAdded(log types.Log) (*BridgeDelayedTransferAdded, error)

ParseDelayedTransferAdded is a log parse operation binding the contract event 0xcbcfffe5102114216a85d3aceb14ad4b81a3935b1b5c468fadf3889eb9c5dce6.

Solidity: event DelayedTransferAdded(bytes32 id)

func (*BridgeFilterer) ParseDelayedTransferExecuted

func (_Bridge *BridgeFilterer) ParseDelayedTransferExecuted(log types.Log) (*BridgeDelayedTransferExecuted, error)

ParseDelayedTransferExecuted is a log parse operation binding the contract event 0x3b40e5089937425d14cdd96947e5661868357e224af59bd8b24a4b8a330d4426.

Solidity: event DelayedTransferExecuted(bytes32 id, address receiver, address token, uint256 amount)

func (*BridgeFilterer) ParseEpochLengthUpdated

func (_Bridge *BridgeFilterer) ParseEpochLengthUpdated(log types.Log) (*BridgeEpochLengthUpdated, error)

ParseEpochLengthUpdated is a log parse operation binding the contract event 0x2664fec2ff76486ac58ed087310855b648b15b9d19f3de8529e95f7c46b7d6b3.

Solidity: event EpochLengthUpdated(uint256 length)

func (*BridgeFilterer) ParseEpochVolumeUpdated

func (_Bridge *BridgeFilterer) ParseEpochVolumeUpdated(log types.Log) (*BridgeEpochVolumeUpdated, error)

ParseEpochVolumeUpdated is a log parse operation binding the contract event 0x608e49c22994f20b5d3496dca088b88dfd81b4a3e8cc3809ea1e10a320107e89.

Solidity: event EpochVolumeUpdated(address token, uint256 cap)

func (*BridgeFilterer) ParseGovernorAdded

func (_Bridge *BridgeFilterer) ParseGovernorAdded(log types.Log) (*BridgeGovernorAdded, error)

ParseGovernorAdded is a log parse operation binding the contract event 0xdc5a48d79e2e147530ff63ecdbed5a5a66adb9d5cf339384d5d076da197c40b5.

Solidity: event GovernorAdded(address account)

func (*BridgeFilterer) ParseGovernorRemoved

func (_Bridge *BridgeFilterer) ParseGovernorRemoved(log types.Log) (*BridgeGovernorRemoved, error)

ParseGovernorRemoved is a log parse operation binding the contract event 0x1ebe834e73d60a5fec822c1e1727d34bc79f2ad977ed504581cc1822fe20fb5b.

Solidity: event GovernorRemoved(address account)

func (*BridgeFilterer) ParseLiquidityAdded

func (_Bridge *BridgeFilterer) ParseLiquidityAdded(log types.Log) (*BridgeLiquidityAdded, error)

ParseLiquidityAdded is a log parse operation binding the contract event 0xd5d28426c3248963b1719df49aa4c665120372e02c8249bbea03d019c39ce764.

Solidity: event LiquidityAdded(uint64 seqnum, address provider, address token, uint256 amount)

func (*BridgeFilterer) ParseMaxSendUpdated

func (_Bridge *BridgeFilterer) ParseMaxSendUpdated(log types.Log) (*BridgeMaxSendUpdated, error)

ParseMaxSendUpdated is a log parse operation binding the contract event 0x4f12d1a5bfb3ccd3719255d4d299d808d50cdca9a0a5c2b3a5aaa7edde73052c.

Solidity: event MaxSendUpdated(address token, uint256 amount)

func (*BridgeFilterer) ParseMinAddUpdated

func (_Bridge *BridgeFilterer) ParseMinAddUpdated(log types.Log) (*BridgeMinAddUpdated, error)

ParseMinAddUpdated is a log parse operation binding the contract event 0xc56b0d14c4940515800d94ebbd0f3f5d8cc58ba1109c12536bd993b72e466e4f.

Solidity: event MinAddUpdated(address token, uint256 amount)

func (*BridgeFilterer) ParseMinSendUpdated

func (_Bridge *BridgeFilterer) ParseMinSendUpdated(log types.Log) (*BridgeMinSendUpdated, error)

ParseMinSendUpdated is a log parse operation binding the contract event 0x8b59d386e660418a48d742213ad5ce7c4dd51ae81f30e4e2c387f17d907010c9.

Solidity: event MinSendUpdated(address token, uint256 amount)

func (*BridgeFilterer) ParseOwnershipTransferred

func (_Bridge *BridgeFilterer) ParseOwnershipTransferred(log types.Log) (*BridgeOwnershipTransferred, error)

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

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

func (*BridgeFilterer) ParsePaused

func (_Bridge *BridgeFilterer) ParsePaused(log types.Log) (*BridgePaused, error)

ParsePaused is a log parse operation binding the contract event 0x62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258.

Solidity: event Paused(address account)

func (*BridgeFilterer) ParsePauserAdded

func (_Bridge *BridgeFilterer) ParsePauserAdded(log types.Log) (*BridgePauserAdded, error)

ParsePauserAdded is a log parse operation binding the contract event 0x6719d08c1888103bea251a4ed56406bd0c3e69723c8a1686e017e7bbe159b6f8.

Solidity: event PauserAdded(address account)

func (*BridgeFilterer) ParsePauserRemoved

func (_Bridge *BridgeFilterer) ParsePauserRemoved(log types.Log) (*BridgePauserRemoved, error)

ParsePauserRemoved is a log parse operation binding the contract event 0xcd265ebaf09df2871cc7bd4133404a235ba12eff2041bb89d9c714a2621c7c7e.

Solidity: event PauserRemoved(address account)

func (*BridgeFilterer) ParseRelay

func (_Bridge *BridgeFilterer) ParseRelay(log types.Log) (*BridgeRelay, error)

ParseRelay is a log parse operation binding the contract event 0x79fa08de5149d912dce8e5e8da7a7c17ccdf23dd5d3bfe196802e6eb86347c7c.

Solidity: event Relay(bytes32 transferId, address sender, address receiver, address token, uint256 amount, uint64 srcChainId, bytes32 srcTransferId)

func (*BridgeFilterer) ParseResetNotification

func (_Bridge *BridgeFilterer) ParseResetNotification(log types.Log) (*BridgeResetNotification, error)

ParseResetNotification is a log parse operation binding the contract event 0x68e825132f7d4bc837dea2d64ac9fc19912bf0224b67f9317d8f1a917f5304a1.

Solidity: event ResetNotification(uint256 resetTime)

func (*BridgeFilterer) ParseSend

func (_Bridge *BridgeFilterer) ParseSend(log types.Log) (*BridgeSend, error)

ParseSend is a log parse operation binding the contract event 0x89d8051e597ab4178a863a5190407b98abfeff406aa8db90c59af76612e58f01.

Solidity: event Send(bytes32 transferId, address sender, address receiver, address token, uint256 amount, uint64 dstChainId, uint64 nonce, uint32 maxSlippage)

func (*BridgeFilterer) ParseSignersUpdated

func (_Bridge *BridgeFilterer) ParseSignersUpdated(log types.Log) (*BridgeSignersUpdated, error)

ParseSignersUpdated is a log parse operation binding the contract event 0xf126123539a68393c55697f617e7d1148e371988daed246c2f41da99965a23f8.

Solidity: event SignersUpdated(address[] _signers, uint256[] _powers)

func (*BridgeFilterer) ParseUnpaused

func (_Bridge *BridgeFilterer) ParseUnpaused(log types.Log) (*BridgeUnpaused, error)

ParseUnpaused is a log parse operation binding the contract event 0x5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa.

Solidity: event Unpaused(address account)

func (*BridgeFilterer) ParseWithdrawDone

func (_Bridge *BridgeFilterer) ParseWithdrawDone(log types.Log) (*BridgeWithdrawDone, error)

ParseWithdrawDone is a log parse operation binding the contract event 0x48a1ab26f3aa7b62bb6b6e8eed182f292b84eb7b006c0254386b268af20774be.

Solidity: event WithdrawDone(bytes32 withdrawId, uint64 seqnum, address receiver, address token, uint256 amount, bytes32 refid)

func (*BridgeFilterer) WatchDelayPeriodUpdated

func (_Bridge *BridgeFilterer) WatchDelayPeriodUpdated(opts *bind.WatchOpts, sink chan<- *BridgeDelayPeriodUpdated) (event.Subscription, error)

WatchDelayPeriodUpdated is a free log subscription operation binding the contract event 0xc0a39f234199b125fb93713c4d067bdcebbf691087f87b79c0feb92b156ba8b6.

Solidity: event DelayPeriodUpdated(uint256 period)

func (*BridgeFilterer) WatchDelayThresholdUpdated

func (_Bridge *BridgeFilterer) WatchDelayThresholdUpdated(opts *bind.WatchOpts, sink chan<- *BridgeDelayThresholdUpdated) (event.Subscription, error)

WatchDelayThresholdUpdated is a free log subscription operation binding the contract event 0xceaad6533bfb481492fb3e08ef19297f46611b8fa9de5ef4cf8dc23a56ad09ce.

Solidity: event DelayThresholdUpdated(address token, uint256 threshold)

func (*BridgeFilterer) WatchDelayedTransferAdded

func (_Bridge *BridgeFilterer) WatchDelayedTransferAdded(opts *bind.WatchOpts, sink chan<- *BridgeDelayedTransferAdded) (event.Subscription, error)

WatchDelayedTransferAdded is a free log subscription operation binding the contract event 0xcbcfffe5102114216a85d3aceb14ad4b81a3935b1b5c468fadf3889eb9c5dce6.

Solidity: event DelayedTransferAdded(bytes32 id)

func (*BridgeFilterer) WatchDelayedTransferExecuted

func (_Bridge *BridgeFilterer) WatchDelayedTransferExecuted(opts *bind.WatchOpts, sink chan<- *BridgeDelayedTransferExecuted) (event.Subscription, error)

WatchDelayedTransferExecuted is a free log subscription operation binding the contract event 0x3b40e5089937425d14cdd96947e5661868357e224af59bd8b24a4b8a330d4426.

Solidity: event DelayedTransferExecuted(bytes32 id, address receiver, address token, uint256 amount)

func (*BridgeFilterer) WatchEpochLengthUpdated

func (_Bridge *BridgeFilterer) WatchEpochLengthUpdated(opts *bind.WatchOpts, sink chan<- *BridgeEpochLengthUpdated) (event.Subscription, error)

WatchEpochLengthUpdated is a free log subscription operation binding the contract event 0x2664fec2ff76486ac58ed087310855b648b15b9d19f3de8529e95f7c46b7d6b3.

Solidity: event EpochLengthUpdated(uint256 length)

func (*BridgeFilterer) WatchEpochVolumeUpdated

func (_Bridge *BridgeFilterer) WatchEpochVolumeUpdated(opts *bind.WatchOpts, sink chan<- *BridgeEpochVolumeUpdated) (event.Subscription, error)

WatchEpochVolumeUpdated is a free log subscription operation binding the contract event 0x608e49c22994f20b5d3496dca088b88dfd81b4a3e8cc3809ea1e10a320107e89.

Solidity: event EpochVolumeUpdated(address token, uint256 cap)

func (*BridgeFilterer) WatchGovernorAdded

func (_Bridge *BridgeFilterer) WatchGovernorAdded(opts *bind.WatchOpts, sink chan<- *BridgeGovernorAdded) (event.Subscription, error)

WatchGovernorAdded is a free log subscription operation binding the contract event 0xdc5a48d79e2e147530ff63ecdbed5a5a66adb9d5cf339384d5d076da197c40b5.

Solidity: event GovernorAdded(address account)

func (*BridgeFilterer) WatchGovernorRemoved

func (_Bridge *BridgeFilterer) WatchGovernorRemoved(opts *bind.WatchOpts, sink chan<- *BridgeGovernorRemoved) (event.Subscription, error)

WatchGovernorRemoved is a free log subscription operation binding the contract event 0x1ebe834e73d60a5fec822c1e1727d34bc79f2ad977ed504581cc1822fe20fb5b.

Solidity: event GovernorRemoved(address account)

func (*BridgeFilterer) WatchLiquidityAdded

func (_Bridge *BridgeFilterer) WatchLiquidityAdded(opts *bind.WatchOpts, sink chan<- *BridgeLiquidityAdded) (event.Subscription, error)

WatchLiquidityAdded is a free log subscription operation binding the contract event 0xd5d28426c3248963b1719df49aa4c665120372e02c8249bbea03d019c39ce764.

Solidity: event LiquidityAdded(uint64 seqnum, address provider, address token, uint256 amount)

func (*BridgeFilterer) WatchMaxSendUpdated

func (_Bridge *BridgeFilterer) WatchMaxSendUpdated(opts *bind.WatchOpts, sink chan<- *BridgeMaxSendUpdated) (event.Subscription, error)

WatchMaxSendUpdated is a free log subscription operation binding the contract event 0x4f12d1a5bfb3ccd3719255d4d299d808d50cdca9a0a5c2b3a5aaa7edde73052c.

Solidity: event MaxSendUpdated(address token, uint256 amount)

func (*BridgeFilterer) WatchMinAddUpdated

func (_Bridge *BridgeFilterer) WatchMinAddUpdated(opts *bind.WatchOpts, sink chan<- *BridgeMinAddUpdated) (event.Subscription, error)

WatchMinAddUpdated is a free log subscription operation binding the contract event 0xc56b0d14c4940515800d94ebbd0f3f5d8cc58ba1109c12536bd993b72e466e4f.

Solidity: event MinAddUpdated(address token, uint256 amount)

func (*BridgeFilterer) WatchMinSendUpdated

func (_Bridge *BridgeFilterer) WatchMinSendUpdated(opts *bind.WatchOpts, sink chan<- *BridgeMinSendUpdated) (event.Subscription, error)

WatchMinSendUpdated is a free log subscription operation binding the contract event 0x8b59d386e660418a48d742213ad5ce7c4dd51ae81f30e4e2c387f17d907010c9.

Solidity: event MinSendUpdated(address token, uint256 amount)

func (*BridgeFilterer) WatchOwnershipTransferred

func (_Bridge *BridgeFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *BridgeOwnershipTransferred, 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 (*BridgeFilterer) WatchPaused

func (_Bridge *BridgeFilterer) WatchPaused(opts *bind.WatchOpts, sink chan<- *BridgePaused) (event.Subscription, error)

WatchPaused is a free log subscription operation binding the contract event 0x62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258.

Solidity: event Paused(address account)

func (*BridgeFilterer) WatchPauserAdded

func (_Bridge *BridgeFilterer) WatchPauserAdded(opts *bind.WatchOpts, sink chan<- *BridgePauserAdded) (event.Subscription, error)

WatchPauserAdded is a free log subscription operation binding the contract event 0x6719d08c1888103bea251a4ed56406bd0c3e69723c8a1686e017e7bbe159b6f8.

Solidity: event PauserAdded(address account)

func (*BridgeFilterer) WatchPauserRemoved

func (_Bridge *BridgeFilterer) WatchPauserRemoved(opts *bind.WatchOpts, sink chan<- *BridgePauserRemoved) (event.Subscription, error)

WatchPauserRemoved is a free log subscription operation binding the contract event 0xcd265ebaf09df2871cc7bd4133404a235ba12eff2041bb89d9c714a2621c7c7e.

Solidity: event PauserRemoved(address account)

func (*BridgeFilterer) WatchRelay

func (_Bridge *BridgeFilterer) WatchRelay(opts *bind.WatchOpts, sink chan<- *BridgeRelay) (event.Subscription, error)

WatchRelay is a free log subscription operation binding the contract event 0x79fa08de5149d912dce8e5e8da7a7c17ccdf23dd5d3bfe196802e6eb86347c7c.

Solidity: event Relay(bytes32 transferId, address sender, address receiver, address token, uint256 amount, uint64 srcChainId, bytes32 srcTransferId)

func (*BridgeFilterer) WatchResetNotification

func (_Bridge *BridgeFilterer) WatchResetNotification(opts *bind.WatchOpts, sink chan<- *BridgeResetNotification) (event.Subscription, error)

WatchResetNotification is a free log subscription operation binding the contract event 0x68e825132f7d4bc837dea2d64ac9fc19912bf0224b67f9317d8f1a917f5304a1.

Solidity: event ResetNotification(uint256 resetTime)

func (*BridgeFilterer) WatchSend

func (_Bridge *BridgeFilterer) WatchSend(opts *bind.WatchOpts, sink chan<- *BridgeSend) (event.Subscription, error)

WatchSend is a free log subscription operation binding the contract event 0x89d8051e597ab4178a863a5190407b98abfeff406aa8db90c59af76612e58f01.

Solidity: event Send(bytes32 transferId, address sender, address receiver, address token, uint256 amount, uint64 dstChainId, uint64 nonce, uint32 maxSlippage)

func (*BridgeFilterer) WatchSignersUpdated

func (_Bridge *BridgeFilterer) WatchSignersUpdated(opts *bind.WatchOpts, sink chan<- *BridgeSignersUpdated) (event.Subscription, error)

WatchSignersUpdated is a free log subscription operation binding the contract event 0xf126123539a68393c55697f617e7d1148e371988daed246c2f41da99965a23f8.

Solidity: event SignersUpdated(address[] _signers, uint256[] _powers)

func (*BridgeFilterer) WatchUnpaused

func (_Bridge *BridgeFilterer) WatchUnpaused(opts *bind.WatchOpts, sink chan<- *BridgeUnpaused) (event.Subscription, error)

WatchUnpaused is a free log subscription operation binding the contract event 0x5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa.

Solidity: event Unpaused(address account)

func (*BridgeFilterer) WatchWithdrawDone

func (_Bridge *BridgeFilterer) WatchWithdrawDone(opts *bind.WatchOpts, sink chan<- *BridgeWithdrawDone) (event.Subscription, error)

WatchWithdrawDone is a free log subscription operation binding the contract event 0x48a1ab26f3aa7b62bb6b6e8eed182f292b84eb7b006c0254386b268af20774be.

Solidity: event WithdrawDone(bytes32 withdrawId, uint64 seqnum, address receiver, address token, uint256 amount, bytes32 refid)

type BridgeGovernorAdded

type BridgeGovernorAdded struct {
	Account common.Address
	Raw     types.Log // Blockchain specific contextual infos
}

BridgeGovernorAdded represents a GovernorAdded event raised by the Bridge contract.

type BridgeGovernorAddedIterator

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

BridgeGovernorAddedIterator is returned from FilterGovernorAdded and is used to iterate over the raw logs and unpacked data for GovernorAdded events raised by the Bridge contract.

func (*BridgeGovernorAddedIterator) Close

func (it *BridgeGovernorAddedIterator) Close() error

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

func (*BridgeGovernorAddedIterator) Error

func (it *BridgeGovernorAddedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*BridgeGovernorAddedIterator) Next

func (it *BridgeGovernorAddedIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type BridgeGovernorRemoved

type BridgeGovernorRemoved struct {
	Account common.Address
	Raw     types.Log // Blockchain specific contextual infos
}

BridgeGovernorRemoved represents a GovernorRemoved event raised by the Bridge contract.

type BridgeGovernorRemovedIterator

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

BridgeGovernorRemovedIterator is returned from FilterGovernorRemoved and is used to iterate over the raw logs and unpacked data for GovernorRemoved events raised by the Bridge contract.

func (*BridgeGovernorRemovedIterator) Close

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

func (*BridgeGovernorRemovedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*BridgeGovernorRemovedIterator) 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 BridgeLiquidityAdded

type BridgeLiquidityAdded struct {
	Seqnum   uint64
	Provider common.Address
	Token    common.Address
	Amount   *big.Int
	Raw      types.Log // Blockchain specific contextual infos
}

BridgeLiquidityAdded represents a LiquidityAdded event raised by the Bridge contract.

func (*BridgeLiquidityAdded) PrettyLog

func (ev *BridgeLiquidityAdded) PrettyLog(onchid uint64) string

onchid is the chainid this event happen

func (*BridgeLiquidityAdded) String

func (l *BridgeLiquidityAdded) String() string

type BridgeLiquidityAddedIterator

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

BridgeLiquidityAddedIterator is returned from FilterLiquidityAdded and is used to iterate over the raw logs and unpacked data for LiquidityAdded events raised by the Bridge contract.

func (*BridgeLiquidityAddedIterator) Close

func (it *BridgeLiquidityAddedIterator) Close() error

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

func (*BridgeLiquidityAddedIterator) Error

func (it *BridgeLiquidityAddedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*BridgeLiquidityAddedIterator) 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 BridgeMaxSendUpdated

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

BridgeMaxSendUpdated represents a MaxSendUpdated event raised by the Bridge contract.

type BridgeMaxSendUpdatedIterator

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

BridgeMaxSendUpdatedIterator is returned from FilterMaxSendUpdated and is used to iterate over the raw logs and unpacked data for MaxSendUpdated events raised by the Bridge contract.

func (*BridgeMaxSendUpdatedIterator) Close

func (it *BridgeMaxSendUpdatedIterator) Close() error

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

func (*BridgeMaxSendUpdatedIterator) Error

func (it *BridgeMaxSendUpdatedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*BridgeMaxSendUpdatedIterator) 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 BridgeMinAddUpdated

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

BridgeMinAddUpdated represents a MinAddUpdated event raised by the Bridge contract.

type BridgeMinAddUpdatedIterator

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

BridgeMinAddUpdatedIterator is returned from FilterMinAddUpdated and is used to iterate over the raw logs and unpacked data for MinAddUpdated events raised by the Bridge contract.

func (*BridgeMinAddUpdatedIterator) Close

func (it *BridgeMinAddUpdatedIterator) Close() error

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

func (*BridgeMinAddUpdatedIterator) Error

func (it *BridgeMinAddUpdatedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*BridgeMinAddUpdatedIterator) Next

func (it *BridgeMinAddUpdatedIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type BridgeMinSendUpdated

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

BridgeMinSendUpdated represents a MinSendUpdated event raised by the Bridge contract.

type BridgeMinSendUpdatedIterator

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

BridgeMinSendUpdatedIterator is returned from FilterMinSendUpdated and is used to iterate over the raw logs and unpacked data for MinSendUpdated events raised by the Bridge contract.

func (*BridgeMinSendUpdatedIterator) Close

func (it *BridgeMinSendUpdatedIterator) Close() error

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

func (*BridgeMinSendUpdatedIterator) Error

func (it *BridgeMinSendUpdatedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*BridgeMinSendUpdatedIterator) 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 BridgeOwnershipTransferred

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

BridgeOwnershipTransferred represents a OwnershipTransferred event raised by the Bridge contract.

type BridgeOwnershipTransferredIterator

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

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

func (*BridgeOwnershipTransferredIterator) Close

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

func (*BridgeOwnershipTransferredIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*BridgeOwnershipTransferredIterator) 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 BridgePaused

type BridgePaused struct {
	Account common.Address
	Raw     types.Log // Blockchain specific contextual infos
}

BridgePaused represents a Paused event raised by the Bridge contract.

type BridgePausedIterator

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

BridgePausedIterator is returned from FilterPaused and is used to iterate over the raw logs and unpacked data for Paused events raised by the Bridge contract.

func (*BridgePausedIterator) Close

func (it *BridgePausedIterator) Close() error

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

func (*BridgePausedIterator) Error

func (it *BridgePausedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*BridgePausedIterator) Next

func (it *BridgePausedIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type BridgePauserAdded

type BridgePauserAdded struct {
	Account common.Address
	Raw     types.Log // Blockchain specific contextual infos
}

BridgePauserAdded represents a PauserAdded event raised by the Bridge contract.

type BridgePauserAddedIterator

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

BridgePauserAddedIterator is returned from FilterPauserAdded and is used to iterate over the raw logs and unpacked data for PauserAdded events raised by the Bridge contract.

func (*BridgePauserAddedIterator) Close

func (it *BridgePauserAddedIterator) Close() error

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

func (*BridgePauserAddedIterator) Error

func (it *BridgePauserAddedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*BridgePauserAddedIterator) Next

func (it *BridgePauserAddedIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type BridgePauserRemoved

type BridgePauserRemoved struct {
	Account common.Address
	Raw     types.Log // Blockchain specific contextual infos
}

BridgePauserRemoved represents a PauserRemoved event raised by the Bridge contract.

type BridgePauserRemovedIterator

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

BridgePauserRemovedIterator is returned from FilterPauserRemoved and is used to iterate over the raw logs and unpacked data for PauserRemoved events raised by the Bridge contract.

func (*BridgePauserRemovedIterator) Close

func (it *BridgePauserRemovedIterator) Close() error

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

func (*BridgePauserRemovedIterator) Error

func (it *BridgePauserRemovedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*BridgePauserRemovedIterator) Next

func (it *BridgePauserRemovedIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type BridgeRaw

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

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

func (*BridgeRaw) Call

func (_Bridge *BridgeRaw) 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 (*BridgeRaw) Transact

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

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

func (*BridgeRaw) Transfer

func (_Bridge *BridgeRaw) 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 BridgeRelay

type BridgeRelay struct {
	TransferId    [32]byte
	Sender        common.Address
	Receiver      common.Address
	Token         common.Address
	Amount        *big.Int
	SrcChainId    uint64
	SrcTransferId [32]byte
	Raw           types.Log // Blockchain specific contextual infos
}

BridgeRelay represents a Relay event raised by the Bridge contract.

func (*BridgeRelay) PrettyLog

func (ev *BridgeRelay) PrettyLog(onchid uint64) string

relay-%x is src transfer id!!! so we can easily correlate with send log

func (*BridgeRelay) String

func (r *BridgeRelay) String() string

type BridgeRelayIterator

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

BridgeRelayIterator is returned from FilterRelay and is used to iterate over the raw logs and unpacked data for Relay events raised by the Bridge contract.

func (*BridgeRelayIterator) Close

func (it *BridgeRelayIterator) Close() error

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

func (*BridgeRelayIterator) Error

func (it *BridgeRelayIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*BridgeRelayIterator) Next

func (it *BridgeRelayIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type BridgeResetNotification

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

BridgeResetNotification represents a ResetNotification event raised by the Bridge contract.

type BridgeResetNotificationIterator

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

BridgeResetNotificationIterator is returned from FilterResetNotification and is used to iterate over the raw logs and unpacked data for ResetNotification events raised by the Bridge contract.

func (*BridgeResetNotificationIterator) Close

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

func (*BridgeResetNotificationIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*BridgeResetNotificationIterator) 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 BridgeSend

type BridgeSend struct {
	TransferId  [32]byte
	Sender      common.Address
	Receiver    common.Address
	Token       common.Address
	Amount      *big.Int
	DstChainId  uint64
	Nonce       uint64
	MaxSlippage uint32
	Raw         types.Log // Blockchain specific contextual infos
}

BridgeSend represents a Send event raised by the Bridge contract.

func (*BridgeSend) PrettyLog

func (ev *BridgeSend) PrettyLog(srcChid uint64) string

return human friendly string for logging

func (*BridgeSend) String

func (s *BridgeSend) String() string

type BridgeSendIterator

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

BridgeSendIterator is returned from FilterSend and is used to iterate over the raw logs and unpacked data for Send events raised by the Bridge contract.

func (*BridgeSendIterator) Close

func (it *BridgeSendIterator) Close() error

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

func (*BridgeSendIterator) Error

func (it *BridgeSendIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*BridgeSendIterator) Next

func (it *BridgeSendIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type BridgeSession

type BridgeSession struct {
	Contract     *Bridge           // 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
}

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

func (*BridgeSession) AddGovernor

func (_Bridge *BridgeSession) AddGovernor(_account common.Address) (*types.Transaction, error)

AddGovernor is a paid mutator transaction binding the contract method 0x3c4a25d0.

Solidity: function addGovernor(address _account) returns()

func (*BridgeSession) AddLiquidity

func (_Bridge *BridgeSession) AddLiquidity(_token common.Address, _amount *big.Int) (*types.Transaction, error)

AddLiquidity is a paid mutator transaction binding the contract method 0x56688700.

Solidity: function addLiquidity(address _token, uint256 _amount) returns()

func (*BridgeSession) AddNativeLiquidity

func (_Bridge *BridgeSession) AddNativeLiquidity(_amount *big.Int) (*types.Transaction, error)

AddNativeLiquidity is a paid mutator transaction binding the contract method 0x7044c89e.

Solidity: function addNativeLiquidity(uint256 _amount) payable returns()

func (*BridgeSession) AddPauser

func (_Bridge *BridgeSession) AddPauser(account common.Address) (*types.Transaction, error)

AddPauser is a paid mutator transaction binding the contract method 0x82dc1ec4.

Solidity: function addPauser(address account) returns()

func (*BridgeSession) Addseq

func (_Bridge *BridgeSession) Addseq() (uint64, error)

Addseq is a free data retrieval call binding the contract method 0x89e39127.

Solidity: function addseq() view returns(uint64)

func (*BridgeSession) DelayPeriod

func (_Bridge *BridgeSession) DelayPeriod() (*big.Int, error)

DelayPeriod is a free data retrieval call binding the contract method 0xb1c94d94.

Solidity: function delayPeriod() view returns(uint256)

func (*BridgeSession) DelayThresholds

func (_Bridge *BridgeSession) DelayThresholds(arg0 common.Address) (*big.Int, error)

DelayThresholds is a free data retrieval call binding the contract method 0x52532faa.

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

func (*BridgeSession) DelayedTransfers

func (_Bridge *BridgeSession) DelayedTransfers(arg0 [32]byte) (struct {
	Receiver  common.Address
	Token     common.Address
	Amount    *big.Int
	Timestamp *big.Int
}, error)

DelayedTransfers is a free data retrieval call binding the contract method 0xadc0d57f.

Solidity: function delayedTransfers(bytes32 ) view returns(address receiver, address token, uint256 amount, uint256 timestamp)

func (*BridgeSession) EpochLength

func (_Bridge *BridgeSession) EpochLength() (*big.Int, error)

EpochLength is a free data retrieval call binding the contract method 0x57d775f8.

Solidity: function epochLength() view returns(uint256)

func (*BridgeSession) EpochVolumeCaps

func (_Bridge *BridgeSession) EpochVolumeCaps(arg0 common.Address) (*big.Int, error)

EpochVolumeCaps is a free data retrieval call binding the contract method 0xb5f2bc47.

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

func (*BridgeSession) EpochVolumes

func (_Bridge *BridgeSession) EpochVolumes(arg0 common.Address) (*big.Int, error)

EpochVolumes is a free data retrieval call binding the contract method 0x60216b00.

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

func (*BridgeSession) ExecuteDelayedTransfer

func (_Bridge *BridgeSession) ExecuteDelayedTransfer(id [32]byte) (*types.Transaction, error)

ExecuteDelayedTransfer is a paid mutator transaction binding the contract method 0x9e25fc5c.

Solidity: function executeDelayedTransfer(bytes32 id) returns()

func (*BridgeSession) Governors

func (_Bridge *BridgeSession) Governors(arg0 common.Address) (bool, error)

Governors is a free data retrieval call binding the contract method 0xe3eece26.

Solidity: function governors(address ) view returns(bool)

func (*BridgeSession) IncreaseNoticePeriod

func (_Bridge *BridgeSession) IncreaseNoticePeriod(period *big.Int) (*types.Transaction, error)

IncreaseNoticePeriod is a paid mutator transaction binding the contract method 0xf20c922a.

Solidity: function increaseNoticePeriod(uint256 period) returns()

func (*BridgeSession) IsGovernor

func (_Bridge *BridgeSession) IsGovernor(_account common.Address) (bool, error)

IsGovernor is a free data retrieval call binding the contract method 0xe43581b8.

Solidity: function isGovernor(address _account) view returns(bool)

func (*BridgeSession) IsPauser

func (_Bridge *BridgeSession) IsPauser(account common.Address) (bool, error)

IsPauser is a free data retrieval call binding the contract method 0x46fbf68e.

Solidity: function isPauser(address account) view returns(bool)

func (*BridgeSession) LastOpTimestamps

func (_Bridge *BridgeSession) LastOpTimestamps(arg0 common.Address) (*big.Int, error)

LastOpTimestamps is a free data retrieval call binding the contract method 0xf8321383.

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

func (*BridgeSession) MaxSend

func (_Bridge *BridgeSession) MaxSend(arg0 common.Address) (*big.Int, error)

MaxSend is a free data retrieval call binding the contract method 0x618ee055.

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

func (*BridgeSession) MinAdd

func (_Bridge *BridgeSession) MinAdd(arg0 common.Address) (*big.Int, error)

MinAdd is a free data retrieval call binding the contract method 0xccde517a.

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

func (*BridgeSession) MinSend

func (_Bridge *BridgeSession) MinSend(arg0 common.Address) (*big.Int, error)

MinSend is a free data retrieval call binding the contract method 0xf8b30d7d.

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

func (*BridgeSession) MinimalMaxSlippage

func (_Bridge *BridgeSession) MinimalMaxSlippage() (uint32, error)

MinimalMaxSlippage is a free data retrieval call binding the contract method 0x2fd1b0a4.

Solidity: function minimalMaxSlippage() view returns(uint32)

func (*BridgeSession) NativeWrap

func (_Bridge *BridgeSession) NativeWrap() (common.Address, error)

NativeWrap is a free data retrieval call binding the contract method 0x457bfa2f.

Solidity: function nativeWrap() view returns(address)

func (*BridgeSession) NoticePeriod

func (_Bridge *BridgeSession) NoticePeriod() (*big.Int, error)

NoticePeriod is a free data retrieval call binding the contract method 0x9b14d4c6.

Solidity: function noticePeriod() view returns(uint256)

func (*BridgeSession) NotifyResetSigners

func (_Bridge *BridgeSession) NotifyResetSigners() (*types.Transaction, error)

NotifyResetSigners is a paid mutator transaction binding the contract method 0x25c38b9f.

Solidity: function notifyResetSigners() returns()

func (*BridgeSession) Owner

func (_Bridge *BridgeSession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*BridgeSession) Pause

func (_Bridge *BridgeSession) Pause() (*types.Transaction, error)

Pause is a paid mutator transaction binding the contract method 0x8456cb59.

Solidity: function pause() returns()

func (*BridgeSession) Paused

func (_Bridge *BridgeSession) Paused() (bool, error)

Paused is a free data retrieval call binding the contract method 0x5c975abb.

Solidity: function paused() view returns(bool)

func (*BridgeSession) Pausers

func (_Bridge *BridgeSession) Pausers(arg0 common.Address) (bool, error)

Pausers is a free data retrieval call binding the contract method 0x80f51c12.

Solidity: function pausers(address ) view returns(bool)

func (*BridgeSession) Receive

func (_Bridge *BridgeSession) Receive() (*types.Transaction, error)

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

Solidity: receive() payable returns()

func (*BridgeSession) Relay

func (_Bridge *BridgeSession) Relay(_relayRequest []byte, _sigs [][]byte, _signers []common.Address, _powers []*big.Int) (*types.Transaction, error)

Relay is a paid mutator transaction binding the contract method 0xcdd1b25d.

Solidity: function relay(bytes _relayRequest, bytes[] _sigs, address[] _signers, uint256[] _powers) returns()

func (*BridgeSession) RemoveGovernor

func (_Bridge *BridgeSession) RemoveGovernor(_account common.Address) (*types.Transaction, error)

RemoveGovernor is a paid mutator transaction binding the contract method 0xeecdac88.

Solidity: function removeGovernor(address _account) returns()

func (*BridgeSession) RemovePauser

func (_Bridge *BridgeSession) RemovePauser(account common.Address) (*types.Transaction, error)

RemovePauser is a paid mutator transaction binding the contract method 0x6b2c0f55.

Solidity: function removePauser(address account) returns()

func (*BridgeSession) RenounceGovernor

func (_Bridge *BridgeSession) RenounceGovernor() (*types.Transaction, error)

RenounceGovernor is a paid mutator transaction binding the contract method 0xe026049c.

Solidity: function renounceGovernor() returns()

func (*BridgeSession) RenouncePauser

func (_Bridge *BridgeSession) RenouncePauser() (*types.Transaction, error)

RenouncePauser is a paid mutator transaction binding the contract method 0x6ef8d66d.

Solidity: function renouncePauser() returns()

func (*BridgeSession) ResetSigners

func (_Bridge *BridgeSession) ResetSigners(_signers []common.Address, _powers []*big.Int) (*types.Transaction, error)

ResetSigners is a paid mutator transaction binding the contract method 0xa7bdf45a.

Solidity: function resetSigners(address[] _signers, uint256[] _powers) returns()

func (*BridgeSession) ResetTime

func (_Bridge *BridgeSession) ResetTime() (*big.Int, error)

ResetTime is a free data retrieval call binding the contract method 0x65a114f1.

Solidity: function resetTime() view returns(uint256)

func (*BridgeSession) Send

func (_Bridge *BridgeSession) Send(_receiver common.Address, _token common.Address, _amount *big.Int, _dstChainId uint64, _nonce uint64, _maxSlippage uint32) (*types.Transaction, error)

Send is a paid mutator transaction binding the contract method 0xa5977fbb.

Solidity: function send(address _receiver, address _token, uint256 _amount, uint64 _dstChainId, uint64 _nonce, uint32 _maxSlippage) returns()

func (*BridgeSession) SendNative

func (_Bridge *BridgeSession) SendNative(_receiver common.Address, _amount *big.Int, _dstChainId uint64, _nonce uint64, _maxSlippage uint32) (*types.Transaction, error)

SendNative is a paid mutator transaction binding the contract method 0x3f2e5fc3.

Solidity: function sendNative(address _receiver, uint256 _amount, uint64 _dstChainId, uint64 _nonce, uint32 _maxSlippage) payable returns()

func (*BridgeSession) SetDelayPeriod

func (_Bridge *BridgeSession) SetDelayPeriod(_period *big.Int) (*types.Transaction, error)

SetDelayPeriod is a paid mutator transaction binding the contract method 0x3d572107.

Solidity: function setDelayPeriod(uint256 _period) returns()

func (*BridgeSession) SetDelayThresholds

func (_Bridge *BridgeSession) SetDelayThresholds(_tokens []common.Address, _thresholds []*big.Int) (*types.Transaction, error)

SetDelayThresholds is a paid mutator transaction binding the contract method 0x17bdbae5.

Solidity: function setDelayThresholds(address[] _tokens, uint256[] _thresholds) returns()

func (*BridgeSession) SetEpochLength

func (_Bridge *BridgeSession) SetEpochLength(_length *big.Int) (*types.Transaction, error)

SetEpochLength is a paid mutator transaction binding the contract method 0x54eea796.

Solidity: function setEpochLength(uint256 _length) returns()

func (*BridgeSession) SetEpochVolumeCaps

func (_Bridge *BridgeSession) SetEpochVolumeCaps(_tokens []common.Address, _caps []*big.Int) (*types.Transaction, error)

SetEpochVolumeCaps is a paid mutator transaction binding the contract method 0x47b16c6c.

Solidity: function setEpochVolumeCaps(address[] _tokens, uint256[] _caps) returns()

func (*BridgeSession) SetMaxSend

func (_Bridge *BridgeSession) SetMaxSend(_tokens []common.Address, _amounts []*big.Int) (*types.Transaction, error)

SetMaxSend is a paid mutator transaction binding the contract method 0x878fe1ce.

Solidity: function setMaxSend(address[] _tokens, uint256[] _amounts) returns()

func (*BridgeSession) SetMinAdd

func (_Bridge *BridgeSession) SetMinAdd(_tokens []common.Address, _amounts []*big.Int) (*types.Transaction, error)

SetMinAdd is a paid mutator transaction binding the contract method 0xe999e5f4.

Solidity: function setMinAdd(address[] _tokens, uint256[] _amounts) returns()

func (*BridgeSession) SetMinSend

func (_Bridge *BridgeSession) SetMinSend(_tokens []common.Address, _amounts []*big.Int) (*types.Transaction, error)

SetMinSend is a paid mutator transaction binding the contract method 0x08992741.

Solidity: function setMinSend(address[] _tokens, uint256[] _amounts) returns()

func (*BridgeSession) SetMinimalMaxSlippage

func (_Bridge *BridgeSession) SetMinimalMaxSlippage(_minimalMaxSlippage uint32) (*types.Transaction, error)

SetMinimalMaxSlippage is a paid mutator transaction binding the contract method 0x48234126.

Solidity: function setMinimalMaxSlippage(uint32 _minimalMaxSlippage) returns()

func (*BridgeSession) SetWrap

func (_Bridge *BridgeSession) SetWrap(_weth common.Address) (*types.Transaction, error)

SetWrap is a paid mutator transaction binding the contract method 0x9ff9001a.

Solidity: function setWrap(address _weth) returns()

func (*BridgeSession) SsHash

func (_Bridge *BridgeSession) SsHash() ([32]byte, error)

SsHash is a free data retrieval call binding the contract method 0xd0790da9.

Solidity: function ssHash() view returns(bytes32)

func (*BridgeSession) TransferOwnership

func (_Bridge *BridgeSession) 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 (*BridgeSession) Transfers

func (_Bridge *BridgeSession) Transfers(arg0 [32]byte) (bool, error)

Transfers is a free data retrieval call binding the contract method 0x3c64f04b.

Solidity: function transfers(bytes32 ) view returns(bool)

func (*BridgeSession) TriggerTime

func (_Bridge *BridgeSession) TriggerTime() (*big.Int, error)

TriggerTime is a free data retrieval call binding the contract method 0x370fb47b.

Solidity: function triggerTime() view returns(uint256)

func (*BridgeSession) Unpause

func (_Bridge *BridgeSession) Unpause() (*types.Transaction, error)

Unpause is a paid mutator transaction binding the contract method 0x3f4ba83a.

Solidity: function unpause() returns()

func (*BridgeSession) UpdateSigners

func (_Bridge *BridgeSession) UpdateSigners(_triggerTime *big.Int, _newSigners []common.Address, _newPowers []*big.Int, _sigs [][]byte, _curSigners []common.Address, _curPowers []*big.Int) (*types.Transaction, error)

UpdateSigners is a paid mutator transaction binding the contract method 0xba2cb25c.

Solidity: function updateSigners(uint256 _triggerTime, address[] _newSigners, uint256[] _newPowers, bytes[] _sigs, address[] _curSigners, uint256[] _curPowers) returns()

func (*BridgeSession) VerifySigs

func (_Bridge *BridgeSession) VerifySigs(_msg []byte, _sigs [][]byte, _signers []common.Address, _powers []*big.Int) error

VerifySigs is a free data retrieval call binding the contract method 0x682dbc22.

Solidity: function verifySigs(bytes _msg, bytes[] _sigs, address[] _signers, uint256[] _powers) view returns()

func (*BridgeSession) Withdraw

func (_Bridge *BridgeSession) Withdraw(_wdmsg []byte, _sigs [][]byte, _signers []common.Address, _powers []*big.Int) (*types.Transaction, error)

Withdraw is a paid mutator transaction binding the contract method 0xa21a9280.

Solidity: function withdraw(bytes _wdmsg, bytes[] _sigs, address[] _signers, uint256[] _powers) returns()

func (*BridgeSession) Withdraws

func (_Bridge *BridgeSession) Withdraws(arg0 [32]byte) (bool, error)

Withdraws is a free data retrieval call binding the contract method 0xe09ab428.

Solidity: function withdraws(bytes32 ) view returns(bool)

type BridgeSignersUpdated

type BridgeSignersUpdated struct {
	Signers []common.Address
	Powers  []*big.Int
	Raw     types.Log // Blockchain specific contextual infos
}

BridgeSignersUpdated represents a SignersUpdated event raised by the Bridge contract.

func (*BridgeSignersUpdated) PrettyLog

func (ev *BridgeSignersUpdated) PrettyLog(onchid uint64) string

func (*BridgeSignersUpdated) String

func (s *BridgeSignersUpdated) String() string

type BridgeSignersUpdatedIterator

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

BridgeSignersUpdatedIterator is returned from FilterSignersUpdated and is used to iterate over the raw logs and unpacked data for SignersUpdated events raised by the Bridge contract.

func (*BridgeSignersUpdatedIterator) Close

func (it *BridgeSignersUpdatedIterator) Close() error

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

func (*BridgeSignersUpdatedIterator) Error

func (it *BridgeSignersUpdatedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*BridgeSignersUpdatedIterator) 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 BridgeTransactor

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

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

func NewBridgeTransactor

func NewBridgeTransactor(address common.Address, transactor bind.ContractTransactor) (*BridgeTransactor, error)

NewBridgeTransactor creates a new write-only instance of Bridge, bound to a specific deployed contract.

func (*BridgeTransactor) AddGovernor

func (_Bridge *BridgeTransactor) AddGovernor(opts *bind.TransactOpts, _account common.Address) (*types.Transaction, error)

AddGovernor is a paid mutator transaction binding the contract method 0x3c4a25d0.

Solidity: function addGovernor(address _account) returns()

func (*BridgeTransactor) AddLiquidity

func (_Bridge *BridgeTransactor) AddLiquidity(opts *bind.TransactOpts, _token common.Address, _amount *big.Int) (*types.Transaction, error)

AddLiquidity is a paid mutator transaction binding the contract method 0x56688700.

Solidity: function addLiquidity(address _token, uint256 _amount) returns()

func (*BridgeTransactor) AddNativeLiquidity

func (_Bridge *BridgeTransactor) AddNativeLiquidity(opts *bind.TransactOpts, _amount *big.Int) (*types.Transaction, error)

AddNativeLiquidity is a paid mutator transaction binding the contract method 0x7044c89e.

Solidity: function addNativeLiquidity(uint256 _amount) payable returns()

func (*BridgeTransactor) AddPauser

func (_Bridge *BridgeTransactor) AddPauser(opts *bind.TransactOpts, account common.Address) (*types.Transaction, error)

AddPauser is a paid mutator transaction binding the contract method 0x82dc1ec4.

Solidity: function addPauser(address account) returns()

func (*BridgeTransactor) ExecuteDelayedTransfer

func (_Bridge *BridgeTransactor) ExecuteDelayedTransfer(opts *bind.TransactOpts, id [32]byte) (*types.Transaction, error)

ExecuteDelayedTransfer is a paid mutator transaction binding the contract method 0x9e25fc5c.

Solidity: function executeDelayedTransfer(bytes32 id) returns()

func (*BridgeTransactor) IncreaseNoticePeriod

func (_Bridge *BridgeTransactor) IncreaseNoticePeriod(opts *bind.TransactOpts, period *big.Int) (*types.Transaction, error)

IncreaseNoticePeriod is a paid mutator transaction binding the contract method 0xf20c922a.

Solidity: function increaseNoticePeriod(uint256 period) returns()

func (*BridgeTransactor) NotifyResetSigners

func (_Bridge *BridgeTransactor) NotifyResetSigners(opts *bind.TransactOpts) (*types.Transaction, error)

NotifyResetSigners is a paid mutator transaction binding the contract method 0x25c38b9f.

Solidity: function notifyResetSigners() returns()

func (*BridgeTransactor) Pause

func (_Bridge *BridgeTransactor) Pause(opts *bind.TransactOpts) (*types.Transaction, error)

Pause is a paid mutator transaction binding the contract method 0x8456cb59.

Solidity: function pause() returns()

func (*BridgeTransactor) Receive

func (_Bridge *BridgeTransactor) Receive(opts *bind.TransactOpts) (*types.Transaction, error)

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

Solidity: receive() payable returns()

func (*BridgeTransactor) Relay

func (_Bridge *BridgeTransactor) Relay(opts *bind.TransactOpts, _relayRequest []byte, _sigs [][]byte, _signers []common.Address, _powers []*big.Int) (*types.Transaction, error)

Relay is a paid mutator transaction binding the contract method 0xcdd1b25d.

Solidity: function relay(bytes _relayRequest, bytes[] _sigs, address[] _signers, uint256[] _powers) returns()

func (*BridgeTransactor) RemoveGovernor

func (_Bridge *BridgeTransactor) RemoveGovernor(opts *bind.TransactOpts, _account common.Address) (*types.Transaction, error)

RemoveGovernor is a paid mutator transaction binding the contract method 0xeecdac88.

Solidity: function removeGovernor(address _account) returns()

func (*BridgeTransactor) RemovePauser

func (_Bridge *BridgeTransactor) RemovePauser(opts *bind.TransactOpts, account common.Address) (*types.Transaction, error)

RemovePauser is a paid mutator transaction binding the contract method 0x6b2c0f55.

Solidity: function removePauser(address account) returns()

func (*BridgeTransactor) RenounceGovernor

func (_Bridge *BridgeTransactor) RenounceGovernor(opts *bind.TransactOpts) (*types.Transaction, error)

RenounceGovernor is a paid mutator transaction binding the contract method 0xe026049c.

Solidity: function renounceGovernor() returns()

func (*BridgeTransactor) RenouncePauser

func (_Bridge *BridgeTransactor) RenouncePauser(opts *bind.TransactOpts) (*types.Transaction, error)

RenouncePauser is a paid mutator transaction binding the contract method 0x6ef8d66d.

Solidity: function renouncePauser() returns()

func (*BridgeTransactor) ResetSigners

func (_Bridge *BridgeTransactor) ResetSigners(opts *bind.TransactOpts, _signers []common.Address, _powers []*big.Int) (*types.Transaction, error)

ResetSigners is a paid mutator transaction binding the contract method 0xa7bdf45a.

Solidity: function resetSigners(address[] _signers, uint256[] _powers) returns()

func (*BridgeTransactor) Send

func (_Bridge *BridgeTransactor) Send(opts *bind.TransactOpts, _receiver common.Address, _token common.Address, _amount *big.Int, _dstChainId uint64, _nonce uint64, _maxSlippage uint32) (*types.Transaction, error)

Send is a paid mutator transaction binding the contract method 0xa5977fbb.

Solidity: function send(address _receiver, address _token, uint256 _amount, uint64 _dstChainId, uint64 _nonce, uint32 _maxSlippage) returns()

func (*BridgeTransactor) SendNative

func (_Bridge *BridgeTransactor) SendNative(opts *bind.TransactOpts, _receiver common.Address, _amount *big.Int, _dstChainId uint64, _nonce uint64, _maxSlippage uint32) (*types.Transaction, error)

SendNative is a paid mutator transaction binding the contract method 0x3f2e5fc3.

Solidity: function sendNative(address _receiver, uint256 _amount, uint64 _dstChainId, uint64 _nonce, uint32 _maxSlippage) payable returns()

func (*BridgeTransactor) SetDelayPeriod

func (_Bridge *BridgeTransactor) SetDelayPeriod(opts *bind.TransactOpts, _period *big.Int) (*types.Transaction, error)

SetDelayPeriod is a paid mutator transaction binding the contract method 0x3d572107.

Solidity: function setDelayPeriod(uint256 _period) returns()

func (*BridgeTransactor) SetDelayThresholds

func (_Bridge *BridgeTransactor) SetDelayThresholds(opts *bind.TransactOpts, _tokens []common.Address, _thresholds []*big.Int) (*types.Transaction, error)

SetDelayThresholds is a paid mutator transaction binding the contract method 0x17bdbae5.

Solidity: function setDelayThresholds(address[] _tokens, uint256[] _thresholds) returns()

func (*BridgeTransactor) SetEpochLength

func (_Bridge *BridgeTransactor) SetEpochLength(opts *bind.TransactOpts, _length *big.Int) (*types.Transaction, error)

SetEpochLength is a paid mutator transaction binding the contract method 0x54eea796.

Solidity: function setEpochLength(uint256 _length) returns()

func (*BridgeTransactor) SetEpochVolumeCaps

func (_Bridge *BridgeTransactor) SetEpochVolumeCaps(opts *bind.TransactOpts, _tokens []common.Address, _caps []*big.Int) (*types.Transaction, error)

SetEpochVolumeCaps is a paid mutator transaction binding the contract method 0x47b16c6c.

Solidity: function setEpochVolumeCaps(address[] _tokens, uint256[] _caps) returns()

func (*BridgeTransactor) SetMaxSend

func (_Bridge *BridgeTransactor) SetMaxSend(opts *bind.TransactOpts, _tokens []common.Address, _amounts []*big.Int) (*types.Transaction, error)

SetMaxSend is a paid mutator transaction binding the contract method 0x878fe1ce.

Solidity: function setMaxSend(address[] _tokens, uint256[] _amounts) returns()

func (*BridgeTransactor) SetMinAdd

func (_Bridge *BridgeTransactor) SetMinAdd(opts *bind.TransactOpts, _tokens []common.Address, _amounts []*big.Int) (*types.Transaction, error)

SetMinAdd is a paid mutator transaction binding the contract method 0xe999e5f4.

Solidity: function setMinAdd(address[] _tokens, uint256[] _amounts) returns()

func (*BridgeTransactor) SetMinSend

func (_Bridge *BridgeTransactor) SetMinSend(opts *bind.TransactOpts, _tokens []common.Address, _amounts []*big.Int) (*types.Transaction, error)

SetMinSend is a paid mutator transaction binding the contract method 0x08992741.

Solidity: function setMinSend(address[] _tokens, uint256[] _amounts) returns()

func (*BridgeTransactor) SetMinimalMaxSlippage

func (_Bridge *BridgeTransactor) SetMinimalMaxSlippage(opts *bind.TransactOpts, _minimalMaxSlippage uint32) (*types.Transaction, error)

SetMinimalMaxSlippage is a paid mutator transaction binding the contract method 0x48234126.

Solidity: function setMinimalMaxSlippage(uint32 _minimalMaxSlippage) returns()

func (*BridgeTransactor) SetWrap

func (_Bridge *BridgeTransactor) SetWrap(opts *bind.TransactOpts, _weth common.Address) (*types.Transaction, error)

SetWrap is a paid mutator transaction binding the contract method 0x9ff9001a.

Solidity: function setWrap(address _weth) returns()

func (*BridgeTransactor) TransferOwnership

func (_Bridge *BridgeTransactor) 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 (*BridgeTransactor) Unpause

func (_Bridge *BridgeTransactor) Unpause(opts *bind.TransactOpts) (*types.Transaction, error)

Unpause is a paid mutator transaction binding the contract method 0x3f4ba83a.

Solidity: function unpause() returns()

func (*BridgeTransactor) UpdateSigners

func (_Bridge *BridgeTransactor) UpdateSigners(opts *bind.TransactOpts, _triggerTime *big.Int, _newSigners []common.Address, _newPowers []*big.Int, _sigs [][]byte, _curSigners []common.Address, _curPowers []*big.Int) (*types.Transaction, error)

UpdateSigners is a paid mutator transaction binding the contract method 0xba2cb25c.

Solidity: function updateSigners(uint256 _triggerTime, address[] _newSigners, uint256[] _newPowers, bytes[] _sigs, address[] _curSigners, uint256[] _curPowers) returns()

func (*BridgeTransactor) Withdraw

func (_Bridge *BridgeTransactor) Withdraw(opts *bind.TransactOpts, _wdmsg []byte, _sigs [][]byte, _signers []common.Address, _powers []*big.Int) (*types.Transaction, error)

Withdraw is a paid mutator transaction binding the contract method 0xa21a9280.

Solidity: function withdraw(bytes _wdmsg, bytes[] _sigs, address[] _signers, uint256[] _powers) returns()

type BridgeTransactorRaw

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

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

func (*BridgeTransactorRaw) Transact

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

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

func (*BridgeTransactorRaw) Transfer

func (_Bridge *BridgeTransactorRaw) 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 BridgeTransactorSession

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

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

func (*BridgeTransactorSession) AddGovernor

func (_Bridge *BridgeTransactorSession) AddGovernor(_account common.Address) (*types.Transaction, error)

AddGovernor is a paid mutator transaction binding the contract method 0x3c4a25d0.

Solidity: function addGovernor(address _account) returns()

func (*BridgeTransactorSession) AddLiquidity

func (_Bridge *BridgeTransactorSession) AddLiquidity(_token common.Address, _amount *big.Int) (*types.Transaction, error)

AddLiquidity is a paid mutator transaction binding the contract method 0x56688700.

Solidity: function addLiquidity(address _token, uint256 _amount) returns()

func (*BridgeTransactorSession) AddNativeLiquidity

func (_Bridge *BridgeTransactorSession) AddNativeLiquidity(_amount *big.Int) (*types.Transaction, error)

AddNativeLiquidity is a paid mutator transaction binding the contract method 0x7044c89e.

Solidity: function addNativeLiquidity(uint256 _amount) payable returns()

func (*BridgeTransactorSession) AddPauser

func (_Bridge *BridgeTransactorSession) AddPauser(account common.Address) (*types.Transaction, error)

AddPauser is a paid mutator transaction binding the contract method 0x82dc1ec4.

Solidity: function addPauser(address account) returns()

func (*BridgeTransactorSession) ExecuteDelayedTransfer

func (_Bridge *BridgeTransactorSession) ExecuteDelayedTransfer(id [32]byte) (*types.Transaction, error)

ExecuteDelayedTransfer is a paid mutator transaction binding the contract method 0x9e25fc5c.

Solidity: function executeDelayedTransfer(bytes32 id) returns()

func (*BridgeTransactorSession) IncreaseNoticePeriod

func (_Bridge *BridgeTransactorSession) IncreaseNoticePeriod(period *big.Int) (*types.Transaction, error)

IncreaseNoticePeriod is a paid mutator transaction binding the contract method 0xf20c922a.

Solidity: function increaseNoticePeriod(uint256 period) returns()

func (*BridgeTransactorSession) NotifyResetSigners

func (_Bridge *BridgeTransactorSession) NotifyResetSigners() (*types.Transaction, error)

NotifyResetSigners is a paid mutator transaction binding the contract method 0x25c38b9f.

Solidity: function notifyResetSigners() returns()

func (*BridgeTransactorSession) Pause

func (_Bridge *BridgeTransactorSession) Pause() (*types.Transaction, error)

Pause is a paid mutator transaction binding the contract method 0x8456cb59.

Solidity: function pause() returns()

func (*BridgeTransactorSession) Receive

func (_Bridge *BridgeTransactorSession) Receive() (*types.Transaction, error)

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

Solidity: receive() payable returns()

func (*BridgeTransactorSession) Relay

func (_Bridge *BridgeTransactorSession) Relay(_relayRequest []byte, _sigs [][]byte, _signers []common.Address, _powers []*big.Int) (*types.Transaction, error)

Relay is a paid mutator transaction binding the contract method 0xcdd1b25d.

Solidity: function relay(bytes _relayRequest, bytes[] _sigs, address[] _signers, uint256[] _powers) returns()

func (*BridgeTransactorSession) RemoveGovernor

func (_Bridge *BridgeTransactorSession) RemoveGovernor(_account common.Address) (*types.Transaction, error)

RemoveGovernor is a paid mutator transaction binding the contract method 0xeecdac88.

Solidity: function removeGovernor(address _account) returns()

func (*BridgeTransactorSession) RemovePauser

func (_Bridge *BridgeTransactorSession) RemovePauser(account common.Address) (*types.Transaction, error)

RemovePauser is a paid mutator transaction binding the contract method 0x6b2c0f55.

Solidity: function removePauser(address account) returns()

func (*BridgeTransactorSession) RenounceGovernor

func (_Bridge *BridgeTransactorSession) RenounceGovernor() (*types.Transaction, error)

RenounceGovernor is a paid mutator transaction binding the contract method 0xe026049c.

Solidity: function renounceGovernor() returns()

func (*BridgeTransactorSession) RenouncePauser

func (_Bridge *BridgeTransactorSession) RenouncePauser() (*types.Transaction, error)

RenouncePauser is a paid mutator transaction binding the contract method 0x6ef8d66d.

Solidity: function renouncePauser() returns()

func (*BridgeTransactorSession) ResetSigners

func (_Bridge *BridgeTransactorSession) ResetSigners(_signers []common.Address, _powers []*big.Int) (*types.Transaction, error)

ResetSigners is a paid mutator transaction binding the contract method 0xa7bdf45a.

Solidity: function resetSigners(address[] _signers, uint256[] _powers) returns()

func (*BridgeTransactorSession) Send

func (_Bridge *BridgeTransactorSession) Send(_receiver common.Address, _token common.Address, _amount *big.Int, _dstChainId uint64, _nonce uint64, _maxSlippage uint32) (*types.Transaction, error)

Send is a paid mutator transaction binding the contract method 0xa5977fbb.

Solidity: function send(address _receiver, address _token, uint256 _amount, uint64 _dstChainId, uint64 _nonce, uint32 _maxSlippage) returns()

func (*BridgeTransactorSession) SendNative

func (_Bridge *BridgeTransactorSession) SendNative(_receiver common.Address, _amount *big.Int, _dstChainId uint64, _nonce uint64, _maxSlippage uint32) (*types.Transaction, error)

SendNative is a paid mutator transaction binding the contract method 0x3f2e5fc3.

Solidity: function sendNative(address _receiver, uint256 _amount, uint64 _dstChainId, uint64 _nonce, uint32 _maxSlippage) payable returns()

func (*BridgeTransactorSession) SetDelayPeriod

func (_Bridge *BridgeTransactorSession) SetDelayPeriod(_period *big.Int) (*types.Transaction, error)

SetDelayPeriod is a paid mutator transaction binding the contract method 0x3d572107.

Solidity: function setDelayPeriod(uint256 _period) returns()

func (*BridgeTransactorSession) SetDelayThresholds

func (_Bridge *BridgeTransactorSession) SetDelayThresholds(_tokens []common.Address, _thresholds []*big.Int) (*types.Transaction, error)

SetDelayThresholds is a paid mutator transaction binding the contract method 0x17bdbae5.

Solidity: function setDelayThresholds(address[] _tokens, uint256[] _thresholds) returns()

func (*BridgeTransactorSession) SetEpochLength

func (_Bridge *BridgeTransactorSession) SetEpochLength(_length *big.Int) (*types.Transaction, error)

SetEpochLength is a paid mutator transaction binding the contract method 0x54eea796.

Solidity: function setEpochLength(uint256 _length) returns()

func (*BridgeTransactorSession) SetEpochVolumeCaps

func (_Bridge *BridgeTransactorSession) SetEpochVolumeCaps(_tokens []common.Address, _caps []*big.Int) (*types.Transaction, error)

SetEpochVolumeCaps is a paid mutator transaction binding the contract method 0x47b16c6c.

Solidity: function setEpochVolumeCaps(address[] _tokens, uint256[] _caps) returns()

func (*BridgeTransactorSession) SetMaxSend

func (_Bridge *BridgeTransactorSession) SetMaxSend(_tokens []common.Address, _amounts []*big.Int) (*types.Transaction, error)

SetMaxSend is a paid mutator transaction binding the contract method 0x878fe1ce.

Solidity: function setMaxSend(address[] _tokens, uint256[] _amounts) returns()

func (*BridgeTransactorSession) SetMinAdd

func (_Bridge *BridgeTransactorSession) SetMinAdd(_tokens []common.Address, _amounts []*big.Int) (*types.Transaction, error)

SetMinAdd is a paid mutator transaction binding the contract method 0xe999e5f4.

Solidity: function setMinAdd(address[] _tokens, uint256[] _amounts) returns()

func (*BridgeTransactorSession) SetMinSend

func (_Bridge *BridgeTransactorSession) SetMinSend(_tokens []common.Address, _amounts []*big.Int) (*types.Transaction, error)

SetMinSend is a paid mutator transaction binding the contract method 0x08992741.

Solidity: function setMinSend(address[] _tokens, uint256[] _amounts) returns()

func (*BridgeTransactorSession) SetMinimalMaxSlippage

func (_Bridge *BridgeTransactorSession) SetMinimalMaxSlippage(_minimalMaxSlippage uint32) (*types.Transaction, error)

SetMinimalMaxSlippage is a paid mutator transaction binding the contract method 0x48234126.

Solidity: function setMinimalMaxSlippage(uint32 _minimalMaxSlippage) returns()

func (*BridgeTransactorSession) SetWrap

func (_Bridge *BridgeTransactorSession) SetWrap(_weth common.Address) (*types.Transaction, error)

SetWrap is a paid mutator transaction binding the contract method 0x9ff9001a.

Solidity: function setWrap(address _weth) returns()

func (*BridgeTransactorSession) TransferOwnership

func (_Bridge *BridgeTransactorSession) 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 (*BridgeTransactorSession) Unpause

func (_Bridge *BridgeTransactorSession) Unpause() (*types.Transaction, error)

Unpause is a paid mutator transaction binding the contract method 0x3f4ba83a.

Solidity: function unpause() returns()

func (*BridgeTransactorSession) UpdateSigners

func (_Bridge *BridgeTransactorSession) UpdateSigners(_triggerTime *big.Int, _newSigners []common.Address, _newPowers []*big.Int, _sigs [][]byte, _curSigners []common.Address, _curPowers []*big.Int) (*types.Transaction, error)

UpdateSigners is a paid mutator transaction binding the contract method 0xba2cb25c.

Solidity: function updateSigners(uint256 _triggerTime, address[] _newSigners, uint256[] _newPowers, bytes[] _sigs, address[] _curSigners, uint256[] _curPowers) returns()

func (*BridgeTransactorSession) Withdraw

func (_Bridge *BridgeTransactorSession) Withdraw(_wdmsg []byte, _sigs [][]byte, _signers []common.Address, _powers []*big.Int) (*types.Transaction, error)

Withdraw is a paid mutator transaction binding the contract method 0xa21a9280.

Solidity: function withdraw(bytes _wdmsg, bytes[] _sigs, address[] _signers, uint256[] _powers) returns()

type BridgeUnpaused

type BridgeUnpaused struct {
	Account common.Address
	Raw     types.Log // Blockchain specific contextual infos
}

BridgeUnpaused represents a Unpaused event raised by the Bridge contract.

type BridgeUnpausedIterator

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

BridgeUnpausedIterator is returned from FilterUnpaused and is used to iterate over the raw logs and unpacked data for Unpaused events raised by the Bridge contract.

func (*BridgeUnpausedIterator) Close

func (it *BridgeUnpausedIterator) Close() error

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

func (*BridgeUnpausedIterator) Error

func (it *BridgeUnpausedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*BridgeUnpausedIterator) Next

func (it *BridgeUnpausedIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type BridgeWithdrawDone

type BridgeWithdrawDone struct {
	WithdrawId [32]byte
	Seqnum     uint64
	Receiver   common.Address
	Token      common.Address
	Amount     *big.Int
	Refid      [32]byte
	Raw        types.Log // Blockchain specific contextual infos
}

BridgeWithdrawDone represents a WithdrawDone event raised by the Bridge contract.

func (*BridgeWithdrawDone) PrettyLog

func (ev *BridgeWithdrawDone) PrettyLog(onchid uint64) string

func (*BridgeWithdrawDone) String

func (w *BridgeWithdrawDone) String() string

type BridgeWithdrawDoneIterator

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

BridgeWithdrawDoneIterator is returned from FilterWithdrawDone and is used to iterate over the raw logs and unpacked data for WithdrawDone events raised by the Bridge contract.

func (*BridgeWithdrawDoneIterator) Close

func (it *BridgeWithdrawDoneIterator) Close() error

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

func (*BridgeWithdrawDoneIterator) Error

func (it *BridgeWithdrawDoneIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*BridgeWithdrawDoneIterator) Next

func (it *BridgeWithdrawDoneIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type CLPContract

type CLPContract struct {
	*ContractAsLP
	Address Addr
}

func NewContractAsLPContract

func NewContractAsLPContract(address Addr, client *ethclient.Client) (*CLPContract, error)

func (*CLPContract) GetABI

func (c *CLPContract) GetABI() string

func (*CLPContract) GetAddr

func (c *CLPContract) GetAddr() Addr

type ContractAsLP

type ContractAsLP struct {
	ContractAsLPCaller     // Read-only binding to the contract
	ContractAsLPTransactor // Write-only binding to the contract
	ContractAsLPFilterer   // Log filterer for contract events
}

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

func DeployContractAsLP

func DeployContractAsLP(auth *bind.TransactOpts, backend bind.ContractBackend, _bridge common.Address, _inbox common.Address) (common.Address, *types.Transaction, *ContractAsLP, error)

DeployContractAsLP deploys a new Ethereum contract, binding an instance of ContractAsLP to it.

func NewContractAsLP

func NewContractAsLP(address common.Address, backend bind.ContractBackend) (*ContractAsLP, error)

NewContractAsLP creates a new instance of ContractAsLP, bound to a specific deployed contract.

type ContractAsLPCaller

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

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

func NewContractAsLPCaller

func NewContractAsLPCaller(address common.Address, caller bind.ContractCaller) (*ContractAsLPCaller, error)

NewContractAsLPCaller creates a new read-only instance of ContractAsLP, bound to a specific deployed contract.

func (*ContractAsLPCaller) Bridge

func (_ContractAsLP *ContractAsLPCaller) Bridge(opts *bind.CallOpts) (common.Address, error)

Bridge is a free data retrieval call binding the contract method 0xe78cea92.

Solidity: function bridge() view returns(address)

func (*ContractAsLPCaller) Inbox

func (_ContractAsLP *ContractAsLPCaller) 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 (*ContractAsLPCaller) IsPauser

func (_ContractAsLP *ContractAsLPCaller) IsPauser(opts *bind.CallOpts, account common.Address) (bool, error)

IsPauser is a free data retrieval call binding the contract method 0x46fbf68e.

Solidity: function isPauser(address account) view returns(bool)

func (*ContractAsLPCaller) Owner

func (_ContractAsLP *ContractAsLPCaller) 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 (*ContractAsLPCaller) Paused

func (_ContractAsLP *ContractAsLPCaller) Paused(opts *bind.CallOpts) (bool, error)

Paused is a free data retrieval call binding the contract method 0x5c975abb.

Solidity: function paused() view returns(bool)

func (*ContractAsLPCaller) Pausers

func (_ContractAsLP *ContractAsLPCaller) Pausers(opts *bind.CallOpts, arg0 common.Address) (bool, error)

Pausers is a free data retrieval call binding the contract method 0x80f51c12.

Solidity: function pausers(address ) view returns(bool)

type ContractAsLPCallerRaw

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

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

func (*ContractAsLPCallerRaw) Call

func (_ContractAsLP *ContractAsLPCallerRaw) 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 ContractAsLPCallerSession

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

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

func (*ContractAsLPCallerSession) Bridge

func (_ContractAsLP *ContractAsLPCallerSession) Bridge() (common.Address, error)

Bridge is a free data retrieval call binding the contract method 0xe78cea92.

Solidity: function bridge() view returns(address)

func (*ContractAsLPCallerSession) Inbox

func (_ContractAsLP *ContractAsLPCallerSession) Inbox() (common.Address, error)

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

Solidity: function inbox() view returns(address)

func (*ContractAsLPCallerSession) IsPauser

func (_ContractAsLP *ContractAsLPCallerSession) IsPauser(account common.Address) (bool, error)

IsPauser is a free data retrieval call binding the contract method 0x46fbf68e.

Solidity: function isPauser(address account) view returns(bool)

func (*ContractAsLPCallerSession) Owner

func (_ContractAsLP *ContractAsLPCallerSession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*ContractAsLPCallerSession) Paused

func (_ContractAsLP *ContractAsLPCallerSession) Paused() (bool, error)

Paused is a free data retrieval call binding the contract method 0x5c975abb.

Solidity: function paused() view returns(bool)

func (*ContractAsLPCallerSession) Pausers

func (_ContractAsLP *ContractAsLPCallerSession) Pausers(arg0 common.Address) (bool, error)

Pausers is a free data retrieval call binding the contract method 0x80f51c12.

Solidity: function pausers(address ) view returns(bool)

type ContractAsLPDeposited

type ContractAsLPDeposited struct {
	Depositor common.Address
	Token     common.Address
	Amount    *big.Int
	Raw       types.Log // Blockchain specific contextual infos
}

ContractAsLPDeposited represents a Deposited event raised by the ContractAsLP contract.

type ContractAsLPDepositedIterator

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

ContractAsLPDepositedIterator is returned from FilterDeposited and is used to iterate over the raw logs and unpacked data for Deposited events raised by the ContractAsLP contract.

func (*ContractAsLPDepositedIterator) Close

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

func (*ContractAsLPDepositedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ContractAsLPDepositedIterator) 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 ContractAsLPFilterer

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

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

func NewContractAsLPFilterer

func NewContractAsLPFilterer(address common.Address, filterer bind.ContractFilterer) (*ContractAsLPFilterer, error)

NewContractAsLPFilterer creates a new log filterer instance of ContractAsLP, bound to a specific deployed contract.

func (*ContractAsLPFilterer) FilterDeposited

func (_ContractAsLP *ContractAsLPFilterer) FilterDeposited(opts *bind.FilterOpts) (*ContractAsLPDepositedIterator, error)

FilterDeposited is a free log retrieval operation binding the contract event 0x8752a472e571a816aea92eec8dae9baf628e840f4929fbcc2d155e6233ff68a7.

Solidity: event Deposited(address depositor, address token, uint256 amount)

func (*ContractAsLPFilterer) FilterOwnershipTransferred

func (_ContractAsLP *ContractAsLPFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*ContractAsLPOwnershipTransferredIterator, error)

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

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

func (*ContractAsLPFilterer) FilterPaused

func (_ContractAsLP *ContractAsLPFilterer) FilterPaused(opts *bind.FilterOpts) (*ContractAsLPPausedIterator, error)

FilterPaused is a free log retrieval operation binding the contract event 0x62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258.

Solidity: event Paused(address account)

func (*ContractAsLPFilterer) FilterPauserAdded

func (_ContractAsLP *ContractAsLPFilterer) FilterPauserAdded(opts *bind.FilterOpts) (*ContractAsLPPauserAddedIterator, error)

FilterPauserAdded is a free log retrieval operation binding the contract event 0x6719d08c1888103bea251a4ed56406bd0c3e69723c8a1686e017e7bbe159b6f8.

Solidity: event PauserAdded(address account)

func (*ContractAsLPFilterer) FilterPauserRemoved

func (_ContractAsLP *ContractAsLPFilterer) FilterPauserRemoved(opts *bind.FilterOpts) (*ContractAsLPPauserRemovedIterator, error)

FilterPauserRemoved is a free log retrieval operation binding the contract event 0xcd265ebaf09df2871cc7bd4133404a235ba12eff2041bb89d9c714a2621c7c7e.

Solidity: event PauserRemoved(address account)

func (*ContractAsLPFilterer) FilterUnpaused

func (_ContractAsLP *ContractAsLPFilterer) FilterUnpaused(opts *bind.FilterOpts) (*ContractAsLPUnpausedIterator, error)

FilterUnpaused is a free log retrieval operation binding the contract event 0x5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa.

Solidity: event Unpaused(address account)

func (*ContractAsLPFilterer) ParseDeposited

func (_ContractAsLP *ContractAsLPFilterer) ParseDeposited(log types.Log) (*ContractAsLPDeposited, error)

ParseDeposited is a log parse operation binding the contract event 0x8752a472e571a816aea92eec8dae9baf628e840f4929fbcc2d155e6233ff68a7.

Solidity: event Deposited(address depositor, address token, uint256 amount)

func (*ContractAsLPFilterer) ParseOwnershipTransferred

func (_ContractAsLP *ContractAsLPFilterer) ParseOwnershipTransferred(log types.Log) (*ContractAsLPOwnershipTransferred, error)

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

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

func (*ContractAsLPFilterer) ParsePaused

func (_ContractAsLP *ContractAsLPFilterer) ParsePaused(log types.Log) (*ContractAsLPPaused, error)

ParsePaused is a log parse operation binding the contract event 0x62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258.

Solidity: event Paused(address account)

func (*ContractAsLPFilterer) ParsePauserAdded

func (_ContractAsLP *ContractAsLPFilterer) ParsePauserAdded(log types.Log) (*ContractAsLPPauserAdded, error)

ParsePauserAdded is a log parse operation binding the contract event 0x6719d08c1888103bea251a4ed56406bd0c3e69723c8a1686e017e7bbe159b6f8.

Solidity: event PauserAdded(address account)

func (*ContractAsLPFilterer) ParsePauserRemoved

func (_ContractAsLP *ContractAsLPFilterer) ParsePauserRemoved(log types.Log) (*ContractAsLPPauserRemoved, error)

ParsePauserRemoved is a log parse operation binding the contract event 0xcd265ebaf09df2871cc7bd4133404a235ba12eff2041bb89d9c714a2621c7c7e.

Solidity: event PauserRemoved(address account)

func (*ContractAsLPFilterer) ParseUnpaused

func (_ContractAsLP *ContractAsLPFilterer) ParseUnpaused(log types.Log) (*ContractAsLPUnpaused, error)

ParseUnpaused is a log parse operation binding the contract event 0x5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa.

Solidity: event Unpaused(address account)

func (*ContractAsLPFilterer) WatchDeposited

func (_ContractAsLP *ContractAsLPFilterer) WatchDeposited(opts *bind.WatchOpts, sink chan<- *ContractAsLPDeposited) (event.Subscription, error)

WatchDeposited is a free log subscription operation binding the contract event 0x8752a472e571a816aea92eec8dae9baf628e840f4929fbcc2d155e6233ff68a7.

Solidity: event Deposited(address depositor, address token, uint256 amount)

func (*ContractAsLPFilterer) WatchOwnershipTransferred

func (_ContractAsLP *ContractAsLPFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *ContractAsLPOwnershipTransferred, 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 (*ContractAsLPFilterer) WatchPaused

func (_ContractAsLP *ContractAsLPFilterer) WatchPaused(opts *bind.WatchOpts, sink chan<- *ContractAsLPPaused) (event.Subscription, error)

WatchPaused is a free log subscription operation binding the contract event 0x62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258.

Solidity: event Paused(address account)

func (*ContractAsLPFilterer) WatchPauserAdded

func (_ContractAsLP *ContractAsLPFilterer) WatchPauserAdded(opts *bind.WatchOpts, sink chan<- *ContractAsLPPauserAdded) (event.Subscription, error)

WatchPauserAdded is a free log subscription operation binding the contract event 0x6719d08c1888103bea251a4ed56406bd0c3e69723c8a1686e017e7bbe159b6f8.

Solidity: event PauserAdded(address account)

func (*ContractAsLPFilterer) WatchPauserRemoved

func (_ContractAsLP *ContractAsLPFilterer) WatchPauserRemoved(opts *bind.WatchOpts, sink chan<- *ContractAsLPPauserRemoved) (event.Subscription, error)

WatchPauserRemoved is a free log subscription operation binding the contract event 0xcd265ebaf09df2871cc7bd4133404a235ba12eff2041bb89d9c714a2621c7c7e.

Solidity: event PauserRemoved(address account)

func (*ContractAsLPFilterer) WatchUnpaused

func (_ContractAsLP *ContractAsLPFilterer) WatchUnpaused(opts *bind.WatchOpts, sink chan<- *ContractAsLPUnpaused) (event.Subscription, error)

WatchUnpaused is a free log subscription operation binding the contract event 0x5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa.

Solidity: event Unpaused(address account)

type ContractAsLPOwnershipTransferred

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

ContractAsLPOwnershipTransferred represents a OwnershipTransferred event raised by the ContractAsLP contract.

type ContractAsLPOwnershipTransferredIterator

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

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

func (*ContractAsLPOwnershipTransferredIterator) Close

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

func (*ContractAsLPOwnershipTransferredIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ContractAsLPOwnershipTransferredIterator) 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 ContractAsLPPaused

type ContractAsLPPaused struct {
	Account common.Address
	Raw     types.Log // Blockchain specific contextual infos
}

ContractAsLPPaused represents a Paused event raised by the ContractAsLP contract.

type ContractAsLPPausedIterator

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

ContractAsLPPausedIterator is returned from FilterPaused and is used to iterate over the raw logs and unpacked data for Paused events raised by the ContractAsLP contract.

func (*ContractAsLPPausedIterator) Close

func (it *ContractAsLPPausedIterator) Close() error

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

func (*ContractAsLPPausedIterator) Error

func (it *ContractAsLPPausedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*ContractAsLPPausedIterator) Next

func (it *ContractAsLPPausedIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type ContractAsLPPauserAdded

type ContractAsLPPauserAdded struct {
	Account common.Address
	Raw     types.Log // Blockchain specific contextual infos
}

ContractAsLPPauserAdded represents a PauserAdded event raised by the ContractAsLP contract.

type ContractAsLPPauserAddedIterator

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

ContractAsLPPauserAddedIterator is returned from FilterPauserAdded and is used to iterate over the raw logs and unpacked data for PauserAdded events raised by the ContractAsLP contract.

func (*ContractAsLPPauserAddedIterator) Close

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

func (*ContractAsLPPauserAddedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ContractAsLPPauserAddedIterator) 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 ContractAsLPPauserRemoved

type ContractAsLPPauserRemoved struct {
	Account common.Address
	Raw     types.Log // Blockchain specific contextual infos
}

ContractAsLPPauserRemoved represents a PauserRemoved event raised by the ContractAsLP contract.

type ContractAsLPPauserRemovedIterator

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

ContractAsLPPauserRemovedIterator is returned from FilterPauserRemoved and is used to iterate over the raw logs and unpacked data for PauserRemoved events raised by the ContractAsLP contract.

func (*ContractAsLPPauserRemovedIterator) Close

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

func (*ContractAsLPPauserRemovedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ContractAsLPPauserRemovedIterator) 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 ContractAsLPRaw

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

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

func (*ContractAsLPRaw) Call

func (_ContractAsLP *ContractAsLPRaw) 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 (*ContractAsLPRaw) Transact

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

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

func (*ContractAsLPRaw) Transfer

func (_ContractAsLP *ContractAsLPRaw) 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 ContractAsLPSession

type ContractAsLPSession struct {
	Contract     *ContractAsLP     // 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
}

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

func (*ContractAsLPSession) AddLiquidity

func (_ContractAsLP *ContractAsLPSession) AddLiquidity(_token common.Address, _amount *big.Int) (*types.Transaction, error)

AddLiquidity is a paid mutator transaction binding the contract method 0x56688700.

Solidity: function addLiquidity(address _token, uint256 _amount) returns()

func (*ContractAsLPSession) AddPauser

func (_ContractAsLP *ContractAsLPSession) AddPauser(account common.Address) (*types.Transaction, error)

AddPauser is a paid mutator transaction binding the contract method 0x82dc1ec4.

Solidity: function addPauser(address account) returns()

func (*ContractAsLPSession) Bridge

func (_ContractAsLP *ContractAsLPSession) Bridge() (common.Address, error)

Bridge is a free data retrieval call binding the contract method 0xe78cea92.

Solidity: function bridge() view returns(address)

func (*ContractAsLPSession) Deposit

func (_ContractAsLP *ContractAsLPSession) Deposit(_token common.Address, _amount *big.Int) (*types.Transaction, error)

Deposit is a paid mutator transaction binding the contract method 0x47e7ef24.

Solidity: function deposit(address _token, uint256 _amount) returns()

func (*ContractAsLPSession) Inbox

func (_ContractAsLP *ContractAsLPSession) Inbox() (common.Address, error)

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

Solidity: function inbox() view returns(address)

func (*ContractAsLPSession) IsPauser

func (_ContractAsLP *ContractAsLPSession) IsPauser(account common.Address) (bool, error)

IsPauser is a free data retrieval call binding the contract method 0x46fbf68e.

Solidity: function isPauser(address account) view returns(bool)

func (*ContractAsLPSession) Owner

func (_ContractAsLP *ContractAsLPSession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*ContractAsLPSession) Pause

func (_ContractAsLP *ContractAsLPSession) Pause() (*types.Transaction, error)

Pause is a paid mutator transaction binding the contract method 0x8456cb59.

Solidity: function pause() returns()

func (*ContractAsLPSession) Paused

func (_ContractAsLP *ContractAsLPSession) Paused() (bool, error)

Paused is a free data retrieval call binding the contract method 0x5c975abb.

Solidity: function paused() view returns(bool)

func (*ContractAsLPSession) Pausers

func (_ContractAsLP *ContractAsLPSession) Pausers(arg0 common.Address) (bool, error)

Pausers is a free data retrieval call binding the contract method 0x80f51c12.

Solidity: function pausers(address ) view returns(bool)

func (*ContractAsLPSession) RemovePauser

func (_ContractAsLP *ContractAsLPSession) RemovePauser(account common.Address) (*types.Transaction, error)

RemovePauser is a paid mutator transaction binding the contract method 0x6b2c0f55.

Solidity: function removePauser(address account) returns()

func (*ContractAsLPSession) RenouncePauser

func (_ContractAsLP *ContractAsLPSession) RenouncePauser() (*types.Transaction, error)

RenouncePauser is a paid mutator transaction binding the contract method 0x6ef8d66d.

Solidity: function renouncePauser() returns()

func (*ContractAsLPSession) TransferOwnership

func (_ContractAsLP *ContractAsLPSession) 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 (*ContractAsLPSession) Unpause

func (_ContractAsLP *ContractAsLPSession) Unpause() (*types.Transaction, error)

Unpause is a paid mutator transaction binding the contract method 0x3f4ba83a.

Solidity: function unpause() returns()

func (*ContractAsLPSession) Withdraw

func (_ContractAsLP *ContractAsLPSession) Withdraw(_wdSeq uint64, _receiver common.Address, _toChain uint64, _fromChains []uint64, _tokens []common.Address, _ratios []uint32, _slippages []uint32) (*types.Transaction, error)

Withdraw is a paid mutator transaction binding the contract method 0xa4855296.

Solidity: function withdraw(uint64 _wdSeq, address _receiver, uint64 _toChain, uint64[] _fromChains, address[] _tokens, uint32[] _ratios, uint32[] _slippages) returns()

type ContractAsLPTransactor

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

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

func NewContractAsLPTransactor

func NewContractAsLPTransactor(address common.Address, transactor bind.ContractTransactor) (*ContractAsLPTransactor, error)

NewContractAsLPTransactor creates a new write-only instance of ContractAsLP, bound to a specific deployed contract.

func (*ContractAsLPTransactor) AddLiquidity

func (_ContractAsLP *ContractAsLPTransactor) AddLiquidity(opts *bind.TransactOpts, _token common.Address, _amount *big.Int) (*types.Transaction, error)

AddLiquidity is a paid mutator transaction binding the contract method 0x56688700.

Solidity: function addLiquidity(address _token, uint256 _amount) returns()

func (*ContractAsLPTransactor) AddPauser

func (_ContractAsLP *ContractAsLPTransactor) AddPauser(opts *bind.TransactOpts, account common.Address) (*types.Transaction, error)

AddPauser is a paid mutator transaction binding the contract method 0x82dc1ec4.

Solidity: function addPauser(address account) returns()

func (*ContractAsLPTransactor) Deposit

func (_ContractAsLP *ContractAsLPTransactor) Deposit(opts *bind.TransactOpts, _token common.Address, _amount *big.Int) (*types.Transaction, error)

Deposit is a paid mutator transaction binding the contract method 0x47e7ef24.

Solidity: function deposit(address _token, uint256 _amount) returns()

func (*ContractAsLPTransactor) Pause

func (_ContractAsLP *ContractAsLPTransactor) Pause(opts *bind.TransactOpts) (*types.Transaction, error)

Pause is a paid mutator transaction binding the contract method 0x8456cb59.

Solidity: function pause() returns()

func (*ContractAsLPTransactor) RemovePauser

func (_ContractAsLP *ContractAsLPTransactor) RemovePauser(opts *bind.TransactOpts, account common.Address) (*types.Transaction, error)

RemovePauser is a paid mutator transaction binding the contract method 0x6b2c0f55.

Solidity: function removePauser(address account) returns()

func (*ContractAsLPTransactor) RenouncePauser

func (_ContractAsLP *ContractAsLPTransactor) RenouncePauser(opts *bind.TransactOpts) (*types.Transaction, error)

RenouncePauser is a paid mutator transaction binding the contract method 0x6ef8d66d.

Solidity: function renouncePauser() returns()

func (*ContractAsLPTransactor) TransferOwnership

func (_ContractAsLP *ContractAsLPTransactor) 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 (*ContractAsLPTransactor) Unpause

func (_ContractAsLP *ContractAsLPTransactor) Unpause(opts *bind.TransactOpts) (*types.Transaction, error)

Unpause is a paid mutator transaction binding the contract method 0x3f4ba83a.

Solidity: function unpause() returns()

func (*ContractAsLPTransactor) Withdraw

func (_ContractAsLP *ContractAsLPTransactor) Withdraw(opts *bind.TransactOpts, _wdSeq uint64, _receiver common.Address, _toChain uint64, _fromChains []uint64, _tokens []common.Address, _ratios []uint32, _slippages []uint32) (*types.Transaction, error)

Withdraw is a paid mutator transaction binding the contract method 0xa4855296.

Solidity: function withdraw(uint64 _wdSeq, address _receiver, uint64 _toChain, uint64[] _fromChains, address[] _tokens, uint32[] _ratios, uint32[] _slippages) returns()

type ContractAsLPTransactorRaw

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

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

func (*ContractAsLPTransactorRaw) Transact

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

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

func (*ContractAsLPTransactorRaw) Transfer

func (_ContractAsLP *ContractAsLPTransactorRaw) 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 ContractAsLPTransactorSession

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

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

func (*ContractAsLPTransactorSession) AddLiquidity

func (_ContractAsLP *ContractAsLPTransactorSession) AddLiquidity(_token common.Address, _amount *big.Int) (*types.Transaction, error)

AddLiquidity is a paid mutator transaction binding the contract method 0x56688700.

Solidity: function addLiquidity(address _token, uint256 _amount) returns()

func (*ContractAsLPTransactorSession) AddPauser

func (_ContractAsLP *ContractAsLPTransactorSession) AddPauser(account common.Address) (*types.Transaction, error)

AddPauser is a paid mutator transaction binding the contract method 0x82dc1ec4.

Solidity: function addPauser(address account) returns()

func (*ContractAsLPTransactorSession) Deposit

func (_ContractAsLP *ContractAsLPTransactorSession) Deposit(_token common.Address, _amount *big.Int) (*types.Transaction, error)

Deposit is a paid mutator transaction binding the contract method 0x47e7ef24.

Solidity: function deposit(address _token, uint256 _amount) returns()

func (*ContractAsLPTransactorSession) Pause

func (_ContractAsLP *ContractAsLPTransactorSession) Pause() (*types.Transaction, error)

Pause is a paid mutator transaction binding the contract method 0x8456cb59.

Solidity: function pause() returns()

func (*ContractAsLPTransactorSession) RemovePauser

func (_ContractAsLP *ContractAsLPTransactorSession) RemovePauser(account common.Address) (*types.Transaction, error)

RemovePauser is a paid mutator transaction binding the contract method 0x6b2c0f55.

Solidity: function removePauser(address account) returns()

func (*ContractAsLPTransactorSession) RenouncePauser

func (_ContractAsLP *ContractAsLPTransactorSession) RenouncePauser() (*types.Transaction, error)

RenouncePauser is a paid mutator transaction binding the contract method 0x6ef8d66d.

Solidity: function renouncePauser() returns()

func (*ContractAsLPTransactorSession) TransferOwnership

func (_ContractAsLP *ContractAsLPTransactorSession) 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 (*ContractAsLPTransactorSession) Unpause

func (_ContractAsLP *ContractAsLPTransactorSession) Unpause() (*types.Transaction, error)

Unpause is a paid mutator transaction binding the contract method 0x3f4ba83a.

Solidity: function unpause() returns()

func (*ContractAsLPTransactorSession) Withdraw

func (_ContractAsLP *ContractAsLPTransactorSession) Withdraw(_wdSeq uint64, _receiver common.Address, _toChain uint64, _fromChains []uint64, _tokens []common.Address, _ratios []uint32, _slippages []uint32) (*types.Transaction, error)

Withdraw is a paid mutator transaction binding the contract method 0xa4855296.

Solidity: function withdraw(uint64 _wdSeq, address _receiver, uint64 _toChain, uint64[] _fromChains, address[] _tokens, uint32[] _ratios, uint32[] _slippages) returns()

type ContractAsLPUnpaused

type ContractAsLPUnpaused struct {
	Account common.Address
	Raw     types.Log // Blockchain specific contextual infos
}

ContractAsLPUnpaused represents a Unpaused event raised by the ContractAsLP contract.

type ContractAsLPUnpausedIterator

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

ContractAsLPUnpausedIterator is returned from FilterUnpaused and is used to iterate over the raw logs and unpacked data for Unpaused events raised by the ContractAsLP contract.

func (*ContractAsLPUnpausedIterator) Close

func (it *ContractAsLPUnpausedIterator) Close() error

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

func (*ContractAsLPUnpausedIterator) Error

func (it *ContractAsLPUnpausedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*ContractAsLPUnpausedIterator) 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 DataTypes

type DataTypes struct {
	DataTypesCaller     // Read-only binding to the contract
	DataTypesTransactor // Write-only binding to the contract
	DataTypesFilterer   // Log filterer for contract events
}

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

func DeployDataTypes

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

DeployDataTypes deploys a new Ethereum contract, binding an instance of DataTypes to it.

func NewDataTypes

func NewDataTypes(address common.Address, backend bind.ContractBackend) (*DataTypes, error)

NewDataTypes creates a new instance of DataTypes, bound to a specific deployed contract.

type DataTypesCaller

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

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

func NewDataTypesCaller

func NewDataTypesCaller(address common.Address, caller bind.ContractCaller) (*DataTypesCaller, error)

NewDataTypesCaller creates a new read-only instance of DataTypes, bound to a specific deployed contract.

type DataTypesCallerRaw

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

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

func (*DataTypesCallerRaw) Call

func (_DataTypes *DataTypesCallerRaw) 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 DataTypesCallerSession

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

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

type DataTypesDelegatorInfo

type DataTypesDelegatorInfo struct {
	ValAddr                        common.Address
	Tokens                         *big.Int
	Shares                         *big.Int
	Undelegations                  []DataTypesUndelegation
	UndelegationTokens             *big.Int
	WithdrawableUndelegationTokens *big.Int
}

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

type DataTypesFilterer

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

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

func NewDataTypesFilterer

func NewDataTypesFilterer(address common.Address, filterer bind.ContractFilterer) (*DataTypesFilterer, error)

NewDataTypesFilterer creates a new log filterer instance of DataTypes, bound to a specific deployed contract.

type DataTypesRaw

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

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

func (*DataTypesRaw) Call

func (_DataTypes *DataTypesRaw) 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 (*DataTypesRaw) Transact

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

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

func (*DataTypesRaw) Transfer

func (_DataTypes *DataTypesRaw) 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 DataTypesSession

type DataTypesSession struct {
	Contract     *DataTypes        // 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
}

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

type DataTypesTransactor

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

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

func NewDataTypesTransactor

func NewDataTypesTransactor(address common.Address, transactor bind.ContractTransactor) (*DataTypesTransactor, error)

NewDataTypesTransactor creates a new write-only instance of DataTypes, bound to a specific deployed contract.

type DataTypesTransactorRaw

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

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

func (*DataTypesTransactorRaw) Transact

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

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

func (*DataTypesTransactorRaw) Transfer

func (_DataTypes *DataTypesTransactorRaw) 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 DataTypesTransactorSession

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

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

type DataTypesUndelegation

type DataTypesUndelegation struct {
	Shares        *big.Int
	CreationBlock *big.Int
}

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

type DataTypesValidatorInfo

type DataTypesValidatorInfo struct {
	ValAddr           common.Address
	Status            uint8
	Signer            common.Address
	Tokens            *big.Int
	Shares            *big.Int
	MinSelfDelegation *big.Int
	CommissionRate    uint64
}

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

type DataTypesValidatorTokens

type DataTypesValidatorTokens struct {
	ValAddr common.Address
	Tokens  *big.Int
}

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

type FarmingRewards

type FarmingRewards struct {
	FarmingRewardsCaller     // Read-only binding to the contract
	FarmingRewardsTransactor // Write-only binding to the contract
	FarmingRewardsFilterer   // Log filterer for contract events
}

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

func DeployFarmingRewards

func DeployFarmingRewards(auth *bind.TransactOpts, backend bind.ContractBackend, _sigsVerifier common.Address) (common.Address, *types.Transaction, *FarmingRewards, error)

DeployFarmingRewards deploys a new Ethereum contract, binding an instance of FarmingRewards to it.

func NewFarmingRewards

func NewFarmingRewards(address common.Address, backend bind.ContractBackend) (*FarmingRewards, error)

NewFarmingRewards creates a new instance of FarmingRewards, bound to a specific deployed contract.

type FarmingRewardsCaller

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

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

func NewFarmingRewardsCaller

func NewFarmingRewardsCaller(address common.Address, caller bind.ContractCaller) (*FarmingRewardsCaller, error)

NewFarmingRewardsCaller creates a new read-only instance of FarmingRewards, bound to a specific deployed contract.

func (*FarmingRewardsCaller) ClaimedRewardAmounts

func (_FarmingRewards *FarmingRewardsCaller) ClaimedRewardAmounts(opts *bind.CallOpts, arg0 common.Address, arg1 common.Address) (*big.Int, error)

ClaimedRewardAmounts is a free data retrieval call binding the contract method 0x1744092e.

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

func (*FarmingRewardsCaller) IsPauser

func (_FarmingRewards *FarmingRewardsCaller) IsPauser(opts *bind.CallOpts, account common.Address) (bool, error)

IsPauser is a free data retrieval call binding the contract method 0x46fbf68e.

Solidity: function isPauser(address account) view returns(bool)

func (*FarmingRewardsCaller) Owner

func (_FarmingRewards *FarmingRewardsCaller) 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 (*FarmingRewardsCaller) Paused

func (_FarmingRewards *FarmingRewardsCaller) Paused(opts *bind.CallOpts) (bool, error)

Paused is a free data retrieval call binding the contract method 0x5c975abb.

Solidity: function paused() view returns(bool)

func (*FarmingRewardsCaller) Pausers

func (_FarmingRewards *FarmingRewardsCaller) Pausers(opts *bind.CallOpts, arg0 common.Address) (bool, error)

Pausers is a free data retrieval call binding the contract method 0x80f51c12.

Solidity: function pausers(address ) view returns(bool)

func (*FarmingRewardsCaller) SigsVerifier

func (_FarmingRewards *FarmingRewardsCaller) SigsVerifier(opts *bind.CallOpts) (common.Address, error)

SigsVerifier is a free data retrieval call binding the contract method 0xccf2683b.

Solidity: function sigsVerifier() view returns(address)

type FarmingRewardsCallerRaw

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

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

func (*FarmingRewardsCallerRaw) Call

func (_FarmingRewards *FarmingRewardsCallerRaw) 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 FarmingRewardsCallerSession

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

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

func (*FarmingRewardsCallerSession) ClaimedRewardAmounts

func (_FarmingRewards *FarmingRewardsCallerSession) ClaimedRewardAmounts(arg0 common.Address, arg1 common.Address) (*big.Int, error)

ClaimedRewardAmounts is a free data retrieval call binding the contract method 0x1744092e.

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

func (*FarmingRewardsCallerSession) IsPauser

func (_FarmingRewards *FarmingRewardsCallerSession) IsPauser(account common.Address) (bool, error)

IsPauser is a free data retrieval call binding the contract method 0x46fbf68e.

Solidity: function isPauser(address account) view returns(bool)

func (*FarmingRewardsCallerSession) Owner

func (_FarmingRewards *FarmingRewardsCallerSession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*FarmingRewardsCallerSession) Paused

func (_FarmingRewards *FarmingRewardsCallerSession) Paused() (bool, error)

Paused is a free data retrieval call binding the contract method 0x5c975abb.

Solidity: function paused() view returns(bool)

func (*FarmingRewardsCallerSession) Pausers

func (_FarmingRewards *FarmingRewardsCallerSession) Pausers(arg0 common.Address) (bool, error)

Pausers is a free data retrieval call binding the contract method 0x80f51c12.

Solidity: function pausers(address ) view returns(bool)

func (*FarmingRewardsCallerSession) SigsVerifier

func (_FarmingRewards *FarmingRewardsCallerSession) SigsVerifier() (common.Address, error)

SigsVerifier is a free data retrieval call binding the contract method 0xccf2683b.

Solidity: function sigsVerifier() view returns(address)

type FarmingRewardsContract

type FarmingRewardsContract struct {
	*FarmingRewards
	Address Addr
}

func NewFarmingRewardsContract

func NewFarmingRewardsContract(address Addr, client *ethclient.Client) (*FarmingRewardsContract, error)

func (*FarmingRewardsContract) GetABI

func (c *FarmingRewardsContract) GetABI() string

func (*FarmingRewardsContract) GetAddr

func (c *FarmingRewardsContract) GetAddr() Addr

type FarmingRewardsFarmingRewardClaimed

type FarmingRewardsFarmingRewardClaimed struct {
	Recipient common.Address
	Token     common.Address
	Reward    *big.Int
	Raw       types.Log // Blockchain specific contextual infos
}

FarmingRewardsFarmingRewardClaimed represents a FarmingRewardClaimed event raised by the FarmingRewards contract.

type FarmingRewardsFarmingRewardClaimedIterator

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

FarmingRewardsFarmingRewardClaimedIterator is returned from FilterFarmingRewardClaimed and is used to iterate over the raw logs and unpacked data for FarmingRewardClaimed events raised by the FarmingRewards contract.

func (*FarmingRewardsFarmingRewardClaimedIterator) Close

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

func (*FarmingRewardsFarmingRewardClaimedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*FarmingRewardsFarmingRewardClaimedIterator) 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 FarmingRewardsFarmingRewardContributed

type FarmingRewardsFarmingRewardContributed struct {
	Contributor  common.Address
	Token        common.Address
	Contribution *big.Int
	Raw          types.Log // Blockchain specific contextual infos
}

FarmingRewardsFarmingRewardContributed represents a FarmingRewardContributed event raised by the FarmingRewards contract.

type FarmingRewardsFarmingRewardContributedIterator

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

FarmingRewardsFarmingRewardContributedIterator is returned from FilterFarmingRewardContributed and is used to iterate over the raw logs and unpacked data for FarmingRewardContributed events raised by the FarmingRewards contract.

func (*FarmingRewardsFarmingRewardContributedIterator) Close

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

func (*FarmingRewardsFarmingRewardContributedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*FarmingRewardsFarmingRewardContributedIterator) 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 FarmingRewardsFilterer

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

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

func NewFarmingRewardsFilterer

func NewFarmingRewardsFilterer(address common.Address, filterer bind.ContractFilterer) (*FarmingRewardsFilterer, error)

NewFarmingRewardsFilterer creates a new log filterer instance of FarmingRewards, bound to a specific deployed contract.

func (*FarmingRewardsFilterer) FilterFarmingRewardClaimed

func (_FarmingRewards *FarmingRewardsFilterer) FilterFarmingRewardClaimed(opts *bind.FilterOpts, recipient []common.Address, token []common.Address) (*FarmingRewardsFarmingRewardClaimedIterator, error)

FilterFarmingRewardClaimed is a free log retrieval operation binding the contract event 0x97e6c3172350795e26977663112f38653689372e771e85bad9fbadb1af0e98b2.

Solidity: event FarmingRewardClaimed(address indexed recipient, address indexed token, uint256 reward)

func (*FarmingRewardsFilterer) FilterFarmingRewardContributed

func (_FarmingRewards *FarmingRewardsFilterer) FilterFarmingRewardContributed(opts *bind.FilterOpts, contributor []common.Address, token []common.Address) (*FarmingRewardsFarmingRewardContributedIterator, error)

FilterFarmingRewardContributed is a free log retrieval operation binding the contract event 0x40aa1b9a9157bc37a09a78d5a46e53087b82ee0034ebe896d4d1a52f31b333d4.

Solidity: event FarmingRewardContributed(address indexed contributor, address indexed token, uint256 contribution)

func (*FarmingRewardsFilterer) FilterOwnershipTransferred

func (_FarmingRewards *FarmingRewardsFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*FarmingRewardsOwnershipTransferredIterator, error)

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

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

func (*FarmingRewardsFilterer) FilterPaused

func (_FarmingRewards *FarmingRewardsFilterer) FilterPaused(opts *bind.FilterOpts) (*FarmingRewardsPausedIterator, error)

FilterPaused is a free log retrieval operation binding the contract event 0x62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258.

Solidity: event Paused(address account)

func (*FarmingRewardsFilterer) FilterPauserAdded

func (_FarmingRewards *FarmingRewardsFilterer) FilterPauserAdded(opts *bind.FilterOpts) (*FarmingRewardsPauserAddedIterator, error)

FilterPauserAdded is a free log retrieval operation binding the contract event 0x6719d08c1888103bea251a4ed56406bd0c3e69723c8a1686e017e7bbe159b6f8.

Solidity: event PauserAdded(address account)

func (*FarmingRewardsFilterer) FilterPauserRemoved

func (_FarmingRewards *FarmingRewardsFilterer) FilterPauserRemoved(opts *bind.FilterOpts) (*FarmingRewardsPauserRemovedIterator, error)

FilterPauserRemoved is a free log retrieval operation binding the contract event 0xcd265ebaf09df2871cc7bd4133404a235ba12eff2041bb89d9c714a2621c7c7e.

Solidity: event PauserRemoved(address account)

func (*FarmingRewardsFilterer) FilterUnpaused

func (_FarmingRewards *FarmingRewardsFilterer) FilterUnpaused(opts *bind.FilterOpts) (*FarmingRewardsUnpausedIterator, error)

FilterUnpaused is a free log retrieval operation binding the contract event 0x5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa.

Solidity: event Unpaused(address account)

func (*FarmingRewardsFilterer) ParseFarmingRewardClaimed

func (_FarmingRewards *FarmingRewardsFilterer) ParseFarmingRewardClaimed(log types.Log) (*FarmingRewardsFarmingRewardClaimed, error)

ParseFarmingRewardClaimed is a log parse operation binding the contract event 0x97e6c3172350795e26977663112f38653689372e771e85bad9fbadb1af0e98b2.

Solidity: event FarmingRewardClaimed(address indexed recipient, address indexed token, uint256 reward)

func (*FarmingRewardsFilterer) ParseFarmingRewardContributed

func (_FarmingRewards *FarmingRewardsFilterer) ParseFarmingRewardContributed(log types.Log) (*FarmingRewardsFarmingRewardContributed, error)

ParseFarmingRewardContributed is a log parse operation binding the contract event 0x40aa1b9a9157bc37a09a78d5a46e53087b82ee0034ebe896d4d1a52f31b333d4.

Solidity: event FarmingRewardContributed(address indexed contributor, address indexed token, uint256 contribution)

func (*FarmingRewardsFilterer) ParseOwnershipTransferred

func (_FarmingRewards *FarmingRewardsFilterer) ParseOwnershipTransferred(log types.Log) (*FarmingRewardsOwnershipTransferred, error)

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

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

func (*FarmingRewardsFilterer) ParsePaused

func (_FarmingRewards *FarmingRewardsFilterer) ParsePaused(log types.Log) (*FarmingRewardsPaused, error)

ParsePaused is a log parse operation binding the contract event 0x62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258.

Solidity: event Paused(address account)

func (*FarmingRewardsFilterer) ParsePauserAdded

func (_FarmingRewards *FarmingRewardsFilterer) ParsePauserAdded(log types.Log) (*FarmingRewardsPauserAdded, error)

ParsePauserAdded is a log parse operation binding the contract event 0x6719d08c1888103bea251a4ed56406bd0c3e69723c8a1686e017e7bbe159b6f8.

Solidity: event PauserAdded(address account)

func (*FarmingRewardsFilterer) ParsePauserRemoved

func (_FarmingRewards *FarmingRewardsFilterer) ParsePauserRemoved(log types.Log) (*FarmingRewardsPauserRemoved, error)

ParsePauserRemoved is a log parse operation binding the contract event 0xcd265ebaf09df2871cc7bd4133404a235ba12eff2041bb89d9c714a2621c7c7e.

Solidity: event PauserRemoved(address account)

func (*FarmingRewardsFilterer) ParseUnpaused

func (_FarmingRewards *FarmingRewardsFilterer) ParseUnpaused(log types.Log) (*FarmingRewardsUnpaused, error)

ParseUnpaused is a log parse operation binding the contract event 0x5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa.

Solidity: event Unpaused(address account)

func (*FarmingRewardsFilterer) WatchFarmingRewardClaimed

func (_FarmingRewards *FarmingRewardsFilterer) WatchFarmingRewardClaimed(opts *bind.WatchOpts, sink chan<- *FarmingRewardsFarmingRewardClaimed, recipient []common.Address, token []common.Address) (event.Subscription, error)

WatchFarmingRewardClaimed is a free log subscription operation binding the contract event 0x97e6c3172350795e26977663112f38653689372e771e85bad9fbadb1af0e98b2.

Solidity: event FarmingRewardClaimed(address indexed recipient, address indexed token, uint256 reward)

func (*FarmingRewardsFilterer) WatchFarmingRewardContributed

func (_FarmingRewards *FarmingRewardsFilterer) WatchFarmingRewardContributed(opts *bind.WatchOpts, sink chan<- *FarmingRewardsFarmingRewardContributed, contributor []common.Address, token []common.Address) (event.Subscription, error)

WatchFarmingRewardContributed is a free log subscription operation binding the contract event 0x40aa1b9a9157bc37a09a78d5a46e53087b82ee0034ebe896d4d1a52f31b333d4.

Solidity: event FarmingRewardContributed(address indexed contributor, address indexed token, uint256 contribution)

func (*FarmingRewardsFilterer) WatchOwnershipTransferred

func (_FarmingRewards *FarmingRewardsFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *FarmingRewardsOwnershipTransferred, 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 (*FarmingRewardsFilterer) WatchPaused

func (_FarmingRewards *FarmingRewardsFilterer) WatchPaused(opts *bind.WatchOpts, sink chan<- *FarmingRewardsPaused) (event.Subscription, error)

WatchPaused is a free log subscription operation binding the contract event 0x62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258.

Solidity: event Paused(address account)

func (*FarmingRewardsFilterer) WatchPauserAdded

func (_FarmingRewards *FarmingRewardsFilterer) WatchPauserAdded(opts *bind.WatchOpts, sink chan<- *FarmingRewardsPauserAdded) (event.Subscription, error)

WatchPauserAdded is a free log subscription operation binding the contract event 0x6719d08c1888103bea251a4ed56406bd0c3e69723c8a1686e017e7bbe159b6f8.

Solidity: event PauserAdded(address account)

func (*FarmingRewardsFilterer) WatchPauserRemoved

func (_FarmingRewards *FarmingRewardsFilterer) WatchPauserRemoved(opts *bind.WatchOpts, sink chan<- *FarmingRewardsPauserRemoved) (event.Subscription, error)

WatchPauserRemoved is a free log subscription operation binding the contract event 0xcd265ebaf09df2871cc7bd4133404a235ba12eff2041bb89d9c714a2621c7c7e.

Solidity: event PauserRemoved(address account)

func (*FarmingRewardsFilterer) WatchUnpaused

func (_FarmingRewards *FarmingRewardsFilterer) WatchUnpaused(opts *bind.WatchOpts, sink chan<- *FarmingRewardsUnpaused) (event.Subscription, error)

WatchUnpaused is a free log subscription operation binding the contract event 0x5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa.

Solidity: event Unpaused(address account)

type FarmingRewardsOwnershipTransferred

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

FarmingRewardsOwnershipTransferred represents a OwnershipTransferred event raised by the FarmingRewards contract.

type FarmingRewardsOwnershipTransferredIterator

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

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

func (*FarmingRewardsOwnershipTransferredIterator) Close

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

func (*FarmingRewardsOwnershipTransferredIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*FarmingRewardsOwnershipTransferredIterator) 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 FarmingRewardsPaused

type FarmingRewardsPaused struct {
	Account common.Address
	Raw     types.Log // Blockchain specific contextual infos
}

FarmingRewardsPaused represents a Paused event raised by the FarmingRewards contract.

type FarmingRewardsPausedIterator

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

FarmingRewardsPausedIterator is returned from FilterPaused and is used to iterate over the raw logs and unpacked data for Paused events raised by the FarmingRewards contract.

func (*FarmingRewardsPausedIterator) Close

func (it *FarmingRewardsPausedIterator) Close() error

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

func (*FarmingRewardsPausedIterator) Error

func (it *FarmingRewardsPausedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*FarmingRewardsPausedIterator) 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 FarmingRewardsPauserAdded

type FarmingRewardsPauserAdded struct {
	Account common.Address
	Raw     types.Log // Blockchain specific contextual infos
}

FarmingRewardsPauserAdded represents a PauserAdded event raised by the FarmingRewards contract.

type FarmingRewardsPauserAddedIterator

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

FarmingRewardsPauserAddedIterator is returned from FilterPauserAdded and is used to iterate over the raw logs and unpacked data for PauserAdded events raised by the FarmingRewards contract.

func (*FarmingRewardsPauserAddedIterator) Close

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

func (*FarmingRewardsPauserAddedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*FarmingRewardsPauserAddedIterator) 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 FarmingRewardsPauserRemoved

type FarmingRewardsPauserRemoved struct {
	Account common.Address
	Raw     types.Log // Blockchain specific contextual infos
}

FarmingRewardsPauserRemoved represents a PauserRemoved event raised by the FarmingRewards contract.

type FarmingRewardsPauserRemovedIterator

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

FarmingRewardsPauserRemovedIterator is returned from FilterPauserRemoved and is used to iterate over the raw logs and unpacked data for PauserRemoved events raised by the FarmingRewards contract.

func (*FarmingRewardsPauserRemovedIterator) Close

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

func (*FarmingRewardsPauserRemovedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*FarmingRewardsPauserRemovedIterator) 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 FarmingRewardsRaw

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

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

func (*FarmingRewardsRaw) Call

func (_FarmingRewards *FarmingRewardsRaw) 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 (*FarmingRewardsRaw) Transact

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

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

func (*FarmingRewardsRaw) Transfer

func (_FarmingRewards *FarmingRewardsRaw) 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 FarmingRewardsSession

type FarmingRewardsSession struct {
	Contract     *FarmingRewards   // 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
}

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

func (*FarmingRewardsSession) AddPauser

func (_FarmingRewards *FarmingRewardsSession) AddPauser(account common.Address) (*types.Transaction, error)

AddPauser is a paid mutator transaction binding the contract method 0x82dc1ec4.

Solidity: function addPauser(address account) returns()

func (*FarmingRewardsSession) ClaimRewards

func (_FarmingRewards *FarmingRewardsSession) ClaimRewards(_rewardsRequest []byte, _sigs [][]byte, _signers []common.Address, _powers []*big.Int) (*types.Transaction, error)

ClaimRewards is a paid mutator transaction binding the contract method 0x6b5d21e9.

Solidity: function claimRewards(bytes _rewardsRequest, bytes[] _sigs, address[] _signers, uint256[] _powers) returns()

func (*FarmingRewardsSession) ClaimedRewardAmounts

func (_FarmingRewards *FarmingRewardsSession) ClaimedRewardAmounts(arg0 common.Address, arg1 common.Address) (*big.Int, error)

ClaimedRewardAmounts is a free data retrieval call binding the contract method 0x1744092e.

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

func (*FarmingRewardsSession) ContributeToRewardPool

func (_FarmingRewards *FarmingRewardsSession) ContributeToRewardPool(_token common.Address, _amount *big.Int) (*types.Transaction, error)

ContributeToRewardPool is a paid mutator transaction binding the contract method 0x825168ff.

Solidity: function contributeToRewardPool(address _token, uint256 _amount) returns()

func (*FarmingRewardsSession) DrainToken

func (_FarmingRewards *FarmingRewardsSession) DrainToken(_token common.Address, _amount *big.Int) (*types.Transaction, error)

DrainToken is a paid mutator transaction binding the contract method 0x9d4323be.

Solidity: function drainToken(address _token, uint256 _amount) returns()

func (*FarmingRewardsSession) IsPauser

func (_FarmingRewards *FarmingRewardsSession) IsPauser(account common.Address) (bool, error)

IsPauser is a free data retrieval call binding the contract method 0x46fbf68e.

Solidity: function isPauser(address account) view returns(bool)

func (*FarmingRewardsSession) Owner

func (_FarmingRewards *FarmingRewardsSession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*FarmingRewardsSession) Pause

func (_FarmingRewards *FarmingRewardsSession) Pause() (*types.Transaction, error)

Pause is a paid mutator transaction binding the contract method 0x8456cb59.

Solidity: function pause() returns()

func (*FarmingRewardsSession) Paused

func (_FarmingRewards *FarmingRewardsSession) Paused() (bool, error)

Paused is a free data retrieval call binding the contract method 0x5c975abb.

Solidity: function paused() view returns(bool)

func (*FarmingRewardsSession) Pausers

func (_FarmingRewards *FarmingRewardsSession) Pausers(arg0 common.Address) (bool, error)

Pausers is a free data retrieval call binding the contract method 0x80f51c12.

Solidity: function pausers(address ) view returns(bool)

func (*FarmingRewardsSession) RemovePauser

func (_FarmingRewards *FarmingRewardsSession) RemovePauser(account common.Address) (*types.Transaction, error)

RemovePauser is a paid mutator transaction binding the contract method 0x6b2c0f55.

Solidity: function removePauser(address account) returns()

func (*FarmingRewardsSession) RenouncePauser

func (_FarmingRewards *FarmingRewardsSession) RenouncePauser() (*types.Transaction, error)

RenouncePauser is a paid mutator transaction binding the contract method 0x6ef8d66d.

Solidity: function renouncePauser() returns()

func (*FarmingRewardsSession) SigsVerifier

func (_FarmingRewards *FarmingRewardsSession) SigsVerifier() (common.Address, error)

SigsVerifier is a free data retrieval call binding the contract method 0xccf2683b.

Solidity: function sigsVerifier() view returns(address)

func (*FarmingRewardsSession) TransferOwnership

func (_FarmingRewards *FarmingRewardsSession) 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 (*FarmingRewardsSession) Unpause

func (_FarmingRewards *FarmingRewardsSession) Unpause() (*types.Transaction, error)

Unpause is a paid mutator transaction binding the contract method 0x3f4ba83a.

Solidity: function unpause() returns()

type FarmingRewardsTransactor

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

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

func NewFarmingRewardsTransactor

func NewFarmingRewardsTransactor(address common.Address, transactor bind.ContractTransactor) (*FarmingRewardsTransactor, error)

NewFarmingRewardsTransactor creates a new write-only instance of FarmingRewards, bound to a specific deployed contract.

func (*FarmingRewardsTransactor) AddPauser

func (_FarmingRewards *FarmingRewardsTransactor) AddPauser(opts *bind.TransactOpts, account common.Address) (*types.Transaction, error)

AddPauser is a paid mutator transaction binding the contract method 0x82dc1ec4.

Solidity: function addPauser(address account) returns()

func (*FarmingRewardsTransactor) ClaimRewards

func (_FarmingRewards *FarmingRewardsTransactor) ClaimRewards(opts *bind.TransactOpts, _rewardsRequest []byte, _sigs [][]byte, _signers []common.Address, _powers []*big.Int) (*types.Transaction, error)

ClaimRewards is a paid mutator transaction binding the contract method 0x6b5d21e9.

Solidity: function claimRewards(bytes _rewardsRequest, bytes[] _sigs, address[] _signers, uint256[] _powers) returns()

func (*FarmingRewardsTransactor) ContributeToRewardPool

func (_FarmingRewards *FarmingRewardsTransactor) ContributeToRewardPool(opts *bind.TransactOpts, _token common.Address, _amount *big.Int) (*types.Transaction, error)

ContributeToRewardPool is a paid mutator transaction binding the contract method 0x825168ff.

Solidity: function contributeToRewardPool(address _token, uint256 _amount) returns()

func (*FarmingRewardsTransactor) DrainToken

func (_FarmingRewards *FarmingRewardsTransactor) DrainToken(opts *bind.TransactOpts, _token common.Address, _amount *big.Int) (*types.Transaction, error)

DrainToken is a paid mutator transaction binding the contract method 0x9d4323be.

Solidity: function drainToken(address _token, uint256 _amount) returns()

func (*FarmingRewardsTransactor) Pause

func (_FarmingRewards *FarmingRewardsTransactor) Pause(opts *bind.TransactOpts) (*types.Transaction, error)

Pause is a paid mutator transaction binding the contract method 0x8456cb59.

Solidity: function pause() returns()

func (*FarmingRewardsTransactor) RemovePauser

func (_FarmingRewards *FarmingRewardsTransactor) RemovePauser(opts *bind.TransactOpts, account common.Address) (*types.Transaction, error)

RemovePauser is a paid mutator transaction binding the contract method 0x6b2c0f55.

Solidity: function removePauser(address account) returns()

func (*FarmingRewardsTransactor) RenouncePauser

func (_FarmingRewards *FarmingRewardsTransactor) RenouncePauser(opts *bind.TransactOpts) (*types.Transaction, error)

RenouncePauser is a paid mutator transaction binding the contract method 0x6ef8d66d.

Solidity: function renouncePauser() returns()

func (*FarmingRewardsTransactor) TransferOwnership

func (_FarmingRewards *FarmingRewardsTransactor) 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 (*FarmingRewardsTransactor) Unpause

func (_FarmingRewards *FarmingRewardsTransactor) Unpause(opts *bind.TransactOpts) (*types.Transaction, error)

Unpause is a paid mutator transaction binding the contract method 0x3f4ba83a.

Solidity: function unpause() returns()

type FarmingRewardsTransactorRaw

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

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

func (*FarmingRewardsTransactorRaw) Transact

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

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

func (*FarmingRewardsTransactorRaw) Transfer

func (_FarmingRewards *FarmingRewardsTransactorRaw) 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 FarmingRewardsTransactorSession

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

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

func (*FarmingRewardsTransactorSession) AddPauser

func (_FarmingRewards *FarmingRewardsTransactorSession) AddPauser(account common.Address) (*types.Transaction, error)

AddPauser is a paid mutator transaction binding the contract method 0x82dc1ec4.

Solidity: function addPauser(address account) returns()

func (*FarmingRewardsTransactorSession) ClaimRewards

func (_FarmingRewards *FarmingRewardsTransactorSession) ClaimRewards(_rewardsRequest []byte, _sigs [][]byte, _signers []common.Address, _powers []*big.Int) (*types.Transaction, error)

ClaimRewards is a paid mutator transaction binding the contract method 0x6b5d21e9.

Solidity: function claimRewards(bytes _rewardsRequest, bytes[] _sigs, address[] _signers, uint256[] _powers) returns()

func (*FarmingRewardsTransactorSession) ContributeToRewardPool

func (_FarmingRewards *FarmingRewardsTransactorSession) ContributeToRewardPool(_token common.Address, _amount *big.Int) (*types.Transaction, error)

ContributeToRewardPool is a paid mutator transaction binding the contract method 0x825168ff.

Solidity: function contributeToRewardPool(address _token, uint256 _amount) returns()

func (*FarmingRewardsTransactorSession) DrainToken

func (_FarmingRewards *FarmingRewardsTransactorSession) DrainToken(_token common.Address, _amount *big.Int) (*types.Transaction, error)

DrainToken is a paid mutator transaction binding the contract method 0x9d4323be.

Solidity: function drainToken(address _token, uint256 _amount) returns()

func (*FarmingRewardsTransactorSession) Pause

func (_FarmingRewards *FarmingRewardsTransactorSession) Pause() (*types.Transaction, error)

Pause is a paid mutator transaction binding the contract method 0x8456cb59.

Solidity: function pause() returns()

func (*FarmingRewardsTransactorSession) RemovePauser

func (_FarmingRewards *FarmingRewardsTransactorSession) RemovePauser(account common.Address) (*types.Transaction, error)

RemovePauser is a paid mutator transaction binding the contract method 0x6b2c0f55.

Solidity: function removePauser(address account) returns()

func (*FarmingRewardsTransactorSession) RenouncePauser

func (_FarmingRewards *FarmingRewardsTransactorSession) RenouncePauser() (*types.Transaction, error)

RenouncePauser is a paid mutator transaction binding the contract method 0x6ef8d66d.

Solidity: function renouncePauser() returns()

func (*FarmingRewardsTransactorSession) TransferOwnership

func (_FarmingRewards *FarmingRewardsTransactorSession) 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 (*FarmingRewardsTransactorSession) Unpause

func (_FarmingRewards *FarmingRewardsTransactorSession) Unpause() (*types.Transaction, error)

Unpause is a paid mutator transaction binding the contract method 0x3f4ba83a.

Solidity: function unpause() returns()

type FarmingRewardsUnpaused

type FarmingRewardsUnpaused struct {
	Account common.Address
	Raw     types.Log // Blockchain specific contextual infos
}

FarmingRewardsUnpaused represents a Unpaused event raised by the FarmingRewards contract.

type FarmingRewardsUnpausedIterator

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

FarmingRewardsUnpausedIterator is returned from FilterUnpaused and is used to iterate over the raw logs and unpacked data for Unpaused events raised by the FarmingRewards contract.

func (*FarmingRewardsUnpausedIterator) Close

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

func (*FarmingRewardsUnpausedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*FarmingRewardsUnpausedIterator) 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 Govern

type Govern struct {
	GovernCaller     // Read-only binding to the contract
	GovernTransactor // Write-only binding to the contract
	GovernFilterer   // Log filterer for contract events
}

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

func DeployGovern

func DeployGovern(auth *bind.TransactOpts, backend bind.ContractBackend, _staking common.Address, _celerTokenAddress common.Address, _collector common.Address) (common.Address, *types.Transaction, *Govern, error)

DeployGovern deploys a new Ethereum contract, binding an instance of Govern to it.

func NewGovern

func NewGovern(address common.Address, backend bind.ContractBackend) (*Govern, error)

NewGovern creates a new instance of Govern, bound to a specific deployed contract.

type GovernCaller

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

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

func NewGovernCaller

func NewGovernCaller(address common.Address, caller bind.ContractCaller) (*GovernCaller, error)

NewGovernCaller creates a new read-only instance of Govern, bound to a specific deployed contract.

func (*GovernCaller) CelerToken

func (_Govern *GovernCaller) CelerToken(opts *bind.CallOpts) (common.Address, error)

CelerToken is a free data retrieval call binding the contract method 0xc6c21e9d.

Solidity: function celerToken() view returns(address)

func (*GovernCaller) Collector

func (_Govern *GovernCaller) Collector(opts *bind.CallOpts) (common.Address, error)

Collector is a free data retrieval call binding the contract method 0x913e77ad.

Solidity: function collector() view returns(address)

func (*GovernCaller) Forfeiture

func (_Govern *GovernCaller) Forfeiture(opts *bind.CallOpts) (*big.Int, error)

Forfeiture is a free data retrieval call binding the contract method 0x8338f0e5.

Solidity: function forfeiture() view returns(uint256)

func (*GovernCaller) GetParamProposalVote

func (_Govern *GovernCaller) GetParamProposalVote(opts *bind.CallOpts, _proposalId *big.Int, _voter common.Address) (uint8, error)

GetParamProposalVote is a free data retrieval call binding the contract method 0x581c53c5.

Solidity: function getParamProposalVote(uint256 _proposalId, address _voter) view returns(uint8)

func (*GovernCaller) NextParamProposalId

func (_Govern *GovernCaller) NextParamProposalId(opts *bind.CallOpts) (*big.Int, error)

NextParamProposalId is a free data retrieval call binding the contract method 0x22da7927.

Solidity: function nextParamProposalId() view returns(uint256)

func (*GovernCaller) ParamProposals

func (_Govern *GovernCaller) ParamProposals(opts *bind.CallOpts, arg0 *big.Int) (struct {
	Proposer     common.Address
	Deposit      *big.Int
	VoteDeadline *big.Int
	Name         uint8
	NewValue     *big.Int
	Status       uint8
}, error)

ParamProposals is a free data retrieval call binding the contract method 0x7e5fb8f3.

Solidity: function paramProposals(uint256 ) view returns(address proposer, uint256 deposit, uint256 voteDeadline, uint8 name, uint256 newValue, uint8 status)

func (*GovernCaller) Staking

func (_Govern *GovernCaller) Staking(opts *bind.CallOpts) (common.Address, error)

Staking is a free data retrieval call binding the contract method 0x4cf088d9.

Solidity: function staking() view returns(address)

type GovernCallerRaw

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

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

func (*GovernCallerRaw) Call

func (_Govern *GovernCallerRaw) 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 GovernCallerSession

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

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

func (*GovernCallerSession) CelerToken

func (_Govern *GovernCallerSession) CelerToken() (common.Address, error)

CelerToken is a free data retrieval call binding the contract method 0xc6c21e9d.

Solidity: function celerToken() view returns(address)

func (*GovernCallerSession) Collector

func (_Govern *GovernCallerSession) Collector() (common.Address, error)

Collector is a free data retrieval call binding the contract method 0x913e77ad.

Solidity: function collector() view returns(address)

func (*GovernCallerSession) Forfeiture

func (_Govern *GovernCallerSession) Forfeiture() (*big.Int, error)

Forfeiture is a free data retrieval call binding the contract method 0x8338f0e5.

Solidity: function forfeiture() view returns(uint256)

func (*GovernCallerSession) GetParamProposalVote

func (_Govern *GovernCallerSession) GetParamProposalVote(_proposalId *big.Int, _voter common.Address) (uint8, error)

GetParamProposalVote is a free data retrieval call binding the contract method 0x581c53c5.

Solidity: function getParamProposalVote(uint256 _proposalId, address _voter) view returns(uint8)

func (*GovernCallerSession) NextParamProposalId

func (_Govern *GovernCallerSession) NextParamProposalId() (*big.Int, error)

NextParamProposalId is a free data retrieval call binding the contract method 0x22da7927.

Solidity: function nextParamProposalId() view returns(uint256)

func (*GovernCallerSession) ParamProposals

func (_Govern *GovernCallerSession) ParamProposals(arg0 *big.Int) (struct {
	Proposer     common.Address
	Deposit      *big.Int
	VoteDeadline *big.Int
	Name         uint8
	NewValue     *big.Int
	Status       uint8
}, error)

ParamProposals is a free data retrieval call binding the contract method 0x7e5fb8f3.

Solidity: function paramProposals(uint256 ) view returns(address proposer, uint256 deposit, uint256 voteDeadline, uint8 name, uint256 newValue, uint8 status)

func (*GovernCallerSession) Staking

func (_Govern *GovernCallerSession) Staking() (common.Address, error)

Staking is a free data retrieval call binding the contract method 0x4cf088d9.

Solidity: function staking() view returns(address)

type GovernConfirmParamProposal

type GovernConfirmParamProposal struct {
	ProposalId *big.Int
	Passed     bool
	Name       uint8
	NewValue   *big.Int
	Raw        types.Log // Blockchain specific contextual infos
}

GovernConfirmParamProposal represents a ConfirmParamProposal event raised by the Govern contract.

type GovernConfirmParamProposalIterator

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

GovernConfirmParamProposalIterator is returned from FilterConfirmParamProposal and is used to iterate over the raw logs and unpacked data for ConfirmParamProposal events raised by the Govern contract.

func (*GovernConfirmParamProposalIterator) Close

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

func (*GovernConfirmParamProposalIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*GovernConfirmParamProposalIterator) 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 GovernContract

type GovernContract struct {
	*Govern
	Address Addr
}

func NewGovernContract

func NewGovernContract(address Addr, client *ethclient.Client) (*GovernContract, error)

func (*GovernContract) GetABI

func (c *GovernContract) GetABI() string

func (*GovernContract) GetAddr

func (c *GovernContract) GetAddr() Addr

type GovernCreateParamProposal

type GovernCreateParamProposal struct {
	ProposalId   *big.Int
	Proposer     common.Address
	Deposit      *big.Int
	VoteDeadline *big.Int
	Name         uint8
	NewValue     *big.Int
	Raw          types.Log // Blockchain specific contextual infos
}

GovernCreateParamProposal represents a CreateParamProposal event raised by the Govern contract.

type GovernCreateParamProposalIterator

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

GovernCreateParamProposalIterator is returned from FilterCreateParamProposal and is used to iterate over the raw logs and unpacked data for CreateParamProposal events raised by the Govern contract.

func (*GovernCreateParamProposalIterator) Close

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

func (*GovernCreateParamProposalIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*GovernCreateParamProposalIterator) 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 GovernFilterer

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

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

func NewGovernFilterer

func NewGovernFilterer(address common.Address, filterer bind.ContractFilterer) (*GovernFilterer, error)

NewGovernFilterer creates a new log filterer instance of Govern, bound to a specific deployed contract.

func (*GovernFilterer) FilterConfirmParamProposal

func (_Govern *GovernFilterer) FilterConfirmParamProposal(opts *bind.FilterOpts) (*GovernConfirmParamProposalIterator, error)

FilterConfirmParamProposal is a free log retrieval operation binding the contract event 0xd0d659ab2c0f954d2f29cf2e13d8ff2e15e147f3424eb205a079c4caa6bfe1a9.

Solidity: event ConfirmParamProposal(uint256 proposalId, bool passed, uint8 name, uint256 newValue)

func (*GovernFilterer) FilterCreateParamProposal

func (_Govern *GovernFilterer) FilterCreateParamProposal(opts *bind.FilterOpts) (*GovernCreateParamProposalIterator, error)

FilterCreateParamProposal is a free log retrieval operation binding the contract event 0x4a4d354dbdc4d7b757c1f44b6e074bb6e1afe33f4b9867ce48cfb7004d76f160.

Solidity: event CreateParamProposal(uint256 proposalId, address proposer, uint256 deposit, uint256 voteDeadline, uint8 name, uint256 newValue)

func (*GovernFilterer) FilterVoteParam

func (_Govern *GovernFilterer) FilterVoteParam(opts *bind.FilterOpts) (*GovernVoteParamIterator, error)

FilterVoteParam is a free log retrieval operation binding the contract event 0x06c7ef6e19454637e93ee60cc680c61fb2ebabb57e58cf36d94141a5036b3d65.

Solidity: event VoteParam(uint256 proposalId, address voter, uint8 vote)

func (*GovernFilterer) ParseConfirmParamProposal

func (_Govern *GovernFilterer) ParseConfirmParamProposal(log types.Log) (*GovernConfirmParamProposal, error)

ParseConfirmParamProposal is a log parse operation binding the contract event 0xd0d659ab2c0f954d2f29cf2e13d8ff2e15e147f3424eb205a079c4caa6bfe1a9.

Solidity: event ConfirmParamProposal(uint256 proposalId, bool passed, uint8 name, uint256 newValue)

func (*GovernFilterer) ParseCreateParamProposal

func (_Govern *GovernFilterer) ParseCreateParamProposal(log types.Log) (*GovernCreateParamProposal, error)

ParseCreateParamProposal is a log parse operation binding the contract event 0x4a4d354dbdc4d7b757c1f44b6e074bb6e1afe33f4b9867ce48cfb7004d76f160.

Solidity: event CreateParamProposal(uint256 proposalId, address proposer, uint256 deposit, uint256 voteDeadline, uint8 name, uint256 newValue)

func (*GovernFilterer) ParseVoteParam

func (_Govern *GovernFilterer) ParseVoteParam(log types.Log) (*GovernVoteParam, error)

ParseVoteParam is a log parse operation binding the contract event 0x06c7ef6e19454637e93ee60cc680c61fb2ebabb57e58cf36d94141a5036b3d65.

Solidity: event VoteParam(uint256 proposalId, address voter, uint8 vote)

func (*GovernFilterer) WatchConfirmParamProposal

func (_Govern *GovernFilterer) WatchConfirmParamProposal(opts *bind.WatchOpts, sink chan<- *GovernConfirmParamProposal) (event.Subscription, error)

WatchConfirmParamProposal is a free log subscription operation binding the contract event 0xd0d659ab2c0f954d2f29cf2e13d8ff2e15e147f3424eb205a079c4caa6bfe1a9.

Solidity: event ConfirmParamProposal(uint256 proposalId, bool passed, uint8 name, uint256 newValue)

func (*GovernFilterer) WatchCreateParamProposal

func (_Govern *GovernFilterer) WatchCreateParamProposal(opts *bind.WatchOpts, sink chan<- *GovernCreateParamProposal) (event.Subscription, error)

WatchCreateParamProposal is a free log subscription operation binding the contract event 0x4a4d354dbdc4d7b757c1f44b6e074bb6e1afe33f4b9867ce48cfb7004d76f160.

Solidity: event CreateParamProposal(uint256 proposalId, address proposer, uint256 deposit, uint256 voteDeadline, uint8 name, uint256 newValue)

func (*GovernFilterer) WatchVoteParam

func (_Govern *GovernFilterer) WatchVoteParam(opts *bind.WatchOpts, sink chan<- *GovernVoteParam) (event.Subscription, error)

WatchVoteParam is a free log subscription operation binding the contract event 0x06c7ef6e19454637e93ee60cc680c61fb2ebabb57e58cf36d94141a5036b3d65.

Solidity: event VoteParam(uint256 proposalId, address voter, uint8 vote)

type GovernRaw

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

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

func (*GovernRaw) Call

func (_Govern *GovernRaw) 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 (*GovernRaw) Transact

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

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

func (*GovernRaw) Transfer

func (_Govern *GovernRaw) 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 GovernSession

type GovernSession struct {
	Contract     *Govern           // 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
}

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

func (*GovernSession) CelerToken

func (_Govern *GovernSession) CelerToken() (common.Address, error)

CelerToken is a free data retrieval call binding the contract method 0xc6c21e9d.

Solidity: function celerToken() view returns(address)

func (*GovernSession) CollectForfeiture

func (_Govern *GovernSession) CollectForfeiture() (*types.Transaction, error)

CollectForfeiture is a paid mutator transaction binding the contract method 0x82d7b4b8.

Solidity: function collectForfeiture() returns()

func (*GovernSession) Collector

func (_Govern *GovernSession) Collector() (common.Address, error)

Collector is a free data retrieval call binding the contract method 0x913e77ad.

Solidity: function collector() view returns(address)

func (*GovernSession) ConfirmParamProposal

func (_Govern *GovernSession) ConfirmParamProposal(_proposalId *big.Int) (*types.Transaction, error)

ConfirmParamProposal is a paid mutator transaction binding the contract method 0x934a18ec.

Solidity: function confirmParamProposal(uint256 _proposalId) returns()

func (*GovernSession) CreateParamProposal

func (_Govern *GovernSession) CreateParamProposal(_name uint8, _value *big.Int) (*types.Transaction, error)

CreateParamProposal is a paid mutator transaction binding the contract method 0xe478ed9d.

Solidity: function createParamProposal(uint8 _name, uint256 _value) returns()

func (*GovernSession) Forfeiture

func (_Govern *GovernSession) Forfeiture() (*big.Int, error)

Forfeiture is a free data retrieval call binding the contract method 0x8338f0e5.

Solidity: function forfeiture() view returns(uint256)

func (*GovernSession) GetParamProposalVote

func (_Govern *GovernSession) GetParamProposalVote(_proposalId *big.Int, _voter common.Address) (uint8, error)

GetParamProposalVote is a free data retrieval call binding the contract method 0x581c53c5.

Solidity: function getParamProposalVote(uint256 _proposalId, address _voter) view returns(uint8)

func (*GovernSession) NextParamProposalId

func (_Govern *GovernSession) NextParamProposalId() (*big.Int, error)

NextParamProposalId is a free data retrieval call binding the contract method 0x22da7927.

Solidity: function nextParamProposalId() view returns(uint256)

func (*GovernSession) ParamProposals

func (_Govern *GovernSession) ParamProposals(arg0 *big.Int) (struct {
	Proposer     common.Address
	Deposit      *big.Int
	VoteDeadline *big.Int
	Name         uint8
	NewValue     *big.Int
	Status       uint8
}, error)

ParamProposals is a free data retrieval call binding the contract method 0x7e5fb8f3.

Solidity: function paramProposals(uint256 ) view returns(address proposer, uint256 deposit, uint256 voteDeadline, uint8 name, uint256 newValue, uint8 status)

func (*GovernSession) Staking

func (_Govern *GovernSession) Staking() (common.Address, error)

Staking is a free data retrieval call binding the contract method 0x4cf088d9.

Solidity: function staking() view returns(address)

func (*GovernSession) VoteParam

func (_Govern *GovernSession) VoteParam(_proposalId *big.Int, _vote uint8) (*types.Transaction, error)

VoteParam is a paid mutator transaction binding the contract method 0x25ed6b35.

Solidity: function voteParam(uint256 _proposalId, uint8 _vote) returns()

type GovernTransactor

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

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

func NewGovernTransactor

func NewGovernTransactor(address common.Address, transactor bind.ContractTransactor) (*GovernTransactor, error)

NewGovernTransactor creates a new write-only instance of Govern, bound to a specific deployed contract.

func (*GovernTransactor) CollectForfeiture

func (_Govern *GovernTransactor) CollectForfeiture(opts *bind.TransactOpts) (*types.Transaction, error)

CollectForfeiture is a paid mutator transaction binding the contract method 0x82d7b4b8.

Solidity: function collectForfeiture() returns()

func (*GovernTransactor) ConfirmParamProposal

func (_Govern *GovernTransactor) ConfirmParamProposal(opts *bind.TransactOpts, _proposalId *big.Int) (*types.Transaction, error)

ConfirmParamProposal is a paid mutator transaction binding the contract method 0x934a18ec.

Solidity: function confirmParamProposal(uint256 _proposalId) returns()

func (*GovernTransactor) CreateParamProposal

func (_Govern *GovernTransactor) CreateParamProposal(opts *bind.TransactOpts, _name uint8, _value *big.Int) (*types.Transaction, error)

CreateParamProposal is a paid mutator transaction binding the contract method 0xe478ed9d.

Solidity: function createParamProposal(uint8 _name, uint256 _value) returns()

func (*GovernTransactor) VoteParam

func (_Govern *GovernTransactor) VoteParam(opts *bind.TransactOpts, _proposalId *big.Int, _vote uint8) (*types.Transaction, error)

VoteParam is a paid mutator transaction binding the contract method 0x25ed6b35.

Solidity: function voteParam(uint256 _proposalId, uint8 _vote) returns()

type GovernTransactorRaw

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

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

func (*GovernTransactorRaw) Transact

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

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

func (*GovernTransactorRaw) Transfer

func (_Govern *GovernTransactorRaw) 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 GovernTransactorSession

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

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

func (*GovernTransactorSession) CollectForfeiture

func (_Govern *GovernTransactorSession) CollectForfeiture() (*types.Transaction, error)

CollectForfeiture is a paid mutator transaction binding the contract method 0x82d7b4b8.

Solidity: function collectForfeiture() returns()

func (*GovernTransactorSession) ConfirmParamProposal

func (_Govern *GovernTransactorSession) ConfirmParamProposal(_proposalId *big.Int) (*types.Transaction, error)

ConfirmParamProposal is a paid mutator transaction binding the contract method 0x934a18ec.

Solidity: function confirmParamProposal(uint256 _proposalId) returns()

func (*GovernTransactorSession) CreateParamProposal

func (_Govern *GovernTransactorSession) CreateParamProposal(_name uint8, _value *big.Int) (*types.Transaction, error)

CreateParamProposal is a paid mutator transaction binding the contract method 0xe478ed9d.

Solidity: function createParamProposal(uint8 _name, uint256 _value) returns()

func (*GovernTransactorSession) VoteParam

func (_Govern *GovernTransactorSession) VoteParam(_proposalId *big.Int, _vote uint8) (*types.Transaction, error)

VoteParam is a paid mutator transaction binding the contract method 0x25ed6b35.

Solidity: function voteParam(uint256 _proposalId, uint8 _vote) returns()

type GovernVoteParam

type GovernVoteParam struct {
	ProposalId *big.Int
	Voter      common.Address
	Vote       uint8
	Raw        types.Log // Blockchain specific contextual infos
}

GovernVoteParam represents a VoteParam event raised by the Govern contract.

type GovernVoteParamIterator

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

GovernVoteParamIterator is returned from FilterVoteParam and is used to iterate over the raw logs and unpacked data for VoteParam events raised by the Govern contract.

func (*GovernVoteParamIterator) Close

func (it *GovernVoteParamIterator) Close() error

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

func (*GovernVoteParamIterator) Error

func (it *GovernVoteParamIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*GovernVoteParamIterator) Next

func (it *GovernVoteParamIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type Hash

type Hash = ec.Hash

Hash is the type for ethereum hash type

func Bytes2Hash

func Bytes2Hash(b []byte) Hash

Bytes2Hash converts bytes to Hash

func Hex2Hash

func Hex2Hash(s string) Hash

Hex2Hash accepts hex string with or without 0x prefix and return Hash

type IMessageReceiverApp

type IMessageReceiverApp struct {
	IMessageReceiverAppCaller     // Read-only binding to the contract
	IMessageReceiverAppTransactor // Write-only binding to the contract
	IMessageReceiverAppFilterer   // Log filterer for contract events
}

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

func NewIMessageReceiverApp

func NewIMessageReceiverApp(address common.Address, backend bind.ContractBackend) (*IMessageReceiverApp, error)

NewIMessageReceiverApp creates a new instance of IMessageReceiverApp, bound to a specific deployed contract.

type IMessageReceiverAppCaller

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

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

func NewIMessageReceiverAppCaller

func NewIMessageReceiverAppCaller(address common.Address, caller bind.ContractCaller) (*IMessageReceiverAppCaller, error)

NewIMessageReceiverAppCaller creates a new read-only instance of IMessageReceiverApp, bound to a specific deployed contract.

type IMessageReceiverAppCallerRaw

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

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

func (*IMessageReceiverAppCallerRaw) Call

func (_IMessageReceiverApp *IMessageReceiverAppCallerRaw) 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 IMessageReceiverAppCallerSession

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

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

type IMessageReceiverAppFilterer

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

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

func NewIMessageReceiverAppFilterer

func NewIMessageReceiverAppFilterer(address common.Address, filterer bind.ContractFilterer) (*IMessageReceiverAppFilterer, error)

NewIMessageReceiverAppFilterer creates a new log filterer instance of IMessageReceiverApp, bound to a specific deployed contract.

type IMessageReceiverAppRaw

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

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

func (*IMessageReceiverAppRaw) Call

func (_IMessageReceiverApp *IMessageReceiverAppRaw) 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 (*IMessageReceiverAppRaw) Transact

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

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

func (*IMessageReceiverAppRaw) Transfer

func (_IMessageReceiverApp *IMessageReceiverAppRaw) 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 IMessageReceiverAppSession

type IMessageReceiverAppSession struct {
	Contract     *IMessageReceiverApp // 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
}

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

func (*IMessageReceiverAppSession) ExecuteMessage

func (_IMessageReceiverApp *IMessageReceiverAppSession) ExecuteMessage(_sender []byte, _srcChainId uint64, _message []byte, _executor common.Address) (*types.Transaction, error)

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

Solidity: function executeMessage(bytes _sender, uint64 _srcChainId, bytes _message, address _executor) payable returns(uint8)

func (*IMessageReceiverAppSession) ExecuteMessage0

func (_IMessageReceiverApp *IMessageReceiverAppSession) ExecuteMessage0(_sender common.Address, _srcChainId uint64, _message []byte, _executor common.Address) (*types.Transaction, error)

ExecuteMessage0 is a paid mutator transaction binding the contract method 0x9c649fdf.

Solidity: function executeMessage(address _sender, uint64 _srcChainId, bytes _message, address _executor) payable returns(uint8)

func (*IMessageReceiverAppSession) ExecuteMessageWithTransfer

func (_IMessageReceiverApp *IMessageReceiverAppSession) ExecuteMessageWithTransfer(_sender common.Address, _token common.Address, _amount *big.Int, _srcChainId uint64, _message []byte, _executor common.Address) (*types.Transaction, error)

ExecuteMessageWithTransfer is a paid mutator transaction binding the contract method 0x7cd2bffc.

Solidity: function executeMessageWithTransfer(address _sender, address _token, uint256 _amount, uint64 _srcChainId, bytes _message, address _executor) payable returns(uint8)

func (*IMessageReceiverAppSession) ExecuteMessageWithTransferFallback

func (_IMessageReceiverApp *IMessageReceiverAppSession) ExecuteMessageWithTransferFallback(_sender common.Address, _token common.Address, _amount *big.Int, _srcChainId uint64, _message []byte, _executor common.Address) (*types.Transaction, error)

ExecuteMessageWithTransferFallback is a paid mutator transaction binding the contract method 0x5ab7afc6.

Solidity: function executeMessageWithTransferFallback(address _sender, address _token, uint256 _amount, uint64 _srcChainId, bytes _message, address _executor) payable returns(uint8)

func (*IMessageReceiverAppSession) ExecuteMessageWithTransferRefund

func (_IMessageReceiverApp *IMessageReceiverAppSession) ExecuteMessageWithTransferRefund(_token common.Address, _amount *big.Int, _message []byte, _executor common.Address) (*types.Transaction, error)

ExecuteMessageWithTransferRefund is a paid mutator transaction binding the contract method 0x0bcb4982.

Solidity: function executeMessageWithTransferRefund(address _token, uint256 _amount, bytes _message, address _executor) payable returns(uint8)

type IMessageReceiverAppTransactor

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

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

func NewIMessageReceiverAppTransactor

func NewIMessageReceiverAppTransactor(address common.Address, transactor bind.ContractTransactor) (*IMessageReceiverAppTransactor, error)

NewIMessageReceiverAppTransactor creates a new write-only instance of IMessageReceiverApp, bound to a specific deployed contract.

func (*IMessageReceiverAppTransactor) ExecuteMessage

func (_IMessageReceiverApp *IMessageReceiverAppTransactor) ExecuteMessage(opts *bind.TransactOpts, _sender []byte, _srcChainId uint64, _message []byte, _executor common.Address) (*types.Transaction, error)

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

Solidity: function executeMessage(bytes _sender, uint64 _srcChainId, bytes _message, address _executor) payable returns(uint8)

func (*IMessageReceiverAppTransactor) ExecuteMessage0

func (_IMessageReceiverApp *IMessageReceiverAppTransactor) ExecuteMessage0(opts *bind.TransactOpts, _sender common.Address, _srcChainId uint64, _message []byte, _executor common.Address) (*types.Transaction, error)

ExecuteMessage0 is a paid mutator transaction binding the contract method 0x9c649fdf.

Solidity: function executeMessage(address _sender, uint64 _srcChainId, bytes _message, address _executor) payable returns(uint8)

func (*IMessageReceiverAppTransactor) ExecuteMessageWithTransfer

func (_IMessageReceiverApp *IMessageReceiverAppTransactor) ExecuteMessageWithTransfer(opts *bind.TransactOpts, _sender common.Address, _token common.Address, _amount *big.Int, _srcChainId uint64, _message []byte, _executor common.Address) (*types.Transaction, error)

ExecuteMessageWithTransfer is a paid mutator transaction binding the contract method 0x7cd2bffc.

Solidity: function executeMessageWithTransfer(address _sender, address _token, uint256 _amount, uint64 _srcChainId, bytes _message, address _executor) payable returns(uint8)

func (*IMessageReceiverAppTransactor) ExecuteMessageWithTransferFallback

func (_IMessageReceiverApp *IMessageReceiverAppTransactor) ExecuteMessageWithTransferFallback(opts *bind.TransactOpts, _sender common.Address, _token common.Address, _amount *big.Int, _srcChainId uint64, _message []byte, _executor common.Address) (*types.Transaction, error)

ExecuteMessageWithTransferFallback is a paid mutator transaction binding the contract method 0x5ab7afc6.

Solidity: function executeMessageWithTransferFallback(address _sender, address _token, uint256 _amount, uint64 _srcChainId, bytes _message, address _executor) payable returns(uint8)

func (*IMessageReceiverAppTransactor) ExecuteMessageWithTransferRefund

func (_IMessageReceiverApp *IMessageReceiverAppTransactor) ExecuteMessageWithTransferRefund(opts *bind.TransactOpts, _token common.Address, _amount *big.Int, _message []byte, _executor common.Address) (*types.Transaction, error)

ExecuteMessageWithTransferRefund is a paid mutator transaction binding the contract method 0x0bcb4982.

Solidity: function executeMessageWithTransferRefund(address _token, uint256 _amount, bytes _message, address _executor) payable returns(uint8)

type IMessageReceiverAppTransactorRaw

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

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

func (*IMessageReceiverAppTransactorRaw) Transact

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

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

func (*IMessageReceiverAppTransactorRaw) Transfer

func (_IMessageReceiverApp *IMessageReceiverAppTransactorRaw) 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 IMessageReceiverAppTransactorSession

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

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

func (*IMessageReceiverAppTransactorSession) ExecuteMessage

func (_IMessageReceiverApp *IMessageReceiverAppTransactorSession) ExecuteMessage(_sender []byte, _srcChainId uint64, _message []byte, _executor common.Address) (*types.Transaction, error)

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

Solidity: function executeMessage(bytes _sender, uint64 _srcChainId, bytes _message, address _executor) payable returns(uint8)

func (*IMessageReceiverAppTransactorSession) ExecuteMessage0

func (_IMessageReceiverApp *IMessageReceiverAppTransactorSession) ExecuteMessage0(_sender common.Address, _srcChainId uint64, _message []byte, _executor common.Address) (*types.Transaction, error)

ExecuteMessage0 is a paid mutator transaction binding the contract method 0x9c649fdf.

Solidity: function executeMessage(address _sender, uint64 _srcChainId, bytes _message, address _executor) payable returns(uint8)

func (*IMessageReceiverAppTransactorSession) ExecuteMessageWithTransfer

func (_IMessageReceiverApp *IMessageReceiverAppTransactorSession) ExecuteMessageWithTransfer(_sender common.Address, _token common.Address, _amount *big.Int, _srcChainId uint64, _message []byte, _executor common.Address) (*types.Transaction, error)

ExecuteMessageWithTransfer is a paid mutator transaction binding the contract method 0x7cd2bffc.

Solidity: function executeMessageWithTransfer(address _sender, address _token, uint256 _amount, uint64 _srcChainId, bytes _message, address _executor) payable returns(uint8)

func (*IMessageReceiverAppTransactorSession) ExecuteMessageWithTransferFallback

func (_IMessageReceiverApp *IMessageReceiverAppTransactorSession) ExecuteMessageWithTransferFallback(_sender common.Address, _token common.Address, _amount *big.Int, _srcChainId uint64, _message []byte, _executor common.Address) (*types.Transaction, error)

ExecuteMessageWithTransferFallback is a paid mutator transaction binding the contract method 0x5ab7afc6.

Solidity: function executeMessageWithTransferFallback(address _sender, address _token, uint256 _amount, uint64 _srcChainId, bytes _message, address _executor) payable returns(uint8)

func (*IMessageReceiverAppTransactorSession) ExecuteMessageWithTransferRefund

func (_IMessageReceiverApp *IMessageReceiverAppTransactorSession) ExecuteMessageWithTransferRefund(_token common.Address, _amount *big.Int, _message []byte, _executor common.Address) (*types.Transaction, error)

ExecuteMessageWithTransferRefund is a paid mutator transaction binding the contract method 0x0bcb4982.

Solidity: function executeMessageWithTransferRefund(address _token, uint256 _amount, bytes _message, address _executor) payable returns(uint8)

type ISigsVerifier

type ISigsVerifier struct {
	ISigsVerifierCaller     // Read-only binding to the contract
	ISigsVerifierTransactor // Write-only binding to the contract
	ISigsVerifierFilterer   // Log filterer for contract events
}

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

func NewISigsVerifier

func NewISigsVerifier(address common.Address, backend bind.ContractBackend) (*ISigsVerifier, error)

NewISigsVerifier creates a new instance of ISigsVerifier, bound to a specific deployed contract.

type ISigsVerifierCaller

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

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

func NewISigsVerifierCaller

func NewISigsVerifierCaller(address common.Address, caller bind.ContractCaller) (*ISigsVerifierCaller, error)

NewISigsVerifierCaller creates a new read-only instance of ISigsVerifier, bound to a specific deployed contract.

func (*ISigsVerifierCaller) VerifySigs

func (_ISigsVerifier *ISigsVerifierCaller) VerifySigs(opts *bind.CallOpts, _msg []byte, _sigs [][]byte, _signers []common.Address, _powers []*big.Int) error

VerifySigs is a free data retrieval call binding the contract method 0x682dbc22.

Solidity: function verifySigs(bytes _msg, bytes[] _sigs, address[] _signers, uint256[] _powers) view returns()

type ISigsVerifierCallerRaw

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

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

func (*ISigsVerifierCallerRaw) Call

func (_ISigsVerifier *ISigsVerifierCallerRaw) 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 ISigsVerifierCallerSession

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

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

func (*ISigsVerifierCallerSession) VerifySigs

func (_ISigsVerifier *ISigsVerifierCallerSession) VerifySigs(_msg []byte, _sigs [][]byte, _signers []common.Address, _powers []*big.Int) error

VerifySigs is a free data retrieval call binding the contract method 0x682dbc22.

Solidity: function verifySigs(bytes _msg, bytes[] _sigs, address[] _signers, uint256[] _powers) view returns()

type ISigsVerifierFilterer

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

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

func NewISigsVerifierFilterer

func NewISigsVerifierFilterer(address common.Address, filterer bind.ContractFilterer) (*ISigsVerifierFilterer, error)

NewISigsVerifierFilterer creates a new log filterer instance of ISigsVerifier, bound to a specific deployed contract.

type ISigsVerifierRaw

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

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

func (*ISigsVerifierRaw) Call

func (_ISigsVerifier *ISigsVerifierRaw) 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 (*ISigsVerifierRaw) Transact

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

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

func (*ISigsVerifierRaw) Transfer

func (_ISigsVerifier *ISigsVerifierRaw) 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 ISigsVerifierSession

type ISigsVerifierSession struct {
	Contract     *ISigsVerifier    // 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
}

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

func (*ISigsVerifierSession) VerifySigs

func (_ISigsVerifier *ISigsVerifierSession) VerifySigs(_msg []byte, _sigs [][]byte, _signers []common.Address, _powers []*big.Int) error

VerifySigs is a free data retrieval call binding the contract method 0x682dbc22.

Solidity: function verifySigs(bytes _msg, bytes[] _sigs, address[] _signers, uint256[] _powers) view returns()

type ISigsVerifierTransactor

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

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

func NewISigsVerifierTransactor

func NewISigsVerifierTransactor(address common.Address, transactor bind.ContractTransactor) (*ISigsVerifierTransactor, error)

NewISigsVerifierTransactor creates a new write-only instance of ISigsVerifier, bound to a specific deployed contract.

type ISigsVerifierTransactorRaw

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

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

func (*ISigsVerifierTransactorRaw) Transact

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

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

func (*ISigsVerifierTransactorRaw) Transfer

func (_ISigsVerifier *ISigsVerifierTransactorRaw) 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 ISigsVerifierTransactorSession

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

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

type IncentiveEventsReward

type IncentiveEventsReward struct {
	IncentiveEventsRewardCaller     // Read-only binding to the contract
	IncentiveEventsRewardTransactor // Write-only binding to the contract
	IncentiveEventsRewardFilterer   // Log filterer for contract events
}

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

func DeployIncentiveEventsReward

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

DeployIncentiveEventsReward deploys a new Ethereum contract, binding an instance of IncentiveEventsReward to it.

func NewIncentiveEventsReward

func NewIncentiveEventsReward(address common.Address, backend bind.ContractBackend) (*IncentiveEventsReward, error)

NewIncentiveEventsReward creates a new instance of IncentiveEventsReward, bound to a specific deployed contract.

type IncentiveEventsRewardCaller

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

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

func NewIncentiveEventsRewardCaller

func NewIncentiveEventsRewardCaller(address common.Address, caller bind.ContractCaller) (*IncentiveEventsRewardCaller, error)

NewIncentiveEventsRewardCaller creates a new read-only instance of IncentiveEventsReward, bound to a specific deployed contract.

func (*IncentiveEventsRewardCaller) ClaimDeadlines

func (_IncentiveEventsReward *IncentiveEventsRewardCaller) ClaimDeadlines(opts *bind.CallOpts, arg0 *big.Int) (*big.Int, error)

ClaimDeadlines is a free data retrieval call binding the contract method 0x2b5f3ece.

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

func (*IncentiveEventsRewardCaller) ClaimedRewardAmounts

func (_IncentiveEventsReward *IncentiveEventsRewardCaller) ClaimedRewardAmounts(opts *bind.CallOpts, arg0 *big.Int, arg1 common.Address, arg2 common.Address) (*big.Int, error)

ClaimedRewardAmounts is a free data retrieval call binding the contract method 0x6cd943f1.

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

func (*IncentiveEventsRewardCaller) Owner

func (_IncentiveEventsReward *IncentiveEventsRewardCaller) 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 (*IncentiveEventsRewardCaller) Paused

func (_IncentiveEventsReward *IncentiveEventsRewardCaller) Paused(opts *bind.CallOpts) (bool, error)

Paused is a free data retrieval call binding the contract method 0x5c975abb.

Solidity: function paused() view returns(bool)

func (*IncentiveEventsRewardCaller) RewardSigner

func (_IncentiveEventsReward *IncentiveEventsRewardCaller) RewardSigner(opts *bind.CallOpts) (common.Address, error)

RewardSigner is a free data retrieval call binding the contract method 0x323f24ab.

Solidity: function rewardSigner() view returns(address)

type IncentiveEventsRewardCallerRaw

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

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

func (*IncentiveEventsRewardCallerRaw) Call

func (_IncentiveEventsReward *IncentiveEventsRewardCallerRaw) 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 IncentiveEventsRewardCallerSession

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

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

func (*IncentiveEventsRewardCallerSession) ClaimDeadlines

func (_IncentiveEventsReward *IncentiveEventsRewardCallerSession) ClaimDeadlines(arg0 *big.Int) (*big.Int, error)

ClaimDeadlines is a free data retrieval call binding the contract method 0x2b5f3ece.

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

func (*IncentiveEventsRewardCallerSession) ClaimedRewardAmounts

func (_IncentiveEventsReward *IncentiveEventsRewardCallerSession) ClaimedRewardAmounts(arg0 *big.Int, arg1 common.Address, arg2 common.Address) (*big.Int, error)

ClaimedRewardAmounts is a free data retrieval call binding the contract method 0x6cd943f1.

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

func (*IncentiveEventsRewardCallerSession) Owner

func (_IncentiveEventsReward *IncentiveEventsRewardCallerSession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*IncentiveEventsRewardCallerSession) Paused

func (_IncentiveEventsReward *IncentiveEventsRewardCallerSession) Paused() (bool, error)

Paused is a free data retrieval call binding the contract method 0x5c975abb.

Solidity: function paused() view returns(bool)

func (*IncentiveEventsRewardCallerSession) RewardSigner

func (_IncentiveEventsReward *IncentiveEventsRewardCallerSession) RewardSigner() (common.Address, error)

RewardSigner is a free data retrieval call binding the contract method 0x323f24ab.

Solidity: function rewardSigner() view returns(address)

type IncentiveEventsRewardFilterer

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

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

func NewIncentiveEventsRewardFilterer

func NewIncentiveEventsRewardFilterer(address common.Address, filterer bind.ContractFilterer) (*IncentiveEventsRewardFilterer, error)

NewIncentiveEventsRewardFilterer creates a new log filterer instance of IncentiveEventsReward, bound to a specific deployed contract.

func (*IncentiveEventsRewardFilterer) FilterIncentiveRewardClaimed

func (_IncentiveEventsReward *IncentiveEventsRewardFilterer) FilterIncentiveRewardClaimed(opts *bind.FilterOpts, recipient []common.Address, eventId []*big.Int, token []common.Address) (*IncentiveEventsRewardIncentiveRewardClaimedIterator, error)

FilterIncentiveRewardClaimed is a free log retrieval operation binding the contract event 0x4725b2f44eb58121ab1f49975418c658cd3b55c3b2304f17d763d0f7db2eeea4.

Solidity: event IncentiveRewardClaimed(address indexed recipient, uint256 indexed eventId, address indexed token, uint256 reward)

func (*IncentiveEventsRewardFilterer) FilterIncentiveRewardContributed

func (_IncentiveEventsReward *IncentiveEventsRewardFilterer) FilterIncentiveRewardContributed(opts *bind.FilterOpts, contributor []common.Address, token []common.Address) (*IncentiveEventsRewardIncentiveRewardContributedIterator, error)

FilterIncentiveRewardContributed is a free log retrieval operation binding the contract event 0x57eaaa782395163669286660e541412345ba796d72347d77f65ce69b98241a6b.

Solidity: event IncentiveRewardContributed(address indexed contributor, address indexed token, uint256 contribution)

func (*IncentiveEventsRewardFilterer) FilterOwnershipTransferred

func (_IncentiveEventsReward *IncentiveEventsRewardFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*IncentiveEventsRewardOwnershipTransferredIterator, error)

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

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

func (*IncentiveEventsRewardFilterer) FilterPaused

func (_IncentiveEventsReward *IncentiveEventsRewardFilterer) FilterPaused(opts *bind.FilterOpts) (*IncentiveEventsRewardPausedIterator, error)

FilterPaused is a free log retrieval operation binding the contract event 0x62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258.

Solidity: event Paused(address account)

func (*IncentiveEventsRewardFilterer) FilterUnpaused

func (_IncentiveEventsReward *IncentiveEventsRewardFilterer) FilterUnpaused(opts *bind.FilterOpts) (*IncentiveEventsRewardUnpausedIterator, error)

FilterUnpaused is a free log retrieval operation binding the contract event 0x5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa.

Solidity: event Unpaused(address account)

func (*IncentiveEventsRewardFilterer) ParseIncentiveRewardClaimed

func (_IncentiveEventsReward *IncentiveEventsRewardFilterer) ParseIncentiveRewardClaimed(log types.Log) (*IncentiveEventsRewardIncentiveRewardClaimed, error)

ParseIncentiveRewardClaimed is a log parse operation binding the contract event 0x4725b2f44eb58121ab1f49975418c658cd3b55c3b2304f17d763d0f7db2eeea4.

Solidity: event IncentiveRewardClaimed(address indexed recipient, uint256 indexed eventId, address indexed token, uint256 reward)

func (*IncentiveEventsRewardFilterer) ParseIncentiveRewardContributed

func (_IncentiveEventsReward *IncentiveEventsRewardFilterer) ParseIncentiveRewardContributed(log types.Log) (*IncentiveEventsRewardIncentiveRewardContributed, error)

ParseIncentiveRewardContributed is a log parse operation binding the contract event 0x57eaaa782395163669286660e541412345ba796d72347d77f65ce69b98241a6b.

Solidity: event IncentiveRewardContributed(address indexed contributor, address indexed token, uint256 contribution)

func (*IncentiveEventsRewardFilterer) ParseOwnershipTransferred

func (_IncentiveEventsReward *IncentiveEventsRewardFilterer) ParseOwnershipTransferred(log types.Log) (*IncentiveEventsRewardOwnershipTransferred, error)

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

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

func (*IncentiveEventsRewardFilterer) ParsePaused

func (_IncentiveEventsReward *IncentiveEventsRewardFilterer) ParsePaused(log types.Log) (*IncentiveEventsRewardPaused, error)

ParsePaused is a log parse operation binding the contract event 0x62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258.

Solidity: event Paused(address account)

func (*IncentiveEventsRewardFilterer) ParseUnpaused

func (_IncentiveEventsReward *IncentiveEventsRewardFilterer) ParseUnpaused(log types.Log) (*IncentiveEventsRewardUnpaused, error)

ParseUnpaused is a log parse operation binding the contract event 0x5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa.

Solidity: event Unpaused(address account)

func (*IncentiveEventsRewardFilterer) WatchIncentiveRewardClaimed

func (_IncentiveEventsReward *IncentiveEventsRewardFilterer) WatchIncentiveRewardClaimed(opts *bind.WatchOpts, sink chan<- *IncentiveEventsRewardIncentiveRewardClaimed, recipient []common.Address, eventId []*big.Int, token []common.Address) (event.Subscription, error)

WatchIncentiveRewardClaimed is a free log subscription operation binding the contract event 0x4725b2f44eb58121ab1f49975418c658cd3b55c3b2304f17d763d0f7db2eeea4.

Solidity: event IncentiveRewardClaimed(address indexed recipient, uint256 indexed eventId, address indexed token, uint256 reward)

func (*IncentiveEventsRewardFilterer) WatchIncentiveRewardContributed

func (_IncentiveEventsReward *IncentiveEventsRewardFilterer) WatchIncentiveRewardContributed(opts *bind.WatchOpts, sink chan<- *IncentiveEventsRewardIncentiveRewardContributed, contributor []common.Address, token []common.Address) (event.Subscription, error)

WatchIncentiveRewardContributed is a free log subscription operation binding the contract event 0x57eaaa782395163669286660e541412345ba796d72347d77f65ce69b98241a6b.

Solidity: event IncentiveRewardContributed(address indexed contributor, address indexed token, uint256 contribution)

func (*IncentiveEventsRewardFilterer) WatchOwnershipTransferred

func (_IncentiveEventsReward *IncentiveEventsRewardFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *IncentiveEventsRewardOwnershipTransferred, 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 (*IncentiveEventsRewardFilterer) WatchPaused

func (_IncentiveEventsReward *IncentiveEventsRewardFilterer) WatchPaused(opts *bind.WatchOpts, sink chan<- *IncentiveEventsRewardPaused) (event.Subscription, error)

WatchPaused is a free log subscription operation binding the contract event 0x62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258.

Solidity: event Paused(address account)

func (*IncentiveEventsRewardFilterer) WatchUnpaused

func (_IncentiveEventsReward *IncentiveEventsRewardFilterer) WatchUnpaused(opts *bind.WatchOpts, sink chan<- *IncentiveEventsRewardUnpaused) (event.Subscription, error)

WatchUnpaused is a free log subscription operation binding the contract event 0x5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa.

Solidity: event Unpaused(address account)

type IncentiveEventsRewardIncentiveRewardClaimed

type IncentiveEventsRewardIncentiveRewardClaimed struct {
	Recipient common.Address
	EventId   *big.Int
	Token     common.Address
	Reward    *big.Int
	Raw       types.Log // Blockchain specific contextual infos
}

IncentiveEventsRewardIncentiveRewardClaimed represents a IncentiveRewardClaimed event raised by the IncentiveEventsReward contract.

type IncentiveEventsRewardIncentiveRewardClaimedIterator

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

IncentiveEventsRewardIncentiveRewardClaimedIterator is returned from FilterIncentiveRewardClaimed and is used to iterate over the raw logs and unpacked data for IncentiveRewardClaimed events raised by the IncentiveEventsReward contract.

func (*IncentiveEventsRewardIncentiveRewardClaimedIterator) Close

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

func (*IncentiveEventsRewardIncentiveRewardClaimedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*IncentiveEventsRewardIncentiveRewardClaimedIterator) 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 IncentiveEventsRewardIncentiveRewardContributed

type IncentiveEventsRewardIncentiveRewardContributed struct {
	Contributor  common.Address
	Token        common.Address
	Contribution *big.Int
	Raw          types.Log // Blockchain specific contextual infos
}

IncentiveEventsRewardIncentiveRewardContributed represents a IncentiveRewardContributed event raised by the IncentiveEventsReward contract.

type IncentiveEventsRewardIncentiveRewardContributedIterator

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

IncentiveEventsRewardIncentiveRewardContributedIterator is returned from FilterIncentiveRewardContributed and is used to iterate over the raw logs and unpacked data for IncentiveRewardContributed events raised by the IncentiveEventsReward contract.

func (*IncentiveEventsRewardIncentiveRewardContributedIterator) Close

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

func (*IncentiveEventsRewardIncentiveRewardContributedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*IncentiveEventsRewardIncentiveRewardContributedIterator) 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 IncentiveEventsRewardOwnershipTransferred

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

IncentiveEventsRewardOwnershipTransferred represents a OwnershipTransferred event raised by the IncentiveEventsReward contract.

type IncentiveEventsRewardOwnershipTransferredIterator

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

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

func (*IncentiveEventsRewardOwnershipTransferredIterator) Close

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

func (*IncentiveEventsRewardOwnershipTransferredIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*IncentiveEventsRewardOwnershipTransferredIterator) 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 IncentiveEventsRewardPaused

type IncentiveEventsRewardPaused struct {
	Account common.Address
	Raw     types.Log // Blockchain specific contextual infos
}

IncentiveEventsRewardPaused represents a Paused event raised by the IncentiveEventsReward contract.

type IncentiveEventsRewardPausedIterator

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

IncentiveEventsRewardPausedIterator is returned from FilterPaused and is used to iterate over the raw logs and unpacked data for Paused events raised by the IncentiveEventsReward contract.

func (*IncentiveEventsRewardPausedIterator) Close

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

func (*IncentiveEventsRewardPausedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*IncentiveEventsRewardPausedIterator) 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 IncentiveEventsRewardRaw

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

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

func (*IncentiveEventsRewardRaw) Call

func (_IncentiveEventsReward *IncentiveEventsRewardRaw) 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 (*IncentiveEventsRewardRaw) Transact

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

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

func (*IncentiveEventsRewardRaw) Transfer

func (_IncentiveEventsReward *IncentiveEventsRewardRaw) 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 IncentiveEventsRewardSession

type IncentiveEventsRewardSession struct {
	Contract     *IncentiveEventsReward // 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
}

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

func (*IncentiveEventsRewardSession) ClaimDeadlines

func (_IncentiveEventsReward *IncentiveEventsRewardSession) ClaimDeadlines(arg0 *big.Int) (*big.Int, error)

ClaimDeadlines is a free data retrieval call binding the contract method 0x2b5f3ece.

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

func (*IncentiveEventsRewardSession) ClaimReward

func (_IncentiveEventsReward *IncentiveEventsRewardSession) ClaimReward(_recipient common.Address, _eventId *big.Int, _tokens []common.Address, _rewardAmounts []*big.Int, _sig []byte) (*types.Transaction, error)

ClaimReward is a paid mutator transaction binding the contract method 0xf4e6b11c.

Solidity: function claimReward(address _recipient, uint256 _eventId, address[] _tokens, uint256[] _rewardAmounts, bytes _sig) returns()

func (*IncentiveEventsRewardSession) ClaimedRewardAmounts

func (_IncentiveEventsReward *IncentiveEventsRewardSession) ClaimedRewardAmounts(arg0 *big.Int, arg1 common.Address, arg2 common.Address) (*big.Int, error)

ClaimedRewardAmounts is a free data retrieval call binding the contract method 0x6cd943f1.

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

func (*IncentiveEventsRewardSession) ContributeToRewardPool

func (_IncentiveEventsReward *IncentiveEventsRewardSession) ContributeToRewardPool(_token common.Address, _amount *big.Int) (*types.Transaction, error)

ContributeToRewardPool is a paid mutator transaction binding the contract method 0x825168ff.

Solidity: function contributeToRewardPool(address _token, uint256 _amount) returns()

func (*IncentiveEventsRewardSession) DrainToken

func (_IncentiveEventsReward *IncentiveEventsRewardSession) DrainToken(_token common.Address, _amount *big.Int) (*types.Transaction, error)

DrainToken is a paid mutator transaction binding the contract method 0x9d4323be.

Solidity: function drainToken(address _token, uint256 _amount) returns()

func (*IncentiveEventsRewardSession) Owner

func (_IncentiveEventsReward *IncentiveEventsRewardSession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*IncentiveEventsRewardSession) Pause

func (_IncentiveEventsReward *IncentiveEventsRewardSession) Pause() (*types.Transaction, error)

Pause is a paid mutator transaction binding the contract method 0x8456cb59.

Solidity: function pause() returns()

func (*IncentiveEventsRewardSession) Paused

func (_IncentiveEventsReward *IncentiveEventsRewardSession) Paused() (bool, error)

Paused is a free data retrieval call binding the contract method 0x5c975abb.

Solidity: function paused() view returns(bool)

func (*IncentiveEventsRewardSession) RenounceOwnership

func (_IncentiveEventsReward *IncentiveEventsRewardSession) RenounceOwnership() (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*IncentiveEventsRewardSession) RewardSigner

func (_IncentiveEventsReward *IncentiveEventsRewardSession) RewardSigner() (common.Address, error)

RewardSigner is a free data retrieval call binding the contract method 0x323f24ab.

Solidity: function rewardSigner() view returns(address)

func (*IncentiveEventsRewardSession) SetClaimDeadline

func (_IncentiveEventsReward *IncentiveEventsRewardSession) SetClaimDeadline(_eventId *big.Int, _deadline *big.Int) (*types.Transaction, error)

SetClaimDeadline is a paid mutator transaction binding the contract method 0xb8d2ce7f.

Solidity: function setClaimDeadline(uint256 _eventId, uint256 _deadline) returns()

func (*IncentiveEventsRewardSession) SetSigner

func (_IncentiveEventsReward *IncentiveEventsRewardSession) SetSigner(_signer common.Address) (*types.Transaction, error)

SetSigner is a paid mutator transaction binding the contract method 0x6c19e783.

Solidity: function setSigner(address _signer) returns()

func (*IncentiveEventsRewardSession) TransferOwnership

func (_IncentiveEventsReward *IncentiveEventsRewardSession) 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 (*IncentiveEventsRewardSession) Unpause

func (_IncentiveEventsReward *IncentiveEventsRewardSession) Unpause() (*types.Transaction, error)

Unpause is a paid mutator transaction binding the contract method 0x3f4ba83a.

Solidity: function unpause() returns()

type IncentiveEventsRewardTransactor

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

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

func NewIncentiveEventsRewardTransactor

func NewIncentiveEventsRewardTransactor(address common.Address, transactor bind.ContractTransactor) (*IncentiveEventsRewardTransactor, error)

NewIncentiveEventsRewardTransactor creates a new write-only instance of IncentiveEventsReward, bound to a specific deployed contract.

func (*IncentiveEventsRewardTransactor) ClaimReward

func (_IncentiveEventsReward *IncentiveEventsRewardTransactor) ClaimReward(opts *bind.TransactOpts, _recipient common.Address, _eventId *big.Int, _tokens []common.Address, _rewardAmounts []*big.Int, _sig []byte) (*types.Transaction, error)

ClaimReward is a paid mutator transaction binding the contract method 0xf4e6b11c.

Solidity: function claimReward(address _recipient, uint256 _eventId, address[] _tokens, uint256[] _rewardAmounts, bytes _sig) returns()

func (*IncentiveEventsRewardTransactor) ContributeToRewardPool

func (_IncentiveEventsReward *IncentiveEventsRewardTransactor) ContributeToRewardPool(opts *bind.TransactOpts, _token common.Address, _amount *big.Int) (*types.Transaction, error)

ContributeToRewardPool is a paid mutator transaction binding the contract method 0x825168ff.

Solidity: function contributeToRewardPool(address _token, uint256 _amount) returns()

func (*IncentiveEventsRewardTransactor) DrainToken

func (_IncentiveEventsReward *IncentiveEventsRewardTransactor) DrainToken(opts *bind.TransactOpts, _token common.Address, _amount *big.Int) (*types.Transaction, error)

DrainToken is a paid mutator transaction binding the contract method 0x9d4323be.

Solidity: function drainToken(address _token, uint256 _amount) returns()

func (*IncentiveEventsRewardTransactor) Pause

func (_IncentiveEventsReward *IncentiveEventsRewardTransactor) Pause(opts *bind.TransactOpts) (*types.Transaction, error)

Pause is a paid mutator transaction binding the contract method 0x8456cb59.

Solidity: function pause() returns()

func (*IncentiveEventsRewardTransactor) RenounceOwnership

func (_IncentiveEventsReward *IncentiveEventsRewardTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*IncentiveEventsRewardTransactor) SetClaimDeadline

func (_IncentiveEventsReward *IncentiveEventsRewardTransactor) SetClaimDeadline(opts *bind.TransactOpts, _eventId *big.Int, _deadline *big.Int) (*types.Transaction, error)

SetClaimDeadline is a paid mutator transaction binding the contract method 0xb8d2ce7f.

Solidity: function setClaimDeadline(uint256 _eventId, uint256 _deadline) returns()

func (*IncentiveEventsRewardTransactor) SetSigner

func (_IncentiveEventsReward *IncentiveEventsRewardTransactor) SetSigner(opts *bind.TransactOpts, _signer common.Address) (*types.Transaction, error)

SetSigner is a paid mutator transaction binding the contract method 0x6c19e783.

Solidity: function setSigner(address _signer) returns()

func (*IncentiveEventsRewardTransactor) TransferOwnership

func (_IncentiveEventsReward *IncentiveEventsRewardTransactor) 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 (*IncentiveEventsRewardTransactor) Unpause

func (_IncentiveEventsReward *IncentiveEventsRewardTransactor) Unpause(opts *bind.TransactOpts) (*types.Transaction, error)

Unpause is a paid mutator transaction binding the contract method 0x3f4ba83a.

Solidity: function unpause() returns()

type IncentiveEventsRewardTransactorRaw

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

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

func (*IncentiveEventsRewardTransactorRaw) Transact

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

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

func (*IncentiveEventsRewardTransactorRaw) Transfer

func (_IncentiveEventsReward *IncentiveEventsRewardTransactorRaw) 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 IncentiveEventsRewardTransactorSession

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

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

func (*IncentiveEventsRewardTransactorSession) ClaimReward

func (_IncentiveEventsReward *IncentiveEventsRewardTransactorSession) ClaimReward(_recipient common.Address, _eventId *big.Int, _tokens []common.Address, _rewardAmounts []*big.Int, _sig []byte) (*types.Transaction, error)

ClaimReward is a paid mutator transaction binding the contract method 0xf4e6b11c.

Solidity: function claimReward(address _recipient, uint256 _eventId, address[] _tokens, uint256[] _rewardAmounts, bytes _sig) returns()

func (*IncentiveEventsRewardTransactorSession) ContributeToRewardPool

func (_IncentiveEventsReward *IncentiveEventsRewardTransactorSession) ContributeToRewardPool(_token common.Address, _amount *big.Int) (*types.Transaction, error)

ContributeToRewardPool is a paid mutator transaction binding the contract method 0x825168ff.

Solidity: function contributeToRewardPool(address _token, uint256 _amount) returns()

func (*IncentiveEventsRewardTransactorSession) DrainToken

func (_IncentiveEventsReward *IncentiveEventsRewardTransactorSession) DrainToken(_token common.Address, _amount *big.Int) (*types.Transaction, error)

DrainToken is a paid mutator transaction binding the contract method 0x9d4323be.

Solidity: function drainToken(address _token, uint256 _amount) returns()

func (*IncentiveEventsRewardTransactorSession) Pause

func (_IncentiveEventsReward *IncentiveEventsRewardTransactorSession) Pause() (*types.Transaction, error)

Pause is a paid mutator transaction binding the contract method 0x8456cb59.

Solidity: function pause() returns()

func (*IncentiveEventsRewardTransactorSession) RenounceOwnership

func (_IncentiveEventsReward *IncentiveEventsRewardTransactorSession) RenounceOwnership() (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*IncentiveEventsRewardTransactorSession) SetClaimDeadline

func (_IncentiveEventsReward *IncentiveEventsRewardTransactorSession) SetClaimDeadline(_eventId *big.Int, _deadline *big.Int) (*types.Transaction, error)

SetClaimDeadline is a paid mutator transaction binding the contract method 0xb8d2ce7f.

Solidity: function setClaimDeadline(uint256 _eventId, uint256 _deadline) returns()

func (*IncentiveEventsRewardTransactorSession) SetSigner

func (_IncentiveEventsReward *IncentiveEventsRewardTransactorSession) SetSigner(_signer common.Address) (*types.Transaction, error)

SetSigner is a paid mutator transaction binding the contract method 0x6c19e783.

Solidity: function setSigner(address _signer) returns()

func (*IncentiveEventsRewardTransactorSession) TransferOwnership

func (_IncentiveEventsReward *IncentiveEventsRewardTransactorSession) 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 (*IncentiveEventsRewardTransactorSession) Unpause

func (_IncentiveEventsReward *IncentiveEventsRewardTransactorSession) Unpause() (*types.Transaction, error)

Unpause is a paid mutator transaction binding the contract method 0x3f4ba83a.

Solidity: function unpause() returns()

type IncentiveEventsRewardUnpaused

type IncentiveEventsRewardUnpaused struct {
	Account common.Address
	Raw     types.Log // Blockchain specific contextual infos
}

IncentiveEventsRewardUnpaused represents a Unpaused event raised by the IncentiveEventsReward contract.

type IncentiveEventsRewardUnpausedIterator

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

IncentiveEventsRewardUnpausedIterator is returned from FilterUnpaused and is used to iterate over the raw logs and unpacked data for Unpaused events raised by the IncentiveEventsReward contract.

func (*IncentiveEventsRewardUnpausedIterator) Close

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

func (*IncentiveEventsRewardUnpausedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*IncentiveEventsRewardUnpausedIterator) 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 MessageBus

type MessageBus struct {
	MessageBusCaller     // Read-only binding to the contract
	MessageBusTransactor // Write-only binding to the contract
	MessageBusFilterer   // Log filterer for contract events
}

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

func DeployMessageBus

func DeployMessageBus(auth *bind.TransactOpts, backend bind.ContractBackend, _sigsVerifier common.Address, _liquidityBridge common.Address, _pegBridge common.Address, _pegVault common.Address, _pegBridgeV2 common.Address, _pegVaultV2 common.Address) (common.Address, *types.Transaction, *MessageBus, error)

DeployMessageBus deploys a new Ethereum contract, binding an instance of MessageBus to it.

func NewMessageBus

func NewMessageBus(address common.Address, backend bind.ContractBackend) (*MessageBus, error)

NewMessageBus creates a new instance of MessageBus, bound to a specific deployed contract.

func (*MessageBus) GetABI

func (c *MessageBus) GetABI() string

type MessageBusCallReverted

type MessageBusCallReverted struct {
	Reason string
	Raw    types.Log // Blockchain specific contextual infos
}

MessageBusCallReverted represents a CallReverted event raised by the MessageBus contract.

type MessageBusCallRevertedIterator

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

MessageBusCallRevertedIterator is returned from FilterCallReverted and is used to iterate over the raw logs and unpacked data for CallReverted events raised by the MessageBus contract.

func (*MessageBusCallRevertedIterator) Close

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

func (*MessageBusCallRevertedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*MessageBusCallRevertedIterator) 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 MessageBusCaller

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

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

func NewMessageBusCaller

func NewMessageBusCaller(address common.Address, caller bind.ContractCaller) (*MessageBusCaller, error)

NewMessageBusCaller creates a new read-only instance of MessageBus, bound to a specific deployed contract.

func (*MessageBusCaller) CalcFee

func (_MessageBus *MessageBusCaller) CalcFee(opts *bind.CallOpts, _message []byte) (*big.Int, error)

CalcFee is a free data retrieval call binding the contract method 0x5335dca2.

Solidity: function calcFee(bytes _message) view returns(uint256)

func (*MessageBusCaller) ExecutedMessages

func (_MessageBus *MessageBusCaller) ExecutedMessages(opts *bind.CallOpts, arg0 [32]byte) (uint8, error)

ExecutedMessages is a free data retrieval call binding the contract method 0xcd2abd66.

Solidity: function executedMessages(bytes32 ) view returns(uint8)

func (*MessageBusCaller) FeeBase

func (_MessageBus *MessageBusCaller) FeeBase(opts *bind.CallOpts) (*big.Int, error)

FeeBase is a free data retrieval call binding the contract method 0x95e911a8.

Solidity: function feeBase() view returns(uint256)

func (*MessageBusCaller) FeePerByte

func (_MessageBus *MessageBusCaller) FeePerByte(opts *bind.CallOpts) (*big.Int, error)

FeePerByte is a free data retrieval call binding the contract method 0xf60bbe2a.

Solidity: function feePerByte() view returns(uint256)

func (*MessageBusCaller) LiquidityBridge

func (_MessageBus *MessageBusCaller) LiquidityBridge(opts *bind.CallOpts) (common.Address, error)

LiquidityBridge is a free data retrieval call binding the contract method 0x82980dc4.

Solidity: function liquidityBridge() view returns(address)

func (*MessageBusCaller) Owner

func (_MessageBus *MessageBusCaller) 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 (*MessageBusCaller) PegBridge

func (_MessageBus *MessageBusCaller) PegBridge(opts *bind.CallOpts) (common.Address, error)

PegBridge is a free data retrieval call binding the contract method 0xdfa2dbaf.

Solidity: function pegBridge() view returns(address)

func (*MessageBusCaller) PegBridgeV2

func (_MessageBus *MessageBusCaller) PegBridgeV2(opts *bind.CallOpts) (common.Address, error)

PegBridgeV2 is a free data retrieval call binding the contract method 0x95b12c27.

Solidity: function pegBridgeV2() view returns(address)

func (*MessageBusCaller) PegVault

func (_MessageBus *MessageBusCaller) PegVault(opts *bind.CallOpts) (common.Address, error)

PegVault is a free data retrieval call binding the contract method 0xd8257d17.

Solidity: function pegVault() view returns(address)

func (*MessageBusCaller) PegVaultV2

func (_MessageBus *MessageBusCaller) PegVaultV2(opts *bind.CallOpts) (common.Address, error)

PegVaultV2 is a free data retrieval call binding the contract method 0xc66a9c5a.

Solidity: function pegVaultV2() view returns(address)

func (*MessageBusCaller) PreExecuteMessageGasUsage

func (_MessageBus *MessageBusCaller) PreExecuteMessageGasUsage(opts *bind.CallOpts) (*big.Int, error)

PreExecuteMessageGasUsage is a free data retrieval call binding the contract method 0x584e45e1.

Solidity: function preExecuteMessageGasUsage() view returns(uint256)

func (*MessageBusCaller) SigsVerifier

func (_MessageBus *MessageBusCaller) SigsVerifier(opts *bind.CallOpts) (common.Address, error)

SigsVerifier is a free data retrieval call binding the contract method 0xccf2683b.

Solidity: function sigsVerifier() view returns(address)

func (*MessageBusCaller) WithdrawnFees

func (_MessageBus *MessageBusCaller) WithdrawnFees(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)

WithdrawnFees is a free data retrieval call binding the contract method 0x5b3e5f50.

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

type MessageBusCallerRaw

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

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

func (*MessageBusCallerRaw) Call

func (_MessageBus *MessageBusCallerRaw) 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 MessageBusCallerSession

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

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

func (*MessageBusCallerSession) CalcFee

func (_MessageBus *MessageBusCallerSession) CalcFee(_message []byte) (*big.Int, error)

CalcFee is a free data retrieval call binding the contract method 0x5335dca2.

Solidity: function calcFee(bytes _message) view returns(uint256)

func (*MessageBusCallerSession) ExecutedMessages

func (_MessageBus *MessageBusCallerSession) ExecutedMessages(arg0 [32]byte) (uint8, error)

ExecutedMessages is a free data retrieval call binding the contract method 0xcd2abd66.

Solidity: function executedMessages(bytes32 ) view returns(uint8)

func (*MessageBusCallerSession) FeeBase

func (_MessageBus *MessageBusCallerSession) FeeBase() (*big.Int, error)

FeeBase is a free data retrieval call binding the contract method 0x95e911a8.

Solidity: function feeBase() view returns(uint256)

func (*MessageBusCallerSession) FeePerByte

func (_MessageBus *MessageBusCallerSession) FeePerByte() (*big.Int, error)

FeePerByte is a free data retrieval call binding the contract method 0xf60bbe2a.

Solidity: function feePerByte() view returns(uint256)

func (*MessageBusCallerSession) LiquidityBridge

func (_MessageBus *MessageBusCallerSession) LiquidityBridge() (common.Address, error)

LiquidityBridge is a free data retrieval call binding the contract method 0x82980dc4.

Solidity: function liquidityBridge() view returns(address)

func (*MessageBusCallerSession) Owner

func (_MessageBus *MessageBusCallerSession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*MessageBusCallerSession) PegBridge

func (_MessageBus *MessageBusCallerSession) PegBridge() (common.Address, error)

PegBridge is a free data retrieval call binding the contract method 0xdfa2dbaf.

Solidity: function pegBridge() view returns(address)

func (*MessageBusCallerSession) PegBridgeV2

func (_MessageBus *MessageBusCallerSession) PegBridgeV2() (common.Address, error)

PegBridgeV2 is a free data retrieval call binding the contract method 0x95b12c27.

Solidity: function pegBridgeV2() view returns(address)

func (*MessageBusCallerSession) PegVault

func (_MessageBus *MessageBusCallerSession) PegVault() (common.Address, error)

PegVault is a free data retrieval call binding the contract method 0xd8257d17.

Solidity: function pegVault() view returns(address)

func (*MessageBusCallerSession) PegVaultV2

func (_MessageBus *MessageBusCallerSession) PegVaultV2() (common.Address, error)

PegVaultV2 is a free data retrieval call binding the contract method 0xc66a9c5a.

Solidity: function pegVaultV2() view returns(address)

func (*MessageBusCallerSession) PreExecuteMessageGasUsage

func (_MessageBus *MessageBusCallerSession) PreExecuteMessageGasUsage() (*big.Int, error)

PreExecuteMessageGasUsage is a free data retrieval call binding the contract method 0x584e45e1.

Solidity: function preExecuteMessageGasUsage() view returns(uint256)

func (*MessageBusCallerSession) SigsVerifier

func (_MessageBus *MessageBusCallerSession) SigsVerifier() (common.Address, error)

SigsVerifier is a free data retrieval call binding the contract method 0xccf2683b.

Solidity: function sigsVerifier() view returns(address)

func (*MessageBusCallerSession) WithdrawnFees

func (_MessageBus *MessageBusCallerSession) WithdrawnFees(arg0 common.Address) (*big.Int, error)

WithdrawnFees is a free data retrieval call binding the contract method 0x5b3e5f50.

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

type MessageBusExecuted

type MessageBusExecuted struct {
	MsgType    uint8
	MsgId      [32]byte
	Status     uint8
	Receiver   common.Address
	SrcChainId uint64
	SrcTxHash  [32]byte
	Raw        types.Log // Blockchain specific contextual infos
}

MessageBusExecuted represents a Executed event raised by the MessageBus contract.

func (*MessageBusExecuted) PrettyLog

func (ev *MessageBusExecuted) PrettyLog(onchid uint64) string

func (*MessageBusExecuted) String

func (ev *MessageBusExecuted) String() string

type MessageBusExecutedIterator

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

MessageBusExecutedIterator is returned from FilterExecuted and is used to iterate over the raw logs and unpacked data for Executed events raised by the MessageBus contract.

func (*MessageBusExecutedIterator) Close

func (it *MessageBusExecutedIterator) Close() error

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

func (*MessageBusExecutedIterator) Error

func (it *MessageBusExecutedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*MessageBusExecutedIterator) Next

func (it *MessageBusExecutedIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type MessageBusFeeBaseUpdated

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

MessageBusFeeBaseUpdated represents a FeeBaseUpdated event raised by the MessageBus contract.

type MessageBusFeeBaseUpdatedIterator

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

MessageBusFeeBaseUpdatedIterator is returned from FilterFeeBaseUpdated and is used to iterate over the raw logs and unpacked data for FeeBaseUpdated events raised by the MessageBus contract.

func (*MessageBusFeeBaseUpdatedIterator) Close

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

func (*MessageBusFeeBaseUpdatedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*MessageBusFeeBaseUpdatedIterator) 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 MessageBusFeePerByteUpdated

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

MessageBusFeePerByteUpdated represents a FeePerByteUpdated event raised by the MessageBus contract.

type MessageBusFeePerByteUpdatedIterator

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

MessageBusFeePerByteUpdatedIterator is returned from FilterFeePerByteUpdated and is used to iterate over the raw logs and unpacked data for FeePerByteUpdated events raised by the MessageBus contract.

func (*MessageBusFeePerByteUpdatedIterator) Close

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

func (*MessageBusFeePerByteUpdatedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*MessageBusFeePerByteUpdatedIterator) 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 MessageBusFeeWithdrawn

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

MessageBusFeeWithdrawn represents a FeeWithdrawn event raised by the MessageBus contract.

type MessageBusFeeWithdrawnIterator

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

MessageBusFeeWithdrawnIterator is returned from FilterFeeWithdrawn and is used to iterate over the raw logs and unpacked data for FeeWithdrawn events raised by the MessageBus contract.

func (*MessageBusFeeWithdrawnIterator) Close

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

func (*MessageBusFeeWithdrawnIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*MessageBusFeeWithdrawnIterator) 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 MessageBusFilterer

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

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

func NewMessageBusFilterer

func NewMessageBusFilterer(address common.Address, filterer bind.ContractFilterer) (*MessageBusFilterer, error)

NewMessageBusFilterer creates a new log filterer instance of MessageBus, bound to a specific deployed contract.

func (*MessageBusFilterer) FilterCallReverted

func (_MessageBus *MessageBusFilterer) FilterCallReverted(opts *bind.FilterOpts) (*MessageBusCallRevertedIterator, error)

FilterCallReverted is a free log retrieval operation binding the contract event 0xffdd6142bbb721f3400e3908b04b86f60649b2e4d191e3f4c50c32c3e6471d2f.

Solidity: event CallReverted(string reason)

func (*MessageBusFilterer) FilterExecuted

func (_MessageBus *MessageBusFilterer) FilterExecuted(opts *bind.FilterOpts, receiver []common.Address) (*MessageBusExecutedIterator, error)

FilterExecuted is a free log retrieval operation binding the contract event 0xa635eb05143f74743822bbd96428928de4c8ee8cc578299749be9425c17bb34d.

Solidity: event Executed(uint8 msgType, bytes32 msgId, uint8 status, address indexed receiver, uint64 srcChainId, bytes32 srcTxHash)

func (*MessageBusFilterer) FilterFeeBaseUpdated

func (_MessageBus *MessageBusFilterer) FilterFeeBaseUpdated(opts *bind.FilterOpts) (*MessageBusFeeBaseUpdatedIterator, error)

FilterFeeBaseUpdated is a free log retrieval operation binding the contract event 0x892dfdc99ecd3bb4f2f2cb118dca02f0bd16640ff156d3c6459d4282e336a5f2.

Solidity: event FeeBaseUpdated(uint256 feeBase)

func (*MessageBusFilterer) FilterFeePerByteUpdated

func (_MessageBus *MessageBusFilterer) FilterFeePerByteUpdated(opts *bind.FilterOpts) (*MessageBusFeePerByteUpdatedIterator, error)

FilterFeePerByteUpdated is a free log retrieval operation binding the contract event 0x210d4d5d2d36d571207dac98e383e2441c684684c885fb2d7c54f8d24422074c.

Solidity: event FeePerByteUpdated(uint256 feePerByte)

func (*MessageBusFilterer) FilterFeeWithdrawn

func (_MessageBus *MessageBusFilterer) FilterFeeWithdrawn(opts *bind.FilterOpts) (*MessageBusFeeWithdrawnIterator, error)

FilterFeeWithdrawn is a free log retrieval operation binding the contract event 0x78473f3f373f7673597f4f0fa5873cb4d375fea6d4339ad6b56dbd411513cb3f.

Solidity: event FeeWithdrawn(address receiver, uint256 amount)

func (*MessageBusFilterer) FilterLiquidityBridgeUpdated

func (_MessageBus *MessageBusFilterer) FilterLiquidityBridgeUpdated(opts *bind.FilterOpts) (*MessageBusLiquidityBridgeUpdatedIterator, error)

FilterLiquidityBridgeUpdated is a free log retrieval operation binding the contract event 0xbf9977180dc6e6cff25598c8e59150cecd7f8e448e092633d38ab7ee223ae058.

Solidity: event LiquidityBridgeUpdated(address liquidityBridge)

func (*MessageBusFilterer) FilterMessage

func (_MessageBus *MessageBusFilterer) FilterMessage(opts *bind.FilterOpts, sender []common.Address) (*MessageBusMessageIterator, error)

FilterMessage is a free log retrieval operation binding the contract event 0xce3972bfffe49d317e1d128047a97a3d86b25c94f6f04409f988ef854d25e0e4.

Solidity: event Message(address indexed sender, address receiver, uint256 dstChainId, bytes message, uint256 fee)

func (*MessageBusFilterer) FilterMessage2

func (_MessageBus *MessageBusFilterer) FilterMessage2(opts *bind.FilterOpts, sender []common.Address) (*MessageBusMessage2Iterator, error)

FilterMessage2 is a free log retrieval operation binding the contract event 0xe66fbe37d84ca73c589f782ac278844918ea6c56a4917f58707f715588080df2.

Solidity: event Message2(address indexed sender, bytes receiver, uint256 dstChainId, bytes message, uint256 fee)

func (*MessageBusFilterer) FilterMessageWithTransfer

func (_MessageBus *MessageBusFilterer) FilterMessageWithTransfer(opts *bind.FilterOpts, sender []common.Address) (*MessageBusMessageWithTransferIterator, error)

FilterMessageWithTransfer is a free log retrieval operation binding the contract event 0x172762498a59a3bc4fed3f2b63f94f17ea0193cffdc304fe7d3eaf4d342d2f66.

Solidity: event MessageWithTransfer(address indexed sender, address receiver, uint256 dstChainId, address bridge, bytes32 srcTransferId, bytes message, uint256 fee)

func (*MessageBusFilterer) FilterNeedRetry

func (_MessageBus *MessageBusFilterer) FilterNeedRetry(opts *bind.FilterOpts) (*MessageBusNeedRetryIterator, error)

FilterNeedRetry is a free log retrieval operation binding the contract event 0xe49c2c954d381d1448cf824743aeff9da7a1d82078a7c9e5817269cc359bd26c.

Solidity: event NeedRetry(uint8 msgType, bytes32 msgId, uint64 srcChainId, bytes32 srcTxHash)

func (*MessageBusFilterer) FilterOwnershipTransferred

func (_MessageBus *MessageBusFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*MessageBusOwnershipTransferredIterator, error)

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

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

func (*MessageBusFilterer) FilterPegBridgeUpdated

func (_MessageBus *MessageBusFilterer) FilterPegBridgeUpdated(opts *bind.FilterOpts) (*MessageBusPegBridgeUpdatedIterator, error)

FilterPegBridgeUpdated is a free log retrieval operation binding the contract event 0xd60e9ceb4f54f1bfb1741a4b35fc9d806d7ed48200b523203b92248ea38fa17d.

Solidity: event PegBridgeUpdated(address pegBridge)

func (*MessageBusFilterer) FilterPegBridgeV2Updated

func (_MessageBus *MessageBusFilterer) FilterPegBridgeV2Updated(opts *bind.FilterOpts) (*MessageBusPegBridgeV2UpdatedIterator, error)

FilterPegBridgeV2Updated is a free log retrieval operation binding the contract event 0xfb337a6c76476534518d5816caeb86263972470fedccfd047a35eb1825eaa9e8.

Solidity: event PegBridgeV2Updated(address pegBridgeV2)

func (*MessageBusFilterer) FilterPegVaultUpdated

func (_MessageBus *MessageBusFilterer) FilterPegVaultUpdated(opts *bind.FilterOpts) (*MessageBusPegVaultUpdatedIterator, error)

FilterPegVaultUpdated is a free log retrieval operation binding the contract event 0xa9db0c32d9c6c2f75f3b95047a9e67cc1c010eab792a4e6ca777ce918ad94aad.

Solidity: event PegVaultUpdated(address pegVault)

func (*MessageBusFilterer) FilterPegVaultV2Updated

func (_MessageBus *MessageBusFilterer) FilterPegVaultV2Updated(opts *bind.FilterOpts) (*MessageBusPegVaultV2UpdatedIterator, error)

FilterPegVaultV2Updated is a free log retrieval operation binding the contract event 0x918a691a2a82482a10e11f43d7b627b2ba220dd08f251cb61933c42560f6fcb5.

Solidity: event PegVaultV2Updated(address pegVaultV2)

func (*MessageBusFilterer) ParseCallReverted

func (_MessageBus *MessageBusFilterer) ParseCallReverted(log types.Log) (*MessageBusCallReverted, error)

ParseCallReverted is a log parse operation binding the contract event 0xffdd6142bbb721f3400e3908b04b86f60649b2e4d191e3f4c50c32c3e6471d2f.

Solidity: event CallReverted(string reason)

func (*MessageBusFilterer) ParseExecuted

func (_MessageBus *MessageBusFilterer) ParseExecuted(log types.Log) (*MessageBusExecuted, error)

ParseExecuted is a log parse operation binding the contract event 0xa635eb05143f74743822bbd96428928de4c8ee8cc578299749be9425c17bb34d.

Solidity: event Executed(uint8 msgType, bytes32 msgId, uint8 status, address indexed receiver, uint64 srcChainId, bytes32 srcTxHash)

func (*MessageBusFilterer) ParseFeeBaseUpdated

func (_MessageBus *MessageBusFilterer) ParseFeeBaseUpdated(log types.Log) (*MessageBusFeeBaseUpdated, error)

ParseFeeBaseUpdated is a log parse operation binding the contract event 0x892dfdc99ecd3bb4f2f2cb118dca02f0bd16640ff156d3c6459d4282e336a5f2.

Solidity: event FeeBaseUpdated(uint256 feeBase)

func (*MessageBusFilterer) ParseFeePerByteUpdated

func (_MessageBus *MessageBusFilterer) ParseFeePerByteUpdated(log types.Log) (*MessageBusFeePerByteUpdated, error)

ParseFeePerByteUpdated is a log parse operation binding the contract event 0x210d4d5d2d36d571207dac98e383e2441c684684c885fb2d7c54f8d24422074c.

Solidity: event FeePerByteUpdated(uint256 feePerByte)

func (*MessageBusFilterer) ParseFeeWithdrawn

func (_MessageBus *MessageBusFilterer) ParseFeeWithdrawn(log types.Log) (*MessageBusFeeWithdrawn, error)

ParseFeeWithdrawn is a log parse operation binding the contract event 0x78473f3f373f7673597f4f0fa5873cb4d375fea6d4339ad6b56dbd411513cb3f.

Solidity: event FeeWithdrawn(address receiver, uint256 amount)

func (*MessageBusFilterer) ParseLiquidityBridgeUpdated

func (_MessageBus *MessageBusFilterer) ParseLiquidityBridgeUpdated(log types.Log) (*MessageBusLiquidityBridgeUpdated, error)

ParseLiquidityBridgeUpdated is a log parse operation binding the contract event 0xbf9977180dc6e6cff25598c8e59150cecd7f8e448e092633d38ab7ee223ae058.

Solidity: event LiquidityBridgeUpdated(address liquidityBridge)

func (*MessageBusFilterer) ParseMessage

func (_MessageBus *MessageBusFilterer) ParseMessage(log types.Log) (*MessageBusMessage, error)

ParseMessage is a log parse operation binding the contract event 0xce3972bfffe49d317e1d128047a97a3d86b25c94f6f04409f988ef854d25e0e4.

Solidity: event Message(address indexed sender, address receiver, uint256 dstChainId, bytes message, uint256 fee)

func (*MessageBusFilterer) ParseMessage2

func (_MessageBus *MessageBusFilterer) ParseMessage2(log types.Log) (*MessageBusMessage2, error)

ParseMessage2 is a log parse operation binding the contract event 0xe66fbe37d84ca73c589f782ac278844918ea6c56a4917f58707f715588080df2.

Solidity: event Message2(address indexed sender, bytes receiver, uint256 dstChainId, bytes message, uint256 fee)

func (*MessageBusFilterer) ParseMessageWithTransfer

func (_MessageBus *MessageBusFilterer) ParseMessageWithTransfer(log types.Log) (*MessageBusMessageWithTransfer, error)

ParseMessageWithTransfer is a log parse operation binding the contract event 0x172762498a59a3bc4fed3f2b63f94f17ea0193cffdc304fe7d3eaf4d342d2f66.

Solidity: event MessageWithTransfer(address indexed sender, address receiver, uint256 dstChainId, address bridge, bytes32 srcTransferId, bytes message, uint256 fee)

func (*MessageBusFilterer) ParseNeedRetry

func (_MessageBus *MessageBusFilterer) ParseNeedRetry(log types.Log) (*MessageBusNeedRetry, error)

ParseNeedRetry is a log parse operation binding the contract event 0xe49c2c954d381d1448cf824743aeff9da7a1d82078a7c9e5817269cc359bd26c.

Solidity: event NeedRetry(uint8 msgType, bytes32 msgId, uint64 srcChainId, bytes32 srcTxHash)

func (*MessageBusFilterer) ParseOwnershipTransferred

func (_MessageBus *MessageBusFilterer) ParseOwnershipTransferred(log types.Log) (*MessageBusOwnershipTransferred, error)

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

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

func (*MessageBusFilterer) ParsePegBridgeUpdated

func (_MessageBus *MessageBusFilterer) ParsePegBridgeUpdated(log types.Log) (*MessageBusPegBridgeUpdated, error)

ParsePegBridgeUpdated is a log parse operation binding the contract event 0xd60e9ceb4f54f1bfb1741a4b35fc9d806d7ed48200b523203b92248ea38fa17d.

Solidity: event PegBridgeUpdated(address pegBridge)

func (*MessageBusFilterer) ParsePegBridgeV2Updated

func (_MessageBus *MessageBusFilterer) ParsePegBridgeV2Updated(log types.Log) (*MessageBusPegBridgeV2Updated, error)

ParsePegBridgeV2Updated is a log parse operation binding the contract event 0xfb337a6c76476534518d5816caeb86263972470fedccfd047a35eb1825eaa9e8.

Solidity: event PegBridgeV2Updated(address pegBridgeV2)

func (*MessageBusFilterer) ParsePegVaultUpdated

func (_MessageBus *MessageBusFilterer) ParsePegVaultUpdated(log types.Log) (*MessageBusPegVaultUpdated, error)

ParsePegVaultUpdated is a log parse operation binding the contract event 0xa9db0c32d9c6c2f75f3b95047a9e67cc1c010eab792a4e6ca777ce918ad94aad.

Solidity: event PegVaultUpdated(address pegVault)

func (*MessageBusFilterer) ParsePegVaultV2Updated

func (_MessageBus *MessageBusFilterer) ParsePegVaultV2Updated(log types.Log) (*MessageBusPegVaultV2Updated, error)

ParsePegVaultV2Updated is a log parse operation binding the contract event 0x918a691a2a82482a10e11f43d7b627b2ba220dd08f251cb61933c42560f6fcb5.

Solidity: event PegVaultV2Updated(address pegVaultV2)

func (*MessageBusFilterer) WatchCallReverted

func (_MessageBus *MessageBusFilterer) WatchCallReverted(opts *bind.WatchOpts, sink chan<- *MessageBusCallReverted) (event.Subscription, error)

WatchCallReverted is a free log subscription operation binding the contract event 0xffdd6142bbb721f3400e3908b04b86f60649b2e4d191e3f4c50c32c3e6471d2f.

Solidity: event CallReverted(string reason)

func (*MessageBusFilterer) WatchExecuted

func (_MessageBus *MessageBusFilterer) WatchExecuted(opts *bind.WatchOpts, sink chan<- *MessageBusExecuted, receiver []common.Address) (event.Subscription, error)

WatchExecuted is a free log subscription operation binding the contract event 0xa635eb05143f74743822bbd96428928de4c8ee8cc578299749be9425c17bb34d.

Solidity: event Executed(uint8 msgType, bytes32 msgId, uint8 status, address indexed receiver, uint64 srcChainId, bytes32 srcTxHash)

func (*MessageBusFilterer) WatchFeeBaseUpdated

func (_MessageBus *MessageBusFilterer) WatchFeeBaseUpdated(opts *bind.WatchOpts, sink chan<- *MessageBusFeeBaseUpdated) (event.Subscription, error)

WatchFeeBaseUpdated is a free log subscription operation binding the contract event 0x892dfdc99ecd3bb4f2f2cb118dca02f0bd16640ff156d3c6459d4282e336a5f2.

Solidity: event FeeBaseUpdated(uint256 feeBase)

func (*MessageBusFilterer) WatchFeePerByteUpdated

func (_MessageBus *MessageBusFilterer) WatchFeePerByteUpdated(opts *bind.WatchOpts, sink chan<- *MessageBusFeePerByteUpdated) (event.Subscription, error)

WatchFeePerByteUpdated is a free log subscription operation binding the contract event 0x210d4d5d2d36d571207dac98e383e2441c684684c885fb2d7c54f8d24422074c.

Solidity: event FeePerByteUpdated(uint256 feePerByte)

func (*MessageBusFilterer) WatchFeeWithdrawn

func (_MessageBus *MessageBusFilterer) WatchFeeWithdrawn(opts *bind.WatchOpts, sink chan<- *MessageBusFeeWithdrawn) (event.Subscription, error)

WatchFeeWithdrawn is a free log subscription operation binding the contract event 0x78473f3f373f7673597f4f0fa5873cb4d375fea6d4339ad6b56dbd411513cb3f.

Solidity: event FeeWithdrawn(address receiver, uint256 amount)

func (*MessageBusFilterer) WatchLiquidityBridgeUpdated

func (_MessageBus *MessageBusFilterer) WatchLiquidityBridgeUpdated(opts *bind.WatchOpts, sink chan<- *MessageBusLiquidityBridgeUpdated) (event.Subscription, error)

WatchLiquidityBridgeUpdated is a free log subscription operation binding the contract event 0xbf9977180dc6e6cff25598c8e59150cecd7f8e448e092633d38ab7ee223ae058.

Solidity: event LiquidityBridgeUpdated(address liquidityBridge)

func (*MessageBusFilterer) WatchMessage

func (_MessageBus *MessageBusFilterer) WatchMessage(opts *bind.WatchOpts, sink chan<- *MessageBusMessage, sender []common.Address) (event.Subscription, error)

WatchMessage is a free log subscription operation binding the contract event 0xce3972bfffe49d317e1d128047a97a3d86b25c94f6f04409f988ef854d25e0e4.

Solidity: event Message(address indexed sender, address receiver, uint256 dstChainId, bytes message, uint256 fee)

func (*MessageBusFilterer) WatchMessage2

func (_MessageBus *MessageBusFilterer) WatchMessage2(opts *bind.WatchOpts, sink chan<- *MessageBusMessage2, sender []common.Address) (event.Subscription, error)

WatchMessage2 is a free log subscription operation binding the contract event 0xe66fbe37d84ca73c589f782ac278844918ea6c56a4917f58707f715588080df2.

Solidity: event Message2(address indexed sender, bytes receiver, uint256 dstChainId, bytes message, uint256 fee)

func (*MessageBusFilterer) WatchMessageWithTransfer

func (_MessageBus *MessageBusFilterer) WatchMessageWithTransfer(opts *bind.WatchOpts, sink chan<- *MessageBusMessageWithTransfer, sender []common.Address) (event.Subscription, error)

WatchMessageWithTransfer is a free log subscription operation binding the contract event 0x172762498a59a3bc4fed3f2b63f94f17ea0193cffdc304fe7d3eaf4d342d2f66.

Solidity: event MessageWithTransfer(address indexed sender, address receiver, uint256 dstChainId, address bridge, bytes32 srcTransferId, bytes message, uint256 fee)

func (*MessageBusFilterer) WatchNeedRetry

func (_MessageBus *MessageBusFilterer) WatchNeedRetry(opts *bind.WatchOpts, sink chan<- *MessageBusNeedRetry) (event.Subscription, error)

WatchNeedRetry is a free log subscription operation binding the contract event 0xe49c2c954d381d1448cf824743aeff9da7a1d82078a7c9e5817269cc359bd26c.

Solidity: event NeedRetry(uint8 msgType, bytes32 msgId, uint64 srcChainId, bytes32 srcTxHash)

func (*MessageBusFilterer) WatchOwnershipTransferred

func (_MessageBus *MessageBusFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *MessageBusOwnershipTransferred, 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 (*MessageBusFilterer) WatchPegBridgeUpdated

func (_MessageBus *MessageBusFilterer) WatchPegBridgeUpdated(opts *bind.WatchOpts, sink chan<- *MessageBusPegBridgeUpdated) (event.Subscription, error)

WatchPegBridgeUpdated is a free log subscription operation binding the contract event 0xd60e9ceb4f54f1bfb1741a4b35fc9d806d7ed48200b523203b92248ea38fa17d.

Solidity: event PegBridgeUpdated(address pegBridge)

func (*MessageBusFilterer) WatchPegBridgeV2Updated

func (_MessageBus *MessageBusFilterer) WatchPegBridgeV2Updated(opts *bind.WatchOpts, sink chan<- *MessageBusPegBridgeV2Updated) (event.Subscription, error)

WatchPegBridgeV2Updated is a free log subscription operation binding the contract event 0xfb337a6c76476534518d5816caeb86263972470fedccfd047a35eb1825eaa9e8.

Solidity: event PegBridgeV2Updated(address pegBridgeV2)

func (*MessageBusFilterer) WatchPegVaultUpdated

func (_MessageBus *MessageBusFilterer) WatchPegVaultUpdated(opts *bind.WatchOpts, sink chan<- *MessageBusPegVaultUpdated) (event.Subscription, error)

WatchPegVaultUpdated is a free log subscription operation binding the contract event 0xa9db0c32d9c6c2f75f3b95047a9e67cc1c010eab792a4e6ca777ce918ad94aad.

Solidity: event PegVaultUpdated(address pegVault)

func (*MessageBusFilterer) WatchPegVaultV2Updated

func (_MessageBus *MessageBusFilterer) WatchPegVaultV2Updated(opts *bind.WatchOpts, sink chan<- *MessageBusPegVaultV2Updated) (event.Subscription, error)

WatchPegVaultV2Updated is a free log subscription operation binding the contract event 0x918a691a2a82482a10e11f43d7b627b2ba220dd08f251cb61933c42560f6fcb5.

Solidity: event PegVaultV2Updated(address pegVaultV2)

type MessageBusLiquidityBridgeUpdated

type MessageBusLiquidityBridgeUpdated struct {
	LiquidityBridge common.Address
	Raw             types.Log // Blockchain specific contextual infos
}

MessageBusLiquidityBridgeUpdated represents a LiquidityBridgeUpdated event raised by the MessageBus contract.

type MessageBusLiquidityBridgeUpdatedIterator

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

MessageBusLiquidityBridgeUpdatedIterator is returned from FilterLiquidityBridgeUpdated and is used to iterate over the raw logs and unpacked data for LiquidityBridgeUpdated events raised by the MessageBus contract.

func (*MessageBusLiquidityBridgeUpdatedIterator) Close

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

func (*MessageBusLiquidityBridgeUpdatedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*MessageBusLiquidityBridgeUpdatedIterator) 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 MessageBusMessage

type MessageBusMessage struct {
	Sender     common.Address
	Receiver   common.Address
	DstChainId *big.Int
	Message    []byte
	Fee        *big.Int
	Raw        types.Log // Blockchain specific contextual infos
}

MessageBusMessage represents a Message event raised by the MessageBus contract.

func (*MessageBusMessage) PrettyLog

func (ev *MessageBusMessage) PrettyLog(onchid uint64) string

func (*MessageBusMessage) String

func (ev *MessageBusMessage) String() string

type MessageBusMessage2

type MessageBusMessage2 struct {
	Sender     common.Address
	Receiver   []byte
	DstChainId *big.Int
	Message    []byte
	Fee        *big.Int
	Raw        types.Log // Blockchain specific contextual infos
}

MessageBusMessage2 represents a Message2 event raised by the MessageBus contract.

func (*MessageBusMessage2) PrettyLog

func (ev *MessageBusMessage2) PrettyLog(onchid uint64) string

func (*MessageBusMessage2) String

func (ev *MessageBusMessage2) String() string

type MessageBusMessage2Iterator

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

MessageBusMessage2Iterator is returned from FilterMessage2 and is used to iterate over the raw logs and unpacked data for Message2 events raised by the MessageBus contract.

func (*MessageBusMessage2Iterator) Close

func (it *MessageBusMessage2Iterator) Close() error

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

func (*MessageBusMessage2Iterator) Error

func (it *MessageBusMessage2Iterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*MessageBusMessage2Iterator) Next

func (it *MessageBusMessage2Iterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type MessageBusMessageIterator

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

MessageBusMessageIterator is returned from FilterMessage and is used to iterate over the raw logs and unpacked data for Message events raised by the MessageBus contract.

func (*MessageBusMessageIterator) Close

func (it *MessageBusMessageIterator) Close() error

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

func (*MessageBusMessageIterator) Error

func (it *MessageBusMessageIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*MessageBusMessageIterator) Next

func (it *MessageBusMessageIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type MessageBusMessageWithTransfer

type MessageBusMessageWithTransfer struct {
	Sender        common.Address
	Receiver      common.Address
	DstChainId    *big.Int
	Bridge        common.Address
	SrcTransferId [32]byte
	Message       []byte
	Fee           *big.Int
	Raw           types.Log // Blockchain specific contextual infos
}

MessageBusMessageWithTransfer represents a MessageWithTransfer event raised by the MessageBus contract.

func (*MessageBusMessageWithTransfer) PrettyLog

func (ev *MessageBusMessageWithTransfer) PrettyLog(onchid uint64) string

func (*MessageBusMessageWithTransfer) String

type MessageBusMessageWithTransferIterator

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

MessageBusMessageWithTransferIterator is returned from FilterMessageWithTransfer and is used to iterate over the raw logs and unpacked data for MessageWithTransfer events raised by the MessageBus contract.

func (*MessageBusMessageWithTransferIterator) Close

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

func (*MessageBusMessageWithTransferIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*MessageBusMessageWithTransferIterator) 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 MessageBusNeedRetry

type MessageBusNeedRetry struct {
	MsgType    uint8
	MsgId      [32]byte
	SrcChainId uint64
	SrcTxHash  [32]byte
	Raw        types.Log // Blockchain specific contextual infos
}

MessageBusNeedRetry represents a NeedRetry event raised by the MessageBus contract.

type MessageBusNeedRetryIterator

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

MessageBusNeedRetryIterator is returned from FilterNeedRetry and is used to iterate over the raw logs and unpacked data for NeedRetry events raised by the MessageBus contract.

func (*MessageBusNeedRetryIterator) Close

func (it *MessageBusNeedRetryIterator) Close() error

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

func (*MessageBusNeedRetryIterator) Error

func (it *MessageBusNeedRetryIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*MessageBusNeedRetryIterator) Next

func (it *MessageBusNeedRetryIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type MessageBusOwnershipTransferred

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

MessageBusOwnershipTransferred represents a OwnershipTransferred event raised by the MessageBus contract.

type MessageBusOwnershipTransferredIterator

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

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

func (*MessageBusOwnershipTransferredIterator) Close

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

func (*MessageBusOwnershipTransferredIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*MessageBusOwnershipTransferredIterator) 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 MessageBusPegBridgeUpdated

type MessageBusPegBridgeUpdated struct {
	PegBridge common.Address
	Raw       types.Log // Blockchain specific contextual infos
}

MessageBusPegBridgeUpdated represents a PegBridgeUpdated event raised by the MessageBus contract.

type MessageBusPegBridgeUpdatedIterator

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

MessageBusPegBridgeUpdatedIterator is returned from FilterPegBridgeUpdated and is used to iterate over the raw logs and unpacked data for PegBridgeUpdated events raised by the MessageBus contract.

func (*MessageBusPegBridgeUpdatedIterator) Close

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

func (*MessageBusPegBridgeUpdatedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*MessageBusPegBridgeUpdatedIterator) 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 MessageBusPegBridgeV2Updated

type MessageBusPegBridgeV2Updated struct {
	PegBridgeV2 common.Address
	Raw         types.Log // Blockchain specific contextual infos
}

MessageBusPegBridgeV2Updated represents a PegBridgeV2Updated event raised by the MessageBus contract.

type MessageBusPegBridgeV2UpdatedIterator

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

MessageBusPegBridgeV2UpdatedIterator is returned from FilterPegBridgeV2Updated and is used to iterate over the raw logs and unpacked data for PegBridgeV2Updated events raised by the MessageBus contract.

func (*MessageBusPegBridgeV2UpdatedIterator) Close

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

func (*MessageBusPegBridgeV2UpdatedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*MessageBusPegBridgeV2UpdatedIterator) 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 MessageBusPegVaultUpdated

type MessageBusPegVaultUpdated struct {
	PegVault common.Address
	Raw      types.Log // Blockchain specific contextual infos
}

MessageBusPegVaultUpdated represents a PegVaultUpdated event raised by the MessageBus contract.

type MessageBusPegVaultUpdatedIterator

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

MessageBusPegVaultUpdatedIterator is returned from FilterPegVaultUpdated and is used to iterate over the raw logs and unpacked data for PegVaultUpdated events raised by the MessageBus contract.

func (*MessageBusPegVaultUpdatedIterator) Close

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

func (*MessageBusPegVaultUpdatedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*MessageBusPegVaultUpdatedIterator) 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 MessageBusPegVaultV2Updated

type MessageBusPegVaultV2Updated struct {
	PegVaultV2 common.Address
	Raw        types.Log // Blockchain specific contextual infos
}

MessageBusPegVaultV2Updated represents a PegVaultV2Updated event raised by the MessageBus contract.

type MessageBusPegVaultV2UpdatedIterator

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

MessageBusPegVaultV2UpdatedIterator is returned from FilterPegVaultV2Updated and is used to iterate over the raw logs and unpacked data for PegVaultV2Updated events raised by the MessageBus contract.

func (*MessageBusPegVaultV2UpdatedIterator) Close

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

func (*MessageBusPegVaultV2UpdatedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*MessageBusPegVaultV2UpdatedIterator) 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 MessageBusRaw

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

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

func (*MessageBusRaw) Call

func (_MessageBus *MessageBusRaw) 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 (*MessageBusRaw) Transact

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

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

func (*MessageBusRaw) Transfer

func (_MessageBus *MessageBusRaw) 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 MessageBusReceiver

type MessageBusReceiver struct {
	MessageBusReceiverCaller     // Read-only binding to the contract
	MessageBusReceiverTransactor // Write-only binding to the contract
	MessageBusReceiverFilterer   // Log filterer for contract events
}

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

func DeployMessageBusReceiver

func DeployMessageBusReceiver(auth *bind.TransactOpts, backend bind.ContractBackend, _liquidityBridge common.Address, _pegBridge common.Address, _pegVault common.Address, _pegBridgeV2 common.Address, _pegVaultV2 common.Address) (common.Address, *types.Transaction, *MessageBusReceiver, error)

DeployMessageBusReceiver deploys a new Ethereum contract, binding an instance of MessageBusReceiver to it.

func NewMessageBusReceiver

func NewMessageBusReceiver(address common.Address, backend bind.ContractBackend) (*MessageBusReceiver, error)

NewMessageBusReceiver creates a new instance of MessageBusReceiver, bound to a specific deployed contract.

type MessageBusReceiverCallReverted

type MessageBusReceiverCallReverted struct {
	Reason string
	Raw    types.Log // Blockchain specific contextual infos
}

MessageBusReceiverCallReverted represents a CallReverted event raised by the MessageBusReceiver contract.

type MessageBusReceiverCallRevertedIterator

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

MessageBusReceiverCallRevertedIterator is returned from FilterCallReverted and is used to iterate over the raw logs and unpacked data for CallReverted events raised by the MessageBusReceiver contract.

func (*MessageBusReceiverCallRevertedIterator) Close

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

func (*MessageBusReceiverCallRevertedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*MessageBusReceiverCallRevertedIterator) 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 MessageBusReceiverCaller

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

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

func NewMessageBusReceiverCaller

func NewMessageBusReceiverCaller(address common.Address, caller bind.ContractCaller) (*MessageBusReceiverCaller, error)

NewMessageBusReceiverCaller creates a new read-only instance of MessageBusReceiver, bound to a specific deployed contract.

func (*MessageBusReceiverCaller) ExecutedMessages

func (_MessageBusReceiver *MessageBusReceiverCaller) ExecutedMessages(opts *bind.CallOpts, arg0 [32]byte) (uint8, error)

ExecutedMessages is a free data retrieval call binding the contract method 0xcd2abd66.

Solidity: function executedMessages(bytes32 ) view returns(uint8)

func (*MessageBusReceiverCaller) LiquidityBridge

func (_MessageBusReceiver *MessageBusReceiverCaller) LiquidityBridge(opts *bind.CallOpts) (common.Address, error)

LiquidityBridge is a free data retrieval call binding the contract method 0x82980dc4.

Solidity: function liquidityBridge() view returns(address)

func (*MessageBusReceiverCaller) Owner

func (_MessageBusReceiver *MessageBusReceiverCaller) 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 (*MessageBusReceiverCaller) PegBridge

func (_MessageBusReceiver *MessageBusReceiverCaller) PegBridge(opts *bind.CallOpts) (common.Address, error)

PegBridge is a free data retrieval call binding the contract method 0xdfa2dbaf.

Solidity: function pegBridge() view returns(address)

func (*MessageBusReceiverCaller) PegBridgeV2

func (_MessageBusReceiver *MessageBusReceiverCaller) PegBridgeV2(opts *bind.CallOpts) (common.Address, error)

PegBridgeV2 is a free data retrieval call binding the contract method 0x95b12c27.

Solidity: function pegBridgeV2() view returns(address)

func (*MessageBusReceiverCaller) PegVault

func (_MessageBusReceiver *MessageBusReceiverCaller) PegVault(opts *bind.CallOpts) (common.Address, error)

PegVault is a free data retrieval call binding the contract method 0xd8257d17.

Solidity: function pegVault() view returns(address)

func (*MessageBusReceiverCaller) PegVaultV2

func (_MessageBusReceiver *MessageBusReceiverCaller) PegVaultV2(opts *bind.CallOpts) (common.Address, error)

PegVaultV2 is a free data retrieval call binding the contract method 0xc66a9c5a.

Solidity: function pegVaultV2() view returns(address)

func (*MessageBusReceiverCaller) PreExecuteMessageGasUsage

func (_MessageBusReceiver *MessageBusReceiverCaller) PreExecuteMessageGasUsage(opts *bind.CallOpts) (*big.Int, error)

PreExecuteMessageGasUsage is a free data retrieval call binding the contract method 0x584e45e1.

Solidity: function preExecuteMessageGasUsage() view returns(uint256)

type MessageBusReceiverCallerRaw

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

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

func (*MessageBusReceiverCallerRaw) Call

func (_MessageBusReceiver *MessageBusReceiverCallerRaw) 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 MessageBusReceiverCallerSession

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

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

func (*MessageBusReceiverCallerSession) ExecutedMessages

func (_MessageBusReceiver *MessageBusReceiverCallerSession) ExecutedMessages(arg0 [32]byte) (uint8, error)

ExecutedMessages is a free data retrieval call binding the contract method 0xcd2abd66.

Solidity: function executedMessages(bytes32 ) view returns(uint8)

func (*MessageBusReceiverCallerSession) LiquidityBridge

func (_MessageBusReceiver *MessageBusReceiverCallerSession) LiquidityBridge() (common.Address, error)

LiquidityBridge is a free data retrieval call binding the contract method 0x82980dc4.

Solidity: function liquidityBridge() view returns(address)

func (*MessageBusReceiverCallerSession) Owner

func (_MessageBusReceiver *MessageBusReceiverCallerSession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*MessageBusReceiverCallerSession) PegBridge

func (_MessageBusReceiver *MessageBusReceiverCallerSession) PegBridge() (common.Address, error)

PegBridge is a free data retrieval call binding the contract method 0xdfa2dbaf.

Solidity: function pegBridge() view returns(address)

func (*MessageBusReceiverCallerSession) PegBridgeV2

func (_MessageBusReceiver *MessageBusReceiverCallerSession) PegBridgeV2() (common.Address, error)

PegBridgeV2 is a free data retrieval call binding the contract method 0x95b12c27.

Solidity: function pegBridgeV2() view returns(address)

func (*MessageBusReceiverCallerSession) PegVault

func (_MessageBusReceiver *MessageBusReceiverCallerSession) PegVault() (common.Address, error)

PegVault is a free data retrieval call binding the contract method 0xd8257d17.

Solidity: function pegVault() view returns(address)

func (*MessageBusReceiverCallerSession) PegVaultV2

func (_MessageBusReceiver *MessageBusReceiverCallerSession) PegVaultV2() (common.Address, error)

PegVaultV2 is a free data retrieval call binding the contract method 0xc66a9c5a.

Solidity: function pegVaultV2() view returns(address)

func (*MessageBusReceiverCallerSession) PreExecuteMessageGasUsage

func (_MessageBusReceiver *MessageBusReceiverCallerSession) PreExecuteMessageGasUsage() (*big.Int, error)

PreExecuteMessageGasUsage is a free data retrieval call binding the contract method 0x584e45e1.

Solidity: function preExecuteMessageGasUsage() view returns(uint256)

type MessageBusReceiverExecuted

type MessageBusReceiverExecuted struct {
	MsgType    uint8
	MsgId      [32]byte
	Status     uint8
	Receiver   common.Address
	SrcChainId uint64
	SrcTxHash  [32]byte
	Raw        types.Log // Blockchain specific contextual infos
}

MessageBusReceiverExecuted represents a Executed event raised by the MessageBusReceiver contract.

type MessageBusReceiverExecutedIterator

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

MessageBusReceiverExecutedIterator is returned from FilterExecuted and is used to iterate over the raw logs and unpacked data for Executed events raised by the MessageBusReceiver contract.

func (*MessageBusReceiverExecutedIterator) Close

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

func (*MessageBusReceiverExecutedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*MessageBusReceiverExecutedIterator) 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 MessageBusReceiverFilterer

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

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

func NewMessageBusReceiverFilterer

func NewMessageBusReceiverFilterer(address common.Address, filterer bind.ContractFilterer) (*MessageBusReceiverFilterer, error)

NewMessageBusReceiverFilterer creates a new log filterer instance of MessageBusReceiver, bound to a specific deployed contract.

func (*MessageBusReceiverFilterer) FilterCallReverted

func (_MessageBusReceiver *MessageBusReceiverFilterer) FilterCallReverted(opts *bind.FilterOpts) (*MessageBusReceiverCallRevertedIterator, error)

FilterCallReverted is a free log retrieval operation binding the contract event 0xffdd6142bbb721f3400e3908b04b86f60649b2e4d191e3f4c50c32c3e6471d2f.

Solidity: event CallReverted(string reason)

func (*MessageBusReceiverFilterer) FilterExecuted

func (_MessageBusReceiver *MessageBusReceiverFilterer) FilterExecuted(opts *bind.FilterOpts, receiver []common.Address) (*MessageBusReceiverExecutedIterator, error)

FilterExecuted is a free log retrieval operation binding the contract event 0xa635eb05143f74743822bbd96428928de4c8ee8cc578299749be9425c17bb34d.

Solidity: event Executed(uint8 msgType, bytes32 msgId, uint8 status, address indexed receiver, uint64 srcChainId, bytes32 srcTxHash)

func (*MessageBusReceiverFilterer) FilterLiquidityBridgeUpdated

func (_MessageBusReceiver *MessageBusReceiverFilterer) FilterLiquidityBridgeUpdated(opts *bind.FilterOpts) (*MessageBusReceiverLiquidityBridgeUpdatedIterator, error)

FilterLiquidityBridgeUpdated is a free log retrieval operation binding the contract event 0xbf9977180dc6e6cff25598c8e59150cecd7f8e448e092633d38ab7ee223ae058.

Solidity: event LiquidityBridgeUpdated(address liquidityBridge)

func (*MessageBusReceiverFilterer) FilterNeedRetry

func (_MessageBusReceiver *MessageBusReceiverFilterer) FilterNeedRetry(opts *bind.FilterOpts) (*MessageBusReceiverNeedRetryIterator, error)

FilterNeedRetry is a free log retrieval operation binding the contract event 0xe49c2c954d381d1448cf824743aeff9da7a1d82078a7c9e5817269cc359bd26c.

Solidity: event NeedRetry(uint8 msgType, bytes32 msgId, uint64 srcChainId, bytes32 srcTxHash)

func (*MessageBusReceiverFilterer) FilterOwnershipTransferred

func (_MessageBusReceiver *MessageBusReceiverFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*MessageBusReceiverOwnershipTransferredIterator, error)

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

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

func (*MessageBusReceiverFilterer) FilterPegBridgeUpdated

func (_MessageBusReceiver *MessageBusReceiverFilterer) FilterPegBridgeUpdated(opts *bind.FilterOpts) (*MessageBusReceiverPegBridgeUpdatedIterator, error)

FilterPegBridgeUpdated is a free log retrieval operation binding the contract event 0xd60e9ceb4f54f1bfb1741a4b35fc9d806d7ed48200b523203b92248ea38fa17d.

Solidity: event PegBridgeUpdated(address pegBridge)

func (*MessageBusReceiverFilterer) FilterPegBridgeV2Updated

func (_MessageBusReceiver *MessageBusReceiverFilterer) FilterPegBridgeV2Updated(opts *bind.FilterOpts) (*MessageBusReceiverPegBridgeV2UpdatedIterator, error)

FilterPegBridgeV2Updated is a free log retrieval operation binding the contract event 0xfb337a6c76476534518d5816caeb86263972470fedccfd047a35eb1825eaa9e8.

Solidity: event PegBridgeV2Updated(address pegBridgeV2)

func (*MessageBusReceiverFilterer) FilterPegVaultUpdated

func (_MessageBusReceiver *MessageBusReceiverFilterer) FilterPegVaultUpdated(opts *bind.FilterOpts) (*MessageBusReceiverPegVaultUpdatedIterator, error)

FilterPegVaultUpdated is a free log retrieval operation binding the contract event 0xa9db0c32d9c6c2f75f3b95047a9e67cc1c010eab792a4e6ca777ce918ad94aad.

Solidity: event PegVaultUpdated(address pegVault)

func (*MessageBusReceiverFilterer) FilterPegVaultV2Updated

func (_MessageBusReceiver *MessageBusReceiverFilterer) FilterPegVaultV2Updated(opts *bind.FilterOpts) (*MessageBusReceiverPegVaultV2UpdatedIterator, error)

FilterPegVaultV2Updated is a free log retrieval operation binding the contract event 0x918a691a2a82482a10e11f43d7b627b2ba220dd08f251cb61933c42560f6fcb5.

Solidity: event PegVaultV2Updated(address pegVaultV2)

func (*MessageBusReceiverFilterer) ParseCallReverted

func (_MessageBusReceiver *MessageBusReceiverFilterer) ParseCallReverted(log types.Log) (*MessageBusReceiverCallReverted, error)

ParseCallReverted is a log parse operation binding the contract event 0xffdd6142bbb721f3400e3908b04b86f60649b2e4d191e3f4c50c32c3e6471d2f.

Solidity: event CallReverted(string reason)

func (*MessageBusReceiverFilterer) ParseExecuted

func (_MessageBusReceiver *MessageBusReceiverFilterer) ParseExecuted(log types.Log) (*MessageBusReceiverExecuted, error)

ParseExecuted is a log parse operation binding the contract event 0xa635eb05143f74743822bbd96428928de4c8ee8cc578299749be9425c17bb34d.

Solidity: event Executed(uint8 msgType, bytes32 msgId, uint8 status, address indexed receiver, uint64 srcChainId, bytes32 srcTxHash)

func (*MessageBusReceiverFilterer) ParseLiquidityBridgeUpdated

func (_MessageBusReceiver *MessageBusReceiverFilterer) ParseLiquidityBridgeUpdated(log types.Log) (*MessageBusReceiverLiquidityBridgeUpdated, error)

ParseLiquidityBridgeUpdated is a log parse operation binding the contract event 0xbf9977180dc6e6cff25598c8e59150cecd7f8e448e092633d38ab7ee223ae058.

Solidity: event LiquidityBridgeUpdated(address liquidityBridge)

func (*MessageBusReceiverFilterer) ParseNeedRetry

func (_MessageBusReceiver *MessageBusReceiverFilterer) ParseNeedRetry(log types.Log) (*MessageBusReceiverNeedRetry, error)

ParseNeedRetry is a log parse operation binding the contract event 0xe49c2c954d381d1448cf824743aeff9da7a1d82078a7c9e5817269cc359bd26c.

Solidity: event NeedRetry(uint8 msgType, bytes32 msgId, uint64 srcChainId, bytes32 srcTxHash)

func (*MessageBusReceiverFilterer) ParseOwnershipTransferred

func (_MessageBusReceiver *MessageBusReceiverFilterer) ParseOwnershipTransferred(log types.Log) (*MessageBusReceiverOwnershipTransferred, error)

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

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

func (*MessageBusReceiverFilterer) ParsePegBridgeUpdated

func (_MessageBusReceiver *MessageBusReceiverFilterer) ParsePegBridgeUpdated(log types.Log) (*MessageBusReceiverPegBridgeUpdated, error)

ParsePegBridgeUpdated is a log parse operation binding the contract event 0xd60e9ceb4f54f1bfb1741a4b35fc9d806d7ed48200b523203b92248ea38fa17d.

Solidity: event PegBridgeUpdated(address pegBridge)

func (*MessageBusReceiverFilterer) ParsePegBridgeV2Updated

func (_MessageBusReceiver *MessageBusReceiverFilterer) ParsePegBridgeV2Updated(log types.Log) (*MessageBusReceiverPegBridgeV2Updated, error)

ParsePegBridgeV2Updated is a log parse operation binding the contract event 0xfb337a6c76476534518d5816caeb86263972470fedccfd047a35eb1825eaa9e8.

Solidity: event PegBridgeV2Updated(address pegBridgeV2)

func (*MessageBusReceiverFilterer) ParsePegVaultUpdated

func (_MessageBusReceiver *MessageBusReceiverFilterer) ParsePegVaultUpdated(log types.Log) (*MessageBusReceiverPegVaultUpdated, error)

ParsePegVaultUpdated is a log parse operation binding the contract event 0xa9db0c32d9c6c2f75f3b95047a9e67cc1c010eab792a4e6ca777ce918ad94aad.

Solidity: event PegVaultUpdated(address pegVault)

func (*MessageBusReceiverFilterer) ParsePegVaultV2Updated

func (_MessageBusReceiver *MessageBusReceiverFilterer) ParsePegVaultV2Updated(log types.Log) (*MessageBusReceiverPegVaultV2Updated, error)

ParsePegVaultV2Updated is a log parse operation binding the contract event 0x918a691a2a82482a10e11f43d7b627b2ba220dd08f251cb61933c42560f6fcb5.

Solidity: event PegVaultV2Updated(address pegVaultV2)

func (*MessageBusReceiverFilterer) WatchCallReverted

func (_MessageBusReceiver *MessageBusReceiverFilterer) WatchCallReverted(opts *bind.WatchOpts, sink chan<- *MessageBusReceiverCallReverted) (event.Subscription, error)

WatchCallReverted is a free log subscription operation binding the contract event 0xffdd6142bbb721f3400e3908b04b86f60649b2e4d191e3f4c50c32c3e6471d2f.

Solidity: event CallReverted(string reason)

func (*MessageBusReceiverFilterer) WatchExecuted

func (_MessageBusReceiver *MessageBusReceiverFilterer) WatchExecuted(opts *bind.WatchOpts, sink chan<- *MessageBusReceiverExecuted, receiver []common.Address) (event.Subscription, error)

WatchExecuted is a free log subscription operation binding the contract event 0xa635eb05143f74743822bbd96428928de4c8ee8cc578299749be9425c17bb34d.

Solidity: event Executed(uint8 msgType, bytes32 msgId, uint8 status, address indexed receiver, uint64 srcChainId, bytes32 srcTxHash)

func (*MessageBusReceiverFilterer) WatchLiquidityBridgeUpdated

func (_MessageBusReceiver *MessageBusReceiverFilterer) WatchLiquidityBridgeUpdated(opts *bind.WatchOpts, sink chan<- *MessageBusReceiverLiquidityBridgeUpdated) (event.Subscription, error)

WatchLiquidityBridgeUpdated is a free log subscription operation binding the contract event 0xbf9977180dc6e6cff25598c8e59150cecd7f8e448e092633d38ab7ee223ae058.

Solidity: event LiquidityBridgeUpdated(address liquidityBridge)

func (*MessageBusReceiverFilterer) WatchNeedRetry

func (_MessageBusReceiver *MessageBusReceiverFilterer) WatchNeedRetry(opts *bind.WatchOpts, sink chan<- *MessageBusReceiverNeedRetry) (event.Subscription, error)

WatchNeedRetry is a free log subscription operation binding the contract event 0xe49c2c954d381d1448cf824743aeff9da7a1d82078a7c9e5817269cc359bd26c.

Solidity: event NeedRetry(uint8 msgType, bytes32 msgId, uint64 srcChainId, bytes32 srcTxHash)

func (*MessageBusReceiverFilterer) WatchOwnershipTransferred

func (_MessageBusReceiver *MessageBusReceiverFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *MessageBusReceiverOwnershipTransferred, 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 (*MessageBusReceiverFilterer) WatchPegBridgeUpdated

func (_MessageBusReceiver *MessageBusReceiverFilterer) WatchPegBridgeUpdated(opts *bind.WatchOpts, sink chan<- *MessageBusReceiverPegBridgeUpdated) (event.Subscription, error)

WatchPegBridgeUpdated is a free log subscription operation binding the contract event 0xd60e9ceb4f54f1bfb1741a4b35fc9d806d7ed48200b523203b92248ea38fa17d.

Solidity: event PegBridgeUpdated(address pegBridge)

func (*MessageBusReceiverFilterer) WatchPegBridgeV2Updated

func (_MessageBusReceiver *MessageBusReceiverFilterer) WatchPegBridgeV2Updated(opts *bind.WatchOpts, sink chan<- *MessageBusReceiverPegBridgeV2Updated) (event.Subscription, error)

WatchPegBridgeV2Updated is a free log subscription operation binding the contract event 0xfb337a6c76476534518d5816caeb86263972470fedccfd047a35eb1825eaa9e8.

Solidity: event PegBridgeV2Updated(address pegBridgeV2)

func (*MessageBusReceiverFilterer) WatchPegVaultUpdated

func (_MessageBusReceiver *MessageBusReceiverFilterer) WatchPegVaultUpdated(opts *bind.WatchOpts, sink chan<- *MessageBusReceiverPegVaultUpdated) (event.Subscription, error)

WatchPegVaultUpdated is a free log subscription operation binding the contract event 0xa9db0c32d9c6c2f75f3b95047a9e67cc1c010eab792a4e6ca777ce918ad94aad.

Solidity: event PegVaultUpdated(address pegVault)

func (*MessageBusReceiverFilterer) WatchPegVaultV2Updated

func (_MessageBusReceiver *MessageBusReceiverFilterer) WatchPegVaultV2Updated(opts *bind.WatchOpts, sink chan<- *MessageBusReceiverPegVaultV2Updated) (event.Subscription, error)

WatchPegVaultV2Updated is a free log subscription operation binding the contract event 0x918a691a2a82482a10e11f43d7b627b2ba220dd08f251cb61933c42560f6fcb5.

Solidity: event PegVaultV2Updated(address pegVaultV2)

type MessageBusReceiverLiquidityBridgeUpdated

type MessageBusReceiverLiquidityBridgeUpdated struct {
	LiquidityBridge common.Address
	Raw             types.Log // Blockchain specific contextual infos
}

MessageBusReceiverLiquidityBridgeUpdated represents a LiquidityBridgeUpdated event raised by the MessageBusReceiver contract.

type MessageBusReceiverLiquidityBridgeUpdatedIterator

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

MessageBusReceiverLiquidityBridgeUpdatedIterator is returned from FilterLiquidityBridgeUpdated and is used to iterate over the raw logs and unpacked data for LiquidityBridgeUpdated events raised by the MessageBusReceiver contract.

func (*MessageBusReceiverLiquidityBridgeUpdatedIterator) Close

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

func (*MessageBusReceiverLiquidityBridgeUpdatedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*MessageBusReceiverLiquidityBridgeUpdatedIterator) 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 MessageBusReceiverNeedRetry

type MessageBusReceiverNeedRetry struct {
	MsgType    uint8
	MsgId      [32]byte
	SrcChainId uint64
	SrcTxHash  [32]byte
	Raw        types.Log // Blockchain specific contextual infos
}

MessageBusReceiverNeedRetry represents a NeedRetry event raised by the MessageBusReceiver contract.

type MessageBusReceiverNeedRetryIterator

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

MessageBusReceiverNeedRetryIterator is returned from FilterNeedRetry and is used to iterate over the raw logs and unpacked data for NeedRetry events raised by the MessageBusReceiver contract.

func (*MessageBusReceiverNeedRetryIterator) Close

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

func (*MessageBusReceiverNeedRetryIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*MessageBusReceiverNeedRetryIterator) 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 MessageBusReceiverOwnershipTransferred

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

MessageBusReceiverOwnershipTransferred represents a OwnershipTransferred event raised by the MessageBusReceiver contract.

type MessageBusReceiverOwnershipTransferredIterator

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

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

func (*MessageBusReceiverOwnershipTransferredIterator) Close

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

func (*MessageBusReceiverOwnershipTransferredIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*MessageBusReceiverOwnershipTransferredIterator) 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 MessageBusReceiverPegBridgeUpdated

type MessageBusReceiverPegBridgeUpdated struct {
	PegBridge common.Address
	Raw       types.Log // Blockchain specific contextual infos
}

MessageBusReceiverPegBridgeUpdated represents a PegBridgeUpdated event raised by the MessageBusReceiver contract.

type MessageBusReceiverPegBridgeUpdatedIterator

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

MessageBusReceiverPegBridgeUpdatedIterator is returned from FilterPegBridgeUpdated and is used to iterate over the raw logs and unpacked data for PegBridgeUpdated events raised by the MessageBusReceiver contract.

func (*MessageBusReceiverPegBridgeUpdatedIterator) Close

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

func (*MessageBusReceiverPegBridgeUpdatedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*MessageBusReceiverPegBridgeUpdatedIterator) 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 MessageBusReceiverPegBridgeV2Updated

type MessageBusReceiverPegBridgeV2Updated struct {
	PegBridgeV2 common.Address
	Raw         types.Log // Blockchain specific contextual infos
}

MessageBusReceiverPegBridgeV2Updated represents a PegBridgeV2Updated event raised by the MessageBusReceiver contract.

type MessageBusReceiverPegBridgeV2UpdatedIterator

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

MessageBusReceiverPegBridgeV2UpdatedIterator is returned from FilterPegBridgeV2Updated and is used to iterate over the raw logs and unpacked data for PegBridgeV2Updated events raised by the MessageBusReceiver contract.

func (*MessageBusReceiverPegBridgeV2UpdatedIterator) Close

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

func (*MessageBusReceiverPegBridgeV2UpdatedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*MessageBusReceiverPegBridgeV2UpdatedIterator) 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 MessageBusReceiverPegVaultUpdated

type MessageBusReceiverPegVaultUpdated struct {
	PegVault common.Address
	Raw      types.Log // Blockchain specific contextual infos
}

MessageBusReceiverPegVaultUpdated represents a PegVaultUpdated event raised by the MessageBusReceiver contract.

type MessageBusReceiverPegVaultUpdatedIterator

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

MessageBusReceiverPegVaultUpdatedIterator is returned from FilterPegVaultUpdated and is used to iterate over the raw logs and unpacked data for PegVaultUpdated events raised by the MessageBusReceiver contract.

func (*MessageBusReceiverPegVaultUpdatedIterator) Close

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

func (*MessageBusReceiverPegVaultUpdatedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*MessageBusReceiverPegVaultUpdatedIterator) 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 MessageBusReceiverPegVaultV2Updated

type MessageBusReceiverPegVaultV2Updated struct {
	PegVaultV2 common.Address
	Raw        types.Log // Blockchain specific contextual infos
}

MessageBusReceiverPegVaultV2Updated represents a PegVaultV2Updated event raised by the MessageBusReceiver contract.

type MessageBusReceiverPegVaultV2UpdatedIterator

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

MessageBusReceiverPegVaultV2UpdatedIterator is returned from FilterPegVaultV2Updated and is used to iterate over the raw logs and unpacked data for PegVaultV2Updated events raised by the MessageBusReceiver contract.

func (*MessageBusReceiverPegVaultV2UpdatedIterator) Close

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

func (*MessageBusReceiverPegVaultV2UpdatedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*MessageBusReceiverPegVaultV2UpdatedIterator) 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 MessageBusReceiverRaw

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

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

func (*MessageBusReceiverRaw) Call

func (_MessageBusReceiver *MessageBusReceiverRaw) 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 (*MessageBusReceiverRaw) Transact

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

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

func (*MessageBusReceiverRaw) Transfer

func (_MessageBusReceiver *MessageBusReceiverRaw) 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 MessageBusReceiverSession

type MessageBusReceiverSession struct {
	Contract     *MessageBusReceiver // 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
}

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

func (*MessageBusReceiverSession) ExecuteMessage

func (_MessageBusReceiver *MessageBusReceiverSession) ExecuteMessage(_message []byte, _route MsgDataTypesRouteInfo, _sigs [][]byte, _signers []common.Address, _powers []*big.Int) (*types.Transaction, error)

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

Solidity: function executeMessage(bytes _message, (address,address,uint64,bytes32) _route, bytes[] _sigs, address[] _signers, uint256[] _powers) payable returns()

func (*MessageBusReceiverSession) ExecuteMessage0

func (_MessageBusReceiver *MessageBusReceiverSession) ExecuteMessage0(_message []byte, _route MsgDataTypesRouteInfo2, _sigs [][]byte, _signers []common.Address, _powers []*big.Int) (*types.Transaction, error)

ExecuteMessage0 is a paid mutator transaction binding the contract method 0xdb2c20c8.

Solidity: function executeMessage(bytes _message, (bytes,address,uint64,bytes32) _route, bytes[] _sigs, address[] _signers, uint256[] _powers) payable returns()

func (*MessageBusReceiverSession) ExecuteMessageWithTransfer

func (_MessageBusReceiver *MessageBusReceiverSession) ExecuteMessageWithTransfer(_message []byte, _transfer MsgDataTypesTransferInfo, _sigs [][]byte, _signers []common.Address, _powers []*big.Int) (*types.Transaction, error)

ExecuteMessageWithTransfer is a paid mutator transaction binding the contract method 0x3f395aff.

Solidity: function executeMessageWithTransfer(bytes _message, (uint8,address,address,address,uint256,uint64,uint64,bytes32,bytes32) _transfer, bytes[] _sigs, address[] _signers, uint256[] _powers) payable returns()

func (*MessageBusReceiverSession) ExecuteMessageWithTransferRefund

func (_MessageBusReceiver *MessageBusReceiverSession) ExecuteMessageWithTransferRefund(_message []byte, _transfer MsgDataTypesTransferInfo, _sigs [][]byte, _signers []common.Address, _powers []*big.Int) (*types.Transaction, error)

ExecuteMessageWithTransferRefund is a paid mutator transaction binding the contract method 0x7b80ab20.

Solidity: function executeMessageWithTransferRefund(bytes _message, (uint8,address,address,address,uint256,uint64,uint64,bytes32,bytes32) _transfer, bytes[] _sigs, address[] _signers, uint256[] _powers) payable returns()

func (*MessageBusReceiverSession) ExecutedMessages

func (_MessageBusReceiver *MessageBusReceiverSession) ExecutedMessages(arg0 [32]byte) (uint8, error)

ExecutedMessages is a free data retrieval call binding the contract method 0xcd2abd66.

Solidity: function executedMessages(bytes32 ) view returns(uint8)

func (*MessageBusReceiverSession) LiquidityBridge

func (_MessageBusReceiver *MessageBusReceiverSession) LiquidityBridge() (common.Address, error)

LiquidityBridge is a free data retrieval call binding the contract method 0x82980dc4.

Solidity: function liquidityBridge() view returns(address)

func (*MessageBusReceiverSession) Owner

func (_MessageBusReceiver *MessageBusReceiverSession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*MessageBusReceiverSession) PegBridge

func (_MessageBusReceiver *MessageBusReceiverSession) PegBridge() (common.Address, error)

PegBridge is a free data retrieval call binding the contract method 0xdfa2dbaf.

Solidity: function pegBridge() view returns(address)

func (*MessageBusReceiverSession) PegBridgeV2

func (_MessageBusReceiver *MessageBusReceiverSession) PegBridgeV2() (common.Address, error)

PegBridgeV2 is a free data retrieval call binding the contract method 0x95b12c27.

Solidity: function pegBridgeV2() view returns(address)

func (*MessageBusReceiverSession) PegVault

func (_MessageBusReceiver *MessageBusReceiverSession) PegVault() (common.Address, error)

PegVault is a free data retrieval call binding the contract method 0xd8257d17.

Solidity: function pegVault() view returns(address)

func (*MessageBusReceiverSession) PegVaultV2

func (_MessageBusReceiver *MessageBusReceiverSession) PegVaultV2() (common.Address, error)

PegVaultV2 is a free data retrieval call binding the contract method 0xc66a9c5a.

Solidity: function pegVaultV2() view returns(address)

func (*MessageBusReceiverSession) PreExecuteMessageGasUsage

func (_MessageBusReceiver *MessageBusReceiverSession) PreExecuteMessageGasUsage() (*big.Int, error)

PreExecuteMessageGasUsage is a free data retrieval call binding the contract method 0x584e45e1.

Solidity: function preExecuteMessageGasUsage() view returns(uint256)

func (*MessageBusReceiverSession) RefundAndExecuteMsg

func (_MessageBusReceiver *MessageBusReceiverSession) RefundAndExecuteMsg(_transferParams MsgDataTypesBridgeTransferParams, _msgParams MsgDataTypesMsgWithTransferExecutionParams) (*types.Transaction, error)

RefundAndExecuteMsg is a paid mutator transaction binding the contract method 0x40d0d026.

Solidity: function refundAndExecuteMsg((bytes,bytes[],address[],uint256[]) _transferParams, (bytes,(uint8,address,address,address,uint256,uint64,uint64,bytes32,bytes32),bytes[],address[],uint256[]) _msgParams) returns()

func (*MessageBusReceiverSession) SetLiquidityBridge

func (_MessageBusReceiver *MessageBusReceiverSession) SetLiquidityBridge(_addr common.Address) (*types.Transaction, error)

SetLiquidityBridge is a paid mutator transaction binding the contract method 0x588be02b.

Solidity: function setLiquidityBridge(address _addr) returns()

func (*MessageBusReceiverSession) SetPegBridge

func (_MessageBusReceiver *MessageBusReceiverSession) SetPegBridge(_addr common.Address) (*types.Transaction, error)

SetPegBridge is a paid mutator transaction binding the contract method 0x03cbfe66.

Solidity: function setPegBridge(address _addr) returns()

func (*MessageBusReceiverSession) SetPegBridgeV2

func (_MessageBusReceiver *MessageBusReceiverSession) SetPegBridgeV2(_addr common.Address) (*types.Transaction, error)

SetPegBridgeV2 is a paid mutator transaction binding the contract method 0x82efd502.

Solidity: function setPegBridgeV2(address _addr) returns()

func (*MessageBusReceiverSession) SetPegVault

func (_MessageBusReceiver *MessageBusReceiverSession) SetPegVault(_addr common.Address) (*types.Transaction, error)

SetPegVault is a paid mutator transaction binding the contract method 0x9b05a775.

Solidity: function setPegVault(address _addr) returns()

func (*MessageBusReceiverSession) SetPegVaultV2

func (_MessageBusReceiver *MessageBusReceiverSession) SetPegVaultV2(_addr common.Address) (*types.Transaction, error)

SetPegVaultV2 is a paid mutator transaction binding the contract method 0xf83b0fb9.

Solidity: function setPegVaultV2(address _addr) returns()

func (*MessageBusReceiverSession) SetPreExecuteMessageGasUsage

func (_MessageBusReceiver *MessageBusReceiverSession) SetPreExecuteMessageGasUsage(_usage *big.Int) (*types.Transaction, error)

SetPreExecuteMessageGasUsage is a paid mutator transaction binding the contract method 0x4586f331.

Solidity: function setPreExecuteMessageGasUsage(uint256 _usage) returns()

func (*MessageBusReceiverSession) TransferAndExecuteMsg

func (_MessageBusReceiver *MessageBusReceiverSession) TransferAndExecuteMsg(_transferParams MsgDataTypesBridgeTransferParams, _msgParams MsgDataTypesMsgWithTransferExecutionParams) (*types.Transaction, error)

TransferAndExecuteMsg is a paid mutator transaction binding the contract method 0x723d0a9d.

Solidity: function transferAndExecuteMsg((bytes,bytes[],address[],uint256[]) _transferParams, (bytes,(uint8,address,address,address,uint256,uint64,uint64,bytes32,bytes32),bytes[],address[],uint256[]) _msgParams) returns()

func (*MessageBusReceiverSession) TransferOwnership

func (_MessageBusReceiver *MessageBusReceiverSession) 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 MessageBusReceiverTransactor

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

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

func NewMessageBusReceiverTransactor

func NewMessageBusReceiverTransactor(address common.Address, transactor bind.ContractTransactor) (*MessageBusReceiverTransactor, error)

NewMessageBusReceiverTransactor creates a new write-only instance of MessageBusReceiver, bound to a specific deployed contract.

func (*MessageBusReceiverTransactor) ExecuteMessage

func (_MessageBusReceiver *MessageBusReceiverTransactor) ExecuteMessage(opts *bind.TransactOpts, _message []byte, _route MsgDataTypesRouteInfo, _sigs [][]byte, _signers []common.Address, _powers []*big.Int) (*types.Transaction, error)

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

Solidity: function executeMessage(bytes _message, (address,address,uint64,bytes32) _route, bytes[] _sigs, address[] _signers, uint256[] _powers) payable returns()

func (*MessageBusReceiverTransactor) ExecuteMessage0

func (_MessageBusReceiver *MessageBusReceiverTransactor) ExecuteMessage0(opts *bind.TransactOpts, _message []byte, _route MsgDataTypesRouteInfo2, _sigs [][]byte, _signers []common.Address, _powers []*big.Int) (*types.Transaction, error)

ExecuteMessage0 is a paid mutator transaction binding the contract method 0xdb2c20c8.

Solidity: function executeMessage(bytes _message, (bytes,address,uint64,bytes32) _route, bytes[] _sigs, address[] _signers, uint256[] _powers) payable returns()

func (*MessageBusReceiverTransactor) ExecuteMessageWithTransfer

func (_MessageBusReceiver *MessageBusReceiverTransactor) ExecuteMessageWithTransfer(opts *bind.TransactOpts, _message []byte, _transfer MsgDataTypesTransferInfo, _sigs [][]byte, _signers []common.Address, _powers []*big.Int) (*types.Transaction, error)

ExecuteMessageWithTransfer is a paid mutator transaction binding the contract method 0x3f395aff.

Solidity: function executeMessageWithTransfer(bytes _message, (uint8,address,address,address,uint256,uint64,uint64,bytes32,bytes32) _transfer, bytes[] _sigs, address[] _signers, uint256[] _powers) payable returns()

func (*MessageBusReceiverTransactor) ExecuteMessageWithTransferRefund

func (_MessageBusReceiver *MessageBusReceiverTransactor) ExecuteMessageWithTransferRefund(opts *bind.TransactOpts, _message []byte, _transfer MsgDataTypesTransferInfo, _sigs [][]byte, _signers []common.Address, _powers []*big.Int) (*types.Transaction, error)

ExecuteMessageWithTransferRefund is a paid mutator transaction binding the contract method 0x7b80ab20.

Solidity: function executeMessageWithTransferRefund(bytes _message, (uint8,address,address,address,uint256,uint64,uint64,bytes32,bytes32) _transfer, bytes[] _sigs, address[] _signers, uint256[] _powers) payable returns()

func (*MessageBusReceiverTransactor) RefundAndExecuteMsg

func (_MessageBusReceiver *MessageBusReceiverTransactor) RefundAndExecuteMsg(opts *bind.TransactOpts, _transferParams MsgDataTypesBridgeTransferParams, _msgParams MsgDataTypesMsgWithTransferExecutionParams) (*types.Transaction, error)

RefundAndExecuteMsg is a paid mutator transaction binding the contract method 0x40d0d026.

Solidity: function refundAndExecuteMsg((bytes,bytes[],address[],uint256[]) _transferParams, (bytes,(uint8,address,address,address,uint256,uint64,uint64,bytes32,bytes32),bytes[],address[],uint256[]) _msgParams) returns()

func (*MessageBusReceiverTransactor) SetLiquidityBridge

func (_MessageBusReceiver *MessageBusReceiverTransactor) SetLiquidityBridge(opts *bind.TransactOpts, _addr common.Address) (*types.Transaction, error)

SetLiquidityBridge is a paid mutator transaction binding the contract method 0x588be02b.

Solidity: function setLiquidityBridge(address _addr) returns()

func (*MessageBusReceiverTransactor) SetPegBridge

func (_MessageBusReceiver *MessageBusReceiverTransactor) SetPegBridge(opts *bind.TransactOpts, _addr common.Address) (*types.Transaction, error)

SetPegBridge is a paid mutator transaction binding the contract method 0x03cbfe66.

Solidity: function setPegBridge(address _addr) returns()

func (*MessageBusReceiverTransactor) SetPegBridgeV2

func (_MessageBusReceiver *MessageBusReceiverTransactor) SetPegBridgeV2(opts *bind.TransactOpts, _addr common.Address) (*types.Transaction, error)

SetPegBridgeV2 is a paid mutator transaction binding the contract method 0x82efd502.

Solidity: function setPegBridgeV2(address _addr) returns()

func (*MessageBusReceiverTransactor) SetPegVault

func (_MessageBusReceiver *MessageBusReceiverTransactor) SetPegVault(opts *bind.TransactOpts, _addr common.Address) (*types.Transaction, error)

SetPegVault is a paid mutator transaction binding the contract method 0x9b05a775.

Solidity: function setPegVault(address _addr) returns()

func (*MessageBusReceiverTransactor) SetPegVaultV2

func (_MessageBusReceiver *MessageBusReceiverTransactor) SetPegVaultV2(opts *bind.TransactOpts, _addr common.Address) (*types.Transaction, error)

SetPegVaultV2 is a paid mutator transaction binding the contract method 0xf83b0fb9.

Solidity: function setPegVaultV2(address _addr) returns()

func (*MessageBusReceiverTransactor) SetPreExecuteMessageGasUsage

func (_MessageBusReceiver *MessageBusReceiverTransactor) SetPreExecuteMessageGasUsage(opts *bind.TransactOpts, _usage *big.Int) (*types.Transaction, error)

SetPreExecuteMessageGasUsage is a paid mutator transaction binding the contract method 0x4586f331.

Solidity: function setPreExecuteMessageGasUsage(uint256 _usage) returns()

func (*MessageBusReceiverTransactor) TransferAndExecuteMsg

func (_MessageBusReceiver *MessageBusReceiverTransactor) TransferAndExecuteMsg(opts *bind.TransactOpts, _transferParams MsgDataTypesBridgeTransferParams, _msgParams MsgDataTypesMsgWithTransferExecutionParams) (*types.Transaction, error)

TransferAndExecuteMsg is a paid mutator transaction binding the contract method 0x723d0a9d.

Solidity: function transferAndExecuteMsg((bytes,bytes[],address[],uint256[]) _transferParams, (bytes,(uint8,address,address,address,uint256,uint64,uint64,bytes32,bytes32),bytes[],address[],uint256[]) _msgParams) returns()

func (*MessageBusReceiverTransactor) TransferOwnership

func (_MessageBusReceiver *MessageBusReceiverTransactor) 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 MessageBusReceiverTransactorRaw

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

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

func (*MessageBusReceiverTransactorRaw) Transact

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

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

func (*MessageBusReceiverTransactorRaw) Transfer

func (_MessageBusReceiver *MessageBusReceiverTransactorRaw) 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 MessageBusReceiverTransactorSession

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

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

func (*MessageBusReceiverTransactorSession) ExecuteMessage

func (_MessageBusReceiver *MessageBusReceiverTransactorSession) ExecuteMessage(_message []byte, _route MsgDataTypesRouteInfo, _sigs [][]byte, _signers []common.Address, _powers []*big.Int) (*types.Transaction, error)

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

Solidity: function executeMessage(bytes _message, (address,address,uint64,bytes32) _route, bytes[] _sigs, address[] _signers, uint256[] _powers) payable returns()

func (*MessageBusReceiverTransactorSession) ExecuteMessage0

func (_MessageBusReceiver *MessageBusReceiverTransactorSession) ExecuteMessage0(_message []byte, _route MsgDataTypesRouteInfo2, _sigs [][]byte, _signers []common.Address, _powers []*big.Int) (*types.Transaction, error)

ExecuteMessage0 is a paid mutator transaction binding the contract method 0xdb2c20c8.

Solidity: function executeMessage(bytes _message, (bytes,address,uint64,bytes32) _route, bytes[] _sigs, address[] _signers, uint256[] _powers) payable returns()

func (*MessageBusReceiverTransactorSession) ExecuteMessageWithTransfer

func (_MessageBusReceiver *MessageBusReceiverTransactorSession) ExecuteMessageWithTransfer(_message []byte, _transfer MsgDataTypesTransferInfo, _sigs [][]byte, _signers []common.Address, _powers []*big.Int) (*types.Transaction, error)

ExecuteMessageWithTransfer is a paid mutator transaction binding the contract method 0x3f395aff.

Solidity: function executeMessageWithTransfer(bytes _message, (uint8,address,address,address,uint256,uint64,uint64,bytes32,bytes32) _transfer, bytes[] _sigs, address[] _signers, uint256[] _powers) payable returns()

func (*MessageBusReceiverTransactorSession) ExecuteMessageWithTransferRefund

func (_MessageBusReceiver *MessageBusReceiverTransactorSession) ExecuteMessageWithTransferRefund(_message []byte, _transfer MsgDataTypesTransferInfo, _sigs [][]byte, _signers []common.Address, _powers []*big.Int) (*types.Transaction, error)

ExecuteMessageWithTransferRefund is a paid mutator transaction binding the contract method 0x7b80ab20.

Solidity: function executeMessageWithTransferRefund(bytes _message, (uint8,address,address,address,uint256,uint64,uint64,bytes32,bytes32) _transfer, bytes[] _sigs, address[] _signers, uint256[] _powers) payable returns()

func (*MessageBusReceiverTransactorSession) RefundAndExecuteMsg

func (_MessageBusReceiver *MessageBusReceiverTransactorSession) RefundAndExecuteMsg(_transferParams MsgDataTypesBridgeTransferParams, _msgParams MsgDataTypesMsgWithTransferExecutionParams) (*types.Transaction, error)

RefundAndExecuteMsg is a paid mutator transaction binding the contract method 0x40d0d026.

Solidity: function refundAndExecuteMsg((bytes,bytes[],address[],uint256[]) _transferParams, (bytes,(uint8,address,address,address,uint256,uint64,uint64,bytes32,bytes32),bytes[],address[],uint256[]) _msgParams) returns()

func (*MessageBusReceiverTransactorSession) SetLiquidityBridge

func (_MessageBusReceiver *MessageBusReceiverTransactorSession) SetLiquidityBridge(_addr common.Address) (*types.Transaction, error)

SetLiquidityBridge is a paid mutator transaction binding the contract method 0x588be02b.

Solidity: function setLiquidityBridge(address _addr) returns()

func (*MessageBusReceiverTransactorSession) SetPegBridge

func (_MessageBusReceiver *MessageBusReceiverTransactorSession) SetPegBridge(_addr common.Address) (*types.Transaction, error)

SetPegBridge is a paid mutator transaction binding the contract method 0x03cbfe66.

Solidity: function setPegBridge(address _addr) returns()

func (*MessageBusReceiverTransactorSession) SetPegBridgeV2

func (_MessageBusReceiver *MessageBusReceiverTransactorSession) SetPegBridgeV2(_addr common.Address) (*types.Transaction, error)

SetPegBridgeV2 is a paid mutator transaction binding the contract method 0x82efd502.

Solidity: function setPegBridgeV2(address _addr) returns()

func (*MessageBusReceiverTransactorSession) SetPegVault

func (_MessageBusReceiver *MessageBusReceiverTransactorSession) SetPegVault(_addr common.Address) (*types.Transaction, error)

SetPegVault is a paid mutator transaction binding the contract method 0x9b05a775.

Solidity: function setPegVault(address _addr) returns()

func (*MessageBusReceiverTransactorSession) SetPegVaultV2

func (_MessageBusReceiver *MessageBusReceiverTransactorSession) SetPegVaultV2(_addr common.Address) (*types.Transaction, error)

SetPegVaultV2 is a paid mutator transaction binding the contract method 0xf83b0fb9.

Solidity: function setPegVaultV2(address _addr) returns()

func (*MessageBusReceiverTransactorSession) SetPreExecuteMessageGasUsage

func (_MessageBusReceiver *MessageBusReceiverTransactorSession) SetPreExecuteMessageGasUsage(_usage *big.Int) (*types.Transaction, error)

SetPreExecuteMessageGasUsage is a paid mutator transaction binding the contract method 0x4586f331.

Solidity: function setPreExecuteMessageGasUsage(uint256 _usage) returns()

func (*MessageBusReceiverTransactorSession) TransferAndExecuteMsg

func (_MessageBusReceiver *MessageBusReceiverTransactorSession) TransferAndExecuteMsg(_transferParams MsgDataTypesBridgeTransferParams, _msgParams MsgDataTypesMsgWithTransferExecutionParams) (*types.Transaction, error)

TransferAndExecuteMsg is a paid mutator transaction binding the contract method 0x723d0a9d.

Solidity: function transferAndExecuteMsg((bytes,bytes[],address[],uint256[]) _transferParams, (bytes,(uint8,address,address,address,uint256,uint64,uint64,bytes32,bytes32),bytes[],address[],uint256[]) _msgParams) returns()

func (*MessageBusReceiverTransactorSession) TransferOwnership

func (_MessageBusReceiver *MessageBusReceiverTransactorSession) 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 MessageBusSender

type MessageBusSender struct {
	MessageBusSenderCaller     // Read-only binding to the contract
	MessageBusSenderTransactor // Write-only binding to the contract
	MessageBusSenderFilterer   // Log filterer for contract events
}

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

func DeployMessageBusSender

func DeployMessageBusSender(auth *bind.TransactOpts, backend bind.ContractBackend, _sigsVerifier common.Address) (common.Address, *types.Transaction, *MessageBusSender, error)

DeployMessageBusSender deploys a new Ethereum contract, binding an instance of MessageBusSender to it.

func NewMessageBusSender

func NewMessageBusSender(address common.Address, backend bind.ContractBackend) (*MessageBusSender, error)

NewMessageBusSender creates a new instance of MessageBusSender, bound to a specific deployed contract.

type MessageBusSenderCaller

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

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

func NewMessageBusSenderCaller

func NewMessageBusSenderCaller(address common.Address, caller bind.ContractCaller) (*MessageBusSenderCaller, error)

NewMessageBusSenderCaller creates a new read-only instance of MessageBusSender, bound to a specific deployed contract.

func (*MessageBusSenderCaller) CalcFee

func (_MessageBusSender *MessageBusSenderCaller) CalcFee(opts *bind.CallOpts, _message []byte) (*big.Int, error)

CalcFee is a free data retrieval call binding the contract method 0x5335dca2.

Solidity: function calcFee(bytes _message) view returns(uint256)

func (*MessageBusSenderCaller) FeeBase

func (_MessageBusSender *MessageBusSenderCaller) FeeBase(opts *bind.CallOpts) (*big.Int, error)

FeeBase is a free data retrieval call binding the contract method 0x95e911a8.

Solidity: function feeBase() view returns(uint256)

func (*MessageBusSenderCaller) FeePerByte

func (_MessageBusSender *MessageBusSenderCaller) FeePerByte(opts *bind.CallOpts) (*big.Int, error)

FeePerByte is a free data retrieval call binding the contract method 0xf60bbe2a.

Solidity: function feePerByte() view returns(uint256)

func (*MessageBusSenderCaller) Owner

func (_MessageBusSender *MessageBusSenderCaller) 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 (*MessageBusSenderCaller) SigsVerifier

func (_MessageBusSender *MessageBusSenderCaller) SigsVerifier(opts *bind.CallOpts) (common.Address, error)

SigsVerifier is a free data retrieval call binding the contract method 0xccf2683b.

Solidity: function sigsVerifier() view returns(address)

func (*MessageBusSenderCaller) WithdrawnFees

func (_MessageBusSender *MessageBusSenderCaller) WithdrawnFees(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)

WithdrawnFees is a free data retrieval call binding the contract method 0x5b3e5f50.

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

type MessageBusSenderCallerRaw

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

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

func (*MessageBusSenderCallerRaw) Call

func (_MessageBusSender *MessageBusSenderCallerRaw) 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 MessageBusSenderCallerSession

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

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

func (*MessageBusSenderCallerSession) CalcFee

func (_MessageBusSender *MessageBusSenderCallerSession) CalcFee(_message []byte) (*big.Int, error)

CalcFee is a free data retrieval call binding the contract method 0x5335dca2.

Solidity: function calcFee(bytes _message) view returns(uint256)

func (*MessageBusSenderCallerSession) FeeBase

func (_MessageBusSender *MessageBusSenderCallerSession) FeeBase() (*big.Int, error)

FeeBase is a free data retrieval call binding the contract method 0x95e911a8.

Solidity: function feeBase() view returns(uint256)

func (*MessageBusSenderCallerSession) FeePerByte

func (_MessageBusSender *MessageBusSenderCallerSession) FeePerByte() (*big.Int, error)

FeePerByte is a free data retrieval call binding the contract method 0xf60bbe2a.

Solidity: function feePerByte() view returns(uint256)

func (*MessageBusSenderCallerSession) Owner

func (_MessageBusSender *MessageBusSenderCallerSession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*MessageBusSenderCallerSession) SigsVerifier

func (_MessageBusSender *MessageBusSenderCallerSession) SigsVerifier() (common.Address, error)

SigsVerifier is a free data retrieval call binding the contract method 0xccf2683b.

Solidity: function sigsVerifier() view returns(address)

func (*MessageBusSenderCallerSession) WithdrawnFees

func (_MessageBusSender *MessageBusSenderCallerSession) WithdrawnFees(arg0 common.Address) (*big.Int, error)

WithdrawnFees is a free data retrieval call binding the contract method 0x5b3e5f50.

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

type MessageBusSenderFeeBaseUpdated

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

MessageBusSenderFeeBaseUpdated represents a FeeBaseUpdated event raised by the MessageBusSender contract.

type MessageBusSenderFeeBaseUpdatedIterator

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

MessageBusSenderFeeBaseUpdatedIterator is returned from FilterFeeBaseUpdated and is used to iterate over the raw logs and unpacked data for FeeBaseUpdated events raised by the MessageBusSender contract.

func (*MessageBusSenderFeeBaseUpdatedIterator) Close

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

func (*MessageBusSenderFeeBaseUpdatedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*MessageBusSenderFeeBaseUpdatedIterator) 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 MessageBusSenderFeePerByteUpdated

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

MessageBusSenderFeePerByteUpdated represents a FeePerByteUpdated event raised by the MessageBusSender contract.

type MessageBusSenderFeePerByteUpdatedIterator

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

MessageBusSenderFeePerByteUpdatedIterator is returned from FilterFeePerByteUpdated and is used to iterate over the raw logs and unpacked data for FeePerByteUpdated events raised by the MessageBusSender contract.

func (*MessageBusSenderFeePerByteUpdatedIterator) Close

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

func (*MessageBusSenderFeePerByteUpdatedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*MessageBusSenderFeePerByteUpdatedIterator) 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 MessageBusSenderFeeWithdrawn

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

MessageBusSenderFeeWithdrawn represents a FeeWithdrawn event raised by the MessageBusSender contract.

type MessageBusSenderFeeWithdrawnIterator

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

MessageBusSenderFeeWithdrawnIterator is returned from FilterFeeWithdrawn and is used to iterate over the raw logs and unpacked data for FeeWithdrawn events raised by the MessageBusSender contract.

func (*MessageBusSenderFeeWithdrawnIterator) Close

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

func (*MessageBusSenderFeeWithdrawnIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*MessageBusSenderFeeWithdrawnIterator) 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 MessageBusSenderFilterer

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

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

func NewMessageBusSenderFilterer

func NewMessageBusSenderFilterer(address common.Address, filterer bind.ContractFilterer) (*MessageBusSenderFilterer, error)

NewMessageBusSenderFilterer creates a new log filterer instance of MessageBusSender, bound to a specific deployed contract.

func (*MessageBusSenderFilterer) FilterFeeBaseUpdated

func (_MessageBusSender *MessageBusSenderFilterer) FilterFeeBaseUpdated(opts *bind.FilterOpts) (*MessageBusSenderFeeBaseUpdatedIterator, error)

FilterFeeBaseUpdated is a free log retrieval operation binding the contract event 0x892dfdc99ecd3bb4f2f2cb118dca02f0bd16640ff156d3c6459d4282e336a5f2.

Solidity: event FeeBaseUpdated(uint256 feeBase)

func (*MessageBusSenderFilterer) FilterFeePerByteUpdated

func (_MessageBusSender *MessageBusSenderFilterer) FilterFeePerByteUpdated(opts *bind.FilterOpts) (*MessageBusSenderFeePerByteUpdatedIterator, error)

FilterFeePerByteUpdated is a free log retrieval operation binding the contract event 0x210d4d5d2d36d571207dac98e383e2441c684684c885fb2d7c54f8d24422074c.

Solidity: event FeePerByteUpdated(uint256 feePerByte)

func (*MessageBusSenderFilterer) FilterFeeWithdrawn

func (_MessageBusSender *MessageBusSenderFilterer) FilterFeeWithdrawn(opts *bind.FilterOpts) (*MessageBusSenderFeeWithdrawnIterator, error)

FilterFeeWithdrawn is a free log retrieval operation binding the contract event 0x78473f3f373f7673597f4f0fa5873cb4d375fea6d4339ad6b56dbd411513cb3f.

Solidity: event FeeWithdrawn(address receiver, uint256 amount)

func (*MessageBusSenderFilterer) FilterMessage

func (_MessageBusSender *MessageBusSenderFilterer) FilterMessage(opts *bind.FilterOpts, sender []common.Address) (*MessageBusSenderMessageIterator, error)

FilterMessage is a free log retrieval operation binding the contract event 0xce3972bfffe49d317e1d128047a97a3d86b25c94f6f04409f988ef854d25e0e4.

Solidity: event Message(address indexed sender, address receiver, uint256 dstChainId, bytes message, uint256 fee)

func (*MessageBusSenderFilterer) FilterMessage2

func (_MessageBusSender *MessageBusSenderFilterer) FilterMessage2(opts *bind.FilterOpts, sender []common.Address) (*MessageBusSenderMessage2Iterator, error)

FilterMessage2 is a free log retrieval operation binding the contract event 0xe66fbe37d84ca73c589f782ac278844918ea6c56a4917f58707f715588080df2.

Solidity: event Message2(address indexed sender, bytes receiver, uint256 dstChainId, bytes message, uint256 fee)

func (*MessageBusSenderFilterer) FilterMessageWithTransfer

func (_MessageBusSender *MessageBusSenderFilterer) FilterMessageWithTransfer(opts *bind.FilterOpts, sender []common.Address) (*MessageBusSenderMessageWithTransferIterator, error)

FilterMessageWithTransfer is a free log retrieval operation binding the contract event 0x172762498a59a3bc4fed3f2b63f94f17ea0193cffdc304fe7d3eaf4d342d2f66.

Solidity: event MessageWithTransfer(address indexed sender, address receiver, uint256 dstChainId, address bridge, bytes32 srcTransferId, bytes message, uint256 fee)

func (*MessageBusSenderFilterer) FilterOwnershipTransferred

func (_MessageBusSender *MessageBusSenderFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*MessageBusSenderOwnershipTransferredIterator, error)

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

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

func (*MessageBusSenderFilterer) ParseFeeBaseUpdated

func (_MessageBusSender *MessageBusSenderFilterer) ParseFeeBaseUpdated(log types.Log) (*MessageBusSenderFeeBaseUpdated, error)

ParseFeeBaseUpdated is a log parse operation binding the contract event 0x892dfdc99ecd3bb4f2f2cb118dca02f0bd16640ff156d3c6459d4282e336a5f2.

Solidity: event FeeBaseUpdated(uint256 feeBase)

func (*MessageBusSenderFilterer) ParseFeePerByteUpdated

func (_MessageBusSender *MessageBusSenderFilterer) ParseFeePerByteUpdated(log types.Log) (*MessageBusSenderFeePerByteUpdated, error)

ParseFeePerByteUpdated is a log parse operation binding the contract event 0x210d4d5d2d36d571207dac98e383e2441c684684c885fb2d7c54f8d24422074c.

Solidity: event FeePerByteUpdated(uint256 feePerByte)

func (*MessageBusSenderFilterer) ParseFeeWithdrawn

func (_MessageBusSender *MessageBusSenderFilterer) ParseFeeWithdrawn(log types.Log) (*MessageBusSenderFeeWithdrawn, error)

ParseFeeWithdrawn is a log parse operation binding the contract event 0x78473f3f373f7673597f4f0fa5873cb4d375fea6d4339ad6b56dbd411513cb3f.

Solidity: event FeeWithdrawn(address receiver, uint256 amount)

func (*MessageBusSenderFilterer) ParseMessage

func (_MessageBusSender *MessageBusSenderFilterer) ParseMessage(log types.Log) (*MessageBusSenderMessage, error)

ParseMessage is a log parse operation binding the contract event 0xce3972bfffe49d317e1d128047a97a3d86b25c94f6f04409f988ef854d25e0e4.

Solidity: event Message(address indexed sender, address receiver, uint256 dstChainId, bytes message, uint256 fee)

func (*MessageBusSenderFilterer) ParseMessage2

func (_MessageBusSender *MessageBusSenderFilterer) ParseMessage2(log types.Log) (*MessageBusSenderMessage2, error)

ParseMessage2 is a log parse operation binding the contract event 0xe66fbe37d84ca73c589f782ac278844918ea6c56a4917f58707f715588080df2.

Solidity: event Message2(address indexed sender, bytes receiver, uint256 dstChainId, bytes message, uint256 fee)

func (*MessageBusSenderFilterer) ParseMessageWithTransfer

func (_MessageBusSender *MessageBusSenderFilterer) ParseMessageWithTransfer(log types.Log) (*MessageBusSenderMessageWithTransfer, error)

ParseMessageWithTransfer is a log parse operation binding the contract event 0x172762498a59a3bc4fed3f2b63f94f17ea0193cffdc304fe7d3eaf4d342d2f66.

Solidity: event MessageWithTransfer(address indexed sender, address receiver, uint256 dstChainId, address bridge, bytes32 srcTransferId, bytes message, uint256 fee)

func (*MessageBusSenderFilterer) ParseOwnershipTransferred

func (_MessageBusSender *MessageBusSenderFilterer) ParseOwnershipTransferred(log types.Log) (*MessageBusSenderOwnershipTransferred, error)

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

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

func (*MessageBusSenderFilterer) WatchFeeBaseUpdated

func (_MessageBusSender *MessageBusSenderFilterer) WatchFeeBaseUpdated(opts *bind.WatchOpts, sink chan<- *MessageBusSenderFeeBaseUpdated) (event.Subscription, error)

WatchFeeBaseUpdated is a free log subscription operation binding the contract event 0x892dfdc99ecd3bb4f2f2cb118dca02f0bd16640ff156d3c6459d4282e336a5f2.

Solidity: event FeeBaseUpdated(uint256 feeBase)

func (*MessageBusSenderFilterer) WatchFeePerByteUpdated

func (_MessageBusSender *MessageBusSenderFilterer) WatchFeePerByteUpdated(opts *bind.WatchOpts, sink chan<- *MessageBusSenderFeePerByteUpdated) (event.Subscription, error)

WatchFeePerByteUpdated is a free log subscription operation binding the contract event 0x210d4d5d2d36d571207dac98e383e2441c684684c885fb2d7c54f8d24422074c.

Solidity: event FeePerByteUpdated(uint256 feePerByte)

func (*MessageBusSenderFilterer) WatchFeeWithdrawn

func (_MessageBusSender *MessageBusSenderFilterer) WatchFeeWithdrawn(opts *bind.WatchOpts, sink chan<- *MessageBusSenderFeeWithdrawn) (event.Subscription, error)

WatchFeeWithdrawn is a free log subscription operation binding the contract event 0x78473f3f373f7673597f4f0fa5873cb4d375fea6d4339ad6b56dbd411513cb3f.

Solidity: event FeeWithdrawn(address receiver, uint256 amount)

func (*MessageBusSenderFilterer) WatchMessage

func (_MessageBusSender *MessageBusSenderFilterer) WatchMessage(opts *bind.WatchOpts, sink chan<- *MessageBusSenderMessage, sender []common.Address) (event.Subscription, error)

WatchMessage is a free log subscription operation binding the contract event 0xce3972bfffe49d317e1d128047a97a3d86b25c94f6f04409f988ef854d25e0e4.

Solidity: event Message(address indexed sender, address receiver, uint256 dstChainId, bytes message, uint256 fee)

func (*MessageBusSenderFilterer) WatchMessage2

func (_MessageBusSender *MessageBusSenderFilterer) WatchMessage2(opts *bind.WatchOpts, sink chan<- *MessageBusSenderMessage2, sender []common.Address) (event.Subscription, error)

WatchMessage2 is a free log subscription operation binding the contract event 0xe66fbe37d84ca73c589f782ac278844918ea6c56a4917f58707f715588080df2.

Solidity: event Message2(address indexed sender, bytes receiver, uint256 dstChainId, bytes message, uint256 fee)

func (*MessageBusSenderFilterer) WatchMessageWithTransfer

func (_MessageBusSender *MessageBusSenderFilterer) WatchMessageWithTransfer(opts *bind.WatchOpts, sink chan<- *MessageBusSenderMessageWithTransfer, sender []common.Address) (event.Subscription, error)

WatchMessageWithTransfer is a free log subscription operation binding the contract event 0x172762498a59a3bc4fed3f2b63f94f17ea0193cffdc304fe7d3eaf4d342d2f66.

Solidity: event MessageWithTransfer(address indexed sender, address receiver, uint256 dstChainId, address bridge, bytes32 srcTransferId, bytes message, uint256 fee)

func (*MessageBusSenderFilterer) WatchOwnershipTransferred

func (_MessageBusSender *MessageBusSenderFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *MessageBusSenderOwnershipTransferred, 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 MessageBusSenderMessage

type MessageBusSenderMessage struct {
	Sender     common.Address
	Receiver   common.Address
	DstChainId *big.Int
	Message    []byte
	Fee        *big.Int
	Raw        types.Log // Blockchain specific contextual infos
}

MessageBusSenderMessage represents a Message event raised by the MessageBusSender contract.

type MessageBusSenderMessage2

type MessageBusSenderMessage2 struct {
	Sender     common.Address
	Receiver   []byte
	DstChainId *big.Int
	Message    []byte
	Fee        *big.Int
	Raw        types.Log // Blockchain specific contextual infos
}

MessageBusSenderMessage2 represents a Message2 event raised by the MessageBusSender contract.

type MessageBusSenderMessage2Iterator

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

MessageBusSenderMessage2Iterator is returned from FilterMessage2 and is used to iterate over the raw logs and unpacked data for Message2 events raised by the MessageBusSender contract.

func (*MessageBusSenderMessage2Iterator) Close

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

func (*MessageBusSenderMessage2Iterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*MessageBusSenderMessage2Iterator) 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 MessageBusSenderMessageIterator

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

MessageBusSenderMessageIterator is returned from FilterMessage and is used to iterate over the raw logs and unpacked data for Message events raised by the MessageBusSender contract.

func (*MessageBusSenderMessageIterator) Close

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

func (*MessageBusSenderMessageIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*MessageBusSenderMessageIterator) 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 MessageBusSenderMessageWithTransfer

type MessageBusSenderMessageWithTransfer struct {
	Sender        common.Address
	Receiver      common.Address
	DstChainId    *big.Int
	Bridge        common.Address
	SrcTransferId [32]byte
	Message       []byte
	Fee           *big.Int
	Raw           types.Log // Blockchain specific contextual infos
}

MessageBusSenderMessageWithTransfer represents a MessageWithTransfer event raised by the MessageBusSender contract.

type MessageBusSenderMessageWithTransferIterator

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

MessageBusSenderMessageWithTransferIterator is returned from FilterMessageWithTransfer and is used to iterate over the raw logs and unpacked data for MessageWithTransfer events raised by the MessageBusSender contract.

func (*MessageBusSenderMessageWithTransferIterator) Close

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

func (*MessageBusSenderMessageWithTransferIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*MessageBusSenderMessageWithTransferIterator) 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 MessageBusSenderOwnershipTransferred

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

MessageBusSenderOwnershipTransferred represents a OwnershipTransferred event raised by the MessageBusSender contract.

type MessageBusSenderOwnershipTransferredIterator

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

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

func (*MessageBusSenderOwnershipTransferredIterator) Close

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

func (*MessageBusSenderOwnershipTransferredIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*MessageBusSenderOwnershipTransferredIterator) 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 MessageBusSenderRaw

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

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

func (*MessageBusSenderRaw) Call

func (_MessageBusSender *MessageBusSenderRaw) 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 (*MessageBusSenderRaw) Transact

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

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

func (*MessageBusSenderRaw) Transfer

func (_MessageBusSender *MessageBusSenderRaw) 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 MessageBusSenderSession

type MessageBusSenderSession struct {
	Contract     *MessageBusSender // 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
}

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

func (*MessageBusSenderSession) CalcFee

func (_MessageBusSender *MessageBusSenderSession) CalcFee(_message []byte) (*big.Int, error)

CalcFee is a free data retrieval call binding the contract method 0x5335dca2.

Solidity: function calcFee(bytes _message) view returns(uint256)

func (*MessageBusSenderSession) FeeBase

func (_MessageBusSender *MessageBusSenderSession) FeeBase() (*big.Int, error)

FeeBase is a free data retrieval call binding the contract method 0x95e911a8.

Solidity: function feeBase() view returns(uint256)

func (*MessageBusSenderSession) FeePerByte

func (_MessageBusSender *MessageBusSenderSession) FeePerByte() (*big.Int, error)

FeePerByte is a free data retrieval call binding the contract method 0xf60bbe2a.

Solidity: function feePerByte() view returns(uint256)

func (*MessageBusSenderSession) Owner

func (_MessageBusSender *MessageBusSenderSession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*MessageBusSenderSession) SendMessage

func (_MessageBusSender *MessageBusSenderSession) SendMessage(_receiver []byte, _dstChainId *big.Int, _message []byte) (*types.Transaction, error)

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

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

func (*MessageBusSenderSession) SendMessage0

func (_MessageBusSender *MessageBusSenderSession) SendMessage0(_receiver common.Address, _dstChainId *big.Int, _message []byte) (*types.Transaction, error)

SendMessage0 is a paid mutator transaction binding the contract method 0x9f3ce55a.

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

func (*MessageBusSenderSession) SendMessageWithTransfer

func (_MessageBusSender *MessageBusSenderSession) SendMessageWithTransfer(_receiver common.Address, _dstChainId *big.Int, _srcBridge common.Address, _srcTransferId [32]byte, _message []byte) (*types.Transaction, error)

SendMessageWithTransfer is a paid mutator transaction binding the contract method 0x4289fbb3.

Solidity: function sendMessageWithTransfer(address _receiver, uint256 _dstChainId, address _srcBridge, bytes32 _srcTransferId, bytes _message) payable returns()

func (*MessageBusSenderSession) SetFeeBase

func (_MessageBusSender *MessageBusSenderSession) SetFeeBase(_fee *big.Int) (*types.Transaction, error)

SetFeeBase is a paid mutator transaction binding the contract method 0x06c28bd6.

Solidity: function setFeeBase(uint256 _fee) returns()

func (*MessageBusSenderSession) SetFeePerByte

func (_MessageBusSender *MessageBusSenderSession) SetFeePerByte(_fee *big.Int) (*types.Transaction, error)

SetFeePerByte is a paid mutator transaction binding the contract method 0xe2c1ed25.

Solidity: function setFeePerByte(uint256 _fee) returns()

func (*MessageBusSenderSession) SigsVerifier

func (_MessageBusSender *MessageBusSenderSession) SigsVerifier() (common.Address, error)

SigsVerifier is a free data retrieval call binding the contract method 0xccf2683b.

Solidity: function sigsVerifier() view returns(address)

func (*MessageBusSenderSession) TransferOwnership

func (_MessageBusSender *MessageBusSenderSession) 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 (*MessageBusSenderSession) WithdrawFee

func (_MessageBusSender *MessageBusSenderSession) WithdrawFee(_account common.Address, _cumulativeFee *big.Int, _sigs [][]byte, _signers []common.Address, _powers []*big.Int) (*types.Transaction, error)

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

Solidity: function withdrawFee(address _account, uint256 _cumulativeFee, bytes[] _sigs, address[] _signers, uint256[] _powers) returns()

func (*MessageBusSenderSession) WithdrawnFees

func (_MessageBusSender *MessageBusSenderSession) WithdrawnFees(arg0 common.Address) (*big.Int, error)

WithdrawnFees is a free data retrieval call binding the contract method 0x5b3e5f50.

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

type MessageBusSenderTransactor

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

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

func NewMessageBusSenderTransactor

func NewMessageBusSenderTransactor(address common.Address, transactor bind.ContractTransactor) (*MessageBusSenderTransactor, error)

NewMessageBusSenderTransactor creates a new write-only instance of MessageBusSender, bound to a specific deployed contract.

func (*MessageBusSenderTransactor) SendMessage

func (_MessageBusSender *MessageBusSenderTransactor) SendMessage(opts *bind.TransactOpts, _receiver []byte, _dstChainId *big.Int, _message []byte) (*types.Transaction, error)

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

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

func (*MessageBusSenderTransactor) SendMessage0

func (_MessageBusSender *MessageBusSenderTransactor) SendMessage0(opts *bind.TransactOpts, _receiver common.Address, _dstChainId *big.Int, _message []byte) (*types.Transaction, error)

SendMessage0 is a paid mutator transaction binding the contract method 0x9f3ce55a.

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

func (*MessageBusSenderTransactor) SendMessageWithTransfer

func (_MessageBusSender *MessageBusSenderTransactor) SendMessageWithTransfer(opts *bind.TransactOpts, _receiver common.Address, _dstChainId *big.Int, _srcBridge common.Address, _srcTransferId [32]byte, _message []byte) (*types.Transaction, error)

SendMessageWithTransfer is a paid mutator transaction binding the contract method 0x4289fbb3.

Solidity: function sendMessageWithTransfer(address _receiver, uint256 _dstChainId, address _srcBridge, bytes32 _srcTransferId, bytes _message) payable returns()

func (*MessageBusSenderTransactor) SetFeeBase

func (_MessageBusSender *MessageBusSenderTransactor) SetFeeBase(opts *bind.TransactOpts, _fee *big.Int) (*types.Transaction, error)

SetFeeBase is a paid mutator transaction binding the contract method 0x06c28bd6.

Solidity: function setFeeBase(uint256 _fee) returns()

func (*MessageBusSenderTransactor) SetFeePerByte

func (_MessageBusSender *MessageBusSenderTransactor) SetFeePerByte(opts *bind.TransactOpts, _fee *big.Int) (*types.Transaction, error)

SetFeePerByte is a paid mutator transaction binding the contract method 0xe2c1ed25.

Solidity: function setFeePerByte(uint256 _fee) returns()

func (*MessageBusSenderTransactor) TransferOwnership

func (_MessageBusSender *MessageBusSenderTransactor) 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 (*MessageBusSenderTransactor) WithdrawFee

func (_MessageBusSender *MessageBusSenderTransactor) WithdrawFee(opts *bind.TransactOpts, _account common.Address, _cumulativeFee *big.Int, _sigs [][]byte, _signers []common.Address, _powers []*big.Int) (*types.Transaction, error)

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

Solidity: function withdrawFee(address _account, uint256 _cumulativeFee, bytes[] _sigs, address[] _signers, uint256[] _powers) returns()

type MessageBusSenderTransactorRaw

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

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

func (*MessageBusSenderTransactorRaw) Transact

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

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

func (*MessageBusSenderTransactorRaw) Transfer

func (_MessageBusSender *MessageBusSenderTransactorRaw) 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 MessageBusSenderTransactorSession

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

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

func (*MessageBusSenderTransactorSession) SendMessage

func (_MessageBusSender *MessageBusSenderTransactorSession) SendMessage(_receiver []byte, _dstChainId *big.Int, _message []byte) (*types.Transaction, error)

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

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

func (*MessageBusSenderTransactorSession) SendMessage0

func (_MessageBusSender *MessageBusSenderTransactorSession) SendMessage0(_receiver common.Address, _dstChainId *big.Int, _message []byte) (*types.Transaction, error)

SendMessage0 is a paid mutator transaction binding the contract method 0x9f3ce55a.

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

func (*MessageBusSenderTransactorSession) SendMessageWithTransfer

func (_MessageBusSender *MessageBusSenderTransactorSession) SendMessageWithTransfer(_receiver common.Address, _dstChainId *big.Int, _srcBridge common.Address, _srcTransferId [32]byte, _message []byte) (*types.Transaction, error)

SendMessageWithTransfer is a paid mutator transaction binding the contract method 0x4289fbb3.

Solidity: function sendMessageWithTransfer(address _receiver, uint256 _dstChainId, address _srcBridge, bytes32 _srcTransferId, bytes _message) payable returns()

func (*MessageBusSenderTransactorSession) SetFeeBase

func (_MessageBusSender *MessageBusSenderTransactorSession) SetFeeBase(_fee *big.Int) (*types.Transaction, error)

SetFeeBase is a paid mutator transaction binding the contract method 0x06c28bd6.

Solidity: function setFeeBase(uint256 _fee) returns()

func (*MessageBusSenderTransactorSession) SetFeePerByte

func (_MessageBusSender *MessageBusSenderTransactorSession) SetFeePerByte(_fee *big.Int) (*types.Transaction, error)

SetFeePerByte is a paid mutator transaction binding the contract method 0xe2c1ed25.

Solidity: function setFeePerByte(uint256 _fee) returns()

func (*MessageBusSenderTransactorSession) TransferOwnership

func (_MessageBusSender *MessageBusSenderTransactorSession) 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 (*MessageBusSenderTransactorSession) WithdrawFee

func (_MessageBusSender *MessageBusSenderTransactorSession) WithdrawFee(_account common.Address, _cumulativeFee *big.Int, _sigs [][]byte, _signers []common.Address, _powers []*big.Int) (*types.Transaction, error)

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

Solidity: function withdrawFee(address _account, uint256 _cumulativeFee, bytes[] _sigs, address[] _signers, uint256[] _powers) returns()

type MessageBusSession

type MessageBusSession struct {
	Contract     *MessageBus       // 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
}

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

func (*MessageBusSession) CalcFee

func (_MessageBus *MessageBusSession) CalcFee(_message []byte) (*big.Int, error)

CalcFee is a free data retrieval call binding the contract method 0x5335dca2.

Solidity: function calcFee(bytes _message) view returns(uint256)

func (*MessageBusSession) ExecuteMessage

func (_MessageBus *MessageBusSession) ExecuteMessage(_message []byte, _route MsgDataTypesRouteInfo, _sigs [][]byte, _signers []common.Address, _powers []*big.Int) (*types.Transaction, error)

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

Solidity: function executeMessage(bytes _message, (address,address,uint64,bytes32) _route, bytes[] _sigs, address[] _signers, uint256[] _powers) payable returns()

func (*MessageBusSession) ExecuteMessage0

func (_MessageBus *MessageBusSession) ExecuteMessage0(_message []byte, _route MsgDataTypesRouteInfo2, _sigs [][]byte, _signers []common.Address, _powers []*big.Int) (*types.Transaction, error)

ExecuteMessage0 is a paid mutator transaction binding the contract method 0xdb2c20c8.

Solidity: function executeMessage(bytes _message, (bytes,address,uint64,bytes32) _route, bytes[] _sigs, address[] _signers, uint256[] _powers) payable returns()

func (*MessageBusSession) ExecuteMessageWithTransfer

func (_MessageBus *MessageBusSession) ExecuteMessageWithTransfer(_message []byte, _transfer MsgDataTypesTransferInfo, _sigs [][]byte, _signers []common.Address, _powers []*big.Int) (*types.Transaction, error)

ExecuteMessageWithTransfer is a paid mutator transaction binding the contract method 0x3f395aff.

Solidity: function executeMessageWithTransfer(bytes _message, (uint8,address,address,address,uint256,uint64,uint64,bytes32,bytes32) _transfer, bytes[] _sigs, address[] _signers, uint256[] _powers) payable returns()

func (*MessageBusSession) ExecuteMessageWithTransferRefund

func (_MessageBus *MessageBusSession) ExecuteMessageWithTransferRefund(_message []byte, _transfer MsgDataTypesTransferInfo, _sigs [][]byte, _signers []common.Address, _powers []*big.Int) (*types.Transaction, error)

ExecuteMessageWithTransferRefund is a paid mutator transaction binding the contract method 0x7b80ab20.

Solidity: function executeMessageWithTransferRefund(bytes _message, (uint8,address,address,address,uint256,uint64,uint64,bytes32,bytes32) _transfer, bytes[] _sigs, address[] _signers, uint256[] _powers) payable returns()

func (*MessageBusSession) ExecutedMessages

func (_MessageBus *MessageBusSession) ExecutedMessages(arg0 [32]byte) (uint8, error)

ExecutedMessages is a free data retrieval call binding the contract method 0xcd2abd66.

Solidity: function executedMessages(bytes32 ) view returns(uint8)

func (*MessageBusSession) FeeBase

func (_MessageBus *MessageBusSession) FeeBase() (*big.Int, error)

FeeBase is a free data retrieval call binding the contract method 0x95e911a8.

Solidity: function feeBase() view returns(uint256)

func (*MessageBusSession) FeePerByte

func (_MessageBus *MessageBusSession) FeePerByte() (*big.Int, error)

FeePerByte is a free data retrieval call binding the contract method 0xf60bbe2a.

Solidity: function feePerByte() view returns(uint256)

func (*MessageBusSession) Init

func (_MessageBus *MessageBusSession) Init(_liquidityBridge common.Address, _pegBridge common.Address, _pegVault common.Address, _pegBridgeV2 common.Address, _pegVaultV2 common.Address) (*types.Transaction, error)

Init is a paid mutator transaction binding the contract method 0x359ef75b.

Solidity: function init(address _liquidityBridge, address _pegBridge, address _pegVault, address _pegBridgeV2, address _pegVaultV2) returns()

func (*MessageBusSession) LiquidityBridge

func (_MessageBus *MessageBusSession) LiquidityBridge() (common.Address, error)

LiquidityBridge is a free data retrieval call binding the contract method 0x82980dc4.

Solidity: function liquidityBridge() view returns(address)

func (*MessageBusSession) Owner

func (_MessageBus *MessageBusSession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*MessageBusSession) PegBridge

func (_MessageBus *MessageBusSession) PegBridge() (common.Address, error)

PegBridge is a free data retrieval call binding the contract method 0xdfa2dbaf.

Solidity: function pegBridge() view returns(address)

func (*MessageBusSession) PegBridgeV2

func (_MessageBus *MessageBusSession) PegBridgeV2() (common.Address, error)

PegBridgeV2 is a free data retrieval call binding the contract method 0x95b12c27.

Solidity: function pegBridgeV2() view returns(address)

func (*MessageBusSession) PegVault

func (_MessageBus *MessageBusSession) PegVault() (common.Address, error)

PegVault is a free data retrieval call binding the contract method 0xd8257d17.

Solidity: function pegVault() view returns(address)

func (*MessageBusSession) PegVaultV2

func (_MessageBus *MessageBusSession) PegVaultV2() (common.Address, error)

PegVaultV2 is a free data retrieval call binding the contract method 0xc66a9c5a.

Solidity: function pegVaultV2() view returns(address)

func (*MessageBusSession) PreExecuteMessageGasUsage

func (_MessageBus *MessageBusSession) PreExecuteMessageGasUsage() (*big.Int, error)

PreExecuteMessageGasUsage is a free data retrieval call binding the contract method 0x584e45e1.

Solidity: function preExecuteMessageGasUsage() view returns(uint256)

func (*MessageBusSession) RefundAndExecuteMsg

func (_MessageBus *MessageBusSession) RefundAndExecuteMsg(_transferParams MsgDataTypesBridgeTransferParams, _msgParams MsgDataTypesMsgWithTransferExecutionParams) (*types.Transaction, error)

RefundAndExecuteMsg is a paid mutator transaction binding the contract method 0x40d0d026.

Solidity: function refundAndExecuteMsg((bytes,bytes[],address[],uint256[]) _transferParams, (bytes,(uint8,address,address,address,uint256,uint64,uint64,bytes32,bytes32),bytes[],address[],uint256[]) _msgParams) returns()

func (*MessageBusSession) SendMessage

func (_MessageBus *MessageBusSession) SendMessage(_receiver []byte, _dstChainId *big.Int, _message []byte) (*types.Transaction, error)

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

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

func (*MessageBusSession) SendMessage0

func (_MessageBus *MessageBusSession) SendMessage0(_receiver common.Address, _dstChainId *big.Int, _message []byte) (*types.Transaction, error)

SendMessage0 is a paid mutator transaction binding the contract method 0x9f3ce55a.

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

func (*MessageBusSession) SendMessageWithTransfer

func (_MessageBus *MessageBusSession) SendMessageWithTransfer(_receiver common.Address, _dstChainId *big.Int, _srcBridge common.Address, _srcTransferId [32]byte, _message []byte) (*types.Transaction, error)

SendMessageWithTransfer is a paid mutator transaction binding the contract method 0x4289fbb3.

Solidity: function sendMessageWithTransfer(address _receiver, uint256 _dstChainId, address _srcBridge, bytes32 _srcTransferId, bytes _message) payable returns()

func (*MessageBusSession) SetFeeBase

func (_MessageBus *MessageBusSession) SetFeeBase(_fee *big.Int) (*types.Transaction, error)

SetFeeBase is a paid mutator transaction binding the contract method 0x06c28bd6.

Solidity: function setFeeBase(uint256 _fee) returns()

func (*MessageBusSession) SetFeePerByte

func (_MessageBus *MessageBusSession) SetFeePerByte(_fee *big.Int) (*types.Transaction, error)

SetFeePerByte is a paid mutator transaction binding the contract method 0xe2c1ed25.

Solidity: function setFeePerByte(uint256 _fee) returns()

func (*MessageBusSession) SetLiquidityBridge

func (_MessageBus *MessageBusSession) SetLiquidityBridge(_addr common.Address) (*types.Transaction, error)

SetLiquidityBridge is a paid mutator transaction binding the contract method 0x588be02b.

Solidity: function setLiquidityBridge(address _addr) returns()

func (*MessageBusSession) SetPegBridge

func (_MessageBus *MessageBusSession) SetPegBridge(_addr common.Address) (*types.Transaction, error)

SetPegBridge is a paid mutator transaction binding the contract method 0x03cbfe66.

Solidity: function setPegBridge(address _addr) returns()

func (*MessageBusSession) SetPegBridgeV2

func (_MessageBus *MessageBusSession) SetPegBridgeV2(_addr common.Address) (*types.Transaction, error)

SetPegBridgeV2 is a paid mutator transaction binding the contract method 0x82efd502.

Solidity: function setPegBridgeV2(address _addr) returns()

func (*MessageBusSession) SetPegVault

func (_MessageBus *MessageBusSession) SetPegVault(_addr common.Address) (*types.Transaction, error)

SetPegVault is a paid mutator transaction binding the contract method 0x9b05a775.

Solidity: function setPegVault(address _addr) returns()

func (*MessageBusSession) SetPegVaultV2

func (_MessageBus *MessageBusSession) SetPegVaultV2(_addr common.Address) (*types.Transaction, error)

SetPegVaultV2 is a paid mutator transaction binding the contract method 0xf83b0fb9.

Solidity: function setPegVaultV2(address _addr) returns()

func (*MessageBusSession) SetPreExecuteMessageGasUsage

func (_MessageBus *MessageBusSession) SetPreExecuteMessageGasUsage(_usage *big.Int) (*types.Transaction, error)

SetPreExecuteMessageGasUsage is a paid mutator transaction binding the contract method 0x4586f331.

Solidity: function setPreExecuteMessageGasUsage(uint256 _usage) returns()

func (*MessageBusSession) SigsVerifier

func (_MessageBus *MessageBusSession) SigsVerifier() (common.Address, error)

SigsVerifier is a free data retrieval call binding the contract method 0xccf2683b.

Solidity: function sigsVerifier() view returns(address)

func (*MessageBusSession) TransferAndExecuteMsg

func (_MessageBus *MessageBusSession) TransferAndExecuteMsg(_transferParams MsgDataTypesBridgeTransferParams, _msgParams MsgDataTypesMsgWithTransferExecutionParams) (*types.Transaction, error)

TransferAndExecuteMsg is a paid mutator transaction binding the contract method 0x723d0a9d.

Solidity: function transferAndExecuteMsg((bytes,bytes[],address[],uint256[]) _transferParams, (bytes,(uint8,address,address,address,uint256,uint64,uint64,bytes32,bytes32),bytes[],address[],uint256[]) _msgParams) returns()

func (*MessageBusSession) TransferOwnership

func (_MessageBus *MessageBusSession) 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 (*MessageBusSession) WithdrawFee

func (_MessageBus *MessageBusSession) WithdrawFee(_account common.Address, _cumulativeFee *big.Int, _sigs [][]byte, _signers []common.Address, _powers []*big.Int) (*types.Transaction, error)

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

Solidity: function withdrawFee(address _account, uint256 _cumulativeFee, bytes[] _sigs, address[] _signers, uint256[] _powers) returns()

func (*MessageBusSession) WithdrawnFees

func (_MessageBus *MessageBusSession) WithdrawnFees(arg0 common.Address) (*big.Int, error)

WithdrawnFees is a free data retrieval call binding the contract method 0x5b3e5f50.

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

type MessageBusTransactor

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

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

func NewMessageBusTransactor

func NewMessageBusTransactor(address common.Address, transactor bind.ContractTransactor) (*MessageBusTransactor, error)

NewMessageBusTransactor creates a new write-only instance of MessageBus, bound to a specific deployed contract.

func (*MessageBusTransactor) ExecuteMessage

func (_MessageBus *MessageBusTransactor) ExecuteMessage(opts *bind.TransactOpts, _message []byte, _route MsgDataTypesRouteInfo, _sigs [][]byte, _signers []common.Address, _powers []*big.Int) (*types.Transaction, error)

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

Solidity: function executeMessage(bytes _message, (address,address,uint64,bytes32) _route, bytes[] _sigs, address[] _signers, uint256[] _powers) payable returns()

func (*MessageBusTransactor) ExecuteMessage0

func (_MessageBus *MessageBusTransactor) ExecuteMessage0(opts *bind.TransactOpts, _message []byte, _route MsgDataTypesRouteInfo2, _sigs [][]byte, _signers []common.Address, _powers []*big.Int) (*types.Transaction, error)

ExecuteMessage0 is a paid mutator transaction binding the contract method 0xdb2c20c8.

Solidity: function executeMessage(bytes _message, (bytes,address,uint64,bytes32) _route, bytes[] _sigs, address[] _signers, uint256[] _powers) payable returns()

func (*MessageBusTransactor) ExecuteMessageWithTransfer

func (_MessageBus *MessageBusTransactor) ExecuteMessageWithTransfer(opts *bind.TransactOpts, _message []byte, _transfer MsgDataTypesTransferInfo, _sigs [][]byte, _signers []common.Address, _powers []*big.Int) (*types.Transaction, error)

ExecuteMessageWithTransfer is a paid mutator transaction binding the contract method 0x3f395aff.

Solidity: function executeMessageWithTransfer(bytes _message, (uint8,address,address,address,uint256,uint64,uint64,bytes32,bytes32) _transfer, bytes[] _sigs, address[] _signers, uint256[] _powers) payable returns()

func (*MessageBusTransactor) ExecuteMessageWithTransferRefund

func (_MessageBus *MessageBusTransactor) ExecuteMessageWithTransferRefund(opts *bind.TransactOpts, _message []byte, _transfer MsgDataTypesTransferInfo, _sigs [][]byte, _signers []common.Address, _powers []*big.Int) (*types.Transaction, error)

ExecuteMessageWithTransferRefund is a paid mutator transaction binding the contract method 0x7b80ab20.

Solidity: function executeMessageWithTransferRefund(bytes _message, (uint8,address,address,address,uint256,uint64,uint64,bytes32,bytes32) _transfer, bytes[] _sigs, address[] _signers, uint256[] _powers) payable returns()

func (*MessageBusTransactor) Init

func (_MessageBus *MessageBusTransactor) Init(opts *bind.TransactOpts, _liquidityBridge common.Address, _pegBridge common.Address, _pegVault common.Address, _pegBridgeV2 common.Address, _pegVaultV2 common.Address) (*types.Transaction, error)

Init is a paid mutator transaction binding the contract method 0x359ef75b.

Solidity: function init(address _liquidityBridge, address _pegBridge, address _pegVault, address _pegBridgeV2, address _pegVaultV2) returns()

func (*MessageBusTransactor) RefundAndExecuteMsg

func (_MessageBus *MessageBusTransactor) RefundAndExecuteMsg(opts *bind.TransactOpts, _transferParams MsgDataTypesBridgeTransferParams, _msgParams MsgDataTypesMsgWithTransferExecutionParams) (*types.Transaction, error)

RefundAndExecuteMsg is a paid mutator transaction binding the contract method 0x40d0d026.

Solidity: function refundAndExecuteMsg((bytes,bytes[],address[],uint256[]) _transferParams, (bytes,(uint8,address,address,address,uint256,uint64,uint64,bytes32,bytes32),bytes[],address[],uint256[]) _msgParams) returns()

func (*MessageBusTransactor) SendMessage

func (_MessageBus *MessageBusTransactor) SendMessage(opts *bind.TransactOpts, _receiver []byte, _dstChainId *big.Int, _message []byte) (*types.Transaction, error)

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

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

func (*MessageBusTransactor) SendMessage0

func (_MessageBus *MessageBusTransactor) SendMessage0(opts *bind.TransactOpts, _receiver common.Address, _dstChainId *big.Int, _message []byte) (*types.Transaction, error)

SendMessage0 is a paid mutator transaction binding the contract method 0x9f3ce55a.

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

func (*MessageBusTransactor) SendMessageWithTransfer

func (_MessageBus *MessageBusTransactor) SendMessageWithTransfer(opts *bind.TransactOpts, _receiver common.Address, _dstChainId *big.Int, _srcBridge common.Address, _srcTransferId [32]byte, _message []byte) (*types.Transaction, error)

SendMessageWithTransfer is a paid mutator transaction binding the contract method 0x4289fbb3.

Solidity: function sendMessageWithTransfer(address _receiver, uint256 _dstChainId, address _srcBridge, bytes32 _srcTransferId, bytes _message) payable returns()

func (*MessageBusTransactor) SetFeeBase

func (_MessageBus *MessageBusTransactor) SetFeeBase(opts *bind.TransactOpts, _fee *big.Int) (*types.Transaction, error)

SetFeeBase is a paid mutator transaction binding the contract method 0x06c28bd6.

Solidity: function setFeeBase(uint256 _fee) returns()

func (*MessageBusTransactor) SetFeePerByte

func (_MessageBus *MessageBusTransactor) SetFeePerByte(opts *bind.TransactOpts, _fee *big.Int) (*types.Transaction, error)

SetFeePerByte is a paid mutator transaction binding the contract method 0xe2c1ed25.

Solidity: function setFeePerByte(uint256 _fee) returns()

func (*MessageBusTransactor) SetLiquidityBridge

func (_MessageBus *MessageBusTransactor) SetLiquidityBridge(opts *bind.TransactOpts, _addr common.Address) (*types.Transaction, error)

SetLiquidityBridge is a paid mutator transaction binding the contract method 0x588be02b.

Solidity: function setLiquidityBridge(address _addr) returns()

func (*MessageBusTransactor) SetPegBridge

func (_MessageBus *MessageBusTransactor) SetPegBridge(opts *bind.TransactOpts, _addr common.Address) (*types.Transaction, error)

SetPegBridge is a paid mutator transaction binding the contract method 0x03cbfe66.

Solidity: function setPegBridge(address _addr) returns()

func (*MessageBusTransactor) SetPegBridgeV2

func (_MessageBus *MessageBusTransactor) SetPegBridgeV2(opts *bind.TransactOpts, _addr common.Address) (*types.Transaction, error)

SetPegBridgeV2 is a paid mutator transaction binding the contract method 0x82efd502.

Solidity: function setPegBridgeV2(address _addr) returns()

func (*MessageBusTransactor) SetPegVault

func (_MessageBus *MessageBusTransactor) SetPegVault(opts *bind.TransactOpts, _addr common.Address) (*types.Transaction, error)

SetPegVault is a paid mutator transaction binding the contract method 0x9b05a775.

Solidity: function setPegVault(address _addr) returns()

func (*MessageBusTransactor) SetPegVaultV2

func (_MessageBus *MessageBusTransactor) SetPegVaultV2(opts *bind.TransactOpts, _addr common.Address) (*types.Transaction, error)

SetPegVaultV2 is a paid mutator transaction binding the contract method 0xf83b0fb9.

Solidity: function setPegVaultV2(address _addr) returns()

func (*MessageBusTransactor) SetPreExecuteMessageGasUsage

func (_MessageBus *MessageBusTransactor) SetPreExecuteMessageGasUsage(opts *bind.TransactOpts, _usage *big.Int) (*types.Transaction, error)

SetPreExecuteMessageGasUsage is a paid mutator transaction binding the contract method 0x4586f331.

Solidity: function setPreExecuteMessageGasUsage(uint256 _usage) returns()

func (*MessageBusTransactor) TransferAndExecuteMsg

func (_MessageBus *MessageBusTransactor) TransferAndExecuteMsg(opts *bind.TransactOpts, _transferParams MsgDataTypesBridgeTransferParams, _msgParams MsgDataTypesMsgWithTransferExecutionParams) (*types.Transaction, error)

TransferAndExecuteMsg is a paid mutator transaction binding the contract method 0x723d0a9d.

Solidity: function transferAndExecuteMsg((bytes,bytes[],address[],uint256[]) _transferParams, (bytes,(uint8,address,address,address,uint256,uint64,uint64,bytes32,bytes32),bytes[],address[],uint256[]) _msgParams) returns()

func (*MessageBusTransactor) TransferOwnership

func (_MessageBus *MessageBusTransactor) 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 (*MessageBusTransactor) WithdrawFee

func (_MessageBus *MessageBusTransactor) WithdrawFee(opts *bind.TransactOpts, _account common.Address, _cumulativeFee *big.Int, _sigs [][]byte, _signers []common.Address, _powers []*big.Int) (*types.Transaction, error)

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

Solidity: function withdrawFee(address _account, uint256 _cumulativeFee, bytes[] _sigs, address[] _signers, uint256[] _powers) returns()

type MessageBusTransactorRaw

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

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

func (*MessageBusTransactorRaw) Transact

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

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

func (*MessageBusTransactorRaw) Transfer

func (_MessageBus *MessageBusTransactorRaw) 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 MessageBusTransactorSession

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

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

func (*MessageBusTransactorSession) ExecuteMessage

func (_MessageBus *MessageBusTransactorSession) ExecuteMessage(_message []byte, _route MsgDataTypesRouteInfo, _sigs [][]byte, _signers []common.Address, _powers []*big.Int) (*types.Transaction, error)

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

Solidity: function executeMessage(bytes _message, (address,address,uint64,bytes32) _route, bytes[] _sigs, address[] _signers, uint256[] _powers) payable returns()

func (*MessageBusTransactorSession) ExecuteMessage0

func (_MessageBus *MessageBusTransactorSession) ExecuteMessage0(_message []byte, _route MsgDataTypesRouteInfo2, _sigs [][]byte, _signers []common.Address, _powers []*big.Int) (*types.Transaction, error)

ExecuteMessage0 is a paid mutator transaction binding the contract method 0xdb2c20c8.

Solidity: function executeMessage(bytes _message, (bytes,address,uint64,bytes32) _route, bytes[] _sigs, address[] _signers, uint256[] _powers) payable returns()

func (*MessageBusTransactorSession) ExecuteMessageWithTransfer

func (_MessageBus *MessageBusTransactorSession) ExecuteMessageWithTransfer(_message []byte, _transfer MsgDataTypesTransferInfo, _sigs [][]byte, _signers []common.Address, _powers []*big.Int) (*types.Transaction, error)

ExecuteMessageWithTransfer is a paid mutator transaction binding the contract method 0x3f395aff.

Solidity: function executeMessageWithTransfer(bytes _message, (uint8,address,address,address,uint256,uint64,uint64,bytes32,bytes32) _transfer, bytes[] _sigs, address[] _signers, uint256[] _powers) payable returns()

func (*MessageBusTransactorSession) ExecuteMessageWithTransferRefund

func (_MessageBus *MessageBusTransactorSession) ExecuteMessageWithTransferRefund(_message []byte, _transfer MsgDataTypesTransferInfo, _sigs [][]byte, _signers []common.Address, _powers []*big.Int) (*types.Transaction, error)

ExecuteMessageWithTransferRefund is a paid mutator transaction binding the contract method 0x7b80ab20.

Solidity: function executeMessageWithTransferRefund(bytes _message, (uint8,address,address,address,uint256,uint64,uint64,bytes32,bytes32) _transfer, bytes[] _sigs, address[] _signers, uint256[] _powers) payable returns()

func (*MessageBusTransactorSession) Init

func (_MessageBus *MessageBusTransactorSession) Init(_liquidityBridge common.Address, _pegBridge common.Address, _pegVault common.Address, _pegBridgeV2 common.Address, _pegVaultV2 common.Address) (*types.Transaction, error)

Init is a paid mutator transaction binding the contract method 0x359ef75b.

Solidity: function init(address _liquidityBridge, address _pegBridge, address _pegVault, address _pegBridgeV2, address _pegVaultV2) returns()

func (*MessageBusTransactorSession) RefundAndExecuteMsg

RefundAndExecuteMsg is a paid mutator transaction binding the contract method 0x40d0d026.

Solidity: function refundAndExecuteMsg((bytes,bytes[],address[],uint256[]) _transferParams, (bytes,(uint8,address,address,address,uint256,uint64,uint64,bytes32,bytes32),bytes[],address[],uint256[]) _msgParams) returns()

func (*MessageBusTransactorSession) SendMessage

func (_MessageBus *MessageBusTransactorSession) SendMessage(_receiver []byte, _dstChainId *big.Int, _message []byte) (*types.Transaction, error)

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

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

func (*MessageBusTransactorSession) SendMessage0

func (_MessageBus *MessageBusTransactorSession) SendMessage0(_receiver common.Address, _dstChainId *big.Int, _message []byte) (*types.Transaction, error)

SendMessage0 is a paid mutator transaction binding the contract method 0x9f3ce55a.

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

func (*MessageBusTransactorSession) SendMessageWithTransfer

func (_MessageBus *MessageBusTransactorSession) SendMessageWithTransfer(_receiver common.Address, _dstChainId *big.Int, _srcBridge common.Address, _srcTransferId [32]byte, _message []byte) (*types.Transaction, error)

SendMessageWithTransfer is a paid mutator transaction binding the contract method 0x4289fbb3.

Solidity: function sendMessageWithTransfer(address _receiver, uint256 _dstChainId, address _srcBridge, bytes32 _srcTransferId, bytes _message) payable returns()

func (*MessageBusTransactorSession) SetFeeBase

func (_MessageBus *MessageBusTransactorSession) SetFeeBase(_fee *big.Int) (*types.Transaction, error)

SetFeeBase is a paid mutator transaction binding the contract method 0x06c28bd6.

Solidity: function setFeeBase(uint256 _fee) returns()

func (*MessageBusTransactorSession) SetFeePerByte

func (_MessageBus *MessageBusTransactorSession) SetFeePerByte(_fee *big.Int) (*types.Transaction, error)

SetFeePerByte is a paid mutator transaction binding the contract method 0xe2c1ed25.

Solidity: function setFeePerByte(uint256 _fee) returns()

func (*MessageBusTransactorSession) SetLiquidityBridge

func (_MessageBus *MessageBusTransactorSession) SetLiquidityBridge(_addr common.Address) (*types.Transaction, error)

SetLiquidityBridge is a paid mutator transaction binding the contract method 0x588be02b.

Solidity: function setLiquidityBridge(address _addr) returns()

func (*MessageBusTransactorSession) SetPegBridge

func (_MessageBus *MessageBusTransactorSession) SetPegBridge(_addr common.Address) (*types.Transaction, error)

SetPegBridge is a paid mutator transaction binding the contract method 0x03cbfe66.

Solidity: function setPegBridge(address _addr) returns()

func (*MessageBusTransactorSession) SetPegBridgeV2

func (_MessageBus *MessageBusTransactorSession) SetPegBridgeV2(_addr common.Address) (*types.Transaction, error)

SetPegBridgeV2 is a paid mutator transaction binding the contract method 0x82efd502.

Solidity: function setPegBridgeV2(address _addr) returns()

func (*MessageBusTransactorSession) SetPegVault

func (_MessageBus *MessageBusTransactorSession) SetPegVault(_addr common.Address) (*types.Transaction, error)

SetPegVault is a paid mutator transaction binding the contract method 0x9b05a775.

Solidity: function setPegVault(address _addr) returns()

func (*MessageBusTransactorSession) SetPegVaultV2

func (_MessageBus *MessageBusTransactorSession) SetPegVaultV2(_addr common.Address) (*types.Transaction, error)

SetPegVaultV2 is a paid mutator transaction binding the contract method 0xf83b0fb9.

Solidity: function setPegVaultV2(address _addr) returns()

func (*MessageBusTransactorSession) SetPreExecuteMessageGasUsage

func (_MessageBus *MessageBusTransactorSession) SetPreExecuteMessageGasUsage(_usage *big.Int) (*types.Transaction, error)

SetPreExecuteMessageGasUsage is a paid mutator transaction binding the contract method 0x4586f331.

Solidity: function setPreExecuteMessageGasUsage(uint256 _usage) returns()

func (*MessageBusTransactorSession) TransferAndExecuteMsg

func (_MessageBus *MessageBusTransactorSession) TransferAndExecuteMsg(_transferParams MsgDataTypesBridgeTransferParams, _msgParams MsgDataTypesMsgWithTransferExecutionParams) (*types.Transaction, error)

TransferAndExecuteMsg is a paid mutator transaction binding the contract method 0x723d0a9d.

Solidity: function transferAndExecuteMsg((bytes,bytes[],address[],uint256[]) _transferParams, (bytes,(uint8,address,address,address,uint256,uint64,uint64,bytes32,bytes32),bytes[],address[],uint256[]) _msgParams) returns()

func (*MessageBusTransactorSession) TransferOwnership

func (_MessageBus *MessageBusTransactorSession) 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 (*MessageBusTransactorSession) WithdrawFee

func (_MessageBus *MessageBusTransactorSession) WithdrawFee(_account common.Address, _cumulativeFee *big.Int, _sigs [][]byte, _signers []common.Address, _powers []*big.Int) (*types.Transaction, error)

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

Solidity: function withdrawFee(address _account, uint256 _cumulativeFee, bytes[] _sigs, address[] _signers, uint256[] _powers) returns()

type MsgBusContract

type MsgBusContract struct {
	*MessageBus
	Address Addr
}

func NewMsgBusContract

func NewMsgBusContract(address Addr, client *ethclient.Client) (*MsgBusContract, error)

func (*MsgBusContract) GetAddr

func (c *MsgBusContract) GetAddr() Addr

type MsgDataTypes

type MsgDataTypes struct {
	MsgDataTypesCaller     // Read-only binding to the contract
	MsgDataTypesTransactor // Write-only binding to the contract
	MsgDataTypesFilterer   // Log filterer for contract events
}

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

func DeployMsgDataTypes

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

DeployMsgDataTypes deploys a new Ethereum contract, binding an instance of MsgDataTypes to it.

func NewMsgDataTypes

func NewMsgDataTypes(address common.Address, backend bind.ContractBackend) (*MsgDataTypes, error)

NewMsgDataTypes creates a new instance of MsgDataTypes, bound to a specific deployed contract.

type MsgDataTypesBridgeTransferParams

type MsgDataTypesBridgeTransferParams struct {
	Request []byte
	Sigs    [][]byte
	Signers []common.Address
	Powers  []*big.Int
}

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

type MsgDataTypesCaller

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

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

func NewMsgDataTypesCaller

func NewMsgDataTypesCaller(address common.Address, caller bind.ContractCaller) (*MsgDataTypesCaller, error)

NewMsgDataTypesCaller creates a new read-only instance of MsgDataTypes, bound to a specific deployed contract.

type MsgDataTypesCallerRaw

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

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

func (*MsgDataTypesCallerRaw) Call

func (_MsgDataTypes *MsgDataTypesCallerRaw) 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 MsgDataTypesCallerSession

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

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

type MsgDataTypesFilterer

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

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

func NewMsgDataTypesFilterer

func NewMsgDataTypesFilterer(address common.Address, filterer bind.ContractFilterer) (*MsgDataTypesFilterer, error)

NewMsgDataTypesFilterer creates a new log filterer instance of MsgDataTypes, bound to a specific deployed contract.

type MsgDataTypesMsgWithTransferExecutionParams

type MsgDataTypesMsgWithTransferExecutionParams struct {
	Message  []byte
	Transfer MsgDataTypesTransferInfo
	Sigs     [][]byte
	Signers  []common.Address
	Powers   []*big.Int
}

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

type MsgDataTypesRaw

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

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

func (*MsgDataTypesRaw) Call

func (_MsgDataTypes *MsgDataTypesRaw) 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 (*MsgDataTypesRaw) Transact

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

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

func (*MsgDataTypesRaw) Transfer

func (_MsgDataTypes *MsgDataTypesRaw) 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 MsgDataTypesRouteInfo

type MsgDataTypesRouteInfo struct {
	Sender     common.Address
	Receiver   common.Address
	SrcChainId uint64
	SrcTxHash  [32]byte
}

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

type MsgDataTypesRouteInfo2

type MsgDataTypesRouteInfo2 struct {
	Sender     []byte
	Receiver   common.Address
	SrcChainId uint64
	SrcTxHash  [32]byte
}

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

type MsgDataTypesSession

type MsgDataTypesSession struct {
	Contract     *MsgDataTypes     // 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
}

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

type MsgDataTypesTransactor

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

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

func NewMsgDataTypesTransactor

func NewMsgDataTypesTransactor(address common.Address, transactor bind.ContractTransactor) (*MsgDataTypesTransactor, error)

NewMsgDataTypesTransactor creates a new write-only instance of MsgDataTypes, bound to a specific deployed contract.

type MsgDataTypesTransactorRaw

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

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

func (*MsgDataTypesTransactorRaw) Transact

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

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

func (*MsgDataTypesTransactorRaw) Transfer

func (_MsgDataTypes *MsgDataTypesTransactorRaw) 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 MsgDataTypesTransactorSession

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

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

type MsgDataTypesTransferInfo

type MsgDataTypesTransferInfo struct {
	T          uint8
	Sender     common.Address
	Receiver   common.Address
	Token      common.Address
	Amount     *big.Int
	Wdseq      uint64
	SrcChainId uint64
	RefId      [32]byte
	SrcTxHash  [32]byte
}

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

type OVMGasPriceOracle

type OVMGasPriceOracle struct {
	OVMGasPriceOracleCaller     // Read-only binding to the contract
	OVMGasPriceOracleTransactor // Write-only binding to the contract
	OVMGasPriceOracleFilterer   // Log filterer for contract events
}

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

func NewOVMGasPriceOracle

func NewOVMGasPriceOracle(address common.Address, backend bind.ContractBackend) (*OVMGasPriceOracle, error)

NewOVMGasPriceOracle creates a new instance of OVMGasPriceOracle, bound to a specific deployed contract.

type OVMGasPriceOracleCaller

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

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

func NewOVMGasPriceOracleCaller

func NewOVMGasPriceOracleCaller(address common.Address, caller bind.ContractCaller) (*OVMGasPriceOracleCaller, error)

NewOVMGasPriceOracleCaller creates a new read-only instance of OVMGasPriceOracle, bound to a specific deployed contract.

func (*OVMGasPriceOracleCaller) Decimals

func (_OVMGasPriceOracle *OVMGasPriceOracleCaller) Decimals(opts *bind.CallOpts) (*big.Int, error)

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

Solidity: function decimals() view returns(uint256)

func (*OVMGasPriceOracleCaller) GasPrice

func (_OVMGasPriceOracle *OVMGasPriceOracleCaller) GasPrice(opts *bind.CallOpts) (*big.Int, error)

GasPrice is a free data retrieval call binding the contract method 0xfe173b97.

Solidity: function gasPrice() view returns(uint256)

func (*OVMGasPriceOracleCaller) GetL1Fee

func (_OVMGasPriceOracle *OVMGasPriceOracleCaller) GetL1Fee(opts *bind.CallOpts, _data []byte) (*big.Int, error)

GetL1Fee is a free data retrieval call binding the contract method 0x49948e0e.

Solidity: function getL1Fee(bytes _data) view returns(uint256)

func (*OVMGasPriceOracleCaller) GetL1GasUsed

func (_OVMGasPriceOracle *OVMGasPriceOracleCaller) GetL1GasUsed(opts *bind.CallOpts, _data []byte) (*big.Int, error)

GetL1GasUsed is a free data retrieval call binding the contract method 0xde26c4a1.

Solidity: function getL1GasUsed(bytes _data) view returns(uint256)

func (*OVMGasPriceOracleCaller) L1BaseFee

func (_OVMGasPriceOracle *OVMGasPriceOracleCaller) L1BaseFee(opts *bind.CallOpts) (*big.Int, error)

L1BaseFee is a free data retrieval call binding the contract method 0x519b4bd3.

Solidity: function l1BaseFee() view returns(uint256)

func (*OVMGasPriceOracleCaller) Overhead

func (_OVMGasPriceOracle *OVMGasPriceOracleCaller) Overhead(opts *bind.CallOpts) (*big.Int, error)

Overhead is a free data retrieval call binding the contract method 0x0c18c162.

Solidity: function overhead() view returns(uint256)

func (*OVMGasPriceOracleCaller) Owner

func (_OVMGasPriceOracle *OVMGasPriceOracleCaller) 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 (*OVMGasPriceOracleCaller) Scalar

func (_OVMGasPriceOracle *OVMGasPriceOracleCaller) Scalar(opts *bind.CallOpts) (*big.Int, error)

Scalar is a free data retrieval call binding the contract method 0xf45e65d8.

Solidity: function scalar() view returns(uint256)

type OVMGasPriceOracleCallerRaw

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

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

func (*OVMGasPriceOracleCallerRaw) Call

func (_OVMGasPriceOracle *OVMGasPriceOracleCallerRaw) 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 OVMGasPriceOracleCallerSession

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

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

func (*OVMGasPriceOracleCallerSession) Decimals

func (_OVMGasPriceOracle *OVMGasPriceOracleCallerSession) Decimals() (*big.Int, error)

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

Solidity: function decimals() view returns(uint256)

func (*OVMGasPriceOracleCallerSession) GasPrice

func (_OVMGasPriceOracle *OVMGasPriceOracleCallerSession) GasPrice() (*big.Int, error)

GasPrice is a free data retrieval call binding the contract method 0xfe173b97.

Solidity: function gasPrice() view returns(uint256)

func (*OVMGasPriceOracleCallerSession) GetL1Fee

func (_OVMGasPriceOracle *OVMGasPriceOracleCallerSession) GetL1Fee(_data []byte) (*big.Int, error)

GetL1Fee is a free data retrieval call binding the contract method 0x49948e0e.

Solidity: function getL1Fee(bytes _data) view returns(uint256)

func (*OVMGasPriceOracleCallerSession) GetL1GasUsed

func (_OVMGasPriceOracle *OVMGasPriceOracleCallerSession) GetL1GasUsed(_data []byte) (*big.Int, error)

GetL1GasUsed is a free data retrieval call binding the contract method 0xde26c4a1.

Solidity: function getL1GasUsed(bytes _data) view returns(uint256)

func (*OVMGasPriceOracleCallerSession) L1BaseFee

func (_OVMGasPriceOracle *OVMGasPriceOracleCallerSession) L1BaseFee() (*big.Int, error)

L1BaseFee is a free data retrieval call binding the contract method 0x519b4bd3.

Solidity: function l1BaseFee() view returns(uint256)

func (*OVMGasPriceOracleCallerSession) Overhead

func (_OVMGasPriceOracle *OVMGasPriceOracleCallerSession) Overhead() (*big.Int, error)

Overhead is a free data retrieval call binding the contract method 0x0c18c162.

Solidity: function overhead() view returns(uint256)

func (*OVMGasPriceOracleCallerSession) Owner

func (_OVMGasPriceOracle *OVMGasPriceOracleCallerSession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*OVMGasPriceOracleCallerSession) Scalar

func (_OVMGasPriceOracle *OVMGasPriceOracleCallerSession) Scalar() (*big.Int, error)

Scalar is a free data retrieval call binding the contract method 0xf45e65d8.

Solidity: function scalar() view returns(uint256)

type OVMGasPriceOracleDecimalsUpdated

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

OVMGasPriceOracleDecimalsUpdated represents a DecimalsUpdated event raised by the OVMGasPriceOracle contract.

type OVMGasPriceOracleDecimalsUpdatedIterator

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

OVMGasPriceOracleDecimalsUpdatedIterator is returned from FilterDecimalsUpdated and is used to iterate over the raw logs and unpacked data for DecimalsUpdated events raised by the OVMGasPriceOracle contract.

func (*OVMGasPriceOracleDecimalsUpdatedIterator) Close

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

func (*OVMGasPriceOracleDecimalsUpdatedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*OVMGasPriceOracleDecimalsUpdatedIterator) 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 OVMGasPriceOracleFilterer

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

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

func NewOVMGasPriceOracleFilterer

func NewOVMGasPriceOracleFilterer(address common.Address, filterer bind.ContractFilterer) (*OVMGasPriceOracleFilterer, error)

NewOVMGasPriceOracleFilterer creates a new log filterer instance of OVMGasPriceOracle, bound to a specific deployed contract.

func (*OVMGasPriceOracleFilterer) FilterDecimalsUpdated

func (_OVMGasPriceOracle *OVMGasPriceOracleFilterer) FilterDecimalsUpdated(opts *bind.FilterOpts) (*OVMGasPriceOracleDecimalsUpdatedIterator, error)

FilterDecimalsUpdated is a free log retrieval operation binding the contract event 0xd68112a8707e326d08be3656b528c1bcc5bbbfc47f4177e2179b14d8640838c1.

Solidity: event DecimalsUpdated(uint256 arg0)

func (*OVMGasPriceOracleFilterer) FilterGasPriceUpdated

func (_OVMGasPriceOracle *OVMGasPriceOracleFilterer) FilterGasPriceUpdated(opts *bind.FilterOpts) (*OVMGasPriceOracleGasPriceUpdatedIterator, error)

FilterGasPriceUpdated is a free log retrieval operation binding the contract event 0xfcdccc6074c6c42e4bd578aa9870c697dc976a270968452d2b8c8dc369fae396.

Solidity: event GasPriceUpdated(uint256 arg0)

func (*OVMGasPriceOracleFilterer) FilterL1BaseFeeUpdated

func (_OVMGasPriceOracle *OVMGasPriceOracleFilterer) FilterL1BaseFeeUpdated(opts *bind.FilterOpts) (*OVMGasPriceOracleL1BaseFeeUpdatedIterator, error)

FilterL1BaseFeeUpdated is a free log retrieval operation binding the contract event 0x351fb23757bb5ea0546c85b7996ddd7155f96b939ebaa5ff7bc49c75f27f2c44.

Solidity: event L1BaseFeeUpdated(uint256 arg0)

func (*OVMGasPriceOracleFilterer) FilterOverheadUpdated

func (_OVMGasPriceOracle *OVMGasPriceOracleFilterer) FilterOverheadUpdated(opts *bind.FilterOpts) (*OVMGasPriceOracleOverheadUpdatedIterator, error)

FilterOverheadUpdated is a free log retrieval operation binding the contract event 0x32740b35c0ea213650f60d44366b4fb211c9033b50714e4a1d34e65d5beb9bb4.

Solidity: event OverheadUpdated(uint256 arg0)

func (*OVMGasPriceOracleFilterer) FilterOwnershipTransferred

func (_OVMGasPriceOracle *OVMGasPriceOracleFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*OVMGasPriceOracleOwnershipTransferredIterator, error)

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

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

func (*OVMGasPriceOracleFilterer) FilterScalarUpdated

func (_OVMGasPriceOracle *OVMGasPriceOracleFilterer) FilterScalarUpdated(opts *bind.FilterOpts) (*OVMGasPriceOracleScalarUpdatedIterator, error)

FilterScalarUpdated is a free log retrieval operation binding the contract event 0x3336cd9708eaf2769a0f0dc0679f30e80f15dcd88d1921b5a16858e8b85c591a.

Solidity: event ScalarUpdated(uint256 arg0)

func (*OVMGasPriceOracleFilterer) ParseDecimalsUpdated

func (_OVMGasPriceOracle *OVMGasPriceOracleFilterer) ParseDecimalsUpdated(log types.Log) (*OVMGasPriceOracleDecimalsUpdated, error)

ParseDecimalsUpdated is a log parse operation binding the contract event 0xd68112a8707e326d08be3656b528c1bcc5bbbfc47f4177e2179b14d8640838c1.

Solidity: event DecimalsUpdated(uint256 arg0)

func (*OVMGasPriceOracleFilterer) ParseGasPriceUpdated

func (_OVMGasPriceOracle *OVMGasPriceOracleFilterer) ParseGasPriceUpdated(log types.Log) (*OVMGasPriceOracleGasPriceUpdated, error)

ParseGasPriceUpdated is a log parse operation binding the contract event 0xfcdccc6074c6c42e4bd578aa9870c697dc976a270968452d2b8c8dc369fae396.

Solidity: event GasPriceUpdated(uint256 arg0)

func (*OVMGasPriceOracleFilterer) ParseL1BaseFeeUpdated

func (_OVMGasPriceOracle *OVMGasPriceOracleFilterer) ParseL1BaseFeeUpdated(log types.Log) (*OVMGasPriceOracleL1BaseFeeUpdated, error)

ParseL1BaseFeeUpdated is a log parse operation binding the contract event 0x351fb23757bb5ea0546c85b7996ddd7155f96b939ebaa5ff7bc49c75f27f2c44.

Solidity: event L1BaseFeeUpdated(uint256 arg0)

func (*OVMGasPriceOracleFilterer) ParseOverheadUpdated

func (_OVMGasPriceOracle *OVMGasPriceOracleFilterer) ParseOverheadUpdated(log types.Log) (*OVMGasPriceOracleOverheadUpdated, error)

ParseOverheadUpdated is a log parse operation binding the contract event 0x32740b35c0ea213650f60d44366b4fb211c9033b50714e4a1d34e65d5beb9bb4.

Solidity: event OverheadUpdated(uint256 arg0)

func (*OVMGasPriceOracleFilterer) ParseOwnershipTransferred

func (_OVMGasPriceOracle *OVMGasPriceOracleFilterer) ParseOwnershipTransferred(log types.Log) (*OVMGasPriceOracleOwnershipTransferred, error)

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

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

func (*OVMGasPriceOracleFilterer) ParseScalarUpdated

func (_OVMGasPriceOracle *OVMGasPriceOracleFilterer) ParseScalarUpdated(log types.Log) (*OVMGasPriceOracleScalarUpdated, error)

ParseScalarUpdated is a log parse operation binding the contract event 0x3336cd9708eaf2769a0f0dc0679f30e80f15dcd88d1921b5a16858e8b85c591a.

Solidity: event ScalarUpdated(uint256 arg0)

func (*OVMGasPriceOracleFilterer) WatchDecimalsUpdated

func (_OVMGasPriceOracle *OVMGasPriceOracleFilterer) WatchDecimalsUpdated(opts *bind.WatchOpts, sink chan<- *OVMGasPriceOracleDecimalsUpdated) (event.Subscription, error)

WatchDecimalsUpdated is a free log subscription operation binding the contract event 0xd68112a8707e326d08be3656b528c1bcc5bbbfc47f4177e2179b14d8640838c1.

Solidity: event DecimalsUpdated(uint256 arg0)

func (*OVMGasPriceOracleFilterer) WatchGasPriceUpdated

func (_OVMGasPriceOracle *OVMGasPriceOracleFilterer) WatchGasPriceUpdated(opts *bind.WatchOpts, sink chan<- *OVMGasPriceOracleGasPriceUpdated) (event.Subscription, error)

WatchGasPriceUpdated is a free log subscription operation binding the contract event 0xfcdccc6074c6c42e4bd578aa9870c697dc976a270968452d2b8c8dc369fae396.

Solidity: event GasPriceUpdated(uint256 arg0)

func (*OVMGasPriceOracleFilterer) WatchL1BaseFeeUpdated

func (_OVMGasPriceOracle *OVMGasPriceOracleFilterer) WatchL1BaseFeeUpdated(opts *bind.WatchOpts, sink chan<- *OVMGasPriceOracleL1BaseFeeUpdated) (event.Subscription, error)

WatchL1BaseFeeUpdated is a free log subscription operation binding the contract event 0x351fb23757bb5ea0546c85b7996ddd7155f96b939ebaa5ff7bc49c75f27f2c44.

Solidity: event L1BaseFeeUpdated(uint256 arg0)

func (*OVMGasPriceOracleFilterer) WatchOverheadUpdated

func (_OVMGasPriceOracle *OVMGasPriceOracleFilterer) WatchOverheadUpdated(opts *bind.WatchOpts, sink chan<- *OVMGasPriceOracleOverheadUpdated) (event.Subscription, error)

WatchOverheadUpdated is a free log subscription operation binding the contract event 0x32740b35c0ea213650f60d44366b4fb211c9033b50714e4a1d34e65d5beb9bb4.

Solidity: event OverheadUpdated(uint256 arg0)

func (*OVMGasPriceOracleFilterer) WatchOwnershipTransferred

func (_OVMGasPriceOracle *OVMGasPriceOracleFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *OVMGasPriceOracleOwnershipTransferred, 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 (*OVMGasPriceOracleFilterer) WatchScalarUpdated

func (_OVMGasPriceOracle *OVMGasPriceOracleFilterer) WatchScalarUpdated(opts *bind.WatchOpts, sink chan<- *OVMGasPriceOracleScalarUpdated) (event.Subscription, error)

WatchScalarUpdated is a free log subscription operation binding the contract event 0x3336cd9708eaf2769a0f0dc0679f30e80f15dcd88d1921b5a16858e8b85c591a.

Solidity: event ScalarUpdated(uint256 arg0)

type OVMGasPriceOracleGasPriceUpdated

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

OVMGasPriceOracleGasPriceUpdated represents a GasPriceUpdated event raised by the OVMGasPriceOracle contract.

type OVMGasPriceOracleGasPriceUpdatedIterator

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

OVMGasPriceOracleGasPriceUpdatedIterator is returned from FilterGasPriceUpdated and is used to iterate over the raw logs and unpacked data for GasPriceUpdated events raised by the OVMGasPriceOracle contract.

func (*OVMGasPriceOracleGasPriceUpdatedIterator) Close

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

func (*OVMGasPriceOracleGasPriceUpdatedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*OVMGasPriceOracleGasPriceUpdatedIterator) 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 OVMGasPriceOracleL1BaseFeeUpdated

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

OVMGasPriceOracleL1BaseFeeUpdated represents a L1BaseFeeUpdated event raised by the OVMGasPriceOracle contract.

type OVMGasPriceOracleL1BaseFeeUpdatedIterator

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

OVMGasPriceOracleL1BaseFeeUpdatedIterator is returned from FilterL1BaseFeeUpdated and is used to iterate over the raw logs and unpacked data for L1BaseFeeUpdated events raised by the OVMGasPriceOracle contract.

func (*OVMGasPriceOracleL1BaseFeeUpdatedIterator) Close

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

func (*OVMGasPriceOracleL1BaseFeeUpdatedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*OVMGasPriceOracleL1BaseFeeUpdatedIterator) 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 OVMGasPriceOracleOverheadUpdated

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

OVMGasPriceOracleOverheadUpdated represents a OverheadUpdated event raised by the OVMGasPriceOracle contract.

type OVMGasPriceOracleOverheadUpdatedIterator

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

OVMGasPriceOracleOverheadUpdatedIterator is returned from FilterOverheadUpdated and is used to iterate over the raw logs and unpacked data for OverheadUpdated events raised by the OVMGasPriceOracle contract.

func (*OVMGasPriceOracleOverheadUpdatedIterator) Close

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

func (*OVMGasPriceOracleOverheadUpdatedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*OVMGasPriceOracleOverheadUpdatedIterator) 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 OVMGasPriceOracleOwnershipTransferred

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

OVMGasPriceOracleOwnershipTransferred represents a OwnershipTransferred event raised by the OVMGasPriceOracle contract.

type OVMGasPriceOracleOwnershipTransferredIterator

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

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

func (*OVMGasPriceOracleOwnershipTransferredIterator) Close

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

func (*OVMGasPriceOracleOwnershipTransferredIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*OVMGasPriceOracleOwnershipTransferredIterator) 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 OVMGasPriceOracleRaw

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

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

func (*OVMGasPriceOracleRaw) Call

func (_OVMGasPriceOracle *OVMGasPriceOracleRaw) 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 (*OVMGasPriceOracleRaw) Transact

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

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

func (*OVMGasPriceOracleRaw) Transfer

func (_OVMGasPriceOracle *OVMGasPriceOracleRaw) 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 OVMGasPriceOracleScalarUpdated

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

OVMGasPriceOracleScalarUpdated represents a ScalarUpdated event raised by the OVMGasPriceOracle contract.

type OVMGasPriceOracleScalarUpdatedIterator

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

OVMGasPriceOracleScalarUpdatedIterator is returned from FilterScalarUpdated and is used to iterate over the raw logs and unpacked data for ScalarUpdated events raised by the OVMGasPriceOracle contract.

func (*OVMGasPriceOracleScalarUpdatedIterator) Close

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

func (*OVMGasPriceOracleScalarUpdatedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*OVMGasPriceOracleScalarUpdatedIterator) 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 OVMGasPriceOracleSession

type OVMGasPriceOracleSession struct {
	Contract     *OVMGasPriceOracle // 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
}

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

func (*OVMGasPriceOracleSession) Decimals

func (_OVMGasPriceOracle *OVMGasPriceOracleSession) Decimals() (*big.Int, error)

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

Solidity: function decimals() view returns(uint256)

func (*OVMGasPriceOracleSession) GasPrice

func (_OVMGasPriceOracle *OVMGasPriceOracleSession) GasPrice() (*big.Int, error)

GasPrice is a free data retrieval call binding the contract method 0xfe173b97.

Solidity: function gasPrice() view returns(uint256)

func (*OVMGasPriceOracleSession) GetL1Fee

func (_OVMGasPriceOracle *OVMGasPriceOracleSession) GetL1Fee(_data []byte) (*big.Int, error)

GetL1Fee is a free data retrieval call binding the contract method 0x49948e0e.

Solidity: function getL1Fee(bytes _data) view returns(uint256)

func (*OVMGasPriceOracleSession) GetL1GasUsed

func (_OVMGasPriceOracle *OVMGasPriceOracleSession) GetL1GasUsed(_data []byte) (*big.Int, error)

GetL1GasUsed is a free data retrieval call binding the contract method 0xde26c4a1.

Solidity: function getL1GasUsed(bytes _data) view returns(uint256)

func (*OVMGasPriceOracleSession) L1BaseFee

func (_OVMGasPriceOracle *OVMGasPriceOracleSession) L1BaseFee() (*big.Int, error)

L1BaseFee is a free data retrieval call binding the contract method 0x519b4bd3.

Solidity: function l1BaseFee() view returns(uint256)

func (*OVMGasPriceOracleSession) Overhead

func (_OVMGasPriceOracle *OVMGasPriceOracleSession) Overhead() (*big.Int, error)

Overhead is a free data retrieval call binding the contract method 0x0c18c162.

Solidity: function overhead() view returns(uint256)

func (*OVMGasPriceOracleSession) Owner

func (_OVMGasPriceOracle *OVMGasPriceOracleSession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*OVMGasPriceOracleSession) RenounceOwnership

func (_OVMGasPriceOracle *OVMGasPriceOracleSession) RenounceOwnership() (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*OVMGasPriceOracleSession) Scalar

func (_OVMGasPriceOracle *OVMGasPriceOracleSession) Scalar() (*big.Int, error)

Scalar is a free data retrieval call binding the contract method 0xf45e65d8.

Solidity: function scalar() view returns(uint256)

func (*OVMGasPriceOracleSession) SetDecimals

func (_OVMGasPriceOracle *OVMGasPriceOracleSession) SetDecimals(_decimals *big.Int) (*types.Transaction, error)

SetDecimals is a paid mutator transaction binding the contract method 0x8c8885c8.

Solidity: function setDecimals(uint256 _decimals) returns()

func (*OVMGasPriceOracleSession) SetGasPrice

func (_OVMGasPriceOracle *OVMGasPriceOracleSession) SetGasPrice(_gasPrice *big.Int) (*types.Transaction, error)

SetGasPrice is a paid mutator transaction binding the contract method 0xbf1fe420.

Solidity: function setGasPrice(uint256 _gasPrice) returns()

func (*OVMGasPriceOracleSession) SetL1BaseFee

func (_OVMGasPriceOracle *OVMGasPriceOracleSession) SetL1BaseFee(_baseFee *big.Int) (*types.Transaction, error)

SetL1BaseFee is a paid mutator transaction binding the contract method 0xbede39b5.

Solidity: function setL1BaseFee(uint256 _baseFee) returns()

func (*OVMGasPriceOracleSession) SetOverhead

func (_OVMGasPriceOracle *OVMGasPriceOracleSession) SetOverhead(_overhead *big.Int) (*types.Transaction, error)

SetOverhead is a paid mutator transaction binding the contract method 0x3577afc5.

Solidity: function setOverhead(uint256 _overhead) returns()

func (*OVMGasPriceOracleSession) SetScalar

func (_OVMGasPriceOracle *OVMGasPriceOracleSession) SetScalar(_scalar *big.Int) (*types.Transaction, error)

SetScalar is a paid mutator transaction binding the contract method 0x70465597.

Solidity: function setScalar(uint256 _scalar) returns()

func (*OVMGasPriceOracleSession) TransferOwnership

func (_OVMGasPriceOracle *OVMGasPriceOracleSession) 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 OVMGasPriceOracleTransactor

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

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

func NewOVMGasPriceOracleTransactor

func NewOVMGasPriceOracleTransactor(address common.Address, transactor bind.ContractTransactor) (*OVMGasPriceOracleTransactor, error)

NewOVMGasPriceOracleTransactor creates a new write-only instance of OVMGasPriceOracle, bound to a specific deployed contract.

func (*OVMGasPriceOracleTransactor) RenounceOwnership

func (_OVMGasPriceOracle *OVMGasPriceOracleTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*OVMGasPriceOracleTransactor) SetDecimals

func (_OVMGasPriceOracle *OVMGasPriceOracleTransactor) SetDecimals(opts *bind.TransactOpts, _decimals *big.Int) (*types.Transaction, error)

SetDecimals is a paid mutator transaction binding the contract method 0x8c8885c8.

Solidity: function setDecimals(uint256 _decimals) returns()

func (*OVMGasPriceOracleTransactor) SetGasPrice

func (_OVMGasPriceOracle *OVMGasPriceOracleTransactor) SetGasPrice(opts *bind.TransactOpts, _gasPrice *big.Int) (*types.Transaction, error)

SetGasPrice is a paid mutator transaction binding the contract method 0xbf1fe420.

Solidity: function setGasPrice(uint256 _gasPrice) returns()

func (*OVMGasPriceOracleTransactor) SetL1BaseFee

func (_OVMGasPriceOracle *OVMGasPriceOracleTransactor) SetL1BaseFee(opts *bind.TransactOpts, _baseFee *big.Int) (*types.Transaction, error)

SetL1BaseFee is a paid mutator transaction binding the contract method 0xbede39b5.

Solidity: function setL1BaseFee(uint256 _baseFee) returns()

func (*OVMGasPriceOracleTransactor) SetOverhead

func (_OVMGasPriceOracle *OVMGasPriceOracleTransactor) SetOverhead(opts *bind.TransactOpts, _overhead *big.Int) (*types.Transaction, error)

SetOverhead is a paid mutator transaction binding the contract method 0x3577afc5.

Solidity: function setOverhead(uint256 _overhead) returns()

func (*OVMGasPriceOracleTransactor) SetScalar

func (_OVMGasPriceOracle *OVMGasPriceOracleTransactor) SetScalar(opts *bind.TransactOpts, _scalar *big.Int) (*types.Transaction, error)

SetScalar is a paid mutator transaction binding the contract method 0x70465597.

Solidity: function setScalar(uint256 _scalar) returns()

func (*OVMGasPriceOracleTransactor) TransferOwnership

func (_OVMGasPriceOracle *OVMGasPriceOracleTransactor) 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 OVMGasPriceOracleTransactorRaw

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

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

func (*OVMGasPriceOracleTransactorRaw) Transact

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

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

func (*OVMGasPriceOracleTransactorRaw) Transfer

func (_OVMGasPriceOracle *OVMGasPriceOracleTransactorRaw) 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 OVMGasPriceOracleTransactorSession

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

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

func (*OVMGasPriceOracleTransactorSession) RenounceOwnership

func (_OVMGasPriceOracle *OVMGasPriceOracleTransactorSession) RenounceOwnership() (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*OVMGasPriceOracleTransactorSession) SetDecimals

func (_OVMGasPriceOracle *OVMGasPriceOracleTransactorSession) SetDecimals(_decimals *big.Int) (*types.Transaction, error)

SetDecimals is a paid mutator transaction binding the contract method 0x8c8885c8.

Solidity: function setDecimals(uint256 _decimals) returns()

func (*OVMGasPriceOracleTransactorSession) SetGasPrice

func (_OVMGasPriceOracle *OVMGasPriceOracleTransactorSession) SetGasPrice(_gasPrice *big.Int) (*types.Transaction, error)

SetGasPrice is a paid mutator transaction binding the contract method 0xbf1fe420.

Solidity: function setGasPrice(uint256 _gasPrice) returns()

func (*OVMGasPriceOracleTransactorSession) SetL1BaseFee

func (_OVMGasPriceOracle *OVMGasPriceOracleTransactorSession) SetL1BaseFee(_baseFee *big.Int) (*types.Transaction, error)

SetL1BaseFee is a paid mutator transaction binding the contract method 0xbede39b5.

Solidity: function setL1BaseFee(uint256 _baseFee) returns()

func (*OVMGasPriceOracleTransactorSession) SetOverhead

func (_OVMGasPriceOracle *OVMGasPriceOracleTransactorSession) SetOverhead(_overhead *big.Int) (*types.Transaction, error)

SetOverhead is a paid mutator transaction binding the contract method 0x3577afc5.

Solidity: function setOverhead(uint256 _overhead) returns()

func (*OVMGasPriceOracleTransactorSession) SetScalar

func (_OVMGasPriceOracle *OVMGasPriceOracleTransactorSession) SetScalar(_scalar *big.Int) (*types.Transaction, error)

SetScalar is a paid mutator transaction binding the contract method 0x70465597.

Solidity: function setScalar(uint256 _scalar) returns()

func (*OVMGasPriceOracleTransactorSession) TransferOwnership

func (_OVMGasPriceOracle *OVMGasPriceOracleTransactorSession) 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 OriginalTokenVault

type OriginalTokenVault struct {
	OriginalTokenVaultCaller     // Read-only binding to the contract
	OriginalTokenVaultTransactor // Write-only binding to the contract
	OriginalTokenVaultFilterer   // Log filterer for contract events
}

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

func DeployOriginalTokenVault

func DeployOriginalTokenVault(auth *bind.TransactOpts, backend bind.ContractBackend, _sigsVerifier common.Address) (common.Address, *types.Transaction, *OriginalTokenVault, error)

DeployOriginalTokenVault deploys a new Ethereum contract, binding an instance of OriginalTokenVault to it.

func NewOriginalTokenVault

func NewOriginalTokenVault(address common.Address, backend bind.ContractBackend) (*OriginalTokenVault, error)

NewOriginalTokenVault creates a new instance of OriginalTokenVault, bound to a specific deployed contract.

type OriginalTokenVaultCaller

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

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

func NewOriginalTokenVaultCaller

func NewOriginalTokenVaultCaller(address common.Address, caller bind.ContractCaller) (*OriginalTokenVaultCaller, error)

NewOriginalTokenVaultCaller creates a new read-only instance of OriginalTokenVault, bound to a specific deployed contract.

func (*OriginalTokenVaultCaller) DelayPeriod

func (_OriginalTokenVault *OriginalTokenVaultCaller) DelayPeriod(opts *bind.CallOpts) (*big.Int, error)

DelayPeriod is a free data retrieval call binding the contract method 0xb1c94d94.

Solidity: function delayPeriod() view returns(uint256)

func (*OriginalTokenVaultCaller) DelayThresholds

func (_OriginalTokenVault *OriginalTokenVaultCaller) DelayThresholds(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)

DelayThresholds is a free data retrieval call binding the contract method 0x52532faa.

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

func (*OriginalTokenVaultCaller) DelayedTransfers

func (_OriginalTokenVault *OriginalTokenVaultCaller) DelayedTransfers(opts *bind.CallOpts, arg0 [32]byte) (struct {
	Receiver  common.Address
	Token     common.Address
	Amount    *big.Int
	Timestamp *big.Int
}, error)

DelayedTransfers is a free data retrieval call binding the contract method 0xadc0d57f.

Solidity: function delayedTransfers(bytes32 ) view returns(address receiver, address token, uint256 amount, uint256 timestamp)

func (*OriginalTokenVaultCaller) EpochLength

func (_OriginalTokenVault *OriginalTokenVaultCaller) EpochLength(opts *bind.CallOpts) (*big.Int, error)

EpochLength is a free data retrieval call binding the contract method 0x57d775f8.

Solidity: function epochLength() view returns(uint256)

func (*OriginalTokenVaultCaller) EpochVolumeCaps

func (_OriginalTokenVault *OriginalTokenVaultCaller) EpochVolumeCaps(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)

EpochVolumeCaps is a free data retrieval call binding the contract method 0xb5f2bc47.

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

func (*OriginalTokenVaultCaller) EpochVolumes

func (_OriginalTokenVault *OriginalTokenVaultCaller) EpochVolumes(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)

EpochVolumes is a free data retrieval call binding the contract method 0x60216b00.

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

func (*OriginalTokenVaultCaller) Governors

func (_OriginalTokenVault *OriginalTokenVaultCaller) Governors(opts *bind.CallOpts, arg0 common.Address) (bool, error)

Governors is a free data retrieval call binding the contract method 0xe3eece26.

Solidity: function governors(address ) view returns(bool)

func (*OriginalTokenVaultCaller) IsGovernor

func (_OriginalTokenVault *OriginalTokenVaultCaller) IsGovernor(opts *bind.CallOpts, _account common.Address) (bool, error)

IsGovernor is a free data retrieval call binding the contract method 0xe43581b8.

Solidity: function isGovernor(address _account) view returns(bool)

func (*OriginalTokenVaultCaller) IsPauser

func (_OriginalTokenVault *OriginalTokenVaultCaller) IsPauser(opts *bind.CallOpts, account common.Address) (bool, error)

IsPauser is a free data retrieval call binding the contract method 0x46fbf68e.

Solidity: function isPauser(address account) view returns(bool)

func (*OriginalTokenVaultCaller) LastOpTimestamps

func (_OriginalTokenVault *OriginalTokenVaultCaller) LastOpTimestamps(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)

LastOpTimestamps is a free data retrieval call binding the contract method 0xf8321383.

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

func (*OriginalTokenVaultCaller) MaxDeposit

func (_OriginalTokenVault *OriginalTokenVaultCaller) MaxDeposit(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)

MaxDeposit is a free data retrieval call binding the contract method 0x402d267d.

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

func (*OriginalTokenVaultCaller) MinDeposit

func (_OriginalTokenVault *OriginalTokenVaultCaller) MinDeposit(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)

MinDeposit is a free data retrieval call binding the contract method 0x3c29f839.

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

func (*OriginalTokenVaultCaller) NativeWrap

func (_OriginalTokenVault *OriginalTokenVaultCaller) NativeWrap(opts *bind.CallOpts) (common.Address, error)

NativeWrap is a free data retrieval call binding the contract method 0x457bfa2f.

Solidity: function nativeWrap() view returns(address)

func (*OriginalTokenVaultCaller) Owner

func (_OriginalTokenVault *OriginalTokenVaultCaller) 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 (*OriginalTokenVaultCaller) Paused

func (_OriginalTokenVault *OriginalTokenVaultCaller) Paused(opts *bind.CallOpts) (bool, error)

Paused is a free data retrieval call binding the contract method 0x5c975abb.

Solidity: function paused() view returns(bool)

func (*OriginalTokenVaultCaller) Pausers

func (_OriginalTokenVault *OriginalTokenVaultCaller) Pausers(opts *bind.CallOpts, arg0 common.Address) (bool, error)

Pausers is a free data retrieval call binding the contract method 0x80f51c12.

Solidity: function pausers(address ) view returns(bool)

func (*OriginalTokenVaultCaller) Records

func (_OriginalTokenVault *OriginalTokenVaultCaller) Records(opts *bind.CallOpts, arg0 [32]byte) (bool, error)

Records is a free data retrieval call binding the contract method 0x01e64725.

Solidity: function records(bytes32 ) view returns(bool)

func (*OriginalTokenVaultCaller) SigsVerifier

func (_OriginalTokenVault *OriginalTokenVaultCaller) SigsVerifier(opts *bind.CallOpts) (common.Address, error)

SigsVerifier is a free data retrieval call binding the contract method 0xccf2683b.

Solidity: function sigsVerifier() view returns(address)

type OriginalTokenVaultCallerRaw

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

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

func (*OriginalTokenVaultCallerRaw) Call

func (_OriginalTokenVault *OriginalTokenVaultCallerRaw) 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 OriginalTokenVaultCallerSession

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

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

func (*OriginalTokenVaultCallerSession) DelayPeriod

func (_OriginalTokenVault *OriginalTokenVaultCallerSession) DelayPeriod() (*big.Int, error)

DelayPeriod is a free data retrieval call binding the contract method 0xb1c94d94.

Solidity: function delayPeriod() view returns(uint256)

func (*OriginalTokenVaultCallerSession) DelayThresholds

func (_OriginalTokenVault *OriginalTokenVaultCallerSession) DelayThresholds(arg0 common.Address) (*big.Int, error)

DelayThresholds is a free data retrieval call binding the contract method 0x52532faa.

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

func (*OriginalTokenVaultCallerSession) DelayedTransfers

func (_OriginalTokenVault *OriginalTokenVaultCallerSession) DelayedTransfers(arg0 [32]byte) (struct {
	Receiver  common.Address
	Token     common.Address
	Amount    *big.Int
	Timestamp *big.Int
}, error)

DelayedTransfers is a free data retrieval call binding the contract method 0xadc0d57f.

Solidity: function delayedTransfers(bytes32 ) view returns(address receiver, address token, uint256 amount, uint256 timestamp)

func (*OriginalTokenVaultCallerSession) EpochLength

func (_OriginalTokenVault *OriginalTokenVaultCallerSession) EpochLength() (*big.Int, error)

EpochLength is a free data retrieval call binding the contract method 0x57d775f8.

Solidity: function epochLength() view returns(uint256)

func (*OriginalTokenVaultCallerSession) EpochVolumeCaps

func (_OriginalTokenVault *OriginalTokenVaultCallerSession) EpochVolumeCaps(arg0 common.Address) (*big.Int, error)

EpochVolumeCaps is a free data retrieval call binding the contract method 0xb5f2bc47.

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

func (*OriginalTokenVaultCallerSession) EpochVolumes

func (_OriginalTokenVault *OriginalTokenVaultCallerSession) EpochVolumes(arg0 common.Address) (*big.Int, error)

EpochVolumes is a free data retrieval call binding the contract method 0x60216b00.

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

func (*OriginalTokenVaultCallerSession) Governors

func (_OriginalTokenVault *OriginalTokenVaultCallerSession) Governors(arg0 common.Address) (bool, error)

Governors is a free data retrieval call binding the contract method 0xe3eece26.

Solidity: function governors(address ) view returns(bool)

func (*OriginalTokenVaultCallerSession) IsGovernor

func (_OriginalTokenVault *OriginalTokenVaultCallerSession) IsGovernor(_account common.Address) (bool, error)

IsGovernor is a free data retrieval call binding the contract method 0xe43581b8.

Solidity: function isGovernor(address _account) view returns(bool)

func (*OriginalTokenVaultCallerSession) IsPauser

func (_OriginalTokenVault *OriginalTokenVaultCallerSession) IsPauser(account common.Address) (bool, error)

IsPauser is a free data retrieval call binding the contract method 0x46fbf68e.

Solidity: function isPauser(address account) view returns(bool)

func (*OriginalTokenVaultCallerSession) LastOpTimestamps

func (_OriginalTokenVault *OriginalTokenVaultCallerSession) LastOpTimestamps(arg0 common.Address) (*big.Int, error)

LastOpTimestamps is a free data retrieval call binding the contract method 0xf8321383.

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

func (*OriginalTokenVaultCallerSession) MaxDeposit

func (_OriginalTokenVault *OriginalTokenVaultCallerSession) MaxDeposit(arg0 common.Address) (*big.Int, error)

MaxDeposit is a free data retrieval call binding the contract method 0x402d267d.

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

func (*OriginalTokenVaultCallerSession) MinDeposit

func (_OriginalTokenVault *OriginalTokenVaultCallerSession) MinDeposit(arg0 common.Address) (*big.Int, error)

MinDeposit is a free data retrieval call binding the contract method 0x3c29f839.

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

func (*OriginalTokenVaultCallerSession) NativeWrap

func (_OriginalTokenVault *OriginalTokenVaultCallerSession) NativeWrap() (common.Address, error)

NativeWrap is a free data retrieval call binding the contract method 0x457bfa2f.

Solidity: function nativeWrap() view returns(address)

func (*OriginalTokenVaultCallerSession) Owner

func (_OriginalTokenVault *OriginalTokenVaultCallerSession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*OriginalTokenVaultCallerSession) Paused

func (_OriginalTokenVault *OriginalTokenVaultCallerSession) Paused() (bool, error)

Paused is a free data retrieval call binding the contract method 0x5c975abb.

Solidity: function paused() view returns(bool)

func (*OriginalTokenVaultCallerSession) Pausers

func (_OriginalTokenVault *OriginalTokenVaultCallerSession) Pausers(arg0 common.Address) (bool, error)

Pausers is a free data retrieval call binding the contract method 0x80f51c12.

Solidity: function pausers(address ) view returns(bool)

func (*OriginalTokenVaultCallerSession) Records

func (_OriginalTokenVault *OriginalTokenVaultCallerSession) Records(arg0 [32]byte) (bool, error)

Records is a free data retrieval call binding the contract method 0x01e64725.

Solidity: function records(bytes32 ) view returns(bool)

func (*OriginalTokenVaultCallerSession) SigsVerifier

func (_OriginalTokenVault *OriginalTokenVaultCallerSession) SigsVerifier() (common.Address, error)

SigsVerifier is a free data retrieval call binding the contract method 0xccf2683b.

Solidity: function sigsVerifier() view returns(address)

type OriginalTokenVaultDelayPeriodUpdated

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

OriginalTokenVaultDelayPeriodUpdated represents a DelayPeriodUpdated event raised by the OriginalTokenVault contract.

type OriginalTokenVaultDelayPeriodUpdatedIterator

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

OriginalTokenVaultDelayPeriodUpdatedIterator is returned from FilterDelayPeriodUpdated and is used to iterate over the raw logs and unpacked data for DelayPeriodUpdated events raised by the OriginalTokenVault contract.

func (*OriginalTokenVaultDelayPeriodUpdatedIterator) Close

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

func (*OriginalTokenVaultDelayPeriodUpdatedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*OriginalTokenVaultDelayPeriodUpdatedIterator) 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 OriginalTokenVaultDelayThresholdUpdated

type OriginalTokenVaultDelayThresholdUpdated struct {
	Token     common.Address
	Threshold *big.Int
	Raw       types.Log // Blockchain specific contextual infos
}

OriginalTokenVaultDelayThresholdUpdated represents a DelayThresholdUpdated event raised by the OriginalTokenVault contract.

type OriginalTokenVaultDelayThresholdUpdatedIterator

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

OriginalTokenVaultDelayThresholdUpdatedIterator is returned from FilterDelayThresholdUpdated and is used to iterate over the raw logs and unpacked data for DelayThresholdUpdated events raised by the OriginalTokenVault contract.

func (*OriginalTokenVaultDelayThresholdUpdatedIterator) Close

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

func (*OriginalTokenVaultDelayThresholdUpdatedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*OriginalTokenVaultDelayThresholdUpdatedIterator) 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 OriginalTokenVaultDelayedTransferAdded

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

OriginalTokenVaultDelayedTransferAdded represents a DelayedTransferAdded event raised by the OriginalTokenVault contract.

type OriginalTokenVaultDelayedTransferAddedIterator

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

OriginalTokenVaultDelayedTransferAddedIterator is returned from FilterDelayedTransferAdded and is used to iterate over the raw logs and unpacked data for DelayedTransferAdded events raised by the OriginalTokenVault contract.

func (*OriginalTokenVaultDelayedTransferAddedIterator) Close

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

func (*OriginalTokenVaultDelayedTransferAddedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*OriginalTokenVaultDelayedTransferAddedIterator) 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 OriginalTokenVaultDelayedTransferExecuted

type OriginalTokenVaultDelayedTransferExecuted struct {
	Id       [32]byte
	Receiver common.Address
	Token    common.Address
	Amount   *big.Int
	Raw      types.Log // Blockchain specific contextual infos
}

OriginalTokenVaultDelayedTransferExecuted represents a DelayedTransferExecuted event raised by the OriginalTokenVault contract.

type OriginalTokenVaultDelayedTransferExecutedIterator

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

OriginalTokenVaultDelayedTransferExecutedIterator is returned from FilterDelayedTransferExecuted and is used to iterate over the raw logs and unpacked data for DelayedTransferExecuted events raised by the OriginalTokenVault contract.

func (*OriginalTokenVaultDelayedTransferExecutedIterator) Close

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

func (*OriginalTokenVaultDelayedTransferExecutedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*OriginalTokenVaultDelayedTransferExecutedIterator) 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 OriginalTokenVaultDeposited

type OriginalTokenVaultDeposited struct {
	DepositId   [32]byte
	Depositor   common.Address
	Token       common.Address
	Amount      *big.Int
	MintChainId uint64
	MintAccount common.Address
	Raw         types.Log // Blockchain specific contextual infos
}

OriginalTokenVaultDeposited represents a Deposited event raised by the OriginalTokenVault contract.

func (*OriginalTokenVaultDeposited) PrettyLog

func (ev *OriginalTokenVaultDeposited) PrettyLog(onchid uint64) string

onchid is the chainid this event happen

func (*OriginalTokenVaultDeposited) String

func (ev *OriginalTokenVaultDeposited) String() string

type OriginalTokenVaultDepositedIterator

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

OriginalTokenVaultDepositedIterator is returned from FilterDeposited and is used to iterate over the raw logs and unpacked data for Deposited events raised by the OriginalTokenVault contract.

func (*OriginalTokenVaultDepositedIterator) Close

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

func (*OriginalTokenVaultDepositedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*OriginalTokenVaultDepositedIterator) 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 OriginalTokenVaultEpochLengthUpdated

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

OriginalTokenVaultEpochLengthUpdated represents a EpochLengthUpdated event raised by the OriginalTokenVault contract.

type OriginalTokenVaultEpochLengthUpdatedIterator

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

OriginalTokenVaultEpochLengthUpdatedIterator is returned from FilterEpochLengthUpdated and is used to iterate over the raw logs and unpacked data for EpochLengthUpdated events raised by the OriginalTokenVault contract.

func (*OriginalTokenVaultEpochLengthUpdatedIterator) Close

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

func (*OriginalTokenVaultEpochLengthUpdatedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*OriginalTokenVaultEpochLengthUpdatedIterator) 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 OriginalTokenVaultEpochVolumeUpdated

type OriginalTokenVaultEpochVolumeUpdated struct {
	Token common.Address
	Cap   *big.Int
	Raw   types.Log // Blockchain specific contextual infos
}

OriginalTokenVaultEpochVolumeUpdated represents a EpochVolumeUpdated event raised by the OriginalTokenVault contract.

type OriginalTokenVaultEpochVolumeUpdatedIterator

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

OriginalTokenVaultEpochVolumeUpdatedIterator is returned from FilterEpochVolumeUpdated and is used to iterate over the raw logs and unpacked data for EpochVolumeUpdated events raised by the OriginalTokenVault contract.

func (*OriginalTokenVaultEpochVolumeUpdatedIterator) Close

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

func (*OriginalTokenVaultEpochVolumeUpdatedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*OriginalTokenVaultEpochVolumeUpdatedIterator) 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 OriginalTokenVaultFilterer

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

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

func NewOriginalTokenVaultFilterer

func NewOriginalTokenVaultFilterer(address common.Address, filterer bind.ContractFilterer) (*OriginalTokenVaultFilterer, error)

NewOriginalTokenVaultFilterer creates a new log filterer instance of OriginalTokenVault, bound to a specific deployed contract.

func (*OriginalTokenVaultFilterer) FilterDelayPeriodUpdated

func (_OriginalTokenVault *OriginalTokenVaultFilterer) FilterDelayPeriodUpdated(opts *bind.FilterOpts) (*OriginalTokenVaultDelayPeriodUpdatedIterator, error)

FilterDelayPeriodUpdated is a free log retrieval operation binding the contract event 0xc0a39f234199b125fb93713c4d067bdcebbf691087f87b79c0feb92b156ba8b6.

Solidity: event DelayPeriodUpdated(uint256 period)

func (*OriginalTokenVaultFilterer) FilterDelayThresholdUpdated

func (_OriginalTokenVault *OriginalTokenVaultFilterer) FilterDelayThresholdUpdated(opts *bind.FilterOpts) (*OriginalTokenVaultDelayThresholdUpdatedIterator, error)

FilterDelayThresholdUpdated is a free log retrieval operation binding the contract event 0xceaad6533bfb481492fb3e08ef19297f46611b8fa9de5ef4cf8dc23a56ad09ce.

Solidity: event DelayThresholdUpdated(address token, uint256 threshold)

func (*OriginalTokenVaultFilterer) FilterDelayedTransferAdded

func (_OriginalTokenVault *OriginalTokenVaultFilterer) FilterDelayedTransferAdded(opts *bind.FilterOpts) (*OriginalTokenVaultDelayedTransferAddedIterator, error)

FilterDelayedTransferAdded is a free log retrieval operation binding the contract event 0xcbcfffe5102114216a85d3aceb14ad4b81a3935b1b5c468fadf3889eb9c5dce6.

Solidity: event DelayedTransferAdded(bytes32 id)

func (*OriginalTokenVaultFilterer) FilterDelayedTransferExecuted

func (_OriginalTokenVault *OriginalTokenVaultFilterer) FilterDelayedTransferExecuted(opts *bind.FilterOpts) (*OriginalTokenVaultDelayedTransferExecutedIterator, error)

FilterDelayedTransferExecuted is a free log retrieval operation binding the contract event 0x3b40e5089937425d14cdd96947e5661868357e224af59bd8b24a4b8a330d4426.

Solidity: event DelayedTransferExecuted(bytes32 id, address receiver, address token, uint256 amount)

func (*OriginalTokenVaultFilterer) FilterDeposited

func (_OriginalTokenVault *OriginalTokenVaultFilterer) FilterDeposited(opts *bind.FilterOpts) (*OriginalTokenVaultDepositedIterator, error)

FilterDeposited is a free log retrieval operation binding the contract event 0x15d2eeefbe4963b5b2178f239ddcc730dda55f1c23c22efb79ded0eb854ac789.

Solidity: event Deposited(bytes32 depositId, address depositor, address token, uint256 amount, uint64 mintChainId, address mintAccount)

func (*OriginalTokenVaultFilterer) FilterEpochLengthUpdated

func (_OriginalTokenVault *OriginalTokenVaultFilterer) FilterEpochLengthUpdated(opts *bind.FilterOpts) (*OriginalTokenVaultEpochLengthUpdatedIterator, error)

FilterEpochLengthUpdated is a free log retrieval operation binding the contract event 0x2664fec2ff76486ac58ed087310855b648b15b9d19f3de8529e95f7c46b7d6b3.

Solidity: event EpochLengthUpdated(uint256 length)

func (*OriginalTokenVaultFilterer) FilterEpochVolumeUpdated

func (_OriginalTokenVault *OriginalTokenVaultFilterer) FilterEpochVolumeUpdated(opts *bind.FilterOpts) (*OriginalTokenVaultEpochVolumeUpdatedIterator, error)

FilterEpochVolumeUpdated is a free log retrieval operation binding the contract event 0x608e49c22994f20b5d3496dca088b88dfd81b4a3e8cc3809ea1e10a320107e89.

Solidity: event EpochVolumeUpdated(address token, uint256 cap)

func (*OriginalTokenVaultFilterer) FilterGovernorAdded

func (_OriginalTokenVault *OriginalTokenVaultFilterer) FilterGovernorAdded(opts *bind.FilterOpts) (*OriginalTokenVaultGovernorAddedIterator, error)

FilterGovernorAdded is a free log retrieval operation binding the contract event 0xdc5a48d79e2e147530ff63ecdbed5a5a66adb9d5cf339384d5d076da197c40b5.

Solidity: event GovernorAdded(address account)

func (*OriginalTokenVaultFilterer) FilterGovernorRemoved

func (_OriginalTokenVault *OriginalTokenVaultFilterer) FilterGovernorRemoved(opts *bind.FilterOpts) (*OriginalTokenVaultGovernorRemovedIterator, error)

FilterGovernorRemoved is a free log retrieval operation binding the contract event 0x1ebe834e73d60a5fec822c1e1727d34bc79f2ad977ed504581cc1822fe20fb5b.

Solidity: event GovernorRemoved(address account)

func (*OriginalTokenVaultFilterer) FilterMaxDepositUpdated

func (_OriginalTokenVault *OriginalTokenVaultFilterer) FilterMaxDepositUpdated(opts *bind.FilterOpts) (*OriginalTokenVaultMaxDepositUpdatedIterator, error)

FilterMaxDepositUpdated is a free log retrieval operation binding the contract event 0x0e5d348f9737ccc8b4cf0eea0ccf3670af071af8bea5d64664f10e700c08de72.

Solidity: event MaxDepositUpdated(address token, uint256 amount)

func (*OriginalTokenVaultFilterer) FilterMinDepositUpdated

func (_OriginalTokenVault *OriginalTokenVaultFilterer) FilterMinDepositUpdated(opts *bind.FilterOpts) (*OriginalTokenVaultMinDepositUpdatedIterator, error)

FilterMinDepositUpdated is a free log retrieval operation binding the contract event 0x0f48d517989455cd80ed52427e80553e66f9b69fd5cee8e26bd1a1f9c364fba6.

Solidity: event MinDepositUpdated(address token, uint256 amount)

func (*OriginalTokenVaultFilterer) FilterOwnershipTransferred

func (_OriginalTokenVault *OriginalTokenVaultFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*OriginalTokenVaultOwnershipTransferredIterator, error)

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

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

func (*OriginalTokenVaultFilterer) FilterPaused

func (_OriginalTokenVault *OriginalTokenVaultFilterer) FilterPaused(opts *bind.FilterOpts) (*OriginalTokenVaultPausedIterator, error)

FilterPaused is a free log retrieval operation binding the contract event 0x62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258.

Solidity: event Paused(address account)

func (*OriginalTokenVaultFilterer) FilterPauserAdded

func (_OriginalTokenVault *OriginalTokenVaultFilterer) FilterPauserAdded(opts *bind.FilterOpts) (*OriginalTokenVaultPauserAddedIterator, error)

FilterPauserAdded is a free log retrieval operation binding the contract event 0x6719d08c1888103bea251a4ed56406bd0c3e69723c8a1686e017e7bbe159b6f8.

Solidity: event PauserAdded(address account)

func (*OriginalTokenVaultFilterer) FilterPauserRemoved

func (_OriginalTokenVault *OriginalTokenVaultFilterer) FilterPauserRemoved(opts *bind.FilterOpts) (*OriginalTokenVaultPauserRemovedIterator, error)

FilterPauserRemoved is a free log retrieval operation binding the contract event 0xcd265ebaf09df2871cc7bd4133404a235ba12eff2041bb89d9c714a2621c7c7e.

Solidity: event PauserRemoved(address account)

func (*OriginalTokenVaultFilterer) FilterUnpaused

func (_OriginalTokenVault *OriginalTokenVaultFilterer) FilterUnpaused(opts *bind.FilterOpts) (*OriginalTokenVaultUnpausedIterator, error)

FilterUnpaused is a free log retrieval operation binding the contract event 0x5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa.

Solidity: event Unpaused(address account)

func (*OriginalTokenVaultFilterer) FilterWithdrawn

func (_OriginalTokenVault *OriginalTokenVaultFilterer) FilterWithdrawn(opts *bind.FilterOpts) (*OriginalTokenVaultWithdrawnIterator, error)

FilterWithdrawn is a free log retrieval operation binding the contract event 0x296a629c5265cb4e5319803d016902eb70a9079b89655fe2b7737821ed88beeb.

Solidity: event Withdrawn(bytes32 withdrawId, address receiver, address token, uint256 amount, uint64 refChainId, bytes32 refId, address burnAccount)

func (*OriginalTokenVaultFilterer) ParseDelayPeriodUpdated

func (_OriginalTokenVault *OriginalTokenVaultFilterer) ParseDelayPeriodUpdated(log types.Log) (*OriginalTokenVaultDelayPeriodUpdated, error)

ParseDelayPeriodUpdated is a log parse operation binding the contract event 0xc0a39f234199b125fb93713c4d067bdcebbf691087f87b79c0feb92b156ba8b6.

Solidity: event DelayPeriodUpdated(uint256 period)

func (*OriginalTokenVaultFilterer) ParseDelayThresholdUpdated

func (_OriginalTokenVault *OriginalTokenVaultFilterer) ParseDelayThresholdUpdated(log types.Log) (*OriginalTokenVaultDelayThresholdUpdated, error)

ParseDelayThresholdUpdated is a log parse operation binding the contract event 0xceaad6533bfb481492fb3e08ef19297f46611b8fa9de5ef4cf8dc23a56ad09ce.

Solidity: event DelayThresholdUpdated(address token, uint256 threshold)

func (*OriginalTokenVaultFilterer) ParseDelayedTransferAdded

func (_OriginalTokenVault *OriginalTokenVaultFilterer) ParseDelayedTransferAdded(log types.Log) (*OriginalTokenVaultDelayedTransferAdded, error)

ParseDelayedTransferAdded is a log parse operation binding the contract event 0xcbcfffe5102114216a85d3aceb14ad4b81a3935b1b5c468fadf3889eb9c5dce6.

Solidity: event DelayedTransferAdded(bytes32 id)

func (*OriginalTokenVaultFilterer) ParseDelayedTransferExecuted

func (_OriginalTokenVault *OriginalTokenVaultFilterer) ParseDelayedTransferExecuted(log types.Log) (*OriginalTokenVaultDelayedTransferExecuted, error)

ParseDelayedTransferExecuted is a log parse operation binding the contract event 0x3b40e5089937425d14cdd96947e5661868357e224af59bd8b24a4b8a330d4426.

Solidity: event DelayedTransferExecuted(bytes32 id, address receiver, address token, uint256 amount)

func (*OriginalTokenVaultFilterer) ParseDeposited

func (_OriginalTokenVault *OriginalTokenVaultFilterer) ParseDeposited(log types.Log) (*OriginalTokenVaultDeposited, error)

ParseDeposited is a log parse operation binding the contract event 0x15d2eeefbe4963b5b2178f239ddcc730dda55f1c23c22efb79ded0eb854ac789.

Solidity: event Deposited(bytes32 depositId, address depositor, address token, uint256 amount, uint64 mintChainId, address mintAccount)

func (*OriginalTokenVaultFilterer) ParseEpochLengthUpdated

func (_OriginalTokenVault *OriginalTokenVaultFilterer) ParseEpochLengthUpdated(log types.Log) (*OriginalTokenVaultEpochLengthUpdated, error)

ParseEpochLengthUpdated is a log parse operation binding the contract event 0x2664fec2ff76486ac58ed087310855b648b15b9d19f3de8529e95f7c46b7d6b3.

Solidity: event EpochLengthUpdated(uint256 length)

func (*OriginalTokenVaultFilterer) ParseEpochVolumeUpdated

func (_OriginalTokenVault *OriginalTokenVaultFilterer) ParseEpochVolumeUpdated(log types.Log) (*OriginalTokenVaultEpochVolumeUpdated, error)

ParseEpochVolumeUpdated is a log parse operation binding the contract event 0x608e49c22994f20b5d3496dca088b88dfd81b4a3e8cc3809ea1e10a320107e89.

Solidity: event EpochVolumeUpdated(address token, uint256 cap)

func (*OriginalTokenVaultFilterer) ParseGovernorAdded

func (_OriginalTokenVault *OriginalTokenVaultFilterer) ParseGovernorAdded(log types.Log) (*OriginalTokenVaultGovernorAdded, error)

ParseGovernorAdded is a log parse operation binding the contract event 0xdc5a48d79e2e147530ff63ecdbed5a5a66adb9d5cf339384d5d076da197c40b5.

Solidity: event GovernorAdded(address account)

func (*OriginalTokenVaultFilterer) ParseGovernorRemoved

func (_OriginalTokenVault *OriginalTokenVaultFilterer) ParseGovernorRemoved(log types.Log) (*OriginalTokenVaultGovernorRemoved, error)

ParseGovernorRemoved is a log parse operation binding the contract event 0x1ebe834e73d60a5fec822c1e1727d34bc79f2ad977ed504581cc1822fe20fb5b.

Solidity: event GovernorRemoved(address account)

func (*OriginalTokenVaultFilterer) ParseMaxDepositUpdated

func (_OriginalTokenVault *OriginalTokenVaultFilterer) ParseMaxDepositUpdated(log types.Log) (*OriginalTokenVaultMaxDepositUpdated, error)

ParseMaxDepositUpdated is a log parse operation binding the contract event 0x0e5d348f9737ccc8b4cf0eea0ccf3670af071af8bea5d64664f10e700c08de72.

Solidity: event MaxDepositUpdated(address token, uint256 amount)

func (*OriginalTokenVaultFilterer) ParseMinDepositUpdated

func (_OriginalTokenVault *OriginalTokenVaultFilterer) ParseMinDepositUpdated(log types.Log) (*OriginalTokenVaultMinDepositUpdated, error)

ParseMinDepositUpdated is a log parse operation binding the contract event 0x0f48d517989455cd80ed52427e80553e66f9b69fd5cee8e26bd1a1f9c364fba6.

Solidity: event MinDepositUpdated(address token, uint256 amount)

func (*OriginalTokenVaultFilterer) ParseOwnershipTransferred

func (_OriginalTokenVault *OriginalTokenVaultFilterer) ParseOwnershipTransferred(log types.Log) (*OriginalTokenVaultOwnershipTransferred, error)

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

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

func (*OriginalTokenVaultFilterer) ParsePaused

func (_OriginalTokenVault *OriginalTokenVaultFilterer) ParsePaused(log types.Log) (*OriginalTokenVaultPaused, error)

ParsePaused is a log parse operation binding the contract event 0x62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258.

Solidity: event Paused(address account)

func (*OriginalTokenVaultFilterer) ParsePauserAdded

func (_OriginalTokenVault *OriginalTokenVaultFilterer) ParsePauserAdded(log types.Log) (*OriginalTokenVaultPauserAdded, error)

ParsePauserAdded is a log parse operation binding the contract event 0x6719d08c1888103bea251a4ed56406bd0c3e69723c8a1686e017e7bbe159b6f8.

Solidity: event PauserAdded(address account)

func (*OriginalTokenVaultFilterer) ParsePauserRemoved

func (_OriginalTokenVault *OriginalTokenVaultFilterer) ParsePauserRemoved(log types.Log) (*OriginalTokenVaultPauserRemoved, error)

ParsePauserRemoved is a log parse operation binding the contract event 0xcd265ebaf09df2871cc7bd4133404a235ba12eff2041bb89d9c714a2621c7c7e.

Solidity: event PauserRemoved(address account)

func (*OriginalTokenVaultFilterer) ParseUnpaused

func (_OriginalTokenVault *OriginalTokenVaultFilterer) ParseUnpaused(log types.Log) (*OriginalTokenVaultUnpaused, error)

ParseUnpaused is a log parse operation binding the contract event 0x5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa.

Solidity: event Unpaused(address account)

func (*OriginalTokenVaultFilterer) ParseWithdrawn

func (_OriginalTokenVault *OriginalTokenVaultFilterer) ParseWithdrawn(log types.Log) (*OriginalTokenVaultWithdrawn, error)

ParseWithdrawn is a log parse operation binding the contract event 0x296a629c5265cb4e5319803d016902eb70a9079b89655fe2b7737821ed88beeb.

Solidity: event Withdrawn(bytes32 withdrawId, address receiver, address token, uint256 amount, uint64 refChainId, bytes32 refId, address burnAccount)

func (*OriginalTokenVaultFilterer) WatchDelayPeriodUpdated

func (_OriginalTokenVault *OriginalTokenVaultFilterer) WatchDelayPeriodUpdated(opts *bind.WatchOpts, sink chan<- *OriginalTokenVaultDelayPeriodUpdated) (event.Subscription, error)

WatchDelayPeriodUpdated is a free log subscription operation binding the contract event 0xc0a39f234199b125fb93713c4d067bdcebbf691087f87b79c0feb92b156ba8b6.

Solidity: event DelayPeriodUpdated(uint256 period)

func (*OriginalTokenVaultFilterer) WatchDelayThresholdUpdated

func (_OriginalTokenVault *OriginalTokenVaultFilterer) WatchDelayThresholdUpdated(opts *bind.WatchOpts, sink chan<- *OriginalTokenVaultDelayThresholdUpdated) (event.Subscription, error)

WatchDelayThresholdUpdated is a free log subscription operation binding the contract event 0xceaad6533bfb481492fb3e08ef19297f46611b8fa9de5ef4cf8dc23a56ad09ce.

Solidity: event DelayThresholdUpdated(address token, uint256 threshold)

func (*OriginalTokenVaultFilterer) WatchDelayedTransferAdded

func (_OriginalTokenVault *OriginalTokenVaultFilterer) WatchDelayedTransferAdded(opts *bind.WatchOpts, sink chan<- *OriginalTokenVaultDelayedTransferAdded) (event.Subscription, error)

WatchDelayedTransferAdded is a free log subscription operation binding the contract event 0xcbcfffe5102114216a85d3aceb14ad4b81a3935b1b5c468fadf3889eb9c5dce6.

Solidity: event DelayedTransferAdded(bytes32 id)

func (*OriginalTokenVaultFilterer) WatchDelayedTransferExecuted

func (_OriginalTokenVault *OriginalTokenVaultFilterer) WatchDelayedTransferExecuted(opts *bind.WatchOpts, sink chan<- *OriginalTokenVaultDelayedTransferExecuted) (event.Subscription, error)

WatchDelayedTransferExecuted is a free log subscription operation binding the contract event 0x3b40e5089937425d14cdd96947e5661868357e224af59bd8b24a4b8a330d4426.

Solidity: event DelayedTransferExecuted(bytes32 id, address receiver, address token, uint256 amount)

func (*OriginalTokenVaultFilterer) WatchDeposited

func (_OriginalTokenVault *OriginalTokenVaultFilterer) WatchDeposited(opts *bind.WatchOpts, sink chan<- *OriginalTokenVaultDeposited) (event.Subscription, error)

WatchDeposited is a free log subscription operation binding the contract event 0x15d2eeefbe4963b5b2178f239ddcc730dda55f1c23c22efb79ded0eb854ac789.

Solidity: event Deposited(bytes32 depositId, address depositor, address token, uint256 amount, uint64 mintChainId, address mintAccount)

func (*OriginalTokenVaultFilterer) WatchEpochLengthUpdated

func (_OriginalTokenVault *OriginalTokenVaultFilterer) WatchEpochLengthUpdated(opts *bind.WatchOpts, sink chan<- *OriginalTokenVaultEpochLengthUpdated) (event.Subscription, error)

WatchEpochLengthUpdated is a free log subscription operation binding the contract event 0x2664fec2ff76486ac58ed087310855b648b15b9d19f3de8529e95f7c46b7d6b3.

Solidity: event EpochLengthUpdated(uint256 length)

func (*OriginalTokenVaultFilterer) WatchEpochVolumeUpdated

func (_OriginalTokenVault *OriginalTokenVaultFilterer) WatchEpochVolumeUpdated(opts *bind.WatchOpts, sink chan<- *OriginalTokenVaultEpochVolumeUpdated) (event.Subscription, error)

WatchEpochVolumeUpdated is a free log subscription operation binding the contract event 0x608e49c22994f20b5d3496dca088b88dfd81b4a3e8cc3809ea1e10a320107e89.

Solidity: event EpochVolumeUpdated(address token, uint256 cap)

func (*OriginalTokenVaultFilterer) WatchGovernorAdded

func (_OriginalTokenVault *OriginalTokenVaultFilterer) WatchGovernorAdded(opts *bind.WatchOpts, sink chan<- *OriginalTokenVaultGovernorAdded) (event.Subscription, error)

WatchGovernorAdded is a free log subscription operation binding the contract event 0xdc5a48d79e2e147530ff63ecdbed5a5a66adb9d5cf339384d5d076da197c40b5.

Solidity: event GovernorAdded(address account)

func (*OriginalTokenVaultFilterer) WatchGovernorRemoved

func (_OriginalTokenVault *OriginalTokenVaultFilterer) WatchGovernorRemoved(opts *bind.WatchOpts, sink chan<- *OriginalTokenVaultGovernorRemoved) (event.Subscription, error)

WatchGovernorRemoved is a free log subscription operation binding the contract event 0x1ebe834e73d60a5fec822c1e1727d34bc79f2ad977ed504581cc1822fe20fb5b.

Solidity: event GovernorRemoved(address account)

func (*OriginalTokenVaultFilterer) WatchMaxDepositUpdated

func (_OriginalTokenVault *OriginalTokenVaultFilterer) WatchMaxDepositUpdated(opts *bind.WatchOpts, sink chan<- *OriginalTokenVaultMaxDepositUpdated) (event.Subscription, error)

WatchMaxDepositUpdated is a free log subscription operation binding the contract event 0x0e5d348f9737ccc8b4cf0eea0ccf3670af071af8bea5d64664f10e700c08de72.

Solidity: event MaxDepositUpdated(address token, uint256 amount)

func (*OriginalTokenVaultFilterer) WatchMinDepositUpdated

func (_OriginalTokenVault *OriginalTokenVaultFilterer) WatchMinDepositUpdated(opts *bind.WatchOpts, sink chan<- *OriginalTokenVaultMinDepositUpdated) (event.Subscription, error)

WatchMinDepositUpdated is a free log subscription operation binding the contract event 0x0f48d517989455cd80ed52427e80553e66f9b69fd5cee8e26bd1a1f9c364fba6.

Solidity: event MinDepositUpdated(address token, uint256 amount)

func (*OriginalTokenVaultFilterer) WatchOwnershipTransferred

func (_OriginalTokenVault *OriginalTokenVaultFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *OriginalTokenVaultOwnershipTransferred, 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 (*OriginalTokenVaultFilterer) WatchPaused

func (_OriginalTokenVault *OriginalTokenVaultFilterer) WatchPaused(opts *bind.WatchOpts, sink chan<- *OriginalTokenVaultPaused) (event.Subscription, error)

WatchPaused is a free log subscription operation binding the contract event 0x62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258.

Solidity: event Paused(address account)

func (*OriginalTokenVaultFilterer) WatchPauserAdded

func (_OriginalTokenVault *OriginalTokenVaultFilterer) WatchPauserAdded(opts *bind.WatchOpts, sink chan<- *OriginalTokenVaultPauserAdded) (event.Subscription, error)

WatchPauserAdded is a free log subscription operation binding the contract event 0x6719d08c1888103bea251a4ed56406bd0c3e69723c8a1686e017e7bbe159b6f8.

Solidity: event PauserAdded(address account)

func (*OriginalTokenVaultFilterer) WatchPauserRemoved

func (_OriginalTokenVault *OriginalTokenVaultFilterer) WatchPauserRemoved(opts *bind.WatchOpts, sink chan<- *OriginalTokenVaultPauserRemoved) (event.Subscription, error)

WatchPauserRemoved is a free log subscription operation binding the contract event 0xcd265ebaf09df2871cc7bd4133404a235ba12eff2041bb89d9c714a2621c7c7e.

Solidity: event PauserRemoved(address account)

func (*OriginalTokenVaultFilterer) WatchUnpaused

func (_OriginalTokenVault *OriginalTokenVaultFilterer) WatchUnpaused(opts *bind.WatchOpts, sink chan<- *OriginalTokenVaultUnpaused) (event.Subscription, error)

WatchUnpaused is a free log subscription operation binding the contract event 0x5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa.

Solidity: event Unpaused(address account)

func (*OriginalTokenVaultFilterer) WatchWithdrawn

func (_OriginalTokenVault *OriginalTokenVaultFilterer) WatchWithdrawn(opts *bind.WatchOpts, sink chan<- *OriginalTokenVaultWithdrawn) (event.Subscription, error)

WatchWithdrawn is a free log subscription operation binding the contract event 0x296a629c5265cb4e5319803d016902eb70a9079b89655fe2b7737821ed88beeb.

Solidity: event Withdrawn(bytes32 withdrawId, address receiver, address token, uint256 amount, uint64 refChainId, bytes32 refId, address burnAccount)

type OriginalTokenVaultGovernorAdded

type OriginalTokenVaultGovernorAdded struct {
	Account common.Address
	Raw     types.Log // Blockchain specific contextual infos
}

OriginalTokenVaultGovernorAdded represents a GovernorAdded event raised by the OriginalTokenVault contract.

type OriginalTokenVaultGovernorAddedIterator

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

OriginalTokenVaultGovernorAddedIterator is returned from FilterGovernorAdded and is used to iterate over the raw logs and unpacked data for GovernorAdded events raised by the OriginalTokenVault contract.

func (*OriginalTokenVaultGovernorAddedIterator) Close

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

func (*OriginalTokenVaultGovernorAddedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*OriginalTokenVaultGovernorAddedIterator) 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 OriginalTokenVaultGovernorRemoved

type OriginalTokenVaultGovernorRemoved struct {
	Account common.Address
	Raw     types.Log // Blockchain specific contextual infos
}

OriginalTokenVaultGovernorRemoved represents a GovernorRemoved event raised by the OriginalTokenVault contract.

type OriginalTokenVaultGovernorRemovedIterator

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

OriginalTokenVaultGovernorRemovedIterator is returned from FilterGovernorRemoved and is used to iterate over the raw logs and unpacked data for GovernorRemoved events raised by the OriginalTokenVault contract.

func (*OriginalTokenVaultGovernorRemovedIterator) Close

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

func (*OriginalTokenVaultGovernorRemovedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*OriginalTokenVaultGovernorRemovedIterator) 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 OriginalTokenVaultMaxDepositUpdated

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

OriginalTokenVaultMaxDepositUpdated represents a MaxDepositUpdated event raised by the OriginalTokenVault contract.

type OriginalTokenVaultMaxDepositUpdatedIterator

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

OriginalTokenVaultMaxDepositUpdatedIterator is returned from FilterMaxDepositUpdated and is used to iterate over the raw logs and unpacked data for MaxDepositUpdated events raised by the OriginalTokenVault contract.

func (*OriginalTokenVaultMaxDepositUpdatedIterator) Close

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

func (*OriginalTokenVaultMaxDepositUpdatedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*OriginalTokenVaultMaxDepositUpdatedIterator) 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 OriginalTokenVaultMinDepositUpdated

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

OriginalTokenVaultMinDepositUpdated represents a MinDepositUpdated event raised by the OriginalTokenVault contract.

type OriginalTokenVaultMinDepositUpdatedIterator

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

OriginalTokenVaultMinDepositUpdatedIterator is returned from FilterMinDepositUpdated and is used to iterate over the raw logs and unpacked data for MinDepositUpdated events raised by the OriginalTokenVault contract.

func (*OriginalTokenVaultMinDepositUpdatedIterator) Close

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

func (*OriginalTokenVaultMinDepositUpdatedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*OriginalTokenVaultMinDepositUpdatedIterator) 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 OriginalTokenVaultOwnershipTransferred

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

OriginalTokenVaultOwnershipTransferred represents a OwnershipTransferred event raised by the OriginalTokenVault contract.

type OriginalTokenVaultOwnershipTransferredIterator

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

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

func (*OriginalTokenVaultOwnershipTransferredIterator) Close

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

func (*OriginalTokenVaultOwnershipTransferredIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*OriginalTokenVaultOwnershipTransferredIterator) 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 OriginalTokenVaultPaused

type OriginalTokenVaultPaused struct {
	Account common.Address
	Raw     types.Log // Blockchain specific contextual infos
}

OriginalTokenVaultPaused represents a Paused event raised by the OriginalTokenVault contract.

type OriginalTokenVaultPausedIterator

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

OriginalTokenVaultPausedIterator is returned from FilterPaused and is used to iterate over the raw logs and unpacked data for Paused events raised by the OriginalTokenVault contract.

func (*OriginalTokenVaultPausedIterator) Close

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

func (*OriginalTokenVaultPausedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*OriginalTokenVaultPausedIterator) 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 OriginalTokenVaultPauserAdded

type OriginalTokenVaultPauserAdded struct {
	Account common.Address
	Raw     types.Log // Blockchain specific contextual infos
}

OriginalTokenVaultPauserAdded represents a PauserAdded event raised by the OriginalTokenVault contract.

type OriginalTokenVaultPauserAddedIterator

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

OriginalTokenVaultPauserAddedIterator is returned from FilterPauserAdded and is used to iterate over the raw logs and unpacked data for PauserAdded events raised by the OriginalTokenVault contract.

func (*OriginalTokenVaultPauserAddedIterator) Close

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

func (*OriginalTokenVaultPauserAddedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*OriginalTokenVaultPauserAddedIterator) 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 OriginalTokenVaultPauserRemoved

type OriginalTokenVaultPauserRemoved struct {
	Account common.Address
	Raw     types.Log // Blockchain specific contextual infos
}

OriginalTokenVaultPauserRemoved represents a PauserRemoved event raised by the OriginalTokenVault contract.

type OriginalTokenVaultPauserRemovedIterator

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

OriginalTokenVaultPauserRemovedIterator is returned from FilterPauserRemoved and is used to iterate over the raw logs and unpacked data for PauserRemoved events raised by the OriginalTokenVault contract.

func (*OriginalTokenVaultPauserRemovedIterator) Close

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

func (*OriginalTokenVaultPauserRemovedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*OriginalTokenVaultPauserRemovedIterator) 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 OriginalTokenVaultRaw

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

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

func (*OriginalTokenVaultRaw) Call

func (_OriginalTokenVault *OriginalTokenVaultRaw) 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 (*OriginalTokenVaultRaw) Transact

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

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

func (*OriginalTokenVaultRaw) Transfer

func (_OriginalTokenVault *OriginalTokenVaultRaw) 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 OriginalTokenVaultSession

type OriginalTokenVaultSession struct {
	Contract     *OriginalTokenVault // 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
}

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

func (*OriginalTokenVaultSession) AddGovernor

func (_OriginalTokenVault *OriginalTokenVaultSession) AddGovernor(_account common.Address) (*types.Transaction, error)

AddGovernor is a paid mutator transaction binding the contract method 0x3c4a25d0.

Solidity: function addGovernor(address _account) returns()

func (*OriginalTokenVaultSession) AddPauser

func (_OriginalTokenVault *OriginalTokenVaultSession) AddPauser(account common.Address) (*types.Transaction, error)

AddPauser is a paid mutator transaction binding the contract method 0x82dc1ec4.

Solidity: function addPauser(address account) returns()

func (*OriginalTokenVaultSession) DelayPeriod

func (_OriginalTokenVault *OriginalTokenVaultSession) DelayPeriod() (*big.Int, error)

DelayPeriod is a free data retrieval call binding the contract method 0xb1c94d94.

Solidity: function delayPeriod() view returns(uint256)

func (*OriginalTokenVaultSession) DelayThresholds

func (_OriginalTokenVault *OriginalTokenVaultSession) DelayThresholds(arg0 common.Address) (*big.Int, error)

DelayThresholds is a free data retrieval call binding the contract method 0x52532faa.

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

func (*OriginalTokenVaultSession) DelayedTransfers

func (_OriginalTokenVault *OriginalTokenVaultSession) DelayedTransfers(arg0 [32]byte) (struct {
	Receiver  common.Address
	Token     common.Address
	Amount    *big.Int
	Timestamp *big.Int
}, error)

DelayedTransfers is a free data retrieval call binding the contract method 0xadc0d57f.

Solidity: function delayedTransfers(bytes32 ) view returns(address receiver, address token, uint256 amount, uint256 timestamp)

func (*OriginalTokenVaultSession) Deposit

func (_OriginalTokenVault *OriginalTokenVaultSession) Deposit(_token common.Address, _amount *big.Int, _mintChainId uint64, _mintAccount common.Address, _nonce uint64) (*types.Transaction, error)

Deposit is a paid mutator transaction binding the contract method 0x23463624.

Solidity: function deposit(address _token, uint256 _amount, uint64 _mintChainId, address _mintAccount, uint64 _nonce) returns()

func (*OriginalTokenVaultSession) DepositNative

func (_OriginalTokenVault *OriginalTokenVaultSession) DepositNative(_amount *big.Int, _mintChainId uint64, _mintAccount common.Address, _nonce uint64) (*types.Transaction, error)

DepositNative is a paid mutator transaction binding the contract method 0x00a95fd7.

Solidity: function depositNative(uint256 _amount, uint64 _mintChainId, address _mintAccount, uint64 _nonce) payable returns()

func (*OriginalTokenVaultSession) EpochLength

func (_OriginalTokenVault *OriginalTokenVaultSession) EpochLength() (*big.Int, error)

EpochLength is a free data retrieval call binding the contract method 0x57d775f8.

Solidity: function epochLength() view returns(uint256)

func (*OriginalTokenVaultSession) EpochVolumeCaps

func (_OriginalTokenVault *OriginalTokenVaultSession) EpochVolumeCaps(arg0 common.Address) (*big.Int, error)

EpochVolumeCaps is a free data retrieval call binding the contract method 0xb5f2bc47.

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

func (*OriginalTokenVaultSession) EpochVolumes

func (_OriginalTokenVault *OriginalTokenVaultSession) EpochVolumes(arg0 common.Address) (*big.Int, error)

EpochVolumes is a free data retrieval call binding the contract method 0x60216b00.

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

func (*OriginalTokenVaultSession) ExecuteDelayedTransfer

func (_OriginalTokenVault *OriginalTokenVaultSession) ExecuteDelayedTransfer(id [32]byte) (*types.Transaction, error)

ExecuteDelayedTransfer is a paid mutator transaction binding the contract method 0x9e25fc5c.

Solidity: function executeDelayedTransfer(bytes32 id) returns()

func (*OriginalTokenVaultSession) Governors

func (_OriginalTokenVault *OriginalTokenVaultSession) Governors(arg0 common.Address) (bool, error)

Governors is a free data retrieval call binding the contract method 0xe3eece26.

Solidity: function governors(address ) view returns(bool)

func (*OriginalTokenVaultSession) IsGovernor

func (_OriginalTokenVault *OriginalTokenVaultSession) IsGovernor(_account common.Address) (bool, error)

IsGovernor is a free data retrieval call binding the contract method 0xe43581b8.

Solidity: function isGovernor(address _account) view returns(bool)

func (*OriginalTokenVaultSession) IsPauser

func (_OriginalTokenVault *OriginalTokenVaultSession) IsPauser(account common.Address) (bool, error)

IsPauser is a free data retrieval call binding the contract method 0x46fbf68e.

Solidity: function isPauser(address account) view returns(bool)

func (*OriginalTokenVaultSession) LastOpTimestamps

func (_OriginalTokenVault *OriginalTokenVaultSession) LastOpTimestamps(arg0 common.Address) (*big.Int, error)

LastOpTimestamps is a free data retrieval call binding the contract method 0xf8321383.

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

func (*OriginalTokenVaultSession) MaxDeposit

func (_OriginalTokenVault *OriginalTokenVaultSession) MaxDeposit(arg0 common.Address) (*big.Int, error)

MaxDeposit is a free data retrieval call binding the contract method 0x402d267d.

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

func (*OriginalTokenVaultSession) MinDeposit

func (_OriginalTokenVault *OriginalTokenVaultSession) MinDeposit(arg0 common.Address) (*big.Int, error)

MinDeposit is a free data retrieval call binding the contract method 0x3c29f839.

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

func (*OriginalTokenVaultSession) NativeWrap

func (_OriginalTokenVault *OriginalTokenVaultSession) NativeWrap() (common.Address, error)

NativeWrap is a free data retrieval call binding the contract method 0x457bfa2f.

Solidity: function nativeWrap() view returns(address)

func (*OriginalTokenVaultSession) Owner

func (_OriginalTokenVault *OriginalTokenVaultSession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*OriginalTokenVaultSession) Pause

func (_OriginalTokenVault *OriginalTokenVaultSession) Pause() (*types.Transaction, error)

Pause is a paid mutator transaction binding the contract method 0x8456cb59.

Solidity: function pause() returns()

func (*OriginalTokenVaultSession) Paused

func (_OriginalTokenVault *OriginalTokenVaultSession) Paused() (bool, error)

Paused is a free data retrieval call binding the contract method 0x5c975abb.

Solidity: function paused() view returns(bool)

func (*OriginalTokenVaultSession) Pausers

func (_OriginalTokenVault *OriginalTokenVaultSession) Pausers(arg0 common.Address) (bool, error)

Pausers is a free data retrieval call binding the contract method 0x80f51c12.

Solidity: function pausers(address ) view returns(bool)

func (*OriginalTokenVaultSession) Receive

func (_OriginalTokenVault *OriginalTokenVaultSession) Receive() (*types.Transaction, error)

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

Solidity: receive() payable returns()

func (*OriginalTokenVaultSession) Records

func (_OriginalTokenVault *OriginalTokenVaultSession) Records(arg0 [32]byte) (bool, error)

Records is a free data retrieval call binding the contract method 0x01e64725.

Solidity: function records(bytes32 ) view returns(bool)

func (*OriginalTokenVaultSession) RemoveGovernor

func (_OriginalTokenVault *OriginalTokenVaultSession) RemoveGovernor(_account common.Address) (*types.Transaction, error)

RemoveGovernor is a paid mutator transaction binding the contract method 0xeecdac88.

Solidity: function removeGovernor(address _account) returns()

func (*OriginalTokenVaultSession) RemovePauser

func (_OriginalTokenVault *OriginalTokenVaultSession) RemovePauser(account common.Address) (*types.Transaction, error)

RemovePauser is a paid mutator transaction binding the contract method 0x6b2c0f55.

Solidity: function removePauser(address account) returns()

func (*OriginalTokenVaultSession) RenounceGovernor

func (_OriginalTokenVault *OriginalTokenVaultSession) RenounceGovernor() (*types.Transaction, error)

RenounceGovernor is a paid mutator transaction binding the contract method 0xe026049c.

Solidity: function renounceGovernor() returns()

func (*OriginalTokenVaultSession) RenouncePauser

func (_OriginalTokenVault *OriginalTokenVaultSession) RenouncePauser() (*types.Transaction, error)

RenouncePauser is a paid mutator transaction binding the contract method 0x6ef8d66d.

Solidity: function renouncePauser() returns()

func (*OriginalTokenVaultSession) SetDelayPeriod

func (_OriginalTokenVault *OriginalTokenVaultSession) SetDelayPeriod(_period *big.Int) (*types.Transaction, error)

SetDelayPeriod is a paid mutator transaction binding the contract method 0x3d572107.

Solidity: function setDelayPeriod(uint256 _period) returns()

func (*OriginalTokenVaultSession) SetDelayThresholds

func (_OriginalTokenVault *OriginalTokenVaultSession) SetDelayThresholds(_tokens []common.Address, _thresholds []*big.Int) (*types.Transaction, error)

SetDelayThresholds is a paid mutator transaction binding the contract method 0x17bdbae5.

Solidity: function setDelayThresholds(address[] _tokens, uint256[] _thresholds) returns()

func (*OriginalTokenVaultSession) SetEpochLength

func (_OriginalTokenVault *OriginalTokenVaultSession) SetEpochLength(_length *big.Int) (*types.Transaction, error)

SetEpochLength is a paid mutator transaction binding the contract method 0x54eea796.

Solidity: function setEpochLength(uint256 _length) returns()

func (*OriginalTokenVaultSession) SetEpochVolumeCaps

func (_OriginalTokenVault *OriginalTokenVaultSession) SetEpochVolumeCaps(_tokens []common.Address, _caps []*big.Int) (*types.Transaction, error)

SetEpochVolumeCaps is a paid mutator transaction binding the contract method 0x47b16c6c.

Solidity: function setEpochVolumeCaps(address[] _tokens, uint256[] _caps) returns()

func (*OriginalTokenVaultSession) SetMaxDeposit

func (_OriginalTokenVault *OriginalTokenVaultSession) SetMaxDeposit(_tokens []common.Address, _amounts []*big.Int) (*types.Transaction, error)

SetMaxDeposit is a paid mutator transaction binding the contract method 0x303b6442.

Solidity: function setMaxDeposit(address[] _tokens, uint256[] _amounts) returns()

func (*OriginalTokenVaultSession) SetMinDeposit

func (_OriginalTokenVault *OriginalTokenVaultSession) SetMinDeposit(_tokens []common.Address, _amounts []*big.Int) (*types.Transaction, error)

SetMinDeposit is a paid mutator transaction binding the contract method 0x5ec2fa26.

Solidity: function setMinDeposit(address[] _tokens, uint256[] _amounts) returns()

func (*OriginalTokenVaultSession) SetWrap

func (_OriginalTokenVault *OriginalTokenVaultSession) SetWrap(_weth common.Address) (*types.Transaction, error)

SetWrap is a paid mutator transaction binding the contract method 0x9ff9001a.

Solidity: function setWrap(address _weth) returns()

func (*OriginalTokenVaultSession) SigsVerifier

func (_OriginalTokenVault *OriginalTokenVaultSession) SigsVerifier() (common.Address, error)

SigsVerifier is a free data retrieval call binding the contract method 0xccf2683b.

Solidity: function sigsVerifier() view returns(address)

func (*OriginalTokenVaultSession) TransferOwnership

func (_OriginalTokenVault *OriginalTokenVaultSession) 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 (*OriginalTokenVaultSession) Unpause

func (_OriginalTokenVault *OriginalTokenVaultSession) Unpause() (*types.Transaction, error)

Unpause is a paid mutator transaction binding the contract method 0x3f4ba83a.

Solidity: function unpause() returns()

func (*OriginalTokenVaultSession) Withdraw

func (_OriginalTokenVault *OriginalTokenVaultSession) Withdraw(_request []byte, _sigs [][]byte, _signers []common.Address, _powers []*big.Int) (*types.Transaction, error)

Withdraw is a paid mutator transaction binding the contract method 0xa21a9280.

Solidity: function withdraw(bytes _request, bytes[] _sigs, address[] _signers, uint256[] _powers) returns()

type OriginalTokenVaultTransactor

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

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

func NewOriginalTokenVaultTransactor

func NewOriginalTokenVaultTransactor(address common.Address, transactor bind.ContractTransactor) (*OriginalTokenVaultTransactor, error)

NewOriginalTokenVaultTransactor creates a new write-only instance of OriginalTokenVault, bound to a specific deployed contract.

func (*OriginalTokenVaultTransactor) AddGovernor

func (_OriginalTokenVault *OriginalTokenVaultTransactor) AddGovernor(opts *bind.TransactOpts, _account common.Address) (*types.Transaction, error)

AddGovernor is a paid mutator transaction binding the contract method 0x3c4a25d0.

Solidity: function addGovernor(address _account) returns()

func (*OriginalTokenVaultTransactor) AddPauser

func (_OriginalTokenVault *OriginalTokenVaultTransactor) AddPauser(opts *bind.TransactOpts, account common.Address) (*types.Transaction, error)

AddPauser is a paid mutator transaction binding the contract method 0x82dc1ec4.

Solidity: function addPauser(address account) returns()

func (*OriginalTokenVaultTransactor) Deposit

func (_OriginalTokenVault *OriginalTokenVaultTransactor) Deposit(opts *bind.TransactOpts, _token common.Address, _amount *big.Int, _mintChainId uint64, _mintAccount common.Address, _nonce uint64) (*types.Transaction, error)

Deposit is a paid mutator transaction binding the contract method 0x23463624.

Solidity: function deposit(address _token, uint256 _amount, uint64 _mintChainId, address _mintAccount, uint64 _nonce) returns()

func (*OriginalTokenVaultTransactor) DepositNative

func (_OriginalTokenVault *OriginalTokenVaultTransactor) DepositNative(opts *bind.TransactOpts, _amount *big.Int, _mintChainId uint64, _mintAccount common.Address, _nonce uint64) (*types.Transaction, error)

DepositNative is a paid mutator transaction binding the contract method 0x00a95fd7.

Solidity: function depositNative(uint256 _amount, uint64 _mintChainId, address _mintAccount, uint64 _nonce) payable returns()

func (*OriginalTokenVaultTransactor) ExecuteDelayedTransfer

func (_OriginalTokenVault *OriginalTokenVaultTransactor) ExecuteDelayedTransfer(opts *bind.TransactOpts, id [32]byte) (*types.Transaction, error)

ExecuteDelayedTransfer is a paid mutator transaction binding the contract method 0x9e25fc5c.

Solidity: function executeDelayedTransfer(bytes32 id) returns()

func (*OriginalTokenVaultTransactor) Pause

func (_OriginalTokenVault *OriginalTokenVaultTransactor) Pause(opts *bind.TransactOpts) (*types.Transaction, error)

Pause is a paid mutator transaction binding the contract method 0x8456cb59.

Solidity: function pause() returns()

func (*OriginalTokenVaultTransactor) Receive

func (_OriginalTokenVault *OriginalTokenVaultTransactor) Receive(opts *bind.TransactOpts) (*types.Transaction, error)

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

Solidity: receive() payable returns()

func (*OriginalTokenVaultTransactor) RemoveGovernor

func (_OriginalTokenVault *OriginalTokenVaultTransactor) RemoveGovernor(opts *bind.TransactOpts, _account common.Address) (*types.Transaction, error)

RemoveGovernor is a paid mutator transaction binding the contract method 0xeecdac88.

Solidity: function removeGovernor(address _account) returns()

func (*OriginalTokenVaultTransactor) RemovePauser

func (_OriginalTokenVault *OriginalTokenVaultTransactor) RemovePauser(opts *bind.TransactOpts, account common.Address) (*types.Transaction, error)

RemovePauser is a paid mutator transaction binding the contract method 0x6b2c0f55.

Solidity: function removePauser(address account) returns()

func (*OriginalTokenVaultTransactor) RenounceGovernor

func (_OriginalTokenVault *OriginalTokenVaultTransactor) RenounceGovernor(opts *bind.TransactOpts) (*types.Transaction, error)

RenounceGovernor is a paid mutator transaction binding the contract method 0xe026049c.

Solidity: function renounceGovernor() returns()

func (*OriginalTokenVaultTransactor) RenouncePauser

func (_OriginalTokenVault *OriginalTokenVaultTransactor) RenouncePauser(opts *bind.TransactOpts) (*types.Transaction, error)

RenouncePauser is a paid mutator transaction binding the contract method 0x6ef8d66d.

Solidity: function renouncePauser() returns()

func (*OriginalTokenVaultTransactor) SetDelayPeriod

func (_OriginalTokenVault *OriginalTokenVaultTransactor) SetDelayPeriod(opts *bind.TransactOpts, _period *big.Int) (*types.Transaction, error)

SetDelayPeriod is a paid mutator transaction binding the contract method 0x3d572107.

Solidity: function setDelayPeriod(uint256 _period) returns()

func (*OriginalTokenVaultTransactor) SetDelayThresholds

func (_OriginalTokenVault *OriginalTokenVaultTransactor) SetDelayThresholds(opts *bind.TransactOpts, _tokens []common.Address, _thresholds []*big.Int) (*types.Transaction, error)

SetDelayThresholds is a paid mutator transaction binding the contract method 0x17bdbae5.

Solidity: function setDelayThresholds(address[] _tokens, uint256[] _thresholds) returns()

func (*OriginalTokenVaultTransactor) SetEpochLength

func (_OriginalTokenVault *OriginalTokenVaultTransactor) SetEpochLength(opts *bind.TransactOpts, _length *big.Int) (*types.Transaction, error)

SetEpochLength is a paid mutator transaction binding the contract method 0x54eea796.

Solidity: function setEpochLength(uint256 _length) returns()

func (*OriginalTokenVaultTransactor) SetEpochVolumeCaps

func (_OriginalTokenVault *OriginalTokenVaultTransactor) SetEpochVolumeCaps(opts *bind.TransactOpts, _tokens []common.Address, _caps []*big.Int) (*types.Transaction, error)

SetEpochVolumeCaps is a paid mutator transaction binding the contract method 0x47b16c6c.

Solidity: function setEpochVolumeCaps(address[] _tokens, uint256[] _caps) returns()

func (*OriginalTokenVaultTransactor) SetMaxDeposit

func (_OriginalTokenVault *OriginalTokenVaultTransactor) SetMaxDeposit(opts *bind.TransactOpts, _tokens []common.Address, _amounts []*big.Int) (*types.Transaction, error)

SetMaxDeposit is a paid mutator transaction binding the contract method 0x303b6442.

Solidity: function setMaxDeposit(address[] _tokens, uint256[] _amounts) returns()

func (*OriginalTokenVaultTransactor) SetMinDeposit

func (_OriginalTokenVault *OriginalTokenVaultTransactor) SetMinDeposit(opts *bind.TransactOpts, _tokens []common.Address, _amounts []*big.Int) (*types.Transaction, error)

SetMinDeposit is a paid mutator transaction binding the contract method 0x5ec2fa26.

Solidity: function setMinDeposit(address[] _tokens, uint256[] _amounts) returns()

func (*OriginalTokenVaultTransactor) SetWrap

func (_OriginalTokenVault *OriginalTokenVaultTransactor) SetWrap(opts *bind.TransactOpts, _weth common.Address) (*types.Transaction, error)

SetWrap is a paid mutator transaction binding the contract method 0x9ff9001a.

Solidity: function setWrap(address _weth) returns()

func (*OriginalTokenVaultTransactor) TransferOwnership

func (_OriginalTokenVault *OriginalTokenVaultTransactor) 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 (*OriginalTokenVaultTransactor) Unpause

func (_OriginalTokenVault *OriginalTokenVaultTransactor) Unpause(opts *bind.TransactOpts) (*types.Transaction, error)

Unpause is a paid mutator transaction binding the contract method 0x3f4ba83a.

Solidity: function unpause() returns()

func (*OriginalTokenVaultTransactor) Withdraw

func (_OriginalTokenVault *OriginalTokenVaultTransactor) Withdraw(opts *bind.TransactOpts, _request []byte, _sigs [][]byte, _signers []common.Address, _powers []*big.Int) (*types.Transaction, error)

Withdraw is a paid mutator transaction binding the contract method 0xa21a9280.

Solidity: function withdraw(bytes _request, bytes[] _sigs, address[] _signers, uint256[] _powers) returns()

type OriginalTokenVaultTransactorRaw

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

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

func (*OriginalTokenVaultTransactorRaw) Transact

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

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

func (*OriginalTokenVaultTransactorRaw) Transfer

func (_OriginalTokenVault *OriginalTokenVaultTransactorRaw) 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 OriginalTokenVaultTransactorSession

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

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

func (*OriginalTokenVaultTransactorSession) AddGovernor

func (_OriginalTokenVault *OriginalTokenVaultTransactorSession) AddGovernor(_account common.Address) (*types.Transaction, error)

AddGovernor is a paid mutator transaction binding the contract method 0x3c4a25d0.

Solidity: function addGovernor(address _account) returns()

func (*OriginalTokenVaultTransactorSession) AddPauser

func (_OriginalTokenVault *OriginalTokenVaultTransactorSession) AddPauser(account common.Address) (*types.Transaction, error)

AddPauser is a paid mutator transaction binding the contract method 0x82dc1ec4.

Solidity: function addPauser(address account) returns()

func (*OriginalTokenVaultTransactorSession) Deposit

func (_OriginalTokenVault *OriginalTokenVaultTransactorSession) Deposit(_token common.Address, _amount *big.Int, _mintChainId uint64, _mintAccount common.Address, _nonce uint64) (*types.Transaction, error)

Deposit is a paid mutator transaction binding the contract method 0x23463624.

Solidity: function deposit(address _token, uint256 _amount, uint64 _mintChainId, address _mintAccount, uint64 _nonce) returns()

func (*OriginalTokenVaultTransactorSession) DepositNative

func (_OriginalTokenVault *OriginalTokenVaultTransactorSession) DepositNative(_amount *big.Int, _mintChainId uint64, _mintAccount common.Address, _nonce uint64) (*types.Transaction, error)

DepositNative is a paid mutator transaction binding the contract method 0x00a95fd7.

Solidity: function depositNative(uint256 _amount, uint64 _mintChainId, address _mintAccount, uint64 _nonce) payable returns()

func (*OriginalTokenVaultTransactorSession) ExecuteDelayedTransfer

func (_OriginalTokenVault *OriginalTokenVaultTransactorSession) ExecuteDelayedTransfer(id [32]byte) (*types.Transaction, error)

ExecuteDelayedTransfer is a paid mutator transaction binding the contract method 0x9e25fc5c.

Solidity: function executeDelayedTransfer(bytes32 id) returns()

func (*OriginalTokenVaultTransactorSession) Pause

func (_OriginalTokenVault *OriginalTokenVaultTransactorSession) Pause() (*types.Transaction, error)

Pause is a paid mutator transaction binding the contract method 0x8456cb59.

Solidity: function pause() returns()

func (*OriginalTokenVaultTransactorSession) Receive

func (_OriginalTokenVault *OriginalTokenVaultTransactorSession) Receive() (*types.Transaction, error)

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

Solidity: receive() payable returns()

func (*OriginalTokenVaultTransactorSession) RemoveGovernor

func (_OriginalTokenVault *OriginalTokenVaultTransactorSession) RemoveGovernor(_account common.Address) (*types.Transaction, error)

RemoveGovernor is a paid mutator transaction binding the contract method 0xeecdac88.

Solidity: function removeGovernor(address _account) returns()

func (*OriginalTokenVaultTransactorSession) RemovePauser

func (_OriginalTokenVault *OriginalTokenVaultTransactorSession) RemovePauser(account common.Address) (*types.Transaction, error)

RemovePauser is a paid mutator transaction binding the contract method 0x6b2c0f55.

Solidity: function removePauser(address account) returns()

func (*OriginalTokenVaultTransactorSession) RenounceGovernor

func (_OriginalTokenVault *OriginalTokenVaultTransactorSession) RenounceGovernor() (*types.Transaction, error)

RenounceGovernor is a paid mutator transaction binding the contract method 0xe026049c.

Solidity: function renounceGovernor() returns()

func (*OriginalTokenVaultTransactorSession) RenouncePauser

func (_OriginalTokenVault *OriginalTokenVaultTransactorSession) RenouncePauser() (*types.Transaction, error)

RenouncePauser is a paid mutator transaction binding the contract method 0x6ef8d66d.

Solidity: function renouncePauser() returns()

func (*OriginalTokenVaultTransactorSession) SetDelayPeriod

func (_OriginalTokenVault *OriginalTokenVaultTransactorSession) SetDelayPeriod(_period *big.Int) (*types.Transaction, error)

SetDelayPeriod is a paid mutator transaction binding the contract method 0x3d572107.

Solidity: function setDelayPeriod(uint256 _period) returns()

func (*OriginalTokenVaultTransactorSession) SetDelayThresholds

func (_OriginalTokenVault *OriginalTokenVaultTransactorSession) SetDelayThresholds(_tokens []common.Address, _thresholds []*big.Int) (*types.Transaction, error)

SetDelayThresholds is a paid mutator transaction binding the contract method 0x17bdbae5.

Solidity: function setDelayThresholds(address[] _tokens, uint256[] _thresholds) returns()

func (*OriginalTokenVaultTransactorSession) SetEpochLength

func (_OriginalTokenVault *OriginalTokenVaultTransactorSession) SetEpochLength(_length *big.Int) (*types.Transaction, error)

SetEpochLength is a paid mutator transaction binding the contract method 0x54eea796.

Solidity: function setEpochLength(uint256 _length) returns()

func (*OriginalTokenVaultTransactorSession) SetEpochVolumeCaps

func (_OriginalTokenVault *OriginalTokenVaultTransactorSession) SetEpochVolumeCaps(_tokens []common.Address, _caps []*big.Int) (*types.Transaction, error)

SetEpochVolumeCaps is a paid mutator transaction binding the contract method 0x47b16c6c.

Solidity: function setEpochVolumeCaps(address[] _tokens, uint256[] _caps) returns()

func (*OriginalTokenVaultTransactorSession) SetMaxDeposit

func (_OriginalTokenVault *OriginalTokenVaultTransactorSession) SetMaxDeposit(_tokens []common.Address, _amounts []*big.Int) (*types.Transaction, error)

SetMaxDeposit is a paid mutator transaction binding the contract method 0x303b6442.

Solidity: function setMaxDeposit(address[] _tokens, uint256[] _amounts) returns()

func (*OriginalTokenVaultTransactorSession) SetMinDeposit

func (_OriginalTokenVault *OriginalTokenVaultTransactorSession) SetMinDeposit(_tokens []common.Address, _amounts []*big.Int) (*types.Transaction, error)

SetMinDeposit is a paid mutator transaction binding the contract method 0x5ec2fa26.

Solidity: function setMinDeposit(address[] _tokens, uint256[] _amounts) returns()

func (*OriginalTokenVaultTransactorSession) SetWrap

func (_OriginalTokenVault *OriginalTokenVaultTransactorSession) SetWrap(_weth common.Address) (*types.Transaction, error)

SetWrap is a paid mutator transaction binding the contract method 0x9ff9001a.

Solidity: function setWrap(address _weth) returns()

func (*OriginalTokenVaultTransactorSession) TransferOwnership

func (_OriginalTokenVault *OriginalTokenVaultTransactorSession) 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 (*OriginalTokenVaultTransactorSession) Unpause

func (_OriginalTokenVault *OriginalTokenVaultTransactorSession) Unpause() (*types.Transaction, error)

Unpause is a paid mutator transaction binding the contract method 0x3f4ba83a.

Solidity: function unpause() returns()

func (*OriginalTokenVaultTransactorSession) Withdraw

func (_OriginalTokenVault *OriginalTokenVaultTransactorSession) Withdraw(_request []byte, _sigs [][]byte, _signers []common.Address, _powers []*big.Int) (*types.Transaction, error)

Withdraw is a paid mutator transaction binding the contract method 0xa21a9280.

Solidity: function withdraw(bytes _request, bytes[] _sigs, address[] _signers, uint256[] _powers) returns()

type OriginalTokenVaultUnpaused

type OriginalTokenVaultUnpaused struct {
	Account common.Address
	Raw     types.Log // Blockchain specific contextual infos
}

OriginalTokenVaultUnpaused represents a Unpaused event raised by the OriginalTokenVault contract.

type OriginalTokenVaultUnpausedIterator

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

OriginalTokenVaultUnpausedIterator is returned from FilterUnpaused and is used to iterate over the raw logs and unpacked data for Unpaused events raised by the OriginalTokenVault contract.

func (*OriginalTokenVaultUnpausedIterator) Close

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

func (*OriginalTokenVaultUnpausedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*OriginalTokenVaultUnpausedIterator) 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 OriginalTokenVaultV2

type OriginalTokenVaultV2 struct {
	OriginalTokenVaultV2Caller     // Read-only binding to the contract
	OriginalTokenVaultV2Transactor // Write-only binding to the contract
	OriginalTokenVaultV2Filterer   // Log filterer for contract events
}

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

func DeployOriginalTokenVaultV2

func DeployOriginalTokenVaultV2(auth *bind.TransactOpts, backend bind.ContractBackend, _sigsVerifier common.Address) (common.Address, *types.Transaction, *OriginalTokenVaultV2, error)

DeployOriginalTokenVaultV2 deploys a new Ethereum contract, binding an instance of OriginalTokenVaultV2 to it.

func NewOriginalTokenVaultV2

func NewOriginalTokenVaultV2(address common.Address, backend bind.ContractBackend) (*OriginalTokenVaultV2, error)

NewOriginalTokenVaultV2 creates a new instance of OriginalTokenVaultV2, bound to a specific deployed contract.

type OriginalTokenVaultV2Caller

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

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

func NewOriginalTokenVaultV2Caller

func NewOriginalTokenVaultV2Caller(address common.Address, caller bind.ContractCaller) (*OriginalTokenVaultV2Caller, error)

NewOriginalTokenVaultV2Caller creates a new read-only instance of OriginalTokenVaultV2, bound to a specific deployed contract.

func (*OriginalTokenVaultV2Caller) DelayPeriod

func (_OriginalTokenVaultV2 *OriginalTokenVaultV2Caller) DelayPeriod(opts *bind.CallOpts) (*big.Int, error)

DelayPeriod is a free data retrieval call binding the contract method 0xb1c94d94.

Solidity: function delayPeriod() view returns(uint256)

func (*OriginalTokenVaultV2Caller) DelayThresholds

func (_OriginalTokenVaultV2 *OriginalTokenVaultV2Caller) DelayThresholds(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)

DelayThresholds is a free data retrieval call binding the contract method 0x52532faa.

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

func (*OriginalTokenVaultV2Caller) DelayedTransfers

func (_OriginalTokenVaultV2 *OriginalTokenVaultV2Caller) DelayedTransfers(opts *bind.CallOpts, arg0 [32]byte) (struct {
	Receiver  common.Address
	Token     common.Address
	Amount    *big.Int
	Timestamp *big.Int
}, error)

DelayedTransfers is a free data retrieval call binding the contract method 0xadc0d57f.

Solidity: function delayedTransfers(bytes32 ) view returns(address receiver, address token, uint256 amount, uint256 timestamp)

func (*OriginalTokenVaultV2Caller) EpochLength

func (_OriginalTokenVaultV2 *OriginalTokenVaultV2Caller) EpochLength(opts *bind.CallOpts) (*big.Int, error)

EpochLength is a free data retrieval call binding the contract method 0x57d775f8.

Solidity: function epochLength() view returns(uint256)

func (*OriginalTokenVaultV2Caller) EpochVolumeCaps

func (_OriginalTokenVaultV2 *OriginalTokenVaultV2Caller) EpochVolumeCaps(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)

EpochVolumeCaps is a free data retrieval call binding the contract method 0xb5f2bc47.

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

func (*OriginalTokenVaultV2Caller) EpochVolumes

func (_OriginalTokenVaultV2 *OriginalTokenVaultV2Caller) EpochVolumes(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)

EpochVolumes is a free data retrieval call binding the contract method 0x60216b00.

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

func (*OriginalTokenVaultV2Caller) Governors

func (_OriginalTokenVaultV2 *OriginalTokenVaultV2Caller) Governors(opts *bind.CallOpts, arg0 common.Address) (bool, error)

Governors is a free data retrieval call binding the contract method 0xe3eece26.

Solidity: function governors(address ) view returns(bool)

func (*OriginalTokenVaultV2Caller) IsGovernor

func (_OriginalTokenVaultV2 *OriginalTokenVaultV2Caller) IsGovernor(opts *bind.CallOpts, _account common.Address) (bool, error)

IsGovernor is a free data retrieval call binding the contract method 0xe43581b8.

Solidity: function isGovernor(address _account) view returns(bool)

func (*OriginalTokenVaultV2Caller) IsPauser

func (_OriginalTokenVaultV2 *OriginalTokenVaultV2Caller) IsPauser(opts *bind.CallOpts, account common.Address) (bool, error)

IsPauser is a free data retrieval call binding the contract method 0x46fbf68e.

Solidity: function isPauser(address account) view returns(bool)

func (*OriginalTokenVaultV2Caller) LastOpTimestamps

func (_OriginalTokenVaultV2 *OriginalTokenVaultV2Caller) LastOpTimestamps(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)

LastOpTimestamps is a free data retrieval call binding the contract method 0xf8321383.

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

func (*OriginalTokenVaultV2Caller) MaxDeposit

func (_OriginalTokenVaultV2 *OriginalTokenVaultV2Caller) MaxDeposit(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)

MaxDeposit is a free data retrieval call binding the contract method 0x402d267d.

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

func (*OriginalTokenVaultV2Caller) MinDeposit

func (_OriginalTokenVaultV2 *OriginalTokenVaultV2Caller) MinDeposit(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)

MinDeposit is a free data retrieval call binding the contract method 0x3c29f839.

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

func (*OriginalTokenVaultV2Caller) NativeWrap

func (_OriginalTokenVaultV2 *OriginalTokenVaultV2Caller) NativeWrap(opts *bind.CallOpts) (common.Address, error)

NativeWrap is a free data retrieval call binding the contract method 0x457bfa2f.

Solidity: function nativeWrap() view returns(address)

func (*OriginalTokenVaultV2Caller) Owner

func (_OriginalTokenVaultV2 *OriginalTokenVaultV2Caller) 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 (*OriginalTokenVaultV2Caller) Paused

func (_OriginalTokenVaultV2 *OriginalTokenVaultV2Caller) Paused(opts *bind.CallOpts) (bool, error)

Paused is a free data retrieval call binding the contract method 0x5c975abb.

Solidity: function paused() view returns(bool)

func (*OriginalTokenVaultV2Caller) Pausers

func (_OriginalTokenVaultV2 *OriginalTokenVaultV2Caller) Pausers(opts *bind.CallOpts, arg0 common.Address) (bool, error)

Pausers is a free data retrieval call binding the contract method 0x80f51c12.

Solidity: function pausers(address ) view returns(bool)

func (*OriginalTokenVaultV2Caller) Records

func (_OriginalTokenVaultV2 *OriginalTokenVaultV2Caller) Records(opts *bind.CallOpts, arg0 [32]byte) (bool, error)

Records is a free data retrieval call binding the contract method 0x01e64725.

Solidity: function records(bytes32 ) view returns(bool)

func (*OriginalTokenVaultV2Caller) SigsVerifier

func (_OriginalTokenVaultV2 *OriginalTokenVaultV2Caller) SigsVerifier(opts *bind.CallOpts) (common.Address, error)

SigsVerifier is a free data retrieval call binding the contract method 0xccf2683b.

Solidity: function sigsVerifier() view returns(address)

type OriginalTokenVaultV2CallerRaw

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

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

func (*OriginalTokenVaultV2CallerRaw) Call

func (_OriginalTokenVaultV2 *OriginalTokenVaultV2CallerRaw) 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 OriginalTokenVaultV2CallerSession

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

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

func (*OriginalTokenVaultV2CallerSession) DelayPeriod

func (_OriginalTokenVaultV2 *OriginalTokenVaultV2CallerSession) DelayPeriod() (*big.Int, error)

DelayPeriod is a free data retrieval call binding the contract method 0xb1c94d94.

Solidity: function delayPeriod() view returns(uint256)

func (*OriginalTokenVaultV2CallerSession) DelayThresholds

func (_OriginalTokenVaultV2 *OriginalTokenVaultV2CallerSession) DelayThresholds(arg0 common.Address) (*big.Int, error)

DelayThresholds is a free data retrieval call binding the contract method 0x52532faa.

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

func (*OriginalTokenVaultV2CallerSession) DelayedTransfers

func (_OriginalTokenVaultV2 *OriginalTokenVaultV2CallerSession) DelayedTransfers(arg0 [32]byte) (struct {
	Receiver  common.Address
	Token     common.Address
	Amount    *big.Int
	Timestamp *big.Int
}, error)

DelayedTransfers is a free data retrieval call binding the contract method 0xadc0d57f.

Solidity: function delayedTransfers(bytes32 ) view returns(address receiver, address token, uint256 amount, uint256 timestamp)

func (*OriginalTokenVaultV2CallerSession) EpochLength

func (_OriginalTokenVaultV2 *OriginalTokenVaultV2CallerSession) EpochLength() (*big.Int, error)

EpochLength is a free data retrieval call binding the contract method 0x57d775f8.

Solidity: function epochLength() view returns(uint256)

func (*OriginalTokenVaultV2CallerSession) EpochVolumeCaps

func (_OriginalTokenVaultV2 *OriginalTokenVaultV2CallerSession) EpochVolumeCaps(arg0 common.Address) (*big.Int, error)

EpochVolumeCaps is a free data retrieval call binding the contract method 0xb5f2bc47.

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

func (*OriginalTokenVaultV2CallerSession) EpochVolumes

func (_OriginalTokenVaultV2 *OriginalTokenVaultV2CallerSession) EpochVolumes(arg0 common.Address) (*big.Int, error)

EpochVolumes is a free data retrieval call binding the contract method 0x60216b00.

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

func (*OriginalTokenVaultV2CallerSession) Governors

func (_OriginalTokenVaultV2 *OriginalTokenVaultV2CallerSession) Governors(arg0 common.Address) (bool, error)

Governors is a free data retrieval call binding the contract method 0xe3eece26.

Solidity: function governors(address ) view returns(bool)

func (*OriginalTokenVaultV2CallerSession) IsGovernor

func (_OriginalTokenVaultV2 *OriginalTokenVaultV2CallerSession) IsGovernor(_account common.Address) (bool, error)

IsGovernor is a free data retrieval call binding the contract method 0xe43581b8.

Solidity: function isGovernor(address _account) view returns(bool)

func (*OriginalTokenVaultV2CallerSession) IsPauser

func (_OriginalTokenVaultV2 *OriginalTokenVaultV2CallerSession) IsPauser(account common.Address) (bool, error)

IsPauser is a free data retrieval call binding the contract method 0x46fbf68e.

Solidity: function isPauser(address account) view returns(bool)

func (*OriginalTokenVaultV2CallerSession) LastOpTimestamps

func (_OriginalTokenVaultV2 *OriginalTokenVaultV2CallerSession) LastOpTimestamps(arg0 common.Address) (*big.Int, error)

LastOpTimestamps is a free data retrieval call binding the contract method 0xf8321383.

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

func (*OriginalTokenVaultV2CallerSession) MaxDeposit

func (_OriginalTokenVaultV2 *OriginalTokenVaultV2CallerSession) MaxDeposit(arg0 common.Address) (*big.Int, error)

MaxDeposit is a free data retrieval call binding the contract method 0x402d267d.

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

func (*OriginalTokenVaultV2CallerSession) MinDeposit

func (_OriginalTokenVaultV2 *OriginalTokenVaultV2CallerSession) MinDeposit(arg0 common.Address) (*big.Int, error)

MinDeposit is a free data retrieval call binding the contract method 0x3c29f839.

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

func (*OriginalTokenVaultV2CallerSession) NativeWrap

func (_OriginalTokenVaultV2 *OriginalTokenVaultV2CallerSession) NativeWrap() (common.Address, error)

NativeWrap is a free data retrieval call binding the contract method 0x457bfa2f.

Solidity: function nativeWrap() view returns(address)

func (*OriginalTokenVaultV2CallerSession) Owner

func (_OriginalTokenVaultV2 *OriginalTokenVaultV2CallerSession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*OriginalTokenVaultV2CallerSession) Paused

func (_OriginalTokenVaultV2 *OriginalTokenVaultV2CallerSession) Paused() (bool, error)

Paused is a free data retrieval call binding the contract method 0x5c975abb.

Solidity: function paused() view returns(bool)

func (*OriginalTokenVaultV2CallerSession) Pausers

func (_OriginalTokenVaultV2 *OriginalTokenVaultV2CallerSession) Pausers(arg0 common.Address) (bool, error)

Pausers is a free data retrieval call binding the contract method 0x80f51c12.

Solidity: function pausers(address ) view returns(bool)

func (*OriginalTokenVaultV2CallerSession) Records

func (_OriginalTokenVaultV2 *OriginalTokenVaultV2CallerSession) Records(arg0 [32]byte) (bool, error)

Records is a free data retrieval call binding the contract method 0x01e64725.

Solidity: function records(bytes32 ) view returns(bool)

func (*OriginalTokenVaultV2CallerSession) SigsVerifier

func (_OriginalTokenVaultV2 *OriginalTokenVaultV2CallerSession) SigsVerifier() (common.Address, error)

SigsVerifier is a free data retrieval call binding the contract method 0xccf2683b.

Solidity: function sigsVerifier() view returns(address)

type OriginalTokenVaultV2DelayPeriodUpdated

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

OriginalTokenVaultV2DelayPeriodUpdated represents a DelayPeriodUpdated event raised by the OriginalTokenVaultV2 contract.

type OriginalTokenVaultV2DelayPeriodUpdatedIterator

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

OriginalTokenVaultV2DelayPeriodUpdatedIterator is returned from FilterDelayPeriodUpdated and is used to iterate over the raw logs and unpacked data for DelayPeriodUpdated events raised by the OriginalTokenVaultV2 contract.

func (*OriginalTokenVaultV2DelayPeriodUpdatedIterator) Close

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

func (*OriginalTokenVaultV2DelayPeriodUpdatedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*OriginalTokenVaultV2DelayPeriodUpdatedIterator) 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 OriginalTokenVaultV2DelayThresholdUpdated

type OriginalTokenVaultV2DelayThresholdUpdated struct {
	Token     common.Address
	Threshold *big.Int
	Raw       types.Log // Blockchain specific contextual infos
}

OriginalTokenVaultV2DelayThresholdUpdated represents a DelayThresholdUpdated event raised by the OriginalTokenVaultV2 contract.

type OriginalTokenVaultV2DelayThresholdUpdatedIterator

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

OriginalTokenVaultV2DelayThresholdUpdatedIterator is returned from FilterDelayThresholdUpdated and is used to iterate over the raw logs and unpacked data for DelayThresholdUpdated events raised by the OriginalTokenVaultV2 contract.

func (*OriginalTokenVaultV2DelayThresholdUpdatedIterator) Close

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

func (*OriginalTokenVaultV2DelayThresholdUpdatedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*OriginalTokenVaultV2DelayThresholdUpdatedIterator) 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 OriginalTokenVaultV2DelayedTransferAdded

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

OriginalTokenVaultV2DelayedTransferAdded represents a DelayedTransferAdded event raised by the OriginalTokenVaultV2 contract.

type OriginalTokenVaultV2DelayedTransferAddedIterator

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

OriginalTokenVaultV2DelayedTransferAddedIterator is returned from FilterDelayedTransferAdded and is used to iterate over the raw logs and unpacked data for DelayedTransferAdded events raised by the OriginalTokenVaultV2 contract.

func (*OriginalTokenVaultV2DelayedTransferAddedIterator) Close

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

func (*OriginalTokenVaultV2DelayedTransferAddedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*OriginalTokenVaultV2DelayedTransferAddedIterator) 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 OriginalTokenVaultV2DelayedTransferExecuted

type OriginalTokenVaultV2DelayedTransferExecuted struct {
	Id       [32]byte
	Receiver common.Address
	Token    common.Address
	Amount   *big.Int
	Raw      types.Log // Blockchain specific contextual infos
}

OriginalTokenVaultV2DelayedTransferExecuted represents a DelayedTransferExecuted event raised by the OriginalTokenVaultV2 contract.

type OriginalTokenVaultV2DelayedTransferExecutedIterator

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

OriginalTokenVaultV2DelayedTransferExecutedIterator is returned from FilterDelayedTransferExecuted and is used to iterate over the raw logs and unpacked data for DelayedTransferExecuted events raised by the OriginalTokenVaultV2 contract.

func (*OriginalTokenVaultV2DelayedTransferExecutedIterator) Close

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

func (*OriginalTokenVaultV2DelayedTransferExecutedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*OriginalTokenVaultV2DelayedTransferExecutedIterator) 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 OriginalTokenVaultV2Deposited

type OriginalTokenVaultV2Deposited struct {
	DepositId   [32]byte
	Depositor   common.Address
	Token       common.Address
	Amount      *big.Int
	MintChainId uint64
	MintAccount common.Address
	Nonce       uint64
	Raw         types.Log // Blockchain specific contextual infos
}

OriginalTokenVaultV2Deposited represents a Deposited event raised by the OriginalTokenVaultV2 contract.

func (*OriginalTokenVaultV2Deposited) PrettyLog

func (ev *OriginalTokenVaultV2Deposited) PrettyLog(onchid uint64) string

func (*OriginalTokenVaultV2Deposited) String

type OriginalTokenVaultV2DepositedIterator

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

OriginalTokenVaultV2DepositedIterator is returned from FilterDeposited and is used to iterate over the raw logs and unpacked data for Deposited events raised by the OriginalTokenVaultV2 contract.

func (*OriginalTokenVaultV2DepositedIterator) Close

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

func (*OriginalTokenVaultV2DepositedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*OriginalTokenVaultV2DepositedIterator) 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 OriginalTokenVaultV2EpochLengthUpdated

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

OriginalTokenVaultV2EpochLengthUpdated represents a EpochLengthUpdated event raised by the OriginalTokenVaultV2 contract.

type OriginalTokenVaultV2EpochLengthUpdatedIterator

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

OriginalTokenVaultV2EpochLengthUpdatedIterator is returned from FilterEpochLengthUpdated and is used to iterate over the raw logs and unpacked data for EpochLengthUpdated events raised by the OriginalTokenVaultV2 contract.

func (*OriginalTokenVaultV2EpochLengthUpdatedIterator) Close

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

func (*OriginalTokenVaultV2EpochLengthUpdatedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*OriginalTokenVaultV2EpochLengthUpdatedIterator) 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 OriginalTokenVaultV2EpochVolumeUpdated

type OriginalTokenVaultV2EpochVolumeUpdated struct {
	Token common.Address
	Cap   *big.Int
	Raw   types.Log // Blockchain specific contextual infos
}

OriginalTokenVaultV2EpochVolumeUpdated represents a EpochVolumeUpdated event raised by the OriginalTokenVaultV2 contract.

type OriginalTokenVaultV2EpochVolumeUpdatedIterator

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

OriginalTokenVaultV2EpochVolumeUpdatedIterator is returned from FilterEpochVolumeUpdated and is used to iterate over the raw logs and unpacked data for EpochVolumeUpdated events raised by the OriginalTokenVaultV2 contract.

func (*OriginalTokenVaultV2EpochVolumeUpdatedIterator) Close

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

func (*OriginalTokenVaultV2EpochVolumeUpdatedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*OriginalTokenVaultV2EpochVolumeUpdatedIterator) 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 OriginalTokenVaultV2Filterer

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

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

func NewOriginalTokenVaultV2Filterer

func NewOriginalTokenVaultV2Filterer(address common.Address, filterer bind.ContractFilterer) (*OriginalTokenVaultV2Filterer, error)

NewOriginalTokenVaultV2Filterer creates a new log filterer instance of OriginalTokenVaultV2, bound to a specific deployed contract.

func (*OriginalTokenVaultV2Filterer) FilterDelayPeriodUpdated

func (_OriginalTokenVaultV2 *OriginalTokenVaultV2Filterer) FilterDelayPeriodUpdated(opts *bind.FilterOpts) (*OriginalTokenVaultV2DelayPeriodUpdatedIterator, error)

FilterDelayPeriodUpdated is a free log retrieval operation binding the contract event 0xc0a39f234199b125fb93713c4d067bdcebbf691087f87b79c0feb92b156ba8b6.

Solidity: event DelayPeriodUpdated(uint256 period)

func (*OriginalTokenVaultV2Filterer) FilterDelayThresholdUpdated

func (_OriginalTokenVaultV2 *OriginalTokenVaultV2Filterer) FilterDelayThresholdUpdated(opts *bind.FilterOpts) (*OriginalTokenVaultV2DelayThresholdUpdatedIterator, error)

FilterDelayThresholdUpdated is a free log retrieval operation binding the contract event 0xceaad6533bfb481492fb3e08ef19297f46611b8fa9de5ef4cf8dc23a56ad09ce.

Solidity: event DelayThresholdUpdated(address token, uint256 threshold)

func (*OriginalTokenVaultV2Filterer) FilterDelayedTransferAdded

func (_OriginalTokenVaultV2 *OriginalTokenVaultV2Filterer) FilterDelayedTransferAdded(opts *bind.FilterOpts) (*OriginalTokenVaultV2DelayedTransferAddedIterator, error)

FilterDelayedTransferAdded is a free log retrieval operation binding the contract event 0xcbcfffe5102114216a85d3aceb14ad4b81a3935b1b5c468fadf3889eb9c5dce6.

Solidity: event DelayedTransferAdded(bytes32 id)

func (*OriginalTokenVaultV2Filterer) FilterDelayedTransferExecuted

func (_OriginalTokenVaultV2 *OriginalTokenVaultV2Filterer) FilterDelayedTransferExecuted(opts *bind.FilterOpts) (*OriginalTokenVaultV2DelayedTransferExecutedIterator, error)

FilterDelayedTransferExecuted is a free log retrieval operation binding the contract event 0x3b40e5089937425d14cdd96947e5661868357e224af59bd8b24a4b8a330d4426.

Solidity: event DelayedTransferExecuted(bytes32 id, address receiver, address token, uint256 amount)

func (*OriginalTokenVaultV2Filterer) FilterDeposited

func (_OriginalTokenVaultV2 *OriginalTokenVaultV2Filterer) FilterDeposited(opts *bind.FilterOpts) (*OriginalTokenVaultV2DepositedIterator, error)

FilterDeposited is a free log retrieval operation binding the contract event 0x28d226819e371600e26624ebc4a9a3947117ee2760209f816c789d3a99bf481b.

Solidity: event Deposited(bytes32 depositId, address depositor, address token, uint256 amount, uint64 mintChainId, address mintAccount, uint64 nonce)

func (*OriginalTokenVaultV2Filterer) FilterEpochLengthUpdated

func (_OriginalTokenVaultV2 *OriginalTokenVaultV2Filterer) FilterEpochLengthUpdated(opts *bind.FilterOpts) (*OriginalTokenVaultV2EpochLengthUpdatedIterator, error)

FilterEpochLengthUpdated is a free log retrieval operation binding the contract event 0x2664fec2ff76486ac58ed087310855b648b15b9d19f3de8529e95f7c46b7d6b3.

Solidity: event EpochLengthUpdated(uint256 length)

func (*OriginalTokenVaultV2Filterer) FilterEpochVolumeUpdated

func (_OriginalTokenVaultV2 *OriginalTokenVaultV2Filterer) FilterEpochVolumeUpdated(opts *bind.FilterOpts) (*OriginalTokenVaultV2EpochVolumeUpdatedIterator, error)

FilterEpochVolumeUpdated is a free log retrieval operation binding the contract event 0x608e49c22994f20b5d3496dca088b88dfd81b4a3e8cc3809ea1e10a320107e89.

Solidity: event EpochVolumeUpdated(address token, uint256 cap)

func (*OriginalTokenVaultV2Filterer) FilterGovernorAdded

func (_OriginalTokenVaultV2 *OriginalTokenVaultV2Filterer) FilterGovernorAdded(opts *bind.FilterOpts) (*OriginalTokenVaultV2GovernorAddedIterator, error)

FilterGovernorAdded is a free log retrieval operation binding the contract event 0xdc5a48d79e2e147530ff63ecdbed5a5a66adb9d5cf339384d5d076da197c40b5.

Solidity: event GovernorAdded(address account)

func (*OriginalTokenVaultV2Filterer) FilterGovernorRemoved

func (_OriginalTokenVaultV2 *OriginalTokenVaultV2Filterer) FilterGovernorRemoved(opts *bind.FilterOpts) (*OriginalTokenVaultV2GovernorRemovedIterator, error)

FilterGovernorRemoved is a free log retrieval operation binding the contract event 0x1ebe834e73d60a5fec822c1e1727d34bc79f2ad977ed504581cc1822fe20fb5b.

Solidity: event GovernorRemoved(address account)

func (*OriginalTokenVaultV2Filterer) FilterMaxDepositUpdated

func (_OriginalTokenVaultV2 *OriginalTokenVaultV2Filterer) FilterMaxDepositUpdated(opts *bind.FilterOpts) (*OriginalTokenVaultV2MaxDepositUpdatedIterator, error)

FilterMaxDepositUpdated is a free log retrieval operation binding the contract event 0x0e5d348f9737ccc8b4cf0eea0ccf3670af071af8bea5d64664f10e700c08de72.

Solidity: event MaxDepositUpdated(address token, uint256 amount)

func (*OriginalTokenVaultV2Filterer) FilterMinDepositUpdated

func (_OriginalTokenVaultV2 *OriginalTokenVaultV2Filterer) FilterMinDepositUpdated(opts *bind.FilterOpts) (*OriginalTokenVaultV2MinDepositUpdatedIterator, error)

FilterMinDepositUpdated is a free log retrieval operation binding the contract event 0x0f48d517989455cd80ed52427e80553e66f9b69fd5cee8e26bd1a1f9c364fba6.

Solidity: event MinDepositUpdated(address token, uint256 amount)

func (*OriginalTokenVaultV2Filterer) FilterOwnershipTransferred

func (_OriginalTokenVaultV2 *OriginalTokenVaultV2Filterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*OriginalTokenVaultV2OwnershipTransferredIterator, error)

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

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

func (*OriginalTokenVaultV2Filterer) FilterPaused

func (_OriginalTokenVaultV2 *OriginalTokenVaultV2Filterer) FilterPaused(opts *bind.FilterOpts) (*OriginalTokenVaultV2PausedIterator, error)

FilterPaused is a free log retrieval operation binding the contract event 0x62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258.

Solidity: event Paused(address account)

func (*OriginalTokenVaultV2Filterer) FilterPauserAdded

func (_OriginalTokenVaultV2 *OriginalTokenVaultV2Filterer) FilterPauserAdded(opts *bind.FilterOpts) (*OriginalTokenVaultV2PauserAddedIterator, error)

FilterPauserAdded is a free log retrieval operation binding the contract event 0x6719d08c1888103bea251a4ed56406bd0c3e69723c8a1686e017e7bbe159b6f8.

Solidity: event PauserAdded(address account)

func (*OriginalTokenVaultV2Filterer) FilterPauserRemoved

func (_OriginalTokenVaultV2 *OriginalTokenVaultV2Filterer) FilterPauserRemoved(opts *bind.FilterOpts) (*OriginalTokenVaultV2PauserRemovedIterator, error)

FilterPauserRemoved is a free log retrieval operation binding the contract event 0xcd265ebaf09df2871cc7bd4133404a235ba12eff2041bb89d9c714a2621c7c7e.

Solidity: event PauserRemoved(address account)

func (*OriginalTokenVaultV2Filterer) FilterUnpaused

func (_OriginalTokenVaultV2 *OriginalTokenVaultV2Filterer) FilterUnpaused(opts *bind.FilterOpts) (*OriginalTokenVaultV2UnpausedIterator, error)

FilterUnpaused is a free log retrieval operation binding the contract event 0x5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa.

Solidity: event Unpaused(address account)

func (*OriginalTokenVaultV2Filterer) FilterWithdrawn

func (_OriginalTokenVaultV2 *OriginalTokenVaultV2Filterer) FilterWithdrawn(opts *bind.FilterOpts) (*OriginalTokenVaultV2WithdrawnIterator, error)

FilterWithdrawn is a free log retrieval operation binding the contract event 0x296a629c5265cb4e5319803d016902eb70a9079b89655fe2b7737821ed88beeb.

Solidity: event Withdrawn(bytes32 withdrawId, address receiver, address token, uint256 amount, uint64 refChainId, bytes32 refId, address burnAccount)

func (*OriginalTokenVaultV2Filterer) ParseDelayPeriodUpdated

func (_OriginalTokenVaultV2 *OriginalTokenVaultV2Filterer) ParseDelayPeriodUpdated(log types.Log) (*OriginalTokenVaultV2DelayPeriodUpdated, error)

ParseDelayPeriodUpdated is a log parse operation binding the contract event 0xc0a39f234199b125fb93713c4d067bdcebbf691087f87b79c0feb92b156ba8b6.

Solidity: event DelayPeriodUpdated(uint256 period)

func (*OriginalTokenVaultV2Filterer) ParseDelayThresholdUpdated

func (_OriginalTokenVaultV2 *OriginalTokenVaultV2Filterer) ParseDelayThresholdUpdated(log types.Log) (*OriginalTokenVaultV2DelayThresholdUpdated, error)

ParseDelayThresholdUpdated is a log parse operation binding the contract event 0xceaad6533bfb481492fb3e08ef19297f46611b8fa9de5ef4cf8dc23a56ad09ce.

Solidity: event DelayThresholdUpdated(address token, uint256 threshold)

func (*OriginalTokenVaultV2Filterer) ParseDelayedTransferAdded

func (_OriginalTokenVaultV2 *OriginalTokenVaultV2Filterer) ParseDelayedTransferAdded(log types.Log) (*OriginalTokenVaultV2DelayedTransferAdded, error)

ParseDelayedTransferAdded is a log parse operation binding the contract event 0xcbcfffe5102114216a85d3aceb14ad4b81a3935b1b5c468fadf3889eb9c5dce6.

Solidity: event DelayedTransferAdded(bytes32 id)

func (*OriginalTokenVaultV2Filterer) ParseDelayedTransferExecuted

func (_OriginalTokenVaultV2 *OriginalTokenVaultV2Filterer) ParseDelayedTransferExecuted(log types.Log) (*OriginalTokenVaultV2DelayedTransferExecuted, error)

ParseDelayedTransferExecuted is a log parse operation binding the contract event 0x3b40e5089937425d14cdd96947e5661868357e224af59bd8b24a4b8a330d4426.

Solidity: event DelayedTransferExecuted(bytes32 id, address receiver, address token, uint256 amount)

func (*OriginalTokenVaultV2Filterer) ParseDeposited

func (_OriginalTokenVaultV2 *OriginalTokenVaultV2Filterer) ParseDeposited(log types.Log) (*OriginalTokenVaultV2Deposited, error)

ParseDeposited is a log parse operation binding the contract event 0x28d226819e371600e26624ebc4a9a3947117ee2760209f816c789d3a99bf481b.

Solidity: event Deposited(bytes32 depositId, address depositor, address token, uint256 amount, uint64 mintChainId, address mintAccount, uint64 nonce)

func (*OriginalTokenVaultV2Filterer) ParseEpochLengthUpdated

func (_OriginalTokenVaultV2 *OriginalTokenVaultV2Filterer) ParseEpochLengthUpdated(log types.Log) (*OriginalTokenVaultV2EpochLengthUpdated, error)

ParseEpochLengthUpdated is a log parse operation binding the contract event 0x2664fec2ff76486ac58ed087310855b648b15b9d19f3de8529e95f7c46b7d6b3.

Solidity: event EpochLengthUpdated(uint256 length)

func (*OriginalTokenVaultV2Filterer) ParseEpochVolumeUpdated

func (_OriginalTokenVaultV2 *OriginalTokenVaultV2Filterer) ParseEpochVolumeUpdated(log types.Log) (*OriginalTokenVaultV2EpochVolumeUpdated, error)

ParseEpochVolumeUpdated is a log parse operation binding the contract event 0x608e49c22994f20b5d3496dca088b88dfd81b4a3e8cc3809ea1e10a320107e89.

Solidity: event EpochVolumeUpdated(address token, uint256 cap)

func (*OriginalTokenVaultV2Filterer) ParseGovernorAdded

func (_OriginalTokenVaultV2 *OriginalTokenVaultV2Filterer) ParseGovernorAdded(log types.Log) (*OriginalTokenVaultV2GovernorAdded, error)

ParseGovernorAdded is a log parse operation binding the contract event 0xdc5a48d79e2e147530ff63ecdbed5a5a66adb9d5cf339384d5d076da197c40b5.

Solidity: event GovernorAdded(address account)

func (*OriginalTokenVaultV2Filterer) ParseGovernorRemoved

func (_OriginalTokenVaultV2 *OriginalTokenVaultV2Filterer) ParseGovernorRemoved(log types.Log) (*OriginalTokenVaultV2GovernorRemoved, error)

ParseGovernorRemoved is a log parse operation binding the contract event 0x1ebe834e73d60a5fec822c1e1727d34bc79f2ad977ed504581cc1822fe20fb5b.

Solidity: event GovernorRemoved(address account)

func (*OriginalTokenVaultV2Filterer) ParseMaxDepositUpdated

func (_OriginalTokenVaultV2 *OriginalTokenVaultV2Filterer) ParseMaxDepositUpdated(log types.Log) (*OriginalTokenVaultV2MaxDepositUpdated, error)

ParseMaxDepositUpdated is a log parse operation binding the contract event 0x0e5d348f9737ccc8b4cf0eea0ccf3670af071af8bea5d64664f10e700c08de72.

Solidity: event MaxDepositUpdated(address token, uint256 amount)

func (*OriginalTokenVaultV2Filterer) ParseMinDepositUpdated

func (_OriginalTokenVaultV2 *OriginalTokenVaultV2Filterer) ParseMinDepositUpdated(log types.Log) (*OriginalTokenVaultV2MinDepositUpdated, error)

ParseMinDepositUpdated is a log parse operation binding the contract event 0x0f48d517989455cd80ed52427e80553e66f9b69fd5cee8e26bd1a1f9c364fba6.

Solidity: event MinDepositUpdated(address token, uint256 amount)

func (*OriginalTokenVaultV2Filterer) ParseOwnershipTransferred

func (_OriginalTokenVaultV2 *OriginalTokenVaultV2Filterer) ParseOwnershipTransferred(log types.Log) (*OriginalTokenVaultV2OwnershipTransferred, error)

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

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

func (*OriginalTokenVaultV2Filterer) ParsePaused

func (_OriginalTokenVaultV2 *OriginalTokenVaultV2Filterer) ParsePaused(log types.Log) (*OriginalTokenVaultV2Paused, error)

ParsePaused is a log parse operation binding the contract event 0x62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258.

Solidity: event Paused(address account)

func (*OriginalTokenVaultV2Filterer) ParsePauserAdded

func (_OriginalTokenVaultV2 *OriginalTokenVaultV2Filterer) ParsePauserAdded(log types.Log) (*OriginalTokenVaultV2PauserAdded, error)

ParsePauserAdded is a log parse operation binding the contract event 0x6719d08c1888103bea251a4ed56406bd0c3e69723c8a1686e017e7bbe159b6f8.

Solidity: event PauserAdded(address account)

func (*OriginalTokenVaultV2Filterer) ParsePauserRemoved

func (_OriginalTokenVaultV2 *OriginalTokenVaultV2Filterer) ParsePauserRemoved(log types.Log) (*OriginalTokenVaultV2PauserRemoved, error)

ParsePauserRemoved is a log parse operation binding the contract event 0xcd265ebaf09df2871cc7bd4133404a235ba12eff2041bb89d9c714a2621c7c7e.

Solidity: event PauserRemoved(address account)

func (*OriginalTokenVaultV2Filterer) ParseUnpaused

func (_OriginalTokenVaultV2 *OriginalTokenVaultV2Filterer) ParseUnpaused(log types.Log) (*OriginalTokenVaultV2Unpaused, error)

ParseUnpaused is a log parse operation binding the contract event 0x5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa.

Solidity: event Unpaused(address account)

func (*OriginalTokenVaultV2Filterer) ParseWithdrawn

func (_OriginalTokenVaultV2 *OriginalTokenVaultV2Filterer) ParseWithdrawn(log types.Log) (*OriginalTokenVaultV2Withdrawn, error)

ParseWithdrawn is a log parse operation binding the contract event 0x296a629c5265cb4e5319803d016902eb70a9079b89655fe2b7737821ed88beeb.

Solidity: event Withdrawn(bytes32 withdrawId, address receiver, address token, uint256 amount, uint64 refChainId, bytes32 refId, address burnAccount)

func (*OriginalTokenVaultV2Filterer) WatchDelayPeriodUpdated

func (_OriginalTokenVaultV2 *OriginalTokenVaultV2Filterer) WatchDelayPeriodUpdated(opts *bind.WatchOpts, sink chan<- *OriginalTokenVaultV2DelayPeriodUpdated) (event.Subscription, error)

WatchDelayPeriodUpdated is a free log subscription operation binding the contract event 0xc0a39f234199b125fb93713c4d067bdcebbf691087f87b79c0feb92b156ba8b6.

Solidity: event DelayPeriodUpdated(uint256 period)

func (*OriginalTokenVaultV2Filterer) WatchDelayThresholdUpdated

func (_OriginalTokenVaultV2 *OriginalTokenVaultV2Filterer) WatchDelayThresholdUpdated(opts *bind.WatchOpts, sink chan<- *OriginalTokenVaultV2DelayThresholdUpdated) (event.Subscription, error)

WatchDelayThresholdUpdated is a free log subscription operation binding the contract event 0xceaad6533bfb481492fb3e08ef19297f46611b8fa9de5ef4cf8dc23a56ad09ce.

Solidity: event DelayThresholdUpdated(address token, uint256 threshold)

func (*OriginalTokenVaultV2Filterer) WatchDelayedTransferAdded

func (_OriginalTokenVaultV2 *OriginalTokenVaultV2Filterer) WatchDelayedTransferAdded(opts *bind.WatchOpts, sink chan<- *OriginalTokenVaultV2DelayedTransferAdded) (event.Subscription, error)

WatchDelayedTransferAdded is a free log subscription operation binding the contract event 0xcbcfffe5102114216a85d3aceb14ad4b81a3935b1b5c468fadf3889eb9c5dce6.

Solidity: event DelayedTransferAdded(bytes32 id)

func (*OriginalTokenVaultV2Filterer) WatchDelayedTransferExecuted

func (_OriginalTokenVaultV2 *OriginalTokenVaultV2Filterer) WatchDelayedTransferExecuted(opts *bind.WatchOpts, sink chan<- *OriginalTokenVaultV2DelayedTransferExecuted) (event.Subscription, error)

WatchDelayedTransferExecuted is a free log subscription operation binding the contract event 0x3b40e5089937425d14cdd96947e5661868357e224af59bd8b24a4b8a330d4426.

Solidity: event DelayedTransferExecuted(bytes32 id, address receiver, address token, uint256 amount)

func (*OriginalTokenVaultV2Filterer) WatchDeposited

func (_OriginalTokenVaultV2 *OriginalTokenVaultV2Filterer) WatchDeposited(opts *bind.WatchOpts, sink chan<- *OriginalTokenVaultV2Deposited) (event.Subscription, error)

WatchDeposited is a free log subscription operation binding the contract event 0x28d226819e371600e26624ebc4a9a3947117ee2760209f816c789d3a99bf481b.

Solidity: event Deposited(bytes32 depositId, address depositor, address token, uint256 amount, uint64 mintChainId, address mintAccount, uint64 nonce)

func (*OriginalTokenVaultV2Filterer) WatchEpochLengthUpdated

func (_OriginalTokenVaultV2 *OriginalTokenVaultV2Filterer) WatchEpochLengthUpdated(opts *bind.WatchOpts, sink chan<- *OriginalTokenVaultV2EpochLengthUpdated) (event.Subscription, error)

WatchEpochLengthUpdated is a free log subscription operation binding the contract event 0x2664fec2ff76486ac58ed087310855b648b15b9d19f3de8529e95f7c46b7d6b3.

Solidity: event EpochLengthUpdated(uint256 length)

func (*OriginalTokenVaultV2Filterer) WatchEpochVolumeUpdated

func (_OriginalTokenVaultV2 *OriginalTokenVaultV2Filterer) WatchEpochVolumeUpdated(opts *bind.WatchOpts, sink chan<- *OriginalTokenVaultV2EpochVolumeUpdated) (event.Subscription, error)

WatchEpochVolumeUpdated is a free log subscription operation binding the contract event 0x608e49c22994f20b5d3496dca088b88dfd81b4a3e8cc3809ea1e10a320107e89.

Solidity: event EpochVolumeUpdated(address token, uint256 cap)

func (*OriginalTokenVaultV2Filterer) WatchGovernorAdded

func (_OriginalTokenVaultV2 *OriginalTokenVaultV2Filterer) WatchGovernorAdded(opts *bind.WatchOpts, sink chan<- *OriginalTokenVaultV2GovernorAdded) (event.Subscription, error)

WatchGovernorAdded is a free log subscription operation binding the contract event 0xdc5a48d79e2e147530ff63ecdbed5a5a66adb9d5cf339384d5d076da197c40b5.

Solidity: event GovernorAdded(address account)

func (*OriginalTokenVaultV2Filterer) WatchGovernorRemoved

func (_OriginalTokenVaultV2 *OriginalTokenVaultV2Filterer) WatchGovernorRemoved(opts *bind.WatchOpts, sink chan<- *OriginalTokenVaultV2GovernorRemoved) (event.Subscription, error)

WatchGovernorRemoved is a free log subscription operation binding the contract event 0x1ebe834e73d60a5fec822c1e1727d34bc79f2ad977ed504581cc1822fe20fb5b.

Solidity: event GovernorRemoved(address account)

func (*OriginalTokenVaultV2Filterer) WatchMaxDepositUpdated

func (_OriginalTokenVaultV2 *OriginalTokenVaultV2Filterer) WatchMaxDepositUpdated(opts *bind.WatchOpts, sink chan<- *OriginalTokenVaultV2MaxDepositUpdated) (event.Subscription, error)

WatchMaxDepositUpdated is a free log subscription operation binding the contract event 0x0e5d348f9737ccc8b4cf0eea0ccf3670af071af8bea5d64664f10e700c08de72.

Solidity: event MaxDepositUpdated(address token, uint256 amount)

func (*OriginalTokenVaultV2Filterer) WatchMinDepositUpdated

func (_OriginalTokenVaultV2 *OriginalTokenVaultV2Filterer) WatchMinDepositUpdated(opts *bind.WatchOpts, sink chan<- *OriginalTokenVaultV2MinDepositUpdated) (event.Subscription, error)

WatchMinDepositUpdated is a free log subscription operation binding the contract event 0x0f48d517989455cd80ed52427e80553e66f9b69fd5cee8e26bd1a1f9c364fba6.

Solidity: event MinDepositUpdated(address token, uint256 amount)

func (*OriginalTokenVaultV2Filterer) WatchOwnershipTransferred

func (_OriginalTokenVaultV2 *OriginalTokenVaultV2Filterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *OriginalTokenVaultV2OwnershipTransferred, 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 (*OriginalTokenVaultV2Filterer) WatchPaused

func (_OriginalTokenVaultV2 *OriginalTokenVaultV2Filterer) WatchPaused(opts *bind.WatchOpts, sink chan<- *OriginalTokenVaultV2Paused) (event.Subscription, error)

WatchPaused is a free log subscription operation binding the contract event 0x62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258.

Solidity: event Paused(address account)

func (*OriginalTokenVaultV2Filterer) WatchPauserAdded

func (_OriginalTokenVaultV2 *OriginalTokenVaultV2Filterer) WatchPauserAdded(opts *bind.WatchOpts, sink chan<- *OriginalTokenVaultV2PauserAdded) (event.Subscription, error)

WatchPauserAdded is a free log subscription operation binding the contract event 0x6719d08c1888103bea251a4ed56406bd0c3e69723c8a1686e017e7bbe159b6f8.

Solidity: event PauserAdded(address account)

func (*OriginalTokenVaultV2Filterer) WatchPauserRemoved

func (_OriginalTokenVaultV2 *OriginalTokenVaultV2Filterer) WatchPauserRemoved(opts *bind.WatchOpts, sink chan<- *OriginalTokenVaultV2PauserRemoved) (event.Subscription, error)

WatchPauserRemoved is a free log subscription operation binding the contract event 0xcd265ebaf09df2871cc7bd4133404a235ba12eff2041bb89d9c714a2621c7c7e.

Solidity: event PauserRemoved(address account)

func (*OriginalTokenVaultV2Filterer) WatchUnpaused

func (_OriginalTokenVaultV2 *OriginalTokenVaultV2Filterer) WatchUnpaused(opts *bind.WatchOpts, sink chan<- *OriginalTokenVaultV2Unpaused) (event.Subscription, error)

WatchUnpaused is a free log subscription operation binding the contract event 0x5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa.

Solidity: event Unpaused(address account)

func (*OriginalTokenVaultV2Filterer) WatchWithdrawn

func (_OriginalTokenVaultV2 *OriginalTokenVaultV2Filterer) WatchWithdrawn(opts *bind.WatchOpts, sink chan<- *OriginalTokenVaultV2Withdrawn) (event.Subscription, error)

WatchWithdrawn is a free log subscription operation binding the contract event 0x296a629c5265cb4e5319803d016902eb70a9079b89655fe2b7737821ed88beeb.

Solidity: event Withdrawn(bytes32 withdrawId, address receiver, address token, uint256 amount, uint64 refChainId, bytes32 refId, address burnAccount)

type OriginalTokenVaultV2GovernorAdded

type OriginalTokenVaultV2GovernorAdded struct {
	Account common.Address
	Raw     types.Log // Blockchain specific contextual infos
}

OriginalTokenVaultV2GovernorAdded represents a GovernorAdded event raised by the OriginalTokenVaultV2 contract.

type OriginalTokenVaultV2GovernorAddedIterator

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

OriginalTokenVaultV2GovernorAddedIterator is returned from FilterGovernorAdded and is used to iterate over the raw logs and unpacked data for GovernorAdded events raised by the OriginalTokenVaultV2 contract.

func (*OriginalTokenVaultV2GovernorAddedIterator) Close

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

func (*OriginalTokenVaultV2GovernorAddedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*OriginalTokenVaultV2GovernorAddedIterator) 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 OriginalTokenVaultV2GovernorRemoved

type OriginalTokenVaultV2GovernorRemoved struct {
	Account common.Address
	Raw     types.Log // Blockchain specific contextual infos
}

OriginalTokenVaultV2GovernorRemoved represents a GovernorRemoved event raised by the OriginalTokenVaultV2 contract.

type OriginalTokenVaultV2GovernorRemovedIterator

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

OriginalTokenVaultV2GovernorRemovedIterator is returned from FilterGovernorRemoved and is used to iterate over the raw logs and unpacked data for GovernorRemoved events raised by the OriginalTokenVaultV2 contract.

func (*OriginalTokenVaultV2GovernorRemovedIterator) Close

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

func (*OriginalTokenVaultV2GovernorRemovedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*OriginalTokenVaultV2GovernorRemovedIterator) 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 OriginalTokenVaultV2MaxDepositUpdated

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

OriginalTokenVaultV2MaxDepositUpdated represents a MaxDepositUpdated event raised by the OriginalTokenVaultV2 contract.

type OriginalTokenVaultV2MaxDepositUpdatedIterator

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

OriginalTokenVaultV2MaxDepositUpdatedIterator is returned from FilterMaxDepositUpdated and is used to iterate over the raw logs and unpacked data for MaxDepositUpdated events raised by the OriginalTokenVaultV2 contract.

func (*OriginalTokenVaultV2MaxDepositUpdatedIterator) Close

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

func (*OriginalTokenVaultV2MaxDepositUpdatedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*OriginalTokenVaultV2MaxDepositUpdatedIterator) 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 OriginalTokenVaultV2MinDepositUpdated

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

OriginalTokenVaultV2MinDepositUpdated represents a MinDepositUpdated event raised by the OriginalTokenVaultV2 contract.

type OriginalTokenVaultV2MinDepositUpdatedIterator

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

OriginalTokenVaultV2MinDepositUpdatedIterator is returned from FilterMinDepositUpdated and is used to iterate over the raw logs and unpacked data for MinDepositUpdated events raised by the OriginalTokenVaultV2 contract.

func (*OriginalTokenVaultV2MinDepositUpdatedIterator) Close

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

func (*OriginalTokenVaultV2MinDepositUpdatedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*OriginalTokenVaultV2MinDepositUpdatedIterator) 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 OriginalTokenVaultV2OwnershipTransferred

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

OriginalTokenVaultV2OwnershipTransferred represents a OwnershipTransferred event raised by the OriginalTokenVaultV2 contract.

type OriginalTokenVaultV2OwnershipTransferredIterator

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

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

func (*OriginalTokenVaultV2OwnershipTransferredIterator) Close

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

func (*OriginalTokenVaultV2OwnershipTransferredIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*OriginalTokenVaultV2OwnershipTransferredIterator) 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 OriginalTokenVaultV2Paused

type OriginalTokenVaultV2Paused struct {
	Account common.Address
	Raw     types.Log // Blockchain specific contextual infos
}

OriginalTokenVaultV2Paused represents a Paused event raised by the OriginalTokenVaultV2 contract.

type OriginalTokenVaultV2PausedIterator

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

OriginalTokenVaultV2PausedIterator is returned from FilterPaused and is used to iterate over the raw logs and unpacked data for Paused events raised by the OriginalTokenVaultV2 contract.

func (*OriginalTokenVaultV2PausedIterator) Close

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

func (*OriginalTokenVaultV2PausedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*OriginalTokenVaultV2PausedIterator) 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 OriginalTokenVaultV2PauserAdded

type OriginalTokenVaultV2PauserAdded struct {
	Account common.Address
	Raw     types.Log // Blockchain specific contextual infos
}

OriginalTokenVaultV2PauserAdded represents a PauserAdded event raised by the OriginalTokenVaultV2 contract.

type OriginalTokenVaultV2PauserAddedIterator

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

OriginalTokenVaultV2PauserAddedIterator is returned from FilterPauserAdded and is used to iterate over the raw logs and unpacked data for PauserAdded events raised by the OriginalTokenVaultV2 contract.

func (*OriginalTokenVaultV2PauserAddedIterator) Close

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

func (*OriginalTokenVaultV2PauserAddedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*OriginalTokenVaultV2PauserAddedIterator) 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 OriginalTokenVaultV2PauserRemoved

type OriginalTokenVaultV2PauserRemoved struct {
	Account common.Address
	Raw     types.Log // Blockchain specific contextual infos
}

OriginalTokenVaultV2PauserRemoved represents a PauserRemoved event raised by the OriginalTokenVaultV2 contract.

type OriginalTokenVaultV2PauserRemovedIterator

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

OriginalTokenVaultV2PauserRemovedIterator is returned from FilterPauserRemoved and is used to iterate over the raw logs and unpacked data for PauserRemoved events raised by the OriginalTokenVaultV2 contract.

func (*OriginalTokenVaultV2PauserRemovedIterator) Close

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

func (*OriginalTokenVaultV2PauserRemovedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*OriginalTokenVaultV2PauserRemovedIterator) 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 OriginalTokenVaultV2Raw

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

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

func (*OriginalTokenVaultV2Raw) Call

func (_OriginalTokenVaultV2 *OriginalTokenVaultV2Raw) 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 (*OriginalTokenVaultV2Raw) Transact

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

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

func (*OriginalTokenVaultV2Raw) Transfer

func (_OriginalTokenVaultV2 *OriginalTokenVaultV2Raw) 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 OriginalTokenVaultV2Session

type OriginalTokenVaultV2Session struct {
	Contract     *OriginalTokenVaultV2 // 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
}

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

func (*OriginalTokenVaultV2Session) AddGovernor

func (_OriginalTokenVaultV2 *OriginalTokenVaultV2Session) AddGovernor(_account common.Address) (*types.Transaction, error)

AddGovernor is a paid mutator transaction binding the contract method 0x3c4a25d0.

Solidity: function addGovernor(address _account) returns()

func (*OriginalTokenVaultV2Session) AddPauser

func (_OriginalTokenVaultV2 *OriginalTokenVaultV2Session) AddPauser(account common.Address) (*types.Transaction, error)

AddPauser is a paid mutator transaction binding the contract method 0x82dc1ec4.

Solidity: function addPauser(address account) returns()

func (*OriginalTokenVaultV2Session) DelayPeriod

func (_OriginalTokenVaultV2 *OriginalTokenVaultV2Session) DelayPeriod() (*big.Int, error)

DelayPeriod is a free data retrieval call binding the contract method 0xb1c94d94.

Solidity: function delayPeriod() view returns(uint256)

func (*OriginalTokenVaultV2Session) DelayThresholds

func (_OriginalTokenVaultV2 *OriginalTokenVaultV2Session) DelayThresholds(arg0 common.Address) (*big.Int, error)

DelayThresholds is a free data retrieval call binding the contract method 0x52532faa.

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

func (*OriginalTokenVaultV2Session) DelayedTransfers

func (_OriginalTokenVaultV2 *OriginalTokenVaultV2Session) DelayedTransfers(arg0 [32]byte) (struct {
	Receiver  common.Address
	Token     common.Address
	Amount    *big.Int
	Timestamp *big.Int
}, error)

DelayedTransfers is a free data retrieval call binding the contract method 0xadc0d57f.

Solidity: function delayedTransfers(bytes32 ) view returns(address receiver, address token, uint256 amount, uint256 timestamp)

func (*OriginalTokenVaultV2Session) Deposit

func (_OriginalTokenVaultV2 *OriginalTokenVaultV2Session) Deposit(_token common.Address, _amount *big.Int, _mintChainId uint64, _mintAccount common.Address, _nonce uint64) (*types.Transaction, error)

Deposit is a paid mutator transaction binding the contract method 0x23463624.

Solidity: function deposit(address _token, uint256 _amount, uint64 _mintChainId, address _mintAccount, uint64 _nonce) returns(bytes32)

func (*OriginalTokenVaultV2Session) DepositNative

func (_OriginalTokenVaultV2 *OriginalTokenVaultV2Session) DepositNative(_amount *big.Int, _mintChainId uint64, _mintAccount common.Address, _nonce uint64) (*types.Transaction, error)

DepositNative is a paid mutator transaction binding the contract method 0x00a95fd7.

Solidity: function depositNative(uint256 _amount, uint64 _mintChainId, address _mintAccount, uint64 _nonce) payable returns(bytes32)

func (*OriginalTokenVaultV2Session) EpochLength

func (_OriginalTokenVaultV2 *OriginalTokenVaultV2Session) EpochLength() (*big.Int, error)

EpochLength is a free data retrieval call binding the contract method 0x57d775f8.

Solidity: function epochLength() view returns(uint256)

func (*OriginalTokenVaultV2Session) EpochVolumeCaps

func (_OriginalTokenVaultV2 *OriginalTokenVaultV2Session) EpochVolumeCaps(arg0 common.Address) (*big.Int, error)

EpochVolumeCaps is a free data retrieval call binding the contract method 0xb5f2bc47.

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

func (*OriginalTokenVaultV2Session) EpochVolumes

func (_OriginalTokenVaultV2 *OriginalTokenVaultV2Session) EpochVolumes(arg0 common.Address) (*big.Int, error)

EpochVolumes is a free data retrieval call binding the contract method 0x60216b00.

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

func (*OriginalTokenVaultV2Session) ExecuteDelayedTransfer

func (_OriginalTokenVaultV2 *OriginalTokenVaultV2Session) ExecuteDelayedTransfer(id [32]byte) (*types.Transaction, error)

ExecuteDelayedTransfer is a paid mutator transaction binding the contract method 0x9e25fc5c.

Solidity: function executeDelayedTransfer(bytes32 id) returns()

func (*OriginalTokenVaultV2Session) Governors

func (_OriginalTokenVaultV2 *OriginalTokenVaultV2Session) Governors(arg0 common.Address) (bool, error)

Governors is a free data retrieval call binding the contract method 0xe3eece26.

Solidity: function governors(address ) view returns(bool)

func (*OriginalTokenVaultV2Session) IsGovernor

func (_OriginalTokenVaultV2 *OriginalTokenVaultV2Session) IsGovernor(_account common.Address) (bool, error)

IsGovernor is a free data retrieval call binding the contract method 0xe43581b8.

Solidity: function isGovernor(address _account) view returns(bool)

func (*OriginalTokenVaultV2Session) IsPauser

func (_OriginalTokenVaultV2 *OriginalTokenVaultV2Session) IsPauser(account common.Address) (bool, error)

IsPauser is a free data retrieval call binding the contract method 0x46fbf68e.

Solidity: function isPauser(address account) view returns(bool)

func (*OriginalTokenVaultV2Session) LastOpTimestamps

func (_OriginalTokenVaultV2 *OriginalTokenVaultV2Session) LastOpTimestamps(arg0 common.Address) (*big.Int, error)

LastOpTimestamps is a free data retrieval call binding the contract method 0xf8321383.

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

func (*OriginalTokenVaultV2Session) MaxDeposit

func (_OriginalTokenVaultV2 *OriginalTokenVaultV2Session) MaxDeposit(arg0 common.Address) (*big.Int, error)

MaxDeposit is a free data retrieval call binding the contract method 0x402d267d.

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

func (*OriginalTokenVaultV2Session) MinDeposit

func (_OriginalTokenVaultV2 *OriginalTokenVaultV2Session) MinDeposit(arg0 common.Address) (*big.Int, error)

MinDeposit is a free data retrieval call binding the contract method 0x3c29f839.

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

func (*OriginalTokenVaultV2Session) NativeWrap

func (_OriginalTokenVaultV2 *OriginalTokenVaultV2Session) NativeWrap() (common.Address, error)

NativeWrap is a free data retrieval call binding the contract method 0x457bfa2f.

Solidity: function nativeWrap() view returns(address)

func (*OriginalTokenVaultV2Session) Owner

func (_OriginalTokenVaultV2 *OriginalTokenVaultV2Session) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*OriginalTokenVaultV2Session) Pause

func (_OriginalTokenVaultV2 *OriginalTokenVaultV2Session) Pause() (*types.Transaction, error)

Pause is a paid mutator transaction binding the contract method 0x8456cb59.

Solidity: function pause() returns()

func (*OriginalTokenVaultV2Session) Paused

func (_OriginalTokenVaultV2 *OriginalTokenVaultV2Session) Paused() (bool, error)

Paused is a free data retrieval call binding the contract method 0x5c975abb.

Solidity: function paused() view returns(bool)

func (*OriginalTokenVaultV2Session) Pausers

func (_OriginalTokenVaultV2 *OriginalTokenVaultV2Session) Pausers(arg0 common.Address) (bool, error)

Pausers is a free data retrieval call binding the contract method 0x80f51c12.

Solidity: function pausers(address ) view returns(bool)

func (*OriginalTokenVaultV2Session) Receive

func (_OriginalTokenVaultV2 *OriginalTokenVaultV2Session) Receive() (*types.Transaction, error)

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

Solidity: receive() payable returns()

func (*OriginalTokenVaultV2Session) Records

func (_OriginalTokenVaultV2 *OriginalTokenVaultV2Session) Records(arg0 [32]byte) (bool, error)

Records is a free data retrieval call binding the contract method 0x01e64725.

Solidity: function records(bytes32 ) view returns(bool)

func (*OriginalTokenVaultV2Session) RemoveGovernor

func (_OriginalTokenVaultV2 *OriginalTokenVaultV2Session) RemoveGovernor(_account common.Address) (*types.Transaction, error)

RemoveGovernor is a paid mutator transaction binding the contract method 0xeecdac88.

Solidity: function removeGovernor(address _account) returns()

func (*OriginalTokenVaultV2Session) RemovePauser

func (_OriginalTokenVaultV2 *OriginalTokenVaultV2Session) RemovePauser(account common.Address) (*types.Transaction, error)

RemovePauser is a paid mutator transaction binding the contract method 0x6b2c0f55.

Solidity: function removePauser(address account) returns()

func (*OriginalTokenVaultV2Session) RenounceGovernor

func (_OriginalTokenVaultV2 *OriginalTokenVaultV2Session) RenounceGovernor() (*types.Transaction, error)

RenounceGovernor is a paid mutator transaction binding the contract method 0xe026049c.

Solidity: function renounceGovernor() returns()

func (*OriginalTokenVaultV2Session) RenouncePauser

func (_OriginalTokenVaultV2 *OriginalTokenVaultV2Session) RenouncePauser() (*types.Transaction, error)

RenouncePauser is a paid mutator transaction binding the contract method 0x6ef8d66d.

Solidity: function renouncePauser() returns()

func (*OriginalTokenVaultV2Session) SetDelayPeriod

func (_OriginalTokenVaultV2 *OriginalTokenVaultV2Session) SetDelayPeriod(_period *big.Int) (*types.Transaction, error)

SetDelayPeriod is a paid mutator transaction binding the contract method 0x3d572107.

Solidity: function setDelayPeriod(uint256 _period) returns()

func (*OriginalTokenVaultV2Session) SetDelayThresholds

func (_OriginalTokenVaultV2 *OriginalTokenVaultV2Session) SetDelayThresholds(_tokens []common.Address, _thresholds []*big.Int) (*types.Transaction, error)

SetDelayThresholds is a paid mutator transaction binding the contract method 0x17bdbae5.

Solidity: function setDelayThresholds(address[] _tokens, uint256[] _thresholds) returns()

func (*OriginalTokenVaultV2Session) SetEpochLength

func (_OriginalTokenVaultV2 *OriginalTokenVaultV2Session) SetEpochLength(_length *big.Int) (*types.Transaction, error)

SetEpochLength is a paid mutator transaction binding the contract method 0x54eea796.

Solidity: function setEpochLength(uint256 _length) returns()

func (*OriginalTokenVaultV2Session) SetEpochVolumeCaps

func (_OriginalTokenVaultV2 *OriginalTokenVaultV2Session) SetEpochVolumeCaps(_tokens []common.Address, _caps []*big.Int) (*types.Transaction, error)

SetEpochVolumeCaps is a paid mutator transaction binding the contract method 0x47b16c6c.

Solidity: function setEpochVolumeCaps(address[] _tokens, uint256[] _caps) returns()

func (*OriginalTokenVaultV2Session) SetMaxDeposit

func (_OriginalTokenVaultV2 *OriginalTokenVaultV2Session) SetMaxDeposit(_tokens []common.Address, _amounts []*big.Int) (*types.Transaction, error)

SetMaxDeposit is a paid mutator transaction binding the contract method 0x303b6442.

Solidity: function setMaxDeposit(address[] _tokens, uint256[] _amounts) returns()

func (*OriginalTokenVaultV2Session) SetMinDeposit

func (_OriginalTokenVaultV2 *OriginalTokenVaultV2Session) SetMinDeposit(_tokens []common.Address, _amounts []*big.Int) (*types.Transaction, error)

SetMinDeposit is a paid mutator transaction binding the contract method 0x5ec2fa26.

Solidity: function setMinDeposit(address[] _tokens, uint256[] _amounts) returns()

func (*OriginalTokenVaultV2Session) SetWrap

func (_OriginalTokenVaultV2 *OriginalTokenVaultV2Session) SetWrap(_weth common.Address) (*types.Transaction, error)

SetWrap is a paid mutator transaction binding the contract method 0x9ff9001a.

Solidity: function setWrap(address _weth) returns()

func (*OriginalTokenVaultV2Session) SigsVerifier

func (_OriginalTokenVaultV2 *OriginalTokenVaultV2Session) SigsVerifier() (common.Address, error)

SigsVerifier is a free data retrieval call binding the contract method 0xccf2683b.

Solidity: function sigsVerifier() view returns(address)

func (*OriginalTokenVaultV2Session) TransferOwnership

func (_OriginalTokenVaultV2 *OriginalTokenVaultV2Session) 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 (*OriginalTokenVaultV2Session) Unpause

func (_OriginalTokenVaultV2 *OriginalTokenVaultV2Session) Unpause() (*types.Transaction, error)

Unpause is a paid mutator transaction binding the contract method 0x3f4ba83a.

Solidity: function unpause() returns()

func (*OriginalTokenVaultV2Session) Withdraw

func (_OriginalTokenVaultV2 *OriginalTokenVaultV2Session) Withdraw(_request []byte, _sigs [][]byte, _signers []common.Address, _powers []*big.Int) (*types.Transaction, error)

Withdraw is a paid mutator transaction binding the contract method 0xa21a9280.

Solidity: function withdraw(bytes _request, bytes[] _sigs, address[] _signers, uint256[] _powers) returns(bytes32)

type OriginalTokenVaultV2Transactor

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

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

func NewOriginalTokenVaultV2Transactor

func NewOriginalTokenVaultV2Transactor(address common.Address, transactor bind.ContractTransactor) (*OriginalTokenVaultV2Transactor, error)

NewOriginalTokenVaultV2Transactor creates a new write-only instance of OriginalTokenVaultV2, bound to a specific deployed contract.

func (*OriginalTokenVaultV2Transactor) AddGovernor

func (_OriginalTokenVaultV2 *OriginalTokenVaultV2Transactor) AddGovernor(opts *bind.TransactOpts, _account common.Address) (*types.Transaction, error)

AddGovernor is a paid mutator transaction binding the contract method 0x3c4a25d0.

Solidity: function addGovernor(address _account) returns()

func (*OriginalTokenVaultV2Transactor) AddPauser

func (_OriginalTokenVaultV2 *OriginalTokenVaultV2Transactor) AddPauser(opts *bind.TransactOpts, account common.Address) (*types.Transaction, error)

AddPauser is a paid mutator transaction binding the contract method 0x82dc1ec4.

Solidity: function addPauser(address account) returns()

func (*OriginalTokenVaultV2Transactor) Deposit

func (_OriginalTokenVaultV2 *OriginalTokenVaultV2Transactor) Deposit(opts *bind.TransactOpts, _token common.Address, _amount *big.Int, _mintChainId uint64, _mintAccount common.Address, _nonce uint64) (*types.Transaction, error)

Deposit is a paid mutator transaction binding the contract method 0x23463624.

Solidity: function deposit(address _token, uint256 _amount, uint64 _mintChainId, address _mintAccount, uint64 _nonce) returns(bytes32)

func (*OriginalTokenVaultV2Transactor) DepositNative

func (_OriginalTokenVaultV2 *OriginalTokenVaultV2Transactor) DepositNative(opts *bind.TransactOpts, _amount *big.Int, _mintChainId uint64, _mintAccount common.Address, _nonce uint64) (*types.Transaction, error)

DepositNative is a paid mutator transaction binding the contract method 0x00a95fd7.

Solidity: function depositNative(uint256 _amount, uint64 _mintChainId, address _mintAccount, uint64 _nonce) payable returns(bytes32)

func (*OriginalTokenVaultV2Transactor) ExecuteDelayedTransfer

func (_OriginalTokenVaultV2 *OriginalTokenVaultV2Transactor) ExecuteDelayedTransfer(opts *bind.TransactOpts, id [32]byte) (*types.Transaction, error)

ExecuteDelayedTransfer is a paid mutator transaction binding the contract method 0x9e25fc5c.

Solidity: function executeDelayedTransfer(bytes32 id) returns()

func (*OriginalTokenVaultV2Transactor) Pause

func (_OriginalTokenVaultV2 *OriginalTokenVaultV2Transactor) Pause(opts *bind.TransactOpts) (*types.Transaction, error)

Pause is a paid mutator transaction binding the contract method 0x8456cb59.

Solidity: function pause() returns()

func (*OriginalTokenVaultV2Transactor) Receive

func (_OriginalTokenVaultV2 *OriginalTokenVaultV2Transactor) Receive(opts *bind.TransactOpts) (*types.Transaction, error)

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

Solidity: receive() payable returns()

func (*OriginalTokenVaultV2Transactor) RemoveGovernor

func (_OriginalTokenVaultV2 *OriginalTokenVaultV2Transactor) RemoveGovernor(opts *bind.TransactOpts, _account common.Address) (*types.Transaction, error)

RemoveGovernor is a paid mutator transaction binding the contract method 0xeecdac88.

Solidity: function removeGovernor(address _account) returns()

func (*OriginalTokenVaultV2Transactor) RemovePauser

func (_OriginalTokenVaultV2 *OriginalTokenVaultV2Transactor) RemovePauser(opts *bind.TransactOpts, account common.Address) (*types.Transaction, error)

RemovePauser is a paid mutator transaction binding the contract method 0x6b2c0f55.

Solidity: function removePauser(address account) returns()

func (*OriginalTokenVaultV2Transactor) RenounceGovernor

func (_OriginalTokenVaultV2 *OriginalTokenVaultV2Transactor) RenounceGovernor(opts *bind.TransactOpts) (*types.Transaction, error)

RenounceGovernor is a paid mutator transaction binding the contract method 0xe026049c.

Solidity: function renounceGovernor() returns()

func (*OriginalTokenVaultV2Transactor) RenouncePauser

func (_OriginalTokenVaultV2 *OriginalTokenVaultV2Transactor) RenouncePauser(opts *bind.TransactOpts) (*types.Transaction, error)

RenouncePauser is a paid mutator transaction binding the contract method 0x6ef8d66d.

Solidity: function renouncePauser() returns()

func (*OriginalTokenVaultV2Transactor) SetDelayPeriod

func (_OriginalTokenVaultV2 *OriginalTokenVaultV2Transactor) SetDelayPeriod(opts *bind.TransactOpts, _period *big.Int) (*types.Transaction, error)

SetDelayPeriod is a paid mutator transaction binding the contract method 0x3d572107.

Solidity: function setDelayPeriod(uint256 _period) returns()

func (*OriginalTokenVaultV2Transactor) SetDelayThresholds

func (_OriginalTokenVaultV2 *OriginalTokenVaultV2Transactor) SetDelayThresholds(opts *bind.TransactOpts, _tokens []common.Address, _thresholds []*big.Int) (*types.Transaction, error)

SetDelayThresholds is a paid mutator transaction binding the contract method 0x17bdbae5.

Solidity: function setDelayThresholds(address[] _tokens, uint256[] _thresholds) returns()

func (*OriginalTokenVaultV2Transactor) SetEpochLength

func (_OriginalTokenVaultV2 *OriginalTokenVaultV2Transactor) SetEpochLength(opts *bind.TransactOpts, _length *big.Int) (*types.Transaction, error)

SetEpochLength is a paid mutator transaction binding the contract method 0x54eea796.

Solidity: function setEpochLength(uint256 _length) returns()

func (*OriginalTokenVaultV2Transactor) SetEpochVolumeCaps

func (_OriginalTokenVaultV2 *OriginalTokenVaultV2Transactor) SetEpochVolumeCaps(opts *bind.TransactOpts, _tokens []common.Address, _caps []*big.Int) (*types.Transaction, error)

SetEpochVolumeCaps is a paid mutator transaction binding the contract method 0x47b16c6c.

Solidity: function setEpochVolumeCaps(address[] _tokens, uint256[] _caps) returns()

func (*OriginalTokenVaultV2Transactor) SetMaxDeposit

func (_OriginalTokenVaultV2 *OriginalTokenVaultV2Transactor) SetMaxDeposit(opts *bind.TransactOpts, _tokens []common.Address, _amounts []*big.Int) (*types.Transaction, error)

SetMaxDeposit is a paid mutator transaction binding the contract method 0x303b6442.

Solidity: function setMaxDeposit(address[] _tokens, uint256[] _amounts) returns()

func (*OriginalTokenVaultV2Transactor) SetMinDeposit

func (_OriginalTokenVaultV2 *OriginalTokenVaultV2Transactor) SetMinDeposit(opts *bind.TransactOpts, _tokens []common.Address, _amounts []*big.Int) (*types.Transaction, error)

SetMinDeposit is a paid mutator transaction binding the contract method 0x5ec2fa26.

Solidity: function setMinDeposit(address[] _tokens, uint256[] _amounts) returns()

func (*OriginalTokenVaultV2Transactor) SetWrap

func (_OriginalTokenVaultV2 *OriginalTokenVaultV2Transactor) SetWrap(opts *bind.TransactOpts, _weth common.Address) (*types.Transaction, error)

SetWrap is a paid mutator transaction binding the contract method 0x9ff9001a.

Solidity: function setWrap(address _weth) returns()

func (*OriginalTokenVaultV2Transactor) TransferOwnership

func (_OriginalTokenVaultV2 *OriginalTokenVaultV2Transactor) 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 (*OriginalTokenVaultV2Transactor) Unpause

func (_OriginalTokenVaultV2 *OriginalTokenVaultV2Transactor) Unpause(opts *bind.TransactOpts) (*types.Transaction, error)

Unpause is a paid mutator transaction binding the contract method 0x3f4ba83a.

Solidity: function unpause() returns()

func (*OriginalTokenVaultV2Transactor) Withdraw

func (_OriginalTokenVaultV2 *OriginalTokenVaultV2Transactor) Withdraw(opts *bind.TransactOpts, _request []byte, _sigs [][]byte, _signers []common.Address, _powers []*big.Int) (*types.Transaction, error)

Withdraw is a paid mutator transaction binding the contract method 0xa21a9280.

Solidity: function withdraw(bytes _request, bytes[] _sigs, address[] _signers, uint256[] _powers) returns(bytes32)

type OriginalTokenVaultV2TransactorRaw

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

OriginalTokenVaultV2TransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.

func (*OriginalTokenVaultV2TransactorRaw) Transact

func (_OriginalTokenVaultV2 *OriginalTokenVaultV2TransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*OriginalTokenVaultV2TransactorRaw) Transfer

func (_OriginalTokenVaultV2 *OriginalTokenVaultV2TransactorRaw) 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 OriginalTokenVaultV2TransactorSession

type OriginalTokenVaultV2TransactorSession struct {
	Contract     *OriginalTokenVaultV2Transactor // Generic contract transactor binding to set the session for
	TransactOpts bind.TransactOpts               // Transaction auth options to use throughout this session
}

OriginalTokenVaultV2TransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.

func (*OriginalTokenVaultV2TransactorSession) AddGovernor

func (_OriginalTokenVaultV2 *OriginalTokenVaultV2TransactorSession) AddGovernor(_account common.Address) (*types.Transaction, error)

AddGovernor is a paid mutator transaction binding the contract method 0x3c4a25d0.

Solidity: function addGovernor(address _account) returns()

func (*OriginalTokenVaultV2TransactorSession) AddPauser

func (_OriginalTokenVaultV2 *OriginalTokenVaultV2TransactorSession) AddPauser(account common.Address) (*types.Transaction, error)

AddPauser is a paid mutator transaction binding the contract method 0x82dc1ec4.

Solidity: function addPauser(address account) returns()

func (*OriginalTokenVaultV2TransactorSession) Deposit

func (_OriginalTokenVaultV2 *OriginalTokenVaultV2TransactorSession) Deposit(_token common.Address, _amount *big.Int, _mintChainId uint64, _mintAccount common.Address, _nonce uint64) (*types.Transaction, error)

Deposit is a paid mutator transaction binding the contract method 0x23463624.

Solidity: function deposit(address _token, uint256 _amount, uint64 _mintChainId, address _mintAccount, uint64 _nonce) returns(bytes32)

func (*OriginalTokenVaultV2TransactorSession) DepositNative

func (_OriginalTokenVaultV2 *OriginalTokenVaultV2TransactorSession) DepositNative(_amount *big.Int, _mintChainId uint64, _mintAccount common.Address, _nonce uint64) (*types.Transaction, error)

DepositNative is a paid mutator transaction binding the contract method 0x00a95fd7.

Solidity: function depositNative(uint256 _amount, uint64 _mintChainId, address _mintAccount, uint64 _nonce) payable returns(bytes32)

func (*OriginalTokenVaultV2TransactorSession) ExecuteDelayedTransfer

func (_OriginalTokenVaultV2 *OriginalTokenVaultV2TransactorSession) ExecuteDelayedTransfer(id [32]byte) (*types.Transaction, error)

ExecuteDelayedTransfer is a paid mutator transaction binding the contract method 0x9e25fc5c.

Solidity: function executeDelayedTransfer(bytes32 id) returns()

func (*OriginalTokenVaultV2TransactorSession) Pause

func (_OriginalTokenVaultV2 *OriginalTokenVaultV2TransactorSession) Pause() (*types.Transaction, error)

Pause is a paid mutator transaction binding the contract method 0x8456cb59.

Solidity: function pause() returns()

func (*OriginalTokenVaultV2TransactorSession) Receive

func (_OriginalTokenVaultV2 *OriginalTokenVaultV2TransactorSession) Receive() (*types.Transaction, error)

Receive is a paid mutator transaction binding the contract receive function.

Solidity: receive() payable returns()

func (*OriginalTokenVaultV2TransactorSession) RemoveGovernor

func (_OriginalTokenVaultV2 *OriginalTokenVaultV2TransactorSession) RemoveGovernor(_account common.Address) (*types.Transaction, error)

RemoveGovernor is a paid mutator transaction binding the contract method 0xeecdac88.

Solidity: function removeGovernor(address _account) returns()

func (*OriginalTokenVaultV2TransactorSession) RemovePauser

func (_OriginalTokenVaultV2 *OriginalTokenVaultV2TransactorSession) RemovePauser(account common.Address) (*types.Transaction, error)

RemovePauser is a paid mutator transaction binding the contract method 0x6b2c0f55.

Solidity: function removePauser(address account) returns()

func (*OriginalTokenVaultV2TransactorSession) RenounceGovernor

func (_OriginalTokenVaultV2 *OriginalTokenVaultV2TransactorSession) RenounceGovernor() (*types.Transaction, error)

RenounceGovernor is a paid mutator transaction binding the contract method 0xe026049c.

Solidity: function renounceGovernor() returns()

func (*OriginalTokenVaultV2TransactorSession) RenouncePauser

func (_OriginalTokenVaultV2 *OriginalTokenVaultV2TransactorSession) RenouncePauser() (*types.Transaction, error)

RenouncePauser is a paid mutator transaction binding the contract method 0x6ef8d66d.

Solidity: function renouncePauser() returns()

func (*OriginalTokenVaultV2TransactorSession) SetDelayPeriod

func (_OriginalTokenVaultV2 *OriginalTokenVaultV2TransactorSession) SetDelayPeriod(_period *big.Int) (*types.Transaction, error)

SetDelayPeriod is a paid mutator transaction binding the contract method 0x3d572107.

Solidity: function setDelayPeriod(uint256 _period) returns()

func (*OriginalTokenVaultV2TransactorSession) SetDelayThresholds

func (_OriginalTokenVaultV2 *OriginalTokenVaultV2TransactorSession) SetDelayThresholds(_tokens []common.Address, _thresholds []*big.Int) (*types.Transaction, error)

SetDelayThresholds is a paid mutator transaction binding the contract method 0x17bdbae5.

Solidity: function setDelayThresholds(address[] _tokens, uint256[] _thresholds) returns()

func (*OriginalTokenVaultV2TransactorSession) SetEpochLength

func (_OriginalTokenVaultV2 *OriginalTokenVaultV2TransactorSession) SetEpochLength(_length *big.Int) (*types.Transaction, error)

SetEpochLength is a paid mutator transaction binding the contract method 0x54eea796.

Solidity: function setEpochLength(uint256 _length) returns()

func (*OriginalTokenVaultV2TransactorSession) SetEpochVolumeCaps

func (_OriginalTokenVaultV2 *OriginalTokenVaultV2TransactorSession) SetEpochVolumeCaps(_tokens []common.Address, _caps []*big.Int) (*types.Transaction, error)

SetEpochVolumeCaps is a paid mutator transaction binding the contract method 0x47b16c6c.

Solidity: function setEpochVolumeCaps(address[] _tokens, uint256[] _caps) returns()

func (*OriginalTokenVaultV2TransactorSession) SetMaxDeposit

func (_OriginalTokenVaultV2 *OriginalTokenVaultV2TransactorSession) SetMaxDeposit(_tokens []common.Address, _amounts []*big.Int) (*types.Transaction, error)

SetMaxDeposit is a paid mutator transaction binding the contract method 0x303b6442.

Solidity: function setMaxDeposit(address[] _tokens, uint256[] _amounts) returns()

func (*OriginalTokenVaultV2TransactorSession) SetMinDeposit

func (_OriginalTokenVaultV2 *OriginalTokenVaultV2TransactorSession) SetMinDeposit(_tokens []common.Address, _amounts []*big.Int) (*types.Transaction, error)

SetMinDeposit is a paid mutator transaction binding the contract method 0x5ec2fa26.

Solidity: function setMinDeposit(address[] _tokens, uint256[] _amounts) returns()

func (*OriginalTokenVaultV2TransactorSession) SetWrap

func (_OriginalTokenVaultV2 *OriginalTokenVaultV2TransactorSession) SetWrap(_weth common.Address) (*types.Transaction, error)

SetWrap is a paid mutator transaction binding the contract method 0x9ff9001a.

Solidity: function setWrap(address _weth) returns()

func (*OriginalTokenVaultV2TransactorSession) TransferOwnership

func (_OriginalTokenVaultV2 *OriginalTokenVaultV2TransactorSession) 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 (*OriginalTokenVaultV2TransactorSession) Unpause

func (_OriginalTokenVaultV2 *OriginalTokenVaultV2TransactorSession) Unpause() (*types.Transaction, error)

Unpause is a paid mutator transaction binding the contract method 0x3f4ba83a.

Solidity: function unpause() returns()

func (*OriginalTokenVaultV2TransactorSession) Withdraw

func (_OriginalTokenVaultV2 *OriginalTokenVaultV2TransactorSession) Withdraw(_request []byte, _sigs [][]byte, _signers []common.Address, _powers []*big.Int) (*types.Transaction, error)

Withdraw is a paid mutator transaction binding the contract method 0xa21a9280.

Solidity: function withdraw(bytes _request, bytes[] _sigs, address[] _signers, uint256[] _powers) returns(bytes32)

type OriginalTokenVaultV2Unpaused

type OriginalTokenVaultV2Unpaused struct {
	Account common.Address
	Raw     types.Log // Blockchain specific contextual infos
}

OriginalTokenVaultV2Unpaused represents a Unpaused event raised by the OriginalTokenVaultV2 contract.

type OriginalTokenVaultV2UnpausedIterator

type OriginalTokenVaultV2UnpausedIterator struct {
	Event *OriginalTokenVaultV2Unpaused // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

OriginalTokenVaultV2UnpausedIterator is returned from FilterUnpaused and is used to iterate over the raw logs and unpacked data for Unpaused events raised by the OriginalTokenVaultV2 contract.

func (*OriginalTokenVaultV2UnpausedIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*OriginalTokenVaultV2UnpausedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*OriginalTokenVaultV2UnpausedIterator) 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 OriginalTokenVaultV2Withdrawn

type OriginalTokenVaultV2Withdrawn struct {
	WithdrawId  [32]byte
	Receiver    common.Address
	Token       common.Address
	Amount      *big.Int
	RefChainId  uint64
	RefId       [32]byte
	BurnAccount common.Address
	Raw         types.Log // Blockchain specific contextual infos
}

OriginalTokenVaultV2Withdrawn represents a Withdrawn event raised by the OriginalTokenVaultV2 contract.

func (*OriginalTokenVaultV2Withdrawn) PrettyLog

func (ev *OriginalTokenVaultV2Withdrawn) PrettyLog(onchid uint64) string

func (*OriginalTokenVaultV2Withdrawn) String

type OriginalTokenVaultV2WithdrawnIterator

type OriginalTokenVaultV2WithdrawnIterator struct {
	Event *OriginalTokenVaultV2Withdrawn // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

OriginalTokenVaultV2WithdrawnIterator is returned from FilterWithdrawn and is used to iterate over the raw logs and unpacked data for Withdrawn events raised by the OriginalTokenVaultV2 contract.

func (*OriginalTokenVaultV2WithdrawnIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*OriginalTokenVaultV2WithdrawnIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*OriginalTokenVaultV2WithdrawnIterator) 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 OriginalTokenVaultWithdrawn

type OriginalTokenVaultWithdrawn struct {
	WithdrawId  [32]byte
	Receiver    common.Address
	Token       common.Address
	Amount      *big.Int
	RefChainId  uint64
	RefId       [32]byte
	BurnAccount common.Address
	Raw         types.Log // Blockchain specific contextual infos
}

OriginalTokenVaultWithdrawn represents a Withdrawn event raised by the OriginalTokenVault contract.

func (*OriginalTokenVaultWithdrawn) PrettyLog

func (ev *OriginalTokenVaultWithdrawn) PrettyLog(onchid uint64) string

func (*OriginalTokenVaultWithdrawn) String

func (ev *OriginalTokenVaultWithdrawn) String() string

type OriginalTokenVaultWithdrawnIterator

type OriginalTokenVaultWithdrawnIterator struct {
	Event *OriginalTokenVaultWithdrawn // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

OriginalTokenVaultWithdrawnIterator is returned from FilterWithdrawn and is used to iterate over the raw logs and unpacked data for Withdrawn events raised by the OriginalTokenVault contract.

func (*OriginalTokenVaultWithdrawnIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*OriginalTokenVaultWithdrawnIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*OriginalTokenVaultWithdrawnIterator) 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 Ownable

type Ownable struct {
	OwnableCaller     // Read-only binding to the contract
	OwnableTransactor // Write-only binding to the contract
	OwnableFilterer   // Log filterer for contract events
}

Ownable is an auto generated Go binding around an Ethereum contract.

func NewOwnable

func NewOwnable(address common.Address, backend bind.ContractBackend) (*Ownable, error)

NewOwnable creates a new instance of Ownable, bound to a specific deployed contract.

type OwnableCaller

type OwnableCaller struct {
	// contains filtered or unexported fields
}

OwnableCaller is an auto generated read-only Go binding around an Ethereum contract.

func NewOwnableCaller

func NewOwnableCaller(address common.Address, caller bind.ContractCaller) (*OwnableCaller, error)

NewOwnableCaller creates a new read-only instance of Ownable, bound to a specific deployed contract.

func (*OwnableCaller) Owner

func (_Ownable *OwnableCaller) Owner(opts *bind.CallOpts) (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() view returns(address)

type OwnableCallerRaw

type OwnableCallerRaw struct {
	Contract *OwnableCaller // Generic read-only contract binding to access the raw methods on
}

OwnableCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.

func (*OwnableCallerRaw) Call

func (_Ownable *OwnableCallerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error

Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.

type OwnableCallerSession

type OwnableCallerSession struct {
	Contract *OwnableCaller // Generic contract caller binding to set the session for
	CallOpts bind.CallOpts  // Call options to use throughout this session
}

OwnableCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.

func (*OwnableCallerSession) Owner

func (_Ownable *OwnableCallerSession) Owner() (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() view returns(address)

type OwnableFilterer

type OwnableFilterer struct {
	// contains filtered or unexported fields
}

OwnableFilterer is an auto generated log filtering Go binding around an Ethereum contract events.

func NewOwnableFilterer

func NewOwnableFilterer(address common.Address, filterer bind.ContractFilterer) (*OwnableFilterer, error)

NewOwnableFilterer creates a new log filterer instance of Ownable, bound to a specific deployed contract.

func (*OwnableFilterer) FilterOwnershipTransferred

func (_Ownable *OwnableFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*OwnableOwnershipTransferredIterator, error)

FilterOwnershipTransferred is a free log retrieval operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)

func (*OwnableFilterer) ParseOwnershipTransferred

func (_Ownable *OwnableFilterer) ParseOwnershipTransferred(log types.Log) (*OwnableOwnershipTransferred, error)

ParseOwnershipTransferred is a log parse operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)

func (*OwnableFilterer) WatchOwnershipTransferred

func (_Ownable *OwnableFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *OwnableOwnershipTransferred, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error)

WatchOwnershipTransferred is a free log subscription operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)

type OwnableOwnershipTransferred

type OwnableOwnershipTransferred struct {
	PreviousOwner common.Address
	NewOwner      common.Address
	Raw           types.Log // Blockchain specific contextual infos
}

OwnableOwnershipTransferred represents a OwnershipTransferred event raised by the Ownable contract.

type OwnableOwnershipTransferredIterator

type OwnableOwnershipTransferredIterator struct {
	Event *OwnableOwnershipTransferred // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

OwnableOwnershipTransferredIterator is returned from FilterOwnershipTransferred and is used to iterate over the raw logs and unpacked data for OwnershipTransferred events raised by the Ownable contract.

func (*OwnableOwnershipTransferredIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*OwnableOwnershipTransferredIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*OwnableOwnershipTransferredIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type OwnableRaw

type OwnableRaw struct {
	Contract *Ownable // Generic contract binding to access the raw methods on
}

OwnableRaw is an auto generated low-level Go binding around an Ethereum contract.

func (*OwnableRaw) Call

func (_Ownable *OwnableRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error

Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.

func (*OwnableRaw) Transact

func (_Ownable *OwnableRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*OwnableRaw) Transfer

func (_Ownable *OwnableRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.

type OwnableSession

type OwnableSession struct {
	Contract     *Ownable          // Generic contract binding to set the session for
	CallOpts     bind.CallOpts     // Call options to use throughout this session
	TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session
}

OwnableSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.

func (*OwnableSession) Owner

func (_Ownable *OwnableSession) Owner() (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() view returns(address)

func (*OwnableSession) TransferOwnership

func (_Ownable *OwnableSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)

TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.

Solidity: function transferOwnership(address newOwner) returns()

type OwnableTransactor

type OwnableTransactor struct {
	// contains filtered or unexported fields
}

OwnableTransactor is an auto generated write-only Go binding around an Ethereum contract.

func NewOwnableTransactor

func NewOwnableTransactor(address common.Address, transactor bind.ContractTransactor) (*OwnableTransactor, error)

NewOwnableTransactor creates a new write-only instance of Ownable, bound to a specific deployed contract.

func (*OwnableTransactor) TransferOwnership

func (_Ownable *OwnableTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)

TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.

Solidity: function transferOwnership(address newOwner) returns()

type OwnableTransactorRaw

type OwnableTransactorRaw struct {
	Contract *OwnableTransactor // Generic write-only contract binding to access the raw methods on
}

OwnableTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.

func (*OwnableTransactorRaw) Transact

func (_Ownable *OwnableTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*OwnableTransactorRaw) Transfer

func (_Ownable *OwnableTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.

type OwnableTransactorSession

type OwnableTransactorSession struct {
	Contract     *OwnableTransactor // Generic contract transactor binding to set the session for
	TransactOpts bind.TransactOpts  // Transaction auth options to use throughout this session
}

OwnableTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.

func (*OwnableTransactorSession) TransferOwnership

func (_Ownable *OwnableTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)

TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.

Solidity: function transferOwnership(address newOwner) returns()

type Pauser

type Pauser struct {
	PauserCaller     // Read-only binding to the contract
	PauserTransactor // Write-only binding to the contract
	PauserFilterer   // Log filterer for contract events
}

Pauser is an auto generated Go binding around an Ethereum contract.

func NewPauser

func NewPauser(address common.Address, backend bind.ContractBackend) (*Pauser, error)

NewPauser creates a new instance of Pauser, bound to a specific deployed contract.

type PauserCaller

type PauserCaller struct {
	// contains filtered or unexported fields
}

PauserCaller is an auto generated read-only Go binding around an Ethereum contract.

func NewPauserCaller

func NewPauserCaller(address common.Address, caller bind.ContractCaller) (*PauserCaller, error)

NewPauserCaller creates a new read-only instance of Pauser, bound to a specific deployed contract.

func (*PauserCaller) IsPauser

func (_Pauser *PauserCaller) IsPauser(opts *bind.CallOpts, account common.Address) (bool, error)

IsPauser is a free data retrieval call binding the contract method 0x46fbf68e.

Solidity: function isPauser(address account) view returns(bool)

func (*PauserCaller) Owner

func (_Pauser *PauserCaller) 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 (*PauserCaller) Paused

func (_Pauser *PauserCaller) Paused(opts *bind.CallOpts) (bool, error)

Paused is a free data retrieval call binding the contract method 0x5c975abb.

Solidity: function paused() view returns(bool)

func (*PauserCaller) Pausers

func (_Pauser *PauserCaller) Pausers(opts *bind.CallOpts, arg0 common.Address) (bool, error)

Pausers is a free data retrieval call binding the contract method 0x80f51c12.

Solidity: function pausers(address ) view returns(bool)

type PauserCallerRaw

type PauserCallerRaw struct {
	Contract *PauserCaller // Generic read-only contract binding to access the raw methods on
}

PauserCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.

func (*PauserCallerRaw) Call

func (_Pauser *PauserCallerRaw) 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 PauserCallerSession

type PauserCallerSession struct {
	Contract *PauserCaller // Generic contract caller binding to set the session for
	CallOpts bind.CallOpts // Call options to use throughout this session
}

PauserCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.

func (*PauserCallerSession) IsPauser

func (_Pauser *PauserCallerSession) IsPauser(account common.Address) (bool, error)

IsPauser is a free data retrieval call binding the contract method 0x46fbf68e.

Solidity: function isPauser(address account) view returns(bool)

func (*PauserCallerSession) Owner

func (_Pauser *PauserCallerSession) Owner() (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() view returns(address)

func (*PauserCallerSession) Paused

func (_Pauser *PauserCallerSession) Paused() (bool, error)

Paused is a free data retrieval call binding the contract method 0x5c975abb.

Solidity: function paused() view returns(bool)

func (*PauserCallerSession) Pausers

func (_Pauser *PauserCallerSession) Pausers(arg0 common.Address) (bool, error)

Pausers is a free data retrieval call binding the contract method 0x80f51c12.

Solidity: function pausers(address ) view returns(bool)

type PauserFilterer

type PauserFilterer struct {
	// contains filtered or unexported fields
}

PauserFilterer is an auto generated log filtering Go binding around an Ethereum contract events.

func NewPauserFilterer

func NewPauserFilterer(address common.Address, filterer bind.ContractFilterer) (*PauserFilterer, error)

NewPauserFilterer creates a new log filterer instance of Pauser, bound to a specific deployed contract.

func (*PauserFilterer) FilterOwnershipTransferred

func (_Pauser *PauserFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*PauserOwnershipTransferredIterator, error)

FilterOwnershipTransferred is a free log retrieval operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)

func (*PauserFilterer) FilterPaused

func (_Pauser *PauserFilterer) FilterPaused(opts *bind.FilterOpts) (*PauserPausedIterator, error)

FilterPaused is a free log retrieval operation binding the contract event 0x62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258.

Solidity: event Paused(address account)

func (*PauserFilterer) FilterPauserAdded

func (_Pauser *PauserFilterer) FilterPauserAdded(opts *bind.FilterOpts) (*PauserPauserAddedIterator, error)

FilterPauserAdded is a free log retrieval operation binding the contract event 0x6719d08c1888103bea251a4ed56406bd0c3e69723c8a1686e017e7bbe159b6f8.

Solidity: event PauserAdded(address account)

func (*PauserFilterer) FilterPauserRemoved

func (_Pauser *PauserFilterer) FilterPauserRemoved(opts *bind.FilterOpts) (*PauserPauserRemovedIterator, error)

FilterPauserRemoved is a free log retrieval operation binding the contract event 0xcd265ebaf09df2871cc7bd4133404a235ba12eff2041bb89d9c714a2621c7c7e.

Solidity: event PauserRemoved(address account)

func (*PauserFilterer) FilterUnpaused

func (_Pauser *PauserFilterer) FilterUnpaused(opts *bind.FilterOpts) (*PauserUnpausedIterator, error)

FilterUnpaused is a free log retrieval operation binding the contract event 0x5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa.

Solidity: event Unpaused(address account)

func (*PauserFilterer) ParseOwnershipTransferred

func (_Pauser *PauserFilterer) ParseOwnershipTransferred(log types.Log) (*PauserOwnershipTransferred, error)

ParseOwnershipTransferred is a log parse operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)

func (*PauserFilterer) ParsePaused

func (_Pauser *PauserFilterer) ParsePaused(log types.Log) (*PauserPaused, error)

ParsePaused is a log parse operation binding the contract event 0x62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258.

Solidity: event Paused(address account)

func (*PauserFilterer) ParsePauserAdded

func (_Pauser *PauserFilterer) ParsePauserAdded(log types.Log) (*PauserPauserAdded, error)

ParsePauserAdded is a log parse operation binding the contract event 0x6719d08c1888103bea251a4ed56406bd0c3e69723c8a1686e017e7bbe159b6f8.

Solidity: event PauserAdded(address account)

func (*PauserFilterer) ParsePauserRemoved

func (_Pauser *PauserFilterer) ParsePauserRemoved(log types.Log) (*PauserPauserRemoved, error)

ParsePauserRemoved is a log parse operation binding the contract event 0xcd265ebaf09df2871cc7bd4133404a235ba12eff2041bb89d9c714a2621c7c7e.

Solidity: event PauserRemoved(address account)

func (*PauserFilterer) ParseUnpaused

func (_Pauser *PauserFilterer) ParseUnpaused(log types.Log) (*PauserUnpaused, error)

ParseUnpaused is a log parse operation binding the contract event 0x5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa.

Solidity: event Unpaused(address account)

func (*PauserFilterer) WatchOwnershipTransferred

func (_Pauser *PauserFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *PauserOwnershipTransferred, 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 (*PauserFilterer) WatchPaused

func (_Pauser *PauserFilterer) WatchPaused(opts *bind.WatchOpts, sink chan<- *PauserPaused) (event.Subscription, error)

WatchPaused is a free log subscription operation binding the contract event 0x62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258.

Solidity: event Paused(address account)

func (*PauserFilterer) WatchPauserAdded

func (_Pauser *PauserFilterer) WatchPauserAdded(opts *bind.WatchOpts, sink chan<- *PauserPauserAdded) (event.Subscription, error)

WatchPauserAdded is a free log subscription operation binding the contract event 0x6719d08c1888103bea251a4ed56406bd0c3e69723c8a1686e017e7bbe159b6f8.

Solidity: event PauserAdded(address account)

func (*PauserFilterer) WatchPauserRemoved

func (_Pauser *PauserFilterer) WatchPauserRemoved(opts *bind.WatchOpts, sink chan<- *PauserPauserRemoved) (event.Subscription, error)

WatchPauserRemoved is a free log subscription operation binding the contract event 0xcd265ebaf09df2871cc7bd4133404a235ba12eff2041bb89d9c714a2621c7c7e.

Solidity: event PauserRemoved(address account)

func (*PauserFilterer) WatchUnpaused

func (_Pauser *PauserFilterer) WatchUnpaused(opts *bind.WatchOpts, sink chan<- *PauserUnpaused) (event.Subscription, error)

WatchUnpaused is a free log subscription operation binding the contract event 0x5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa.

Solidity: event Unpaused(address account)

type PauserOwnershipTransferred

type PauserOwnershipTransferred struct {
	PreviousOwner common.Address
	NewOwner      common.Address
	Raw           types.Log // Blockchain specific contextual infos
}

PauserOwnershipTransferred represents a OwnershipTransferred event raised by the Pauser contract.

type PauserOwnershipTransferredIterator

type PauserOwnershipTransferredIterator struct {
	Event *PauserOwnershipTransferred // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

PauserOwnershipTransferredIterator is returned from FilterOwnershipTransferred and is used to iterate over the raw logs and unpacked data for OwnershipTransferred events raised by the Pauser contract.

func (*PauserOwnershipTransferredIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*PauserOwnershipTransferredIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*PauserOwnershipTransferredIterator) 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 PauserPaused

type PauserPaused struct {
	Account common.Address
	Raw     types.Log // Blockchain specific contextual infos
}

PauserPaused represents a Paused event raised by the Pauser contract.

type PauserPausedIterator

type PauserPausedIterator struct {
	Event *PauserPaused // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

PauserPausedIterator is returned from FilterPaused and is used to iterate over the raw logs and unpacked data for Paused events raised by the Pauser contract.

func (*PauserPausedIterator) Close

func (it *PauserPausedIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*PauserPausedIterator) Error

func (it *PauserPausedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*PauserPausedIterator) Next

func (it *PauserPausedIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type PauserPauserAdded

type PauserPauserAdded struct {
	Account common.Address
	Raw     types.Log // Blockchain specific contextual infos
}

PauserPauserAdded represents a PauserAdded event raised by the Pauser contract.

type PauserPauserAddedIterator

type PauserPauserAddedIterator struct {
	Event *PauserPauserAdded // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

PauserPauserAddedIterator is returned from FilterPauserAdded and is used to iterate over the raw logs and unpacked data for PauserAdded events raised by the Pauser contract.

func (*PauserPauserAddedIterator) Close

func (it *PauserPauserAddedIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*PauserPauserAddedIterator) Error

func (it *PauserPauserAddedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*PauserPauserAddedIterator) Next

func (it *PauserPauserAddedIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type PauserPauserRemoved

type PauserPauserRemoved struct {
	Account common.Address
	Raw     types.Log // Blockchain specific contextual infos
}

PauserPauserRemoved represents a PauserRemoved event raised by the Pauser contract.

type PauserPauserRemovedIterator

type PauserPauserRemovedIterator struct {
	Event *PauserPauserRemoved // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

PauserPauserRemovedIterator is returned from FilterPauserRemoved and is used to iterate over the raw logs and unpacked data for PauserRemoved events raised by the Pauser contract.

func (*PauserPauserRemovedIterator) Close

func (it *PauserPauserRemovedIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*PauserPauserRemovedIterator) Error

func (it *PauserPauserRemovedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*PauserPauserRemovedIterator) Next

func (it *PauserPauserRemovedIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type PauserRaw

type PauserRaw struct {
	Contract *Pauser // Generic contract binding to access the raw methods on
}

PauserRaw is an auto generated low-level Go binding around an Ethereum contract.

func (*PauserRaw) Call

func (_Pauser *PauserRaw) 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 (*PauserRaw) Transact

func (_Pauser *PauserRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*PauserRaw) Transfer

func (_Pauser *PauserRaw) 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 PauserSession

type PauserSession struct {
	Contract     *Pauser           // 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
}

PauserSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.

func (*PauserSession) AddPauser

func (_Pauser *PauserSession) AddPauser(account common.Address) (*types.Transaction, error)

AddPauser is a paid mutator transaction binding the contract method 0x82dc1ec4.

Solidity: function addPauser(address account) returns()

func (*PauserSession) IsPauser

func (_Pauser *PauserSession) IsPauser(account common.Address) (bool, error)

IsPauser is a free data retrieval call binding the contract method 0x46fbf68e.

Solidity: function isPauser(address account) view returns(bool)

func (*PauserSession) Owner

func (_Pauser *PauserSession) Owner() (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() view returns(address)

func (*PauserSession) Pause

func (_Pauser *PauserSession) Pause() (*types.Transaction, error)

Pause is a paid mutator transaction binding the contract method 0x8456cb59.

Solidity: function pause() returns()

func (*PauserSession) Paused

func (_Pauser *PauserSession) Paused() (bool, error)

Paused is a free data retrieval call binding the contract method 0x5c975abb.

Solidity: function paused() view returns(bool)

func (*PauserSession) Pausers

func (_Pauser *PauserSession) Pausers(arg0 common.Address) (bool, error)

Pausers is a free data retrieval call binding the contract method 0x80f51c12.

Solidity: function pausers(address ) view returns(bool)

func (*PauserSession) RemovePauser

func (_Pauser *PauserSession) RemovePauser(account common.Address) (*types.Transaction, error)

RemovePauser is a paid mutator transaction binding the contract method 0x6b2c0f55.

Solidity: function removePauser(address account) returns()

func (*PauserSession) RenouncePauser

func (_Pauser *PauserSession) RenouncePauser() (*types.Transaction, error)

RenouncePauser is a paid mutator transaction binding the contract method 0x6ef8d66d.

Solidity: function renouncePauser() returns()

func (*PauserSession) TransferOwnership

func (_Pauser *PauserSession) 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 (*PauserSession) Unpause

func (_Pauser *PauserSession) Unpause() (*types.Transaction, error)

Unpause is a paid mutator transaction binding the contract method 0x3f4ba83a.

Solidity: function unpause() returns()

type PauserTransactor

type PauserTransactor struct {
	// contains filtered or unexported fields
}

PauserTransactor is an auto generated write-only Go binding around an Ethereum contract.

func NewPauserTransactor

func NewPauserTransactor(address common.Address, transactor bind.ContractTransactor) (*PauserTransactor, error)

NewPauserTransactor creates a new write-only instance of Pauser, bound to a specific deployed contract.

func (*PauserTransactor) AddPauser

func (_Pauser *PauserTransactor) AddPauser(opts *bind.TransactOpts, account common.Address) (*types.Transaction, error)

AddPauser is a paid mutator transaction binding the contract method 0x82dc1ec4.

Solidity: function addPauser(address account) returns()

func (*PauserTransactor) Pause

func (_Pauser *PauserTransactor) Pause(opts *bind.TransactOpts) (*types.Transaction, error)

Pause is a paid mutator transaction binding the contract method 0x8456cb59.

Solidity: function pause() returns()

func (*PauserTransactor) RemovePauser

func (_Pauser *PauserTransactor) RemovePauser(opts *bind.TransactOpts, account common.Address) (*types.Transaction, error)

RemovePauser is a paid mutator transaction binding the contract method 0x6b2c0f55.

Solidity: function removePauser(address account) returns()

func (*PauserTransactor) RenouncePauser

func (_Pauser *PauserTransactor) RenouncePauser(opts *bind.TransactOpts) (*types.Transaction, error)

RenouncePauser is a paid mutator transaction binding the contract method 0x6ef8d66d.

Solidity: function renouncePauser() returns()

func (*PauserTransactor) TransferOwnership

func (_Pauser *PauserTransactor) 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 (*PauserTransactor) Unpause

func (_Pauser *PauserTransactor) Unpause(opts *bind.TransactOpts) (*types.Transaction, error)

Unpause is a paid mutator transaction binding the contract method 0x3f4ba83a.

Solidity: function unpause() returns()

type PauserTransactorRaw

type PauserTransactorRaw struct {
	Contract *PauserTransactor // Generic write-only contract binding to access the raw methods on
}

PauserTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.

func (*PauserTransactorRaw) Transact

func (_Pauser *PauserTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*PauserTransactorRaw) Transfer

func (_Pauser *PauserTransactorRaw) 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 PauserTransactorSession

type PauserTransactorSession struct {
	Contract     *PauserTransactor // Generic contract transactor binding to set the session for
	TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session
}

PauserTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.

func (*PauserTransactorSession) AddPauser

func (_Pauser *PauserTransactorSession) AddPauser(account common.Address) (*types.Transaction, error)

AddPauser is a paid mutator transaction binding the contract method 0x82dc1ec4.

Solidity: function addPauser(address account) returns()

func (*PauserTransactorSession) Pause

func (_Pauser *PauserTransactorSession) Pause() (*types.Transaction, error)

Pause is a paid mutator transaction binding the contract method 0x8456cb59.

Solidity: function pause() returns()

func (*PauserTransactorSession) RemovePauser

func (_Pauser *PauserTransactorSession) RemovePauser(account common.Address) (*types.Transaction, error)

RemovePauser is a paid mutator transaction binding the contract method 0x6b2c0f55.

Solidity: function removePauser(address account) returns()

func (*PauserTransactorSession) RenouncePauser

func (_Pauser *PauserTransactorSession) RenouncePauser() (*types.Transaction, error)

RenouncePauser is a paid mutator transaction binding the contract method 0x6ef8d66d.

Solidity: function renouncePauser() returns()

func (*PauserTransactorSession) TransferOwnership

func (_Pauser *PauserTransactorSession) 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 (*PauserTransactorSession) Unpause

func (_Pauser *PauserTransactorSession) Unpause() (*types.Transaction, error)

Unpause is a paid mutator transaction binding the contract method 0x3f4ba83a.

Solidity: function unpause() returns()

type PauserUnpaused

type PauserUnpaused struct {
	Account common.Address
	Raw     types.Log // Blockchain specific contextual infos
}

PauserUnpaused represents a Unpaused event raised by the Pauser contract.

type PauserUnpausedIterator

type PauserUnpausedIterator struct {
	Event *PauserUnpaused // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

PauserUnpausedIterator is returned from FilterUnpaused and is used to iterate over the raw logs and unpacked data for Unpaused events raised by the Pauser contract.

func (*PauserUnpausedIterator) Close

func (it *PauserUnpausedIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*PauserUnpausedIterator) Error

func (it *PauserUnpausedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*PauserUnpausedIterator) Next

func (it *PauserUnpausedIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type Pb

type Pb struct {
	PbCaller     // Read-only binding to the contract
	PbTransactor // Write-only binding to the contract
	PbFilterer   // Log filterer for contract events
}

Pb is an auto generated Go binding around an Ethereum contract.

func DeployPb

func DeployPb(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *Pb, error)

DeployPb deploys a new Ethereum contract, binding an instance of Pb to it.

func NewPb

func NewPb(address common.Address, backend bind.ContractBackend) (*Pb, error)

NewPb creates a new instance of Pb, bound to a specific deployed contract.

type PbCaller

type PbCaller struct {
	// contains filtered or unexported fields
}

PbCaller is an auto generated read-only Go binding around an Ethereum contract.

func NewPbCaller

func NewPbCaller(address common.Address, caller bind.ContractCaller) (*PbCaller, error)

NewPbCaller creates a new read-only instance of Pb, bound to a specific deployed contract.

type PbCallerRaw

type PbCallerRaw struct {
	Contract *PbCaller // Generic read-only contract binding to access the raw methods on
}

PbCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.

func (*PbCallerRaw) Call

func (_Pb *PbCallerRaw) 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 PbCallerSession

type PbCallerSession struct {
	Contract *PbCaller     // Generic contract caller binding to set the session for
	CallOpts bind.CallOpts // Call options to use throughout this session
}

PbCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.

type PbFarming

type PbFarming struct {
	PbFarmingCaller     // Read-only binding to the contract
	PbFarmingTransactor // Write-only binding to the contract
	PbFarmingFilterer   // Log filterer for contract events
}

PbFarming is an auto generated Go binding around an Ethereum contract.

func DeployPbFarming

func DeployPbFarming(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *PbFarming, error)

DeployPbFarming deploys a new Ethereum contract, binding an instance of PbFarming to it.

func NewPbFarming

func NewPbFarming(address common.Address, backend bind.ContractBackend) (*PbFarming, error)

NewPbFarming creates a new instance of PbFarming, bound to a specific deployed contract.

type PbFarmingCaller

type PbFarmingCaller struct {
	// contains filtered or unexported fields
}

PbFarmingCaller is an auto generated read-only Go binding around an Ethereum contract.

func NewPbFarmingCaller

func NewPbFarmingCaller(address common.Address, caller bind.ContractCaller) (*PbFarmingCaller, error)

NewPbFarmingCaller creates a new read-only instance of PbFarming, bound to a specific deployed contract.

type PbFarmingCallerRaw

type PbFarmingCallerRaw struct {
	Contract *PbFarmingCaller // Generic read-only contract binding to access the raw methods on
}

PbFarmingCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.

func (*PbFarmingCallerRaw) Call

func (_PbFarming *PbFarmingCallerRaw) 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 PbFarmingCallerSession

type PbFarmingCallerSession struct {
	Contract *PbFarmingCaller // Generic contract caller binding to set the session for
	CallOpts bind.CallOpts    // Call options to use throughout this session
}

PbFarmingCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.

type PbFarmingFilterer

type PbFarmingFilterer struct {
	// contains filtered or unexported fields
}

PbFarmingFilterer is an auto generated log filtering Go binding around an Ethereum contract events.

func NewPbFarmingFilterer

func NewPbFarmingFilterer(address common.Address, filterer bind.ContractFilterer) (*PbFarmingFilterer, error)

NewPbFarmingFilterer creates a new log filterer instance of PbFarming, bound to a specific deployed contract.

type PbFarmingRaw

type PbFarmingRaw struct {
	Contract *PbFarming // Generic contract binding to access the raw methods on
}

PbFarmingRaw is an auto generated low-level Go binding around an Ethereum contract.

func (*PbFarmingRaw) Call

func (_PbFarming *PbFarmingRaw) 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 (*PbFarmingRaw) Transact

func (_PbFarming *PbFarmingRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*PbFarmingRaw) Transfer

func (_PbFarming *PbFarmingRaw) 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 PbFarmingSession

type PbFarmingSession struct {
	Contract     *PbFarming        // 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
}

PbFarmingSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.

type PbFarmingTransactor

type PbFarmingTransactor struct {
	// contains filtered or unexported fields
}

PbFarmingTransactor is an auto generated write-only Go binding around an Ethereum contract.

func NewPbFarmingTransactor

func NewPbFarmingTransactor(address common.Address, transactor bind.ContractTransactor) (*PbFarmingTransactor, error)

NewPbFarmingTransactor creates a new write-only instance of PbFarming, bound to a specific deployed contract.

type PbFarmingTransactorRaw

type PbFarmingTransactorRaw struct {
	Contract *PbFarmingTransactor // Generic write-only contract binding to access the raw methods on
}

PbFarmingTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.

func (*PbFarmingTransactorRaw) Transact

func (_PbFarming *PbFarmingTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*PbFarmingTransactorRaw) Transfer

func (_PbFarming *PbFarmingTransactorRaw) 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 PbFarmingTransactorSession

type PbFarmingTransactorSession struct {
	Contract     *PbFarmingTransactor // Generic contract transactor binding to set the session for
	TransactOpts bind.TransactOpts    // Transaction auth options to use throughout this session
}

PbFarmingTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.

type PbFilterer

type PbFilterer struct {
	// contains filtered or unexported fields
}

PbFilterer is an auto generated log filtering Go binding around an Ethereum contract events.

func NewPbFilterer

func NewPbFilterer(address common.Address, filterer bind.ContractFilterer) (*PbFilterer, error)

NewPbFilterer creates a new log filterer instance of Pb, bound to a specific deployed contract.

type PbRaw

type PbRaw struct {
	Contract *Pb // Generic contract binding to access the raw methods on
}

PbRaw is an auto generated low-level Go binding around an Ethereum contract.

func (*PbRaw) Call

func (_Pb *PbRaw) 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 (*PbRaw) Transact

func (_Pb *PbRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*PbRaw) Transfer

func (_Pb *PbRaw) 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 PbSession

type PbSession struct {
	Contract     *Pb               // 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
}

PbSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.

type PbSgn

type PbSgn struct {
	PbSgnCaller     // Read-only binding to the contract
	PbSgnTransactor // Write-only binding to the contract
	PbSgnFilterer   // Log filterer for contract events
}

PbSgn is an auto generated Go binding around an Ethereum contract.

func DeployPbSgn

func DeployPbSgn(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *PbSgn, error)

DeployPbSgn deploys a new Ethereum contract, binding an instance of PbSgn to it.

func NewPbSgn

func NewPbSgn(address common.Address, backend bind.ContractBackend) (*PbSgn, error)

NewPbSgn creates a new instance of PbSgn, bound to a specific deployed contract.

type PbSgnCaller

type PbSgnCaller struct {
	// contains filtered or unexported fields
}

PbSgnCaller is an auto generated read-only Go binding around an Ethereum contract.

func NewPbSgnCaller

func NewPbSgnCaller(address common.Address, caller bind.ContractCaller) (*PbSgnCaller, error)

NewPbSgnCaller creates a new read-only instance of PbSgn, bound to a specific deployed contract.

type PbSgnCallerRaw

type PbSgnCallerRaw struct {
	Contract *PbSgnCaller // Generic read-only contract binding to access the raw methods on
}

PbSgnCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.

func (*PbSgnCallerRaw) Call

func (_PbSgn *PbSgnCallerRaw) 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 PbSgnCallerSession

type PbSgnCallerSession struct {
	Contract *PbSgnCaller  // Generic contract caller binding to set the session for
	CallOpts bind.CallOpts // Call options to use throughout this session
}

PbSgnCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.

type PbSgnFilterer

type PbSgnFilterer struct {
	// contains filtered or unexported fields
}

PbSgnFilterer is an auto generated log filtering Go binding around an Ethereum contract events.

func NewPbSgnFilterer

func NewPbSgnFilterer(address common.Address, filterer bind.ContractFilterer) (*PbSgnFilterer, error)

NewPbSgnFilterer creates a new log filterer instance of PbSgn, bound to a specific deployed contract.

type PbSgnRaw

type PbSgnRaw struct {
	Contract *PbSgn // Generic contract binding to access the raw methods on
}

PbSgnRaw is an auto generated low-level Go binding around an Ethereum contract.

func (*PbSgnRaw) Call

func (_PbSgn *PbSgnRaw) 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 (*PbSgnRaw) Transact

func (_PbSgn *PbSgnRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*PbSgnRaw) Transfer

func (_PbSgn *PbSgnRaw) 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 PbSgnSession

type PbSgnSession struct {
	Contract     *PbSgn            // 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
}

PbSgnSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.

type PbSgnTransactor

type PbSgnTransactor struct {
	// contains filtered or unexported fields
}

PbSgnTransactor is an auto generated write-only Go binding around an Ethereum contract.

func NewPbSgnTransactor

func NewPbSgnTransactor(address common.Address, transactor bind.ContractTransactor) (*PbSgnTransactor, error)

NewPbSgnTransactor creates a new write-only instance of PbSgn, bound to a specific deployed contract.

type PbSgnTransactorRaw

type PbSgnTransactorRaw struct {
	Contract *PbSgnTransactor // Generic write-only contract binding to access the raw methods on
}

PbSgnTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.

func (*PbSgnTransactorRaw) Transact

func (_PbSgn *PbSgnTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*PbSgnTransactorRaw) Transfer

func (_PbSgn *PbSgnTransactorRaw) 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 PbSgnTransactorSession

type PbSgnTransactorSession struct {
	Contract     *PbSgnTransactor  // Generic contract transactor binding to set the session for
	TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session
}

PbSgnTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.

type PbStaking

type PbStaking struct {
	PbStakingCaller     // Read-only binding to the contract
	PbStakingTransactor // Write-only binding to the contract
	PbStakingFilterer   // Log filterer for contract events
}

PbStaking is an auto generated Go binding around an Ethereum contract.

func DeployPbStaking

func DeployPbStaking(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *PbStaking, error)

DeployPbStaking deploys a new Ethereum contract, binding an instance of PbStaking to it.

func NewPbStaking

func NewPbStaking(address common.Address, backend bind.ContractBackend) (*PbStaking, error)

NewPbStaking creates a new instance of PbStaking, bound to a specific deployed contract.

type PbStakingCaller

type PbStakingCaller struct {
	// contains filtered or unexported fields
}

PbStakingCaller is an auto generated read-only Go binding around an Ethereum contract.

func NewPbStakingCaller

func NewPbStakingCaller(address common.Address, caller bind.ContractCaller) (*PbStakingCaller, error)

NewPbStakingCaller creates a new read-only instance of PbStaking, bound to a specific deployed contract.

type PbStakingCallerRaw

type PbStakingCallerRaw struct {
	Contract *PbStakingCaller // Generic read-only contract binding to access the raw methods on
}

PbStakingCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.

func (*PbStakingCallerRaw) Call

func (_PbStaking *PbStakingCallerRaw) 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 PbStakingCallerSession

type PbStakingCallerSession struct {
	Contract *PbStakingCaller // Generic contract caller binding to set the session for
	CallOpts bind.CallOpts    // Call options to use throughout this session
}

PbStakingCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.

type PbStakingFilterer

type PbStakingFilterer struct {
	// contains filtered or unexported fields
}

PbStakingFilterer is an auto generated log filtering Go binding around an Ethereum contract events.

func NewPbStakingFilterer

func NewPbStakingFilterer(address common.Address, filterer bind.ContractFilterer) (*PbStakingFilterer, error)

NewPbStakingFilterer creates a new log filterer instance of PbStaking, bound to a specific deployed contract.

type PbStakingRaw

type PbStakingRaw struct {
	Contract *PbStaking // Generic contract binding to access the raw methods on
}

PbStakingRaw is an auto generated low-level Go binding around an Ethereum contract.

func (*PbStakingRaw) Call

func (_PbStaking *PbStakingRaw) 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 (*PbStakingRaw) Transact

func (_PbStaking *PbStakingRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*PbStakingRaw) Transfer

func (_PbStaking *PbStakingRaw) 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 PbStakingSession

type PbStakingSession struct {
	Contract     *PbStaking        // 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
}

PbStakingSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.

type PbStakingTransactor

type PbStakingTransactor struct {
	// contains filtered or unexported fields
}

PbStakingTransactor is an auto generated write-only Go binding around an Ethereum contract.

func NewPbStakingTransactor

func NewPbStakingTransactor(address common.Address, transactor bind.ContractTransactor) (*PbStakingTransactor, error)

NewPbStakingTransactor creates a new write-only instance of PbStaking, bound to a specific deployed contract.

type PbStakingTransactorRaw

type PbStakingTransactorRaw struct {
	Contract *PbStakingTransactor // Generic write-only contract binding to access the raw methods on
}

PbStakingTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.

func (*PbStakingTransactorRaw) Transact

func (_PbStaking *PbStakingTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*PbStakingTransactorRaw) Transfer

func (_PbStaking *PbStakingTransactorRaw) 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 PbStakingTransactorSession

type PbStakingTransactorSession struct {
	Contract     *PbStakingTransactor // Generic contract transactor binding to set the session for
	TransactOpts bind.TransactOpts    // Transaction auth options to use throughout this session
}

PbStakingTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.

type PbTransactor

type PbTransactor struct {
	// contains filtered or unexported fields
}

PbTransactor is an auto generated write-only Go binding around an Ethereum contract.

func NewPbTransactor

func NewPbTransactor(address common.Address, transactor bind.ContractTransactor) (*PbTransactor, error)

NewPbTransactor creates a new write-only instance of Pb, bound to a specific deployed contract.

type PbTransactorRaw

type PbTransactorRaw struct {
	Contract *PbTransactor // Generic write-only contract binding to access the raw methods on
}

PbTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.

func (*PbTransactorRaw) Transact

func (_Pb *PbTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*PbTransactorRaw) Transfer

func (_Pb *PbTransactorRaw) 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 PbTransactorSession

type PbTransactorSession struct {
	Contract     *PbTransactor     // Generic contract transactor binding to set the session for
	TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session
}

PbTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.

type PegBridgeContract

type PegBridgeContract struct {
	*PeggedTokenBridge
	Address Addr
}

func NewPegBridgeContract

func NewPegBridgeContract(address Addr, client *ethclient.Client) (*PegBridgeContract, error)

func (*PegBridgeContract) GetABI

func (c *PegBridgeContract) GetABI() string

func (*PegBridgeContract) GetAddr

func (c *PegBridgeContract) GetAddr() Addr

type PegBridgeV2Contract

type PegBridgeV2Contract struct {
	*PeggedTokenBridgeV2
	Address Addr
}

func NewPegBridgeV2Contract

func NewPegBridgeV2Contract(address Addr, client *ethclient.Client) (*PegBridgeV2Contract, error)

func (*PegBridgeV2Contract) GetABI

func (c *PegBridgeV2Contract) GetABI() string

func (*PegBridgeV2Contract) GetAddr

func (c *PegBridgeV2Contract) GetAddr() Addr

type PegVaultContract

type PegVaultContract struct {
	*OriginalTokenVault
	Address Addr
}

func NewPegVaultContract

func NewPegVaultContract(address Addr, client *ethclient.Client) (*PegVaultContract, error)

func (*PegVaultContract) GetABI

func (c *PegVaultContract) GetABI() string

func (*PegVaultContract) GetAddr

func (c *PegVaultContract) GetAddr() Addr

type PegVaultV2Contract

type PegVaultV2Contract struct {
	*OriginalTokenVaultV2
	Address Addr
}

func NewPegVaultV2Contract

func NewPegVaultV2Contract(address Addr, client *ethclient.Client) (*PegVaultV2Contract, error)

func (*PegVaultV2Contract) GetABI

func (c *PegVaultV2Contract) GetABI() string

func (*PegVaultV2Contract) GetAddr

func (c *PegVaultV2Contract) GetAddr() Addr

type PeggedTokenBridge

type PeggedTokenBridge struct {
	PeggedTokenBridgeCaller     // Read-only binding to the contract
	PeggedTokenBridgeTransactor // Write-only binding to the contract
	PeggedTokenBridgeFilterer   // Log filterer for contract events
}

PeggedTokenBridge is an auto generated Go binding around an Ethereum contract.

func DeployPeggedTokenBridge

func DeployPeggedTokenBridge(auth *bind.TransactOpts, backend bind.ContractBackend, _sigsVerifier common.Address) (common.Address, *types.Transaction, *PeggedTokenBridge, error)

DeployPeggedTokenBridge deploys a new Ethereum contract, binding an instance of PeggedTokenBridge to it.

func NewPeggedTokenBridge

func NewPeggedTokenBridge(address common.Address, backend bind.ContractBackend) (*PeggedTokenBridge, error)

NewPeggedTokenBridge creates a new instance of PeggedTokenBridge, bound to a specific deployed contract.

type PeggedTokenBridgeBurn

type PeggedTokenBridgeBurn struct {
	BurnId          [32]byte
	Token           common.Address
	Account         common.Address
	Amount          *big.Int
	WithdrawAccount common.Address
	Raw             types.Log // Blockchain specific contextual infos
}

PeggedTokenBridgeBurn represents a Burn event raised by the PeggedTokenBridge contract.

func (*PeggedTokenBridgeBurn) PrettyLog

func (ev *PeggedTokenBridgeBurn) PrettyLog(onchid uint64) string

func (*PeggedTokenBridgeBurn) String

func (ev *PeggedTokenBridgeBurn) String() string

type PeggedTokenBridgeBurnIterator

type PeggedTokenBridgeBurnIterator struct {
	Event *PeggedTokenBridgeBurn // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

PeggedTokenBridgeBurnIterator is returned from FilterBurn and is used to iterate over the raw logs and unpacked data for Burn events raised by the PeggedTokenBridge contract.

func (*PeggedTokenBridgeBurnIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*PeggedTokenBridgeBurnIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*PeggedTokenBridgeBurnIterator) 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 PeggedTokenBridgeCaller

type PeggedTokenBridgeCaller struct {
	// contains filtered or unexported fields
}

PeggedTokenBridgeCaller is an auto generated read-only Go binding around an Ethereum contract.

func NewPeggedTokenBridgeCaller

func NewPeggedTokenBridgeCaller(address common.Address, caller bind.ContractCaller) (*PeggedTokenBridgeCaller, error)

NewPeggedTokenBridgeCaller creates a new read-only instance of PeggedTokenBridge, bound to a specific deployed contract.

func (*PeggedTokenBridgeCaller) DelayPeriod

func (_PeggedTokenBridge *PeggedTokenBridgeCaller) DelayPeriod(opts *bind.CallOpts) (*big.Int, error)

DelayPeriod is a free data retrieval call binding the contract method 0xb1c94d94.

Solidity: function delayPeriod() view returns(uint256)

func (*PeggedTokenBridgeCaller) DelayThresholds

func (_PeggedTokenBridge *PeggedTokenBridgeCaller) DelayThresholds(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)

DelayThresholds is a free data retrieval call binding the contract method 0x52532faa.

Solidity: function delayThresholds(address ) view returns(uint256)

func (*PeggedTokenBridgeCaller) DelayedTransfers

func (_PeggedTokenBridge *PeggedTokenBridgeCaller) DelayedTransfers(opts *bind.CallOpts, arg0 [32]byte) (struct {
	Receiver  common.Address
	Token     common.Address
	Amount    *big.Int
	Timestamp *big.Int
}, error)

DelayedTransfers is a free data retrieval call binding the contract method 0xadc0d57f.

Solidity: function delayedTransfers(bytes32 ) view returns(address receiver, address token, uint256 amount, uint256 timestamp)

func (*PeggedTokenBridgeCaller) EpochLength

func (_PeggedTokenBridge *PeggedTokenBridgeCaller) EpochLength(opts *bind.CallOpts) (*big.Int, error)

EpochLength is a free data retrieval call binding the contract method 0x57d775f8.

Solidity: function epochLength() view returns(uint256)

func (*PeggedTokenBridgeCaller) EpochVolumeCaps

func (_PeggedTokenBridge *PeggedTokenBridgeCaller) EpochVolumeCaps(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)

EpochVolumeCaps is a free data retrieval call binding the contract method 0xb5f2bc47.

Solidity: function epochVolumeCaps(address ) view returns(uint256)

func (*PeggedTokenBridgeCaller) EpochVolumes

func (_PeggedTokenBridge *PeggedTokenBridgeCaller) EpochVolumes(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)

EpochVolumes is a free data retrieval call binding the contract method 0x60216b00.

Solidity: function epochVolumes(address ) view returns(uint256)

func (*PeggedTokenBridgeCaller) Governors

func (_PeggedTokenBridge *PeggedTokenBridgeCaller) Governors(opts *bind.CallOpts, arg0 common.Address) (bool, error)

Governors is a free data retrieval call binding the contract method 0xe3eece26.

Solidity: function governors(address ) view returns(bool)

func (*PeggedTokenBridgeCaller) IsGovernor

func (_PeggedTokenBridge *PeggedTokenBridgeCaller) IsGovernor(opts *bind.CallOpts, _account common.Address) (bool, error)

IsGovernor is a free data retrieval call binding the contract method 0xe43581b8.

Solidity: function isGovernor(address _account) view returns(bool)

func (*PeggedTokenBridgeCaller) IsPauser

func (_PeggedTokenBridge *PeggedTokenBridgeCaller) IsPauser(opts *bind.CallOpts, account common.Address) (bool, error)

IsPauser is a free data retrieval call binding the contract method 0x46fbf68e.

Solidity: function isPauser(address account) view returns(bool)

func (*PeggedTokenBridgeCaller) LastOpTimestamps

func (_PeggedTokenBridge *PeggedTokenBridgeCaller) LastOpTimestamps(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)

LastOpTimestamps is a free data retrieval call binding the contract method 0xf8321383.

Solidity: function lastOpTimestamps(address ) view returns(uint256)

func (*PeggedTokenBridgeCaller) MaxBurn

func (_PeggedTokenBridge *PeggedTokenBridgeCaller) MaxBurn(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)

MaxBurn is a free data retrieval call binding the contract method 0x497bf3b2.

Solidity: function maxBurn(address ) view returns(uint256)

func (*PeggedTokenBridgeCaller) MinBurn

func (_PeggedTokenBridge *PeggedTokenBridgeCaller) MinBurn(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)

MinBurn is a free data retrieval call binding the contract method 0x7f856013.

Solidity: function minBurn(address ) view returns(uint256)

func (*PeggedTokenBridgeCaller) Owner

func (_PeggedTokenBridge *PeggedTokenBridgeCaller) 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 (*PeggedTokenBridgeCaller) Paused

func (_PeggedTokenBridge *PeggedTokenBridgeCaller) Paused(opts *bind.CallOpts) (bool, error)

Paused is a free data retrieval call binding the contract method 0x5c975abb.

Solidity: function paused() view returns(bool)

func (*PeggedTokenBridgeCaller) Pausers

func (_PeggedTokenBridge *PeggedTokenBridgeCaller) Pausers(opts *bind.CallOpts, arg0 common.Address) (bool, error)

Pausers is a free data retrieval call binding the contract method 0x80f51c12.

Solidity: function pausers(address ) view returns(bool)

func (*PeggedTokenBridgeCaller) Records

func (_PeggedTokenBridge *PeggedTokenBridgeCaller) Records(opts *bind.CallOpts, arg0 [32]byte) (bool, error)

Records is a free data retrieval call binding the contract method 0x01e64725.

Solidity: function records(bytes32 ) view returns(bool)

func (*PeggedTokenBridgeCaller) SigsVerifier

func (_PeggedTokenBridge *PeggedTokenBridgeCaller) SigsVerifier(opts *bind.CallOpts) (common.Address, error)

SigsVerifier is a free data retrieval call binding the contract method 0xccf2683b.

Solidity: function sigsVerifier() view returns(address)

type PeggedTokenBridgeCallerRaw

type PeggedTokenBridgeCallerRaw struct {
	Contract *PeggedTokenBridgeCaller // Generic read-only contract binding to access the raw methods on
}

PeggedTokenBridgeCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.

func (*PeggedTokenBridgeCallerRaw) Call

func (_PeggedTokenBridge *PeggedTokenBridgeCallerRaw) 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 PeggedTokenBridgeCallerSession

type PeggedTokenBridgeCallerSession struct {
	Contract *PeggedTokenBridgeCaller // Generic contract caller binding to set the session for
	CallOpts bind.CallOpts            // Call options to use throughout this session
}

PeggedTokenBridgeCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.

func (*PeggedTokenBridgeCallerSession) DelayPeriod

func (_PeggedTokenBridge *PeggedTokenBridgeCallerSession) DelayPeriod() (*big.Int, error)

DelayPeriod is a free data retrieval call binding the contract method 0xb1c94d94.

Solidity: function delayPeriod() view returns(uint256)

func (*PeggedTokenBridgeCallerSession) DelayThresholds

func (_PeggedTokenBridge *PeggedTokenBridgeCallerSession) DelayThresholds(arg0 common.Address) (*big.Int, error)

DelayThresholds is a free data retrieval call binding the contract method 0x52532faa.

Solidity: function delayThresholds(address ) view returns(uint256)

func (*PeggedTokenBridgeCallerSession) DelayedTransfers

func (_PeggedTokenBridge *PeggedTokenBridgeCallerSession) DelayedTransfers(arg0 [32]byte) (struct {
	Receiver  common.Address
	Token     common.Address
	Amount    *big.Int
	Timestamp *big.Int
}, error)

DelayedTransfers is a free data retrieval call binding the contract method 0xadc0d57f.

Solidity: function delayedTransfers(bytes32 ) view returns(address receiver, address token, uint256 amount, uint256 timestamp)

func (*PeggedTokenBridgeCallerSession) EpochLength

func (_PeggedTokenBridge *PeggedTokenBridgeCallerSession) EpochLength() (*big.Int, error)

EpochLength is a free data retrieval call binding the contract method 0x57d775f8.

Solidity: function epochLength() view returns(uint256)

func (*PeggedTokenBridgeCallerSession) EpochVolumeCaps

func (_PeggedTokenBridge *PeggedTokenBridgeCallerSession) EpochVolumeCaps(arg0 common.Address) (*big.Int, error)

EpochVolumeCaps is a free data retrieval call binding the contract method 0xb5f2bc47.

Solidity: function epochVolumeCaps(address ) view returns(uint256)

func (*PeggedTokenBridgeCallerSession) EpochVolumes

func (_PeggedTokenBridge *PeggedTokenBridgeCallerSession) EpochVolumes(arg0 common.Address) (*big.Int, error)

EpochVolumes is a free data retrieval call binding the contract method 0x60216b00.

Solidity: function epochVolumes(address ) view returns(uint256)

func (*PeggedTokenBridgeCallerSession) Governors

func (_PeggedTokenBridge *PeggedTokenBridgeCallerSession) Governors(arg0 common.Address) (bool, error)

Governors is a free data retrieval call binding the contract method 0xe3eece26.

Solidity: function governors(address ) view returns(bool)

func (*PeggedTokenBridgeCallerSession) IsGovernor

func (_PeggedTokenBridge *PeggedTokenBridgeCallerSession) IsGovernor(_account common.Address) (bool, error)

IsGovernor is a free data retrieval call binding the contract method 0xe43581b8.

Solidity: function isGovernor(address _account) view returns(bool)

func (*PeggedTokenBridgeCallerSession) IsPauser

func (_PeggedTokenBridge *PeggedTokenBridgeCallerSession) IsPauser(account common.Address) (bool, error)

IsPauser is a free data retrieval call binding the contract method 0x46fbf68e.

Solidity: function isPauser(address account) view returns(bool)

func (*PeggedTokenBridgeCallerSession) LastOpTimestamps

func (_PeggedTokenBridge *PeggedTokenBridgeCallerSession) LastOpTimestamps(arg0 common.Address) (*big.Int, error)

LastOpTimestamps is a free data retrieval call binding the contract method 0xf8321383.

Solidity: function lastOpTimestamps(address ) view returns(uint256)

func (*PeggedTokenBridgeCallerSession) MaxBurn

func (_PeggedTokenBridge *PeggedTokenBridgeCallerSession) MaxBurn(arg0 common.Address) (*big.Int, error)

MaxBurn is a free data retrieval call binding the contract method 0x497bf3b2.

Solidity: function maxBurn(address ) view returns(uint256)

func (*PeggedTokenBridgeCallerSession) MinBurn

func (_PeggedTokenBridge *PeggedTokenBridgeCallerSession) MinBurn(arg0 common.Address) (*big.Int, error)

MinBurn is a free data retrieval call binding the contract method 0x7f856013.

Solidity: function minBurn(address ) view returns(uint256)

func (*PeggedTokenBridgeCallerSession) Owner

func (_PeggedTokenBridge *PeggedTokenBridgeCallerSession) Owner() (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() view returns(address)

func (*PeggedTokenBridgeCallerSession) Paused

func (_PeggedTokenBridge *PeggedTokenBridgeCallerSession) Paused() (bool, error)

Paused is a free data retrieval call binding the contract method 0x5c975abb.

Solidity: function paused() view returns(bool)

func (*PeggedTokenBridgeCallerSession) Pausers

func (_PeggedTokenBridge *PeggedTokenBridgeCallerSession) Pausers(arg0 common.Address) (bool, error)

Pausers is a free data retrieval call binding the contract method 0x80f51c12.

Solidity: function pausers(address ) view returns(bool)

func (*PeggedTokenBridgeCallerSession) Records

func (_PeggedTokenBridge *PeggedTokenBridgeCallerSession) Records(arg0 [32]byte) (bool, error)

Records is a free data retrieval call binding the contract method 0x01e64725.

Solidity: function records(bytes32 ) view returns(bool)

func (*PeggedTokenBridgeCallerSession) SigsVerifier

func (_PeggedTokenBridge *PeggedTokenBridgeCallerSession) SigsVerifier() (common.Address, error)

SigsVerifier is a free data retrieval call binding the contract method 0xccf2683b.

Solidity: function sigsVerifier() view returns(address)

type PeggedTokenBridgeDelayPeriodUpdated

type PeggedTokenBridgeDelayPeriodUpdated struct {
	Period *big.Int
	Raw    types.Log // Blockchain specific contextual infos
}

PeggedTokenBridgeDelayPeriodUpdated represents a DelayPeriodUpdated event raised by the PeggedTokenBridge contract.

type PeggedTokenBridgeDelayPeriodUpdatedIterator

type PeggedTokenBridgeDelayPeriodUpdatedIterator struct {
	Event *PeggedTokenBridgeDelayPeriodUpdated // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

PeggedTokenBridgeDelayPeriodUpdatedIterator is returned from FilterDelayPeriodUpdated and is used to iterate over the raw logs and unpacked data for DelayPeriodUpdated events raised by the PeggedTokenBridge contract.

func (*PeggedTokenBridgeDelayPeriodUpdatedIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*PeggedTokenBridgeDelayPeriodUpdatedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*PeggedTokenBridgeDelayPeriodUpdatedIterator) 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 PeggedTokenBridgeDelayThresholdUpdated

type PeggedTokenBridgeDelayThresholdUpdated struct {
	Token     common.Address
	Threshold *big.Int
	Raw       types.Log // Blockchain specific contextual infos
}

PeggedTokenBridgeDelayThresholdUpdated represents a DelayThresholdUpdated event raised by the PeggedTokenBridge contract.

type PeggedTokenBridgeDelayThresholdUpdatedIterator

type PeggedTokenBridgeDelayThresholdUpdatedIterator struct {
	Event *PeggedTokenBridgeDelayThresholdUpdated // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

PeggedTokenBridgeDelayThresholdUpdatedIterator is returned from FilterDelayThresholdUpdated and is used to iterate over the raw logs and unpacked data for DelayThresholdUpdated events raised by the PeggedTokenBridge contract.

func (*PeggedTokenBridgeDelayThresholdUpdatedIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*PeggedTokenBridgeDelayThresholdUpdatedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*PeggedTokenBridgeDelayThresholdUpdatedIterator) 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 PeggedTokenBridgeDelayedTransferAdded

type PeggedTokenBridgeDelayedTransferAdded struct {
	Id  [32]byte
	Raw types.Log // Blockchain specific contextual infos
}

PeggedTokenBridgeDelayedTransferAdded represents a DelayedTransferAdded event raised by the PeggedTokenBridge contract.

type PeggedTokenBridgeDelayedTransferAddedIterator

type PeggedTokenBridgeDelayedTransferAddedIterator struct {
	Event *PeggedTokenBridgeDelayedTransferAdded // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

PeggedTokenBridgeDelayedTransferAddedIterator is returned from FilterDelayedTransferAdded and is used to iterate over the raw logs and unpacked data for DelayedTransferAdded events raised by the PeggedTokenBridge contract.

func (*PeggedTokenBridgeDelayedTransferAddedIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*PeggedTokenBridgeDelayedTransferAddedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*PeggedTokenBridgeDelayedTransferAddedIterator) 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 PeggedTokenBridgeDelayedTransferExecuted

type PeggedTokenBridgeDelayedTransferExecuted struct {
	Id       [32]byte
	Receiver common.Address
	Token    common.Address
	Amount   *big.Int
	Raw      types.Log // Blockchain specific contextual infos
}

PeggedTokenBridgeDelayedTransferExecuted represents a DelayedTransferExecuted event raised by the PeggedTokenBridge contract.

type PeggedTokenBridgeDelayedTransferExecutedIterator

type PeggedTokenBridgeDelayedTransferExecutedIterator struct {
	Event *PeggedTokenBridgeDelayedTransferExecuted // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

PeggedTokenBridgeDelayedTransferExecutedIterator is returned from FilterDelayedTransferExecuted and is used to iterate over the raw logs and unpacked data for DelayedTransferExecuted events raised by the PeggedTokenBridge contract.

func (*PeggedTokenBridgeDelayedTransferExecutedIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*PeggedTokenBridgeDelayedTransferExecutedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*PeggedTokenBridgeDelayedTransferExecutedIterator) 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 PeggedTokenBridgeEpochLengthUpdated

type PeggedTokenBridgeEpochLengthUpdated struct {
	Length *big.Int
	Raw    types.Log // Blockchain specific contextual infos
}

PeggedTokenBridgeEpochLengthUpdated represents a EpochLengthUpdated event raised by the PeggedTokenBridge contract.

type PeggedTokenBridgeEpochLengthUpdatedIterator

type PeggedTokenBridgeEpochLengthUpdatedIterator struct {
	Event *PeggedTokenBridgeEpochLengthUpdated // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

PeggedTokenBridgeEpochLengthUpdatedIterator is returned from FilterEpochLengthUpdated and is used to iterate over the raw logs and unpacked data for EpochLengthUpdated events raised by the PeggedTokenBridge contract.

func (*PeggedTokenBridgeEpochLengthUpdatedIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*PeggedTokenBridgeEpochLengthUpdatedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*PeggedTokenBridgeEpochLengthUpdatedIterator) 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 PeggedTokenBridgeEpochVolumeUpdated

type PeggedTokenBridgeEpochVolumeUpdated struct {
	Token common.Address
	Cap   *big.Int
	Raw   types.Log // Blockchain specific contextual infos
}

PeggedTokenBridgeEpochVolumeUpdated represents a EpochVolumeUpdated event raised by the PeggedTokenBridge contract.

type PeggedTokenBridgeEpochVolumeUpdatedIterator

type PeggedTokenBridgeEpochVolumeUpdatedIterator struct {
	Event *PeggedTokenBridgeEpochVolumeUpdated // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

PeggedTokenBridgeEpochVolumeUpdatedIterator is returned from FilterEpochVolumeUpdated and is used to iterate over the raw logs and unpacked data for EpochVolumeUpdated events raised by the PeggedTokenBridge contract.

func (*PeggedTokenBridgeEpochVolumeUpdatedIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*PeggedTokenBridgeEpochVolumeUpdatedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*PeggedTokenBridgeEpochVolumeUpdatedIterator) 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 PeggedTokenBridgeFilterer

type PeggedTokenBridgeFilterer struct {
	// contains filtered or unexported fields
}

PeggedTokenBridgeFilterer is an auto generated log filtering Go binding around an Ethereum contract events.

func NewPeggedTokenBridgeFilterer

func NewPeggedTokenBridgeFilterer(address common.Address, filterer bind.ContractFilterer) (*PeggedTokenBridgeFilterer, error)

NewPeggedTokenBridgeFilterer creates a new log filterer instance of PeggedTokenBridge, bound to a specific deployed contract.

func (*PeggedTokenBridgeFilterer) FilterBurn

func (_PeggedTokenBridge *PeggedTokenBridgeFilterer) FilterBurn(opts *bind.FilterOpts) (*PeggedTokenBridgeBurnIterator, error)

FilterBurn is a free log retrieval operation binding the contract event 0x75f1bf55bb1de41b63a775dc7d4500f01114ee62b688a6b11d34f4692c1f3d43.

Solidity: event Burn(bytes32 burnId, address token, address account, uint256 amount, address withdrawAccount)

func (*PeggedTokenBridgeFilterer) FilterDelayPeriodUpdated

func (_PeggedTokenBridge *PeggedTokenBridgeFilterer) FilterDelayPeriodUpdated(opts *bind.FilterOpts) (*PeggedTokenBridgeDelayPeriodUpdatedIterator, error)

FilterDelayPeriodUpdated is a free log retrieval operation binding the contract event 0xc0a39f234199b125fb93713c4d067bdcebbf691087f87b79c0feb92b156ba8b6.

Solidity: event DelayPeriodUpdated(uint256 period)

func (*PeggedTokenBridgeFilterer) FilterDelayThresholdUpdated

func (_PeggedTokenBridge *PeggedTokenBridgeFilterer) FilterDelayThresholdUpdated(opts *bind.FilterOpts) (*PeggedTokenBridgeDelayThresholdUpdatedIterator, error)

FilterDelayThresholdUpdated is a free log retrieval operation binding the contract event 0xceaad6533bfb481492fb3e08ef19297f46611b8fa9de5ef4cf8dc23a56ad09ce.

Solidity: event DelayThresholdUpdated(address token, uint256 threshold)

func (*PeggedTokenBridgeFilterer) FilterDelayedTransferAdded

func (_PeggedTokenBridge *PeggedTokenBridgeFilterer) FilterDelayedTransferAdded(opts *bind.FilterOpts) (*PeggedTokenBridgeDelayedTransferAddedIterator, error)

FilterDelayedTransferAdded is a free log retrieval operation binding the contract event 0xcbcfffe5102114216a85d3aceb14ad4b81a3935b1b5c468fadf3889eb9c5dce6.

Solidity: event DelayedTransferAdded(bytes32 id)

func (*PeggedTokenBridgeFilterer) FilterDelayedTransferExecuted

func (_PeggedTokenBridge *PeggedTokenBridgeFilterer) FilterDelayedTransferExecuted(opts *bind.FilterOpts) (*PeggedTokenBridgeDelayedTransferExecutedIterator, error)

FilterDelayedTransferExecuted is a free log retrieval operation binding the contract event 0x3b40e5089937425d14cdd96947e5661868357e224af59bd8b24a4b8a330d4426.

Solidity: event DelayedTransferExecuted(bytes32 id, address receiver, address token, uint256 amount)

func (*PeggedTokenBridgeFilterer) FilterEpochLengthUpdated

func (_PeggedTokenBridge *PeggedTokenBridgeFilterer) FilterEpochLengthUpdated(opts *bind.FilterOpts) (*PeggedTokenBridgeEpochLengthUpdatedIterator, error)

FilterEpochLengthUpdated is a free log retrieval operation binding the contract event 0x2664fec2ff76486ac58ed087310855b648b15b9d19f3de8529e95f7c46b7d6b3.

Solidity: event EpochLengthUpdated(uint256 length)

func (*PeggedTokenBridgeFilterer) FilterEpochVolumeUpdated

func (_PeggedTokenBridge *PeggedTokenBridgeFilterer) FilterEpochVolumeUpdated(opts *bind.FilterOpts) (*PeggedTokenBridgeEpochVolumeUpdatedIterator, error)

FilterEpochVolumeUpdated is a free log retrieval operation binding the contract event 0x608e49c22994f20b5d3496dca088b88dfd81b4a3e8cc3809ea1e10a320107e89.

Solidity: event EpochVolumeUpdated(address token, uint256 cap)

func (*PeggedTokenBridgeFilterer) FilterGovernorAdded

func (_PeggedTokenBridge *PeggedTokenBridgeFilterer) FilterGovernorAdded(opts *bind.FilterOpts) (*PeggedTokenBridgeGovernorAddedIterator, error)

FilterGovernorAdded is a free log retrieval operation binding the contract event 0xdc5a48d79e2e147530ff63ecdbed5a5a66adb9d5cf339384d5d076da197c40b5.

Solidity: event GovernorAdded(address account)

func (*PeggedTokenBridgeFilterer) FilterGovernorRemoved

func (_PeggedTokenBridge *PeggedTokenBridgeFilterer) FilterGovernorRemoved(opts *bind.FilterOpts) (*PeggedTokenBridgeGovernorRemovedIterator, error)

FilterGovernorRemoved is a free log retrieval operation binding the contract event 0x1ebe834e73d60a5fec822c1e1727d34bc79f2ad977ed504581cc1822fe20fb5b.

Solidity: event GovernorRemoved(address account)

func (*PeggedTokenBridgeFilterer) FilterMaxBurnUpdated

func (_PeggedTokenBridge *PeggedTokenBridgeFilterer) FilterMaxBurnUpdated(opts *bind.FilterOpts) (*PeggedTokenBridgeMaxBurnUpdatedIterator, error)

FilterMaxBurnUpdated is a free log retrieval operation binding the contract event 0xa3181379f6db47d9037efc6b6e8e3efe8c55ddb090b4f0512c152f97c4e47da5.

Solidity: event MaxBurnUpdated(address token, uint256 amount)

func (*PeggedTokenBridgeFilterer) FilterMinBurnUpdated

func (_PeggedTokenBridge *PeggedTokenBridgeFilterer) FilterMinBurnUpdated(opts *bind.FilterOpts) (*PeggedTokenBridgeMinBurnUpdatedIterator, error)

FilterMinBurnUpdated is a free log retrieval operation binding the contract event 0x3796cd0b17a8734f8da819920625598e9a18be490f686725282e5383f1d06683.

Solidity: event MinBurnUpdated(address token, uint256 amount)

func (*PeggedTokenBridgeFilterer) FilterMint

func (_PeggedTokenBridge *PeggedTokenBridgeFilterer) FilterMint(opts *bind.FilterOpts) (*PeggedTokenBridgeMintIterator, error)

FilterMint is a free log retrieval operation binding the contract event 0x5bc84ecccfced5bb04bfc7f3efcdbe7f5cd21949ef146811b4d1967fe41f777a.

Solidity: event Mint(bytes32 mintId, address token, address account, uint256 amount, uint64 refChainId, bytes32 refId, address depositor)

func (*PeggedTokenBridgeFilterer) FilterOwnershipTransferred

func (_PeggedTokenBridge *PeggedTokenBridgeFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*PeggedTokenBridgeOwnershipTransferredIterator, error)

FilterOwnershipTransferred is a free log retrieval operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)

func (*PeggedTokenBridgeFilterer) FilterPaused

func (_PeggedTokenBridge *PeggedTokenBridgeFilterer) FilterPaused(opts *bind.FilterOpts) (*PeggedTokenBridgePausedIterator, error)

FilterPaused is a free log retrieval operation binding the contract event 0x62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258.

Solidity: event Paused(address account)

func (*PeggedTokenBridgeFilterer) FilterPauserAdded

func (_PeggedTokenBridge *PeggedTokenBridgeFilterer) FilterPauserAdded(opts *bind.FilterOpts) (*PeggedTokenBridgePauserAddedIterator, error)

FilterPauserAdded is a free log retrieval operation binding the contract event 0x6719d08c1888103bea251a4ed56406bd0c3e69723c8a1686e017e7bbe159b6f8.

Solidity: event PauserAdded(address account)

func (*PeggedTokenBridgeFilterer) FilterPauserRemoved

func (_PeggedTokenBridge *PeggedTokenBridgeFilterer) FilterPauserRemoved(opts *bind.FilterOpts) (*PeggedTokenBridgePauserRemovedIterator, error)

FilterPauserRemoved is a free log retrieval operation binding the contract event 0xcd265ebaf09df2871cc7bd4133404a235ba12eff2041bb89d9c714a2621c7c7e.

Solidity: event PauserRemoved(address account)

func (*PeggedTokenBridgeFilterer) FilterUnpaused

func (_PeggedTokenBridge *PeggedTokenBridgeFilterer) FilterUnpaused(opts *bind.FilterOpts) (*PeggedTokenBridgeUnpausedIterator, error)

FilterUnpaused is a free log retrieval operation binding the contract event 0x5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa.

Solidity: event Unpaused(address account)

func (*PeggedTokenBridgeFilterer) ParseBurn

func (_PeggedTokenBridge *PeggedTokenBridgeFilterer) ParseBurn(log types.Log) (*PeggedTokenBridgeBurn, error)

ParseBurn is a log parse operation binding the contract event 0x75f1bf55bb1de41b63a775dc7d4500f01114ee62b688a6b11d34f4692c1f3d43.

Solidity: event Burn(bytes32 burnId, address token, address account, uint256 amount, address withdrawAccount)

func (*PeggedTokenBridgeFilterer) ParseDelayPeriodUpdated

func (_PeggedTokenBridge *PeggedTokenBridgeFilterer) ParseDelayPeriodUpdated(log types.Log) (*PeggedTokenBridgeDelayPeriodUpdated, error)

ParseDelayPeriodUpdated is a log parse operation binding the contract event 0xc0a39f234199b125fb93713c4d067bdcebbf691087f87b79c0feb92b156ba8b6.

Solidity: event DelayPeriodUpdated(uint256 period)

func (*PeggedTokenBridgeFilterer) ParseDelayThresholdUpdated

func (_PeggedTokenBridge *PeggedTokenBridgeFilterer) ParseDelayThresholdUpdated(log types.Log) (*PeggedTokenBridgeDelayThresholdUpdated, error)

ParseDelayThresholdUpdated is a log parse operation binding the contract event 0xceaad6533bfb481492fb3e08ef19297f46611b8fa9de5ef4cf8dc23a56ad09ce.

Solidity: event DelayThresholdUpdated(address token, uint256 threshold)

func (*PeggedTokenBridgeFilterer) ParseDelayedTransferAdded

func (_PeggedTokenBridge *PeggedTokenBridgeFilterer) ParseDelayedTransferAdded(log types.Log) (*PeggedTokenBridgeDelayedTransferAdded, error)

ParseDelayedTransferAdded is a log parse operation binding the contract event 0xcbcfffe5102114216a85d3aceb14ad4b81a3935b1b5c468fadf3889eb9c5dce6.

Solidity: event DelayedTransferAdded(bytes32 id)

func (*PeggedTokenBridgeFilterer) ParseDelayedTransferExecuted

func (_PeggedTokenBridge *PeggedTokenBridgeFilterer) ParseDelayedTransferExecuted(log types.Log) (*PeggedTokenBridgeDelayedTransferExecuted, error)

ParseDelayedTransferExecuted is a log parse operation binding the contract event 0x3b40e5089937425d14cdd96947e5661868357e224af59bd8b24a4b8a330d4426.

Solidity: event DelayedTransferExecuted(bytes32 id, address receiver, address token, uint256 amount)

func (*PeggedTokenBridgeFilterer) ParseEpochLengthUpdated

func (_PeggedTokenBridge *PeggedTokenBridgeFilterer) ParseEpochLengthUpdated(log types.Log) (*PeggedTokenBridgeEpochLengthUpdated, error)

ParseEpochLengthUpdated is a log parse operation binding the contract event 0x2664fec2ff76486ac58ed087310855b648b15b9d19f3de8529e95f7c46b7d6b3.

Solidity: event EpochLengthUpdated(uint256 length)

func (*PeggedTokenBridgeFilterer) ParseEpochVolumeUpdated

func (_PeggedTokenBridge *PeggedTokenBridgeFilterer) ParseEpochVolumeUpdated(log types.Log) (*PeggedTokenBridgeEpochVolumeUpdated, error)

ParseEpochVolumeUpdated is a log parse operation binding the contract event 0x608e49c22994f20b5d3496dca088b88dfd81b4a3e8cc3809ea1e10a320107e89.

Solidity: event EpochVolumeUpdated(address token, uint256 cap)

func (*PeggedTokenBridgeFilterer) ParseGovernorAdded

func (_PeggedTokenBridge *PeggedTokenBridgeFilterer) ParseGovernorAdded(log types.Log) (*PeggedTokenBridgeGovernorAdded, error)

ParseGovernorAdded is a log parse operation binding the contract event 0xdc5a48d79e2e147530ff63ecdbed5a5a66adb9d5cf339384d5d076da197c40b5.

Solidity: event GovernorAdded(address account)

func (*PeggedTokenBridgeFilterer) ParseGovernorRemoved

func (_PeggedTokenBridge *PeggedTokenBridgeFilterer) ParseGovernorRemoved(log types.Log) (*PeggedTokenBridgeGovernorRemoved, error)

ParseGovernorRemoved is a log parse operation binding the contract event 0x1ebe834e73d60a5fec822c1e1727d34bc79f2ad977ed504581cc1822fe20fb5b.

Solidity: event GovernorRemoved(address account)

func (*PeggedTokenBridgeFilterer) ParseMaxBurnUpdated

func (_PeggedTokenBridge *PeggedTokenBridgeFilterer) ParseMaxBurnUpdated(log types.Log) (*PeggedTokenBridgeMaxBurnUpdated, error)

ParseMaxBurnUpdated is a log parse operation binding the contract event 0xa3181379f6db47d9037efc6b6e8e3efe8c55ddb090b4f0512c152f97c4e47da5.

Solidity: event MaxBurnUpdated(address token, uint256 amount)

func (*PeggedTokenBridgeFilterer) ParseMinBurnUpdated

func (_PeggedTokenBridge *PeggedTokenBridgeFilterer) ParseMinBurnUpdated(log types.Log) (*PeggedTokenBridgeMinBurnUpdated, error)

ParseMinBurnUpdated is a log parse operation binding the contract event 0x3796cd0b17a8734f8da819920625598e9a18be490f686725282e5383f1d06683.

Solidity: event MinBurnUpdated(address token, uint256 amount)

func (*PeggedTokenBridgeFilterer) ParseMint

func (_PeggedTokenBridge *PeggedTokenBridgeFilterer) ParseMint(log types.Log) (*PeggedTokenBridgeMint, error)

ParseMint is a log parse operation binding the contract event 0x5bc84ecccfced5bb04bfc7f3efcdbe7f5cd21949ef146811b4d1967fe41f777a.

Solidity: event Mint(bytes32 mintId, address token, address account, uint256 amount, uint64 refChainId, bytes32 refId, address depositor)

func (*PeggedTokenBridgeFilterer) ParseOwnershipTransferred

func (_PeggedTokenBridge *PeggedTokenBridgeFilterer) ParseOwnershipTransferred(log types.Log) (*PeggedTokenBridgeOwnershipTransferred, error)

ParseOwnershipTransferred is a log parse operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)

func (*PeggedTokenBridgeFilterer) ParsePaused

func (_PeggedTokenBridge *PeggedTokenBridgeFilterer) ParsePaused(log types.Log) (*PeggedTokenBridgePaused, error)

ParsePaused is a log parse operation binding the contract event 0x62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258.

Solidity: event Paused(address account)

func (*PeggedTokenBridgeFilterer) ParsePauserAdded

func (_PeggedTokenBridge *PeggedTokenBridgeFilterer) ParsePauserAdded(log types.Log) (*PeggedTokenBridgePauserAdded, error)

ParsePauserAdded is a log parse operation binding the contract event 0x6719d08c1888103bea251a4ed56406bd0c3e69723c8a1686e017e7bbe159b6f8.

Solidity: event PauserAdded(address account)

func (*PeggedTokenBridgeFilterer) ParsePauserRemoved

func (_PeggedTokenBridge *PeggedTokenBridgeFilterer) ParsePauserRemoved(log types.Log) (*PeggedTokenBridgePauserRemoved, error)

ParsePauserRemoved is a log parse operation binding the contract event 0xcd265ebaf09df2871cc7bd4133404a235ba12eff2041bb89d9c714a2621c7c7e.

Solidity: event PauserRemoved(address account)

func (*PeggedTokenBridgeFilterer) ParseUnpaused

func (_PeggedTokenBridge *PeggedTokenBridgeFilterer) ParseUnpaused(log types.Log) (*PeggedTokenBridgeUnpaused, error)

ParseUnpaused is a log parse operation binding the contract event 0x5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa.

Solidity: event Unpaused(address account)

func (*PeggedTokenBridgeFilterer) WatchBurn

func (_PeggedTokenBridge *PeggedTokenBridgeFilterer) WatchBurn(opts *bind.WatchOpts, sink chan<- *PeggedTokenBridgeBurn) (event.Subscription, error)

WatchBurn is a free log subscription operation binding the contract event 0x75f1bf55bb1de41b63a775dc7d4500f01114ee62b688a6b11d34f4692c1f3d43.

Solidity: event Burn(bytes32 burnId, address token, address account, uint256 amount, address withdrawAccount)

func (*PeggedTokenBridgeFilterer) WatchDelayPeriodUpdated

func (_PeggedTokenBridge *PeggedTokenBridgeFilterer) WatchDelayPeriodUpdated(opts *bind.WatchOpts, sink chan<- *PeggedTokenBridgeDelayPeriodUpdated) (event.Subscription, error)

WatchDelayPeriodUpdated is a free log subscription operation binding the contract event 0xc0a39f234199b125fb93713c4d067bdcebbf691087f87b79c0feb92b156ba8b6.

Solidity: event DelayPeriodUpdated(uint256 period)

func (*PeggedTokenBridgeFilterer) WatchDelayThresholdUpdated

func (_PeggedTokenBridge *PeggedTokenBridgeFilterer) WatchDelayThresholdUpdated(opts *bind.WatchOpts, sink chan<- *PeggedTokenBridgeDelayThresholdUpdated) (event.Subscription, error)

WatchDelayThresholdUpdated is a free log subscription operation binding the contract event 0xceaad6533bfb481492fb3e08ef19297f46611b8fa9de5ef4cf8dc23a56ad09ce.

Solidity: event DelayThresholdUpdated(address token, uint256 threshold)

func (*PeggedTokenBridgeFilterer) WatchDelayedTransferAdded

func (_PeggedTokenBridge *PeggedTokenBridgeFilterer) WatchDelayedTransferAdded(opts *bind.WatchOpts, sink chan<- *PeggedTokenBridgeDelayedTransferAdded) (event.Subscription, error)

WatchDelayedTransferAdded is a free log subscription operation binding the contract event 0xcbcfffe5102114216a85d3aceb14ad4b81a3935b1b5c468fadf3889eb9c5dce6.

Solidity: event DelayedTransferAdded(bytes32 id)

func (*PeggedTokenBridgeFilterer) WatchDelayedTransferExecuted

func (_PeggedTokenBridge *PeggedTokenBridgeFilterer) WatchDelayedTransferExecuted(opts *bind.WatchOpts, sink chan<- *PeggedTokenBridgeDelayedTransferExecuted) (event.Subscription, error)

WatchDelayedTransferExecuted is a free log subscription operation binding the contract event 0x3b40e5089937425d14cdd96947e5661868357e224af59bd8b24a4b8a330d4426.

Solidity: event DelayedTransferExecuted(bytes32 id, address receiver, address token, uint256 amount)

func (*PeggedTokenBridgeFilterer) WatchEpochLengthUpdated

func (_PeggedTokenBridge *PeggedTokenBridgeFilterer) WatchEpochLengthUpdated(opts *bind.WatchOpts, sink chan<- *PeggedTokenBridgeEpochLengthUpdated) (event.Subscription, error)

WatchEpochLengthUpdated is a free log subscription operation binding the contract event 0x2664fec2ff76486ac58ed087310855b648b15b9d19f3de8529e95f7c46b7d6b3.

Solidity: event EpochLengthUpdated(uint256 length)

func (*PeggedTokenBridgeFilterer) WatchEpochVolumeUpdated

func (_PeggedTokenBridge *PeggedTokenBridgeFilterer) WatchEpochVolumeUpdated(opts *bind.WatchOpts, sink chan<- *PeggedTokenBridgeEpochVolumeUpdated) (event.Subscription, error)

WatchEpochVolumeUpdated is a free log subscription operation binding the contract event 0x608e49c22994f20b5d3496dca088b88dfd81b4a3e8cc3809ea1e10a320107e89.

Solidity: event EpochVolumeUpdated(address token, uint256 cap)

func (*PeggedTokenBridgeFilterer) WatchGovernorAdded

func (_PeggedTokenBridge *PeggedTokenBridgeFilterer) WatchGovernorAdded(opts *bind.WatchOpts, sink chan<- *PeggedTokenBridgeGovernorAdded) (event.Subscription, error)

WatchGovernorAdded is a free log subscription operation binding the contract event 0xdc5a48d79e2e147530ff63ecdbed5a5a66adb9d5cf339384d5d076da197c40b5.

Solidity: event GovernorAdded(address account)

func (*PeggedTokenBridgeFilterer) WatchGovernorRemoved

func (_PeggedTokenBridge *PeggedTokenBridgeFilterer) WatchGovernorRemoved(opts *bind.WatchOpts, sink chan<- *PeggedTokenBridgeGovernorRemoved) (event.Subscription, error)

WatchGovernorRemoved is a free log subscription operation binding the contract event 0x1ebe834e73d60a5fec822c1e1727d34bc79f2ad977ed504581cc1822fe20fb5b.

Solidity: event GovernorRemoved(address account)

func (*PeggedTokenBridgeFilterer) WatchMaxBurnUpdated

func (_PeggedTokenBridge *PeggedTokenBridgeFilterer) WatchMaxBurnUpdated(opts *bind.WatchOpts, sink chan<- *PeggedTokenBridgeMaxBurnUpdated) (event.Subscription, error)

WatchMaxBurnUpdated is a free log subscription operation binding the contract event 0xa3181379f6db47d9037efc6b6e8e3efe8c55ddb090b4f0512c152f97c4e47da5.

Solidity: event MaxBurnUpdated(address token, uint256 amount)

func (*PeggedTokenBridgeFilterer) WatchMinBurnUpdated

func (_PeggedTokenBridge *PeggedTokenBridgeFilterer) WatchMinBurnUpdated(opts *bind.WatchOpts, sink chan<- *PeggedTokenBridgeMinBurnUpdated) (event.Subscription, error)

WatchMinBurnUpdated is a free log subscription operation binding the contract event 0x3796cd0b17a8734f8da819920625598e9a18be490f686725282e5383f1d06683.

Solidity: event MinBurnUpdated(address token, uint256 amount)

func (*PeggedTokenBridgeFilterer) WatchMint

func (_PeggedTokenBridge *PeggedTokenBridgeFilterer) WatchMint(opts *bind.WatchOpts, sink chan<- *PeggedTokenBridgeMint) (event.Subscription, error)

WatchMint is a free log subscription operation binding the contract event 0x5bc84ecccfced5bb04bfc7f3efcdbe7f5cd21949ef146811b4d1967fe41f777a.

Solidity: event Mint(bytes32 mintId, address token, address account, uint256 amount, uint64 refChainId, bytes32 refId, address depositor)

func (*PeggedTokenBridgeFilterer) WatchOwnershipTransferred

func (_PeggedTokenBridge *PeggedTokenBridgeFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *PeggedTokenBridgeOwnershipTransferred, 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 (*PeggedTokenBridgeFilterer) WatchPaused

func (_PeggedTokenBridge *PeggedTokenBridgeFilterer) WatchPaused(opts *bind.WatchOpts, sink chan<- *PeggedTokenBridgePaused) (event.Subscription, error)

WatchPaused is a free log subscription operation binding the contract event 0x62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258.

Solidity: event Paused(address account)

func (*PeggedTokenBridgeFilterer) WatchPauserAdded

func (_PeggedTokenBridge *PeggedTokenBridgeFilterer) WatchPauserAdded(opts *bind.WatchOpts, sink chan<- *PeggedTokenBridgePauserAdded) (event.Subscription, error)

WatchPauserAdded is a free log subscription operation binding the contract event 0x6719d08c1888103bea251a4ed56406bd0c3e69723c8a1686e017e7bbe159b6f8.

Solidity: event PauserAdded(address account)

func (*PeggedTokenBridgeFilterer) WatchPauserRemoved

func (_PeggedTokenBridge *PeggedTokenBridgeFilterer) WatchPauserRemoved(opts *bind.WatchOpts, sink chan<- *PeggedTokenBridgePauserRemoved) (event.Subscription, error)

WatchPauserRemoved is a free log subscription operation binding the contract event 0xcd265ebaf09df2871cc7bd4133404a235ba12eff2041bb89d9c714a2621c7c7e.

Solidity: event PauserRemoved(address account)

func (*PeggedTokenBridgeFilterer) WatchUnpaused

func (_PeggedTokenBridge *PeggedTokenBridgeFilterer) WatchUnpaused(opts *bind.WatchOpts, sink chan<- *PeggedTokenBridgeUnpaused) (event.Subscription, error)

WatchUnpaused is a free log subscription operation binding the contract event 0x5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa.

Solidity: event Unpaused(address account)

type PeggedTokenBridgeGovernorAdded

type PeggedTokenBridgeGovernorAdded struct {
	Account common.Address
	Raw     types.Log // Blockchain specific contextual infos
}

PeggedTokenBridgeGovernorAdded represents a GovernorAdded event raised by the PeggedTokenBridge contract.

type PeggedTokenBridgeGovernorAddedIterator

type PeggedTokenBridgeGovernorAddedIterator struct {
	Event *PeggedTokenBridgeGovernorAdded // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

PeggedTokenBridgeGovernorAddedIterator is returned from FilterGovernorAdded and is used to iterate over the raw logs and unpacked data for GovernorAdded events raised by the PeggedTokenBridge contract.

func (*PeggedTokenBridgeGovernorAddedIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*PeggedTokenBridgeGovernorAddedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*PeggedTokenBridgeGovernorAddedIterator) 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 PeggedTokenBridgeGovernorRemoved

type PeggedTokenBridgeGovernorRemoved struct {
	Account common.Address
	Raw     types.Log // Blockchain specific contextual infos
}

PeggedTokenBridgeGovernorRemoved represents a GovernorRemoved event raised by the PeggedTokenBridge contract.

type PeggedTokenBridgeGovernorRemovedIterator

type PeggedTokenBridgeGovernorRemovedIterator struct {
	Event *PeggedTokenBridgeGovernorRemoved // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

PeggedTokenBridgeGovernorRemovedIterator is returned from FilterGovernorRemoved and is used to iterate over the raw logs and unpacked data for GovernorRemoved events raised by the PeggedTokenBridge contract.

func (*PeggedTokenBridgeGovernorRemovedIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*PeggedTokenBridgeGovernorRemovedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*PeggedTokenBridgeGovernorRemovedIterator) 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 PeggedTokenBridgeMaxBurnUpdated

type PeggedTokenBridgeMaxBurnUpdated struct {
	Token  common.Address
	Amount *big.Int
	Raw    types.Log // Blockchain specific contextual infos
}

PeggedTokenBridgeMaxBurnUpdated represents a MaxBurnUpdated event raised by the PeggedTokenBridge contract.

type PeggedTokenBridgeMaxBurnUpdatedIterator

type PeggedTokenBridgeMaxBurnUpdatedIterator struct {
	Event *PeggedTokenBridgeMaxBurnUpdated // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

PeggedTokenBridgeMaxBurnUpdatedIterator is returned from FilterMaxBurnUpdated and is used to iterate over the raw logs and unpacked data for MaxBurnUpdated events raised by the PeggedTokenBridge contract.

func (*PeggedTokenBridgeMaxBurnUpdatedIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*PeggedTokenBridgeMaxBurnUpdatedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*PeggedTokenBridgeMaxBurnUpdatedIterator) 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 PeggedTokenBridgeMinBurnUpdated

type PeggedTokenBridgeMinBurnUpdated struct {
	Token  common.Address
	Amount *big.Int
	Raw    types.Log // Blockchain specific contextual infos
}

PeggedTokenBridgeMinBurnUpdated represents a MinBurnUpdated event raised by the PeggedTokenBridge contract.

type PeggedTokenBridgeMinBurnUpdatedIterator

type PeggedTokenBridgeMinBurnUpdatedIterator struct {
	Event *PeggedTokenBridgeMinBurnUpdated // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

PeggedTokenBridgeMinBurnUpdatedIterator is returned from FilterMinBurnUpdated and is used to iterate over the raw logs and unpacked data for MinBurnUpdated events raised by the PeggedTokenBridge contract.

func (*PeggedTokenBridgeMinBurnUpdatedIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*PeggedTokenBridgeMinBurnUpdatedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*PeggedTokenBridgeMinBurnUpdatedIterator) 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 PeggedTokenBridgeMint

type PeggedTokenBridgeMint struct {
	MintId     [32]byte
	Token      common.Address
	Account    common.Address
	Amount     *big.Int
	RefChainId uint64
	RefId      [32]byte
	Depositor  common.Address
	Raw        types.Log // Blockchain specific contextual infos
}

PeggedTokenBridgeMint represents a Mint event raised by the PeggedTokenBridge contract.

func (*PeggedTokenBridgeMint) PrettyLog

func (ev *PeggedTokenBridgeMint) PrettyLog(onchid uint64) string

func (*PeggedTokenBridgeMint) String

func (ev *PeggedTokenBridgeMint) String() string

type PeggedTokenBridgeMintIterator

type PeggedTokenBridgeMintIterator struct {
	Event *PeggedTokenBridgeMint // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

PeggedTokenBridgeMintIterator is returned from FilterMint and is used to iterate over the raw logs and unpacked data for Mint events raised by the PeggedTokenBridge contract.

func (*PeggedTokenBridgeMintIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*PeggedTokenBridgeMintIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*PeggedTokenBridgeMintIterator) 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 PeggedTokenBridgeOwnershipTransferred

type PeggedTokenBridgeOwnershipTransferred struct {
	PreviousOwner common.Address
	NewOwner      common.Address
	Raw           types.Log // Blockchain specific contextual infos
}

PeggedTokenBridgeOwnershipTransferred represents a OwnershipTransferred event raised by the PeggedTokenBridge contract.

type PeggedTokenBridgeOwnershipTransferredIterator

type PeggedTokenBridgeOwnershipTransferredIterator struct {
	Event *PeggedTokenBridgeOwnershipTransferred // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

PeggedTokenBridgeOwnershipTransferredIterator is returned from FilterOwnershipTransferred and is used to iterate over the raw logs and unpacked data for OwnershipTransferred events raised by the PeggedTokenBridge contract.

func (*PeggedTokenBridgeOwnershipTransferredIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*PeggedTokenBridgeOwnershipTransferredIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*PeggedTokenBridgeOwnershipTransferredIterator) 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 PeggedTokenBridgePaused

type PeggedTokenBridgePaused struct {
	Account common.Address
	Raw     types.Log // Blockchain specific contextual infos
}

PeggedTokenBridgePaused represents a Paused event raised by the PeggedTokenBridge contract.

type PeggedTokenBridgePausedIterator

type PeggedTokenBridgePausedIterator struct {
	Event *PeggedTokenBridgePaused // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

PeggedTokenBridgePausedIterator is returned from FilterPaused and is used to iterate over the raw logs and unpacked data for Paused events raised by the PeggedTokenBridge contract.

func (*PeggedTokenBridgePausedIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*PeggedTokenBridgePausedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*PeggedTokenBridgePausedIterator) 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 PeggedTokenBridgePauserAdded

type PeggedTokenBridgePauserAdded struct {
	Account common.Address
	Raw     types.Log // Blockchain specific contextual infos
}

PeggedTokenBridgePauserAdded represents a PauserAdded event raised by the PeggedTokenBridge contract.

type PeggedTokenBridgePauserAddedIterator

type PeggedTokenBridgePauserAddedIterator struct {
	Event *PeggedTokenBridgePauserAdded // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

PeggedTokenBridgePauserAddedIterator is returned from FilterPauserAdded and is used to iterate over the raw logs and unpacked data for PauserAdded events raised by the PeggedTokenBridge contract.

func (*PeggedTokenBridgePauserAddedIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*PeggedTokenBridgePauserAddedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*PeggedTokenBridgePauserAddedIterator) 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 PeggedTokenBridgePauserRemoved

type PeggedTokenBridgePauserRemoved struct {
	Account common.Address
	Raw     types.Log // Blockchain specific contextual infos
}

PeggedTokenBridgePauserRemoved represents a PauserRemoved event raised by the PeggedTokenBridge contract.

type PeggedTokenBridgePauserRemovedIterator

type PeggedTokenBridgePauserRemovedIterator struct {
	Event *PeggedTokenBridgePauserRemoved // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

PeggedTokenBridgePauserRemovedIterator is returned from FilterPauserRemoved and is used to iterate over the raw logs and unpacked data for PauserRemoved events raised by the PeggedTokenBridge contract.

func (*PeggedTokenBridgePauserRemovedIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*PeggedTokenBridgePauserRemovedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*PeggedTokenBridgePauserRemovedIterator) 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 PeggedTokenBridgeRaw

type PeggedTokenBridgeRaw struct {
	Contract *PeggedTokenBridge // Generic contract binding to access the raw methods on
}

PeggedTokenBridgeRaw is an auto generated low-level Go binding around an Ethereum contract.

func (*PeggedTokenBridgeRaw) Call

func (_PeggedTokenBridge *PeggedTokenBridgeRaw) 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 (*PeggedTokenBridgeRaw) Transact

func (_PeggedTokenBridge *PeggedTokenBridgeRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*PeggedTokenBridgeRaw) Transfer

func (_PeggedTokenBridge *PeggedTokenBridgeRaw) 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 PeggedTokenBridgeSession

type PeggedTokenBridgeSession struct {
	Contract     *PeggedTokenBridge // 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
}

PeggedTokenBridgeSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.

func (*PeggedTokenBridgeSession) AddGovernor

func (_PeggedTokenBridge *PeggedTokenBridgeSession) AddGovernor(_account common.Address) (*types.Transaction, error)

AddGovernor is a paid mutator transaction binding the contract method 0x3c4a25d0.

Solidity: function addGovernor(address _account) returns()

func (*PeggedTokenBridgeSession) AddPauser

func (_PeggedTokenBridge *PeggedTokenBridgeSession) AddPauser(account common.Address) (*types.Transaction, error)

AddPauser is a paid mutator transaction binding the contract method 0x82dc1ec4.

Solidity: function addPauser(address account) returns()

func (*PeggedTokenBridgeSession) Burn

func (_PeggedTokenBridge *PeggedTokenBridgeSession) Burn(_token common.Address, _amount *big.Int, _withdrawAccount common.Address, _nonce uint64) (*types.Transaction, error)

Burn is a paid mutator transaction binding the contract method 0xde790c7e.

Solidity: function burn(address _token, uint256 _amount, address _withdrawAccount, uint64 _nonce) returns()

func (*PeggedTokenBridgeSession) DelayPeriod

func (_PeggedTokenBridge *PeggedTokenBridgeSession) DelayPeriod() (*big.Int, error)

DelayPeriod is a free data retrieval call binding the contract method 0xb1c94d94.

Solidity: function delayPeriod() view returns(uint256)

func (*PeggedTokenBridgeSession) DelayThresholds

func (_PeggedTokenBridge *PeggedTokenBridgeSession) DelayThresholds(arg0 common.Address) (*big.Int, error)

DelayThresholds is a free data retrieval call binding the contract method 0x52532faa.

Solidity: function delayThresholds(address ) view returns(uint256)

func (*PeggedTokenBridgeSession) DelayedTransfers

func (_PeggedTokenBridge *PeggedTokenBridgeSession) DelayedTransfers(arg0 [32]byte) (struct {
	Receiver  common.Address
	Token     common.Address
	Amount    *big.Int
	Timestamp *big.Int
}, error)

DelayedTransfers is a free data retrieval call binding the contract method 0xadc0d57f.

Solidity: function delayedTransfers(bytes32 ) view returns(address receiver, address token, uint256 amount, uint256 timestamp)

func (*PeggedTokenBridgeSession) EpochLength

func (_PeggedTokenBridge *PeggedTokenBridgeSession) EpochLength() (*big.Int, error)

EpochLength is a free data retrieval call binding the contract method 0x57d775f8.

Solidity: function epochLength() view returns(uint256)

func (*PeggedTokenBridgeSession) EpochVolumeCaps

func (_PeggedTokenBridge *PeggedTokenBridgeSession) EpochVolumeCaps(arg0 common.Address) (*big.Int, error)

EpochVolumeCaps is a free data retrieval call binding the contract method 0xb5f2bc47.

Solidity: function epochVolumeCaps(address ) view returns(uint256)

func (*PeggedTokenBridgeSession) EpochVolumes

func (_PeggedTokenBridge *PeggedTokenBridgeSession) EpochVolumes(arg0 common.Address) (*big.Int, error)

EpochVolumes is a free data retrieval call binding the contract method 0x60216b00.

Solidity: function epochVolumes(address ) view returns(uint256)

func (*PeggedTokenBridgeSession) ExecuteDelayedTransfer

func (_PeggedTokenBridge *PeggedTokenBridgeSession) ExecuteDelayedTransfer(id [32]byte) (*types.Transaction, error)

ExecuteDelayedTransfer is a paid mutator transaction binding the contract method 0x9e25fc5c.

Solidity: function executeDelayedTransfer(bytes32 id) returns()

func (*PeggedTokenBridgeSession) Governors

func (_PeggedTokenBridge *PeggedTokenBridgeSession) Governors(arg0 common.Address) (bool, error)

Governors is a free data retrieval call binding the contract method 0xe3eece26.

Solidity: function governors(address ) view returns(bool)

func (*PeggedTokenBridgeSession) IsGovernor

func (_PeggedTokenBridge *PeggedTokenBridgeSession) IsGovernor(_account common.Address) (bool, error)

IsGovernor is a free data retrieval call binding the contract method 0xe43581b8.

Solidity: function isGovernor(address _account) view returns(bool)

func (*PeggedTokenBridgeSession) IsPauser

func (_PeggedTokenBridge *PeggedTokenBridgeSession) IsPauser(account common.Address) (bool, error)

IsPauser is a free data retrieval call binding the contract method 0x46fbf68e.

Solidity: function isPauser(address account) view returns(bool)

func (*PeggedTokenBridgeSession) LastOpTimestamps

func (_PeggedTokenBridge *PeggedTokenBridgeSession) LastOpTimestamps(arg0 common.Address) (*big.Int, error)

LastOpTimestamps is a free data retrieval call binding the contract method 0xf8321383.

Solidity: function lastOpTimestamps(address ) view returns(uint256)

func (*PeggedTokenBridgeSession) MaxBurn

func (_PeggedTokenBridge *PeggedTokenBridgeSession) MaxBurn(arg0 common.Address) (*big.Int, error)

MaxBurn is a free data retrieval call binding the contract method 0x497bf3b2.

Solidity: function maxBurn(address ) view returns(uint256)

func (*PeggedTokenBridgeSession) MinBurn

func (_PeggedTokenBridge *PeggedTokenBridgeSession) MinBurn(arg0 common.Address) (*big.Int, error)

MinBurn is a free data retrieval call binding the contract method 0x7f856013.

Solidity: function minBurn(address ) view returns(uint256)

func (*PeggedTokenBridgeSession) Mint

func (_PeggedTokenBridge *PeggedTokenBridgeSession) Mint(_request []byte, _sigs [][]byte, _signers []common.Address, _powers []*big.Int) (*types.Transaction, error)

Mint is a paid mutator transaction binding the contract method 0xf8734302.

Solidity: function mint(bytes _request, bytes[] _sigs, address[] _signers, uint256[] _powers) returns()

func (*PeggedTokenBridgeSession) Owner

func (_PeggedTokenBridge *PeggedTokenBridgeSession) Owner() (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() view returns(address)

func (*PeggedTokenBridgeSession) Pause

func (_PeggedTokenBridge *PeggedTokenBridgeSession) Pause() (*types.Transaction, error)

Pause is a paid mutator transaction binding the contract method 0x8456cb59.

Solidity: function pause() returns()

func (*PeggedTokenBridgeSession) Paused

func (_PeggedTokenBridge *PeggedTokenBridgeSession) Paused() (bool, error)

Paused is a free data retrieval call binding the contract method 0x5c975abb.

Solidity: function paused() view returns(bool)

func (*PeggedTokenBridgeSession) Pausers

func (_PeggedTokenBridge *PeggedTokenBridgeSession) Pausers(arg0 common.Address) (bool, error)

Pausers is a free data retrieval call binding the contract method 0x80f51c12.

Solidity: function pausers(address ) view returns(bool)

func (*PeggedTokenBridgeSession) Records

func (_PeggedTokenBridge *PeggedTokenBridgeSession) Records(arg0 [32]byte) (bool, error)

Records is a free data retrieval call binding the contract method 0x01e64725.

Solidity: function records(bytes32 ) view returns(bool)

func (*PeggedTokenBridgeSession) RemoveGovernor

func (_PeggedTokenBridge *PeggedTokenBridgeSession) RemoveGovernor(_account common.Address) (*types.Transaction, error)

RemoveGovernor is a paid mutator transaction binding the contract method 0xeecdac88.

Solidity: function removeGovernor(address _account) returns()

func (*PeggedTokenBridgeSession) RemovePauser

func (_PeggedTokenBridge *PeggedTokenBridgeSession) RemovePauser(account common.Address) (*types.Transaction, error)

RemovePauser is a paid mutator transaction binding the contract method 0x6b2c0f55.

Solidity: function removePauser(address account) returns()

func (*PeggedTokenBridgeSession) RenounceGovernor

func (_PeggedTokenBridge *PeggedTokenBridgeSession) RenounceGovernor() (*types.Transaction, error)

RenounceGovernor is a paid mutator transaction binding the contract method 0xe026049c.

Solidity: function renounceGovernor() returns()

func (*PeggedTokenBridgeSession) RenouncePauser

func (_PeggedTokenBridge *PeggedTokenBridgeSession) RenouncePauser() (*types.Transaction, error)

RenouncePauser is a paid mutator transaction binding the contract method 0x6ef8d66d.

Solidity: function renouncePauser() returns()

func (*PeggedTokenBridgeSession) SetDelayPeriod

func (_PeggedTokenBridge *PeggedTokenBridgeSession) SetDelayPeriod(_period *big.Int) (*types.Transaction, error)

SetDelayPeriod is a paid mutator transaction binding the contract method 0x3d572107.

Solidity: function setDelayPeriod(uint256 _period) returns()

func (*PeggedTokenBridgeSession) SetDelayThresholds

func (_PeggedTokenBridge *PeggedTokenBridgeSession) SetDelayThresholds(_tokens []common.Address, _thresholds []*big.Int) (*types.Transaction, error)

SetDelayThresholds is a paid mutator transaction binding the contract method 0x17bdbae5.

Solidity: function setDelayThresholds(address[] _tokens, uint256[] _thresholds) returns()

func (*PeggedTokenBridgeSession) SetEpochLength

func (_PeggedTokenBridge *PeggedTokenBridgeSession) SetEpochLength(_length *big.Int) (*types.Transaction, error)

SetEpochLength is a paid mutator transaction binding the contract method 0x54eea796.

Solidity: function setEpochLength(uint256 _length) returns()

func (*PeggedTokenBridgeSession) SetEpochVolumeCaps

func (_PeggedTokenBridge *PeggedTokenBridgeSession) SetEpochVolumeCaps(_tokens []common.Address, _caps []*big.Int) (*types.Transaction, error)

SetEpochVolumeCaps is a paid mutator transaction binding the contract method 0x47b16c6c.

Solidity: function setEpochVolumeCaps(address[] _tokens, uint256[] _caps) returns()

func (*PeggedTokenBridgeSession) SetMaxBurn

func (_PeggedTokenBridge *PeggedTokenBridgeSession) SetMaxBurn(_tokens []common.Address, _amounts []*big.Int) (*types.Transaction, error)

SetMaxBurn is a paid mutator transaction binding the contract method 0xf9a8ea08.

Solidity: function setMaxBurn(address[] _tokens, uint256[] _amounts) returns()

func (*PeggedTokenBridgeSession) SetMinBurn

func (_PeggedTokenBridge *PeggedTokenBridgeSession) SetMinBurn(_tokens []common.Address, _amounts []*big.Int) (*types.Transaction, error)

SetMinBurn is a paid mutator transaction binding the contract method 0xbf4816f0.

Solidity: function setMinBurn(address[] _tokens, uint256[] _amounts) returns()

func (*PeggedTokenBridgeSession) SigsVerifier

func (_PeggedTokenBridge *PeggedTokenBridgeSession) SigsVerifier() (common.Address, error)

SigsVerifier is a free data retrieval call binding the contract method 0xccf2683b.

Solidity: function sigsVerifier() view returns(address)

func (*PeggedTokenBridgeSession) TransferOwnership

func (_PeggedTokenBridge *PeggedTokenBridgeSession) 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 (*PeggedTokenBridgeSession) Unpause

func (_PeggedTokenBridge *PeggedTokenBridgeSession) Unpause() (*types.Transaction, error)

Unpause is a paid mutator transaction binding the contract method 0x3f4ba83a.

Solidity: function unpause() returns()

type PeggedTokenBridgeTransactor

type PeggedTokenBridgeTransactor struct {
	// contains filtered or unexported fields
}

PeggedTokenBridgeTransactor is an auto generated write-only Go binding around an Ethereum contract.

func NewPeggedTokenBridgeTransactor

func NewPeggedTokenBridgeTransactor(address common.Address, transactor bind.ContractTransactor) (*PeggedTokenBridgeTransactor, error)

NewPeggedTokenBridgeTransactor creates a new write-only instance of PeggedTokenBridge, bound to a specific deployed contract.

func (*PeggedTokenBridgeTransactor) AddGovernor

func (_PeggedTokenBridge *PeggedTokenBridgeTransactor) AddGovernor(opts *bind.TransactOpts, _account common.Address) (*types.Transaction, error)

AddGovernor is a paid mutator transaction binding the contract method 0x3c4a25d0.

Solidity: function addGovernor(address _account) returns()

func (*PeggedTokenBridgeTransactor) AddPauser

func (_PeggedTokenBridge *PeggedTokenBridgeTransactor) AddPauser(opts *bind.TransactOpts, account common.Address) (*types.Transaction, error)

AddPauser is a paid mutator transaction binding the contract method 0x82dc1ec4.

Solidity: function addPauser(address account) returns()

func (*PeggedTokenBridgeTransactor) Burn

func (_PeggedTokenBridge *PeggedTokenBridgeTransactor) Burn(opts *bind.TransactOpts, _token common.Address, _amount *big.Int, _withdrawAccount common.Address, _nonce uint64) (*types.Transaction, error)

Burn is a paid mutator transaction binding the contract method 0xde790c7e.

Solidity: function burn(address _token, uint256 _amount, address _withdrawAccount, uint64 _nonce) returns()

func (*PeggedTokenBridgeTransactor) ExecuteDelayedTransfer

func (_PeggedTokenBridge *PeggedTokenBridgeTransactor) ExecuteDelayedTransfer(opts *bind.TransactOpts, id [32]byte) (*types.Transaction, error)

ExecuteDelayedTransfer is a paid mutator transaction binding the contract method 0x9e25fc5c.

Solidity: function executeDelayedTransfer(bytes32 id) returns()

func (*PeggedTokenBridgeTransactor) Mint

func (_PeggedTokenBridge *PeggedTokenBridgeTransactor) Mint(opts *bind.TransactOpts, _request []byte, _sigs [][]byte, _signers []common.Address, _powers []*big.Int) (*types.Transaction, error)

Mint is a paid mutator transaction binding the contract method 0xf8734302.

Solidity: function mint(bytes _request, bytes[] _sigs, address[] _signers, uint256[] _powers) returns()

func (*PeggedTokenBridgeTransactor) Pause

func (_PeggedTokenBridge *PeggedTokenBridgeTransactor) Pause(opts *bind.TransactOpts) (*types.Transaction, error)

Pause is a paid mutator transaction binding the contract method 0x8456cb59.

Solidity: function pause() returns()

func (*PeggedTokenBridgeTransactor) RemoveGovernor

func (_PeggedTokenBridge *PeggedTokenBridgeTransactor) RemoveGovernor(opts *bind.TransactOpts, _account common.Address) (*types.Transaction, error)

RemoveGovernor is a paid mutator transaction binding the contract method 0xeecdac88.

Solidity: function removeGovernor(address _account) returns()

func (*PeggedTokenBridgeTransactor) RemovePauser

func (_PeggedTokenBridge *PeggedTokenBridgeTransactor) RemovePauser(opts *bind.TransactOpts, account common.Address) (*types.Transaction, error)

RemovePauser is a paid mutator transaction binding the contract method 0x6b2c0f55.

Solidity: function removePauser(address account) returns()

func (*PeggedTokenBridgeTransactor) RenounceGovernor

func (_PeggedTokenBridge *PeggedTokenBridgeTransactor) RenounceGovernor(opts *bind.TransactOpts) (*types.Transaction, error)

RenounceGovernor is a paid mutator transaction binding the contract method 0xe026049c.

Solidity: function renounceGovernor() returns()

func (*PeggedTokenBridgeTransactor) RenouncePauser

func (_PeggedTokenBridge *PeggedTokenBridgeTransactor) RenouncePauser(opts *bind.TransactOpts) (*types.Transaction, error)

RenouncePauser is a paid mutator transaction binding the contract method 0x6ef8d66d.

Solidity: function renouncePauser() returns()

func (*PeggedTokenBridgeTransactor) SetDelayPeriod

func (_PeggedTokenBridge *PeggedTokenBridgeTransactor) SetDelayPeriod(opts *bind.TransactOpts, _period *big.Int) (*types.Transaction, error)

SetDelayPeriod is a paid mutator transaction binding the contract method 0x3d572107.

Solidity: function setDelayPeriod(uint256 _period) returns()

func (*PeggedTokenBridgeTransactor) SetDelayThresholds

func (_PeggedTokenBridge *PeggedTokenBridgeTransactor) SetDelayThresholds(opts *bind.TransactOpts, _tokens []common.Address, _thresholds []*big.Int) (*types.Transaction, error)

SetDelayThresholds is a paid mutator transaction binding the contract method 0x17bdbae5.

Solidity: function setDelayThresholds(address[] _tokens, uint256[] _thresholds) returns()

func (*PeggedTokenBridgeTransactor) SetEpochLength

func (_PeggedTokenBridge *PeggedTokenBridgeTransactor) SetEpochLength(opts *bind.TransactOpts, _length *big.Int) (*types.Transaction, error)

SetEpochLength is a paid mutator transaction binding the contract method 0x54eea796.

Solidity: function setEpochLength(uint256 _length) returns()

func (*PeggedTokenBridgeTransactor) SetEpochVolumeCaps

func (_PeggedTokenBridge *PeggedTokenBridgeTransactor) SetEpochVolumeCaps(opts *bind.TransactOpts, _tokens []common.Address, _caps []*big.Int) (*types.Transaction, error)

SetEpochVolumeCaps is a paid mutator transaction binding the contract method 0x47b16c6c.

Solidity: function setEpochVolumeCaps(address[] _tokens, uint256[] _caps) returns()

func (*PeggedTokenBridgeTransactor) SetMaxBurn

func (_PeggedTokenBridge *PeggedTokenBridgeTransactor) SetMaxBurn(opts *bind.TransactOpts, _tokens []common.Address, _amounts []*big.Int) (*types.Transaction, error)

SetMaxBurn is a paid mutator transaction binding the contract method 0xf9a8ea08.

Solidity: function setMaxBurn(address[] _tokens, uint256[] _amounts) returns()

func (*PeggedTokenBridgeTransactor) SetMinBurn

func (_PeggedTokenBridge *PeggedTokenBridgeTransactor) SetMinBurn(opts *bind.TransactOpts, _tokens []common.Address, _amounts []*big.Int) (*types.Transaction, error)

SetMinBurn is a paid mutator transaction binding the contract method 0xbf4816f0.

Solidity: function setMinBurn(address[] _tokens, uint256[] _amounts) returns()

func (*PeggedTokenBridgeTransactor) TransferOwnership

func (_PeggedTokenBridge *PeggedTokenBridgeTransactor) 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 (*PeggedTokenBridgeTransactor) Unpause

func (_PeggedTokenBridge *PeggedTokenBridgeTransactor) Unpause(opts *bind.TransactOpts) (*types.Transaction, error)

Unpause is a paid mutator transaction binding the contract method 0x3f4ba83a.

Solidity: function unpause() returns()

type PeggedTokenBridgeTransactorRaw

type PeggedTokenBridgeTransactorRaw struct {
	Contract *PeggedTokenBridgeTransactor // Generic write-only contract binding to access the raw methods on
}

PeggedTokenBridgeTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.

func (*PeggedTokenBridgeTransactorRaw) Transact

func (_PeggedTokenBridge *PeggedTokenBridgeTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*PeggedTokenBridgeTransactorRaw) Transfer

func (_PeggedTokenBridge *PeggedTokenBridgeTransactorRaw) 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 PeggedTokenBridgeTransactorSession

type PeggedTokenBridgeTransactorSession struct {
	Contract     *PeggedTokenBridgeTransactor // Generic contract transactor binding to set the session for
	TransactOpts bind.TransactOpts            // Transaction auth options to use throughout this session
}

PeggedTokenBridgeTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.

func (*PeggedTokenBridgeTransactorSession) AddGovernor

func (_PeggedTokenBridge *PeggedTokenBridgeTransactorSession) AddGovernor(_account common.Address) (*types.Transaction, error)

AddGovernor is a paid mutator transaction binding the contract method 0x3c4a25d0.

Solidity: function addGovernor(address _account) returns()

func (*PeggedTokenBridgeTransactorSession) AddPauser

func (_PeggedTokenBridge *PeggedTokenBridgeTransactorSession) AddPauser(account common.Address) (*types.Transaction, error)

AddPauser is a paid mutator transaction binding the contract method 0x82dc1ec4.

Solidity: function addPauser(address account) returns()

func (*PeggedTokenBridgeTransactorSession) Burn

func (_PeggedTokenBridge *PeggedTokenBridgeTransactorSession) Burn(_token common.Address, _amount *big.Int, _withdrawAccount common.Address, _nonce uint64) (*types.Transaction, error)

Burn is a paid mutator transaction binding the contract method 0xde790c7e.

Solidity: function burn(address _token, uint256 _amount, address _withdrawAccount, uint64 _nonce) returns()

func (*PeggedTokenBridgeTransactorSession) ExecuteDelayedTransfer

func (_PeggedTokenBridge *PeggedTokenBridgeTransactorSession) ExecuteDelayedTransfer(id [32]byte) (*types.Transaction, error)

ExecuteDelayedTransfer is a paid mutator transaction binding the contract method 0x9e25fc5c.

Solidity: function executeDelayedTransfer(bytes32 id) returns()

func (*PeggedTokenBridgeTransactorSession) Mint

func (_PeggedTokenBridge *PeggedTokenBridgeTransactorSession) Mint(_request []byte, _sigs [][]byte, _signers []common.Address, _powers []*big.Int) (*types.Transaction, error)

Mint is a paid mutator transaction binding the contract method 0xf8734302.

Solidity: function mint(bytes _request, bytes[] _sigs, address[] _signers, uint256[] _powers) returns()

func (*PeggedTokenBridgeTransactorSession) Pause

func (_PeggedTokenBridge *PeggedTokenBridgeTransactorSession) Pause() (*types.Transaction, error)

Pause is a paid mutator transaction binding the contract method 0x8456cb59.

Solidity: function pause() returns()

func (*PeggedTokenBridgeTransactorSession) RemoveGovernor

func (_PeggedTokenBridge *PeggedTokenBridgeTransactorSession) RemoveGovernor(_account common.Address) (*types.Transaction, error)

RemoveGovernor is a paid mutator transaction binding the contract method 0xeecdac88.

Solidity: function removeGovernor(address _account) returns()

func (*PeggedTokenBridgeTransactorSession) RemovePauser

func (_PeggedTokenBridge *PeggedTokenBridgeTransactorSession) RemovePauser(account common.Address) (*types.Transaction, error)

RemovePauser is a paid mutator transaction binding the contract method 0x6b2c0f55.

Solidity: function removePauser(address account) returns()

func (*PeggedTokenBridgeTransactorSession) RenounceGovernor

func (_PeggedTokenBridge *PeggedTokenBridgeTransactorSession) RenounceGovernor() (*types.Transaction, error)

RenounceGovernor is a paid mutator transaction binding the contract method 0xe026049c.

Solidity: function renounceGovernor() returns()

func (*PeggedTokenBridgeTransactorSession) RenouncePauser

func (_PeggedTokenBridge *PeggedTokenBridgeTransactorSession) RenouncePauser() (*types.Transaction, error)

RenouncePauser is a paid mutator transaction binding the contract method 0x6ef8d66d.

Solidity: function renouncePauser() returns()

func (*PeggedTokenBridgeTransactorSession) SetDelayPeriod

func (_PeggedTokenBridge *PeggedTokenBridgeTransactorSession) SetDelayPeriod(_period *big.Int) (*types.Transaction, error)

SetDelayPeriod is a paid mutator transaction binding the contract method 0x3d572107.

Solidity: function setDelayPeriod(uint256 _period) returns()

func (*PeggedTokenBridgeTransactorSession) SetDelayThresholds

func (_PeggedTokenBridge *PeggedTokenBridgeTransactorSession) SetDelayThresholds(_tokens []common.Address, _thresholds []*big.Int) (*types.Transaction, error)

SetDelayThresholds is a paid mutator transaction binding the contract method 0x17bdbae5.

Solidity: function setDelayThresholds(address[] _tokens, uint256[] _thresholds) returns()

func (*PeggedTokenBridgeTransactorSession) SetEpochLength

func (_PeggedTokenBridge *PeggedTokenBridgeTransactorSession) SetEpochLength(_length *big.Int) (*types.Transaction, error)

SetEpochLength is a paid mutator transaction binding the contract method 0x54eea796.

Solidity: function setEpochLength(uint256 _length) returns()

func (*PeggedTokenBridgeTransactorSession) SetEpochVolumeCaps

func (_PeggedTokenBridge *PeggedTokenBridgeTransactorSession) SetEpochVolumeCaps(_tokens []common.Address, _caps []*big.Int) (*types.Transaction, error)

SetEpochVolumeCaps is a paid mutator transaction binding the contract method 0x47b16c6c.

Solidity: function setEpochVolumeCaps(address[] _tokens, uint256[] _caps) returns()

func (*PeggedTokenBridgeTransactorSession) SetMaxBurn

func (_PeggedTokenBridge *PeggedTokenBridgeTransactorSession) SetMaxBurn(_tokens []common.Address, _amounts []*big.Int) (*types.Transaction, error)

SetMaxBurn is a paid mutator transaction binding the contract method 0xf9a8ea08.

Solidity: function setMaxBurn(address[] _tokens, uint256[] _amounts) returns()

func (*PeggedTokenBridgeTransactorSession) SetMinBurn

func (_PeggedTokenBridge *PeggedTokenBridgeTransactorSession) SetMinBurn(_tokens []common.Address, _amounts []*big.Int) (*types.Transaction, error)

SetMinBurn is a paid mutator transaction binding the contract method 0xbf4816f0.

Solidity: function setMinBurn(address[] _tokens, uint256[] _amounts) returns()

func (*PeggedTokenBridgeTransactorSession) TransferOwnership

func (_PeggedTokenBridge *PeggedTokenBridgeTransactorSession) 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 (*PeggedTokenBridgeTransactorSession) Unpause

func (_PeggedTokenBridge *PeggedTokenBridgeTransactorSession) Unpause() (*types.Transaction, error)

Unpause is a paid mutator transaction binding the contract method 0x3f4ba83a.

Solidity: function unpause() returns()

type PeggedTokenBridgeUnpaused

type PeggedTokenBridgeUnpaused struct {
	Account common.Address
	Raw     types.Log // Blockchain specific contextual infos
}

PeggedTokenBridgeUnpaused represents a Unpaused event raised by the PeggedTokenBridge contract.

type PeggedTokenBridgeUnpausedIterator

type PeggedTokenBridgeUnpausedIterator struct {
	Event *PeggedTokenBridgeUnpaused // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

PeggedTokenBridgeUnpausedIterator is returned from FilterUnpaused and is used to iterate over the raw logs and unpacked data for Unpaused events raised by the PeggedTokenBridge contract.

func (*PeggedTokenBridgeUnpausedIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*PeggedTokenBridgeUnpausedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*PeggedTokenBridgeUnpausedIterator) 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 PeggedTokenBridgeV2

type PeggedTokenBridgeV2 struct {
	PeggedTokenBridgeV2Caller     // Read-only binding to the contract
	PeggedTokenBridgeV2Transactor // Write-only binding to the contract
	PeggedTokenBridgeV2Filterer   // Log filterer for contract events
}

PeggedTokenBridgeV2 is an auto generated Go binding around an Ethereum contract.

func DeployPeggedTokenBridgeV2

func DeployPeggedTokenBridgeV2(auth *bind.TransactOpts, backend bind.ContractBackend, _sigsVerifier common.Address) (common.Address, *types.Transaction, *PeggedTokenBridgeV2, error)

DeployPeggedTokenBridgeV2 deploys a new Ethereum contract, binding an instance of PeggedTokenBridgeV2 to it.

func NewPeggedTokenBridgeV2

func NewPeggedTokenBridgeV2(address common.Address, backend bind.ContractBackend) (*PeggedTokenBridgeV2, error)

NewPeggedTokenBridgeV2 creates a new instance of PeggedTokenBridgeV2, bound to a specific deployed contract.

type PeggedTokenBridgeV2Burn

type PeggedTokenBridgeV2Burn struct {
	BurnId    [32]byte
	Token     common.Address
	Account   common.Address
	Amount    *big.Int
	ToChainId uint64
	ToAccount common.Address
	Nonce     uint64
	Raw       types.Log // Blockchain specific contextual infos
}

PeggedTokenBridgeV2Burn represents a Burn event raised by the PeggedTokenBridgeV2 contract.

func (*PeggedTokenBridgeV2Burn) PrettyLog

func (ev *PeggedTokenBridgeV2Burn) PrettyLog(onchid uint64) string

func (*PeggedTokenBridgeV2Burn) String

func (ev *PeggedTokenBridgeV2Burn) String() string

type PeggedTokenBridgeV2BurnIterator

type PeggedTokenBridgeV2BurnIterator struct {
	Event *PeggedTokenBridgeV2Burn // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

PeggedTokenBridgeV2BurnIterator is returned from FilterBurn and is used to iterate over the raw logs and unpacked data for Burn events raised by the PeggedTokenBridgeV2 contract.

func (*PeggedTokenBridgeV2BurnIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*PeggedTokenBridgeV2BurnIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*PeggedTokenBridgeV2BurnIterator) 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 PeggedTokenBridgeV2Caller

type PeggedTokenBridgeV2Caller struct {
	// contains filtered or unexported fields
}

PeggedTokenBridgeV2Caller is an auto generated read-only Go binding around an Ethereum contract.

func NewPeggedTokenBridgeV2Caller

func NewPeggedTokenBridgeV2Caller(address common.Address, caller bind.ContractCaller) (*PeggedTokenBridgeV2Caller, error)

NewPeggedTokenBridgeV2Caller creates a new read-only instance of PeggedTokenBridgeV2, bound to a specific deployed contract.

func (*PeggedTokenBridgeV2Caller) DelayPeriod

func (_PeggedTokenBridgeV2 *PeggedTokenBridgeV2Caller) DelayPeriod(opts *bind.CallOpts) (*big.Int, error)

DelayPeriod is a free data retrieval call binding the contract method 0xb1c94d94.

Solidity: function delayPeriod() view returns(uint256)

func (*PeggedTokenBridgeV2Caller) DelayThresholds

func (_PeggedTokenBridgeV2 *PeggedTokenBridgeV2Caller) DelayThresholds(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)

DelayThresholds is a free data retrieval call binding the contract method 0x52532faa.

Solidity: function delayThresholds(address ) view returns(uint256)

func (*PeggedTokenBridgeV2Caller) DelayedTransfers

func (_PeggedTokenBridgeV2 *PeggedTokenBridgeV2Caller) DelayedTransfers(opts *bind.CallOpts, arg0 [32]byte) (struct {
	Receiver  common.Address
	Token     common.Address
	Amount    *big.Int
	Timestamp *big.Int
}, error)

DelayedTransfers is a free data retrieval call binding the contract method 0xadc0d57f.

Solidity: function delayedTransfers(bytes32 ) view returns(address receiver, address token, uint256 amount, uint256 timestamp)

func (*PeggedTokenBridgeV2Caller) EpochLength

func (_PeggedTokenBridgeV2 *PeggedTokenBridgeV2Caller) EpochLength(opts *bind.CallOpts) (*big.Int, error)

EpochLength is a free data retrieval call binding the contract method 0x57d775f8.

Solidity: function epochLength() view returns(uint256)

func (*PeggedTokenBridgeV2Caller) EpochVolumeCaps

func (_PeggedTokenBridgeV2 *PeggedTokenBridgeV2Caller) EpochVolumeCaps(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)

EpochVolumeCaps is a free data retrieval call binding the contract method 0xb5f2bc47.

Solidity: function epochVolumeCaps(address ) view returns(uint256)

func (*PeggedTokenBridgeV2Caller) EpochVolumes

func (_PeggedTokenBridgeV2 *PeggedTokenBridgeV2Caller) EpochVolumes(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)

EpochVolumes is a free data retrieval call binding the contract method 0x60216b00.

Solidity: function epochVolumes(address ) view returns(uint256)

func (*PeggedTokenBridgeV2Caller) Governors

func (_PeggedTokenBridgeV2 *PeggedTokenBridgeV2Caller) Governors(opts *bind.CallOpts, arg0 common.Address) (bool, error)

Governors is a free data retrieval call binding the contract method 0xe3eece26.

Solidity: function governors(address ) view returns(bool)

func (*PeggedTokenBridgeV2Caller) IsGovernor

func (_PeggedTokenBridgeV2 *PeggedTokenBridgeV2Caller) IsGovernor(opts *bind.CallOpts, _account common.Address) (bool, error)

IsGovernor is a free data retrieval call binding the contract method 0xe43581b8.

Solidity: function isGovernor(address _account) view returns(bool)

func (*PeggedTokenBridgeV2Caller) IsPauser

func (_PeggedTokenBridgeV2 *PeggedTokenBridgeV2Caller) IsPauser(opts *bind.CallOpts, account common.Address) (bool, error)

IsPauser is a free data retrieval call binding the contract method 0x46fbf68e.

Solidity: function isPauser(address account) view returns(bool)

func (*PeggedTokenBridgeV2Caller) LastOpTimestamps

func (_PeggedTokenBridgeV2 *PeggedTokenBridgeV2Caller) LastOpTimestamps(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)

LastOpTimestamps is a free data retrieval call binding the contract method 0xf8321383.

Solidity: function lastOpTimestamps(address ) view returns(uint256)

func (*PeggedTokenBridgeV2Caller) MaxBurn

func (_PeggedTokenBridgeV2 *PeggedTokenBridgeV2Caller) MaxBurn(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)

MaxBurn is a free data retrieval call binding the contract method 0x497bf3b2.

Solidity: function maxBurn(address ) view returns(uint256)

func (*PeggedTokenBridgeV2Caller) MinBurn

func (_PeggedTokenBridgeV2 *PeggedTokenBridgeV2Caller) MinBurn(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)

MinBurn is a free data retrieval call binding the contract method 0x7f856013.

Solidity: function minBurn(address ) view returns(uint256)

func (*PeggedTokenBridgeV2Caller) Owner

func (_PeggedTokenBridgeV2 *PeggedTokenBridgeV2Caller) 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 (*PeggedTokenBridgeV2Caller) Paused

func (_PeggedTokenBridgeV2 *PeggedTokenBridgeV2Caller) Paused(opts *bind.CallOpts) (bool, error)

Paused is a free data retrieval call binding the contract method 0x5c975abb.

Solidity: function paused() view returns(bool)

func (*PeggedTokenBridgeV2Caller) Pausers

func (_PeggedTokenBridgeV2 *PeggedTokenBridgeV2Caller) Pausers(opts *bind.CallOpts, arg0 common.Address) (bool, error)

Pausers is a free data retrieval call binding the contract method 0x80f51c12.

Solidity: function pausers(address ) view returns(bool)

func (*PeggedTokenBridgeV2Caller) Records

func (_PeggedTokenBridgeV2 *PeggedTokenBridgeV2Caller) Records(opts *bind.CallOpts, arg0 [32]byte) (bool, error)

Records is a free data retrieval call binding the contract method 0x01e64725.

Solidity: function records(bytes32 ) view returns(bool)

func (*PeggedTokenBridgeV2Caller) SigsVerifier

func (_PeggedTokenBridgeV2 *PeggedTokenBridgeV2Caller) SigsVerifier(opts *bind.CallOpts) (common.Address, error)

SigsVerifier is a free data retrieval call binding the contract method 0xccf2683b.

Solidity: function sigsVerifier() view returns(address)

func (*PeggedTokenBridgeV2Caller) Supplies

func (_PeggedTokenBridgeV2 *PeggedTokenBridgeV2Caller) Supplies(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)

Supplies is a free data retrieval call binding the contract method 0x274cee31.

Solidity: function supplies(address ) view returns(uint256)

type PeggedTokenBridgeV2CallerRaw

type PeggedTokenBridgeV2CallerRaw struct {
	Contract *PeggedTokenBridgeV2Caller // Generic read-only contract binding to access the raw methods on
}

PeggedTokenBridgeV2CallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.

func (*PeggedTokenBridgeV2CallerRaw) Call

func (_PeggedTokenBridgeV2 *PeggedTokenBridgeV2CallerRaw) 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 PeggedTokenBridgeV2CallerSession

type PeggedTokenBridgeV2CallerSession struct {
	Contract *PeggedTokenBridgeV2Caller // Generic contract caller binding to set the session for
	CallOpts bind.CallOpts              // Call options to use throughout this session
}

PeggedTokenBridgeV2CallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.

func (*PeggedTokenBridgeV2CallerSession) DelayPeriod

func (_PeggedTokenBridgeV2 *PeggedTokenBridgeV2CallerSession) DelayPeriod() (*big.Int, error)

DelayPeriod is a free data retrieval call binding the contract method 0xb1c94d94.

Solidity: function delayPeriod() view returns(uint256)

func (*PeggedTokenBridgeV2CallerSession) DelayThresholds

func (_PeggedTokenBridgeV2 *PeggedTokenBridgeV2CallerSession) DelayThresholds(arg0 common.Address) (*big.Int, error)

DelayThresholds is a free data retrieval call binding the contract method 0x52532faa.

Solidity: function delayThresholds(address ) view returns(uint256)

func (*PeggedTokenBridgeV2CallerSession) DelayedTransfers

func (_PeggedTokenBridgeV2 *PeggedTokenBridgeV2CallerSession) DelayedTransfers(arg0 [32]byte) (struct {
	Receiver  common.Address
	Token     common.Address
	Amount    *big.Int
	Timestamp *big.Int
}, error)

DelayedTransfers is a free data retrieval call binding the contract method 0xadc0d57f.

Solidity: function delayedTransfers(bytes32 ) view returns(address receiver, address token, uint256 amount, uint256 timestamp)

func (*PeggedTokenBridgeV2CallerSession) EpochLength

func (_PeggedTokenBridgeV2 *PeggedTokenBridgeV2CallerSession) EpochLength() (*big.Int, error)

EpochLength is a free data retrieval call binding the contract method 0x57d775f8.

Solidity: function epochLength() view returns(uint256)

func (*PeggedTokenBridgeV2CallerSession) EpochVolumeCaps

func (_PeggedTokenBridgeV2 *PeggedTokenBridgeV2CallerSession) EpochVolumeCaps(arg0 common.Address) (*big.Int, error)

EpochVolumeCaps is a free data retrieval call binding the contract method 0xb5f2bc47.

Solidity: function epochVolumeCaps(address ) view returns(uint256)

func (*PeggedTokenBridgeV2CallerSession) EpochVolumes

func (_PeggedTokenBridgeV2 *PeggedTokenBridgeV2CallerSession) EpochVolumes(arg0 common.Address) (*big.Int, error)

EpochVolumes is a free data retrieval call binding the contract method 0x60216b00.

Solidity: function epochVolumes(address ) view returns(uint256)

func (*PeggedTokenBridgeV2CallerSession) Governors

func (_PeggedTokenBridgeV2 *PeggedTokenBridgeV2CallerSession) Governors(arg0 common.Address) (bool, error)

Governors is a free data retrieval call binding the contract method 0xe3eece26.

Solidity: function governors(address ) view returns(bool)

func (*PeggedTokenBridgeV2CallerSession) IsGovernor

func (_PeggedTokenBridgeV2 *PeggedTokenBridgeV2CallerSession) IsGovernor(_account common.Address) (bool, error)

IsGovernor is a free data retrieval call binding the contract method 0xe43581b8.

Solidity: function isGovernor(address _account) view returns(bool)

func (*PeggedTokenBridgeV2CallerSession) IsPauser

func (_PeggedTokenBridgeV2 *PeggedTokenBridgeV2CallerSession) IsPauser(account common.Address) (bool, error)

IsPauser is a free data retrieval call binding the contract method 0x46fbf68e.

Solidity: function isPauser(address account) view returns(bool)

func (*PeggedTokenBridgeV2CallerSession) LastOpTimestamps

func (_PeggedTokenBridgeV2 *PeggedTokenBridgeV2CallerSession) LastOpTimestamps(arg0 common.Address) (*big.Int, error)

LastOpTimestamps is a free data retrieval call binding the contract method 0xf8321383.

Solidity: function lastOpTimestamps(address ) view returns(uint256)

func (*PeggedTokenBridgeV2CallerSession) MaxBurn

func (_PeggedTokenBridgeV2 *PeggedTokenBridgeV2CallerSession) MaxBurn(arg0 common.Address) (*big.Int, error)

MaxBurn is a free data retrieval call binding the contract method 0x497bf3b2.

Solidity: function maxBurn(address ) view returns(uint256)

func (*PeggedTokenBridgeV2CallerSession) MinBurn

func (_PeggedTokenBridgeV2 *PeggedTokenBridgeV2CallerSession) MinBurn(arg0 common.Address) (*big.Int, error)

MinBurn is a free data retrieval call binding the contract method 0x7f856013.

Solidity: function minBurn(address ) view returns(uint256)

func (*PeggedTokenBridgeV2CallerSession) Owner

func (_PeggedTokenBridgeV2 *PeggedTokenBridgeV2CallerSession) Owner() (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() view returns(address)

func (*PeggedTokenBridgeV2CallerSession) Paused

func (_PeggedTokenBridgeV2 *PeggedTokenBridgeV2CallerSession) Paused() (bool, error)

Paused is a free data retrieval call binding the contract method 0x5c975abb.

Solidity: function paused() view returns(bool)

func (*PeggedTokenBridgeV2CallerSession) Pausers

func (_PeggedTokenBridgeV2 *PeggedTokenBridgeV2CallerSession) Pausers(arg0 common.Address) (bool, error)

Pausers is a free data retrieval call binding the contract method 0x80f51c12.

Solidity: function pausers(address ) view returns(bool)

func (*PeggedTokenBridgeV2CallerSession) Records

func (_PeggedTokenBridgeV2 *PeggedTokenBridgeV2CallerSession) Records(arg0 [32]byte) (bool, error)

Records is a free data retrieval call binding the contract method 0x01e64725.

Solidity: function records(bytes32 ) view returns(bool)

func (*PeggedTokenBridgeV2CallerSession) SigsVerifier

func (_PeggedTokenBridgeV2 *PeggedTokenBridgeV2CallerSession) SigsVerifier() (common.Address, error)

SigsVerifier is a free data retrieval call binding the contract method 0xccf2683b.

Solidity: function sigsVerifier() view returns(address)

func (*PeggedTokenBridgeV2CallerSession) Supplies

func (_PeggedTokenBridgeV2 *PeggedTokenBridgeV2CallerSession) Supplies(arg0 common.Address) (*big.Int, error)

Supplies is a free data retrieval call binding the contract method 0x274cee31.

Solidity: function supplies(address ) view returns(uint256)

type PeggedTokenBridgeV2DelayPeriodUpdated

type PeggedTokenBridgeV2DelayPeriodUpdated struct {
	Period *big.Int
	Raw    types.Log // Blockchain specific contextual infos
}

PeggedTokenBridgeV2DelayPeriodUpdated represents a DelayPeriodUpdated event raised by the PeggedTokenBridgeV2 contract.

type PeggedTokenBridgeV2DelayPeriodUpdatedIterator

type PeggedTokenBridgeV2DelayPeriodUpdatedIterator struct {
	Event *PeggedTokenBridgeV2DelayPeriodUpdated // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

PeggedTokenBridgeV2DelayPeriodUpdatedIterator is returned from FilterDelayPeriodUpdated and is used to iterate over the raw logs and unpacked data for DelayPeriodUpdated events raised by the PeggedTokenBridgeV2 contract.

func (*PeggedTokenBridgeV2DelayPeriodUpdatedIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*PeggedTokenBridgeV2DelayPeriodUpdatedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*PeggedTokenBridgeV2DelayPeriodUpdatedIterator) 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 PeggedTokenBridgeV2DelayThresholdUpdated

type PeggedTokenBridgeV2DelayThresholdUpdated struct {
	Token     common.Address
	Threshold *big.Int
	Raw       types.Log // Blockchain specific contextual infos
}

PeggedTokenBridgeV2DelayThresholdUpdated represents a DelayThresholdUpdated event raised by the PeggedTokenBridgeV2 contract.

type PeggedTokenBridgeV2DelayThresholdUpdatedIterator

type PeggedTokenBridgeV2DelayThresholdUpdatedIterator struct {
	Event *PeggedTokenBridgeV2DelayThresholdUpdated // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

PeggedTokenBridgeV2DelayThresholdUpdatedIterator is returned from FilterDelayThresholdUpdated and is used to iterate over the raw logs and unpacked data for DelayThresholdUpdated events raised by the PeggedTokenBridgeV2 contract.

func (*PeggedTokenBridgeV2DelayThresholdUpdatedIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*PeggedTokenBridgeV2DelayThresholdUpdatedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*PeggedTokenBridgeV2DelayThresholdUpdatedIterator) 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 PeggedTokenBridgeV2DelayedTransferAdded

type PeggedTokenBridgeV2DelayedTransferAdded struct {
	Id  [32]byte
	Raw types.Log // Blockchain specific contextual infos
}

PeggedTokenBridgeV2DelayedTransferAdded represents a DelayedTransferAdded event raised by the PeggedTokenBridgeV2 contract.

type PeggedTokenBridgeV2DelayedTransferAddedIterator

type PeggedTokenBridgeV2DelayedTransferAddedIterator struct {
	Event *PeggedTokenBridgeV2DelayedTransferAdded // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

PeggedTokenBridgeV2DelayedTransferAddedIterator is returned from FilterDelayedTransferAdded and is used to iterate over the raw logs and unpacked data for DelayedTransferAdded events raised by the PeggedTokenBridgeV2 contract.

func (*PeggedTokenBridgeV2DelayedTransferAddedIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*PeggedTokenBridgeV2DelayedTransferAddedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*PeggedTokenBridgeV2DelayedTransferAddedIterator) 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 PeggedTokenBridgeV2DelayedTransferExecuted

type PeggedTokenBridgeV2DelayedTransferExecuted struct {
	Id       [32]byte
	Receiver common.Address
	Token    common.Address
	Amount   *big.Int
	Raw      types.Log // Blockchain specific contextual infos
}

PeggedTokenBridgeV2DelayedTransferExecuted represents a DelayedTransferExecuted event raised by the PeggedTokenBridgeV2 contract.

type PeggedTokenBridgeV2DelayedTransferExecutedIterator

type PeggedTokenBridgeV2DelayedTransferExecutedIterator struct {
	Event *PeggedTokenBridgeV2DelayedTransferExecuted // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

PeggedTokenBridgeV2DelayedTransferExecutedIterator is returned from FilterDelayedTransferExecuted and is used to iterate over the raw logs and unpacked data for DelayedTransferExecuted events raised by the PeggedTokenBridgeV2 contract.

func (*PeggedTokenBridgeV2DelayedTransferExecutedIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*PeggedTokenBridgeV2DelayedTransferExecutedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*PeggedTokenBridgeV2DelayedTransferExecutedIterator) 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 PeggedTokenBridgeV2EpochLengthUpdated

type PeggedTokenBridgeV2EpochLengthUpdated struct {
	Length *big.Int
	Raw    types.Log // Blockchain specific contextual infos
}

PeggedTokenBridgeV2EpochLengthUpdated represents a EpochLengthUpdated event raised by the PeggedTokenBridgeV2 contract.

type PeggedTokenBridgeV2EpochLengthUpdatedIterator

type PeggedTokenBridgeV2EpochLengthUpdatedIterator struct {
	Event *PeggedTokenBridgeV2EpochLengthUpdated // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

PeggedTokenBridgeV2EpochLengthUpdatedIterator is returned from FilterEpochLengthUpdated and is used to iterate over the raw logs and unpacked data for EpochLengthUpdated events raised by the PeggedTokenBridgeV2 contract.

func (*PeggedTokenBridgeV2EpochLengthUpdatedIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*PeggedTokenBridgeV2EpochLengthUpdatedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*PeggedTokenBridgeV2EpochLengthUpdatedIterator) 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 PeggedTokenBridgeV2EpochVolumeUpdated

type PeggedTokenBridgeV2EpochVolumeUpdated struct {
	Token common.Address
	Cap   *big.Int
	Raw   types.Log // Blockchain specific contextual infos
}

PeggedTokenBridgeV2EpochVolumeUpdated represents a EpochVolumeUpdated event raised by the PeggedTokenBridgeV2 contract.

type PeggedTokenBridgeV2EpochVolumeUpdatedIterator

type PeggedTokenBridgeV2EpochVolumeUpdatedIterator struct {
	Event *PeggedTokenBridgeV2EpochVolumeUpdated // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

PeggedTokenBridgeV2EpochVolumeUpdatedIterator is returned from FilterEpochVolumeUpdated and is used to iterate over the raw logs and unpacked data for EpochVolumeUpdated events raised by the PeggedTokenBridgeV2 contract.

func (*PeggedTokenBridgeV2EpochVolumeUpdatedIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*PeggedTokenBridgeV2EpochVolumeUpdatedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*PeggedTokenBridgeV2EpochVolumeUpdatedIterator) 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 PeggedTokenBridgeV2Filterer

type PeggedTokenBridgeV2Filterer struct {
	// contains filtered or unexported fields
}

PeggedTokenBridgeV2Filterer is an auto generated log filtering Go binding around an Ethereum contract events.

func NewPeggedTokenBridgeV2Filterer

func NewPeggedTokenBridgeV2Filterer(address common.Address, filterer bind.ContractFilterer) (*PeggedTokenBridgeV2Filterer, error)

NewPeggedTokenBridgeV2Filterer creates a new log filterer instance of PeggedTokenBridgeV2, bound to a specific deployed contract.

func (*PeggedTokenBridgeV2Filterer) FilterBurn

func (_PeggedTokenBridgeV2 *PeggedTokenBridgeV2Filterer) FilterBurn(opts *bind.FilterOpts) (*PeggedTokenBridgeV2BurnIterator, error)

FilterBurn is a free log retrieval operation binding the contract event 0x6298d7b58f235730b3b399dc5c282f15dae8b022e5fbbf89cee21fd83c8810a3.

Solidity: event Burn(bytes32 burnId, address token, address account, uint256 amount, uint64 toChainId, address toAccount, uint64 nonce)

func (*PeggedTokenBridgeV2Filterer) FilterDelayPeriodUpdated

func (_PeggedTokenBridgeV2 *PeggedTokenBridgeV2Filterer) FilterDelayPeriodUpdated(opts *bind.FilterOpts) (*PeggedTokenBridgeV2DelayPeriodUpdatedIterator, error)

FilterDelayPeriodUpdated is a free log retrieval operation binding the contract event 0xc0a39f234199b125fb93713c4d067bdcebbf691087f87b79c0feb92b156ba8b6.

Solidity: event DelayPeriodUpdated(uint256 period)

func (*PeggedTokenBridgeV2Filterer) FilterDelayThresholdUpdated

func (_PeggedTokenBridgeV2 *PeggedTokenBridgeV2Filterer) FilterDelayThresholdUpdated(opts *bind.FilterOpts) (*PeggedTokenBridgeV2DelayThresholdUpdatedIterator, error)

FilterDelayThresholdUpdated is a free log retrieval operation binding the contract event 0xceaad6533bfb481492fb3e08ef19297f46611b8fa9de5ef4cf8dc23a56ad09ce.

Solidity: event DelayThresholdUpdated(address token, uint256 threshold)

func (*PeggedTokenBridgeV2Filterer) FilterDelayedTransferAdded

func (_PeggedTokenBridgeV2 *PeggedTokenBridgeV2Filterer) FilterDelayedTransferAdded(opts *bind.FilterOpts) (*PeggedTokenBridgeV2DelayedTransferAddedIterator, error)

FilterDelayedTransferAdded is a free log retrieval operation binding the contract event 0xcbcfffe5102114216a85d3aceb14ad4b81a3935b1b5c468fadf3889eb9c5dce6.

Solidity: event DelayedTransferAdded(bytes32 id)

func (*PeggedTokenBridgeV2Filterer) FilterDelayedTransferExecuted

func (_PeggedTokenBridgeV2 *PeggedTokenBridgeV2Filterer) FilterDelayedTransferExecuted(opts *bind.FilterOpts) (*PeggedTokenBridgeV2DelayedTransferExecutedIterator, error)

FilterDelayedTransferExecuted is a free log retrieval operation binding the contract event 0x3b40e5089937425d14cdd96947e5661868357e224af59bd8b24a4b8a330d4426.

Solidity: event DelayedTransferExecuted(bytes32 id, address receiver, address token, uint256 amount)

func (*PeggedTokenBridgeV2Filterer) FilterEpochLengthUpdated

func (_PeggedTokenBridgeV2 *PeggedTokenBridgeV2Filterer) FilterEpochLengthUpdated(opts *bind.FilterOpts) (*PeggedTokenBridgeV2EpochLengthUpdatedIterator, error)

FilterEpochLengthUpdated is a free log retrieval operation binding the contract event 0x2664fec2ff76486ac58ed087310855b648b15b9d19f3de8529e95f7c46b7d6b3.

Solidity: event EpochLengthUpdated(uint256 length)

func (*PeggedTokenBridgeV2Filterer) FilterEpochVolumeUpdated

func (_PeggedTokenBridgeV2 *PeggedTokenBridgeV2Filterer) FilterEpochVolumeUpdated(opts *bind.FilterOpts) (*PeggedTokenBridgeV2EpochVolumeUpdatedIterator, error)

FilterEpochVolumeUpdated is a free log retrieval operation binding the contract event 0x608e49c22994f20b5d3496dca088b88dfd81b4a3e8cc3809ea1e10a320107e89.

Solidity: event EpochVolumeUpdated(address token, uint256 cap)

func (*PeggedTokenBridgeV2Filterer) FilterGovernorAdded

func (_PeggedTokenBridgeV2 *PeggedTokenBridgeV2Filterer) FilterGovernorAdded(opts *bind.FilterOpts) (*PeggedTokenBridgeV2GovernorAddedIterator, error)

FilterGovernorAdded is a free log retrieval operation binding the contract event 0xdc5a48d79e2e147530ff63ecdbed5a5a66adb9d5cf339384d5d076da197c40b5.

Solidity: event GovernorAdded(address account)

func (*PeggedTokenBridgeV2Filterer) FilterGovernorRemoved

func (_PeggedTokenBridgeV2 *PeggedTokenBridgeV2Filterer) FilterGovernorRemoved(opts *bind.FilterOpts) (*PeggedTokenBridgeV2GovernorRemovedIterator, error)

FilterGovernorRemoved is a free log retrieval operation binding the contract event 0x1ebe834e73d60a5fec822c1e1727d34bc79f2ad977ed504581cc1822fe20fb5b.

Solidity: event GovernorRemoved(address account)

func (*PeggedTokenBridgeV2Filterer) FilterMaxBurnUpdated

func (_PeggedTokenBridgeV2 *PeggedTokenBridgeV2Filterer) FilterMaxBurnUpdated(opts *bind.FilterOpts) (*PeggedTokenBridgeV2MaxBurnUpdatedIterator, error)

FilterMaxBurnUpdated is a free log retrieval operation binding the contract event 0xa3181379f6db47d9037efc6b6e8e3efe8c55ddb090b4f0512c152f97c4e47da5.

Solidity: event MaxBurnUpdated(address token, uint256 amount)

func (*PeggedTokenBridgeV2Filterer) FilterMinBurnUpdated

func (_PeggedTokenBridgeV2 *PeggedTokenBridgeV2Filterer) FilterMinBurnUpdated(opts *bind.FilterOpts) (*PeggedTokenBridgeV2MinBurnUpdatedIterator, error)

FilterMinBurnUpdated is a free log retrieval operation binding the contract event 0x3796cd0b17a8734f8da819920625598e9a18be490f686725282e5383f1d06683.

Solidity: event MinBurnUpdated(address token, uint256 amount)

func (*PeggedTokenBridgeV2Filterer) FilterMint

func (_PeggedTokenBridgeV2 *PeggedTokenBridgeV2Filterer) FilterMint(opts *bind.FilterOpts) (*PeggedTokenBridgeV2MintIterator, error)

FilterMint is a free log retrieval operation binding the contract event 0x5bc84ecccfced5bb04bfc7f3efcdbe7f5cd21949ef146811b4d1967fe41f777a.

Solidity: event Mint(bytes32 mintId, address token, address account, uint256 amount, uint64 refChainId, bytes32 refId, address depositor)

func (*PeggedTokenBridgeV2Filterer) FilterOwnershipTransferred

func (_PeggedTokenBridgeV2 *PeggedTokenBridgeV2Filterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*PeggedTokenBridgeV2OwnershipTransferredIterator, error)

FilterOwnershipTransferred is a free log retrieval operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)

func (*PeggedTokenBridgeV2Filterer) FilterPaused

func (_PeggedTokenBridgeV2 *PeggedTokenBridgeV2Filterer) FilterPaused(opts *bind.FilterOpts) (*PeggedTokenBridgeV2PausedIterator, error)

FilterPaused is a free log retrieval operation binding the contract event 0x62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258.

Solidity: event Paused(address account)

func (*PeggedTokenBridgeV2Filterer) FilterPauserAdded

func (_PeggedTokenBridgeV2 *PeggedTokenBridgeV2Filterer) FilterPauserAdded(opts *bind.FilterOpts) (*PeggedTokenBridgeV2PauserAddedIterator, error)

FilterPauserAdded is a free log retrieval operation binding the contract event 0x6719d08c1888103bea251a4ed56406bd0c3e69723c8a1686e017e7bbe159b6f8.

Solidity: event PauserAdded(address account)

func (*PeggedTokenBridgeV2Filterer) FilterPauserRemoved

func (_PeggedTokenBridgeV2 *PeggedTokenBridgeV2Filterer) FilterPauserRemoved(opts *bind.FilterOpts) (*PeggedTokenBridgeV2PauserRemovedIterator, error)

FilterPauserRemoved is a free log retrieval operation binding the contract event 0xcd265ebaf09df2871cc7bd4133404a235ba12eff2041bb89d9c714a2621c7c7e.

Solidity: event PauserRemoved(address account)

func (*PeggedTokenBridgeV2Filterer) FilterSupplyUpdated

func (_PeggedTokenBridgeV2 *PeggedTokenBridgeV2Filterer) FilterSupplyUpdated(opts *bind.FilterOpts) (*PeggedTokenBridgeV2SupplyUpdatedIterator, error)

FilterSupplyUpdated is a free log retrieval operation binding the contract event 0xeb2f7272b55acd6dea98f5742868e8d2221ad82acb36b2d0cdd00150290e9499.

Solidity: event SupplyUpdated(address token, uint256 supply)

func (*PeggedTokenBridgeV2Filterer) FilterUnpaused

func (_PeggedTokenBridgeV2 *PeggedTokenBridgeV2Filterer) FilterUnpaused(opts *bind.FilterOpts) (*PeggedTokenBridgeV2UnpausedIterator, error)

FilterUnpaused is a free log retrieval operation binding the contract event 0x5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa.

Solidity: event Unpaused(address account)

func (*PeggedTokenBridgeV2Filterer) ParseBurn

func (_PeggedTokenBridgeV2 *PeggedTokenBridgeV2Filterer) ParseBurn(log types.Log) (*PeggedTokenBridgeV2Burn, error)

ParseBurn is a log parse operation binding the contract event 0x6298d7b58f235730b3b399dc5c282f15dae8b022e5fbbf89cee21fd83c8810a3.

Solidity: event Burn(bytes32 burnId, address token, address account, uint256 amount, uint64 toChainId, address toAccount, uint64 nonce)

func (*PeggedTokenBridgeV2Filterer) ParseDelayPeriodUpdated

func (_PeggedTokenBridgeV2 *PeggedTokenBridgeV2Filterer) ParseDelayPeriodUpdated(log types.Log) (*PeggedTokenBridgeV2DelayPeriodUpdated, error)

ParseDelayPeriodUpdated is a log parse operation binding the contract event 0xc0a39f234199b125fb93713c4d067bdcebbf691087f87b79c0feb92b156ba8b6.

Solidity: event DelayPeriodUpdated(uint256 period)

func (*PeggedTokenBridgeV2Filterer) ParseDelayThresholdUpdated

func (_PeggedTokenBridgeV2 *PeggedTokenBridgeV2Filterer) ParseDelayThresholdUpdated(log types.Log) (*PeggedTokenBridgeV2DelayThresholdUpdated, error)

ParseDelayThresholdUpdated is a log parse operation binding the contract event 0xceaad6533bfb481492fb3e08ef19297f46611b8fa9de5ef4cf8dc23a56ad09ce.

Solidity: event DelayThresholdUpdated(address token, uint256 threshold)

func (*PeggedTokenBridgeV2Filterer) ParseDelayedTransferAdded

func (_PeggedTokenBridgeV2 *PeggedTokenBridgeV2Filterer) ParseDelayedTransferAdded(log types.Log) (*PeggedTokenBridgeV2DelayedTransferAdded, error)

ParseDelayedTransferAdded is a log parse operation binding the contract event 0xcbcfffe5102114216a85d3aceb14ad4b81a3935b1b5c468fadf3889eb9c5dce6.

Solidity: event DelayedTransferAdded(bytes32 id)

func (*PeggedTokenBridgeV2Filterer) ParseDelayedTransferExecuted

func (_PeggedTokenBridgeV2 *PeggedTokenBridgeV2Filterer) ParseDelayedTransferExecuted(log types.Log) (*PeggedTokenBridgeV2DelayedTransferExecuted, error)

ParseDelayedTransferExecuted is a log parse operation binding the contract event 0x3b40e5089937425d14cdd96947e5661868357e224af59bd8b24a4b8a330d4426.

Solidity: event DelayedTransferExecuted(bytes32 id, address receiver, address token, uint256 amount)

func (*PeggedTokenBridgeV2Filterer) ParseEpochLengthUpdated

func (_PeggedTokenBridgeV2 *PeggedTokenBridgeV2Filterer) ParseEpochLengthUpdated(log types.Log) (*PeggedTokenBridgeV2EpochLengthUpdated, error)

ParseEpochLengthUpdated is a log parse operation binding the contract event 0x2664fec2ff76486ac58ed087310855b648b15b9d19f3de8529e95f7c46b7d6b3.

Solidity: event EpochLengthUpdated(uint256 length)

func (*PeggedTokenBridgeV2Filterer) ParseEpochVolumeUpdated

func (_PeggedTokenBridgeV2 *PeggedTokenBridgeV2Filterer) ParseEpochVolumeUpdated(log types.Log) (*PeggedTokenBridgeV2EpochVolumeUpdated, error)

ParseEpochVolumeUpdated is a log parse operation binding the contract event 0x608e49c22994f20b5d3496dca088b88dfd81b4a3e8cc3809ea1e10a320107e89.

Solidity: event EpochVolumeUpdated(address token, uint256 cap)

func (*PeggedTokenBridgeV2Filterer) ParseGovernorAdded

func (_PeggedTokenBridgeV2 *PeggedTokenBridgeV2Filterer) ParseGovernorAdded(log types.Log) (*PeggedTokenBridgeV2GovernorAdded, error)

ParseGovernorAdded is a log parse operation binding the contract event 0xdc5a48d79e2e147530ff63ecdbed5a5a66adb9d5cf339384d5d076da197c40b5.

Solidity: event GovernorAdded(address account)

func (*PeggedTokenBridgeV2Filterer) ParseGovernorRemoved

func (_PeggedTokenBridgeV2 *PeggedTokenBridgeV2Filterer) ParseGovernorRemoved(log types.Log) (*PeggedTokenBridgeV2GovernorRemoved, error)

ParseGovernorRemoved is a log parse operation binding the contract event 0x1ebe834e73d60a5fec822c1e1727d34bc79f2ad977ed504581cc1822fe20fb5b.

Solidity: event GovernorRemoved(address account)

func (*PeggedTokenBridgeV2Filterer) ParseMaxBurnUpdated

func (_PeggedTokenBridgeV2 *PeggedTokenBridgeV2Filterer) ParseMaxBurnUpdated(log types.Log) (*PeggedTokenBridgeV2MaxBurnUpdated, error)

ParseMaxBurnUpdated is a log parse operation binding the contract event 0xa3181379f6db47d9037efc6b6e8e3efe8c55ddb090b4f0512c152f97c4e47da5.

Solidity: event MaxBurnUpdated(address token, uint256 amount)

func (*PeggedTokenBridgeV2Filterer) ParseMinBurnUpdated

func (_PeggedTokenBridgeV2 *PeggedTokenBridgeV2Filterer) ParseMinBurnUpdated(log types.Log) (*PeggedTokenBridgeV2MinBurnUpdated, error)

ParseMinBurnUpdated is a log parse operation binding the contract event 0x3796cd0b17a8734f8da819920625598e9a18be490f686725282e5383f1d06683.

Solidity: event MinBurnUpdated(address token, uint256 amount)

func (*PeggedTokenBridgeV2Filterer) ParseMint

func (_PeggedTokenBridgeV2 *PeggedTokenBridgeV2Filterer) ParseMint(log types.Log) (*PeggedTokenBridgeV2Mint, error)

ParseMint is a log parse operation binding the contract event 0x5bc84ecccfced5bb04bfc7f3efcdbe7f5cd21949ef146811b4d1967fe41f777a.

Solidity: event Mint(bytes32 mintId, address token, address account, uint256 amount, uint64 refChainId, bytes32 refId, address depositor)

func (*PeggedTokenBridgeV2Filterer) ParseOwnershipTransferred

func (_PeggedTokenBridgeV2 *PeggedTokenBridgeV2Filterer) ParseOwnershipTransferred(log types.Log) (*PeggedTokenBridgeV2OwnershipTransferred, error)

ParseOwnershipTransferred is a log parse operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)

func (*PeggedTokenBridgeV2Filterer) ParsePaused

func (_PeggedTokenBridgeV2 *PeggedTokenBridgeV2Filterer) ParsePaused(log types.Log) (*PeggedTokenBridgeV2Paused, error)

ParsePaused is a log parse operation binding the contract event 0x62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258.

Solidity: event Paused(address account)

func (*PeggedTokenBridgeV2Filterer) ParsePauserAdded

func (_PeggedTokenBridgeV2 *PeggedTokenBridgeV2Filterer) ParsePauserAdded(log types.Log) (*PeggedTokenBridgeV2PauserAdded, error)

ParsePauserAdded is a log parse operation binding the contract event 0x6719d08c1888103bea251a4ed56406bd0c3e69723c8a1686e017e7bbe159b6f8.

Solidity: event PauserAdded(address account)

func (*PeggedTokenBridgeV2Filterer) ParsePauserRemoved

func (_PeggedTokenBridgeV2 *PeggedTokenBridgeV2Filterer) ParsePauserRemoved(log types.Log) (*PeggedTokenBridgeV2PauserRemoved, error)

ParsePauserRemoved is a log parse operation binding the contract event 0xcd265ebaf09df2871cc7bd4133404a235ba12eff2041bb89d9c714a2621c7c7e.

Solidity: event PauserRemoved(address account)

func (*PeggedTokenBridgeV2Filterer) ParseSupplyUpdated

func (_PeggedTokenBridgeV2 *PeggedTokenBridgeV2Filterer) ParseSupplyUpdated(log types.Log) (*PeggedTokenBridgeV2SupplyUpdated, error)

ParseSupplyUpdated is a log parse operation binding the contract event 0xeb2f7272b55acd6dea98f5742868e8d2221ad82acb36b2d0cdd00150290e9499.

Solidity: event SupplyUpdated(address token, uint256 supply)

func (*PeggedTokenBridgeV2Filterer) ParseUnpaused

func (_PeggedTokenBridgeV2 *PeggedTokenBridgeV2Filterer) ParseUnpaused(log types.Log) (*PeggedTokenBridgeV2Unpaused, error)

ParseUnpaused is a log parse operation binding the contract event 0x5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa.

Solidity: event Unpaused(address account)

func (*PeggedTokenBridgeV2Filterer) WatchBurn

func (_PeggedTokenBridgeV2 *PeggedTokenBridgeV2Filterer) WatchBurn(opts *bind.WatchOpts, sink chan<- *PeggedTokenBridgeV2Burn) (event.Subscription, error)

WatchBurn is a free log subscription operation binding the contract event 0x6298d7b58f235730b3b399dc5c282f15dae8b022e5fbbf89cee21fd83c8810a3.

Solidity: event Burn(bytes32 burnId, address token, address account, uint256 amount, uint64 toChainId, address toAccount, uint64 nonce)

func (*PeggedTokenBridgeV2Filterer) WatchDelayPeriodUpdated

func (_PeggedTokenBridgeV2 *PeggedTokenBridgeV2Filterer) WatchDelayPeriodUpdated(opts *bind.WatchOpts, sink chan<- *PeggedTokenBridgeV2DelayPeriodUpdated) (event.Subscription, error)

WatchDelayPeriodUpdated is a free log subscription operation binding the contract event 0xc0a39f234199b125fb93713c4d067bdcebbf691087f87b79c0feb92b156ba8b6.

Solidity: event DelayPeriodUpdated(uint256 period)

func (*PeggedTokenBridgeV2Filterer) WatchDelayThresholdUpdated

func (_PeggedTokenBridgeV2 *PeggedTokenBridgeV2Filterer) WatchDelayThresholdUpdated(opts *bind.WatchOpts, sink chan<- *PeggedTokenBridgeV2DelayThresholdUpdated) (event.Subscription, error)

WatchDelayThresholdUpdated is a free log subscription operation binding the contract event 0xceaad6533bfb481492fb3e08ef19297f46611b8fa9de5ef4cf8dc23a56ad09ce.

Solidity: event DelayThresholdUpdated(address token, uint256 threshold)

func (*PeggedTokenBridgeV2Filterer) WatchDelayedTransferAdded

func (_PeggedTokenBridgeV2 *PeggedTokenBridgeV2Filterer) WatchDelayedTransferAdded(opts *bind.WatchOpts, sink chan<- *PeggedTokenBridgeV2DelayedTransferAdded) (event.Subscription, error)

WatchDelayedTransferAdded is a free log subscription operation binding the contract event 0xcbcfffe5102114216a85d3aceb14ad4b81a3935b1b5c468fadf3889eb9c5dce6.

Solidity: event DelayedTransferAdded(bytes32 id)

func (*PeggedTokenBridgeV2Filterer) WatchDelayedTransferExecuted

func (_PeggedTokenBridgeV2 *PeggedTokenBridgeV2Filterer) WatchDelayedTransferExecuted(opts *bind.WatchOpts, sink chan<- *PeggedTokenBridgeV2DelayedTransferExecuted) (event.Subscription, error)

WatchDelayedTransferExecuted is a free log subscription operation binding the contract event 0x3b40e5089937425d14cdd96947e5661868357e224af59bd8b24a4b8a330d4426.

Solidity: event DelayedTransferExecuted(bytes32 id, address receiver, address token, uint256 amount)

func (*PeggedTokenBridgeV2Filterer) WatchEpochLengthUpdated

func (_PeggedTokenBridgeV2 *PeggedTokenBridgeV2Filterer) WatchEpochLengthUpdated(opts *bind.WatchOpts, sink chan<- *PeggedTokenBridgeV2EpochLengthUpdated) (event.Subscription, error)

WatchEpochLengthUpdated is a free log subscription operation binding the contract event 0x2664fec2ff76486ac58ed087310855b648b15b9d19f3de8529e95f7c46b7d6b3.

Solidity: event EpochLengthUpdated(uint256 length)

func (*PeggedTokenBridgeV2Filterer) WatchEpochVolumeUpdated

func (_PeggedTokenBridgeV2 *PeggedTokenBridgeV2Filterer) WatchEpochVolumeUpdated(opts *bind.WatchOpts, sink chan<- *PeggedTokenBridgeV2EpochVolumeUpdated) (event.Subscription, error)

WatchEpochVolumeUpdated is a free log subscription operation binding the contract event 0x608e49c22994f20b5d3496dca088b88dfd81b4a3e8cc3809ea1e10a320107e89.

Solidity: event EpochVolumeUpdated(address token, uint256 cap)

func (*PeggedTokenBridgeV2Filterer) WatchGovernorAdded

func (_PeggedTokenBridgeV2 *PeggedTokenBridgeV2Filterer) WatchGovernorAdded(opts *bind.WatchOpts, sink chan<- *PeggedTokenBridgeV2GovernorAdded) (event.Subscription, error)

WatchGovernorAdded is a free log subscription operation binding the contract event 0xdc5a48d79e2e147530ff63ecdbed5a5a66adb9d5cf339384d5d076da197c40b5.

Solidity: event GovernorAdded(address account)

func (*PeggedTokenBridgeV2Filterer) WatchGovernorRemoved

func (_PeggedTokenBridgeV2 *PeggedTokenBridgeV2Filterer) WatchGovernorRemoved(opts *bind.WatchOpts, sink chan<- *PeggedTokenBridgeV2GovernorRemoved) (event.Subscription, error)

WatchGovernorRemoved is a free log subscription operation binding the contract event 0x1ebe834e73d60a5fec822c1e1727d34bc79f2ad977ed504581cc1822fe20fb5b.

Solidity: event GovernorRemoved(address account)

func (*PeggedTokenBridgeV2Filterer) WatchMaxBurnUpdated

func (_PeggedTokenBridgeV2 *PeggedTokenBridgeV2Filterer) WatchMaxBurnUpdated(opts *bind.WatchOpts, sink chan<- *PeggedTokenBridgeV2MaxBurnUpdated) (event.Subscription, error)

WatchMaxBurnUpdated is a free log subscription operation binding the contract event 0xa3181379f6db47d9037efc6b6e8e3efe8c55ddb090b4f0512c152f97c4e47da5.

Solidity: event MaxBurnUpdated(address token, uint256 amount)

func (*PeggedTokenBridgeV2Filterer) WatchMinBurnUpdated

func (_PeggedTokenBridgeV2 *PeggedTokenBridgeV2Filterer) WatchMinBurnUpdated(opts *bind.WatchOpts, sink chan<- *PeggedTokenBridgeV2MinBurnUpdated) (event.Subscription, error)

WatchMinBurnUpdated is a free log subscription operation binding the contract event 0x3796cd0b17a8734f8da819920625598e9a18be490f686725282e5383f1d06683.

Solidity: event MinBurnUpdated(address token, uint256 amount)

func (*PeggedTokenBridgeV2Filterer) WatchMint

func (_PeggedTokenBridgeV2 *PeggedTokenBridgeV2Filterer) WatchMint(opts *bind.WatchOpts, sink chan<- *PeggedTokenBridgeV2Mint) (event.Subscription, error)

WatchMint is a free log subscription operation binding the contract event 0x5bc84ecccfced5bb04bfc7f3efcdbe7f5cd21949ef146811b4d1967fe41f777a.

Solidity: event Mint(bytes32 mintId, address token, address account, uint256 amount, uint64 refChainId, bytes32 refId, address depositor)

func (*PeggedTokenBridgeV2Filterer) WatchOwnershipTransferred

func (_PeggedTokenBridgeV2 *PeggedTokenBridgeV2Filterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *PeggedTokenBridgeV2OwnershipTransferred, 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 (*PeggedTokenBridgeV2Filterer) WatchPaused

func (_PeggedTokenBridgeV2 *PeggedTokenBridgeV2Filterer) WatchPaused(opts *bind.WatchOpts, sink chan<- *PeggedTokenBridgeV2Paused) (event.Subscription, error)

WatchPaused is a free log subscription operation binding the contract event 0x62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258.

Solidity: event Paused(address account)

func (*PeggedTokenBridgeV2Filterer) WatchPauserAdded

func (_PeggedTokenBridgeV2 *PeggedTokenBridgeV2Filterer) WatchPauserAdded(opts *bind.WatchOpts, sink chan<- *PeggedTokenBridgeV2PauserAdded) (event.Subscription, error)

WatchPauserAdded is a free log subscription operation binding the contract event 0x6719d08c1888103bea251a4ed56406bd0c3e69723c8a1686e017e7bbe159b6f8.

Solidity: event PauserAdded(address account)

func (*PeggedTokenBridgeV2Filterer) WatchPauserRemoved

func (_PeggedTokenBridgeV2 *PeggedTokenBridgeV2Filterer) WatchPauserRemoved(opts *bind.WatchOpts, sink chan<- *PeggedTokenBridgeV2PauserRemoved) (event.Subscription, error)

WatchPauserRemoved is a free log subscription operation binding the contract event 0xcd265ebaf09df2871cc7bd4133404a235ba12eff2041bb89d9c714a2621c7c7e.

Solidity: event PauserRemoved(address account)

func (*PeggedTokenBridgeV2Filterer) WatchSupplyUpdated

func (_PeggedTokenBridgeV2 *PeggedTokenBridgeV2Filterer) WatchSupplyUpdated(opts *bind.WatchOpts, sink chan<- *PeggedTokenBridgeV2SupplyUpdated) (event.Subscription, error)

WatchSupplyUpdated is a free log subscription operation binding the contract event 0xeb2f7272b55acd6dea98f5742868e8d2221ad82acb36b2d0cdd00150290e9499.

Solidity: event SupplyUpdated(address token, uint256 supply)

func (*PeggedTokenBridgeV2Filterer) WatchUnpaused

func (_PeggedTokenBridgeV2 *PeggedTokenBridgeV2Filterer) WatchUnpaused(opts *bind.WatchOpts, sink chan<- *PeggedTokenBridgeV2Unpaused) (event.Subscription, error)

WatchUnpaused is a free log subscription operation binding the contract event 0x5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa.

Solidity: event Unpaused(address account)

type PeggedTokenBridgeV2GovernorAdded

type PeggedTokenBridgeV2GovernorAdded struct {
	Account common.Address
	Raw     types.Log // Blockchain specific contextual infos
}

PeggedTokenBridgeV2GovernorAdded represents a GovernorAdded event raised by the PeggedTokenBridgeV2 contract.

type PeggedTokenBridgeV2GovernorAddedIterator

type PeggedTokenBridgeV2GovernorAddedIterator struct {
	Event *PeggedTokenBridgeV2GovernorAdded // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

PeggedTokenBridgeV2GovernorAddedIterator is returned from FilterGovernorAdded and is used to iterate over the raw logs and unpacked data for GovernorAdded events raised by the PeggedTokenBridgeV2 contract.

func (*PeggedTokenBridgeV2GovernorAddedIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*PeggedTokenBridgeV2GovernorAddedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*PeggedTokenBridgeV2GovernorAddedIterator) 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 PeggedTokenBridgeV2GovernorRemoved

type PeggedTokenBridgeV2GovernorRemoved struct {
	Account common.Address
	Raw     types.Log // Blockchain specific contextual infos
}

PeggedTokenBridgeV2GovernorRemoved represents a GovernorRemoved event raised by the PeggedTokenBridgeV2 contract.

type PeggedTokenBridgeV2GovernorRemovedIterator

type PeggedTokenBridgeV2GovernorRemovedIterator struct {
	Event *PeggedTokenBridgeV2GovernorRemoved // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

PeggedTokenBridgeV2GovernorRemovedIterator is returned from FilterGovernorRemoved and is used to iterate over the raw logs and unpacked data for GovernorRemoved events raised by the PeggedTokenBridgeV2 contract.

func (*PeggedTokenBridgeV2GovernorRemovedIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*PeggedTokenBridgeV2GovernorRemovedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*PeggedTokenBridgeV2GovernorRemovedIterator) 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 PeggedTokenBridgeV2MaxBurnUpdated

type PeggedTokenBridgeV2MaxBurnUpdated struct {
	Token  common.Address
	Amount *big.Int
	Raw    types.Log // Blockchain specific contextual infos
}

PeggedTokenBridgeV2MaxBurnUpdated represents a MaxBurnUpdated event raised by the PeggedTokenBridgeV2 contract.

type PeggedTokenBridgeV2MaxBurnUpdatedIterator

type PeggedTokenBridgeV2MaxBurnUpdatedIterator struct {
	Event *PeggedTokenBridgeV2MaxBurnUpdated // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

PeggedTokenBridgeV2MaxBurnUpdatedIterator is returned from FilterMaxBurnUpdated and is used to iterate over the raw logs and unpacked data for MaxBurnUpdated events raised by the PeggedTokenBridgeV2 contract.

func (*PeggedTokenBridgeV2MaxBurnUpdatedIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*PeggedTokenBridgeV2MaxBurnUpdatedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*PeggedTokenBridgeV2MaxBurnUpdatedIterator) 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 PeggedTokenBridgeV2MinBurnUpdated

type PeggedTokenBridgeV2MinBurnUpdated struct {
	Token  common.Address
	Amount *big.Int
	Raw    types.Log // Blockchain specific contextual infos
}

PeggedTokenBridgeV2MinBurnUpdated represents a MinBurnUpdated event raised by the PeggedTokenBridgeV2 contract.

type PeggedTokenBridgeV2MinBurnUpdatedIterator

type PeggedTokenBridgeV2MinBurnUpdatedIterator struct {
	Event *PeggedTokenBridgeV2MinBurnUpdated // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

PeggedTokenBridgeV2MinBurnUpdatedIterator is returned from FilterMinBurnUpdated and is used to iterate over the raw logs and unpacked data for MinBurnUpdated events raised by the PeggedTokenBridgeV2 contract.

func (*PeggedTokenBridgeV2MinBurnUpdatedIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*PeggedTokenBridgeV2MinBurnUpdatedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*PeggedTokenBridgeV2MinBurnUpdatedIterator) 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 PeggedTokenBridgeV2Mint

type PeggedTokenBridgeV2Mint struct {
	MintId     [32]byte
	Token      common.Address
	Account    common.Address
	Amount     *big.Int
	RefChainId uint64
	RefId      [32]byte
	Depositor  common.Address
	Raw        types.Log // Blockchain specific contextual infos
}

PeggedTokenBridgeV2Mint represents a Mint event raised by the PeggedTokenBridgeV2 contract.

func (*PeggedTokenBridgeV2Mint) PrettyLog

func (ev *PeggedTokenBridgeV2Mint) PrettyLog(onchid uint64) string

func (*PeggedTokenBridgeV2Mint) String

func (ev *PeggedTokenBridgeV2Mint) String() string

type PeggedTokenBridgeV2MintIterator

type PeggedTokenBridgeV2MintIterator struct {
	Event *PeggedTokenBridgeV2Mint // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

PeggedTokenBridgeV2MintIterator is returned from FilterMint and is used to iterate over the raw logs and unpacked data for Mint events raised by the PeggedTokenBridgeV2 contract.

func (*PeggedTokenBridgeV2MintIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*PeggedTokenBridgeV2MintIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*PeggedTokenBridgeV2MintIterator) 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 PeggedTokenBridgeV2OwnershipTransferred

type PeggedTokenBridgeV2OwnershipTransferred struct {
	PreviousOwner common.Address
	NewOwner      common.Address
	Raw           types.Log // Blockchain specific contextual infos
}

PeggedTokenBridgeV2OwnershipTransferred represents a OwnershipTransferred event raised by the PeggedTokenBridgeV2 contract.

type PeggedTokenBridgeV2OwnershipTransferredIterator

type PeggedTokenBridgeV2OwnershipTransferredIterator struct {
	Event *PeggedTokenBridgeV2OwnershipTransferred // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

PeggedTokenBridgeV2OwnershipTransferredIterator is returned from FilterOwnershipTransferred and is used to iterate over the raw logs and unpacked data for OwnershipTransferred events raised by the PeggedTokenBridgeV2 contract.

func (*PeggedTokenBridgeV2OwnershipTransferredIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*PeggedTokenBridgeV2OwnershipTransferredIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*PeggedTokenBridgeV2OwnershipTransferredIterator) 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 PeggedTokenBridgeV2Paused

type PeggedTokenBridgeV2Paused struct {
	Account common.Address
	Raw     types.Log // Blockchain specific contextual infos
}

PeggedTokenBridgeV2Paused represents a Paused event raised by the PeggedTokenBridgeV2 contract.

type PeggedTokenBridgeV2PausedIterator

type PeggedTokenBridgeV2PausedIterator struct {
	Event *PeggedTokenBridgeV2Paused // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

PeggedTokenBridgeV2PausedIterator is returned from FilterPaused and is used to iterate over the raw logs and unpacked data for Paused events raised by the PeggedTokenBridgeV2 contract.

func (*PeggedTokenBridgeV2PausedIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*PeggedTokenBridgeV2PausedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*PeggedTokenBridgeV2PausedIterator) 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 PeggedTokenBridgeV2PauserAdded

type PeggedTokenBridgeV2PauserAdded struct {
	Account common.Address
	Raw     types.Log // Blockchain specific contextual infos
}

PeggedTokenBridgeV2PauserAdded represents a PauserAdded event raised by the PeggedTokenBridgeV2 contract.

type PeggedTokenBridgeV2PauserAddedIterator

type PeggedTokenBridgeV2PauserAddedIterator struct {
	Event *PeggedTokenBridgeV2PauserAdded // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

PeggedTokenBridgeV2PauserAddedIterator is returned from FilterPauserAdded and is used to iterate over the raw logs and unpacked data for PauserAdded events raised by the PeggedTokenBridgeV2 contract.

func (*PeggedTokenBridgeV2PauserAddedIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*PeggedTokenBridgeV2PauserAddedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*PeggedTokenBridgeV2PauserAddedIterator) 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 PeggedTokenBridgeV2PauserRemoved

type PeggedTokenBridgeV2PauserRemoved struct {
	Account common.Address
	Raw     types.Log // Blockchain specific contextual infos
}

PeggedTokenBridgeV2PauserRemoved represents a PauserRemoved event raised by the PeggedTokenBridgeV2 contract.

type PeggedTokenBridgeV2PauserRemovedIterator

type PeggedTokenBridgeV2PauserRemovedIterator struct {
	Event *PeggedTokenBridgeV2PauserRemoved // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

PeggedTokenBridgeV2PauserRemovedIterator is returned from FilterPauserRemoved and is used to iterate over the raw logs and unpacked data for PauserRemoved events raised by the PeggedTokenBridgeV2 contract.

func (*PeggedTokenBridgeV2PauserRemovedIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*PeggedTokenBridgeV2PauserRemovedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*PeggedTokenBridgeV2PauserRemovedIterator) 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 PeggedTokenBridgeV2Raw

type PeggedTokenBridgeV2Raw struct {
	Contract *PeggedTokenBridgeV2 // Generic contract binding to access the raw methods on
}

PeggedTokenBridgeV2Raw is an auto generated low-level Go binding around an Ethereum contract.

func (*PeggedTokenBridgeV2Raw) Call

func (_PeggedTokenBridgeV2 *PeggedTokenBridgeV2Raw) 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 (*PeggedTokenBridgeV2Raw) Transact

func (_PeggedTokenBridgeV2 *PeggedTokenBridgeV2Raw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*PeggedTokenBridgeV2Raw) Transfer

func (_PeggedTokenBridgeV2 *PeggedTokenBridgeV2Raw) 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 PeggedTokenBridgeV2Session

type PeggedTokenBridgeV2Session struct {
	Contract     *PeggedTokenBridgeV2 // 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
}

PeggedTokenBridgeV2Session is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.

func (*PeggedTokenBridgeV2Session) AddGovernor

func (_PeggedTokenBridgeV2 *PeggedTokenBridgeV2Session) AddGovernor(_account common.Address) (*types.Transaction, error)

AddGovernor is a paid mutator transaction binding the contract method 0x3c4a25d0.

Solidity: function addGovernor(address _account) returns()

func (*PeggedTokenBridgeV2Session) AddPauser

func (_PeggedTokenBridgeV2 *PeggedTokenBridgeV2Session) AddPauser(account common.Address) (*types.Transaction, error)

AddPauser is a paid mutator transaction binding the contract method 0x82dc1ec4.

Solidity: function addPauser(address account) returns()

func (*PeggedTokenBridgeV2Session) Burn

func (_PeggedTokenBridgeV2 *PeggedTokenBridgeV2Session) Burn(_token common.Address, _amount *big.Int, _toChainId uint64, _toAccount common.Address, _nonce uint64) (*types.Transaction, error)

Burn is a paid mutator transaction binding the contract method 0xa0029301.

Solidity: function burn(address _token, uint256 _amount, uint64 _toChainId, address _toAccount, uint64 _nonce) returns(bytes32)

func (*PeggedTokenBridgeV2Session) BurnFrom

func (_PeggedTokenBridgeV2 *PeggedTokenBridgeV2Session) BurnFrom(_token common.Address, _amount *big.Int, _toChainId uint64, _toAccount common.Address, _nonce uint64) (*types.Transaction, error)

BurnFrom is a paid mutator transaction binding the contract method 0x9e422c33.

Solidity: function burnFrom(address _token, uint256 _amount, uint64 _toChainId, address _toAccount, uint64 _nonce) returns(bytes32)

func (*PeggedTokenBridgeV2Session) DecreaseSupply

func (_PeggedTokenBridgeV2 *PeggedTokenBridgeV2Session) DecreaseSupply(_token common.Address, _delta *big.Int) (*types.Transaction, error)

DecreaseSupply is a paid mutator transaction binding the contract method 0x15d0975c.

Solidity: function decreaseSupply(address _token, uint256 _delta) returns()

func (*PeggedTokenBridgeV2Session) DelayPeriod

func (_PeggedTokenBridgeV2 *PeggedTokenBridgeV2Session) DelayPeriod() (*big.Int, error)

DelayPeriod is a free data retrieval call binding the contract method 0xb1c94d94.

Solidity: function delayPeriod() view returns(uint256)

func (*PeggedTokenBridgeV2Session) DelayThresholds

func (_PeggedTokenBridgeV2 *PeggedTokenBridgeV2Session) DelayThresholds(arg0 common.Address) (*big.Int, error)

DelayThresholds is a free data retrieval call binding the contract method 0x52532faa.

Solidity: function delayThresholds(address ) view returns(uint256)

func (*PeggedTokenBridgeV2Session) DelayedTransfers

func (_PeggedTokenBridgeV2 *PeggedTokenBridgeV2Session) DelayedTransfers(arg0 [32]byte) (struct {
	Receiver  common.Address
	Token     common.Address
	Amount    *big.Int
	Timestamp *big.Int
}, error)

DelayedTransfers is a free data retrieval call binding the contract method 0xadc0d57f.

Solidity: function delayedTransfers(bytes32 ) view returns(address receiver, address token, uint256 amount, uint256 timestamp)

func (*PeggedTokenBridgeV2Session) EpochLength

func (_PeggedTokenBridgeV2 *PeggedTokenBridgeV2Session) EpochLength() (*big.Int, error)

EpochLength is a free data retrieval call binding the contract method 0x57d775f8.

Solidity: function epochLength() view returns(uint256)

func (*PeggedTokenBridgeV2Session) EpochVolumeCaps

func (_PeggedTokenBridgeV2 *PeggedTokenBridgeV2Session) EpochVolumeCaps(arg0 common.Address) (*big.Int, error)

EpochVolumeCaps is a free data retrieval call binding the contract method 0xb5f2bc47.

Solidity: function epochVolumeCaps(address ) view returns(uint256)

func (*PeggedTokenBridgeV2Session) EpochVolumes

func (_PeggedTokenBridgeV2 *PeggedTokenBridgeV2Session) EpochVolumes(arg0 common.Address) (*big.Int, error)

EpochVolumes is a free data retrieval call binding the contract method 0x60216b00.

Solidity: function epochVolumes(address ) view returns(uint256)

func (*PeggedTokenBridgeV2Session) ExecuteDelayedTransfer

func (_PeggedTokenBridgeV2 *PeggedTokenBridgeV2Session) ExecuteDelayedTransfer(id [32]byte) (*types.Transaction, error)

ExecuteDelayedTransfer is a paid mutator transaction binding the contract method 0x9e25fc5c.

Solidity: function executeDelayedTransfer(bytes32 id) returns()

func (*PeggedTokenBridgeV2Session) Governors

func (_PeggedTokenBridgeV2 *PeggedTokenBridgeV2Session) Governors(arg0 common.Address) (bool, error)

Governors is a free data retrieval call binding the contract method 0xe3eece26.

Solidity: function governors(address ) view returns(bool)

func (*PeggedTokenBridgeV2Session) IncreaseSupply

func (_PeggedTokenBridgeV2 *PeggedTokenBridgeV2Session) IncreaseSupply(_token common.Address, _delta *big.Int) (*types.Transaction, error)

IncreaseSupply is a paid mutator transaction binding the contract method 0x79fcd8ee.

Solidity: function increaseSupply(address _token, uint256 _delta) returns()

func (*PeggedTokenBridgeV2Session) IsGovernor

func (_PeggedTokenBridgeV2 *PeggedTokenBridgeV2Session) IsGovernor(_account common.Address) (bool, error)

IsGovernor is a free data retrieval call binding the contract method 0xe43581b8.

Solidity: function isGovernor(address _account) view returns(bool)

func (*PeggedTokenBridgeV2Session) IsPauser

func (_PeggedTokenBridgeV2 *PeggedTokenBridgeV2Session) IsPauser(account common.Address) (bool, error)

IsPauser is a free data retrieval call binding the contract method 0x46fbf68e.

Solidity: function isPauser(address account) view returns(bool)

func (*PeggedTokenBridgeV2Session) LastOpTimestamps

func (_PeggedTokenBridgeV2 *PeggedTokenBridgeV2Session) LastOpTimestamps(arg0 common.Address) (*big.Int, error)

LastOpTimestamps is a free data retrieval call binding the contract method 0xf8321383.

Solidity: function lastOpTimestamps(address ) view returns(uint256)

func (*PeggedTokenBridgeV2Session) MaxBurn

func (_PeggedTokenBridgeV2 *PeggedTokenBridgeV2Session) MaxBurn(arg0 common.Address) (*big.Int, error)

MaxBurn is a free data retrieval call binding the contract method 0x497bf3b2.

Solidity: function maxBurn(address ) view returns(uint256)

func (*PeggedTokenBridgeV2Session) MinBurn

func (_PeggedTokenBridgeV2 *PeggedTokenBridgeV2Session) MinBurn(arg0 common.Address) (*big.Int, error)

MinBurn is a free data retrieval call binding the contract method 0x7f856013.

Solidity: function minBurn(address ) view returns(uint256)

func (*PeggedTokenBridgeV2Session) Mint

func (_PeggedTokenBridgeV2 *PeggedTokenBridgeV2Session) Mint(_request []byte, _sigs [][]byte, _signers []common.Address, _powers []*big.Int) (*types.Transaction, error)

Mint is a paid mutator transaction binding the contract method 0xf8734302.

Solidity: function mint(bytes _request, bytes[] _sigs, address[] _signers, uint256[] _powers) returns(bytes32)

func (*PeggedTokenBridgeV2Session) Owner

func (_PeggedTokenBridgeV2 *PeggedTokenBridgeV2Session) Owner() (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() view returns(address)

func (*PeggedTokenBridgeV2Session) Pause

func (_PeggedTokenBridgeV2 *PeggedTokenBridgeV2Session) Pause() (*types.Transaction, error)

Pause is a paid mutator transaction binding the contract method 0x8456cb59.

Solidity: function pause() returns()

func (*PeggedTokenBridgeV2Session) Paused

func (_PeggedTokenBridgeV2 *PeggedTokenBridgeV2Session) Paused() (bool, error)

Paused is a free data retrieval call binding the contract method 0x5c975abb.

Solidity: function paused() view returns(bool)

func (*PeggedTokenBridgeV2Session) Pausers

func (_PeggedTokenBridgeV2 *PeggedTokenBridgeV2Session) Pausers(arg0 common.Address) (bool, error)

Pausers is a free data retrieval call binding the contract method 0x80f51c12.

Solidity: function pausers(address ) view returns(bool)

func (*PeggedTokenBridgeV2Session) Records

func (_PeggedTokenBridgeV2 *PeggedTokenBridgeV2Session) Records(arg0 [32]byte) (bool, error)

Records is a free data retrieval call binding the contract method 0x01e64725.

Solidity: function records(bytes32 ) view returns(bool)

func (*PeggedTokenBridgeV2Session) RemoveGovernor

func (_PeggedTokenBridgeV2 *PeggedTokenBridgeV2Session) RemoveGovernor(_account common.Address) (*types.Transaction, error)

RemoveGovernor is a paid mutator transaction binding the contract method 0xeecdac88.

Solidity: function removeGovernor(address _account) returns()

func (*PeggedTokenBridgeV2Session) RemovePauser

func (_PeggedTokenBridgeV2 *PeggedTokenBridgeV2Session) RemovePauser(account common.Address) (*types.Transaction, error)

RemovePauser is a paid mutator transaction binding the contract method 0x6b2c0f55.

Solidity: function removePauser(address account) returns()

func (*PeggedTokenBridgeV2Session) RenounceGovernor

func (_PeggedTokenBridgeV2 *PeggedTokenBridgeV2Session) RenounceGovernor() (*types.Transaction, error)

RenounceGovernor is a paid mutator transaction binding the contract method 0xe026049c.

Solidity: function renounceGovernor() returns()

func (*PeggedTokenBridgeV2Session) RenouncePauser

func (_PeggedTokenBridgeV2 *PeggedTokenBridgeV2Session) RenouncePauser() (*types.Transaction, error)

RenouncePauser is a paid mutator transaction binding the contract method 0x6ef8d66d.

Solidity: function renouncePauser() returns()

func (*PeggedTokenBridgeV2Session) SetDelayPeriod

func (_PeggedTokenBridgeV2 *PeggedTokenBridgeV2Session) SetDelayPeriod(_period *big.Int) (*types.Transaction, error)

SetDelayPeriod is a paid mutator transaction binding the contract method 0x3d572107.

Solidity: function setDelayPeriod(uint256 _period) returns()

func (*PeggedTokenBridgeV2Session) SetDelayThresholds

func (_PeggedTokenBridgeV2 *PeggedTokenBridgeV2Session) SetDelayThresholds(_tokens []common.Address, _thresholds []*big.Int) (*types.Transaction, error)

SetDelayThresholds is a paid mutator transaction binding the contract method 0x17bdbae5.

Solidity: function setDelayThresholds(address[] _tokens, uint256[] _thresholds) returns()

func (*PeggedTokenBridgeV2Session) SetEpochLength

func (_PeggedTokenBridgeV2 *PeggedTokenBridgeV2Session) SetEpochLength(_length *big.Int) (*types.Transaction, error)

SetEpochLength is a paid mutator transaction binding the contract method 0x54eea796.

Solidity: function setEpochLength(uint256 _length) returns()

func (*PeggedTokenBridgeV2Session) SetEpochVolumeCaps

func (_PeggedTokenBridgeV2 *PeggedTokenBridgeV2Session) SetEpochVolumeCaps(_tokens []common.Address, _caps []*big.Int) (*types.Transaction, error)

SetEpochVolumeCaps is a paid mutator transaction binding the contract method 0x47b16c6c.

Solidity: function setEpochVolumeCaps(address[] _tokens, uint256[] _caps) returns()

func (*PeggedTokenBridgeV2Session) SetMaxBurn

func (_PeggedTokenBridgeV2 *PeggedTokenBridgeV2Session) SetMaxBurn(_tokens []common.Address, _amounts []*big.Int) (*types.Transaction, error)

SetMaxBurn is a paid mutator transaction binding the contract method 0xf9a8ea08.

Solidity: function setMaxBurn(address[] _tokens, uint256[] _amounts) returns()

func (*PeggedTokenBridgeV2Session) SetMinBurn

func (_PeggedTokenBridgeV2 *PeggedTokenBridgeV2Session) SetMinBurn(_tokens []common.Address, _amounts []*big.Int) (*types.Transaction, error)

SetMinBurn is a paid mutator transaction binding the contract method 0xbf4816f0.

Solidity: function setMinBurn(address[] _tokens, uint256[] _amounts) returns()

func (*PeggedTokenBridgeV2Session) SetSupply

func (_PeggedTokenBridgeV2 *PeggedTokenBridgeV2Session) SetSupply(_token common.Address, _supply *big.Int) (*types.Transaction, error)

SetSupply is a paid mutator transaction binding the contract method 0xb4d8cedc.

Solidity: function setSupply(address _token, uint256 _supply) returns()

func (*PeggedTokenBridgeV2Session) SigsVerifier

func (_PeggedTokenBridgeV2 *PeggedTokenBridgeV2Session) SigsVerifier() (common.Address, error)

SigsVerifier is a free data retrieval call binding the contract method 0xccf2683b.

Solidity: function sigsVerifier() view returns(address)

func (*PeggedTokenBridgeV2Session) Supplies

func (_PeggedTokenBridgeV2 *PeggedTokenBridgeV2Session) Supplies(arg0 common.Address) (*big.Int, error)

Supplies is a free data retrieval call binding the contract method 0x274cee31.

Solidity: function supplies(address ) view returns(uint256)

func (*PeggedTokenBridgeV2Session) TransferOwnership

func (_PeggedTokenBridgeV2 *PeggedTokenBridgeV2Session) 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 (*PeggedTokenBridgeV2Session) Unpause

func (_PeggedTokenBridgeV2 *PeggedTokenBridgeV2Session) Unpause() (*types.Transaction, error)

Unpause is a paid mutator transaction binding the contract method 0x3f4ba83a.

Solidity: function unpause() returns()

type PeggedTokenBridgeV2SupplyUpdated

type PeggedTokenBridgeV2SupplyUpdated struct {
	Token  common.Address
	Supply *big.Int
	Raw    types.Log // Blockchain specific contextual infos
}

PeggedTokenBridgeV2SupplyUpdated represents a SupplyUpdated event raised by the PeggedTokenBridgeV2 contract.

type PeggedTokenBridgeV2SupplyUpdatedIterator

type PeggedTokenBridgeV2SupplyUpdatedIterator struct {
	Event *PeggedTokenBridgeV2SupplyUpdated // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

PeggedTokenBridgeV2SupplyUpdatedIterator is returned from FilterSupplyUpdated and is used to iterate over the raw logs and unpacked data for SupplyUpdated events raised by the PeggedTokenBridgeV2 contract.

func (*PeggedTokenBridgeV2SupplyUpdatedIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*PeggedTokenBridgeV2SupplyUpdatedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*PeggedTokenBridgeV2SupplyUpdatedIterator) 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 PeggedTokenBridgeV2Transactor

type PeggedTokenBridgeV2Transactor struct {
	// contains filtered or unexported fields
}

PeggedTokenBridgeV2Transactor is an auto generated write-only Go binding around an Ethereum contract.

func NewPeggedTokenBridgeV2Transactor

func NewPeggedTokenBridgeV2Transactor(address common.Address, transactor bind.ContractTransactor) (*PeggedTokenBridgeV2Transactor, error)

NewPeggedTokenBridgeV2Transactor creates a new write-only instance of PeggedTokenBridgeV2, bound to a specific deployed contract.

func (*PeggedTokenBridgeV2Transactor) AddGovernor

func (_PeggedTokenBridgeV2 *PeggedTokenBridgeV2Transactor) AddGovernor(opts *bind.TransactOpts, _account common.Address) (*types.Transaction, error)

AddGovernor is a paid mutator transaction binding the contract method 0x3c4a25d0.

Solidity: function addGovernor(address _account) returns()

func (*PeggedTokenBridgeV2Transactor) AddPauser

func (_PeggedTokenBridgeV2 *PeggedTokenBridgeV2Transactor) AddPauser(opts *bind.TransactOpts, account common.Address) (*types.Transaction, error)

AddPauser is a paid mutator transaction binding the contract method 0x82dc1ec4.

Solidity: function addPauser(address account) returns()

func (*PeggedTokenBridgeV2Transactor) Burn

func (_PeggedTokenBridgeV2 *PeggedTokenBridgeV2Transactor) Burn(opts *bind.TransactOpts, _token common.Address, _amount *big.Int, _toChainId uint64, _toAccount common.Address, _nonce uint64) (*types.Transaction, error)

Burn is a paid mutator transaction binding the contract method 0xa0029301.

Solidity: function burn(address _token, uint256 _amount, uint64 _toChainId, address _toAccount, uint64 _nonce) returns(bytes32)

func (*PeggedTokenBridgeV2Transactor) BurnFrom

func (_PeggedTokenBridgeV2 *PeggedTokenBridgeV2Transactor) BurnFrom(opts *bind.TransactOpts, _token common.Address, _amount *big.Int, _toChainId uint64, _toAccount common.Address, _nonce uint64) (*types.Transaction, error)

BurnFrom is a paid mutator transaction binding the contract method 0x9e422c33.

Solidity: function burnFrom(address _token, uint256 _amount, uint64 _toChainId, address _toAccount, uint64 _nonce) returns(bytes32)

func (*PeggedTokenBridgeV2Transactor) DecreaseSupply

func (_PeggedTokenBridgeV2 *PeggedTokenBridgeV2Transactor) DecreaseSupply(opts *bind.TransactOpts, _token common.Address, _delta *big.Int) (*types.Transaction, error)

DecreaseSupply is a paid mutator transaction binding the contract method 0x15d0975c.

Solidity: function decreaseSupply(address _token, uint256 _delta) returns()

func (*PeggedTokenBridgeV2Transactor) ExecuteDelayedTransfer

func (_PeggedTokenBridgeV2 *PeggedTokenBridgeV2Transactor) ExecuteDelayedTransfer(opts *bind.TransactOpts, id [32]byte) (*types.Transaction, error)

ExecuteDelayedTransfer is a paid mutator transaction binding the contract method 0x9e25fc5c.

Solidity: function executeDelayedTransfer(bytes32 id) returns()

func (*PeggedTokenBridgeV2Transactor) IncreaseSupply

func (_PeggedTokenBridgeV2 *PeggedTokenBridgeV2Transactor) IncreaseSupply(opts *bind.TransactOpts, _token common.Address, _delta *big.Int) (*types.Transaction, error)

IncreaseSupply is a paid mutator transaction binding the contract method 0x79fcd8ee.

Solidity: function increaseSupply(address _token, uint256 _delta) returns()

func (*PeggedTokenBridgeV2Transactor) Mint

func (_PeggedTokenBridgeV2 *PeggedTokenBridgeV2Transactor) Mint(opts *bind.TransactOpts, _request []byte, _sigs [][]byte, _signers []common.Address, _powers []*big.Int) (*types.Transaction, error)

Mint is a paid mutator transaction binding the contract method 0xf8734302.

Solidity: function mint(bytes _request, bytes[] _sigs, address[] _signers, uint256[] _powers) returns(bytes32)

func (*PeggedTokenBridgeV2Transactor) Pause

func (_PeggedTokenBridgeV2 *PeggedTokenBridgeV2Transactor) Pause(opts *bind.TransactOpts) (*types.Transaction, error)

Pause is a paid mutator transaction binding the contract method 0x8456cb59.

Solidity: function pause() returns()

func (*PeggedTokenBridgeV2Transactor) RemoveGovernor

func (_PeggedTokenBridgeV2 *PeggedTokenBridgeV2Transactor) RemoveGovernor(opts *bind.TransactOpts, _account common.Address) (*types.Transaction, error)

RemoveGovernor is a paid mutator transaction binding the contract method 0xeecdac88.

Solidity: function removeGovernor(address _account) returns()

func (*PeggedTokenBridgeV2Transactor) RemovePauser

func (_PeggedTokenBridgeV2 *PeggedTokenBridgeV2Transactor) RemovePauser(opts *bind.TransactOpts, account common.Address) (*types.Transaction, error)

RemovePauser is a paid mutator transaction binding the contract method 0x6b2c0f55.

Solidity: function removePauser(address account) returns()

func (*PeggedTokenBridgeV2Transactor) RenounceGovernor

func (_PeggedTokenBridgeV2 *PeggedTokenBridgeV2Transactor) RenounceGovernor(opts *bind.TransactOpts) (*types.Transaction, error)

RenounceGovernor is a paid mutator transaction binding the contract method 0xe026049c.

Solidity: function renounceGovernor() returns()

func (*PeggedTokenBridgeV2Transactor) RenouncePauser

func (_PeggedTokenBridgeV2 *PeggedTokenBridgeV2Transactor) RenouncePauser(opts *bind.TransactOpts) (*types.Transaction, error)

RenouncePauser is a paid mutator transaction binding the contract method 0x6ef8d66d.

Solidity: function renouncePauser() returns()

func (*PeggedTokenBridgeV2Transactor) SetDelayPeriod

func (_PeggedTokenBridgeV2 *PeggedTokenBridgeV2Transactor) SetDelayPeriod(opts *bind.TransactOpts, _period *big.Int) (*types.Transaction, error)

SetDelayPeriod is a paid mutator transaction binding the contract method 0x3d572107.

Solidity: function setDelayPeriod(uint256 _period) returns()

func (*PeggedTokenBridgeV2Transactor) SetDelayThresholds

func (_PeggedTokenBridgeV2 *PeggedTokenBridgeV2Transactor) SetDelayThresholds(opts *bind.TransactOpts, _tokens []common.Address, _thresholds []*big.Int) (*types.Transaction, error)

SetDelayThresholds is a paid mutator transaction binding the contract method 0x17bdbae5.

Solidity: function setDelayThresholds(address[] _tokens, uint256[] _thresholds) returns()

func (*PeggedTokenBridgeV2Transactor) SetEpochLength

func (_PeggedTokenBridgeV2 *PeggedTokenBridgeV2Transactor) SetEpochLength(opts *bind.TransactOpts, _length *big.Int) (*types.Transaction, error)

SetEpochLength is a paid mutator transaction binding the contract method 0x54eea796.

Solidity: function setEpochLength(uint256 _length) returns()

func (*PeggedTokenBridgeV2Transactor) SetEpochVolumeCaps

func (_PeggedTokenBridgeV2 *PeggedTokenBridgeV2Transactor) SetEpochVolumeCaps(opts *bind.TransactOpts, _tokens []common.Address, _caps []*big.Int) (*types.Transaction, error)

SetEpochVolumeCaps is a paid mutator transaction binding the contract method 0x47b16c6c.

Solidity: function setEpochVolumeCaps(address[] _tokens, uint256[] _caps) returns()

func (*PeggedTokenBridgeV2Transactor) SetMaxBurn

func (_PeggedTokenBridgeV2 *PeggedTokenBridgeV2Transactor) SetMaxBurn(opts *bind.TransactOpts, _tokens []common.Address, _amounts []*big.Int) (*types.Transaction, error)

SetMaxBurn is a paid mutator transaction binding the contract method 0xf9a8ea08.

Solidity: function setMaxBurn(address[] _tokens, uint256[] _amounts) returns()

func (*PeggedTokenBridgeV2Transactor) SetMinBurn

func (_PeggedTokenBridgeV2 *PeggedTokenBridgeV2Transactor) SetMinBurn(opts *bind.TransactOpts, _tokens []common.Address, _amounts []*big.Int) (*types.Transaction, error)

SetMinBurn is a paid mutator transaction binding the contract method 0xbf4816f0.

Solidity: function setMinBurn(address[] _tokens, uint256[] _amounts) returns()

func (*PeggedTokenBridgeV2Transactor) SetSupply

func (_PeggedTokenBridgeV2 *PeggedTokenBridgeV2Transactor) SetSupply(opts *bind.TransactOpts, _token common.Address, _supply *big.Int) (*types.Transaction, error)

SetSupply is a paid mutator transaction binding the contract method 0xb4d8cedc.

Solidity: function setSupply(address _token, uint256 _supply) returns()

func (*PeggedTokenBridgeV2Transactor) TransferOwnership

func (_PeggedTokenBridgeV2 *PeggedTokenBridgeV2Transactor) 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 (*PeggedTokenBridgeV2Transactor) Unpause

func (_PeggedTokenBridgeV2 *PeggedTokenBridgeV2Transactor) Unpause(opts *bind.TransactOpts) (*types.Transaction, error)

Unpause is a paid mutator transaction binding the contract method 0x3f4ba83a.

Solidity: function unpause() returns()

type PeggedTokenBridgeV2TransactorRaw

type PeggedTokenBridgeV2TransactorRaw struct {
	Contract *PeggedTokenBridgeV2Transactor // Generic write-only contract binding to access the raw methods on
}

PeggedTokenBridgeV2TransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.

func (*PeggedTokenBridgeV2TransactorRaw) Transact

func (_PeggedTokenBridgeV2 *PeggedTokenBridgeV2TransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*PeggedTokenBridgeV2TransactorRaw) Transfer

func (_PeggedTokenBridgeV2 *PeggedTokenBridgeV2TransactorRaw) 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 PeggedTokenBridgeV2TransactorSession

type PeggedTokenBridgeV2TransactorSession struct {
	Contract     *PeggedTokenBridgeV2Transactor // Generic contract transactor binding to set the session for
	TransactOpts bind.TransactOpts              // Transaction auth options to use throughout this session
}

PeggedTokenBridgeV2TransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.

func (*PeggedTokenBridgeV2TransactorSession) AddGovernor

func (_PeggedTokenBridgeV2 *PeggedTokenBridgeV2TransactorSession) AddGovernor(_account common.Address) (*types.Transaction, error)

AddGovernor is a paid mutator transaction binding the contract method 0x3c4a25d0.

Solidity: function addGovernor(address _account) returns()

func (*PeggedTokenBridgeV2TransactorSession) AddPauser

func (_PeggedTokenBridgeV2 *PeggedTokenBridgeV2TransactorSession) AddPauser(account common.Address) (*types.Transaction, error)

AddPauser is a paid mutator transaction binding the contract method 0x82dc1ec4.

Solidity: function addPauser(address account) returns()

func (*PeggedTokenBridgeV2TransactorSession) Burn

func (_PeggedTokenBridgeV2 *PeggedTokenBridgeV2TransactorSession) Burn(_token common.Address, _amount *big.Int, _toChainId uint64, _toAccount common.Address, _nonce uint64) (*types.Transaction, error)

Burn is a paid mutator transaction binding the contract method 0xa0029301.

Solidity: function burn(address _token, uint256 _amount, uint64 _toChainId, address _toAccount, uint64 _nonce) returns(bytes32)

func (*PeggedTokenBridgeV2TransactorSession) BurnFrom

func (_PeggedTokenBridgeV2 *PeggedTokenBridgeV2TransactorSession) BurnFrom(_token common.Address, _amount *big.Int, _toChainId uint64, _toAccount common.Address, _nonce uint64) (*types.Transaction, error)

BurnFrom is a paid mutator transaction binding the contract method 0x9e422c33.

Solidity: function burnFrom(address _token, uint256 _amount, uint64 _toChainId, address _toAccount, uint64 _nonce) returns(bytes32)

func (*PeggedTokenBridgeV2TransactorSession) DecreaseSupply

func (_PeggedTokenBridgeV2 *PeggedTokenBridgeV2TransactorSession) DecreaseSupply(_token common.Address, _delta *big.Int) (*types.Transaction, error)

DecreaseSupply is a paid mutator transaction binding the contract method 0x15d0975c.

Solidity: function decreaseSupply(address _token, uint256 _delta) returns()

func (*PeggedTokenBridgeV2TransactorSession) ExecuteDelayedTransfer

func (_PeggedTokenBridgeV2 *PeggedTokenBridgeV2TransactorSession) ExecuteDelayedTransfer(id [32]byte) (*types.Transaction, error)

ExecuteDelayedTransfer is a paid mutator transaction binding the contract method 0x9e25fc5c.

Solidity: function executeDelayedTransfer(bytes32 id) returns()

func (*PeggedTokenBridgeV2TransactorSession) IncreaseSupply

func (_PeggedTokenBridgeV2 *PeggedTokenBridgeV2TransactorSession) IncreaseSupply(_token common.Address, _delta *big.Int) (*types.Transaction, error)

IncreaseSupply is a paid mutator transaction binding the contract method 0x79fcd8ee.

Solidity: function increaseSupply(address _token, uint256 _delta) returns()

func (*PeggedTokenBridgeV2TransactorSession) Mint

func (_PeggedTokenBridgeV2 *PeggedTokenBridgeV2TransactorSession) Mint(_request []byte, _sigs [][]byte, _signers []common.Address, _powers []*big.Int) (*types.Transaction, error)

Mint is a paid mutator transaction binding the contract method 0xf8734302.

Solidity: function mint(bytes _request, bytes[] _sigs, address[] _signers, uint256[] _powers) returns(bytes32)

func (*PeggedTokenBridgeV2TransactorSession) Pause

func (_PeggedTokenBridgeV2 *PeggedTokenBridgeV2TransactorSession) Pause() (*types.Transaction, error)

Pause is a paid mutator transaction binding the contract method 0x8456cb59.

Solidity: function pause() returns()

func (*PeggedTokenBridgeV2TransactorSession) RemoveGovernor

func (_PeggedTokenBridgeV2 *PeggedTokenBridgeV2TransactorSession) RemoveGovernor(_account common.Address) (*types.Transaction, error)

RemoveGovernor is a paid mutator transaction binding the contract method 0xeecdac88.

Solidity: function removeGovernor(address _account) returns()

func (*PeggedTokenBridgeV2TransactorSession) RemovePauser

func (_PeggedTokenBridgeV2 *PeggedTokenBridgeV2TransactorSession) RemovePauser(account common.Address) (*types.Transaction, error)

RemovePauser is a paid mutator transaction binding the contract method 0x6b2c0f55.

Solidity: function removePauser(address account) returns()

func (*PeggedTokenBridgeV2TransactorSession) RenounceGovernor

func (_PeggedTokenBridgeV2 *PeggedTokenBridgeV2TransactorSession) RenounceGovernor() (*types.Transaction, error)

RenounceGovernor is a paid mutator transaction binding the contract method 0xe026049c.

Solidity: function renounceGovernor() returns()

func (*PeggedTokenBridgeV2TransactorSession) RenouncePauser

func (_PeggedTokenBridgeV2 *PeggedTokenBridgeV2TransactorSession) RenouncePauser() (*types.Transaction, error)

RenouncePauser is a paid mutator transaction binding the contract method 0x6ef8d66d.

Solidity: function renouncePauser() returns()

func (*PeggedTokenBridgeV2TransactorSession) SetDelayPeriod

func (_PeggedTokenBridgeV2 *PeggedTokenBridgeV2TransactorSession) SetDelayPeriod(_period *big.Int) (*types.Transaction, error)

SetDelayPeriod is a paid mutator transaction binding the contract method 0x3d572107.

Solidity: function setDelayPeriod(uint256 _period) returns()

func (*PeggedTokenBridgeV2TransactorSession) SetDelayThresholds

func (_PeggedTokenBridgeV2 *PeggedTokenBridgeV2TransactorSession) SetDelayThresholds(_tokens []common.Address, _thresholds []*big.Int) (*types.Transaction, error)

SetDelayThresholds is a paid mutator transaction binding the contract method 0x17bdbae5.

Solidity: function setDelayThresholds(address[] _tokens, uint256[] _thresholds) returns()

func (*PeggedTokenBridgeV2TransactorSession) SetEpochLength

func (_PeggedTokenBridgeV2 *PeggedTokenBridgeV2TransactorSession) SetEpochLength(_length *big.Int) (*types.Transaction, error)

SetEpochLength is a paid mutator transaction binding the contract method 0x54eea796.

Solidity: function setEpochLength(uint256 _length) returns()

func (*PeggedTokenBridgeV2TransactorSession) SetEpochVolumeCaps

func (_PeggedTokenBridgeV2 *PeggedTokenBridgeV2TransactorSession) SetEpochVolumeCaps(_tokens []common.Address, _caps []*big.Int) (*types.Transaction, error)

SetEpochVolumeCaps is a paid mutator transaction binding the contract method 0x47b16c6c.

Solidity: function setEpochVolumeCaps(address[] _tokens, uint256[] _caps) returns()

func (*PeggedTokenBridgeV2TransactorSession) SetMaxBurn

func (_PeggedTokenBridgeV2 *PeggedTokenBridgeV2TransactorSession) SetMaxBurn(_tokens []common.Address, _amounts []*big.Int) (*types.Transaction, error)

SetMaxBurn is a paid mutator transaction binding the contract method 0xf9a8ea08.

Solidity: function setMaxBurn(address[] _tokens, uint256[] _amounts) returns()

func (*PeggedTokenBridgeV2TransactorSession) SetMinBurn

func (_PeggedTokenBridgeV2 *PeggedTokenBridgeV2TransactorSession) SetMinBurn(_tokens []common.Address, _amounts []*big.Int) (*types.Transaction, error)

SetMinBurn is a paid mutator transaction binding the contract method 0xbf4816f0.

Solidity: function setMinBurn(address[] _tokens, uint256[] _amounts) returns()

func (*PeggedTokenBridgeV2TransactorSession) SetSupply

func (_PeggedTokenBridgeV2 *PeggedTokenBridgeV2TransactorSession) SetSupply(_token common.Address, _supply *big.Int) (*types.Transaction, error)

SetSupply is a paid mutator transaction binding the contract method 0xb4d8cedc.

Solidity: function setSupply(address _token, uint256 _supply) returns()

func (*PeggedTokenBridgeV2TransactorSession) TransferOwnership

func (_PeggedTokenBridgeV2 *PeggedTokenBridgeV2TransactorSession) 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 (*PeggedTokenBridgeV2TransactorSession) Unpause

func (_PeggedTokenBridgeV2 *PeggedTokenBridgeV2TransactorSession) Unpause() (*types.Transaction, error)

Unpause is a paid mutator transaction binding the contract method 0x3f4ba83a.

Solidity: function unpause() returns()

type PeggedTokenBridgeV2Unpaused

type PeggedTokenBridgeV2Unpaused struct {
	Account common.Address
	Raw     types.Log // Blockchain specific contextual infos
}

PeggedTokenBridgeV2Unpaused represents a Unpaused event raised by the PeggedTokenBridgeV2 contract.

type PeggedTokenBridgeV2UnpausedIterator

type PeggedTokenBridgeV2UnpausedIterator struct {
	Event *PeggedTokenBridgeV2Unpaused // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

PeggedTokenBridgeV2UnpausedIterator is returned from FilterUnpaused and is used to iterate over the raw logs and unpacked data for Unpaused events raised by the PeggedTokenBridgeV2 contract.

func (*PeggedTokenBridgeV2UnpausedIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*PeggedTokenBridgeV2UnpausedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*PeggedTokenBridgeV2UnpausedIterator) 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 SGN

type SGN struct {
	SGNCaller     // Read-only binding to the contract
	SGNTransactor // Write-only binding to the contract
	SGNFilterer   // Log filterer for contract events
}

SGN is an auto generated Go binding around an Ethereum contract.

func DeploySGN

func DeploySGN(auth *bind.TransactOpts, backend bind.ContractBackend, _staking common.Address) (common.Address, *types.Transaction, *SGN, error)

DeploySGN deploys a new Ethereum contract, binding an instance of SGN to it.

func NewSGN

func NewSGN(address common.Address, backend bind.ContractBackend) (*SGN, error)

NewSGN creates a new instance of SGN, bound to a specific deployed contract.

type SGNCaller

type SGNCaller struct {
	// contains filtered or unexported fields
}

SGNCaller is an auto generated read-only Go binding around an Ethereum contract.

func NewSGNCaller

func NewSGNCaller(address common.Address, caller bind.ContractCaller) (*SGNCaller, error)

NewSGNCaller creates a new read-only instance of SGN, bound to a specific deployed contract.

func (*SGNCaller) Deposits

func (_SGN *SGNCaller) Deposits(opts *bind.CallOpts, arg0 *big.Int) ([32]byte, error)

Deposits is a free data retrieval call binding the contract method 0xb02c43d0.

Solidity: function deposits(uint256 ) view returns(bytes32)

func (*SGNCaller) IsPauser

func (_SGN *SGNCaller) IsPauser(opts *bind.CallOpts, account common.Address) (bool, error)

IsPauser is a free data retrieval call binding the contract method 0x46fbf68e.

Solidity: function isPauser(address account) view returns(bool)

func (*SGNCaller) Owner

func (_SGN *SGNCaller) 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 (*SGNCaller) Paused

func (_SGN *SGNCaller) Paused(opts *bind.CallOpts) (bool, error)

Paused is a free data retrieval call binding the contract method 0x5c975abb.

Solidity: function paused() view returns(bool)

func (*SGNCaller) Pausers

func (_SGN *SGNCaller) Pausers(opts *bind.CallOpts, arg0 common.Address) (bool, error)

Pausers is a free data retrieval call binding the contract method 0x80f51c12.

Solidity: function pausers(address ) view returns(bool)

func (*SGNCaller) SgnAddrs

func (_SGN *SGNCaller) SgnAddrs(opts *bind.CallOpts, arg0 common.Address) ([]byte, error)

SgnAddrs is a free data retrieval call binding the contract method 0xc429fe1f.

Solidity: function sgnAddrs(address ) view returns(bytes)

func (*SGNCaller) Staking

func (_SGN *SGNCaller) Staking(opts *bind.CallOpts) (common.Address, error)

Staking is a free data retrieval call binding the contract method 0x4cf088d9.

Solidity: function staking() view returns(address)

func (*SGNCaller) WithdrawnAmts

func (_SGN *SGNCaller) WithdrawnAmts(opts *bind.CallOpts, arg0 common.Address, arg1 common.Address) (*big.Int, error)

WithdrawnAmts is a free data retrieval call binding the contract method 0x795c2c14.

Solidity: function withdrawnAmts(address , address ) view returns(uint256)

type SGNCallerRaw

type SGNCallerRaw struct {
	Contract *SGNCaller // Generic read-only contract binding to access the raw methods on
}

SGNCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.

func (*SGNCallerRaw) Call

func (_SGN *SGNCallerRaw) 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 SGNCallerSession

type SGNCallerSession struct {
	Contract *SGNCaller    // Generic contract caller binding to set the session for
	CallOpts bind.CallOpts // Call options to use throughout this session
}

SGNCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.

func (*SGNCallerSession) Deposits

func (_SGN *SGNCallerSession) Deposits(arg0 *big.Int) ([32]byte, error)

Deposits is a free data retrieval call binding the contract method 0xb02c43d0.

Solidity: function deposits(uint256 ) view returns(bytes32)

func (*SGNCallerSession) IsPauser

func (_SGN *SGNCallerSession) IsPauser(account common.Address) (bool, error)

IsPauser is a free data retrieval call binding the contract method 0x46fbf68e.

Solidity: function isPauser(address account) view returns(bool)

func (*SGNCallerSession) Owner

func (_SGN *SGNCallerSession) Owner() (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() view returns(address)

func (*SGNCallerSession) Paused

func (_SGN *SGNCallerSession) Paused() (bool, error)

Paused is a free data retrieval call binding the contract method 0x5c975abb.

Solidity: function paused() view returns(bool)

func (*SGNCallerSession) Pausers

func (_SGN *SGNCallerSession) Pausers(arg0 common.Address) (bool, error)

Pausers is a free data retrieval call binding the contract method 0x80f51c12.

Solidity: function pausers(address ) view returns(bool)

func (*SGNCallerSession) SgnAddrs

func (_SGN *SGNCallerSession) SgnAddrs(arg0 common.Address) ([]byte, error)

SgnAddrs is a free data retrieval call binding the contract method 0xc429fe1f.

Solidity: function sgnAddrs(address ) view returns(bytes)

func (*SGNCallerSession) Staking

func (_SGN *SGNCallerSession) Staking() (common.Address, error)

Staking is a free data retrieval call binding the contract method 0x4cf088d9.

Solidity: function staking() view returns(address)

func (*SGNCallerSession) WithdrawnAmts

func (_SGN *SGNCallerSession) WithdrawnAmts(arg0 common.Address, arg1 common.Address) (*big.Int, error)

WithdrawnAmts is a free data retrieval call binding the contract method 0x795c2c14.

Solidity: function withdrawnAmts(address , address ) view returns(uint256)

type SGNDeposit

type SGNDeposit struct {
	DepositId *big.Int
	Account   common.Address
	Token     common.Address
	Amount    *big.Int
	Raw       types.Log // Blockchain specific contextual infos
}

SGNDeposit represents a Deposit event raised by the SGN contract.

type SGNDepositIterator

type SGNDepositIterator struct {
	Event *SGNDeposit // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

SGNDepositIterator is returned from FilterDeposit and is used to iterate over the raw logs and unpacked data for Deposit events raised by the SGN contract.

func (*SGNDepositIterator) Close

func (it *SGNDepositIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*SGNDepositIterator) Error

func (it *SGNDepositIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*SGNDepositIterator) Next

func (it *SGNDepositIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type SGNFilterer

type SGNFilterer struct {
	// contains filtered or unexported fields
}

SGNFilterer is an auto generated log filtering Go binding around an Ethereum contract events.

func NewSGNFilterer

func NewSGNFilterer(address common.Address, filterer bind.ContractFilterer) (*SGNFilterer, error)

NewSGNFilterer creates a new log filterer instance of SGN, bound to a specific deployed contract.

func (*SGNFilterer) FilterDeposit

func (_SGN *SGNFilterer) FilterDeposit(opts *bind.FilterOpts) (*SGNDepositIterator, error)

FilterDeposit is a free log retrieval operation binding the contract event 0x2c0f148b435140de488c1b34647f1511c646f7077e87007bacf22ef9977a16d8.

Solidity: event Deposit(uint256 depositId, address account, address token, uint256 amount)

func (*SGNFilterer) FilterOwnershipTransferred

func (_SGN *SGNFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*SGNOwnershipTransferredIterator, error)

FilterOwnershipTransferred is a free log retrieval operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)

func (*SGNFilterer) FilterPaused

func (_SGN *SGNFilterer) FilterPaused(opts *bind.FilterOpts) (*SGNPausedIterator, error)

FilterPaused is a free log retrieval operation binding the contract event 0x62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258.

Solidity: event Paused(address account)

func (*SGNFilterer) FilterPauserAdded

func (_SGN *SGNFilterer) FilterPauserAdded(opts *bind.FilterOpts) (*SGNPauserAddedIterator, error)

FilterPauserAdded is a free log retrieval operation binding the contract event 0x6719d08c1888103bea251a4ed56406bd0c3e69723c8a1686e017e7bbe159b6f8.

Solidity: event PauserAdded(address account)

func (*SGNFilterer) FilterPauserRemoved

func (_SGN *SGNFilterer) FilterPauserRemoved(opts *bind.FilterOpts) (*SGNPauserRemovedIterator, error)

FilterPauserRemoved is a free log retrieval operation binding the contract event 0xcd265ebaf09df2871cc7bd4133404a235ba12eff2041bb89d9c714a2621c7c7e.

Solidity: event PauserRemoved(address account)

func (*SGNFilterer) FilterSgnAddrUpdate

func (_SGN *SGNFilterer) FilterSgnAddrUpdate(opts *bind.FilterOpts, valAddr []common.Address) (*SGNSgnAddrUpdateIterator, error)

FilterSgnAddrUpdate is a free log retrieval operation binding the contract event 0x8ec5397226cce05bb5f1189621dc680f015802f7f73f89be1a9e89b6af41dcb4.

Solidity: event SgnAddrUpdate(address indexed valAddr, bytes oldAddr, bytes newAddr)

func (*SGNFilterer) FilterUnpaused

func (_SGN *SGNFilterer) FilterUnpaused(opts *bind.FilterOpts) (*SGNUnpausedIterator, error)

FilterUnpaused is a free log retrieval operation binding the contract event 0x5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa.

Solidity: event Unpaused(address account)

func (*SGNFilterer) FilterWithdraw

func (_SGN *SGNFilterer) FilterWithdraw(opts *bind.FilterOpts) (*SGNWithdrawIterator, error)

FilterWithdraw is a free log retrieval operation binding the contract event 0x9b1bfa7fa9ee420a16e124f794c35ac9f90472acc99140eb2f6447c714cad8eb.

Solidity: event Withdraw(address account, address token, uint256 amount)

func (*SGNFilterer) ParseDeposit

func (_SGN *SGNFilterer) ParseDeposit(log types.Log) (*SGNDeposit, error)

ParseDeposit is a log parse operation binding the contract event 0x2c0f148b435140de488c1b34647f1511c646f7077e87007bacf22ef9977a16d8.

Solidity: event Deposit(uint256 depositId, address account, address token, uint256 amount)

func (*SGNFilterer) ParseOwnershipTransferred

func (_SGN *SGNFilterer) ParseOwnershipTransferred(log types.Log) (*SGNOwnershipTransferred, error)

ParseOwnershipTransferred is a log parse operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)

func (*SGNFilterer) ParsePaused

func (_SGN *SGNFilterer) ParsePaused(log types.Log) (*SGNPaused, error)

ParsePaused is a log parse operation binding the contract event 0x62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258.

Solidity: event Paused(address account)

func (*SGNFilterer) ParsePauserAdded

func (_SGN *SGNFilterer) ParsePauserAdded(log types.Log) (*SGNPauserAdded, error)

ParsePauserAdded is a log parse operation binding the contract event 0x6719d08c1888103bea251a4ed56406bd0c3e69723c8a1686e017e7bbe159b6f8.

Solidity: event PauserAdded(address account)

func (*SGNFilterer) ParsePauserRemoved

func (_SGN *SGNFilterer) ParsePauserRemoved(log types.Log) (*SGNPauserRemoved, error)

ParsePauserRemoved is a log parse operation binding the contract event 0xcd265ebaf09df2871cc7bd4133404a235ba12eff2041bb89d9c714a2621c7c7e.

Solidity: event PauserRemoved(address account)

func (*SGNFilterer) ParseSgnAddrUpdate

func (_SGN *SGNFilterer) ParseSgnAddrUpdate(log types.Log) (*SGNSgnAddrUpdate, error)

ParseSgnAddrUpdate is a log parse operation binding the contract event 0x8ec5397226cce05bb5f1189621dc680f015802f7f73f89be1a9e89b6af41dcb4.

Solidity: event SgnAddrUpdate(address indexed valAddr, bytes oldAddr, bytes newAddr)

func (*SGNFilterer) ParseUnpaused

func (_SGN *SGNFilterer) ParseUnpaused(log types.Log) (*SGNUnpaused, error)

ParseUnpaused is a log parse operation binding the contract event 0x5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa.

Solidity: event Unpaused(address account)

func (*SGNFilterer) ParseWithdraw

func (_SGN *SGNFilterer) ParseWithdraw(log types.Log) (*SGNWithdraw, error)

ParseWithdraw is a log parse operation binding the contract event 0x9b1bfa7fa9ee420a16e124f794c35ac9f90472acc99140eb2f6447c714cad8eb.

Solidity: event Withdraw(address account, address token, uint256 amount)

func (*SGNFilterer) WatchDeposit

func (_SGN *SGNFilterer) WatchDeposit(opts *bind.WatchOpts, sink chan<- *SGNDeposit) (event.Subscription, error)

WatchDeposit is a free log subscription operation binding the contract event 0x2c0f148b435140de488c1b34647f1511c646f7077e87007bacf22ef9977a16d8.

Solidity: event Deposit(uint256 depositId, address account, address token, uint256 amount)

func (*SGNFilterer) WatchOwnershipTransferred

func (_SGN *SGNFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *SGNOwnershipTransferred, 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 (*SGNFilterer) WatchPaused

func (_SGN *SGNFilterer) WatchPaused(opts *bind.WatchOpts, sink chan<- *SGNPaused) (event.Subscription, error)

WatchPaused is a free log subscription operation binding the contract event 0x62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258.

Solidity: event Paused(address account)

func (*SGNFilterer) WatchPauserAdded

func (_SGN *SGNFilterer) WatchPauserAdded(opts *bind.WatchOpts, sink chan<- *SGNPauserAdded) (event.Subscription, error)

WatchPauserAdded is a free log subscription operation binding the contract event 0x6719d08c1888103bea251a4ed56406bd0c3e69723c8a1686e017e7bbe159b6f8.

Solidity: event PauserAdded(address account)

func (*SGNFilterer) WatchPauserRemoved

func (_SGN *SGNFilterer) WatchPauserRemoved(opts *bind.WatchOpts, sink chan<- *SGNPauserRemoved) (event.Subscription, error)

WatchPauserRemoved is a free log subscription operation binding the contract event 0xcd265ebaf09df2871cc7bd4133404a235ba12eff2041bb89d9c714a2621c7c7e.

Solidity: event PauserRemoved(address account)

func (*SGNFilterer) WatchSgnAddrUpdate

func (_SGN *SGNFilterer) WatchSgnAddrUpdate(opts *bind.WatchOpts, sink chan<- *SGNSgnAddrUpdate, valAddr []common.Address) (event.Subscription, error)

WatchSgnAddrUpdate is a free log subscription operation binding the contract event 0x8ec5397226cce05bb5f1189621dc680f015802f7f73f89be1a9e89b6af41dcb4.

Solidity: event SgnAddrUpdate(address indexed valAddr, bytes oldAddr, bytes newAddr)

func (*SGNFilterer) WatchUnpaused

func (_SGN *SGNFilterer) WatchUnpaused(opts *bind.WatchOpts, sink chan<- *SGNUnpaused) (event.Subscription, error)

WatchUnpaused is a free log subscription operation binding the contract event 0x5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa.

Solidity: event Unpaused(address account)

func (*SGNFilterer) WatchWithdraw

func (_SGN *SGNFilterer) WatchWithdraw(opts *bind.WatchOpts, sink chan<- *SGNWithdraw) (event.Subscription, error)

WatchWithdraw is a free log subscription operation binding the contract event 0x9b1bfa7fa9ee420a16e124f794c35ac9f90472acc99140eb2f6447c714cad8eb.

Solidity: event Withdraw(address account, address token, uint256 amount)

type SGNOwnershipTransferred

type SGNOwnershipTransferred struct {
	PreviousOwner common.Address
	NewOwner      common.Address
	Raw           types.Log // Blockchain specific contextual infos
}

SGNOwnershipTransferred represents a OwnershipTransferred event raised by the SGN contract.

type SGNOwnershipTransferredIterator

type SGNOwnershipTransferredIterator struct {
	Event *SGNOwnershipTransferred // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

SGNOwnershipTransferredIterator is returned from FilterOwnershipTransferred and is used to iterate over the raw logs and unpacked data for OwnershipTransferred events raised by the SGN contract.

func (*SGNOwnershipTransferredIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*SGNOwnershipTransferredIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*SGNOwnershipTransferredIterator) 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 SGNPaused

type SGNPaused struct {
	Account common.Address
	Raw     types.Log // Blockchain specific contextual infos
}

SGNPaused represents a Paused event raised by the SGN contract.

type SGNPausedIterator

type SGNPausedIterator struct {
	Event *SGNPaused // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

SGNPausedIterator is returned from FilterPaused and is used to iterate over the raw logs and unpacked data for Paused events raised by the SGN contract.

func (*SGNPausedIterator) Close

func (it *SGNPausedIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*SGNPausedIterator) Error

func (it *SGNPausedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*SGNPausedIterator) Next

func (it *SGNPausedIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type SGNPauserAdded

type SGNPauserAdded struct {
	Account common.Address
	Raw     types.Log // Blockchain specific contextual infos
}

SGNPauserAdded represents a PauserAdded event raised by the SGN contract.

type SGNPauserAddedIterator

type SGNPauserAddedIterator struct {
	Event *SGNPauserAdded // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

SGNPauserAddedIterator is returned from FilterPauserAdded and is used to iterate over the raw logs and unpacked data for PauserAdded events raised by the SGN contract.

func (*SGNPauserAddedIterator) Close

func (it *SGNPauserAddedIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*SGNPauserAddedIterator) Error

func (it *SGNPauserAddedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*SGNPauserAddedIterator) Next

func (it *SGNPauserAddedIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type SGNPauserRemoved

type SGNPauserRemoved struct {
	Account common.Address
	Raw     types.Log // Blockchain specific contextual infos
}

SGNPauserRemoved represents a PauserRemoved event raised by the SGN contract.

type SGNPauserRemovedIterator

type SGNPauserRemovedIterator struct {
	Event *SGNPauserRemoved // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

SGNPauserRemovedIterator is returned from FilterPauserRemoved and is used to iterate over the raw logs and unpacked data for PauserRemoved events raised by the SGN contract.

func (*SGNPauserRemovedIterator) Close

func (it *SGNPauserRemovedIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*SGNPauserRemovedIterator) Error

func (it *SGNPauserRemovedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*SGNPauserRemovedIterator) Next

func (it *SGNPauserRemovedIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type SGNRaw

type SGNRaw struct {
	Contract *SGN // Generic contract binding to access the raw methods on
}

SGNRaw is an auto generated low-level Go binding around an Ethereum contract.

func (*SGNRaw) Call

func (_SGN *SGNRaw) 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 (*SGNRaw) Transact

func (_SGN *SGNRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*SGNRaw) Transfer

func (_SGN *SGNRaw) 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 SGNSession

type SGNSession struct {
	Contract     *SGN              // 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
}

SGNSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.

func (*SGNSession) AddPauser

func (_SGN *SGNSession) AddPauser(account common.Address) (*types.Transaction, error)

AddPauser is a paid mutator transaction binding the contract method 0x82dc1ec4.

Solidity: function addPauser(address account) returns()

func (*SGNSession) Deposit

func (_SGN *SGNSession) Deposit(_token common.Address, _amount *big.Int) (*types.Transaction, error)

Deposit is a paid mutator transaction binding the contract method 0x47e7ef24.

Solidity: function deposit(address _token, uint256 _amount) returns()

func (*SGNSession) Deposits

func (_SGN *SGNSession) Deposits(arg0 *big.Int) ([32]byte, error)

Deposits is a free data retrieval call binding the contract method 0xb02c43d0.

Solidity: function deposits(uint256 ) view returns(bytes32)

func (*SGNSession) DrainToken

func (_SGN *SGNSession) DrainToken(_token common.Address, _amount *big.Int) (*types.Transaction, error)

DrainToken is a paid mutator transaction binding the contract method 0x9d4323be.

Solidity: function drainToken(address _token, uint256 _amount) returns()

func (*SGNSession) IsPauser

func (_SGN *SGNSession) IsPauser(account common.Address) (bool, error)

IsPauser is a free data retrieval call binding the contract method 0x46fbf68e.

Solidity: function isPauser(address account) view returns(bool)

func (*SGNSession) Owner

func (_SGN *SGNSession) Owner() (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() view returns(address)

func (*SGNSession) Pause

func (_SGN *SGNSession) Pause() (*types.Transaction, error)

Pause is a paid mutator transaction binding the contract method 0x8456cb59.

Solidity: function pause() returns()

func (*SGNSession) Paused

func (_SGN *SGNSession) Paused() (bool, error)

Paused is a free data retrieval call binding the contract method 0x5c975abb.

Solidity: function paused() view returns(bool)

func (*SGNSession) Pausers

func (_SGN *SGNSession) Pausers(arg0 common.Address) (bool, error)

Pausers is a free data retrieval call binding the contract method 0x80f51c12.

Solidity: function pausers(address ) view returns(bool)

func (*SGNSession) RemovePauser

func (_SGN *SGNSession) RemovePauser(account common.Address) (*types.Transaction, error)

RemovePauser is a paid mutator transaction binding the contract method 0x6b2c0f55.

Solidity: function removePauser(address account) returns()

func (*SGNSession) RenouncePauser

func (_SGN *SGNSession) RenouncePauser() (*types.Transaction, error)

RenouncePauser is a paid mutator transaction binding the contract method 0x6ef8d66d.

Solidity: function renouncePauser() returns()

func (*SGNSession) SgnAddrs

func (_SGN *SGNSession) SgnAddrs(arg0 common.Address) ([]byte, error)

SgnAddrs is a free data retrieval call binding the contract method 0xc429fe1f.

Solidity: function sgnAddrs(address ) view returns(bytes)

func (*SGNSession) Staking

func (_SGN *SGNSession) Staking() (common.Address, error)

Staking is a free data retrieval call binding the contract method 0x4cf088d9.

Solidity: function staking() view returns(address)

func (*SGNSession) TransferOwnership

func (_SGN *SGNSession) 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 (*SGNSession) Unpause

func (_SGN *SGNSession) Unpause() (*types.Transaction, error)

Unpause is a paid mutator transaction binding the contract method 0x3f4ba83a.

Solidity: function unpause() returns()

func (*SGNSession) UpdateSgnAddr

func (_SGN *SGNSession) UpdateSgnAddr(_sgnAddr []byte) (*types.Transaction, error)

UpdateSgnAddr is a paid mutator transaction binding the contract method 0xd0bb9351.

Solidity: function updateSgnAddr(bytes _sgnAddr) returns()

func (*SGNSession) Withdraw

func (_SGN *SGNSession) Withdraw(_withdrawalRequest []byte, _sigs [][]byte) (*types.Transaction, error)

Withdraw is a paid mutator transaction binding the contract method 0xd88ef271.

Solidity: function withdraw(bytes _withdrawalRequest, bytes[] _sigs) returns()

func (*SGNSession) WithdrawnAmts

func (_SGN *SGNSession) WithdrawnAmts(arg0 common.Address, arg1 common.Address) (*big.Int, error)

WithdrawnAmts is a free data retrieval call binding the contract method 0x795c2c14.

Solidity: function withdrawnAmts(address , address ) view returns(uint256)

type SGNSgnAddrUpdate

type SGNSgnAddrUpdate struct {
	ValAddr common.Address
	OldAddr []byte
	NewAddr []byte
	Raw     types.Log // Blockchain specific contextual infos
}

SGNSgnAddrUpdate represents a SgnAddrUpdate event raised by the SGN contract.

type SGNSgnAddrUpdateIterator

type SGNSgnAddrUpdateIterator struct {
	Event *SGNSgnAddrUpdate // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

SGNSgnAddrUpdateIterator is returned from FilterSgnAddrUpdate and is used to iterate over the raw logs and unpacked data for SgnAddrUpdate events raised by the SGN contract.

func (*SGNSgnAddrUpdateIterator) Close

func (it *SGNSgnAddrUpdateIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*SGNSgnAddrUpdateIterator) Error

func (it *SGNSgnAddrUpdateIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*SGNSgnAddrUpdateIterator) Next

func (it *SGNSgnAddrUpdateIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type SGNTransactor

type SGNTransactor struct {
	// contains filtered or unexported fields
}

SGNTransactor is an auto generated write-only Go binding around an Ethereum contract.

func NewSGNTransactor

func NewSGNTransactor(address common.Address, transactor bind.ContractTransactor) (*SGNTransactor, error)

NewSGNTransactor creates a new write-only instance of SGN, bound to a specific deployed contract.

func (*SGNTransactor) AddPauser

func (_SGN *SGNTransactor) AddPauser(opts *bind.TransactOpts, account common.Address) (*types.Transaction, error)

AddPauser is a paid mutator transaction binding the contract method 0x82dc1ec4.

Solidity: function addPauser(address account) returns()

func (*SGNTransactor) Deposit

func (_SGN *SGNTransactor) Deposit(opts *bind.TransactOpts, _token common.Address, _amount *big.Int) (*types.Transaction, error)

Deposit is a paid mutator transaction binding the contract method 0x47e7ef24.

Solidity: function deposit(address _token, uint256 _amount) returns()

func (*SGNTransactor) DrainToken

func (_SGN *SGNTransactor) DrainToken(opts *bind.TransactOpts, _token common.Address, _amount *big.Int) (*types.Transaction, error)

DrainToken is a paid mutator transaction binding the contract method 0x9d4323be.

Solidity: function drainToken(address _token, uint256 _amount) returns()

func (*SGNTransactor) Pause

func (_SGN *SGNTransactor) Pause(opts *bind.TransactOpts) (*types.Transaction, error)

Pause is a paid mutator transaction binding the contract method 0x8456cb59.

Solidity: function pause() returns()

func (*SGNTransactor) RemovePauser

func (_SGN *SGNTransactor) RemovePauser(opts *bind.TransactOpts, account common.Address) (*types.Transaction, error)

RemovePauser is a paid mutator transaction binding the contract method 0x6b2c0f55.

Solidity: function removePauser(address account) returns()

func (*SGNTransactor) RenouncePauser

func (_SGN *SGNTransactor) RenouncePauser(opts *bind.TransactOpts) (*types.Transaction, error)

RenouncePauser is a paid mutator transaction binding the contract method 0x6ef8d66d.

Solidity: function renouncePauser() returns()

func (*SGNTransactor) TransferOwnership

func (_SGN *SGNTransactor) 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 (*SGNTransactor) Unpause

func (_SGN *SGNTransactor) Unpause(opts *bind.TransactOpts) (*types.Transaction, error)

Unpause is a paid mutator transaction binding the contract method 0x3f4ba83a.

Solidity: function unpause() returns()

func (*SGNTransactor) UpdateSgnAddr

func (_SGN *SGNTransactor) UpdateSgnAddr(opts *bind.TransactOpts, _sgnAddr []byte) (*types.Transaction, error)

UpdateSgnAddr is a paid mutator transaction binding the contract method 0xd0bb9351.

Solidity: function updateSgnAddr(bytes _sgnAddr) returns()

func (*SGNTransactor) Withdraw

func (_SGN *SGNTransactor) Withdraw(opts *bind.TransactOpts, _withdrawalRequest []byte, _sigs [][]byte) (*types.Transaction, error)

Withdraw is a paid mutator transaction binding the contract method 0xd88ef271.

Solidity: function withdraw(bytes _withdrawalRequest, bytes[] _sigs) returns()

type SGNTransactorRaw

type SGNTransactorRaw struct {
	Contract *SGNTransactor // Generic write-only contract binding to access the raw methods on
}

SGNTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.

func (*SGNTransactorRaw) Transact

func (_SGN *SGNTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*SGNTransactorRaw) Transfer

func (_SGN *SGNTransactorRaw) 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 SGNTransactorSession

type SGNTransactorSession struct {
	Contract     *SGNTransactor    // Generic contract transactor binding to set the session for
	TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session
}

SGNTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.

func (*SGNTransactorSession) AddPauser

func (_SGN *SGNTransactorSession) AddPauser(account common.Address) (*types.Transaction, error)

AddPauser is a paid mutator transaction binding the contract method 0x82dc1ec4.

Solidity: function addPauser(address account) returns()

func (*SGNTransactorSession) Deposit

func (_SGN *SGNTransactorSession) Deposit(_token common.Address, _amount *big.Int) (*types.Transaction, error)

Deposit is a paid mutator transaction binding the contract method 0x47e7ef24.

Solidity: function deposit(address _token, uint256 _amount) returns()

func (*SGNTransactorSession) DrainToken

func (_SGN *SGNTransactorSession) DrainToken(_token common.Address, _amount *big.Int) (*types.Transaction, error)

DrainToken is a paid mutator transaction binding the contract method 0x9d4323be.

Solidity: function drainToken(address _token, uint256 _amount) returns()

func (*SGNTransactorSession) Pause

func (_SGN *SGNTransactorSession) Pause() (*types.Transaction, error)

Pause is a paid mutator transaction binding the contract method 0x8456cb59.

Solidity: function pause() returns()

func (*SGNTransactorSession) RemovePauser

func (_SGN *SGNTransactorSession) RemovePauser(account common.Address) (*types.Transaction, error)

RemovePauser is a paid mutator transaction binding the contract method 0x6b2c0f55.

Solidity: function removePauser(address account) returns()

func (*SGNTransactorSession) RenouncePauser

func (_SGN *SGNTransactorSession) RenouncePauser() (*types.Transaction, error)

RenouncePauser is a paid mutator transaction binding the contract method 0x6ef8d66d.

Solidity: function renouncePauser() returns()

func (*SGNTransactorSession) TransferOwnership

func (_SGN *SGNTransactorSession) 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 (*SGNTransactorSession) Unpause

func (_SGN *SGNTransactorSession) Unpause() (*types.Transaction, error)

Unpause is a paid mutator transaction binding the contract method 0x3f4ba83a.

Solidity: function unpause() returns()

func (*SGNTransactorSession) UpdateSgnAddr

func (_SGN *SGNTransactorSession) UpdateSgnAddr(_sgnAddr []byte) (*types.Transaction, error)

UpdateSgnAddr is a paid mutator transaction binding the contract method 0xd0bb9351.

Solidity: function updateSgnAddr(bytes _sgnAddr) returns()

func (*SGNTransactorSession) Withdraw

func (_SGN *SGNTransactorSession) Withdraw(_withdrawalRequest []byte, _sigs [][]byte) (*types.Transaction, error)

Withdraw is a paid mutator transaction binding the contract method 0xd88ef271.

Solidity: function withdraw(bytes _withdrawalRequest, bytes[] _sigs) returns()

type SGNUnpaused

type SGNUnpaused struct {
	Account common.Address
	Raw     types.Log // Blockchain specific contextual infos
}

SGNUnpaused represents a Unpaused event raised by the SGN contract.

type SGNUnpausedIterator

type SGNUnpausedIterator struct {
	Event *SGNUnpaused // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

SGNUnpausedIterator is returned from FilterUnpaused and is used to iterate over the raw logs and unpacked data for Unpaused events raised by the SGN contract.

func (*SGNUnpausedIterator) Close

func (it *SGNUnpausedIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*SGNUnpausedIterator) Error

func (it *SGNUnpausedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*SGNUnpausedIterator) Next

func (it *SGNUnpausedIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type SGNWithdraw

type SGNWithdraw struct {
	Account common.Address
	Token   common.Address
	Amount  *big.Int
	Raw     types.Log // Blockchain specific contextual infos
}

SGNWithdraw represents a Withdraw event raised by the SGN contract.

type SGNWithdrawIterator

type SGNWithdrawIterator struct {
	Event *SGNWithdraw // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

SGNWithdrawIterator is returned from FilterWithdraw and is used to iterate over the raw logs and unpacked data for Withdraw events raised by the SGN contract.

func (*SGNWithdrawIterator) Close

func (it *SGNWithdrawIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*SGNWithdrawIterator) Error

func (it *SGNWithdrawIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*SGNWithdrawIterator) Next

func (it *SGNWithdrawIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type SgnContract

type SgnContract struct {
	*SGN
	Address Addr
}

func NewSgnContract

func NewSgnContract(address Addr, client *ethclient.Client) (*SgnContract, error)

func (*SgnContract) GetABI

func (c *SgnContract) GetABI() string

func (*SgnContract) GetAddr

func (c *SgnContract) GetAddr() Addr

type Staking

type Staking struct {
	StakingCaller     // Read-only binding to the contract
	StakingTransactor // Write-only binding to the contract
	StakingFilterer   // Log filterer for contract events
}

Staking is an auto generated Go binding around an Ethereum contract.

func DeployStaking

func DeployStaking(auth *bind.TransactOpts, backend bind.ContractBackend, _celerTokenAddress common.Address, _proposalDeposit *big.Int, _votingPeriod *big.Int, _unbondingPeriod *big.Int, _maxBondedValidators *big.Int, _minValidatorTokens *big.Int, _minSelfDelegation *big.Int, _advanceNoticePeriod *big.Int, _validatorBondInterval *big.Int, _maxSlashFactor *big.Int) (common.Address, *types.Transaction, *Staking, error)

DeployStaking deploys a new Ethereum contract, binding an instance of Staking to it.

func NewStaking

func NewStaking(address common.Address, backend bind.ContractBackend) (*Staking, error)

NewStaking creates a new instance of Staking, bound to a specific deployed contract.

type StakingCaller

type StakingCaller struct {
	// contains filtered or unexported fields
}

StakingCaller is an auto generated read-only Go binding around an Ethereum contract.

func NewStakingCaller

func NewStakingCaller(address common.Address, caller bind.ContractCaller) (*StakingCaller, error)

NewStakingCaller creates a new read-only instance of Staking, bound to a specific deployed contract.

func (*StakingCaller) BondedTokens

func (_Staking *StakingCaller) BondedTokens(opts *bind.CallOpts) (*big.Int, error)

BondedTokens is a free data retrieval call binding the contract method 0x65d5d420.

Solidity: function bondedTokens() view returns(uint256)

func (*StakingCaller) BondedValAddrs

func (_Staking *StakingCaller) BondedValAddrs(opts *bind.CallOpts, arg0 *big.Int) (common.Address, error)

BondedValAddrs is a free data retrieval call binding the contract method 0xacc62ccf.

Solidity: function bondedValAddrs(uint256 ) view returns(address)

func (*StakingCaller) CELERTOKEN

func (_Staking *StakingCaller) CELERTOKEN(opts *bind.CallOpts) (common.Address, error)

CELERTOKEN is a free data retrieval call binding the contract method 0x960dc08a.

Solidity: function CELER_TOKEN() view returns(address)

func (*StakingCaller) Forfeiture

func (_Staking *StakingCaller) Forfeiture(opts *bind.CallOpts) (*big.Int, error)

Forfeiture is a free data retrieval call binding the contract method 0x8338f0e5.

Solidity: function forfeiture() view returns(uint256)

func (*StakingCaller) GetBondedValidatorNum

func (_Staking *StakingCaller) GetBondedValidatorNum(opts *bind.CallOpts) (*big.Int, error)

GetBondedValidatorNum is a free data retrieval call binding the contract method 0x89f9aab5.

Solidity: function getBondedValidatorNum() view returns(uint256)

func (*StakingCaller) GetBondedValidatorsTokens

func (_Staking *StakingCaller) GetBondedValidatorsTokens(opts *bind.CallOpts) ([]DataTypesValidatorTokens, error)

GetBondedValidatorsTokens is a free data retrieval call binding the contract method 0x4021d4d5.

Solidity: function getBondedValidatorsTokens() view returns((address,uint256)[])

func (*StakingCaller) GetDelegatorInfo

func (_Staking *StakingCaller) GetDelegatorInfo(opts *bind.CallOpts, _valAddr common.Address, _delAddr common.Address) (DataTypesDelegatorInfo, error)

GetDelegatorInfo is a free data retrieval call binding the contract method 0xeecefef8.

Solidity: function getDelegatorInfo(address _valAddr, address _delAddr) view returns((address,uint256,uint256,(uint256,uint256)[],uint256,uint256))

func (*StakingCaller) GetParamValue

func (_Staking *StakingCaller) GetParamValue(opts *bind.CallOpts, _name uint8) (*big.Int, error)

GetParamValue is a free data retrieval call binding the contract method 0x410ae02c.

Solidity: function getParamValue(uint8 _name) view returns(uint256)

func (*StakingCaller) GetQuorumTokens

func (_Staking *StakingCaller) GetQuorumTokens(opts *bind.CallOpts) (*big.Int, error)

GetQuorumTokens is a free data retrieval call binding the contract method 0x386c024a.

Solidity: function getQuorumTokens() view returns(uint256)

func (*StakingCaller) GetValidatorNum

func (_Staking *StakingCaller) GetValidatorNum(opts *bind.CallOpts) (*big.Int, error)

GetValidatorNum is a free data retrieval call binding the contract method 0x1cfe4f0b.

Solidity: function getValidatorNum() view returns(uint256)

func (*StakingCaller) GetValidatorStatus

func (_Staking *StakingCaller) GetValidatorStatus(opts *bind.CallOpts, _valAddr common.Address) (uint8, error)

GetValidatorStatus is a free data retrieval call binding the contract method 0xa310624f.

Solidity: function getValidatorStatus(address _valAddr) view returns(uint8)

func (*StakingCaller) GetValidatorTokens

func (_Staking *StakingCaller) GetValidatorTokens(opts *bind.CallOpts, _valAddr common.Address) (*big.Int, error)

GetValidatorTokens is a free data retrieval call binding the contract method 0xc8f9f984.

Solidity: function getValidatorTokens(address _valAddr) view returns(uint256)

func (*StakingCaller) GovContract

func (_Staking *StakingCaller) GovContract(opts *bind.CallOpts) (common.Address, error)

GovContract is a free data retrieval call binding the contract method 0x2fa4d12b.

Solidity: function govContract() view returns(address)

func (*StakingCaller) HasMinRequiredTokens

func (_Staking *StakingCaller) HasMinRequiredTokens(opts *bind.CallOpts, _valAddr common.Address, _checkSelfDelegation bool) (bool, error)

HasMinRequiredTokens is a free data retrieval call binding the contract method 0x47abfdbf.

Solidity: function hasMinRequiredTokens(address _valAddr, bool _checkSelfDelegation) view returns(bool)

func (*StakingCaller) IsBondedValidator

func (_Staking *StakingCaller) IsBondedValidator(opts *bind.CallOpts, _addr common.Address) (bool, error)

IsBondedValidator is a free data retrieval call binding the contract method 0xb4f7fa34.

Solidity: function isBondedValidator(address _addr) view returns(bool)

func (*StakingCaller) IsPauser

func (_Staking *StakingCaller) IsPauser(opts *bind.CallOpts, account common.Address) (bool, error)

IsPauser is a free data retrieval call binding the contract method 0x46fbf68e.

Solidity: function isPauser(address account) view returns(bool)

func (*StakingCaller) IsWhitelisted

func (_Staking *StakingCaller) IsWhitelisted(opts *bind.CallOpts, account common.Address) (bool, error)

IsWhitelisted is a free data retrieval call binding the contract method 0x3af32abf.

Solidity: function isWhitelisted(address account) view returns(bool)

func (*StakingCaller) NextBondBlock

func (_Staking *StakingCaller) NextBondBlock(opts *bind.CallOpts) (*big.Int, error)

NextBondBlock is a free data retrieval call binding the contract method 0x83cfb318.

Solidity: function nextBondBlock() view returns(uint256)

func (*StakingCaller) Owner

func (_Staking *StakingCaller) 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 (*StakingCaller) Params

func (_Staking *StakingCaller) Params(opts *bind.CallOpts, arg0 uint8) (*big.Int, error)

Params is a free data retrieval call binding the contract method 0xeb505dd5.

Solidity: function params(uint8 ) view returns(uint256)

func (*StakingCaller) Paused

func (_Staking *StakingCaller) Paused(opts *bind.CallOpts) (bool, error)

Paused is a free data retrieval call binding the contract method 0x5c975abb.

Solidity: function paused() view returns(bool)

func (*StakingCaller) Pausers

func (_Staking *StakingCaller) Pausers(opts *bind.CallOpts, arg0 common.Address) (bool, error)

Pausers is a free data retrieval call binding the contract method 0x80f51c12.

Solidity: function pausers(address ) view returns(bool)

func (*StakingCaller) RewardContract

func (_Staking *StakingCaller) RewardContract(opts *bind.CallOpts) (common.Address, error)

RewardContract is a free data retrieval call binding the contract method 0x6ea69d62.

Solidity: function rewardContract() view returns(address)

func (*StakingCaller) SignerVals

func (_Staking *StakingCaller) SignerVals(opts *bind.CallOpts, arg0 common.Address) (common.Address, error)

SignerVals is a free data retrieval call binding the contract method 0x6d308783.

Solidity: function signerVals(address ) view returns(address)

func (*StakingCaller) SlashNonces

func (_Staking *StakingCaller) SlashNonces(opts *bind.CallOpts, arg0 *big.Int) (bool, error)

SlashNonces is a free data retrieval call binding the contract method 0x90e360f8.

Solidity: function slashNonces(uint256 ) view returns(bool)

func (*StakingCaller) ValAddrs

func (_Staking *StakingCaller) ValAddrs(opts *bind.CallOpts, arg0 *big.Int) (common.Address, error)

ValAddrs is a free data retrieval call binding the contract method 0x92bb243c.

Solidity: function valAddrs(uint256 ) view returns(address)

func (*StakingCaller) Validators

func (_Staking *StakingCaller) Validators(opts *bind.CallOpts, arg0 common.Address) (struct {
	Status             uint8
	Signer             common.Address
	Tokens             *big.Int
	Shares             *big.Int
	UndelegationTokens *big.Int
	UndelegationShares *big.Int
	MinSelfDelegation  *big.Int
	BondBlock          uint64
	UnbondBlock        uint64
	CommissionRate     uint64
}, error)

Validators is a free data retrieval call binding the contract method 0xfa52c7d8.

Solidity: function validators(address ) view returns(uint8 status, address signer, uint256 tokens, uint256 shares, uint256 undelegationTokens, uint256 undelegationShares, uint256 minSelfDelegation, uint64 bondBlock, uint64 unbondBlock, uint64 commissionRate)

func (*StakingCaller) VerifySignatures

func (_Staking *StakingCaller) VerifySignatures(opts *bind.CallOpts, _msg []byte, _sigs [][]byte) (bool, error)

VerifySignatures is a free data retrieval call binding the contract method 0x8a74d5fe.

Solidity: function verifySignatures(bytes _msg, bytes[] _sigs) view returns(bool)

func (*StakingCaller) VerifySigs

func (_Staking *StakingCaller) VerifySigs(opts *bind.CallOpts, _msg []byte, _sigs [][]byte, arg2 []common.Address, arg3 []*big.Int) error

VerifySigs is a free data retrieval call binding the contract method 0x682dbc22.

Solidity: function verifySigs(bytes _msg, bytes[] _sigs, address[] , uint256[] ) view returns()

func (*StakingCaller) Whitelist

func (_Staking *StakingCaller) Whitelist(opts *bind.CallOpts, arg0 common.Address) (bool, error)

Whitelist is a free data retrieval call binding the contract method 0x9b19251a.

Solidity: function whitelist(address ) view returns(bool)

func (*StakingCaller) WhitelistEnabled

func (_Staking *StakingCaller) WhitelistEnabled(opts *bind.CallOpts) (bool, error)

WhitelistEnabled is a free data retrieval call binding the contract method 0x51fb012d.

Solidity: function whitelistEnabled() view returns(bool)

type StakingCallerRaw

type StakingCallerRaw struct {
	Contract *StakingCaller // Generic read-only contract binding to access the raw methods on
}

StakingCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.

func (*StakingCallerRaw) Call

func (_Staking *StakingCallerRaw) 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 StakingCallerSession

type StakingCallerSession struct {
	Contract *StakingCaller // Generic contract caller binding to set the session for
	CallOpts bind.CallOpts  // Call options to use throughout this session
}

StakingCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.

func (*StakingCallerSession) BondedTokens

func (_Staking *StakingCallerSession) BondedTokens() (*big.Int, error)

BondedTokens is a free data retrieval call binding the contract method 0x65d5d420.

Solidity: function bondedTokens() view returns(uint256)

func (*StakingCallerSession) BondedValAddrs

func (_Staking *StakingCallerSession) BondedValAddrs(arg0 *big.Int) (common.Address, error)

BondedValAddrs is a free data retrieval call binding the contract method 0xacc62ccf.

Solidity: function bondedValAddrs(uint256 ) view returns(address)

func (*StakingCallerSession) CELERTOKEN

func (_Staking *StakingCallerSession) CELERTOKEN() (common.Address, error)

CELERTOKEN is a free data retrieval call binding the contract method 0x960dc08a.

Solidity: function CELER_TOKEN() view returns(address)

func (*StakingCallerSession) Forfeiture

func (_Staking *StakingCallerSession) Forfeiture() (*big.Int, error)

Forfeiture is a free data retrieval call binding the contract method 0x8338f0e5.

Solidity: function forfeiture() view returns(uint256)

func (*StakingCallerSession) GetBondedValidatorNum

func (_Staking *StakingCallerSession) GetBondedValidatorNum() (*big.Int, error)

GetBondedValidatorNum is a free data retrieval call binding the contract method 0x89f9aab5.

Solidity: function getBondedValidatorNum() view returns(uint256)

func (*StakingCallerSession) GetBondedValidatorsTokens

func (_Staking *StakingCallerSession) GetBondedValidatorsTokens() ([]DataTypesValidatorTokens, error)

GetBondedValidatorsTokens is a free data retrieval call binding the contract method 0x4021d4d5.

Solidity: function getBondedValidatorsTokens() view returns((address,uint256)[])

func (*StakingCallerSession) GetDelegatorInfo

func (_Staking *StakingCallerSession) GetDelegatorInfo(_valAddr common.Address, _delAddr common.Address) (DataTypesDelegatorInfo, error)

GetDelegatorInfo is a free data retrieval call binding the contract method 0xeecefef8.

Solidity: function getDelegatorInfo(address _valAddr, address _delAddr) view returns((address,uint256,uint256,(uint256,uint256)[],uint256,uint256))

func (*StakingCallerSession) GetParamValue

func (_Staking *StakingCallerSession) GetParamValue(_name uint8) (*big.Int, error)

GetParamValue is a free data retrieval call binding the contract method 0x410ae02c.

Solidity: function getParamValue(uint8 _name) view returns(uint256)

func (*StakingCallerSession) GetQuorumTokens

func (_Staking *StakingCallerSession) GetQuorumTokens() (*big.Int, error)

GetQuorumTokens is a free data retrieval call binding the contract method 0x386c024a.

Solidity: function getQuorumTokens() view returns(uint256)

func (*StakingCallerSession) GetValidatorNum

func (_Staking *StakingCallerSession) GetValidatorNum() (*big.Int, error)

GetValidatorNum is a free data retrieval call binding the contract method 0x1cfe4f0b.

Solidity: function getValidatorNum() view returns(uint256)

func (*StakingCallerSession) GetValidatorStatus

func (_Staking *StakingCallerSession) GetValidatorStatus(_valAddr common.Address) (uint8, error)

GetValidatorStatus is a free data retrieval call binding the contract method 0xa310624f.

Solidity: function getValidatorStatus(address _valAddr) view returns(uint8)

func (*StakingCallerSession) GetValidatorTokens

func (_Staking *StakingCallerSession) GetValidatorTokens(_valAddr common.Address) (*big.Int, error)

GetValidatorTokens is a free data retrieval call binding the contract method 0xc8f9f984.

Solidity: function getValidatorTokens(address _valAddr) view returns(uint256)

func (*StakingCallerSession) GovContract

func (_Staking *StakingCallerSession) GovContract() (common.Address, error)

GovContract is a free data retrieval call binding the contract method 0x2fa4d12b.

Solidity: function govContract() view returns(address)

func (*StakingCallerSession) HasMinRequiredTokens

func (_Staking *StakingCallerSession) HasMinRequiredTokens(_valAddr common.Address, _checkSelfDelegation bool) (bool, error)

HasMinRequiredTokens is a free data retrieval call binding the contract method 0x47abfdbf.

Solidity: function hasMinRequiredTokens(address _valAddr, bool _checkSelfDelegation) view returns(bool)

func (*StakingCallerSession) IsBondedValidator

func (_Staking *StakingCallerSession) IsBondedValidator(_addr common.Address) (bool, error)

IsBondedValidator is a free data retrieval call binding the contract method 0xb4f7fa34.

Solidity: function isBondedValidator(address _addr) view returns(bool)

func (*StakingCallerSession) IsPauser

func (_Staking *StakingCallerSession) IsPauser(account common.Address) (bool, error)

IsPauser is a free data retrieval call binding the contract method 0x46fbf68e.

Solidity: function isPauser(address account) view returns(bool)

func (*StakingCallerSession) IsWhitelisted

func (_Staking *StakingCallerSession) IsWhitelisted(account common.Address) (bool, error)

IsWhitelisted is a free data retrieval call binding the contract method 0x3af32abf.

Solidity: function isWhitelisted(address account) view returns(bool)

func (*StakingCallerSession) NextBondBlock

func (_Staking *StakingCallerSession) NextBondBlock() (*big.Int, error)

NextBondBlock is a free data retrieval call binding the contract method 0x83cfb318.

Solidity: function nextBondBlock() view returns(uint256)

func (*StakingCallerSession) Owner

func (_Staking *StakingCallerSession) Owner() (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() view returns(address)

func (*StakingCallerSession) Params

func (_Staking *StakingCallerSession) Params(arg0 uint8) (*big.Int, error)

Params is a free data retrieval call binding the contract method 0xeb505dd5.

Solidity: function params(uint8 ) view returns(uint256)

func (*StakingCallerSession) Paused

func (_Staking *StakingCallerSession) Paused() (bool, error)

Paused is a free data retrieval call binding the contract method 0x5c975abb.

Solidity: function paused() view returns(bool)

func (*StakingCallerSession) Pausers

func (_Staking *StakingCallerSession) Pausers(arg0 common.Address) (bool, error)

Pausers is a free data retrieval call binding the contract method 0x80f51c12.

Solidity: function pausers(address ) view returns(bool)

func (*StakingCallerSession) RewardContract

func (_Staking *StakingCallerSession) RewardContract() (common.Address, error)

RewardContract is a free data retrieval call binding the contract method 0x6ea69d62.

Solidity: function rewardContract() view returns(address)

func (*StakingCallerSession) SignerVals

func (_Staking *StakingCallerSession) SignerVals(arg0 common.Address) (common.Address, error)

SignerVals is a free data retrieval call binding the contract method 0x6d308783.

Solidity: function signerVals(address ) view returns(address)

func (*StakingCallerSession) SlashNonces

func (_Staking *StakingCallerSession) SlashNonces(arg0 *big.Int) (bool, error)

SlashNonces is a free data retrieval call binding the contract method 0x90e360f8.

Solidity: function slashNonces(uint256 ) view returns(bool)

func (*StakingCallerSession) ValAddrs

func (_Staking *StakingCallerSession) ValAddrs(arg0 *big.Int) (common.Address, error)

ValAddrs is a free data retrieval call binding the contract method 0x92bb243c.

Solidity: function valAddrs(uint256 ) view returns(address)

func (*StakingCallerSession) Validators

func (_Staking *StakingCallerSession) Validators(arg0 common.Address) (struct {
	Status             uint8
	Signer             common.Address
	Tokens             *big.Int
	Shares             *big.Int
	UndelegationTokens *big.Int
	UndelegationShares *big.Int
	MinSelfDelegation  *big.Int
	BondBlock          uint64
	UnbondBlock        uint64
	CommissionRate     uint64
}, error)

Validators is a free data retrieval call binding the contract method 0xfa52c7d8.

Solidity: function validators(address ) view returns(uint8 status, address signer, uint256 tokens, uint256 shares, uint256 undelegationTokens, uint256 undelegationShares, uint256 minSelfDelegation, uint64 bondBlock, uint64 unbondBlock, uint64 commissionRate)

func (*StakingCallerSession) VerifySignatures

func (_Staking *StakingCallerSession) VerifySignatures(_msg []byte, _sigs [][]byte) (bool, error)

VerifySignatures is a free data retrieval call binding the contract method 0x8a74d5fe.

Solidity: function verifySignatures(bytes _msg, bytes[] _sigs) view returns(bool)

func (*StakingCallerSession) VerifySigs

func (_Staking *StakingCallerSession) VerifySigs(_msg []byte, _sigs [][]byte, arg2 []common.Address, arg3 []*big.Int) error

VerifySigs is a free data retrieval call binding the contract method 0x682dbc22.

Solidity: function verifySigs(bytes _msg, bytes[] _sigs, address[] , uint256[] ) view returns()

func (*StakingCallerSession) Whitelist

func (_Staking *StakingCallerSession) Whitelist(arg0 common.Address) (bool, error)

Whitelist is a free data retrieval call binding the contract method 0x9b19251a.

Solidity: function whitelist(address ) view returns(bool)

func (*StakingCallerSession) WhitelistEnabled

func (_Staking *StakingCallerSession) WhitelistEnabled() (bool, error)

WhitelistEnabled is a free data retrieval call binding the contract method 0x51fb012d.

Solidity: function whitelistEnabled() view returns(bool)

type StakingContract

type StakingContract struct {
	*Staking
	Address Addr
}

func NewStakingContract

func NewStakingContract(address Addr, client *ethclient.Client) (*StakingContract, error)

func (*StakingContract) GetABI

func (c *StakingContract) GetABI() string

func (*StakingContract) GetAddr

func (c *StakingContract) GetAddr() Addr

type StakingDelegationUpdate

type StakingDelegationUpdate struct {
	ValAddr   common.Address
	DelAddr   common.Address
	ValTokens *big.Int
	DelShares *big.Int
	TokenDiff *big.Int
	Raw       types.Log // Blockchain specific contextual infos
}

StakingDelegationUpdate represents a DelegationUpdate event raised by the Staking contract.

type StakingDelegationUpdateIterator

type StakingDelegationUpdateIterator struct {
	Event *StakingDelegationUpdate // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

StakingDelegationUpdateIterator is returned from FilterDelegationUpdate and is used to iterate over the raw logs and unpacked data for DelegationUpdate events raised by the Staking contract.

func (*StakingDelegationUpdateIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*StakingDelegationUpdateIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*StakingDelegationUpdateIterator) 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 StakingFilterer

type StakingFilterer struct {
	// contains filtered or unexported fields
}

StakingFilterer is an auto generated log filtering Go binding around an Ethereum contract events.

func NewStakingFilterer

func NewStakingFilterer(address common.Address, filterer bind.ContractFilterer) (*StakingFilterer, error)

NewStakingFilterer creates a new log filterer instance of Staking, bound to a specific deployed contract.

func (*StakingFilterer) FilterDelegationUpdate

func (_Staking *StakingFilterer) FilterDelegationUpdate(opts *bind.FilterOpts, valAddr []common.Address, delAddr []common.Address) (*StakingDelegationUpdateIterator, error)

FilterDelegationUpdate is a free log retrieval operation binding the contract event 0x2e289e5a72f8e92e344eb866e0a32621f332835d2df2cf1f76e5a345b23cf1ea.

Solidity: event DelegationUpdate(address indexed valAddr, address indexed delAddr, uint256 valTokens, uint256 delShares, int256 tokenDiff)

func (*StakingFilterer) FilterOwnershipTransferred

func (_Staking *StakingFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*StakingOwnershipTransferredIterator, error)

FilterOwnershipTransferred is a free log retrieval operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)

func (*StakingFilterer) FilterPaused

func (_Staking *StakingFilterer) FilterPaused(opts *bind.FilterOpts) (*StakingPausedIterator, error)

FilterPaused is a free log retrieval operation binding the contract event 0x62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258.

Solidity: event Paused(address account)

func (*StakingFilterer) FilterPauserAdded

func (_Staking *StakingFilterer) FilterPauserAdded(opts *bind.FilterOpts) (*StakingPauserAddedIterator, error)

FilterPauserAdded is a free log retrieval operation binding the contract event 0x6719d08c1888103bea251a4ed56406bd0c3e69723c8a1686e017e7bbe159b6f8.

Solidity: event PauserAdded(address account)

func (*StakingFilterer) FilterPauserRemoved

func (_Staking *StakingFilterer) FilterPauserRemoved(opts *bind.FilterOpts) (*StakingPauserRemovedIterator, error)

FilterPauserRemoved is a free log retrieval operation binding the contract event 0xcd265ebaf09df2871cc7bd4133404a235ba12eff2041bb89d9c714a2621c7c7e.

Solidity: event PauserRemoved(address account)

func (*StakingFilterer) FilterSlash

func (_Staking *StakingFilterer) FilterSlash(opts *bind.FilterOpts, valAddr []common.Address) (*StakingSlashIterator, error)

FilterSlash is a free log retrieval operation binding the contract event 0x10863f35bc5db9fda133333468bf7b1ceaaa88cb4263c061f890f97b79bf9008.

Solidity: event Slash(address indexed valAddr, uint64 nonce, uint256 slashAmt)

func (*StakingFilterer) FilterSlashAmtCollected

func (_Staking *StakingFilterer) FilterSlashAmtCollected(opts *bind.FilterOpts, recipient []common.Address) (*StakingSlashAmtCollectedIterator, error)

FilterSlashAmtCollected is a free log retrieval operation binding the contract event 0xb1375221b23a15d2f6887c7dbdc6745a07d9a5245076d51fb41879590ebbd2a3.

Solidity: event SlashAmtCollected(address indexed recipient, uint256 amount)

func (*StakingFilterer) FilterUndelegated

func (_Staking *StakingFilterer) FilterUndelegated(opts *bind.FilterOpts, valAddr []common.Address, delAddr []common.Address) (*StakingUndelegatedIterator, error)

FilterUndelegated is a free log retrieval operation binding the contract event 0x4d10bd049775c77bd7f255195afba5088028ecb3c7c277d393ccff7934f2f92c.

Solidity: event Undelegated(address indexed valAddr, address indexed delAddr, uint256 amount)

func (*StakingFilterer) FilterUnpaused

func (_Staking *StakingFilterer) FilterUnpaused(opts *bind.FilterOpts) (*StakingUnpausedIterator, error)

FilterUnpaused is a free log retrieval operation binding the contract event 0x5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa.

Solidity: event Unpaused(address account)

func (*StakingFilterer) FilterValidatorNotice

func (_Staking *StakingFilterer) FilterValidatorNotice(opts *bind.FilterOpts, valAddr []common.Address) (*StakingValidatorNoticeIterator, error)

FilterValidatorNotice is a free log retrieval operation binding the contract event 0x3683b59f352bc42833c21c736ba7631d3e35fed49723ebac8298d4e0f36e512c.

Solidity: event ValidatorNotice(address indexed valAddr, string key, bytes data, address from)

func (*StakingFilterer) FilterValidatorStatusUpdate

func (_Staking *StakingFilterer) FilterValidatorStatusUpdate(opts *bind.FilterOpts, valAddr []common.Address, status []uint8) (*StakingValidatorStatusUpdateIterator, error)

FilterValidatorStatusUpdate is a free log retrieval operation binding the contract event 0xd5e59fa85493a77fb57f6bf9080f2f71fde9de0eadc62b27b43b6263f3f1f59a.

Solidity: event ValidatorStatusUpdate(address indexed valAddr, uint8 indexed status)

func (*StakingFilterer) FilterWhitelistedAdded

func (_Staking *StakingFilterer) FilterWhitelistedAdded(opts *bind.FilterOpts) (*StakingWhitelistedAddedIterator, error)

FilterWhitelistedAdded is a free log retrieval operation binding the contract event 0xee1504a83b6d4a361f4c1dc78ab59bfa30d6a3b6612c403e86bb01ef2984295f.

Solidity: event WhitelistedAdded(address account)

func (*StakingFilterer) FilterWhitelistedRemoved

func (_Staking *StakingFilterer) FilterWhitelistedRemoved(opts *bind.FilterOpts) (*StakingWhitelistedRemovedIterator, error)

FilterWhitelistedRemoved is a free log retrieval operation binding the contract event 0x270d9b30cf5b0793bbfd54c9d5b94aeb49462b8148399000265144a8722da6b6.

Solidity: event WhitelistedRemoved(address account)

func (*StakingFilterer) ParseDelegationUpdate

func (_Staking *StakingFilterer) ParseDelegationUpdate(log types.Log) (*StakingDelegationUpdate, error)

ParseDelegationUpdate is a log parse operation binding the contract event 0x2e289e5a72f8e92e344eb866e0a32621f332835d2df2cf1f76e5a345b23cf1ea.

Solidity: event DelegationUpdate(address indexed valAddr, address indexed delAddr, uint256 valTokens, uint256 delShares, int256 tokenDiff)

func (*StakingFilterer) ParseOwnershipTransferred

func (_Staking *StakingFilterer) ParseOwnershipTransferred(log types.Log) (*StakingOwnershipTransferred, error)

ParseOwnershipTransferred is a log parse operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)

func (*StakingFilterer) ParsePaused

func (_Staking *StakingFilterer) ParsePaused(log types.Log) (*StakingPaused, error)

ParsePaused is a log parse operation binding the contract event 0x62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258.

Solidity: event Paused(address account)

func (*StakingFilterer) ParsePauserAdded

func (_Staking *StakingFilterer) ParsePauserAdded(log types.Log) (*StakingPauserAdded, error)

ParsePauserAdded is a log parse operation binding the contract event 0x6719d08c1888103bea251a4ed56406bd0c3e69723c8a1686e017e7bbe159b6f8.

Solidity: event PauserAdded(address account)

func (*StakingFilterer) ParsePauserRemoved

func (_Staking *StakingFilterer) ParsePauserRemoved(log types.Log) (*StakingPauserRemoved, error)

ParsePauserRemoved is a log parse operation binding the contract event 0xcd265ebaf09df2871cc7bd4133404a235ba12eff2041bb89d9c714a2621c7c7e.

Solidity: event PauserRemoved(address account)

func (*StakingFilterer) ParseSlash

func (_Staking *StakingFilterer) ParseSlash(log types.Log) (*StakingSlash, error)

ParseSlash is a log parse operation binding the contract event 0x10863f35bc5db9fda133333468bf7b1ceaaa88cb4263c061f890f97b79bf9008.

Solidity: event Slash(address indexed valAddr, uint64 nonce, uint256 slashAmt)

func (*StakingFilterer) ParseSlashAmtCollected

func (_Staking *StakingFilterer) ParseSlashAmtCollected(log types.Log) (*StakingSlashAmtCollected, error)

ParseSlashAmtCollected is a log parse operation binding the contract event 0xb1375221b23a15d2f6887c7dbdc6745a07d9a5245076d51fb41879590ebbd2a3.

Solidity: event SlashAmtCollected(address indexed recipient, uint256 amount)

func (*StakingFilterer) ParseUndelegated

func (_Staking *StakingFilterer) ParseUndelegated(log types.Log) (*StakingUndelegated, error)

ParseUndelegated is a log parse operation binding the contract event 0x4d10bd049775c77bd7f255195afba5088028ecb3c7c277d393ccff7934f2f92c.

Solidity: event Undelegated(address indexed valAddr, address indexed delAddr, uint256 amount)

func (*StakingFilterer) ParseUnpaused

func (_Staking *StakingFilterer) ParseUnpaused(log types.Log) (*StakingUnpaused, error)

ParseUnpaused is a log parse operation binding the contract event 0x5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa.

Solidity: event Unpaused(address account)

func (*StakingFilterer) ParseValidatorNotice

func (_Staking *StakingFilterer) ParseValidatorNotice(log types.Log) (*StakingValidatorNotice, error)

ParseValidatorNotice is a log parse operation binding the contract event 0x3683b59f352bc42833c21c736ba7631d3e35fed49723ebac8298d4e0f36e512c.

Solidity: event ValidatorNotice(address indexed valAddr, string key, bytes data, address from)

func (*StakingFilterer) ParseValidatorStatusUpdate

func (_Staking *StakingFilterer) ParseValidatorStatusUpdate(log types.Log) (*StakingValidatorStatusUpdate, error)

ParseValidatorStatusUpdate is a log parse operation binding the contract event 0xd5e59fa85493a77fb57f6bf9080f2f71fde9de0eadc62b27b43b6263f3f1f59a.

Solidity: event ValidatorStatusUpdate(address indexed valAddr, uint8 indexed status)

func (*StakingFilterer) ParseWhitelistedAdded

func (_Staking *StakingFilterer) ParseWhitelistedAdded(log types.Log) (*StakingWhitelistedAdded, error)

ParseWhitelistedAdded is a log parse operation binding the contract event 0xee1504a83b6d4a361f4c1dc78ab59bfa30d6a3b6612c403e86bb01ef2984295f.

Solidity: event WhitelistedAdded(address account)

func (*StakingFilterer) ParseWhitelistedRemoved

func (_Staking *StakingFilterer) ParseWhitelistedRemoved(log types.Log) (*StakingWhitelistedRemoved, error)

ParseWhitelistedRemoved is a log parse operation binding the contract event 0x270d9b30cf5b0793bbfd54c9d5b94aeb49462b8148399000265144a8722da6b6.

Solidity: event WhitelistedRemoved(address account)

func (*StakingFilterer) WatchDelegationUpdate

func (_Staking *StakingFilterer) WatchDelegationUpdate(opts *bind.WatchOpts, sink chan<- *StakingDelegationUpdate, valAddr []common.Address, delAddr []common.Address) (event.Subscription, error)

WatchDelegationUpdate is a free log subscription operation binding the contract event 0x2e289e5a72f8e92e344eb866e0a32621f332835d2df2cf1f76e5a345b23cf1ea.

Solidity: event DelegationUpdate(address indexed valAddr, address indexed delAddr, uint256 valTokens, uint256 delShares, int256 tokenDiff)

func (*StakingFilterer) WatchOwnershipTransferred

func (_Staking *StakingFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *StakingOwnershipTransferred, 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 (*StakingFilterer) WatchPaused

func (_Staking *StakingFilterer) WatchPaused(opts *bind.WatchOpts, sink chan<- *StakingPaused) (event.Subscription, error)

WatchPaused is a free log subscription operation binding the contract event 0x62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258.

Solidity: event Paused(address account)

func (*StakingFilterer) WatchPauserAdded

func (_Staking *StakingFilterer) WatchPauserAdded(opts *bind.WatchOpts, sink chan<- *StakingPauserAdded) (event.Subscription, error)

WatchPauserAdded is a free log subscription operation binding the contract event 0x6719d08c1888103bea251a4ed56406bd0c3e69723c8a1686e017e7bbe159b6f8.

Solidity: event PauserAdded(address account)

func (*StakingFilterer) WatchPauserRemoved

func (_Staking *StakingFilterer) WatchPauserRemoved(opts *bind.WatchOpts, sink chan<- *StakingPauserRemoved) (event.Subscription, error)

WatchPauserRemoved is a free log subscription operation binding the contract event 0xcd265ebaf09df2871cc7bd4133404a235ba12eff2041bb89d9c714a2621c7c7e.

Solidity: event PauserRemoved(address account)

func (*StakingFilterer) WatchSlash

func (_Staking *StakingFilterer) WatchSlash(opts *bind.WatchOpts, sink chan<- *StakingSlash, valAddr []common.Address) (event.Subscription, error)

WatchSlash is a free log subscription operation binding the contract event 0x10863f35bc5db9fda133333468bf7b1ceaaa88cb4263c061f890f97b79bf9008.

Solidity: event Slash(address indexed valAddr, uint64 nonce, uint256 slashAmt)

func (*StakingFilterer) WatchSlashAmtCollected

func (_Staking *StakingFilterer) WatchSlashAmtCollected(opts *bind.WatchOpts, sink chan<- *StakingSlashAmtCollected, recipient []common.Address) (event.Subscription, error)

WatchSlashAmtCollected is a free log subscription operation binding the contract event 0xb1375221b23a15d2f6887c7dbdc6745a07d9a5245076d51fb41879590ebbd2a3.

Solidity: event SlashAmtCollected(address indexed recipient, uint256 amount)

func (*StakingFilterer) WatchUndelegated

func (_Staking *StakingFilterer) WatchUndelegated(opts *bind.WatchOpts, sink chan<- *StakingUndelegated, valAddr []common.Address, delAddr []common.Address) (event.Subscription, error)

WatchUndelegated is a free log subscription operation binding the contract event 0x4d10bd049775c77bd7f255195afba5088028ecb3c7c277d393ccff7934f2f92c.

Solidity: event Undelegated(address indexed valAddr, address indexed delAddr, uint256 amount)

func (*StakingFilterer) WatchUnpaused

func (_Staking *StakingFilterer) WatchUnpaused(opts *bind.WatchOpts, sink chan<- *StakingUnpaused) (event.Subscription, error)

WatchUnpaused is a free log subscription operation binding the contract event 0x5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa.

Solidity: event Unpaused(address account)

func (*StakingFilterer) WatchValidatorNotice

func (_Staking *StakingFilterer) WatchValidatorNotice(opts *bind.WatchOpts, sink chan<- *StakingValidatorNotice, valAddr []common.Address) (event.Subscription, error)

WatchValidatorNotice is a free log subscription operation binding the contract event 0x3683b59f352bc42833c21c736ba7631d3e35fed49723ebac8298d4e0f36e512c.

Solidity: event ValidatorNotice(address indexed valAddr, string key, bytes data, address from)

func (*StakingFilterer) WatchValidatorStatusUpdate

func (_Staking *StakingFilterer) WatchValidatorStatusUpdate(opts *bind.WatchOpts, sink chan<- *StakingValidatorStatusUpdate, valAddr []common.Address, status []uint8) (event.Subscription, error)

WatchValidatorStatusUpdate is a free log subscription operation binding the contract event 0xd5e59fa85493a77fb57f6bf9080f2f71fde9de0eadc62b27b43b6263f3f1f59a.

Solidity: event ValidatorStatusUpdate(address indexed valAddr, uint8 indexed status)

func (*StakingFilterer) WatchWhitelistedAdded

func (_Staking *StakingFilterer) WatchWhitelistedAdded(opts *bind.WatchOpts, sink chan<- *StakingWhitelistedAdded) (event.Subscription, error)

WatchWhitelistedAdded is a free log subscription operation binding the contract event 0xee1504a83b6d4a361f4c1dc78ab59bfa30d6a3b6612c403e86bb01ef2984295f.

Solidity: event WhitelistedAdded(address account)

func (*StakingFilterer) WatchWhitelistedRemoved

func (_Staking *StakingFilterer) WatchWhitelistedRemoved(opts *bind.WatchOpts, sink chan<- *StakingWhitelistedRemoved) (event.Subscription, error)

WatchWhitelistedRemoved is a free log subscription operation binding the contract event 0x270d9b30cf5b0793bbfd54c9d5b94aeb49462b8148399000265144a8722da6b6.

Solidity: event WhitelistedRemoved(address account)

type StakingOwnershipTransferred

type StakingOwnershipTransferred struct {
	PreviousOwner common.Address
	NewOwner      common.Address
	Raw           types.Log // Blockchain specific contextual infos
}

StakingOwnershipTransferred represents a OwnershipTransferred event raised by the Staking contract.

type StakingOwnershipTransferredIterator

type StakingOwnershipTransferredIterator struct {
	Event *StakingOwnershipTransferred // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

StakingOwnershipTransferredIterator is returned from FilterOwnershipTransferred and is used to iterate over the raw logs and unpacked data for OwnershipTransferred events raised by the Staking contract.

func (*StakingOwnershipTransferredIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*StakingOwnershipTransferredIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*StakingOwnershipTransferredIterator) 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 StakingPaused

type StakingPaused struct {
	Account common.Address
	Raw     types.Log // Blockchain specific contextual infos
}

StakingPaused represents a Paused event raised by the Staking contract.

type StakingPausedIterator

type StakingPausedIterator struct {
	Event *StakingPaused // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

StakingPausedIterator is returned from FilterPaused and is used to iterate over the raw logs and unpacked data for Paused events raised by the Staking contract.

func (*StakingPausedIterator) Close

func (it *StakingPausedIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*StakingPausedIterator) Error

func (it *StakingPausedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*StakingPausedIterator) Next

func (it *StakingPausedIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type StakingPauserAdded

type StakingPauserAdded struct {
	Account common.Address
	Raw     types.Log // Blockchain specific contextual infos
}

StakingPauserAdded represents a PauserAdded event raised by the Staking contract.

type StakingPauserAddedIterator

type StakingPauserAddedIterator struct {
	Event *StakingPauserAdded // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

StakingPauserAddedIterator is returned from FilterPauserAdded and is used to iterate over the raw logs and unpacked data for PauserAdded events raised by the Staking contract.

func (*StakingPauserAddedIterator) Close

func (it *StakingPauserAddedIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*StakingPauserAddedIterator) Error

func (it *StakingPauserAddedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*StakingPauserAddedIterator) Next

func (it *StakingPauserAddedIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type StakingPauserRemoved

type StakingPauserRemoved struct {
	Account common.Address
	Raw     types.Log // Blockchain specific contextual infos
}

StakingPauserRemoved represents a PauserRemoved event raised by the Staking contract.

type StakingPauserRemovedIterator

type StakingPauserRemovedIterator struct {
	Event *StakingPauserRemoved // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

StakingPauserRemovedIterator is returned from FilterPauserRemoved and is used to iterate over the raw logs and unpacked data for PauserRemoved events raised by the Staking contract.

func (*StakingPauserRemovedIterator) Close

func (it *StakingPauserRemovedIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*StakingPauserRemovedIterator) Error

func (it *StakingPauserRemovedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*StakingPauserRemovedIterator) 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 StakingRaw

type StakingRaw struct {
	Contract *Staking // Generic contract binding to access the raw methods on
}

StakingRaw is an auto generated low-level Go binding around an Ethereum contract.

func (*StakingRaw) Call

func (_Staking *StakingRaw) 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 (*StakingRaw) Transact

func (_Staking *StakingRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*StakingRaw) Transfer

func (_Staking *StakingRaw) 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 StakingReward

type StakingReward struct {
	StakingRewardCaller     // Read-only binding to the contract
	StakingRewardTransactor // Write-only binding to the contract
	StakingRewardFilterer   // Log filterer for contract events
}

StakingReward is an auto generated Go binding around an Ethereum contract.

func DeployStakingReward

func DeployStakingReward(auth *bind.TransactOpts, backend bind.ContractBackend, _staking common.Address) (common.Address, *types.Transaction, *StakingReward, error)

DeployStakingReward deploys a new Ethereum contract, binding an instance of StakingReward to it.

func NewStakingReward

func NewStakingReward(address common.Address, backend bind.ContractBackend) (*StakingReward, error)

NewStakingReward creates a new instance of StakingReward, bound to a specific deployed contract.

type StakingRewardCaller

type StakingRewardCaller struct {
	// contains filtered or unexported fields
}

StakingRewardCaller is an auto generated read-only Go binding around an Ethereum contract.

func NewStakingRewardCaller

func NewStakingRewardCaller(address common.Address, caller bind.ContractCaller) (*StakingRewardCaller, error)

NewStakingRewardCaller creates a new read-only instance of StakingReward, bound to a specific deployed contract.

func (*StakingRewardCaller) ClaimedRewardAmounts

func (_StakingReward *StakingRewardCaller) ClaimedRewardAmounts(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)

ClaimedRewardAmounts is a free data retrieval call binding the contract method 0x96db0fef.

Solidity: function claimedRewardAmounts(address ) view returns(uint256)

func (*StakingRewardCaller) IsPauser

func (_StakingReward *StakingRewardCaller) IsPauser(opts *bind.CallOpts, account common.Address) (bool, error)

IsPauser is a free data retrieval call binding the contract method 0x46fbf68e.

Solidity: function isPauser(address account) view returns(bool)

func (*StakingRewardCaller) Owner

func (_StakingReward *StakingRewardCaller) 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 (*StakingRewardCaller) Paused

func (_StakingReward *StakingRewardCaller) Paused(opts *bind.CallOpts) (bool, error)

Paused is a free data retrieval call binding the contract method 0x5c975abb.

Solidity: function paused() view returns(bool)

func (*StakingRewardCaller) Pausers

func (_StakingReward *StakingRewardCaller) Pausers(opts *bind.CallOpts, arg0 common.Address) (bool, error)

Pausers is a free data retrieval call binding the contract method 0x80f51c12.

Solidity: function pausers(address ) view returns(bool)

func (*StakingRewardCaller) Staking

func (_StakingReward *StakingRewardCaller) Staking(opts *bind.CallOpts) (common.Address, error)

Staking is a free data retrieval call binding the contract method 0x4cf088d9.

Solidity: function staking() view returns(address)

type StakingRewardCallerRaw

type StakingRewardCallerRaw struct {
	Contract *StakingRewardCaller // Generic read-only contract binding to access the raw methods on
}

StakingRewardCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.

func (*StakingRewardCallerRaw) Call

func (_StakingReward *StakingRewardCallerRaw) 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 StakingRewardCallerSession

type StakingRewardCallerSession struct {
	Contract *StakingRewardCaller // Generic contract caller binding to set the session for
	CallOpts bind.CallOpts        // Call options to use throughout this session
}

StakingRewardCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.

func (*StakingRewardCallerSession) ClaimedRewardAmounts

func (_StakingReward *StakingRewardCallerSession) ClaimedRewardAmounts(arg0 common.Address) (*big.Int, error)

ClaimedRewardAmounts is a free data retrieval call binding the contract method 0x96db0fef.

Solidity: function claimedRewardAmounts(address ) view returns(uint256)

func (*StakingRewardCallerSession) IsPauser

func (_StakingReward *StakingRewardCallerSession) IsPauser(account common.Address) (bool, error)

IsPauser is a free data retrieval call binding the contract method 0x46fbf68e.

Solidity: function isPauser(address account) view returns(bool)

func (*StakingRewardCallerSession) Owner

func (_StakingReward *StakingRewardCallerSession) Owner() (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() view returns(address)

func (*StakingRewardCallerSession) Paused

func (_StakingReward *StakingRewardCallerSession) Paused() (bool, error)

Paused is a free data retrieval call binding the contract method 0x5c975abb.

Solidity: function paused() view returns(bool)

func (*StakingRewardCallerSession) Pausers

func (_StakingReward *StakingRewardCallerSession) Pausers(arg0 common.Address) (bool, error)

Pausers is a free data retrieval call binding the contract method 0x80f51c12.

Solidity: function pausers(address ) view returns(bool)

func (*StakingRewardCallerSession) Staking

func (_StakingReward *StakingRewardCallerSession) Staking() (common.Address, error)

Staking is a free data retrieval call binding the contract method 0x4cf088d9.

Solidity: function staking() view returns(address)

type StakingRewardContract

type StakingRewardContract struct {
	*StakingReward
	Address Addr
}

func NewStakingRewardContract

func NewStakingRewardContract(address Addr, client *ethclient.Client) (*StakingRewardContract, error)

func (*StakingRewardContract) GetABI

func (c *StakingRewardContract) GetABI() string

func (*StakingRewardContract) GetAddr

func (c *StakingRewardContract) GetAddr() Addr

type StakingRewardFilterer

type StakingRewardFilterer struct {
	// contains filtered or unexported fields
}

StakingRewardFilterer is an auto generated log filtering Go binding around an Ethereum contract events.

func NewStakingRewardFilterer

func NewStakingRewardFilterer(address common.Address, filterer bind.ContractFilterer) (*StakingRewardFilterer, error)

NewStakingRewardFilterer creates a new log filterer instance of StakingReward, bound to a specific deployed contract.

func (*StakingRewardFilterer) FilterOwnershipTransferred

func (_StakingReward *StakingRewardFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*StakingRewardOwnershipTransferredIterator, error)

FilterOwnershipTransferred is a free log retrieval operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)

func (*StakingRewardFilterer) FilterPaused

func (_StakingReward *StakingRewardFilterer) FilterPaused(opts *bind.FilterOpts) (*StakingRewardPausedIterator, error)

FilterPaused is a free log retrieval operation binding the contract event 0x62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258.

Solidity: event Paused(address account)

func (*StakingRewardFilterer) FilterPauserAdded

func (_StakingReward *StakingRewardFilterer) FilterPauserAdded(opts *bind.FilterOpts) (*StakingRewardPauserAddedIterator, error)

FilterPauserAdded is a free log retrieval operation binding the contract event 0x6719d08c1888103bea251a4ed56406bd0c3e69723c8a1686e017e7bbe159b6f8.

Solidity: event PauserAdded(address account)

func (*StakingRewardFilterer) FilterPauserRemoved

func (_StakingReward *StakingRewardFilterer) FilterPauserRemoved(opts *bind.FilterOpts) (*StakingRewardPauserRemovedIterator, error)

FilterPauserRemoved is a free log retrieval operation binding the contract event 0xcd265ebaf09df2871cc7bd4133404a235ba12eff2041bb89d9c714a2621c7c7e.

Solidity: event PauserRemoved(address account)

func (*StakingRewardFilterer) FilterStakingRewardClaimed

func (_StakingReward *StakingRewardFilterer) FilterStakingRewardClaimed(opts *bind.FilterOpts, recipient []common.Address) (*StakingRewardStakingRewardClaimedIterator, error)

FilterStakingRewardClaimed is a free log retrieval operation binding the contract event 0x6dd401e61ba732582a5eba3d54ccc3afb3609cd3ac1a166d1d36f75fc0aedcda.

Solidity: event StakingRewardClaimed(address indexed recipient, uint256 reward)

func (*StakingRewardFilterer) FilterStakingRewardContributed

func (_StakingReward *StakingRewardFilterer) FilterStakingRewardContributed(opts *bind.FilterOpts, contributor []common.Address) (*StakingRewardStakingRewardContributedIterator, error)

FilterStakingRewardContributed is a free log retrieval operation binding the contract event 0xf67017a05194c0853be9169be60cad9fa6e75d34b6b507a7a4261510e19c6d79.

Solidity: event StakingRewardContributed(address indexed contributor, uint256 contribution)

func (*StakingRewardFilterer) FilterUnpaused

func (_StakingReward *StakingRewardFilterer) FilterUnpaused(opts *bind.FilterOpts) (*StakingRewardUnpausedIterator, error)

FilterUnpaused is a free log retrieval operation binding the contract event 0x5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa.

Solidity: event Unpaused(address account)

func (*StakingRewardFilterer) ParseOwnershipTransferred

func (_StakingReward *StakingRewardFilterer) ParseOwnershipTransferred(log types.Log) (*StakingRewardOwnershipTransferred, error)

ParseOwnershipTransferred is a log parse operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)

func (*StakingRewardFilterer) ParsePaused

func (_StakingReward *StakingRewardFilterer) ParsePaused(log types.Log) (*StakingRewardPaused, error)

ParsePaused is a log parse operation binding the contract event 0x62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258.

Solidity: event Paused(address account)

func (*StakingRewardFilterer) ParsePauserAdded

func (_StakingReward *StakingRewardFilterer) ParsePauserAdded(log types.Log) (*StakingRewardPauserAdded, error)

ParsePauserAdded is a log parse operation binding the contract event 0x6719d08c1888103bea251a4ed56406bd0c3e69723c8a1686e017e7bbe159b6f8.

Solidity: event PauserAdded(address account)

func (*StakingRewardFilterer) ParsePauserRemoved

func (_StakingReward *StakingRewardFilterer) ParsePauserRemoved(log types.Log) (*StakingRewardPauserRemoved, error)

ParsePauserRemoved is a log parse operation binding the contract event 0xcd265ebaf09df2871cc7bd4133404a235ba12eff2041bb89d9c714a2621c7c7e.

Solidity: event PauserRemoved(address account)

func (*StakingRewardFilterer) ParseStakingRewardClaimed

func (_StakingReward *StakingRewardFilterer) ParseStakingRewardClaimed(log types.Log) (*StakingRewardStakingRewardClaimed, error)

ParseStakingRewardClaimed is a log parse operation binding the contract event 0x6dd401e61ba732582a5eba3d54ccc3afb3609cd3ac1a166d1d36f75fc0aedcda.

Solidity: event StakingRewardClaimed(address indexed recipient, uint256 reward)

func (*StakingRewardFilterer) ParseStakingRewardContributed

func (_StakingReward *StakingRewardFilterer) ParseStakingRewardContributed(log types.Log) (*StakingRewardStakingRewardContributed, error)

ParseStakingRewardContributed is a log parse operation binding the contract event 0xf67017a05194c0853be9169be60cad9fa6e75d34b6b507a7a4261510e19c6d79.

Solidity: event StakingRewardContributed(address indexed contributor, uint256 contribution)

func (*StakingRewardFilterer) ParseUnpaused

func (_StakingReward *StakingRewardFilterer) ParseUnpaused(log types.Log) (*StakingRewardUnpaused, error)

ParseUnpaused is a log parse operation binding the contract event 0x5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa.

Solidity: event Unpaused(address account)

func (*StakingRewardFilterer) WatchOwnershipTransferred

func (_StakingReward *StakingRewardFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *StakingRewardOwnershipTransferred, 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 (*StakingRewardFilterer) WatchPaused

func (_StakingReward *StakingRewardFilterer) WatchPaused(opts *bind.WatchOpts, sink chan<- *StakingRewardPaused) (event.Subscription, error)

WatchPaused is a free log subscription operation binding the contract event 0x62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258.

Solidity: event Paused(address account)

func (*StakingRewardFilterer) WatchPauserAdded

func (_StakingReward *StakingRewardFilterer) WatchPauserAdded(opts *bind.WatchOpts, sink chan<- *StakingRewardPauserAdded) (event.Subscription, error)

WatchPauserAdded is a free log subscription operation binding the contract event 0x6719d08c1888103bea251a4ed56406bd0c3e69723c8a1686e017e7bbe159b6f8.

Solidity: event PauserAdded(address account)

func (*StakingRewardFilterer) WatchPauserRemoved

func (_StakingReward *StakingRewardFilterer) WatchPauserRemoved(opts *bind.WatchOpts, sink chan<- *StakingRewardPauserRemoved) (event.Subscription, error)

WatchPauserRemoved is a free log subscription operation binding the contract event 0xcd265ebaf09df2871cc7bd4133404a235ba12eff2041bb89d9c714a2621c7c7e.

Solidity: event PauserRemoved(address account)

func (*StakingRewardFilterer) WatchStakingRewardClaimed

func (_StakingReward *StakingRewardFilterer) WatchStakingRewardClaimed(opts *bind.WatchOpts, sink chan<- *StakingRewardStakingRewardClaimed, recipient []common.Address) (event.Subscription, error)

WatchStakingRewardClaimed is a free log subscription operation binding the contract event 0x6dd401e61ba732582a5eba3d54ccc3afb3609cd3ac1a166d1d36f75fc0aedcda.

Solidity: event StakingRewardClaimed(address indexed recipient, uint256 reward)

func (*StakingRewardFilterer) WatchStakingRewardContributed

func (_StakingReward *StakingRewardFilterer) WatchStakingRewardContributed(opts *bind.WatchOpts, sink chan<- *StakingRewardStakingRewardContributed, contributor []common.Address) (event.Subscription, error)

WatchStakingRewardContributed is a free log subscription operation binding the contract event 0xf67017a05194c0853be9169be60cad9fa6e75d34b6b507a7a4261510e19c6d79.

Solidity: event StakingRewardContributed(address indexed contributor, uint256 contribution)

func (*StakingRewardFilterer) WatchUnpaused

func (_StakingReward *StakingRewardFilterer) WatchUnpaused(opts *bind.WatchOpts, sink chan<- *StakingRewardUnpaused) (event.Subscription, error)

WatchUnpaused is a free log subscription operation binding the contract event 0x5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa.

Solidity: event Unpaused(address account)

type StakingRewardOwnershipTransferred

type StakingRewardOwnershipTransferred struct {
	PreviousOwner common.Address
	NewOwner      common.Address
	Raw           types.Log // Blockchain specific contextual infos
}

StakingRewardOwnershipTransferred represents a OwnershipTransferred event raised by the StakingReward contract.

type StakingRewardOwnershipTransferredIterator

type StakingRewardOwnershipTransferredIterator struct {
	Event *StakingRewardOwnershipTransferred // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

StakingRewardOwnershipTransferredIterator is returned from FilterOwnershipTransferred and is used to iterate over the raw logs and unpacked data for OwnershipTransferred events raised by the StakingReward contract.

func (*StakingRewardOwnershipTransferredIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*StakingRewardOwnershipTransferredIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*StakingRewardOwnershipTransferredIterator) 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 StakingRewardPaused

type StakingRewardPaused struct {
	Account common.Address
	Raw     types.Log // Blockchain specific contextual infos
}

StakingRewardPaused represents a Paused event raised by the StakingReward contract.

type StakingRewardPausedIterator

type StakingRewardPausedIterator struct {
	Event *StakingRewardPaused // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

StakingRewardPausedIterator is returned from FilterPaused and is used to iterate over the raw logs and unpacked data for Paused events raised by the StakingReward contract.

func (*StakingRewardPausedIterator) Close

func (it *StakingRewardPausedIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*StakingRewardPausedIterator) Error

func (it *StakingRewardPausedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*StakingRewardPausedIterator) Next

func (it *StakingRewardPausedIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type StakingRewardPauserAdded

type StakingRewardPauserAdded struct {
	Account common.Address
	Raw     types.Log // Blockchain specific contextual infos
}

StakingRewardPauserAdded represents a PauserAdded event raised by the StakingReward contract.

type StakingRewardPauserAddedIterator

type StakingRewardPauserAddedIterator struct {
	Event *StakingRewardPauserAdded // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

StakingRewardPauserAddedIterator is returned from FilterPauserAdded and is used to iterate over the raw logs and unpacked data for PauserAdded events raised by the StakingReward contract.

func (*StakingRewardPauserAddedIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*StakingRewardPauserAddedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*StakingRewardPauserAddedIterator) 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 StakingRewardPauserRemoved

type StakingRewardPauserRemoved struct {
	Account common.Address
	Raw     types.Log // Blockchain specific contextual infos
}

StakingRewardPauserRemoved represents a PauserRemoved event raised by the StakingReward contract.

type StakingRewardPauserRemovedIterator

type StakingRewardPauserRemovedIterator struct {
	Event *StakingRewardPauserRemoved // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

StakingRewardPauserRemovedIterator is returned from FilterPauserRemoved and is used to iterate over the raw logs and unpacked data for PauserRemoved events raised by the StakingReward contract.

func (*StakingRewardPauserRemovedIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*StakingRewardPauserRemovedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*StakingRewardPauserRemovedIterator) 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 StakingRewardRaw

type StakingRewardRaw struct {
	Contract *StakingReward // Generic contract binding to access the raw methods on
}

StakingRewardRaw is an auto generated low-level Go binding around an Ethereum contract.

func (*StakingRewardRaw) Call

func (_StakingReward *StakingRewardRaw) 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 (*StakingRewardRaw) Transact

func (_StakingReward *StakingRewardRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*StakingRewardRaw) Transfer

func (_StakingReward *StakingRewardRaw) 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 StakingRewardSession

type StakingRewardSession struct {
	Contract     *StakingReward    // 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
}

StakingRewardSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.

func (*StakingRewardSession) AddPauser

func (_StakingReward *StakingRewardSession) AddPauser(account common.Address) (*types.Transaction, error)

AddPauser is a paid mutator transaction binding the contract method 0x82dc1ec4.

Solidity: function addPauser(address account) returns()

func (*StakingRewardSession) ClaimReward

func (_StakingReward *StakingRewardSession) ClaimReward(_rewardRequest []byte, _sigs [][]byte) (*types.Transaction, error)

ClaimReward is a paid mutator transaction binding the contract method 0xf8df0dc5.

Solidity: function claimReward(bytes _rewardRequest, bytes[] _sigs) returns()

func (*StakingRewardSession) ClaimedRewardAmounts

func (_StakingReward *StakingRewardSession) ClaimedRewardAmounts(arg0 common.Address) (*big.Int, error)

ClaimedRewardAmounts is a free data retrieval call binding the contract method 0x96db0fef.

Solidity: function claimedRewardAmounts(address ) view returns(uint256)

func (*StakingRewardSession) ContributeToRewardPool

func (_StakingReward *StakingRewardSession) ContributeToRewardPool(_amount *big.Int) (*types.Transaction, error)

ContributeToRewardPool is a paid mutator transaction binding the contract method 0x0a300b09.

Solidity: function contributeToRewardPool(uint256 _amount) returns()

func (*StakingRewardSession) DrainToken

func (_StakingReward *StakingRewardSession) DrainToken(_amount *big.Int) (*types.Transaction, error)

DrainToken is a paid mutator transaction binding the contract method 0x145aa116.

Solidity: function drainToken(uint256 _amount) returns()

func (*StakingRewardSession) IsPauser

func (_StakingReward *StakingRewardSession) IsPauser(account common.Address) (bool, error)

IsPauser is a free data retrieval call binding the contract method 0x46fbf68e.

Solidity: function isPauser(address account) view returns(bool)

func (*StakingRewardSession) Owner

func (_StakingReward *StakingRewardSession) Owner() (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() view returns(address)

func (*StakingRewardSession) Pause

func (_StakingReward *StakingRewardSession) Pause() (*types.Transaction, error)

Pause is a paid mutator transaction binding the contract method 0x8456cb59.

Solidity: function pause() returns()

func (*StakingRewardSession) Paused

func (_StakingReward *StakingRewardSession) Paused() (bool, error)

Paused is a free data retrieval call binding the contract method 0x5c975abb.

Solidity: function paused() view returns(bool)

func (*StakingRewardSession) Pausers

func (_StakingReward *StakingRewardSession) Pausers(arg0 common.Address) (bool, error)

Pausers is a free data retrieval call binding the contract method 0x80f51c12.

Solidity: function pausers(address ) view returns(bool)

func (*StakingRewardSession) RemovePauser

func (_StakingReward *StakingRewardSession) RemovePauser(account common.Address) (*types.Transaction, error)

RemovePauser is a paid mutator transaction binding the contract method 0x6b2c0f55.

Solidity: function removePauser(address account) returns()

func (*StakingRewardSession) RenouncePauser

func (_StakingReward *StakingRewardSession) RenouncePauser() (*types.Transaction, error)

RenouncePauser is a paid mutator transaction binding the contract method 0x6ef8d66d.

Solidity: function renouncePauser() returns()

func (*StakingRewardSession) Staking

func (_StakingReward *StakingRewardSession) Staking() (common.Address, error)

Staking is a free data retrieval call binding the contract method 0x4cf088d9.

Solidity: function staking() view returns(address)

func (*StakingRewardSession) TransferOwnership

func (_StakingReward *StakingRewardSession) 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 (*StakingRewardSession) Unpause

func (_StakingReward *StakingRewardSession) Unpause() (*types.Transaction, error)

Unpause is a paid mutator transaction binding the contract method 0x3f4ba83a.

Solidity: function unpause() returns()

type StakingRewardStakingRewardClaimed

type StakingRewardStakingRewardClaimed struct {
	Recipient common.Address
	Reward    *big.Int
	Raw       types.Log // Blockchain specific contextual infos
}

StakingRewardStakingRewardClaimed represents a StakingRewardClaimed event raised by the StakingReward contract.

type StakingRewardStakingRewardClaimedIterator

type StakingRewardStakingRewardClaimedIterator struct {
	Event *StakingRewardStakingRewardClaimed // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

StakingRewardStakingRewardClaimedIterator is returned from FilterStakingRewardClaimed and is used to iterate over the raw logs and unpacked data for StakingRewardClaimed events raised by the StakingReward contract.

func (*StakingRewardStakingRewardClaimedIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*StakingRewardStakingRewardClaimedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*StakingRewardStakingRewardClaimedIterator) 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 StakingRewardStakingRewardContributed

type StakingRewardStakingRewardContributed struct {
	Contributor  common.Address
	Contribution *big.Int
	Raw          types.Log // Blockchain specific contextual infos
}

StakingRewardStakingRewardContributed represents a StakingRewardContributed event raised by the StakingReward contract.

type StakingRewardStakingRewardContributedIterator

type StakingRewardStakingRewardContributedIterator struct {
	Event *StakingRewardStakingRewardContributed // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

StakingRewardStakingRewardContributedIterator is returned from FilterStakingRewardContributed and is used to iterate over the raw logs and unpacked data for StakingRewardContributed events raised by the StakingReward contract.

func (*StakingRewardStakingRewardContributedIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*StakingRewardStakingRewardContributedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*StakingRewardStakingRewardContributedIterator) 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 StakingRewardTransactor

type StakingRewardTransactor struct {
	// contains filtered or unexported fields
}

StakingRewardTransactor is an auto generated write-only Go binding around an Ethereum contract.

func NewStakingRewardTransactor

func NewStakingRewardTransactor(address common.Address, transactor bind.ContractTransactor) (*StakingRewardTransactor, error)

NewStakingRewardTransactor creates a new write-only instance of StakingReward, bound to a specific deployed contract.

func (*StakingRewardTransactor) AddPauser

func (_StakingReward *StakingRewardTransactor) AddPauser(opts *bind.TransactOpts, account common.Address) (*types.Transaction, error)

AddPauser is a paid mutator transaction binding the contract method 0x82dc1ec4.

Solidity: function addPauser(address account) returns()

func (*StakingRewardTransactor) ClaimReward

func (_StakingReward *StakingRewardTransactor) ClaimReward(opts *bind.TransactOpts, _rewardRequest []byte, _sigs [][]byte) (*types.Transaction, error)

ClaimReward is a paid mutator transaction binding the contract method 0xf8df0dc5.

Solidity: function claimReward(bytes _rewardRequest, bytes[] _sigs) returns()

func (*StakingRewardTransactor) ContributeToRewardPool

func (_StakingReward *StakingRewardTransactor) ContributeToRewardPool(opts *bind.TransactOpts, _amount *big.Int) (*types.Transaction, error)

ContributeToRewardPool is a paid mutator transaction binding the contract method 0x0a300b09.

Solidity: function contributeToRewardPool(uint256 _amount) returns()

func (*StakingRewardTransactor) DrainToken

func (_StakingReward *StakingRewardTransactor) DrainToken(opts *bind.TransactOpts, _amount *big.Int) (*types.Transaction, error)

DrainToken is a paid mutator transaction binding the contract method 0x145aa116.

Solidity: function drainToken(uint256 _amount) returns()

func (*StakingRewardTransactor) Pause

func (_StakingReward *StakingRewardTransactor) Pause(opts *bind.TransactOpts) (*types.Transaction, error)

Pause is a paid mutator transaction binding the contract method 0x8456cb59.

Solidity: function pause() returns()

func (*StakingRewardTransactor) RemovePauser

func (_StakingReward *StakingRewardTransactor) RemovePauser(opts *bind.TransactOpts, account common.Address) (*types.Transaction, error)

RemovePauser is a paid mutator transaction binding the contract method 0x6b2c0f55.

Solidity: function removePauser(address account) returns()

func (*StakingRewardTransactor) RenouncePauser

func (_StakingReward *StakingRewardTransactor) RenouncePauser(opts *bind.TransactOpts) (*types.Transaction, error)

RenouncePauser is a paid mutator transaction binding the contract method 0x6ef8d66d.

Solidity: function renouncePauser() returns()

func (*StakingRewardTransactor) TransferOwnership

func (_StakingReward *StakingRewardTransactor) 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 (*StakingRewardTransactor) Unpause

func (_StakingReward *StakingRewardTransactor) Unpause(opts *bind.TransactOpts) (*types.Transaction, error)

Unpause is a paid mutator transaction binding the contract method 0x3f4ba83a.

Solidity: function unpause() returns()

type StakingRewardTransactorRaw

type StakingRewardTransactorRaw struct {
	Contract *StakingRewardTransactor // Generic write-only contract binding to access the raw methods on
}

StakingRewardTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.

func (*StakingRewardTransactorRaw) Transact

func (_StakingReward *StakingRewardTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*StakingRewardTransactorRaw) Transfer

func (_StakingReward *StakingRewardTransactorRaw) 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 StakingRewardTransactorSession

type StakingRewardTransactorSession struct {
	Contract     *StakingRewardTransactor // Generic contract transactor binding to set the session for
	TransactOpts bind.TransactOpts        // Transaction auth options to use throughout this session
}

StakingRewardTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.

func (*StakingRewardTransactorSession) AddPauser

func (_StakingReward *StakingRewardTransactorSession) AddPauser(account common.Address) (*types.Transaction, error)

AddPauser is a paid mutator transaction binding the contract method 0x82dc1ec4.

Solidity: function addPauser(address account) returns()

func (*StakingRewardTransactorSession) ClaimReward

func (_StakingReward *StakingRewardTransactorSession) ClaimReward(_rewardRequest []byte, _sigs [][]byte) (*types.Transaction, error)

ClaimReward is a paid mutator transaction binding the contract method 0xf8df0dc5.

Solidity: function claimReward(bytes _rewardRequest, bytes[] _sigs) returns()

func (*StakingRewardTransactorSession) ContributeToRewardPool

func (_StakingReward *StakingRewardTransactorSession) ContributeToRewardPool(_amount *big.Int) (*types.Transaction, error)

ContributeToRewardPool is a paid mutator transaction binding the contract method 0x0a300b09.

Solidity: function contributeToRewardPool(uint256 _amount) returns()

func (*StakingRewardTransactorSession) DrainToken

func (_StakingReward *StakingRewardTransactorSession) DrainToken(_amount *big.Int) (*types.Transaction, error)

DrainToken is a paid mutator transaction binding the contract method 0x145aa116.

Solidity: function drainToken(uint256 _amount) returns()

func (*StakingRewardTransactorSession) Pause

func (_StakingReward *StakingRewardTransactorSession) Pause() (*types.Transaction, error)

Pause is a paid mutator transaction binding the contract method 0x8456cb59.

Solidity: function pause() returns()

func (*StakingRewardTransactorSession) RemovePauser

func (_StakingReward *StakingRewardTransactorSession) RemovePauser(account common.Address) (*types.Transaction, error)

RemovePauser is a paid mutator transaction binding the contract method 0x6b2c0f55.

Solidity: function removePauser(address account) returns()

func (*StakingRewardTransactorSession) RenouncePauser

func (_StakingReward *StakingRewardTransactorSession) RenouncePauser() (*types.Transaction, error)

RenouncePauser is a paid mutator transaction binding the contract method 0x6ef8d66d.

Solidity: function renouncePauser() returns()

func (*StakingRewardTransactorSession) TransferOwnership

func (_StakingReward *StakingRewardTransactorSession) 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 (*StakingRewardTransactorSession) Unpause

func (_StakingReward *StakingRewardTransactorSession) Unpause() (*types.Transaction, error)

Unpause is a paid mutator transaction binding the contract method 0x3f4ba83a.

Solidity: function unpause() returns()

type StakingRewardUnpaused

type StakingRewardUnpaused struct {
	Account common.Address
	Raw     types.Log // Blockchain specific contextual infos
}

StakingRewardUnpaused represents a Unpaused event raised by the StakingReward contract.

type StakingRewardUnpausedIterator

type StakingRewardUnpausedIterator struct {
	Event *StakingRewardUnpaused // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

StakingRewardUnpausedIterator is returned from FilterUnpaused and is used to iterate over the raw logs and unpacked data for Unpaused events raised by the StakingReward contract.

func (*StakingRewardUnpausedIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*StakingRewardUnpausedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*StakingRewardUnpausedIterator) 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 StakingSession

type StakingSession struct {
	Contract     *Staking          // 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
}

StakingSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.

func (*StakingSession) AddPauser

func (_Staking *StakingSession) AddPauser(account common.Address) (*types.Transaction, error)

AddPauser is a paid mutator transaction binding the contract method 0x82dc1ec4.

Solidity: function addPauser(address account) returns()

func (*StakingSession) AddWhitelisted

func (_Staking *StakingSession) AddWhitelisted(account common.Address) (*types.Transaction, error)

AddWhitelisted is a paid mutator transaction binding the contract method 0x10154bad.

Solidity: function addWhitelisted(address account) returns()

func (*StakingSession) BondValidator

func (_Staking *StakingSession) BondValidator() (*types.Transaction, error)

BondValidator is a paid mutator transaction binding the contract method 0x36f1635f.

Solidity: function bondValidator() returns()

func (*StakingSession) BondedTokens

func (_Staking *StakingSession) BondedTokens() (*big.Int, error)

BondedTokens is a free data retrieval call binding the contract method 0x65d5d420.

Solidity: function bondedTokens() view returns(uint256)

func (*StakingSession) BondedValAddrs

func (_Staking *StakingSession) BondedValAddrs(arg0 *big.Int) (common.Address, error)

BondedValAddrs is a free data retrieval call binding the contract method 0xacc62ccf.

Solidity: function bondedValAddrs(uint256 ) view returns(address)

func (*StakingSession) CELERTOKEN

func (_Staking *StakingSession) CELERTOKEN() (common.Address, error)

CELERTOKEN is a free data retrieval call binding the contract method 0x960dc08a.

Solidity: function CELER_TOKEN() view returns(address)

func (*StakingSession) CollectForfeiture

func (_Staking *StakingSession) CollectForfeiture() (*types.Transaction, error)

CollectForfeiture is a paid mutator transaction binding the contract method 0x82d7b4b8.

Solidity: function collectForfeiture() returns()

func (*StakingSession) CompleteUndelegate

func (_Staking *StakingSession) CompleteUndelegate(_valAddr common.Address) (*types.Transaction, error)

CompleteUndelegate is a paid mutator transaction binding the contract method 0x473849bd.

Solidity: function completeUndelegate(address _valAddr) returns()

func (*StakingSession) ConfirmUnbondedValidator

func (_Staking *StakingSession) ConfirmUnbondedValidator(_valAddr common.Address) (*types.Transaction, error)

ConfirmUnbondedValidator is a paid mutator transaction binding the contract method 0x71bc0216.

Solidity: function confirmUnbondedValidator(address _valAddr) returns()

func (*StakingSession) Delegate

func (_Staking *StakingSession) Delegate(_valAddr common.Address, _tokens *big.Int) (*types.Transaction, error)

Delegate is a paid mutator transaction binding the contract method 0x026e402b.

Solidity: function delegate(address _valAddr, uint256 _tokens) returns()

func (*StakingSession) DrainToken

func (_Staking *StakingSession) DrainToken(_amount *big.Int) (*types.Transaction, error)

DrainToken is a paid mutator transaction binding the contract method 0x145aa116.

Solidity: function drainToken(uint256 _amount) returns()

func (*StakingSession) Forfeiture

func (_Staking *StakingSession) Forfeiture() (*big.Int, error)

Forfeiture is a free data retrieval call binding the contract method 0x8338f0e5.

Solidity: function forfeiture() view returns(uint256)

func (*StakingSession) GetBondedValidatorNum

func (_Staking *StakingSession) GetBondedValidatorNum() (*big.Int, error)

GetBondedValidatorNum is a free data retrieval call binding the contract method 0x89f9aab5.

Solidity: function getBondedValidatorNum() view returns(uint256)

func (*StakingSession) GetBondedValidatorsTokens

func (_Staking *StakingSession) GetBondedValidatorsTokens() ([]DataTypesValidatorTokens, error)

GetBondedValidatorsTokens is a free data retrieval call binding the contract method 0x4021d4d5.

Solidity: function getBondedValidatorsTokens() view returns((address,uint256)[])

func (*StakingSession) GetDelegatorInfo

func (_Staking *StakingSession) GetDelegatorInfo(_valAddr common.Address, _delAddr common.Address) (DataTypesDelegatorInfo, error)

GetDelegatorInfo is a free data retrieval call binding the contract method 0xeecefef8.

Solidity: function getDelegatorInfo(address _valAddr, address _delAddr) view returns((address,uint256,uint256,(uint256,uint256)[],uint256,uint256))

func (*StakingSession) GetParamValue

func (_Staking *StakingSession) GetParamValue(_name uint8) (*big.Int, error)

GetParamValue is a free data retrieval call binding the contract method 0x410ae02c.

Solidity: function getParamValue(uint8 _name) view returns(uint256)

func (*StakingSession) GetQuorumTokens

func (_Staking *StakingSession) GetQuorumTokens() (*big.Int, error)

GetQuorumTokens is a free data retrieval call binding the contract method 0x386c024a.

Solidity: function getQuorumTokens() view returns(uint256)

func (*StakingSession) GetValidatorNum

func (_Staking *StakingSession) GetValidatorNum() (*big.Int, error)

GetValidatorNum is a free data retrieval call binding the contract method 0x1cfe4f0b.

Solidity: function getValidatorNum() view returns(uint256)

func (*StakingSession) GetValidatorStatus

func (_Staking *StakingSession) GetValidatorStatus(_valAddr common.Address) (uint8, error)

GetValidatorStatus is a free data retrieval call binding the contract method 0xa310624f.

Solidity: function getValidatorStatus(address _valAddr) view returns(uint8)

func (*StakingSession) GetValidatorTokens

func (_Staking *StakingSession) GetValidatorTokens(_valAddr common.Address) (*big.Int, error)

GetValidatorTokens is a free data retrieval call binding the contract method 0xc8f9f984.

Solidity: function getValidatorTokens(address _valAddr) view returns(uint256)

func (*StakingSession) GovContract

func (_Staking *StakingSession) GovContract() (common.Address, error)

GovContract is a free data retrieval call binding the contract method 0x2fa4d12b.

Solidity: function govContract() view returns(address)

func (*StakingSession) HasMinRequiredTokens

func (_Staking *StakingSession) HasMinRequiredTokens(_valAddr common.Address, _checkSelfDelegation bool) (bool, error)

HasMinRequiredTokens is a free data retrieval call binding the contract method 0x47abfdbf.

Solidity: function hasMinRequiredTokens(address _valAddr, bool _checkSelfDelegation) view returns(bool)

func (*StakingSession) InitializeValidator

func (_Staking *StakingSession) InitializeValidator(_signer common.Address, _minSelfDelegation *big.Int, _commissionRate uint64) (*types.Transaction, error)

InitializeValidator is a paid mutator transaction binding the contract method 0x525eba21.

Solidity: function initializeValidator(address _signer, uint256 _minSelfDelegation, uint64 _commissionRate) returns()

func (*StakingSession) IsBondedValidator

func (_Staking *StakingSession) IsBondedValidator(_addr common.Address) (bool, error)

IsBondedValidator is a free data retrieval call binding the contract method 0xb4f7fa34.

Solidity: function isBondedValidator(address _addr) view returns(bool)

func (*StakingSession) IsPauser

func (_Staking *StakingSession) IsPauser(account common.Address) (bool, error)

IsPauser is a free data retrieval call binding the contract method 0x46fbf68e.

Solidity: function isPauser(address account) view returns(bool)

func (*StakingSession) IsWhitelisted

func (_Staking *StakingSession) IsWhitelisted(account common.Address) (bool, error)

IsWhitelisted is a free data retrieval call binding the contract method 0x3af32abf.

Solidity: function isWhitelisted(address account) view returns(bool)

func (*StakingSession) NextBondBlock

func (_Staking *StakingSession) NextBondBlock() (*big.Int, error)

NextBondBlock is a free data retrieval call binding the contract method 0x83cfb318.

Solidity: function nextBondBlock() view returns(uint256)

func (*StakingSession) Owner

func (_Staking *StakingSession) Owner() (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() view returns(address)

func (*StakingSession) Params

func (_Staking *StakingSession) Params(arg0 uint8) (*big.Int, error)

Params is a free data retrieval call binding the contract method 0xeb505dd5.

Solidity: function params(uint8 ) view returns(uint256)

func (*StakingSession) Pause

func (_Staking *StakingSession) Pause() (*types.Transaction, error)

Pause is a paid mutator transaction binding the contract method 0x8456cb59.

Solidity: function pause() returns()

func (*StakingSession) Paused

func (_Staking *StakingSession) Paused() (bool, error)

Paused is a free data retrieval call binding the contract method 0x5c975abb.

Solidity: function paused() view returns(bool)

func (*StakingSession) Pausers

func (_Staking *StakingSession) Pausers(arg0 common.Address) (bool, error)

Pausers is a free data retrieval call binding the contract method 0x80f51c12.

Solidity: function pausers(address ) view returns(bool)

func (*StakingSession) Receive

func (_Staking *StakingSession) Receive() (*types.Transaction, error)

Receive is a paid mutator transaction binding the contract receive function.

Solidity: receive() payable returns()

func (*StakingSession) RemovePauser

func (_Staking *StakingSession) RemovePauser(account common.Address) (*types.Transaction, error)

RemovePauser is a paid mutator transaction binding the contract method 0x6b2c0f55.

Solidity: function removePauser(address account) returns()

func (*StakingSession) RemoveWhitelisted

func (_Staking *StakingSession) RemoveWhitelisted(account common.Address) (*types.Transaction, error)

RemoveWhitelisted is a paid mutator transaction binding the contract method 0x291d9549.

Solidity: function removeWhitelisted(address account) returns()

func (*StakingSession) RenouncePauser

func (_Staking *StakingSession) RenouncePauser() (*types.Transaction, error)

RenouncePauser is a paid mutator transaction binding the contract method 0x6ef8d66d.

Solidity: function renouncePauser() returns()

func (*StakingSession) RewardContract

func (_Staking *StakingSession) RewardContract() (common.Address, error)

RewardContract is a free data retrieval call binding the contract method 0x6ea69d62.

Solidity: function rewardContract() view returns(address)

func (*StakingSession) SetGovContract

func (_Staking *StakingSession) SetGovContract(_addr common.Address) (*types.Transaction, error)

SetGovContract is a paid mutator transaction binding the contract method 0x68706e54.

Solidity: function setGovContract(address _addr) returns()

func (*StakingSession) SetMaxSlashFactor

func (_Staking *StakingSession) SetMaxSlashFactor(_maxSlashFactor *big.Int) (*types.Transaction, error)

SetMaxSlashFactor is a paid mutator transaction binding the contract method 0x1a203257.

Solidity: function setMaxSlashFactor(uint256 _maxSlashFactor) returns()

func (*StakingSession) SetParamValue

func (_Staking *StakingSession) SetParamValue(_name uint8, _value *big.Int) (*types.Transaction, error)

SetParamValue is a paid mutator transaction binding the contract method 0xe909156d.

Solidity: function setParamValue(uint8 _name, uint256 _value) returns()

func (*StakingSession) SetRewardContract

func (_Staking *StakingSession) SetRewardContract(_addr common.Address) (*types.Transaction, error)

SetRewardContract is a paid mutator transaction binding the contract method 0x51508f0a.

Solidity: function setRewardContract(address _addr) returns()

func (*StakingSession) SetWhitelistEnabled

func (_Staking *StakingSession) SetWhitelistEnabled(_whitelistEnabled bool) (*types.Transaction, error)

SetWhitelistEnabled is a paid mutator transaction binding the contract method 0x052d9e7e.

Solidity: function setWhitelistEnabled(bool _whitelistEnabled) returns()

func (*StakingSession) SignerVals

func (_Staking *StakingSession) SignerVals(arg0 common.Address) (common.Address, error)

SignerVals is a free data retrieval call binding the contract method 0x6d308783.

Solidity: function signerVals(address ) view returns(address)

func (*StakingSession) Slash

func (_Staking *StakingSession) Slash(_slashRequest []byte, _sigs [][]byte) (*types.Transaction, error)

Slash is a paid mutator transaction binding the contract method 0x3985c4e6.

Solidity: function slash(bytes _slashRequest, bytes[] _sigs) returns()

func (*StakingSession) SlashNonces

func (_Staking *StakingSession) SlashNonces(arg0 *big.Int) (bool, error)

SlashNonces is a free data retrieval call binding the contract method 0x90e360f8.

Solidity: function slashNonces(uint256 ) view returns(bool)

func (*StakingSession) TransferOwnership

func (_Staking *StakingSession) 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 (*StakingSession) UndelegateShares

func (_Staking *StakingSession) UndelegateShares(_valAddr common.Address, _shares *big.Int) (*types.Transaction, error)

UndelegateShares is a paid mutator transaction binding the contract method 0x88d996e8.

Solidity: function undelegateShares(address _valAddr, uint256 _shares) returns()

func (*StakingSession) UndelegateTokens

func (_Staking *StakingSession) UndelegateTokens(_valAddr common.Address, _tokens *big.Int) (*types.Transaction, error)

UndelegateTokens is a paid mutator transaction binding the contract method 0xdcfdc1e1.

Solidity: function undelegateTokens(address _valAddr, uint256 _tokens) returns()

func (*StakingSession) Unpause

func (_Staking *StakingSession) Unpause() (*types.Transaction, error)

Unpause is a paid mutator transaction binding the contract method 0x3f4ba83a.

Solidity: function unpause() returns()

func (*StakingSession) UpdateCommissionRate

func (_Staking *StakingSession) UpdateCommissionRate(_newRate uint64) (*types.Transaction, error)

UpdateCommissionRate is a paid mutator transaction binding the contract method 0x49955e39.

Solidity: function updateCommissionRate(uint64 _newRate) returns()

func (*StakingSession) UpdateMinSelfDelegation

func (_Staking *StakingSession) UpdateMinSelfDelegation(_minSelfDelegation *big.Int) (*types.Transaction, error)

UpdateMinSelfDelegation is a paid mutator transaction binding the contract method 0x5e593eff.

Solidity: function updateMinSelfDelegation(uint256 _minSelfDelegation) returns()

func (*StakingSession) UpdateValidatorSigner

func (_Staking *StakingSession) UpdateValidatorSigner(_signer common.Address) (*types.Transaction, error)

UpdateValidatorSigner is a paid mutator transaction binding the contract method 0x7a50dbd2.

Solidity: function updateValidatorSigner(address _signer) returns()

func (*StakingSession) ValAddrs

func (_Staking *StakingSession) ValAddrs(arg0 *big.Int) (common.Address, error)

ValAddrs is a free data retrieval call binding the contract method 0x92bb243c.

Solidity: function valAddrs(uint256 ) view returns(address)

func (*StakingSession) ValidatorNotice

func (_Staking *StakingSession) ValidatorNotice(_valAddr common.Address, _key string, _data []byte) (*types.Transaction, error)

ValidatorNotice is a paid mutator transaction binding the contract method 0x9146f110.

Solidity: function validatorNotice(address _valAddr, string _key, bytes _data) returns()

func (*StakingSession) Validators

func (_Staking *StakingSession) Validators(arg0 common.Address) (struct {
	Status             uint8
	Signer             common.Address
	Tokens             *big.Int
	Shares             *big.Int
	UndelegationTokens *big.Int
	UndelegationShares *big.Int
	MinSelfDelegation  *big.Int
	BondBlock          uint64
	UnbondBlock        uint64
	CommissionRate     uint64
}, error)

Validators is a free data retrieval call binding the contract method 0xfa52c7d8.

Solidity: function validators(address ) view returns(uint8 status, address signer, uint256 tokens, uint256 shares, uint256 undelegationTokens, uint256 undelegationShares, uint256 minSelfDelegation, uint64 bondBlock, uint64 unbondBlock, uint64 commissionRate)

func (*StakingSession) VerifySignatures

func (_Staking *StakingSession) VerifySignatures(_msg []byte, _sigs [][]byte) (bool, error)

VerifySignatures is a free data retrieval call binding the contract method 0x8a74d5fe.

Solidity: function verifySignatures(bytes _msg, bytes[] _sigs) view returns(bool)

func (*StakingSession) VerifySigs

func (_Staking *StakingSession) VerifySigs(_msg []byte, _sigs [][]byte, arg2 []common.Address, arg3 []*big.Int) error

VerifySigs is a free data retrieval call binding the contract method 0x682dbc22.

Solidity: function verifySigs(bytes _msg, bytes[] _sigs, address[] , uint256[] ) view returns()

func (*StakingSession) Whitelist

func (_Staking *StakingSession) Whitelist(arg0 common.Address) (bool, error)

Whitelist is a free data retrieval call binding the contract method 0x9b19251a.

Solidity: function whitelist(address ) view returns(bool)

func (*StakingSession) WhitelistEnabled

func (_Staking *StakingSession) WhitelistEnabled() (bool, error)

WhitelistEnabled is a free data retrieval call binding the contract method 0x51fb012d.

Solidity: function whitelistEnabled() view returns(bool)

type StakingSlash

type StakingSlash struct {
	ValAddr  common.Address
	Nonce    uint64
	SlashAmt *big.Int
	Raw      types.Log // Blockchain specific contextual infos
}

StakingSlash represents a Slash event raised by the Staking contract.

type StakingSlashAmtCollected

type StakingSlashAmtCollected struct {
	Recipient common.Address
	Amount    *big.Int
	Raw       types.Log // Blockchain specific contextual infos
}

StakingSlashAmtCollected represents a SlashAmtCollected event raised by the Staking contract.

type StakingSlashAmtCollectedIterator

type StakingSlashAmtCollectedIterator struct {
	Event *StakingSlashAmtCollected // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

StakingSlashAmtCollectedIterator is returned from FilterSlashAmtCollected and is used to iterate over the raw logs and unpacked data for SlashAmtCollected events raised by the Staking contract.

func (*StakingSlashAmtCollectedIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*StakingSlashAmtCollectedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*StakingSlashAmtCollectedIterator) 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 StakingSlashIterator

type StakingSlashIterator struct {
	Event *StakingSlash // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

StakingSlashIterator is returned from FilterSlash and is used to iterate over the raw logs and unpacked data for Slash events raised by the Staking contract.

func (*StakingSlashIterator) Close

func (it *StakingSlashIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*StakingSlashIterator) Error

func (it *StakingSlashIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*StakingSlashIterator) Next

func (it *StakingSlashIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type StakingTransactor

type StakingTransactor struct {
	// contains filtered or unexported fields
}

StakingTransactor is an auto generated write-only Go binding around an Ethereum contract.

func NewStakingTransactor

func NewStakingTransactor(address common.Address, transactor bind.ContractTransactor) (*StakingTransactor, error)

NewStakingTransactor creates a new write-only instance of Staking, bound to a specific deployed contract.

func (*StakingTransactor) AddPauser

func (_Staking *StakingTransactor) AddPauser(opts *bind.TransactOpts, account common.Address) (*types.Transaction, error)

AddPauser is a paid mutator transaction binding the contract method 0x82dc1ec4.

Solidity: function addPauser(address account) returns()

func (*StakingTransactor) AddWhitelisted

func (_Staking *StakingTransactor) AddWhitelisted(opts *bind.TransactOpts, account common.Address) (*types.Transaction, error)

AddWhitelisted is a paid mutator transaction binding the contract method 0x10154bad.

Solidity: function addWhitelisted(address account) returns()

func (*StakingTransactor) BondValidator

func (_Staking *StakingTransactor) BondValidator(opts *bind.TransactOpts) (*types.Transaction, error)

BondValidator is a paid mutator transaction binding the contract method 0x36f1635f.

Solidity: function bondValidator() returns()

func (*StakingTransactor) CollectForfeiture

func (_Staking *StakingTransactor) CollectForfeiture(opts *bind.TransactOpts) (*types.Transaction, error)

CollectForfeiture is a paid mutator transaction binding the contract method 0x82d7b4b8.

Solidity: function collectForfeiture() returns()

func (*StakingTransactor) CompleteUndelegate

func (_Staking *StakingTransactor) CompleteUndelegate(opts *bind.TransactOpts, _valAddr common.Address) (*types.Transaction, error)

CompleteUndelegate is a paid mutator transaction binding the contract method 0x473849bd.

Solidity: function completeUndelegate(address _valAddr) returns()

func (*StakingTransactor) ConfirmUnbondedValidator

func (_Staking *StakingTransactor) ConfirmUnbondedValidator(opts *bind.TransactOpts, _valAddr common.Address) (*types.Transaction, error)

ConfirmUnbondedValidator is a paid mutator transaction binding the contract method 0x71bc0216.

Solidity: function confirmUnbondedValidator(address _valAddr) returns()

func (*StakingTransactor) Delegate

func (_Staking *StakingTransactor) Delegate(opts *bind.TransactOpts, _valAddr common.Address, _tokens *big.Int) (*types.Transaction, error)

Delegate is a paid mutator transaction binding the contract method 0x026e402b.

Solidity: function delegate(address _valAddr, uint256 _tokens) returns()

func (*StakingTransactor) DrainToken

func (_Staking *StakingTransactor) DrainToken(opts *bind.TransactOpts, _amount *big.Int) (*types.Transaction, error)

DrainToken is a paid mutator transaction binding the contract method 0x145aa116.

Solidity: function drainToken(uint256 _amount) returns()

func (*StakingTransactor) InitializeValidator

func (_Staking *StakingTransactor) InitializeValidator(opts *bind.TransactOpts, _signer common.Address, _minSelfDelegation *big.Int, _commissionRate uint64) (*types.Transaction, error)

InitializeValidator is a paid mutator transaction binding the contract method 0x525eba21.

Solidity: function initializeValidator(address _signer, uint256 _minSelfDelegation, uint64 _commissionRate) returns()

func (*StakingTransactor) Pause

func (_Staking *StakingTransactor) Pause(opts *bind.TransactOpts) (*types.Transaction, error)

Pause is a paid mutator transaction binding the contract method 0x8456cb59.

Solidity: function pause() returns()

func (*StakingTransactor) Receive

func (_Staking *StakingTransactor) Receive(opts *bind.TransactOpts) (*types.Transaction, error)

Receive is a paid mutator transaction binding the contract receive function.

Solidity: receive() payable returns()

func (*StakingTransactor) RemovePauser

func (_Staking *StakingTransactor) RemovePauser(opts *bind.TransactOpts, account common.Address) (*types.Transaction, error)

RemovePauser is a paid mutator transaction binding the contract method 0x6b2c0f55.

Solidity: function removePauser(address account) returns()

func (*StakingTransactor) RemoveWhitelisted

func (_Staking *StakingTransactor) RemoveWhitelisted(opts *bind.TransactOpts, account common.Address) (*types.Transaction, error)

RemoveWhitelisted is a paid mutator transaction binding the contract method 0x291d9549.

Solidity: function removeWhitelisted(address account) returns()

func (*StakingTransactor) RenouncePauser

func (_Staking *StakingTransactor) RenouncePauser(opts *bind.TransactOpts) (*types.Transaction, error)

RenouncePauser is a paid mutator transaction binding the contract method 0x6ef8d66d.

Solidity: function renouncePauser() returns()

func (*StakingTransactor) SetGovContract

func (_Staking *StakingTransactor) SetGovContract(opts *bind.TransactOpts, _addr common.Address) (*types.Transaction, error)

SetGovContract is a paid mutator transaction binding the contract method 0x68706e54.

Solidity: function setGovContract(address _addr) returns()

func (*StakingTransactor) SetMaxSlashFactor

func (_Staking *StakingTransactor) SetMaxSlashFactor(opts *bind.TransactOpts, _maxSlashFactor *big.Int) (*types.Transaction, error)

SetMaxSlashFactor is a paid mutator transaction binding the contract method 0x1a203257.

Solidity: function setMaxSlashFactor(uint256 _maxSlashFactor) returns()

func (*StakingTransactor) SetParamValue

func (_Staking *StakingTransactor) SetParamValue(opts *bind.TransactOpts, _name uint8, _value *big.Int) (*types.Transaction, error)

SetParamValue is a paid mutator transaction binding the contract method 0xe909156d.

Solidity: function setParamValue(uint8 _name, uint256 _value) returns()

func (*StakingTransactor) SetRewardContract

func (_Staking *StakingTransactor) SetRewardContract(opts *bind.TransactOpts, _addr common.Address) (*types.Transaction, error)

SetRewardContract is a paid mutator transaction binding the contract method 0x51508f0a.

Solidity: function setRewardContract(address _addr) returns()

func (*StakingTransactor) SetWhitelistEnabled

func (_Staking *StakingTransactor) SetWhitelistEnabled(opts *bind.TransactOpts, _whitelistEnabled bool) (*types.Transaction, error)

SetWhitelistEnabled is a paid mutator transaction binding the contract method 0x052d9e7e.

Solidity: function setWhitelistEnabled(bool _whitelistEnabled) returns()

func (*StakingTransactor) Slash

func (_Staking *StakingTransactor) Slash(opts *bind.TransactOpts, _slashRequest []byte, _sigs [][]byte) (*types.Transaction, error)

Slash is a paid mutator transaction binding the contract method 0x3985c4e6.

Solidity: function slash(bytes _slashRequest, bytes[] _sigs) returns()

func (*StakingTransactor) TransferOwnership

func (_Staking *StakingTransactor) 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 (*StakingTransactor) UndelegateShares

func (_Staking *StakingTransactor) UndelegateShares(opts *bind.TransactOpts, _valAddr common.Address, _shares *big.Int) (*types.Transaction, error)

UndelegateShares is a paid mutator transaction binding the contract method 0x88d996e8.

Solidity: function undelegateShares(address _valAddr, uint256 _shares) returns()

func (*StakingTransactor) UndelegateTokens

func (_Staking *StakingTransactor) UndelegateTokens(opts *bind.TransactOpts, _valAddr common.Address, _tokens *big.Int) (*types.Transaction, error)

UndelegateTokens is a paid mutator transaction binding the contract method 0xdcfdc1e1.

Solidity: function undelegateTokens(address _valAddr, uint256 _tokens) returns()

func (*StakingTransactor) Unpause

func (_Staking *StakingTransactor) Unpause(opts *bind.TransactOpts) (*types.Transaction, error)

Unpause is a paid mutator transaction binding the contract method 0x3f4ba83a.

Solidity: function unpause() returns()

func (*StakingTransactor) UpdateCommissionRate

func (_Staking *StakingTransactor) UpdateCommissionRate(opts *bind.TransactOpts, _newRate uint64) (*types.Transaction, error)

UpdateCommissionRate is a paid mutator transaction binding the contract method 0x49955e39.

Solidity: function updateCommissionRate(uint64 _newRate) returns()

func (*StakingTransactor) UpdateMinSelfDelegation

func (_Staking *StakingTransactor) UpdateMinSelfDelegation(opts *bind.TransactOpts, _minSelfDelegation *big.Int) (*types.Transaction, error)

UpdateMinSelfDelegation is a paid mutator transaction binding the contract method 0x5e593eff.

Solidity: function updateMinSelfDelegation(uint256 _minSelfDelegation) returns()

func (*StakingTransactor) UpdateValidatorSigner

func (_Staking *StakingTransactor) UpdateValidatorSigner(opts *bind.TransactOpts, _signer common.Address) (*types.Transaction, error)

UpdateValidatorSigner is a paid mutator transaction binding the contract method 0x7a50dbd2.

Solidity: function updateValidatorSigner(address _signer) returns()

func (*StakingTransactor) ValidatorNotice

func (_Staking *StakingTransactor) ValidatorNotice(opts *bind.TransactOpts, _valAddr common.Address, _key string, _data []byte) (*types.Transaction, error)

ValidatorNotice is a paid mutator transaction binding the contract method 0x9146f110.

Solidity: function validatorNotice(address _valAddr, string _key, bytes _data) returns()

type StakingTransactorRaw

type StakingTransactorRaw struct {
	Contract *StakingTransactor // Generic write-only contract binding to access the raw methods on
}

StakingTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.

func (*StakingTransactorRaw) Transact

func (_Staking *StakingTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*StakingTransactorRaw) Transfer

func (_Staking *StakingTransactorRaw) 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 StakingTransactorSession

type StakingTransactorSession struct {
	Contract     *StakingTransactor // Generic contract transactor binding to set the session for
	TransactOpts bind.TransactOpts  // Transaction auth options to use throughout this session
}

StakingTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.

func (*StakingTransactorSession) AddPauser

func (_Staking *StakingTransactorSession) AddPauser(account common.Address) (*types.Transaction, error)

AddPauser is a paid mutator transaction binding the contract method 0x82dc1ec4.

Solidity: function addPauser(address account) returns()

func (*StakingTransactorSession) AddWhitelisted

func (_Staking *StakingTransactorSession) AddWhitelisted(account common.Address) (*types.Transaction, error)

AddWhitelisted is a paid mutator transaction binding the contract method 0x10154bad.

Solidity: function addWhitelisted(address account) returns()

func (*StakingTransactorSession) BondValidator

func (_Staking *StakingTransactorSession) BondValidator() (*types.Transaction, error)

BondValidator is a paid mutator transaction binding the contract method 0x36f1635f.

Solidity: function bondValidator() returns()

func (*StakingTransactorSession) CollectForfeiture

func (_Staking *StakingTransactorSession) CollectForfeiture() (*types.Transaction, error)

CollectForfeiture is a paid mutator transaction binding the contract method 0x82d7b4b8.

Solidity: function collectForfeiture() returns()

func (*StakingTransactorSession) CompleteUndelegate

func (_Staking *StakingTransactorSession) CompleteUndelegate(_valAddr common.Address) (*types.Transaction, error)

CompleteUndelegate is a paid mutator transaction binding the contract method 0x473849bd.

Solidity: function completeUndelegate(address _valAddr) returns()

func (*StakingTransactorSession) ConfirmUnbondedValidator

func (_Staking *StakingTransactorSession) ConfirmUnbondedValidator(_valAddr common.Address) (*types.Transaction, error)

ConfirmUnbondedValidator is a paid mutator transaction binding the contract method 0x71bc0216.

Solidity: function confirmUnbondedValidator(address _valAddr) returns()

func (*StakingTransactorSession) Delegate

func (_Staking *StakingTransactorSession) Delegate(_valAddr common.Address, _tokens *big.Int) (*types.Transaction, error)

Delegate is a paid mutator transaction binding the contract method 0x026e402b.

Solidity: function delegate(address _valAddr, uint256 _tokens) returns()

func (*StakingTransactorSession) DrainToken

func (_Staking *StakingTransactorSession) DrainToken(_amount *big.Int) (*types.Transaction, error)

DrainToken is a paid mutator transaction binding the contract method 0x145aa116.

Solidity: function drainToken(uint256 _amount) returns()

func (*StakingTransactorSession) InitializeValidator

func (_Staking *StakingTransactorSession) InitializeValidator(_signer common.Address, _minSelfDelegation *big.Int, _commissionRate uint64) (*types.Transaction, error)

InitializeValidator is a paid mutator transaction binding the contract method 0x525eba21.

Solidity: function initializeValidator(address _signer, uint256 _minSelfDelegation, uint64 _commissionRate) returns()

func (*StakingTransactorSession) Pause

func (_Staking *StakingTransactorSession) Pause() (*types.Transaction, error)

Pause is a paid mutator transaction binding the contract method 0x8456cb59.

Solidity: function pause() returns()

func (*StakingTransactorSession) Receive

func (_Staking *StakingTransactorSession) Receive() (*types.Transaction, error)

Receive is a paid mutator transaction binding the contract receive function.

Solidity: receive() payable returns()

func (*StakingTransactorSession) RemovePauser

func (_Staking *StakingTransactorSession) RemovePauser(account common.Address) (*types.Transaction, error)

RemovePauser is a paid mutator transaction binding the contract method 0x6b2c0f55.

Solidity: function removePauser(address account) returns()

func (*StakingTransactorSession) RemoveWhitelisted

func (_Staking *StakingTransactorSession) RemoveWhitelisted(account common.Address) (*types.Transaction, error)

RemoveWhitelisted is a paid mutator transaction binding the contract method 0x291d9549.

Solidity: function removeWhitelisted(address account) returns()

func (*StakingTransactorSession) RenouncePauser

func (_Staking *StakingTransactorSession) RenouncePauser() (*types.Transaction, error)

RenouncePauser is a paid mutator transaction binding the contract method 0x6ef8d66d.

Solidity: function renouncePauser() returns()

func (*StakingTransactorSession) SetGovContract

func (_Staking *StakingTransactorSession) SetGovContract(_addr common.Address) (*types.Transaction, error)

SetGovContract is a paid mutator transaction binding the contract method 0x68706e54.

Solidity: function setGovContract(address _addr) returns()

func (*StakingTransactorSession) SetMaxSlashFactor

func (_Staking *StakingTransactorSession) SetMaxSlashFactor(_maxSlashFactor *big.Int) (*types.Transaction, error)

SetMaxSlashFactor is a paid mutator transaction binding the contract method 0x1a203257.

Solidity: function setMaxSlashFactor(uint256 _maxSlashFactor) returns()

func (*StakingTransactorSession) SetParamValue

func (_Staking *StakingTransactorSession) SetParamValue(_name uint8, _value *big.Int) (*types.Transaction, error)

SetParamValue is a paid mutator transaction binding the contract method 0xe909156d.

Solidity: function setParamValue(uint8 _name, uint256 _value) returns()

func (*StakingTransactorSession) SetRewardContract

func (_Staking *StakingTransactorSession) SetRewardContract(_addr common.Address) (*types.Transaction, error)

SetRewardContract is a paid mutator transaction binding the contract method 0x51508f0a.

Solidity: function setRewardContract(address _addr) returns()

func (*StakingTransactorSession) SetWhitelistEnabled

func (_Staking *StakingTransactorSession) SetWhitelistEnabled(_whitelistEnabled bool) (*types.Transaction, error)

SetWhitelistEnabled is a paid mutator transaction binding the contract method 0x052d9e7e.

Solidity: function setWhitelistEnabled(bool _whitelistEnabled) returns()

func (*StakingTransactorSession) Slash

func (_Staking *StakingTransactorSession) Slash(_slashRequest []byte, _sigs [][]byte) (*types.Transaction, error)

Slash is a paid mutator transaction binding the contract method 0x3985c4e6.

Solidity: function slash(bytes _slashRequest, bytes[] _sigs) returns()

func (*StakingTransactorSession) TransferOwnership

func (_Staking *StakingTransactorSession) 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 (*StakingTransactorSession) UndelegateShares

func (_Staking *StakingTransactorSession) UndelegateShares(_valAddr common.Address, _shares *big.Int) (*types.Transaction, error)

UndelegateShares is a paid mutator transaction binding the contract method 0x88d996e8.

Solidity: function undelegateShares(address _valAddr, uint256 _shares) returns()

func (*StakingTransactorSession) UndelegateTokens

func (_Staking *StakingTransactorSession) UndelegateTokens(_valAddr common.Address, _tokens *big.Int) (*types.Transaction, error)

UndelegateTokens is a paid mutator transaction binding the contract method 0xdcfdc1e1.

Solidity: function undelegateTokens(address _valAddr, uint256 _tokens) returns()

func (*StakingTransactorSession) Unpause

func (_Staking *StakingTransactorSession) Unpause() (*types.Transaction, error)

Unpause is a paid mutator transaction binding the contract method 0x3f4ba83a.

Solidity: function unpause() returns()

func (*StakingTransactorSession) UpdateCommissionRate

func (_Staking *StakingTransactorSession) UpdateCommissionRate(_newRate uint64) (*types.Transaction, error)

UpdateCommissionRate is a paid mutator transaction binding the contract method 0x49955e39.

Solidity: function updateCommissionRate(uint64 _newRate) returns()

func (*StakingTransactorSession) UpdateMinSelfDelegation

func (_Staking *StakingTransactorSession) UpdateMinSelfDelegation(_minSelfDelegation *big.Int) (*types.Transaction, error)

UpdateMinSelfDelegation is a paid mutator transaction binding the contract method 0x5e593eff.

Solidity: function updateMinSelfDelegation(uint256 _minSelfDelegation) returns()

func (*StakingTransactorSession) UpdateValidatorSigner

func (_Staking *StakingTransactorSession) UpdateValidatorSigner(_signer common.Address) (*types.Transaction, error)

UpdateValidatorSigner is a paid mutator transaction binding the contract method 0x7a50dbd2.

Solidity: function updateValidatorSigner(address _signer) returns()

func (*StakingTransactorSession) ValidatorNotice

func (_Staking *StakingTransactorSession) ValidatorNotice(_valAddr common.Address, _key string, _data []byte) (*types.Transaction, error)

ValidatorNotice is a paid mutator transaction binding the contract method 0x9146f110.

Solidity: function validatorNotice(address _valAddr, string _key, bytes _data) returns()

type StakingUndelegated

type StakingUndelegated struct {
	ValAddr common.Address
	DelAddr common.Address
	Amount  *big.Int
	Raw     types.Log // Blockchain specific contextual infos
}

StakingUndelegated represents a Undelegated event raised by the Staking contract.

type StakingUndelegatedIterator

type StakingUndelegatedIterator struct {
	Event *StakingUndelegated // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

StakingUndelegatedIterator is returned from FilterUndelegated and is used to iterate over the raw logs and unpacked data for Undelegated events raised by the Staking contract.

func (*StakingUndelegatedIterator) Close

func (it *StakingUndelegatedIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*StakingUndelegatedIterator) Error

func (it *StakingUndelegatedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*StakingUndelegatedIterator) Next

func (it *StakingUndelegatedIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type StakingUnpaused

type StakingUnpaused struct {
	Account common.Address
	Raw     types.Log // Blockchain specific contextual infos
}

StakingUnpaused represents a Unpaused event raised by the Staking contract.

type StakingUnpausedIterator

type StakingUnpausedIterator struct {
	Event *StakingUnpaused // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

StakingUnpausedIterator is returned from FilterUnpaused and is used to iterate over the raw logs and unpacked data for Unpaused events raised by the Staking contract.

func (*StakingUnpausedIterator) Close

func (it *StakingUnpausedIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*StakingUnpausedIterator) Error

func (it *StakingUnpausedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*StakingUnpausedIterator) Next

func (it *StakingUnpausedIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type StakingValidatorNotice

type StakingValidatorNotice struct {
	ValAddr common.Address
	Key     string
	Data    []byte
	From    common.Address
	Raw     types.Log // Blockchain specific contextual infos
}

StakingValidatorNotice represents a ValidatorNotice event raised by the Staking contract.

type StakingValidatorNoticeIterator

type StakingValidatorNoticeIterator struct {
	Event *StakingValidatorNotice // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

StakingValidatorNoticeIterator is returned from FilterValidatorNotice and is used to iterate over the raw logs and unpacked data for ValidatorNotice events raised by the Staking contract.

func (*StakingValidatorNoticeIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*StakingValidatorNoticeIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*StakingValidatorNoticeIterator) 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 StakingValidatorStatusUpdate

type StakingValidatorStatusUpdate struct {
	ValAddr common.Address
	Status  uint8
	Raw     types.Log // Blockchain specific contextual infos
}

StakingValidatorStatusUpdate represents a ValidatorStatusUpdate event raised by the Staking contract.

type StakingValidatorStatusUpdateIterator

type StakingValidatorStatusUpdateIterator struct {
	Event *StakingValidatorStatusUpdate // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

StakingValidatorStatusUpdateIterator is returned from FilterValidatorStatusUpdate and is used to iterate over the raw logs and unpacked data for ValidatorStatusUpdate events raised by the Staking contract.

func (*StakingValidatorStatusUpdateIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*StakingValidatorStatusUpdateIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*StakingValidatorStatusUpdateIterator) 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 StakingWhitelistedAdded

type StakingWhitelistedAdded struct {
	Account common.Address
	Raw     types.Log // Blockchain specific contextual infos
}

StakingWhitelistedAdded represents a WhitelistedAdded event raised by the Staking contract.

type StakingWhitelistedAddedIterator

type StakingWhitelistedAddedIterator struct {
	Event *StakingWhitelistedAdded // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

StakingWhitelistedAddedIterator is returned from FilterWhitelistedAdded and is used to iterate over the raw logs and unpacked data for WhitelistedAdded events raised by the Staking contract.

func (*StakingWhitelistedAddedIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*StakingWhitelistedAddedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*StakingWhitelistedAddedIterator) 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 StakingWhitelistedRemoved

type StakingWhitelistedRemoved struct {
	Account common.Address
	Raw     types.Log // Blockchain specific contextual infos
}

StakingWhitelistedRemoved represents a WhitelistedRemoved event raised by the Staking contract.

type StakingWhitelistedRemovedIterator

type StakingWhitelistedRemovedIterator struct {
	Event *StakingWhitelistedRemoved // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

StakingWhitelistedRemovedIterator is returned from FilterWhitelistedRemoved and is used to iterate over the raw logs and unpacked data for WhitelistedRemoved events raised by the Staking contract.

func (*StakingWhitelistedRemovedIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*StakingWhitelistedRemovedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*StakingWhitelistedRemovedIterator) 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 TransferAgent

type TransferAgent struct {
	TransferAgentCaller     // Read-only binding to the contract
	TransferAgentTransactor // Write-only binding to the contract
	TransferAgentFilterer   // Log filterer for contract events
}

TransferAgent is an auto generated Go binding around an Ethereum contract.

func DeployTransferAgent

func DeployTransferAgent(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *TransferAgent, error)

DeployTransferAgent deploys a new Ethereum contract, binding an instance of TransferAgent to it.

func NewTransferAgent

func NewTransferAgent(address common.Address, backend bind.ContractBackend) (*TransferAgent, error)

NewTransferAgent creates a new instance of TransferAgent, bound to a specific deployed contract.

type TransferAgentBridgeUpdated

type TransferAgentBridgeUpdated struct {
	BridgeSendType uint8
	BridgeAddr     common.Address
	Raw            types.Log // Blockchain specific contextual infos
}

TransferAgentBridgeUpdated represents a BridgeUpdated event raised by the TransferAgent contract.

type TransferAgentBridgeUpdatedIterator

type TransferAgentBridgeUpdatedIterator struct {
	Event *TransferAgentBridgeUpdated // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

TransferAgentBridgeUpdatedIterator is returned from FilterBridgeUpdated and is used to iterate over the raw logs and unpacked data for BridgeUpdated events raised by the TransferAgent contract.

func (*TransferAgentBridgeUpdatedIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*TransferAgentBridgeUpdatedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*TransferAgentBridgeUpdatedIterator) 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 TransferAgentCaller

type TransferAgentCaller struct {
	// contains filtered or unexported fields
}

TransferAgentCaller is an auto generated read-only Go binding around an Ethereum contract.

func NewTransferAgentCaller

func NewTransferAgentCaller(address common.Address, caller bind.ContractCaller) (*TransferAgentCaller, error)

NewTransferAgentCaller creates a new read-only instance of TransferAgent, bound to a specific deployed contract.

func (*TransferAgentCaller) Bridges

func (_TransferAgent *TransferAgentCaller) Bridges(opts *bind.CallOpts, arg0 uint8) (common.Address, error)

Bridges is a free data retrieval call binding the contract method 0x65d67c33.

Solidity: function bridges(uint8 ) view returns(address)

func (*TransferAgentCaller) Owner

func (_TransferAgent *TransferAgentCaller) 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 TransferAgentCallerRaw

type TransferAgentCallerRaw struct {
	Contract *TransferAgentCaller // Generic read-only contract binding to access the raw methods on
}

TransferAgentCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.

func (*TransferAgentCallerRaw) Call

func (_TransferAgent *TransferAgentCallerRaw) 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 TransferAgentCallerSession

type TransferAgentCallerSession struct {
	Contract *TransferAgentCaller // Generic contract caller binding to set the session for
	CallOpts bind.CallOpts        // Call options to use throughout this session
}

TransferAgentCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.

func (*TransferAgentCallerSession) Bridges

func (_TransferAgent *TransferAgentCallerSession) Bridges(arg0 uint8) (common.Address, error)

Bridges is a free data retrieval call binding the contract method 0x65d67c33.

Solidity: function bridges(uint8 ) view returns(address)

func (*TransferAgentCallerSession) Owner

func (_TransferAgent *TransferAgentCallerSession) Owner() (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() view returns(address)

type TransferAgentExtension

type TransferAgentExtension struct {
	Type  uint8
	Value []byte
}

TransferAgentExtension is an auto generated low-level Go binding around an user-defined struct.

type TransferAgentFilterer

type TransferAgentFilterer struct {
	// contains filtered or unexported fields
}

TransferAgentFilterer is an auto generated log filtering Go binding around an Ethereum contract events.

func NewTransferAgentFilterer

func NewTransferAgentFilterer(address common.Address, filterer bind.ContractFilterer) (*TransferAgentFilterer, error)

NewTransferAgentFilterer creates a new log filterer instance of TransferAgent, bound to a specific deployed contract.

func (*TransferAgentFilterer) FilterBridgeUpdated

func (_TransferAgent *TransferAgentFilterer) FilterBridgeUpdated(opts *bind.FilterOpts) (*TransferAgentBridgeUpdatedIterator, error)

FilterBridgeUpdated is a free log retrieval operation binding the contract event 0xe85507dd8a6159a69bf9f4aa5ae1283824ec9948b7d4a03d5cb457070f312dfc.

Solidity: event BridgeUpdated(uint8 bridgeSendType, address bridgeAddr)

func (*TransferAgentFilterer) FilterOwnershipTransferred

func (_TransferAgent *TransferAgentFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*TransferAgentOwnershipTransferredIterator, error)

FilterOwnershipTransferred is a free log retrieval operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)

func (*TransferAgentFilterer) FilterSupplement

func (_TransferAgent *TransferAgentFilterer) FilterSupplement(opts *bind.FilterOpts) (*TransferAgentSupplementIterator, error)

FilterSupplement is a free log retrieval operation binding the contract event 0x3f2b4c063a18045940932b9fba423a72e3b8d36e63ca462720d880f7b64504ca.

Solidity: event Supplement(uint8 bridgeSendType, bytes32 transferId, address sender, bytes receiver, (uint8,bytes)[] extensions)

func (*TransferAgentFilterer) ParseBridgeUpdated

func (_TransferAgent *TransferAgentFilterer) ParseBridgeUpdated(log types.Log) (*TransferAgentBridgeUpdated, error)

ParseBridgeUpdated is a log parse operation binding the contract event 0xe85507dd8a6159a69bf9f4aa5ae1283824ec9948b7d4a03d5cb457070f312dfc.

Solidity: event BridgeUpdated(uint8 bridgeSendType, address bridgeAddr)

func (*TransferAgentFilterer) ParseOwnershipTransferred

func (_TransferAgent *TransferAgentFilterer) ParseOwnershipTransferred(log types.Log) (*TransferAgentOwnershipTransferred, error)

ParseOwnershipTransferred is a log parse operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)

func (*TransferAgentFilterer) ParseSupplement

func (_TransferAgent *TransferAgentFilterer) ParseSupplement(log types.Log) (*TransferAgentSupplement, error)

ParseSupplement is a log parse operation binding the contract event 0x3f2b4c063a18045940932b9fba423a72e3b8d36e63ca462720d880f7b64504ca.

Solidity: event Supplement(uint8 bridgeSendType, bytes32 transferId, address sender, bytes receiver, (uint8,bytes)[] extensions)

func (*TransferAgentFilterer) WatchBridgeUpdated

func (_TransferAgent *TransferAgentFilterer) WatchBridgeUpdated(opts *bind.WatchOpts, sink chan<- *TransferAgentBridgeUpdated) (event.Subscription, error)

WatchBridgeUpdated is a free log subscription operation binding the contract event 0xe85507dd8a6159a69bf9f4aa5ae1283824ec9948b7d4a03d5cb457070f312dfc.

Solidity: event BridgeUpdated(uint8 bridgeSendType, address bridgeAddr)

func (*TransferAgentFilterer) WatchOwnershipTransferred

func (_TransferAgent *TransferAgentFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *TransferAgentOwnershipTransferred, 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 (*TransferAgentFilterer) WatchSupplement

func (_TransferAgent *TransferAgentFilterer) WatchSupplement(opts *bind.WatchOpts, sink chan<- *TransferAgentSupplement) (event.Subscription, error)

WatchSupplement is a free log subscription operation binding the contract event 0x3f2b4c063a18045940932b9fba423a72e3b8d36e63ca462720d880f7b64504ca.

Solidity: event Supplement(uint8 bridgeSendType, bytes32 transferId, address sender, bytes receiver, (uint8,bytes)[] extensions)

type TransferAgentOwnershipTransferred

type TransferAgentOwnershipTransferred struct {
	PreviousOwner common.Address
	NewOwner      common.Address
	Raw           types.Log // Blockchain specific contextual infos
}

TransferAgentOwnershipTransferred represents a OwnershipTransferred event raised by the TransferAgent contract.

type TransferAgentOwnershipTransferredIterator

type TransferAgentOwnershipTransferredIterator struct {
	Event *TransferAgentOwnershipTransferred // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

TransferAgentOwnershipTransferredIterator is returned from FilterOwnershipTransferred and is used to iterate over the raw logs and unpacked data for OwnershipTransferred events raised by the TransferAgent contract.

func (*TransferAgentOwnershipTransferredIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*TransferAgentOwnershipTransferredIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*TransferAgentOwnershipTransferredIterator) 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 TransferAgentRaw

type TransferAgentRaw struct {
	Contract *TransferAgent // Generic contract binding to access the raw methods on
}

TransferAgentRaw is an auto generated low-level Go binding around an Ethereum contract.

func (*TransferAgentRaw) Call

func (_TransferAgent *TransferAgentRaw) 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 (*TransferAgentRaw) Transact

func (_TransferAgent *TransferAgentRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*TransferAgentRaw) Transfer

func (_TransferAgent *TransferAgentRaw) 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 TransferAgentSession

type TransferAgentSession struct {
	Contract     *TransferAgent    // 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
}

TransferAgentSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.

func (*TransferAgentSession) Bridges

func (_TransferAgent *TransferAgentSession) Bridges(arg0 uint8) (common.Address, error)

Bridges is a free data retrieval call binding the contract method 0x65d67c33.

Solidity: function bridges(uint8 ) view returns(address)

func (*TransferAgentSession) Owner

func (_TransferAgent *TransferAgentSession) Owner() (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() view returns(address)

func (*TransferAgentSession) SetBridgeAddress

func (_TransferAgent *TransferAgentSession) SetBridgeAddress(_bridgeSendType uint8, _addr common.Address) (*types.Transaction, error)

SetBridgeAddress is a paid mutator transaction binding the contract method 0x6701d514.

Solidity: function setBridgeAddress(uint8 _bridgeSendType, address _addr) returns()

func (*TransferAgentSession) Transfer

func (_TransferAgent *TransferAgentSession) Transfer(_receiver []byte, _token common.Address, _amount *big.Int, _dstChainId uint64, _nonce uint64, _maxSlippage uint32, _bridgeSendType uint8, _extensions []TransferAgentExtension) (*types.Transaction, error)

Transfer is a paid mutator transaction binding the contract method 0x39b0070c.

Solidity: function transfer(bytes _receiver, address _token, uint256 _amount, uint64 _dstChainId, uint64 _nonce, uint32 _maxSlippage, uint8 _bridgeSendType, (uint8,bytes)[] _extensions) returns(bytes32)

func (*TransferAgentSession) TransferNative

func (_TransferAgent *TransferAgentSession) TransferNative(_receiver []byte, _amount *big.Int, _dstChainId uint64, _nonce uint64, _maxSlippage uint32, _bridgeSendType uint8, _extensions []TransferAgentExtension) (*types.Transaction, error)

TransferNative is a paid mutator transaction binding the contract method 0xc5d8ac7e.

Solidity: function transferNative(bytes _receiver, uint256 _amount, uint64 _dstChainId, uint64 _nonce, uint32 _maxSlippage, uint8 _bridgeSendType, (uint8,bytes)[] _extensions) payable returns(bytes32)

func (*TransferAgentSession) TransferOwnership

func (_TransferAgent *TransferAgentSession) 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 TransferAgentSupplement

type TransferAgentSupplement struct {
	BridgeSendType uint8
	TransferId     [32]byte
	Sender         common.Address
	Receiver       []byte
	Extensions     []TransferAgentExtension
	Raw            types.Log // Blockchain specific contextual infos
}

TransferAgentSupplement represents a Supplement event raised by the TransferAgent contract.

type TransferAgentSupplementIterator

type TransferAgentSupplementIterator struct {
	Event *TransferAgentSupplement // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

TransferAgentSupplementIterator is returned from FilterSupplement and is used to iterate over the raw logs and unpacked data for Supplement events raised by the TransferAgent contract.

func (*TransferAgentSupplementIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*TransferAgentSupplementIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*TransferAgentSupplementIterator) 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 TransferAgentTransactor

type TransferAgentTransactor struct {
	// contains filtered or unexported fields
}

TransferAgentTransactor is an auto generated write-only Go binding around an Ethereum contract.

func NewTransferAgentTransactor

func NewTransferAgentTransactor(address common.Address, transactor bind.ContractTransactor) (*TransferAgentTransactor, error)

NewTransferAgentTransactor creates a new write-only instance of TransferAgent, bound to a specific deployed contract.

func (*TransferAgentTransactor) SetBridgeAddress

func (_TransferAgent *TransferAgentTransactor) SetBridgeAddress(opts *bind.TransactOpts, _bridgeSendType uint8, _addr common.Address) (*types.Transaction, error)

SetBridgeAddress is a paid mutator transaction binding the contract method 0x6701d514.

Solidity: function setBridgeAddress(uint8 _bridgeSendType, address _addr) returns()

func (*TransferAgentTransactor) Transfer

func (_TransferAgent *TransferAgentTransactor) Transfer(opts *bind.TransactOpts, _receiver []byte, _token common.Address, _amount *big.Int, _dstChainId uint64, _nonce uint64, _maxSlippage uint32, _bridgeSendType uint8, _extensions []TransferAgentExtension) (*types.Transaction, error)

Transfer is a paid mutator transaction binding the contract method 0x39b0070c.

Solidity: function transfer(bytes _receiver, address _token, uint256 _amount, uint64 _dstChainId, uint64 _nonce, uint32 _maxSlippage, uint8 _bridgeSendType, (uint8,bytes)[] _extensions) returns(bytes32)

func (*TransferAgentTransactor) TransferNative

func (_TransferAgent *TransferAgentTransactor) TransferNative(opts *bind.TransactOpts, _receiver []byte, _amount *big.Int, _dstChainId uint64, _nonce uint64, _maxSlippage uint32, _bridgeSendType uint8, _extensions []TransferAgentExtension) (*types.Transaction, error)

TransferNative is a paid mutator transaction binding the contract method 0xc5d8ac7e.

Solidity: function transferNative(bytes _receiver, uint256 _amount, uint64 _dstChainId, uint64 _nonce, uint32 _maxSlippage, uint8 _bridgeSendType, (uint8,bytes)[] _extensions) payable returns(bytes32)

func (*TransferAgentTransactor) TransferOwnership

func (_TransferAgent *TransferAgentTransactor) 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 TransferAgentTransactorRaw

type TransferAgentTransactorRaw struct {
	Contract *TransferAgentTransactor // Generic write-only contract binding to access the raw methods on
}

TransferAgentTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.

func (*TransferAgentTransactorRaw) Transact

func (_TransferAgent *TransferAgentTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*TransferAgentTransactorRaw) Transfer

func (_TransferAgent *TransferAgentTransactorRaw) 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 TransferAgentTransactorSession

type TransferAgentTransactorSession struct {
	Contract     *TransferAgentTransactor // Generic contract transactor binding to set the session for
	TransactOpts bind.TransactOpts        // Transaction auth options to use throughout this session
}

TransferAgentTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.

func (*TransferAgentTransactorSession) SetBridgeAddress

func (_TransferAgent *TransferAgentTransactorSession) SetBridgeAddress(_bridgeSendType uint8, _addr common.Address) (*types.Transaction, error)

SetBridgeAddress is a paid mutator transaction binding the contract method 0x6701d514.

Solidity: function setBridgeAddress(uint8 _bridgeSendType, address _addr) returns()

func (*TransferAgentTransactorSession) Transfer

func (_TransferAgent *TransferAgentTransactorSession) Transfer(_receiver []byte, _token common.Address, _amount *big.Int, _dstChainId uint64, _nonce uint64, _maxSlippage uint32, _bridgeSendType uint8, _extensions []TransferAgentExtension) (*types.Transaction, error)

Transfer is a paid mutator transaction binding the contract method 0x39b0070c.

Solidity: function transfer(bytes _receiver, address _token, uint256 _amount, uint64 _dstChainId, uint64 _nonce, uint32 _maxSlippage, uint8 _bridgeSendType, (uint8,bytes)[] _extensions) returns(bytes32)

func (*TransferAgentTransactorSession) TransferNative

func (_TransferAgent *TransferAgentTransactorSession) TransferNative(_receiver []byte, _amount *big.Int, _dstChainId uint64, _nonce uint64, _maxSlippage uint32, _bridgeSendType uint8, _extensions []TransferAgentExtension) (*types.Transaction, error)

TransferNative is a paid mutator transaction binding the contract method 0xc5d8ac7e.

Solidity: function transferNative(bytes _receiver, uint256 _amount, uint64 _dstChainId, uint64 _nonce, uint32 _maxSlippage, uint8 _bridgeSendType, (uint8,bytes)[] _extensions) payable returns(bytes32)

func (*TransferAgentTransactorSession) TransferOwnership

func (_TransferAgent *TransferAgentTransactorSession) 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 Viewer

type Viewer struct {
	ViewerCaller     // Read-only binding to the contract
	ViewerTransactor // Write-only binding to the contract
	ViewerFilterer   // Log filterer for contract events
}

Viewer is an auto generated Go binding around an Ethereum contract.

func DeployViewer

func DeployViewer(auth *bind.TransactOpts, backend bind.ContractBackend, _staking common.Address) (common.Address, *types.Transaction, *Viewer, error)

DeployViewer deploys a new Ethereum contract, binding an instance of Viewer to it.

func NewViewer

func NewViewer(address common.Address, backend bind.ContractBackend) (*Viewer, error)

NewViewer creates a new instance of Viewer, bound to a specific deployed contract.

type ViewerCaller

type ViewerCaller struct {
	// contains filtered or unexported fields
}

ViewerCaller is an auto generated read-only Go binding around an Ethereum contract.

func NewViewerCaller

func NewViewerCaller(address common.Address, caller bind.ContractCaller) (*ViewerCaller, error)

NewViewerCaller creates a new read-only instance of Viewer, bound to a specific deployed contract.

func (*ViewerCaller) GetBondedValidatorInfos

func (_Viewer *ViewerCaller) GetBondedValidatorInfos(opts *bind.CallOpts) ([]DataTypesValidatorInfo, error)

GetBondedValidatorInfos is a free data retrieval call binding the contract method 0xd87ffe91.

Solidity: function getBondedValidatorInfos() view returns((address,uint8,address,uint256,uint256,uint256,uint64)[])

func (*ViewerCaller) GetDelegatorInfos

func (_Viewer *ViewerCaller) GetDelegatorInfos(opts *bind.CallOpts, _delAddr common.Address) ([]DataTypesDelegatorInfo, error)

GetDelegatorInfos is a free data retrieval call binding the contract method 0x313019bb.

Solidity: function getDelegatorInfos(address _delAddr) view returns((address,uint256,uint256,(uint256,uint256)[],uint256,uint256)[])

func (*ViewerCaller) GetDelegatorTokens

func (_Viewer *ViewerCaller) GetDelegatorTokens(opts *bind.CallOpts, _delAddr common.Address) (*big.Int, *big.Int, error)

GetDelegatorTokens is a free data retrieval call binding the contract method 0xc6fc1ed6.

Solidity: function getDelegatorTokens(address _delAddr) view returns(uint256, uint256)

func (*ViewerCaller) GetMinValidatorTokens

func (_Viewer *ViewerCaller) GetMinValidatorTokens(opts *bind.CallOpts) (*big.Int, error)

GetMinValidatorTokens is a free data retrieval call binding the contract method 0x8dc2336d.

Solidity: function getMinValidatorTokens() view returns(uint256)

func (*ViewerCaller) GetValidatorInfo

func (_Viewer *ViewerCaller) GetValidatorInfo(opts *bind.CallOpts, _valAddr common.Address) (DataTypesValidatorInfo, error)

GetValidatorInfo is a free data retrieval call binding the contract method 0x8a11d7c9.

Solidity: function getValidatorInfo(address _valAddr) view returns((address,uint8,address,uint256,uint256,uint256,uint64))

func (*ViewerCaller) GetValidatorInfos

func (_Viewer *ViewerCaller) GetValidatorInfos(opts *bind.CallOpts) ([]DataTypesValidatorInfo, error)

GetValidatorInfos is a free data retrieval call binding the contract method 0x66ab5d28.

Solidity: function getValidatorInfos() view returns((address,uint8,address,uint256,uint256,uint256,uint64)[])

func (*ViewerCaller) ShouldBondValidator

func (_Viewer *ViewerCaller) ShouldBondValidator(opts *bind.CallOpts, _valAddr common.Address) (bool, error)

ShouldBondValidator is a free data retrieval call binding the contract method 0xe9fe6b0b.

Solidity: function shouldBondValidator(address _valAddr) view returns(bool)

func (*ViewerCaller) Staking

func (_Viewer *ViewerCaller) Staking(opts *bind.CallOpts) (common.Address, error)

Staking is a free data retrieval call binding the contract method 0x4cf088d9.

Solidity: function staking() view returns(address)

type ViewerCallerRaw

type ViewerCallerRaw struct {
	Contract *ViewerCaller // Generic read-only contract binding to access the raw methods on
}

ViewerCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.

func (*ViewerCallerRaw) Call

func (_Viewer *ViewerCallerRaw) 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 ViewerCallerSession

type ViewerCallerSession struct {
	Contract *ViewerCaller // Generic contract caller binding to set the session for
	CallOpts bind.CallOpts // Call options to use throughout this session
}

ViewerCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.

func (*ViewerCallerSession) GetBondedValidatorInfos

func (_Viewer *ViewerCallerSession) GetBondedValidatorInfos() ([]DataTypesValidatorInfo, error)

GetBondedValidatorInfos is a free data retrieval call binding the contract method 0xd87ffe91.

Solidity: function getBondedValidatorInfos() view returns((address,uint8,address,uint256,uint256,uint256,uint64)[])

func (*ViewerCallerSession) GetDelegatorInfos

func (_Viewer *ViewerCallerSession) GetDelegatorInfos(_delAddr common.Address) ([]DataTypesDelegatorInfo, error)

GetDelegatorInfos is a free data retrieval call binding the contract method 0x313019bb.

Solidity: function getDelegatorInfos(address _delAddr) view returns((address,uint256,uint256,(uint256,uint256)[],uint256,uint256)[])

func (*ViewerCallerSession) GetDelegatorTokens

func (_Viewer *ViewerCallerSession) GetDelegatorTokens(_delAddr common.Address) (*big.Int, *big.Int, error)

GetDelegatorTokens is a free data retrieval call binding the contract method 0xc6fc1ed6.

Solidity: function getDelegatorTokens(address _delAddr) view returns(uint256, uint256)

func (*ViewerCallerSession) GetMinValidatorTokens

func (_Viewer *ViewerCallerSession) GetMinValidatorTokens() (*big.Int, error)

GetMinValidatorTokens is a free data retrieval call binding the contract method 0x8dc2336d.

Solidity: function getMinValidatorTokens() view returns(uint256)

func (*ViewerCallerSession) GetValidatorInfo

func (_Viewer *ViewerCallerSession) GetValidatorInfo(_valAddr common.Address) (DataTypesValidatorInfo, error)

GetValidatorInfo is a free data retrieval call binding the contract method 0x8a11d7c9.

Solidity: function getValidatorInfo(address _valAddr) view returns((address,uint8,address,uint256,uint256,uint256,uint64))

func (*ViewerCallerSession) GetValidatorInfos

func (_Viewer *ViewerCallerSession) GetValidatorInfos() ([]DataTypesValidatorInfo, error)

GetValidatorInfos is a free data retrieval call binding the contract method 0x66ab5d28.

Solidity: function getValidatorInfos() view returns((address,uint8,address,uint256,uint256,uint256,uint64)[])

func (*ViewerCallerSession) ShouldBondValidator

func (_Viewer *ViewerCallerSession) ShouldBondValidator(_valAddr common.Address) (bool, error)

ShouldBondValidator is a free data retrieval call binding the contract method 0xe9fe6b0b.

Solidity: function shouldBondValidator(address _valAddr) view returns(bool)

func (*ViewerCallerSession) Staking

func (_Viewer *ViewerCallerSession) Staking() (common.Address, error)

Staking is a free data retrieval call binding the contract method 0x4cf088d9.

Solidity: function staking() view returns(address)

type ViewerContract

type ViewerContract struct {
	*Viewer
	Address Addr
}

func NewViewerContract

func NewViewerContract(address Addr, client *ethclient.Client) (*ViewerContract, error)

func (*ViewerContract) GetABI

func (c *ViewerContract) GetABI() string

func (*ViewerContract) GetAddr

func (c *ViewerContract) GetAddr() Addr

type ViewerFilterer

type ViewerFilterer struct {
	// contains filtered or unexported fields
}

ViewerFilterer is an auto generated log filtering Go binding around an Ethereum contract events.

func NewViewerFilterer

func NewViewerFilterer(address common.Address, filterer bind.ContractFilterer) (*ViewerFilterer, error)

NewViewerFilterer creates a new log filterer instance of Viewer, bound to a specific deployed contract.

type ViewerRaw

type ViewerRaw struct {
	Contract *Viewer // Generic contract binding to access the raw methods on
}

ViewerRaw is an auto generated low-level Go binding around an Ethereum contract.

func (*ViewerRaw) Call

func (_Viewer *ViewerRaw) 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 (*ViewerRaw) Transact

func (_Viewer *ViewerRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*ViewerRaw) Transfer

func (_Viewer *ViewerRaw) 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 ViewerSession

type ViewerSession struct {
	Contract     *Viewer           // 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
}

ViewerSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.

func (*ViewerSession) GetBondedValidatorInfos

func (_Viewer *ViewerSession) GetBondedValidatorInfos() ([]DataTypesValidatorInfo, error)

GetBondedValidatorInfos is a free data retrieval call binding the contract method 0xd87ffe91.

Solidity: function getBondedValidatorInfos() view returns((address,uint8,address,uint256,uint256,uint256,uint64)[])

func (*ViewerSession) GetDelegatorInfos

func (_Viewer *ViewerSession) GetDelegatorInfos(_delAddr common.Address) ([]DataTypesDelegatorInfo, error)

GetDelegatorInfos is a free data retrieval call binding the contract method 0x313019bb.

Solidity: function getDelegatorInfos(address _delAddr) view returns((address,uint256,uint256,(uint256,uint256)[],uint256,uint256)[])

func (*ViewerSession) GetDelegatorTokens

func (_Viewer *ViewerSession) GetDelegatorTokens(_delAddr common.Address) (*big.Int, *big.Int, error)

GetDelegatorTokens is a free data retrieval call binding the contract method 0xc6fc1ed6.

Solidity: function getDelegatorTokens(address _delAddr) view returns(uint256, uint256)

func (*ViewerSession) GetMinValidatorTokens

func (_Viewer *ViewerSession) GetMinValidatorTokens() (*big.Int, error)

GetMinValidatorTokens is a free data retrieval call binding the contract method 0x8dc2336d.

Solidity: function getMinValidatorTokens() view returns(uint256)

func (*ViewerSession) GetValidatorInfo

func (_Viewer *ViewerSession) GetValidatorInfo(_valAddr common.Address) (DataTypesValidatorInfo, error)

GetValidatorInfo is a free data retrieval call binding the contract method 0x8a11d7c9.

Solidity: function getValidatorInfo(address _valAddr) view returns((address,uint8,address,uint256,uint256,uint256,uint64))

func (*ViewerSession) GetValidatorInfos

func (_Viewer *ViewerSession) GetValidatorInfos() ([]DataTypesValidatorInfo, error)

GetValidatorInfos is a free data retrieval call binding the contract method 0x66ab5d28.

Solidity: function getValidatorInfos() view returns((address,uint8,address,uint256,uint256,uint256,uint64)[])

func (*ViewerSession) ShouldBondValidator

func (_Viewer *ViewerSession) ShouldBondValidator(_valAddr common.Address) (bool, error)

ShouldBondValidator is a free data retrieval call binding the contract method 0xe9fe6b0b.

Solidity: function shouldBondValidator(address _valAddr) view returns(bool)

func (*ViewerSession) Staking

func (_Viewer *ViewerSession) Staking() (common.Address, error)

Staking is a free data retrieval call binding the contract method 0x4cf088d9.

Solidity: function staking() view returns(address)

type ViewerTransactor

type ViewerTransactor struct {
	// contains filtered or unexported fields
}

ViewerTransactor is an auto generated write-only Go binding around an Ethereum contract.

func NewViewerTransactor

func NewViewerTransactor(address common.Address, transactor bind.ContractTransactor) (*ViewerTransactor, error)

NewViewerTransactor creates a new write-only instance of Viewer, bound to a specific deployed contract.

type ViewerTransactorRaw

type ViewerTransactorRaw struct {
	Contract *ViewerTransactor // Generic write-only contract binding to access the raw methods on
}

ViewerTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.

func (*ViewerTransactorRaw) Transact

func (_Viewer *ViewerTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*ViewerTransactorRaw) Transfer

func (_Viewer *ViewerTransactorRaw) 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 ViewerTransactorSession

type ViewerTransactorSession struct {
	Contract     *ViewerTransactor // Generic contract transactor binding to set the session for
	TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session
}

ViewerTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.

type VotingEscrowToken

type VotingEscrowToken struct {
	VotingEscrowTokenCaller     // Read-only binding to the contract
	VotingEscrowTokenTransactor // Write-only binding to the contract
	VotingEscrowTokenFilterer   // Log filterer for contract events
}

VotingEscrowToken is an auto generated Go binding around an Ethereum contract.

func DeployVotingEscrowToken

func DeployVotingEscrowToken(auth *bind.TransactOpts, backend bind.ContractBackend, _token common.Address) (common.Address, *types.Transaction, *VotingEscrowToken, error)

DeployVotingEscrowToken deploys a new Ethereum contract, binding an instance of VotingEscrowToken to it.

func NewVotingEscrowToken

func NewVotingEscrowToken(address common.Address, backend bind.ContractBackend) (*VotingEscrowToken, error)

NewVotingEscrowToken creates a new instance of VotingEscrowToken, bound to a specific deployed contract.

type VotingEscrowTokenCaller

type VotingEscrowTokenCaller struct {
	// contains filtered or unexported fields
}

VotingEscrowTokenCaller is an auto generated read-only Go binding around an Ethereum contract.

func NewVotingEscrowTokenCaller

func NewVotingEscrowTokenCaller(address common.Address, caller bind.ContractCaller) (*VotingEscrowTokenCaller, error)

NewVotingEscrowTokenCaller creates a new read-only instance of VotingEscrowToken, bound to a specific deployed contract.

func (*VotingEscrowTokenCaller) ACTIONCREATELOCK

func (_VotingEscrowToken *VotingEscrowTokenCaller) ACTIONCREATELOCK(opts *bind.CallOpts) (*big.Int, error)

ACTIONCREATELOCK is a free data retrieval call binding the contract method 0x67e7a7cb.

Solidity: function ACTION_CREATE_LOCK() view returns(uint256)

func (*VotingEscrowTokenCaller) ACTIONDEPOSITFOR

func (_VotingEscrowToken *VotingEscrowTokenCaller) ACTIONDEPOSITFOR(opts *bind.CallOpts) (*big.Int, error)

ACTIONDEPOSITFOR is a free data retrieval call binding the contract method 0x00b79fd4.

Solidity: function ACTION_DEPOSIT_FOR() view returns(uint256)

func (*VotingEscrowTokenCaller) ACTIONINCREASELOCKAMOUNT

func (_VotingEscrowToken *VotingEscrowTokenCaller) ACTIONINCREASELOCKAMOUNT(opts *bind.CallOpts) (*big.Int, error)

ACTIONINCREASELOCKAMOUNT is a free data retrieval call binding the contract method 0xf2c7a81b.

Solidity: function ACTION_INCREASE_LOCK_AMOUNT() view returns(uint256)

func (*VotingEscrowTokenCaller) ACTIONINCREASEUNLOCKTIME

func (_VotingEscrowToken *VotingEscrowTokenCaller) ACTIONINCREASEUNLOCKTIME(opts *bind.CallOpts) (*big.Int, error)

ACTIONINCREASEUNLOCKTIME is a free data retrieval call binding the contract method 0x02641632.

Solidity: function ACTION_INCREASE_UNLOCK_TIME() view returns(uint256)

func (*VotingEscrowTokenCaller) BalanceOf

func (_VotingEscrowToken *VotingEscrowTokenCaller) BalanceOf(opts *bind.CallOpts, _user common.Address) (*big.Int, error)

BalanceOf is a free data retrieval call binding the contract method 0x70a08231.

Solidity: function balanceOf(address _user) view returns(uint256)

func (*VotingEscrowTokenCaller) BalanceOfAt

func (_VotingEscrowToken *VotingEscrowTokenCaller) BalanceOfAt(opts *bind.CallOpts, _user common.Address, _blockNumber *big.Int) (*big.Int, error)

BalanceOfAt is a free data retrieval call binding the contract method 0x4ee2cd7e.

Solidity: function balanceOfAt(address _user, uint256 _blockNumber) view returns(uint256)

func (*VotingEscrowTokenCaller) Decimals

func (_VotingEscrowToken *VotingEscrowTokenCaller) Decimals(opts *bind.CallOpts) (uint8, error)

Decimals is a free data retrieval call binding the contract method 0x313ce567.

Solidity: function decimals() view returns(uint8)

func (*VotingEscrowTokenCaller) Epoch

func (_VotingEscrowToken *VotingEscrowTokenCaller) Epoch(opts *bind.CallOpts) (*big.Int, error)

Epoch is a free data retrieval call binding the contract method 0x900cf0cf.

Solidity: function epoch() view returns(uint256)

func (*VotingEscrowTokenCaller) Locks

func (_VotingEscrowToken *VotingEscrowTokenCaller) Locks(opts *bind.CallOpts, arg0 common.Address) (struct {
	Amount *big.Int
	End    *big.Int
}, error)

Locks is a free data retrieval call binding the contract method 0x5de9a137.

Solidity: function locks(address ) view returns(int128 amount, uint256 end)

func (*VotingEscrowTokenCaller) MAXLOCK

func (_VotingEscrowToken *VotingEscrowTokenCaller) MAXLOCK(opts *bind.CallOpts) (*big.Int, error)

MAXLOCK is a free data retrieval call binding the contract method 0x65a5d5f0.

Solidity: function MAX_LOCK() view returns(uint256)

func (*VotingEscrowTokenCaller) MULTIPLIER

func (_VotingEscrowToken *VotingEscrowTokenCaller) MULTIPLIER(opts *bind.CallOpts) (*big.Int, error)

MULTIPLIER is a free data retrieval call binding the contract method 0x059f8b16.

Solidity: function MULTIPLIER() view returns(uint256)

func (*VotingEscrowTokenCaller) Name

func (_VotingEscrowToken *VotingEscrowTokenCaller) Name(opts *bind.CallOpts) (string, error)

Name is a free data retrieval call binding the contract method 0x06fdde03.

Solidity: function name() view returns(string)

func (*VotingEscrowTokenCaller) PointHistory

func (_VotingEscrowToken *VotingEscrowTokenCaller) PointHistory(opts *bind.CallOpts, arg0 *big.Int) (struct {
	Bias        *big.Int
	Slope       *big.Int
	Timestamp   *big.Int
	BlockNumber *big.Int
}, error)

PointHistory is a free data retrieval call binding the contract method 0x8ad4c447.

Solidity: function pointHistory(uint256 ) view returns(int128 bias, int128 slope, uint256 timestamp, uint256 blockNumber)

func (*VotingEscrowTokenCaller) SlopeChanges

func (_VotingEscrowToken *VotingEscrowTokenCaller) SlopeChanges(opts *bind.CallOpts, arg0 *big.Int) (*big.Int, error)

SlopeChanges is a free data retrieval call binding the contract method 0xf52a36f7.

Solidity: function slopeChanges(uint256 ) view returns(int128)

func (*VotingEscrowTokenCaller) Supply

func (_VotingEscrowToken *VotingEscrowTokenCaller) Supply(opts *bind.CallOpts) (*big.Int, error)

Supply is a free data retrieval call binding the contract method 0x047fc9aa.

Solidity: function supply() view returns(uint256)

func (*VotingEscrowTokenCaller) Symbol

func (_VotingEscrowToken *VotingEscrowTokenCaller) Symbol(opts *bind.CallOpts) (string, error)

Symbol is a free data retrieval call binding the contract method 0x95d89b41.

Solidity: function symbol() view returns(string)

func (*VotingEscrowTokenCaller) Token

func (_VotingEscrowToken *VotingEscrowTokenCaller) Token(opts *bind.CallOpts) (common.Address, error)

Token is a free data retrieval call binding the contract method 0xfc0c546a.

Solidity: function token() view returns(address)

func (*VotingEscrowTokenCaller) TotalSupply

func (_VotingEscrowToken *VotingEscrowTokenCaller) TotalSupply(opts *bind.CallOpts) (*big.Int, error)

TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.

Solidity: function totalSupply() view returns(uint256)

func (*VotingEscrowTokenCaller) TotalSupplyAt

func (_VotingEscrowToken *VotingEscrowTokenCaller) TotalSupplyAt(opts *bind.CallOpts, _blockNumber *big.Int) (*big.Int, error)

TotalSupplyAt is a free data retrieval call binding the contract method 0x981b24d0.

Solidity: function totalSupplyAt(uint256 _blockNumber) view returns(uint256)

func (*VotingEscrowTokenCaller) UserPointEpoch

func (_VotingEscrowToken *VotingEscrowTokenCaller) UserPointEpoch(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)

UserPointEpoch is a free data retrieval call binding the contract method 0x81fc83bb.

Solidity: function userPointEpoch(address ) view returns(uint256)

func (*VotingEscrowTokenCaller) UserPointHistory

func (_VotingEscrowToken *VotingEscrowTokenCaller) UserPointHistory(opts *bind.CallOpts, arg0 common.Address, arg1 *big.Int) (struct {
	Bias        *big.Int
	Slope       *big.Int
	Timestamp   *big.Int
	BlockNumber *big.Int
}, error)

UserPointHistory is a free data retrieval call binding the contract method 0x34d901a4.

Solidity: function userPointHistory(address , uint256 ) view returns(int128 bias, int128 slope, uint256 timestamp, uint256 blockNumber)

func (*VotingEscrowTokenCaller) WEEK

func (_VotingEscrowToken *VotingEscrowTokenCaller) WEEK(opts *bind.CallOpts) (*big.Int, error)

WEEK is a free data retrieval call binding the contract method 0xf4359ce5.

Solidity: function WEEK() view returns(uint256)

type VotingEscrowTokenCallerRaw

type VotingEscrowTokenCallerRaw struct {
	Contract *VotingEscrowTokenCaller // Generic read-only contract binding to access the raw methods on
}

VotingEscrowTokenCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.

func (*VotingEscrowTokenCallerRaw) Call

func (_VotingEscrowToken *VotingEscrowTokenCallerRaw) 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 VotingEscrowTokenCallerSession

type VotingEscrowTokenCallerSession struct {
	Contract *VotingEscrowTokenCaller // Generic contract caller binding to set the session for
	CallOpts bind.CallOpts            // Call options to use throughout this session
}

VotingEscrowTokenCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.

func (*VotingEscrowTokenCallerSession) ACTIONCREATELOCK

func (_VotingEscrowToken *VotingEscrowTokenCallerSession) ACTIONCREATELOCK() (*big.Int, error)

ACTIONCREATELOCK is a free data retrieval call binding the contract method 0x67e7a7cb.

Solidity: function ACTION_CREATE_LOCK() view returns(uint256)

func (*VotingEscrowTokenCallerSession) ACTIONDEPOSITFOR

func (_VotingEscrowToken *VotingEscrowTokenCallerSession) ACTIONDEPOSITFOR() (*big.Int, error)

ACTIONDEPOSITFOR is a free data retrieval call binding the contract method 0x00b79fd4.

Solidity: function ACTION_DEPOSIT_FOR() view returns(uint256)

func (*VotingEscrowTokenCallerSession) ACTIONINCREASELOCKAMOUNT

func (_VotingEscrowToken *VotingEscrowTokenCallerSession) ACTIONINCREASELOCKAMOUNT() (*big.Int, error)

ACTIONINCREASELOCKAMOUNT is a free data retrieval call binding the contract method 0xf2c7a81b.

Solidity: function ACTION_INCREASE_LOCK_AMOUNT() view returns(uint256)

func (*VotingEscrowTokenCallerSession) ACTIONINCREASEUNLOCKTIME

func (_VotingEscrowToken *VotingEscrowTokenCallerSession) ACTIONINCREASEUNLOCKTIME() (*big.Int, error)

ACTIONINCREASEUNLOCKTIME is a free data retrieval call binding the contract method 0x02641632.

Solidity: function ACTION_INCREASE_UNLOCK_TIME() view returns(uint256)

func (*VotingEscrowTokenCallerSession) BalanceOf

func (_VotingEscrowToken *VotingEscrowTokenCallerSession) BalanceOf(_user common.Address) (*big.Int, error)

BalanceOf is a free data retrieval call binding the contract method 0x70a08231.

Solidity: function balanceOf(address _user) view returns(uint256)

func (*VotingEscrowTokenCallerSession) BalanceOfAt

func (_VotingEscrowToken *VotingEscrowTokenCallerSession) BalanceOfAt(_user common.Address, _blockNumber *big.Int) (*big.Int, error)

BalanceOfAt is a free data retrieval call binding the contract method 0x4ee2cd7e.

Solidity: function balanceOfAt(address _user, uint256 _blockNumber) view returns(uint256)

func (*VotingEscrowTokenCallerSession) Decimals

func (_VotingEscrowToken *VotingEscrowTokenCallerSession) Decimals() (uint8, error)

Decimals is a free data retrieval call binding the contract method 0x313ce567.

Solidity: function decimals() view returns(uint8)

func (*VotingEscrowTokenCallerSession) Epoch

func (_VotingEscrowToken *VotingEscrowTokenCallerSession) Epoch() (*big.Int, error)

Epoch is a free data retrieval call binding the contract method 0x900cf0cf.

Solidity: function epoch() view returns(uint256)

func (*VotingEscrowTokenCallerSession) Locks

func (_VotingEscrowToken *VotingEscrowTokenCallerSession) Locks(arg0 common.Address) (struct {
	Amount *big.Int
	End    *big.Int
}, error)

Locks is a free data retrieval call binding the contract method 0x5de9a137.

Solidity: function locks(address ) view returns(int128 amount, uint256 end)

func (*VotingEscrowTokenCallerSession) MAXLOCK

func (_VotingEscrowToken *VotingEscrowTokenCallerSession) MAXLOCK() (*big.Int, error)

MAXLOCK is a free data retrieval call binding the contract method 0x65a5d5f0.

Solidity: function MAX_LOCK() view returns(uint256)

func (*VotingEscrowTokenCallerSession) MULTIPLIER

func (_VotingEscrowToken *VotingEscrowTokenCallerSession) MULTIPLIER() (*big.Int, error)

MULTIPLIER is a free data retrieval call binding the contract method 0x059f8b16.

Solidity: function MULTIPLIER() view returns(uint256)

func (*VotingEscrowTokenCallerSession) Name

func (_VotingEscrowToken *VotingEscrowTokenCallerSession) Name() (string, error)

Name is a free data retrieval call binding the contract method 0x06fdde03.

Solidity: function name() view returns(string)

func (*VotingEscrowTokenCallerSession) PointHistory

func (_VotingEscrowToken *VotingEscrowTokenCallerSession) PointHistory(arg0 *big.Int) (struct {
	Bias        *big.Int
	Slope       *big.Int
	Timestamp   *big.Int
	BlockNumber *big.Int
}, error)

PointHistory is a free data retrieval call binding the contract method 0x8ad4c447.

Solidity: function pointHistory(uint256 ) view returns(int128 bias, int128 slope, uint256 timestamp, uint256 blockNumber)

func (*VotingEscrowTokenCallerSession) SlopeChanges

func (_VotingEscrowToken *VotingEscrowTokenCallerSession) SlopeChanges(arg0 *big.Int) (*big.Int, error)

SlopeChanges is a free data retrieval call binding the contract method 0xf52a36f7.

Solidity: function slopeChanges(uint256 ) view returns(int128)

func (*VotingEscrowTokenCallerSession) Supply

func (_VotingEscrowToken *VotingEscrowTokenCallerSession) Supply() (*big.Int, error)

Supply is a free data retrieval call binding the contract method 0x047fc9aa.

Solidity: function supply() view returns(uint256)

func (*VotingEscrowTokenCallerSession) Symbol

func (_VotingEscrowToken *VotingEscrowTokenCallerSession) Symbol() (string, error)

Symbol is a free data retrieval call binding the contract method 0x95d89b41.

Solidity: function symbol() view returns(string)

func (*VotingEscrowTokenCallerSession) Token

func (_VotingEscrowToken *VotingEscrowTokenCallerSession) Token() (common.Address, error)

Token is a free data retrieval call binding the contract method 0xfc0c546a.

Solidity: function token() view returns(address)

func (*VotingEscrowTokenCallerSession) TotalSupply

func (_VotingEscrowToken *VotingEscrowTokenCallerSession) TotalSupply() (*big.Int, error)

TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.

Solidity: function totalSupply() view returns(uint256)

func (*VotingEscrowTokenCallerSession) TotalSupplyAt

func (_VotingEscrowToken *VotingEscrowTokenCallerSession) TotalSupplyAt(_blockNumber *big.Int) (*big.Int, error)

TotalSupplyAt is a free data retrieval call binding the contract method 0x981b24d0.

Solidity: function totalSupplyAt(uint256 _blockNumber) view returns(uint256)

func (*VotingEscrowTokenCallerSession) UserPointEpoch

func (_VotingEscrowToken *VotingEscrowTokenCallerSession) UserPointEpoch(arg0 common.Address) (*big.Int, error)

UserPointEpoch is a free data retrieval call binding the contract method 0x81fc83bb.

Solidity: function userPointEpoch(address ) view returns(uint256)

func (*VotingEscrowTokenCallerSession) UserPointHistory

func (_VotingEscrowToken *VotingEscrowTokenCallerSession) UserPointHistory(arg0 common.Address, arg1 *big.Int) (struct {
	Bias        *big.Int
	Slope       *big.Int
	Timestamp   *big.Int
	BlockNumber *big.Int
}, error)

UserPointHistory is a free data retrieval call binding the contract method 0x34d901a4.

Solidity: function userPointHistory(address , uint256 ) view returns(int128 bias, int128 slope, uint256 timestamp, uint256 blockNumber)

func (*VotingEscrowTokenCallerSession) WEEK

func (_VotingEscrowToken *VotingEscrowTokenCallerSession) WEEK() (*big.Int, error)

WEEK is a free data retrieval call binding the contract method 0xf4359ce5.

Solidity: function WEEK() view returns(uint256)

type VotingEscrowTokenContract

type VotingEscrowTokenContract struct {
	*VotingEscrowToken
	Address Addr
}

func NewVotingEscrowTokenContract

func NewVotingEscrowTokenContract(address Addr, client *ethclient.Client) (*VotingEscrowTokenContract, error)

func (*VotingEscrowTokenContract) GetABI

func (c *VotingEscrowTokenContract) GetABI() string

func (*VotingEscrowTokenContract) GetAddr

func (c *VotingEscrowTokenContract) GetAddr() Addr

type VotingEscrowTokenDeposited

type VotingEscrowTokenDeposited struct {
	Locker    common.Address
	Value     *big.Int
	LockTime  *big.Int
	LockType  *big.Int
	Timestamp *big.Int
	Raw       types.Log // Blockchain specific contextual infos
}

VotingEscrowTokenDeposited represents a Deposited event raised by the VotingEscrowToken contract.

func (*VotingEscrowTokenDeposited) PrettyLog

func (ev *VotingEscrowTokenDeposited) PrettyLog(onchid uint64) string

func (*VotingEscrowTokenDeposited) String

func (ev *VotingEscrowTokenDeposited) String() string

type VotingEscrowTokenDepositedIterator

type VotingEscrowTokenDepositedIterator struct {
	Event *VotingEscrowTokenDeposited // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

VotingEscrowTokenDepositedIterator is returned from FilterDeposited and is used to iterate over the raw logs and unpacked data for Deposited events raised by the VotingEscrowToken contract.

func (*VotingEscrowTokenDepositedIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*VotingEscrowTokenDepositedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*VotingEscrowTokenDepositedIterator) 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 VotingEscrowTokenFilterer

type VotingEscrowTokenFilterer struct {
	// contains filtered or unexported fields
}

VotingEscrowTokenFilterer is an auto generated log filtering Go binding around an Ethereum contract events.

func NewVotingEscrowTokenFilterer

func NewVotingEscrowTokenFilterer(address common.Address, filterer bind.ContractFilterer) (*VotingEscrowTokenFilterer, error)

NewVotingEscrowTokenFilterer creates a new log filterer instance of VotingEscrowToken, bound to a specific deployed contract.

func (*VotingEscrowTokenFilterer) FilterDeposited

func (_VotingEscrowToken *VotingEscrowTokenFilterer) FilterDeposited(opts *bind.FilterOpts, locker []common.Address, lockTime []*big.Int) (*VotingEscrowTokenDepositedIterator, error)

FilterDeposited is a free log retrieval operation binding the contract event 0xe3b53cd1a44fbf11535e145d80b8ef1ed6d57a73bf5daa7e939b6b01657d6549.

Solidity: event Deposited(address indexed locker, uint256 value, uint256 indexed lockTime, uint256 lockType, uint256 timestamp)

func (*VotingEscrowTokenFilterer) FilterSupplyChanged

func (_VotingEscrowToken *VotingEscrowTokenFilterer) FilterSupplyChanged(opts *bind.FilterOpts) (*VotingEscrowTokenSupplyChangedIterator, error)

FilterSupplyChanged is a free log retrieval operation binding the contract event 0xed89e864eaa767d73408242ff6a09be53504bda6578087e3cc94dc198390488c.

Solidity: event SupplyChanged(uint256 previousSupply, uint256 supply)

func (*VotingEscrowTokenFilterer) FilterWithdrawn

func (_VotingEscrowToken *VotingEscrowTokenFilterer) FilterWithdrawn(opts *bind.FilterOpts, locker []common.Address) (*VotingEscrowTokenWithdrawnIterator, error)

FilterWithdrawn is a free log retrieval operation binding the contract event 0x92ccf450a286a957af52509bc1c9939d1a6a481783e142e41e2499f0bb66ebc6.

Solidity: event Withdrawn(address indexed locker, uint256 value, uint256 timestamp)

func (*VotingEscrowTokenFilterer) ParseDeposited

func (_VotingEscrowToken *VotingEscrowTokenFilterer) ParseDeposited(log types.Log) (*VotingEscrowTokenDeposited, error)

ParseDeposited is a log parse operation binding the contract event 0xe3b53cd1a44fbf11535e145d80b8ef1ed6d57a73bf5daa7e939b6b01657d6549.

Solidity: event Deposited(address indexed locker, uint256 value, uint256 indexed lockTime, uint256 lockType, uint256 timestamp)

func (*VotingEscrowTokenFilterer) ParseSupplyChanged

func (_VotingEscrowToken *VotingEscrowTokenFilterer) ParseSupplyChanged(log types.Log) (*VotingEscrowTokenSupplyChanged, error)

ParseSupplyChanged is a log parse operation binding the contract event 0xed89e864eaa767d73408242ff6a09be53504bda6578087e3cc94dc198390488c.

Solidity: event SupplyChanged(uint256 previousSupply, uint256 supply)

func (*VotingEscrowTokenFilterer) ParseWithdrawn

func (_VotingEscrowToken *VotingEscrowTokenFilterer) ParseWithdrawn(log types.Log) (*VotingEscrowTokenWithdrawn, error)

ParseWithdrawn is a log parse operation binding the contract event 0x92ccf450a286a957af52509bc1c9939d1a6a481783e142e41e2499f0bb66ebc6.

Solidity: event Withdrawn(address indexed locker, uint256 value, uint256 timestamp)

func (*VotingEscrowTokenFilterer) WatchDeposited

func (_VotingEscrowToken *VotingEscrowTokenFilterer) WatchDeposited(opts *bind.WatchOpts, sink chan<- *VotingEscrowTokenDeposited, locker []common.Address, lockTime []*big.Int) (event.Subscription, error)

WatchDeposited is a free log subscription operation binding the contract event 0xe3b53cd1a44fbf11535e145d80b8ef1ed6d57a73bf5daa7e939b6b01657d6549.

Solidity: event Deposited(address indexed locker, uint256 value, uint256 indexed lockTime, uint256 lockType, uint256 timestamp)

func (*VotingEscrowTokenFilterer) WatchSupplyChanged

func (_VotingEscrowToken *VotingEscrowTokenFilterer) WatchSupplyChanged(opts *bind.WatchOpts, sink chan<- *VotingEscrowTokenSupplyChanged) (event.Subscription, error)

WatchSupplyChanged is a free log subscription operation binding the contract event 0xed89e864eaa767d73408242ff6a09be53504bda6578087e3cc94dc198390488c.

Solidity: event SupplyChanged(uint256 previousSupply, uint256 supply)

func (*VotingEscrowTokenFilterer) WatchWithdrawn

func (_VotingEscrowToken *VotingEscrowTokenFilterer) WatchWithdrawn(opts *bind.WatchOpts, sink chan<- *VotingEscrowTokenWithdrawn, locker []common.Address) (event.Subscription, error)

WatchWithdrawn is a free log subscription operation binding the contract event 0x92ccf450a286a957af52509bc1c9939d1a6a481783e142e41e2499f0bb66ebc6.

Solidity: event Withdrawn(address indexed locker, uint256 value, uint256 timestamp)

type VotingEscrowTokenRaw

type VotingEscrowTokenRaw struct {
	Contract *VotingEscrowToken // Generic contract binding to access the raw methods on
}

VotingEscrowTokenRaw is an auto generated low-level Go binding around an Ethereum contract.

func (*VotingEscrowTokenRaw) Call

func (_VotingEscrowToken *VotingEscrowTokenRaw) 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 (*VotingEscrowTokenRaw) Transact

func (_VotingEscrowToken *VotingEscrowTokenRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*VotingEscrowTokenRaw) Transfer

func (_VotingEscrowToken *VotingEscrowTokenRaw) 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 VotingEscrowTokenSession

type VotingEscrowTokenSession struct {
	Contract     *VotingEscrowToken // 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
}

VotingEscrowTokenSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.

func (*VotingEscrowTokenSession) ACTIONCREATELOCK

func (_VotingEscrowToken *VotingEscrowTokenSession) ACTIONCREATELOCK() (*big.Int, error)

ACTIONCREATELOCK is a free data retrieval call binding the contract method 0x67e7a7cb.

Solidity: function ACTION_CREATE_LOCK() view returns(uint256)

func (*VotingEscrowTokenSession) ACTIONDEPOSITFOR

func (_VotingEscrowToken *VotingEscrowTokenSession) ACTIONDEPOSITFOR() (*big.Int, error)

ACTIONDEPOSITFOR is a free data retrieval call binding the contract method 0x00b79fd4.

Solidity: function ACTION_DEPOSIT_FOR() view returns(uint256)

func (*VotingEscrowTokenSession) ACTIONINCREASELOCKAMOUNT

func (_VotingEscrowToken *VotingEscrowTokenSession) ACTIONINCREASELOCKAMOUNT() (*big.Int, error)

ACTIONINCREASELOCKAMOUNT is a free data retrieval call binding the contract method 0xf2c7a81b.

Solidity: function ACTION_INCREASE_LOCK_AMOUNT() view returns(uint256)

func (*VotingEscrowTokenSession) ACTIONINCREASEUNLOCKTIME

func (_VotingEscrowToken *VotingEscrowTokenSession) ACTIONINCREASEUNLOCKTIME() (*big.Int, error)

ACTIONINCREASEUNLOCKTIME is a free data retrieval call binding the contract method 0x02641632.

Solidity: function ACTION_INCREASE_UNLOCK_TIME() view returns(uint256)

func (*VotingEscrowTokenSession) BalanceOf

func (_VotingEscrowToken *VotingEscrowTokenSession) BalanceOf(_user common.Address) (*big.Int, error)

BalanceOf is a free data retrieval call binding the contract method 0x70a08231.

Solidity: function balanceOf(address _user) view returns(uint256)

func (*VotingEscrowTokenSession) BalanceOfAt

func (_VotingEscrowToken *VotingEscrowTokenSession) BalanceOfAt(_user common.Address, _blockNumber *big.Int) (*big.Int, error)

BalanceOfAt is a free data retrieval call binding the contract method 0x4ee2cd7e.

Solidity: function balanceOfAt(address _user, uint256 _blockNumber) view returns(uint256)

func (*VotingEscrowTokenSession) Checkpoint

func (_VotingEscrowToken *VotingEscrowTokenSession) Checkpoint() (*types.Transaction, error)

Checkpoint is a paid mutator transaction binding the contract method 0xc2c4c5c1.

Solidity: function checkpoint() returns()

func (*VotingEscrowTokenSession) CreateLock

func (_VotingEscrowToken *VotingEscrowTokenSession) CreateLock(_amount *big.Int, _unlockTime *big.Int) (*types.Transaction, error)

CreateLock is a paid mutator transaction binding the contract method 0xb52c05fe.

Solidity: function createLock(uint256 _amount, uint256 _unlockTime) returns()

func (*VotingEscrowTokenSession) Decimals

func (_VotingEscrowToken *VotingEscrowTokenSession) Decimals() (uint8, error)

Decimals is a free data retrieval call binding the contract method 0x313ce567.

Solidity: function decimals() view returns(uint8)

func (*VotingEscrowTokenSession) DepositFor

func (_VotingEscrowToken *VotingEscrowTokenSession) DepositFor(_for common.Address, _amount *big.Int) (*types.Transaction, error)

DepositFor is a paid mutator transaction binding the contract method 0x2f4f21e2.

Solidity: function depositFor(address _for, uint256 _amount) returns()

func (*VotingEscrowTokenSession) Epoch

func (_VotingEscrowToken *VotingEscrowTokenSession) Epoch() (*big.Int, error)

Epoch is a free data retrieval call binding the contract method 0x900cf0cf.

Solidity: function epoch() view returns(uint256)

func (*VotingEscrowTokenSession) IncreaseLockAmount

func (_VotingEscrowToken *VotingEscrowTokenSession) IncreaseLockAmount(_amount *big.Int) (*types.Transaction, error)

IncreaseLockAmount is a paid mutator transaction binding the contract method 0x403f4447.

Solidity: function increaseLockAmount(uint256 _amount) returns()

func (*VotingEscrowTokenSession) IncreaseUnlockTime

func (_VotingEscrowToken *VotingEscrowTokenSession) IncreaseUnlockTime(_newUnlockTime *big.Int) (*types.Transaction, error)

IncreaseUnlockTime is a paid mutator transaction binding the contract method 0x7c616fe6.

Solidity: function increaseUnlockTime(uint256 _newUnlockTime) returns()

func (*VotingEscrowTokenSession) Locks

func (_VotingEscrowToken *VotingEscrowTokenSession) Locks(arg0 common.Address) (struct {
	Amount *big.Int
	End    *big.Int
}, error)

Locks is a free data retrieval call binding the contract method 0x5de9a137.

Solidity: function locks(address ) view returns(int128 amount, uint256 end)

func (*VotingEscrowTokenSession) MAXLOCK

func (_VotingEscrowToken *VotingEscrowTokenSession) MAXLOCK() (*big.Int, error)

MAXLOCK is a free data retrieval call binding the contract method 0x65a5d5f0.

Solidity: function MAX_LOCK() view returns(uint256)

func (*VotingEscrowTokenSession) MULTIPLIER

func (_VotingEscrowToken *VotingEscrowTokenSession) MULTIPLIER() (*big.Int, error)

MULTIPLIER is a free data retrieval call binding the contract method 0x059f8b16.

Solidity: function MULTIPLIER() view returns(uint256)

func (*VotingEscrowTokenSession) Name

func (_VotingEscrowToken *VotingEscrowTokenSession) Name() (string, error)

Name is a free data retrieval call binding the contract method 0x06fdde03.

Solidity: function name() view returns(string)

func (*VotingEscrowTokenSession) PointHistory

func (_VotingEscrowToken *VotingEscrowTokenSession) PointHistory(arg0 *big.Int) (struct {
	Bias        *big.Int
	Slope       *big.Int
	Timestamp   *big.Int
	BlockNumber *big.Int
}, error)

PointHistory is a free data retrieval call binding the contract method 0x8ad4c447.

Solidity: function pointHistory(uint256 ) view returns(int128 bias, int128 slope, uint256 timestamp, uint256 blockNumber)

func (*VotingEscrowTokenSession) SlopeChanges

func (_VotingEscrowToken *VotingEscrowTokenSession) SlopeChanges(arg0 *big.Int) (*big.Int, error)

SlopeChanges is a free data retrieval call binding the contract method 0xf52a36f7.

Solidity: function slopeChanges(uint256 ) view returns(int128)

func (*VotingEscrowTokenSession) Supply

func (_VotingEscrowToken *VotingEscrowTokenSession) Supply() (*big.Int, error)

Supply is a free data retrieval call binding the contract method 0x047fc9aa.

Solidity: function supply() view returns(uint256)

func (*VotingEscrowTokenSession) Symbol

func (_VotingEscrowToken *VotingEscrowTokenSession) Symbol() (string, error)

Symbol is a free data retrieval call binding the contract method 0x95d89b41.

Solidity: function symbol() view returns(string)

func (*VotingEscrowTokenSession) Token

func (_VotingEscrowToken *VotingEscrowTokenSession) Token() (common.Address, error)

Token is a free data retrieval call binding the contract method 0xfc0c546a.

Solidity: function token() view returns(address)

func (*VotingEscrowTokenSession) TotalSupply

func (_VotingEscrowToken *VotingEscrowTokenSession) TotalSupply() (*big.Int, error)

TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.

Solidity: function totalSupply() view returns(uint256)

func (*VotingEscrowTokenSession) TotalSupplyAt

func (_VotingEscrowToken *VotingEscrowTokenSession) TotalSupplyAt(_blockNumber *big.Int) (*big.Int, error)

TotalSupplyAt is a free data retrieval call binding the contract method 0x981b24d0.

Solidity: function totalSupplyAt(uint256 _blockNumber) view returns(uint256)

func (*VotingEscrowTokenSession) UserPointEpoch

func (_VotingEscrowToken *VotingEscrowTokenSession) UserPointEpoch(arg0 common.Address) (*big.Int, error)

UserPointEpoch is a free data retrieval call binding the contract method 0x81fc83bb.

Solidity: function userPointEpoch(address ) view returns(uint256)

func (*VotingEscrowTokenSession) UserPointHistory

func (_VotingEscrowToken *VotingEscrowTokenSession) UserPointHistory(arg0 common.Address, arg1 *big.Int) (struct {
	Bias        *big.Int
	Slope       *big.Int
	Timestamp   *big.Int
	BlockNumber *big.Int
}, error)

UserPointHistory is a free data retrieval call binding the contract method 0x34d901a4.

Solidity: function userPointHistory(address , uint256 ) view returns(int128 bias, int128 slope, uint256 timestamp, uint256 blockNumber)

func (*VotingEscrowTokenSession) WEEK

func (_VotingEscrowToken *VotingEscrowTokenSession) WEEK() (*big.Int, error)

WEEK is a free data retrieval call binding the contract method 0xf4359ce5.

Solidity: function WEEK() view returns(uint256)

func (*VotingEscrowTokenSession) Withdraw

func (_VotingEscrowToken *VotingEscrowTokenSession) Withdraw() (*types.Transaction, error)

Withdraw is a paid mutator transaction binding the contract method 0x3ccfd60b.

Solidity: function withdraw() returns()

type VotingEscrowTokenSupplyChanged

type VotingEscrowTokenSupplyChanged struct {
	PreviousSupply *big.Int
	Supply         *big.Int
	Raw            types.Log // Blockchain specific contextual infos
}

VotingEscrowTokenSupplyChanged represents a SupplyChanged event raised by the VotingEscrowToken contract.

type VotingEscrowTokenSupplyChangedIterator

type VotingEscrowTokenSupplyChangedIterator struct {
	Event *VotingEscrowTokenSupplyChanged // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

VotingEscrowTokenSupplyChangedIterator is returned from FilterSupplyChanged and is used to iterate over the raw logs and unpacked data for SupplyChanged events raised by the VotingEscrowToken contract.

func (*VotingEscrowTokenSupplyChangedIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*VotingEscrowTokenSupplyChangedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*VotingEscrowTokenSupplyChangedIterator) 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 VotingEscrowTokenTransactor

type VotingEscrowTokenTransactor struct {
	// contains filtered or unexported fields
}

VotingEscrowTokenTransactor is an auto generated write-only Go binding around an Ethereum contract.

func NewVotingEscrowTokenTransactor

func NewVotingEscrowTokenTransactor(address common.Address, transactor bind.ContractTransactor) (*VotingEscrowTokenTransactor, error)

NewVotingEscrowTokenTransactor creates a new write-only instance of VotingEscrowToken, bound to a specific deployed contract.

func (*VotingEscrowTokenTransactor) Checkpoint

func (_VotingEscrowToken *VotingEscrowTokenTransactor) Checkpoint(opts *bind.TransactOpts) (*types.Transaction, error)

Checkpoint is a paid mutator transaction binding the contract method 0xc2c4c5c1.

Solidity: function checkpoint() returns()

func (*VotingEscrowTokenTransactor) CreateLock

func (_VotingEscrowToken *VotingEscrowTokenTransactor) CreateLock(opts *bind.TransactOpts, _amount *big.Int, _unlockTime *big.Int) (*types.Transaction, error)

CreateLock is a paid mutator transaction binding the contract method 0xb52c05fe.

Solidity: function createLock(uint256 _amount, uint256 _unlockTime) returns()

func (*VotingEscrowTokenTransactor) DepositFor

func (_VotingEscrowToken *VotingEscrowTokenTransactor) DepositFor(opts *bind.TransactOpts, _for common.Address, _amount *big.Int) (*types.Transaction, error)

DepositFor is a paid mutator transaction binding the contract method 0x2f4f21e2.

Solidity: function depositFor(address _for, uint256 _amount) returns()

func (*VotingEscrowTokenTransactor) IncreaseLockAmount

func (_VotingEscrowToken *VotingEscrowTokenTransactor) IncreaseLockAmount(opts *bind.TransactOpts, _amount *big.Int) (*types.Transaction, error)

IncreaseLockAmount is a paid mutator transaction binding the contract method 0x403f4447.

Solidity: function increaseLockAmount(uint256 _amount) returns()

func (*VotingEscrowTokenTransactor) IncreaseUnlockTime

func (_VotingEscrowToken *VotingEscrowTokenTransactor) IncreaseUnlockTime(opts *bind.TransactOpts, _newUnlockTime *big.Int) (*types.Transaction, error)

IncreaseUnlockTime is a paid mutator transaction binding the contract method 0x7c616fe6.

Solidity: function increaseUnlockTime(uint256 _newUnlockTime) returns()

func (*VotingEscrowTokenTransactor) Withdraw

func (_VotingEscrowToken *VotingEscrowTokenTransactor) Withdraw(opts *bind.TransactOpts) (*types.Transaction, error)

Withdraw is a paid mutator transaction binding the contract method 0x3ccfd60b.

Solidity: function withdraw() returns()

type VotingEscrowTokenTransactorRaw

type VotingEscrowTokenTransactorRaw struct {
	Contract *VotingEscrowTokenTransactor // Generic write-only contract binding to access the raw methods on
}

VotingEscrowTokenTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.

func (*VotingEscrowTokenTransactorRaw) Transact

func (_VotingEscrowToken *VotingEscrowTokenTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*VotingEscrowTokenTransactorRaw) Transfer

func (_VotingEscrowToken *VotingEscrowTokenTransactorRaw) 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 VotingEscrowTokenTransactorSession

type VotingEscrowTokenTransactorSession struct {
	Contract     *VotingEscrowTokenTransactor // Generic contract transactor binding to set the session for
	TransactOpts bind.TransactOpts            // Transaction auth options to use throughout this session
}

VotingEscrowTokenTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.

func (*VotingEscrowTokenTransactorSession) Checkpoint

func (_VotingEscrowToken *VotingEscrowTokenTransactorSession) Checkpoint() (*types.Transaction, error)

Checkpoint is a paid mutator transaction binding the contract method 0xc2c4c5c1.

Solidity: function checkpoint() returns()

func (*VotingEscrowTokenTransactorSession) CreateLock

func (_VotingEscrowToken *VotingEscrowTokenTransactorSession) CreateLock(_amount *big.Int, _unlockTime *big.Int) (*types.Transaction, error)

CreateLock is a paid mutator transaction binding the contract method 0xb52c05fe.

Solidity: function createLock(uint256 _amount, uint256 _unlockTime) returns()

func (*VotingEscrowTokenTransactorSession) DepositFor

func (_VotingEscrowToken *VotingEscrowTokenTransactorSession) DepositFor(_for common.Address, _amount *big.Int) (*types.Transaction, error)

DepositFor is a paid mutator transaction binding the contract method 0x2f4f21e2.

Solidity: function depositFor(address _for, uint256 _amount) returns()

func (*VotingEscrowTokenTransactorSession) IncreaseLockAmount

func (_VotingEscrowToken *VotingEscrowTokenTransactorSession) IncreaseLockAmount(_amount *big.Int) (*types.Transaction, error)

IncreaseLockAmount is a paid mutator transaction binding the contract method 0x403f4447.

Solidity: function increaseLockAmount(uint256 _amount) returns()

func (*VotingEscrowTokenTransactorSession) IncreaseUnlockTime

func (_VotingEscrowToken *VotingEscrowTokenTransactorSession) IncreaseUnlockTime(_newUnlockTime *big.Int) (*types.Transaction, error)

IncreaseUnlockTime is a paid mutator transaction binding the contract method 0x7c616fe6.

Solidity: function increaseUnlockTime(uint256 _newUnlockTime) returns()

func (*VotingEscrowTokenTransactorSession) Withdraw

func (_VotingEscrowToken *VotingEscrowTokenTransactorSession) Withdraw() (*types.Transaction, error)

Withdraw is a paid mutator transaction binding the contract method 0x3ccfd60b.

Solidity: function withdraw() returns()

type VotingEscrowTokenWithdrawn

type VotingEscrowTokenWithdrawn struct {
	Locker    common.Address
	Value     *big.Int
	Timestamp *big.Int
	Raw       types.Log // Blockchain specific contextual infos
}

VotingEscrowTokenWithdrawn represents a Withdrawn event raised by the VotingEscrowToken contract.

func (*VotingEscrowTokenWithdrawn) PrettyLog

func (ev *VotingEscrowTokenWithdrawn) PrettyLog(onchid uint64) string

func (*VotingEscrowTokenWithdrawn) String

func (ev *VotingEscrowTokenWithdrawn) String() string

type VotingEscrowTokenWithdrawnIterator

type VotingEscrowTokenWithdrawnIterator struct {
	Event *VotingEscrowTokenWithdrawn // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

VotingEscrowTokenWithdrawnIterator is returned from FilterWithdrawn and is used to iterate over the raw logs and unpacked data for Withdrawn events raised by the VotingEscrowToken contract.

func (*VotingEscrowTokenWithdrawnIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*VotingEscrowTokenWithdrawnIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*VotingEscrowTokenWithdrawnIterator) 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 WdInboxContract

type WdInboxContract struct {
	*WithdrawInbox
	Address Addr
}

func NewWdInboxContract

func NewWdInboxContract(address Addr, client *ethclient.Client) (*WdInboxContract, error)

func (*WdInboxContract) GetABI

func (c *WdInboxContract) GetABI() string

func (*WdInboxContract) GetAddr

func (c *WdInboxContract) GetAddr() Addr

type Whitelist

type Whitelist struct {
	WhitelistCaller     // Read-only binding to the contract
	WhitelistTransactor // Write-only binding to the contract
	WhitelistFilterer   // Log filterer for contract events
}

Whitelist is an auto generated Go binding around an Ethereum contract.

func NewWhitelist

func NewWhitelist(address common.Address, backend bind.ContractBackend) (*Whitelist, error)

NewWhitelist creates a new instance of Whitelist, bound to a specific deployed contract.

type WhitelistCaller

type WhitelistCaller struct {
	// contains filtered or unexported fields
}

WhitelistCaller is an auto generated read-only Go binding around an Ethereum contract.

func NewWhitelistCaller

func NewWhitelistCaller(address common.Address, caller bind.ContractCaller) (*WhitelistCaller, error)

NewWhitelistCaller creates a new read-only instance of Whitelist, bound to a specific deployed contract.

func (*WhitelistCaller) IsWhitelisted

func (_Whitelist *WhitelistCaller) IsWhitelisted(opts *bind.CallOpts, account common.Address) (bool, error)

IsWhitelisted is a free data retrieval call binding the contract method 0x3af32abf.

Solidity: function isWhitelisted(address account) view returns(bool)

func (*WhitelistCaller) Owner

func (_Whitelist *WhitelistCaller) 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 (*WhitelistCaller) Whitelist

func (_Whitelist *WhitelistCaller) Whitelist(opts *bind.CallOpts, arg0 common.Address) (bool, error)

Whitelist is a free data retrieval call binding the contract method 0x9b19251a.

Solidity: function whitelist(address ) view returns(bool)

func (*WhitelistCaller) WhitelistEnabled

func (_Whitelist *WhitelistCaller) WhitelistEnabled(opts *bind.CallOpts) (bool, error)

WhitelistEnabled is a free data retrieval call binding the contract method 0x51fb012d.

Solidity: function whitelistEnabled() view returns(bool)

type WhitelistCallerRaw

type WhitelistCallerRaw struct {
	Contract *WhitelistCaller // Generic read-only contract binding to access the raw methods on
}

WhitelistCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.

func (*WhitelistCallerRaw) Call

func (_Whitelist *WhitelistCallerRaw) 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 WhitelistCallerSession

type WhitelistCallerSession struct {
	Contract *WhitelistCaller // Generic contract caller binding to set the session for
	CallOpts bind.CallOpts    // Call options to use throughout this session
}

WhitelistCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.

func (*WhitelistCallerSession) IsWhitelisted

func (_Whitelist *WhitelistCallerSession) IsWhitelisted(account common.Address) (bool, error)

IsWhitelisted is a free data retrieval call binding the contract method 0x3af32abf.

Solidity: function isWhitelisted(address account) view returns(bool)

func (*WhitelistCallerSession) Owner

func (_Whitelist *WhitelistCallerSession) Owner() (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() view returns(address)

func (*WhitelistCallerSession) Whitelist

func (_Whitelist *WhitelistCallerSession) Whitelist(arg0 common.Address) (bool, error)

Whitelist is a free data retrieval call binding the contract method 0x9b19251a.

Solidity: function whitelist(address ) view returns(bool)

func (*WhitelistCallerSession) WhitelistEnabled

func (_Whitelist *WhitelistCallerSession) WhitelistEnabled() (bool, error)

WhitelistEnabled is a free data retrieval call binding the contract method 0x51fb012d.

Solidity: function whitelistEnabled() view returns(bool)

type WhitelistFilterer

type WhitelistFilterer struct {
	// contains filtered or unexported fields
}

WhitelistFilterer is an auto generated log filtering Go binding around an Ethereum contract events.

func NewWhitelistFilterer

func NewWhitelistFilterer(address common.Address, filterer bind.ContractFilterer) (*WhitelistFilterer, error)

NewWhitelistFilterer creates a new log filterer instance of Whitelist, bound to a specific deployed contract.

func (*WhitelistFilterer) FilterOwnershipTransferred

func (_Whitelist *WhitelistFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*WhitelistOwnershipTransferredIterator, error)

FilterOwnershipTransferred is a free log retrieval operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)

func (*WhitelistFilterer) FilterWhitelistedAdded

func (_Whitelist *WhitelistFilterer) FilterWhitelistedAdded(opts *bind.FilterOpts) (*WhitelistWhitelistedAddedIterator, error)

FilterWhitelistedAdded is a free log retrieval operation binding the contract event 0xee1504a83b6d4a361f4c1dc78ab59bfa30d6a3b6612c403e86bb01ef2984295f.

Solidity: event WhitelistedAdded(address account)

func (*WhitelistFilterer) FilterWhitelistedRemoved

func (_Whitelist *WhitelistFilterer) FilterWhitelistedRemoved(opts *bind.FilterOpts) (*WhitelistWhitelistedRemovedIterator, error)

FilterWhitelistedRemoved is a free log retrieval operation binding the contract event 0x270d9b30cf5b0793bbfd54c9d5b94aeb49462b8148399000265144a8722da6b6.

Solidity: event WhitelistedRemoved(address account)

func (*WhitelistFilterer) ParseOwnershipTransferred

func (_Whitelist *WhitelistFilterer) ParseOwnershipTransferred(log types.Log) (*WhitelistOwnershipTransferred, error)

ParseOwnershipTransferred is a log parse operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)

func (*WhitelistFilterer) ParseWhitelistedAdded

func (_Whitelist *WhitelistFilterer) ParseWhitelistedAdded(log types.Log) (*WhitelistWhitelistedAdded, error)

ParseWhitelistedAdded is a log parse operation binding the contract event 0xee1504a83b6d4a361f4c1dc78ab59bfa30d6a3b6612c403e86bb01ef2984295f.

Solidity: event WhitelistedAdded(address account)

func (*WhitelistFilterer) ParseWhitelistedRemoved

func (_Whitelist *WhitelistFilterer) ParseWhitelistedRemoved(log types.Log) (*WhitelistWhitelistedRemoved, error)

ParseWhitelistedRemoved is a log parse operation binding the contract event 0x270d9b30cf5b0793bbfd54c9d5b94aeb49462b8148399000265144a8722da6b6.

Solidity: event WhitelistedRemoved(address account)

func (*WhitelistFilterer) WatchOwnershipTransferred

func (_Whitelist *WhitelistFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *WhitelistOwnershipTransferred, 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 (*WhitelistFilterer) WatchWhitelistedAdded

func (_Whitelist *WhitelistFilterer) WatchWhitelistedAdded(opts *bind.WatchOpts, sink chan<- *WhitelistWhitelistedAdded) (event.Subscription, error)

WatchWhitelistedAdded is a free log subscription operation binding the contract event 0xee1504a83b6d4a361f4c1dc78ab59bfa30d6a3b6612c403e86bb01ef2984295f.

Solidity: event WhitelistedAdded(address account)

func (*WhitelistFilterer) WatchWhitelistedRemoved

func (_Whitelist *WhitelistFilterer) WatchWhitelistedRemoved(opts *bind.WatchOpts, sink chan<- *WhitelistWhitelistedRemoved) (event.Subscription, error)

WatchWhitelistedRemoved is a free log subscription operation binding the contract event 0x270d9b30cf5b0793bbfd54c9d5b94aeb49462b8148399000265144a8722da6b6.

Solidity: event WhitelistedRemoved(address account)

type WhitelistOwnershipTransferred

type WhitelistOwnershipTransferred struct {
	PreviousOwner common.Address
	NewOwner      common.Address
	Raw           types.Log // Blockchain specific contextual infos
}

WhitelistOwnershipTransferred represents a OwnershipTransferred event raised by the Whitelist contract.

type WhitelistOwnershipTransferredIterator

type WhitelistOwnershipTransferredIterator struct {
	Event *WhitelistOwnershipTransferred // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

WhitelistOwnershipTransferredIterator is returned from FilterOwnershipTransferred and is used to iterate over the raw logs and unpacked data for OwnershipTransferred events raised by the Whitelist contract.

func (*WhitelistOwnershipTransferredIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*WhitelistOwnershipTransferredIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*WhitelistOwnershipTransferredIterator) 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 WhitelistRaw

type WhitelistRaw struct {
	Contract *Whitelist // Generic contract binding to access the raw methods on
}

WhitelistRaw is an auto generated low-level Go binding around an Ethereum contract.

func (*WhitelistRaw) Call

func (_Whitelist *WhitelistRaw) 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 (*WhitelistRaw) Transact

func (_Whitelist *WhitelistRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*WhitelistRaw) Transfer

func (_Whitelist *WhitelistRaw) 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 WhitelistSession

type WhitelistSession struct {
	Contract     *Whitelist        // 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
}

WhitelistSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.

func (*WhitelistSession) AddWhitelisted

func (_Whitelist *WhitelistSession) AddWhitelisted(account common.Address) (*types.Transaction, error)

AddWhitelisted is a paid mutator transaction binding the contract method 0x10154bad.

Solidity: function addWhitelisted(address account) returns()

func (*WhitelistSession) IsWhitelisted

func (_Whitelist *WhitelistSession) IsWhitelisted(account common.Address) (bool, error)

IsWhitelisted is a free data retrieval call binding the contract method 0x3af32abf.

Solidity: function isWhitelisted(address account) view returns(bool)

func (*WhitelistSession) Owner

func (_Whitelist *WhitelistSession) Owner() (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() view returns(address)

func (*WhitelistSession) RemoveWhitelisted

func (_Whitelist *WhitelistSession) RemoveWhitelisted(account common.Address) (*types.Transaction, error)

RemoveWhitelisted is a paid mutator transaction binding the contract method 0x291d9549.

Solidity: function removeWhitelisted(address account) returns()

func (*WhitelistSession) SetWhitelistEnabled

func (_Whitelist *WhitelistSession) SetWhitelistEnabled(_whitelistEnabled bool) (*types.Transaction, error)

SetWhitelistEnabled is a paid mutator transaction binding the contract method 0x052d9e7e.

Solidity: function setWhitelistEnabled(bool _whitelistEnabled) returns()

func (*WhitelistSession) TransferOwnership

func (_Whitelist *WhitelistSession) 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 (*WhitelistSession) Whitelist

func (_Whitelist *WhitelistSession) Whitelist(arg0 common.Address) (bool, error)

Whitelist is a free data retrieval call binding the contract method 0x9b19251a.

Solidity: function whitelist(address ) view returns(bool)

func (*WhitelistSession) WhitelistEnabled

func (_Whitelist *WhitelistSession) WhitelistEnabled() (bool, error)

WhitelistEnabled is a free data retrieval call binding the contract method 0x51fb012d.

Solidity: function whitelistEnabled() view returns(bool)

type WhitelistTransactor

type WhitelistTransactor struct {
	// contains filtered or unexported fields
}

WhitelistTransactor is an auto generated write-only Go binding around an Ethereum contract.

func NewWhitelistTransactor

func NewWhitelistTransactor(address common.Address, transactor bind.ContractTransactor) (*WhitelistTransactor, error)

NewWhitelistTransactor creates a new write-only instance of Whitelist, bound to a specific deployed contract.

func (*WhitelistTransactor) AddWhitelisted

func (_Whitelist *WhitelistTransactor) AddWhitelisted(opts *bind.TransactOpts, account common.Address) (*types.Transaction, error)

AddWhitelisted is a paid mutator transaction binding the contract method 0x10154bad.

Solidity: function addWhitelisted(address account) returns()

func (*WhitelistTransactor) RemoveWhitelisted

func (_Whitelist *WhitelistTransactor) RemoveWhitelisted(opts *bind.TransactOpts, account common.Address) (*types.Transaction, error)

RemoveWhitelisted is a paid mutator transaction binding the contract method 0x291d9549.

Solidity: function removeWhitelisted(address account) returns()

func (*WhitelistTransactor) SetWhitelistEnabled

func (_Whitelist *WhitelistTransactor) SetWhitelistEnabled(opts *bind.TransactOpts, _whitelistEnabled bool) (*types.Transaction, error)

SetWhitelistEnabled is a paid mutator transaction binding the contract method 0x052d9e7e.

Solidity: function setWhitelistEnabled(bool _whitelistEnabled) returns()

func (*WhitelistTransactor) TransferOwnership

func (_Whitelist *WhitelistTransactor) 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 WhitelistTransactorRaw

type WhitelistTransactorRaw struct {
	Contract *WhitelistTransactor // Generic write-only contract binding to access the raw methods on
}

WhitelistTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.

func (*WhitelistTransactorRaw) Transact

func (_Whitelist *WhitelistTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*WhitelistTransactorRaw) Transfer

func (_Whitelist *WhitelistTransactorRaw) 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 WhitelistTransactorSession

type WhitelistTransactorSession struct {
	Contract     *WhitelistTransactor // Generic contract transactor binding to set the session for
	TransactOpts bind.TransactOpts    // Transaction auth options to use throughout this session
}

WhitelistTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.

func (*WhitelistTransactorSession) AddWhitelisted

func (_Whitelist *WhitelistTransactorSession) AddWhitelisted(account common.Address) (*types.Transaction, error)

AddWhitelisted is a paid mutator transaction binding the contract method 0x10154bad.

Solidity: function addWhitelisted(address account) returns()

func (*WhitelistTransactorSession) RemoveWhitelisted

func (_Whitelist *WhitelistTransactorSession) RemoveWhitelisted(account common.Address) (*types.Transaction, error)

RemoveWhitelisted is a paid mutator transaction binding the contract method 0x291d9549.

Solidity: function removeWhitelisted(address account) returns()

func (*WhitelistTransactorSession) SetWhitelistEnabled

func (_Whitelist *WhitelistTransactorSession) SetWhitelistEnabled(_whitelistEnabled bool) (*types.Transaction, error)

SetWhitelistEnabled is a paid mutator transaction binding the contract method 0x052d9e7e.

Solidity: function setWhitelistEnabled(bool _whitelistEnabled) returns()

func (*WhitelistTransactorSession) TransferOwnership

func (_Whitelist *WhitelistTransactorSession) 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 WhitelistWhitelistedAdded

type WhitelistWhitelistedAdded struct {
	Account common.Address
	Raw     types.Log // Blockchain specific contextual infos
}

WhitelistWhitelistedAdded represents a WhitelistedAdded event raised by the Whitelist contract.

type WhitelistWhitelistedAddedIterator

type WhitelistWhitelistedAddedIterator struct {
	Event *WhitelistWhitelistedAdded // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

WhitelistWhitelistedAddedIterator is returned from FilterWhitelistedAdded and is used to iterate over the raw logs and unpacked data for WhitelistedAdded events raised by the Whitelist contract.

func (*WhitelistWhitelistedAddedIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*WhitelistWhitelistedAddedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*WhitelistWhitelistedAddedIterator) 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 WhitelistWhitelistedRemoved

type WhitelistWhitelistedRemoved struct {
	Account common.Address
	Raw     types.Log // Blockchain specific contextual infos
}

WhitelistWhitelistedRemoved represents a WhitelistedRemoved event raised by the Whitelist contract.

type WhitelistWhitelistedRemovedIterator

type WhitelistWhitelistedRemovedIterator struct {
	Event *WhitelistWhitelistedRemoved // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

WhitelistWhitelistedRemovedIterator is returned from FilterWhitelistedRemoved and is used to iterate over the raw logs and unpacked data for WhitelistedRemoved events raised by the Whitelist contract.

func (*WhitelistWhitelistedRemovedIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*WhitelistWhitelistedRemovedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*WhitelistWhitelistedRemovedIterator) 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 WithdrawInbox

type WithdrawInbox struct {
	WithdrawInboxCaller     // Read-only binding to the contract
	WithdrawInboxTransactor // Write-only binding to the contract
	WithdrawInboxFilterer   // Log filterer for contract events
}

WithdrawInbox is an auto generated Go binding around an Ethereum contract.

func DeployWithdrawInbox

func DeployWithdrawInbox(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *WithdrawInbox, error)

DeployWithdrawInbox deploys a new Ethereum contract, binding an instance of WithdrawInbox to it.

func NewWithdrawInbox

func NewWithdrawInbox(address common.Address, backend bind.ContractBackend) (*WithdrawInbox, error)

NewWithdrawInbox creates a new instance of WithdrawInbox, bound to a specific deployed contract.

type WithdrawInboxCaller

type WithdrawInboxCaller struct {
	// contains filtered or unexported fields
}

WithdrawInboxCaller is an auto generated read-only Go binding around an Ethereum contract.

func NewWithdrawInboxCaller

func NewWithdrawInboxCaller(address common.Address, caller bind.ContractCaller) (*WithdrawInboxCaller, error)

NewWithdrawInboxCaller creates a new read-only instance of WithdrawInbox, bound to a specific deployed contract.

func (*WithdrawInboxCaller) MinimalMaxSlippage

func (_WithdrawInbox *WithdrawInboxCaller) MinimalMaxSlippage(opts *bind.CallOpts) (uint32, error)

MinimalMaxSlippage is a free data retrieval call binding the contract method 0x2fd1b0a4.

Solidity: function minimalMaxSlippage() view returns(uint32)

func (*WithdrawInboxCaller) Owner

func (_WithdrawInbox *WithdrawInboxCaller) 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 (*WithdrawInboxCaller) ValidityPeriod

func (_WithdrawInbox *WithdrawInboxCaller) ValidityPeriod(opts *bind.CallOpts) (*big.Int, error)

ValidityPeriod is a free data retrieval call binding the contract method 0x1e6c3850.

Solidity: function validityPeriod() view returns(uint256)

type WithdrawInboxCallerRaw

type WithdrawInboxCallerRaw struct {
	Contract *WithdrawInboxCaller // Generic read-only contract binding to access the raw methods on
}

WithdrawInboxCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.

func (*WithdrawInboxCallerRaw) Call

func (_WithdrawInbox *WithdrawInboxCallerRaw) 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 WithdrawInboxCallerSession

type WithdrawInboxCallerSession struct {
	Contract *WithdrawInboxCaller // Generic contract caller binding to set the session for
	CallOpts bind.CallOpts        // Call options to use throughout this session
}

WithdrawInboxCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.

func (*WithdrawInboxCallerSession) MinimalMaxSlippage

func (_WithdrawInbox *WithdrawInboxCallerSession) MinimalMaxSlippage() (uint32, error)

MinimalMaxSlippage is a free data retrieval call binding the contract method 0x2fd1b0a4.

Solidity: function minimalMaxSlippage() view returns(uint32)

func (*WithdrawInboxCallerSession) Owner

func (_WithdrawInbox *WithdrawInboxCallerSession) Owner() (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() view returns(address)

func (*WithdrawInboxCallerSession) ValidityPeriod

func (_WithdrawInbox *WithdrawInboxCallerSession) ValidityPeriod() (*big.Int, error)

ValidityPeriod is a free data retrieval call binding the contract method 0x1e6c3850.

Solidity: function validityPeriod() view returns(uint256)

type WithdrawInboxFilterer

type WithdrawInboxFilterer struct {
	// contains filtered or unexported fields
}

WithdrawInboxFilterer is an auto generated log filtering Go binding around an Ethereum contract events.

func NewWithdrawInboxFilterer

func NewWithdrawInboxFilterer(address common.Address, filterer bind.ContractFilterer) (*WithdrawInboxFilterer, error)

NewWithdrawInboxFilterer creates a new log filterer instance of WithdrawInbox, bound to a specific deployed contract.

func (*WithdrawInboxFilterer) FilterOwnershipTransferred

func (_WithdrawInbox *WithdrawInboxFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*WithdrawInboxOwnershipTransferredIterator, error)

FilterOwnershipTransferred is a free log retrieval operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)

func (*WithdrawInboxFilterer) FilterWithdrawalRequest

func (_WithdrawInbox *WithdrawInboxFilterer) FilterWithdrawalRequest(opts *bind.FilterOpts) (*WithdrawInboxWithdrawalRequestIterator, error)

FilterWithdrawalRequest is a free log retrieval operation binding the contract event 0x7e2b24139224d852dd26bdb9f06f8136f7a1c9227a386d815a4ed8f1b8d7cc95.

Solidity: event WithdrawalRequest(uint64 seqNum, address sender, address receiver, uint64 toChain, uint64[] fromChains, address[] tokens, uint32[] ratios, uint32[] slippages, uint256 deadline)

func (*WithdrawInboxFilterer) ParseOwnershipTransferred

func (_WithdrawInbox *WithdrawInboxFilterer) ParseOwnershipTransferred(log types.Log) (*WithdrawInboxOwnershipTransferred, error)

ParseOwnershipTransferred is a log parse operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)

func (*WithdrawInboxFilterer) ParseWithdrawalRequest

func (_WithdrawInbox *WithdrawInboxFilterer) ParseWithdrawalRequest(log types.Log) (*WithdrawInboxWithdrawalRequest, error)

ParseWithdrawalRequest is a log parse operation binding the contract event 0x7e2b24139224d852dd26bdb9f06f8136f7a1c9227a386d815a4ed8f1b8d7cc95.

Solidity: event WithdrawalRequest(uint64 seqNum, address sender, address receiver, uint64 toChain, uint64[] fromChains, address[] tokens, uint32[] ratios, uint32[] slippages, uint256 deadline)

func (*WithdrawInboxFilterer) WatchOwnershipTransferred

func (_WithdrawInbox *WithdrawInboxFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *WithdrawInboxOwnershipTransferred, 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 (*WithdrawInboxFilterer) WatchWithdrawalRequest

func (_WithdrawInbox *WithdrawInboxFilterer) WatchWithdrawalRequest(opts *bind.WatchOpts, sink chan<- *WithdrawInboxWithdrawalRequest) (event.Subscription, error)

WatchWithdrawalRequest is a free log subscription operation binding the contract event 0x7e2b24139224d852dd26bdb9f06f8136f7a1c9227a386d815a4ed8f1b8d7cc95.

Solidity: event WithdrawalRequest(uint64 seqNum, address sender, address receiver, uint64 toChain, uint64[] fromChains, address[] tokens, uint32[] ratios, uint32[] slippages, uint256 deadline)

type WithdrawInboxOwnershipTransferred

type WithdrawInboxOwnershipTransferred struct {
	PreviousOwner common.Address
	NewOwner      common.Address
	Raw           types.Log // Blockchain specific contextual infos
}

WithdrawInboxOwnershipTransferred represents a OwnershipTransferred event raised by the WithdrawInbox contract.

type WithdrawInboxOwnershipTransferredIterator

type WithdrawInboxOwnershipTransferredIterator struct {
	Event *WithdrawInboxOwnershipTransferred // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

WithdrawInboxOwnershipTransferredIterator is returned from FilterOwnershipTransferred and is used to iterate over the raw logs and unpacked data for OwnershipTransferred events raised by the WithdrawInbox contract.

func (*WithdrawInboxOwnershipTransferredIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*WithdrawInboxOwnershipTransferredIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*WithdrawInboxOwnershipTransferredIterator) 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 WithdrawInboxRaw

type WithdrawInboxRaw struct {
	Contract *WithdrawInbox // Generic contract binding to access the raw methods on
}

WithdrawInboxRaw is an auto generated low-level Go binding around an Ethereum contract.

func (*WithdrawInboxRaw) Call

func (_WithdrawInbox *WithdrawInboxRaw) 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 (*WithdrawInboxRaw) Transact

func (_WithdrawInbox *WithdrawInboxRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*WithdrawInboxRaw) Transfer

func (_WithdrawInbox *WithdrawInboxRaw) 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 WithdrawInboxSession

type WithdrawInboxSession struct {
	Contract     *WithdrawInbox    // 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
}

WithdrawInboxSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.

func (*WithdrawInboxSession) MinimalMaxSlippage

func (_WithdrawInbox *WithdrawInboxSession) MinimalMaxSlippage() (uint32, error)

MinimalMaxSlippage is a free data retrieval call binding the contract method 0x2fd1b0a4.

Solidity: function minimalMaxSlippage() view returns(uint32)

func (*WithdrawInboxSession) Owner

func (_WithdrawInbox *WithdrawInboxSession) Owner() (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() view returns(address)

func (*WithdrawInboxSession) SetMinimalMaxSlippage

func (_WithdrawInbox *WithdrawInboxSession) SetMinimalMaxSlippage(_minimalMaxSlippage uint32) (*types.Transaction, error)

SetMinimalMaxSlippage is a paid mutator transaction binding the contract method 0x48234126.

Solidity: function setMinimalMaxSlippage(uint32 _minimalMaxSlippage) returns()

func (*WithdrawInboxSession) SetValidityPeriod

func (_WithdrawInbox *WithdrawInboxSession) SetValidityPeriod(_validityPeriod *big.Int) (*types.Transaction, error)

SetValidityPeriod is a paid mutator transaction binding the contract method 0x87e647ed.

Solidity: function setValidityPeriod(uint256 _validityPeriod) returns()

func (*WithdrawInboxSession) TransferOwnership

func (_WithdrawInbox *WithdrawInboxSession) 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 (*WithdrawInboxSession) ValidityPeriod

func (_WithdrawInbox *WithdrawInboxSession) ValidityPeriod() (*big.Int, error)

ValidityPeriod is a free data retrieval call binding the contract method 0x1e6c3850.

Solidity: function validityPeriod() view returns(uint256)

func (*WithdrawInboxSession) Withdraw

func (_WithdrawInbox *WithdrawInboxSession) Withdraw(_wdSeq uint64, _receiver common.Address, _toChain uint64, _fromChains []uint64, _tokens []common.Address, _ratios []uint32, _slippages []uint32) (*types.Transaction, error)

Withdraw is a paid mutator transaction binding the contract method 0xa4855296.

Solidity: function withdraw(uint64 _wdSeq, address _receiver, uint64 _toChain, uint64[] _fromChains, address[] _tokens, uint32[] _ratios, uint32[] _slippages) returns()

type WithdrawInboxTransactor

type WithdrawInboxTransactor struct {
	// contains filtered or unexported fields
}

WithdrawInboxTransactor is an auto generated write-only Go binding around an Ethereum contract.

func NewWithdrawInboxTransactor

func NewWithdrawInboxTransactor(address common.Address, transactor bind.ContractTransactor) (*WithdrawInboxTransactor, error)

NewWithdrawInboxTransactor creates a new write-only instance of WithdrawInbox, bound to a specific deployed contract.

func (*WithdrawInboxTransactor) SetMinimalMaxSlippage

func (_WithdrawInbox *WithdrawInboxTransactor) SetMinimalMaxSlippage(opts *bind.TransactOpts, _minimalMaxSlippage uint32) (*types.Transaction, error)

SetMinimalMaxSlippage is a paid mutator transaction binding the contract method 0x48234126.

Solidity: function setMinimalMaxSlippage(uint32 _minimalMaxSlippage) returns()

func (*WithdrawInboxTransactor) SetValidityPeriod

func (_WithdrawInbox *WithdrawInboxTransactor) SetValidityPeriod(opts *bind.TransactOpts, _validityPeriod *big.Int) (*types.Transaction, error)

SetValidityPeriod is a paid mutator transaction binding the contract method 0x87e647ed.

Solidity: function setValidityPeriod(uint256 _validityPeriod) returns()

func (*WithdrawInboxTransactor) TransferOwnership

func (_WithdrawInbox *WithdrawInboxTransactor) 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 (*WithdrawInboxTransactor) Withdraw

func (_WithdrawInbox *WithdrawInboxTransactor) Withdraw(opts *bind.TransactOpts, _wdSeq uint64, _receiver common.Address, _toChain uint64, _fromChains []uint64, _tokens []common.Address, _ratios []uint32, _slippages []uint32) (*types.Transaction, error)

Withdraw is a paid mutator transaction binding the contract method 0xa4855296.

Solidity: function withdraw(uint64 _wdSeq, address _receiver, uint64 _toChain, uint64[] _fromChains, address[] _tokens, uint32[] _ratios, uint32[] _slippages) returns()

type WithdrawInboxTransactorRaw

type WithdrawInboxTransactorRaw struct {
	Contract *WithdrawInboxTransactor // Generic write-only contract binding to access the raw methods on
}

WithdrawInboxTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.

func (*WithdrawInboxTransactorRaw) Transact

func (_WithdrawInbox *WithdrawInboxTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*WithdrawInboxTransactorRaw) Transfer

func (_WithdrawInbox *WithdrawInboxTransactorRaw) 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 WithdrawInboxTransactorSession

type WithdrawInboxTransactorSession struct {
	Contract     *WithdrawInboxTransactor // Generic contract transactor binding to set the session for
	TransactOpts bind.TransactOpts        // Transaction auth options to use throughout this session
}

WithdrawInboxTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.

func (*WithdrawInboxTransactorSession) SetMinimalMaxSlippage

func (_WithdrawInbox *WithdrawInboxTransactorSession) SetMinimalMaxSlippage(_minimalMaxSlippage uint32) (*types.Transaction, error)

SetMinimalMaxSlippage is a paid mutator transaction binding the contract method 0x48234126.

Solidity: function setMinimalMaxSlippage(uint32 _minimalMaxSlippage) returns()

func (*WithdrawInboxTransactorSession) SetValidityPeriod

func (_WithdrawInbox *WithdrawInboxTransactorSession) SetValidityPeriod(_validityPeriod *big.Int) (*types.Transaction, error)

SetValidityPeriod is a paid mutator transaction binding the contract method 0x87e647ed.

Solidity: function setValidityPeriod(uint256 _validityPeriod) returns()

func (*WithdrawInboxTransactorSession) TransferOwnership

func (_WithdrawInbox *WithdrawInboxTransactorSession) 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 (*WithdrawInboxTransactorSession) Withdraw

func (_WithdrawInbox *WithdrawInboxTransactorSession) Withdraw(_wdSeq uint64, _receiver common.Address, _toChain uint64, _fromChains []uint64, _tokens []common.Address, _ratios []uint32, _slippages []uint32) (*types.Transaction, error)

Withdraw is a paid mutator transaction binding the contract method 0xa4855296.

Solidity: function withdraw(uint64 _wdSeq, address _receiver, uint64 _toChain, uint64[] _fromChains, address[] _tokens, uint32[] _ratios, uint32[] _slippages) returns()

type WithdrawInboxWithdrawalRequest

type WithdrawInboxWithdrawalRequest struct {
	SeqNum     uint64
	Sender     common.Address
	Receiver   common.Address
	ToChain    uint64
	FromChains []uint64
	Tokens     []common.Address
	Ratios     []uint32
	Slippages  []uint32
	Deadline   *big.Int
	Raw        types.Log // Blockchain specific contextual infos
}

WithdrawInboxWithdrawalRequest represents a WithdrawalRequest event raised by the WithdrawInbox contract.

func (*WithdrawInboxWithdrawalRequest) PrettyLog

func (ev *WithdrawInboxWithdrawalRequest) PrettyLog(onchid uint64) string

func (*WithdrawInboxWithdrawalRequest) String

type WithdrawInboxWithdrawalRequestIterator

type WithdrawInboxWithdrawalRequestIterator struct {
	Event *WithdrawInboxWithdrawalRequest // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

WithdrawInboxWithdrawalRequestIterator is returned from FilterWithdrawalRequest and is used to iterate over the raw logs and unpacked data for WithdrawalRequest events raised by the WithdrawInbox contract.

func (*WithdrawInboxWithdrawalRequestIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*WithdrawInboxWithdrawalRequestIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*WithdrawInboxWithdrawalRequestIterator) 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 XferAgtContract

type XferAgtContract struct {
	*TransferAgent
	Address Addr
}

func NewXferAgtContract

func NewXferAgtContract(address Addr, client *ethclient.Client) (*XferAgtContract, error)

func (*XferAgtContract) GetABI

func (c *XferAgtContract) GetABI() string

func (*XferAgtContract) GetAddr

func (c *XferAgtContract) GetAddr() Addr

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL