MCPcopy Create free account
hub / github.com/dfinity/orbit / get_supported_operations

Method get_supported_operations

core/station/impl/src/models/blockchain_standard.rs:68–76  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

66 }
67
68 pub fn get_supported_operations(&self) -> Vec<StandardOperation> {
69 match self {
70 TokenStandard::InternetComputerNative | TokenStandard::ICRC1 => vec![
71 StandardOperation::Balance,
72 StandardOperation::Transfer,
73 StandardOperation::ListTransfers,
74 ],
75 }
76 }
77}
78
79impl FromStr for TokenStandard {

Callers 1

capabilitiesMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected