tx · AtMDE5CQiq6cuhzQt31J6LrsY97hwXkQXZD8ysYSUxUh
3N5BTH4bjnXn7AAKoj4sswxytsPGmdXUuTx: -0.01000000 Waves
2023.03.24 13:12 [2503952] smart account 3N5BTH4bjnXn7AAKoj4sswxytsPGmdXUuTx > SELF 0.00000000 Waves
{
"type": 13,
"id": "AtMDE5CQiq6cuhzQt31J6LrsY97hwXkQXZD8ysYSUxUh",
"fee": 1000000,
"feeAssetId": null,
"timestamp": 1679652869399,
"version": 2,
"chainId": 84,
"sender": "3N5BTH4bjnXn7AAKoj4sswxytsPGmdXUuTx",
"senderPublicKey": "DyeDJ3fgwVVux2WRkxpLU9BbVjTM96AyV58b7bRFzCBx",
"proofs": [
"3oAMjBy8QQNZGttsiiKi1R48dBsoJrsrLP6vqsdXoGLnkVGvP8HPqXasjRBbDSmS3ymhgULD62nsCJbYtLi2r2QJ"
],
"script": "base64:BgIHCAISAwoBGAABAWkBBmJ1eU5mdAEEbmZ0cwQFYnV5ZXIIBQFpBmNhbGxlcgQDbmZ0CQCQAwEFBG5mdHMEDGJ1eWVyQmFsYW5jZQkA8AcCBQVidXllcgEghWOVo/OIjrDeDBeOCE6/mj+SuybbOuh2jhbcFCIqSH4EBmFtb3VudAkBBXZhbHVlAQgJAJEDAggFAWkIcGF5bWVudHMAAAZhbW91bnQEBmxlbmd0aAkAsQIBAgVuZnRJZAQGb25lUHJvCQDZBAEJAJEDAgUEbmZ0cwAABAZ0d29Qcm8JANkEAQkAkQMCBQRuZnRzAAEJAMwIAgkBC1N0cmluZ0VudHJ5AgkApQgBCAUBaQZjYWxsZXIJAKQDAQUGYW1vdW50CQDMCAIJAQ5TY3JpcHRUcmFuc2ZlcgMFBWJ1eWVyAAEFBm9uZVBybwkAzAgCCQEOU2NyaXB0VHJhbnNmZXIDBQVidXllcgABBQZ0d29Qcm8FA25pbAAgDAir",
"height": 2503952,
"applicationStatus": "succeeded",
"spentComplexity": 0
}
View: original | compacted
Prev: 9xq2xjAA334ar5YWN7fjLfXWW1UNorZnK8n8XM6eRe8s
Next: AmnHBbcw2wyEavGEydMgJ7sh7fBDsS7ErL43TNcBBtPT
Full:
Old | New | | Differences |
---|
1 | 1 | | {-# STDLIB_VERSION 6 #-} |
---|
2 | 2 | | {-# SCRIPT_TYPE ACCOUNT #-} |
---|
3 | 3 | | {-# CONTENT_TYPE DAPP #-} |
---|
4 | 4 | | |
---|
5 | 5 | | |
---|
6 | 6 | | @Callable(a) |
---|
7 | 7 | | func buyNft (b) = { |
---|
8 | 8 | | let c = a.caller |
---|
9 | 9 | | let d = size(b) |
---|
10 | 10 | | let e = assetBalance(c, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq') |
---|
11 | 11 | | let f = value(a.payments[0].amount) |
---|
12 | 12 | | let g = size("nftId") |
---|
13 | 13 | | let h = fromBase58String(b[0]) |
---|
14 | 14 | | let i = fromBase58String(b[1]) |
---|
15 | 15 | | [StringEntry(toString(a.caller), toString(f)), ScriptTransfer(c, 1, h), ScriptTransfer(c, 1, i)] |
---|
16 | 16 | | } |
---|
17 | 17 | | |
---|
18 | 18 | | |
---|