tx · GCHhQrtDjJEJmJJgqvWxWEUAJSy2MbE64gSj83XjXEu

3Mx1uXHEcEHWYUL8zRV8dgVaCTrw3Kdjg6X:  -0.01000000 Waves

2022.05.22 16:09 [2062924] smart account 3Mx1uXHEcEHWYUL8zRV8dgVaCTrw3Kdjg6X > SELF 0.00000000 Waves

{ "type": 13, "id": "GCHhQrtDjJEJmJJgqvWxWEUAJSy2MbE64gSj83XjXEu", "fee": 1000000, "feeAssetId": null, "timestamp": 1653225048131, "version": 2, "chainId": 84, "sender": "3Mx1uXHEcEHWYUL8zRV8dgVaCTrw3Kdjg6X", "senderPublicKey": "7DRdJkCr5JgAyJLsUMLziE9ikak86Nwx7wG7iBySTcfT", "proofs": [ "6NLkTKEg4W32T8KsMCkuUAfac68Hq2DDvFyNcunaX7WUC5gPi39C2XxE8onekMgJMNHoJUYB4KNr9wyxF9UXwYA" ], "script": "base64:AAIFAAAAAAAAAAQIAhIAAAAAAAAAAAEAAAABaQEAAAAEY2FsbAAAAAAEAAAABWFzc2V0CQAEQwAAAAcCAAAABUFzc2V0AgAAAAAAAAAAAAAAAAEAAAAAAAAAAAAGBQAAAAR1bml0AAAAAAAAAAAABAAAAAdhc3NldElkCQAEOAAAAAEFAAAABWFzc2V0CQAETAAAAAIJAQAAAAtCaW5hcnlFbnRyeQAAAAICAAAAA2JpbgEAAAAACQAETAAAAAIJAQAAAAxCb29sZWFuRW50cnkAAAACAgAAAARib29sBgkABEwAAAACCQEAAAAMSW50ZWdlckVudHJ5AAAAAgIAAAADaW50AAAAAAAAAAABCQAETAAAAAIJAQAAAAtTdHJpbmdFbnRyeQAAAAICAAAAA3N0cgIAAAAACQAETAAAAAIJAQAAAAtEZWxldGVFbnRyeQAAAAECAAAAA3N0cgkABEwAAAACBQAAAAVhc3NldAkABEwAAAACCQEAAAAHUmVpc3N1ZQAAAAMFAAAAB2Fzc2V0SWQAAAAAAAAAAAEHCQAETAAAAAIJAQAAAARCdXJuAAAAAgUAAAAHYXNzZXRJZAAAAAAAAAAAAQkABEwAAAACCQEAAAAOU2NyaXB0VHJhbnNmZXIAAAADCAUAAAABaQAAAAZjYWxsZXIAAAAAAAAAAAEFAAAAB2Fzc2V0SWQFAAAAA25pbAAAAAEAAAACdHgBAAAABnZlcmlmeQAAAAAJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAAACAUAAAACdHgAAAAPc2VuZGVyUHVibGljS2V5ZN0QxA==", "height": 2062924, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 67GxVqiLcUg6CknBzSoouHXS3xwhoNYkcu1MMiw7K9WF Next: DY74j9BVUCveYgmtLRQgWHPZHpFe7n7zbw5yMNMdZFab Full:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
4-let viresMainAddress = base58'3PAZv9tgK1PX7dKR7b4kchq5qdpUS3G5sYT'
54
6-let USDN = base58'DG2xFkPdDwKUoBkzGAhQtLpSGzfXLiCYPEzeKH2Ad24p'
7-
8-let USDT = base58'34N9YcEETLWn93qYQ64EsP1x89tSruJU44RrEMSXXEPJ'
9-
10-let USDC = base58'6XtHjpXbs9RRJP2Sr9GUyVqzACcby9TkThHXnjVC5CDJ'
115
126 @Callable(i)
13-func usdn_1000 (amount) = {
14- let admin = "3Mx1uXHEcEHWYUL8zRV8dgVaCTrw3Kdjg6X"
15- if ((toString(i.caller) != admin))
16- then throw("only admin can do")
17- else {
18- let inv = invoke(Address(viresMainAddress), "withdraw", [toBase58String(USDN), amount], nil)
19- if ((inv == inv))
20- then nil
21- else throw("Strict value is not equal to itself.")
22- }
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)]
2311 }
2412
2513
26-
27-@Callable(i)
28-func usdt_1000 (amount) = {
29- let admin = "3Mx1uXHEcEHWYUL8zRV8dgVaCTrw3Kdjg6X"
30- if ((toString(i.caller) != admin))
31- then throw("only admin can do")
32- else {
33- let inv = invoke(Address(viresMainAddress), "withdraw", [toBase58String(USDT), amount], nil)
34- if ((inv == inv))
35- then nil
36- else throw("Strict value is not equal to itself.")
37- }
38- }
39-
40-
41-
42-@Callable(i)
43-func usdc_1000 (amount) = {
44- let admin = "3Mx1uXHEcEHWYUL8zRV8dgVaCTrw3Kdjg6X"
45- if ((toString(i.caller) != admin))
46- then throw("only admin can do")
47- else {
48- let inv = invoke(Address(viresMainAddress), "withdraw", [toBase58String(USDC), amount], nil)
49- if ((inv == inv))
50- then nil
51- else throw("Strict value is not equal to itself.")
52- }
53- }
54-
14+@Verifier(tx)
15+func verify () = sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey)
5516

github/deemru/w8io/026f985 
25.75 ms