tx · 2cyKJLZ7QzGrcy6TH7audFFp4jZmhysghRjUmkzaD4vD

3Mvo86GH3NdYW1XXd6h6YpGFef5Y5WNVYgM:  -0.01000000 Waves

2022.12.18 12:01 [2365521] smart account 3Mvo86GH3NdYW1XXd6h6YpGFef5Y5WNVYgM > SELF 0.00000000 Waves

{ "type": 13, "id": "2cyKJLZ7QzGrcy6TH7audFFp4jZmhysghRjUmkzaD4vD", "fee": 1000000, "feeAssetId": null, "timestamp": 1671354112257, "version": 2, "chainId": 84, "sender": "3Mvo86GH3NdYW1XXd6h6YpGFef5Y5WNVYgM", "senderPublicKey": "DMcGSn1q8tXBVvg5TjaKdDNMc3KsLRYq29aGzqgvSqYg", "proofs": [ "1jtwzYCahDEJwZxhMTZ2udyZcTuDe1niR4B7VF5d4guXLVEpJ2DXGofPAJgiwVH4hbUuo8L8cTgokzDrj8NVT4g" ], "script": "base64:BgIICAISBAoCBAQEAApVU0ROX0FTU0VUASC2JinDBPXOU5GkDkt1JC9kjFGx+t+vVCm9SNIdKrKq0QALdmVzdGluZ0RhcHAJAQdBZGRyZXNzAQEaAVd1Et2Tgg9b3iV2FTnLSdUfUygJxOhxXicADGFkbWluQWRkcmVzcwkBB0FkZHJlc3MBARoBVJwtgVoLOERUBKbZW3uNtfjyO3mkWlr0FgADZmVlAA8BAWkBAnZmAgV3aGFsZQdyZWd1bGFyAwkBAiE9AggFAWkGY2FsbGVyBQxhZG1pbkFkZHJlc3MJAAIBAhJvbmx5IGFkbWluIGFsbG93ZWQDCQAAAgkAmggCBQR0aGlzAgZjYWxsZWQAFAkAAgECDnJlYWNoIDIwIGxpbWl0CQDMCAIJAQxJbnRlZ2VyRW50cnkCAgZjYWxsZWQJAGQCCQELdmFsdWVPckVsc2UCCQCfCAECBmNhbGxlZAAAAAEFA25pbADrA+yP", "height": 2365521, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 8y7XM9fPD8eobPeY6RkEuepbpB1TKoAdrsgTwj2VysPV Next: FVxAmZYooMkzWFFj1okyHiYr8bbGfPtpxD9Cdc31TLWg Diff:
OldNewDifferences
1212 @Callable(i)
1313 func vf (whale,regular) = if ((i.caller != adminAddress))
1414 then throw("only admin allowed")
15- else [IntegerEntry("called", (valueOrElse(getInteger("called"), 0) + 1))]
15+ else if ((getInteger(this, "called") == 20))
16+ then throw("reach 20 limit")
17+ else [IntegerEntry("called", (valueOrElse(getInteger("called"), 0) + 1))]
1618
1719
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 6 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let USDN_ASSET = base58'DG2xFkPdDwKUoBkzGAhQtLpSGzfXLiCYPEzeKH2Ad24p'
55
66 let vestingDapp = Address(base58'3PCbvPVQfSvVu88ip8Fm5YjwJhjEYk1Txhk')
77
88 let adminAddress = Address(base58'3N49shcErzZepEy7HDR1fjAce8humpL7QiH')
99
1010 let fee = 15
1111
1212 @Callable(i)
1313 func vf (whale,regular) = if ((i.caller != adminAddress))
1414 then throw("only admin allowed")
15- else [IntegerEntry("called", (valueOrElse(getInteger("called"), 0) + 1))]
15+ else if ((getInteger(this, "called") == 20))
16+ then throw("reach 20 limit")
17+ else [IntegerEntry("called", (valueOrElse(getInteger("called"), 0) + 1))]
1618
1719

github/deemru/w8io/169f3d6 
45.20 ms