Crates.io | volt-abi |
lib.rs | volt-abi |
version | 0.11.0 |
source | src |
created_at | 2022-05-07 00:19:02.152553 |
updated_at | 2022-09-02 17:04:28.369515 |
description | Interface for composing on Friktion Volt Program |
homepage | https://app.friktion.fi |
repository | https://github.com/Friktion-Labs/volt-abi |
max_upload_size | |
id | 581907 |
size | 78,446 |
Provides contexts and instruction functions to interact with Friktion Program via CPI calls
Friktion program ID: VoLT1mJz1sbnxwq5Fv2SXjdVDgPXrb9tJyC8WpMDkSp
Keep in mind, the CPI feature must be enabled on "volt-abi" as the following demonstrates:
volt-abi = { version="0.2.0", features = ["cpi"]}
To see an example of this ABI in action, see our CPI Examples
vault_token_destination && underlying_token_source accounts must be initialized prior to calling the Deposit instruction. The authorities on those token accounts must be the dao_authority, which practically is a PDA of the invoking program.
Unaudited sdk Friktion Labs takes no responsibility for damage that results from usage of this sdk, nor makes any guarantee as to the correctness of the sdk. Users of these crates take full responsibility for any mishaps that results from the usage of this sdk.