tx · Dkh8G8uPEKVBx323vSWWnyQBdJAtgDN6QPzQZ8Zfq52o

3NCZ57kfAyy5g1u9wU6xpPATZaGHQsWtdii:  -0.01400000 Waves

2020.12.25 17:34 [1324342] smart account 3NCZ57kfAyy5g1u9wU6xpPATZaGHQsWtdii > SELF 0.00000000 Waves

{ "type": 13, "id": "Dkh8G8uPEKVBx323vSWWnyQBdJAtgDN6QPzQZ8Zfq52o", "fee": 1400000, "feeAssetId": null, "timestamp": 1608906896317, "version": 2, "chainId": 84, "sender": "3NCZ57kfAyy5g1u9wU6xpPATZaGHQsWtdii", "senderPublicKey": "9qhZSTJv6GQKghqH88TBPU6rNvQWf6yXCL57T7C7oi7A", "proofs": [ "3YwYVoBuyAVbhd1KLxMrQUpt3kVgmeXFHrw9oeZLYvhtPpekPk6Rqm8yLQmpT3gHcUAKas6bTEgYKPkNNG3fUAPn" ], "script": "base64:AAIEAAAAAAAAAAoIAhIGCgQICAEEAAAAAgAAAAAEUEFSNwEAAAAgzlhA/ZjitMWTd+McxVJoK0GcLLGrEdV8aco355LpR4wAAAAACHN3YXBSYXRlAAAAAAAAAAABAAAAAQAAAAFpAQAAAAppc3N1ZUFzc2V0AAAABAAAAARuYW1lAAAAC2Rlc2NyaXB0aW9uAAAACGRlY2ltYWxzAAAAB3JlSXNzdWUEAAAAA3BtdAkAAZEAAAACCAUAAAABaQAAAAhwYXltZW50cwAAAAAAAAAAAAMJAQAAAAIhPQAAAAIIBQAAAANwbXQAAAAHYXNzZXRJZAUAAAAEUEFSNwkAAAIAAAABAgAAABR3b3JrcyB3aXRoIFBBUjcgb25seQQAAAALaXNzdWVBbW91bnQJAABoAAAAAggFAAAAA3BtdAAAAAZhbW91bnQFAAAACHN3YXBSYXRlBAAAAAVpc3N1ZQkABEIAAAAFBQAAAARuYW1lBQAAAAtkZXNjcmlwdGlvbgUAAAALaXNzdWVBbW91bnQFAAAACGRlY2ltYWxzBQAAAAdyZUlzc3VlBAAAAAJpZAkABDgAAAABBQAAAAVpc3N1ZQkABEwAAAACBQAAAAVpc3N1ZQkABEwAAAACCQEAAAAOU2NyaXB0VHJhbnNmZXIAAAADCAUAAAABaQAAAAZjYWxsZXIIBQAAAAVpc3N1ZQAAAAhxdWFudGl0eQUAAAACaWQFAAAAA25pbAAAAAEAAAACdHgBAAAABnZlcmlmeQAAAAAJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAAACAUAAAACdHgAAAAPc2VuZGVyUHVibGljS2V52u5CzQ==", "height": 1324342, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: DceYtsNB4uh5tvBkwxTzFfYmjTQPxWkeCoy8rNxUuoqV Next: none Diff:
OldNewDifferences
66 let swapRate = 1
77
88 @Callable(i)
9-func issueAsset (name,description,amount,decimals,reIssue) = {
9+func issueAsset (name,description,decimals,reIssue) = {
1010 let pmt = i.payments[0]
1111 if ((pmt.assetId != PAR7))
1212 then throw("works with PAR7 only")
1313 else {
14- let swapAmount = (pmt.amount * swapRate)
15- let issue = Issue(name, description, amount, decimals, reIssue)
14+ let issueAmount = (pmt.amount * swapRate)
15+ let issue = Issue(name, description, issueAmount, decimals, reIssue)
1616 let id = calculateAssetId(issue)
1717 [issue, ScriptTransfer(i.caller, issue.quantity, id)]
1818 }
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 4 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let PAR7 = base58'EtV3CXQ4wqm28WPB1KaBv5B9ke2bpXRZMutYNEJUQcXm'
55
66 let swapRate = 1
77
88 @Callable(i)
9-func issueAsset (name,description,amount,decimals,reIssue) = {
9+func issueAsset (name,description,decimals,reIssue) = {
1010 let pmt = i.payments[0]
1111 if ((pmt.assetId != PAR7))
1212 then throw("works with PAR7 only")
1313 else {
14- let swapAmount = (pmt.amount * swapRate)
15- let issue = Issue(name, description, amount, decimals, reIssue)
14+ let issueAmount = (pmt.amount * swapRate)
15+ let issue = Issue(name, description, issueAmount, decimals, reIssue)
1616 let id = calculateAssetId(issue)
1717 [issue, ScriptTransfer(i.caller, issue.quantity, id)]
1818 }
1919 }
2020
2121
2222 @Verifier(tx)
2323 func verify () = sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey)
2424

github/deemru/w8io/169f3d6 
29.39 ms