tx · 72j6GXxHhkL8ayto7iceR9oGMcrhWvibFy15e5e5Zw8i

3Mz3A1UYGJv1646xRXHZzTy4nofAbg4QPaH:  -0.01400000 Waves

2023.03.06 13:39 [2478117] smart account 3Mz3A1UYGJv1646xRXHZzTy4nofAbg4QPaH > SELF 0.00000000 Waves

{ "type": 13, "id": "72j6GXxHhkL8ayto7iceR9oGMcrhWvibFy15e5e5Zw8i", "fee": 1400000, "feeAssetId": null, "timestamp": 1678099159523, "version": 2, "chainId": 84, "sender": "3Mz3A1UYGJv1646xRXHZzTy4nofAbg4QPaH", "senderPublicKey": "8wkcC4wZzidr4PipMnDKcJn4CP25PZn9Mj15Tx51kiB9", "proofs": [ "QNFkuJR7tqLAu2bK4fT9jvaCDZzteV8UBYakDJ55DhuETKthdQV3zopERqLEw6MNZYtCBUPQCUTUrpVwcxNsuEA" ], "script": "base64:AAIFAAAAAAAAAAcIAhIDCgEIAAAAAAAAAAEAAAABaQEAAAASSXNzdWVPcHRpb25MUFRva2VuAAAAAQAAAAxFbnRlckFzc2V0SUQEAAAABGluZm8JAQAAABN2YWx1ZU9yRXJyb3JNZXNzYWdlAAAAAgkAA+wAAAABCQACWQAAAAEFAAAADEVudGVyQXNzZXRJRAkAASwAAAACCQABLAAAAAICAAAABkFzc2V0IAUAAAAMRW50ZXJBc3NldElEAgAAAB0gZG9lc24ndCBleGlzdCBvbiBCbG9ja2NoYWluLgQAAAAEbmFtZQgFAAAABGluZm8AAAAEbmFtZQQAAAAHTFBpc3N1ZQkABEIAAAAFCQABLAAAAAIJAAEsAAAAAgIAAAAET3B0LQkAAS8AAAACBQAAAARuYW1lAAAAAAAAAAAHAgAAAAUtVVNEQwkAASwAAAACCQABLAAAAAIJAAEsAAAAAgIAAAAET3B0LQkAAS8AAAACBQAAAARuYW1lAAAAAAAAAAAHAgAAAAUtVVNEQwIAAABEIGlzIGEgTGlxdWlkaXR5IFByb3ZpZGVyIFRva2VuIElzc3VlZCBBZ2FpbnN0IE9wdGlvbiBTbWFydCBDb250cmFjdC4AAAAAAAAAAAEAAAAAAAAAAAgGBAAAAAdhc3NldElkCQAEOAAAAAEFAAAAB0xQaXNzdWUEAAAAGWNoZWNraWZhc3NldGFscmVhZHlpc3N1ZWQJAAQdAAAAAgUAAAAEdGhpcwkAASwAAAACCQABLwAAAAIFAAAABG5hbWUAAAAAAAAAAAcCAAAAEV9MUF9Ub2tlbl9Bc3NldElEAwkAAAAAAAACBQAAABljaGVja2lmYXNzZXRhbHJlYWR5aXNzdWVkCQABLAAAAAIJAAEvAAAAAgUAAAAEbmFtZQAAAAAAAAAABwIAAAARX0xQX1Rva2VuX0Fzc2V0SUQJAAACAAAAAQkAASwAAAACCQABLAAAAAIJAAEsAAAAAgUAAAAMRW50ZXJBc3NldElEAgAAAA4gTFAgVG9rZW4gZm9yIAUAAAAMRW50ZXJBc3NldElEAgAAABMgaXMgYWxyZWFkeSBpc3N1ZWQuCQAETAAAAAIFAAAAB0xQaXNzdWUJAARMAAAAAgkBAAAABEJ1cm4AAAACBQAAAAdhc3NldElkAAAAAAAAAAABCQAETAAAAAIJAQAAAAtTdHJpbmdFbnRyeQAAAAIJAAEsAAAAAgkAAS8AAAACBQAAAARuYW1lAAAAAAAAAAAHAgAAABFfTFBfVG9rZW5fQXNzZXRJRAkAAlgAAAABBQAAAAdhc3NldElkBQAAAANuaWwAAAAAYuk/Nw==", "height": 2478117, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: CRRGwH4MohyuvNyhaK3id6JnHMqkT2GtAc2oswAaAbJ3 Next: none Diff:
OldNewDifferences
1010 let e = Issue((("Opt-" + take(d, 7)) + "-USDC"), ((("Opt-" + take(d, 7)) + "-USDC") + " is a Liquidity Provider Token Issued Against Option Smart Contract."), 1, 8, true)
1111 let f = calculateAssetId(e)
1212 let g = getString(this, (take(d, 7) + "_LP_Token_AssetID"))
13- if ((g == b))
13+ if ((g == (take(d, 7) + "_LP_Token_AssetID")))
1414 then throw((((b + " LP Token for ") + b) + " is already issued."))
1515 else [e, Burn(f, 1), StringEntry((take(d, 7) + "_LP_Token_AssetID"), toBase58String(f))]
1616 }
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44
55
66 @Callable(a)
77 func IssueOptionLPToken (b) = {
88 let c = valueOrErrorMessage(assetInfo(fromBase58String(b)), (("Asset " + b) + " doesn't exist on Blockchain."))
99 let d = c.name
1010 let e = Issue((("Opt-" + take(d, 7)) + "-USDC"), ((("Opt-" + take(d, 7)) + "-USDC") + " is a Liquidity Provider Token Issued Against Option Smart Contract."), 1, 8, true)
1111 let f = calculateAssetId(e)
1212 let g = getString(this, (take(d, 7) + "_LP_Token_AssetID"))
13- if ((g == b))
13+ if ((g == (take(d, 7) + "_LP_Token_AssetID")))
1414 then throw((((b + " LP Token for ") + b) + " is already issued."))
1515 else [e, Burn(f, 1), StringEntry((take(d, 7) + "_LP_Token_AssetID"), toBase58String(f))]
1616 }
1717
1818

github/deemru/w8io/169f3d6 
19.14 ms