tx · 5ijiWB3tyj8R3Czx3rTftxfFFM8E66CXbS2n6AKZJoah
3MrFSfzFCoNgJNYrYyiTC8Ehc9KnSqVbseS: -0.01000000 Waves
2022.12.07 01:00 [2349060] smart account 3MrFSfzFCoNgJNYrYyiTC8Ehc9KnSqVbseS > SELF 0.00000000 Waves
{
"type": 13,
"id": "5ijiWB3tyj8R3Czx3rTftxfFFM8E66CXbS2n6AKZJoah",
"fee": 1000000,
"feeAssetId": null,
"timestamp": 1670364078481,
"version": 2,
"chainId": 84,
"sender": "3MrFSfzFCoNgJNYrYyiTC8Ehc9KnSqVbseS",
"senderPublicKey": "GkBH5h9ZmiCL2yKrkq4ZzbofEdZTaAMWN5B9kH66qMbU",
"proofs": [
"4WcKfKNxvodEVUhe6x2a3cQjHBvKC6TmbC5qx5eunLuNJNSppP9Y3VirmcX58ek667bQpKyGFr4EzJuFsbgNKpiX"
],
"script": "base64:AAIFAAAAAAAAAAQIAhIAAAAAAQAAAAAEVVNETgEAAAAgtiYpwwT1zlORpA5LdSQvZIxRsfrfr1QpvUjSHSqyqtEAAAABAAAAAWkBAAAAAXcAAAAABAAAAAckbWF0Y2gwCQAD/AAAAAQJAQAAABFAZXh0ck5hdGl2ZSgxMDYyKQAAAAECAAAAIzNQQ2J2UFZRZlN2VnU4OGlwOEZtNVlqd0poakVZazFUeGhrAgAAABV3aXRoZHJhd1Zlc3RlZEFsbFVTRE4JAARMAAAAAgcJAARMAAAAAgYFAAAAA25pbAUAAAADbmlsAwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAAANJbnQEAAAABmFtb3VudAUAAAAHJG1hdGNoMAkABEwAAAACCQEAAAAOU2NyaXB0VHJhbnNmZXIAAAADCQEAAAARQGV4dHJOYXRpdmUoMTA2MikAAAABAgAAACMzUEZGTE02OGZnc2pIcjZjcU15aGQ2UHpTRUF6cFAxS255agkAAGkAAAACBQAAAAZhbW91bnQAAAAAAAAAAAoFAAAABFVTRE4FAAAAA25pbAUAAAADbmlsAAAAAQAAAAJ0eAEAAAAGdmVyaWZ5AAAAAAkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAAIBQAAAAJ0eAAAAA9zZW5kZXJQdWJsaWNLZXnJwNNJ",
"height": 2349060,
"applicationStatus": "succeeded",
"spentComplexity": 0
}
View: original | compacted
Prev: C7r6WrkbVkQDw7AGBxkCnrmzwvTDfM99wS6uqrXKZqfk
Next: GVsHPGiwfjfCRZuzb9w3U9EKLyuAtN7cbpi5vdf1pRYR
Diff:
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 | | @Callable(i) |
---|
7 | | - | func fff () = { |
---|
8 | | - | let inv = invoke(addressFromStringValue("3MpcMQnVHFBgmyAdePudibCt3pzJYsEwkte"), "dapp", nil, nil) |
---|
9 | | - | if ((inv == inv)) |
---|
10 | | - | then nil |
---|
11 | | - | else throw("Strict value is not equal to itself.") |
---|
12 | | - | } |
---|
| 7 | + | func w () = match invoke(addressFromStringValue("3PCbvPVQfSvVu88ip8Fm5YjwJhjEYk1Txhk"), "withdrawVestedAllUSDN", [false, true], nil) { |
---|
| 8 | + | case amount: Int => |
---|
| 9 | + | [ScriptTransfer(addressFromStringValue("3PFFLM68fgsjHr6cqMyhd6PzSEAzpP1Knyj"), (amount / 10), USDN)] |
---|
| 10 | + | case _ => |
---|
| 11 | + | nil |
---|
| 12 | + | } |
---|
13 | 13 | | |
---|
14 | 14 | | |
---|
15 | 15 | | @Verifier(tx) |
---|
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 | | @Callable(i) |
---|
7 | | - | func fff () = { |
---|
8 | | - | let inv = invoke(addressFromStringValue("3MpcMQnVHFBgmyAdePudibCt3pzJYsEwkte"), "dapp", nil, nil) |
---|
9 | | - | if ((inv == inv)) |
---|
10 | | - | then nil |
---|
11 | | - | else throw("Strict value is not equal to itself.") |
---|
12 | | - | } |
---|
| 7 | + | func w () = match invoke(addressFromStringValue("3PCbvPVQfSvVu88ip8Fm5YjwJhjEYk1Txhk"), "withdrawVestedAllUSDN", [false, true], nil) { |
---|
| 8 | + | case amount: Int => |
---|
| 9 | + | [ScriptTransfer(addressFromStringValue("3PFFLM68fgsjHr6cqMyhd6PzSEAzpP1Knyj"), (amount / 10), USDN)] |
---|
| 10 | + | case _ => |
---|
| 11 | + | nil |
---|
| 12 | + | } |
---|
13 | 13 | | |
---|
14 | 14 | | |
---|
15 | 15 | | @Verifier(tx) |
---|
16 | 16 | | func verify () = sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey) |
---|
17 | 17 | | |
---|