Rename AList -> Pairs due to popular demand.

This commit is contained in:
KtorZ
2024-05-23 16:45:40 +02:00
parent 8e0f32a577
commit 5ce30b2632
6 changed files with 24 additions and 23 deletions

View File

@@ -60,7 +60,7 @@ validator(creator: ByteArray) {
mint
|> value.from_minted_value
|> value.tokens(policy_id)
|> dict.to_list()
|> dict.to_pairs()
when rdmr is {
Mint(total) -> {

View File

@@ -20,7 +20,7 @@ validator(token_name: ByteArray, utxo_ref: OutputReference) {
mint
|> value.from_minted_value
|> value.tokens(policy_id)
|> dict.to_list()
|> dict.to_pairs()
when rdmr is {
Mint -> {
@@ -43,7 +43,7 @@ validator(token_name: ByteArray, policy_id: ByteArray) {
mint
|> value.from_minted_value
|> value.tokens(policy_id)
|> dict.to_list()
|> dict.to_pairs()
amount == -1 && asset_name == token_name
}