tx · H9qZUom2KSHaVVyFRA29BUWaX2eZgeLHPAHda99Smt3k

3MxmeHuUkgf1qYRiaZnn4kqL418s6G2i56t:  -0.01000000 Waves

2023.11.01 10:54 [2823981] smart account 3MxmeHuUkgf1qYRiaZnn4kqL418s6G2i56t > SELF 0.00000000 Waves

{ "type": 13, "id": "H9qZUom2KSHaVVyFRA29BUWaX2eZgeLHPAHda99Smt3k", "fee": 1000000, "feeAssetId": null, "timestamp": 1698825256444, "version": 2, "chainId": 84, "sender": "3MxmeHuUkgf1qYRiaZnn4kqL418s6G2i56t", "senderPublicKey": "HJ4hmeK33qGvDwPEv5TChJq8CmRjtktm9xmzsgKAy5hY", "proofs": [ "3S2GshD8YZi4MouZ8FAaiT1yRQoQEkmfd1DEXjoX1Ek1UceKf2fxZwtjvY1PNSmp7zokBTtFXf3CG46gpRv6Mw4v" ], "script": "base64:BgIOCAISABIAEgASABIAEgAABgFpAQZhY3Rpb24ACQDMCAIJAQ5TY3JpcHRUcmFuc2ZlcgMJAQdBZGRyZXNzAQEaAURhIIg+3ZggmCPnymM0X/GkLLmkMH0iZhYAgNDbw/QCBQR1bml0BQNuaWwBaQEHZGVmYXVsdAAFA25pbAFpARBpc3N1ZUFuZFRyYW5zZmVyAAQFaXNzdWUJAMMIBwIEbmFtZQILZGVzY3JpcHRpb24A6AcAAQYFBHVuaXQAAAkAlAoCCQDMCAIFBWlzc3VlCQDMCAIJAQ5TY3JpcHRUcmFuc2ZlcgMIBQFpBmNhbGxlcgBkCQC4CAEFBWlzc3VlCQDMCAIJAQtCaW5hcnlFbnRyeQICBWFzc2V0CQC4CAEFBWlzc3VlBQNuaWwJAPAHAggFAWkGY2FsbGVyCQC4CAEFBWlzc3VlAWkBE3N5bmNDYWxsV2l0aFBheW1lbnQABAFyCQD8BwQJAQdBZGRyZXNzAQEaAURhIIg+3ZggmCPnymM0X/GkLLmkMH0iZhYCB2RlZmF1bHQFA25pbAkAzAgCCQEPQXR0YWNoZWRQYXltZW50AgUEdW5pdABkBQNuaWwDCQAAAgUBcgUBcgUDbmlsCQACAQIkU3RyaWN0IHZhbHVlIGlzIG5vdCBlcXVhbCB0byBpdHNlbGYuAWkBB3JlaXNzdWUABAVhc3NldAkBEUBleHRyTmF0aXZlKDEwNTcpAQIFYXNzZXQEB3JlaXNzdWUJAQdSZWlzc3VlAwUFYXNzZXQA0A8GCQDMCAIFB3JlaXNzdWUFA25pbAFpAQRidXJuAAQFYXNzZXQJARFAZXh0ck5hdGl2ZSgxMDU3KQECBWFzc2V0BARidXJuCQEEQnVybgIFBWFzc2V0AAoJAMwIAgUEYnVybgUDbmlsAK4dJIU=", "height": 2823981, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 2dWxFqvKNoMerK1YAAtDV3SV5t1iazt8KCCh1hx4NUgs Next: DvgvZRAdgZXqXooAKKiNCFP7ifqzdoqocpMuGtMFhj73 Full:
OldNewDifferences
11 {-# STDLIB_VERSION 6 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
4-func a (b,c,d) = {
5- let e = fraction(b, c, d)
6-[StringEntry("BigInt", toString(e))]
7- }
84
95
10-func f (b,c,d) = {
11- let e = [b, c, d]
12-[StringEntry("BigInt", toString(max(e)))]
13- }
6+@Callable(a)
7+func action () = [ScriptTransfer(Address(base58'3FXMzYAi9KmbpTVVCB5SxzpyTw4jzqRhufj'), 100000000000, unit)]
148
159
16-func g (b,c,d) = {
17- let e = [b, c, d]
18-[StringEntry("BigInt", toString(min(e)))]
19- }
10+
11+@Callable(a)
12+func default () = nil
2013
2114
22-func h (i,j,k,l,m) = {
23- let e = log(i, j, k, l, m, FLOOR)
24-[StringEntry("BigInt", toString(e))]
25- }
2615
27-
28-func n (k,l,o,p,m) = {
29- let e = pow(k, l, o, l, m, FLOOR)
30-[StringEntry("BigInt", toString(e))]
31- }
32-
33-
34-@Callable(q)
35-func fractionInt (b,c,d) = {
36- let e = fraction(b, c, d)
37-[IntegerEntry("int", e)]
16+@Callable(a)
17+func issueAndTransfer () = {
18+ let b = Issue("name", "description", 1000, 1, true, unit, 0)
19+ $Tuple2([b, ScriptTransfer(a.caller, 100, calculateAssetId(b)), BinaryEntry("asset", calculateAssetId(b))], assetBalance(a.caller, calculateAssetId(b)))
3820 }
3921
4022
4123
42-@Callable(q)
43-func default () = [StringEntry("str", "fraction,max,min,log,pow")]
24+@Callable(a)
25+func syncCallWithPayment () = {
26+ let c = invoke(Address(base58'3FXMzYAi9KmbpTVVCB5SxzpyTw4jzqRhufj'), "default", nil, [AttachedPayment(unit, 100)])
27+ if ((c == c))
28+ then nil
29+ else throw("Strict value is not equal to itself.")
30+ }
4431
4532
4633
47-@Callable(q)
48-func bigintf_test (b,c,d,r,s,t) = {
49- let u = {
50- let v = parseBigInt(b)
51- if ($isInstanceOf(v, "BigInt"))
52- then {
53- let w = v
54- w
55- }
56- else throw()
57- }
58- let x = {
59- let v = parseBigInt(c)
60- if ($isInstanceOf(v, "BigInt"))
61- then {
62- let w = v
63- w
64- }
65- else throw()
66- }
67- let y = {
68- let v = parseBigInt(d)
69- if ($isInstanceOf(v, "BigInt"))
70- then {
71- let w = v
72- w
73- }
74- else throw()
75- }
76- let z = {
77- let v = parseInt(r)
78- if ($isInstanceOf(v, "Int"))
79- then {
80- let w = v
81- w
82- }
83- else throw()
84- }
85- let A = {
86- let v = parseInt(s)
87- if ($isInstanceOf(v, "Int"))
88- then {
89- let w = v
90- w
91- }
92- else throw()
93- }
94- if ((t == "fraction"))
95- then a(u, x, y)
96- else if ((t == "max"))
97- then f(u, x, y)
98- else if ((t == "min"))
99- then g(u, x, y)
100- else if ((t == "log"))
101- then {
102- let B = toInt(x)
103- h(u, B, y, z, A)
104- }
105- else if ((t == "pow"))
106- then {
107- let B = toInt(x)
108- n(u, B, y, z, A)
109- }
110- else nil
34+@Callable(a)
35+func reissue () = {
36+ let d = getBinaryValue("asset")
37+ let e = Reissue(d, 2000, true)
38+[e]
39+ }
40+
41+
42+
43+@Callable(a)
44+func burn () = {
45+ let d = getBinaryValue("asset")
46+ let f = Burn(d, 10)
47+[f]
11148 }
11249
11350

github/deemru/w8io/026f985 
28.56 ms