tx · H3Ehu5JFNi5qnfmhy22oiACmHsUL45hpPqpZ2Hj7XuHB

3N9R7u449Z1b76QpJp9u3gzPjMYQYnp3V7r:  -0.04000000 Waves

2022.01.13 05:30 [1876571] smart account 3N9R7u449Z1b76QpJp9u3gzPjMYQYnp3V7r > SELF 0.00000000 Waves

{ "type": 13, "id": "H3Ehu5JFNi5qnfmhy22oiACmHsUL45hpPqpZ2Hj7XuHB", "fee": 4000000, "feeAssetId": null, "timestamp": 1642041072351, "version": 2, "chainId": 84, "sender": "3N9R7u449Z1b76QpJp9u3gzPjMYQYnp3V7r", "senderPublicKey": "GUHw1jkstNWTs9SX1KM3pMtq9HXjupvxiTd1urNhNoyY", "proofs": [ "46jujuHoymS8EyrvKnxzpmdbGr3ssAdpFXvQnpH2T8qZ71RfdSmTBCdw73VVSAsbndhL6ExxyHPwoSAncqA4wQaM" ], "script": "base64:AAIFAAAAAAAAAH0IAhIECgIICBoWCgFhEhFob2xkaW5nc1B1YmxpY0tleRoUCgFiEg9ob2xkaW5nc0FkZHJlc3MaBgoBYxIBaRoMCgFkEgdhc3NldElkGgsKAWUSBmFtb3VudBoMCgFmEgdvd25lcklkGgcKAWcSAnR4GgsKAWgSBnZlcmlmeQAAAAIAAAAAAWEBAAAAIOXdIUWzo+xH6Wo3eUXXdqXp3i8rCPbDs0z4AYmX0NtvAAAAAAFiCQEAAAAUYWRkcmVzc0Zyb21QdWJsaWNLZXkAAAABBQAAAAFhAAAAAQAAAAFjAQAAAApwdXRGb3JTYWxlAAAAAgAAAAFkAAAAAWUEAAAAAWYJAAJYAAAAAQgIBQAAAAFjAAAABmNhbGxlcgAAAAVieXRlcwkABEwAAAACCQEAAAALU3RyaW5nRW50cnkAAAACCQABLAAAAAIJAAEsAAAAAgIAAAAFc2FsZV8FAAAAAWQCAAAADl9vcmlnaW5hbE93bmVyBQAAAAFmCQAETAAAAAIJAQAAAAtTdHJpbmdFbnRyeQAAAAIJAAEsAAAAAgkAASwAAAACAgAAAAVzYWxlXwUAAAABZAIAAAAHX2Ftb3VudAUAAAABZQkABEwAAAACCQEAAAAOU2NyaXB0VHJhbnNmZXIAAAADBQAAAAFiAAAAAAAAAAABCQABmwAAAAEFAAAAAWQFAAAAA25pbAAAAAEAAAABZwEAAAABaAAAAAAJAAH0AAAAAwgFAAAAAWcAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAFnAAAABnByb29mcwAAAAAAAAAAAAgFAAAAAWcAAAAPc2VuZGVyUHVibGljS2V5J0J39Q==", "height": 1876571, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: none Next: CB5LqAWjxSYoW2jp6v4k233ovDHqo18uqSeCjzvvpFNk Full:
OldNewDifferences
1-# no script
1+{-# STDLIB_VERSION 5 #-}
2+{-# SCRIPT_TYPE ACCOUNT #-}
3+{-# CONTENT_TYPE DAPP #-}
4+let holdingsPublicKey = base58'GUHw1jkstNWTs9SX1KM3pMtq9HXjupvxiTd1urNhNoyY'
5+
6+let holdingsAddress = addressFromPublicKey(holdingsPublicKey)
7+
8+@Callable(i)
9+func putForSale (assetId,amount) = {
10+ let ownerId = toBase58String(i.caller.bytes)
11+[StringEntry((("sale_" + assetId) + "_originalOwner"), ownerId), StringEntry((("sale_" + assetId) + "_amount"), amount), ScriptTransfer(holdingsAddress, 1, toBytes(assetId))]
12+ }
13+
14+
15+@Verifier(tx)
16+func verify () = sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey)
17+

github/deemru/w8io/169f3d6 
216.32 ms