tx · FjXu5TEVVQBZhpfTEAE3JzLaC57CGA5jvHU8DNRWvnLL 3MzbJGw4eewZaFchoewZQv9mMH25AoNgMb3: -0.01500000 Waves 2019.09.13 19:41 [674674] smart account 3MzbJGw4eewZaFchoewZQv9mMH25AoNgMb3 > SELF 0.00000000 Waves
{ "type": 13, "id": "FjXu5TEVVQBZhpfTEAE3JzLaC57CGA5jvHU8DNRWvnLL", "fee": 1500000, "feeAssetId": null, "timestamp": 1568392903236, "version": 1, "sender": "3MzbJGw4eewZaFchoewZQv9mMH25AoNgMb3", "senderPublicKey": "FTjfgevHkmD3kcdRadPPNCxfsWvfecQ1cLQTtCPyN3BZ", "proofs": [ "CDdqZudJXsDoxSLkub5oTVewdkgAiw9DMuuGx8A3qkowiEatjJQjcFPRLQapwTQom59N9t5bXcxSxq48t5E9FFT" ], "script": "base64:AAIDAAAAAAAAAAoIARIGCgQICAICAAAAAgAAAAAJUlNBS2V5NTEyCQACWwAAAAECAAAAh2Jhc2U2NDpNRnd3RFFZSktvWklodmNOQVFFQkJRQURTd0F3U0FKQkFKUmRlYnA1R1hIYWdlejdrWisrZ05JdDBmTWU3V0d2Z3NrQkpBY29EbFFWbkE4Y05oL3NqeFNINjhoblhFVlRlMTdJbHNWcUxqSFlXMkpKVVpraUoxVUNBd0VBQVE9PQAAAAAKUlNBS2V5MjA0OAkAAlsAAAABAgAAAY9iYXNlNjQ6TUlJQklqQU5CZ2txaGtpRzl3MEJBUUVGQUFPQ0FROEFNSUlCQ2dLQ0FRRUFsZW1yOTVKMWpaVXM3Y0ptcm1tbE40em83WVZzQkp6SWVKZGs4TERGR2hVS1NJNnlmczIwWnlKZTIxKzZHSndObktVVTFVeW9jMTd3U1dNS2tyWjBNTXZZRStaNUFpaWp2Qks0c1NKM0lnR2pkVTgvTmhJOENCRHUwRit4Uk05cTNUQjNMTGJEeTVzQmR1ZFlmSGZzVU9jK01UdkFENjluMjdkYjJSaDgreVpRTXR1Ymt1VFFOcDg5c3BoSFFhTEd5UUZhTmxLL05hM2xGeDZvbXF6YWExZ2pvcGxVcjZydllLZ2ZBSUNVQjN6Vm1KU2hpRWk3dzdSMGhXbE5SRDNxY1pqQ1VPTlNwRm80V2J6a25HT2F6dzg0QitJTUlGbklwWFd6UUw4Ulgwdk5jZnNCdkxEZk02azJaYWNxd3lNS2FMTHFpZ2RCaUdkSjdXKzBsT1N0T1FJREFRQUIAAAABAAAAAWkBAAAACWNoZWNrU2lnbgAAAAQAAAAGbnVtYmVyAAAABFR4SWQAAAAJU2lnbmF0dXJlAAAACVB1YmxpY0tleQQAAAAEcG1udAkBAAAAB2V4dHJhY3QAAAABCAUAAAABaQAAAAdwYXltZW50BAAAAAxhc3NldElkY2hlY2sJAQAAAAlpc0RlZmluZWQAAAABCAUAAAAEcG1udAAAAAdhc3NldElkBAAAAAFhCQAB+AAAAAQFAAAABlNIQTI1NgkAAZsAAAABBQAAAARUeElkBQAAAAlTaWduYXR1cmUFAAAACVJTQUtleTUxMgkBAAAACFdyaXRlU2V0AAAAAQkABEwAAAACCQEAAAAJRGF0YUVudHJ5AAAAAgkAASwAAAACBQAAAAZudW1iZXICAAAABF9QdWIFAAAACVB1YmxpY0tleQkABEwAAAACCQEAAAAJRGF0YUVudHJ5AAAAAgkAASwAAAACBQAAAAZudW1iZXICAAAABV9UWElEBQAAAARUeElkCQAETAAAAAIJAQAAAAlEYXRhRW50cnkAAAACCQABLAAAAAIFAAAABm51bWJlcgIAAAAKX1NpZ25hdHVyZQUAAAAJU2lnbmF0dXJlCQAETAAAAAIJAQAAAAlEYXRhRW50cnkAAAACCQABLAAAAAIFAAAABm51bWJlcgIAAAAHX1ZlcmlmeQUAAAABYQUAAAADbmlsAAAAAQAAAAJ0eAEAAAAGdmVyaWZ5AAAAAAaz0T/o", "chainId": 84, "height": 674674, "spentComplexity": 0 } View: original | compacted Prev: 33Y9AaQ37qbyYsaGMLaLCF2VddeR5pxmCj3QwDwLNgis Next: J1GRAjN72CcSKj9Bb1Xxti7jk6Frid8bi6HsrXri6aJ9 Diff:
Old | New | Differences | |
---|---|---|---|
9 | 9 | func checkSign (d,e,f,g) = { | |
10 | 10 | let h = extract(c.payment) | |
11 | 11 | let i = isDefined(h.assetId) | |
12 | - | let j = { | |
13 | - | let k = h.assetId | |
14 | - | if ($isInstanceOf(k, "ByteVector")) | |
15 | - | then { | |
16 | - | let l = k | |
17 | - | l | |
18 | - | } | |
19 | - | else "null" | |
20 | - | } | |
21 | - | let l = rsaVerify(SHA256, toBytes(e), f, a) | |
22 | - | WriteSet([DataEntry((d + "_Pub"), g), DataEntry((d + "_TXID"), e), DataEntry((d + "_Signature"), f), DataEntry((d + "_Verify"), l), DataEntry((d + "_assetIdDefined"), i), DataEntry((d + "_assetIdDefined"), j)]) | |
12 | + | let j = rsaVerify(SHA256, toBytes(e), f, a) | |
13 | + | WriteSet([DataEntry((d + "_Pub"), g), DataEntry((d + "_TXID"), e), DataEntry((d + "_Signature"), f), DataEntry((d + "_Verify"), j)]) | |
23 | 14 | } | |
24 | 15 | ||
25 | 16 | ||
26 | - | @Verifier( | |
27 | - | func | |
17 | + | @Verifier(k) | |
18 | + | func l () = true | |
28 | 19 |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 3 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | let a = fromBase64String("base64:MFwwDQYJKoZIhvcNAQEBBQADSwAwSAJBAJRdebp5GXHagez7kZ++gNIt0fMe7WGvgskBJAcoDlQVnA8cNh/sjxSH68hnXEVTe17IlsVqLjHYW2JJUZkiJ1UCAwEAAQ==") | |
5 | 5 | ||
6 | 6 | let b = fromBase64String("base64:MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAlemr95J1jZUs7cJmrmmlN4zo7YVsBJzIeJdk8LDFGhUKSI6yfs20ZyJe21+6GJwNnKUU1Uyoc17wSWMKkrZ0MMvYE+Z5AiijvBK4sSJ3IgGjdU8/NhI8CBDu0F+xRM9q3TB3LLbDy5sBdudYfHfsUOc+MTvAD69n27db2Rh8+yZQMtubkuTQNp89sphHQaLGyQFaNlK/Na3lFx6omqzaa1gjoplUr6rvYKgfAICUB3zVmJShiEi7w7R0hWlNRD3qcZjCUONSpFo4WbzknGOazw84B+IMIFnIpXWzQL8RX0vNcfsBvLDfM6k2ZacqwyMKaLLqigdBiGdJ7W+0lOStOQIDAQAB") | |
7 | 7 | ||
8 | 8 | @Callable(c) | |
9 | 9 | func checkSign (d,e,f,g) = { | |
10 | 10 | let h = extract(c.payment) | |
11 | 11 | let i = isDefined(h.assetId) | |
12 | - | let j = { | |
13 | - | let k = h.assetId | |
14 | - | if ($isInstanceOf(k, "ByteVector")) | |
15 | - | then { | |
16 | - | let l = k | |
17 | - | l | |
18 | - | } | |
19 | - | else "null" | |
20 | - | } | |
21 | - | let l = rsaVerify(SHA256, toBytes(e), f, a) | |
22 | - | WriteSet([DataEntry((d + "_Pub"), g), DataEntry((d + "_TXID"), e), DataEntry((d + "_Signature"), f), DataEntry((d + "_Verify"), l), DataEntry((d + "_assetIdDefined"), i), DataEntry((d + "_assetIdDefined"), j)]) | |
12 | + | let j = rsaVerify(SHA256, toBytes(e), f, a) | |
13 | + | WriteSet([DataEntry((d + "_Pub"), g), DataEntry((d + "_TXID"), e), DataEntry((d + "_Signature"), f), DataEntry((d + "_Verify"), j)]) | |
23 | 14 | } | |
24 | 15 | ||
25 | 16 | ||
26 | - | @Verifier( | |
27 | - | func | |
17 | + | @Verifier(k) | |
18 | + | func l () = true | |
28 | 19 |
github/deemru/w8io/169f3d6 33.06 ms ◑