tx · GtX86RMgmXKg9fkLEiRTjso8S3hUXNzwcRLKHaXtirxG
3MukPacWskGGNcT8ubWWzSwVPa9ah9KHvuB: -0.01500000 Waves
2019.06.26 20:20 [559388] smart account 3MukPacWskGGNcT8ubWWzSwVPa9ah9KHvuB > SELF 0.00000000 Waves
{
"type": 13,
"id": "GtX86RMgmXKg9fkLEiRTjso8S3hUXNzwcRLKHaXtirxG",
"fee": 1500000,
"feeAssetId": null,
"timestamp": 1561569680281,
"version": 1,
"sender": "3MukPacWskGGNcT8ubWWzSwVPa9ah9KHvuB",
"senderPublicKey": "H3q3RM4MQSLjCTYpgaitRNz8cKHhMtcwoUfc2c86cfej",
"proofs": [
"4yaF4UsNRdtL4Fb3rnb3rXjiMfRB9R57fxU8Tw1oxH83Z4Ywxyx3R55Z6qb9ShFvmDF5smdgtDxufjp9ZUQfGQ5D"
],
"script": "base64:AAIDAAAAAAAAAAAAAAAEAAAAAAZwdWJLZXkCAAAALDI4NlNCb0Ria2U4WVFSdDdWQmdvTEdKM3Z6NGNpM0paN2NoRFNHQjVZU0syAAAAAARwcml2AgAAACxIa0ttNWpLcUQ0RnlDdlBGUHBzRUZlaEdvYkNGOEhBbnNBN3BBZkQ4cGRyMQAAAAAEdHhJZAkAAZsAAAABAgAAACw5OWdpNXRNNWtVZUtSVTNIemd5a3J2NXU5WVU1d29FRmNhRjV4Uno3Nmo2VgAAAAAJUlNBUFVCTElDCQACWwAAAAECAAABj2Jhc2U2NDpNSUlCSWpBTkJna3Foa2lHOXcwQkFRRUZBQU9DQVE4QU1JSUJDZ0tDQVFFQXFsQWlBTlNtQnBESFlLUDlzS2dlTi9sMWJBYjI4Zy90R2xnRGt3VDVGaU1ONFgzcHdkdmR4RTdtdlNSOC80MWRVOXJ4NGpHKzZ0WnBiMVVMVkRQczQzMXRSMklSYVRYdzVDaitBYzJ2aEwrNUphbUNlckdEMVVXK2JoL0VHUXR4bzhXM1lMRHJvZlhCNVFISng0UGt6MktnZitvUy9DOGhIdUIvVTRrck83NlUwNTA3R1RqWlBQOWtSUTB1TFNNZXFRWHQ4d1hTK25NcDV3YWpxeFBwRExNYVNSRWdzS3d2L0FFa1A0ZHpwVFliaWtMQllsNHF0ZEpzRDg0SExGU2tpd2QzQmhjT3JQam9JWW1MeFF1QkQ1VElNS1RLRDNzZFpnYVk5cnN5cXgzQTAwaW5ueXhENnpwM2I0Z0ZwVU9YOEp4S1pkRUMybXlFcWxlTmdnN0d6d0lEQVFBQgAAAAEAAAABaQEAAAAJY2hlY2tTaWduAAAAAQAAAAZudW1iZXIJAQAAAAhXcml0ZVNldAAAAAEJAARMAAAAAgkBAAAACURhdGFFbnRyeQAAAAIJAAEsAAAAAgUAAAAGbnVtYmVyAgAAAARfUHViBQAAAAlSU0FQVUJMSUMJAARMAAAAAgkBAAAACURhdGFFbnRyeQAAAAIJAAEsAAAAAgUAAAAGbnVtYmVyAgAAAAVfVFhJRAUAAAAJUlNBUFVCTElDBQAAAANuaWwAAAABAAAAAnR4AQAAAAZ2ZXJpZnkAAAAABtlilEA=",
"chainId": 84,
"height": 559388,
"spentComplexity": 0
}
View: original | compacted
Prev: FUKh8dxHnJc2FB98heoYhHLUHxbSHpZUhH726nt8uFLA
Next: 5R7UtVZV1HdDpC7q5e1rAXZFpXmH1XS4PAJRKv5FDe9P
Diff:
Old | New | | Differences |
---|
5 | 5 | | |
---|
6 | 6 | | let priv = "HkKm5jKqD4FyCvPFPpsEFehGobCF8HAnsA7pAfD8pdr1" |
---|
7 | 7 | | |
---|
8 | | - | let txId = "99gi5tM5kUeKRU3Hzgykrv5u9YU5woEFcaF5xRz76j6V" |
---|
| 8 | + | let txId = toBytes("99gi5tM5kUeKRU3Hzgykrv5u9YU5woEFcaF5xRz76j6V") |
---|
9 | 9 | | |
---|
10 | 10 | | let RSAPUBLIC = fromBase64String("base64:MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAqlAiANSmBpDHYKP9sKgeN/l1bAb28g/tGlgDkwT5FiMN4X3pwdvdxE7mvSR8/41dU9rx4jG+6tZpb1ULVDPs431tR2IRaTXw5Cj+Ac2vhL+5JamCerGD1UW+bh/EGQtxo8W3YLDrofXB5QHJx4Pkz2Kgf+oS/C8hHuB/U4krO76U0507GTjZPP9kRQ0uLSMeqQXt8wXS+nMp5wajqxPpDLMaSREgsKwv/AEkP4dzpTYbikLBYl4qtdJsD84HLFSkiwd3BhcOrPjoIYmLxQuBD5TIMKTKD3sdZgaY9rsyqx3A00innyxD6zp3b4gFpUOX8JxKZdEC2myEqleNgg7GzwIDAQAB") |
---|
11 | 11 | | |
---|
12 | 12 | | @Callable(i) |
---|
13 | | - | func checkSign (number) = WriteSet([DataEntry((number + "_Pub"), RSAPUBLIC)]) |
---|
| 13 | + | func checkSign (number) = WriteSet([DataEntry((number + "_Pub"), RSAPUBLIC), DataEntry((number + "_TXID"), RSAPUBLIC)]) |
---|
14 | 14 | | |
---|
15 | 15 | | |
---|
16 | 16 | | @Verifier(tx) |
---|
Full:
Old | New | | Differences |
---|
1 | 1 | | {-# STDLIB_VERSION 3 #-} |
---|
2 | 2 | | {-# SCRIPT_TYPE ACCOUNT #-} |
---|
3 | 3 | | {-# CONTENT_TYPE DAPP #-} |
---|
4 | 4 | | let pubKey = "286SBoDbke8YQRt7VBgoLGJ3vz4ci3JZ7chDSGB5YSK2" |
---|
5 | 5 | | |
---|
6 | 6 | | let priv = "HkKm5jKqD4FyCvPFPpsEFehGobCF8HAnsA7pAfD8pdr1" |
---|
7 | 7 | | |
---|
8 | | - | let txId = "99gi5tM5kUeKRU3Hzgykrv5u9YU5woEFcaF5xRz76j6V" |
---|
| 8 | + | let txId = toBytes("99gi5tM5kUeKRU3Hzgykrv5u9YU5woEFcaF5xRz76j6V") |
---|
9 | 9 | | |
---|
10 | 10 | | let RSAPUBLIC = fromBase64String("base64:MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAqlAiANSmBpDHYKP9sKgeN/l1bAb28g/tGlgDkwT5FiMN4X3pwdvdxE7mvSR8/41dU9rx4jG+6tZpb1ULVDPs431tR2IRaTXw5Cj+Ac2vhL+5JamCerGD1UW+bh/EGQtxo8W3YLDrofXB5QHJx4Pkz2Kgf+oS/C8hHuB/U4krO76U0507GTjZPP9kRQ0uLSMeqQXt8wXS+nMp5wajqxPpDLMaSREgsKwv/AEkP4dzpTYbikLBYl4qtdJsD84HLFSkiwd3BhcOrPjoIYmLxQuBD5TIMKTKD3sdZgaY9rsyqx3A00innyxD6zp3b4gFpUOX8JxKZdEC2myEqleNgg7GzwIDAQAB") |
---|
11 | 11 | | |
---|
12 | 12 | | @Callable(i) |
---|
13 | | - | func checkSign (number) = WriteSet([DataEntry((number + "_Pub"), RSAPUBLIC)]) |
---|
| 13 | + | func checkSign (number) = WriteSet([DataEntry((number + "_Pub"), RSAPUBLIC), DataEntry((number + "_TXID"), RSAPUBLIC)]) |
---|
14 | 14 | | |
---|
15 | 15 | | |
---|
16 | 16 | | @Verifier(tx) |
---|
17 | 17 | | func verify () = true |
---|
18 | 18 | | |
---|