tx · BpMNzPvQvozPE4ELHZ4426TArJfRPRjUDbn8vLykZfpu

3Mvo86GH3NdYW1XXd6h6YpGFef5Y5WNVYgM:  -0.01000000 Waves

2022.12.14 14:58 [2359953] smart account 3Mvo86GH3NdYW1XXd6h6YpGFef5Y5WNVYgM > SELF 0.00000000 Waves

{ "type": 13, "id": "BpMNzPvQvozPE4ELHZ4426TArJfRPRjUDbn8vLykZfpu", "fee": 1000000, "feeAssetId": null, "timestamp": 1671019107151, "version": 2, "chainId": 84, "sender": "3Mvo86GH3NdYW1XXd6h6YpGFef5Y5WNVYgM", "senderPublicKey": "DMcGSn1q8tXBVvg5TjaKdDNMc3KsLRYq29aGzqgvSqYg", "proofs": [ "5V58JpoDRc1aGykUeagkoErkKLUwtRzEA32KwUfbFhUmbnBFUuuw7vXEmJKyfFHErFfaT5YgpdSNzSqF19tCQpbC" ], "script": "base64:BgIICAISBAoCBAQEAApVU0ROX0FTU0VUASC2JinDBPXOU5GkDkt1JC9kjFGx+t+vVCm9SNIdKrKq0QALdmVzdGluZ0RhcHAJAQdBZGRyZXNzAQEaAVd1Et2Tgg9b3iV2FTnLSdUfUygJxOhxXicADGFkbWluQWRkcmVzcwkBB0FkZHJlc3MBARoBVJwtgVoLOERUBKbZW3uNtfjyO3mkWlr0FgADZmVlAA8BAWkBAnZmAgV3aGFsZQdyZWd1bGFyAwkBAiE9AggFAWkGY2FsbGVyBQxhZG1pbkFkZHJlc3MJAAIBAhJvbmx5IGFkbWluIGFsbG93ZWQDCQAAAgkAmggCBQR0aGlzAgZjYWxsZWQACgkAAgECDnJlYWNoIDEwIGxpbWl0CQDMCAIJAQxJbnRlZ2VyRW50cnkCAgZjYWxsZWQJAGQCCQELdmFsdWVPckVsc2UCCQCfCAECBmNhbGxlZAAAAAEFA25pbAA4mo/T", "height": 2359953, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: FovAwo5GVA8rPHtB5QxNKzxmwf7nzTVpNGVjcwx2nUfH Next: 8y7XM9fPD8eobPeY6RkEuepbpB1TKoAdrsgTwj2VysPV 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") == 10))
16+ then throw("reach 10 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") == 10))
16+ then throw("reach 10 limit")
17+ else [IntegerEntry("called", (valueOrElse(getInteger("called"), 0) + 1))]
1618
1719

github/deemru/w8io/169f3d6 
25.80 ms