pub trait FungibleFaucetExt {
const ISSUANCE_ELEMENT_INDEX: usize;
// Required method
fn get_token_issuance(&self) -> Result<BaseElement, FungibleFaucetError>;
}Expand description
Extension trait for fungible faucet accounts. Provides methods to access the fungible faucet account’s reserved storage slot.
Required Associated Constants§
Required Methods§
Sourcefn get_token_issuance(&self) -> Result<BaseElement, FungibleFaucetError>
fn get_token_issuance(&self) -> Result<BaseElement, FungibleFaucetError>
Returns the amount of tokens (in base units) issued from this fungible faucet.
§Errors
Returns an error if the account is not a fungible faucet account.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.