tx · 8mehkE9NGUtWP9t9ci1m3j51ARuLJasaRxdxLP2ZqvFL

3N4ynz2uyA7cErymQd46zgwVJEEfXYDRXtA:  -0.01200000 Waves

2023.08.02 08:17 [2692520] smart account 3N4ynz2uyA7cErymQd46zgwVJEEfXYDRXtA > SELF 0.00000000 Waves

{ "type": 13, "id": "8mehkE9NGUtWP9t9ci1m3j51ARuLJasaRxdxLP2ZqvFL", "fee": 1200000, "feeAssetId": null, "timestamp": 1690953479505, "version": 2, "chainId": 84, "sender": "3N4ynz2uyA7cErymQd46zgwVJEEfXYDRXtA", "senderPublicKey": "CiRX9ubobzbD36ZwTyuBFiPnPkmzMQ7GDsF3hMoVbcVR", "proofs": [ "EaZYZbwED6Ev8aowHwuWE2g4xxVeDfDBrFsKJQKTCXPGB2sPxT4TCAKqTc2AaE7MKXb1R86MosPRxDWRwZdEAP4" ], "script": "base64:AAIEAAAAAAAAAAsIAhIHCgUBAQEBAQAAAAoAAAAAI3ByZXNhbGVfdGltZXN0YW1wX2NvbnRyb2xsZXJfcHVia2V5AQAAACD/YYispMq/mHQM33D1xq9HZgUL+GXxbpAIz7QxreuRQAAAAAASY29udHJvbGxlcl9hZGRyZXNzCQEAAAAUYWRkcmVzc0Zyb21QdWJsaWNLZXkAAAABBQAAACNwcmVzYWxlX3RpbWVzdGFtcF9jb250cm9sbGVyX3B1YmtleQAAAAAMbGF1bmNoX2Vycm9yAgAAACZEYXBwIHdpbGwgc3RhcnQgUHJlLVNhbGUgYXQgVGltZXN0YW1wIAAAAAADbXNnAgAAADQ8aDE+WW91IFRyYW5zYWN0aW9uIFN1Ym1pdHRlZCBTdWNjZXNzZnVsbHkhPC9oMT48YnI+AAAAAAlweW10ZXJyb3ICAAAAL0RBcHAgTmVlZCAwLjEgV0FWRVMgVG9rZW4gYXMgQXR0YWNoIHBheW1lbnRbMV0uAAAAAAd0c2Vycm9yAgAAADBFbmQgVGltZXN0YW1wIGNhbid0IGJlIGxlc3MgdGhhbiBTdGFydCBUaW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AFRW5kVFMJAARMAAAAAgkBAAAADEludGVnZXJFbnRyeQAAAAIJAAEsAAAAAgkAAaQAAAABBQAAAA1jdXJyZW50X3JvdW5kAgAAAAxfVG9rZW5fUHJpY2UFAAAAC1Rva2VuX1ByaWNlCQAETAAAAAIJAQAAAAxJbnRlZ2VyRW50cnkAAAACCQABLAAAAAIJAAGkAAAAAQUAAAANY3VycmVudF9yb3VuZAIAAAAQX1NvZnRfQ2FwX0Ftb3VudAUAAAAPU29mdF9DYXBfQW1vdW50CQAETAAAAAIJAQAAAAxJbnRlZ2VyRW50cnkAAAACCQABLAAAAAIJAAGkAAAAAQUAAAANY3VycmVudF9yb3VuZAIAAAAPSGFyZF9DYXBfQW1vdW50BQAAAA9IYXJkX0NhcF9BbW91bnQFAAAAA25pbAAAAAEAAAACdHgBAAAABnZlcmlmeQAAAAAJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAAACAUAAAACdHgAAAAPc2VuZGVyUHVibGljS2V502zDgg==", "height": 2692520, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: CDBF7rrjp8YsqXy7TAFxyuVcF4x5LoTG8oprfDrJts6b Next: AwH6b9RNAsMW6U5HGFKZX3f653Nawo5244dZeZYxm9RW Diff:
OldNewDifferences
1111
1212 let e = "DApp Need 0.1 WAVES Token as Attach payment[1]."
1313
14-let f = "Soft Cap can't be more than Hard Cap."
14+let f = "End Timestamp can't be less than Start Timestamp"
1515
16-let g = "Min. 0.1 WAVES required on Your Address, Please hold min. 0.1 WAVES on your Address."
16+let g = "Soft Cap can't be more than Hard Cap."
1717
18-let h = "Incorrect asset attach, please attach WAVES Only."
18+let h = "Min. 0.1 WAVES required on Your Address, Please hold min. 0.1 WAVES on your Address."
1919
20-let i = "Pre-Sale Round is over for this Dapp."
20+let i = "Incorrect asset attach, please attach WAVES Only."
2121
22-@Callable(j)
23-func SetPreSaleParameters (k,l,m,n,o) = {
24- let p = k
22+let j = "Pre-Sale Round is over for this Dapp."
23+
24+@Callable(k)
25+func SetPreSaleParameters (l,m,n,o,p) = {
2526 let q = l
26- let r = {
27- let s = getInteger(this, "Current_Funding_Round")
28- if ($isInstanceOf(s, "Int"))
27+ let r = m
28+ let s = {
29+ let t = getInteger(this, "Current_Funding_Round")
30+ if ($isInstanceOf(t, "Int"))
2931 then {
30- let t = s
31- t
32+ let u = t
33+ u
3234 }
3335 else 0
3436 }
35- let u = (r + 1)
36- if ((j.caller != b))
37+ let v = (s + 1)
38+ if ((k.caller != b))
3739 then throw((("This Address is not Authorized. Only " + toString(b)) + " is Authorized Address to Sign it."))
38- else if ((n > o))
39- then throw(g)
40- else [IntegerEntry((toString(u) + "_Presale_Start_TimeStamp"), p), IntegerEntry((toString(u) + "_Presale_End_TimeStamp"), q), IntegerEntry((toString(u) + "_Token_Price"), m), IntegerEntry((toString(u) + "_Soft_Cap_Amount"), n), IntegerEntry((toString(u) + "Hard_Cap_Amount"), o)]
40+ else if ((r > q))
41+ then throw(f)
42+ else if ((o > p))
43+ then throw(g)
44+ else if ((size(toString(l)) != 13))
45+ then throw("Start Timestamp is Wrong. Please Enter a Valid Timestamp. Probably you entered an Timestamp less than 13 Chars.")
46+ else if ((size(toString(m)) != 13))
47+ then throw("End Timestamp is Wrong. Please Enter a Valid Timestamp. Probably you entered an Timestamp less than 13 Chars.")
48+ else [IntegerEntry((toString(v) + "_Presale_Start_TimeStamp"), q), IntegerEntry((toString(v) + "_Presale_End_TimeStamp"), r), IntegerEntry((toString(v) + "_Token_Price"), n), IntegerEntry((toString(v) + "_Soft_Cap_Amount"), o), IntegerEntry((toString(v) + "Hard_Cap_Amount"), p)]
4149 }
4250
4351
44-@Verifier(v)
45-func w () = sigVerify(v.bodyBytes, v.proofs[0], v.senderPublicKey)
52+@Verifier(w)
53+func x () = sigVerify(w.bodyBytes, w.proofs[0], w.senderPublicKey)
4654
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 4 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let a = base58'JBuDu88GtcExo81bPQmt55D4SrGwKuvcc4dGy4R6KBNw'
55
66 let b = addressFromPublicKey(a)
77
88 let c = "Dapp will start Pre-Sale at Timestamp "
99
1010 let d = "<h1>You Transaction Submitted Successfully!</h1><br>"
1111
1212 let e = "DApp Need 0.1 WAVES Token as Attach payment[1]."
1313
14-let f = "Soft Cap can't be more than Hard Cap."
14+let f = "End Timestamp can't be less than Start Timestamp"
1515
16-let g = "Min. 0.1 WAVES required on Your Address, Please hold min. 0.1 WAVES on your Address."
16+let g = "Soft Cap can't be more than Hard Cap."
1717
18-let h = "Incorrect asset attach, please attach WAVES Only."
18+let h = "Min. 0.1 WAVES required on Your Address, Please hold min. 0.1 WAVES on your Address."
1919
20-let i = "Pre-Sale Round is over for this Dapp."
20+let i = "Incorrect asset attach, please attach WAVES Only."
2121
22-@Callable(j)
23-func SetPreSaleParameters (k,l,m,n,o) = {
24- let p = k
22+let j = "Pre-Sale Round is over for this Dapp."
23+
24+@Callable(k)
25+func SetPreSaleParameters (l,m,n,o,p) = {
2526 let q = l
26- let r = {
27- let s = getInteger(this, "Current_Funding_Round")
28- if ($isInstanceOf(s, "Int"))
27+ let r = m
28+ let s = {
29+ let t = getInteger(this, "Current_Funding_Round")
30+ if ($isInstanceOf(t, "Int"))
2931 then {
30- let t = s
31- t
32+ let u = t
33+ u
3234 }
3335 else 0
3436 }
35- let u = (r + 1)
36- if ((j.caller != b))
37+ let v = (s + 1)
38+ if ((k.caller != b))
3739 then throw((("This Address is not Authorized. Only " + toString(b)) + " is Authorized Address to Sign it."))
38- else if ((n > o))
39- then throw(g)
40- else [IntegerEntry((toString(u) + "_Presale_Start_TimeStamp"), p), IntegerEntry((toString(u) + "_Presale_End_TimeStamp"), q), IntegerEntry((toString(u) + "_Token_Price"), m), IntegerEntry((toString(u) + "_Soft_Cap_Amount"), n), IntegerEntry((toString(u) + "Hard_Cap_Amount"), o)]
40+ else if ((r > q))
41+ then throw(f)
42+ else if ((o > p))
43+ then throw(g)
44+ else if ((size(toString(l)) != 13))
45+ then throw("Start Timestamp is Wrong. Please Enter a Valid Timestamp. Probably you entered an Timestamp less than 13 Chars.")
46+ else if ((size(toString(m)) != 13))
47+ then throw("End Timestamp is Wrong. Please Enter a Valid Timestamp. Probably you entered an Timestamp less than 13 Chars.")
48+ else [IntegerEntry((toString(v) + "_Presale_Start_TimeStamp"), q), IntegerEntry((toString(v) + "_Presale_End_TimeStamp"), r), IntegerEntry((toString(v) + "_Token_Price"), n), IntegerEntry((toString(v) + "_Soft_Cap_Amount"), o), IntegerEntry((toString(v) + "Hard_Cap_Amount"), p)]
4149 }
4250
4351
44-@Verifier(v)
45-func w () = sigVerify(v.bodyBytes, v.proofs[0], v.senderPublicKey)
52+@Verifier(w)
53+func x () = sigVerify(w.bodyBytes, w.proofs[0], w.senderPublicKey)
4654

github/deemru/w8io/169f3d6 
29.79 ms