tx · HWUK4APAeFbTJMwCUmNiGqYcVej4nbQrmEMyeAkTS46S

3N8dYK8BQhY7z1yKFRFhdw4m9b4JjsNQJVd:  -0.01400000 Waves

2023.04.10 13:01 [2528332] smart account 3N8dYK8BQhY7z1yKFRFhdw4m9b4JjsNQJVd > SELF 0.00000000 Waves

{ "type": 13, "id": "HWUK4APAeFbTJMwCUmNiGqYcVej4nbQrmEMyeAkTS46S", "fee": 1400000, "feeAssetId": null, "timestamp": 1681120957884, "version": 2, "chainId": 84, "sender": "3N8dYK8BQhY7z1yKFRFhdw4m9b4JjsNQJVd", "senderPublicKey": "AK6rRKpHobxNveEtJE5BBXbdwm9BpGL7ewP9Xb6VYuHx", "proofs": [ "4cHMYRFfENRXpe3M8EqeDZgKD9hB5YxJ45Z6JAnyYBZD4buDFhfLGE2umCUUqvQWHzqj6MymMdeAQG2aqLpcxH4v" ], "script": "base64:AAIEAAAAAAAAABMIAhIFCgMIAQESAwoBARIDCgEIAAAACQAAAAADQTRBAQAAACAIZYS3D/CKahrz4mjoLgiQJMPTJ1gDzSz2Ll4L39oVpAAAAAAOQTRBU3Rha2luZ0RBcHAJAQAAABFAZXh0ck5hdGl2ZSgxMDYyKQAAAAECAAAAIzNONm9XTHlRWTJnTTdRVWtVdkJtZTFSRW5BNmQxVjd5M0FUAAAAACJ2b3RpbmdfdGltZXN0YW1wX2NvbnRyb2xsZXJfcHVia2V5AQAAACAbvUu+h+2As3kugOhMQC3bvgebie3kDmlbUlrvLFQPbQAAAAASY29udHJvbGxlcl9hZGRyZXNzCQEAAAAUYWRkcmVzc0Zyb21QdWJsaWNLZXkAAAABBQAAACJ2b3RpbmdfdGltZXN0YW1wX2NvbnRyb2xsZXJfcHVia2V5AAAAAAxsYXVuY2hfZXJyb3ICAAAAJERhcHAgd2lsbCBzdGFydCBWb3RpbmcgYXQgVGltZXN0YW1wIAAAAAADbXNnAgAAAC48aDE+WW91ciBWb3RlIFN1Ym1pdHRlZCBTdWNjZXNzZnVsbHkhP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AASwAAAACBQAAAAxsYXVuY2hfZXJyb3IJAAGkAAAAAQUAAAAHU3RhcnRUUwMJAABmAAAAAggFAAAACWxhc3RCbG9jawAAAAl0aW1lc3RhbXAFAAAABUVuZFRTCQAAAgAAAAEFAAAAB3ZvdGVFcnIJAARMAAAAAgkBAAAADEludGVnZXJFbnRyeQAAAAIJAAEsAAAAAgIAAAAMVG90YWxfVm90ZXNfCQABpAAAAAEFAAAAC1BvcnBvc2FsX0lEBQAAAAp0b3RhbHZvdGVzCQAETAAAAAIJAQAAAAxJbnRlZ2VyRW50cnkAAAACCQABLAAAAAIJAAEsAAAAAgkAASwAAAACAgAAAAZUb3RhbF8FAAAAB1ZvdGVBc3QCAAAAAV8JAAGkAAAAAQUAAAALUG9ycG9zYWxfSUQFAAAABEFUVk8JAARMAAAAAgkBAAAAC1N0cmluZ0VudHJ5AAAAAgIAAAAHbWVzc2FnZQUAAAADbXNnBQAAAANuaWwAAAABaQEAAAAJRGVsZXRlS2V5AAAAAQAAAANLZXkJAARMAAAAAgkBAAAAC0RlbGV0ZUVudHJ5AAAAAQUAAAADS2V5BQAAAANuaWwAAAABAAAAAnR4AQAAAAZ2ZXJpZnkAAAAACQAB9AAAAAMIBQAAAAJ0eAAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAnR4AAAABnByb29mcwAAAAAAAAAAAAgFAAAAAnR4AAAAD3NlbmRlclB1YmxpY0tleQUtWFc=", "height": 2528332, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: ATLveBnJXgkyG6c8ZeqVgspFYYJCunFf7WenbCmQWVU2 Next: HmRviMS5VcsoU9Y4EB5oBaYvDjnrAjMmx8K8xA8pV31v Diff:
OldNewDifferences
8383 func DeleteKey (B) = [DeleteEntry(B)]
8484
8585
86-
87-@Callable(j)
88-func EnterKey (B) = [IntegerEntry(("Deposit_Amount_Of_" + B), 7700000000)]
89-
90-
9186 @Verifier(C)
9287 func D () = sigVerify(C.bodyBytes, C.proofs[0], C.senderPublicKey)
9388
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 4 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let a = base58'Zn3cLHW7aAVPm5aACcTjvg7e7iEy2cKDtbowok5qa9H'
55
66 let b = addressFromStringValue("3N6oWLyQY2gM7QUkUvBme1REnA6d1V7y3AT")
77
88 let c = base58'2sHRUrJCMpDhAQEcN7Zhk3LqnD9zizebpxeQXpPoscQU'
99
1010 let d = addressFromPublicKey(c)
1111
1212 let e = "Dapp will start Voting at Timestamp "
1313
1414 let f = "<h1>Your Vote Submitted Successfully!</h1><br>"
1515
1616 let g = "DApp Need 0.00000001 A4A Token as Attach payment[1]."
1717
1818 let h = (("Incorrect asset attach, please attach " + toBase58String(a)) + " AssetID Only.")
1919
2020 let i = "Voting is Over for this Dapp."
2121
2222 @Callable(j)
2323 func SetVotingTimeStamps (k,l,m) = {
2424 let n = l
2525 let o = m
2626 let p = toBase58String(j.caller.bytes)
2727 let q = {
2828 let r = getInteger(this, "Total_Proposals")
2929 if ($isInstanceOf(r, "Int"))
3030 then {
3131 let s = r
3232 s
3333 }
3434 else 0
3535 }
3636 let t = (q + 1)
3737 if ((size(k) > 5100))
3838 then throw("Subject Char Limits are Over. Reduce length less than 5100 Char.")
3939 else if ((j.caller != d))
4040 then throw((("This Address is not Authorized. Only " + toString(d)) + " is Authorized Address to Sign it."))
4141 else [StringEntry(("Proposal_Text_" + toString(t)), k), IntegerEntry("Total_Proposals", t), StringEntry(("Proposer_" + toString(t)), p), IntegerEntry(("Voting_Start_TimeStamp_" + toString(t)), n), IntegerEntry(("Voting_End_TimeStamp_" + toString(t)), o)]
4242 }
4343
4444
4545
4646 @Callable(j)
4747 func Yes (u) = {
4848 let v = "Yes"
4949 let n = getIntegerValue(this, ("Voting_Start_TimeStamp_" + toString(u)))
5050 let o = getIntegerValue(this, ("Voting_End_TimeStamp_" + toString(u)))
5151 let p = toBase58String(j.caller.bytes)
5252 let w = valueOrErrorMessage(getInteger(b, ("Deposit_Amount_Of_" + p)), "Address not found in A4A Staking.")
5353 let x = {
5454 let r = getInteger(this, ("Total_Votes_" + toString(u)))
5555 if ($isInstanceOf(r, "Int"))
5656 then {
5757 let s = r
5858 s
5959 }
6060 else 0
6161 }
6262 let y = (x + w)
6363 let z = {
6464 let r = getInteger(this, ((("Total_" + v) + "_") + toString(u)))
6565 if ($isInstanceOf(r, "Int"))
6666 then {
6767 let s = r
6868 s
6969 }
7070 else 0
7171 }
7272 let A = (z + w)
7373 if ((n > lastBlock.timestamp))
7474 then throw((e + toString(n)))
7575 else if ((lastBlock.timestamp > o))
7676 then throw(i)
7777 else [IntegerEntry(("Total_Votes_" + toString(u)), y), IntegerEntry(((("Total_" + v) + "_") + toString(u)), A), StringEntry("message", f)]
7878 }
7979
8080
8181
8282 @Callable(j)
8383 func DeleteKey (B) = [DeleteEntry(B)]
8484
8585
86-
87-@Callable(j)
88-func EnterKey (B) = [IntegerEntry(("Deposit_Amount_Of_" + B), 7700000000)]
89-
90-
9186 @Verifier(C)
9287 func D () = sigVerify(C.bodyBytes, C.proofs[0], C.senderPublicKey)
9388

github/deemru/w8io/026f985 
32.04 ms