messageharness

package
v0.0.119 Latest Latest
Warning

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

Go to latest
Published: Mar 15, 2023 License: MIT Imports: 14 Imported by: 0

Documentation

Overview

Package messageharness generates abi data for contract MessageHarness.t.sol

Code generated by synapse abigen DO NOT EDIT.

Index

Constants

This section is empty.

Variables

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

Contracts are unmarshalled on start

View Source
var HeaderABI = HeaderMetaData.ABI

HeaderABI is the input ABI used to generate the binding from. Deprecated: Use HeaderMetaData.ABI instead.

View Source
var HeaderBin = HeaderMetaData.Bin

HeaderBin is the compiled bytecode used for deploying new contracts. Deprecated: Use HeaderMetaData.Bin instead.

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

HeaderMetaData contains all meta data concerning the Header contract.

View Source
var MessageABI = MessageMetaData.ABI

MessageABI is the input ABI used to generate the binding from. Deprecated: Use MessageMetaData.ABI instead.

View Source
var MessageBin = MessageMetaData.Bin

MessageBin is the compiled bytecode used for deploying new contracts. Deprecated: Use MessageMetaData.Bin instead.

View Source
var MessageHarnessABI = MessageHarnessMetaData.ABI

MessageHarnessABI is the input ABI used to generate the binding from. Deprecated: Use MessageHarnessMetaData.ABI instead.

View Source
var MessageHarnessBin = MessageHarnessMetaData.Bin

MessageHarnessBin is the compiled bytecode used for deploying new contracts. Deprecated: Use MessageHarnessMetaData.Bin instead.

View Source
var MessageHarnessFuncSigs = MessageHarnessMetaData.Sigs

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

View Source
var MessageHarnessMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[{\"internalType\":\"uint40\",\"name\":\"_type\",\"type\":\"uint40\"},{\"internalType\":\"bytes\",\"name\":\"_payload\",\"type\":\"bytes\"}],\"name\":\"body\",\"outputs\":[{\"internalType\":\"uint40\",\"name\":\"\",\"type\":\"uint40\"},{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint40\",\"name\":\"\",\"type\":\"uint40\"},{\"internalType\":\"bytes\",\"name\":\"_payload\",\"type\":\"bytes\"}],\"name\":\"castToMessage\",\"outputs\":[{\"internalType\":\"uint40\",\"name\":\"\",\"type\":\"uint40\"},{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"_header\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"_tips\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"_messageBody\",\"type\":\"bytes\"}],\"name\":\"formatMessage\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint32\",\"name\":\"_origin\",\"type\":\"uint32\"},{\"internalType\":\"bytes32\",\"name\":\"_sender\",\"type\":\"bytes32\"},{\"internalType\":\"uint32\",\"name\":\"_nonce\",\"type\":\"uint32\"},{\"internalType\":\"uint32\",\"name\":\"_destination\",\"type\":\"uint32\"},{\"internalType\":\"bytes32\",\"name\":\"_recipient\",\"type\":\"bytes32\"},{\"internalType\":\"uint32\",\"name\":\"_optimisticSeconds\",\"type\":\"uint32\"},{\"internalType\":\"bytes\",\"name\":\"_tips\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"_messageBody\",\"type\":\"bytes\"}],\"name\":\"formatMessage\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint32\",\"name\":\"_origin\",\"type\":\"uint32\"},{\"internalType\":\"bytes32\",\"name\":\"_sender\",\"type\":\"bytes32\"},{\"internalType\":\"uint32\",\"name\":\"_nonce\",\"type\":\"uint32\"},{\"internalType\":\"uint32\",\"name\":\"_destination\",\"type\":\"uint32\"},{\"internalType\":\"bytes32\",\"name\":\"_recipient\",\"type\":\"bytes32\"},{\"internalType\":\"uint32\",\"name\":\"_optimisticSeconds\",\"type\":\"uint32\"},{\"internalType\":\"uint96\",\"name\":\"_notaryTip\",\"type\":\"uint96\"},{\"internalType\":\"uint96\",\"name\":\"_broadcasterTip\",\"type\":\"uint96\"},{\"internalType\":\"uint96\",\"name\":\"_proverTip\",\"type\":\"uint96\"},{\"internalType\":\"uint96\",\"name\":\"_executorTip\",\"type\":\"uint96\"},{\"internalType\":\"bytes\",\"name\":\"_messageBody\",\"type\":\"bytes\"}],\"name\":\"formatMessage\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint40\",\"name\":\"_type\",\"type\":\"uint40\"},{\"internalType\":\"bytes\",\"name\":\"_payload\",\"type\":\"bytes\"}],\"name\":\"header\",\"outputs\":[{\"internalType\":\"uint40\",\"name\":\"\",\"type\":\"uint40\"},{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"_payload\",\"type\":\"bytes\"}],\"name\":\"isMessage\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"_header\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"_tips\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"_messageBody\",\"type\":\"bytes\"}],\"name\":\"messageHash\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint40\",\"name\":\"_type\",\"type\":\"uint40\"},{\"internalType\":\"bytes\",\"name\":\"_payload\",\"type\":\"bytes\"}],\"name\":\"messageVersion\",\"outputs\":[{\"internalType\":\"uint16\",\"name\":\"\",\"type\":\"uint16\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"messageVersion\",\"outputs\":[{\"internalType\":\"uint16\",\"name\":\"\",\"type\":\"uint16\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"offsetHeader\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"offsetVersion\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint40\",\"name\":\"_type\",\"type\":\"uint40\"},{\"internalType\":\"bytes\",\"name\":\"_payload\",\"type\":\"bytes\"}],\"name\":\"tips\",\"outputs\":[{\"internalType\":\"uint40\",\"name\":\"\",\"type\":\"uint40\"},{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"stateMutability\":\"view\",\"type\":\"function\"}]",
	Sigs: map[string]string{
		"27bcefdf": "body(uint40,bytes)",
		"81038946": "castToMessage(uint40,bytes)",
		"0b9255e9": "formatMessage(bytes,bytes,bytes)",
		"7c517825": "formatMessage(uint32,bytes32,uint32,uint32,bytes32,uint32,bytes,bytes)",
		"81d030ef": "formatMessage(uint32,bytes32,uint32,uint32,bytes32,uint32,uint96,uint96,uint96,uint96,bytes)",
		"40e0cd87": "header(uint40,bytes)",
		"f9893ddd": "isMessage(bytes)",
		"02e5f230": "messageHash(bytes,bytes,bytes)",
		"52617f3c": "messageVersion()",
		"36861181": "messageVersion(uint40,bytes)",
		"1515f90c": "offsetHeader()",
		"0c096e8d": "offsetVersion()",
		"cd993304": "tips(uint40,bytes)",
	},
	Bin: "0x608060405234801561001057600080fd5b5061192b806100206000396000f3fe608060405234801561001057600080fd5b50600436106100df5760003560e01c806340e0cd871161008c578063810389461161006657806381038946146101ad57806381d030ef146101c0578063cd993304146101d3578063f9893ddd146101e657600080fd5b806340e0cd871461018057806352617f3c146101935780637c5178251461019a57600080fd5b80631515f90c116100bd5780631515f90c1461013157806327bcefdf14610139578063368611811461015a57600080fd5b806302e5f230146100e45780630b9255e91461010a5780630c096e8d1461012a575b600080fd5b6100f76100f23660046113dd565b610209565b6040519081526020015b60405180910390f35b61011d6101183660046113dd565b610220565b60405161010191906114d3565b60006100f7565b6100f761022d565b61014c6101473660046114e6565b610243565b604051610101929190611540565b61016d6101683660046114e6565b61028c565b60405161ffff9091168152602001610101565b61014c61018e3660046114e6565b6102af565b600161016d565b61011d6101a8366004611579565b6102cc565b61014c6101bb3660046114e6565b6102eb565b61011d6101ce36600461164f565b6102fa565b61014c6101e13660046114e6565b6103d1565b6101f96101f4366004611728565b6103ee565b6040519015158152602001610101565b6000610216848484610407565b90505b9392505050565b6060610216848484610424565b600061023b600360026117bb565b60ff16919050565b6000606081610260610255858761045b565b62ffffff191661047f565b905061027162ffffff1982166104e3565b61028062ffffff198316610507565b92509250509250929050565b60006102a661029b838561045b565b62ffffff191661055a565b90505b92915050565b60006060816102606102c1858761045b565b62ffffff1916610586565b60606102de89898989898989896105d0565b9998505050505050505050565b60006060600061026084610671565b6060600061030a87878787610682565b905060006103b28e8e8e8e8e8e604080517e01000000000000000000000000000000000000000000000000000000000000602082015260e097881b7fffffffff000000000000000000000000000000000000000000000000000000009081166022830152602682019790975294871b8616604686015292861b8516604a850152604e84019190915290931b909116606e82015281516052818303018152607290910190915290565b90506103bf818386610220565b9e9d5050505050505050505050505050565b60006060816102606103e3858761045b565b62ffffff1916610714565b60006102a96103fc83610671565b62ffffff1916610773565b6000610414848484610424565b8051906020012090509392505050565b82518251604051606092610443926001928890889088906020016117de565b60405160208183030381529060405290509392505050565b81516000906020840161047664ffffffffff8516828461086b565b95945050505050565b60008161049762ffffff1982166403010000006108b2565b506102196104a68460026109d5565b6104b18560016109d5565b6104bd600360026117bb565b6104ca919060ff16611870565b6104d49190611870565b62ffffff198516906000610a07565b60008060606104f3816018611870565b6104fd9190611870565b9290921c92915050565b60606000806105248460181c6bffffffffffffffffffffffff1690565b6bffffffffffffffffffffffff16905060405191508192506105498483602001610a45565b508181016020016040529052919050565b60008161057262ffffff1982166403010000006108b2565b5061021962ffffff19841660006002610c2c565b60008161059e62ffffff1982166403010000006108b2565b506102196105ae600360026117bb565b60ff166105bc8560016109d5565b62ffffff1986169190640301010000610c5c565b604080517e0100000000000000000000000000000000000000000000000000000000000060208201527fffffffff0000000000000000000000000000000000000000000000000000000060e08b811b82166022840152602683018b905289811b8216604684015288811b8216604a840152604e830188905286901b16606e8201528151808203605201815260729091019091526060906102de908484610424565b60006102a98264030100000061045b565b6040517e0100000000000000000000000000000000000000000000000000000000000060208201527fffffffffffffffffffffffff000000000000000000000000000000000000000060a086811b8216602284015285811b8216602e84015284811b8216603a84015283901b16604682015260609060520160405160208183030381529060405290505b949350505050565b60008161072c62ffffff1982166403010000006108b2565b5061021961073b8460016109d5565b610747600360026117bb565b610754919060ff16611870565b61075f8560026109d5565b62ffffff1986169190640301020000610c5c565b6000601882901c6bffffffffffffffffffffffff16610794600360026117bb565b60ff168110156107a75750600092915050565b60016107b28461055a565b61ffff16146107c45750600092915050565b60006107d18460016109d5565b905060006107e08560026109d5565b90508281836107f1600360026117bb565b6107fe919060ff16611870565b6108089190611870565b111561081957506000949350505050565b61083061082586610586565b62ffffff1916610cd1565b1580610850575061084e61084386610714565b62ffffff1916610d18565b155b1561086057506000949350505050565b506001949350505050565b6000806108788385611870565b9050604051811115610888575060005b8060000361089d5762ffffff19915050610219565b5050606092831b9190911790911b1760181b90565b60006108be8383610d5f565b6109ce5760006108dc6108d0856104e3565b64ffffffffff16610d81565b91505060006108f18464ffffffffff16610d81565b6040517f5479706520617373657274696f6e206661696c65642e20476f7420307800000060208201527fffffffffffffffffffff0000000000000000000000000000000000000000000060b086811b8216603d8401527f2e20457870656374656420307800000000000000000000000000000000000000604784015283901b16605482015290925060009150605e016040516020818303038152906040529050806040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109c591906114d3565b60405180910390fd5b5090919050565b60006102a660028360038111156109ee576109ee61175d565b6109f89190611883565b62ffffff198516906002610c2c565b6000610216848485610a278860181c6bffffffffffffffffffffffff1690565b6bffffffffffffffffffffffff16610a3f919061189a565b85610c5c565b600062ffffff1980841603610ab6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601a60248201527f636f7079546f3a204e756c6c20706f696e74657220646572656600000000000060448201526064016109c5565b610abf83610e6b565b610b25576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f636f7079546f3a20496e76616c696420706f696e74657220646572656600000060448201526064016109c5565b6000610b3f8460181c6bffffffffffffffffffffffff1690565b6bffffffffffffffffffffffff1690506000610b5a85610ea7565b6bffffffffffffffffffffffff169050600080604051915085821115610b805760206060fd5b8386858560045afa905080610bf1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601460248201527f6964656e746974793a206f7574206f662067617300000000000000000000000060448201526064016109c5565b610c21610bfd886104e3565b70ffffffffff000000000000000000000000606091821b168817901b851760181b90565b979650505050505050565b6000610c398260206118ad565b610c449060086117bb565b60ff16610c52858585610ece565b901c949350505050565b600080610c6886610ea7565b6bffffffffffffffffffffffff169050610c818661107c565b84610c8c8784611870565b610c969190611870565b1115610ca95762ffffff1991505061070c565b610cb38582611870565b9050610cc78364ffffffffff16828661086b565b9695505050505050565b6000601882901c6bffffffffffffffffffffffff166002811015610cf85750600092915050565b6001610d03846110b5565b61ffff16148015610219575060521492915050565b6000601882901c6bffffffffffffffffffffffff166002811015610d3f5750600092915050565b6001610d4a846110cd565b61ffff16148015610219575060321492915050565b60008164ffffffffff16610d72846104e3565b64ffffffffff16149392505050565b600080601f5b600f8160ff161115610df4576000610da08260086117bb565b60ff1685901c9050610db1816110e5565b61ffff16841793508160ff16601014610dcc57601084901b93505b507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff01610d87565b50600f5b60ff8160ff161015610e65576000610e118260086117bb565b60ff1685901c9050610e22816110e5565b61ffff16831792508160ff16600014610e3d57601083901b92505b507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff01610df8565b50915091565b6000610e76826104e3565b64ffffffffff1664ffffffffff03610e9057506000919050565b6000610e9b8361107c565b60405110199392505050565b600080610eb660606018611870565b9290921c6bffffffffffffffffffffffff1692915050565b60008160ff16600003610ee357506000610219565b610efb8460181c6bffffffffffffffffffffffff1690565b6bffffffffffffffffffffffff16610f1660ff841685611870565b1115610f9957610f66610f2885610ea7565b6bffffffffffffffffffffffff16610f4e8660181c6bffffffffffffffffffffffff1690565b6bffffffffffffffffffffffff16858560ff16611117565b6040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109c591906114d3565b60208260ff161115611007576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601960248201527f496e6465783a206d6f7265207468616e2033322062797465730000000000000060448201526064016109c5565b60088202600061101686610ea7565b6bffffffffffffffffffffffff16905060007f80000000000000000000000000000000000000000000000000000000000000007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff84011d91909501511695945050505050565b60006110968260181c6bffffffffffffffffffffffff1690565b61109f83610ea7565b016bffffffffffffffffffffffff169050919050565b60008161057262ffffff1982166403010100006108b2565b60008161057262ffffff1982166403010200006108b2565b60006110f760048360ff16901c6112a7565b60ff1661ffff919091161760081b61110e826112a7565b60ff1617919050565b6060600061112486610d81565b915050600061113286610d81565b915050600061114086610d81565b915050600061114e86610d81565b604080517f54797065644d656d566965772f696e646578202d204f76657272616e2074686560208201527f20766965772e20536c6963652069732061742030780000000000000000000000818301527fffffffffffff000000000000000000000000000000000000000000000000000060d098891b811660558301527f2077697468206c656e6774682030780000000000000000000000000000000000605b830181905297891b8116606a8301527f2e20417474656d7074656420746f20696e646578206174206f6666736574203060708301527f7800000000000000000000000000000000000000000000000000000000000000609083015295881b861660918201526097810196909652951b90921660a684015250507f2e0000000000000000000000000000000000000000000000000000000000000060ac8201528151808203608d01815260ad90910190915295945050505050565b6040805180820190915260108082527f30313233343536373839616263646566000000000000000000000000000000006020830152600091600f841691829081106112f4576112f46118c6565b016020015160f81c9392505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600082601f83011261134357600080fd5b813567ffffffffffffffff8082111561135e5761135e611303565b604051601f83017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0908116603f011681019082821181831017156113a4576113a4611303565b816040528381528660208588010111156113bd57600080fd5b836020870160208301376000602085830101528094505050505092915050565b6000806000606084860312156113f257600080fd5b833567ffffffffffffffff8082111561140a57600080fd5b61141687838801611332565b9450602086013591508082111561142c57600080fd5b61143887838801611332565b9350604086013591508082111561144e57600080fd5b5061145b86828701611332565b9150509250925092565b60005b83811015611480578181015183820152602001611468565b50506000910152565b600081518084526114a1816020860160208601611465565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b6020815260006102a66020830184611489565b600080604083850312156114f957600080fd5b823564ffffffffff8116811461150e57600080fd5b9150602083013567ffffffffffffffff81111561152a57600080fd5b61153685828601611332565b9150509250929050565b64ffffffffff831681526040602082015260006102166040830184611489565b803563ffffffff8116811461157457600080fd5b919050565b600080600080600080600080610100898b03121561159657600080fd5b61159f89611560565b9750602089013596506115b460408a01611560565b95506115c260608a01611560565b9450608089013593506115d760a08a01611560565b925060c089013567ffffffffffffffff808211156115f457600080fd5b6116008c838d01611332565b935060e08b013591508082111561161657600080fd5b506116238b828c01611332565b9150509295985092959890939650565b80356bffffffffffffffffffffffff8116811461157457600080fd5b60008060008060008060008060008060006101608c8e03121561167157600080fd5b61167a8c611560565b9a5060208c0135995061168f60408d01611560565b985061169d60608d01611560565b975060808c013596506116b260a08d01611560565b95506116c060c08d01611633565b94506116ce60e08d01611633565b93506116dd6101008d01611633565b92506116ec6101208d01611633565b91506101408c013567ffffffffffffffff81111561170957600080fd5b6117158e828f01611332565b9150509295989b509295989b9093969950565b60006020828403121561173a57600080fd5b813567ffffffffffffffff81111561175157600080fd5b61070c84828501611332565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60ff81811683821602908116908181146117d7576117d761178c565b5092915050565b60007fffff000000000000000000000000000000000000000000000000000000000000808960f01b168352808860f01b166002840152808760f01b166004840152508451611833816006850160208901611465565b84519083019061184a816006840160208901611465565b8451910190611860816006840160208801611465565b0160060198975050505050505050565b808201808211156102a9576102a961178c565b80820281158282048414176102a9576102a961178c565b818103818111156102a9576102a961178c565b60ff82811682821603908111156102a9576102a961178c565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fdfea2646970667358221220b3ad0df670b10bf9ea12a3fa3083fd128316c3f94fa0e248d4421547c13b38d264736f6c63430008110033",
}

MessageHarnessMetaData contains all meta data concerning the MessageHarness contract.

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

MessageMetaData contains all meta data concerning the Message contract.

View Source
var SynapseTypesABI = SynapseTypesMetaData.ABI

SynapseTypesABI is the input ABI used to generate the binding from. Deprecated: Use SynapseTypesMetaData.ABI instead.

View Source
var SynapseTypesBin = SynapseTypesMetaData.Bin

SynapseTypesBin is the compiled bytecode used for deploying new contracts. Deprecated: Use SynapseTypesMetaData.Bin instead.

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

SynapseTypesMetaData contains all meta data concerning the SynapseTypes contract.

View Source
var TipsABI = TipsMetaData.ABI

TipsABI is the input ABI used to generate the binding from. Deprecated: Use TipsMetaData.ABI instead.

View Source
var TipsBin = TipsMetaData.Bin

TipsBin is the compiled bytecode used for deploying new contracts. Deprecated: Use TipsMetaData.Bin instead.

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

TipsMetaData contains all meta data concerning the Tips contract.

View Source
var TypeCastsABI = TypeCastsMetaData.ABI

TypeCastsABI is the input ABI used to generate the binding from. Deprecated: Use TypeCastsMetaData.ABI instead.

View Source
var TypeCastsBin = TypeCastsMetaData.Bin

TypeCastsBin is the compiled bytecode used for deploying new contracts. Deprecated: Use TypeCastsMetaData.Bin instead.

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

TypeCastsMetaData contains all meta data concerning the TypeCasts contract.

View Source
var TypedMemViewABI = TypedMemViewMetaData.ABI

TypedMemViewABI is the input ABI used to generate the binding from. Deprecated: Use TypedMemViewMetaData.ABI instead.

View Source
var TypedMemViewBin = TypedMemViewMetaData.Bin

TypedMemViewBin is the compiled bytecode used for deploying new contracts. Deprecated: Use TypedMemViewMetaData.Bin instead.

View Source
var TypedMemViewFuncSigs = TypedMemViewMetaData.Sigs

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

View Source
var TypedMemViewMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[],\"name\":\"BITS_EMPTY\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"BITS_LEN\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"BITS_LOC\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"BITS_TYPE\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"LOW_96_BITS_MASK\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"NULL\",\"outputs\":[{\"internalType\":\"bytes29\",\"name\":\"\",\"type\":\"bytes29\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"SHIFT_LEN\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"SHIFT_LOC\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"SHIFT_TYPE\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"}]",
	Sigs: map[string]string{
		"97b8ad4a": "BITS_EMPTY()",
		"eb740628": "BITS_LEN()",
		"fb734584": "BITS_LOC()",
		"10153fce": "BITS_TYPE()",
		"b602d173": "LOW_96_BITS_MASK()",
		"f26be3fc": "NULL()",
		"1136e7ea": "SHIFT_LEN()",
		"1bfe17ce": "SHIFT_LOC()",
		"13090c5a": "SHIFT_TYPE()",
	},
	Bin: "0x6101f061003a600b82828239805160001a60731461002d57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600436106100ad5760003560e01c806397b8ad4a11610080578063eb74062811610065578063eb740628146100f8578063f26be3fc14610100578063fb734584146100f857600080fd5b806397b8ad4a146100cd578063b602d173146100e557600080fd5b806310153fce146100b25780631136e7ea146100cd57806313090c5a146100d55780631bfe17ce146100dd575b600080fd5b6100ba602881565b6040519081526020015b60405180910390f35b6100ba601881565b6100ba610158565b6100ba610172565b6100ba6bffffffffffffffffffffffff81565b6100ba606081565b6101277fffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00000081565b6040517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00000090911681526020016100c4565b606061016581601861017a565b61016f919061017a565b81565b61016f606060185b808201808211156101b4577f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b9291505056fea2646970667358221220bad2aaaacf4b41a29d7c993188fd5b7abfd5adea976ecadc4861ac2195e1e4d264736f6c63430008110033",
}

TypedMemViewMetaData contains all meta data concerning the TypedMemView contract.

Functions

This section is empty.

Types

type Header struct {
	HeaderCaller     // Read-only binding to the contract
	HeaderTransactor // Write-only binding to the contract
	HeaderFilterer   // Log filterer for contract events
}

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

func DeployHeader

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

DeployHeader deploys a new Ethereum contract, binding an instance of Header to it.

func NewHeader

func NewHeader(address common.Address, backend bind.ContractBackend) (*Header, error)

NewHeader creates a new instance of Header, bound to a specific deployed contract.

type HeaderCaller

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

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

func NewHeaderCaller

func NewHeaderCaller(address common.Address, caller bind.ContractCaller) (*HeaderCaller, error)

NewHeaderCaller creates a new read-only instance of Header, bound to a specific deployed contract.

type HeaderCallerRaw

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

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

func (*HeaderCallerRaw) Call

func (_Header *HeaderCallerRaw) 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 HeaderCallerSession

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

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

type HeaderFilterer

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

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

func NewHeaderFilterer

func NewHeaderFilterer(address common.Address, filterer bind.ContractFilterer) (*HeaderFilterer, error)

NewHeaderFilterer creates a new log filterer instance of Header, bound to a specific deployed contract.

type HeaderRaw

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

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

func (*HeaderRaw) Call

func (_Header *HeaderRaw) 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 (*HeaderRaw) Transact

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

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

func (*HeaderRaw) Transfer

func (_Header *HeaderRaw) 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 HeaderSession

type HeaderSession struct {
	Contract     *Header           // 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
}

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

type HeaderTransactor

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

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

func NewHeaderTransactor

func NewHeaderTransactor(address common.Address, transactor bind.ContractTransactor) (*HeaderTransactor, error)

NewHeaderTransactor creates a new write-only instance of Header, bound to a specific deployed contract.

type HeaderTransactorRaw

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

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

func (*HeaderTransactorRaw) Transact

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

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

func (*HeaderTransactorRaw) Transfer

func (_Header *HeaderTransactorRaw) 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 HeaderTransactorSession

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

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

type Message

type Message struct {
	MessageCaller     // Read-only binding to the contract
	MessageTransactor // Write-only binding to the contract
	MessageFilterer   // Log filterer for contract events
}

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

func DeployMessage

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

DeployMessage deploys a new Ethereum contract, binding an instance of Message to it.

func NewMessage

func NewMessage(address common.Address, backend bind.ContractBackend) (*Message, error)

NewMessage creates a new instance of Message, bound to a specific deployed contract.

type MessageCaller

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

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

func NewMessageCaller

func NewMessageCaller(address common.Address, caller bind.ContractCaller) (*MessageCaller, error)

NewMessageCaller creates a new read-only instance of Message, bound to a specific deployed contract.

type MessageCallerRaw

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

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

func (*MessageCallerRaw) Call

func (_Message *MessageCallerRaw) 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 MessageCallerSession

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

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

type MessageFilterer

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

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

func NewMessageFilterer

func NewMessageFilterer(address common.Address, filterer bind.ContractFilterer) (*MessageFilterer, error)

NewMessageFilterer creates a new log filterer instance of Message, bound to a specific deployed contract.

type MessageHarness

type MessageHarness struct {
	MessageHarnessCaller     // Read-only binding to the contract
	MessageHarnessTransactor // Write-only binding to the contract
	MessageHarnessFilterer   // Log filterer for contract events
}

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

func DeployMessageHarness

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

DeployMessageHarness deploys a new Ethereum contract, binding an instance of MessageHarness to it.

func NewMessageHarness

func NewMessageHarness(address common.Address, backend bind.ContractBackend) (*MessageHarness, error)

NewMessageHarness creates a new instance of MessageHarness, bound to a specific deployed contract.

type MessageHarnessCaller

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

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

func NewMessageHarnessCaller

func NewMessageHarnessCaller(address common.Address, caller bind.ContractCaller) (*MessageHarnessCaller, error)

NewMessageHarnessCaller creates a new read-only instance of MessageHarness, bound to a specific deployed contract.

func (*MessageHarnessCaller) Body added in v0.0.29

func (_MessageHarness *MessageHarnessCaller) Body(opts *bind.CallOpts, _type *big.Int, _payload []byte) (*big.Int, []byte, error)

Body is a free data retrieval call binding the contract method 0x27bcefdf.

Solidity: function body(uint40 _type, bytes _payload) view returns(uint40, bytes)

func (*MessageHarnessCaller) CastToMessage added in v0.0.29

func (_MessageHarness *MessageHarnessCaller) CastToMessage(opts *bind.CallOpts, arg0 *big.Int, _payload []byte) (*big.Int, []byte, error)

CastToMessage is a free data retrieval call binding the contract method 0x81038946.

Solidity: function castToMessage(uint40 , bytes _payload) view returns(uint40, bytes)

func (*MessageHarnessCaller) FormatMessage

func (_MessageHarness *MessageHarnessCaller) FormatMessage(opts *bind.CallOpts, _header []byte, _tips []byte, _messageBody []byte) ([]byte, error)

FormatMessage is a free data retrieval call binding the contract method 0x0b9255e9.

Solidity: function formatMessage(bytes _header, bytes _tips, bytes _messageBody) pure returns(bytes)

func (*MessageHarnessCaller) FormatMessage0

func (_MessageHarness *MessageHarnessCaller) FormatMessage0(opts *bind.CallOpts, _origin uint32, _sender [32]byte, _nonce uint32, _destination uint32, _recipient [32]byte, _optimisticSeconds uint32, _tips []byte, _messageBody []byte) ([]byte, error)

FormatMessage0 is a free data retrieval call binding the contract method 0x7c517825.

Solidity: function formatMessage(uint32 _origin, bytes32 _sender, uint32 _nonce, uint32 _destination, bytes32 _recipient, uint32 _optimisticSeconds, bytes _tips, bytes _messageBody) pure returns(bytes)

func (*MessageHarnessCaller) FormatMessage1 added in v0.0.29

func (_MessageHarness *MessageHarnessCaller) FormatMessage1(opts *bind.CallOpts, _origin uint32, _sender [32]byte, _nonce uint32, _destination uint32, _recipient [32]byte, _optimisticSeconds uint32, _notaryTip *big.Int, _broadcasterTip *big.Int, _proverTip *big.Int, _executorTip *big.Int, _messageBody []byte) ([]byte, error)

FormatMessage1 is a free data retrieval call binding the contract method 0x81d030ef.

Solidity: function formatMessage(uint32 _origin, bytes32 _sender, uint32 _nonce, uint32 _destination, bytes32 _recipient, uint32 _optimisticSeconds, uint96 _notaryTip, uint96 _broadcasterTip, uint96 _proverTip, uint96 _executorTip, bytes _messageBody) pure returns(bytes)

func (*MessageHarnessCaller) Header added in v0.0.29

func (_MessageHarness *MessageHarnessCaller) Header(opts *bind.CallOpts, _type *big.Int, _payload []byte) (*big.Int, []byte, error)

Header is a free data retrieval call binding the contract method 0x40e0cd87.

Solidity: function header(uint40 _type, bytes _payload) view returns(uint40, bytes)

func (*MessageHarnessCaller) IsMessage added in v0.0.29

func (_MessageHarness *MessageHarnessCaller) IsMessage(opts *bind.CallOpts, _payload []byte) (bool, error)

IsMessage is a free data retrieval call binding the contract method 0xf9893ddd.

Solidity: function isMessage(bytes _payload) pure returns(bool)

func (*MessageHarnessCaller) MessageHash added in v0.0.29

func (_MessageHarness *MessageHarnessCaller) MessageHash(opts *bind.CallOpts, _header []byte, _tips []byte, _messageBody []byte) ([32]byte, error)

MessageHash is a free data retrieval call binding the contract method 0x02e5f230.

Solidity: function messageHash(bytes _header, bytes _tips, bytes _messageBody) pure returns(bytes32)

func (*MessageHarnessCaller) MessageVersion

func (_MessageHarness *MessageHarnessCaller) MessageVersion(opts *bind.CallOpts, _type *big.Int, _payload []byte) (uint16, error)

MessageVersion is a free data retrieval call binding the contract method 0x36861181.

Solidity: function messageVersion(uint40 _type, bytes _payload) pure returns(uint16)

func (*MessageHarnessCaller) MessageVersion0 added in v0.0.29

func (_MessageHarness *MessageHarnessCaller) MessageVersion0(opts *bind.CallOpts) (uint16, error)

MessageVersion0 is a free data retrieval call binding the contract method 0x52617f3c.

Solidity: function messageVersion() pure returns(uint16)

func (*MessageHarnessCaller) OffsetHeader

func (_MessageHarness *MessageHarnessCaller) OffsetHeader(opts *bind.CallOpts) (*big.Int, error)

OffsetHeader is a free data retrieval call binding the contract method 0x1515f90c.

Solidity: function offsetHeader() pure returns(uint256)

func (*MessageHarnessCaller) OffsetVersion

func (_MessageHarness *MessageHarnessCaller) OffsetVersion(opts *bind.CallOpts) (*big.Int, error)

OffsetVersion is a free data retrieval call binding the contract method 0x0c096e8d.

Solidity: function offsetVersion() pure returns(uint256)

func (*MessageHarnessCaller) Tips added in v0.0.29

func (_MessageHarness *MessageHarnessCaller) Tips(opts *bind.CallOpts, _type *big.Int, _payload []byte) (*big.Int, []byte, error)

Tips is a free data retrieval call binding the contract method 0xcd993304.

Solidity: function tips(uint40 _type, bytes _payload) view returns(uint40, bytes)

type MessageHarnessCallerRaw

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

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

func (*MessageHarnessCallerRaw) Call

func (_MessageHarness *MessageHarnessCallerRaw) 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 MessageHarnessCallerSession

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

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

func (*MessageHarnessCallerSession) Body added in v0.0.29

func (_MessageHarness *MessageHarnessCallerSession) Body(_type *big.Int, _payload []byte) (*big.Int, []byte, error)

Body is a free data retrieval call binding the contract method 0x27bcefdf.

Solidity: function body(uint40 _type, bytes _payload) view returns(uint40, bytes)

func (*MessageHarnessCallerSession) CastToMessage added in v0.0.29

func (_MessageHarness *MessageHarnessCallerSession) CastToMessage(arg0 *big.Int, _payload []byte) (*big.Int, []byte, error)

CastToMessage is a free data retrieval call binding the contract method 0x81038946.

Solidity: function castToMessage(uint40 , bytes _payload) view returns(uint40, bytes)

func (*MessageHarnessCallerSession) FormatMessage

func (_MessageHarness *MessageHarnessCallerSession) FormatMessage(_header []byte, _tips []byte, _messageBody []byte) ([]byte, error)

FormatMessage is a free data retrieval call binding the contract method 0x0b9255e9.

Solidity: function formatMessage(bytes _header, bytes _tips, bytes _messageBody) pure returns(bytes)

func (*MessageHarnessCallerSession) FormatMessage0

func (_MessageHarness *MessageHarnessCallerSession) FormatMessage0(_origin uint32, _sender [32]byte, _nonce uint32, _destination uint32, _recipient [32]byte, _optimisticSeconds uint32, _tips []byte, _messageBody []byte) ([]byte, error)

FormatMessage0 is a free data retrieval call binding the contract method 0x7c517825.

Solidity: function formatMessage(uint32 _origin, bytes32 _sender, uint32 _nonce, uint32 _destination, bytes32 _recipient, uint32 _optimisticSeconds, bytes _tips, bytes _messageBody) pure returns(bytes)

func (*MessageHarnessCallerSession) FormatMessage1 added in v0.0.29

func (_MessageHarness *MessageHarnessCallerSession) FormatMessage1(_origin uint32, _sender [32]byte, _nonce uint32, _destination uint32, _recipient [32]byte, _optimisticSeconds uint32, _notaryTip *big.Int, _broadcasterTip *big.Int, _proverTip *big.Int, _executorTip *big.Int, _messageBody []byte) ([]byte, error)

FormatMessage1 is a free data retrieval call binding the contract method 0x81d030ef.

Solidity: function formatMessage(uint32 _origin, bytes32 _sender, uint32 _nonce, uint32 _destination, bytes32 _recipient, uint32 _optimisticSeconds, uint96 _notaryTip, uint96 _broadcasterTip, uint96 _proverTip, uint96 _executorTip, bytes _messageBody) pure returns(bytes)

func (*MessageHarnessCallerSession) Header added in v0.0.29

func (_MessageHarness *MessageHarnessCallerSession) Header(_type *big.Int, _payload []byte) (*big.Int, []byte, error)

Header is a free data retrieval call binding the contract method 0x40e0cd87.

Solidity: function header(uint40 _type, bytes _payload) view returns(uint40, bytes)

func (*MessageHarnessCallerSession) IsMessage added in v0.0.29

func (_MessageHarness *MessageHarnessCallerSession) IsMessage(_payload []byte) (bool, error)

IsMessage is a free data retrieval call binding the contract method 0xf9893ddd.

Solidity: function isMessage(bytes _payload) pure returns(bool)

func (*MessageHarnessCallerSession) MessageHash added in v0.0.29

func (_MessageHarness *MessageHarnessCallerSession) MessageHash(_header []byte, _tips []byte, _messageBody []byte) ([32]byte, error)

MessageHash is a free data retrieval call binding the contract method 0x02e5f230.

Solidity: function messageHash(bytes _header, bytes _tips, bytes _messageBody) pure returns(bytes32)

func (*MessageHarnessCallerSession) MessageVersion

func (_MessageHarness *MessageHarnessCallerSession) MessageVersion(_type *big.Int, _payload []byte) (uint16, error)

MessageVersion is a free data retrieval call binding the contract method 0x36861181.

Solidity: function messageVersion(uint40 _type, bytes _payload) pure returns(uint16)

func (*MessageHarnessCallerSession) MessageVersion0 added in v0.0.29

func (_MessageHarness *MessageHarnessCallerSession) MessageVersion0() (uint16, error)

MessageVersion0 is a free data retrieval call binding the contract method 0x52617f3c.

Solidity: function messageVersion() pure returns(uint16)

func (*MessageHarnessCallerSession) OffsetHeader

func (_MessageHarness *MessageHarnessCallerSession) OffsetHeader() (*big.Int, error)

OffsetHeader is a free data retrieval call binding the contract method 0x1515f90c.

Solidity: function offsetHeader() pure returns(uint256)

func (*MessageHarnessCallerSession) OffsetVersion

func (_MessageHarness *MessageHarnessCallerSession) OffsetVersion() (*big.Int, error)

OffsetVersion is a free data retrieval call binding the contract method 0x0c096e8d.

Solidity: function offsetVersion() pure returns(uint256)

func (*MessageHarnessCallerSession) Tips added in v0.0.29

func (_MessageHarness *MessageHarnessCallerSession) Tips(_type *big.Int, _payload []byte) (*big.Int, []byte, error)

Tips is a free data retrieval call binding the contract method 0xcd993304.

Solidity: function tips(uint40 _type, bytes _payload) view returns(uint40, bytes)

type MessageHarnessFilterer

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

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

func NewMessageHarnessFilterer

func NewMessageHarnessFilterer(address common.Address, filterer bind.ContractFilterer) (*MessageHarnessFilterer, error)

NewMessageHarnessFilterer creates a new log filterer instance of MessageHarness, bound to a specific deployed contract.

type MessageHarnessRaw

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

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

func (*MessageHarnessRaw) Call

func (_MessageHarness *MessageHarnessRaw) 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 (*MessageHarnessRaw) Transact

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

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

func (*MessageHarnessRaw) Transfer

func (_MessageHarness *MessageHarnessRaw) 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 MessageHarnessRef

type MessageHarnessRef struct {
	*MessageHarness
	// contains filtered or unexported fields
}

MessageHarnessRef is a message harness reference

func NewMessageHarnessRef

func NewMessageHarnessRef(address common.Address, backend bind.ContractBackend) (*MessageHarnessRef, error)

NewMessageHarnessRef creates a new message harness bound to a contract.

func (MessageHarnessRef) Address

func (m MessageHarnessRef) Address() common.Address

Address gets the address of the contract.

type MessageHarnessSession

type MessageHarnessSession struct {
	Contract     *MessageHarness   // 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
}

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

func (*MessageHarnessSession) Body added in v0.0.29

func (_MessageHarness *MessageHarnessSession) Body(_type *big.Int, _payload []byte) (*big.Int, []byte, error)

Body is a free data retrieval call binding the contract method 0x27bcefdf.

Solidity: function body(uint40 _type, bytes _payload) view returns(uint40, bytes)

func (*MessageHarnessSession) CastToMessage added in v0.0.29

func (_MessageHarness *MessageHarnessSession) CastToMessage(arg0 *big.Int, _payload []byte) (*big.Int, []byte, error)

CastToMessage is a free data retrieval call binding the contract method 0x81038946.

Solidity: function castToMessage(uint40 , bytes _payload) view returns(uint40, bytes)

func (*MessageHarnessSession) FormatMessage

func (_MessageHarness *MessageHarnessSession) FormatMessage(_header []byte, _tips []byte, _messageBody []byte) ([]byte, error)

FormatMessage is a free data retrieval call binding the contract method 0x0b9255e9.

Solidity: function formatMessage(bytes _header, bytes _tips, bytes _messageBody) pure returns(bytes)

func (*MessageHarnessSession) FormatMessage0

func (_MessageHarness *MessageHarnessSession) FormatMessage0(_origin uint32, _sender [32]byte, _nonce uint32, _destination uint32, _recipient [32]byte, _optimisticSeconds uint32, _tips []byte, _messageBody []byte) ([]byte, error)

FormatMessage0 is a free data retrieval call binding the contract method 0x7c517825.

Solidity: function formatMessage(uint32 _origin, bytes32 _sender, uint32 _nonce, uint32 _destination, bytes32 _recipient, uint32 _optimisticSeconds, bytes _tips, bytes _messageBody) pure returns(bytes)

func (*MessageHarnessSession) FormatMessage1 added in v0.0.29

func (_MessageHarness *MessageHarnessSession) FormatMessage1(_origin uint32, _sender [32]byte, _nonce uint32, _destination uint32, _recipient [32]byte, _optimisticSeconds uint32, _notaryTip *big.Int, _broadcasterTip *big.Int, _proverTip *big.Int, _executorTip *big.Int, _messageBody []byte) ([]byte, error)

FormatMessage1 is a free data retrieval call binding the contract method 0x81d030ef.

Solidity: function formatMessage(uint32 _origin, bytes32 _sender, uint32 _nonce, uint32 _destination, bytes32 _recipient, uint32 _optimisticSeconds, uint96 _notaryTip, uint96 _broadcasterTip, uint96 _proverTip, uint96 _executorTip, bytes _messageBody) pure returns(bytes)

func (*MessageHarnessSession) Header added in v0.0.29

func (_MessageHarness *MessageHarnessSession) Header(_type *big.Int, _payload []byte) (*big.Int, []byte, error)

Header is a free data retrieval call binding the contract method 0x40e0cd87.

Solidity: function header(uint40 _type, bytes _payload) view returns(uint40, bytes)

func (*MessageHarnessSession) IsMessage added in v0.0.29

func (_MessageHarness *MessageHarnessSession) IsMessage(_payload []byte) (bool, error)

IsMessage is a free data retrieval call binding the contract method 0xf9893ddd.

Solidity: function isMessage(bytes _payload) pure returns(bool)

func (*MessageHarnessSession) MessageHash added in v0.0.29

func (_MessageHarness *MessageHarnessSession) MessageHash(_header []byte, _tips []byte, _messageBody []byte) ([32]byte, error)

MessageHash is a free data retrieval call binding the contract method 0x02e5f230.

Solidity: function messageHash(bytes _header, bytes _tips, bytes _messageBody) pure returns(bytes32)

func (*MessageHarnessSession) MessageVersion

func (_MessageHarness *MessageHarnessSession) MessageVersion(_type *big.Int, _payload []byte) (uint16, error)

MessageVersion is a free data retrieval call binding the contract method 0x36861181.

Solidity: function messageVersion(uint40 _type, bytes _payload) pure returns(uint16)

func (*MessageHarnessSession) MessageVersion0 added in v0.0.29

func (_MessageHarness *MessageHarnessSession) MessageVersion0() (uint16, error)

MessageVersion0 is a free data retrieval call binding the contract method 0x52617f3c.

Solidity: function messageVersion() pure returns(uint16)

func (*MessageHarnessSession) OffsetHeader

func (_MessageHarness *MessageHarnessSession) OffsetHeader() (*big.Int, error)

OffsetHeader is a free data retrieval call binding the contract method 0x1515f90c.

Solidity: function offsetHeader() pure returns(uint256)

func (*MessageHarnessSession) OffsetVersion

func (_MessageHarness *MessageHarnessSession) OffsetVersion() (*big.Int, error)

OffsetVersion is a free data retrieval call binding the contract method 0x0c096e8d.

Solidity: function offsetVersion() pure returns(uint256)

func (*MessageHarnessSession) Tips added in v0.0.29

func (_MessageHarness *MessageHarnessSession) Tips(_type *big.Int, _payload []byte) (*big.Int, []byte, error)

Tips is a free data retrieval call binding the contract method 0xcd993304.

Solidity: function tips(uint40 _type, bytes _payload) view returns(uint40, bytes)

type MessageHarnessTransactor

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

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

func NewMessageHarnessTransactor

func NewMessageHarnessTransactor(address common.Address, transactor bind.ContractTransactor) (*MessageHarnessTransactor, error)

NewMessageHarnessTransactor creates a new write-only instance of MessageHarness, bound to a specific deployed contract.

type MessageHarnessTransactorRaw

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

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

func (*MessageHarnessTransactorRaw) Transact

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

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

func (*MessageHarnessTransactorRaw) Transfer

func (_MessageHarness *MessageHarnessTransactorRaw) 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 MessageHarnessTransactorSession

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

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

type MessageRaw

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

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

func (*MessageRaw) Call

func (_Message *MessageRaw) 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 (*MessageRaw) Transact

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

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

func (*MessageRaw) Transfer

func (_Message *MessageRaw) 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 MessageSession

type MessageSession struct {
	Contract     *Message          // 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
}

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

type MessageTransactor

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

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

func NewMessageTransactor

func NewMessageTransactor(address common.Address, transactor bind.ContractTransactor) (*MessageTransactor, error)

NewMessageTransactor creates a new write-only instance of Message, bound to a specific deployed contract.

type MessageTransactorRaw

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

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

func (*MessageTransactorRaw) Transact

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

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

func (*MessageTransactorRaw) Transfer

func (_Message *MessageTransactorRaw) 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 MessageTransactorSession

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

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

type SynapseTypes

type SynapseTypes struct {
	SynapseTypesCaller     // Read-only binding to the contract
	SynapseTypesTransactor // Write-only binding to the contract
	SynapseTypesFilterer   // Log filterer for contract events
}

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

func DeploySynapseTypes

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

DeploySynapseTypes deploys a new Ethereum contract, binding an instance of SynapseTypes to it.

func NewSynapseTypes

func NewSynapseTypes(address common.Address, backend bind.ContractBackend) (*SynapseTypes, error)

NewSynapseTypes creates a new instance of SynapseTypes, bound to a specific deployed contract.

type SynapseTypesCaller

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

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

func NewSynapseTypesCaller

func NewSynapseTypesCaller(address common.Address, caller bind.ContractCaller) (*SynapseTypesCaller, error)

NewSynapseTypesCaller creates a new read-only instance of SynapseTypes, bound to a specific deployed contract.

type SynapseTypesCallerRaw

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

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

func (*SynapseTypesCallerRaw) Call

func (_SynapseTypes *SynapseTypesCallerRaw) 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 SynapseTypesCallerSession

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

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

type SynapseTypesFilterer

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

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

func NewSynapseTypesFilterer

func NewSynapseTypesFilterer(address common.Address, filterer bind.ContractFilterer) (*SynapseTypesFilterer, error)

NewSynapseTypesFilterer creates a new log filterer instance of SynapseTypes, bound to a specific deployed contract.

type SynapseTypesRaw

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

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

func (*SynapseTypesRaw) Call

func (_SynapseTypes *SynapseTypesRaw) 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 (*SynapseTypesRaw) Transact

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

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

func (*SynapseTypesRaw) Transfer

func (_SynapseTypes *SynapseTypesRaw) 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 SynapseTypesSession

type SynapseTypesSession struct {
	Contract     *SynapseTypes     // 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
}

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

type SynapseTypesTransactor

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

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

func NewSynapseTypesTransactor

func NewSynapseTypesTransactor(address common.Address, transactor bind.ContractTransactor) (*SynapseTypesTransactor, error)

NewSynapseTypesTransactor creates a new write-only instance of SynapseTypes, bound to a specific deployed contract.

type SynapseTypesTransactorRaw

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

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

func (*SynapseTypesTransactorRaw) Transact

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

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

func (*SynapseTypesTransactorRaw) Transfer

func (_SynapseTypes *SynapseTypesTransactorRaw) 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 SynapseTypesTransactorSession

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

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

type Tips

type Tips struct {
	TipsCaller     // Read-only binding to the contract
	TipsTransactor // Write-only binding to the contract
	TipsFilterer   // Log filterer for contract events
}

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

func DeployTips

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

DeployTips deploys a new Ethereum contract, binding an instance of Tips to it.

func NewTips

func NewTips(address common.Address, backend bind.ContractBackend) (*Tips, error)

NewTips creates a new instance of Tips, bound to a specific deployed contract.

type TipsCaller

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

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

func NewTipsCaller

func NewTipsCaller(address common.Address, caller bind.ContractCaller) (*TipsCaller, error)

NewTipsCaller creates a new read-only instance of Tips, bound to a specific deployed contract.

type TipsCallerRaw

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

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

func (*TipsCallerRaw) Call

func (_Tips *TipsCallerRaw) 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 TipsCallerSession

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

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

type TipsFilterer

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

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

func NewTipsFilterer

func NewTipsFilterer(address common.Address, filterer bind.ContractFilterer) (*TipsFilterer, error)

NewTipsFilterer creates a new log filterer instance of Tips, bound to a specific deployed contract.

type TipsRaw

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

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

func (*TipsRaw) Call

func (_Tips *TipsRaw) 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 (*TipsRaw) Transact

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

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

func (*TipsRaw) Transfer

func (_Tips *TipsRaw) 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 TipsSession

type TipsSession struct {
	Contract     *Tips             // 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
}

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

type TipsTransactor

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

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

func NewTipsTransactor

func NewTipsTransactor(address common.Address, transactor bind.ContractTransactor) (*TipsTransactor, error)

NewTipsTransactor creates a new write-only instance of Tips, bound to a specific deployed contract.

type TipsTransactorRaw

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

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

func (*TipsTransactorRaw) Transact

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

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

func (*TipsTransactorRaw) Transfer

func (_Tips *TipsTransactorRaw) 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 TipsTransactorSession

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

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

type TypeCasts

type TypeCasts struct {
	TypeCastsCaller     // Read-only binding to the contract
	TypeCastsTransactor // Write-only binding to the contract
	TypeCastsFilterer   // Log filterer for contract events
}

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

func DeployTypeCasts

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

DeployTypeCasts deploys a new Ethereum contract, binding an instance of TypeCasts to it.

func NewTypeCasts

func NewTypeCasts(address common.Address, backend bind.ContractBackend) (*TypeCasts, error)

NewTypeCasts creates a new instance of TypeCasts, bound to a specific deployed contract.

type TypeCastsCaller

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

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

func NewTypeCastsCaller

func NewTypeCastsCaller(address common.Address, caller bind.ContractCaller) (*TypeCastsCaller, error)

NewTypeCastsCaller creates a new read-only instance of TypeCasts, bound to a specific deployed contract.

type TypeCastsCallerRaw

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

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

func (*TypeCastsCallerRaw) Call

func (_TypeCasts *TypeCastsCallerRaw) 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 TypeCastsCallerSession

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

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

type TypeCastsFilterer

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

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

func NewTypeCastsFilterer

func NewTypeCastsFilterer(address common.Address, filterer bind.ContractFilterer) (*TypeCastsFilterer, error)

NewTypeCastsFilterer creates a new log filterer instance of TypeCasts, bound to a specific deployed contract.

type TypeCastsRaw

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

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

func (*TypeCastsRaw) Call

func (_TypeCasts *TypeCastsRaw) 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 (*TypeCastsRaw) Transact

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

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

func (*TypeCastsRaw) Transfer

func (_TypeCasts *TypeCastsRaw) 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 TypeCastsSession

type TypeCastsSession struct {
	Contract     *TypeCasts        // 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
}

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

type TypeCastsTransactor

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

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

func NewTypeCastsTransactor

func NewTypeCastsTransactor(address common.Address, transactor bind.ContractTransactor) (*TypeCastsTransactor, error)

NewTypeCastsTransactor creates a new write-only instance of TypeCasts, bound to a specific deployed contract.

type TypeCastsTransactorRaw

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

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

func (*TypeCastsTransactorRaw) Transact

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

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

func (*TypeCastsTransactorRaw) Transfer

func (_TypeCasts *TypeCastsTransactorRaw) 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 TypeCastsTransactorSession

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

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

type TypedMemView

type TypedMemView struct {
	TypedMemViewCaller     // Read-only binding to the contract
	TypedMemViewTransactor // Write-only binding to the contract
	TypedMemViewFilterer   // Log filterer for contract events
}

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

func DeployTypedMemView

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

DeployTypedMemView deploys a new Ethereum contract, binding an instance of TypedMemView to it.

func NewTypedMemView

func NewTypedMemView(address common.Address, backend bind.ContractBackend) (*TypedMemView, error)

NewTypedMemView creates a new instance of TypedMemView, bound to a specific deployed contract.

type TypedMemViewCaller

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

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

func NewTypedMemViewCaller

func NewTypedMemViewCaller(address common.Address, caller bind.ContractCaller) (*TypedMemViewCaller, error)

NewTypedMemViewCaller creates a new read-only instance of TypedMemView, bound to a specific deployed contract.

func (*TypedMemViewCaller) BITSEMPTY added in v0.0.37

func (_TypedMemView *TypedMemViewCaller) BITSEMPTY(opts *bind.CallOpts) (*big.Int, error)

BITSEMPTY is a free data retrieval call binding the contract method 0x97b8ad4a.

Solidity: function BITS_EMPTY() view returns(uint256)

func (*TypedMemViewCaller) BITSLEN added in v0.0.37

func (_TypedMemView *TypedMemViewCaller) BITSLEN(opts *bind.CallOpts) (*big.Int, error)

BITSLEN is a free data retrieval call binding the contract method 0xeb740628.

Solidity: function BITS_LEN() view returns(uint256)

func (*TypedMemViewCaller) BITSLOC added in v0.0.37

func (_TypedMemView *TypedMemViewCaller) BITSLOC(opts *bind.CallOpts) (*big.Int, error)

BITSLOC is a free data retrieval call binding the contract method 0xfb734584.

Solidity: function BITS_LOC() view returns(uint256)

func (*TypedMemViewCaller) BITSTYPE added in v0.0.37

func (_TypedMemView *TypedMemViewCaller) BITSTYPE(opts *bind.CallOpts) (*big.Int, error)

BITSTYPE is a free data retrieval call binding the contract method 0x10153fce.

Solidity: function BITS_TYPE() view returns(uint256)

func (*TypedMemViewCaller) LOW96BITSMASK added in v0.0.37

func (_TypedMemView *TypedMemViewCaller) LOW96BITSMASK(opts *bind.CallOpts) (*big.Int, error)

LOW96BITSMASK is a free data retrieval call binding the contract method 0xb602d173.

Solidity: function LOW_96_BITS_MASK() view returns(uint256)

func (*TypedMemViewCaller) NULL

func (_TypedMemView *TypedMemViewCaller) NULL(opts *bind.CallOpts) ([29]byte, error)

NULL is a free data retrieval call binding the contract method 0xf26be3fc.

Solidity: function NULL() view returns(bytes29)

func (*TypedMemViewCaller) SHIFTLEN added in v0.0.37

func (_TypedMemView *TypedMemViewCaller) SHIFTLEN(opts *bind.CallOpts) (*big.Int, error)

SHIFTLEN is a free data retrieval call binding the contract method 0x1136e7ea.

Solidity: function SHIFT_LEN() view returns(uint256)

func (*TypedMemViewCaller) SHIFTLOC added in v0.0.37

func (_TypedMemView *TypedMemViewCaller) SHIFTLOC(opts *bind.CallOpts) (*big.Int, error)

SHIFTLOC is a free data retrieval call binding the contract method 0x1bfe17ce.

Solidity: function SHIFT_LOC() view returns(uint256)

func (*TypedMemViewCaller) SHIFTTYPE added in v0.0.37

func (_TypedMemView *TypedMemViewCaller) SHIFTTYPE(opts *bind.CallOpts) (*big.Int, error)

SHIFTTYPE is a free data retrieval call binding the contract method 0x13090c5a.

Solidity: function SHIFT_TYPE() view returns(uint256)

type TypedMemViewCallerRaw

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

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

func (*TypedMemViewCallerRaw) Call

func (_TypedMemView *TypedMemViewCallerRaw) 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 TypedMemViewCallerSession

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

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

func (*TypedMemViewCallerSession) BITSEMPTY added in v0.0.37

func (_TypedMemView *TypedMemViewCallerSession) BITSEMPTY() (*big.Int, error)

BITSEMPTY is a free data retrieval call binding the contract method 0x97b8ad4a.

Solidity: function BITS_EMPTY() view returns(uint256)

func (*TypedMemViewCallerSession) BITSLEN added in v0.0.37

func (_TypedMemView *TypedMemViewCallerSession) BITSLEN() (*big.Int, error)

BITSLEN is a free data retrieval call binding the contract method 0xeb740628.

Solidity: function BITS_LEN() view returns(uint256)

func (*TypedMemViewCallerSession) BITSLOC added in v0.0.37

func (_TypedMemView *TypedMemViewCallerSession) BITSLOC() (*big.Int, error)

BITSLOC is a free data retrieval call binding the contract method 0xfb734584.

Solidity: function BITS_LOC() view returns(uint256)

func (*TypedMemViewCallerSession) BITSTYPE added in v0.0.37

func (_TypedMemView *TypedMemViewCallerSession) BITSTYPE() (*big.Int, error)

BITSTYPE is a free data retrieval call binding the contract method 0x10153fce.

Solidity: function BITS_TYPE() view returns(uint256)

func (*TypedMemViewCallerSession) LOW96BITSMASK added in v0.0.37

func (_TypedMemView *TypedMemViewCallerSession) LOW96BITSMASK() (*big.Int, error)

LOW96BITSMASK is a free data retrieval call binding the contract method 0xb602d173.

Solidity: function LOW_96_BITS_MASK() view returns(uint256)

func (*TypedMemViewCallerSession) NULL

func (_TypedMemView *TypedMemViewCallerSession) NULL() ([29]byte, error)

NULL is a free data retrieval call binding the contract method 0xf26be3fc.

Solidity: function NULL() view returns(bytes29)

func (*TypedMemViewCallerSession) SHIFTLEN added in v0.0.37

func (_TypedMemView *TypedMemViewCallerSession) SHIFTLEN() (*big.Int, error)

SHIFTLEN is a free data retrieval call binding the contract method 0x1136e7ea.

Solidity: function SHIFT_LEN() view returns(uint256)

func (*TypedMemViewCallerSession) SHIFTLOC added in v0.0.37

func (_TypedMemView *TypedMemViewCallerSession) SHIFTLOC() (*big.Int, error)

SHIFTLOC is a free data retrieval call binding the contract method 0x1bfe17ce.

Solidity: function SHIFT_LOC() view returns(uint256)

func (*TypedMemViewCallerSession) SHIFTTYPE added in v0.0.37

func (_TypedMemView *TypedMemViewCallerSession) SHIFTTYPE() (*big.Int, error)

SHIFTTYPE is a free data retrieval call binding the contract method 0x13090c5a.

Solidity: function SHIFT_TYPE() view returns(uint256)

type TypedMemViewFilterer

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

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

func NewTypedMemViewFilterer

func NewTypedMemViewFilterer(address common.Address, filterer bind.ContractFilterer) (*TypedMemViewFilterer, error)

NewTypedMemViewFilterer creates a new log filterer instance of TypedMemView, bound to a specific deployed contract.

type TypedMemViewRaw

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

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

func (*TypedMemViewRaw) Call

func (_TypedMemView *TypedMemViewRaw) 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 (*TypedMemViewRaw) Transact

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

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

func (*TypedMemViewRaw) Transfer

func (_TypedMemView *TypedMemViewRaw) 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 TypedMemViewSession

type TypedMemViewSession struct {
	Contract     *TypedMemView     // 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
}

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

func (*TypedMemViewSession) BITSEMPTY added in v0.0.37

func (_TypedMemView *TypedMemViewSession) BITSEMPTY() (*big.Int, error)

BITSEMPTY is a free data retrieval call binding the contract method 0x97b8ad4a.

Solidity: function BITS_EMPTY() view returns(uint256)

func (*TypedMemViewSession) BITSLEN added in v0.0.37

func (_TypedMemView *TypedMemViewSession) BITSLEN() (*big.Int, error)

BITSLEN is a free data retrieval call binding the contract method 0xeb740628.

Solidity: function BITS_LEN() view returns(uint256)

func (*TypedMemViewSession) BITSLOC added in v0.0.37

func (_TypedMemView *TypedMemViewSession) BITSLOC() (*big.Int, error)

BITSLOC is a free data retrieval call binding the contract method 0xfb734584.

Solidity: function BITS_LOC() view returns(uint256)

func (*TypedMemViewSession) BITSTYPE added in v0.0.37

func (_TypedMemView *TypedMemViewSession) BITSTYPE() (*big.Int, error)

BITSTYPE is a free data retrieval call binding the contract method 0x10153fce.

Solidity: function BITS_TYPE() view returns(uint256)

func (*TypedMemViewSession) LOW96BITSMASK added in v0.0.37

func (_TypedMemView *TypedMemViewSession) LOW96BITSMASK() (*big.Int, error)

LOW96BITSMASK is a free data retrieval call binding the contract method 0xb602d173.

Solidity: function LOW_96_BITS_MASK() view returns(uint256)

func (*TypedMemViewSession) NULL

func (_TypedMemView *TypedMemViewSession) NULL() ([29]byte, error)

NULL is a free data retrieval call binding the contract method 0xf26be3fc.

Solidity: function NULL() view returns(bytes29)

func (*TypedMemViewSession) SHIFTLEN added in v0.0.37

func (_TypedMemView *TypedMemViewSession) SHIFTLEN() (*big.Int, error)

SHIFTLEN is a free data retrieval call binding the contract method 0x1136e7ea.

Solidity: function SHIFT_LEN() view returns(uint256)

func (*TypedMemViewSession) SHIFTLOC added in v0.0.37

func (_TypedMemView *TypedMemViewSession) SHIFTLOC() (*big.Int, error)

SHIFTLOC is a free data retrieval call binding the contract method 0x1bfe17ce.

Solidity: function SHIFT_LOC() view returns(uint256)

func (*TypedMemViewSession) SHIFTTYPE added in v0.0.37

func (_TypedMemView *TypedMemViewSession) SHIFTTYPE() (*big.Int, error)

SHIFTTYPE is a free data retrieval call binding the contract method 0x13090c5a.

Solidity: function SHIFT_TYPE() view returns(uint256)

type TypedMemViewTransactor

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

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

func NewTypedMemViewTransactor

func NewTypedMemViewTransactor(address common.Address, transactor bind.ContractTransactor) (*TypedMemViewTransactor, error)

NewTypedMemViewTransactor creates a new write-only instance of TypedMemView, bound to a specific deployed contract.

type TypedMemViewTransactorRaw

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

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

func (*TypedMemViewTransactorRaw) Transact

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

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

func (*TypedMemViewTransactorRaw) Transfer

func (_TypedMemView *TypedMemViewTransactorRaw) 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 TypedMemViewTransactorSession

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

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

Jump to

Keyboard shortcuts

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