tx · 7BBbGfpRugqw61L7Y8M3J8nvi7vsUnA6GEmridsYaYt
3NA1S6uwLYcgcU5Rie6zWuKyn1wkBj3rtPx: -0.01000000 Waves
2022.04.01 08:21 [1989101] smart account 3NA1S6uwLYcgcU5Rie6zWuKyn1wkBj3rtPx > SELF 0.00000000 Waves
{
"type": 13,
"id": "7BBbGfpRugqw61L7Y8M3J8nvi7vsUnA6GEmridsYaYt",
"fee": 1000000,
"feeAssetId": null,
"timestamp": 1648790586153,
"version": 2,
"chainId": 84,
"sender": "3NA1S6uwLYcgcU5Rie6zWuKyn1wkBj3rtPx",
"senderPublicKey": "BEvKqo77hZXfjdJwYSy7cbmNjN6dL4yKhwZvJDFKPiee",
"proofs": [
"2WgnsKqHw3c8VBejR2G7djbfjNJ6yNYXz5nFhBWk2wrXim4dvKGc4wPiRCAzsC5VXdxmDkNeALuDj4nGr3j35rCb"
],
"script": "base64:AAIFAAAAAAAAAAQIAhIAAAAAAwAAAAAEdXNkbgEAAAAgD/IcEqzkxDya7EYaqyWosOy6BytGzG2IcvC14pJJAbQAAAAAB3Nuc2J0SWQBAAAAILqDvGkp6waDXTwTuaKB/jW6h/tkvZs4MAj0Aq5ZzFKzAAAAAAlpc1N0b3BwZWQHAAAAAQAAAAFpAQAAAAROU0JUAAAAAAQAAAADcG10CQEAAAAFdmFsdWUAAAABCQABkQAAAAIIBQAAAAFpAAAACHBheW1lbnRzAAAAAAAAAAAABAAAAAZhbW91bnQIBQAAAANwbXQAAAAGYW1vdW50AwkBAAAAAiE9AAAAAggFAAAAA3BtdAAAAAdhc3NldElkBQAAAAR1c2RuCQAAAgAAAAECAAAAFmF0dGFjaCBVU0ROIHRva2VuIG9ubHkDBQAAAAlpc1N0b3BwZWQJAAACAAAAAQIAAAAZc21hcnQgY29udHJhY3QgaXMgb24gbG9jawQAAAAKc25zYnRJc3N1ZQkBAAAAB1JlaXNzdWUAAAADBQAAAAdzbnNidElkBQAAAAZhbW91bnQGCQAETAAAAAIFAAAACnNuc2J0SXNzdWUJAARMAAAAAgkBAAAADlNjcmlwdFRyYW5zZmVyAAAAAwgFAAAAAWkAAAAGY2FsbGVyBQAAAAZhbW91bnQFAAAAB3Nuc2J0SWQFAAAAA25pbAAAAAEAAAACdHgBAAAABnZlcmlmeQAAAAAJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAAACAUAAAACdHgAAAAPc2VuZGVyUHVibGljS2V5KAOCXg==",
"height": 1989101,
"applicationStatus": "succeeded",
"spentComplexity": 0
}
View: original | compacted
Prev: none
Next: AfSGbYqah4mgbsK6NeBe6QniotEtCECWtZrvrrT1EGx9
Full:
Old | New | | Differences |
---|
1 | | - | # no script |
---|
| 1 | + | {-# STDLIB_VERSION 5 #-} |
---|
| 2 | + | {-# SCRIPT_TYPE ACCOUNT #-} |
---|
| 3 | + | {-# CONTENT_TYPE DAPP #-} |
---|
| 4 | + | let a = base58'25FEqEjRkqK6yCkiT7Lz6SAYz7gUFCtxfCChnrVFD5AT' |
---|
| 5 | + | |
---|
| 6 | + | let b = base58'DZ5LhvfGCEAFRmfcrtdjhhiLESBfN7dMvM8FEFQc6Qr6' |
---|
| 7 | + | |
---|
| 8 | + | let c = false |
---|
| 9 | + | |
---|
| 10 | + | @Callable(d) |
---|
| 11 | + | func NSBT () = { |
---|
| 12 | + | let e = value(d.payments[0]) |
---|
| 13 | + | let f = e.amount |
---|
| 14 | + | if ((e.assetId != a)) |
---|
| 15 | + | then throw("attach USDN token only") |
---|
| 16 | + | else if (c) |
---|
| 17 | + | then throw("smart contract is on lock") |
---|
| 18 | + | else { |
---|
| 19 | + | let g = Reissue(b, f, true) |
---|
| 20 | + | [g, ScriptTransfer(d.caller, f, b)] |
---|
| 21 | + | } |
---|
| 22 | + | } |
---|
| 23 | + | |
---|
| 24 | + | |
---|
| 25 | + | @Verifier(h) |
---|
| 26 | + | func i () = sigVerify(h.bodyBytes, h.proofs[0], h.senderPublicKey) |
---|
| 27 | + | |
---|