Documentation ¶
Index ¶
- type Deposit
- func (d *Deposit) AuctionValue() (*big.Int, error)
- func (d *Deposit) AuctionValueAtBlock(blockNumber *big.Int) (*big.Int, error)
- func (d *Deposit) CallExitCourtesyCall(blockNumber *big.Int) error
- func (d *Deposit) CallIncreaseRedemptionFee(_previousOutputValueBytes [8]uint8, _newOutputValueBytes [8]uint8, ...) error
- func (d *Deposit) CallInitialize(_factory common.Address, blockNumber *big.Int) error
- func (d *Deposit) CallInitializeDeposit(_tbtcSystem common.Address, _tbtcToken common.Address, ...) error
- func (d *Deposit) CallNotifyCourtesyCall(blockNumber *big.Int) error
- func (d *Deposit) CallNotifyCourtesyCallExpired(blockNumber *big.Int) error
- func (d *Deposit) CallNotifyFundingTimedOut(blockNumber *big.Int) error
- func (d *Deposit) CallNotifyRedemptionProofTimedOut(blockNumber *big.Int) error
- func (d *Deposit) CallNotifyRedemptionSignatureTimedOut(blockNumber *big.Int) error
- func (d *Deposit) CallNotifySignerSetupFailed(blockNumber *big.Int) error
- func (d *Deposit) CallNotifyUndercollateralizedLiquidation(blockNumber *big.Int) error
- func (d *Deposit) CallProvideBTCFundingProof(_txVersion [4]uint8, _txInputVector []uint8, _txOutputVector []uint8, ...) error
- func (d *Deposit) CallProvideECDSAFraudProof(_v uint8, _r [32]uint8, _s [32]uint8, _signedDigest [32]uint8, ...) error
- func (d *Deposit) CallProvideFundingECDSAFraudProof(_v uint8, _r [32]uint8, _s [32]uint8, _signedDigest [32]uint8, ...) error
- func (d *Deposit) CallProvideRedemptionProof(_txVersion [4]uint8, _txInputVector []uint8, _txOutputVector []uint8, ...) error
- func (d *Deposit) CallProvideRedemptionSignature(_v uint8, _r [32]uint8, _s [32]uint8, blockNumber *big.Int) error
- func (d *Deposit) CallPurchaseSignerBondsAtAuction(blockNumber *big.Int) error
- func (d *Deposit) CallRequestFunderAbort(_abortOutputScript []uint8, blockNumber *big.Int) error
- func (d *Deposit) CallRequestRedemption(_outputValueBytes [8]uint8, _redeemerOutputScript []uint8, ...) error
- func (d *Deposit) CallRetrieveSignerPubkey(blockNumber *big.Int) error
- func (d *Deposit) CallTransferAndRequestRedemption(_outputValueBytes [8]uint8, _redeemerOutputScript []uint8, ...) error
- func (d *Deposit) CallWithdrawFunds(blockNumber *big.Int) error
- func (d *Deposit) CollateralizationPercentage() (*big.Int, error)
- func (d *Deposit) CollateralizationPercentageAtBlock(blockNumber *big.Int) (*big.Int, error)
- func (d *Deposit) CurrentState() (*big.Int, error)
- func (d *Deposit) CurrentStateAtBlock(blockNumber *big.Int) (*big.Int, error)
- func (d *Deposit) ExitCourtesyCall(transactionOptions ...ethutil.TransactionOptions) (*types.Transaction, error)
- func (d *Deposit) ExitCourtesyCallGasEstimate() (uint64, error)
- func (d *Deposit) FundingInfo() (fundingInfo, error)
- func (d *Deposit) FundingInfoAtBlock(blockNumber *big.Int) (fundingInfo, error)
- func (d *Deposit) GetOwnerRedemptionTbtcRequirement(_redeemer common.Address) (*big.Int, error)
- func (d *Deposit) GetOwnerRedemptionTbtcRequirementAtBlock(_redeemer common.Address, blockNumber *big.Int) (*big.Int, error)
- func (d *Deposit) GetRedemptionTbtcRequirement(_redeemer common.Address) (*big.Int, error)
- func (d *Deposit) GetRedemptionTbtcRequirementAtBlock(_redeemer common.Address, blockNumber *big.Int) (*big.Int, error)
- func (d *Deposit) InActive() (bool, error)
- func (d *Deposit) InActiveAtBlock(blockNumber *big.Int) (bool, error)
- func (d *Deposit) IncreaseRedemptionFee(_previousOutputValueBytes [8]uint8, _newOutputValueBytes [8]uint8, ...) (*types.Transaction, error)
- func (d *Deposit) IncreaseRedemptionFeeGasEstimate(_previousOutputValueBytes [8]uint8, _newOutputValueBytes [8]uint8) (uint64, error)
- func (d *Deposit) InitialCollateralizedPercent() (uint16, error)
- func (d *Deposit) InitialCollateralizedPercentAtBlock(blockNumber *big.Int) (uint16, error)
- func (d *Deposit) Initialize(_factory common.Address, transactionOptions ...ethutil.TransactionOptions) (*types.Transaction, error)
- func (d *Deposit) InitializeDeposit(_tbtcSystem common.Address, _tbtcToken common.Address, ...) (*types.Transaction, error)
- func (d *Deposit) InitializeDepositGasEstimate(_tbtcSystem common.Address, _tbtcToken common.Address, ...) (uint64, error)
- func (d *Deposit) InitializeGasEstimate(_factory common.Address) (uint64, error)
- func (d *Deposit) KeepAddress() (common.Address, error)
- func (d *Deposit) KeepAddressAtBlock(blockNumber *big.Int) (common.Address, error)
- func (d *Deposit) LotSizeSatoshis() (uint64, error)
- func (d *Deposit) LotSizeSatoshisAtBlock(blockNumber *big.Int) (uint64, error)
- func (d *Deposit) LotSizeTbtc() (*big.Int, error)
- func (d *Deposit) LotSizeTbtcAtBlock(blockNumber *big.Int) (*big.Int, error)
- func (d *Deposit) NotifyCourtesyCall(transactionOptions ...ethutil.TransactionOptions) (*types.Transaction, error)
- func (d *Deposit) NotifyCourtesyCallExpired(transactionOptions ...ethutil.TransactionOptions) (*types.Transaction, error)
- func (d *Deposit) NotifyCourtesyCallExpiredGasEstimate() (uint64, error)
- func (d *Deposit) NotifyCourtesyCallGasEstimate() (uint64, error)
- func (d *Deposit) NotifyFundingTimedOut(transactionOptions ...ethutil.TransactionOptions) (*types.Transaction, error)
- func (d *Deposit) NotifyFundingTimedOutGasEstimate() (uint64, error)
- func (d *Deposit) NotifyRedemptionProofTimedOut(transactionOptions ...ethutil.TransactionOptions) (*types.Transaction, error)
- func (d *Deposit) NotifyRedemptionProofTimedOutGasEstimate() (uint64, error)
- func (d *Deposit) NotifyRedemptionSignatureTimedOut(transactionOptions ...ethutil.TransactionOptions) (*types.Transaction, error)
- func (d *Deposit) NotifyRedemptionSignatureTimedOutGasEstimate() (uint64, error)
- func (d *Deposit) NotifySignerSetupFailed(transactionOptions ...ethutil.TransactionOptions) (*types.Transaction, error)
- func (d *Deposit) NotifySignerSetupFailedGasEstimate() (uint64, error)
- func (d *Deposit) NotifyUndercollateralizedLiquidation(transactionOptions ...ethutil.TransactionOptions) (*types.Transaction, error)
- func (d *Deposit) NotifyUndercollateralizedLiquidationGasEstimate() (uint64, error)
- func (d *Deposit) ProvideBTCFundingProof(_txVersion [4]uint8, _txInputVector []uint8, _txOutputVector []uint8, ...) (*types.Transaction, error)
- func (d *Deposit) ProvideBTCFundingProofGasEstimate(_txVersion [4]uint8, _txInputVector []uint8, _txOutputVector []uint8, ...) (uint64, error)
- func (d *Deposit) ProvideECDSAFraudProof(_v uint8, _r [32]uint8, _s [32]uint8, _signedDigest [32]uint8, ...) (*types.Transaction, error)
- func (d *Deposit) ProvideECDSAFraudProofGasEstimate(_v uint8, _r [32]uint8, _s [32]uint8, _signedDigest [32]uint8, ...) (uint64, error)
- func (d *Deposit) ProvideFundingECDSAFraudProof(_v uint8, _r [32]uint8, _s [32]uint8, _signedDigest [32]uint8, ...) (*types.Transaction, error)
- func (d *Deposit) ProvideFundingECDSAFraudProofGasEstimate(_v uint8, _r [32]uint8, _s [32]uint8, _signedDigest [32]uint8, ...) (uint64, error)
- func (d *Deposit) ProvideRedemptionProof(_txVersion [4]uint8, _txInputVector []uint8, _txOutputVector []uint8, ...) (*types.Transaction, error)
- func (d *Deposit) ProvideRedemptionProofGasEstimate(_txVersion [4]uint8, _txInputVector []uint8, _txOutputVector []uint8, ...) (uint64, error)
- func (d *Deposit) ProvideRedemptionSignature(_v uint8, _r [32]uint8, _s [32]uint8, ...) (*types.Transaction, error)
- func (d *Deposit) ProvideRedemptionSignatureGasEstimate(_v uint8, _r [32]uint8, _s [32]uint8) (uint64, error)
- func (d *Deposit) PurchaseSignerBondsAtAuction(transactionOptions ...ethutil.TransactionOptions) (*types.Transaction, error)
- func (d *Deposit) PurchaseSignerBondsAtAuctionGasEstimate() (uint64, error)
- func (d *Deposit) RemainingTerm() (*big.Int, error)
- func (d *Deposit) RemainingTermAtBlock(blockNumber *big.Int) (*big.Int, error)
- func (d *Deposit) RequestFunderAbort(_abortOutputScript []uint8, transactionOptions ...ethutil.TransactionOptions) (*types.Transaction, error)
- func (d *Deposit) RequestFunderAbortGasEstimate(_abortOutputScript []uint8) (uint64, error)
- func (d *Deposit) RequestRedemption(_outputValueBytes [8]uint8, _redeemerOutputScript []uint8, ...) (*types.Transaction, error)
- func (d *Deposit) RequestRedemptionGasEstimate(_outputValueBytes [8]uint8, _redeemerOutputScript []uint8) (uint64, error)
- func (d *Deposit) RetrieveSignerPubkey(transactionOptions ...ethutil.TransactionOptions) (*types.Transaction, error)
- func (d *Deposit) RetrieveSignerPubkeyGasEstimate() (uint64, error)
- func (d *Deposit) SeverelyUndercollateralizedThresholdPercent() (uint16, error)
- func (d *Deposit) SeverelyUndercollateralizedThresholdPercentAtBlock(blockNumber *big.Int) (uint16, error)
- func (d *Deposit) SignerFeeTbtc() (*big.Int, error)
- func (d *Deposit) SignerFeeTbtcAtBlock(blockNumber *big.Int) (*big.Int, error)
- func (d *Deposit) TransferAndRequestRedemption(_outputValueBytes [8]uint8, _redeemerOutputScript []uint8, ...) (*types.Transaction, error)
- func (d *Deposit) TransferAndRequestRedemptionGasEstimate(_outputValueBytes [8]uint8, _redeemerOutputScript []uint8, ...) (uint64, error)
- func (d *Deposit) UndercollateralizedThresholdPercent() (uint16, error)
- func (d *Deposit) UndercollateralizedThresholdPercentAtBlock(blockNumber *big.Int) (uint16, error)
- func (d *Deposit) UtxoValue() (*big.Int, error)
- func (d *Deposit) UtxoValueAtBlock(blockNumber *big.Int) (*big.Int, error)
- func (d *Deposit) WithdrawFunds(transactionOptions ...ethutil.TransactionOptions) (*types.Transaction, error)
- func (d *Deposit) WithdrawFundsGasEstimate() (uint64, error)
- func (d *Deposit) WithdrawableAmount() (*big.Int, error)
- func (d *Deposit) WithdrawableAmountAtBlock(blockNumber *big.Int) (*big.Int, error)
- type DepositLog
- func (dl *DepositLog) ApprovedToLog(_caller common.Address) (bool, error)
- func (dl *DepositLog) ApprovedToLogAtBlock(_caller common.Address, blockNumber *big.Int) (bool, error)
- func (dl *DepositLog) CallLogCourtesyCalled(blockNumber *big.Int) error
- func (dl *DepositLog) CallLogCreated(_keepAddress common.Address, blockNumber *big.Int) error
- func (dl *DepositLog) CallLogExitedCourtesyCall(blockNumber *big.Int) error
- func (dl *DepositLog) CallLogFraudDuringSetup(blockNumber *big.Int) error
- func (dl *DepositLog) CallLogFunded(_txid [32]uint8, blockNumber *big.Int) error
- func (dl *DepositLog) CallLogFunderRequestedAbort(_abortOutputScript []uint8, blockNumber *big.Int) error
- func (dl *DepositLog) CallLogGotRedemptionSignature(_digest [32]uint8, _r [32]uint8, _s [32]uint8, blockNumber *big.Int) error
- func (dl *DepositLog) CallLogLiquidated(blockNumber *big.Int) error
- func (dl *DepositLog) CallLogRedeemed(_txid [32]uint8, blockNumber *big.Int) error
- func (dl *DepositLog) CallLogRedemptionRequested(_requester common.Address, _digest [32]uint8, _utxoValue *big.Int, ...) error
- func (dl *DepositLog) CallLogRegisteredPubkey(_signingGroupPubkeyX [32]uint8, _signingGroupPubkeyY [32]uint8, ...) error
- func (dl *DepositLog) CallLogSetupFailed(blockNumber *big.Int) error
- func (dl *DepositLog) CallLogStartedLiquidation(_wasFraud bool, blockNumber *big.Int) error
- func (dl *DepositLog) LogCourtesyCalled(transactionOptions ...ethutil.TransactionOptions) (*types.Transaction, error)
- func (dl *DepositLog) LogCourtesyCalledGasEstimate() (uint64, error)
- func (dl *DepositLog) LogCreated(_keepAddress common.Address, transactionOptions ...ethutil.TransactionOptions) (*types.Transaction, error)
- func (dl *DepositLog) LogCreatedGasEstimate(_keepAddress common.Address) (uint64, error)
- func (dl *DepositLog) LogExitedCourtesyCall(transactionOptions ...ethutil.TransactionOptions) (*types.Transaction, error)
- func (dl *DepositLog) LogExitedCourtesyCallGasEstimate() (uint64, error)
- func (dl *DepositLog) LogFraudDuringSetup(transactionOptions ...ethutil.TransactionOptions) (*types.Transaction, error)
- func (dl *DepositLog) LogFraudDuringSetupGasEstimate() (uint64, error)
- func (dl *DepositLog) LogFunded(_txid [32]uint8, transactionOptions ...ethutil.TransactionOptions) (*types.Transaction, error)
- func (dl *DepositLog) LogFundedGasEstimate(_txid [32]uint8) (uint64, error)
- func (dl *DepositLog) LogFunderRequestedAbort(_abortOutputScript []uint8, transactionOptions ...ethutil.TransactionOptions) (*types.Transaction, error)
- func (dl *DepositLog) LogFunderRequestedAbortGasEstimate(_abortOutputScript []uint8) (uint64, error)
- func (dl *DepositLog) LogGotRedemptionSignature(_digest [32]uint8, _r [32]uint8, _s [32]uint8, ...) (*types.Transaction, error)
- func (dl *DepositLog) LogGotRedemptionSignatureGasEstimate(_digest [32]uint8, _r [32]uint8, _s [32]uint8) (uint64, error)
- func (dl *DepositLog) LogLiquidated(transactionOptions ...ethutil.TransactionOptions) (*types.Transaction, error)
- func (dl *DepositLog) LogLiquidatedGasEstimate() (uint64, error)
- func (dl *DepositLog) LogRedeemed(_txid [32]uint8, transactionOptions ...ethutil.TransactionOptions) (*types.Transaction, error)
- func (dl *DepositLog) LogRedeemedGasEstimate(_txid [32]uint8) (uint64, error)
- func (dl *DepositLog) LogRedemptionRequested(_requester common.Address, _digest [32]uint8, _utxoValue *big.Int, ...) (*types.Transaction, error)
- func (dl *DepositLog) LogRedemptionRequestedGasEstimate(_requester common.Address, _digest [32]uint8, _utxoValue *big.Int, ...) (uint64, error)
- func (dl *DepositLog) LogRegisteredPubkey(_signingGroupPubkeyX [32]uint8, _signingGroupPubkeyY [32]uint8, ...) (*types.Transaction, error)
- func (dl *DepositLog) LogRegisteredPubkeyGasEstimate(_signingGroupPubkeyX [32]uint8, _signingGroupPubkeyY [32]uint8) (uint64, error)
- func (dl *DepositLog) LogSetupFailed(transactionOptions ...ethutil.TransactionOptions) (*types.Transaction, error)
- func (dl *DepositLog) LogSetupFailedGasEstimate() (uint64, error)
- func (dl *DepositLog) LogStartedLiquidation(_wasFraud bool, transactionOptions ...ethutil.TransactionOptions) (*types.Transaction, error)
- func (dl *DepositLog) LogStartedLiquidationGasEstimate(_wasFraud bool) (uint64, error)
- func (dl *DepositLog) WatchCourtesyCalled(success depositLogCourtesyCalledFunc, fail func(err error) error, ...) (subscription.EventSubscription, error)
- func (dl *DepositLog) WatchCreated(success depositLogCreatedFunc, fail func(err error) error, ...) (subscription.EventSubscription, error)
- func (dl *DepositLog) WatchExitedCourtesyCall(success depositLogExitedCourtesyCallFunc, fail func(err error) error, ...) (subscription.EventSubscription, error)
- func (dl *DepositLog) WatchFraudDuringSetup(success depositLogFraudDuringSetupFunc, fail func(err error) error, ...) (subscription.EventSubscription, error)
- func (dl *DepositLog) WatchFunded(success depositLogFundedFunc, fail func(err error) error, ...) (subscription.EventSubscription, error)
- func (dl *DepositLog) WatchFunderAbortRequested(success depositLogFunderAbortRequestedFunc, fail func(err error) error, ...) (subscription.EventSubscription, error)
- func (dl *DepositLog) WatchGotRedemptionSignature(success depositLogGotRedemptionSignatureFunc, fail func(err error) error, ...) (subscription.EventSubscription, error)
- func (dl *DepositLog) WatchLiquidated(success depositLogLiquidatedFunc, fail func(err error) error, ...) (subscription.EventSubscription, error)
- func (dl *DepositLog) WatchRedeemed(success depositLogRedeemedFunc, fail func(err error) error, ...) (subscription.EventSubscription, error)
- func (dl *DepositLog) WatchRedemptionRequested(success depositLogRedemptionRequestedFunc, fail func(err error) error, ...) (subscription.EventSubscription, error)
- func (dl *DepositLog) WatchRegisteredPubkey(success depositLogRegisteredPubkeyFunc, fail func(err error) error, ...) (subscription.EventSubscription, error)
- func (dl *DepositLog) WatchSetupFailed(success depositLogSetupFailedFunc, fail func(err error) error, ...) (subscription.EventSubscription, error)
- func (dl *DepositLog) WatchStartedLiquidation(success depositLogStartedLiquidationFunc, fail func(err error) error, ...) (subscription.EventSubscription, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Deposit ¶
type Deposit struct {
// contains filtered or unexported fields
}
func NewDeposit ¶
func NewDeposit( contractAddress common.Address, accountKey *keystore.Key, backend bind.ContractBackend, nonceManager *ethutil.NonceManager, miningWaiter *ethutil.MiningWaiter, transactionMutex *sync.Mutex, ) (*Deposit, error)
func (*Deposit) AuctionValueAtBlock ¶
func (*Deposit) CallExitCourtesyCall ¶
Non-mutating call, not a transaction submission.
func (*Deposit) CallIncreaseRedemptionFee ¶
func (d *Deposit) CallIncreaseRedemptionFee( _previousOutputValueBytes [8]uint8, _newOutputValueBytes [8]uint8, blockNumber *big.Int, ) error
Non-mutating call, not a transaction submission.
func (*Deposit) CallInitialize ¶
Non-mutating call, not a transaction submission.
func (*Deposit) CallInitializeDeposit ¶
func (d *Deposit) CallInitializeDeposit( _tbtcSystem common.Address, _tbtcToken common.Address, _tbtcDepositToken common.Address, _feeRebateToken common.Address, _vendingMachineAddress common.Address, _lotSizeSatoshis uint64, value *big.Int, blockNumber *big.Int, ) error
Non-mutating call, not a transaction submission.
func (*Deposit) CallNotifyCourtesyCall ¶
Non-mutating call, not a transaction submission.
func (*Deposit) CallNotifyCourtesyCallExpired ¶
Non-mutating call, not a transaction submission.
func (*Deposit) CallNotifyFundingTimedOut ¶
Non-mutating call, not a transaction submission.
func (*Deposit) CallNotifyRedemptionProofTimedOut ¶
Non-mutating call, not a transaction submission.
func (*Deposit) CallNotifyRedemptionSignatureTimedOut ¶
Non-mutating call, not a transaction submission.
func (*Deposit) CallNotifySignerSetupFailed ¶
Non-mutating call, not a transaction submission.
func (*Deposit) CallNotifyUndercollateralizedLiquidation ¶
Non-mutating call, not a transaction submission.
func (*Deposit) CallProvideBTCFundingProof ¶
func (d *Deposit) CallProvideBTCFundingProof( _txVersion [4]uint8, _txInputVector []uint8, _txOutputVector []uint8, _txLocktime [4]uint8, _fundingOutputIndex uint8, _merkleProof []uint8, _txIndexInBlock *big.Int, _bitcoinHeaders []uint8, blockNumber *big.Int, ) error
Non-mutating call, not a transaction submission.
func (*Deposit) CallProvideECDSAFraudProof ¶
func (d *Deposit) CallProvideECDSAFraudProof( _v uint8, _r [32]uint8, _s [32]uint8, _signedDigest [32]uint8, _preimage []uint8, blockNumber *big.Int, ) error
Non-mutating call, not a transaction submission.
func (*Deposit) CallProvideFundingECDSAFraudProof ¶
func (d *Deposit) CallProvideFundingECDSAFraudProof( _v uint8, _r [32]uint8, _s [32]uint8, _signedDigest [32]uint8, _preimage []uint8, blockNumber *big.Int, ) error
Non-mutating call, not a transaction submission.
func (*Deposit) CallProvideRedemptionProof ¶
func (d *Deposit) CallProvideRedemptionProof( _txVersion [4]uint8, _txInputVector []uint8, _txOutputVector []uint8, _txLocktime [4]uint8, _merkleProof []uint8, _txIndexInBlock *big.Int, _bitcoinHeaders []uint8, blockNumber *big.Int, ) error
Non-mutating call, not a transaction submission.
func (*Deposit) CallProvideRedemptionSignature ¶
func (d *Deposit) CallProvideRedemptionSignature( _v uint8, _r [32]uint8, _s [32]uint8, blockNumber *big.Int, ) error
Non-mutating call, not a transaction submission.
func (*Deposit) CallPurchaseSignerBondsAtAuction ¶
Non-mutating call, not a transaction submission.
func (*Deposit) CallRequestFunderAbort ¶
Non-mutating call, not a transaction submission.
func (*Deposit) CallRequestRedemption ¶
func (d *Deposit) CallRequestRedemption( _outputValueBytes [8]uint8, _redeemerOutputScript []uint8, blockNumber *big.Int, ) error
Non-mutating call, not a transaction submission.
func (*Deposit) CallRetrieveSignerPubkey ¶
Non-mutating call, not a transaction submission.
func (*Deposit) CallTransferAndRequestRedemption ¶
func (d *Deposit) CallTransferAndRequestRedemption( _outputValueBytes [8]uint8, _redeemerOutputScript []uint8, _finalRecipient common.Address, blockNumber *big.Int, ) error
Non-mutating call, not a transaction submission.
func (*Deposit) CallWithdrawFunds ¶
Non-mutating call, not a transaction submission.
func (*Deposit) CollateralizationPercentage ¶
func (*Deposit) CollateralizationPercentageAtBlock ¶
func (*Deposit) CurrentStateAtBlock ¶
func (*Deposit) ExitCourtesyCall ¶
func (d *Deposit) ExitCourtesyCall( transactionOptions ...ethutil.TransactionOptions, ) (*types.Transaction, error)
Transaction submission.
func (*Deposit) ExitCourtesyCallGasEstimate ¶
func (*Deposit) FundingInfo ¶
func (*Deposit) FundingInfoAtBlock ¶
func (*Deposit) GetOwnerRedemptionTbtcRequirement ¶
func (*Deposit) GetOwnerRedemptionTbtcRequirementAtBlock ¶
func (*Deposit) GetRedemptionTbtcRequirement ¶
func (*Deposit) GetRedemptionTbtcRequirementAtBlock ¶
func (*Deposit) InActiveAtBlock ¶
func (*Deposit) IncreaseRedemptionFee ¶
func (d *Deposit) IncreaseRedemptionFee( _previousOutputValueBytes [8]uint8, _newOutputValueBytes [8]uint8, transactionOptions ...ethutil.TransactionOptions, ) (*types.Transaction, error)
Transaction submission.
func (*Deposit) IncreaseRedemptionFeeGasEstimate ¶
func (*Deposit) InitialCollateralizedPercent ¶
func (*Deposit) InitialCollateralizedPercentAtBlock ¶
func (*Deposit) Initialize ¶
func (d *Deposit) Initialize( _factory common.Address, transactionOptions ...ethutil.TransactionOptions, ) (*types.Transaction, error)
Transaction submission.
func (*Deposit) InitializeDeposit ¶
func (d *Deposit) InitializeDeposit( _tbtcSystem common.Address, _tbtcToken common.Address, _tbtcDepositToken common.Address, _feeRebateToken common.Address, _vendingMachineAddress common.Address, _lotSizeSatoshis uint64, value *big.Int, transactionOptions ...ethutil.TransactionOptions, ) (*types.Transaction, error)
Transaction submission.
func (*Deposit) InitializeDepositGasEstimate ¶
func (*Deposit) InitializeGasEstimate ¶
func (*Deposit) KeepAddressAtBlock ¶
func (*Deposit) LotSizeSatoshis ¶
func (*Deposit) LotSizeSatoshisAtBlock ¶
func (*Deposit) LotSizeTbtcAtBlock ¶
func (*Deposit) NotifyCourtesyCall ¶
func (d *Deposit) NotifyCourtesyCall( transactionOptions ...ethutil.TransactionOptions, ) (*types.Transaction, error)
Transaction submission.
func (*Deposit) NotifyCourtesyCallExpired ¶
func (d *Deposit) NotifyCourtesyCallExpired( transactionOptions ...ethutil.TransactionOptions, ) (*types.Transaction, error)
Transaction submission.
func (*Deposit) NotifyCourtesyCallExpiredGasEstimate ¶
func (*Deposit) NotifyCourtesyCallGasEstimate ¶
func (*Deposit) NotifyFundingTimedOut ¶
func (d *Deposit) NotifyFundingTimedOut( transactionOptions ...ethutil.TransactionOptions, ) (*types.Transaction, error)
Transaction submission.
func (*Deposit) NotifyFundingTimedOutGasEstimate ¶
func (*Deposit) NotifyRedemptionProofTimedOut ¶
func (d *Deposit) NotifyRedemptionProofTimedOut( transactionOptions ...ethutil.TransactionOptions, ) (*types.Transaction, error)
Transaction submission.
func (*Deposit) NotifyRedemptionProofTimedOutGasEstimate ¶
func (*Deposit) NotifyRedemptionSignatureTimedOut ¶
func (d *Deposit) NotifyRedemptionSignatureTimedOut( transactionOptions ...ethutil.TransactionOptions, ) (*types.Transaction, error)
Transaction submission.
func (*Deposit) NotifyRedemptionSignatureTimedOutGasEstimate ¶
func (*Deposit) NotifySignerSetupFailed ¶
func (d *Deposit) NotifySignerSetupFailed( transactionOptions ...ethutil.TransactionOptions, ) (*types.Transaction, error)
Transaction submission.
func (*Deposit) NotifySignerSetupFailedGasEstimate ¶
func (*Deposit) NotifyUndercollateralizedLiquidation ¶
func (d *Deposit) NotifyUndercollateralizedLiquidation( transactionOptions ...ethutil.TransactionOptions, ) (*types.Transaction, error)
Transaction submission.
func (*Deposit) NotifyUndercollateralizedLiquidationGasEstimate ¶
func (*Deposit) ProvideBTCFundingProof ¶
func (d *Deposit) ProvideBTCFundingProof( _txVersion [4]uint8, _txInputVector []uint8, _txOutputVector []uint8, _txLocktime [4]uint8, _fundingOutputIndex uint8, _merkleProof []uint8, _txIndexInBlock *big.Int, _bitcoinHeaders []uint8, transactionOptions ...ethutil.TransactionOptions, ) (*types.Transaction, error)
Transaction submission.
func (*Deposit) ProvideBTCFundingProofGasEstimate ¶
func (*Deposit) ProvideECDSAFraudProof ¶
func (d *Deposit) ProvideECDSAFraudProof( _v uint8, _r [32]uint8, _s [32]uint8, _signedDigest [32]uint8, _preimage []uint8, transactionOptions ...ethutil.TransactionOptions, ) (*types.Transaction, error)
Transaction submission.
func (*Deposit) ProvideECDSAFraudProofGasEstimate ¶
func (*Deposit) ProvideFundingECDSAFraudProof ¶
func (d *Deposit) ProvideFundingECDSAFraudProof( _v uint8, _r [32]uint8, _s [32]uint8, _signedDigest [32]uint8, _preimage []uint8, transactionOptions ...ethutil.TransactionOptions, ) (*types.Transaction, error)
Transaction submission.
func (*Deposit) ProvideFundingECDSAFraudProofGasEstimate ¶
func (*Deposit) ProvideRedemptionProof ¶
func (d *Deposit) ProvideRedemptionProof( _txVersion [4]uint8, _txInputVector []uint8, _txOutputVector []uint8, _txLocktime [4]uint8, _merkleProof []uint8, _txIndexInBlock *big.Int, _bitcoinHeaders []uint8, transactionOptions ...ethutil.TransactionOptions, ) (*types.Transaction, error)
Transaction submission.
func (*Deposit) ProvideRedemptionProofGasEstimate ¶
func (*Deposit) ProvideRedemptionSignature ¶
func (d *Deposit) ProvideRedemptionSignature( _v uint8, _r [32]uint8, _s [32]uint8, transactionOptions ...ethutil.TransactionOptions, ) (*types.Transaction, error)
Transaction submission.
func (*Deposit) ProvideRedemptionSignatureGasEstimate ¶
func (*Deposit) PurchaseSignerBondsAtAuction ¶
func (d *Deposit) PurchaseSignerBondsAtAuction( transactionOptions ...ethutil.TransactionOptions, ) (*types.Transaction, error)
Transaction submission.
func (*Deposit) PurchaseSignerBondsAtAuctionGasEstimate ¶
func (*Deposit) RemainingTermAtBlock ¶
func (*Deposit) RequestFunderAbort ¶
func (d *Deposit) RequestFunderAbort( _abortOutputScript []uint8, transactionOptions ...ethutil.TransactionOptions, ) (*types.Transaction, error)
Transaction submission.
func (*Deposit) RequestFunderAbortGasEstimate ¶
func (*Deposit) RequestRedemption ¶
func (d *Deposit) RequestRedemption( _outputValueBytes [8]uint8, _redeemerOutputScript []uint8, transactionOptions ...ethutil.TransactionOptions, ) (*types.Transaction, error)
Transaction submission.
func (*Deposit) RequestRedemptionGasEstimate ¶
func (*Deposit) RetrieveSignerPubkey ¶
func (d *Deposit) RetrieveSignerPubkey( transactionOptions ...ethutil.TransactionOptions, ) (*types.Transaction, error)
Transaction submission.
func (*Deposit) RetrieveSignerPubkeyGasEstimate ¶
func (*Deposit) SeverelyUndercollateralizedThresholdPercent ¶
func (*Deposit) SeverelyUndercollateralizedThresholdPercentAtBlock ¶
func (*Deposit) SignerFeeTbtcAtBlock ¶
func (*Deposit) TransferAndRequestRedemption ¶
func (d *Deposit) TransferAndRequestRedemption( _outputValueBytes [8]uint8, _redeemerOutputScript []uint8, _finalRecipient common.Address, transactionOptions ...ethutil.TransactionOptions, ) (*types.Transaction, error)
Transaction submission.
func (*Deposit) TransferAndRequestRedemptionGasEstimate ¶
func (*Deposit) UndercollateralizedThresholdPercent ¶
func (*Deposit) UndercollateralizedThresholdPercentAtBlock ¶
func (*Deposit) UtxoValueAtBlock ¶
func (*Deposit) WithdrawFunds ¶
func (d *Deposit) WithdrawFunds( transactionOptions ...ethutil.TransactionOptions, ) (*types.Transaction, error)
Transaction submission.
func (*Deposit) WithdrawFundsGasEstimate ¶
type DepositLog ¶
type DepositLog struct {
// contains filtered or unexported fields
}
func NewDepositLog ¶
func NewDepositLog( contractAddress common.Address, accountKey *keystore.Key, backend bind.ContractBackend, nonceManager *ethutil.NonceManager, miningWaiter *ethutil.MiningWaiter, transactionMutex *sync.Mutex, ) (*DepositLog, error)
func (*DepositLog) ApprovedToLog ¶
func (dl *DepositLog) ApprovedToLog( _caller common.Address, ) (bool, error)
func (*DepositLog) ApprovedToLogAtBlock ¶
func (*DepositLog) CallLogCourtesyCalled ¶
func (dl *DepositLog) CallLogCourtesyCalled( blockNumber *big.Int, ) error
Non-mutating call, not a transaction submission.
func (*DepositLog) CallLogCreated ¶
Non-mutating call, not a transaction submission.
func (*DepositLog) CallLogExitedCourtesyCall ¶
func (dl *DepositLog) CallLogExitedCourtesyCall( blockNumber *big.Int, ) error
Non-mutating call, not a transaction submission.
func (*DepositLog) CallLogFraudDuringSetup ¶
func (dl *DepositLog) CallLogFraudDuringSetup( blockNumber *big.Int, ) error
Non-mutating call, not a transaction submission.
func (*DepositLog) CallLogFunded ¶
func (dl *DepositLog) CallLogFunded( _txid [32]uint8, blockNumber *big.Int, ) error
Non-mutating call, not a transaction submission.
func (*DepositLog) CallLogFunderRequestedAbort ¶
func (dl *DepositLog) CallLogFunderRequestedAbort( _abortOutputScript []uint8, blockNumber *big.Int, ) error
Non-mutating call, not a transaction submission.
func (*DepositLog) CallLogGotRedemptionSignature ¶
func (dl *DepositLog) CallLogGotRedemptionSignature( _digest [32]uint8, _r [32]uint8, _s [32]uint8, blockNumber *big.Int, ) error
Non-mutating call, not a transaction submission.
func (*DepositLog) CallLogLiquidated ¶
func (dl *DepositLog) CallLogLiquidated( blockNumber *big.Int, ) error
Non-mutating call, not a transaction submission.
func (*DepositLog) CallLogRedeemed ¶
func (dl *DepositLog) CallLogRedeemed( _txid [32]uint8, blockNumber *big.Int, ) error
Non-mutating call, not a transaction submission.
func (*DepositLog) CallLogRedemptionRequested ¶
func (dl *DepositLog) CallLogRedemptionRequested( _requester common.Address, _digest [32]uint8, _utxoValue *big.Int, _redeemerOutputScript []uint8, _requestedFee *big.Int, _outpoint []uint8, blockNumber *big.Int, ) error
Non-mutating call, not a transaction submission.
func (*DepositLog) CallLogRegisteredPubkey ¶
func (dl *DepositLog) CallLogRegisteredPubkey( _signingGroupPubkeyX [32]uint8, _signingGroupPubkeyY [32]uint8, blockNumber *big.Int, ) error
Non-mutating call, not a transaction submission.
func (*DepositLog) CallLogSetupFailed ¶
func (dl *DepositLog) CallLogSetupFailed( blockNumber *big.Int, ) error
Non-mutating call, not a transaction submission.
func (*DepositLog) CallLogStartedLiquidation ¶
func (dl *DepositLog) CallLogStartedLiquidation( _wasFraud bool, blockNumber *big.Int, ) error
Non-mutating call, not a transaction submission.
func (*DepositLog) LogCourtesyCalled ¶
func (dl *DepositLog) LogCourtesyCalled( transactionOptions ...ethutil.TransactionOptions, ) (*types.Transaction, error)
Transaction submission.
func (*DepositLog) LogCourtesyCalledGasEstimate ¶
func (dl *DepositLog) LogCourtesyCalledGasEstimate() (uint64, error)
func (*DepositLog) LogCreated ¶
func (dl *DepositLog) LogCreated( _keepAddress common.Address, transactionOptions ...ethutil.TransactionOptions, ) (*types.Transaction, error)
Transaction submission.
func (*DepositLog) LogCreatedGasEstimate ¶
func (dl *DepositLog) LogCreatedGasEstimate( _keepAddress common.Address, ) (uint64, error)
func (*DepositLog) LogExitedCourtesyCall ¶
func (dl *DepositLog) LogExitedCourtesyCall( transactionOptions ...ethutil.TransactionOptions, ) (*types.Transaction, error)
Transaction submission.
func (*DepositLog) LogExitedCourtesyCallGasEstimate ¶
func (dl *DepositLog) LogExitedCourtesyCallGasEstimate() (uint64, error)
func (*DepositLog) LogFraudDuringSetup ¶
func (dl *DepositLog) LogFraudDuringSetup( transactionOptions ...ethutil.TransactionOptions, ) (*types.Transaction, error)
Transaction submission.
func (*DepositLog) LogFraudDuringSetupGasEstimate ¶
func (dl *DepositLog) LogFraudDuringSetupGasEstimate() (uint64, error)
func (*DepositLog) LogFunded ¶
func (dl *DepositLog) LogFunded( _txid [32]uint8, transactionOptions ...ethutil.TransactionOptions, ) (*types.Transaction, error)
Transaction submission.
func (*DepositLog) LogFundedGasEstimate ¶
func (dl *DepositLog) LogFundedGasEstimate( _txid [32]uint8, ) (uint64, error)
func (*DepositLog) LogFunderRequestedAbort ¶
func (dl *DepositLog) LogFunderRequestedAbort( _abortOutputScript []uint8, transactionOptions ...ethutil.TransactionOptions, ) (*types.Transaction, error)
Transaction submission.
func (*DepositLog) LogFunderRequestedAbortGasEstimate ¶
func (dl *DepositLog) LogFunderRequestedAbortGasEstimate( _abortOutputScript []uint8, ) (uint64, error)
func (*DepositLog) LogGotRedemptionSignature ¶
func (dl *DepositLog) LogGotRedemptionSignature( _digest [32]uint8, _r [32]uint8, _s [32]uint8, transactionOptions ...ethutil.TransactionOptions, ) (*types.Transaction, error)
Transaction submission.
func (*DepositLog) LogGotRedemptionSignatureGasEstimate ¶
func (*DepositLog) LogLiquidated ¶
func (dl *DepositLog) LogLiquidated( transactionOptions ...ethutil.TransactionOptions, ) (*types.Transaction, error)
Transaction submission.
func (*DepositLog) LogLiquidatedGasEstimate ¶
func (dl *DepositLog) LogLiquidatedGasEstimate() (uint64, error)
func (*DepositLog) LogRedeemed ¶
func (dl *DepositLog) LogRedeemed( _txid [32]uint8, transactionOptions ...ethutil.TransactionOptions, ) (*types.Transaction, error)
Transaction submission.
func (*DepositLog) LogRedeemedGasEstimate ¶
func (dl *DepositLog) LogRedeemedGasEstimate( _txid [32]uint8, ) (uint64, error)
func (*DepositLog) LogRedemptionRequested ¶
func (dl *DepositLog) LogRedemptionRequested( _requester common.Address, _digest [32]uint8, _utxoValue *big.Int, _redeemerOutputScript []uint8, _requestedFee *big.Int, _outpoint []uint8, transactionOptions ...ethutil.TransactionOptions, ) (*types.Transaction, error)
Transaction submission.
func (*DepositLog) LogRedemptionRequestedGasEstimate ¶
func (*DepositLog) LogRegisteredPubkey ¶
func (dl *DepositLog) LogRegisteredPubkey( _signingGroupPubkeyX [32]uint8, _signingGroupPubkeyY [32]uint8, transactionOptions ...ethutil.TransactionOptions, ) (*types.Transaction, error)
Transaction submission.
func (*DepositLog) LogRegisteredPubkeyGasEstimate ¶
func (dl *DepositLog) LogRegisteredPubkeyGasEstimate( _signingGroupPubkeyX [32]uint8, _signingGroupPubkeyY [32]uint8, ) (uint64, error)
func (*DepositLog) LogSetupFailed ¶
func (dl *DepositLog) LogSetupFailed( transactionOptions ...ethutil.TransactionOptions, ) (*types.Transaction, error)
Transaction submission.
func (*DepositLog) LogSetupFailedGasEstimate ¶
func (dl *DepositLog) LogSetupFailedGasEstimate() (uint64, error)
func (*DepositLog) LogStartedLiquidation ¶
func (dl *DepositLog) LogStartedLiquidation( _wasFraud bool, transactionOptions ...ethutil.TransactionOptions, ) (*types.Transaction, error)
Transaction submission.
func (*DepositLog) LogStartedLiquidationGasEstimate ¶
func (dl *DepositLog) LogStartedLiquidationGasEstimate( _wasFraud bool, ) (uint64, error)
func (*DepositLog) WatchCourtesyCalled ¶
func (dl *DepositLog) WatchCourtesyCalled( success depositLogCourtesyCalledFunc, fail func(err error) error, _depositContractAddressFilter []common.Address, ) (subscription.EventSubscription, error)
func (*DepositLog) WatchCreated ¶
func (dl *DepositLog) WatchCreated( success depositLogCreatedFunc, fail func(err error) error, _depositContractAddressFilter []common.Address, _keepAddressFilter []common.Address, ) (subscription.EventSubscription, error)
func (*DepositLog) WatchExitedCourtesyCall ¶
func (dl *DepositLog) WatchExitedCourtesyCall( success depositLogExitedCourtesyCallFunc, fail func(err error) error, _depositContractAddressFilter []common.Address, ) (subscription.EventSubscription, error)
func (*DepositLog) WatchFraudDuringSetup ¶
func (dl *DepositLog) WatchFraudDuringSetup( success depositLogFraudDuringSetupFunc, fail func(err error) error, _depositContractAddressFilter []common.Address, ) (subscription.EventSubscription, error)
func (*DepositLog) WatchFunded ¶
func (dl *DepositLog) WatchFunded( success depositLogFundedFunc, fail func(err error) error, _depositContractAddressFilter []common.Address, _txidFilter [][32]uint8, ) (subscription.EventSubscription, error)
func (*DepositLog) WatchFunderAbortRequested ¶
func (dl *DepositLog) WatchFunderAbortRequested( success depositLogFunderAbortRequestedFunc, fail func(err error) error, _depositContractAddressFilter []common.Address, ) (subscription.EventSubscription, error)
func (*DepositLog) WatchGotRedemptionSignature ¶
func (dl *DepositLog) WatchGotRedemptionSignature( success depositLogGotRedemptionSignatureFunc, fail func(err error) error, _depositContractAddressFilter []common.Address, _digestFilter [][32]uint8, ) (subscription.EventSubscription, error)
func (*DepositLog) WatchLiquidated ¶
func (dl *DepositLog) WatchLiquidated( success depositLogLiquidatedFunc, fail func(err error) error, _depositContractAddressFilter []common.Address, ) (subscription.EventSubscription, error)
func (*DepositLog) WatchRedeemed ¶
func (dl *DepositLog) WatchRedeemed( success depositLogRedeemedFunc, fail func(err error) error, _depositContractAddressFilter []common.Address, _txidFilter [][32]uint8, ) (subscription.EventSubscription, error)
func (*DepositLog) WatchRedemptionRequested ¶
func (dl *DepositLog) WatchRedemptionRequested( success depositLogRedemptionRequestedFunc, fail func(err error) error, _depositContractAddressFilter []common.Address, _requesterFilter []common.Address, _digestFilter [][32]uint8, ) (subscription.EventSubscription, error)
func (*DepositLog) WatchRegisteredPubkey ¶
func (dl *DepositLog) WatchRegisteredPubkey( success depositLogRegisteredPubkeyFunc, fail func(err error) error, _depositContractAddressFilter []common.Address, ) (subscription.EventSubscription, error)
func (*DepositLog) WatchSetupFailed ¶
func (dl *DepositLog) WatchSetupFailed( success depositLogSetupFailedFunc, fail func(err error) error, _depositContractAddressFilter []common.Address, ) (subscription.EventSubscription, error)
func (*DepositLog) WatchStartedLiquidation ¶
func (dl *DepositLog) WatchStartedLiquidation( success depositLogStartedLiquidationFunc, fail func(err error) error, _depositContractAddressFilter []common.Address, ) (subscription.EventSubscription, error)