Prismtestnet
HomeXDRAPIGitHub

Prism is open-source software built for the Stellar community. View on GitHub

Contract

CCU6VIX7FWGODUKHAU7NB6FEWIZENBZT3HYWXKHSDKJ3PDQDRHUQ4KBU

Overview

ExecutableWASM contract
WASM Hash72eb5d52c532e78ccc6c8a7f8523c458e03764074717172f69c2539e754ce624
WASM Size10,735 bytes
Live Until Ledger#8,531,059
Last Modified Ledger#5,420,660

Functions (19)

burn(from: Address, amount: I128)
mint(to: Address, amount: I128)
name() → String
symbol() → String
approve(from: Address, spender: Address, amount: I128, expiration_ledger: U32)
balance(id: Address) → I128
upgrade(admin: Address, new_wasm_hash: BytesN)
version() → U32
decimals() → U32
transfer(from: Address, to: MuxedAddress, amount: I128)
allowance(from: Address, spender: Address) → I128
burn_from(spender: Address, from: Address, amount: I128)
initialize(admin: Address, decimal: U32, name: String, symbol: String)
contract_name() → Symbol
transfer_from(spender: Address, from: Address, to: Address, amount: I128)
get_future_address(role_name: Symbol) → Address
apply_transfer_ownership(admin: Address, role_name: Symbol)
commit_transfer_ownership(admin: Address, role_name: Symbol, new_address: Address)
revert_transfer_ownership(admin: Address, role_name: Symbol)

Events (7)

Burntopics ["burn", from: Address] data (single-value) [amount: I128]
Minttopics ["mint", to: Address] data (map) [to_muxed_id: Option<U64>, amount: I128]
Approvetopics ["approve", from: Address, spender: Address] data (vec) [amount: I128, expiration_ledger: U32]
Clawbacktopics ["clawback", from: Address] data (single-value) [amount: I128]
Transfertopics ["transfer", from: Address, to: Address] data (map) [to_muxed_id: Option<U64>, amount: I128]
MintWithAmountOnlytopics ["mint", to: Address] data (single-value) [amount: I128]
TransferWithAmountOnlytopics ["transfer", from: Address, to: Address] data (single-value) [amount: I128]

Types (6)

TokenError errorAlreadyInitialized = 601, InsufficientBalance = 602, InsufficientAllowance = 603, NegativeNotAllowed = 604, DecimalTooLarge = 605, PastTimeNotAllowed = 606
AllowanceValue struct{ amount: I128, expiration_ledger: U32 }
AccessControlError errorRoleNotFound = 101, Unauthorized = 102, AdminAlreadySet = 103, BadRoleUsage = 104, AnotherActionActive = 2906, NoActionActive = 2907, ActionNotReadyYet = 2908
TokenMetadata struct{ decimal: U32, name: String, symbol: String }
MathError errorNumberOverflow = 510
StorageError errorAlreadyInitialized = 201, ValueNotInitialized = 501, ValueMissing = 502, ValueConversionError = 503

Invoke (simulate)

Simulates the call against current ledger state — read-only, nothing is signed or submitted, no funds at risk.

Storage

KeyValue
METADATA{"decimal":7,"name":"TOKA","symbol":"TKA"}
["Admin"]GBIKXAE36TOPAHNDU6ORS7SKK5YMLEM7WBLY7EFXG3ADYDYGVIABATY7

Look up a specific persistent/temporary storage entry by key. Soroban RPC has no way to list all storage keys for a contract — you need to already know the key you're after.

Recent Invocationsauto-updating

No recent invocations found. This contract may not emit events (invocation history is derived from them), or its recent activity may be outside the RPC node's retention window.

Eventsauto-updating

No events emitted by this contract in the last ~24h (the RPC node's retention window).