tx · 4Aac3xFfEQNfqKcUj9Sjk7LgKHi2z3Ts3BiSUxHorne8 3Mup4uG7mXS2N9Fuk3JtEpoKKmzA2PtQcUY: -0.01400000 Waves 2019.09.24 17:20 [690534] smart account 3Mup4uG7mXS2N9Fuk3JtEpoKKmzA2PtQcUY > SELF 0.00000000 Waves
{ "type": 13, "id": "4Aac3xFfEQNfqKcUj9Sjk7LgKHi2z3Ts3BiSUxHorne8", "fee": 1400000, "feeAssetId": null, "timestamp": 1569334890553, "version": 1, "sender": "3Mup4uG7mXS2N9Fuk3JtEpoKKmzA2PtQcUY", "senderPublicKey": "6VdgiscuZ9B1c2urnAVPPVaCS5afNjzf1RpG2SS3GUy6", "proofs": [ "3ChoWzyjyaEfeNs5sDKfxu96fLvXw622iwDENLzhQkHSTJSj2cWTYWRJs2LQL4WpicSP1ywtPLPH8Nx2pMBYYfPj" ], "script": "base64:AAIDAAAAAAAAAAAAAAADAAAAAA1hY2NlcHRlZFRva2VuAQAAACDopWq8yndC8nBhMjVKT0WDubke5ZlnF8Nx6tkLoQSt6wAAAAAMY3VycmVudFByaWNlAAAAAFF9oCwAAAAAAARiYW5rAgAAACMzTjFFNnRYZGRSb1ZhUmZROWRRM3ZnNUxhVzJmc2Q4SEt1YgAAAAEAAAAGaW52b2tlAQAAABFmaWxlQ2VydGlmaWNhdGlvbgAAAAQAAAAEaGFzaAAAAAV0aXRsZQAAAAR1dWlkAAAABGRhdGEEAAAAB3BheW1lbnQJAQAAAAdleHRyYWN0AAAAAQgFAAAABmludm9rZQAAAAdwYXltZW50BAAAAAZhbW91bnQJAQAAAAdleHRyYWN0AAAAAQgFAAAAB3BheW1lbnQAAAAGYW1vdW50BAAAAAJpZAkBAAAAB2V4dHJhY3QAAAABCAUAAAAGaW52b2tlAAAADXRyYW5zYWN0aW9uSWQEAAAACmVudHJ5RXhpc3QEAAAAByRtYXRjaDAJAAQdAAAAAgUAAAAEdGhpcwkAASwAAAACBQAAAARoYXNoBQAAAAR1dWlkAwk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AAA5TY3JpcHRUcmFuc2ZlcgAAAAMJAQAAABxAZXh0clVzZXIoYWRkcmVzc0Zyb21TdHJpbmcpAAAAAQUAAAAEYmFuawUAAAAGYW1vdW50BQAAAA1hY2NlcHRlZFRva2VuBQAAAANuaWwAAAAA3KWPUQ==", "chainId": 84, "height": 690534, "spentComplexity": 0 } View: original | compacted Prev: AiaS81EZBQWQWigqy8NbST5qfAPz4X3n1tvKCDGH6dtf Next: HGjnddhc4kLE7AUn5siSG6xCpWS6r38FTgeGP4u9zYkJ Full:
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 3 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | let a = base58'Gf9t8FA4H3ssoZPCwrg3KwUFCci8zuUFP9ssRsUY3s6a' | |
5 | 5 | ||
6 | 6 | let b = 350000000000 | |
7 | 7 | ||
8 | 8 | let c = "3N1E6tXddRoVaRfQ9dQ3vg5LaW2fsd8HKub" | |
9 | 9 | ||
10 | 10 | @Callable(d) | |
11 | 11 | func fileCertification (e,f,g,h) = { | |
12 | 12 | let i = extract(d.payment) | |
13 | 13 | let j = extract(i.amount) | |
14 | 14 | let k = extract(d.transactionId) | |
15 | 15 | let l = { | |
16 | 16 | let m = getString(this, (e + g)) | |
17 | 17 | if ($isInstanceOf(m, "String")) | |
18 | 18 | then { | |
19 | 19 | let n = m | |
20 | 20 | n | |
21 | 21 | } | |
22 | 22 | else "NONE" | |
23 | 23 | } | |
24 | 24 | if ((l != "NONE")) | |
25 | 25 | then throw("This entry already exist") | |
26 | 26 | else { | |
27 | 27 | let o = if (isDefined(i.assetId)) | |
28 | 28 | then extract(i.assetId) | |
29 | 29 | else throw("Waves is not accepted as payment") | |
30 | 30 | if ((o != a)) | |
31 | 31 | then throw("Only payments in SIGN are allowed at the moment") | |
32 | 32 | else if ((j != b)) | |
33 | 33 | then throw("The price is wrong") | |
34 | 34 | else ScriptResult(WriteSet([DataEntry((e + g), toBase58String(k)), DataEntry((f + g), toBase58String(k)), DataEntry(((("data_fc_" + toBase58String(k)) + "_") + toBase58String(d.caller.bytes)), h)]), TransferSet([ScriptTransfer(addressFromStringValue(c), j, a)])) | |
35 | 35 | } | |
36 | 36 | } | |
37 | 37 | ||
38 | 38 |
github/deemru/w8io/169f3d6 166.62 ms ◑