tx · 9VwQCqaxsh9PbPXK8YrAvtQDLYhHtVQkW6i36To86eo1
3Mvo86GH3NdYW1XXd6h6YpGFef5Y5WNVYgM: -0.01000000 Waves
2022.12.18 12:42 [2365558] smart account 3Mvo86GH3NdYW1XXd6h6YpGFef5Y5WNVYgM > SELF 0.00000000 Waves
{
"type": 13,
"id": "9VwQCqaxsh9PbPXK8YrAvtQDLYhHtVQkW6i36To86eo1",
"fee": 1000000,
"feeAssetId": null,
"timestamp": 1671356436612,
"version": 2,
"chainId": 84,
"sender": "3Mvo86GH3NdYW1XXd6h6YpGFef5Y5WNVYgM",
"senderPublicKey": "DMcGSn1q8tXBVvg5TjaKdDNMc3KsLRYq29aGzqgvSqYg",
"proofs": [
"5oQZcXYq8d436GNFQN2FenG2vSCD7LtqqybXDnUpzcMbmMe8BXGPrYvGQyR3C2V97pd4B11EVtKiuMjNbZooqeQ4"
],
"script": "base64:BgIICAISBAoCBAQEAApVU0ROX0FTU0VUASC2JinDBPXOU5GkDkt1JC9kjFGx+t+vVCm9SNIdKrKq0QALdmVzdGluZ0RhcHAJAQdBZGRyZXNzAQEaAVd1Et2Tgg9b3iV2FTnLSdUfUygJxOhxXicADGFkbWluQWRkcmVzcwkBB0FkZHJlc3MBARoBVJwtgVoLOERUBKbZW3uNtfjyO3mkWlr0FgADZmVlAA8BAWkBAnZmAgV3aGFsZQdyZWd1bGFyAwkBAiE9AggFAWkGY2FsbGVyBQxhZG1pbkFkZHJlc3MJAAIBAhJvbmx5IGFkbWluIGFsbG93ZWQDCQAAAgkAmggCBQR0aGlzAgZjYWxsZWQAyAEJAAIBAg9yZWFjaCAyMDAgbGltaXQJAJQKAgkAzAgCCQEMSW50ZWdlckVudHJ5AgIGY2FsbGVkCQBkAgkBC3ZhbHVlT3JFbHNlAgkAnwgBAgZjYWxsZWQAAAABBQNuaWwAAQCj/9sE",
"height": 2365558,
"applicationStatus": "succeeded",
"spentComplexity": 0
}
View: original | compacted
Prev: CMLhE5paXZ9pVeoCMzqUSThfAhXq4x8TvJ4y2RbrKW4h
Next: 4p7Kx798nFdjhHBuZCc64Lyude336zqDYARgTd2MkYXc
Diff:
Old | New | | Differences |
---|
14 | 14 | | then throw("only admin allowed") |
---|
15 | 15 | | else if ((getInteger(this, "called") == 200)) |
---|
16 | 16 | | then throw("reach 200 limit") |
---|
17 | | - | else [IntegerEntry("called", (valueOrElse(getInteger("called"), 0) + 1))] |
---|
| 17 | + | else $Tuple2([IntegerEntry("called", (valueOrElse(getInteger("called"), 0) + 1))], 1) |
---|
18 | 18 | | |
---|
19 | 19 | | |
---|
Full:
Old | New | | Differences |
---|
1 | 1 | | {-# STDLIB_VERSION 6 #-} |
---|
2 | 2 | | {-# SCRIPT_TYPE ACCOUNT #-} |
---|
3 | 3 | | {-# CONTENT_TYPE DAPP #-} |
---|
4 | 4 | | let USDN_ASSET = base58'DG2xFkPdDwKUoBkzGAhQtLpSGzfXLiCYPEzeKH2Ad24p' |
---|
5 | 5 | | |
---|
6 | 6 | | let vestingDapp = Address(base58'3PCbvPVQfSvVu88ip8Fm5YjwJhjEYk1Txhk') |
---|
7 | 7 | | |
---|
8 | 8 | | let adminAddress = Address(base58'3N49shcErzZepEy7HDR1fjAce8humpL7QiH') |
---|
9 | 9 | | |
---|
10 | 10 | | let fee = 15 |
---|
11 | 11 | | |
---|
12 | 12 | | @Callable(i) |
---|
13 | 13 | | func vf (whale,regular) = if ((i.caller != adminAddress)) |
---|
14 | 14 | | then throw("only admin allowed") |
---|
15 | 15 | | else if ((getInteger(this, "called") == 200)) |
---|
16 | 16 | | then throw("reach 200 limit") |
---|
17 | | - | else [IntegerEntry("called", (valueOrElse(getInteger("called"), 0) + 1))] |
---|
| 17 | + | else $Tuple2([IntegerEntry("called", (valueOrElse(getInteger("called"), 0) + 1))], 1) |
---|
18 | 18 | | |
---|
19 | 19 | | |
---|