tx · 9yeJhLKPxCp4qok8pp9CKVBxm2ik76ZKy4fviR5MKpgi

3N1XAEyg1TQGa5FCEerrRhLGi5KyVq26Xm8:  -0.00200000 Waves

2023.01.15 22:35 [2406495] smart account 3N1XAEyg1TQGa5FCEerrRhLGi5KyVq26Xm8 > SELF 0.00000000 Waves

{ "type": 13, "id": "9yeJhLKPxCp4qok8pp9CKVBxm2ik76ZKy4fviR5MKpgi", "fee": 200000, "feeAssetId": null, "timestamp": 1673811321969, "version": 2, "chainId": 84, "sender": "3N1XAEyg1TQGa5FCEerrRhLGi5KyVq26Xm8", "senderPublicKey": "ATuPi6fn8277fNiCoRgPTav9QG15CJoW95GEGcDmfYt8", "proofs": [ "5rfPn5N5VnCMCRKeThss52QPQKrPQQaoc9MuSWUW4rANy77cYwjpAXYYz4rp9CEcm6o5jxroC1KZ85ZsBvsqJmfN" ], "script": "base64:BgIKCAISABIECgIBAQsABXdjZElkAiw1V0U2SEJWc21BYmFwVG1US3BteVdtVVI2N2ZjMTZ5YkZyTmp4em1EQnRQYQALd2NkRGVjaW1hbHMAAgETdG90YWxTaGFyZUJ5VXNlcktFWQEFb3duZXIJALkJAgkAzAgCAgZzaGFyZXMJAMwIAgUFb3duZXIFA25pbAIBXwEUdG90YWxTaGFyZUJ5VXNlclJFQUQBBW93bmVyCQELdmFsdWVPckVsc2UCCQCaCAIFBHRoaXMJARN0b3RhbFNoYXJlQnlVc2VyS0VZAQUFb3duZXIAAAASdG90YWxJc3N1ZWRXQ0RfS0VZAhB0b3RhbF9pc3N1ZWRfV0NEARN0b3RhbElzc3VlZFdDRF9SRUFEAAkBC3ZhbHVlT3JFbHNlAgkAmggCBQR0aGlzBRJ0b3RhbElzc3VlZFdDRF9LRVkAAAAOdG90YWxTaGFyZXNLRVkCDHRvdGFsX3NoYXJlcwEPdG90YWxTaGFyZXNSRUFEAAkBC3ZhbHVlT3JFbHNlAgkAmggCBQR0aGlzBQ50b3RhbFNoYXJlc0tFWQAAAApwYXJhbUFfS0VZAgFBAQtwYXJhbUFfUkVBRAAJAQt2YWx1ZU9yRWxzZQIJAJoIAgUEdGhpcwIBQQBkAQ9jb21wdXRlTG9nVE1ESVICCmlzc3VlZF93Y2QBQQkAZQIAgOHrFwkAaAIJAG0GBQppc3N1ZWRfd2NkBQt3Y2REZWNpbWFscwAKAAAABQUGSEFMRlVQBQFBAgFpAQ1kZXBvc2l0X3NoYXJlAAQDcG10AwkAAAIJAJADAQgFAWkIcGF5bWVudHMAAQkAkQMCCAUBaQhwYXltZW50cwAACQACAQIcQXR0YWNoZWQgcGF5bWVudCBpcyByZXF1aXJlZAMJAQlpc0RlZmluZWQBCAUDcG10B2Fzc2V0SWQJAAIBAhZPbmx5IFdBVkVTIGlzIGFsbG93ZWQuBAdhY2NvdW50CQClCAEIBQFpBmNhbGxlcgQQdG90YWxTaGFyZUJ5VXNlcgkBFHRvdGFsU2hhcmVCeVVzZXJSRUFEAQUHYWNjb3VudAQLdG90YWxTaGFyZXMJAQ90b3RhbFNoYXJlc1JFQUQACQDMCAIJAQxJbnRlZ2VyRW50cnkCCQETdG90YWxTaGFyZUJ5VXNlcktFWQEFB2FjY291bnQJAGQCBRB0b3RhbFNoYXJlQnlVc2VyCAUDcG10BmFtb3VudAkAzAgCCQEMSW50ZWdlckVudHJ5AgUOdG90YWxTaGFyZXNLRVkJAGQCBQt0b3RhbFNoYXJlcwgFA3BtdAZhbW91bnQFA25pbAFpAQlnZXRfdG1kaXICCmlzc3VlZF93Y2QBQQkAAgEJAKwCAgIIcmVzdWx0OiAJAKQDAQkBD2NvbXB1dGVMb2dUTURJUgIFCmlzc3VlZF93Y2QFAUEAGm1vLA==", "height": 2406495, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 2nvkvoaidheVnHhnBsuBfnVuoDXnXVetg91TAjg7yNFN Next: GP4LqV9u49FAqVRRUNCmFZVCKogTsAUc6aooya4cpsW5 Diff:
OldNewDifferences
2626 func k () = valueOrElse(getInteger(this, "A"), 100)
2727
2828
29-func l (m,n) = (log(m, b, 10, 0, 5, HALFUP) * n)
29+func l (m,n) = (50000000 - (log(m, b, 10, 0, 5, HALFUP) * n))
3030
3131
3232 @Callable(o)
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 6 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let a = "5WE6HBVsmAbapTmTKpmyWmUR67fc16ybFrNjxzmDBtPa"
55
66 let b = 2
77
88 func c (d) = makeString(["shares", d], "_")
99
1010
1111 func e (d) = valueOrElse(getInteger(this, c(d)), 0)
1212
1313
1414 let f = "total_issued_WCD"
1515
1616 func g () = valueOrElse(getInteger(this, f), 0)
1717
1818
1919 let h = "total_shares"
2020
2121 func i () = valueOrElse(getInteger(this, h), 0)
2222
2323
2424 let j = "A"
2525
2626 func k () = valueOrElse(getInteger(this, "A"), 100)
2727
2828
29-func l (m,n) = (log(m, b, 10, 0, 5, HALFUP) * n)
29+func l (m,n) = (50000000 - (log(m, b, 10, 0, 5, HALFUP) * n))
3030
3131
3232 @Callable(o)
3333 func deposit_share () = {
3434 let p = if ((size(o.payments) == 1))
3535 then o.payments[0]
3636 else throw("Attached payment is required")
3737 if (isDefined(p.assetId))
3838 then throw("Only WAVES is allowed.")
3939 else {
4040 let q = toString(o.caller)
4141 let r = e(q)
4242 let s = i()
4343 [IntegerEntry(c(q), (r + p.amount)), IntegerEntry(h, (s + p.amount))]
4444 }
4545 }
4646
4747
4848
4949 @Callable(o)
5050 func get_tmdir (m,n) = throw(("result: " + toString(l(m, n))))
5151
5252

github/deemru/w8io/169f3d6 
33.94 ms