tx · FeT4zrhDC8baQ1tFdj71uPV7MQZBuXqjWPhsbA3TvHQD
3MzbJGw4eewZaFchoewZQv9mMH25AoNgMb3: -0.01500000 Waves
2019.09.20 17:11 [684744] smart account 3MzbJGw4eewZaFchoewZQv9mMH25AoNgMb3 > SELF 0.00000000 Waves
{
"type": 13,
"id": "FeT4zrhDC8baQ1tFdj71uPV7MQZBuXqjWPhsbA3TvHQD",
"fee": 1500000,
"feeAssetId": null,
"timestamp": 1568988564831,
"version": 1,
"sender": "3MzbJGw4eewZaFchoewZQv9mMH25AoNgMb3",
"senderPublicKey": "FTjfgevHkmD3kcdRadPPNCxfsWvfecQ1cLQTtCPyN3BZ",
"proofs": [
"53n3zgLYPH9ZrFdEU1XWJ8yFGyNMtxyvr5iZppFeHyYH65nytpu2pd8ABJwWNuwLREtAQMbyYXfLYCxg8af9GgYr"
],
"script": "base64:AAIDAAAAAAAAAAoIARIGCgQICAICAAAAAAAAAAEAAAABaQEAAAAJY2hlY2tTaWduAAAABAAAAAZudW1iZXIAAAAEVHhJZAAAAApTaWduYXR1cmUxAAAAClB1YmxpY0tleTEEAAAAAmExCQAB+AAAAAQFAAAABlNIQTI1NgkAAZsAAAABBQAAAARUeElkBQAAAApTaWduYXR1cmUxBQAAAApQdWJsaWNLZXkxCQEAAAAIV3JpdGVTZXQAAAABCQAETAAAAAIJAQAAAAlEYXRhRW50cnkAAAACCQABLAAAAAIFAAAABm51bWJlcgIAAAAFX1RYSUQFAAAABFR4SWQJAARMAAAAAgkBAAAACURhdGFFbnRyeQAAAAIJAAEsAAAAAgUAAAAGbnVtYmVyAgAAAAhfVmVyaWZ5MQUAAAACYTEFAAAAA25pbAAAAAEAAAACdHgBAAAABnZlcmlmeQAAAAAGz7iIxA==",
"chainId": 84,
"height": 684744,
"spentComplexity": 0
}
View: original | compacted
Prev: 518obKXosGnX6zUmSFEVbaNLKD4KNcLMHFC5Fc3w1zQQ
Next: CCRqrLH2QzL3vHFoaP4eMjwMAJBJdodwxA5CmpAgDgsH
Diff:
Old | New | | Differences |
---|
4 | 4 | | |
---|
5 | 5 | | |
---|
6 | 6 | | @Callable(i) |
---|
7 | | - | func checkSign (number,TxId,Signature1,Signature2,Signature3,PublicKey1,PublicKey2,PublicKey3) = { |
---|
8 | | - | let pmnt = extract(i.payment) |
---|
9 | | - | let assetIdcheck = isDefined(pmnt.assetId) |
---|
| 7 | + | func checkSign (number,TxId,Signature1,PublicKey1) = { |
---|
10 | 8 | | let a1 = rsaVerify(SHA256, toBytes(TxId), Signature1, PublicKey1) |
---|
11 | | - | let a2 = rsaVerify(SHA256, toBytes(TxId), Signature2, PublicKey2) |
---|
12 | | - | let a3 = rsaVerify(SHA256, toBytes(TxId), Signature3, PublicKey2) |
---|
13 | | - | WriteSet([DataEntry((number + "_TXID"), TxId), DataEntry((number + "_Verify1"), a1), DataEntry((number + "_Verify2"), a2), DataEntry((number + "_Verify3"), a3)]) |
---|
| 9 | + | WriteSet([DataEntry((number + "_TXID"), TxId), DataEntry((number + "_Verify1"), a1)]) |
---|
14 | 10 | | } |
---|
15 | 11 | | |
---|
16 | 12 | | |
---|
Full:
Old | New | | Differences |
---|
1 | 1 | | {-# STDLIB_VERSION 3 #-} |
---|
2 | 2 | | {-# SCRIPT_TYPE ACCOUNT #-} |
---|
3 | 3 | | {-# CONTENT_TYPE DAPP #-} |
---|
4 | 4 | | |
---|
5 | 5 | | |
---|
6 | 6 | | @Callable(i) |
---|
7 | | - | func checkSign (number,TxId,Signature1,Signature2,Signature3,PublicKey1,PublicKey2,PublicKey3) = { |
---|
8 | | - | let pmnt = extract(i.payment) |
---|
9 | | - | let assetIdcheck = isDefined(pmnt.assetId) |
---|
| 7 | + | func checkSign (number,TxId,Signature1,PublicKey1) = { |
---|
10 | 8 | | let a1 = rsaVerify(SHA256, toBytes(TxId), Signature1, PublicKey1) |
---|
11 | | - | let a2 = rsaVerify(SHA256, toBytes(TxId), Signature2, PublicKey2) |
---|
12 | | - | let a3 = rsaVerify(SHA256, toBytes(TxId), Signature3, PublicKey2) |
---|
13 | | - | WriteSet([DataEntry((number + "_TXID"), TxId), DataEntry((number + "_Verify1"), a1), DataEntry((number + "_Verify2"), a2), DataEntry((number + "_Verify3"), a3)]) |
---|
| 9 | + | WriteSet([DataEntry((number + "_TXID"), TxId), DataEntry((number + "_Verify1"), a1)]) |
---|
14 | 10 | | } |
---|
15 | 11 | | |
---|
16 | 12 | | |
---|
17 | 13 | | @Verifier(tx) |
---|
18 | 14 | | func verify () = true |
---|
19 | 15 | | |
---|