tx · GuXj7CrFSuzwYKzMNkRHczMy1CbbCcmu8y51NjZGxxW5

3N1hrmiXcrfodNXHfoar8uNkBZEKPAGq5yR:  -0.01000000 Waves

2023.05.30 16:39 [2600771] smart account 3N1hrmiXcrfodNXHfoar8uNkBZEKPAGq5yR > SELF 0.00000000 Waves

{ "type": 13, "id": "GuXj7CrFSuzwYKzMNkRHczMy1CbbCcmu8y51NjZGxxW5", "fee": 1000000, "feeAssetId": null, "timestamp": 1685453985117, "version": 2, "chainId": 84, "sender": "3N1hrmiXcrfodNXHfoar8uNkBZEKPAGq5yR", "senderPublicKey": "GP66F4kgVMbC7uyGiB6JeXvJFRco3fTdGeaUFSmf7YbB", "proofs": [ "53GTUAGrpkm2sz2BfjpN9r3h8NbKG9A5a1ngmtiHzEeMofk6npSa37hwUPA9KDwv6Kipsv39tRiiL5cU7TgT9wvv" ], "script": "base64:BgIGCAISABIAAQAIa2Fzc2V0SWQCB0Fzc2V0SUQCAWkBDXRva2VuSXNzdWFuY2UABARuYW1lAgpCZWJyYVRva2VuBA5sZW5kZXNjcmlwdGlvbgIPQmVicmEgYnkgS3JpbmdlBAhxdWFudGl0eQCgjQYECGRlY2ltYWxzAAMEDGlzUmVpc3N1YWJsZQYECmlzc3VlQmVicmEJAMMIBwUEbmFtZQUObGVuZGVzY3JpcHRpb24FCHF1YW50aXR5BQhkZWNpbWFscwUMaXNSZWlzc3VhYmxlBQR1bml0AAAEB2Fzc2V0SWQJALgIAQUKaXNzdWVCZWJyYQQJa25ld1Rva2VuAgVUb2tlbgQLZ2V0TmV3VG9rZW4JARN2YWx1ZU9yRXJyb3JNZXNzYWdlAgkAnQgCBQR0aGlzBQlrbmV3VG9rZW4CGUJlYnJhVG9rZW4gaXMgbm90IGRlZmluZWQJAMwIAgUKaXNzdWVCZWJyYQkAzAgCCQELQmluYXJ5RW50cnkCBQhrYXNzZXRJZAUHYXNzZXRJZAkAzAgCCQELU3RyaW5nRW50cnkCBQlrbmV3VG9rZW4IBQppc3N1ZUJlYnJhBG5hbWUFA25pbAFpAQtzZW5kZXJUb2tlbgAEAWYJARN2YWx1ZU9yRXJyb3JNZXNzYWdlAgkBEUBleHRyTmF0aXZlKDEwNTIpAgUEdGhpcwUIa2Fzc2V0SWQCBWVycm9yCQDMCAIJAQ5TY3JpcHRUcmFuc2ZlcgMIBQFpBmNhbGxlcgAUBQFmBQNuaWwAf4Bnlw==", "height": 2600771, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 5MyUCrK7TBQWkCjCbTj94HVHdgPxsda2QNBR2wpqWEt8 Next: EeZW34g4ZwfvWo8KUFyqaHnjC3yipgE5HFWWuKQZNghv Diff:
OldNewDifferences
11 {-# STDLIB_VERSION 6 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
4-
4+let kassetId = "AssetID"
55
66 @Callable(i)
77 func tokenIssuance () = {
88 let name = "BebraToken"
99 let lendescription = "Bebra by Kringe"
10- let quantity = 10000
10+ let quantity = 100000
1111 let decimals = 3
1212 let isReissuable = true
1313 let issueBebra = Issue(name, lendescription, quantity, decimals, isReissuable, unit, 0)
1414 let assetId = calculateAssetId(issueBebra)
1515 let knewToken = "Token"
16- let kassetId = "Asset ID"
1716 let getNewToken = valueOrErrorMessage(getString(this, knewToken), "BebraToken is not defined")
1817 [issueBebra, BinaryEntry(kassetId, assetId), StringEntry(knewToken, issueBebra.name)]
1918 }
2120
2221
2322 @Callable(i)
24-func senderToken (assetId) = {
25- let recipient = i.caller
26-[ScriptTransfer(recipient, 20, assetId)]
23+func senderToken () = {
24+ let f = valueOrErrorMessage(getBinaryValue(this, kassetId), "error")
25+[ScriptTransfer(i.caller, 20, f)]
2726 }
2827
29-
30-@Verifier(tx)
31-func verify () = true
3228
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 6 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
4-
4+let kassetId = "AssetID"
55
66 @Callable(i)
77 func tokenIssuance () = {
88 let name = "BebraToken"
99 let lendescription = "Bebra by Kringe"
10- let quantity = 10000
10+ let quantity = 100000
1111 let decimals = 3
1212 let isReissuable = true
1313 let issueBebra = Issue(name, lendescription, quantity, decimals, isReissuable, unit, 0)
1414 let assetId = calculateAssetId(issueBebra)
1515 let knewToken = "Token"
16- let kassetId = "Asset ID"
1716 let getNewToken = valueOrErrorMessage(getString(this, knewToken), "BebraToken is not defined")
1817 [issueBebra, BinaryEntry(kassetId, assetId), StringEntry(knewToken, issueBebra.name)]
1918 }
2019
2120
2221
2322 @Callable(i)
24-func senderToken (assetId) = {
25- let recipient = i.caller
26-[ScriptTransfer(recipient, 20, assetId)]
23+func senderToken () = {
24+ let f = valueOrErrorMessage(getBinaryValue(this, kassetId), "error")
25+[ScriptTransfer(i.caller, 20, f)]
2726 }
2827
29-
30-@Verifier(tx)
31-func verify () = true
3228

github/deemru/w8io/169f3d6 
26.96 ms