pub trait Instance { // Required methods fn all(&self) -> Map<Val, Val>; fn get_ttl(&self) -> u32; }
testutils
Test utilities for Instance.
Instance
Returns all data stored in Instance storage for the contract.
Gets the TTL for the current contract’s instance entry.
TTL is the number of ledgers left until the instance entry is considered expired, excluding the current ledger.