tx · FUMjrSp9rRsYM2kdiZWvSS7pakysCiE5LoS9cHX6J8TL
3N2GeUw4KtMF34jdvNesau48iCxfT4DksAD: -0.01400000 Waves
2019.07.22 16:24 [597228] smart account 3N2GeUw4KtMF34jdvNesau48iCxfT4DksAD > SELF 0.00000000 Waves
{
"type": 13,
"id": "FUMjrSp9rRsYM2kdiZWvSS7pakysCiE5LoS9cHX6J8TL",
"fee": 1400000,
"feeAssetId": null,
"timestamp": 1563801860580,
"version": 1,
"sender": "3N2GeUw4KtMF34jdvNesau48iCxfT4DksAD",
"senderPublicKey": "FfcdngZ7eunm8gtpDuM4pGeH8Yy6SHYt4eQKPaWbHc2o",
"proofs": [
"4VkyWqWhwTQB3Bh3uUZAXPFpSJtCXJLo3zqeCwQrTcWWoafccaHFTcmzsFEyMK2py73jbm3tBycQLZdt2RBjVyVH"
],
"script": "base64:AAIDAAAAAAAAAAAAAAABAAAAAAR3RVVSAQAAACAalE+6fc1iBGhWiVs8CvQr6BWbfknI/DueR4BuM0ni+gAAAAEAAAABaQEAAAAHZGVwb3NpdAAAAAAEAAAAA3BtdAkBAAAAB2V4dHJhY3QAAAABCAUAAAABaQAAAAdwYXltZW50AwkBAAAAAiE9AAAAAggFAAAAA3BtdAAAAAdhc3NldElkBQAAAAR3RVVSCQAAAgAAAAECAAAATEwndW5pY28gYXNzZXQgYW1tZXNzbyDDqCB3RVVSIC0gMm5rbVd5U0pjazd4M3ZHVFpxY1FwZlM3cFBMeHh1cWE4R2RHRDRkVlVGTjkEAAAACmN1cnJlbnRLZXkJAAJYAAAAAQgIBQAAAAFpAAAABmNhbGxlcgAAAAVieXRlcwQAAAANY3VycmVudEFtb3VudAQAAAAHJG1hdGNoMAkABBoAAAACBQAAAAR0aGlzBQAAAApjdXJyZW50S2V5AwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAAANJbnQEAAAAAWQFAAAAByRtYXRjaDAFAAAAAWQAAAAAAAAAAAAEAAAACW5ld0Ftb3VudAkAAGQAAAACBQAAAA1jdXJyZW50QW1vdW50CAUAAAADcG10AAAABmFtb3VudAkBAAAACFdyaXRlU2V0AAAAAQkABEwAAAACCQEAAAAJRGF0YUVudHJ5AAAAAgUAAAAKY3VycmVudEtleQUAAAAJbmV3QW1vdW50BQAAAANuaWwAAAAASGWyBg==",
"chainId": 84,
"height": 597228,
"spentComplexity": 0
}
View: original | compacted
Prev: none
Next: 6ww995RvdtmHsqNwrMo8jZbHjBBWDWa4HkPHyuwERAct
Full:
Old | New | | Differences |
---|
1 | | - | # no script |
---|
| 1 | + | {-# STDLIB_VERSION 3 #-} |
---|
| 2 | + | {-# SCRIPT_TYPE ACCOUNT #-} |
---|
| 3 | + | {-# CONTENT_TYPE DAPP #-} |
---|
| 4 | + | let a = base58'2nkmWySJck7x3vGTZqcQpfS7pPLxxuqa8GdGD4dVUFN9' |
---|
| 5 | + | |
---|
| 6 | + | @Callable(b) |
---|
| 7 | + | func deposit () = { |
---|
| 8 | + | let c = extract(b.payment) |
---|
| 9 | + | if ((c.assetId != a)) |
---|
| 10 | + | then throw("L'unico asset ammesso รจ wEUR - 2nkmWySJck7x3vGTZqcQpfS7pPLxxuqa8GdGD4dVUFN9") |
---|
| 11 | + | else { |
---|
| 12 | + | let d = toBase58String(b.caller.bytes) |
---|
| 13 | + | let e = { |
---|
| 14 | + | let f = getInteger(this, d) |
---|
| 15 | + | if ($isInstanceOf(f, "Int")) |
---|
| 16 | + | then { |
---|
| 17 | + | let g = f |
---|
| 18 | + | g |
---|
| 19 | + | } |
---|
| 20 | + | else 0 |
---|
| 21 | + | } |
---|
| 22 | + | let h = (e + c.amount) |
---|
| 23 | + | WriteSet([DataEntry(d, h)]) |
---|
| 24 | + | } |
---|
| 25 | + | } |
---|
| 26 | + | |
---|
| 27 | + | |
---|