tx · 6wh6cc9o5oLPGnod6J9XgmMZt4EoEx8eX6c5P2CUkXBz
3MthsuC5EDyehGoKvyzwhZvMENroHPsgaXS: -0.01400000 Waves
2021.12.20 12:59 [1842429] smart account 3MthsuC5EDyehGoKvyzwhZvMENroHPsgaXS > SELF 0.00000000 Waves
{
"type": 13,
"id": "6wh6cc9o5oLPGnod6J9XgmMZt4EoEx8eX6c5P2CUkXBz",
"fee": 1400000,
"feeAssetId": null,
"timestamp": 1639994396522,
"version": 2,
"chainId": 84,
"sender": "3MthsuC5EDyehGoKvyzwhZvMENroHPsgaXS",
"senderPublicKey": "ALsqwPqiUP3bVbM7grozc1Y5oHVBAGKqACRJ5J8RXceC",
"proofs": [
"aiEDREgrhyooFdvR5syDuqSHK4tu3xMRNE8xFB1EzVz6KyeZ243XHEWGDZ2UwTXDAxo9cbb93kCy25f96i2iEbj"
],
"script": null,
"height": 1842429,
"applicationStatus": "succeeded",
"spentComplexity": 0
}
View: original | compacted
Prev: BNKPZsnN9TqMM7NYFeJqPNMUgZEgdY3kqGt4GZohiYFj
Next: 6ekYVVvWeTh4AM31wBEuaVXjciLKBeC3pC11DVos7GLF
Full:
Old | New | | Differences |
---|
1 | | - | {-# STDLIB_VERSION 4 #-} |
---|
2 | | - | {-# SCRIPT_TYPE ACCOUNT #-} |
---|
3 | | - | {-# CONTENT_TYPE DAPP #-} |
---|
4 | | - | func calcScaleValue () = { |
---|
5 | | - | let assetId1Decimals = 6 |
---|
6 | | - | let assetId2Decimals = 8 |
---|
7 | | - | let scaleDigits = ((assetId2Decimals - assetId1Decimals) + 8) |
---|
8 | | - | pow(10, 0, scaleDigits, 0, 0, HALFDOWN) |
---|
9 | | - | } |
---|
10 | | - | |
---|
11 | | - | |
---|
12 | | - | @Callable(i) |
---|
13 | | - | func call () = { |
---|
14 | | - | let scaleValue = calcScaleValue() |
---|
15 | | - | [IntegerEntry("scaleValue", scaleValue)] |
---|
16 | | - | } |
---|
17 | | - | |
---|
18 | | - | |
---|
19 | | - | @Verifier(tx) |
---|
20 | | - | func verify () = sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey) |
---|
21 | | - | |
---|
| 1 | + | # no script |
---|