tx · 2dWxFqvKNoMerK1YAAtDV3SV5t1iazt8KCCh1hx4NUgs

3MxmeHuUkgf1qYRiaZnn4kqL418s6G2i56t:  -0.10500000 Waves

2023.10.12 15:11 [2795376] smart account 3MxmeHuUkgf1qYRiaZnn4kqL418s6G2i56t > SELF 0.00000000 Waves

{ "type": 13, "id": "2dWxFqvKNoMerK1YAAtDV3SV5t1iazt8KCCh1hx4NUgs", "fee": 10500000, "feeAssetId": null, "timestamp": 1697112791359, "version": 2, "chainId": 84, "sender": "3MxmeHuUkgf1qYRiaZnn4kqL418s6G2i56t", "senderPublicKey": "HJ4hmeK33qGvDwPEv5TChJq8CmRjtktm9xmzsgKAy5hY", "proofs": [ "5SjrwoHXYYL2sRFpqMAMtkkUXwYAdFeNThC6zvTMGszeHG3xUMZ62WqciBjGhPB6moijcba6LTtMevWYWqAjvm2H" ], "script": "base64:BgIVCAISBQoDAQEBEgASCAoGCAgICAgIBQEKZnJhY3Rpb25CSQMBYQFiAWMEAXgJALwCAwUBYQUBYgUBYwkAzAgCCQELU3RyaW5nRW50cnkCAgZCaWdJbnQJAKYDAQUBeAUDbmlsAQVtYXhCSQMBYQFiAWMEAXgJAMwIAgUBYQkAzAgCBQFiCQDMCAIFAWMFA25pbAkAzAgCCQELU3RyaW5nRW50cnkCAgZCaWdJbnQJAKYDAQkAmAMBBQF4BQNuaWwBBW1pbkJJAwFhAWIBYwQBeAkAzAgCBQFhCQDMCAIFAWIJAMwIAgUBYwUDbmlsCQDMCAIJAQtTdHJpbmdFbnRyeQICBkJpZ0ludAkApgMBCQCZAwEFAXgFA25pbAEFbG9nQkkFA3ZhbAJ2cARiYXNlAmJwAnJwBAF4CQB3BgUDdmFsBQJ2cAUEYmFzZQUCYnAFAnJwBQVGTE9PUgkAzAgCCQELU3RyaW5nRW50cnkCAgZCaWdJbnQJAKYDAQUBeAUDbmlsAQVwb3dCSQUEYmFzZQJicANleHACZXACcnAEAXgJAHYGBQRiYXNlBQJicAUDZXhwBQJicAUCc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Status": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: GxYvmXbab7m4NhvVSikHuVsNWm78Y885Ck6pRicxkKkQ Next: H9qZUom2KSHaVVyFRA29BUWaX2eZgeLHPAHda99Smt3k Full:
OldNewDifferences
11 {-# STDLIB_VERSION 6 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 func a (b,c,d) = {
55 let e = fraction(b, c, d)
66 [StringEntry("BigInt", toString(e))]
77 }
88
99
1010 func f (b,c,d) = {
1111 let e = [b, c, d]
1212 [StringEntry("BigInt", toString(max(e)))]
1313 }
1414
1515
1616 func g (b,c,d) = {
1717 let e = [b, c, d]
1818 [StringEntry("BigInt", toString(min(e)))]
1919 }
2020
2121
2222 func h (i,j,k,l,m) = {
2323 let e = log(i, j, k, l, m, FLOOR)
2424 [StringEntry("BigInt", toString(e))]
2525 }
2626
2727
2828 func n (k,l,o,p,m) = {
2929 let e = pow(k, l, o, l, m, FLOOR)
3030 [StringEntry("BigInt", toString(e))]
3131 }
3232
3333
3434 @Callable(q)
3535 func fractionInt (b,c,d) = {
3636 let e = fraction(b, c, d)
3737 [IntegerEntry("int", e)]
3838 }
3939
4040
4141
4242 @Callable(q)
4343 func default () = [StringEntry("str", "fraction,max,min,log,pow")]
4444
4545
4646
4747 @Callable(q)
4848 func bigintf_test (b,c,d,r,s,t) = {
4949 let u = {
5050 let v = parseBigInt(b)
5151 if ($isInstanceOf(v, "BigInt"))
5252 then {
5353 let w = v
5454 w
5555 }
5656 else throw()
5757 }
5858 let x = {
5959 let v = parseBigInt(c)
6060 if ($isInstanceOf(v, "BigInt"))
6161 then {
6262 let w = v
6363 w
6464 }
6565 else throw()
6666 }
6767 let y = {
6868 let v = parseBigInt(d)
6969 if ($isInstanceOf(v, "BigInt"))
7070 then {
7171 let w = v
7272 w
7373 }
7474 else throw()
7575 }
7676 let z = {
7777 let v = parseInt(r)
7878 if ($isInstanceOf(v, "Int"))
7979 then {
8080 let w = v
8181 w
8282 }
8383 else throw()
8484 }
8585 let A = {
8686 let v = parseInt(s)
8787 if ($isInstanceOf(v, "Int"))
8888 then {
8989 let w = v
9090 w
9191 }
9292 else throw()
9393 }
9494 if ((t == "fraction"))
9595 then a(u, x, y)
9696 else if ((t == "max"))
9797 then f(u, x, y)
9898 else if ((t == "min"))
9999 then g(u, x, y)
100100 else if ((t == "log"))
101101 then {
102102 let B = toInt(x)
103103 h(u, B, y, z, A)
104104 }
105105 else if ((t == "pow"))
106106 then {
107107 let B = toInt(x)
108108 n(u, B, y, z, A)
109109 }
110110 else nil
111111 }
112112
113113

github/deemru/w8io/026f985 
29.50 ms