tx · 5oPxT4McgmavbAGNGDBygzw9qq8V8KLgEcVpJb8Equ3m 3N2sti8sAvV7haGoDhq7hJZP2izFXqjJbLd: -0.01000000 Waves 2023.06.01 14:02 [2603502] smart account 3N2sti8sAvV7haGoDhq7hJZP2izFXqjJbLd > SELF 0.00000000 Waves
{ "type": 13, "id": "5oPxT4McgmavbAGNGDBygzw9qq8V8KLgEcVpJb8Equ3m", "fee": 1000000, "feeAssetId": null, "timestamp": 1685617494332, "version": 2, "chainId": 84, "sender": "3N2sti8sAvV7haGoDhq7hJZP2izFXqjJbLd", "senderPublicKey": "H6AD1jFLBQhAMmEhb7sYbpjG7DXeqFw3BxfJXkUGhac5", "proofs": [ "43GxNeRJisADv5PZGdmAQszFt3op63CK2x3z93BwtAtGDjM7uBydNdL3mT7pe89bo6GTR2V6GYsBCsXtbe1fYmFn" ], "script": "base64:BgIICAISBAoCAQEAAQFpAQt3aXRoZHJhd09sZAILcGxhdGZvcm1GZWUGYW1vdW50BAVvd25lcgEaAVTtUtIUU1Fri0FIWpfzmBNloogPBC0pwfQEBXRlYW1zASCFY5Wj84iOsN4MF44ITr+aP5K7Jts66HaOFtwUIipIfgMJAQIhPQIICAUBaQZjYWxsZXIFYnl0ZXMFBW93bmVyCQACAQIZc29ycnkgIHlvdSBoYXZlIG5vIGFjY2VzcwMDCQBnAgULcGxhdGZvcm1GZWUAAAkAZwIFC3BsYXRmb3JtRmVlBQZhbW91bnQHCQDMCAIJAQ5TY3JpcHRUcmFuc2ZlcgMIBQFpBmNhbGxlcgkAaAIFBmFtb3VudABkBQV0ZWFtcwUDbmlsBQNuaWwBAnR4AQZ2ZXJpZnkABAckbWF0Y2gwBQJ0eAMJAAECBQckbWF0Y2gwAhRTZXRTY3JpcHRUcmFuc2FjdGlvbgQLc2V0U2NyaXB0VHgFByRtYXRjaDAGB6zHfT0=", "height": 2603502, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: Bm8zogQDaWbV6e7uHXVKGLRKBdQJ2b7xXUqcVHeH1mbe Next: AiFtJz8Re9jV4onBHE5vma8cWUAwgfG4xWTZmW3DHKP Full:
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 6 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | ||
5 | 5 | ||
6 | 6 | @Callable(i) | |
7 | 7 | func withdrawOld (platformFee,amount) = { | |
8 | 8 | let owner = base58'3NBYw8rxLmTvyEdsvaYor8nHG6GJ4NjB2Aw' | |
9 | 9 | let teams = base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq' | |
10 | 10 | if ((i.caller.bytes != owner)) | |
11 | 11 | then throw("sorry you have no access") | |
12 | 12 | else if (if ((platformFee >= 0)) | |
13 | 13 | then (platformFee >= amount) | |
14 | 14 | else false) | |
15 | 15 | then [ScriptTransfer(i.caller, (amount * 100), teams)] | |
16 | 16 | else nil | |
17 | 17 | } | |
18 | 18 | ||
19 | 19 | ||
20 | 20 | @Verifier(tx) | |
21 | 21 | func verify () = match tx { | |
22 | 22 | case setScriptTx: SetScriptTransaction => | |
23 | 23 | true | |
24 | 24 | case _ => | |
25 | 25 | false | |
26 | 26 | } | |
27 | 27 |
github/deemru/w8io/169f3d6 21.91 ms ◑