Documentation ¶
Index ¶
- Variables
- type EventAttestationVerifier
- type EventAttestationVerifierCaller
- func (_EventAttestationVerifier *EventAttestationVerifierCaller) DecodeAndVerifyEvent(opts *bind.CallOpts, _blockchainId *big.Int, arg1 [32]byte, ...) (bool, error)
- func (_EventAttestationVerifier *EventAttestationVerifierCaller) ECDSASIGNATURE(opts *bind.CallOpts) (*big.Int, error)
- func (_EventAttestationVerifier *EventAttestationVerifierCaller) GetSignerList(opts *bind.CallOpts, arg0 *big.Int) ([]common.Address, error)
- func (_EventAttestationVerifier *EventAttestationVerifierCaller) SupportedSigningAlgorithm(opts *bind.CallOpts, arg0 *big.Int) (*big.Int, error)
- type EventAttestationVerifierCallerRaw
- type EventAttestationVerifierCallerSession
- func (_EventAttestationVerifier *EventAttestationVerifierCallerSession) DecodeAndVerifyEvent(_blockchainId *big.Int, arg1 [32]byte, _encodedEvent []byte, ...) (bool, error)
- func (_EventAttestationVerifier *EventAttestationVerifierCallerSession) ECDSASIGNATURE() (*big.Int, error)
- func (_EventAttestationVerifier *EventAttestationVerifierCallerSession) GetSignerList(arg0 *big.Int) ([]common.Address, error)
- func (_EventAttestationVerifier *EventAttestationVerifierCallerSession) SupportedSigningAlgorithm(arg0 *big.Int) (*big.Int, error)
- type EventAttestationVerifierFilterer
- type EventAttestationVerifierRaw
- func (_EventAttestationVerifier *EventAttestationVerifierRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_EventAttestationVerifier *EventAttestationVerifierRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_EventAttestationVerifier *EventAttestationVerifierRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type EventAttestationVerifierSession
- func (_EventAttestationVerifier *EventAttestationVerifierSession) DecodeAndVerifyEvent(_blockchainId *big.Int, arg1 [32]byte, _encodedEvent []byte, ...) (bool, error)
- func (_EventAttestationVerifier *EventAttestationVerifierSession) ECDSASIGNATURE() (*big.Int, error)
- func (_EventAttestationVerifier *EventAttestationVerifierSession) GetSignerList(arg0 *big.Int) ([]common.Address, error)
- func (_EventAttestationVerifier *EventAttestationVerifierSession) SupportedSigningAlgorithm(arg0 *big.Int) (*big.Int, error)
- type EventAttestationVerifierTransactor
- type EventAttestationVerifierTransactorRaw
- func (_EventAttestationVerifier *EventAttestationVerifierTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_EventAttestationVerifier *EventAttestationVerifierTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type EventAttestationVerifierTransactorSession
- type Registrar
- type RegistrarCaller
- func (_Registrar *RegistrarCaller) ECDSASIGNATURE(opts *bind.CallOpts) (*big.Int, error)
- func (_Registrar *RegistrarCaller) GetSigningThreshold(opts *bind.CallOpts, _blockchainId *big.Int) (*big.Int, error)
- func (_Registrar *RegistrarCaller) IsSigner(opts *bind.CallOpts, _blockchainId *big.Int, _mightBeSigner common.Address) (bool, error)
- func (_Registrar *RegistrarCaller) NumSigners(opts *bind.CallOpts, _blockchainId *big.Int) (*big.Int, error)
- func (_Registrar *RegistrarCaller) Owner(opts *bind.CallOpts) (common.Address, error)
- func (_Registrar *RegistrarCaller) Verify(opts *bind.CallOpts, _blockchainId *big.Int, _signatures []byte, ...) (bool, error)
- func (_Registrar *RegistrarCaller) VerifyAndCheckThreshold(opts *bind.CallOpts, _blockchainId *big.Int, _signatures []byte, ...) error
- type RegistrarCallerRaw
- type RegistrarCallerSession
- func (_Registrar *RegistrarCallerSession) ECDSASIGNATURE() (*big.Int, error)
- func (_Registrar *RegistrarCallerSession) GetSigningThreshold(_blockchainId *big.Int) (*big.Int, error)
- func (_Registrar *RegistrarCallerSession) IsSigner(_blockchainId *big.Int, _mightBeSigner common.Address) (bool, error)
- func (_Registrar *RegistrarCallerSession) NumSigners(_blockchainId *big.Int) (*big.Int, error)
- func (_Registrar *RegistrarCallerSession) Owner() (common.Address, error)
- func (_Registrar *RegistrarCallerSession) Verify(_blockchainId *big.Int, _signatures []byte, _plainText []byte) (bool, error)
- func (_Registrar *RegistrarCallerSession) VerifyAndCheckThreshold(_blockchainId *big.Int, _signatures []byte, _plainText []byte) error
- type RegistrarFilterer
- func (_Registrar *RegistrarFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, ...) (*RegistrarOwnershipTransferredIterator, error)
- func (_Registrar *RegistrarFilterer) ParseOwnershipTransferred(log types.Log) (*RegistrarOwnershipTransferred, error)
- func (_Registrar *RegistrarFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *RegistrarOwnershipTransferred, ...) (event.Subscription, error)
- type RegistrarOwnershipTransferred
- type RegistrarOwnershipTransferredIterator
- type RegistrarRaw
- func (_Registrar *RegistrarRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_Registrar *RegistrarRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_Registrar *RegistrarRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type RegistrarSession
- func (_Registrar *RegistrarSession) AddSigner(_bcId *big.Int, _signer common.Address) (*types.Transaction, error)
- func (_Registrar *RegistrarSession) AddSignerSetThreshold(_bcId *big.Int, _signer common.Address, _newSigningThreshold *big.Int) (*types.Transaction, error)
- func (_Registrar *RegistrarSession) AddSignersSetThreshold(_bcId *big.Int, _signers []common.Address, _newSigningThreshold *big.Int) (*types.Transaction, error)
- func (_Registrar *RegistrarSession) ECDSASIGNATURE() (*big.Int, error)
- func (_Registrar *RegistrarSession) GetSigningThreshold(_blockchainId *big.Int) (*big.Int, error)
- func (_Registrar *RegistrarSession) IsSigner(_blockchainId *big.Int, _mightBeSigner common.Address) (bool, error)
- func (_Registrar *RegistrarSession) NumSigners(_blockchainId *big.Int) (*big.Int, error)
- func (_Registrar *RegistrarSession) Owner() (common.Address, error)
- func (_Registrar *RegistrarSession) RemoveSigner(_bcId *big.Int, _signer common.Address) (*types.Transaction, error)
- func (_Registrar *RegistrarSession) RemoveSignerSetThreshold(_bcId *big.Int, _signer common.Address, _newSigningThreshold *big.Int) (*types.Transaction, error)
- func (_Registrar *RegistrarSession) RenounceOwnership() (*types.Transaction, error)
- func (_Registrar *RegistrarSession) SetThreshold(_bcId *big.Int, _newSigningThreshold *big.Int) (*types.Transaction, error)
- func (_Registrar *RegistrarSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
- func (_Registrar *RegistrarSession) Verify(_blockchainId *big.Int, _signatures []byte, _plainText []byte) (bool, error)
- func (_Registrar *RegistrarSession) VerifyAndCheckThreshold(_blockchainId *big.Int, _signatures []byte, _plainText []byte) error
- type RegistrarTransactor
- func (_Registrar *RegistrarTransactor) AddSigner(opts *bind.TransactOpts, _bcId *big.Int, _signer common.Address) (*types.Transaction, error)
- func (_Registrar *RegistrarTransactor) AddSignerSetThreshold(opts *bind.TransactOpts, _bcId *big.Int, _signer common.Address, ...) (*types.Transaction, error)
- func (_Registrar *RegistrarTransactor) AddSignersSetThreshold(opts *bind.TransactOpts, _bcId *big.Int, _signers []common.Address, ...) (*types.Transaction, error)
- func (_Registrar *RegistrarTransactor) RemoveSigner(opts *bind.TransactOpts, _bcId *big.Int, _signer common.Address) (*types.Transaction, error)
- func (_Registrar *RegistrarTransactor) RemoveSignerSetThreshold(opts *bind.TransactOpts, _bcId *big.Int, _signer common.Address, ...) (*types.Transaction, error)
- func (_Registrar *RegistrarTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_Registrar *RegistrarTransactor) SetThreshold(opts *bind.TransactOpts, _bcId *big.Int, _newSigningThreshold *big.Int) (*types.Transaction, error)
- func (_Registrar *RegistrarTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)
- type RegistrarTransactorRaw
- type RegistrarTransactorSession
- func (_Registrar *RegistrarTransactorSession) AddSigner(_bcId *big.Int, _signer common.Address) (*types.Transaction, error)
- func (_Registrar *RegistrarTransactorSession) AddSignerSetThreshold(_bcId *big.Int, _signer common.Address, _newSigningThreshold *big.Int) (*types.Transaction, error)
- func (_Registrar *RegistrarTransactorSession) AddSignersSetThreshold(_bcId *big.Int, _signers []common.Address, _newSigningThreshold *big.Int) (*types.Transaction, error)
- func (_Registrar *RegistrarTransactorSession) RemoveSigner(_bcId *big.Int, _signer common.Address) (*types.Transaction, error)
- func (_Registrar *RegistrarTransactorSession) RemoveSignerSetThreshold(_bcId *big.Int, _signer common.Address, _newSigningThreshold *big.Int) (*types.Transaction, error)
- func (_Registrar *RegistrarTransactorSession) RenounceOwnership() (*types.Transaction, error)
- func (_Registrar *RegistrarTransactorSession) SetThreshold(_bcId *big.Int, _newSigningThreshold *big.Int) (*types.Transaction, error)
- func (_Registrar *RegistrarTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
- type SignedEventStore
- type SignedEventStoreCaller
- func (_SignedEventStore *SignedEventStoreCaller) DecodeAndVerifyEvent(opts *bind.CallOpts, _blockchainId *big.Int, arg1 [32]byte, ...) (bool, error)
- func (_SignedEventStore *SignedEventStoreCaller) ECDSASIGNATURE(opts *bind.CallOpts) (*big.Int, error)
- func (_SignedEventStore *SignedEventStoreCaller) GetSignerList(opts *bind.CallOpts, arg0 *big.Int) ([]common.Address, error)
- func (_SignedEventStore *SignedEventStoreCaller) SupportedSigningAlgorithm(opts *bind.CallOpts, arg0 *big.Int) (*big.Int, error)
- type SignedEventStoreCallerRaw
- type SignedEventStoreCallerSession
- func (_SignedEventStore *SignedEventStoreCallerSession) DecodeAndVerifyEvent(_blockchainId *big.Int, arg1 [32]byte, _encodedEvent []byte, arg3 []byte) (bool, error)
- func (_SignedEventStore *SignedEventStoreCallerSession) ECDSASIGNATURE() (*big.Int, error)
- func (_SignedEventStore *SignedEventStoreCallerSession) GetSignerList(arg0 *big.Int) ([]common.Address, error)
- func (_SignedEventStore *SignedEventStoreCallerSession) SupportedSigningAlgorithm(arg0 *big.Int) (*big.Int, error)
- type SignedEventStoreFilterer
- type SignedEventStoreRaw
- func (_SignedEventStore *SignedEventStoreRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_SignedEventStore *SignedEventStoreRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_SignedEventStore *SignedEventStoreRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type SignedEventStoreSession
- func (_SignedEventStore *SignedEventStoreSession) DecodeAndVerifyEvent(_blockchainId *big.Int, arg1 [32]byte, _encodedEvent []byte, arg3 []byte) (bool, error)
- func (_SignedEventStore *SignedEventStoreSession) ECDSASIGNATURE() (*big.Int, error)
- func (_SignedEventStore *SignedEventStoreSession) GetSignerList(arg0 *big.Int) ([]common.Address, error)
- func (_SignedEventStore *SignedEventStoreSession) RelayEvent(_sourceBlockchainId *big.Int, _sourceCbcAddress common.Address, ...) (*types.Transaction, error)
- func (_SignedEventStore *SignedEventStoreSession) SupportedSigningAlgorithm(arg0 *big.Int) (*big.Int, error)
- type SignedEventStoreTransactor
- type SignedEventStoreTransactorRaw
- type SignedEventStoreTransactorSession
Constants ¶
This section is empty.
Variables ¶
var EventAttestationVerifierABI = EventAttestationVerifierMetaData.ABI
EventAttestationVerifierABI is the input ABI used to generate the binding from. Deprecated: Use EventAttestationVerifierMetaData.ABI instead.
var EventAttestationVerifierBin = EventAttestationVerifierMetaData.Bin
EventAttestationVerifierBin is the compiled bytecode used for deploying new contracts. Deprecated: Use EventAttestationVerifierMetaData.Bin instead.
var EventAttestationVerifierMetaData = &bind.MetaData{
ABI: "[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_registrar\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"inputs\":[],\"name\":\"ECDSA_SIGNATURE\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_blockchainId\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"_encodedEvent\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"_signatures\",\"type\":\"bytes\"}],\"name\":\"decodeAndVerifyEvent\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"getSignerList\",\"outputs\":[{\"internalType\":\"address[]\",\"name\":\"\",\"type\":\"address[]\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"supportedSigningAlgorithm\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"pure\",\"type\":\"function\"}]",
Bin: "0x608060405234801561001057600080fd5b506040516103a43803806103a483398101604081905261002f91610054565b600080546001600160a01b0319166001600160a01b0392909216919091179055610084565b60006020828403121561006657600080fd5b81516001600160a01b038116811461007d57600080fd5b9392505050565b610311806100936000396000f3fe608060405234801561001057600080fd5b506004361061004c5760003560e01c80634c1ce902146100515780637d1f180114610079578063d068a7c21461009b578063d453f0ba146100a3575b600080fd5b61006461005f366004610190565b6100d1565b60405190151581526020015b60405180910390f35b61008d610087366004610213565b50600190565b604051908152602001610070565b61008d600181565b6100c46100b1366004610213565b5060408051600081526020810190915290565b604051610070919061022c565b6000805460405163012411a560e61b81526001600160a01b039091169063490469409061010a908a90879087908b908b906004016102a2565b60006040518083038186803b15801561012257600080fd5b505afa158015610136573d6000803e3d6000fd5b5060019a9950505050505050505050565b60008083601f84011261015957600080fd5b50813567ffffffffffffffff81111561017157600080fd5b60208301915083602082850101111561018957600080fd5b9250929050565b600080600080600080608087890312156101a957600080fd5b8635955060208701359450604087013567ffffffffffffffff808211156101cf57600080fd5b6101db8a838b01610147565b909650945060608901359150808211156101f457600080fd5b5061020189828a01610147565b979a9699509497509295939492505050565b60006020828403121561022557600080fd5b5035919050565b6020808252825182820181905260009190848201906040850190845b8181101561026d5783516001600160a01b031683529284019291840191600101610248565b50909695505050505050565b81835281816020850137506000828201602090810191909152601f909101601f19169091010190565b8581526060602082015260006102bc606083018688610279565b82810360408401526102cf818587610279565b9897505050505050505056fea26469706673582212200c770279a97765f75bb39111e28189021e0b07c57d280e24cd8eb61a150480a364736f6c63430008090033",
}
EventAttestationVerifierMetaData contains all meta data concerning the EventAttestationVerifier contract.
var RegistrarABI = RegistrarMetaData.ABI
RegistrarABI is the input ABI used to generate the binding from. Deprecated: Use RegistrarMetaData.ABI instead.
var RegistrarBin = RegistrarMetaData.Bin
RegistrarBin is the compiled bytecode used for deploying new contracts. Deprecated: Use RegistrarMetaData.Bin instead.
var RegistrarMetaData = &bind.MetaData{
ABI: "[{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"previousOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransferred\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"ECDSA_SIGNATURE\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_bcId\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"_signer\",\"type\":\"address\"}],\"name\":\"addSigner\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_bcId\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"_signer\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_newSigningThreshold\",\"type\":\"uint256\"}],\"name\":\"addSignerSetThreshold\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_bcId\",\"type\":\"uint256\"},{\"internalType\":\"address[]\",\"name\":\"_signers\",\"type\":\"address[]\"},{\"internalType\":\"uint256\",\"name\":\"_newSigningThreshold\",\"type\":\"uint256\"}],\"name\":\"addSignersSetThreshold\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_blockchainId\",\"type\":\"uint256\"}],\"name\":\"getSigningThreshold\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_blockchainId\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"_mightBeSigner\",\"type\":\"address\"}],\"name\":\"isSigner\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_blockchainId\",\"type\":\"uint256\"}],\"name\":\"numSigners\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_bcId\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"_signer\",\"type\":\"address\"}],\"name\":\"removeSigner\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_bcId\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"_signer\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_newSigningThreshold\",\"type\":\"uint256\"}],\"name\":\"removeSignerSetThreshold\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_bcId\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_newSigningThreshold\",\"type\":\"uint256\"}],\"name\":\"setThreshold\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_blockchainId\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"_signatures\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"_plainText\",\"type\":\"bytes\"}],\"name\":\"verify\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_blockchainId\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"_signatures\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"_plainText\",\"type\":\"bytes\"}],\"name\":\"verifyAndCheckThreshold\",\"outputs\":[],\"stateMutability\":\"view\",\"type\":\"function\"}]",
Bin: "0x608060405234801561001057600080fd5b50600080546001600160a01b031916339081178255604051909182917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a350611389806100616000396000f3fe608060405234801561001057600080fd5b50600436106100f45760003560e01c80638da5cb5b11610097578063d068a7c211610066578063d068a7c214610223578063d4c0d34d1461022b578063f2fde38b1461023e578063f5e232ea1461025157600080fd5b80638da5cb5b146101b45780639a8bb0c4146101cf578063a64ce199146101e2578063b9c362091461021057600080fd5b806348bcbd2d116100d357806348bcbd2d146101345780634904694014610186578063715018a6146101995780638d7678fd146101a157600080fd5b8062ab2414146100f957806315a098251461010e5780633156d37c14610121575b600080fd5b61010c610107366004610e3f565b610275565b005b61010c61011c366004610e74565b6102f6565b61010c61012f366004610e74565b6103c9565b610171610142366004610e74565b60008281526001602090815260408083206001600160a01b038516845260020190915290205460ff1692915050565b60405190151581526020015b60405180910390f35b61010c610194366004610ee9565b6104b4565b61010c61053a565b61010c6101af366004610f63565b6105ae565b6000546040516001600160a01b03909116815260200161017d565b6101716101dd366004610ee9565b61066c565b6102026101f0366004610fe8565b60009081526001602052604090205490565b60405190815260200161017d565b61010c61021e366004611001565b61069d565b610202600181565b61010c610239366004610e3f565b6106ec565b61010c61024c366004611023565b61073d565b61020261025f366004610fe8565b6000908152600160208190526040909120015490565b6000546001600160a01b031633146102a85760405162461bcd60e51b815260040161029f90611045565b60405180910390fd5b6102b28383610827565b600083815260016020819052604082208101546102ce91611090565b60008581526001602081905260409091200181905590506102f08482846108c9565b50505050565b6000546001600160a01b031633146103205760405162461bcd60e51b815260040161029f90611045565b6000828152600160205260409020546103995760405162461bcd60e51b815260206004820152603560248201527f43616e206e6f7420616464207369676e657220666f7220626c6f636b636861696044820152741b881dda5d1a081e995c9bc81d1a1c995cda1bdb19605a1b606482015260840161029f565b6103a38282610827565b60008281526001602081905260408220018054916103c0836110a8565b91905055505050565b6000546001600160a01b031633146103f35760405162461bcd60e51b815260040161029f90611045565b6103fd828261098a565b6000828152600160208190526040822081015461041a91906110c3565b6000848152600160205260409020549091508110156104995760405162461bcd60e51b815260206004820152603560248201527f50726f706f736564206e6577206e756d626572206f66207369676e65727320696044820152741cc81b195cdcc81d1a185b881d1a1c995cda1bdb19605a1b606482015260840161029f565b60009283526001602081905260409093209092019190915550565b60006104c08585610a28565b6000878152600160209081526040909120549082015151919250111561051d5760405162461bcd60e51b81526020600482015260126024820152714e6f7420656e6f756768207369676e65727360701b604482015260640161029f565b61052681610aae565b61053286828585610bac565b505050505050565b6000546001600160a01b031633146105645760405162461bcd60e51b815260040161029f90611045565b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b6000546001600160a01b031633146105d85760405162461bcd60e51b815260040161029f90611045565b60005b8281101561062557610613858585848181106105f9576105f96110da565b905060200201602081019061060e9190611023565b610827565b8061061d816110a8565b9150506105db565b50600084815260016020819052604082200154610643908490611090565b60008681526001602081905260409091200181905590506106658582846108c9565b5050505050565b6000806106798686610a28565b905061068481610aae565b61069087828686610bac565b5060019695505050505050565b6000546001600160a01b031633146106c75760405162461bcd60e51b815260040161029f90611045565b6106e8826001600085815260200190815260200160002060010154836108c9565b5050565b6000546001600160a01b031633146107165760405162461bcd60e51b815260040161029f90611045565b610720838361098a565b600083815260016020819052604082208101546102ce91906110c3565b6000546001600160a01b031633146107675760405162461bcd60e51b815260040161029f90611045565b6001600160a01b0381166107cc5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161029f565b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b60008281526001602090815260408083206001600160a01b038516845260020190915290205460ff16156108955760405162461bcd60e51b81526020600482015260156024820152745369676e657220616c72656164792065786973747360581b604482015260640161029f565b60009182526001602081815260408085206001600160a01b039094168552600290930190529120805460ff19169091179055565b808210156109275760405162461bcd60e51b815260206004820152602560248201527f4e756d626572206f66207369676e657273206c657373207468616e20746872656044820152641cda1bdb1960da1b606482015260840161029f565b806109745760405162461bcd60e51b815260206004820152601960248201527f5468726573686f6c642063616e206e6f74206265207a65726f00000000000000604482015260640161029f565b6000928352600160205260409092209190915550565b60008281526001602090815260408083206001600160a01b038516845260020190915290205460ff166109f75760405162461bcd60e51b815260206004820152601560248201527414da59db995c88191bd95cc81b9bdd08195e1a5cdd605a1b604482015260640161029f565b60009182526001602090815260408084206001600160a01b039093168452600290920190529020805460ff19169055565b6040805180820190915260008152606060208201526000610a4b83850185611001565b91505060018114610a975760405162461bcd60e51b81526020600482015260166024820152755369676e617475726520756e6b6e6f776e207479706560501b604482015260640161029f565b6000610aa584860186611183565b95945050505050565b60005b6001826020015151610ac391906110c3565b8110156106e857600082602001518281518110610ae257610ae26110da565b60200260200101516000015190506000826001610aff9190611090565b90505b836020015151811015610b975783602001518181518110610b2557610b256110da565b6020026020010151600001516001600160a01b0316826001600160a01b03161415610b855760405162461bcd60e51b815260206004820152601060248201526f223ab83634b1b0ba329039b4b3b732b960811b604482015260640161029f565b80610b8f816110a8565b915050610b02565b50508080610ba4906110a8565b915050610ab1565b60005b8360200151518110156106655760016000868152602001908152602001600020600201600085602001518381518110610bea57610bea6110da565b602090810291909101810151516001600160a01b031682528101919091526040016000205460ff16610c705760405162461bcd60e51b815260206004820152602960248201527f5369676e6572206e6f74207265676973746572656420666f72207468697320626044820152683637b1b5b1b430b4b760b91b606482015260840161029f565b610d0284602001518281518110610c8957610c896110da565b602002602001015160000151848487602001518581518110610cad57610cad6110da565b60200260200101516020015188602001518681518110610ccf57610ccf6110da565b60200260200101516040015189602001518781518110610cf157610cf16110da565b602002602001015160600151610d60565b610d4e5760405162461bcd60e51b815260206004820152601860248201527f5369676e617475726520646964206e6f74207665726966790000000000000000604482015260640161029f565b80610d58816110a8565b915050610baf565b6000808686604051610d73929190611343565b604051809103902090508260ff16601b14158015610d9557508260ff16601c14155b15610da4576000915050610e19565b60408051600081526020810180835283905260ff851691810191909152606081018690526080810185905260019060a0016020604051602081039080840390855afa158015610df7573d6000803e3d6000fd5b505050602060405103516001600160a01b0316886001600160a01b0316149150505b9695505050505050565b80356001600160a01b0381168114610e3a57600080fd5b919050565b600080600060608486031215610e5457600080fd5b83359250610e6460208501610e23565b9150604084013590509250925092565b60008060408385031215610e8757600080fd5b82359150610e9760208401610e23565b90509250929050565b60008083601f840112610eb257600080fd5b50813567ffffffffffffffff811115610eca57600080fd5b602083019150836020828501011115610ee257600080fd5b9250929050565b600080600080600060608688031215610f0157600080fd5b85359450602086013567ffffffffffffffff80821115610f2057600080fd5b610f2c89838a01610ea0565b90965094506040880135915080821115610f4557600080fd5b50610f5288828901610ea0565b969995985093965092949392505050565b60008060008060608587031215610f7957600080fd5b84359350602085013567ffffffffffffffff80821115610f9857600080fd5b818701915087601f830112610fac57600080fd5b813581811115610fbb57600080fd5b8860208260051b8501011115610fd057600080fd5b95986020929092019750949560400135945092505050565b600060208284031215610ffa57600080fd5b5035919050565b6000806040838503121561101457600080fd5b50508035926020909101359150565b60006020828403121561103557600080fd5b61103e82610e23565b9392505050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052601160045260246000fd5b600082198211156110a3576110a361107a565b500190565b60006000198214156110bc576110bc61107a565b5060010190565b6000828210156110d5576110d561107a565b500390565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6040805190810167ffffffffffffffff81118282101715611129576111296110f0565b60405290565b60405160a0810167ffffffffffffffff81118282101715611129576111296110f0565b604051601f8201601f1916810167ffffffffffffffff8111828210171561117b5761117b6110f0565b604052919050565b6000602080838503121561119657600080fd5b823567ffffffffffffffff808211156111ae57600080fd5b90840190604082870312156111c257600080fd5b6111ca611106565b8235815283830135828111156111df57600080fd5b80840193505086601f8401126111f457600080fd5b823582811115611206576112066110f0565b8060051b611215868201611152565b918252848101860191868101908a84111561122f57600080fd5b87870192505b8383101561132f5782358681111561124c57600080fd5b8701601f1960a0828e038201121561126357600080fd5b61126b61112f565b6112768b8401610e23565b815260408301358b82015260608301356040820152608083013560ff8116811461129f57600080fd5b606082015260a0830135898111156112b657600080fd5b8084019350508d603f8401126112cb57600080fd5b8a830135898111156112df576112df6110f0565b6112ef8c84601f84011601611152565b92508083528e604082860101111561130657600080fd5b80604085018d85013760009083018c015260808101919091528352509187019190870190611235565b968401969096525090979650505050505050565b818382376000910190815291905056fea26469706673582212200b96eeac09fe503460d491b04d8580c5c58f7c0681d00cc3e0a3029039090bf264736f6c63430008090033",
}
RegistrarMetaData contains all meta data concerning the Registrar contract.
var SignedEventStoreABI = SignedEventStoreMetaData.ABI
SignedEventStoreABI is the input ABI used to generate the binding from. Deprecated: Use SignedEventStoreMetaData.ABI instead.
var SignedEventStoreBin = SignedEventStoreMetaData.Bin
SignedEventStoreBin is the compiled bytecode used for deploying new contracts. Deprecated: Use SignedEventStoreMetaData.Bin instead.
var SignedEventStoreMetaData = &bind.MetaData{
ABI: "[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_registrar\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_functionCall\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"inputs\":[],\"name\":\"ECDSA_SIGNATURE\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_blockchainId\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"_encodedEvent\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"name\":\"decodeAndVerifyEvent\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"getSignerList\",\"outputs\":[{\"internalType\":\"address[]\",\"name\":\"\",\"type\":\"address[]\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_sourceBlockchainId\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"_sourceCbcAddress\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"_eventData\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"_signatures\",\"type\":\"bytes\"}],\"name\":\"relayEvent\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"supportedSigningAlgorithm\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"pure\",\"type\":\"function\"}]",
Bin: "0x608060405234801561001057600080fd5b50604051610c39380380610c3983398101604081905261002f9161007c565b600080546001600160a01b039384166001600160a01b031991821617909155600180549290931691161790556100af565b80516001600160a01b038116811461007757600080fd5b919050565b6000806040838503121561008f57600080fd5b61009883610060565b91506100a660208401610060565b90509250929050565b610b7b806100be6000396000f3fe608060405234801561001057600080fd5b50600436106100575760003560e01c80631cd8253a1461005c5780634c1ce902146100715780637d1f180114610099578063d068a7c2146100bb578063d453f0ba146100c3575b600080fd5b61006f61006a3660046105f7565b6100f1565b005b61008461007f366004610681565b610404565b60405190151581526020015b60405180910390f35b6100ad6100a73660046106c0565b50600190565b604051908152602001610090565b6100ad600181565b6100e46100d13660046106c0565b5060408051600081526020810190915290565b60405161009091906106d9565b600086867f59f736dc5e15c4b12526487502645403b0a4316d82eba7e9ecdc2a050c10ad27878760405160200161012c959493929190610726565b60408051601f19818403018152908290526000546326a2ec3160e21b83529092506001600160a01b031690639a8bb0c490610171908a90879087908790600401610789565b60206040518083038186803b15801561018957600080fd5b505afa15801561019d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906101c191906107f4565b508051602082012060006101d5858561050c565b905060005b8160200151518110156102b2576000826020015182815181106101ff576101ff61081d565b6020908102919091018101515160008681526002835260408082206001600160a01b0384168352600301909352919091205490915060ff161561024257506102a0565b60008481526002602081815260408084206001600160a01b03909516808552600386018352908420805460ff191660019081179091558383529490920180549485018155835290912090910180546001600160a01b03191690911790555b806102aa81610833565b9150506101da565b5060008281526002602052604090206001015460ff16156102d5575050506103fc565b6000805460405163a64ce19960e01b8152600481018c90526001600160a01b039091169063a64ce1999060240160206040518083038186803b15801561031a57600080fd5b505afa15801561032e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610352919061085c565b6000848152600260208190526040909120015490915081116103f757600083815260026020526040908190206001908101805460ff191682179055549051632044202960e11b81526001600160a01b03909116906340884052906103c4908d908d908d908d908d908d90600401610875565b600060405180830381600087803b1580156103de57600080fd5b505af11580156103f2573d6000803e3d6000fd5b505050505b505050505b505050505050565b60008085856040516104179291906108c0565b6040519081900381206000805463a64ce19960e01b8452600484018c9052919350916001600160a01b039091169063a64ce1999060240160206040518083038186803b15801561046657600080fd5b505afa15801561047a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061049e919061085c565b600083815260026020819052604090912001549091508111156104fd5760405162461bcd60e51b81526020600482015260126024820152714e6f7420656e6f756768207369676e65727360701b60448201526064015b60405180910390fd5b50600198975050505050505050565b604080518082019091526000815260606020820152600061052f838501856108e6565b9150506001811461057b5760405162461bcd60e51b81526020600482015260166024820152755369676e617475726520756e6b6e6f776e207479706560501b60448201526064016104f4565b600061058984860186610985565b95945050505050565b80356001600160a01b03811681146105a957600080fd5b919050565b60008083601f8401126105c057600080fd5b50813567ffffffffffffffff8111156105d857600080fd5b6020830191508360208285010111156105f057600080fd5b9250929050565b6000806000806000806080878903121561061057600080fd5b8635955061062060208801610592565b9450604087013567ffffffffffffffff8082111561063d57600080fd5b6106498a838b016105ae565b9096509450606089013591508082111561066257600080fd5b5061066f89828a016105ae565b979a9699509497509295939492505050565b6000806000806000806080878903121561069a57600080fd5b8635955060208701359450604087013567ffffffffffffffff8082111561063d57600080fd5b6000602082840312156106d257600080fd5b5035919050565b6020808252825182820181905260009190848201906040850190845b8181101561071a5783516001600160a01b0316835292840192918401916001016106f5565b50909695505050505050565b8581526bffffffffffffffffffffffff198560601b1660208201528360348201528183605483013760009101605401908152949350505050565b81835281816020850137506000828201602090810191909152601f909101601f19169091010190565b848152600060206060818401526107a4606084018688610760565b8381036040850152845180825260005b818110156107cf5786810184015183820185015283016107b4565b818111156107e05760008483850101525b50601f01601f191601019695505050505050565b60006020828403121561080657600080fd5b8151801515811461081657600080fd5b9392505050565b634e487b7160e01b600052603260045260246000fd5b600060001982141561085557634e487b7160e01b600052601160045260246000fd5b5060010190565b60006020828403121561086e57600080fd5b5051919050565b8681526001600160a01b03861660208201526080604082018190526000906108a09083018688610760565b82810360608401526108b3818587610760565b9998505050505050505050565b8183823760009101908152919050565b634e487b7160e01b600052604160045260246000fd5b600080604083850312156108f957600080fd5b50508035926020909101359150565b6040805190810167ffffffffffffffff8111828210171561092b5761092b6108d0565b60405290565b60405160a0810167ffffffffffffffff8111828210171561092b5761092b6108d0565b604051601f8201601f1916810167ffffffffffffffff8111828210171561097d5761097d6108d0565b604052919050565b6000602080838503121561099857600080fd5b823567ffffffffffffffff808211156109b057600080fd5b90840190604082870312156109c457600080fd5b6109cc610908565b8235815283830135828111156109e157600080fd5b80840193505086601f8401126109f657600080fd5b823582811115610a0857610a086108d0565b8060051b610a17868201610954565b918252848101860191868101908a841115610a3157600080fd5b87870192505b83831015610b3157823586811115610a4e57600080fd5b8701601f1960a0828e0382011215610a6557600080fd5b610a6d610931565b610a788b8401610592565b815260408301358b82015260608301356040820152608083013560ff81168114610aa157600080fd5b606082015260a083013589811115610ab857600080fd5b8084019350508d603f840112610acd57600080fd5b8a83013589811115610ae157610ae16108d0565b610af18c84601f84011601610954565b92508083528e6040828601011115610b0857600080fd5b80604085018d85013760009083018c015260808101919091528352509187019190870190610a37565b96840196909652509097965050505050505056fea264697066735822122033075b32f04bf9d84724a99924aeae0dc9448474261be342cf3b179e02c37e8664736f6c63430008090033",
}
SignedEventStoreMetaData contains all meta data concerning the SignedEventStore contract.
Functions ¶
This section is empty.
Types ¶
type EventAttestationVerifier ¶
type EventAttestationVerifier struct { EventAttestationVerifierCaller // Read-only binding to the contract EventAttestationVerifierTransactor // Write-only binding to the contract EventAttestationVerifierFilterer // Log filterer for contract events }
EventAttestationVerifier is an auto generated Go binding around an Ethereum contract.
func DeployEventAttestationVerifier ¶
func DeployEventAttestationVerifier(auth *bind.TransactOpts, backend bind.ContractBackend, _registrar common.Address) (common.Address, *types.Transaction, *EventAttestationVerifier, error)
DeployEventAttestationVerifier deploys a new Ethereum contract, binding an instance of EventAttestationVerifier to it.
func NewEventAttestationVerifier ¶
func NewEventAttestationVerifier(address common.Address, backend bind.ContractBackend) (*EventAttestationVerifier, error)
NewEventAttestationVerifier creates a new instance of EventAttestationVerifier, bound to a specific deployed contract.
type EventAttestationVerifierCaller ¶
type EventAttestationVerifierCaller struct {
// contains filtered or unexported fields
}
EventAttestationVerifierCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewEventAttestationVerifierCaller ¶
func NewEventAttestationVerifierCaller(address common.Address, caller bind.ContractCaller) (*EventAttestationVerifierCaller, error)
NewEventAttestationVerifierCaller creates a new read-only instance of EventAttestationVerifier, bound to a specific deployed contract.
func (*EventAttestationVerifierCaller) DecodeAndVerifyEvent ¶
func (_EventAttestationVerifier *EventAttestationVerifierCaller) DecodeAndVerifyEvent(opts *bind.CallOpts, _blockchainId *big.Int, arg1 [32]byte, _encodedEvent []byte, _signatures []byte) (bool, error)
DecodeAndVerifyEvent is a free data retrieval call binding the contract method 0x4c1ce902.
Solidity: function decodeAndVerifyEvent(uint256 _blockchainId, bytes32 , bytes _encodedEvent, bytes _signatures) view returns(bool)
func (*EventAttestationVerifierCaller) ECDSASIGNATURE ¶
func (_EventAttestationVerifier *EventAttestationVerifierCaller) ECDSASIGNATURE(opts *bind.CallOpts) (*big.Int, error)
ECDSASIGNATURE is a free data retrieval call binding the contract method 0xd068a7c2.
Solidity: function ECDSA_SIGNATURE() view returns(uint256)
func (*EventAttestationVerifierCaller) GetSignerList ¶
func (_EventAttestationVerifier *EventAttestationVerifierCaller) GetSignerList(opts *bind.CallOpts, arg0 *big.Int) ([]common.Address, error)
GetSignerList is a free data retrieval call binding the contract method 0xd453f0ba.
Solidity: function getSignerList(uint256 ) pure returns(address[])
func (*EventAttestationVerifierCaller) SupportedSigningAlgorithm ¶
func (_EventAttestationVerifier *EventAttestationVerifierCaller) SupportedSigningAlgorithm(opts *bind.CallOpts, arg0 *big.Int) (*big.Int, error)
SupportedSigningAlgorithm is a free data retrieval call binding the contract method 0x7d1f1801.
Solidity: function supportedSigningAlgorithm(uint256 ) pure returns(uint256)
type EventAttestationVerifierCallerRaw ¶
type EventAttestationVerifierCallerRaw struct {
Contract *EventAttestationVerifierCaller // Generic read-only contract binding to access the raw methods on
}
EventAttestationVerifierCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*EventAttestationVerifierCallerRaw) Call ¶
func (_EventAttestationVerifier *EventAttestationVerifierCallerRaw) 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 EventAttestationVerifierCallerSession ¶
type EventAttestationVerifierCallerSession struct { Contract *EventAttestationVerifierCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
EventAttestationVerifierCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*EventAttestationVerifierCallerSession) DecodeAndVerifyEvent ¶
func (_EventAttestationVerifier *EventAttestationVerifierCallerSession) DecodeAndVerifyEvent(_blockchainId *big.Int, arg1 [32]byte, _encodedEvent []byte, _signatures []byte) (bool, error)
DecodeAndVerifyEvent is a free data retrieval call binding the contract method 0x4c1ce902.
Solidity: function decodeAndVerifyEvent(uint256 _blockchainId, bytes32 , bytes _encodedEvent, bytes _signatures) view returns(bool)
func (*EventAttestationVerifierCallerSession) ECDSASIGNATURE ¶
func (_EventAttestationVerifier *EventAttestationVerifierCallerSession) ECDSASIGNATURE() (*big.Int, error)
ECDSASIGNATURE is a free data retrieval call binding the contract method 0xd068a7c2.
Solidity: function ECDSA_SIGNATURE() view returns(uint256)
func (*EventAttestationVerifierCallerSession) GetSignerList ¶
func (_EventAttestationVerifier *EventAttestationVerifierCallerSession) GetSignerList(arg0 *big.Int) ([]common.Address, error)
GetSignerList is a free data retrieval call binding the contract method 0xd453f0ba.
Solidity: function getSignerList(uint256 ) pure returns(address[])
func (*EventAttestationVerifierCallerSession) SupportedSigningAlgorithm ¶
func (_EventAttestationVerifier *EventAttestationVerifierCallerSession) SupportedSigningAlgorithm(arg0 *big.Int) (*big.Int, error)
SupportedSigningAlgorithm is a free data retrieval call binding the contract method 0x7d1f1801.
Solidity: function supportedSigningAlgorithm(uint256 ) pure returns(uint256)
type EventAttestationVerifierFilterer ¶
type EventAttestationVerifierFilterer struct {
// contains filtered or unexported fields
}
EventAttestationVerifierFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewEventAttestationVerifierFilterer ¶
func NewEventAttestationVerifierFilterer(address common.Address, filterer bind.ContractFilterer) (*EventAttestationVerifierFilterer, error)
NewEventAttestationVerifierFilterer creates a new log filterer instance of EventAttestationVerifier, bound to a specific deployed contract.
type EventAttestationVerifierRaw ¶
type EventAttestationVerifierRaw struct {
Contract *EventAttestationVerifier // Generic contract binding to access the raw methods on
}
EventAttestationVerifierRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*EventAttestationVerifierRaw) Call ¶
func (_EventAttestationVerifier *EventAttestationVerifierRaw) 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 (*EventAttestationVerifierRaw) Transact ¶
func (_EventAttestationVerifier *EventAttestationVerifierRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*EventAttestationVerifierRaw) Transfer ¶
func (_EventAttestationVerifier *EventAttestationVerifierRaw) 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 EventAttestationVerifierSession ¶
type EventAttestationVerifierSession struct { Contract *EventAttestationVerifier // 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 }
EventAttestationVerifierSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*EventAttestationVerifierSession) DecodeAndVerifyEvent ¶
func (_EventAttestationVerifier *EventAttestationVerifierSession) DecodeAndVerifyEvent(_blockchainId *big.Int, arg1 [32]byte, _encodedEvent []byte, _signatures []byte) (bool, error)
DecodeAndVerifyEvent is a free data retrieval call binding the contract method 0x4c1ce902.
Solidity: function decodeAndVerifyEvent(uint256 _blockchainId, bytes32 , bytes _encodedEvent, bytes _signatures) view returns(bool)
func (*EventAttestationVerifierSession) ECDSASIGNATURE ¶
func (_EventAttestationVerifier *EventAttestationVerifierSession) ECDSASIGNATURE() (*big.Int, error)
ECDSASIGNATURE is a free data retrieval call binding the contract method 0xd068a7c2.
Solidity: function ECDSA_SIGNATURE() view returns(uint256)
func (*EventAttestationVerifierSession) GetSignerList ¶
func (_EventAttestationVerifier *EventAttestationVerifierSession) GetSignerList(arg0 *big.Int) ([]common.Address, error)
GetSignerList is a free data retrieval call binding the contract method 0xd453f0ba.
Solidity: function getSignerList(uint256 ) pure returns(address[])
func (*EventAttestationVerifierSession) SupportedSigningAlgorithm ¶
func (_EventAttestationVerifier *EventAttestationVerifierSession) SupportedSigningAlgorithm(arg0 *big.Int) (*big.Int, error)
SupportedSigningAlgorithm is a free data retrieval call binding the contract method 0x7d1f1801.
Solidity: function supportedSigningAlgorithm(uint256 ) pure returns(uint256)
type EventAttestationVerifierTransactor ¶
type EventAttestationVerifierTransactor struct {
// contains filtered or unexported fields
}
EventAttestationVerifierTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewEventAttestationVerifierTransactor ¶
func NewEventAttestationVerifierTransactor(address common.Address, transactor bind.ContractTransactor) (*EventAttestationVerifierTransactor, error)
NewEventAttestationVerifierTransactor creates a new write-only instance of EventAttestationVerifier, bound to a specific deployed contract.
type EventAttestationVerifierTransactorRaw ¶
type EventAttestationVerifierTransactorRaw struct {
Contract *EventAttestationVerifierTransactor // Generic write-only contract binding to access the raw methods on
}
EventAttestationVerifierTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*EventAttestationVerifierTransactorRaw) Transact ¶
func (_EventAttestationVerifier *EventAttestationVerifierTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*EventAttestationVerifierTransactorRaw) Transfer ¶
func (_EventAttestationVerifier *EventAttestationVerifierTransactorRaw) 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 EventAttestationVerifierTransactorSession ¶
type EventAttestationVerifierTransactorSession struct { Contract *EventAttestationVerifierTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
EventAttestationVerifierTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
type Registrar ¶
type Registrar struct { RegistrarCaller // Read-only binding to the contract RegistrarTransactor // Write-only binding to the contract RegistrarFilterer // Log filterer for contract events }
Registrar is an auto generated Go binding around an Ethereum contract.
func DeployRegistrar ¶
func DeployRegistrar(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *Registrar, error)
DeployRegistrar deploys a new Ethereum contract, binding an instance of Registrar to it.
func NewRegistrar ¶
NewRegistrar creates a new instance of Registrar, bound to a specific deployed contract.
type RegistrarCaller ¶
type RegistrarCaller struct {
// contains filtered or unexported fields
}
RegistrarCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewRegistrarCaller ¶
func NewRegistrarCaller(address common.Address, caller bind.ContractCaller) (*RegistrarCaller, error)
NewRegistrarCaller creates a new read-only instance of Registrar, bound to a specific deployed contract.
func (*RegistrarCaller) ECDSASIGNATURE ¶
ECDSASIGNATURE is a free data retrieval call binding the contract method 0xd068a7c2.
Solidity: function ECDSA_SIGNATURE() view returns(uint256)
func (*RegistrarCaller) GetSigningThreshold ¶
func (_Registrar *RegistrarCaller) GetSigningThreshold(opts *bind.CallOpts, _blockchainId *big.Int) (*big.Int, error)
GetSigningThreshold is a free data retrieval call binding the contract method 0xa64ce199.
Solidity: function getSigningThreshold(uint256 _blockchainId) view returns(uint256)
func (*RegistrarCaller) IsSigner ¶
func (_Registrar *RegistrarCaller) IsSigner(opts *bind.CallOpts, _blockchainId *big.Int, _mightBeSigner common.Address) (bool, error)
IsSigner is a free data retrieval call binding the contract method 0x48bcbd2d.
Solidity: function isSigner(uint256 _blockchainId, address _mightBeSigner) view returns(bool)
func (*RegistrarCaller) NumSigners ¶
func (_Registrar *RegistrarCaller) NumSigners(opts *bind.CallOpts, _blockchainId *big.Int) (*big.Int, error)
NumSigners is a free data retrieval call binding the contract method 0xf5e232ea.
Solidity: function numSigners(uint256 _blockchainId) view returns(uint256)
func (*RegistrarCaller) Owner ¶
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*RegistrarCaller) Verify ¶
func (_Registrar *RegistrarCaller) Verify(opts *bind.CallOpts, _blockchainId *big.Int, _signatures []byte, _plainText []byte) (bool, error)
Verify is a free data retrieval call binding the contract method 0x9a8bb0c4.
Solidity: function verify(uint256 _blockchainId, bytes _signatures, bytes _plainText) view returns(bool)
func (*RegistrarCaller) VerifyAndCheckThreshold ¶
func (_Registrar *RegistrarCaller) VerifyAndCheckThreshold(opts *bind.CallOpts, _blockchainId *big.Int, _signatures []byte, _plainText []byte) error
VerifyAndCheckThreshold is a free data retrieval call binding the contract method 0x49046940.
Solidity: function verifyAndCheckThreshold(uint256 _blockchainId, bytes _signatures, bytes _plainText) view returns()
type RegistrarCallerRaw ¶
type RegistrarCallerRaw struct {
Contract *RegistrarCaller // Generic read-only contract binding to access the raw methods on
}
RegistrarCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*RegistrarCallerRaw) Call ¶
func (_Registrar *RegistrarCallerRaw) 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 RegistrarCallerSession ¶
type RegistrarCallerSession struct { Contract *RegistrarCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
RegistrarCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*RegistrarCallerSession) ECDSASIGNATURE ¶
func (_Registrar *RegistrarCallerSession) ECDSASIGNATURE() (*big.Int, error)
ECDSASIGNATURE is a free data retrieval call binding the contract method 0xd068a7c2.
Solidity: function ECDSA_SIGNATURE() view returns(uint256)
func (*RegistrarCallerSession) GetSigningThreshold ¶
func (_Registrar *RegistrarCallerSession) GetSigningThreshold(_blockchainId *big.Int) (*big.Int, error)
GetSigningThreshold is a free data retrieval call binding the contract method 0xa64ce199.
Solidity: function getSigningThreshold(uint256 _blockchainId) view returns(uint256)
func (*RegistrarCallerSession) IsSigner ¶
func (_Registrar *RegistrarCallerSession) IsSigner(_blockchainId *big.Int, _mightBeSigner common.Address) (bool, error)
IsSigner is a free data retrieval call binding the contract method 0x48bcbd2d.
Solidity: function isSigner(uint256 _blockchainId, address _mightBeSigner) view returns(bool)
func (*RegistrarCallerSession) NumSigners ¶
NumSigners is a free data retrieval call binding the contract method 0xf5e232ea.
Solidity: function numSigners(uint256 _blockchainId) view returns(uint256)
func (*RegistrarCallerSession) Owner ¶
func (_Registrar *RegistrarCallerSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*RegistrarCallerSession) Verify ¶
func (_Registrar *RegistrarCallerSession) Verify(_blockchainId *big.Int, _signatures []byte, _plainText []byte) (bool, error)
Verify is a free data retrieval call binding the contract method 0x9a8bb0c4.
Solidity: function verify(uint256 _blockchainId, bytes _signatures, bytes _plainText) view returns(bool)
func (*RegistrarCallerSession) VerifyAndCheckThreshold ¶
func (_Registrar *RegistrarCallerSession) VerifyAndCheckThreshold(_blockchainId *big.Int, _signatures []byte, _plainText []byte) error
VerifyAndCheckThreshold is a free data retrieval call binding the contract method 0x49046940.
Solidity: function verifyAndCheckThreshold(uint256 _blockchainId, bytes _signatures, bytes _plainText) view returns()
type RegistrarFilterer ¶
type RegistrarFilterer struct {
// contains filtered or unexported fields
}
RegistrarFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewRegistrarFilterer ¶
func NewRegistrarFilterer(address common.Address, filterer bind.ContractFilterer) (*RegistrarFilterer, error)
NewRegistrarFilterer creates a new log filterer instance of Registrar, bound to a specific deployed contract.
func (*RegistrarFilterer) FilterOwnershipTransferred ¶
func (_Registrar *RegistrarFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*RegistrarOwnershipTransferredIterator, error)
FilterOwnershipTransferred is a free log retrieval operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
func (*RegistrarFilterer) ParseOwnershipTransferred ¶
func (_Registrar *RegistrarFilterer) ParseOwnershipTransferred(log types.Log) (*RegistrarOwnershipTransferred, error)
ParseOwnershipTransferred is a log parse operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
func (*RegistrarFilterer) WatchOwnershipTransferred ¶
func (_Registrar *RegistrarFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *RegistrarOwnershipTransferred, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error)
WatchOwnershipTransferred is a free log subscription operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
type RegistrarOwnershipTransferred ¶
type RegistrarOwnershipTransferred struct { PreviousOwner common.Address NewOwner common.Address Raw types.Log // Blockchain specific contextual infos }
RegistrarOwnershipTransferred represents a OwnershipTransferred event raised by the Registrar contract.
type RegistrarOwnershipTransferredIterator ¶
type RegistrarOwnershipTransferredIterator struct { Event *RegistrarOwnershipTransferred // Event containing the contract specifics and raw log // contains filtered or unexported fields }
RegistrarOwnershipTransferredIterator is returned from FilterOwnershipTransferred and is used to iterate over the raw logs and unpacked data for OwnershipTransferred events raised by the Registrar contract.
func (*RegistrarOwnershipTransferredIterator) Close ¶
func (it *RegistrarOwnershipTransferredIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*RegistrarOwnershipTransferredIterator) Error ¶
func (it *RegistrarOwnershipTransferredIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*RegistrarOwnershipTransferredIterator) Next ¶
func (it *RegistrarOwnershipTransferredIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type RegistrarRaw ¶
type RegistrarRaw struct {
Contract *Registrar // Generic contract binding to access the raw methods on
}
RegistrarRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*RegistrarRaw) Call ¶
func (_Registrar *RegistrarRaw) 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 (*RegistrarRaw) Transact ¶
func (_Registrar *RegistrarRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*RegistrarRaw) Transfer ¶
func (_Registrar *RegistrarRaw) 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 RegistrarSession ¶
type RegistrarSession struct { Contract *Registrar // 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 }
RegistrarSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*RegistrarSession) AddSigner ¶
func (_Registrar *RegistrarSession) AddSigner(_bcId *big.Int, _signer common.Address) (*types.Transaction, error)
AddSigner is a paid mutator transaction binding the contract method 0x15a09825.
Solidity: function addSigner(uint256 _bcId, address _signer) returns()
func (*RegistrarSession) AddSignerSetThreshold ¶
func (_Registrar *RegistrarSession) AddSignerSetThreshold(_bcId *big.Int, _signer common.Address, _newSigningThreshold *big.Int) (*types.Transaction, error)
AddSignerSetThreshold is a paid mutator transaction binding the contract method 0x00ab2414.
Solidity: function addSignerSetThreshold(uint256 _bcId, address _signer, uint256 _newSigningThreshold) returns()
func (*RegistrarSession) AddSignersSetThreshold ¶
func (_Registrar *RegistrarSession) AddSignersSetThreshold(_bcId *big.Int, _signers []common.Address, _newSigningThreshold *big.Int) (*types.Transaction, error)
AddSignersSetThreshold is a paid mutator transaction binding the contract method 0x8d7678fd.
Solidity: function addSignersSetThreshold(uint256 _bcId, address[] _signers, uint256 _newSigningThreshold) returns()
func (*RegistrarSession) ECDSASIGNATURE ¶
func (_Registrar *RegistrarSession) ECDSASIGNATURE() (*big.Int, error)
ECDSASIGNATURE is a free data retrieval call binding the contract method 0xd068a7c2.
Solidity: function ECDSA_SIGNATURE() view returns(uint256)
func (*RegistrarSession) GetSigningThreshold ¶
GetSigningThreshold is a free data retrieval call binding the contract method 0xa64ce199.
Solidity: function getSigningThreshold(uint256 _blockchainId) view returns(uint256)
func (*RegistrarSession) IsSigner ¶
func (_Registrar *RegistrarSession) IsSigner(_blockchainId *big.Int, _mightBeSigner common.Address) (bool, error)
IsSigner is a free data retrieval call binding the contract method 0x48bcbd2d.
Solidity: function isSigner(uint256 _blockchainId, address _mightBeSigner) view returns(bool)
func (*RegistrarSession) NumSigners ¶
NumSigners is a free data retrieval call binding the contract method 0xf5e232ea.
Solidity: function numSigners(uint256 _blockchainId) view returns(uint256)
func (*RegistrarSession) Owner ¶
func (_Registrar *RegistrarSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*RegistrarSession) RemoveSigner ¶
func (_Registrar *RegistrarSession) RemoveSigner(_bcId *big.Int, _signer common.Address) (*types.Transaction, error)
RemoveSigner is a paid mutator transaction binding the contract method 0x3156d37c.
Solidity: function removeSigner(uint256 _bcId, address _signer) returns()
func (*RegistrarSession) RemoveSignerSetThreshold ¶
func (_Registrar *RegistrarSession) RemoveSignerSetThreshold(_bcId *big.Int, _signer common.Address, _newSigningThreshold *big.Int) (*types.Transaction, error)
RemoveSignerSetThreshold is a paid mutator transaction binding the contract method 0xd4c0d34d.
Solidity: function removeSignerSetThreshold(uint256 _bcId, address _signer, uint256 _newSigningThreshold) returns()
func (*RegistrarSession) RenounceOwnership ¶
func (_Registrar *RegistrarSession) RenounceOwnership() (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*RegistrarSession) SetThreshold ¶
func (_Registrar *RegistrarSession) SetThreshold(_bcId *big.Int, _newSigningThreshold *big.Int) (*types.Transaction, error)
SetThreshold is a paid mutator transaction binding the contract method 0xb9c36209.
Solidity: function setThreshold(uint256 _bcId, uint256 _newSigningThreshold) returns()
func (*RegistrarSession) TransferOwnership ¶
func (_Registrar *RegistrarSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(address newOwner) returns()
func (*RegistrarSession) Verify ¶
func (_Registrar *RegistrarSession) Verify(_blockchainId *big.Int, _signatures []byte, _plainText []byte) (bool, error)
Verify is a free data retrieval call binding the contract method 0x9a8bb0c4.
Solidity: function verify(uint256 _blockchainId, bytes _signatures, bytes _plainText) view returns(bool)
func (*RegistrarSession) VerifyAndCheckThreshold ¶
func (_Registrar *RegistrarSession) VerifyAndCheckThreshold(_blockchainId *big.Int, _signatures []byte, _plainText []byte) error
VerifyAndCheckThreshold is a free data retrieval call binding the contract method 0x49046940.
Solidity: function verifyAndCheckThreshold(uint256 _blockchainId, bytes _signatures, bytes _plainText) view returns()
type RegistrarTransactor ¶
type RegistrarTransactor struct {
// contains filtered or unexported fields
}
RegistrarTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewRegistrarTransactor ¶
func NewRegistrarTransactor(address common.Address, transactor bind.ContractTransactor) (*RegistrarTransactor, error)
NewRegistrarTransactor creates a new write-only instance of Registrar, bound to a specific deployed contract.
func (*RegistrarTransactor) AddSigner ¶
func (_Registrar *RegistrarTransactor) AddSigner(opts *bind.TransactOpts, _bcId *big.Int, _signer common.Address) (*types.Transaction, error)
AddSigner is a paid mutator transaction binding the contract method 0x15a09825.
Solidity: function addSigner(uint256 _bcId, address _signer) returns()
func (*RegistrarTransactor) AddSignerSetThreshold ¶
func (_Registrar *RegistrarTransactor) AddSignerSetThreshold(opts *bind.TransactOpts, _bcId *big.Int, _signer common.Address, _newSigningThreshold *big.Int) (*types.Transaction, error)
AddSignerSetThreshold is a paid mutator transaction binding the contract method 0x00ab2414.
Solidity: function addSignerSetThreshold(uint256 _bcId, address _signer, uint256 _newSigningThreshold) returns()
func (*RegistrarTransactor) AddSignersSetThreshold ¶
func (_Registrar *RegistrarTransactor) AddSignersSetThreshold(opts *bind.TransactOpts, _bcId *big.Int, _signers []common.Address, _newSigningThreshold *big.Int) (*types.Transaction, error)
AddSignersSetThreshold is a paid mutator transaction binding the contract method 0x8d7678fd.
Solidity: function addSignersSetThreshold(uint256 _bcId, address[] _signers, uint256 _newSigningThreshold) returns()
func (*RegistrarTransactor) RemoveSigner ¶
func (_Registrar *RegistrarTransactor) RemoveSigner(opts *bind.TransactOpts, _bcId *big.Int, _signer common.Address) (*types.Transaction, error)
RemoveSigner is a paid mutator transaction binding the contract method 0x3156d37c.
Solidity: function removeSigner(uint256 _bcId, address _signer) returns()
func (*RegistrarTransactor) RemoveSignerSetThreshold ¶
func (_Registrar *RegistrarTransactor) RemoveSignerSetThreshold(opts *bind.TransactOpts, _bcId *big.Int, _signer common.Address, _newSigningThreshold *big.Int) (*types.Transaction, error)
RemoveSignerSetThreshold is a paid mutator transaction binding the contract method 0xd4c0d34d.
Solidity: function removeSignerSetThreshold(uint256 _bcId, address _signer, uint256 _newSigningThreshold) returns()
func (*RegistrarTransactor) RenounceOwnership ¶
func (_Registrar *RegistrarTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*RegistrarTransactor) SetThreshold ¶
func (_Registrar *RegistrarTransactor) SetThreshold(opts *bind.TransactOpts, _bcId *big.Int, _newSigningThreshold *big.Int) (*types.Transaction, error)
SetThreshold is a paid mutator transaction binding the contract method 0xb9c36209.
Solidity: function setThreshold(uint256 _bcId, uint256 _newSigningThreshold) returns()
func (*RegistrarTransactor) TransferOwnership ¶
func (_Registrar *RegistrarTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(address newOwner) returns()
type RegistrarTransactorRaw ¶
type RegistrarTransactorRaw struct {
Contract *RegistrarTransactor // Generic write-only contract binding to access the raw methods on
}
RegistrarTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*RegistrarTransactorRaw) Transact ¶
func (_Registrar *RegistrarTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*RegistrarTransactorRaw) Transfer ¶
func (_Registrar *RegistrarTransactorRaw) 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 RegistrarTransactorSession ¶
type RegistrarTransactorSession struct { Contract *RegistrarTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
RegistrarTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*RegistrarTransactorSession) AddSigner ¶
func (_Registrar *RegistrarTransactorSession) AddSigner(_bcId *big.Int, _signer common.Address) (*types.Transaction, error)
AddSigner is a paid mutator transaction binding the contract method 0x15a09825.
Solidity: function addSigner(uint256 _bcId, address _signer) returns()
func (*RegistrarTransactorSession) AddSignerSetThreshold ¶
func (_Registrar *RegistrarTransactorSession) AddSignerSetThreshold(_bcId *big.Int, _signer common.Address, _newSigningThreshold *big.Int) (*types.Transaction, error)
AddSignerSetThreshold is a paid mutator transaction binding the contract method 0x00ab2414.
Solidity: function addSignerSetThreshold(uint256 _bcId, address _signer, uint256 _newSigningThreshold) returns()
func (*RegistrarTransactorSession) AddSignersSetThreshold ¶
func (_Registrar *RegistrarTransactorSession) AddSignersSetThreshold(_bcId *big.Int, _signers []common.Address, _newSigningThreshold *big.Int) (*types.Transaction, error)
AddSignersSetThreshold is a paid mutator transaction binding the contract method 0x8d7678fd.
Solidity: function addSignersSetThreshold(uint256 _bcId, address[] _signers, uint256 _newSigningThreshold) returns()
func (*RegistrarTransactorSession) RemoveSigner ¶
func (_Registrar *RegistrarTransactorSession) RemoveSigner(_bcId *big.Int, _signer common.Address) (*types.Transaction, error)
RemoveSigner is a paid mutator transaction binding the contract method 0x3156d37c.
Solidity: function removeSigner(uint256 _bcId, address _signer) returns()
func (*RegistrarTransactorSession) RemoveSignerSetThreshold ¶
func (_Registrar *RegistrarTransactorSession) RemoveSignerSetThreshold(_bcId *big.Int, _signer common.Address, _newSigningThreshold *big.Int) (*types.Transaction, error)
RemoveSignerSetThreshold is a paid mutator transaction binding the contract method 0xd4c0d34d.
Solidity: function removeSignerSetThreshold(uint256 _bcId, address _signer, uint256 _newSigningThreshold) returns()
func (*RegistrarTransactorSession) RenounceOwnership ¶
func (_Registrar *RegistrarTransactorSession) RenounceOwnership() (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*RegistrarTransactorSession) SetThreshold ¶
func (_Registrar *RegistrarTransactorSession) SetThreshold(_bcId *big.Int, _newSigningThreshold *big.Int) (*types.Transaction, error)
SetThreshold is a paid mutator transaction binding the contract method 0xb9c36209.
Solidity: function setThreshold(uint256 _bcId, uint256 _newSigningThreshold) returns()
func (*RegistrarTransactorSession) TransferOwnership ¶
func (_Registrar *RegistrarTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(address newOwner) returns()
type SignedEventStore ¶
type SignedEventStore struct { SignedEventStoreCaller // Read-only binding to the contract SignedEventStoreTransactor // Write-only binding to the contract SignedEventStoreFilterer // Log filterer for contract events }
SignedEventStore is an auto generated Go binding around an Ethereum contract.
func DeploySignedEventStore ¶
func DeploySignedEventStore(auth *bind.TransactOpts, backend bind.ContractBackend, _registrar common.Address, _functionCall common.Address) (common.Address, *types.Transaction, *SignedEventStore, error)
DeploySignedEventStore deploys a new Ethereum contract, binding an instance of SignedEventStore to it.
func NewSignedEventStore ¶
func NewSignedEventStore(address common.Address, backend bind.ContractBackend) (*SignedEventStore, error)
NewSignedEventStore creates a new instance of SignedEventStore, bound to a specific deployed contract.
type SignedEventStoreCaller ¶
type SignedEventStoreCaller struct {
// contains filtered or unexported fields
}
SignedEventStoreCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewSignedEventStoreCaller ¶
func NewSignedEventStoreCaller(address common.Address, caller bind.ContractCaller) (*SignedEventStoreCaller, error)
NewSignedEventStoreCaller creates a new read-only instance of SignedEventStore, bound to a specific deployed contract.
func (*SignedEventStoreCaller) DecodeAndVerifyEvent ¶
func (_SignedEventStore *SignedEventStoreCaller) DecodeAndVerifyEvent(opts *bind.CallOpts, _blockchainId *big.Int, arg1 [32]byte, _encodedEvent []byte, arg3 []byte) (bool, error)
DecodeAndVerifyEvent is a free data retrieval call binding the contract method 0x4c1ce902.
Solidity: function decodeAndVerifyEvent(uint256 _blockchainId, bytes32 , bytes _encodedEvent, bytes ) view returns(bool)
func (*SignedEventStoreCaller) ECDSASIGNATURE ¶
func (_SignedEventStore *SignedEventStoreCaller) ECDSASIGNATURE(opts *bind.CallOpts) (*big.Int, error)
ECDSASIGNATURE is a free data retrieval call binding the contract method 0xd068a7c2.
Solidity: function ECDSA_SIGNATURE() view returns(uint256)
func (*SignedEventStoreCaller) GetSignerList ¶
func (_SignedEventStore *SignedEventStoreCaller) GetSignerList(opts *bind.CallOpts, arg0 *big.Int) ([]common.Address, error)
GetSignerList is a free data retrieval call binding the contract method 0xd453f0ba.
Solidity: function getSignerList(uint256 ) pure returns(address[])
func (*SignedEventStoreCaller) SupportedSigningAlgorithm ¶
func (_SignedEventStore *SignedEventStoreCaller) SupportedSigningAlgorithm(opts *bind.CallOpts, arg0 *big.Int) (*big.Int, error)
SupportedSigningAlgorithm is a free data retrieval call binding the contract method 0x7d1f1801.
Solidity: function supportedSigningAlgorithm(uint256 ) pure returns(uint256)
type SignedEventStoreCallerRaw ¶
type SignedEventStoreCallerRaw struct {
Contract *SignedEventStoreCaller // Generic read-only contract binding to access the raw methods on
}
SignedEventStoreCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*SignedEventStoreCallerRaw) Call ¶
func (_SignedEventStore *SignedEventStoreCallerRaw) 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 SignedEventStoreCallerSession ¶
type SignedEventStoreCallerSession struct { Contract *SignedEventStoreCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
SignedEventStoreCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*SignedEventStoreCallerSession) DecodeAndVerifyEvent ¶
func (_SignedEventStore *SignedEventStoreCallerSession) DecodeAndVerifyEvent(_blockchainId *big.Int, arg1 [32]byte, _encodedEvent []byte, arg3 []byte) (bool, error)
DecodeAndVerifyEvent is a free data retrieval call binding the contract method 0x4c1ce902.
Solidity: function decodeAndVerifyEvent(uint256 _blockchainId, bytes32 , bytes _encodedEvent, bytes ) view returns(bool)
func (*SignedEventStoreCallerSession) ECDSASIGNATURE ¶
func (_SignedEventStore *SignedEventStoreCallerSession) ECDSASIGNATURE() (*big.Int, error)
ECDSASIGNATURE is a free data retrieval call binding the contract method 0xd068a7c2.
Solidity: function ECDSA_SIGNATURE() view returns(uint256)
func (*SignedEventStoreCallerSession) GetSignerList ¶
func (_SignedEventStore *SignedEventStoreCallerSession) GetSignerList(arg0 *big.Int) ([]common.Address, error)
GetSignerList is a free data retrieval call binding the contract method 0xd453f0ba.
Solidity: function getSignerList(uint256 ) pure returns(address[])
func (*SignedEventStoreCallerSession) SupportedSigningAlgorithm ¶
func (_SignedEventStore *SignedEventStoreCallerSession) SupportedSigningAlgorithm(arg0 *big.Int) (*big.Int, error)
SupportedSigningAlgorithm is a free data retrieval call binding the contract method 0x7d1f1801.
Solidity: function supportedSigningAlgorithm(uint256 ) pure returns(uint256)
type SignedEventStoreFilterer ¶
type SignedEventStoreFilterer struct {
// contains filtered or unexported fields
}
SignedEventStoreFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewSignedEventStoreFilterer ¶
func NewSignedEventStoreFilterer(address common.Address, filterer bind.ContractFilterer) (*SignedEventStoreFilterer, error)
NewSignedEventStoreFilterer creates a new log filterer instance of SignedEventStore, bound to a specific deployed contract.
type SignedEventStoreRaw ¶
type SignedEventStoreRaw struct {
Contract *SignedEventStore // Generic contract binding to access the raw methods on
}
SignedEventStoreRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*SignedEventStoreRaw) Call ¶
func (_SignedEventStore *SignedEventStoreRaw) 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 (*SignedEventStoreRaw) Transact ¶
func (_SignedEventStore *SignedEventStoreRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*SignedEventStoreRaw) Transfer ¶
func (_SignedEventStore *SignedEventStoreRaw) 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 SignedEventStoreSession ¶
type SignedEventStoreSession struct { Contract *SignedEventStore // 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 }
SignedEventStoreSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*SignedEventStoreSession) DecodeAndVerifyEvent ¶
func (_SignedEventStore *SignedEventStoreSession) DecodeAndVerifyEvent(_blockchainId *big.Int, arg1 [32]byte, _encodedEvent []byte, arg3 []byte) (bool, error)
DecodeAndVerifyEvent is a free data retrieval call binding the contract method 0x4c1ce902.
Solidity: function decodeAndVerifyEvent(uint256 _blockchainId, bytes32 , bytes _encodedEvent, bytes ) view returns(bool)
func (*SignedEventStoreSession) ECDSASIGNATURE ¶
func (_SignedEventStore *SignedEventStoreSession) ECDSASIGNATURE() (*big.Int, error)
ECDSASIGNATURE is a free data retrieval call binding the contract method 0xd068a7c2.
Solidity: function ECDSA_SIGNATURE() view returns(uint256)
func (*SignedEventStoreSession) GetSignerList ¶
func (_SignedEventStore *SignedEventStoreSession) GetSignerList(arg0 *big.Int) ([]common.Address, error)
GetSignerList is a free data retrieval call binding the contract method 0xd453f0ba.
Solidity: function getSignerList(uint256 ) pure returns(address[])
func (*SignedEventStoreSession) RelayEvent ¶
func (_SignedEventStore *SignedEventStoreSession) RelayEvent(_sourceBlockchainId *big.Int, _sourceCbcAddress common.Address, _eventData []byte, _signatures []byte) (*types.Transaction, error)
RelayEvent is a paid mutator transaction binding the contract method 0x1cd8253a.
Solidity: function relayEvent(uint256 _sourceBlockchainId, address _sourceCbcAddress, bytes _eventData, bytes _signatures) returns()
func (*SignedEventStoreSession) SupportedSigningAlgorithm ¶
func (_SignedEventStore *SignedEventStoreSession) SupportedSigningAlgorithm(arg0 *big.Int) (*big.Int, error)
SupportedSigningAlgorithm is a free data retrieval call binding the contract method 0x7d1f1801.
Solidity: function supportedSigningAlgorithm(uint256 ) pure returns(uint256)
type SignedEventStoreTransactor ¶
type SignedEventStoreTransactor struct {
// contains filtered or unexported fields
}
SignedEventStoreTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewSignedEventStoreTransactor ¶
func NewSignedEventStoreTransactor(address common.Address, transactor bind.ContractTransactor) (*SignedEventStoreTransactor, error)
NewSignedEventStoreTransactor creates a new write-only instance of SignedEventStore, bound to a specific deployed contract.
func (*SignedEventStoreTransactor) RelayEvent ¶
func (_SignedEventStore *SignedEventStoreTransactor) RelayEvent(opts *bind.TransactOpts, _sourceBlockchainId *big.Int, _sourceCbcAddress common.Address, _eventData []byte, _signatures []byte) (*types.Transaction, error)
RelayEvent is a paid mutator transaction binding the contract method 0x1cd8253a.
Solidity: function relayEvent(uint256 _sourceBlockchainId, address _sourceCbcAddress, bytes _eventData, bytes _signatures) returns()
type SignedEventStoreTransactorRaw ¶
type SignedEventStoreTransactorRaw struct {
Contract *SignedEventStoreTransactor // Generic write-only contract binding to access the raw methods on
}
SignedEventStoreTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*SignedEventStoreTransactorRaw) Transact ¶
func (_SignedEventStore *SignedEventStoreTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*SignedEventStoreTransactorRaw) Transfer ¶
func (_SignedEventStore *SignedEventStoreTransactorRaw) 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 SignedEventStoreTransactorSession ¶
type SignedEventStoreTransactorSession struct { Contract *SignedEventStoreTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
SignedEventStoreTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*SignedEventStoreTransactorSession) RelayEvent ¶
func (_SignedEventStore *SignedEventStoreTransactorSession) RelayEvent(_sourceBlockchainId *big.Int, _sourceCbcAddress common.Address, _eventData []byte, _signatures []byte) (*types.Transaction, error)
RelayEvent is a paid mutator transaction binding the contract method 0x1cd8253a.
Solidity: function relayEvent(uint256 _sourceBlockchainId, address _sourceCbcAddress, bytes _eventData, bytes _signatures) returns()