abi_root_chain

package
v0.0.0-...-7be3494 Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const AbiRootChainABI = "" /* 5467-byte string literal not displayed */

AbiRootChainABI is the input ABI used to generate the binding from.

Variables

This section is empty.

Functions

This section is empty.

Types

type AbiRootChain

type AbiRootChain struct {
	AbiRootChainCaller     // Read-only binding to the contract
	AbiRootChainTransactor // Write-only binding to the contract
	AbiRootChainFilterer   // Log filterer for contract events
}

AbiRootChain is an auto generated Go binding around an Ethereum contract.

func NewAbiRootChain

func NewAbiRootChain(address common.Address, backend bind.ContractBackend) (*AbiRootChain, error)

NewAbiRootChain creates a new instance of AbiRootChain, bound to a specific deployed contract.

type AbiRootChainCaller

type AbiRootChainCaller struct {
	// contains filtered or unexported fields
}

AbiRootChainCaller is an auto generated read-only Go binding around an Ethereum contract.

func NewAbiRootChainCaller

func NewAbiRootChainCaller(address common.Address, caller bind.ContractCaller) (*AbiRootChainCaller, error)

NewAbiRootChainCaller creates a new read-only instance of AbiRootChain, bound to a specific deployed contract.

func (*AbiRootChainCaller) CHAINID

func (_AbiRootChain *AbiRootChainCaller) CHAINID(opts *bind.CallOpts) (*big.Int, error)

CHAINID is a free data retrieval call binding the contract method 0xcc79f97b.

Solidity: function CHAINID() view returns(uint256)

func (*AbiRootChainCaller) CurrentHeaderBlock

func (_AbiRootChain *AbiRootChainCaller) CurrentHeaderBlock(opts *bind.CallOpts) (*big.Int, error)

CurrentHeaderBlock is a free data retrieval call binding the contract method 0xec7e4855.

Solidity: function currentHeaderBlock() view returns(uint256)

func (*AbiRootChainCaller) GetLastChildBlock

func (_AbiRootChain *AbiRootChainCaller) GetLastChildBlock(opts *bind.CallOpts) (*big.Int, error)

GetLastChildBlock is a free data retrieval call binding the contract method 0xb87e1b66.

Solidity: function getLastChildBlock() view returns(uint256)

func (*AbiRootChainCaller) HeaderBlocks

func (_AbiRootChain *AbiRootChainCaller) HeaderBlocks(opts *bind.CallOpts, arg0 *big.Int) (struct {
	Root      [32]byte
	Start     *big.Int
	End       *big.Int
	CreatedAt *big.Int
	Proposer  common.Address
}, error)

HeaderBlocks is a free data retrieval call binding the contract method 0x41539d4a.

Solidity: function headerBlocks(uint256 ) view returns(bytes32 root, uint256 start, uint256 end, uint256 createdAt, address proposer)

func (*AbiRootChainCaller) HeimdallId

func (_AbiRootChain *AbiRootChainCaller) HeimdallId(opts *bind.CallOpts) ([32]byte, error)

HeimdallId is a free data retrieval call binding the contract method 0xfbc3dd36.

Solidity: function heimdallId() view returns(bytes32)

func (*AbiRootChainCaller) IsOwner

func (_AbiRootChain *AbiRootChainCaller) IsOwner(opts *bind.CallOpts) (bool, error)

IsOwner is a free data retrieval call binding the contract method 0x8f32d59b.

Solidity: function isOwner() view returns(bool)

func (*AbiRootChainCaller) NetworkId

func (_AbiRootChain *AbiRootChainCaller) NetworkId(opts *bind.CallOpts) ([]byte, error)

NetworkId is a free data retrieval call binding the contract method 0x9025e64c.

Solidity: function networkId() view returns(bytes)

func (*AbiRootChainCaller) NextHeaderBlock

func (_AbiRootChain *AbiRootChainCaller) NextHeaderBlock(opts *bind.CallOpts) (*big.Int, error)

NextHeaderBlock is a free data retrieval call binding the contract method 0x8d978d88.

Solidity: function _nextHeaderBlock() view returns(uint256)

func (*AbiRootChainCaller) Owner

func (_AbiRootChain *AbiRootChainCaller) Owner(opts *bind.CallOpts) (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() view returns(address)

func (*AbiRootChainCaller) VOTETYPE

func (_AbiRootChain *AbiRootChainCaller) VOTETYPE(opts *bind.CallOpts) (uint8, error)

VOTETYPE is a free data retrieval call binding the contract method 0xd5b844eb.

Solidity: function VOTE_TYPE() view returns(uint8)

type AbiRootChainCallerRaw

type AbiRootChainCallerRaw struct {
	Contract *AbiRootChainCaller // Generic read-only contract binding to access the raw methods on
}

AbiRootChainCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.

func (*AbiRootChainCallerRaw) Call

func (_AbiRootChain *AbiRootChainCallerRaw) 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 AbiRootChainCallerSession

type AbiRootChainCallerSession struct {
	Contract *AbiRootChainCaller // Generic contract caller binding to set the session for
	CallOpts bind.CallOpts       // Call options to use throughout this session
}

AbiRootChainCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.

func (*AbiRootChainCallerSession) CHAINID

func (_AbiRootChain *AbiRootChainCallerSession) CHAINID() (*big.Int, error)

CHAINID is a free data retrieval call binding the contract method 0xcc79f97b.

Solidity: function CHAINID() view returns(uint256)

func (*AbiRootChainCallerSession) CurrentHeaderBlock

func (_AbiRootChain *AbiRootChainCallerSession) CurrentHeaderBlock() (*big.Int, error)

CurrentHeaderBlock is a free data retrieval call binding the contract method 0xec7e4855.

Solidity: function currentHeaderBlock() view returns(uint256)

func (*AbiRootChainCallerSession) GetLastChildBlock

func (_AbiRootChain *AbiRootChainCallerSession) GetLastChildBlock() (*big.Int, error)

GetLastChildBlock is a free data retrieval call binding the contract method 0xb87e1b66.

Solidity: function getLastChildBlock() view returns(uint256)

func (*AbiRootChainCallerSession) HeaderBlocks

func (_AbiRootChain *AbiRootChainCallerSession) HeaderBlocks(arg0 *big.Int) (struct {
	Root      [32]byte
	Start     *big.Int
	End       *big.Int
	CreatedAt *big.Int
	Proposer  common.Address
}, error)

HeaderBlocks is a free data retrieval call binding the contract method 0x41539d4a.

Solidity: function headerBlocks(uint256 ) view returns(bytes32 root, uint256 start, uint256 end, uint256 createdAt, address proposer)

func (*AbiRootChainCallerSession) HeimdallId

func (_AbiRootChain *AbiRootChainCallerSession) HeimdallId() ([32]byte, error)

HeimdallId is a free data retrieval call binding the contract method 0xfbc3dd36.

Solidity: function heimdallId() view returns(bytes32)

func (*AbiRootChainCallerSession) IsOwner

func (_AbiRootChain *AbiRootChainCallerSession) IsOwner() (bool, error)

IsOwner is a free data retrieval call binding the contract method 0x8f32d59b.

Solidity: function isOwner() view returns(bool)

func (*AbiRootChainCallerSession) NetworkId

func (_AbiRootChain *AbiRootChainCallerSession) NetworkId() ([]byte, error)

NetworkId is a free data retrieval call binding the contract method 0x9025e64c.

Solidity: function networkId() view returns(bytes)

func (*AbiRootChainCallerSession) NextHeaderBlock

func (_AbiRootChain *AbiRootChainCallerSession) NextHeaderBlock() (*big.Int, error)

NextHeaderBlock is a free data retrieval call binding the contract method 0x8d978d88.

Solidity: function _nextHeaderBlock() view returns(uint256)

func (*AbiRootChainCallerSession) Owner

func (_AbiRootChain *AbiRootChainCallerSession) Owner() (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() view returns(address)

func (*AbiRootChainCallerSession) VOTETYPE

func (_AbiRootChain *AbiRootChainCallerSession) VOTETYPE() (uint8, error)

VOTETYPE is a free data retrieval call binding the contract method 0xd5b844eb.

Solidity: function VOTE_TYPE() view returns(uint8)

type AbiRootChainFilterer

type AbiRootChainFilterer struct {
	// contains filtered or unexported fields
}

AbiRootChainFilterer is an auto generated log filtering Go binding around an Ethereum contract events.

func NewAbiRootChainFilterer

func NewAbiRootChainFilterer(address common.Address, filterer bind.ContractFilterer) (*AbiRootChainFilterer, error)

NewAbiRootChainFilterer creates a new log filterer instance of AbiRootChain, bound to a specific deployed contract.

func (*AbiRootChainFilterer) FilterNewHeaderBlock

func (_AbiRootChain *AbiRootChainFilterer) FilterNewHeaderBlock(opts *bind.FilterOpts, proposer []common.Address, headerBlockId []*big.Int, reward []*big.Int) (*AbiRootChainNewHeaderBlockIterator, error)

FilterNewHeaderBlock is a free log retrieval operation binding the contract event 0xba5de06d22af2685c6c7765f60067f7d2b08c2d29f53cdf14d67f6d1c9bfb527.

Solidity: event NewHeaderBlock(address indexed proposer, uint256 indexed headerBlockId, uint256 indexed reward, uint256 start, uint256 end, bytes32 root)

func (*AbiRootChainFilterer) FilterOwnershipTransferred

func (_AbiRootChain *AbiRootChainFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*AbiRootChainOwnershipTransferredIterator, error)

FilterOwnershipTransferred is a free log retrieval operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)

func (*AbiRootChainFilterer) FilterResetHeaderBlock

func (_AbiRootChain *AbiRootChainFilterer) FilterResetHeaderBlock(opts *bind.FilterOpts, proposer []common.Address, headerBlockId []*big.Int) (*AbiRootChainResetHeaderBlockIterator, error)

FilterResetHeaderBlock is a free log retrieval operation binding the contract event 0xca1d8316287f938830e225956a7bb10fd5a1a1506dd2eb3a476751a488117205.

Solidity: event ResetHeaderBlock(address indexed proposer, uint256 indexed headerBlockId)

func (*AbiRootChainFilterer) ParseNewHeaderBlock

func (_AbiRootChain *AbiRootChainFilterer) ParseNewHeaderBlock(log types.Log) (*AbiRootChainNewHeaderBlock, error)

ParseNewHeaderBlock is a log parse operation binding the contract event 0xba5de06d22af2685c6c7765f60067f7d2b08c2d29f53cdf14d67f6d1c9bfb527.

Solidity: event NewHeaderBlock(address indexed proposer, uint256 indexed headerBlockId, uint256 indexed reward, uint256 start, uint256 end, bytes32 root)

func (*AbiRootChainFilterer) ParseOwnershipTransferred

func (_AbiRootChain *AbiRootChainFilterer) ParseOwnershipTransferred(log types.Log) (*AbiRootChainOwnershipTransferred, error)

ParseOwnershipTransferred is a log parse operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)

func (*AbiRootChainFilterer) ParseResetHeaderBlock

func (_AbiRootChain *AbiRootChainFilterer) ParseResetHeaderBlock(log types.Log) (*AbiRootChainResetHeaderBlock, error)

ParseResetHeaderBlock is a log parse operation binding the contract event 0xca1d8316287f938830e225956a7bb10fd5a1a1506dd2eb3a476751a488117205.

Solidity: event ResetHeaderBlock(address indexed proposer, uint256 indexed headerBlockId)

func (*AbiRootChainFilterer) WatchNewHeaderBlock

func (_AbiRootChain *AbiRootChainFilterer) WatchNewHeaderBlock(opts *bind.WatchOpts, sink chan<- *AbiRootChainNewHeaderBlock, proposer []common.Address, headerBlockId []*big.Int, reward []*big.Int) (event.Subscription, error)

WatchNewHeaderBlock is a free log subscription operation binding the contract event 0xba5de06d22af2685c6c7765f60067f7d2b08c2d29f53cdf14d67f6d1c9bfb527.

Solidity: event NewHeaderBlock(address indexed proposer, uint256 indexed headerBlockId, uint256 indexed reward, uint256 start, uint256 end, bytes32 root)

func (*AbiRootChainFilterer) WatchOwnershipTransferred

func (_AbiRootChain *AbiRootChainFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *AbiRootChainOwnershipTransferred, 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)

func (*AbiRootChainFilterer) WatchResetHeaderBlock

func (_AbiRootChain *AbiRootChainFilterer) WatchResetHeaderBlock(opts *bind.WatchOpts, sink chan<- *AbiRootChainResetHeaderBlock, proposer []common.Address, headerBlockId []*big.Int) (event.Subscription, error)

WatchResetHeaderBlock is a free log subscription operation binding the contract event 0xca1d8316287f938830e225956a7bb10fd5a1a1506dd2eb3a476751a488117205.

Solidity: event ResetHeaderBlock(address indexed proposer, uint256 indexed headerBlockId)

type AbiRootChainNewHeaderBlock

type AbiRootChainNewHeaderBlock struct {
	Proposer      common.Address
	HeaderBlockId *big.Int
	Reward        *big.Int
	Start         *big.Int
	End           *big.Int
	Root          [32]byte
	Raw           types.Log // Blockchain specific contextual infos
}

AbiRootChainNewHeaderBlock represents a NewHeaderBlock event raised by the AbiRootChain contract.

type AbiRootChainNewHeaderBlockIterator

type AbiRootChainNewHeaderBlockIterator struct {
	Event *AbiRootChainNewHeaderBlock // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

AbiRootChainNewHeaderBlockIterator is returned from FilterNewHeaderBlock and is used to iterate over the raw logs and unpacked data for NewHeaderBlock events raised by the AbiRootChain contract.

func (*AbiRootChainNewHeaderBlockIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*AbiRootChainNewHeaderBlockIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*AbiRootChainNewHeaderBlockIterator) Next

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 AbiRootChainOwnershipTransferred

type AbiRootChainOwnershipTransferred struct {
	PreviousOwner common.Address
	NewOwner      common.Address
	Raw           types.Log // Blockchain specific contextual infos
}

AbiRootChainOwnershipTransferred represents a OwnershipTransferred event raised by the AbiRootChain contract.

type AbiRootChainOwnershipTransferredIterator

type AbiRootChainOwnershipTransferredIterator struct {
	Event *AbiRootChainOwnershipTransferred // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

AbiRootChainOwnershipTransferredIterator is returned from FilterOwnershipTransferred and is used to iterate over the raw logs and unpacked data for OwnershipTransferred events raised by the AbiRootChain contract.

func (*AbiRootChainOwnershipTransferredIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*AbiRootChainOwnershipTransferredIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*AbiRootChainOwnershipTransferredIterator) Next

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 AbiRootChainRaw

type AbiRootChainRaw struct {
	Contract *AbiRootChain // Generic contract binding to access the raw methods on
}

AbiRootChainRaw is an auto generated low-level Go binding around an Ethereum contract.

func (*AbiRootChainRaw) Call

func (_AbiRootChain *AbiRootChainRaw) 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 (*AbiRootChainRaw) Transact

func (_AbiRootChain *AbiRootChainRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*AbiRootChainRaw) Transfer

func (_AbiRootChain *AbiRootChainRaw) 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 AbiRootChainResetHeaderBlock

type AbiRootChainResetHeaderBlock struct {
	Proposer      common.Address
	HeaderBlockId *big.Int
	Raw           types.Log // Blockchain specific contextual infos
}

AbiRootChainResetHeaderBlock represents a ResetHeaderBlock event raised by the AbiRootChain contract.

type AbiRootChainResetHeaderBlockIterator

type AbiRootChainResetHeaderBlockIterator struct {
	Event *AbiRootChainResetHeaderBlock // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

AbiRootChainResetHeaderBlockIterator is returned from FilterResetHeaderBlock and is used to iterate over the raw logs and unpacked data for ResetHeaderBlock events raised by the AbiRootChain contract.

func (*AbiRootChainResetHeaderBlockIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*AbiRootChainResetHeaderBlockIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*AbiRootChainResetHeaderBlockIterator) Next

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 AbiRootChainSession

type AbiRootChainSession struct {
	Contract     *AbiRootChain     // 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
}

AbiRootChainSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.

func (*AbiRootChainSession) CHAINID

func (_AbiRootChain *AbiRootChainSession) CHAINID() (*big.Int, error)

CHAINID is a free data retrieval call binding the contract method 0xcc79f97b.

Solidity: function CHAINID() view returns(uint256)

func (*AbiRootChainSession) CurrentHeaderBlock

func (_AbiRootChain *AbiRootChainSession) CurrentHeaderBlock() (*big.Int, error)

CurrentHeaderBlock is a free data retrieval call binding the contract method 0xec7e4855.

Solidity: function currentHeaderBlock() view returns(uint256)

func (*AbiRootChainSession) GetLastChildBlock

func (_AbiRootChain *AbiRootChainSession) GetLastChildBlock() (*big.Int, error)

GetLastChildBlock is a free data retrieval call binding the contract method 0xb87e1b66.

Solidity: function getLastChildBlock() view returns(uint256)

func (*AbiRootChainSession) HeaderBlocks

func (_AbiRootChain *AbiRootChainSession) HeaderBlocks(arg0 *big.Int) (struct {
	Root      [32]byte
	Start     *big.Int
	End       *big.Int
	CreatedAt *big.Int
	Proposer  common.Address
}, error)

HeaderBlocks is a free data retrieval call binding the contract method 0x41539d4a.

Solidity: function headerBlocks(uint256 ) view returns(bytes32 root, uint256 start, uint256 end, uint256 createdAt, address proposer)

func (*AbiRootChainSession) HeimdallId

func (_AbiRootChain *AbiRootChainSession) HeimdallId() ([32]byte, error)

HeimdallId is a free data retrieval call binding the contract method 0xfbc3dd36.

Solidity: function heimdallId() view returns(bytes32)

func (*AbiRootChainSession) IsOwner

func (_AbiRootChain *AbiRootChainSession) IsOwner() (bool, error)

IsOwner is a free data retrieval call binding the contract method 0x8f32d59b.

Solidity: function isOwner() view returns(bool)

func (*AbiRootChainSession) NetworkId

func (_AbiRootChain *AbiRootChainSession) NetworkId() ([]byte, error)

NetworkId is a free data retrieval call binding the contract method 0x9025e64c.

Solidity: function networkId() view returns(bytes)

func (*AbiRootChainSession) NextHeaderBlock

func (_AbiRootChain *AbiRootChainSession) NextHeaderBlock() (*big.Int, error)

NextHeaderBlock is a free data retrieval call binding the contract method 0x8d978d88.

Solidity: function _nextHeaderBlock() view returns(uint256)

func (*AbiRootChainSession) Owner

func (_AbiRootChain *AbiRootChainSession) Owner() (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() view returns(address)

func (*AbiRootChainSession) RenounceOwnership

func (_AbiRootChain *AbiRootChainSession) RenounceOwnership() (*types.Transaction, error)

RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.

Solidity: function renounceOwnership() returns()

func (*AbiRootChainSession) SetHeimdallId

func (_AbiRootChain *AbiRootChainSession) SetHeimdallId(_heimdallId string) (*types.Transaction, error)

SetHeimdallId is a paid mutator transaction binding the contract method 0xea0688b3.

Solidity: function setHeimdallId(string _heimdallId) returns()

func (*AbiRootChainSession) SetNextHeaderBlock

func (_AbiRootChain *AbiRootChainSession) SetNextHeaderBlock(_value *big.Int) (*types.Transaction, error)

SetNextHeaderBlock is a paid mutator transaction binding the contract method 0xcf24a0ea.

Solidity: function setNextHeaderBlock(uint256 _value) returns()

func (*AbiRootChainSession) Slash

func (_AbiRootChain *AbiRootChainSession) Slash() (*types.Transaction, error)

Slash is a paid mutator transaction binding the contract method 0x2da25de3.

Solidity: function slash() returns()

func (*AbiRootChainSession) SubmitCheckpoint

func (_AbiRootChain *AbiRootChainSession) SubmitCheckpoint(data []byte, sigs [][3]*big.Int) (*types.Transaction, error)

SubmitCheckpoint is a paid mutator transaction binding the contract method 0x4e43e495.

Solidity: function submitCheckpoint(bytes data, uint256[3][] sigs) returns()

func (*AbiRootChainSession) SubmitHeaderBlock

func (_AbiRootChain *AbiRootChainSession) SubmitHeaderBlock(data []byte, sigs []byte) (*types.Transaction, error)

SubmitHeaderBlock is a paid mutator transaction binding the contract method 0x6a791f11.

Solidity: function submitHeaderBlock(bytes data, bytes sigs) returns()

func (*AbiRootChainSession) TransferOwnership

func (_AbiRootChain *AbiRootChainSession) 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 (*AbiRootChainSession) UpdateDepositId

func (_AbiRootChain *AbiRootChainSession) UpdateDepositId(numDeposits *big.Int) (*types.Transaction, error)

UpdateDepositId is a paid mutator transaction binding the contract method 0x5391f483.

Solidity: function updateDepositId(uint256 numDeposits) returns(uint256 depositId)

func (*AbiRootChainSession) VOTETYPE

func (_AbiRootChain *AbiRootChainSession) VOTETYPE() (uint8, error)

VOTETYPE is a free data retrieval call binding the contract method 0xd5b844eb.

Solidity: function VOTE_TYPE() view returns(uint8)

type AbiRootChainTransactor

type AbiRootChainTransactor struct {
	// contains filtered or unexported fields
}

AbiRootChainTransactor is an auto generated write-only Go binding around an Ethereum contract.

func NewAbiRootChainTransactor

func NewAbiRootChainTransactor(address common.Address, transactor bind.ContractTransactor) (*AbiRootChainTransactor, error)

NewAbiRootChainTransactor creates a new write-only instance of AbiRootChain, bound to a specific deployed contract.

func (*AbiRootChainTransactor) RenounceOwnership

func (_AbiRootChain *AbiRootChainTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)

RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.

Solidity: function renounceOwnership() returns()

func (*AbiRootChainTransactor) SetHeimdallId

func (_AbiRootChain *AbiRootChainTransactor) SetHeimdallId(opts *bind.TransactOpts, _heimdallId string) (*types.Transaction, error)

SetHeimdallId is a paid mutator transaction binding the contract method 0xea0688b3.

Solidity: function setHeimdallId(string _heimdallId) returns()

func (*AbiRootChainTransactor) SetNextHeaderBlock

func (_AbiRootChain *AbiRootChainTransactor) SetNextHeaderBlock(opts *bind.TransactOpts, _value *big.Int) (*types.Transaction, error)

SetNextHeaderBlock is a paid mutator transaction binding the contract method 0xcf24a0ea.

Solidity: function setNextHeaderBlock(uint256 _value) returns()

func (*AbiRootChainTransactor) Slash

func (_AbiRootChain *AbiRootChainTransactor) Slash(opts *bind.TransactOpts) (*types.Transaction, error)

Slash is a paid mutator transaction binding the contract method 0x2da25de3.

Solidity: function slash() returns()

func (*AbiRootChainTransactor) SubmitCheckpoint

func (_AbiRootChain *AbiRootChainTransactor) SubmitCheckpoint(opts *bind.TransactOpts, data []byte, sigs [][3]*big.Int) (*types.Transaction, error)

SubmitCheckpoint is a paid mutator transaction binding the contract method 0x4e43e495.

Solidity: function submitCheckpoint(bytes data, uint256[3][] sigs) returns()

func (*AbiRootChainTransactor) SubmitHeaderBlock

func (_AbiRootChain *AbiRootChainTransactor) SubmitHeaderBlock(opts *bind.TransactOpts, data []byte, sigs []byte) (*types.Transaction, error)

SubmitHeaderBlock is a paid mutator transaction binding the contract method 0x6a791f11.

Solidity: function submitHeaderBlock(bytes data, bytes sigs) returns()

func (*AbiRootChainTransactor) TransferOwnership

func (_AbiRootChain *AbiRootChainTransactor) 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()

func (*AbiRootChainTransactor) UpdateDepositId

func (_AbiRootChain *AbiRootChainTransactor) UpdateDepositId(opts *bind.TransactOpts, numDeposits *big.Int) (*types.Transaction, error)

UpdateDepositId is a paid mutator transaction binding the contract method 0x5391f483.

Solidity: function updateDepositId(uint256 numDeposits) returns(uint256 depositId)

type AbiRootChainTransactorRaw

type AbiRootChainTransactorRaw struct {
	Contract *AbiRootChainTransactor // Generic write-only contract binding to access the raw methods on
}

AbiRootChainTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.

func (*AbiRootChainTransactorRaw) Transact

func (_AbiRootChain *AbiRootChainTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*AbiRootChainTransactorRaw) Transfer

func (_AbiRootChain *AbiRootChainTransactorRaw) 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 AbiRootChainTransactorSession

type AbiRootChainTransactorSession struct {
	Contract     *AbiRootChainTransactor // Generic contract transactor binding to set the session for
	TransactOpts bind.TransactOpts       // Transaction auth options to use throughout this session
}

AbiRootChainTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.

func (*AbiRootChainTransactorSession) RenounceOwnership

func (_AbiRootChain *AbiRootChainTransactorSession) RenounceOwnership() (*types.Transaction, error)

RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.

Solidity: function renounceOwnership() returns()

func (*AbiRootChainTransactorSession) SetHeimdallId

func (_AbiRootChain *AbiRootChainTransactorSession) SetHeimdallId(_heimdallId string) (*types.Transaction, error)

SetHeimdallId is a paid mutator transaction binding the contract method 0xea0688b3.

Solidity: function setHeimdallId(string _heimdallId) returns()

func (*AbiRootChainTransactorSession) SetNextHeaderBlock

func (_AbiRootChain *AbiRootChainTransactorSession) SetNextHeaderBlock(_value *big.Int) (*types.Transaction, error)

SetNextHeaderBlock is a paid mutator transaction binding the contract method 0xcf24a0ea.

Solidity: function setNextHeaderBlock(uint256 _value) returns()

func (*AbiRootChainTransactorSession) Slash

func (_AbiRootChain *AbiRootChainTransactorSession) Slash() (*types.Transaction, error)

Slash is a paid mutator transaction binding the contract method 0x2da25de3.

Solidity: function slash() returns()

func (*AbiRootChainTransactorSession) SubmitCheckpoint

func (_AbiRootChain *AbiRootChainTransactorSession) SubmitCheckpoint(data []byte, sigs [][3]*big.Int) (*types.Transaction, error)

SubmitCheckpoint is a paid mutator transaction binding the contract method 0x4e43e495.

Solidity: function submitCheckpoint(bytes data, uint256[3][] sigs) returns()

func (*AbiRootChainTransactorSession) SubmitHeaderBlock

func (_AbiRootChain *AbiRootChainTransactorSession) SubmitHeaderBlock(data []byte, sigs []byte) (*types.Transaction, error)

SubmitHeaderBlock is a paid mutator transaction binding the contract method 0x6a791f11.

Solidity: function submitHeaderBlock(bytes data, bytes sigs) returns()

func (*AbiRootChainTransactorSession) TransferOwnership

func (_AbiRootChain *AbiRootChainTransactorSession) 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 (*AbiRootChainTransactorSession) UpdateDepositId

func (_AbiRootChain *AbiRootChainTransactorSession) UpdateDepositId(numDeposits *big.Int) (*types.Transaction, error)

UpdateDepositId is a paid mutator transaction binding the contract method 0x5391f483.

Solidity: function updateDepositId(uint256 numDeposits) returns(uint256 depositId)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL