tx · 3nasqn7RGPAXZqkspngogUjPLujXRXZ1xATGe5ZbeGsH

3N8dYK8BQhY7z1yKFRFhdw4m9b4JjsNQJVd:  -0.01400000 Waves

2023.04.14 09:39 [2533862] smart account 3N8dYK8BQhY7z1yKFRFhdw4m9b4JjsNQJVd > SELF 0.00000000 Waves

{ "type": 13, "id": "3nasqn7RGPAXZqkspngogUjPLujXRXZ1xATGe5ZbeGsH", "fee": 1400000, "feeAssetId": null, "timestamp": 1681454436055, "version": 2, "chainId": 84, "sender": "3N8dYK8BQhY7z1yKFRFhdw4m9b4JjsNQJVd", "senderPublicKey": "AK6rRKpHobxNveEtJE5BBXbdwm9BpGL7ewP9Xb6VYuHx", "proofs": [ "35NB45VnC2HmDDeTn3NfdQoEdUAiRtze1detQd7NTG6vCmxELrSWGxgP1Eof3A88atdvkSe92gfttQuBbrFRyNyh" ], "script": "base64:AAIEAAAAAAAAABMIAhIFCgMIAQESAwoBARIDCgEBAAAABwAAAAAOQTRBU3Rha2luZ0RBcHAJAQAAABFAZXh0ck5hdGl2ZSgxMDYyKQAAAAECAAAAIzNONm9XTHlRWTJnTTdRVWtVdkJtZTFSRW5BNmQxVjd5M0FUAAAAACJ2b3RpbmdfdGltZXN0YW1wX2NvbnRyb2xsZXJfcHVia2V5AQAAACA7dEXxvlA55FKxmI42AI6/6uJD1h8gECoNXRixDQRDDAAAAAASY29udHJvbGxlcl9hZGRyZXNzCQEAAAAUYWRkcmVzc0Zyb21QdWJsaWNLZXkAAAABBQAAACJ2b3RpbmdfdGltZXN0YW1wX2NvbnRyb2xsZXJfcHVia2V5AAAAAAxsYXVuY2hfZXJyb3ICAAAAJERhcHAgd2lsbCBzdGFydCBWb3RpbmcgYXQgVGltZXN0YW1wIAAAAAADbXNnAgAAAC48aDE+WW91ciBWb3RlIFN1Ym1pdHRlZCBTdWNjZXNzZnVsbHkhPC9oMT48YnI+AAAAABFBbHJlYWR5Vm90ZWRFcnJvcgIAAAA+VGhpcyBBZGRyZXNzIEFsc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AAQkAASwAAAACBQAAAAxsYXVuY2hfZXJyb3IJAAGkAAAAAQUAAAAHU3RhcnRUUwMJAABmAAAAAggFAAAACWxhc3RCbG9jawAAAAl0aW1lc3RhbXAFAAAABUVuZFRTCQAAAgAAAAEFAAAAB3ZvdGVFcnIDCQAAZgAAAAIFAAAAGExhdGVzdFVzZXJDb3VudGZvclZvdGluZwAAAAAAAAAAAQkAAAIAAAABBQAAABFBbHJlYWR5Vm90ZWRFcnJvcgkABEwAAAACCQEAAAAMSW50ZWdlckVudHJ5AAAAAgkAASwAAAACAgAAAAxUb3RhbF9Wb3Rlc18JAAGkAAAAAQUAAAALUG9ycG9zYWxfSUQFAAAACnRvdGFsdm90ZXMJAARMAAAAAgkBAAAADEludGVnZXJFbnRyeQAAAAIJAAEsAAAAAgkAASwAAAACCQABLAAAAAICAAAABlRvdGFsXwUAAAAHVm90ZUFzdAIAAAABXwkAAaQAAAABBQAAAAtQb3Jwb3NhbF9JRAUAAAAEQVRWTwkABEwAAAACCQEAAAAMSW50ZWdlckVudHJ5AAAAAgkAASwAAAACCQABLAAAAAIFAAAABnB1YmtleQIAAAABXwkAAaQAAAABBQAAAAtQb3Jwb3NhbF9JRAUAAAAYTGF0ZXN0VXNlckNvdW50Zm9yVm90aW5nCQAETAAAAAIJAQAAAAtTdHJpbmdFbnRyeQAAAAICAAAAB21lc3NhZ2UFAAAAA21zZwUAAAADbmlsAAAAAQAAAAJ0eAEAAAAGdmVyaWZ5AAAAAAkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAAIBQAAAAJ0eAAAAA9zZW5kZXJQdWJsaWNLZXlQVZdu", "height": 2533862, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 2A1DiTScbqRTCoFi8jhpDmVFr8Af87zhr2GpDohLPMG9 Next: 6PcfjjqZvaPU6iWQULv17q4S5FYA7MVNtibaSFt1kmCz Diff:
OldNewDifferences
11 {-# STDLIB_VERSION 4 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
4-let a = addressFromStringValue("3JviWhscNmUduEjTYLBYoPnrf4c8yegPi3P")
4+let a = addressFromStringValue("3N6oWLyQY2gM7QUkUvBme1REnA6d1V7y3AT")
55
66 let b = base58'515tSAyMUbAb8kKjcpGDpqALGfCgcwfWmWKKkcBKTcGB'
77
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 4 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
4-let a = addressFromStringValue("3JviWhscNmUduEjTYLBYoPnrf4c8yegPi3P")
4+let a = addressFromStringValue("3N6oWLyQY2gM7QUkUvBme1REnA6d1V7y3AT")
55
66 let b = base58'515tSAyMUbAb8kKjcpGDpqALGfCgcwfWmWKKkcBKTcGB'
77
88 let c = addressFromPublicKey(b)
99
1010 let d = "Dapp will start Voting at Timestamp "
1111
1212 let e = "<h1>Your Vote Submitted Successfully!</h1><br>"
1313
1414 let f = "This Address Already participated for Voting in this Proposal."
1515
1616 let g = "Voting is Over for this Dapp."
1717
1818 @Callable(h)
1919 func SetVotingTimeStamps (i,j,k) = {
2020 let l = j
2121 let m = k
2222 let n = getIntegerValue(a, "Staked_Amount")
2323 let o = fraction(n, 1, 3)
2424 let p = toBase58String(h.caller.bytes)
2525 let q = {
2626 let r = getInteger(this, "Total_Proposals")
2727 if ($isInstanceOf(r, "Int"))
2828 then {
2929 let s = r
3030 s
3131 }
3232 else 0
3333 }
3434 let t = (q + 1)
3535 if ((size(i) > 5100))
3636 then throw("Subject Char Limits are Over. Reduce length less than 5100 Char.")
3737 else if ((h.caller != c))
3838 then throw((("This Address is not Authorized. Only " + toString(c)) + " is Authorized Address to Sign it."))
3939 else [StringEntry(("Proposal_Text_" + toString(t)), i), IntegerEntry("Total_Proposals", t), StringEntry(("Proposer_" + toString(t)), p), IntegerEntry(("Voting_Start_TimeStamp_" + toString(t)), l), IntegerEntry(("Voting_End_TimeStamp_" + toString(t)), m), IntegerEntry(("Quorum_" + toString(t)), o), IntegerEntry(("Total_Votes_" + toString(t)), 0), IntegerEntry(("Total_No_" + toString(t)), 0), IntegerEntry(("Total_Yes_" + toString(t)), 0)]
4040 }
4141
4242
4343
4444 @Callable(h)
4545 func Yes (u) = {
4646 let v = "Yes"
4747 let l = getIntegerValue(this, ("Voting_Start_TimeStamp_" + toString(u)))
4848 let m = getIntegerValue(this, ("Voting_End_TimeStamp_" + toString(u)))
4949 let p = toBase58String(h.caller.bytes)
5050 let w = valueOrErrorMessage(getInteger(a, ("Deposit_Amount_Of_" + p)), "Address not found in A4A Staking.")
5151 let x = {
5252 let r = getInteger(this, ("Total_Votes_" + toString(u)))
5353 if ($isInstanceOf(r, "Int"))
5454 then {
5555 let s = r
5656 s
5757 }
5858 else 0
5959 }
6060 let y = (x + w)
6161 let z = {
6262 let r = getInteger(this, ((("Total_" + v) + "_") + toString(u)))
6363 if ($isInstanceOf(r, "Int"))
6464 then {
6565 let s = r
6666 s
6767 }
6868 else 0
6969 }
7070 let A = (z + w)
7171 let B = {
7272 let r = getInteger(this, ((p + "_") + toString(u)))
7373 if ($isInstanceOf(r, "Int"))
7474 then {
7575 let s = r
7676 s
7777 }
7878 else 0
7979 }
8080 let C = (B + 1)
8181 if ((l > lastBlock.timestamp))
8282 then throw((d + toString(l)))
8383 else if ((lastBlock.timestamp > m))
8484 then throw(g)
8585 else if ((C > 1))
8686 then throw(f)
8787 else [IntegerEntry(("Total_Votes_" + toString(u)), y), IntegerEntry(((("Total_" + v) + "_") + toString(u)), A), IntegerEntry(((p + "_") + toString(u)), C), StringEntry("message", e)]
8888 }
8989
9090
9191
9292 @Callable(h)
9393 func No (u) = {
9494 let v = "No"
9595 let l = getIntegerValue(this, ("Voting_Start_TimeStamp_" + toString(u)))
9696 let m = getIntegerValue(this, ("Voting_End_TimeStamp_" + toString(u)))
9797 let p = toBase58String(h.caller.bytes)
9898 let w = valueOrErrorMessage(getInteger(a, ("Deposit_Amount_Of_" + p)), "Address not found in A4A Staking.")
9999 let x = {
100100 let r = getInteger(this, ("Total_Votes_" + toString(u)))
101101 if ($isInstanceOf(r, "Int"))
102102 then {
103103 let s = r
104104 s
105105 }
106106 else 0
107107 }
108108 let y = (x + w)
109109 let z = {
110110 let r = getInteger(this, ((("Total_" + v) + "_") + toString(u)))
111111 if ($isInstanceOf(r, "Int"))
112112 then {
113113 let s = r
114114 s
115115 }
116116 else 0
117117 }
118118 let A = (z + w)
119119 let B = {
120120 let r = getInteger(this, ((p + "_") + toString(u)))
121121 if ($isInstanceOf(r, "Int"))
122122 then {
123123 let s = r
124124 s
125125 }
126126 else 0
127127 }
128128 let C = (B + 1)
129129 if ((l > lastBlock.timestamp))
130130 then throw((d + toString(l)))
131131 else if ((lastBlock.timestamp > m))
132132 then throw(g)
133133 else if ((C > 1))
134134 then throw(f)
135135 else [IntegerEntry(("Total_Votes_" + toString(u)), y), IntegerEntry(((("Total_" + v) + "_") + toString(u)), A), IntegerEntry(((p + "_") + toString(u)), C), StringEntry("message", e)]
136136 }
137137
138138
139139 @Verifier(D)
140140 func E () = sigVerify(D.bodyBytes, D.proofs[0], D.senderPublicKey)
141141

github/deemru/w8io/169f3d6 
38.03 ms