tx · Do8m2rJq8A9WGvCKkEMCGAAvN2u13pykLtikjU6vEWsG

3N88RCNRRqH1tr96V7DQBnafuHZLfA2jVTR:  -0.01400000 Waves

2021.09.01 15:19 [1683964] smart account 3N88RCNRRqH1tr96V7DQBnafuHZLfA2jVTR > SELF 0.00000000 Waves

{ "type": 13, "id": "Do8m2rJq8A9WGvCKkEMCGAAvN2u13pykLtikjU6vEWsG", "fee": 1400000, "feeAssetId": null, "timestamp": 1630498816159, "version": 2, "chainId": 84, "sender": "3N88RCNRRqH1tr96V7DQBnafuHZLfA2jVTR", "senderPublicKey": "2oN6nNjjqGRnqgNMW7yk2Vx5d8sifvdgjcoKoAHiDZDy", "proofs": [ "Zob7Ypiqw38jAg3fWspcQC5uK1UXgGEbuLhkbKcwSJtnnK6sNGu4ut9p5fngQT4jk5X897RTWADXUT5pRPVq1RJ" ], "script": "base64:AAIEAAAAAAAAAAQIAhIAAAAAAAAAAAEAAAABaQEAAAAEY2FsbAAAAAAEAAAACXNoYXJlTmFtZQIAAAACc24EAAAAEHNoYXJlRGVzY3JpcHRpb24JAAEsAAAAAgIAAAAuU2hhcmVUb2tlbiBvZiBTd29wRmkgcHJvdG9jb2wgZm9yICBhdCBhZGRyZXNzIAkABCUAAAABBQAAAAR0aGlzBAAAAA1zaGFyZURlY2ltYWxzCQAAaQAAAAIJAABkAAAAAgAAAAAAAAAABgAAAAAAAAAABwAAAAAAAAAAAgQAAAAEYXJnMQkAAGwAAAAGAAAAAAAAD0JAAAAAAAAAAAAGAAAAAAAAAAAFAAAAAAAAAAABAAAAAAAAAAAGBQAAAARET1dOBAAAAARhcmcyCQAAbAAAAAYAAAAAAACYloAAAAAAAAAAAAcAAAAAAAAAAAUAAAAAAAAAAAEAAAAAAAAAAAcFAAAABERPV04EAAAABGFyZzMJAABsAAAABgAAAAAAAAAACgAAAAAAAAAAAAUAAAANc2hhcmVEZWNpbWFscwAAAAAAAAAAAAAAAAAAAAAAAAUAAAAERE9XTgQAAAASc2hhcmVJbml0aWFsU3VwcGx5CQAAawAAAAMFAAAABGFyZzEFAAAABGFyZzIFAAAABGFyZzMEAAAACnNoYXJlSXNzdWUJAARCAAAABQUAAAAJc2hhcmVOYW1lBQAAABBzaGFyZURlc2NyaXB0aW9uBQAAABJzaGFyZUluaXRpYWxTdXBwbHkFAAAADXNoYXJlRGVjaW1hbHMGBAAAAAxzaGFyZUlzc3VlSWQJAAQ4AAAAAQUAAAAKc2hhcmVJc3N1ZQkABEwAAAACCQEAAAAMSW50ZWdlckVudHJ5AAAAAgIAAAAFYXJnczEFAAAABGFyZzEJAARMAAAAAgUAAAAKc2hhcmVJc3N1ZQkABEwAAAACCQEAAAAOU2NyaXB0VHJhbnNmZXIAAAADCAUAAAABaQAAAAZjYWxsZXIFAAAAEnNoYXJlSW5pdGlhbFN1cHBseQUAAAAMc2hhcmVJc3N1ZUlkBQAAAANuaWwAAAABAAAAAnR4AQAAAAZ2ZXJpZnkAAAAACQAB9AAAAAMIBQAAAAJ0eAAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAnR4AAAABnByb29mcwAAAAAAAAAAAAgFAAAAAnR4AAAAD3NlbmRlclB1YmxpY0tleXJPwho=", "height": 1683964, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 7kEGSZuMKgmkzyYXJkkZ6cseHgLUX9aF8iowW4eVDqkG Next: none Diff:
OldNewDifferences
55
66 @Callable(i)
77 func call () = {
8+ let shareName = "sn"
9+ let shareDescription = ("ShareToken of SwopFi protocol for at address " + toString(this))
10+ let shareDecimals = ((6 + 7) / 2)
811 let arg1 = pow(1000000, 6, 5, 1, 6, DOWN)
912 let arg2 = pow(10000000, 7, 5, 1, 7, DOWN)
10- let shareDecimals = ((6 + 7) / 2)
1113 let arg3 = pow(10, 0, shareDecimals, 0, 0, DOWN)
1214 let shareInitialSupply = fraction(arg1, arg2, arg3)
13-[IntegerEntry("args1", arg1), IntegerEntry("args2", arg1), IntegerEntry("args3", arg1)]
15+ let shareIssue = Issue(shareName, shareDescription, shareInitialSupply, shareDecimals, true)
16+ let shareIssueId = calculateAssetId(shareIssue)
17+[IntegerEntry("args1", arg1), shareIssue, ScriptTransfer(i.caller, shareInitialSupply, shareIssueId)]
1418 }
1519
1620
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 4 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44
55
66 @Callable(i)
77 func call () = {
8+ let shareName = "sn"
9+ let shareDescription = ("ShareToken of SwopFi protocol for at address " + toString(this))
10+ let shareDecimals = ((6 + 7) / 2)
811 let arg1 = pow(1000000, 6, 5, 1, 6, DOWN)
912 let arg2 = pow(10000000, 7, 5, 1, 7, DOWN)
10- let shareDecimals = ((6 + 7) / 2)
1113 let arg3 = pow(10, 0, shareDecimals, 0, 0, DOWN)
1214 let shareInitialSupply = fraction(arg1, arg2, arg3)
13-[IntegerEntry("args1", arg1), IntegerEntry("args2", arg1), IntegerEntry("args3", arg1)]
15+ let shareIssue = Issue(shareName, shareDescription, shareInitialSupply, shareDecimals, true)
16+ let shareIssueId = calculateAssetId(shareIssue)
17+[IntegerEntry("args1", arg1), shareIssue, ScriptTransfer(i.caller, shareInitialSupply, shareIssueId)]
1418 }
1519
1620
1721 @Verifier(tx)
1822 func verify () = sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey)
1923

github/deemru/w8io/169f3d6 
43.20 ms