tx · F3j8Sa3nJBdqnhQ6NXuo3awHDTSQYCuUBUinDS8nNCoz
3MxC18ycPkobvHGcFgdbqw5pPzsRaVXzQVc: -0.01000000 Waves
2020.09.09 12:33 [1169610] smart account 3MxC18ycPkobvHGcFgdbqw5pPzsRaVXzQVc > SELF 0.00000000 Waves
{
"type": 13,
"id": "F3j8Sa3nJBdqnhQ6NXuo3awHDTSQYCuUBUinDS8nNCoz",
"fee": 1000000,
"feeAssetId": null,
"timestamp": 1599644030742,
"version": 2,
"chainId": 84,
"sender": "3MxC18ycPkobvHGcFgdbqw5pPzsRaVXzQVc",
"senderPublicKey": "8Z5j6xakjztevCJu4b7z5T5HtTu6gXF19a2sZfPaSPkE",
"proofs": [
"sj8ZFaNUcK6P4Q26LXbrg1jeg2WNqZvnMArb9r8tczkzLzvgVNywuLZBVTNpNvfrGrKV8RJW2wQFeJeUuR14Mk9"
],
"script": "base64:AwQAAAADa2V5AgAAAAlsYXN0UHJpY2UEAAAADW9yYWNsZUFkZHJlc3MJAQAAAAdBZGRyZXNzAAAAAQEAAAAaAVRaw8p5sssGXom9eh8xYlJsY3PtGauiAz8EAAAACWxhc3RQcmljZQkBAAAAEUBleHRyTmF0aXZlKDEwNTApAAAAAgUAAAANb3JhY2xlQWRkcmVzcwUAAAADa2V5BAAAAAtmaXJzdFNpZ25lZAMJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAAAAQAAABoBVFrDynmyywZeib16HzFiUmxjc+0Zq6IDPwAAAAAAAAAAAQAAAAAAAAAAAAkAAGcAAAACBQAAAAlsYXN0UHJpY2UAAAAAAAAAAMipNMjC",
"height": 1169610,
"applicationStatus": "succeeded",
"spentComplexity": 0
}
View: original | compacted
Prev: none
Next: none
Full:
Old | New | | Differences |
---|
1 | | - | # no script |
---|
| 1 | + | {-# STDLIB_VERSION 3 #-} |
---|
| 2 | + | {-# CONTENT_TYPE EXPRESSION #-} |
---|
| 3 | + | let key = "lastPrice" |
---|
| 4 | + | let oracleAddress = Address(base58'3MxC18ycPkobvHGcFgdbqw5pPzsRaVXzQVc') |
---|
| 5 | + | let lastPrice = getIntegerValue(oracleAddress, key) |
---|
| 6 | + | let firstSigned = if (sigVerify(tx.bodyBytes, tx.proofs[0], base58'3MxC18ycPkobvHGcFgdbqw5pPzsRaVXzQVc')) |
---|
| 7 | + | then 1 |
---|
| 8 | + | else 0 |
---|
| 9 | + | (lastPrice >= 200) |
---|