tx · DkDZKqhUhqgos9z6cUShNMVCm2TanfExBAhPGGCzdErL

3MzBuApuRBa4JuWUpB2bLdJ6CxhCXzX1yDV:  -0.01000000 Waves

2023.01.02 21:22 [2387702] smart account 3MzBuApuRBa4JuWUpB2bLdJ6CxhCXzX1yDV > SELF 0.00000000 Waves

{ "type": 13, "id": "DkDZKqhUhqgos9z6cUShNMVCm2TanfExBAhPGGCzdErL", "fee": 1000000, "feeAssetId": null, "timestamp": 1672683604152, "version": 2, "chainId": 84, "sender": "3MzBuApuRBa4JuWUpB2bLdJ6CxhCXzX1yDV", "senderPublicKey": "2YWSmoYRSAcdKyakgiW5e1FrnkQHaxZyXqduxgLhHo82", "proofs": [ "AdiaS3CLNWurTmLwnw6ZFPrKCTkzVtxsDNLc29kquxrNnMYC11SNF72hiCCaZGjRUuhZaGzqicnNxYZpF4Z3Esq" ], "script": "base64:AAIDAAAAAAAAAAwIARIDCgEIEgMKAQgAAAAGAAAAAARzZWVkAgAAAGNtYW5hZ2UgbWFudWFsIHJlY2FsbCBoYXJ2ZXN0IHNlcmllcyBkZXNlcnQgbWVsdCBwb2xpY2Ugcm9zZSBob2xsb3cgbW9yYWwgcGxlZGdlIGtpdHRlbiBwb3NpdGlvbiBhZGQAAAAADXNlZWRXaXRoTm9uY2UBAAAAZwAAAABtYW5hZ2UgbWFudWFsIHJlY2FsbCBoYXJ2ZXN0IHNlcmllcyBkZXNlcnQgbWVsdCBwb2xpY2Ugcm9zZSBob2xsb3cgbW9yYWwgcGxlZGdlIGtpdHRlbiBwb3NpdGlvbiBhZGQAAAAADGFuc3dlcnNDb3VudAAAAAAAAAAAFAAAAAAHYW5zd2VycwkABEwAAAACAgAAAA5JdCBpcyBjZXJ0YWluLgkABEwAAAACAgAAABNJdCBpcyBkZWNpZGVkbHkgc28uCQAETAAAAAICAAAAEFdpdGhvdXQgYSBkb3VidC4JAARMAAAAAgIAAAARWWVzIC0gZGVmaW5pdGVseS4JAARMAAAAAgIAAAATWW91IG1heSByZ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AAAAAIFAAAADWNhbGxlckFkZHJlc3MCAAAACl90ZXN0Ymxha2UFAAAAA3RyeQUAAAADbmlsAAAAAPcDRIc=", "height": 2387702, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: HyMYawdFt1GNuGM8LWMTvjGaNcNn1v9Dbq9jTKV7rT5k Next: HGDXapf7Q6gowcHGsikrFCTC3pb1PHA9PHgpWCpMHEqt Diff:
OldNewDifferences
4343 let r = toBase58String(q)
4444 let s = toBase58String(blake2b256(b))
4545 let t = blake2b256(toBytes(a))
46- WriteSet([DataEntry((o + "_testbase58"), a), DataEntry((o + "_testseed"), r), DataEntry((o + "_testblake"), s)])
46+ WriteSet([DataEntry((o + "_testbase58"), a), DataEntry((o + "_testseed"), toBytes(r)), DataEntry((o + "_testblake"), s)])
4747 }
4848
4949
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 3 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let a = "manage manual recall harvest series desert melt police rose hollow moral pledge kitten position add"
55
66 let b = base58'1111xrv7ffrv2A9g5pKSxt7gHGrPYJgRnsEMDyc4G7srbia6PhXYLDKVsDxnqsEqhAVbbko7N1tDyaSrWCZBoMyvdwaFNjWNPjKdcoZTKbKr2Vw9vu53Uf4dYpyWCyvfPbRskHfgt9q'
77
88 let c = 20
99
1010 let d = ["It is certain.", "It is decidedly so.", "Without a doubt.", "Yes - definitely.", "You may rely on it.", "As I see it, yes.", "Most likely.", "Outlook good.", "Yes.", "Signs point to yes.", "Reply hazy, try again.", "Ask again later.", "Better not tell you now.", "Cannot predict now.", "Concentrate and ask again.", "Don't count on it.", "My reply is no.", "My sources say no.", "Outlook not so good.", "Very doubtful."]
1111
1212 func e (f,g) = {
1313 let h = sha256(toBytes((f + g)))
1414 let i = toInt(h)
1515 d[(i % c)]
1616 }
1717
1818
1919 func j (k) = {
2020 let l = getString(this, (k + "_a"))
2121 if ($isInstanceOf(l, "String"))
2222 then {
2323 let m = l
2424 m
2525 }
2626 else k
2727 }
2828
2929
3030 @Callable(n)
3131 func tellme (f) = {
3232 let o = toBase58String(n.caller.bytes)
3333 let p = e(f, j(o))
3434 WriteSet([DataEntry((o + "_q"), f), DataEntry((o + "_a"), p)])
3535 }
3636
3737
3838
3939 @Callable(n)
4040 func calculatePK (k) = {
4141 let o = toBase58String(n.caller.bytes)
4242 let q = toBytes(a)
4343 let r = toBase58String(q)
4444 let s = toBase58String(blake2b256(b))
4545 let t = blake2b256(toBytes(a))
46- WriteSet([DataEntry((o + "_testbase58"), a), DataEntry((o + "_testseed"), r), DataEntry((o + "_testblake"), s)])
46+ WriteSet([DataEntry((o + "_testbase58"), a), DataEntry((o + "_testseed"), toBytes(r)), DataEntry((o + "_testblake"), s)])
4747 }
4848
4949

github/deemru/w8io/026f985 
24.32 ms