tx · 4LWThuebW8dUKH36CSzdsJFoPfU9dihtcuxk7tJYANVf

3N377MSFzFdwxW97ENpfqfZLYSnGzSMWvNN:  -0.01000000 Waves

2021.12.03 12:41 [1817937] smart account 3N377MSFzFdwxW97ENpfqfZLYSnGzSMWvNN > SELF 0.00000000 Waves

{ "type": 13, "id": "4LWThuebW8dUKH36CSzdsJFoPfU9dihtcuxk7tJYANVf", "fee": 1000000, "feeAssetId": null, "timestamp": 1638524522989, "version": 2, "chainId": 84, "sender": "3N377MSFzFdwxW97ENpfqfZLYSnGzSMWvNN", "senderPublicKey": "3TJhvM5a7VSAiRyvEVwygRkiPC9ow5nM4LQ252H4vxWK", "proofs": [ "5ynJyCVq2UsH6hhio3ckZSxsP36QTFTAY8dYWd5o7QJy4xykbxizPsnn2MQaj8JTuT2YXL1j1va9MDLB9XSBMnX4" ], "script": "base64:AAIFAAAAAAAAAAcIAhIDCgEBAAAAAQAAAAAFY2FuZG8CAAAAIzNNdVc0dDFqQ1hIdDhXUnNIVkxVYXIzMkVudkp4WmFRV0F4AAAAAQAAAAFpAQAAAAZjcmVhdGUAAAABAAAAAnh5BAAAAAN4eXMJAAGkAAAAAQUAAAACeHkDCQAAAAAAAAIFAAAABWNhbmRvCQACWAAAAAEICAUAAAABaQAAAAZjYWxsZXIAAAAFYnl0ZXMJAAUUAAAAAgkABEwAAAACCQEAAAALU3RyaW5nRW50cnkAAAACBQAAAAN4eXMJAAJYAAAAAQgIBQAAAAFpAAAABmNhbGxlcgAAAAVieXRlcwUAAAADbmlsBQAAAAR1bml0CQAAAgAAAAECAAAAINCS0Ysg0L3QtSDQvNC+0LbQtdGC0LUgdG8gY3JlYXRlAAAAAPGF6Ao=", "height": 1817937, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 3SXTf7EifCNFyFXo8TMX1Y9aL8QuRjWqxPCzMKHSrWd4 Next: 2WzuWjDwCbqZT8Xt1afXHRGPmL2bTmtvD6GPrW2n2n8m Diff:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
4-let isauthor = true
4+let cando = "3MuW4t1jCXHt8WRsHVLUar32EnvJxZaQWAx"
55
66 @Callable(i)
77 func create (xy) = {
88 let xys = toString(xy)
9- if (isauthor)
9+ if ((cando == toBase58String(i.caller.bytes)))
1010 then $Tuple2([StringEntry(xys, toBase58String(i.caller.bytes))], unit)
1111 else throw("Вы не можете to create")
1212 }
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
4-let isauthor = true
4+let cando = "3MuW4t1jCXHt8WRsHVLUar32EnvJxZaQWAx"
55
66 @Callable(i)
77 func create (xy) = {
88 let xys = toString(xy)
9- if (isauthor)
9+ if ((cando == toBase58String(i.caller.bytes)))
1010 then $Tuple2([StringEntry(xys, toBase58String(i.caller.bytes))], unit)
1111 else throw("Вы не можете to create")
1212 }
1313
1414

github/deemru/w8io/026f985 
19.21 ms