slashmanager

package
v0.2.12 Latest Latest
Warning

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

Go to latest
Published: Oct 14, 2022 License: GPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var SlashmanagerABI = SlashmanagerMetaData.ABI

SlashmanagerABI is the input ABI used to generate the binding from. Deprecated: Use SlashmanagerMetaData.ABI instead.

View Source
var SlashmanagerMetaData = &bind.MetaData{
	ABI: "[{\"constant\":true,\"inputs\":[],\"name\":\"proposerRate\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"destination\",\"type\":\"address\"}],\"name\":\"drainTokens\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"jailCheckpoints\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"sigs\",\"type\":\"bytes\"}],\"name\":\"updateSlashedAmounts\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"registry\",\"outputs\":[{\"internalType\":\"contractRegistry\",\"name\":\"\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"isOwner\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"slashingNonce\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"newReportRate\",\"type\":\"uint256\"}],\"name\":\"updateReportRate\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"reportRate\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"VOTE_TYPE\",\"outputs\":[{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"newProposerRate\",\"type\":\"uint256\"}],\"name\":\"updateProposerRate\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"string\",\"name\":\"_heimdallId\",\"type\":\"string\"}],\"name\":\"setHeimdallId\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"logger\",\"outputs\":[{\"internalType\":\"contractStakingInfo\",\"name\":\"\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"heimdallId\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_registry\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_logger\",\"type\":\"address\"},{\"internalType\":\"string\",\"name\":\"_heimdallId\",\"type\":\"string\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"previousOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransferred\",\"type\":\"event\"}]",
}

SlashmanagerMetaData contains all meta data concerning the Slashmanager contract.

Functions

This section is empty.

Types

type Slashmanager

type Slashmanager struct {
	SlashmanagerCaller     // Read-only binding to the contract
	SlashmanagerTransactor // Write-only binding to the contract
	SlashmanagerFilterer   // Log filterer for contract events
}

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

func NewSlashmanager

func NewSlashmanager(address common.Address, backend bind.ContractBackend) (*Slashmanager, error)

NewSlashmanager creates a new instance of Slashmanager, bound to a specific deployed contract.

type SlashmanagerCaller

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

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

func NewSlashmanagerCaller

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

NewSlashmanagerCaller creates a new read-only instance of Slashmanager, bound to a specific deployed contract.

func (*SlashmanagerCaller) HeimdallId

func (_Slashmanager *SlashmanagerCaller) 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 (*SlashmanagerCaller) IsOwner

func (_Slashmanager *SlashmanagerCaller) 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 (*SlashmanagerCaller) JailCheckpoints

func (_Slashmanager *SlashmanagerCaller) JailCheckpoints(opts *bind.CallOpts) (*big.Int, error)

JailCheckpoints is a free data retrieval call binding the contract method 0x556b2ce9.

Solidity: function jailCheckpoints() view returns(uint256)

func (*SlashmanagerCaller) Logger

func (_Slashmanager *SlashmanagerCaller) Logger(opts *bind.CallOpts) (common.Address, error)

Logger is a free data retrieval call binding the contract method 0xf24ccbfe.

Solidity: function logger() view returns(address)

func (*SlashmanagerCaller) Owner

func (_Slashmanager *SlashmanagerCaller) 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 (*SlashmanagerCaller) ProposerRate

func (_Slashmanager *SlashmanagerCaller) ProposerRate(opts *bind.CallOpts) (*big.Int, error)

ProposerRate is a free data retrieval call binding the contract method 0x3199e305.

Solidity: function proposerRate() view returns(uint256)

func (*SlashmanagerCaller) Registry

func (_Slashmanager *SlashmanagerCaller) Registry(opts *bind.CallOpts) (common.Address, error)

Registry is a free data retrieval call binding the contract method 0x7b103999.

Solidity: function registry() view returns(address)

func (*SlashmanagerCaller) ReportRate

func (_Slashmanager *SlashmanagerCaller) ReportRate(opts *bind.CallOpts) (*big.Int, error)

ReportRate is a free data retrieval call binding the contract method 0xc25593be.

Solidity: function reportRate() view returns(uint256)

func (*SlashmanagerCaller) SlashingNonce

func (_Slashmanager *SlashmanagerCaller) SlashingNonce(opts *bind.CallOpts) (*big.Int, error)

SlashingNonce is a free data retrieval call binding the contract method 0xa2d32176.

Solidity: function slashingNonce() view returns(uint256)

func (*SlashmanagerCaller) VOTETYPE

func (_Slashmanager *SlashmanagerCaller) 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 SlashmanagerCallerRaw

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

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

func (*SlashmanagerCallerRaw) Call

func (_Slashmanager *SlashmanagerCallerRaw) 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 SlashmanagerCallerSession

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

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

func (*SlashmanagerCallerSession) HeimdallId

func (_Slashmanager *SlashmanagerCallerSession) HeimdallId() ([32]byte, error)

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

Solidity: function heimdallId() view returns(bytes32)

func (*SlashmanagerCallerSession) IsOwner

func (_Slashmanager *SlashmanagerCallerSession) IsOwner() (bool, error)

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

Solidity: function isOwner() view returns(bool)

func (*SlashmanagerCallerSession) JailCheckpoints

func (_Slashmanager *SlashmanagerCallerSession) JailCheckpoints() (*big.Int, error)

JailCheckpoints is a free data retrieval call binding the contract method 0x556b2ce9.

Solidity: function jailCheckpoints() view returns(uint256)

func (*SlashmanagerCallerSession) Logger

func (_Slashmanager *SlashmanagerCallerSession) Logger() (common.Address, error)

Logger is a free data retrieval call binding the contract method 0xf24ccbfe.

Solidity: function logger() view returns(address)

func (*SlashmanagerCallerSession) Owner

func (_Slashmanager *SlashmanagerCallerSession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*SlashmanagerCallerSession) ProposerRate

func (_Slashmanager *SlashmanagerCallerSession) ProposerRate() (*big.Int, error)

ProposerRate is a free data retrieval call binding the contract method 0x3199e305.

Solidity: function proposerRate() view returns(uint256)

func (*SlashmanagerCallerSession) Registry

func (_Slashmanager *SlashmanagerCallerSession) Registry() (common.Address, error)

Registry is a free data retrieval call binding the contract method 0x7b103999.

Solidity: function registry() view returns(address)

func (*SlashmanagerCallerSession) ReportRate

func (_Slashmanager *SlashmanagerCallerSession) ReportRate() (*big.Int, error)

ReportRate is a free data retrieval call binding the contract method 0xc25593be.

Solidity: function reportRate() view returns(uint256)

func (*SlashmanagerCallerSession) SlashingNonce

func (_Slashmanager *SlashmanagerCallerSession) SlashingNonce() (*big.Int, error)

SlashingNonce is a free data retrieval call binding the contract method 0xa2d32176.

Solidity: function slashingNonce() view returns(uint256)

func (*SlashmanagerCallerSession) VOTETYPE

func (_Slashmanager *SlashmanagerCallerSession) VOTETYPE() (uint8, error)

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

Solidity: function VOTE_TYPE() view returns(uint8)

type SlashmanagerFilterer

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

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

func NewSlashmanagerFilterer

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

NewSlashmanagerFilterer creates a new log filterer instance of Slashmanager, bound to a specific deployed contract.

func (*SlashmanagerFilterer) FilterOwnershipTransferred

func (_Slashmanager *SlashmanagerFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*SlashmanagerOwnershipTransferredIterator, error)

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

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

func (*SlashmanagerFilterer) ParseOwnershipTransferred

func (_Slashmanager *SlashmanagerFilterer) ParseOwnershipTransferred(log types.Log) (*SlashmanagerOwnershipTransferred, error)

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

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

func (*SlashmanagerFilterer) WatchOwnershipTransferred

func (_Slashmanager *SlashmanagerFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *SlashmanagerOwnershipTransferred, 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 SlashmanagerOwnershipTransferred

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

SlashmanagerOwnershipTransferred represents a OwnershipTransferred event raised by the Slashmanager contract.

type SlashmanagerOwnershipTransferredIterator

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

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

func (*SlashmanagerOwnershipTransferredIterator) Close

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

func (*SlashmanagerOwnershipTransferredIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*SlashmanagerOwnershipTransferredIterator) 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 SlashmanagerRaw

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

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

func (*SlashmanagerRaw) Call

func (_Slashmanager *SlashmanagerRaw) 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 (*SlashmanagerRaw) Transact

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

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

func (*SlashmanagerRaw) Transfer

func (_Slashmanager *SlashmanagerRaw) 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 SlashmanagerSession

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

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

func (*SlashmanagerSession) DrainTokens

func (_Slashmanager *SlashmanagerSession) DrainTokens(value *big.Int, token common.Address, destination common.Address) (*types.Transaction, error)

DrainTokens is a paid mutator transaction binding the contract method 0x43f7505a.

Solidity: function drainTokens(uint256 value, address token, address destination) returns()

func (*SlashmanagerSession) HeimdallId

func (_Slashmanager *SlashmanagerSession) HeimdallId() ([32]byte, error)

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

Solidity: function heimdallId() view returns(bytes32)

func (*SlashmanagerSession) IsOwner

func (_Slashmanager *SlashmanagerSession) IsOwner() (bool, error)

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

Solidity: function isOwner() view returns(bool)

func (*SlashmanagerSession) JailCheckpoints

func (_Slashmanager *SlashmanagerSession) JailCheckpoints() (*big.Int, error)

JailCheckpoints is a free data retrieval call binding the contract method 0x556b2ce9.

Solidity: function jailCheckpoints() view returns(uint256)

func (*SlashmanagerSession) Logger

func (_Slashmanager *SlashmanagerSession) Logger() (common.Address, error)

Logger is a free data retrieval call binding the contract method 0xf24ccbfe.

Solidity: function logger() view returns(address)

func (*SlashmanagerSession) Owner

func (_Slashmanager *SlashmanagerSession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*SlashmanagerSession) ProposerRate

func (_Slashmanager *SlashmanagerSession) ProposerRate() (*big.Int, error)

ProposerRate is a free data retrieval call binding the contract method 0x3199e305.

Solidity: function proposerRate() view returns(uint256)

func (*SlashmanagerSession) Registry

func (_Slashmanager *SlashmanagerSession) Registry() (common.Address, error)

Registry is a free data retrieval call binding the contract method 0x7b103999.

Solidity: function registry() view returns(address)

func (*SlashmanagerSession) RenounceOwnership

func (_Slashmanager *SlashmanagerSession) RenounceOwnership() (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*SlashmanagerSession) ReportRate

func (_Slashmanager *SlashmanagerSession) ReportRate() (*big.Int, error)

ReportRate is a free data retrieval call binding the contract method 0xc25593be.

Solidity: function reportRate() view returns(uint256)

func (*SlashmanagerSession) SetHeimdallId

func (_Slashmanager *SlashmanagerSession) SetHeimdallId(_heimdallId string) (*types.Transaction, error)

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

Solidity: function setHeimdallId(string _heimdallId) returns()

func (*SlashmanagerSession) SlashingNonce

func (_Slashmanager *SlashmanagerSession) SlashingNonce() (*big.Int, error)

SlashingNonce is a free data retrieval call binding the contract method 0xa2d32176.

Solidity: function slashingNonce() view returns(uint256)

func (*SlashmanagerSession) TransferOwnership

func (_Slashmanager *SlashmanagerSession) 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 (*SlashmanagerSession) UpdateProposerRate

func (_Slashmanager *SlashmanagerSession) UpdateProposerRate(newProposerRate *big.Int) (*types.Transaction, error)

UpdateProposerRate is a paid mutator transaction binding the contract method 0xe5bbd4a7.

Solidity: function updateProposerRate(uint256 newProposerRate) returns()

func (*SlashmanagerSession) UpdateReportRate

func (_Slashmanager *SlashmanagerSession) UpdateReportRate(newReportRate *big.Int) (*types.Transaction, error)

UpdateReportRate is a paid mutator transaction binding the contract method 0xb7a071e9.

Solidity: function updateReportRate(uint256 newReportRate) returns()

func (*SlashmanagerSession) UpdateSlashedAmounts

func (_Slashmanager *SlashmanagerSession) UpdateSlashedAmounts(data []byte, sigs []byte) (*types.Transaction, error)

UpdateSlashedAmounts is a paid mutator transaction binding the contract method 0x67a4f7c6.

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

func (*SlashmanagerSession) VOTETYPE

func (_Slashmanager *SlashmanagerSession) VOTETYPE() (uint8, error)

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

Solidity: function VOTE_TYPE() view returns(uint8)

type SlashmanagerTransactor

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

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

func NewSlashmanagerTransactor

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

NewSlashmanagerTransactor creates a new write-only instance of Slashmanager, bound to a specific deployed contract.

func (*SlashmanagerTransactor) DrainTokens

func (_Slashmanager *SlashmanagerTransactor) DrainTokens(opts *bind.TransactOpts, value *big.Int, token common.Address, destination common.Address) (*types.Transaction, error)

DrainTokens is a paid mutator transaction binding the contract method 0x43f7505a.

Solidity: function drainTokens(uint256 value, address token, address destination) returns()

func (*SlashmanagerTransactor) RenounceOwnership

func (_Slashmanager *SlashmanagerTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*SlashmanagerTransactor) SetHeimdallId

func (_Slashmanager *SlashmanagerTransactor) 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 (*SlashmanagerTransactor) TransferOwnership

func (_Slashmanager *SlashmanagerTransactor) 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 (*SlashmanagerTransactor) UpdateProposerRate

func (_Slashmanager *SlashmanagerTransactor) UpdateProposerRate(opts *bind.TransactOpts, newProposerRate *big.Int) (*types.Transaction, error)

UpdateProposerRate is a paid mutator transaction binding the contract method 0xe5bbd4a7.

Solidity: function updateProposerRate(uint256 newProposerRate) returns()

func (*SlashmanagerTransactor) UpdateReportRate

func (_Slashmanager *SlashmanagerTransactor) UpdateReportRate(opts *bind.TransactOpts, newReportRate *big.Int) (*types.Transaction, error)

UpdateReportRate is a paid mutator transaction binding the contract method 0xb7a071e9.

Solidity: function updateReportRate(uint256 newReportRate) returns()

func (*SlashmanagerTransactor) UpdateSlashedAmounts

func (_Slashmanager *SlashmanagerTransactor) UpdateSlashedAmounts(opts *bind.TransactOpts, data []byte, sigs []byte) (*types.Transaction, error)

UpdateSlashedAmounts is a paid mutator transaction binding the contract method 0x67a4f7c6.

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

type SlashmanagerTransactorRaw

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

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

func (*SlashmanagerTransactorRaw) Transact

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

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

func (*SlashmanagerTransactorRaw) Transfer

func (_Slashmanager *SlashmanagerTransactorRaw) 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 SlashmanagerTransactorSession

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

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

func (*SlashmanagerTransactorSession) DrainTokens

func (_Slashmanager *SlashmanagerTransactorSession) DrainTokens(value *big.Int, token common.Address, destination common.Address) (*types.Transaction, error)

DrainTokens is a paid mutator transaction binding the contract method 0x43f7505a.

Solidity: function drainTokens(uint256 value, address token, address destination) returns()

func (*SlashmanagerTransactorSession) RenounceOwnership

func (_Slashmanager *SlashmanagerTransactorSession) RenounceOwnership() (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*SlashmanagerTransactorSession) SetHeimdallId

func (_Slashmanager *SlashmanagerTransactorSession) SetHeimdallId(_heimdallId string) (*types.Transaction, error)

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

Solidity: function setHeimdallId(string _heimdallId) returns()

func (*SlashmanagerTransactorSession) TransferOwnership

func (_Slashmanager *SlashmanagerTransactorSession) 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 (*SlashmanagerTransactorSession) UpdateProposerRate

func (_Slashmanager *SlashmanagerTransactorSession) UpdateProposerRate(newProposerRate *big.Int) (*types.Transaction, error)

UpdateProposerRate is a paid mutator transaction binding the contract method 0xe5bbd4a7.

Solidity: function updateProposerRate(uint256 newProposerRate) returns()

func (*SlashmanagerTransactorSession) UpdateReportRate

func (_Slashmanager *SlashmanagerTransactorSession) UpdateReportRate(newReportRate *big.Int) (*types.Transaction, error)

UpdateReportRate is a paid mutator transaction binding the contract method 0xb7a071e9.

Solidity: function updateReportRate(uint256 newReportRate) returns()

func (*SlashmanagerTransactorSession) UpdateSlashedAmounts

func (_Slashmanager *SlashmanagerTransactorSession) UpdateSlashedAmounts(data []byte, sigs []byte) (*types.Transaction, error)

UpdateSlashedAmounts is a paid mutator transaction binding the contract method 0x67a4f7c6.

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

Jump to

Keyboard shortcuts

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