tx · Bex6VNYgGDyaAPGa7912Gx3KBTR8apychwGeVwJxqewK

3Mup4uG7mXS2N9Fuk3JtEpoKKmzA2PtQcUY:  -0.01400000 Waves

2019.09.24 17:19 [690533] smart account 3Mup4uG7mXS2N9Fuk3JtEpoKKmzA2PtQcUY > SELF 0.00000000 Waves

{ "type": 13, "id": "Bex6VNYgGDyaAPGa7912Gx3KBTR8apychwGeVwJxqewK", "fee": 1400000, "feeAssetId": null, "timestamp": 1569334787668, "version": 1, "sender": "3Mup4uG7mXS2N9Fuk3JtEpoKKmzA2PtQcUY", "senderPublicKey": "6VdgiscuZ9B1c2urnAVPPVaCS5afNjzf1RpG2SS3GUy6", "proofs": [ "5eiK1URKfqav3HeZAfVJx4cnfTYnjXbUyCcDrhLUrEoML42UMCyEEA8aT3bqBERfaej5WtLkcWT4cpop1T6h6TVY" ], "script": "base64:AAIDAAAAAAAAAAAAAAADAAAAAA1hY2NlcHRlZFRva2VuAQAAACDopWq8yndC8nBhMjVKT0WDubke5ZlnF8Nx6tkLoQSt6wAAAAAMY3VycmVudFByaWNlAAAAAFF9oCwAAAAAAARiYW5rAgAAACMzTjFFNnRYZGRSb1ZhUmZROWRRM3ZnNUxhVzJmc2Q4SEt1YgAAAAEAAAAGaW52b2tlAQAAABFmaWxlQ2VydGlmaWNhdGlvbgAAAAQAAAAEaGFzaAAAAAV0aXRsZQAAAAR1dWlkAAAABGRhdGEEAAAAB3BheW1lbnQJAQAAAAdleHRyYWN0AAAAAQgFAAAABmludm9rZQAAAAdwYXltZW50BAAAAAZhbW91bnQJAQAAAAdleHRyYWN0AAAAAQgFAAAAB3BheW1lbnQAAAAGYW1vdW50BAAAAAJpZAkBAAAAB2V4dHJhY3QAAAABCAUAAAAGaW52b2tlAAAADXRyYW5zYWN0aW9uSWQEAAAACmVudHJ5RXhpc3QEAAAAByRtYXRjaDAJAAQdAAAAAgUAAAAEdGhpcwkAASwAAAACBQAAAARoYXNoBQAAAAR1dWlkAwkAAAEAAAACBQAAA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AAFYnl0ZXMFAAAABGRhdGEFAAAAA25pbAkBAAAAC1RyYW5zZmVyU2V0AAAAAQkABEwAAAACCQEAAAAOU2NyaXB0VHJhbnNmZXIAAAADCQEAAAAcQGV4dHJVc2VyKGFkZHJlc3NGcm9tU3RyaW5nKQAAAAEFAAAABGJhbmsFAAAABmFtb3VudAUAAAANYWNjZXB0ZWRUb2tlbgUAAAADbmlsAAAAAECajyY=", "chainId": 84, "height": 690533, "spentComplexity": 0 } View: original | compacted Prev: 54csVY23WAJMRoqbDYLfz15rMm5hxFVHUvtSFB5HJ4Ys Next: AiaS81EZBQWQWigqy8NbST5qfAPz4X3n1tvKCDGH6dtf Diff:
OldNewDifferences
88 let c = "3N1E6tXddRoVaRfQ9dQ3vg5LaW2fsd8HKub"
99
1010 @Callable(d)
11-func fileCertification (e,f,g,h,i) = {
12- let j = extract(d.payment)
13- let k = extract(j.amount)
14- let l = extract(d.transactionId)
15- let m = {
16- let n = getString(this, (e + h))
17- if ($isInstanceOf(n, "String"))
11+func fileCertification (e,f,g,h) = {
12+ let i = extract(d.payment)
13+ let j = extract(i.amount)
14+ let k = extract(d.transactionId)
15+ let l = {
16+ let m = getString(this, (e + g))
17+ if ($isInstanceOf(m, "String"))
1818 then {
19- let o = n
20- o
19+ let n = m
20+ n
2121 }
2222 else "NONE"
2323 }
24- if ((m != "NONE"))
24+ if ((l != "NONE"))
2525 then throw("This entry already exist")
2626 else {
27- let p = if (isDefined(j.assetId))
28- then extract(j.assetId)
27+ let o = if (isDefined(i.assetId))
28+ then extract(i.assetId)
2929 else throw("Waves is not accepted as payment")
30- if ((p != a))
30+ if ((o != a))
3131 then throw("Only payments in SIGN are allowed at the moment")
32- else if ((k != b))
32+ else if ((j != b))
3333 then throw("The price is wrong")
34- else ScriptResult(WriteSet([DataEntry((e + h), toBase58String(l)), DataEntry(((("title_fc_" + toBase58String(l)) + "_") + toBase58String(d.caller.bytes)), f), DataEntry(((("data_fc_" + toBase58String(l)) + "_") + toBase58String(d.caller.bytes)), i)]), TransferSet([ScriptTransfer(addressFromStringValue(c), k, a)]))
34+ else ScriptResult(WriteSet([DataEntry((e + g), toBase58String(k)), DataEntry(((("title_fc_" + toBase58String(k)) + "_") + toBase58String(d.caller.bytes)), f), DataEntry(((("data_fc_" + toBase58String(k)) + "_") + toBase58String(d.caller.bytes)), h)]), TransferSet([ScriptTransfer(addressFromStringValue(c), j, a)]))
3535 }
3636 }
3737
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 3 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let a = base58'Gf9t8FA4H3ssoZPCwrg3KwUFCci8zuUFP9ssRsUY3s6a'
55
66 let b = 350000000000
77
88 let c = "3N1E6tXddRoVaRfQ9dQ3vg5LaW2fsd8HKub"
99
1010 @Callable(d)
11-func fileCertification (e,f,g,h,i) = {
12- let j = extract(d.payment)
13- let k = extract(j.amount)
14- let l = extract(d.transactionId)
15- let m = {
16- let n = getString(this, (e + h))
17- if ($isInstanceOf(n, "String"))
11+func fileCertification (e,f,g,h) = {
12+ let i = extract(d.payment)
13+ let j = extract(i.amount)
14+ let k = extract(d.transactionId)
15+ let l = {
16+ let m = getString(this, (e + g))
17+ if ($isInstanceOf(m, "String"))
1818 then {
19- let o = n
20- o
19+ let n = m
20+ n
2121 }
2222 else "NONE"
2323 }
24- if ((m != "NONE"))
24+ if ((l != "NONE"))
2525 then throw("This entry already exist")
2626 else {
27- let p = if (isDefined(j.assetId))
28- then extract(j.assetId)
27+ let o = if (isDefined(i.assetId))
28+ then extract(i.assetId)
2929 else throw("Waves is not accepted as payment")
30- if ((p != a))
30+ if ((o != a))
3131 then throw("Only payments in SIGN are allowed at the moment")
32- else if ((k != b))
32+ else if ((j != b))
3333 then throw("The price is wrong")
34- else ScriptResult(WriteSet([DataEntry((e + h), toBase58String(l)), DataEntry(((("title_fc_" + toBase58String(l)) + "_") + toBase58String(d.caller.bytes)), f), DataEntry(((("data_fc_" + toBase58String(l)) + "_") + toBase58String(d.caller.bytes)), i)]), TransferSet([ScriptTransfer(addressFromStringValue(c), k, a)]))
34+ else ScriptResult(WriteSet([DataEntry((e + g), toBase58String(k)), DataEntry(((("title_fc_" + toBase58String(k)) + "_") + toBase58String(d.caller.bytes)), f), DataEntry(((("data_fc_" + toBase58String(k)) + "_") + toBase58String(d.caller.bytes)), h)]), TransferSet([ScriptTransfer(addressFromStringValue(c), j, a)]))
3535 }
3636 }
3737
3838

github/deemru/w8io/169f3d6 
45.67 ms