Commit 557071f0 authored by clabby's avatar clabby

chore: bindings

parent 3e4e0be0
This diff is collapsed.
...@@ -509,6 +509,37 @@ func (_FaultDisputeGame *FaultDisputeGameCallerSession) ExtraData() ([]byte, err ...@@ -509,6 +509,37 @@ func (_FaultDisputeGame *FaultDisputeGameCallerSession) ExtraData() ([]byte, err
return _FaultDisputeGame.Contract.ExtraData(&_FaultDisputeGame.CallOpts) return _FaultDisputeGame.Contract.ExtraData(&_FaultDisputeGame.CallOpts)
} }
// ExtraDataLen is a free data retrieval call binding the contract method 0x1f62d0c6.
//
// Solidity: function extraDataLen() pure returns(uint256 extraDataLen_)
func (_FaultDisputeGame *FaultDisputeGameCaller) ExtraDataLen(opts *bind.CallOpts) (*big.Int, error) {
var out []interface{}
err := _FaultDisputeGame.contract.Call(opts, &out, "extraDataLen")
if err != nil {
return *new(*big.Int), err
}
out0 := *abi.ConvertType(out[0], new(*big.Int)).(**big.Int)
return out0, err
}
// ExtraDataLen is a free data retrieval call binding the contract method 0x1f62d0c6.
//
// Solidity: function extraDataLen() pure returns(uint256 extraDataLen_)
func (_FaultDisputeGame *FaultDisputeGameSession) ExtraDataLen() (*big.Int, error) {
return _FaultDisputeGame.Contract.ExtraDataLen(&_FaultDisputeGame.CallOpts)
}
// ExtraDataLen is a free data retrieval call binding the contract method 0x1f62d0c6.
//
// Solidity: function extraDataLen() pure returns(uint256 extraDataLen_)
func (_FaultDisputeGame *FaultDisputeGameCallerSession) ExtraDataLen() (*big.Int, error) {
return _FaultDisputeGame.Contract.ExtraDataLen(&_FaultDisputeGame.CallOpts)
}
// GameData is a free data retrieval call binding the contract method 0xfa24f743. // GameData is a free data retrieval call binding the contract method 0xfa24f743.
// //
// Solidity: function gameData() pure returns(uint8 gameType_, bytes32 rootClaim_, bytes extraData_) // Solidity: function gameData() pure returns(uint8 gameType_, bytes32 rootClaim_, bytes extraData_)
......
This diff is collapsed.
This diff is collapsed.
...@@ -201,12 +201,12 @@ func (_PreimageOracle *PreimageOracleTransactorRaw) Transact(opts *bind.Transact ...@@ -201,12 +201,12 @@ func (_PreimageOracle *PreimageOracleTransactorRaw) Transact(opts *bind.Transact
return _PreimageOracle.Contract.contract.Transact(opts, method, params...) return _PreimageOracle.Contract.contract.Transact(opts, method, params...)
} }
// ComputePreimageKey is a free data retrieval call binding the contract method 0xa57c202c. // ComputeKeccak256PreimageKey is a free data retrieval call binding the contract method 0xdfb77667.
// //
// Solidity: function computePreimageKey(bytes _preimage) pure returns(bytes32 key_) // Solidity: function computeKeccak256PreimageKey(bytes _preimage) pure returns(bytes32 key_)
func (_PreimageOracle *PreimageOracleCaller) ComputePreimageKey(opts *bind.CallOpts, _preimage []byte) ([32]byte, error) { func (_PreimageOracle *PreimageOracleCaller) ComputeKeccak256PreimageKey(opts *bind.CallOpts, _preimage []byte) ([32]byte, error) {
var out []interface{} var out []interface{}
err := _PreimageOracle.contract.Call(opts, &out, "computePreimageKey", _preimage) err := _PreimageOracle.contract.Call(opts, &out, "computeKeccak256PreimageKey", _preimage)
if err != nil { if err != nil {
return *new([32]byte), err return *new([32]byte), err
...@@ -218,18 +218,18 @@ func (_PreimageOracle *PreimageOracleCaller) ComputePreimageKey(opts *bind.CallO ...@@ -218,18 +218,18 @@ func (_PreimageOracle *PreimageOracleCaller) ComputePreimageKey(opts *bind.CallO
} }
// ComputePreimageKey is a free data retrieval call binding the contract method 0xa57c202c. // ComputeKeccak256PreimageKey is a free data retrieval call binding the contract method 0xdfb77667.
// //
// Solidity: function computePreimageKey(bytes _preimage) pure returns(bytes32 key_) // Solidity: function computeKeccak256PreimageKey(bytes _preimage) pure returns(bytes32 key_)
func (_PreimageOracle *PreimageOracleSession) ComputePreimageKey(_preimage []byte) ([32]byte, error) { func (_PreimageOracle *PreimageOracleSession) ComputeKeccak256PreimageKey(_preimage []byte) ([32]byte, error) {
return _PreimageOracle.Contract.ComputePreimageKey(&_PreimageOracle.CallOpts, _preimage) return _PreimageOracle.Contract.ComputeKeccak256PreimageKey(&_PreimageOracle.CallOpts, _preimage)
} }
// ComputePreimageKey is a free data retrieval call binding the contract method 0xa57c202c. // ComputeKeccak256PreimageKey is a free data retrieval call binding the contract method 0xdfb77667.
// //
// Solidity: function computePreimageKey(bytes _preimage) pure returns(bytes32 key_) // Solidity: function computeKeccak256PreimageKey(bytes _preimage) pure returns(bytes32 key_)
func (_PreimageOracle *PreimageOracleCallerSession) ComputePreimageKey(_preimage []byte) ([32]byte, error) { func (_PreimageOracle *PreimageOracleCallerSession) ComputeKeccak256PreimageKey(_preimage []byte) ([32]byte, error) {
return _PreimageOracle.Contract.ComputePreimageKey(&_PreimageOracle.CallOpts, _preimage) return _PreimageOracle.Contract.ComputeKeccak256PreimageKey(&_PreimageOracle.CallOpts, _preimage)
} }
// PreimageLengths is a free data retrieval call binding the contract method 0xfef2b4ed. // PreimageLengths is a free data retrieval call binding the contract method 0xfef2b4ed.
...@@ -411,3 +411,24 @@ func (_PreimageOracle *PreimageOracleSession) LoadKeccak256PreimagePart(_partOff ...@@ -411,3 +411,24 @@ func (_PreimageOracle *PreimageOracleSession) LoadKeccak256PreimagePart(_partOff
func (_PreimageOracle *PreimageOracleTransactorSession) LoadKeccak256PreimagePart(_partOffset *big.Int, _preimage []byte) (*types.Transaction, error) { func (_PreimageOracle *PreimageOracleTransactorSession) LoadKeccak256PreimagePart(_partOffset *big.Int, _preimage []byte) (*types.Transaction, error) {
return _PreimageOracle.Contract.LoadKeccak256PreimagePart(&_PreimageOracle.TransactOpts, _partOffset, _preimage) return _PreimageOracle.Contract.LoadKeccak256PreimagePart(&_PreimageOracle.TransactOpts, _partOffset, _preimage)
} }
// LoadLocalData is a paid mutator transaction binding the contract method 0x3eba58ce.
//
// Solidity: function loadLocalData(bytes _bootInfo) returns()
func (_PreimageOracle *PreimageOracleTransactor) LoadLocalData(opts *bind.TransactOpts, _bootInfo []byte) (*types.Transaction, error) {
return _PreimageOracle.contract.Transact(opts, "loadLocalData", _bootInfo)
}
// LoadLocalData is a paid mutator transaction binding the contract method 0x3eba58ce.
//
// Solidity: function loadLocalData(bytes _bootInfo) returns()
func (_PreimageOracle *PreimageOracleSession) LoadLocalData(_bootInfo []byte) (*types.Transaction, error) {
return _PreimageOracle.Contract.LoadLocalData(&_PreimageOracle.TransactOpts, _bootInfo)
}
// LoadLocalData is a paid mutator transaction binding the contract method 0x3eba58ce.
//
// Solidity: function loadLocalData(bytes _bootInfo) returns()
func (_PreimageOracle *PreimageOracleTransactorSession) LoadLocalData(_bootInfo []byte) (*types.Transaction, error) {
return _PreimageOracle.Contract.LoadLocalData(&_PreimageOracle.TransactOpts, _bootInfo)
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment