contract

package
v1.2.1 Latest Latest
Warning

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

Go to latest
Published: Sep 26, 2020 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BondedECDSAKeep

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

func NewBondedECDSAKeep

func NewBondedECDSAKeep(
	contractAddress common.Address,
	accountKey *keystore.Key,
	backend bind.ContractBackend,
	nonceManager *ethutil.NonceManager,
	miningWaiter *ethutil.MiningWaiter,
	transactionMutex *sync.Mutex,
) (*BondedECDSAKeep, error)

func (*BondedECDSAKeep) CallCloseKeep

func (becdsak *BondedECDSAKeep) CallCloseKeep(
	blockNumber *big.Int,
) error

Non-mutating call, not a transaction submission.

func (*BondedECDSAKeep) CallDistributeERC20Reward

func (becdsak *BondedECDSAKeep) CallDistributeERC20Reward(
	_tokenAddress common.Address,
	_value *big.Int,
	blockNumber *big.Int,
) error

Non-mutating call, not a transaction submission.

func (*BondedECDSAKeep) CallDistributeETHReward

func (becdsak *BondedECDSAKeep) CallDistributeETHReward(
	value *big.Int,
	blockNumber *big.Int,
) error

Non-mutating call, not a transaction submission.

func (*BondedECDSAKeep) CallInitialize

func (becdsak *BondedECDSAKeep) CallInitialize(
	_owner common.Address,
	_members []common.Address,
	_honestThreshold *big.Int,
	_memberStake *big.Int,
	_stakeLockDuration *big.Int,
	_tokenStaking common.Address,
	_keepBonding common.Address,
	_keepFactory common.Address,
	blockNumber *big.Int,
) error

Non-mutating call, not a transaction submission.

func (*BondedECDSAKeep) CallReturnPartialSignerBonds

func (becdsak *BondedECDSAKeep) CallReturnPartialSignerBonds(
	value *big.Int,
	blockNumber *big.Int,
) error

Non-mutating call, not a transaction submission.

func (*BondedECDSAKeep) CallSeizeSignerBonds

func (becdsak *BondedECDSAKeep) CallSeizeSignerBonds(
	blockNumber *big.Int,
) error

Non-mutating call, not a transaction submission.

func (*BondedECDSAKeep) CallSign

func (becdsak *BondedECDSAKeep) CallSign(
	_digest [32]uint8,
	blockNumber *big.Int,
) error

Non-mutating call, not a transaction submission.

func (*BondedECDSAKeep) CallSubmitPublicKey

func (becdsak *BondedECDSAKeep) CallSubmitPublicKey(
	_publicKey []uint8,
	blockNumber *big.Int,
) error

Non-mutating call, not a transaction submission.

func (*BondedECDSAKeep) CallSubmitSignature

func (becdsak *BondedECDSAKeep) CallSubmitSignature(
	_r [32]uint8,
	_s [32]uint8,
	_recoveryID uint8,
	blockNumber *big.Int,
) error

Non-mutating call, not a transaction submission.

func (*BondedECDSAKeep) CallSubmitSignatureFraud

func (becdsak *BondedECDSAKeep) CallSubmitSignatureFraud(
	_v uint8,
	_r [32]uint8,
	_s [32]uint8,
	_signedDigest [32]uint8,
	_preimage []uint8,
	blockNumber *big.Int,
) (bool, error)

Non-mutating call, not a transaction submission.

func (*BondedECDSAKeep) CallWithdraw

func (becdsak *BondedECDSAKeep) CallWithdraw(
	_member common.Address,
	blockNumber *big.Int,
) error

Non-mutating call, not a transaction submission.

func (*BondedECDSAKeep) CheckBondAmount

func (becdsak *BondedECDSAKeep) CheckBondAmount() (*big.Int, error)

func (*BondedECDSAKeep) CheckBondAmountAtBlock

func (becdsak *BondedECDSAKeep) CheckBondAmountAtBlock(
	blockNumber *big.Int,
) (*big.Int, error)

func (*BondedECDSAKeep) CheckSignatureFraud

func (becdsak *BondedECDSAKeep) CheckSignatureFraud(
	_v uint8,
	_r [32]uint8,
	_s [32]uint8,
	_signedDigest [32]uint8,
	_preimage []uint8,
) (bool, error)

func (*BondedECDSAKeep) CheckSignatureFraudAtBlock

func (becdsak *BondedECDSAKeep) CheckSignatureFraudAtBlock(
	_v uint8,
	_r [32]uint8,
	_s [32]uint8,
	_signedDigest [32]uint8,
	_preimage []uint8,
	blockNumber *big.Int,
) (bool, error)

func (*BondedECDSAKeep) CloseKeep

func (becdsak *BondedECDSAKeep) CloseKeep(

	transactionOptions ...ethutil.TransactionOptions,
) (*types.Transaction, error)

Transaction submission.

func (*BondedECDSAKeep) CloseKeepGasEstimate

func (becdsak *BondedECDSAKeep) CloseKeepGasEstimate() (uint64, error)

func (*BondedECDSAKeep) Digest

func (becdsak *BondedECDSAKeep) Digest() ([32]uint8, error)

func (*BondedECDSAKeep) DigestAtBlock

func (becdsak *BondedECDSAKeep) DigestAtBlock(
	blockNumber *big.Int,
) ([32]uint8, error)

func (*BondedECDSAKeep) Digests

func (becdsak *BondedECDSAKeep) Digests(
	arg0 [32]uint8,
) (*big.Int, error)

func (*BondedECDSAKeep) DigestsAtBlock

func (becdsak *BondedECDSAKeep) DigestsAtBlock(
	arg0 [32]uint8,
	blockNumber *big.Int,
) (*big.Int, error)

func (*BondedECDSAKeep) DistributeERC20Reward

func (becdsak *BondedECDSAKeep) DistributeERC20Reward(
	_tokenAddress common.Address,
	_value *big.Int,

	transactionOptions ...ethutil.TransactionOptions,
) (*types.Transaction, error)

Transaction submission.

func (*BondedECDSAKeep) DistributeERC20RewardGasEstimate

func (becdsak *BondedECDSAKeep) DistributeERC20RewardGasEstimate(
	_tokenAddress common.Address,
	_value *big.Int,
) (uint64, error)

func (*BondedECDSAKeep) DistributeETHReward

func (becdsak *BondedECDSAKeep) DistributeETHReward(
	value *big.Int,

	transactionOptions ...ethutil.TransactionOptions,
) (*types.Transaction, error)

Transaction submission.

func (*BondedECDSAKeep) DistributeETHRewardGasEstimate

func (becdsak *BondedECDSAKeep) DistributeETHRewardGasEstimate() (uint64, error)

func (*BondedECDSAKeep) GetMemberETHBalance

func (becdsak *BondedECDSAKeep) GetMemberETHBalance(
	_member common.Address,
) (*big.Int, error)

func (*BondedECDSAKeep) GetMemberETHBalanceAtBlock

func (becdsak *BondedECDSAKeep) GetMemberETHBalanceAtBlock(
	_member common.Address,
	blockNumber *big.Int,
) (*big.Int, error)

func (*BondedECDSAKeep) GetMembers

func (becdsak *BondedECDSAKeep) GetMembers() ([]common.Address, error)

func (*BondedECDSAKeep) GetMembersAtBlock

func (becdsak *BondedECDSAKeep) GetMembersAtBlock(
	blockNumber *big.Int,
) ([]common.Address, error)

func (*BondedECDSAKeep) GetOpenedTimestamp

func (becdsak *BondedECDSAKeep) GetOpenedTimestamp() (*big.Int, error)

func (*BondedECDSAKeep) GetOpenedTimestampAtBlock

func (becdsak *BondedECDSAKeep) GetOpenedTimestampAtBlock(
	blockNumber *big.Int,
) (*big.Int, error)

func (*BondedECDSAKeep) GetOwner

func (becdsak *BondedECDSAKeep) GetOwner() (common.Address, error)

func (*BondedECDSAKeep) GetOwnerAtBlock

func (becdsak *BondedECDSAKeep) GetOwnerAtBlock(
	blockNumber *big.Int,
) (common.Address, error)

func (*BondedECDSAKeep) GetPublicKey

func (becdsak *BondedECDSAKeep) GetPublicKey() ([]uint8, error)

func (*BondedECDSAKeep) GetPublicKeyAtBlock

func (becdsak *BondedECDSAKeep) GetPublicKeyAtBlock(
	blockNumber *big.Int,
) ([]uint8, error)

func (*BondedECDSAKeep) HonestThreshold

func (becdsak *BondedECDSAKeep) HonestThreshold() (*big.Int, error)

func (*BondedECDSAKeep) HonestThresholdAtBlock

func (becdsak *BondedECDSAKeep) HonestThresholdAtBlock(
	blockNumber *big.Int,
) (*big.Int, error)

func (*BondedECDSAKeep) Initialize

func (becdsak *BondedECDSAKeep) Initialize(
	_owner common.Address,
	_members []common.Address,
	_honestThreshold *big.Int,
	_memberStake *big.Int,
	_stakeLockDuration *big.Int,
	_tokenStaking common.Address,
	_keepBonding common.Address,
	_keepFactory common.Address,

	transactionOptions ...ethutil.TransactionOptions,
) (*types.Transaction, error)

Transaction submission.

func (*BondedECDSAKeep) InitializeGasEstimate

func (becdsak *BondedECDSAKeep) InitializeGasEstimate(
	_owner common.Address,
	_members []common.Address,
	_honestThreshold *big.Int,
	_memberStake *big.Int,
	_stakeLockDuration *big.Int,
	_tokenStaking common.Address,
	_keepBonding common.Address,
	_keepFactory common.Address,
) (uint64, error)

func (*BondedECDSAKeep) IsActive

func (becdsak *BondedECDSAKeep) IsActive() (bool, error)

func (*BondedECDSAKeep) IsActiveAtBlock

func (becdsak *BondedECDSAKeep) IsActiveAtBlock(
	blockNumber *big.Int,
) (bool, error)

func (*BondedECDSAKeep) IsAwaitingSignature

func (becdsak *BondedECDSAKeep) IsAwaitingSignature(
	_digest [32]uint8,
) (bool, error)

func (*BondedECDSAKeep) IsAwaitingSignatureAtBlock

func (becdsak *BondedECDSAKeep) IsAwaitingSignatureAtBlock(
	_digest [32]uint8,
	blockNumber *big.Int,
) (bool, error)

func (*BondedECDSAKeep) IsClosed

func (becdsak *BondedECDSAKeep) IsClosed() (bool, error)

func (*BondedECDSAKeep) IsClosedAtBlock

func (becdsak *BondedECDSAKeep) IsClosedAtBlock(
	blockNumber *big.Int,
) (bool, error)

func (*BondedECDSAKeep) IsTerminated

func (becdsak *BondedECDSAKeep) IsTerminated() (bool, error)

func (*BondedECDSAKeep) IsTerminatedAtBlock

func (becdsak *BondedECDSAKeep) IsTerminatedAtBlock(
	blockNumber *big.Int,
) (bool, error)

func (*BondedECDSAKeep) MemberStake

func (becdsak *BondedECDSAKeep) MemberStake() (*big.Int, error)

func (*BondedECDSAKeep) MemberStakeAtBlock

func (becdsak *BondedECDSAKeep) MemberStakeAtBlock(
	blockNumber *big.Int,
) (*big.Int, error)

func (*BondedECDSAKeep) Members

func (becdsak *BondedECDSAKeep) Members(
	arg0 *big.Int,
) (common.Address, error)

func (*BondedECDSAKeep) MembersAtBlock

func (becdsak *BondedECDSAKeep) MembersAtBlock(
	arg0 *big.Int,
	blockNumber *big.Int,
) (common.Address, error)

func (*BondedECDSAKeep) Owner

func (becdsak *BondedECDSAKeep) Owner() (common.Address, error)

func (*BondedECDSAKeep) OwnerAtBlock

func (becdsak *BondedECDSAKeep) OwnerAtBlock(
	blockNumber *big.Int,
) (common.Address, error)

func (*BondedECDSAKeep) PublicKey

func (becdsak *BondedECDSAKeep) PublicKey() ([]uint8, error)

func (*BondedECDSAKeep) PublicKeyAtBlock

func (becdsak *BondedECDSAKeep) PublicKeyAtBlock(
	blockNumber *big.Int,
) ([]uint8, error)

func (*BondedECDSAKeep) ReturnPartialSignerBonds

func (becdsak *BondedECDSAKeep) ReturnPartialSignerBonds(
	value *big.Int,

	transactionOptions ...ethutil.TransactionOptions,
) (*types.Transaction, error)

Transaction submission.

func (*BondedECDSAKeep) ReturnPartialSignerBondsGasEstimate

func (becdsak *BondedECDSAKeep) ReturnPartialSignerBondsGasEstimate() (uint64, error)

func (*BondedECDSAKeep) SeizeSignerBonds

func (becdsak *BondedECDSAKeep) SeizeSignerBonds(

	transactionOptions ...ethutil.TransactionOptions,
) (*types.Transaction, error)

Transaction submission.

func (*BondedECDSAKeep) SeizeSignerBondsGasEstimate

func (becdsak *BondedECDSAKeep) SeizeSignerBondsGasEstimate() (uint64, error)

func (*BondedECDSAKeep) Sign

func (becdsak *BondedECDSAKeep) Sign(
	_digest [32]uint8,

	transactionOptions ...ethutil.TransactionOptions,
) (*types.Transaction, error)

Transaction submission.

func (*BondedECDSAKeep) SignGasEstimate

func (becdsak *BondedECDSAKeep) SignGasEstimate(
	_digest [32]uint8,
) (uint64, error)

func (*BondedECDSAKeep) SubmitPublicKey

func (becdsak *BondedECDSAKeep) SubmitPublicKey(
	_publicKey []uint8,

	transactionOptions ...ethutil.TransactionOptions,
) (*types.Transaction, error)

Transaction submission.

func (*BondedECDSAKeep) SubmitPublicKeyGasEstimate

func (becdsak *BondedECDSAKeep) SubmitPublicKeyGasEstimate(
	_publicKey []uint8,
) (uint64, error)

func (*BondedECDSAKeep) SubmitSignature

func (becdsak *BondedECDSAKeep) SubmitSignature(
	_r [32]uint8,
	_s [32]uint8,
	_recoveryID uint8,

	transactionOptions ...ethutil.TransactionOptions,
) (*types.Transaction, error)

Transaction submission.

func (*BondedECDSAKeep) SubmitSignatureFraud

func (becdsak *BondedECDSAKeep) SubmitSignatureFraud(
	_v uint8,
	_r [32]uint8,
	_s [32]uint8,
	_signedDigest [32]uint8,
	_preimage []uint8,

	transactionOptions ...ethutil.TransactionOptions,
) (*types.Transaction, error)

Transaction submission.

func (*BondedECDSAKeep) SubmitSignatureFraudGasEstimate

func (becdsak *BondedECDSAKeep) SubmitSignatureFraudGasEstimate(
	_v uint8,
	_r [32]uint8,
	_s [32]uint8,
	_signedDigest [32]uint8,
	_preimage []uint8,
) (uint64, error)

func (*BondedECDSAKeep) SubmitSignatureGasEstimate

func (becdsak *BondedECDSAKeep) SubmitSignatureGasEstimate(
	_r [32]uint8,
	_s [32]uint8,
	_recoveryID uint8,
) (uint64, error)

func (*BondedECDSAKeep) WatchConflictingPublicKeySubmitted

func (becdsak *BondedECDSAKeep) WatchConflictingPublicKeySubmitted(
	success bondedECDSAKeepConflictingPublicKeySubmittedFunc,
	fail func(err error) error,
	submittingMemberFilter []common.Address,
) (subscription.EventSubscription, error)

func (*BondedECDSAKeep) WatchERC20RewardDistributed

func (becdsak *BondedECDSAKeep) WatchERC20RewardDistributed(
	success bondedECDSAKeepERC20RewardDistributedFunc,
	fail func(err error) error,
	tokenFilter []common.Address,
) (subscription.EventSubscription, error)

func (*BondedECDSAKeep) WatchETHRewardDistributed

func (becdsak *BondedECDSAKeep) WatchETHRewardDistributed(
	success bondedECDSAKeepETHRewardDistributedFunc,
	fail func(err error) error,
) (subscription.EventSubscription, error)

func (*BondedECDSAKeep) WatchKeepClosed

func (becdsak *BondedECDSAKeep) WatchKeepClosed(
	success bondedECDSAKeepKeepClosedFunc,
	fail func(err error) error,
) (subscription.EventSubscription, error)

func (*BondedECDSAKeep) WatchKeepTerminated

func (becdsak *BondedECDSAKeep) WatchKeepTerminated(
	success bondedECDSAKeepKeepTerminatedFunc,
	fail func(err error) error,
) (subscription.EventSubscription, error)

func (*BondedECDSAKeep) WatchPublicKeyPublished

func (becdsak *BondedECDSAKeep) WatchPublicKeyPublished(
	success bondedECDSAKeepPublicKeyPublishedFunc,
	fail func(err error) error,
) (subscription.EventSubscription, error)

func (*BondedECDSAKeep) WatchSignatureRequested

func (becdsak *BondedECDSAKeep) WatchSignatureRequested(
	success bondedECDSAKeepSignatureRequestedFunc,
	fail func(err error) error,
	digestFilter [][32]uint8,
) (subscription.EventSubscription, error)

func (*BondedECDSAKeep) WatchSignatureSubmitted

func (becdsak *BondedECDSAKeep) WatchSignatureSubmitted(
	success bondedECDSAKeepSignatureSubmittedFunc,
	fail func(err error) error,
	digestFilter [][32]uint8,
) (subscription.EventSubscription, error)

func (*BondedECDSAKeep) WatchSlashingFailed

func (becdsak *BondedECDSAKeep) WatchSlashingFailed(
	success bondedECDSAKeepSlashingFailedFunc,
	fail func(err error) error,
) (subscription.EventSubscription, error)

func (*BondedECDSAKeep) Withdraw

func (becdsak *BondedECDSAKeep) Withdraw(
	_member common.Address,

	transactionOptions ...ethutil.TransactionOptions,
) (*types.Transaction, error)

Transaction submission.

func (*BondedECDSAKeep) WithdrawGasEstimate

func (becdsak *BondedECDSAKeep) WithdrawGasEstimate(
	_member common.Address,
) (uint64, error)

type BondedECDSAKeepFactory

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

func NewBondedECDSAKeepFactory

func NewBondedECDSAKeepFactory(
	contractAddress common.Address,
	accountKey *keystore.Key,
	backend bind.ContractBackend,
	nonceManager *ethutil.NonceManager,
	miningWaiter *ethutil.MiningWaiter,
	transactionMutex *sync.Mutex,
) (*BondedECDSAKeepFactory, error)

func (*BondedECDSAKeepFactory) BalanceOf

func (becdsakf *BondedECDSAKeepFactory) BalanceOf(
	_operator common.Address,
) (*big.Int, error)

func (*BondedECDSAKeepFactory) BalanceOfAtBlock

func (becdsakf *BondedECDSAKeepFactory) BalanceOfAtBlock(
	_operator common.Address,
	blockNumber *big.Int,
) (*big.Int, error)

func (*BondedECDSAKeepFactory) BeaconCallback

func (becdsakf *BondedECDSAKeepFactory) BeaconCallback(
	_relayEntry *big.Int,

	transactionOptions ...ethutil.TransactionOptions,
) (*types.Transaction, error)

Transaction submission.

func (*BondedECDSAKeepFactory) BeaconCallbackGasEstimate

func (becdsakf *BondedECDSAKeepFactory) BeaconCallbackGasEstimate(
	_relayEntry *big.Int,
) (uint64, error)

func (*BondedECDSAKeepFactory) CallBeaconCallback

func (becdsakf *BondedECDSAKeepFactory) CallBeaconCallback(
	_relayEntry *big.Int,
	blockNumber *big.Int,
) error

Non-mutating call, not a transaction submission.

func (*BondedECDSAKeepFactory) CallCreateSortitionPool

func (becdsakf *BondedECDSAKeepFactory) CallCreateSortitionPool(
	_application common.Address,
	blockNumber *big.Int,
) (common.Address, error)

Non-mutating call, not a transaction submission.

func (*BondedECDSAKeepFactory) CallIsRecognized

func (becdsakf *BondedECDSAKeepFactory) CallIsRecognized(
	_delegatedAuthorityRecipient common.Address,
	blockNumber *big.Int,
) (bool, error)

Non-mutating call, not a transaction submission.

func (*BondedECDSAKeepFactory) CallOpenKeep

func (becdsakf *BondedECDSAKeepFactory) CallOpenKeep(
	_groupSize *big.Int,
	_honestThreshold *big.Int,
	_owner common.Address,
	_bond *big.Int,
	_stakeLockDuration *big.Int,
	value *big.Int,
	blockNumber *big.Int,
) (common.Address, error)

Non-mutating call, not a transaction submission.

func (*BondedECDSAKeepFactory) CallRegisterMemberCandidate

func (becdsakf *BondedECDSAKeepFactory) CallRegisterMemberCandidate(
	_application common.Address,
	blockNumber *big.Int,
) error

Non-mutating call, not a transaction submission.

func (*BondedECDSAKeepFactory) CallRequestNewGroupSelectionSeed

func (becdsakf *BondedECDSAKeepFactory) CallRequestNewGroupSelectionSeed(
	value *big.Int,
	blockNumber *big.Int,
) error

Non-mutating call, not a transaction submission.

func (*BondedECDSAKeepFactory) CallSetMinimumBondableValue

func (becdsakf *BondedECDSAKeepFactory) CallSetMinimumBondableValue(
	_minimumBondableValue *big.Int,
	_groupSize *big.Int,
	_honestThreshold *big.Int,
	blockNumber *big.Int,
) error

Non-mutating call, not a transaction submission.

func (*BondedECDSAKeepFactory) CallUpdateOperatorStatus

func (becdsakf *BondedECDSAKeepFactory) CallUpdateOperatorStatus(
	_operator common.Address,
	_application common.Address,
	blockNumber *big.Int,
) error

Non-mutating call, not a transaction submission.

func (*BondedECDSAKeepFactory) CallbackGas

func (becdsakf *BondedECDSAKeepFactory) CallbackGas() (*big.Int, error)

func (*BondedECDSAKeepFactory) CallbackGasAtBlock

func (becdsakf *BondedECDSAKeepFactory) CallbackGasAtBlock(
	blockNumber *big.Int,
) (*big.Int, error)

func (*BondedECDSAKeepFactory) CreateSortitionPool

func (becdsakf *BondedECDSAKeepFactory) CreateSortitionPool(
	_application common.Address,

	transactionOptions ...ethutil.TransactionOptions,
) (*types.Transaction, error)

Transaction submission.

func (*BondedECDSAKeepFactory) CreateSortitionPoolGasEstimate

func (becdsakf *BondedECDSAKeepFactory) CreateSortitionPoolGasEstimate(
	_application common.Address,
) (uint64, error)

func (*BondedECDSAKeepFactory) GetKeepAtIndex

func (becdsakf *BondedECDSAKeepFactory) GetKeepAtIndex(
	index *big.Int,
) (common.Address, error)

func (*BondedECDSAKeepFactory) GetKeepAtIndexAtBlock

func (becdsakf *BondedECDSAKeepFactory) GetKeepAtIndexAtBlock(
	index *big.Int,
	blockNumber *big.Int,
) (common.Address, error)

func (*BondedECDSAKeepFactory) GetKeepCount

func (becdsakf *BondedECDSAKeepFactory) GetKeepCount() (*big.Int, error)

func (*BondedECDSAKeepFactory) GetKeepCountAtBlock

func (becdsakf *BondedECDSAKeepFactory) GetKeepCountAtBlock(
	blockNumber *big.Int,
) (*big.Int, error)

func (*BondedECDSAKeepFactory) GetKeepOpenedTimestamp

func (becdsakf *BondedECDSAKeepFactory) GetKeepOpenedTimestamp(
	_keep common.Address,
) (*big.Int, error)

func (*BondedECDSAKeepFactory) GetKeepOpenedTimestampAtBlock

func (becdsakf *BondedECDSAKeepFactory) GetKeepOpenedTimestampAtBlock(
	_keep common.Address,
	blockNumber *big.Int,
) (*big.Int, error)

func (*BondedECDSAKeepFactory) GetSortitionPool

func (becdsakf *BondedECDSAKeepFactory) GetSortitionPool(
	_application common.Address,
) (common.Address, error)

func (*BondedECDSAKeepFactory) GetSortitionPoolAtBlock

func (becdsakf *BondedECDSAKeepFactory) GetSortitionPoolAtBlock(
	_application common.Address,
	blockNumber *big.Int,
) (common.Address, error)

func (*BondedECDSAKeepFactory) GetSortitionPoolWeight

func (becdsakf *BondedECDSAKeepFactory) GetSortitionPoolWeight(
	_application common.Address,
) (*big.Int, error)

func (*BondedECDSAKeepFactory) GetSortitionPoolWeightAtBlock

func (becdsakf *BondedECDSAKeepFactory) GetSortitionPoolWeightAtBlock(
	_application common.Address,
	blockNumber *big.Int,
) (*big.Int, error)

func (*BondedECDSAKeepFactory) GroupSelectionSeed

func (becdsakf *BondedECDSAKeepFactory) GroupSelectionSeed() (*big.Int, error)

func (*BondedECDSAKeepFactory) GroupSelectionSeedAtBlock

func (becdsakf *BondedECDSAKeepFactory) GroupSelectionSeedAtBlock(
	blockNumber *big.Int,
) (*big.Int, error)

func (*BondedECDSAKeepFactory) HasMinimumStake

func (becdsakf *BondedECDSAKeepFactory) HasMinimumStake(
	_operator common.Address,
) (bool, error)

func (*BondedECDSAKeepFactory) HasMinimumStakeAtBlock

func (becdsakf *BondedECDSAKeepFactory) HasMinimumStakeAtBlock(
	_operator common.Address,
	blockNumber *big.Int,
) (bool, error)

func (*BondedECDSAKeepFactory) IsOperatorAuthorized

func (becdsakf *BondedECDSAKeepFactory) IsOperatorAuthorized(
	_operator common.Address,
) (bool, error)

func (*BondedECDSAKeepFactory) IsOperatorAuthorizedAtBlock

func (becdsakf *BondedECDSAKeepFactory) IsOperatorAuthorizedAtBlock(
	_operator common.Address,
	blockNumber *big.Int,
) (bool, error)

func (*BondedECDSAKeepFactory) IsOperatorEligible

func (becdsakf *BondedECDSAKeepFactory) IsOperatorEligible(
	_operator common.Address,
	_application common.Address,
) (bool, error)

func (*BondedECDSAKeepFactory) IsOperatorEligibleAtBlock

func (becdsakf *BondedECDSAKeepFactory) IsOperatorEligibleAtBlock(
	_operator common.Address,
	_application common.Address,
	blockNumber *big.Int,
) (bool, error)

func (*BondedECDSAKeepFactory) IsOperatorRegistered

func (becdsakf *BondedECDSAKeepFactory) IsOperatorRegistered(
	_operator common.Address,
	_application common.Address,
) (bool, error)

func (*BondedECDSAKeepFactory) IsOperatorRegisteredAtBlock

func (becdsakf *BondedECDSAKeepFactory) IsOperatorRegisteredAtBlock(
	_operator common.Address,
	_application common.Address,
	blockNumber *big.Int,
) (bool, error)

func (*BondedECDSAKeepFactory) IsOperatorUpToDate

func (becdsakf *BondedECDSAKeepFactory) IsOperatorUpToDate(
	_operator common.Address,
	_application common.Address,
) (bool, error)

func (*BondedECDSAKeepFactory) IsOperatorUpToDateAtBlock

func (becdsakf *BondedECDSAKeepFactory) IsOperatorUpToDateAtBlock(
	_operator common.Address,
	_application common.Address,
	blockNumber *big.Int,
) (bool, error)

func (*BondedECDSAKeepFactory) IsRecognized

func (becdsakf *BondedECDSAKeepFactory) IsRecognized(
	_delegatedAuthorityRecipient common.Address,

	transactionOptions ...ethutil.TransactionOptions,
) (*types.Transaction, error)

Transaction submission.

func (*BondedECDSAKeepFactory) IsRecognizedGasEstimate

func (becdsakf *BondedECDSAKeepFactory) IsRecognizedGasEstimate(
	_delegatedAuthorityRecipient common.Address,
) (uint64, error)

func (*BondedECDSAKeepFactory) Keeps

func (becdsakf *BondedECDSAKeepFactory) Keeps(
	arg0 *big.Int,
) (common.Address, error)

func (*BondedECDSAKeepFactory) KeepsAtBlock

func (becdsakf *BondedECDSAKeepFactory) KeepsAtBlock(
	arg0 *big.Int,
	blockNumber *big.Int,
) (common.Address, error)

func (*BondedECDSAKeepFactory) MasterKeepAddress

func (becdsakf *BondedECDSAKeepFactory) MasterKeepAddress() (common.Address, error)

func (*BondedECDSAKeepFactory) MasterKeepAddressAtBlock

func (becdsakf *BondedECDSAKeepFactory) MasterKeepAddressAtBlock(
	blockNumber *big.Int,
) (common.Address, error)

func (*BondedECDSAKeepFactory) MinimumBond

func (becdsakf *BondedECDSAKeepFactory) MinimumBond() (*big.Int, error)

func (*BondedECDSAKeepFactory) MinimumBondAtBlock

func (becdsakf *BondedECDSAKeepFactory) MinimumBondAtBlock(
	blockNumber *big.Int,
) (*big.Int, error)

func (*BondedECDSAKeepFactory) NewEntryFeeEstimate

func (becdsakf *BondedECDSAKeepFactory) NewEntryFeeEstimate() (*big.Int, error)

func (*BondedECDSAKeepFactory) NewEntryFeeEstimateAtBlock

func (becdsakf *BondedECDSAKeepFactory) NewEntryFeeEstimateAtBlock(
	blockNumber *big.Int,
) (*big.Int, error)

func (*BondedECDSAKeepFactory) NewGroupSelectionSeedFee

func (becdsakf *BondedECDSAKeepFactory) NewGroupSelectionSeedFee() (*big.Int, error)

func (*BondedECDSAKeepFactory) NewGroupSelectionSeedFeeAtBlock

func (becdsakf *BondedECDSAKeepFactory) NewGroupSelectionSeedFeeAtBlock(
	blockNumber *big.Int,
) (*big.Int, error)

func (*BondedECDSAKeepFactory) OpenKeep

func (becdsakf *BondedECDSAKeepFactory) OpenKeep(
	_groupSize *big.Int,
	_honestThreshold *big.Int,
	_owner common.Address,
	_bond *big.Int,
	_stakeLockDuration *big.Int,
	value *big.Int,

	transactionOptions ...ethutil.TransactionOptions,
) (*types.Transaction, error)

Transaction submission.

func (*BondedECDSAKeepFactory) OpenKeepFeeEstimate

func (becdsakf *BondedECDSAKeepFactory) OpenKeepFeeEstimate() (*big.Int, error)

func (*BondedECDSAKeepFactory) OpenKeepFeeEstimateAtBlock

func (becdsakf *BondedECDSAKeepFactory) OpenKeepFeeEstimateAtBlock(
	blockNumber *big.Int,
) (*big.Int, error)

func (*BondedECDSAKeepFactory) OpenKeepGasEstimate

func (becdsakf *BondedECDSAKeepFactory) OpenKeepGasEstimate(
	_groupSize *big.Int,
	_honestThreshold *big.Int,
	_owner common.Address,
	_bond *big.Int,
	_stakeLockDuration *big.Int,
) (uint64, error)

func (*BondedECDSAKeepFactory) PoolStakeWeightDivisor

func (becdsakf *BondedECDSAKeepFactory) PoolStakeWeightDivisor() (*big.Int, error)

func (*BondedECDSAKeepFactory) PoolStakeWeightDivisorAtBlock

func (becdsakf *BondedECDSAKeepFactory) PoolStakeWeightDivisorAtBlock(
	blockNumber *big.Int,
) (*big.Int, error)

func (*BondedECDSAKeepFactory) RegisterMemberCandidate

func (becdsakf *BondedECDSAKeepFactory) RegisterMemberCandidate(
	_application common.Address,

	transactionOptions ...ethutil.TransactionOptions,
) (*types.Transaction, error)

Transaction submission.

func (*BondedECDSAKeepFactory) RegisterMemberCandidateGasEstimate

func (becdsakf *BondedECDSAKeepFactory) RegisterMemberCandidateGasEstimate(
	_application common.Address,
) (uint64, error)

func (*BondedECDSAKeepFactory) RequestNewGroupSelectionSeed

func (becdsakf *BondedECDSAKeepFactory) RequestNewGroupSelectionSeed(
	value *big.Int,

	transactionOptions ...ethutil.TransactionOptions,
) (*types.Transaction, error)

Transaction submission.

func (*BondedECDSAKeepFactory) RequestNewGroupSelectionSeedGasEstimate

func (becdsakf *BondedECDSAKeepFactory) RequestNewGroupSelectionSeedGasEstimate() (uint64, error)

func (*BondedECDSAKeepFactory) ReseedPool

func (becdsakf *BondedECDSAKeepFactory) ReseedPool() (*big.Int, error)

func (*BondedECDSAKeepFactory) ReseedPoolAtBlock

func (becdsakf *BondedECDSAKeepFactory) ReseedPoolAtBlock(
	blockNumber *big.Int,
) (*big.Int, error)

func (*BondedECDSAKeepFactory) SetMinimumBondableValue

func (becdsakf *BondedECDSAKeepFactory) SetMinimumBondableValue(
	_minimumBondableValue *big.Int,
	_groupSize *big.Int,
	_honestThreshold *big.Int,

	transactionOptions ...ethutil.TransactionOptions,
) (*types.Transaction, error)

Transaction submission.

func (*BondedECDSAKeepFactory) SetMinimumBondableValueGasEstimate

func (becdsakf *BondedECDSAKeepFactory) SetMinimumBondableValueGasEstimate(
	_minimumBondableValue *big.Int,
	_groupSize *big.Int,
	_honestThreshold *big.Int,
) (uint64, error)

func (*BondedECDSAKeepFactory) UpdateOperatorStatus

func (becdsakf *BondedECDSAKeepFactory) UpdateOperatorStatus(
	_operator common.Address,
	_application common.Address,

	transactionOptions ...ethutil.TransactionOptions,
) (*types.Transaction, error)

Transaction submission.

func (*BondedECDSAKeepFactory) UpdateOperatorStatusGasEstimate

func (becdsakf *BondedECDSAKeepFactory) UpdateOperatorStatusGasEstimate(
	_operator common.Address,
	_application common.Address,
) (uint64, error)

func (*BondedECDSAKeepFactory) WatchBondedECDSAKeepCreated

func (becdsakf *BondedECDSAKeepFactory) WatchBondedECDSAKeepCreated(
	success bondedECDSAKeepFactoryBondedECDSAKeepCreatedFunc,
	fail func(err error) error,
	keepAddressFilter []common.Address,
	ownerFilter []common.Address,
	applicationFilter []common.Address,
) (subscription.EventSubscription, error)

func (*BondedECDSAKeepFactory) WatchSortitionPoolCreated

func (becdsakf *BondedECDSAKeepFactory) WatchSortitionPoolCreated(
	success bondedECDSAKeepFactorySortitionPoolCreatedFunc,
	fail func(err error) error,
	applicationFilter []common.Address,
) (subscription.EventSubscription, error)

type BondedECDSAKeepVendor

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

func NewBondedECDSAKeepVendor

func NewBondedECDSAKeepVendor(
	contractAddress common.Address,
	accountKey *keystore.Key,
	backend bind.ContractBackend,
	nonceManager *ethutil.NonceManager,
	miningWaiter *ethutil.MiningWaiter,
	transactionMutex *sync.Mutex,
) (*BondedECDSAKeepVendor, error)

func (*BondedECDSAKeepVendor) CallCompleteFactoryUpgrade

func (becdsakv *BondedECDSAKeepVendor) CallCompleteFactoryUpgrade(
	blockNumber *big.Int,
) error

Non-mutating call, not a transaction submission.

func (*BondedECDSAKeepVendor) CallInitialize

func (becdsakv *BondedECDSAKeepVendor) CallInitialize(
	registryAddress common.Address,
	factory common.Address,
	blockNumber *big.Int,
) error

Non-mutating call, not a transaction submission.

func (*BondedECDSAKeepVendor) CallUpgradeFactory

func (becdsakv *BondedECDSAKeepVendor) CallUpgradeFactory(
	_factory common.Address,
	blockNumber *big.Int,
) error

Non-mutating call, not a transaction submission.

func (*BondedECDSAKeepVendor) CompleteFactoryUpgrade

func (becdsakv *BondedECDSAKeepVendor) CompleteFactoryUpgrade(

	transactionOptions ...ethutil.TransactionOptions,
) (*types.Transaction, error)

Transaction submission.

func (*BondedECDSAKeepVendor) CompleteFactoryUpgradeGasEstimate

func (becdsakv *BondedECDSAKeepVendor) CompleteFactoryUpgradeGasEstimate() (uint64, error)

func (*BondedECDSAKeepVendor) FactoryUpgradeTimeDelay

func (becdsakv *BondedECDSAKeepVendor) FactoryUpgradeTimeDelay() (*big.Int, error)

func (*BondedECDSAKeepVendor) FactoryUpgradeTimeDelayAtBlock

func (becdsakv *BondedECDSAKeepVendor) FactoryUpgradeTimeDelayAtBlock(
	blockNumber *big.Int,
) (*big.Int, error)

func (*BondedECDSAKeepVendor) Initialize

func (becdsakv *BondedECDSAKeepVendor) Initialize(
	registryAddress common.Address,
	factory common.Address,

	transactionOptions ...ethutil.TransactionOptions,
) (*types.Transaction, error)

Transaction submission.

func (*BondedECDSAKeepVendor) InitializeGasEstimate

func (becdsakv *BondedECDSAKeepVendor) InitializeGasEstimate(
	registryAddress common.Address,
	factory common.Address,
) (uint64, error)

func (*BondedECDSAKeepVendor) Initialized

func (becdsakv *BondedECDSAKeepVendor) Initialized() (bool, error)

func (*BondedECDSAKeepVendor) InitializedAtBlock

func (becdsakv *BondedECDSAKeepVendor) InitializedAtBlock(
	blockNumber *big.Int,
) (bool, error)

func (*BondedECDSAKeepVendor) SelectFactory

func (becdsakv *BondedECDSAKeepVendor) SelectFactory() (common.Address, error)

func (*BondedECDSAKeepVendor) SelectFactoryAtBlock

func (becdsakv *BondedECDSAKeepVendor) SelectFactoryAtBlock(
	blockNumber *big.Int,
) (common.Address, error)

func (*BondedECDSAKeepVendor) UpgradeFactory

func (becdsakv *BondedECDSAKeepVendor) UpgradeFactory(
	_factory common.Address,

	transactionOptions ...ethutil.TransactionOptions,
) (*types.Transaction, error)

Transaction submission.

func (*BondedECDSAKeepVendor) UpgradeFactoryGasEstimate

func (becdsakv *BondedECDSAKeepVendor) UpgradeFactoryGasEstimate(
	_factory common.Address,
) (uint64, error)

func (*BondedECDSAKeepVendor) WatchFactoryUpgradeCompleted

func (becdsakv *BondedECDSAKeepVendor) WatchFactoryUpgradeCompleted(
	success bondedECDSAKeepVendorFactoryUpgradeCompletedFunc,
	fail func(err error) error,
) (subscription.EventSubscription, error)

func (*BondedECDSAKeepVendor) WatchFactoryUpgradeStarted

func (becdsakv *BondedECDSAKeepVendor) WatchFactoryUpgradeStarted(
	success bondedECDSAKeepVendorFactoryUpgradeStartedFunc,
	fail func(err error) error,
) (subscription.EventSubscription, error)

Jump to

Keyboard shortcuts

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