cip
Vodka provides utility functions to build CIP onchain code
Example usage
use cip
use cardano/assets.{AssetName}
let cip68_100_asset_name = cip.cip68_100(asset_name);
let cip68_222_asset_name = cip.cip68_222(asset_name);
let cip68_333_asset_name = cip.cip68_333(asset_name);
let cip68_444_asset_name = cip.cip68_444(asset_name);
Types
The metadata attached with CIP-68 reference token (100)
Constructors
-
CIP68Metadata { metadata: Pairs<Data, Data>, version: Int }
Constants
Functions
Obtain the asset name for CIP-68 asset - Reference Token
let cip68_100_asset_name = cip68_100(asset_name);
Obtain the asset name for CIP-68 asset - Non-Fungible Token
let cip68_222_asset_name = cip68_222(asset_name);
Obtain the asset name for CIP-68 asset - Fungible Token
let cip68_333_asset_name = cip68_333(asset_name);