Documentation ¶
Index ¶
- Variables
- type BinaryMerkleProof
- type BinaryMerkleTree
- type BinaryMerkleTreeCaller
- type BinaryMerkleTreeCallerRaw
- type BinaryMerkleTreeCallerSession
- type BinaryMerkleTreeFilterer
- type BinaryMerkleTreeRaw
- func (_BinaryMerkleTree *BinaryMerkleTreeRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_BinaryMerkleTree *BinaryMerkleTreeRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_BinaryMerkleTree *BinaryMerkleTreeRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type BinaryMerkleTreeSession
- type BinaryMerkleTreeTransactor
- type BinaryMerkleTreeTransactorRaw
- type BinaryMerkleTreeTransactorSession
- type Constants
- type ConstantsCaller
- type ConstantsCallerRaw
- type ConstantsCallerSession
- type ConstantsFilterer
- type ConstantsRaw
- func (_Constants *ConstantsRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_Constants *ConstantsRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_Constants *ConstantsRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type ConstantsSession
- type ConstantsTransactor
- type ConstantsTransactorRaw
- type ConstantsTransactorSession
- type DataRootTuple
- type ECDSA
- type ECDSACaller
- type ECDSACallerRaw
- type ECDSACallerSession
- type ECDSAFilterer
- type ECDSARaw
- func (_ECDSA *ECDSARaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_ECDSA *ECDSARaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_ECDSA *ECDSARaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type ECDSASession
- type ECDSATransactor
- type ECDSATransactorRaw
- type ECDSATransactorSession
- type IDAOracle
- type IDAOracleCaller
- type IDAOracleCallerRaw
- type IDAOracleCallerSession
- type IDAOracleFilterer
- type IDAOracleRaw
- func (_IDAOracle *IDAOracleRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_IDAOracle *IDAOracleRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_IDAOracle *IDAOracleRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type IDAOracleSession
- type IDAOracleTransactor
- type IDAOracleTransactorRaw
- type IDAOracleTransactorSession
- type QuantumGravityBridge
- type QuantumGravityBridgeCaller
- func (_QuantumGravityBridge *QuantumGravityBridgeCaller) BRIDGEID(opts *bind.CallOpts) ([32]byte, error)
- func (_QuantumGravityBridge *QuantumGravityBridgeCaller) StateDataRootTupleRoots(opts *bind.CallOpts, arg0 *big.Int) ([32]byte, error)
- func (_QuantumGravityBridge *QuantumGravityBridgeCaller) StateEventNonce(opts *bind.CallOpts) (*big.Int, error)
- func (_QuantumGravityBridge *QuantumGravityBridgeCaller) StateLastValidatorSetCheckpoint(opts *bind.CallOpts) ([32]byte, error)
- func (_QuantumGravityBridge *QuantumGravityBridgeCaller) StatePowerThreshold(opts *bind.CallOpts) (*big.Int, error)
- func (_QuantumGravityBridge *QuantumGravityBridgeCaller) VerifyAttestation(opts *bind.CallOpts, _tupleRootNonce *big.Int, _tuple DataRootTuple, ...) (bool, error)
- type QuantumGravityBridgeCallerRaw
- type QuantumGravityBridgeCallerSession
- func (_QuantumGravityBridge *QuantumGravityBridgeCallerSession) BRIDGEID() ([32]byte, error)
- func (_QuantumGravityBridge *QuantumGravityBridgeCallerSession) StateDataRootTupleRoots(arg0 *big.Int) ([32]byte, error)
- func (_QuantumGravityBridge *QuantumGravityBridgeCallerSession) StateEventNonce() (*big.Int, error)
- func (_QuantumGravityBridge *QuantumGravityBridgeCallerSession) StateLastValidatorSetCheckpoint() ([32]byte, error)
- func (_QuantumGravityBridge *QuantumGravityBridgeCallerSession) StatePowerThreshold() (*big.Int, error)
- func (_QuantumGravityBridge *QuantumGravityBridgeCallerSession) VerifyAttestation(_tupleRootNonce *big.Int, _tuple DataRootTuple, _proof BinaryMerkleProof) (bool, error)
- type QuantumGravityBridgeDataRootTupleRootEvent
- type QuantumGravityBridgeDataRootTupleRootEventIterator
- type QuantumGravityBridgeFilterer
- func (_QuantumGravityBridge *QuantumGravityBridgeFilterer) FilterDataRootTupleRootEvent(opts *bind.FilterOpts, nonce []*big.Int) (*QuantumGravityBridgeDataRootTupleRootEventIterator, error)
- func (_QuantumGravityBridge *QuantumGravityBridgeFilterer) FilterValidatorSetUpdatedEvent(opts *bind.FilterOpts, nonce []*big.Int) (*QuantumGravityBridgeValidatorSetUpdatedEventIterator, error)
- func (_QuantumGravityBridge *QuantumGravityBridgeFilterer) ParseDataRootTupleRootEvent(log types.Log) (*QuantumGravityBridgeDataRootTupleRootEvent, error)
- func (_QuantumGravityBridge *QuantumGravityBridgeFilterer) ParseValidatorSetUpdatedEvent(log types.Log) (*QuantumGravityBridgeValidatorSetUpdatedEvent, error)
- func (_QuantumGravityBridge *QuantumGravityBridgeFilterer) WatchDataRootTupleRootEvent(opts *bind.WatchOpts, sink chan<- *QuantumGravityBridgeDataRootTupleRootEvent, ...) (event.Subscription, error)
- func (_QuantumGravityBridge *QuantumGravityBridgeFilterer) WatchValidatorSetUpdatedEvent(opts *bind.WatchOpts, ...) (event.Subscription, error)
- type QuantumGravityBridgeRaw
- func (_QuantumGravityBridge *QuantumGravityBridgeRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_QuantumGravityBridge *QuantumGravityBridgeRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_QuantumGravityBridge *QuantumGravityBridgeRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type QuantumGravityBridgeSession
- func (_QuantumGravityBridge *QuantumGravityBridgeSession) BRIDGEID() ([32]byte, error)
- func (_QuantumGravityBridge *QuantumGravityBridgeSession) StateDataRootTupleRoots(arg0 *big.Int) ([32]byte, error)
- func (_QuantumGravityBridge *QuantumGravityBridgeSession) StateEventNonce() (*big.Int, error)
- func (_QuantumGravityBridge *QuantumGravityBridgeSession) StateLastValidatorSetCheckpoint() ([32]byte, error)
- func (_QuantumGravityBridge *QuantumGravityBridgeSession) StatePowerThreshold() (*big.Int, error)
- func (_QuantumGravityBridge *QuantumGravityBridgeSession) SubmitDataRootTupleRoot(_newNonce *big.Int, _validatorSetNonce *big.Int, _dataRootTupleRoot [32]byte, ...) (*types.Transaction, error)
- func (_QuantumGravityBridge *QuantumGravityBridgeSession) UpdateValidatorSet(_newNonce *big.Int, _newPowerThreshold *big.Int, _newValidatorSetHash [32]byte, ...) (*types.Transaction, error)
- func (_QuantumGravityBridge *QuantumGravityBridgeSession) VerifyAttestation(_tupleRootNonce *big.Int, _tuple DataRootTuple, _proof BinaryMerkleProof) (bool, error)
- type QuantumGravityBridgeTransactor
- func (_QuantumGravityBridge *QuantumGravityBridgeTransactor) SubmitDataRootTupleRoot(opts *bind.TransactOpts, _newNonce *big.Int, _validatorSetNonce *big.Int, ...) (*types.Transaction, error)
- func (_QuantumGravityBridge *QuantumGravityBridgeTransactor) UpdateValidatorSet(opts *bind.TransactOpts, _newNonce *big.Int, _newPowerThreshold *big.Int, ...) (*types.Transaction, error)
- type QuantumGravityBridgeTransactorRaw
- type QuantumGravityBridgeTransactorSession
- func (_QuantumGravityBridge *QuantumGravityBridgeTransactorSession) SubmitDataRootTupleRoot(_newNonce *big.Int, _validatorSetNonce *big.Int, _dataRootTupleRoot [32]byte, ...) (*types.Transaction, error)
- func (_QuantumGravityBridge *QuantumGravityBridgeTransactorSession) UpdateValidatorSet(_newNonce *big.Int, _newPowerThreshold *big.Int, _newValidatorSetHash [32]byte, ...) (*types.Transaction, error)
- type QuantumGravityBridgeValidatorSetUpdatedEvent
- type QuantumGravityBridgeValidatorSetUpdatedEventIterator
- type Signature
- type Validator
Constants ¶
This section is empty.
Variables ¶
var BinaryMerkleTreeABI = BinaryMerkleTreeMetaData.ABI
BinaryMerkleTreeABI is the input ABI used to generate the binding from. Deprecated: Use BinaryMerkleTreeMetaData.ABI instead.
var BinaryMerkleTreeBin = BinaryMerkleTreeMetaData.Bin
BinaryMerkleTreeBin is the compiled bytecode used for deploying new contracts. Deprecated: Use BinaryMerkleTreeMetaData.Bin instead.
var BinaryMerkleTreeMetaData = &bind.MetaData{
ABI: "[]",
Bin: "0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea26469706673582212206e8197a942a023ffcd4628e5d6846bba5bda970775103af3c39314ab3fef231864736f6c634300080d0033",
}
BinaryMerkleTreeMetaData contains all meta data concerning the BinaryMerkleTree contract.
var ConstantsABI = ConstantsMetaData.ABI
ConstantsABI is the input ABI used to generate the binding from. Deprecated: Use ConstantsMetaData.ABI instead.
var ConstantsBin = ConstantsMetaData.Bin
ConstantsBin is the compiled bytecode used for deploying new contracts. Deprecated: Use ConstantsMetaData.Bin instead.
var ConstantsMetaData = &bind.MetaData{
ABI: "[]",
Bin: "0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea26469706673582212206a9239acbf68ca844787307a55250f1802d06ccbb7825c423768928ed6ec10ab64736f6c634300080d0033",
}
ConstantsMetaData contains all meta data concerning the Constants contract.
var ECDSAABI = ECDSAMetaData.ABI
ECDSAABI is the input ABI used to generate the binding from. Deprecated: Use ECDSAMetaData.ABI instead.
var ECDSABin = ECDSAMetaData.Bin
ECDSABin is the compiled bytecode used for deploying new contracts. Deprecated: Use ECDSAMetaData.Bin instead.
var ECDSAMetaData = &bind.MetaData{
ABI: "[]",
Bin: "0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220b7e74eeb868f863a6c65bcb79a1af8a776fbb7f1dc0f3343dba5c990f9a7d86d64736f6c634300080d0033",
}
ECDSAMetaData contains all meta data concerning the ECDSA contract.
var IDAOracleABI = IDAOracleMetaData.ABI
IDAOracleABI is the input ABI used to generate the binding from. Deprecated: Use IDAOracleMetaData.ABI instead.
var IDAOracleFuncSigs = IDAOracleMetaData.Sigs
Deprecated: Use IDAOracleMetaData.Sigs instead. IDAOracleFuncSigs maps the 4-byte function signature to its string representation.
var IDAOracleMetaData = &bind.MetaData{ ABI: "[{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_tupleRootNonce\",\"type\":\"uint256\"},{\"components\":[{\"internalType\":\"uint256\",\"name\":\"height\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"dataRoot\",\"type\":\"bytes32\"}],\"internalType\":\"structDataRootTuple\",\"name\":\"_tuple\",\"type\":\"tuple\"},{\"components\":[{\"internalType\":\"bytes32[]\",\"name\":\"sideNodes\",\"type\":\"bytes32[]\"},{\"internalType\":\"uint256\",\"name\":\"key\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"numLeaves\",\"type\":\"uint256\"}],\"internalType\":\"structBinaryMerkleProof\",\"name\":\"_proof\",\"type\":\"tuple\"}],\"name\":\"verifyAttestation\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"}]", Sigs: map[string]string{ "1f3302a9": "verifyAttestation(uint256,(uint256,bytes32),(bytes32[],uint256,uint256))", }, }
IDAOracleMetaData contains all meta data concerning the IDAOracle contract.
var QuantumGravityBridgeABI = QuantumGravityBridgeMetaData.ABI
QuantumGravityBridgeABI is the input ABI used to generate the binding from. Deprecated: Use QuantumGravityBridgeMetaData.ABI instead.
var QuantumGravityBridgeBin = QuantumGravityBridgeMetaData.Bin
QuantumGravityBridgeBin is the compiled bytecode used for deploying new contracts. Deprecated: Use QuantumGravityBridgeMetaData.Bin instead.
var QuantumGravityBridgeFuncSigs = QuantumGravityBridgeMetaData.Sigs
Deprecated: Use QuantumGravityBridgeMetaData.Sigs instead. QuantumGravityBridgeFuncSigs maps the 4-byte function signature to its string representation.
var QuantumGravityBridgeMetaData = &bind.MetaData{ ABI: "[{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_bridge_id\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"_nonce\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_powerThreshold\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"_validatorSetHash\",\"type\":\"bytes32\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"inputs\":[],\"name\":\"InsufficientVotingPower\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidDataRootTupleRootNonce\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidSignature\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidValidatorSetNonce\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"MalformedCurrentValidatorSet\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"SuppliedValidatorSetInvalid\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"nonce\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"dataRootTupleRoot\",\"type\":\"bytes32\"}],\"name\":\"DataRootTupleRootEvent\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"nonce\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"powerThreshold\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"validatorSetHash\",\"type\":\"bytes32\"}],\"name\":\"ValidatorSetUpdatedEvent\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"BRIDGE_ID\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"state_dataRootTupleRoots\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"state_eventNonce\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"state_lastValidatorSetCheckpoint\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"state_powerThreshold\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_newNonce\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_validatorSetNonce\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"_dataRootTupleRoot\",\"type\":\"bytes32\"},{\"components\":[{\"internalType\":\"address\",\"name\":\"addr\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"power\",\"type\":\"uint256\"}],\"internalType\":\"structValidator[]\",\"name\":\"_currentValidatorSet\",\"type\":\"tuple[]\"},{\"components\":[{\"internalType\":\"uint8\",\"name\":\"v\",\"type\":\"uint8\"},{\"internalType\":\"bytes32\",\"name\":\"r\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"s\",\"type\":\"bytes32\"}],\"internalType\":\"structSignature[]\",\"name\":\"_sigs\",\"type\":\"tuple[]\"}],\"name\":\"submitDataRootTupleRoot\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_newNonce\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_newPowerThreshold\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"_newValidatorSetHash\",\"type\":\"bytes32\"},{\"components\":[{\"internalType\":\"address\",\"name\":\"addr\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"power\",\"type\":\"uint256\"}],\"internalType\":\"structValidator[]\",\"name\":\"_currentValidatorSet\",\"type\":\"tuple[]\"},{\"components\":[{\"internalType\":\"uint8\",\"name\":\"v\",\"type\":\"uint8\"},{\"internalType\":\"bytes32\",\"name\":\"r\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"s\",\"type\":\"bytes32\"}],\"internalType\":\"structSignature[]\",\"name\":\"_sigs\",\"type\":\"tuple[]\"}],\"name\":\"updateValidatorSet\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_tupleRootNonce\",\"type\":\"uint256\"},{\"components\":[{\"internalType\":\"uint256\",\"name\":\"height\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"dataRoot\",\"type\":\"bytes32\"}],\"internalType\":\"structDataRootTuple\",\"name\":\"_tuple\",\"type\":\"tuple\"},{\"components\":[{\"internalType\":\"bytes32[]\",\"name\":\"sideNodes\",\"type\":\"bytes32[]\"},{\"internalType\":\"uint256\",\"name\":\"key\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"numLeaves\",\"type\":\"uint256\"}],\"internalType\":\"structBinaryMerkleProof\",\"name\":\"_proof\",\"type\":\"tuple\"}],\"name\":\"verifyAttestation\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"}]", Sigs: map[string]string{ "af4482af": "BRIDGE_ID()", "817f985b": "state_dataRootTupleRoots(uint256)", "cdade866": "state_eventNonce()", "5433218c": "state_lastValidatorSetCheckpoint()", "e5a2b5d2": "state_powerThreshold()", "e23eb326": "submitDataRootTupleRoot(uint256,uint256,bytes32,(address,uint256)[],(uint8,bytes32,bytes32)[])", "4693c0df": "updateValidatorSet(uint256,uint256,bytes32,(address,uint256)[],(uint8,bytes32,bytes32)[])", "1f3302a9": "verifyAttestation(uint256,(uint256,bytes32),(bytes32[],uint256,uint256))", }, Bin: "0x60a060405234801561001057600080fd5b506040516113f23803806113f283398101604081905261002f916100d3565b60808481526040805160208082018890526918da1958dadc1bda5b9d60b21b828401526060820187905292810185905260a08082018590528251808303909101815260c08201808452815191909401206002879055600081905560018690559285905260e08101849052905185917fe55fb3cbbfe29b13c7f8a35ef23127e7df9ab88df16bac166ad254a20f02414c91908190036101000190a25050505050610109565b600080600080608085870312156100e957600080fd5b505082516020840151604085015160609095015191969095509092509050565b6080516112b26101406000396000818161010601528181610217015281816102630152818161035a01526103a501526112b26000f3fe608060405234801561001057600080fd5b50600436106100885760003560e01c8063af4482af1161005b578063af4482af14610101578063cdade86614610128578063e23eb32614610131578063e5a2b5d21461014457600080fd5b80631f3302a91461008d5780634693c0df146100b55780635433218c146100ca578063817f985b146100e1575b600080fd5b6100a061009b366004610e37565b61014d565b60405190151581526020015b60405180910390f35b6100c86100c3366004610fa5565b6101af565b005b6100d360005481565b6040519081526020016100ac565b6100d36100ef366004611063565b60036020526000908152604090205481565b6100d37f000000000000000000000000000000000000000000000000000000000000000081565b6100d360025481565b6100c861013f366004610fa5565b6102f2565b6100d360015481565b6000600254841115610161575060006101a8565b60008481526003602090815260408083205481518751818501529287015183830152815180840383018152606090930190915291906101a39083908690610463565b925050505b9392505050565b60025460018054906101c2908390611092565b89146101e1576040516368a35ffd60e11b815260040160405180910390fd5b8483146102015760405163c6617b7b60e01b815260040160405180910390fd5b600061020d87876106d3565b905060005461023e7f0000000000000000000000000000000000000000000000000000000000000000858585610707565b1461025c57604051630bbdaec960e11b815260040160405180910390fd5b600061028a7f00000000000000000000000000000000000000000000000000000000000000008c8c8c610707565b905061029a888888888588610758565b600081905560018a905560028b9055604080518b8152602081018b90528c917fe55fb3cbbfe29b13c7f8a35ef23127e7df9ab88df16bac166ad254a20f02414c91015b60405180910390a25050505050505050505050565b6002546001805490610305908390611092565b89146103245760405163e869766d60e01b815260040160405180910390fd5b8483146103445760405163c6617b7b60e01b815260040160405180910390fd5b600061035087876106d3565b90506000546103817f00000000000000000000000000000000000000000000000000000000000000008b8585610707565b1461039f57604051630bbdaec960e11b815260040160405180910390fd5b604080517f00000000000000000000000000000000000000000000000000000000000000006020808301919091526f0e8e4c2dce6c2c6e8d2dedc84c2e8c6d60831b82840152606082018d905260808083018c90528351808403909101815260a09092019092528051910120610419888888888588610758565b60028b905560008b815260036020526040908190208a9055518b907f6614d037bde4905e31ca5ff05de61964c267f28b0320ed49e59f7d99752e1c4f906102dd908c815260200190565b600060018360400151116104865782515115610481575060006101a8565b6104a8565b6104988360200151846040015161085d565b835151146104a8575060006101a8565b82604001518360200151106104bf575060006101a8565b60006104ca836108e3565b8451519091506000036104f65783604001516001036104ec57841490506101a8565b60009150506101a8565b60208401516001905b60208601516000906001841b906105179082906110aa565b61052191906110cc565b90506000600161053381861b84611092565b61053d91906110eb565b905087604001518110610551575050610617565b91508161055f6001856110eb565b88515111610575576000955050505050506101a8565b6105806001856110eb565b6001901b82896020015161059491906110eb565b10156105d15787516105ca9086906105ad6001886110eb565b815181106105bd576105bd611102565b6020026020010151610958565b9450610603565b8751610600906105e26001876110eb565b815181106105f2576105f2611102565b602002602001015186610958565b94505b61060e600185611092565b935050506104ff565b6001866040015161062891906110eb565b8114610670576106396001836110eb565b8651511161064d57600093505050506101a8565b85516106609084906105ad6001866110eb565b925061066d600183611092565b91505b85515161067e6001846110eb565b10156106c75785516106b3906106956001856110eb565b815181106106a5576106a5611102565b602002602001015184610958565b92506106c0600183611092565b9150610670565b50509093149392505050565b600082826040516020016106e8929190611134565b6040516020818303038152906040528051906020012090505b92915050565b604080516020808201969096526918da1958dadc1bda5b9d60b21b818301526060810194909452608084019290925260a0808401919091528151808403909101815260c09092019052805191012090565b6000805b868110156108325761078486868381811061077957610779611102565b9050606002016109d6565b610820576107d188888381811061079d5761079d611102565b6107b3926020604090920201908101915061118b565b858888858181106107c6576107c6611102565b905060600201610a0a565b6107ee57604051638baa579f60e01b815260040160405180910390fd5b87878281811061080057610800611102565b90506040020160200135826108159190611092565b915082821015610832575b8061082a816111a6565b91505061075c565b50818110156108545760405163cabeb65560e01b815260040160405180910390fd5b50505050505050565b600061086882610aa4565b610874906101006110eb565b905060006108836001836110eb565b6001901b905060018161089691906110eb565b84116108a25750610701565b806001036108b4576001915050610701565b6108d06108c182866110eb565b6108cb83866110eb565b61085d565b6108db906001611092565b915050610701565b60006002600060f81b836040516020016108fe9291906111fa565b60408051601f19818403018152908290526109189161121e565b602060405180830381855afa158015610935573d6000803e3d6000fd5b5050506040513d601f19601f82011682018060405250810190610701919061122a565b604051600160f81b6020820152602181018390526041810182905260009060029060610160408051601f19818403018152908290526109969161121e565b602060405180830381855afa1580156109b3573d6000803e3d6000fd5b5050506040513d601f19601f820116820180604052508101906101a8919061122a565b600060208201351580156109ec57506040820135155b80156107015750610a006020830183611243565b60ff161592915050565b600080610a64846040517f19457468657265756d205369676e6564204d6573736167653a0a3332000000006020820152603c8101829052600090605c01604051602081830303815290604052805190602001209050919050565b9050610a8681610a776020860186611243565b85602001358660400135610ad1565b6001600160a01b0316856001600160a01b0316149150509392505050565b60005b81816001901b1015610ac557610abe600182611092565b9050610aa7565b610701816101006110eb565b6000806000610ae287878787610af9565b91509150610aef81610be6565b5095945050505050565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a0831115610b305750600090506003610bdd565b8460ff16601b14158015610b4857508460ff16601c14155b15610b595750600090506004610bdd565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa158015610bad573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b038116610bd657600060019250925050610bdd565b9150600090505b94509492505050565b6000816004811115610bfa57610bfa611266565b03610c025750565b6001816004811115610c1657610c16611266565b03610c685760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e6174757265000000000000000060448201526064015b60405180910390fd5b6002816004811115610c7c57610c7c611266565b03610cc95760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e677468006044820152606401610c5f565b6003816004811115610cdd57610cdd611266565b03610d355760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b6064820152608401610c5f565b6004816004811115610d4957610d49611266565b03610da15760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202776272076616c604482015261756560f01b6064820152608401610c5f565b50565b634e487b7160e01b600052604160045260246000fd5b6040805190810167ffffffffffffffff81118282101715610ddd57610ddd610da4565b60405290565b6040516060810167ffffffffffffffff81118282101715610ddd57610ddd610da4565b604051601f8201601f1916810167ffffffffffffffff81118282101715610e2f57610e2f610da4565b604052919050565b60008060008385036080811215610e4d57600080fd5b8435935060206040601f1983011215610e6557600080fd5b610e6d610dba565b86820135815260408701358282015293506060860135915067ffffffffffffffff80831115610e9b57600080fd5b9186019160608389031215610eaf57600080fd5b610eb7610de3565b833582811115610ec657600080fd5b8401601f81018a13610ed757600080fd5b803583811115610ee957610ee9610da4565b8060051b9350610efa858501610e06565b818152938201850193858101908c861115610f1457600080fd5b928601925b85841015610f3257833582529286019290860190610f19565b80855250505050828401358382015260408401356040820152809450505050509250925092565b60008083601f840112610f6b57600080fd5b50813567ffffffffffffffff811115610f8357600080fd5b602083019150836020606083028501011115610f9e57600080fd5b9250929050565b600080600080600080600060a0888a031215610fc057600080fd5b873596506020880135955060408801359450606088013567ffffffffffffffff80821115610fed57600080fd5b818a0191508a601f83011261100157600080fd5b81358181111561101057600080fd5b8b60208260061b850101111561102557600080fd5b6020830196508095505060808a013591508082111561104357600080fd5b506110508a828b01610f59565b989b979a50959850939692959293505050565b60006020828403121561107557600080fd5b5035919050565b634e487b7160e01b600052601160045260246000fd5b600082198211156110a5576110a561107c565b500190565b6000826110c757634e487b7160e01b600052601260045260246000fd5b500490565b60008160001904831182151516156110e6576110e661107c565b500290565b6000828210156110fd576110fd61107c565b500390565b634e487b7160e01b600052603260045260246000fd5b80356001600160a01b038116811461112f57600080fd5b919050565b6020808252818101839052600090604080840186845b8781101561117e576001600160a01b0361116383611118565b1683528185013585840152918301919083019060010161114a565b5090979650505050505050565b60006020828403121561119d57600080fd5b6101a882611118565b6000600182016111b8576111b861107c565b5060010190565b6000815160005b818110156111e057602081850181015186830152016111c6565b818111156111ef576000828601525b509290920192915050565b6001600160f81b031983168152600061121660018301846111bf565b949350505050565b60006101a882846111bf565b60006020828403121561123c57600080fd5b5051919050565b60006020828403121561125557600080fd5b813560ff811681146101a857600080fd5b634e487b7160e01b600052602160045260246000fdfea2646970667358221220175d2f1bb102113e76afcaa0dee9c26fb198b425c379df246ff37efbe1465b7364736f6c634300080d0033", }
QuantumGravityBridgeMetaData contains all meta data concerning the QuantumGravityBridge contract.
Functions ¶
This section is empty.
Types ¶
type BinaryMerkleProof ¶
BinaryMerkleProof is an auto generated low-level Go binding around an user-defined struct.
type BinaryMerkleTree ¶
type BinaryMerkleTree struct { BinaryMerkleTreeCaller // Read-only binding to the contract BinaryMerkleTreeTransactor // Write-only binding to the contract BinaryMerkleTreeFilterer // Log filterer for contract events }
BinaryMerkleTree is an auto generated Go binding around an Ethereum contract.
func DeployBinaryMerkleTree ¶
func DeployBinaryMerkleTree(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *BinaryMerkleTree, error)
DeployBinaryMerkleTree deploys a new Ethereum contract, binding an instance of BinaryMerkleTree to it.
func NewBinaryMerkleTree ¶
func NewBinaryMerkleTree(address common.Address, backend bind.ContractBackend) (*BinaryMerkleTree, error)
NewBinaryMerkleTree creates a new instance of BinaryMerkleTree, bound to a specific deployed contract.
type BinaryMerkleTreeCaller ¶
type BinaryMerkleTreeCaller struct {
// contains filtered or unexported fields
}
BinaryMerkleTreeCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewBinaryMerkleTreeCaller ¶
func NewBinaryMerkleTreeCaller(address common.Address, caller bind.ContractCaller) (*BinaryMerkleTreeCaller, error)
NewBinaryMerkleTreeCaller creates a new read-only instance of BinaryMerkleTree, bound to a specific deployed contract.
type BinaryMerkleTreeCallerRaw ¶
type BinaryMerkleTreeCallerRaw struct {
Contract *BinaryMerkleTreeCaller // Generic read-only contract binding to access the raw methods on
}
BinaryMerkleTreeCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*BinaryMerkleTreeCallerRaw) Call ¶
func (_BinaryMerkleTree *BinaryMerkleTreeCallerRaw) 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 BinaryMerkleTreeCallerSession ¶
type BinaryMerkleTreeCallerSession struct { Contract *BinaryMerkleTreeCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
BinaryMerkleTreeCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
type BinaryMerkleTreeFilterer ¶
type BinaryMerkleTreeFilterer struct {
// contains filtered or unexported fields
}
BinaryMerkleTreeFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewBinaryMerkleTreeFilterer ¶
func NewBinaryMerkleTreeFilterer(address common.Address, filterer bind.ContractFilterer) (*BinaryMerkleTreeFilterer, error)
NewBinaryMerkleTreeFilterer creates a new log filterer instance of BinaryMerkleTree, bound to a specific deployed contract.
type BinaryMerkleTreeRaw ¶
type BinaryMerkleTreeRaw struct {
Contract *BinaryMerkleTree // Generic contract binding to access the raw methods on
}
BinaryMerkleTreeRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*BinaryMerkleTreeRaw) Call ¶
func (_BinaryMerkleTree *BinaryMerkleTreeRaw) 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 (*BinaryMerkleTreeRaw) Transact ¶
func (_BinaryMerkleTree *BinaryMerkleTreeRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*BinaryMerkleTreeRaw) Transfer ¶
func (_BinaryMerkleTree *BinaryMerkleTreeRaw) 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 BinaryMerkleTreeSession ¶
type BinaryMerkleTreeSession struct { Contract *BinaryMerkleTree // 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 }
BinaryMerkleTreeSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
type BinaryMerkleTreeTransactor ¶
type BinaryMerkleTreeTransactor struct {
// contains filtered or unexported fields
}
BinaryMerkleTreeTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewBinaryMerkleTreeTransactor ¶
func NewBinaryMerkleTreeTransactor(address common.Address, transactor bind.ContractTransactor) (*BinaryMerkleTreeTransactor, error)
NewBinaryMerkleTreeTransactor creates a new write-only instance of BinaryMerkleTree, bound to a specific deployed contract.
type BinaryMerkleTreeTransactorRaw ¶
type BinaryMerkleTreeTransactorRaw struct {
Contract *BinaryMerkleTreeTransactor // Generic write-only contract binding to access the raw methods on
}
BinaryMerkleTreeTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*BinaryMerkleTreeTransactorRaw) Transact ¶
func (_BinaryMerkleTree *BinaryMerkleTreeTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*BinaryMerkleTreeTransactorRaw) Transfer ¶
func (_BinaryMerkleTree *BinaryMerkleTreeTransactorRaw) 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 BinaryMerkleTreeTransactorSession ¶
type BinaryMerkleTreeTransactorSession struct { Contract *BinaryMerkleTreeTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
BinaryMerkleTreeTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
type Constants ¶
type Constants struct { ConstantsCaller // Read-only binding to the contract ConstantsTransactor // Write-only binding to the contract ConstantsFilterer // Log filterer for contract events }
Constants is an auto generated Go binding around an Ethereum contract.
func DeployConstants ¶
func DeployConstants(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *Constants, error)
DeployConstants deploys a new Ethereum contract, binding an instance of Constants to it.
func NewConstants ¶
NewConstants creates a new instance of Constants, bound to a specific deployed contract.
type ConstantsCaller ¶
type ConstantsCaller struct {
// contains filtered or unexported fields
}
ConstantsCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewConstantsCaller ¶
func NewConstantsCaller(address common.Address, caller bind.ContractCaller) (*ConstantsCaller, error)
NewConstantsCaller creates a new read-only instance of Constants, bound to a specific deployed contract.
type ConstantsCallerRaw ¶
type ConstantsCallerRaw struct {
Contract *ConstantsCaller // Generic read-only contract binding to access the raw methods on
}
ConstantsCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*ConstantsCallerRaw) Call ¶
func (_Constants *ConstantsCallerRaw) 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 ConstantsCallerSession ¶
type ConstantsCallerSession struct { Contract *ConstantsCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
ConstantsCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
type ConstantsFilterer ¶
type ConstantsFilterer struct {
// contains filtered or unexported fields
}
ConstantsFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewConstantsFilterer ¶
func NewConstantsFilterer(address common.Address, filterer bind.ContractFilterer) (*ConstantsFilterer, error)
NewConstantsFilterer creates a new log filterer instance of Constants, bound to a specific deployed contract.
type ConstantsRaw ¶
type ConstantsRaw struct {
Contract *Constants // Generic contract binding to access the raw methods on
}
ConstantsRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*ConstantsRaw) Call ¶
func (_Constants *ConstantsRaw) 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 (*ConstantsRaw) Transact ¶
func (_Constants *ConstantsRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*ConstantsRaw) Transfer ¶
func (_Constants *ConstantsRaw) 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 ConstantsSession ¶
type ConstantsSession struct { Contract *Constants // 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 }
ConstantsSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
type ConstantsTransactor ¶
type ConstantsTransactor struct {
// contains filtered or unexported fields
}
ConstantsTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewConstantsTransactor ¶
func NewConstantsTransactor(address common.Address, transactor bind.ContractTransactor) (*ConstantsTransactor, error)
NewConstantsTransactor creates a new write-only instance of Constants, bound to a specific deployed contract.
type ConstantsTransactorRaw ¶
type ConstantsTransactorRaw struct {
Contract *ConstantsTransactor // Generic write-only contract binding to access the raw methods on
}
ConstantsTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*ConstantsTransactorRaw) Transact ¶
func (_Constants *ConstantsTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*ConstantsTransactorRaw) Transfer ¶
func (_Constants *ConstantsTransactorRaw) 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 ConstantsTransactorSession ¶
type ConstantsTransactorSession struct { Contract *ConstantsTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
ConstantsTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
type DataRootTuple ¶
DataRootTuple is an auto generated low-level Go binding around an user-defined struct.
type ECDSA ¶
type ECDSA struct { ECDSACaller // Read-only binding to the contract ECDSATransactor // Write-only binding to the contract ECDSAFilterer // Log filterer for contract events }
ECDSA is an auto generated Go binding around an Ethereum contract.
func DeployECDSA ¶
func DeployECDSA(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *ECDSA, error)
DeployECDSA deploys a new Ethereum contract, binding an instance of ECDSA to it.
type ECDSACaller ¶
type ECDSACaller struct {
// contains filtered or unexported fields
}
ECDSACaller is an auto generated read-only Go binding around an Ethereum contract.
func NewECDSACaller ¶
func NewECDSACaller(address common.Address, caller bind.ContractCaller) (*ECDSACaller, error)
NewECDSACaller creates a new read-only instance of ECDSA, bound to a specific deployed contract.
type ECDSACallerRaw ¶
type ECDSACallerRaw struct {
Contract *ECDSACaller // Generic read-only contract binding to access the raw methods on
}
ECDSACallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*ECDSACallerRaw) Call ¶
func (_ECDSA *ECDSACallerRaw) 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 ECDSACallerSession ¶
type ECDSACallerSession struct { Contract *ECDSACaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
ECDSACallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
type ECDSAFilterer ¶
type ECDSAFilterer struct {
// contains filtered or unexported fields
}
ECDSAFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewECDSAFilterer ¶
func NewECDSAFilterer(address common.Address, filterer bind.ContractFilterer) (*ECDSAFilterer, error)
NewECDSAFilterer creates a new log filterer instance of ECDSA, bound to a specific deployed contract.
type ECDSARaw ¶
type ECDSARaw struct {
Contract *ECDSA // Generic contract binding to access the raw methods on
}
ECDSARaw is an auto generated low-level Go binding around an Ethereum contract.
func (*ECDSARaw) Call ¶
func (_ECDSA *ECDSARaw) 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 (*ECDSARaw) Transact ¶
func (_ECDSA *ECDSARaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*ECDSARaw) Transfer ¶
func (_ECDSA *ECDSARaw) 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 ECDSASession ¶
type ECDSASession struct { Contract *ECDSA // 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 }
ECDSASession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
type ECDSATransactor ¶
type ECDSATransactor struct {
// contains filtered or unexported fields
}
ECDSATransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewECDSATransactor ¶
func NewECDSATransactor(address common.Address, transactor bind.ContractTransactor) (*ECDSATransactor, error)
NewECDSATransactor creates a new write-only instance of ECDSA, bound to a specific deployed contract.
type ECDSATransactorRaw ¶
type ECDSATransactorRaw struct {
Contract *ECDSATransactor // Generic write-only contract binding to access the raw methods on
}
ECDSATransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*ECDSATransactorRaw) Transact ¶
func (_ECDSA *ECDSATransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*ECDSATransactorRaw) Transfer ¶
func (_ECDSA *ECDSATransactorRaw) 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 ECDSATransactorSession ¶
type ECDSATransactorSession struct { Contract *ECDSATransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
ECDSATransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
type IDAOracle ¶
type IDAOracle struct { IDAOracleCaller // Read-only binding to the contract IDAOracleTransactor // Write-only binding to the contract IDAOracleFilterer // Log filterer for contract events }
IDAOracle is an auto generated Go binding around an Ethereum contract.
func NewIDAOracle ¶
NewIDAOracle creates a new instance of IDAOracle, bound to a specific deployed contract.
type IDAOracleCaller ¶
type IDAOracleCaller struct {
// contains filtered or unexported fields
}
IDAOracleCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewIDAOracleCaller ¶
func NewIDAOracleCaller(address common.Address, caller bind.ContractCaller) (*IDAOracleCaller, error)
NewIDAOracleCaller creates a new read-only instance of IDAOracle, bound to a specific deployed contract.
func (*IDAOracleCaller) VerifyAttestation ¶
func (_IDAOracle *IDAOracleCaller) VerifyAttestation(opts *bind.CallOpts, _tupleRootNonce *big.Int, _tuple DataRootTuple, _proof BinaryMerkleProof) (bool, error)
VerifyAttestation is a free data retrieval call binding the contract method 0x1f3302a9.
Solidity: function verifyAttestation(uint256 _tupleRootNonce, (uint256,bytes32) _tuple, (bytes32[],uint256,uint256) _proof) view returns(bool)
type IDAOracleCallerRaw ¶
type IDAOracleCallerRaw struct {
Contract *IDAOracleCaller // Generic read-only contract binding to access the raw methods on
}
IDAOracleCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*IDAOracleCallerRaw) Call ¶
func (_IDAOracle *IDAOracleCallerRaw) 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 IDAOracleCallerSession ¶
type IDAOracleCallerSession struct { Contract *IDAOracleCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
IDAOracleCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*IDAOracleCallerSession) VerifyAttestation ¶
func (_IDAOracle *IDAOracleCallerSession) VerifyAttestation(_tupleRootNonce *big.Int, _tuple DataRootTuple, _proof BinaryMerkleProof) (bool, error)
VerifyAttestation is a free data retrieval call binding the contract method 0x1f3302a9.
Solidity: function verifyAttestation(uint256 _tupleRootNonce, (uint256,bytes32) _tuple, (bytes32[],uint256,uint256) _proof) view returns(bool)
type IDAOracleFilterer ¶
type IDAOracleFilterer struct {
// contains filtered or unexported fields
}
IDAOracleFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewIDAOracleFilterer ¶
func NewIDAOracleFilterer(address common.Address, filterer bind.ContractFilterer) (*IDAOracleFilterer, error)
NewIDAOracleFilterer creates a new log filterer instance of IDAOracle, bound to a specific deployed contract.
type IDAOracleRaw ¶
type IDAOracleRaw struct {
Contract *IDAOracle // Generic contract binding to access the raw methods on
}
IDAOracleRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*IDAOracleRaw) Call ¶
func (_IDAOracle *IDAOracleRaw) 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 (*IDAOracleRaw) Transact ¶
func (_IDAOracle *IDAOracleRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*IDAOracleRaw) Transfer ¶
func (_IDAOracle *IDAOracleRaw) 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 IDAOracleSession ¶
type IDAOracleSession struct { Contract *IDAOracle // 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 }
IDAOracleSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*IDAOracleSession) VerifyAttestation ¶
func (_IDAOracle *IDAOracleSession) VerifyAttestation(_tupleRootNonce *big.Int, _tuple DataRootTuple, _proof BinaryMerkleProof) (bool, error)
VerifyAttestation is a free data retrieval call binding the contract method 0x1f3302a9.
Solidity: function verifyAttestation(uint256 _tupleRootNonce, (uint256,bytes32) _tuple, (bytes32[],uint256,uint256) _proof) view returns(bool)
type IDAOracleTransactor ¶
type IDAOracleTransactor struct {
// contains filtered or unexported fields
}
IDAOracleTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewIDAOracleTransactor ¶
func NewIDAOracleTransactor(address common.Address, transactor bind.ContractTransactor) (*IDAOracleTransactor, error)
NewIDAOracleTransactor creates a new write-only instance of IDAOracle, bound to a specific deployed contract.
type IDAOracleTransactorRaw ¶
type IDAOracleTransactorRaw struct {
Contract *IDAOracleTransactor // Generic write-only contract binding to access the raw methods on
}
IDAOracleTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*IDAOracleTransactorRaw) Transact ¶
func (_IDAOracle *IDAOracleTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*IDAOracleTransactorRaw) Transfer ¶
func (_IDAOracle *IDAOracleTransactorRaw) 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 IDAOracleTransactorSession ¶
type IDAOracleTransactorSession struct { Contract *IDAOracleTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
IDAOracleTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
type QuantumGravityBridge ¶
type QuantumGravityBridge struct { QuantumGravityBridgeCaller // Read-only binding to the contract QuantumGravityBridgeTransactor // Write-only binding to the contract QuantumGravityBridgeFilterer // Log filterer for contract events }
QuantumGravityBridge is an auto generated Go binding around an Ethereum contract.
func DeployQuantumGravityBridge ¶
func DeployQuantumGravityBridge(auth *bind.TransactOpts, backend bind.ContractBackend, _bridge_id [32]byte, _nonce *big.Int, _powerThreshold *big.Int, _validatorSetHash [32]byte) (common.Address, *types.Transaction, *QuantumGravityBridge, error)
DeployQuantumGravityBridge deploys a new Ethereum contract, binding an instance of QuantumGravityBridge to it.
func NewQuantumGravityBridge ¶
func NewQuantumGravityBridge(address common.Address, backend bind.ContractBackend) (*QuantumGravityBridge, error)
NewQuantumGravityBridge creates a new instance of QuantumGravityBridge, bound to a specific deployed contract.
type QuantumGravityBridgeCaller ¶
type QuantumGravityBridgeCaller struct {
// contains filtered or unexported fields
}
QuantumGravityBridgeCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewQuantumGravityBridgeCaller ¶
func NewQuantumGravityBridgeCaller(address common.Address, caller bind.ContractCaller) (*QuantumGravityBridgeCaller, error)
NewQuantumGravityBridgeCaller creates a new read-only instance of QuantumGravityBridge, bound to a specific deployed contract.
func (*QuantumGravityBridgeCaller) BRIDGEID ¶
func (_QuantumGravityBridge *QuantumGravityBridgeCaller) BRIDGEID(opts *bind.CallOpts) ([32]byte, error)
BRIDGEID is a free data retrieval call binding the contract method 0xaf4482af.
Solidity: function BRIDGE_ID() view returns(bytes32)
func (*QuantumGravityBridgeCaller) StateDataRootTupleRoots ¶
func (_QuantumGravityBridge *QuantumGravityBridgeCaller) StateDataRootTupleRoots(opts *bind.CallOpts, arg0 *big.Int) ([32]byte, error)
StateDataRootTupleRoots is a free data retrieval call binding the contract method 0x817f985b.
Solidity: function state_dataRootTupleRoots(uint256 ) view returns(bytes32)
func (*QuantumGravityBridgeCaller) StateEventNonce ¶
func (_QuantumGravityBridge *QuantumGravityBridgeCaller) StateEventNonce(opts *bind.CallOpts) (*big.Int, error)
StateEventNonce is a free data retrieval call binding the contract method 0xcdade866.
Solidity: function state_eventNonce() view returns(uint256)
func (*QuantumGravityBridgeCaller) StateLastValidatorSetCheckpoint ¶
func (_QuantumGravityBridge *QuantumGravityBridgeCaller) StateLastValidatorSetCheckpoint(opts *bind.CallOpts) ([32]byte, error)
StateLastValidatorSetCheckpoint is a free data retrieval call binding the contract method 0x5433218c.
Solidity: function state_lastValidatorSetCheckpoint() view returns(bytes32)
func (*QuantumGravityBridgeCaller) StatePowerThreshold ¶
func (_QuantumGravityBridge *QuantumGravityBridgeCaller) StatePowerThreshold(opts *bind.CallOpts) (*big.Int, error)
StatePowerThreshold is a free data retrieval call binding the contract method 0xe5a2b5d2.
Solidity: function state_powerThreshold() view returns(uint256)
func (*QuantumGravityBridgeCaller) VerifyAttestation ¶
func (_QuantumGravityBridge *QuantumGravityBridgeCaller) VerifyAttestation(opts *bind.CallOpts, _tupleRootNonce *big.Int, _tuple DataRootTuple, _proof BinaryMerkleProof) (bool, error)
VerifyAttestation is a free data retrieval call binding the contract method 0x1f3302a9.
Solidity: function verifyAttestation(uint256 _tupleRootNonce, (uint256,bytes32) _tuple, (bytes32[],uint256,uint256) _proof) view returns(bool)
type QuantumGravityBridgeCallerRaw ¶
type QuantumGravityBridgeCallerRaw struct {
Contract *QuantumGravityBridgeCaller // Generic read-only contract binding to access the raw methods on
}
QuantumGravityBridgeCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*QuantumGravityBridgeCallerRaw) Call ¶
func (_QuantumGravityBridge *QuantumGravityBridgeCallerRaw) 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 QuantumGravityBridgeCallerSession ¶
type QuantumGravityBridgeCallerSession struct { Contract *QuantumGravityBridgeCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
QuantumGravityBridgeCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*QuantumGravityBridgeCallerSession) BRIDGEID ¶
func (_QuantumGravityBridge *QuantumGravityBridgeCallerSession) BRIDGEID() ([32]byte, error)
BRIDGEID is a free data retrieval call binding the contract method 0xaf4482af.
Solidity: function BRIDGE_ID() view returns(bytes32)
func (*QuantumGravityBridgeCallerSession) StateDataRootTupleRoots ¶
func (_QuantumGravityBridge *QuantumGravityBridgeCallerSession) StateDataRootTupleRoots(arg0 *big.Int) ([32]byte, error)
StateDataRootTupleRoots is a free data retrieval call binding the contract method 0x817f985b.
Solidity: function state_dataRootTupleRoots(uint256 ) view returns(bytes32)
func (*QuantumGravityBridgeCallerSession) StateEventNonce ¶
func (_QuantumGravityBridge *QuantumGravityBridgeCallerSession) StateEventNonce() (*big.Int, error)
StateEventNonce is a free data retrieval call binding the contract method 0xcdade866.
Solidity: function state_eventNonce() view returns(uint256)
func (*QuantumGravityBridgeCallerSession) StateLastValidatorSetCheckpoint ¶
func (_QuantumGravityBridge *QuantumGravityBridgeCallerSession) StateLastValidatorSetCheckpoint() ([32]byte, error)
StateLastValidatorSetCheckpoint is a free data retrieval call binding the contract method 0x5433218c.
Solidity: function state_lastValidatorSetCheckpoint() view returns(bytes32)
func (*QuantumGravityBridgeCallerSession) StatePowerThreshold ¶
func (_QuantumGravityBridge *QuantumGravityBridgeCallerSession) StatePowerThreshold() (*big.Int, error)
StatePowerThreshold is a free data retrieval call binding the contract method 0xe5a2b5d2.
Solidity: function state_powerThreshold() view returns(uint256)
func (*QuantumGravityBridgeCallerSession) VerifyAttestation ¶
func (_QuantumGravityBridge *QuantumGravityBridgeCallerSession) VerifyAttestation(_tupleRootNonce *big.Int, _tuple DataRootTuple, _proof BinaryMerkleProof) (bool, error)
VerifyAttestation is a free data retrieval call binding the contract method 0x1f3302a9.
Solidity: function verifyAttestation(uint256 _tupleRootNonce, (uint256,bytes32) _tuple, (bytes32[],uint256,uint256) _proof) view returns(bool)
type QuantumGravityBridgeDataRootTupleRootEvent ¶
type QuantumGravityBridgeDataRootTupleRootEvent struct { Nonce *big.Int DataRootTupleRoot [32]byte Raw types.Log // Blockchain specific contextual infos }
QuantumGravityBridgeDataRootTupleRootEvent represents a DataRootTupleRootEvent event raised by the QuantumGravityBridge contract.
type QuantumGravityBridgeDataRootTupleRootEventIterator ¶
type QuantumGravityBridgeDataRootTupleRootEventIterator struct { Event *QuantumGravityBridgeDataRootTupleRootEvent // Event containing the contract specifics and raw log // contains filtered or unexported fields }
QuantumGravityBridgeDataRootTupleRootEventIterator is returned from FilterDataRootTupleRootEvent and is used to iterate over the raw logs and unpacked data for DataRootTupleRootEvent events raised by the QuantumGravityBridge contract.
func (*QuantumGravityBridgeDataRootTupleRootEventIterator) Close ¶
func (it *QuantumGravityBridgeDataRootTupleRootEventIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*QuantumGravityBridgeDataRootTupleRootEventIterator) Error ¶
func (it *QuantumGravityBridgeDataRootTupleRootEventIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*QuantumGravityBridgeDataRootTupleRootEventIterator) Next ¶
func (it *QuantumGravityBridgeDataRootTupleRootEventIterator) 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 QuantumGravityBridgeFilterer ¶
type QuantumGravityBridgeFilterer struct {
// contains filtered or unexported fields
}
QuantumGravityBridgeFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewQuantumGravityBridgeFilterer ¶
func NewQuantumGravityBridgeFilterer(address common.Address, filterer bind.ContractFilterer) (*QuantumGravityBridgeFilterer, error)
NewQuantumGravityBridgeFilterer creates a new log filterer instance of QuantumGravityBridge, bound to a specific deployed contract.
func (*QuantumGravityBridgeFilterer) FilterDataRootTupleRootEvent ¶
func (_QuantumGravityBridge *QuantumGravityBridgeFilterer) FilterDataRootTupleRootEvent(opts *bind.FilterOpts, nonce []*big.Int) (*QuantumGravityBridgeDataRootTupleRootEventIterator, error)
FilterDataRootTupleRootEvent is a free log retrieval operation binding the contract event 0x6614d037bde4905e31ca5ff05de61964c267f28b0320ed49e59f7d99752e1c4f.
Solidity: event DataRootTupleRootEvent(uint256 indexed nonce, bytes32 dataRootTupleRoot)
func (*QuantumGravityBridgeFilterer) FilterValidatorSetUpdatedEvent ¶
func (_QuantumGravityBridge *QuantumGravityBridgeFilterer) FilterValidatorSetUpdatedEvent(opts *bind.FilterOpts, nonce []*big.Int) (*QuantumGravityBridgeValidatorSetUpdatedEventIterator, error)
FilterValidatorSetUpdatedEvent is a free log retrieval operation binding the contract event 0xe55fb3cbbfe29b13c7f8a35ef23127e7df9ab88df16bac166ad254a20f02414c.
Solidity: event ValidatorSetUpdatedEvent(uint256 indexed nonce, uint256 powerThreshold, bytes32 validatorSetHash)
func (*QuantumGravityBridgeFilterer) ParseDataRootTupleRootEvent ¶
func (_QuantumGravityBridge *QuantumGravityBridgeFilterer) ParseDataRootTupleRootEvent(log types.Log) (*QuantumGravityBridgeDataRootTupleRootEvent, error)
ParseDataRootTupleRootEvent is a log parse operation binding the contract event 0x6614d037bde4905e31ca5ff05de61964c267f28b0320ed49e59f7d99752e1c4f.
Solidity: event DataRootTupleRootEvent(uint256 indexed nonce, bytes32 dataRootTupleRoot)
func (*QuantumGravityBridgeFilterer) ParseValidatorSetUpdatedEvent ¶
func (_QuantumGravityBridge *QuantumGravityBridgeFilterer) ParseValidatorSetUpdatedEvent(log types.Log) (*QuantumGravityBridgeValidatorSetUpdatedEvent, error)
ParseValidatorSetUpdatedEvent is a log parse operation binding the contract event 0xe55fb3cbbfe29b13c7f8a35ef23127e7df9ab88df16bac166ad254a20f02414c.
Solidity: event ValidatorSetUpdatedEvent(uint256 indexed nonce, uint256 powerThreshold, bytes32 validatorSetHash)
func (*QuantumGravityBridgeFilterer) WatchDataRootTupleRootEvent ¶
func (_QuantumGravityBridge *QuantumGravityBridgeFilterer) WatchDataRootTupleRootEvent(opts *bind.WatchOpts, sink chan<- *QuantumGravityBridgeDataRootTupleRootEvent, nonce []*big.Int) (event.Subscription, error)
WatchDataRootTupleRootEvent is a free log subscription operation binding the contract event 0x6614d037bde4905e31ca5ff05de61964c267f28b0320ed49e59f7d99752e1c4f.
Solidity: event DataRootTupleRootEvent(uint256 indexed nonce, bytes32 dataRootTupleRoot)
func (*QuantumGravityBridgeFilterer) WatchValidatorSetUpdatedEvent ¶
func (_QuantumGravityBridge *QuantumGravityBridgeFilterer) WatchValidatorSetUpdatedEvent(opts *bind.WatchOpts, sink chan<- *QuantumGravityBridgeValidatorSetUpdatedEvent, nonce []*big.Int) (event.Subscription, error)
WatchValidatorSetUpdatedEvent is a free log subscription operation binding the contract event 0xe55fb3cbbfe29b13c7f8a35ef23127e7df9ab88df16bac166ad254a20f02414c.
Solidity: event ValidatorSetUpdatedEvent(uint256 indexed nonce, uint256 powerThreshold, bytes32 validatorSetHash)
type QuantumGravityBridgeRaw ¶
type QuantumGravityBridgeRaw struct {
Contract *QuantumGravityBridge // Generic contract binding to access the raw methods on
}
QuantumGravityBridgeRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*QuantumGravityBridgeRaw) Call ¶
func (_QuantumGravityBridge *QuantumGravityBridgeRaw) 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 (*QuantumGravityBridgeRaw) Transact ¶
func (_QuantumGravityBridge *QuantumGravityBridgeRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*QuantumGravityBridgeRaw) Transfer ¶
func (_QuantumGravityBridge *QuantumGravityBridgeRaw) 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 QuantumGravityBridgeSession ¶
type QuantumGravityBridgeSession struct { Contract *QuantumGravityBridge // 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 }
QuantumGravityBridgeSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*QuantumGravityBridgeSession) BRIDGEID ¶
func (_QuantumGravityBridge *QuantumGravityBridgeSession) BRIDGEID() ([32]byte, error)
BRIDGEID is a free data retrieval call binding the contract method 0xaf4482af.
Solidity: function BRIDGE_ID() view returns(bytes32)
func (*QuantumGravityBridgeSession) StateDataRootTupleRoots ¶
func (_QuantumGravityBridge *QuantumGravityBridgeSession) StateDataRootTupleRoots(arg0 *big.Int) ([32]byte, error)
StateDataRootTupleRoots is a free data retrieval call binding the contract method 0x817f985b.
Solidity: function state_dataRootTupleRoots(uint256 ) view returns(bytes32)
func (*QuantumGravityBridgeSession) StateEventNonce ¶
func (_QuantumGravityBridge *QuantumGravityBridgeSession) StateEventNonce() (*big.Int, error)
StateEventNonce is a free data retrieval call binding the contract method 0xcdade866.
Solidity: function state_eventNonce() view returns(uint256)
func (*QuantumGravityBridgeSession) StateLastValidatorSetCheckpoint ¶
func (_QuantumGravityBridge *QuantumGravityBridgeSession) StateLastValidatorSetCheckpoint() ([32]byte, error)
StateLastValidatorSetCheckpoint is a free data retrieval call binding the contract method 0x5433218c.
Solidity: function state_lastValidatorSetCheckpoint() view returns(bytes32)
func (*QuantumGravityBridgeSession) StatePowerThreshold ¶
func (_QuantumGravityBridge *QuantumGravityBridgeSession) StatePowerThreshold() (*big.Int, error)
StatePowerThreshold is a free data retrieval call binding the contract method 0xe5a2b5d2.
Solidity: function state_powerThreshold() view returns(uint256)
func (*QuantumGravityBridgeSession) SubmitDataRootTupleRoot ¶
func (_QuantumGravityBridge *QuantumGravityBridgeSession) SubmitDataRootTupleRoot(_newNonce *big.Int, _validatorSetNonce *big.Int, _dataRootTupleRoot [32]byte, _currentValidatorSet []Validator, _sigs []Signature) (*types.Transaction, error)
SubmitDataRootTupleRoot is a paid mutator transaction binding the contract method 0xe23eb326.
Solidity: function submitDataRootTupleRoot(uint256 _newNonce, uint256 _validatorSetNonce, bytes32 _dataRootTupleRoot, (address,uint256)[] _currentValidatorSet, (uint8,bytes32,bytes32)[] _sigs) returns()
func (*QuantumGravityBridgeSession) UpdateValidatorSet ¶
func (_QuantumGravityBridge *QuantumGravityBridgeSession) UpdateValidatorSet(_newNonce *big.Int, _newPowerThreshold *big.Int, _newValidatorSetHash [32]byte, _currentValidatorSet []Validator, _sigs []Signature) (*types.Transaction, error)
UpdateValidatorSet is a paid mutator transaction binding the contract method 0x4693c0df.
Solidity: function updateValidatorSet(uint256 _newNonce, uint256 _newPowerThreshold, bytes32 _newValidatorSetHash, (address,uint256)[] _currentValidatorSet, (uint8,bytes32,bytes32)[] _sigs) returns()
func (*QuantumGravityBridgeSession) VerifyAttestation ¶
func (_QuantumGravityBridge *QuantumGravityBridgeSession) VerifyAttestation(_tupleRootNonce *big.Int, _tuple DataRootTuple, _proof BinaryMerkleProof) (bool, error)
VerifyAttestation is a free data retrieval call binding the contract method 0x1f3302a9.
Solidity: function verifyAttestation(uint256 _tupleRootNonce, (uint256,bytes32) _tuple, (bytes32[],uint256,uint256) _proof) view returns(bool)
type QuantumGravityBridgeTransactor ¶
type QuantumGravityBridgeTransactor struct {
// contains filtered or unexported fields
}
QuantumGravityBridgeTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewQuantumGravityBridgeTransactor ¶
func NewQuantumGravityBridgeTransactor(address common.Address, transactor bind.ContractTransactor) (*QuantumGravityBridgeTransactor, error)
NewQuantumGravityBridgeTransactor creates a new write-only instance of QuantumGravityBridge, bound to a specific deployed contract.
func (*QuantumGravityBridgeTransactor) SubmitDataRootTupleRoot ¶
func (_QuantumGravityBridge *QuantumGravityBridgeTransactor) SubmitDataRootTupleRoot(opts *bind.TransactOpts, _newNonce *big.Int, _validatorSetNonce *big.Int, _dataRootTupleRoot [32]byte, _currentValidatorSet []Validator, _sigs []Signature) (*types.Transaction, error)
SubmitDataRootTupleRoot is a paid mutator transaction binding the contract method 0xe23eb326.
Solidity: function submitDataRootTupleRoot(uint256 _newNonce, uint256 _validatorSetNonce, bytes32 _dataRootTupleRoot, (address,uint256)[] _currentValidatorSet, (uint8,bytes32,bytes32)[] _sigs) returns()
func (*QuantumGravityBridgeTransactor) UpdateValidatorSet ¶
func (_QuantumGravityBridge *QuantumGravityBridgeTransactor) UpdateValidatorSet(opts *bind.TransactOpts, _newNonce *big.Int, _newPowerThreshold *big.Int, _newValidatorSetHash [32]byte, _currentValidatorSet []Validator, _sigs []Signature) (*types.Transaction, error)
UpdateValidatorSet is a paid mutator transaction binding the contract method 0x4693c0df.
Solidity: function updateValidatorSet(uint256 _newNonce, uint256 _newPowerThreshold, bytes32 _newValidatorSetHash, (address,uint256)[] _currentValidatorSet, (uint8,bytes32,bytes32)[] _sigs) returns()
type QuantumGravityBridgeTransactorRaw ¶
type QuantumGravityBridgeTransactorRaw struct {
Contract *QuantumGravityBridgeTransactor // Generic write-only contract binding to access the raw methods on
}
QuantumGravityBridgeTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*QuantumGravityBridgeTransactorRaw) Transact ¶
func (_QuantumGravityBridge *QuantumGravityBridgeTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*QuantumGravityBridgeTransactorRaw) Transfer ¶
func (_QuantumGravityBridge *QuantumGravityBridgeTransactorRaw) 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 QuantumGravityBridgeTransactorSession ¶
type QuantumGravityBridgeTransactorSession struct { Contract *QuantumGravityBridgeTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
QuantumGravityBridgeTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*QuantumGravityBridgeTransactorSession) SubmitDataRootTupleRoot ¶
func (_QuantumGravityBridge *QuantumGravityBridgeTransactorSession) SubmitDataRootTupleRoot(_newNonce *big.Int, _validatorSetNonce *big.Int, _dataRootTupleRoot [32]byte, _currentValidatorSet []Validator, _sigs []Signature) (*types.Transaction, error)
SubmitDataRootTupleRoot is a paid mutator transaction binding the contract method 0xe23eb326.
Solidity: function submitDataRootTupleRoot(uint256 _newNonce, uint256 _validatorSetNonce, bytes32 _dataRootTupleRoot, (address,uint256)[] _currentValidatorSet, (uint8,bytes32,bytes32)[] _sigs) returns()
func (*QuantumGravityBridgeTransactorSession) UpdateValidatorSet ¶
func (_QuantumGravityBridge *QuantumGravityBridgeTransactorSession) UpdateValidatorSet(_newNonce *big.Int, _newPowerThreshold *big.Int, _newValidatorSetHash [32]byte, _currentValidatorSet []Validator, _sigs []Signature) (*types.Transaction, error)
UpdateValidatorSet is a paid mutator transaction binding the contract method 0x4693c0df.
Solidity: function updateValidatorSet(uint256 _newNonce, uint256 _newPowerThreshold, bytes32 _newValidatorSetHash, (address,uint256)[] _currentValidatorSet, (uint8,bytes32,bytes32)[] _sigs) returns()
type QuantumGravityBridgeValidatorSetUpdatedEvent ¶
type QuantumGravityBridgeValidatorSetUpdatedEvent struct { Nonce *big.Int PowerThreshold *big.Int ValidatorSetHash [32]byte Raw types.Log // Blockchain specific contextual infos }
QuantumGravityBridgeValidatorSetUpdatedEvent represents a ValidatorSetUpdatedEvent event raised by the QuantumGravityBridge contract.
type QuantumGravityBridgeValidatorSetUpdatedEventIterator ¶
type QuantumGravityBridgeValidatorSetUpdatedEventIterator struct { Event *QuantumGravityBridgeValidatorSetUpdatedEvent // Event containing the contract specifics and raw log // contains filtered or unexported fields }
QuantumGravityBridgeValidatorSetUpdatedEventIterator is returned from FilterValidatorSetUpdatedEvent and is used to iterate over the raw logs and unpacked data for ValidatorSetUpdatedEvent events raised by the QuantumGravityBridge contract.
func (*QuantumGravityBridgeValidatorSetUpdatedEventIterator) Close ¶
func (it *QuantumGravityBridgeValidatorSetUpdatedEventIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*QuantumGravityBridgeValidatorSetUpdatedEventIterator) Error ¶
func (it *QuantumGravityBridgeValidatorSetUpdatedEventIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*QuantumGravityBridgeValidatorSetUpdatedEventIterator) Next ¶
func (it *QuantumGravityBridgeValidatorSetUpdatedEventIterator) 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.