tx · DY74j9BVUCveYgmtLRQgWHPZHpFe7n7zbw5yMNMdZFab 3Mx1uXHEcEHWYUL8zRV8dgVaCTrw3Kdjg6X: -0.00500000 Waves 2022.09.07 13:54 [2218591] smart account 3Mx1uXHEcEHWYUL8zRV8dgVaCTrw3Kdjg6X > SELF 0.00000000 Waves
{ "type": 13, "id": "DY74j9BVUCveYgmtLRQgWHPZHpFe7n7zbw5yMNMdZFab", "fee": 500000, "feeAssetId": null, "timestamp": 1662548055141, "version": 2, "chainId": 84, "sender": "3Mx1uXHEcEHWYUL8zRV8dgVaCTrw3Kdjg6X", "senderPublicKey": "7DRdJkCr5JgAyJLsUMLziE9ikak86Nwx7wG7iBySTcfT", "proofs": [ "3FNBDSjjoNpZxHiN79NknMHUtmx977qWdV3WWBBudJ9mfDFDWJpezaDzrQ2JRymAikkSdtTNQdzfFvAbA5TQgXix" ], "script": "base64:AAIFAAAAAAAAAAcIAhIDCgEIAAAAAgAAAAAEVVNETgEAAAAgtiYpwwT1zlORpA5LdSQvZIxRsfrfr1QpvUjSHSqyqtEAAAAAC3plZnRBZGRyZXNzCQEAAAAHQWRkcmVzcwAAAAEBAAAAGgFUWNrxmjmLLW4wpSmJ7QSSgepPBatxqnRMAAAAAQAAAAFpAQAAAAZjYWxsXzEAAAABAAAACW15YWRkcmVzcwQAAAAFYWRtaW4CAAAAIzNNeDF1WEhFY0VIV1lVTDh6UlY4ZGdWYUNUcnczS2RqZzZYAwkBAAAAAiE9AAAAAgkABCUAAAABCAUAAAABaQAAAAZjYWxsZXIFAAAABWFkbWluCQAAAgAAAAECAAAAEW9ubHkgYWRtaW4gY2FuIGRvBAAAAAZyZXN1bHQJAAP9AAAABAkBAAAAEUBleHRyTmF0aXZlKDEwNjIpAAAAAQUAAAAJbXlhZGRyZXNzAgAAAAh1c2RuXzEwMAUAAAADbmlsBQAAAANuaWwDCQAAAAAAAAIFAAAABnJlc3VsdAUAAAAGcmVzdWx0CQAAAgAAAAECAAAAB3N1Y2Nlc3MJAAACAAAAAQIAAAAkU3RyaWN0IHZhbHVlIGlzIG5vdCBlcXVhbCB0byBpdHNlbGYuAAAAABlSWbM=", "height": 2218591, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: GCHhQrtDjJEJmJJgqvWxWEUAJSy2MbE64gSj83XjXEu Next: FNuJqXh2Pgc1eYbGgUJzsfypjRw1Cg8VaozRcCwfu4QC Full:
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 5 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | + | let USDN = base58'DG2xFkPdDwKUoBkzGAhQtLpSGzfXLiCYPEzeKH2Ad24p' | |
4 | 5 | ||
6 | + | let zeftAddress = Address(base58'3Mx1uXHEcEHWYUL8zRV8dgVaCTrw3Kdjg6X') | |
5 | 7 | ||
6 | 8 | @Callable(i) | |
7 | - | func call () = { | |
8 | - | let asset = Issue("Asset", "", 1, 0, true, unit, 0) | |
9 | - | let assetId = calculateAssetId(asset) | |
10 | - | [BinaryEntry("bin", base58''), BooleanEntry("bool", true), IntegerEntry("int", 1), StringEntry("str", ""), DeleteEntry("str"), asset, Reissue(assetId, 1, false), Burn(assetId, 1), ScriptTransfer(i.caller, 1, assetId)] | |
9 | + | func call_1 (myaddress) = { | |
10 | + | let admin = "3Mx1uXHEcEHWYUL8zRV8dgVaCTrw3Kdjg6X" | |
11 | + | if ((toString(i.caller) != admin)) | |
12 | + | then throw("only admin can do") | |
13 | + | else { | |
14 | + | let result = reentrantInvoke(addressFromStringValue(myaddress), "usdn_100", nil, nil) | |
15 | + | if ((result == result)) | |
16 | + | then throw("success") | |
17 | + | else throw("Strict value is not equal to itself.") | |
18 | + | } | |
11 | 19 | } | |
12 | 20 | ||
13 | - | ||
14 | - | @Verifier(tx) | |
15 | - | func verify () = sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey) | |
16 | 21 |
github/deemru/w8io/169f3d6 23.40 ms ◑