tx · QwuDq6JiyNCnrNmtVfHpYY9T9i7BsGKzzZmCNoqLpxn

3MpUDmnN27gMSxHDEFQLW75epUMECTHDn6E:  -0.01400000 Waves

2020.11.26 08:46 [1281980] smart account 3MpUDmnN27gMSxHDEFQLW75epUMECTHDn6E > SELF 0.00000000 Waves

{ "type": 13, "id": "QwuDq6JiyNCnrNmtVfHpYY9T9i7BsGKzzZmCNoqLpxn", "fee": 1400000, "feeAssetId": null, "timestamp": 1606369646227, "version": 2, "chainId": 84, "sender": "3MpUDmnN27gMSxHDEFQLW75epUMECTHDn6E", "senderPublicKey": "FJk5n9i5ysYBtjvPcos6iKm98yzpxms3gECZgg6Y8Bt1", "proofs": [ "3ZX54wVxiXe6j2gcJ6JB4UzGnHn18R99Z8bc9YsHoF1mPYUyydXiY2wiHgoFMwrRuD5ySsYTvBVJ5RBB9j88cGad" ], "script": "base64:AAIEAAAAAAAAAAQIAhIAAAAABAAAAAAIZ2V0RGVsYXkAAAAAAAAAAAoAAAAADGFtb3VudFRvR2l2ZQAAAAAAAAAAMgAAAAAHYXNzZXRJZAEAAAAg6KVqvMp3QvJwYTI1Sk9Fg7m5HuWZZxfDcerZC6EEresBAAAAD2dldEludGVnZXJCeUtleQAAAAEAAAADa2V5BAAAAAckbWF0Y2gwCQAEGgAAAAIFAAAABHRoaXMFAAAAA2tleQMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAADSW50BAAAAAFhBQAAAAckbWF0Y2gwBQAAAAFhBQAAAAZoZWlnaHQAAAABAAAAAWkBAAAAB2dldFNpZ24AAAAABAAAAAZjYWxsZXIJAAQlAAAAAQkBAAAAFGFkZHJlc3NGcm9tUHVibGljS2V5AAAAAQgFAAAAAWkAAAAPY2FsbGVyUHVibGljS2V5BAAAAAZjYW5HZXQJAQAAAA9nZXRJbnRlZ2VyQnlLZXkAAAABBQAAAAZjYWxsZXIDCQAAZwAAAAIJAABlAAAAAgUAAAAGaGVpZ2h0BQAAAAhnZXREZWxheQUAAAAGY2FuR2V0CQAETAAAAAIJAQAAAAxJbnRlZ2VyRW50cnkAAAACBQAAAAZjYWxsZXIFAAAABmhlaWdodAkABEwAAAACCQEAAAAOU2NyaXB0VHJhbnNmZXIAAAADCQEAAAAHQWRkcmVzcwAAAAEJAAJZAAAAAQUAAAAGY2FsbGVyBQAAAAxhbW91bnRUb0dpdmUFAAAAB2Fzc2V0SWQFAAAAA25pbAkAAAIAAAABAgAAAB1Zb3UgY2Fubm90IGdldCBTSUdOIHRva2VuIHlldAAAAAAoZR71", "height": 1281980, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: DbHFnDquk8DHDDB8qeNyPGMRrjYRCRypfrTCjggNhP6g Next: CzMmimDB2RzrHaTJEhXFTmCgc8oXRE5MesZvvAPvkGor Diff:
OldNewDifferences
33 {-# CONTENT_TYPE DAPP #-}
44 let getDelay = 10
55
6-let amountToGive = 5000000000
6+let amountToGive = 50
77
88 let assetId = base58'Gf9t8FA4H3ssoZPCwrg3KwUFCci8zuUFP9ssRsUY3s6a'
99
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 4 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let getDelay = 10
55
6-let amountToGive = 5000000000
6+let amountToGive = 50
77
88 let assetId = base58'Gf9t8FA4H3ssoZPCwrg3KwUFCci8zuUFP9ssRsUY3s6a'
99
1010 func getIntegerByKey (key) = match getInteger(this, key) {
1111 case a: Int =>
1212 a
1313 case _ =>
1414 height
1515 }
1616
1717
1818 @Callable(i)
1919 func getSign () = {
2020 let caller = toString(addressFromPublicKey(i.callerPublicKey))
2121 let canGet = getIntegerByKey(caller)
2222 if (((height - getDelay) >= canGet))
2323 then [IntegerEntry(caller, height), ScriptTransfer(Address(fromBase58String(caller)), amountToGive, assetId)]
2424 else throw("You cannot get SIGN token yet")
2525 }
2626
2727

github/deemru/w8io/169f3d6 
26.72 ms