driverauth100

package
v1.1.0-rc.2 Latest Latest
Warning

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

Go to latest
Published: Feb 7, 2022 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const ContractABI = "" /* 6150-byte string literal not displayed */

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

Variables

View Source
var ContractBin = "" /* 14414-byte string literal not displayed */

ContractBin is the compiled bytecode used for deploying new contracts.

View Source
var ContractBinRuntime = "" /* 14350-byte string literal not displayed */

Functions

This section is empty.

Types

type Contract

type Contract struct {
	ContractCaller     // Read-only binding to the contract
	ContractTransactor // Write-only binding to the contract
	ContractFilterer   // Log filterer for contract events
}

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

func DeployContract

func DeployContract(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *Contract, error)

DeployContract deploys a new Ethereum contract, binding an instance of Contract to it.

func NewContract

func NewContract(address common.Address, backend bind.ContractBackend) (*Contract, error)

NewContract creates a new instance of Contract, bound to a specific deployed contract.

type ContractCaller

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

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

func NewContractCaller

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

NewContractCaller creates a new read-only instance of Contract, bound to a specific deployed contract.

func (*ContractCaller) IsOwner

func (_Contract *ContractCaller) 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 (*ContractCaller) Owner

func (_Contract *ContractCaller) 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)

type ContractCallerRaw

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

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

func (*ContractCallerRaw) Call

func (_Contract *ContractCallerRaw) 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 ContractCallerSession

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

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

func (*ContractCallerSession) IsOwner

func (_Contract *ContractCallerSession) IsOwner() (bool, error)

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

Solidity: function isOwner() view returns(bool)

func (*ContractCallerSession) Owner

func (_Contract *ContractCallerSession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

type ContractFilterer

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

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

func NewContractFilterer

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

NewContractFilterer creates a new log filterer instance of Contract, bound to a specific deployed contract.

func (*ContractFilterer) FilterOwnershipTransferred

func (_Contract *ContractFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*ContractOwnershipTransferredIterator, error)

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

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

func (*ContractFilterer) ParseOwnershipTransferred

func (_Contract *ContractFilterer) ParseOwnershipTransferred(log types.Log) (*ContractOwnershipTransferred, error)

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

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

func (*ContractFilterer) WatchOwnershipTransferred

func (_Contract *ContractFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *ContractOwnershipTransferred, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error)

WatchOwnershipTransferred is a free log subscription operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

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

type ContractOwnershipTransferred

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

ContractOwnershipTransferred represents a OwnershipTransferred event raised by the Contract contract.

type ContractOwnershipTransferredIterator

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

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

func (*ContractOwnershipTransferredIterator) Close

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

func (*ContractOwnershipTransferredIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ContractOwnershipTransferredIterator) 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 ContractRaw

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

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

func (*ContractRaw) Call

func (_Contract *ContractRaw) 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 (*ContractRaw) Transact

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

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

func (*ContractRaw) Transfer

func (_Contract *ContractRaw) 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 ContractSession

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

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

func (*ContractSession) AdvanceEpochs

func (_Contract *ContractSession) AdvanceEpochs(num *big.Int) (*types.Transaction, error)

AdvanceEpochs is a paid mutator transaction binding the contract method 0x0aeeca00.

Solidity: function advanceEpochs(uint256 num) returns()

func (*ContractSession) CopyCode

func (_Contract *ContractSession) CopyCode(acc common.Address, from common.Address) (*types.Transaction, error)

CopyCode is a paid mutator transaction binding the contract method 0xd6a0c7af.

Solidity: function copyCode(address acc, address from) returns()

func (*ContractSession) DeactivateValidator

func (_Contract *ContractSession) DeactivateValidator(validatorID *big.Int, status *big.Int) (*types.Transaction, error)

DeactivateValidator is a paid mutator transaction binding the contract method 0x1e702f83.

Solidity: function deactivateValidator(uint256 validatorID, uint256 status) returns()

func (*ContractSession) IncBalance

func (_Contract *ContractSession) IncBalance(acc common.Address, diff *big.Int) (*types.Transaction, error)

IncBalance is a paid mutator transaction binding the contract method 0x66e7ea0f.

Solidity: function incBalance(address acc, uint256 diff) returns()

func (*ContractSession) Initialize

func (_Contract *ContractSession) Initialize(_sfc common.Address, _driver common.Address, _owner common.Address) (*types.Transaction, error)

Initialize is a paid mutator transaction binding the contract method 0xc0c53b8b.

Solidity: function initialize(address _sfc, address _driver, address _owner) returns()

func (*ContractSession) IsOwner

func (_Contract *ContractSession) IsOwner() (bool, error)

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

Solidity: function isOwner() view returns(bool)

func (*ContractSession) MigrateTo

func (_Contract *ContractSession) MigrateTo(newDriverAuth common.Address) (*types.Transaction, error)

MigrateTo is a paid mutator transaction binding the contract method 0x4ddaf8f2.

Solidity: function migrateTo(address newDriverAuth) returns()

func (*ContractSession) Owner

func (_Contract *ContractSession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*ContractSession) RenounceOwnership

func (_Contract *ContractSession) RenounceOwnership() (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*ContractSession) SealEpoch

func (_Contract *ContractSession) SealEpoch(offlineTimes []*big.Int, offlineBlocks []*big.Int, uptimes []*big.Int, originatedTxsFee []*big.Int) (*types.Transaction, error)

SealEpoch is a paid mutator transaction binding the contract method 0xebdf104c.

Solidity: function sealEpoch(uint256[] offlineTimes, uint256[] offlineBlocks, uint256[] uptimes, uint256[] originatedTxsFee) returns()

func (*ContractSession) SealEpochValidators

func (_Contract *ContractSession) SealEpochValidators(nextValidatorIDs []*big.Int) (*types.Transaction, error)

SealEpochValidators is a paid mutator transaction binding the contract method 0xe08d7e66.

Solidity: function sealEpochValidators(uint256[] nextValidatorIDs) returns()

func (*ContractSession) SetGenesisDelegation

func (_Contract *ContractSession) SetGenesisDelegation(delegator common.Address, toValidatorID *big.Int, stake *big.Int, lockedStake *big.Int, lockupFromEpoch *big.Int, lockupEndTime *big.Int, lockupDuration *big.Int, earlyUnlockPenalty *big.Int, rewards *big.Int) (*types.Transaction, error)

SetGenesisDelegation is a paid mutator transaction binding the contract method 0x18f628d4.

Solidity: function setGenesisDelegation(address delegator, uint256 toValidatorID, uint256 stake, uint256 lockedStake, uint256 lockupFromEpoch, uint256 lockupEndTime, uint256 lockupDuration, uint256 earlyUnlockPenalty, uint256 rewards) returns()

func (*ContractSession) SetGenesisValidator

func (_Contract *ContractSession) SetGenesisValidator(_auth common.Address, validatorID *big.Int, pubkey []byte, status *big.Int, createdEpoch *big.Int, createdTime *big.Int, deactivatedEpoch *big.Int, deactivatedTime *big.Int) (*types.Transaction, error)

SetGenesisValidator is a paid mutator transaction binding the contract method 0x4feb92f3.

Solidity: function setGenesisValidator(address _auth, uint256 validatorID, bytes pubkey, uint256 status, uint256 createdEpoch, uint256 createdTime, uint256 deactivatedEpoch, uint256 deactivatedTime) returns()

func (*ContractSession) TransferOwnership

func (_Contract *ContractSession) 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 (*ContractSession) UpdateNetworkRules

func (_Contract *ContractSession) UpdateNetworkRules(diff []byte) (*types.Transaction, error)

UpdateNetworkRules is a paid mutator transaction binding the contract method 0xb9cc6b1c.

Solidity: function updateNetworkRules(bytes diff) returns()

func (*ContractSession) UpdateNetworkVersion

func (_Contract *ContractSession) UpdateNetworkVersion(version *big.Int) (*types.Transaction, error)

UpdateNetworkVersion is a paid mutator transaction binding the contract method 0x267ab446.

Solidity: function updateNetworkVersion(uint256 version) returns()

func (*ContractSession) UpdateValidatorPubkey

func (_Contract *ContractSession) UpdateValidatorPubkey(validatorID *big.Int, pubkey []byte) (*types.Transaction, error)

UpdateValidatorPubkey is a paid mutator transaction binding the contract method 0x242a6e3f.

Solidity: function updateValidatorPubkey(uint256 validatorID, bytes pubkey) returns()

func (*ContractSession) UpdateValidatorWeight

func (_Contract *ContractSession) UpdateValidatorWeight(validatorID *big.Int, value *big.Int) (*types.Transaction, error)

UpdateValidatorWeight is a paid mutator transaction binding the contract method 0xa4066fbe.

Solidity: function updateValidatorWeight(uint256 validatorID, uint256 value) returns()

type ContractTransactor

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

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

func NewContractTransactor

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

NewContractTransactor creates a new write-only instance of Contract, bound to a specific deployed contract.

func (*ContractTransactor) AdvanceEpochs

func (_Contract *ContractTransactor) AdvanceEpochs(opts *bind.TransactOpts, num *big.Int) (*types.Transaction, error)

AdvanceEpochs is a paid mutator transaction binding the contract method 0x0aeeca00.

Solidity: function advanceEpochs(uint256 num) returns()

func (*ContractTransactor) CopyCode

func (_Contract *ContractTransactor) CopyCode(opts *bind.TransactOpts, acc common.Address, from common.Address) (*types.Transaction, error)

CopyCode is a paid mutator transaction binding the contract method 0xd6a0c7af.

Solidity: function copyCode(address acc, address from) returns()

func (*ContractTransactor) DeactivateValidator

func (_Contract *ContractTransactor) DeactivateValidator(opts *bind.TransactOpts, validatorID *big.Int, status *big.Int) (*types.Transaction, error)

DeactivateValidator is a paid mutator transaction binding the contract method 0x1e702f83.

Solidity: function deactivateValidator(uint256 validatorID, uint256 status) returns()

func (*ContractTransactor) IncBalance

func (_Contract *ContractTransactor) IncBalance(opts *bind.TransactOpts, acc common.Address, diff *big.Int) (*types.Transaction, error)

IncBalance is a paid mutator transaction binding the contract method 0x66e7ea0f.

Solidity: function incBalance(address acc, uint256 diff) returns()

func (*ContractTransactor) Initialize

func (_Contract *ContractTransactor) Initialize(opts *bind.TransactOpts, _sfc common.Address, _driver common.Address, _owner common.Address) (*types.Transaction, error)

Initialize is a paid mutator transaction binding the contract method 0xc0c53b8b.

Solidity: function initialize(address _sfc, address _driver, address _owner) returns()

func (*ContractTransactor) MigrateTo

func (_Contract *ContractTransactor) MigrateTo(opts *bind.TransactOpts, newDriverAuth common.Address) (*types.Transaction, error)

MigrateTo is a paid mutator transaction binding the contract method 0x4ddaf8f2.

Solidity: function migrateTo(address newDriverAuth) returns()

func (*ContractTransactor) RenounceOwnership

func (_Contract *ContractTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*ContractTransactor) SealEpoch

func (_Contract *ContractTransactor) SealEpoch(opts *bind.TransactOpts, offlineTimes []*big.Int, offlineBlocks []*big.Int, uptimes []*big.Int, originatedTxsFee []*big.Int) (*types.Transaction, error)

SealEpoch is a paid mutator transaction binding the contract method 0xebdf104c.

Solidity: function sealEpoch(uint256[] offlineTimes, uint256[] offlineBlocks, uint256[] uptimes, uint256[] originatedTxsFee) returns()

func (*ContractTransactor) SealEpochValidators

func (_Contract *ContractTransactor) SealEpochValidators(opts *bind.TransactOpts, nextValidatorIDs []*big.Int) (*types.Transaction, error)

SealEpochValidators is a paid mutator transaction binding the contract method 0xe08d7e66.

Solidity: function sealEpochValidators(uint256[] nextValidatorIDs) returns()

func (*ContractTransactor) SetGenesisDelegation

func (_Contract *ContractTransactor) SetGenesisDelegation(opts *bind.TransactOpts, delegator common.Address, toValidatorID *big.Int, stake *big.Int, lockedStake *big.Int, lockupFromEpoch *big.Int, lockupEndTime *big.Int, lockupDuration *big.Int, earlyUnlockPenalty *big.Int, rewards *big.Int) (*types.Transaction, error)

SetGenesisDelegation is a paid mutator transaction binding the contract method 0x18f628d4.

Solidity: function setGenesisDelegation(address delegator, uint256 toValidatorID, uint256 stake, uint256 lockedStake, uint256 lockupFromEpoch, uint256 lockupEndTime, uint256 lockupDuration, uint256 earlyUnlockPenalty, uint256 rewards) returns()

func (*ContractTransactor) SetGenesisValidator

func (_Contract *ContractTransactor) SetGenesisValidator(opts *bind.TransactOpts, _auth common.Address, validatorID *big.Int, pubkey []byte, status *big.Int, createdEpoch *big.Int, createdTime *big.Int, deactivatedEpoch *big.Int, deactivatedTime *big.Int) (*types.Transaction, error)

SetGenesisValidator is a paid mutator transaction binding the contract method 0x4feb92f3.

Solidity: function setGenesisValidator(address _auth, uint256 validatorID, bytes pubkey, uint256 status, uint256 createdEpoch, uint256 createdTime, uint256 deactivatedEpoch, uint256 deactivatedTime) returns()

func (*ContractTransactor) TransferOwnership

func (_Contract *ContractTransactor) 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 (*ContractTransactor) UpdateNetworkRules

func (_Contract *ContractTransactor) UpdateNetworkRules(opts *bind.TransactOpts, diff []byte) (*types.Transaction, error)

UpdateNetworkRules is a paid mutator transaction binding the contract method 0xb9cc6b1c.

Solidity: function updateNetworkRules(bytes diff) returns()

func (*ContractTransactor) UpdateNetworkVersion

func (_Contract *ContractTransactor) UpdateNetworkVersion(opts *bind.TransactOpts, version *big.Int) (*types.Transaction, error)

UpdateNetworkVersion is a paid mutator transaction binding the contract method 0x267ab446.

Solidity: function updateNetworkVersion(uint256 version) returns()

func (*ContractTransactor) UpdateValidatorPubkey

func (_Contract *ContractTransactor) UpdateValidatorPubkey(opts *bind.TransactOpts, validatorID *big.Int, pubkey []byte) (*types.Transaction, error)

UpdateValidatorPubkey is a paid mutator transaction binding the contract method 0x242a6e3f.

Solidity: function updateValidatorPubkey(uint256 validatorID, bytes pubkey) returns()

func (*ContractTransactor) UpdateValidatorWeight

func (_Contract *ContractTransactor) UpdateValidatorWeight(opts *bind.TransactOpts, validatorID *big.Int, value *big.Int) (*types.Transaction, error)

UpdateValidatorWeight is a paid mutator transaction binding the contract method 0xa4066fbe.

Solidity: function updateValidatorWeight(uint256 validatorID, uint256 value) returns()

type ContractTransactorRaw

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

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

func (*ContractTransactorRaw) Transact

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

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

func (*ContractTransactorRaw) Transfer

func (_Contract *ContractTransactorRaw) 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 ContractTransactorSession

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

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

func (*ContractTransactorSession) AdvanceEpochs

func (_Contract *ContractTransactorSession) AdvanceEpochs(num *big.Int) (*types.Transaction, error)

AdvanceEpochs is a paid mutator transaction binding the contract method 0x0aeeca00.

Solidity: function advanceEpochs(uint256 num) returns()

func (*ContractTransactorSession) CopyCode

func (_Contract *ContractTransactorSession) CopyCode(acc common.Address, from common.Address) (*types.Transaction, error)

CopyCode is a paid mutator transaction binding the contract method 0xd6a0c7af.

Solidity: function copyCode(address acc, address from) returns()

func (*ContractTransactorSession) DeactivateValidator

func (_Contract *ContractTransactorSession) DeactivateValidator(validatorID *big.Int, status *big.Int) (*types.Transaction, error)

DeactivateValidator is a paid mutator transaction binding the contract method 0x1e702f83.

Solidity: function deactivateValidator(uint256 validatorID, uint256 status) returns()

func (*ContractTransactorSession) IncBalance

func (_Contract *ContractTransactorSession) IncBalance(acc common.Address, diff *big.Int) (*types.Transaction, error)

IncBalance is a paid mutator transaction binding the contract method 0x66e7ea0f.

Solidity: function incBalance(address acc, uint256 diff) returns()

func (*ContractTransactorSession) Initialize

func (_Contract *ContractTransactorSession) Initialize(_sfc common.Address, _driver common.Address, _owner common.Address) (*types.Transaction, error)

Initialize is a paid mutator transaction binding the contract method 0xc0c53b8b.

Solidity: function initialize(address _sfc, address _driver, address _owner) returns()

func (*ContractTransactorSession) MigrateTo

func (_Contract *ContractTransactorSession) MigrateTo(newDriverAuth common.Address) (*types.Transaction, error)

MigrateTo is a paid mutator transaction binding the contract method 0x4ddaf8f2.

Solidity: function migrateTo(address newDriverAuth) returns()

func (*ContractTransactorSession) RenounceOwnership

func (_Contract *ContractTransactorSession) RenounceOwnership() (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*ContractTransactorSession) SealEpoch

func (_Contract *ContractTransactorSession) SealEpoch(offlineTimes []*big.Int, offlineBlocks []*big.Int, uptimes []*big.Int, originatedTxsFee []*big.Int) (*types.Transaction, error)

SealEpoch is a paid mutator transaction binding the contract method 0xebdf104c.

Solidity: function sealEpoch(uint256[] offlineTimes, uint256[] offlineBlocks, uint256[] uptimes, uint256[] originatedTxsFee) returns()

func (*ContractTransactorSession) SealEpochValidators

func (_Contract *ContractTransactorSession) SealEpochValidators(nextValidatorIDs []*big.Int) (*types.Transaction, error)

SealEpochValidators is a paid mutator transaction binding the contract method 0xe08d7e66.

Solidity: function sealEpochValidators(uint256[] nextValidatorIDs) returns()

func (*ContractTransactorSession) SetGenesisDelegation

func (_Contract *ContractTransactorSession) SetGenesisDelegation(delegator common.Address, toValidatorID *big.Int, stake *big.Int, lockedStake *big.Int, lockupFromEpoch *big.Int, lockupEndTime *big.Int, lockupDuration *big.Int, earlyUnlockPenalty *big.Int, rewards *big.Int) (*types.Transaction, error)

SetGenesisDelegation is a paid mutator transaction binding the contract method 0x18f628d4.

Solidity: function setGenesisDelegation(address delegator, uint256 toValidatorID, uint256 stake, uint256 lockedStake, uint256 lockupFromEpoch, uint256 lockupEndTime, uint256 lockupDuration, uint256 earlyUnlockPenalty, uint256 rewards) returns()

func (*ContractTransactorSession) SetGenesisValidator

func (_Contract *ContractTransactorSession) SetGenesisValidator(_auth common.Address, validatorID *big.Int, pubkey []byte, status *big.Int, createdEpoch *big.Int, createdTime *big.Int, deactivatedEpoch *big.Int, deactivatedTime *big.Int) (*types.Transaction, error)

SetGenesisValidator is a paid mutator transaction binding the contract method 0x4feb92f3.

Solidity: function setGenesisValidator(address _auth, uint256 validatorID, bytes pubkey, uint256 status, uint256 createdEpoch, uint256 createdTime, uint256 deactivatedEpoch, uint256 deactivatedTime) returns()

func (*ContractTransactorSession) TransferOwnership

func (_Contract *ContractTransactorSession) 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 (*ContractTransactorSession) UpdateNetworkRules

func (_Contract *ContractTransactorSession) UpdateNetworkRules(diff []byte) (*types.Transaction, error)

UpdateNetworkRules is a paid mutator transaction binding the contract method 0xb9cc6b1c.

Solidity: function updateNetworkRules(bytes diff) returns()

func (*ContractTransactorSession) UpdateNetworkVersion

func (_Contract *ContractTransactorSession) UpdateNetworkVersion(version *big.Int) (*types.Transaction, error)

UpdateNetworkVersion is a paid mutator transaction binding the contract method 0x267ab446.

Solidity: function updateNetworkVersion(uint256 version) returns()

func (*ContractTransactorSession) UpdateValidatorPubkey

func (_Contract *ContractTransactorSession) UpdateValidatorPubkey(validatorID *big.Int, pubkey []byte) (*types.Transaction, error)

UpdateValidatorPubkey is a paid mutator transaction binding the contract method 0x242a6e3f.

Solidity: function updateValidatorPubkey(uint256 validatorID, bytes pubkey) returns()

func (*ContractTransactorSession) UpdateValidatorWeight

func (_Contract *ContractTransactorSession) UpdateValidatorWeight(validatorID *big.Int, value *big.Int) (*types.Transaction, error)

UpdateValidatorWeight is a paid mutator transaction binding the contract method 0xa4066fbe.

Solidity: function updateValidatorWeight(uint256 validatorID, uint256 value) returns()

Jump to

Keyboard shortcuts

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