Skip to content

Commit

Permalink
Swap order of doc and attributes. see #89
Browse files Browse the repository at this point in the history
  • Loading branch information
franck44 committed Nov 7, 2024
1 parent bd7af04 commit 833a732
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -828,24 +828,24 @@ module aptos_framework::atomic_bridge_store {
keccak256(combined_bytes)
}

#[view]
/// Gets initiator bridge transfer details given a bridge transfer ID
///
/// @param bridge_transfer_id A 32-byte vector of unsigned 8-bit integers.
/// @return A `BridgeTransferDetails` struct.
/// @abort If there is no transfer in the atomic bridge store.
#[view]
public fun get_bridge_transfer_details_initiator(
bridge_transfer_id: vector<u8>
): BridgeTransferDetails<address, EthereumAddress> acquires SmartTableWrapper {
get_bridge_transfer_details(bridge_transfer_id)
}

#[view]
/// Gets counterparty bridge transfer details given a bridge transfer ID
///
/// @param bridge_transfer_id A 32-byte vector of unsigned 8-bit integers.
/// @return A `BridgeTransferDetails` struct.
/// @abort If there is no transfer in the atomic bridge store.
#[view]
public fun get_bridge_transfer_details_counterparty(
bridge_transfer_id: vector<u8>
): BridgeTransferDetails<EthereumAddress, address> acquires SmartTableWrapper {
Expand Down

0 comments on commit 833a732

Please sign in to comment.