tx · Fgdns7VYeydfBjZ8JHuqaXBmctWj4BrdVe5Kk6qh3oGE

3Mzp2SVcAMDBu3Q4aG4EtTQGTKRtpkSsGFy:  -0.01000000 Waves

2022.04.02 01:12 [1990106] smart account 3Mzp2SVcAMDBu3Q4aG4EtTQGTKRtpkSsGFy > SELF 0.00000000 Waves

{ "type": 13, "id": "Fgdns7VYeydfBjZ8JHuqaXBmctWj4BrdVe5Kk6qh3oGE", "fee": 1000000, "feeAssetId": null, "timestamp": 1648851163570, "version": 2, "chainId": 84, "sender": "3Mzp2SVcAMDBu3Q4aG4EtTQGTKRtpkSsGFy", "senderPublicKey": "9VSM67p8B4gEswZ5qFTRqzuBxkRT9kvkvTbRjDdwiAD2", "proofs": [ "2DzpNbN8uKVYEedqQs6KLnv1KEQNKyrVhhn22jfQD4WvNpWDa5w1YBx1YYHiBtsu3cJApHP7PLAmEamQ3JAb7kzV" ], "script": "base64:AAIFAAAAAAAAAAQIAhIAAAAABAAAAAAEdXNkTgEAAAAgD/IcEqzkxDya7EYaqyWosOy6BytGzG2IcvC14pJJAbQAAAAABnN0YWtlcgkBAAAAB0FkZHJlc3MAAAABAQAAABoBVDRN1hxurYPxlZgKuniaPP5OOF3+bmEyywAAAAAJbGVhc2VQb29sCQEAAAAHQWRkcmVzcwAAAAEBAAAAGgFUNE3WHG6tg/GVmAq6eJo8/k44Xf5uYTLLAAAAAApzaGFyZVRva2VuAQAAACAN1EdMdSgTCfvPg6qwJMmO22iRJQqRdvbLCj8IyZLdtgAAAAEAAAABaQEAAAAMYWRkTGlxdWlkaXR5AAAAAAMDCQEAAAACIT0AAAACCAkAAZEAAAACCAUAAAABaQAAAAhwYXltZW50cwAAAAAAAAAAAAAAAAdhc3NldElkBQAAAAR1bml0BgkBAAAAAiE9AAAAAggJAAGRAAAAAggFAAAAAWkAAAAIcGF5bWVudHMAAAAAAAAAAAEAAAAHYXNzZXRJZAUAAAAEdXNkTgkAAAIAAAABAgAAABF1bmV4cGVjdGVkIGFzc2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gkBAAAAC0xlYXNlQ2FuY2VsAAAAAQkAAlkAAAABBQAAAAJpZAUAAAADbmlsCQAETAAAAAIJAQAAAAtTdHJpbmdFbnRyeQAAAAIFAAAABWlkS2V5CQACWAAAAAEFAAAACm5ld0xlYXNlSWQFAAAAA25pbAkABE4AAAACBQAAAAZjYW5jZWwJAARMAAAAAgUAAAAIbmV3TGVhc2UJAARMAAAAAgkBAAAADlNjcmlwdFRyYW5zZmVyAAAAAwgFAAAAAWkAAAAGY2FsbGVyAAAAAAAAAAABBQAAAApzaGFyZVRva2VuCQAETAAAAAIJAQAAAAxJbnRlZ2VyRW50cnkAAAACBQAAAA5sZWFzZUFtb3VudEtleQkAAGQAAAACBQAAAAxsZWFzZWRBbW91bnQICQABkQAAAAIIBQAAAAFpAAAACHBheW1lbnRzAAAAAAAAAAAAAAAABmFtb3VudAkABEwAAAACCQEAAAAMSW50ZWdlckVudHJ5AAAAAgUAAAAQc3Rha2luZ0Ftb3VudEtleQUAAAANc3Rha2luZ0Ftb3VudAUAAAADbmlsCQAAAgAAAAECAAAAJFN0cmljdCB2YWx1ZSBpcyBub3QgZXF1YWwgdG8gaXRzZWxmLgAAAADTAQuC", "height": 1990106, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 8ndH7wAZbp4FoYmRaf9BZx6apDQCdSaZkGkMwynbjhiR Next: none Diff:
OldNewDifferences
55
66 let b = Address(base58'3MtgeA4XXgXJ8JUcFnX7U4X5GFzisbnoZcW')
77
8-let c = Address(base58'3Mzp2SVcAMDBu3Q4aG4EtTQGTKRtpkSsGFy')
8+let c = Address(base58'3MtgeA4XXgXJ8JUcFnX7U4X5GFzisbnoZcW')
99
1010 let d = base58'vz3LSXQhs64FAd77oURX16nhJuB8YYe5NLB2em8AC5j'
1111
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let a = base58'25FEqEjRkqK6yCkiT7Lz6SAYz7gUFCtxfCChnrVFD5AT'
55
66 let b = Address(base58'3MtgeA4XXgXJ8JUcFnX7U4X5GFzisbnoZcW')
77
8-let c = Address(base58'3Mzp2SVcAMDBu3Q4aG4EtTQGTKRtpkSsGFy')
8+let c = Address(base58'3MtgeA4XXgXJ8JUcFnX7U4X5GFzisbnoZcW')
99
1010 let d = base58'vz3LSXQhs64FAd77oURX16nhJuB8YYe5NLB2em8AC5j'
1111
1212 @Callable(e)
1313 func addLiquidity () = if (if ((e.payments[0].assetId != unit))
1414 then true
1515 else (e.payments[1].assetId != a))
1616 then throw("unexpected assets")
1717 else {
1818 let f = invoke(b, "stake", nil, [e.payments[1]])
1919 if ((f == f))
2020 then {
2121 let g = {
2222 let h = f
2323 if ($isInstanceOf(h, "Int"))
2424 then {
2525 let i = h
2626 i
2727 }
2828 else throw("unexpected result type from the staker")
2929 }
3030 let j = ("STAKING_AMOUNT_" + toString(e.caller))
3131 let k = ("LEASE_AMOUNT_" + toString(e.caller))
3232 let l = ("ID_" + toString(e.caller))
3333 let m = valueOrElse(getInteger(this, k), 0)
3434 let n = getString(this, l)
3535 let o = Lease(c, (m + e.payments[0].amount))
3636 let p = calculateLeaseId(o)
3737 let q = {
3838 let h = n
3939 if ($isInstanceOf(h, "String"))
4040 then {
4141 let r = h
4242 [LeaseCancel(fromBase58String(r))]
4343 }
4444 else [StringEntry(l, toBase58String(p))]
4545 }
4646 (q ++ [o, ScriptTransfer(e.caller, 1, d), IntegerEntry(k, (m + e.payments[0].amount)), IntegerEntry(j, g)])
4747 }
4848 else throw("Strict value is not equal to itself.")
4949 }
5050
5151

github/deemru/w8io/169f3d6 
30.39 ms