tx · Eje9D2U45MC68NKGQFGEKxGRziai73Ak6ejdi76erDsm

3Mvjrd9jd9BEQvHoiHnPKR2WqtZnvxopDcx:  -1.00900000 Waves

2022.04.06 23:07 [1997166] smart account 3Mvjrd9jd9BEQvHoiHnPKR2WqtZnvxopDcx > SELF 0.00000000 Waves

{ "type": 13, "id": "Eje9D2U45MC68NKGQFGEKxGRziai73Ak6ejdi76erDsm", "fee": 100900000, "feeAssetId": null, "timestamp": 1649275642793, "version": 2, "chainId": 84, "sender": "3Mvjrd9jd9BEQvHoiHnPKR2WqtZnvxopDcx", "senderPublicKey": "B37Jiw5CgfjxqxYgkAGeJpTmiCa4Cb6a9mh9fynZppFR", "proofs": [ "33igtb9YC8SV3wuYh1Fcq4niYjommYsR8fnNckMpzQhfrFZ5poEYgUqUZpZ83qGdQaDziKgW1ZuhRdYx7DewJPk8" ], "script": "base64:AAIFAAAAAAAAAAoIAhIAEgQKAgIBAAAAAAAAAAIAAAABaQEAAAAQY3JlYXRlTXV0aHVUb2tlbgAAAAADCQAAAAAAAAIIBQAAAAFpAAAABmNhbGxlcgUAAAAEdGhpcwQAAAAFaXNzdWUJAARCAAAABQIAAAAFTVVUSFUCAAAAF0EgdGVzdCB0b2tlbiBieSBLLk11dGh1AAAAAAAAAYagAAAAAAAAAAACBgQAAAACaWQJAAQ4AAAAAQUAAAAFaXNzdWUJAAUUAAAAAgkABEwAAAACBQAAAAVpc3N1ZQkABEwAAAACCQEAAAALQmluYXJ5RW50cnkAAAACAgAAAAJpZAUAAAACaWQFAAAAA25pbAUAAAAEdW5pdAkAAAIAAAABAgAAABRUb2tlbiBhbHJlYWR5IGlzc3VlZAAAAAFpAQAAAApnaXZlVG9rZW5zAAAAAgAAAAdhZGRyZXNzAAAABmFtb3VudAQAAAAHYXNzZXRJRAQAAAAHJG1hdGNoMAkABBwAAAACBQAAAAR0aGlzAgAAAAJpZAMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAAKQnl0ZVZlY3RvcgQAAAACaWQFAAAAByRtYXRjaDAFAAAAAmlkCQAAAgAAAAECAAAAFENhbid0IGZpbmQgQXNzZXN0IElEAwMJAAAAAAAAAggFAAAAAWkAAAAGY2FsbGVyBQAAAAR0aGlzCQAAZwAAAAIJAAPwAAAAAgUAAAAEdGhpcwUAAAAHYXNzZXRJRAUAAAAGYW1vdW50BwkABEwAAAACCQEAAAAMSW50ZWdlckVudHJ5AAAAAgkAAlgAAAABBQAAAAdhZGRyZXNzBQAAAAZhbW91bnQJAARMAAAAAgkBAAAADlNjcmlwdFRyYW5zZmVyAAAAAwkBAAAAB0FkZHJlc3MAAAABBQAAAAdhZGRyZXNzBQAAAAZhbW91bnQFAAAAB2Fzc2V0SUQFAAAAA25pbAkAAAIAAAABAgAAACBDYW4ndCBjYWxsIG9yIG5vdCBlbm91Z2ggYmFsYW5jZQAAAAEAAAACdHgBAAAABnZlcmlmeQAAAAAJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAAACAUAAAACdHgAAAAPc2VuZGVyUHVibGljS2V5rbWLrg==", "height": 1997166, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: BUkATxQA4GqH7itNNGhY8V4HnggxEkofvX1uAa8KFxpe Next: BoSSMeVvA8NFKB5dHSXzQNm5GmmXxcQ95Se2evdgFVos Full:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44
55
66 @Callable(a)
77 func createMuthuToken () = if ((a.caller == this))
88 then {
99 let b = Issue("MUTHU", "A test token by K.Muthu", 100000, 2, true)
1010 let c = calculateAssetId(b)
1111 $Tuple2([b, BinaryEntry("id", c)], unit)
1212 }
1313 else throw("Token already issued")
1414
1515
1616
1717 @Callable(a)
1818 func giveTokens (d,e) = {
1919 let f = {
2020 let g = getBinary(this, "id")
2121 if ($isInstanceOf(g, "ByteVector"))
2222 then {
2323 let c = g
2424 c
2525 }
2626 else throw("Can't find Assest ID")
2727 }
2828 if (if ((a.caller == this))
2929 then (assetBalance(this, f) >= e)
3030 else false)
3131 then [IntegerEntry(toBase58String(d), e), ScriptTransfer(Address(d), e, f)]
3232 else throw("Can't call or not enough balance")
3333 }
3434
3535
3636 @Verifier(h)
3737 func i () = sigVerify(h.bodyBytes, h.proofs[0], h.senderPublicKey)
3838

github/deemru/w8io/169f3d6 
41.69 ms