tx · BtZmfEqa5isVS487P4cVNP1L4svRzfqAv7wTaAuXEEE4
3NCdyrMGZ5jfKPu79jjNiUejWRdQtEwKduD: -0.10000000 Waves
2021.02.01 12:08 [1378904] smart account 3NCdyrMGZ5jfKPu79jjNiUejWRdQtEwKduD > SELF 0.00000000 Waves
{
"type": 13,
"id": "BtZmfEqa5isVS487P4cVNP1L4svRzfqAv7wTaAuXEEE4",
"fee": 10000000,
"feeAssetId": null,
"timestamp": 1612170544580,
"version": 2,
"chainId": 84,
"sender": "3NCdyrMGZ5jfKPu79jjNiUejWRdQtEwKduD",
"senderPublicKey": "GHCcpQWhq3KPA8MHcLKffvcHoJFXk6bdo67cHXjbpKy1",
"proofs": [
"DmpfMMk68zdVDtsUcXaLonG2JMSi9kt6oc3NLTij5xVHJqfHyP4pBffPT4zjv5AofgBPGyMqwt6fznYHzTURq2S"
],
"script": "base64:AAIEAAAAAAAAAAQIAhIAAAAAAQEAAAAIZm9sZEZ1bmMAAAACAAAAA3N1bQAAAAFlAwkBAAAACWlzRGVmaW5lZAAAAAEIBQAAAAFlAAAAB2Fzc2V0SWQAAAAAAAAAAAAJAABkAAAAAgUAAAADc3VtCAUAAAABZQAAAAZhbW91bnQAAAABAAAAAWkBAAAABHN3YXAAAAAABAAAAANzdW0AAAAAAAAAAAAEAAAACmN1cnJlbnRLZXkJAAJYAAAAAQgIBQAAAAFpAAAABmNhbGxlcgAAAAVieXRlcwQAAAASeHh4SW52ZXN0b3JCYWxhbmNlCQABLAAAAAIJAAEsAAAAAgUAAAAKY3VycmVudEtleQIAAAABXwIAAAAHZGVwb3NpdAkABEwAAAACCQEAAAAMSW50ZWdlckVudHJ5AAAAAgUAAAASeHh4SW52ZXN0b3JCYWxhbmNlBQAAAANzdW0FAAAAA25pbAAAAAC4Ur7/",
"height": 1378904,
"applicationStatus": "succeeded",
"spentComplexity": 0
}
View: original | compacted
Prev: GasFi3X6X5kQXKBhwx1AK9GhsW7KYz5FitiWwXxDbAj4
Next: 2QkJx1ZTwpUzHKP57ZeG4ePXPNjVt1ew9KywbZHa7aYe
Full:
Old | New | | Differences |
---|
1 | 1 | | {-# STDLIB_VERSION 4 #-} |
---|
2 | 2 | | {-# SCRIPT_TYPE ACCOUNT #-} |
---|
3 | 3 | | {-# CONTENT_TYPE DAPP #-} |
---|
4 | 4 | | func foldFunc (sum,e) = if (isDefined(e.assetId)) |
---|
5 | 5 | | then 0 |
---|
6 | 6 | | else (sum + e.amount) |
---|
7 | 7 | | |
---|
8 | 8 | | |
---|
9 | 9 | | @Callable(i) |
---|
10 | 10 | | func swap () = { |
---|
11 | 11 | | let sum = 0 |
---|
12 | 12 | | let currentKey = toBase58String(i.caller.bytes) |
---|
13 | 13 | | let xxxInvestorBalance = ((currentKey + "_") + "deposit") |
---|
14 | 14 | | [IntegerEntry(xxxInvestorBalance, sum)] |
---|
15 | 15 | | } |
---|
16 | 16 | | |
---|
17 | 17 | | |
---|