tx · GxYvmXbab7m4NhvVSikHuVsNWm78Y885Ck6pRicxkKkQ

3MxmeHuUkgf1qYRiaZnn4kqL418s6G2i56t:  -0.10500000 Waves

2023.10.11 14:12 [2793872] smart account 3MxmeHuUkgf1qYRiaZnn4kqL418s6G2i56t > SELF 0.00000000 Waves

{ "type": 13, "id": "GxYvmXbab7m4NhvVSikHuVsNWm78Y885Ck6pRicxkKkQ", "fee": 10500000, "feeAssetId": null, "timestamp": 1697022739608, "version": 2, "chainId": 84, "sender": "3MxmeHuUkgf1qYRiaZnn4kqL418s6G2i56t", "senderPublicKey": "HJ4hmeK33qGvDwPEv5TChJq8CmRjtktm9xmzsgKAy5hY", "proofs": [ "3RxDrEH847sS1741vsDj65huHqRo4wepf3QCQ652myLEXWc8X5nw364sZZGcnAjBBKpLZXAAvQXhfQksRdmpDn52" ], "script": "base64:BgIVCAISBQoDAQEBEgASCAoGCAgICAgIBQEKZnJhY3Rpb25CSQMBYQFiAWMEAXgJALwCAwUBYQUBYgUBYwkAzAgCCQELU3RyaW5nRW50cnkCAgZCaWdJbnQJAKYDAQUBeAUDbmlsAQVtYXhCSQMBYQFiAWMEAXgJAMwIAgUBYQkAzAgCBQFiCQDMCAIFAWMFA25pbAkAzAgCCQELU3RyaW5nRW50cnkCAgZCaWdJbnQJAKYDAQkAmAMBBQF4BQNuaWwBBW1pbkJJAwFhAWIBYwQBeAkAzAgCBQFhCQDMCAIFAWIJAMwIAgUBYwUDbmlsCQDMCAIJAQtTdHJpbmdFbnRyeQICBkJpZ0ludAkApgMBCQCZAwEFAXgFA25pbAEFbG9nQkkFA3ZhbAJ2cARiYXNlAmJwAnJwBAF4CQB3BgUDdmFsBQJ2cAUEYmFzZQUCYnAFAnJwBQVGTE9PUgkAzAgCCQELU3RyaW5nRW50cnkCAgZCaWdJbnQJAKYDAQUBeAUDbmlsAQVwb3dCSQUEYmFzZQJicANleHACZXACcnAEAXgJAHYGBQRiYXNlBQJicAUDZXhwBQJicAUCcnAFBUZMT09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", "spentComplexity": 0 } View: original | compacted Prev: DUcra5wM6DH5UrU48vVScBRL2uipvQdRzB8bJrGpSNEx Next: 2dWxFqvKNoMerK1YAAtDV3SV5t1iazt8KCCh1hx4NUgs Diff:
OldNewDifferences
1-{-# STDLIB_VERSION 7 #-}
1+{-# STDLIB_VERSION 6 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 func fractionBI (a,b,c) = {
Full:
OldNewDifferences
1-{-# STDLIB_VERSION 7 #-}
1+{-# STDLIB_VERSION 6 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 func fractionBI (a,b,c) = {
55 let x = fraction(a, b, c)
66 [StringEntry("BigInt", toString(x))]
77 }
88
99
1010 func maxBI (a,b,c) = {
1111 let x = [a, b, c]
1212 [StringEntry("BigInt", toString(max(x)))]
1313 }
1414
1515
1616 func minBI (a,b,c) = {
1717 let x = [a, b, c]
1818 [StringEntry("BigInt", toString(min(x)))]
1919 }
2020
2121
2222 func logBI (val,vp,base,bp,rp) = {
2323 let x = log(val, vp, base, bp, rp, FLOOR)
2424 [StringEntry("BigInt", toString(x))]
2525 }
2626
2727
2828 func powBI (base,bp,exp,ep,rp) = {
2929 let x = pow(base, bp, exp, bp, rp, FLOOR)
3030 [StringEntry("BigInt", toString(x))]
3131 }
3232
3333
3434 @Callable(i)
3535 func fractionInt (a,b,c) = {
3636 let x = fraction(a, b, c)
3737 [IntegerEntry("int", x)]
3838 }
3939
4040
4141
4242 @Callable(i)
4343 func default () = [StringEntry("str", "fraction,max,min,log,pow")]
4444
4545
4646
4747 @Callable(i)
4848 func bigintf_test (a,b,c,d,e,f) = {
4949 let aa = match parseBigInt(a) {
5050 case t: BigInt =>
5151 t
5252 case _ =>
5353 throw()
5454 }
5555 let bb = match parseBigInt(b) {
5656 case t: BigInt =>
5757 t
5858 case _ =>
5959 throw()
6060 }
6161 let cc = match parseBigInt(c) {
6262 case t: BigInt =>
6363 t
6464 case _ =>
6565 throw()
6666 }
6767 let dd = match parseInt(d) {
6868 case t: Int =>
6969 t
7070 case _ =>
7171 throw()
7272 }
7373 let ee = match parseInt(e) {
7474 case t: Int =>
7575 t
7676 case _ =>
7777 throw()
7878 }
7979 if ((f == "fraction"))
8080 then fractionBI(aa, bb, cc)
8181 else if ((f == "max"))
8282 then maxBI(aa, bb, cc)
8383 else if ((f == "min"))
8484 then minBI(aa, bb, cc)
8585 else if ((f == "log"))
8686 then {
8787 let ff = toInt(bb)
8888 logBI(aa, ff, cc, dd, ee)
8989 }
9090 else if ((f == "pow"))
9191 then {
9292 let ff = toInt(bb)
9393 powBI(aa, ff, cc, dd, ee)
9494 }
9595 else nil
9696 }
9797
9898

github/deemru/w8io/026f985 
40.68 ms