Documentation ¶
Index ¶
- func ConsumeUTXOs(t *testing.T, s *state.MockDiff, ins []*avax.TransferableInput)
- func GetMultisigAliases(t *testing.T, s *state.MockDiff, addrs []ids.ShortID, ...)
- func GetUTXOsFromInputs(t *testing.T, s *state.MockDiff, ins []*avax.TransferableInput, ...)
- func Lock(t *testing.T, s *state.MockState, utxosMap map[ids.ShortID][]*avax.UTXO)
- func PhaseTime(t *testing.T, s *state.MockDiff, cfg *config.Config, phase test.Phase)
- func ProduceNewlyLockedUTXOs(t *testing.T, s *state.MockDiff, outs []*avax.TransferableOutput, txID ids.ID, ...)
- func ProduceUTXOs(t *testing.T, s *state.MockDiff, outs []*avax.TransferableOutput, txID ids.ID, ...)
- func StateGetAllUTXOs(t *testing.T, s *state.MockState, addrs []ids.ShortID, utxos [][]*avax.UTXO)
- func StateSpendMultisig(t *testing.T, s *state.MockState, utxo *avax.UTXO)
- func StateVerifyMultisigOwner(t *testing.T, s *state.MockState, owner *secp256k1fx.OutputOwners, ...)
- func Unlock(t *testing.T, s *state.MockDiff, lockTxIDs []ids.ID, addrs []ids.ShortID, ...)
- func UnlockDeposit(t *testing.T, s *state.MockState, deposits map[ids.ID]*deposit.Deposit, ...)
- func VerifyLock(t *testing.T, s *state.MockDiff, ins []*avax.TransferableInput, ...)
- func VerifyMultisigPermission(t *testing.T, s *state.MockDiff, addrs []ids.ShortID, ...)
- func VerifyUnlockDeposit(t *testing.T, s *state.MockDiff, ins []*avax.TransferableInput, ...)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConsumeUTXOs ¶
func GetMultisigAliases ¶
func GetUTXOsFromInputs ¶
func ProduceNewlyLockedUTXOs ¶
func ProduceUTXOs ¶
func StateGetAllUTXOs ¶
func StateSpendMultisig ¶
Doesn't support multisig alias yet
func StateVerifyMultisigOwner ¶
func StateVerifyMultisigOwner( t *testing.T, s *state.MockState, owner *secp256k1fx.OutputOwners, msigAliasAddresses []ids.ShortID, msigAliases []*multisig.AliasWithNonce, collectAddresses bool, )
func Unlock ¶
func Unlock( t *testing.T, s *state.MockDiff, lockTxIDs []ids.ID, addrs []ids.ShortID, utxos []*avax.UTXO, removedLockState locked.State, )
TODO @evlekht seems, that [addrs] actually not affecting anything and could be omitted
func UnlockDeposit ¶
func UnlockDeposit( t *testing.T, s *state.MockState, deposits map[ids.ID]*deposit.Deposit, depositOffers []*deposit.Offer, utxoOwners []ids.ShortID, utxos []*avax.UTXO, removedLockState locked.State, )
TODO @evlekht seems, that [addrs] actually not affecting anything and could be omitted
func VerifyLock ¶
func VerifyUnlockDeposit ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.