tx · FS3q5sRWRu8czYhAFKeeZuJMFGCwdRXHTSxLevybYx6z

3MtgeA4XXgXJ8JUcFnX7U4X5GFzisbnoZcW:  -0.01000000 Waves

2022.04.02 01:04 [1990100] smart account 3MtgeA4XXgXJ8JUcFnX7U4X5GFzisbnoZcW > SELF 0.00000000 Waves

{ "type": 13, "id": "FS3q5sRWRu8czYhAFKeeZuJMFGCwdRXHTSxLevybYx6z", "fee": 1000000, "feeAssetId": null, "timestamp": 1648850736916, "version": 2, "chainId": 84, "sender": "3MtgeA4XXgXJ8JUcFnX7U4X5GFzisbnoZcW", "senderPublicKey": "3JY9vAw1X3RjuU83Lkd7Yq6JhZPkbNeuXbuE2pyvEnB3", "proofs": [ "2Ei9iXzzFkPsBKfP8S77DfajZUxGPj8ZgpeYHBQ6hT1C31oqhwbxb8jf2rmCV16wZEzSdceDe4NuWB6RJp7kXmRE" ], "script": "base64:AAIFAAAAAAAAAAQIAhIAAAAAAQAAAAAEdXNkTgEAAAAgD/IcEqzkxDya7EYaqyWosOy6BytGzG2IcvC14pJJAbQAAAABAAAAAWkBAAAABXN0YWtlAAAAAAMJAQAAAAIhPQAAAAIICQABkQAAAAIIBQAAAAFpAAAACHBheW1lbnRzAAAAAAAAAAAAAAAAB2Fzc2V0SWQFAAAABHVzZE4JAAACAAAAAQIAAAAQdW5leHBlY3RlZCBhc3NldAQAAAAQY3VycmVudExpcXVpZGl0eQkBAAAAC3ZhbHVlT3JFbHNlAAAAAgkABBoAAAACBQAAAAR0aGlzCQAEJQAAAAEIBQAAAAFpAAAADG9yaWdpbkNhbGxlcgAAAAAAAAAAAAQAAAAMbmV3TGlxdWlkaXR5CQAAZAAAAAIFAAAAEGN1cnJlbnRMaXF1aWRpdHkICQABkQAAAAIIBQAAAAFpAAAACHBheW1lbnRzAAAAAAAAAAAAAAAABmFtb3VudAkABRQAAAACCQAETAAAAAIJAQAAAAxJbnRlZ2VyRW50cnkAAAACCQAEJQAAAAEIBQAAAAFpAAAADG9yaWdpbkNhbGxlcgUAAAAMbmV3TGlxdWlkaXR5BQAAAANuaWwFAAAADG5ld0xpcXVpZGl0eQAAAABXtF8K", "height": 1990100, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: CNm6PsJGTfca5VHvPPmyuy2paPBc7xcd9JDMCT5M9ZBs Next: none Full:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let usdN = base58'25FEqEjRkqK6yCkiT7Lz6SAYz7gUFCtxfCChnrVFD5AT'
55
66 @Callable(i)
77 func stake () = if ((i.payments[0].assetId != usdN))
88 then throw("unexpected asset")
99 else {
1010 let currentLiquidity = valueOrElse(getInteger(this, toString(i.originCaller)), 0)
1111 let newLiquidity = (currentLiquidity + i.payments[0].amount)
1212 $Tuple2([IntegerEntry(toString(i.originCaller), newLiquidity)], newLiquidity)
1313 }
1414
1515

github/deemru/w8io/169f3d6 
23.78 ms