Skip to content

Latest commit

 

History

History
81 lines (37 loc) · 2.15 KB

bbn_updater.md

File metadata and controls

81 lines (37 loc) · 2.15 KB

Module 0x4::bbn_updater

Constants

const ErrorTransactionNotFound: u64 = 1;

Function is_possible_bbn_tx

Check if the transaction is a possible Babylon transaction If the transaction contains an OP_RETURN output with the correct tag, it is considered a possible Babylon transaction

public fun is_possible_bbn_tx(txid: address): bool

Function process_bbn_tx_entry

public entry fun process_bbn_tx_entry(txid: address)

Function is_expired

public fun is_expired(stake: &bbn::BBNStakeSeal): bool

Function clear_unbonded_stakes

public entry fun clear_unbonded_stakes(seal_obj_id: object::ObjectID)