tx · EYPuTzVKFbDZnjmmKS2yakGPUrJuaYE3ivSgqVV9Ew6S
3MzgyEtobayWZYbsQxkigU45aXV8Qh1ECbH: -0.01000000 Waves
2022.11.22 07:08 [2327833] smart account 3MzgyEtobayWZYbsQxkigU45aXV8Qh1ECbH > SELF 0.00000000 Waves
{
"type": 13,
"id": "EYPuTzVKFbDZnjmmKS2yakGPUrJuaYE3ivSgqVV9Ew6S",
"fee": 1000000,
"feeAssetId": null,
"timestamp": 1669090123469,
"version": 2,
"chainId": 84,
"sender": "3MzgyEtobayWZYbsQxkigU45aXV8Qh1ECbH",
"senderPublicKey": "2XVhSQQjncvK97kX8CZG8ixEMyQGmr6GgqakRWLavhAW",
"proofs": [
"5DNQigbFfwHUJeA8piHQk34U26b3pHnpzMoWjLxpvzH4nbhyV541PeZyui3V5meNxtMU5cZwHXAGrRC2WSzgW4Hf"
],
"script": "base64:BgIECAISAAEADGFkbWluQWRkcmVzcwkBB0FkZHJlc3MBARoBVHTlYqd9gHBtbfoqUL1tjfEPfTBoDiaIzwEBaQEEdXNkbgADCQECIT0CCAUBaQxvcmlnaW5DYWxsZXIFDGFkbWluQWRkcmVzcwkAAgECEW9ubHkgYWRtaW4gY2FuIGRvBAFyCQD8BwQJAQdBZGRyZXNzAQEaAVRkNZJhglnuCemAadN6n8MD8IRz5oJvrmACBGNhbGwFA25pbAUDbmlsAwkAAAIFAXIFAXIFA25pbAkAAgECJFN0cmljdCB2YWx1ZSBpcyBub3QgZXF1YWwgdG8gaXRzZWxmLgBnZsBV",
"height": 2327833,
"applicationStatus": "succeeded",
"spentComplexity": 0
}
View: original | compacted
Prev: none
Next: none
Full:
Old | New | | Differences |
---|
1 | | - | # no script |
---|
| 1 | + | {-# STDLIB_VERSION 6 #-} |
---|
| 2 | + | {-# SCRIPT_TYPE ACCOUNT #-} |
---|
| 3 | + | {-# CONTENT_TYPE DAPP #-} |
---|
| 4 | + | let adminAddress = Address(base58'3MzaAx9WzjszXssYq9YgBiBFYBK8eQMP3SE') |
---|
| 5 | + | |
---|
| 6 | + | @Callable(i) |
---|
| 7 | + | func usdn () = if ((i.originCaller != adminAddress)) |
---|
| 8 | + | then throw("only admin can do") |
---|
| 9 | + | else { |
---|
| 10 | + | let r = invoke(Address(base58'3My3wXLXhZc6VwgRqseHbyLBAp5NkaLHzSb'), "call", nil, nil) |
---|
| 11 | + | if ((r == r)) |
---|
| 12 | + | then nil |
---|
| 13 | + | else throw("Strict value is not equal to itself.") |
---|
| 14 | + | } |
---|
| 15 | + | |
---|
| 16 | + | |
---|