messageharness

package
v0.0.32 Latest Latest
Warning

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

Go to latest
Published: Nov 16, 2022 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: "0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea26469706673582212202c8150f46fa4f0daaad7e6630fe49fe1f5d59e0c6b23827c1f0e1168aaccd71864736f6c63430008110033",
}

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: "0x608060405234801561001057600080fd5b50611991806100206000396000f3fe608060405234801561001057600080fd5b50600436106100df5760003560e01c806340e0cd871161008c578063810389461161006657806381038946146101ad57806381d030ef146101c0578063cd993304146101d3578063f9893ddd146101e657600080fd5b806340e0cd871461018057806352617f3c146101935780637c5178251461019a57600080fd5b80631515f90c116100bd5780631515f90c1461013157806327bcefdf14610139578063368611811461015a57600080fd5b806302e5f230146100e45780630b9255e91461010a5780630c096e8d1461012a575b600080fd5b6100f76100f2366004611335565b610209565b6040519081526020015b60405180910390f35b61011d610118366004611335565b610220565b604051610101919061142b565b60006100f7565b6100f761022d565b61014c61014736600461143e565b610243565b604051610101929190611498565b61016d61016836600461143e565b610282565b60405161ffff9091168152602001610101565b61014c61018e36600461143e565b6102a5565b600161016d565b61011d6101a83660046114d1565b6102c2565b61014c6101bb36600461143e565b6102e1565b61011d6101ce3660046115a7565b6102f0565b61014c6101e136600461143e565b6103c7565b6101f96101f4366004611680565b6103e4565b6040519015158152602001610101565b60006102168484846103fd565b90505b9392505050565b606061021684848461041a565b600061023b60036002611713565b60ff16919050565b60006060816102606102558587610451565b62ffffff1916610475565b905060d881901c61027662ffffff1983166104e2565b92509250509250929050565b600061029c6102918385610451565b62ffffff1916610535565b90505b92915050565b60006060816102606102b78587610451565b62ffffff1916610561565b60606102d489898989898989896105ab565b9998505050505050505050565b6000606060006102608461064c565b606060006103008787878761065d565b905060006103a88e8e8e8e8e8e604080517e01000000000000000000000000000000000000000000000000000000000000602082015260e097881b7fffffffff000000000000000000000000000000000000000000000000000000009081166022830152602682019790975294871b8616604686015292861b8516604a850152604e84019190915290931b909116606e82015281516052818303018152607290910190915290565b90506103b5818386610220565b9e9d5050505050505050505050505050565b60006060816102606103d98587610451565b62ffffff19166106ef565b600061029f6103f28361064c565b62ffffff191661074e565b600061040a84848461041a565b8051906020012090509392505050565b8251825160405160609261043992600192889088908890602001611736565b60405160208183030381529060405290509392505050565b81516000906020840161046c64ffffffffff85168284610846565b95945050505050565b60008161048d62ffffff19821664030100000061088d565b506104d961049c8460026109b1565b6104a78560016109b1565b6104b360036002611713565b6104c0919060ff166117c8565b6104ca91906117c8565b62ffffff1985169060006109e3565b91505b50919050565b60606000806104ff8460181c6bffffffffffffffffffffffff1690565b6bffffffffffffffffffffffff16905060405191508192506105248483602001610a21565b508181016020016040529052919050565b60008161054d62ffffff19821664030100000061088d565b506104d962ffffff19841660006002610bae565b60008161057962ffffff19821664030100000061088d565b506104d961058960036002611713565b60ff166105978560016109b1565b62ffffff1986169190640301010000610bde565b604080517e0100000000000000000000000000000000000000000000000000000000000060208201527fffffffff0000000000000000000000000000000000000000000000000000000060e08b811b82166022840152602683018b905289811b8216604684015288811b8216604a840152604e830188905286901b16606e8201528151808203605201815260729091019091526060906102d490848461041a565b600061029f82640301000000610451565b6040517e0100000000000000000000000000000000000000000000000000000000000060208201527fffffffffffffffffffffffff000000000000000000000000000000000000000060a086811b8216602284015285811b8216602e84015284811b8216603a84015283901b16604682015260609060520160405160208183030381529060405290505b949350505050565b60008161070762ffffff19821664030100000061088d565b506104d96107168460016109b1565b61072260036002611713565b61072f919060ff166117c8565b61073a8560026109b1565b62ffffff1986169190640301020000610bde565b6000601882901c6bffffffffffffffffffffffff1661076f60036002611713565b60ff168110156107825750600092915050565b600161078d84610535565b61ffff161461079f5750600092915050565b60006107ac8460016109b1565b905060006107bb8560026109b1565b90508281836107cc60036002611713565b6107d9919060ff166117c8565b6107e391906117c8565b11156107f457506000949350505050565b61080b61080086610561565b62ffffff1916610c58565b158061082b575061082961081e866106ef565b62ffffff1916610c9f565b155b1561083b57506000949350505050565b506001949350505050565b60008061085383856117c8565b9050604051811115610863575060005b806000036108785762ffffff19915050610219565b5050606092831b9190911790911b1760181b90565b60006108998383610ce6565b6109aa5760006108b86108ac8560d81c90565b64ffffffffff16610d09565b91505060006108cd8464ffffffffff16610d09565b6040517f5479706520617373657274696f6e206661696c65642e20476f7420307800000060208201527fffffffffffffffffffff0000000000000000000000000000000000000000000060b086811b8216603d8401527f2e20457870656374656420307800000000000000000000000000000000000000604784015283901b16605482015290925060009150605e016040516020818303038152906040529050806040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109a1919061142b565b60405180910390fd5b5090919050565b600061029c60028360038111156109ca576109ca6116b5565b6109d491906117db565b62ffffff198516906002610bae565b6000610216848485610a038860181c6bffffffffffffffffffffffff1690565b6bffffffffffffffffffffffff16610a1b91906117f2565b85610bde565b600062ffffff1980841603610a92576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601a60248201527f636f7079546f3a204e756c6c20706f696e74657220646572656600000000000060448201526064016109a1565b610a9b83610df3565b610b01576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f636f7079546f3a20496e76616c696420706f696e74657220646572656600000060448201526064016109a1565b6000610b1b8460181c6bffffffffffffffffffffffff1690565b6bffffffffffffffffffffffff1690506000610b458560781c6bffffffffffffffffffffffff1690565b6bffffffffffffffffffffffff1690506000604051905084811115610b6a5760206060fd5b8285848460045afa50610ba4610b808760d81c90565b70ffffffffff000000000000000000000000606091821b168717901b841760181b90565b9695505050505050565b6000610bbb826020611805565b610bc6906008611713565b60ff16610bd4858585610e30565b901c949350505050565b600080610bf98660781c6bffffffffffffffffffffffff1690565b6bffffffffffffffffffffffff169050610c1286610ffc565b84610c1d87846117c8565b610c2791906117c8565b1115610c3a5762ffffff199150506106e7565b610c4485826117c8565b9050610ba48364ffffffffff168286610846565b6000601882901c6bffffffffffffffffffffffff166002811015610c7f5750600092915050565b6001610c8a84611044565b61ffff161480156104d9575060521492915050565b6000601882901c6bffffffffffffffffffffffff166002811015610cc65750600092915050565b6001610cd18461105c565b61ffff161480156104d9575060321492915050565b60008164ffffffffff16610cfa8460d81c90565b64ffffffffff16149392505050565b600080601f5b600f8160ff161115610d7c576000610d28826008611713565b60ff1685901c9050610d3981611074565b61ffff16841793508160ff16601014610d5457601084901b93505b507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff01610d0f565b50600f5b60ff8160ff161015610ded576000610d99826008611713565b60ff1685901c9050610daa81611074565b61ffff16831792508160ff16600014610dc557601083901b92505b507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff01610d80565b50915091565b6000610dff8260d81c90565b64ffffffffff1664ffffffffff03610e1957506000919050565b6000610e2483610ffc565b60405110199392505050565b60008160ff16600003610e4557506000610219565b610e5d8460181c6bffffffffffffffffffffffff1690565b6bffffffffffffffffffffffff16610e7860ff8416856117c8565b1115610f0a57610ed7610e998560781c6bffffffffffffffffffffffff1690565b6bffffffffffffffffffffffff16610ebf8660181c6bffffffffffffffffffffffff1690565b6bffffffffffffffffffffffff16858560ff166110a6565b6040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109a1919061142b565b60208260ff161115610f78576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601960248201527f496e6465783a206d6f7265207468616e2033322062797465730000000000000060448201526064016109a1565b600882026000610f968660781c6bffffffffffffffffffffffff1690565b6bffffffffffffffffffffffff16905060007f80000000000000000000000000000000000000000000000000000000000000007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff84011d91909501511695945050505050565b60006110168260181c6bffffffffffffffffffffffff1690565b61102e8360781c6bffffffffffffffffffffffff1690565b016bffffffffffffffffffffffff169050919050565b60008161054d62ffffff19821664030101000061088d565b60008161054d62ffffff19821664030102000061088d565b600061108660048360ff16901c611114565b60ff1661ffff919091161760081b61109d82611114565b60ff1617919050565b606060006110b386610d09565b91505060006110c186610d09565b91505060006110cf86610d09565b91505060006110dd86610d09565b915050838383836040516020016110f7949392919061181e565b604051602081830303815290604052945050505050949350505050565b600060f08083179060ff8216900361112f5750603092915050565b8060ff1660f1036111435750603192915050565b8060ff1660f2036111575750603292915050565b8060ff1660f30361116b5750603392915050565b8060ff1660f40361117f5750603492915050565b8060ff1660f5036111935750603592915050565b8060ff1660f6036111a75750603692915050565b8060ff1660f7036111bb5750603792915050565b8060ff1660f8036111cf5750603892915050565b8060ff1660f9036111e35750603992915050565b8060ff1660fa036111f75750606192915050565b8060ff1660fb0361120b5750606292915050565b8060ff1660fc0361121f5750606392915050565b8060ff1660fd036112335750606492915050565b8060ff1660fe036112475750606592915050565b8060ff1660ff036104dc5750606692915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600082601f83011261129b57600080fd5b813567ffffffffffffffff808211156112b6576112b661125b565b604051601f83017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0908116603f011681019082821181831017156112fc576112fc61125b565b8160405283815286602085880101111561131557600080fd5b836020870160208301376000602085830101528094505050505092915050565b60008060006060848603121561134a57600080fd5b833567ffffffffffffffff8082111561136257600080fd5b61136e8783880161128a565b9450602086013591508082111561138457600080fd5b6113908783880161128a565b935060408601359150808211156113a657600080fd5b506113b38682870161128a565b9150509250925092565b60005b838110156113d85781810151838201526020016113c0565b50506000910152565b600081518084526113f98160208601602086016113bd565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b60208152600061029c60208301846113e1565b6000806040838503121561145157600080fd5b823564ffffffffff8116811461146657600080fd5b9150602083013567ffffffffffffffff81111561148257600080fd5b61148e8582860161128a565b9150509250929050565b64ffffffffff8316815260406020820152600061021660408301846113e1565b803563ffffffff811681146114cc57600080fd5b919050565b600080600080600080600080610100898b0312156114ee57600080fd5b6114f7896114b8565b97506020890135965061150c60408a016114b8565b955061151a60608a016114b8565b94506080890135935061152f60a08a016114b8565b925060c089013567ffffffffffffffff8082111561154c57600080fd5b6115588c838d0161128a565b935060e08b013591508082111561156e57600080fd5b5061157b8b828c0161128a565b9150509295985092959890939650565b80356bffffffffffffffffffffffff811681146114cc57600080fd5b60008060008060008060008060008060006101608c8e0312156115c957600080fd5b6115d28c6114b8565b9a5060208c013599506115e760408d016114b8565b98506115f560608d016114b8565b975060808c0135965061160a60a08d016114b8565b955061161860c08d0161158b565b945061162660e08d0161158b565b93506116356101008d0161158b565b92506116446101208d0161158b565b91506101408c013567ffffffffffffffff81111561166157600080fd5b61166d8e828f0161128a565b9150509295989b509295989b9093969950565b60006020828403121561169257600080fd5b813567ffffffffffffffff8111156116a957600080fd5b6106e78482850161128a565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60ff818116838216029081169081811461172f5761172f6116e4565b5092915050565b60007fffff000000000000000000000000000000000000000000000000000000000000808960f01b168352808860f01b166002840152808760f01b16600484015250845161178b8160068501602089016113bd565b8451908301906117a28160068401602089016113bd565b84519101906117b88160068401602088016113bd565b0160060198975050505050505050565b8082018082111561029f5761029f6116e4565b808202811582820484141761029f5761029f6116e4565b8181038181111561029f5761029f6116e4565b60ff828116828216039081111561029f5761029f6116e4565b7f54797065644d656d566965772f696e646578202d204f76657272616e2074686581527f20766965772e20536c696365206973206174203078000000000000000000000060208201527fffffffffffff000000000000000000000000000000000000000000000000000060d086811b821660358401527f2077697468206c656e6774682030780000000000000000000000000000000000603b840181905286821b8316604a8501527f2e20417474656d7074656420746f20696e646578206174206f6666736574203060508501527f7800000000000000000000000000000000000000000000000000000000000000607085015285821b83166071850152607784015283901b1660868201527f2e00000000000000000000000000000000000000000000000000000000000000608c8201526000608d8201610ba456fea2646970667358221220c3356f0146f4f3e6c83804c28d245d080087e301c7813511b2a74b597547eb7464736f6c63430008110033",
}

MessageHarnessMetaData contains all meta data concerning the MessageHarness contract.

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

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: "0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea26469706673582212201cf46bec9bc7cca4dba2c589499f8d99dd45e2d449947a4deb277918e12a77d264736f6c63430008110033",
}

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: "0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220eeb2873dc3f72be2aa9751f882835738ef18d31a3c87da848197771b6a90405564736f6c63430008110033",
}

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: "0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220762a2ff0fc9ad5c25c88bc714807ff22ac575541b316a6a3616e0a85bc6a8bd164736f6c63430008110033",
}

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\":\"LOW_12_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\":\"TWELVE_BYTES\",\"outputs\":[{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"view\",\"type\":\"function\"}]",
	Sigs: map[string]string{
		"b286bae7": "LOW_12_MASK()",
		"f26be3fc": "NULL()",
		"406cba16": "TWELVE_BYTES()",
	},
	Bin: "0x61011561003a600b82828239805160001a60731461002d57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe730000000000000000000000000000000000000000301460806040526004361060475760003560e01c8063406cba1614604c578063b286bae714606a578063f26be3fc146089575b600080fd5b6053606081565b60405160ff90911681526020015b60405180910390f35b607c6bffffffffffffffffffffffff81565b6040519081526020016061565b60af7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00000081565b6040517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0000009091168152602001606156fea26469706673582212206bf3e04b5f37003015045ad2f66eb2c221acdfe86b7e463ff6db0599f006cc2564736f6c63430008110033",
}

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 nolint: golint

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) LOW12MASK added in v0.0.20

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

LOW12MASK is a free data retrieval call binding the contract method 0xb286bae7.

Solidity: function LOW_12_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) TWELVEBYTES added in v0.0.20

func (_TypedMemView *TypedMemViewCaller) TWELVEBYTES(opts *bind.CallOpts) (uint8, error)

TWELVEBYTES is a free data retrieval call binding the contract method 0x406cba16.

Solidity: function TWELVE_BYTES() view returns(uint8)

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) LOW12MASK added in v0.0.20

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

LOW12MASK is a free data retrieval call binding the contract method 0xb286bae7.

Solidity: function LOW_12_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) TWELVEBYTES added in v0.0.20

func (_TypedMemView *TypedMemViewCallerSession) TWELVEBYTES() (uint8, error)

TWELVEBYTES is a free data retrieval call binding the contract method 0x406cba16.

Solidity: function TWELVE_BYTES() view returns(uint8)

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) LOW12MASK added in v0.0.20

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

LOW12MASK is a free data retrieval call binding the contract method 0xb286bae7.

Solidity: function LOW_12_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) TWELVEBYTES added in v0.0.20

func (_TypedMemView *TypedMemViewSession) TWELVEBYTES() (uint8, error)

TWELVEBYTES is a free data retrieval call binding the contract method 0x406cba16.

Solidity: function TWELVE_BYTES() view returns(uint8)

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