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:
OldNewDifferences
11 {-# STDLIB_VERSION 6 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44
55
66 @Callable(i)
77 func withdrawOld (platformFee,amount) = {
88 let owner = base58'3NBYw8rxLmTvyEdsvaYor8nHG6GJ4NjB2Aw'
99 let teams = base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq'
1010 if ((i.caller.bytes != owner))
1111 then throw("sorry you have no access")
1212 else if (if ((platformFee >= 0))
1313 then (platformFee >= amount)
1414 else false)
1515 then [ScriptTransfer(i.caller, (amount * 100), teams)]
1616 else nil
1717 }
1818
1919
2020 @Verifier(tx)
2121 func verify () = match tx {
2222 case setScriptTx: SetScriptTransaction =>
2323 true
2424 case _ =>
2525 false
2626 }
2727

github/deemru/w8io/169f3d6 
21.91 ms