tx · 4MXUCKxSuDrJvfNU2fG3tPitkWmKsnxSxzyuPsp38hy3
3Mzrr1qpGsDw2YT1bepkhjumMcinDvCKmox: -0.00100000 Waves
2022.09.07 15:36 [2218702] smart account 3Mzrr1qpGsDw2YT1bepkhjumMcinDvCKmox > SELF 0.00000000 Waves
{
"type": 13,
"id": "4MXUCKxSuDrJvfNU2fG3tPitkWmKsnxSxzyuPsp38hy3",
"fee": 100000,
"feeAssetId": null,
"timestamp": 1662554282358,
"version": 2,
"chainId": 84,
"sender": "3Mzrr1qpGsDw2YT1bepkhjumMcinDvCKmox",
"senderPublicKey": "BWo83B6PcQR1GizwpfpUWz4UZno6YMqeLBSnZeNDyr3h",
"proofs": [
"3YvV3f1CDcGZxsFFLyrXEnAJ5JtDhQ1Wz1Qk4VyMwjzTZdchhU9v7wAvwh5szS5fAsxYWqPJQzyhphUVEWrvTqTZ"
],
"script": "base64:AAIFAAAAAAAAAAYIAhIAEgAAAAADAAAAAARVU0ROAQAAACC2JinDBPXOU5GkDkt1JC9kjFGx+t+vVCm9SNIdKrKq0QAAAAALemVmdEFkZHJlc3MJAQAAAAdBZGRyZXNzAAAAAQEAAAAaAVRY2vGaOYstbjClKYntBJKB6k8Fq3GqdEwAAAAABldBVkVTMQIAAAAFV0FWRVMAAAACAAAAAWkBAAAABnVzZG5fMQAAAAAEAAAABWFkbWluAgAAACMzTXgxdVhIRWNFSFdZVUw4elJWOGRnVmFDVHJ3M0tkamc2WAMJAQAAAAIhPQAAAAIJAAQlAAAAAQgFAAAAAWkAAAAGY2FsbGVyBQAAAAVhZG1pbgkAAAIAAAABAgAAABFvbmx5IGFkbWluIGNhbiBkbwkABEwAAAACCQEAAAAOU2NyaXB0VHJhbnNmZXIAAAADBQAAAAt6ZWZ0QWRkcmVzcwAAAAAAAAAAAQUAAAAEVVNETgUAAAADbmlsAAAAAWkBAAAABnVzZG5fMwAAAAAEAAAABWFkbWluAgAAACMzTXgxdVhIRWNFSFdZVUw4elJWOGRnVmFDVHJ3M0tkamc2WAMJAQAAAAIhPQAAAAIJAAQlAAAAAQgFAAAAAWkAAAAGY2FsbGVyBQAAAAVhZG1pbgkAAAIAAAABAgAAABFvbmx5IGFkbWluIGNhbiBkbwkABEwAAAACCQEAAAAOU2NyaXB0VHJhbnNmZXIAAAADBQAAAAt6ZWZ0QWRkcmVzcwAAAAAAAAAAAgUAAAAEVVNETgUAAAADbmlsAAAAAOEG6ME=",
"height": 2218702,
"applicationStatus": "succeeded",
"spentComplexity": 0
}
View: original | compacted
Prev: BoVNzaLVrsHagdsAmdqigqEnGQR9K5JJ9227GXDMLjg7
Next: B6qtNYFvikDiwcbZdeSURTK1DWDSZmzts1oGb7nzytMW
Diff:
Old | New | | Differences |
---|
12 | 12 | | let admin = "3Mx1uXHEcEHWYUL8zRV8dgVaCTrw3Kdjg6X" |
---|
13 | 13 | | if ((toString(i.caller) != admin)) |
---|
14 | 14 | | then throw("only admin can do") |
---|
15 | | - | else nil |
---|
| 15 | + | else [ScriptTransfer(zeftAddress, 1, USDN)] |
---|
16 | 16 | | } |
---|
17 | 17 | | |
---|
18 | 18 | | |
---|
|
22 | 22 | | let admin = "3Mx1uXHEcEHWYUL8zRV8dgVaCTrw3Kdjg6X" |
---|
23 | 23 | | if ((toString(i.caller) != admin)) |
---|
24 | 24 | | then throw("only admin can do") |
---|
25 | | - | else nil |
---|
| 25 | + | else [ScriptTransfer(zeftAddress, 2, USDN)] |
---|
26 | 26 | | } |
---|
27 | 27 | | |
---|
28 | 28 | | |
---|
Full:
Old | New | | Differences |
---|
1 | 1 | | {-# STDLIB_VERSION 5 #-} |
---|
2 | 2 | | {-# SCRIPT_TYPE ACCOUNT #-} |
---|
3 | 3 | | {-# CONTENT_TYPE DAPP #-} |
---|
4 | 4 | | let USDN = base58'DG2xFkPdDwKUoBkzGAhQtLpSGzfXLiCYPEzeKH2Ad24p' |
---|
5 | 5 | | |
---|
6 | 6 | | let zeftAddress = Address(base58'3Mx1uXHEcEHWYUL8zRV8dgVaCTrw3Kdjg6X') |
---|
7 | 7 | | |
---|
8 | 8 | | let WAVES1 = "WAVES" |
---|
9 | 9 | | |
---|
10 | 10 | | @Callable(i) |
---|
11 | 11 | | func usdn_1 () = { |
---|
12 | 12 | | let admin = "3Mx1uXHEcEHWYUL8zRV8dgVaCTrw3Kdjg6X" |
---|
13 | 13 | | if ((toString(i.caller) != admin)) |
---|
14 | 14 | | then throw("only admin can do") |
---|
15 | | - | else nil |
---|
| 15 | + | else [ScriptTransfer(zeftAddress, 1, USDN)] |
---|
16 | 16 | | } |
---|
17 | 17 | | |
---|
18 | 18 | | |
---|
19 | 19 | | |
---|
20 | 20 | | @Callable(i) |
---|
21 | 21 | | func usdn_3 () = { |
---|
22 | 22 | | let admin = "3Mx1uXHEcEHWYUL8zRV8dgVaCTrw3Kdjg6X" |
---|
23 | 23 | | if ((toString(i.caller) != admin)) |
---|
24 | 24 | | then throw("only admin can do") |
---|
25 | | - | else nil |
---|
| 25 | + | else [ScriptTransfer(zeftAddress, 2, USDN)] |
---|
26 | 26 | | } |
---|
27 | 27 | | |
---|
28 | 28 | | |
---|