Assessment reports>Tortuga Liquid Staking>Discussion>Integration and composability

Integration and composability

To improve the interoperability of the protocol within the Aptos ecosystem, various methods for accessing resources from other contracts may be beneficial. For example, a getter method on the number of tickets a delegator has could be useful.

One area in which the protocol achieved composability was via the following function:

public fun stake_coins(
        coins_to_stake: coin::Coin<AptosCoin>
    ): coin::Coin<StakedAptosCoin>

And we believe adding more _secure_ integration pathways could be beneficial to the success of the protocol.

Zellic © 2023Back to top ↑