tx · BGLE6RbFfjy1FfHgArANduoTiExtEHhYjMJeLmWAjwJw

3N47VNUyRs9LtYQjfh1wXoonwtxrk351iQ4:  -0.01400000 Waves

2021.05.15 22:52 [1527246] smart account 3N47VNUyRs9LtYQjfh1wXoonwtxrk351iQ4 > SELF 0.00000000 Waves

{ "type": 13, "id": "BGLE6RbFfjy1FfHgArANduoTiExtEHhYjMJeLmWAjwJw", "fee": 1400000, "feeAssetId": null, "timestamp": 1621108364729, "version": 2, "chainId": 84, "sender": "3N47VNUyRs9LtYQjfh1wXoonwtxrk351iQ4", "senderPublicKey": "6L6mk8eadmViy8hb3fDkBs1maSLoVepN2mVL4wom2pus", "proofs": [ "63NJu6d2dFQUKAfJQyHEzHs1wr6uGpo6kzbCvAw6QLh4FCY3oSnJqgAuMzLomVRqsibqHauDpbXkBdNMbSqbnQLP" ], "script": "base64:AAIEAAAAAAAAAAQIAhIAAAAABQAAAAAMSXNCbG9ja2VkS2V5AgAAAAppc19ibG9ja2VkAAAAABVNaW5XYXZlc1N3YXBBbW91bnRLZXkCAAAAFW1pbl93YXZlc19zd2FwX2Ftb3VudAAAAAAMc3BvbnNvclRva2VuAQAAACCKKZuoP6lfFmxrqYQcUrketdDBz2UMb3LD63UVrxSxsAAAAAASbWluV2F2ZXNTd2FwQW1vdW50CQEAAAALdmFsdWVPckVsc2UAAAACCQAEGgAAAAIFAAAABHRoaXMFAAAAFU1pbldhdmVzU3dhcEFtb3VudEtleQAAAAAAAAAAAAAAAAAJaXNCbG9ja2VkCQEAAAALdmFsdWVPckVsc2UAAAACCQAEGwAAAAIFAAAABHRoaXMFAAAADElzQmxvY2tlZEtleQcAAAABAAAAAWkBAAAACGJ1eUFzc2V0AAAAAAkABEwAAAACCQEAAAAOU2NyaXB0VHJhbnNmZXIAAAADCAUAAAABaQAAAAZjYWxsZXIAAAAAAAAAA+gFAAAADHNwb25zb3JUb2tlbgUAAAADbmlsAAAAAQAAAAJ0eAEAAAAGdmVyaWZ5AAAAAAkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAAIBQAAAAJ0eAAAAA9zZW5kZXJQdWJsaWNLZXkVvVF8", "height": 1527246, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: A2e8DLxedk517t6rAfjb4LccxUXwFA1zDQuTsaxPjbgS Next: FyxKMz4QCTxzeQ6BFyrStqBK9ufSB15t4CyVZhc92weQ Diff:
OldNewDifferences
1212 let isBlocked = valueOrElse(getBoolean(this, IsBlockedKey), false)
1313
1414 @Callable(i)
15-func buyAsset () = {
16- let pmt = value(i.payments[0])
17- let pmtAssetId = value(pmt.assetId)
18- let callerPub58Str = toBase58String(i.callerPublicKey)
19- if (isBlocked)
20- then throw("contract is blocked by EMERGENCY SHUTDOWN actions untill reactivation by emergency oracles")
21- else [ScriptTransfer(i.caller, 1000, sponsorToken)]
22- }
15+func buyAsset () = [ScriptTransfer(i.caller, 1000, sponsorToken)]
2316
2417
2518 @Verifier(tx)
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 4 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let IsBlockedKey = "is_blocked"
55
66 let MinWavesSwapAmountKey = "min_waves_swap_amount"
77
88 let sponsorToken = base58'AJL4X2MaR3QZski33QRMeFZLonS6BnkcR1X72MJW8e31'
99
1010 let minWavesSwapAmount = valueOrElse(getInteger(this, MinWavesSwapAmountKey), 0)
1111
1212 let isBlocked = valueOrElse(getBoolean(this, IsBlockedKey), false)
1313
1414 @Callable(i)
15-func buyAsset () = {
16- let pmt = value(i.payments[0])
17- let pmtAssetId = value(pmt.assetId)
18- let callerPub58Str = toBase58String(i.callerPublicKey)
19- if (isBlocked)
20- then throw("contract is blocked by EMERGENCY SHUTDOWN actions untill reactivation by emergency oracles")
21- else [ScriptTransfer(i.caller, 1000, sponsorToken)]
22- }
15+func buyAsset () = [ScriptTransfer(i.caller, 1000, sponsorToken)]
2316
2417
2518 @Verifier(tx)
2619 func verify () = sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey)
2720

github/deemru/w8io/026f985 
30.76 ms