- Constants
- Function
is_possible_bbn_tx
- Function
process_bbn_tx_entry
- Function
is_expired
- Function
clear_unbonded_stakes
use 0x1::option;
use 0x2::object;
use 0x4::bbn;
use 0x4::bitcoin;
use 0x4::types;
use 0x4::utxo;
const ErrorTransactionNotFound: u64 = 1;
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
public entry fun process_bbn_tx_entry(txid: address)
public fun is_expired(stake: &bbn::BBNStakeSeal): bool
public entry fun clear_unbonded_stakes(seal_obj_id: object::ObjectID)