tx · 8bMpxVUQvN9LSkm2RqU7vRZQHEVn1SEN74cuvtiXfDzm

3MwPF8FWd4fYohy6CXXB6wtjbRRvqFpxmdD:  -0.01000000 Waves

2023.07.26 18:47 [2683024] smart account 3MwPF8FWd4fYohy6CXXB6wtjbRRvqFpxmdD > SELF 0.00000000 Waves

{ "type": 13, "id": "8bMpxVUQvN9LSkm2RqU7vRZQHEVn1SEN74cuvtiXfDzm", "fee": 1000000, "feeAssetId": null, "timestamp": 1690386432443, "version": 2, "chainId": 84, "sender": "3MwPF8FWd4fYohy6CXXB6wtjbRRvqFpxmdD", "senderPublicKey": "G6PnkMn8MpXBkNwsQKMn1o1V7EKMgZyHCJRdFMQuouBC", "proofs": [ "3rSsmHX1EDfVCMeUEMGuXCgcUMvn2xm93bSfUFKBiojkmiGfYUrvwmim2FYF9sB9p45nn7uaX9NzpQjTr4um9L8A" ], "script": "base64:BgIGCAISABIAAQAIa2Fzc2V0SWQCB0Fzc2V0SUQCAWkBDXRva2VuSXNzdWFuY2UABARuYW1lAgpCZWJyYVRva2VuBAtkZXNjcmlwdGlvbgIPQmVicmEgYnkgS3JpbmdlBAhxdWFudGl0eQCAreIEBAhkZWNpbWFscwADBAppc3N1ZUJlYnJhCQDCCAUFBG5hbWUFC2Rlc2NyaXB0aW9uBQhxdWFudGl0eQUIZGVjaW1hbHMGBAdhc3NldElkCQC4CAEFCmlzc3VlQmVicmEECWtuZXdUb2tlbgIFVG9rZW4EC2dldE5ld1Rva2VuCQETdmFsdWVPckVycm9yTWVzc2FnZQIJAJ0IAgUEdGhpcwUJa25ld1Rva2VuAhlCZWJyYVRva2VuIGlzIG5vdCBkZWZpbmVkCQDMCAIFCmlzc3VlQmVicmEJAMwIAgkBC0JpbmFyeUVudHJ5AgUIa2Fzc2V0SWQFB2Fzc2V0SWQJAMwIAgkBC1N0cmluZ0VudHJ5AgUJa25ld1Rva2VuCAUKaXNzdWVCZWJyYQRuYW1lBQNuaWwBaQELc2VuZGVyVG9rZW4ABAdhc3NldElECQETdmFsdWVPckVycm9yTWVzc2FnZQIJARFAZXh0ck5hdGl2ZSgxMDUyKQIFBHRoaXMFCGthc3NldElkAgVlcnJvcgkAzAgCCQEOU2NyaXB0VHJhbnNmZXIDBQR0aGlzAAEFBHVuaXQJAMwIAgkBDlNjcmlwdFRyYW5zZmVyAwgFAWkGY2FsbGVyABQFB2Fzc2V0SUQFA25pbADYkSU0", "height": 2683024, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: GEFAAerTfWuZn22qp74qfpubVBzmzfbe57ok4oosmGaF Next: 64oE3vsFjQoY15ntpn8HHjWx7tkXq2y7mspnhp7PC31d Diff:
OldNewDifferences
66 @Callable(i)
77 func tokenIssuance () = {
88 let name = "BebraToken"
9- let lendescription = "Bebra by Kringe"
10- let quantity = 100000
9+ let description = "Bebra by Kringe"
10+ let quantity = 10000000
1111 let decimals = 3
12- let issueBebra = Issue(name, lendescription, quantity, decimals, true)
12+ let issueBebra = Issue(name, description, quantity, decimals, true)
1313 let assetId = calculateAssetId(issueBebra)
1414 let knewToken = "Token"
1515 let getNewToken = valueOrErrorMessage(getString(this, knewToken), "BebraToken is not defined")
2121 @Callable(i)
2222 func senderToken () = {
2323 let assetID = valueOrErrorMessage(getBinaryValue(this, kassetId), "error")
24-[ScriptTransfer(this, 2, unit), ScriptTransfer(i.caller, 20, assetID)]
24+[ScriptTransfer(this, 1, unit), ScriptTransfer(i.caller, 20, assetID)]
2525 }
2626
2727
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 6 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let kassetId = "AssetID"
55
66 @Callable(i)
77 func tokenIssuance () = {
88 let name = "BebraToken"
9- let lendescription = "Bebra by Kringe"
10- let quantity = 100000
9+ let description = "Bebra by Kringe"
10+ let quantity = 10000000
1111 let decimals = 3
12- let issueBebra = Issue(name, lendescription, quantity, decimals, true)
12+ let issueBebra = Issue(name, description, quantity, decimals, true)
1313 let assetId = calculateAssetId(issueBebra)
1414 let knewToken = "Token"
1515 let getNewToken = valueOrErrorMessage(getString(this, knewToken), "BebraToken is not defined")
1616 [issueBebra, BinaryEntry(kassetId, assetId), StringEntry(knewToken, issueBebra.name)]
1717 }
1818
1919
2020
2121 @Callable(i)
2222 func senderToken () = {
2323 let assetID = valueOrErrorMessage(getBinaryValue(this, kassetId), "error")
24-[ScriptTransfer(this, 2, unit), ScriptTransfer(i.caller, 20, assetID)]
24+[ScriptTransfer(this, 1, unit), ScriptTransfer(i.caller, 20, assetID)]
2525 }
2626
2727

github/deemru/w8io/026f985 
18.36 ms