Documentation ¶
Overview ¶
Package internal contains test data for the abi package
Code generated by synapse abigen DO NOT EDIT.
Index ¶
- Variables
- type TestSignature
- type TestSignatureCaller
- func (_TestSignature *TestSignatureCaller) TestSignature(opts *bind.CallOpts) ([4]byte, error)
- func (_TestSignature *TestSignatureCaller) TestSignatureArgs(opts *bind.CallOpts, a *big.Int, b *big.Int) ([4]byte, error)
- func (_TestSignature *TestSignatureCaller) TestSignatureOverload(opts *bind.CallOpts, a *big.Int, b *big.Int, c *big.Int) ([4]byte, error)
- func (_TestSignature *TestSignatureCaller) TestSignatureOverload0(opts *bind.CallOpts, a *big.Int, b *big.Int) ([4]byte, error)
- type TestSignatureCallerRaw
- type TestSignatureCallerSession
- func (_TestSignature *TestSignatureCallerSession) TestSignature() ([4]byte, error)
- func (_TestSignature *TestSignatureCallerSession) TestSignatureArgs(a *big.Int, b *big.Int) ([4]byte, error)
- func (_TestSignature *TestSignatureCallerSession) TestSignatureOverload(a *big.Int, b *big.Int, c *big.Int) ([4]byte, error)
- func (_TestSignature *TestSignatureCallerSession) TestSignatureOverload0(a *big.Int, b *big.Int) ([4]byte, error)
- type TestSignatureFilterer
- type TestSignatureRaw
- func (_TestSignature *TestSignatureRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_TestSignature *TestSignatureRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_TestSignature *TestSignatureRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type TestSignatureSession
- func (_TestSignature *TestSignatureSession) TestSignature() ([4]byte, error)
- func (_TestSignature *TestSignatureSession) TestSignatureArgs(a *big.Int, b *big.Int) ([4]byte, error)
- func (_TestSignature *TestSignatureSession) TestSignatureOverload(a *big.Int, b *big.Int, c *big.Int) ([4]byte, error)
- func (_TestSignature *TestSignatureSession) TestSignatureOverload0(a *big.Int, b *big.Int) ([4]byte, error)
- type TestSignatureTransactor
- type TestSignatureTransactorRaw
- type TestSignatureTransactorSession
Constants ¶
This section is empty.
Variables ¶
var Contracts map[string]*compiler.Contract
Contracts are unmarshalled on start
var TestSignatureABI = TestSignatureMetaData.ABI
TestSignatureABI is the input ABI used to generate the binding from. Deprecated: Use TestSignatureMetaData.ABI instead.
var TestSignatureBin = TestSignatureMetaData.Bin
TestSignatureBin is the compiled bytecode used for deploying new contracts. Deprecated: Use TestSignatureMetaData.Bin instead.
var TestSignatureFuncSigs = TestSignatureMetaData.Sigs
Deprecated: Use TestSignatureMetaData.Sigs instead. TestSignatureFuncSigs maps the 4-byte function signature to its string representation.
var TestSignatureMetaData = &bind.MetaData{ ABI: "[{\"inputs\":[],\"name\":\"testSignature\",\"outputs\":[{\"internalType\":\"bytes4\",\"name\":\"\",\"type\":\"bytes4\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"int256\",\"name\":\"a\",\"type\":\"int256\"},{\"internalType\":\"int256\",\"name\":\"b\",\"type\":\"int256\"}],\"name\":\"testSignatureArgs\",\"outputs\":[{\"internalType\":\"bytes4\",\"name\":\"\",\"type\":\"bytes4\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"int256\",\"name\":\"a\",\"type\":\"int256\"},{\"internalType\":\"int256\",\"name\":\"b\",\"type\":\"int256\"},{\"internalType\":\"int256\",\"name\":\"c\",\"type\":\"int256\"}],\"name\":\"testSignatureOverload\",\"outputs\":[{\"internalType\":\"bytes4\",\"name\":\"\",\"type\":\"bytes4\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"int256\",\"name\":\"a\",\"type\":\"int256\"},{\"internalType\":\"int256\",\"name\":\"b\",\"type\":\"int256\"}],\"name\":\"testSignatureOverload\",\"outputs\":[{\"internalType\":\"bytes4\",\"name\":\"\",\"type\":\"bytes4\"}],\"stateMutability\":\"pure\",\"type\":\"function\"}]", Sigs: map[string]string{ "47e8da23": "testSignature()", "e65ca4c6": "testSignatureArgs(int256,int256)", "5b7c30ae": "testSignatureOverload(int256,int256)", "410bbd14": "testSignatureOverload(int256,int256,int256)", }, Bin: "0x608060405234801561001057600080fd5b506101ce806100206000396000f3fe608060405234801561001057600080fd5b506004361061004c5760003560e01c8063410bbd141461005157806347e8da23146100bc5780635b7c30ae146100e2578063e65ca4c614610117575b600080fd5b61008761005f36600461016d565b7f410bbd143686b95f03d142e907aa4b466d4425b0ce24588b25a67e9d337b932b9392505050565b6040517fffffffff00000000000000000000000000000000000000000000000000000000909116815260200160405180910390f35b7f47e8da2300000000000000000000000000000000000000000000000000000000610087565b6100876100f036600461014c565b7f5b7c30ae23c9735566e0743e19b37f3f9c77ddcf1c951d97b5639c99c1275bd092915050565b61008761012536600461014c565b7fe65ca4c60000000000000000000000000000000000000000000000000000000092915050565b6000806040838503121561015e578182fd5b50508035926020909101359150565b600080600060608486031215610181578081fd5b50508135936020830135935060409092013591905056fea26469706673582212207190a4806d7d832d6f198fe652c324187d2899f352993008eaabd1a73ec3571e64736f6c63430008040033", }
TestSignatureMetaData contains all meta data concerning the TestSignature contract.
Functions ¶
This section is empty.
Types ¶
type TestSignature ¶
type TestSignature struct { TestSignatureCaller // Read-only binding to the contract TestSignatureTransactor // Write-only binding to the contract TestSignatureFilterer // Log filterer for contract events }
TestSignature is an auto generated Go binding around an Ethereum contract.
func DeployTestSignature ¶
func DeployTestSignature(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *TestSignature, error)
DeployTestSignature deploys a new Ethereum contract, binding an instance of TestSignature to it.
func NewTestSignature ¶
func NewTestSignature(address common.Address, backend bind.ContractBackend) (*TestSignature, error)
NewTestSignature creates a new instance of TestSignature, bound to a specific deployed contract.
type TestSignatureCaller ¶
type TestSignatureCaller struct {
// contains filtered or unexported fields
}
TestSignatureCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewTestSignatureCaller ¶
func NewTestSignatureCaller(address common.Address, caller bind.ContractCaller) (*TestSignatureCaller, error)
NewTestSignatureCaller creates a new read-only instance of TestSignature, bound to a specific deployed contract.
func (*TestSignatureCaller) TestSignature ¶
func (_TestSignature *TestSignatureCaller) TestSignature(opts *bind.CallOpts) ([4]byte, error)
TestSignature is a free data retrieval call binding the contract method 0x47e8da23.
Solidity: function testSignature() pure returns(bytes4)
func (*TestSignatureCaller) TestSignatureArgs ¶
func (_TestSignature *TestSignatureCaller) TestSignatureArgs(opts *bind.CallOpts, a *big.Int, b *big.Int) ([4]byte, error)
TestSignatureArgs is a free data retrieval call binding the contract method 0xe65ca4c6.
Solidity: function testSignatureArgs(int256 a, int256 b) pure returns(bytes4)
func (*TestSignatureCaller) TestSignatureOverload ¶
func (_TestSignature *TestSignatureCaller) TestSignatureOverload(opts *bind.CallOpts, a *big.Int, b *big.Int, c *big.Int) ([4]byte, error)
TestSignatureOverload is a free data retrieval call binding the contract method 0x410bbd14.
Solidity: function testSignatureOverload(int256 a, int256 b, int256 c) pure returns(bytes4)
func (*TestSignatureCaller) TestSignatureOverload0 ¶
func (_TestSignature *TestSignatureCaller) TestSignatureOverload0(opts *bind.CallOpts, a *big.Int, b *big.Int) ([4]byte, error)
TestSignatureOverload0 is a free data retrieval call binding the contract method 0x5b7c30ae.
Solidity: function testSignatureOverload(int256 a, int256 b) pure returns(bytes4)
type TestSignatureCallerRaw ¶
type TestSignatureCallerRaw struct {
Contract *TestSignatureCaller // Generic read-only contract binding to access the raw methods on
}
TestSignatureCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*TestSignatureCallerRaw) Call ¶
func (_TestSignature *TestSignatureCallerRaw) 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 TestSignatureCallerSession ¶
type TestSignatureCallerSession struct { Contract *TestSignatureCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
TestSignatureCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*TestSignatureCallerSession) TestSignature ¶
func (_TestSignature *TestSignatureCallerSession) TestSignature() ([4]byte, error)
TestSignature is a free data retrieval call binding the contract method 0x47e8da23.
Solidity: function testSignature() pure returns(bytes4)
func (*TestSignatureCallerSession) TestSignatureArgs ¶
func (_TestSignature *TestSignatureCallerSession) TestSignatureArgs(a *big.Int, b *big.Int) ([4]byte, error)
TestSignatureArgs is a free data retrieval call binding the contract method 0xe65ca4c6.
Solidity: function testSignatureArgs(int256 a, int256 b) pure returns(bytes4)
func (*TestSignatureCallerSession) TestSignatureOverload ¶
func (_TestSignature *TestSignatureCallerSession) TestSignatureOverload(a *big.Int, b *big.Int, c *big.Int) ([4]byte, error)
TestSignatureOverload is a free data retrieval call binding the contract method 0x410bbd14.
Solidity: function testSignatureOverload(int256 a, int256 b, int256 c) pure returns(bytes4)
func (*TestSignatureCallerSession) TestSignatureOverload0 ¶
func (_TestSignature *TestSignatureCallerSession) TestSignatureOverload0(a *big.Int, b *big.Int) ([4]byte, error)
TestSignatureOverload0 is a free data retrieval call binding the contract method 0x5b7c30ae.
Solidity: function testSignatureOverload(int256 a, int256 b) pure returns(bytes4)
type TestSignatureFilterer ¶
type TestSignatureFilterer struct {
// contains filtered or unexported fields
}
TestSignatureFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewTestSignatureFilterer ¶
func NewTestSignatureFilterer(address common.Address, filterer bind.ContractFilterer) (*TestSignatureFilterer, error)
NewTestSignatureFilterer creates a new log filterer instance of TestSignature, bound to a specific deployed contract.
type TestSignatureRaw ¶
type TestSignatureRaw struct {
Contract *TestSignature // Generic contract binding to access the raw methods on
}
TestSignatureRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*TestSignatureRaw) Call ¶
func (_TestSignature *TestSignatureRaw) 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 (*TestSignatureRaw) Transact ¶
func (_TestSignature *TestSignatureRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*TestSignatureRaw) Transfer ¶
func (_TestSignature *TestSignatureRaw) 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 TestSignatureSession ¶
type TestSignatureSession struct { Contract *TestSignature // 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 }
TestSignatureSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*TestSignatureSession) TestSignature ¶
func (_TestSignature *TestSignatureSession) TestSignature() ([4]byte, error)
TestSignature is a free data retrieval call binding the contract method 0x47e8da23.
Solidity: function testSignature() pure returns(bytes4)
func (*TestSignatureSession) TestSignatureArgs ¶
func (_TestSignature *TestSignatureSession) TestSignatureArgs(a *big.Int, b *big.Int) ([4]byte, error)
TestSignatureArgs is a free data retrieval call binding the contract method 0xe65ca4c6.
Solidity: function testSignatureArgs(int256 a, int256 b) pure returns(bytes4)
func (*TestSignatureSession) TestSignatureOverload ¶
func (_TestSignature *TestSignatureSession) TestSignatureOverload(a *big.Int, b *big.Int, c *big.Int) ([4]byte, error)
TestSignatureOverload is a free data retrieval call binding the contract method 0x410bbd14.
Solidity: function testSignatureOverload(int256 a, int256 b, int256 c) pure returns(bytes4)
func (*TestSignatureSession) TestSignatureOverload0 ¶
func (_TestSignature *TestSignatureSession) TestSignatureOverload0(a *big.Int, b *big.Int) ([4]byte, error)
TestSignatureOverload0 is a free data retrieval call binding the contract method 0x5b7c30ae.
Solidity: function testSignatureOverload(int256 a, int256 b) pure returns(bytes4)
type TestSignatureTransactor ¶
type TestSignatureTransactor struct {
// contains filtered or unexported fields
}
TestSignatureTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewTestSignatureTransactor ¶
func NewTestSignatureTransactor(address common.Address, transactor bind.ContractTransactor) (*TestSignatureTransactor, error)
NewTestSignatureTransactor creates a new write-only instance of TestSignature, bound to a specific deployed contract.
type TestSignatureTransactorRaw ¶
type TestSignatureTransactorRaw struct {
Contract *TestSignatureTransactor // Generic write-only contract binding to access the raw methods on
}
TestSignatureTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*TestSignatureTransactorRaw) Transact ¶
func (_TestSignature *TestSignatureTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*TestSignatureTransactorRaw) Transfer ¶
func (_TestSignature *TestSignatureTransactorRaw) 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 TestSignatureTransactorSession ¶
type TestSignatureTransactorSession struct { Contract *TestSignatureTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
TestSignatureTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.