tx · 242yXdr7Dd2gQjt9GTC3YmnicndSjytMz3QJtmq31NAb
3NALuRny5Acq5BMprT38vKW9ZwM61A2qpaF: -0.01000000 Waves
2022.11.21 18:51 [2327079] smart account 3NALuRny5Acq5BMprT38vKW9ZwM61A2qpaF > SELF 0.00000000 Waves
{
"type": 13,
"id": "242yXdr7Dd2gQjt9GTC3YmnicndSjytMz3QJtmq31NAb",
"fee": 1000000,
"feeAssetId": null,
"timestamp": 1669045926638,
"version": 2,
"chainId": 84,
"sender": "3NALuRny5Acq5BMprT38vKW9ZwM61A2qpaF",
"senderPublicKey": "HksWDR6oiSmenStMkzoLQryEpvXTVfN84yNPLAx3oZeM",
"proofs": [
"2bvJLwVxyFiDcmF3fR1hURZeps8UJhmzu3RUmad5Kcm5BM7oAhtnXDYs11cVz1jEeRTTak8CBZqcwBRjf1v6LRUW"
],
"script": "base64:BgIHCAISAwoBAQMABFVTRE4BILYmKcME9c5TkaQOS3UkL2SMUbH6369UKb1I0h0qsqrRAAxhZG1pbkFkZHJlc3MJAQdBZGRyZXNzAQEaAVTAwzv2fqPdYitfgRofccDz68bLgsbCJTYAC3plZnRBZGRyZXNzCQEHQWRkcmVzcwEBGgFXbzqFfFF8HEJnS7j6bl/S88SZ3WHnKFgLAQFpAQh1c2RuXzEwMAEGYW1vdW50AwkBAiE9AggFAWkMb3JpZ2luQ2FsbGVyBQxhZG1pbkFkZHJlc3MJAAIBAhFvbmx5IGFkbWluIGNhbiBkbwQRdXNkbkFtb3VudE9uU3RhcnQJAPAHAgUEdGhpcwUEVVNETgMJAAACBRF1c2RuQW1vdW50T25TdGFydAURdXNkbkFtb3VudE9uU3RhcnQEA2ludgkA/AcECQERQGV4dHJOYXRpdmUoMTA2MikBAiMzUENidlBWUWZTdlZ1ODhpcDhGbTVZandKaGpFWWsxVHhoawIVd2l0aGRyYXdWZXN0ZWRBbGxVU0ROCQDMCAIHCQDMCAIGBQNuaWwFA25pbAMJAAACBQNpbnYFA2ludgQXdXNkbkFtb3VudEFmdGVyV2l0aGRyYXcJAPAHAgUEdGhpcwUEVVNETgMJAAACBRd1c2RuQW1vdW50QWZ0ZXJXaXRoZHJhdwUXdXNkbkFtb3VudEFmdGVyV2l0aGRyYXcJAMwIAgkBDlNjcmlwdFRyYW5zZmVyAwULemVmdEFkZHJlc3MJAGUCBRd1c2RuQW1vdW50QWZ0ZXJXaXRoZHJhdwURdXNkbkFtb3VudE9uU3RhcnQFBFVTRE4FA25pbAkAAgECJFN0cmljdCB2YWx1ZSBpcyBub3QgZXF1YWwgdG8gaXRzZWxmLgkAAgECJFN0cmljdCB2YWx1ZSBpcyBub3QgZXF1YWwgdG8gaXRzZWxmLgkAAgECJFN0cmljdCB2YWx1ZSBpcyBub3QgZXF1YWwgdG8gaXRzZWxmLgDiNsxl",
"height": 2327079,
"applicationStatus": "succeeded",
"spentComplexity": 0
}
View: original | compacted
Prev: BepdQDC2x9uNXGDzZm7S2bhGD7PRU9icF6zAjbVJ5Dfk
Next: HmgRPKpRPniBeZAF9uhExAPyEu9zG145LxTUfDEh9dZo
Diff:
Old | New | | Differences |
---|
8 | 8 | | let c = Address(base58'3PC51qgNQz4xx7m1DhLdCDYESaeNKT6zeFt') |
---|
9 | 9 | | |
---|
10 | 10 | | @Callable(d) |
---|
11 | | - | func usdn_100 () = if ((d.originCaller != b)) |
---|
| 11 | + | func usdn_100 (e) = if ((d.originCaller != b)) |
---|
12 | 12 | | then throw("only admin can do") |
---|
13 | 13 | | else { |
---|
14 | | - | let e = assetBalance(this, a) |
---|
15 | | - | if ((e == e)) |
---|
| 14 | + | let f = assetBalance(this, a) |
---|
| 15 | + | if ((f == f)) |
---|
16 | 16 | | then { |
---|
17 | | - | let f = invoke(addressFromStringValue("3PCbvPVQfSvVu88ip8Fm5YjwJhjEYk1Txhk"), "withdrawVestedAllUSDN", [false, true], nil) |
---|
18 | | - | if ((f == f)) |
---|
| 17 | + | let g = invoke(addressFromStringValue("3PCbvPVQfSvVu88ip8Fm5YjwJhjEYk1Txhk"), "withdrawVestedAllUSDN", [false, true], nil) |
---|
| 18 | + | if ((g == g)) |
---|
19 | 19 | | then { |
---|
20 | | - | let g = assetBalance(this, a) |
---|
21 | | - | if ((g == g)) |
---|
22 | | - | then [ScriptTransfer(c, (g - e), a)] |
---|
| 20 | + | let h = assetBalance(this, a) |
---|
| 21 | + | if ((h == h)) |
---|
| 22 | + | then [ScriptTransfer(c, (h - f), a)] |
---|
23 | 23 | | else throw("Strict value is not equal to itself.") |
---|
24 | 24 | | } |
---|
25 | 25 | | else throw("Strict value is not equal to itself.") |
---|
Full:
Old | New | | Differences |
---|
1 | 1 | | {-# STDLIB_VERSION 6 #-} |
---|
2 | 2 | | {-# SCRIPT_TYPE ACCOUNT #-} |
---|
3 | 3 | | {-# CONTENT_TYPE DAPP #-} |
---|
4 | 4 | | let a = base58'DG2xFkPdDwKUoBkzGAhQtLpSGzfXLiCYPEzeKH2Ad24p' |
---|
5 | 5 | | |
---|
6 | 6 | | let b = Address(base58'3N7VKPs54T4gvm16XkQeReqxCAWUZZz5V81') |
---|
7 | 7 | | |
---|
8 | 8 | | let c = Address(base58'3PC51qgNQz4xx7m1DhLdCDYESaeNKT6zeFt') |
---|
9 | 9 | | |
---|
10 | 10 | | @Callable(d) |
---|
11 | | - | func usdn_100 () = if ((d.originCaller != b)) |
---|
| 11 | + | func usdn_100 (e) = if ((d.originCaller != b)) |
---|
12 | 12 | | then throw("only admin can do") |
---|
13 | 13 | | else { |
---|
14 | | - | let e = assetBalance(this, a) |
---|
15 | | - | if ((e == e)) |
---|
| 14 | + | let f = assetBalance(this, a) |
---|
| 15 | + | if ((f == f)) |
---|
16 | 16 | | then { |
---|
17 | | - | let f = invoke(addressFromStringValue("3PCbvPVQfSvVu88ip8Fm5YjwJhjEYk1Txhk"), "withdrawVestedAllUSDN", [false, true], nil) |
---|
18 | | - | if ((f == f)) |
---|
| 17 | + | let g = invoke(addressFromStringValue("3PCbvPVQfSvVu88ip8Fm5YjwJhjEYk1Txhk"), "withdrawVestedAllUSDN", [false, true], nil) |
---|
| 18 | + | if ((g == g)) |
---|
19 | 19 | | then { |
---|
20 | | - | let g = assetBalance(this, a) |
---|
21 | | - | if ((g == g)) |
---|
22 | | - | then [ScriptTransfer(c, (g - e), a)] |
---|
| 20 | + | let h = assetBalance(this, a) |
---|
| 21 | + | if ((h == h)) |
---|
| 22 | + | then [ScriptTransfer(c, (h - f), a)] |
---|
23 | 23 | | else throw("Strict value is not equal to itself.") |
---|
24 | 24 | | } |
---|
25 | 25 | | else throw("Strict value is not equal to itself.") |
---|
26 | 26 | | } |
---|
27 | 27 | | else throw("Strict value is not equal to itself.") |
---|
28 | 28 | | } |
---|
29 | 29 | | |
---|
30 | 30 | | |
---|