Documentation
¶
Index ¶
- type Common
- type StakingBridge
- func (sb *StakingBridge) RemoveStake(opts *bind.TransactOpts, amount *big.Int, vegaPubKey string) (*types.Transaction, error)
- func (sb *StakingBridge) Stake(opts *bind.TransactOpts, amount *big.Int, vegaPubKey string) (*types.Transaction, error)
- func (sb *StakingBridge) StakeBalance(opts *bind.CallOpts, target common.Address, vegaPubKey string) (*big.Int, error)
- type Version
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Common ¶ added in v0.76.8
type Common interface {
StakeBalance(opts *bind.CallOpts, target common.Address, vega_public_key [32]byte) (*big.Int, error)
StakingToken(opts *bind.CallOpts) (common.Address, error)
TotalStaked(opts *bind.CallOpts) (*big.Int, error)
RemoveStake(opts *bind.TransactOpts, amount *big.Int, vega_public_key [32]byte) (*types.Transaction, error)
Stake(opts *bind.TransactOpts, amount *big.Int, vega_public_key [32]byte) (*types.Transaction, error)
TransferStake(opts *bind.TransactOpts, amount *big.Int, new_address common.Address, vega_public_key [32]byte) (*types.Transaction, error)
}
type StakingBridge ¶
type StakingBridge struct {
Common
Address common.Address
Version Version
// contains filtered or unexported fields
}
func NewStakingBridge ¶
func (*StakingBridge) RemoveStake ¶
func (sb *StakingBridge) RemoveStake(opts *bind.TransactOpts, amount *big.Int, vegaPubKey string) (*types.Transaction, error)
func (*StakingBridge) Stake ¶
func (sb *StakingBridge) Stake(opts *bind.TransactOpts, amount *big.Int, vegaPubKey string) (*types.Transaction, error)
Click to show internal directories.
Click to hide internal directories.