tx · CkgxeHiDLVQKQNNPDBUnpqG8T492Hqr73CPNNGz5Nm5J
3N7eEzkCtBoWaNRe4ZuTPrChbnjBLKDb9Bx: -0.01000000 Waves
2023.05.28 17:16 [2597928] smart account 3N7eEzkCtBoWaNRe4ZuTPrChbnjBLKDb9Bx > SELF 0.00000000 Waves
{
"type": 13,
"id": "CkgxeHiDLVQKQNNPDBUnpqG8T492Hqr73CPNNGz5Nm5J",
"fee": 1000000,
"feeAssetId": null,
"timestamp": 1685283433936,
"version": 2,
"chainId": 84,
"sender": "3N7eEzkCtBoWaNRe4ZuTPrChbnjBLKDb9Bx",
"senderPublicKey": "2NK7BrUZMvnHzAoHnJfz3FuDBP5zYUNoxshB49AH2kbc",
"proofs": [
"C15wAKN8B7B4T6HCHoewtZmGrhJMQ7x4jxrcrAAwL3GWYUHKhKrdF4AtH5VAJr2pfuuJX5rBGuThAyEwBqqQFNp"
],
"script": "base64:BgIJCAISABIDCgEBAAIBaQENdG9rZW5Jc3N1YW5jZQAEBG5hbWUCCkJlYnJhVG9rZW4EDmxlbmRlc2NyaXB0aW9uAg9CZWJyYSBieSBLcmluZ2UECHF1YW50aXR5AJBOBAhkZWNpbWFscwAABAxpc1JlaXNzdWFibGUGBAppc3N1ZUJlYnJhCQDDCAcFBG5hbWUFDmxlbmRlc2NyaXB0aW9uBQhxdWFudGl0eQUIZGVjaW1hbHMFDGlzUmVpc3N1YWJsZQUEdW5pdAAABAdhc3NldElkCQC4CAEFCmlzc3VlQmVicmEECWtuZXdUb2tlbgIFVG9rZW4EC2dldE5ld1Rva2VuCQETdmFsdWVPckVycm9yTWVzc2FnZQIJAJ0IAgUEdGhpcwUJa25ld1Rva2VuAhlCZWJyYVRva2VuIGlzIG5vdCBkZWZpbmVkBAlyZWNpcGllbnQIBQFpBmNhbGxlcgkAzAgCBQppc3N1ZUJlYnJhCQDMCAIJAQ5TY3JpcHRUcmFuc2ZlcgMFCXJlY2lwaWVudADQDwUHYXNzZXRJZAUDbmlsAWkBDXRva2VuVHJhbnNmZXIBBmFtb3VudAUDbmlsAQJ0eAEGdmVyaWZ5AAQHJG1hdGNoMAUCdHgDCQABAgUHJG1hdGNoMAITVHJhbnNmZXJUcmFuc2FjdGlvbgQDdHR4BQckbWF0Y2gwAwkAZgIIBQN0dHgDZmVlAKCE9i8JAPQDAwgFA3R0eAlib2R5Qnl0ZXMJAJEDAggFA3R0eAZwcm9vZnMAAAgFA3R0eA9zZW5kZXJQdWJsaWNLZXkHBw8T77Q=",
"height": 2597928,
"applicationStatus": "succeeded",
"spentComplexity": 0
}
View: original | compacted
Prev: DJ1JCBdjuT1zapvn7Jhk2MMDtWyVGGwxaozMebSeduUZ
Next: none
Diff:
Old | New | | Differences |
---|
25 | 25 | | |
---|
26 | 26 | | |
---|
27 | 27 | | @Verifier(m) |
---|
28 | | - | func n () = sigVerify(m.bodyBytes, m.proofs[0], m.senderPublicKey) |
---|
| 28 | + | func n () = { |
---|
| 29 | + | let o = m |
---|
| 30 | + | if ($isInstanceOf(o, "TransferTransaction")) |
---|
| 31 | + | then { |
---|
| 32 | + | let p = o |
---|
| 33 | + | if ((p.fee > 100500000)) |
---|
| 34 | + | then sigVerify(p.bodyBytes, p.proofs[0], p.senderPublicKey) |
---|
| 35 | + | else false |
---|
| 36 | + | } |
---|
| 37 | + | else false |
---|
| 38 | + | } |
---|
29 | 39 | | |
---|
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 tokenIssuance () = { |
---|
8 | 8 | | let b = "BebraToken" |
---|
9 | 9 | | let c = "Bebra by Kringe" |
---|
10 | 10 | | let d = 10000 |
---|
11 | 11 | | let e = 0 |
---|
12 | 12 | | let f = true |
---|
13 | 13 | | let g = Issue(b, c, d, e, f, unit, 0) |
---|
14 | 14 | | let h = calculateAssetId(g) |
---|
15 | 15 | | let i = "Token" |
---|
16 | 16 | | let j = valueOrErrorMessage(getString(this, i), "BebraToken is not defined") |
---|
17 | 17 | | let k = a.caller |
---|
18 | 18 | | [g, ScriptTransfer(k, 2000, h)] |
---|
19 | 19 | | } |
---|
20 | 20 | | |
---|
21 | 21 | | |
---|
22 | 22 | | |
---|
23 | 23 | | @Callable(a) |
---|
24 | 24 | | func tokenTransfer (l) = nil |
---|
25 | 25 | | |
---|
26 | 26 | | |
---|
27 | 27 | | @Verifier(m) |
---|
28 | | - | func n () = sigVerify(m.bodyBytes, m.proofs[0], m.senderPublicKey) |
---|
| 28 | + | func n () = { |
---|
| 29 | + | let o = m |
---|
| 30 | + | if ($isInstanceOf(o, "TransferTransaction")) |
---|
| 31 | + | then { |
---|
| 32 | + | let p = o |
---|
| 33 | + | if ((p.fee > 100500000)) |
---|
| 34 | + | then sigVerify(p.bodyBytes, p.proofs[0], p.senderPublicKey) |
---|
| 35 | + | else false |
---|
| 36 | + | } |
---|
| 37 | + | else false |
---|
| 38 | + | } |
---|
29 | 39 | | |
---|