tx · 5D8Tp3SoMxSTyPg5xzLTHkh2XTADTHrSY19pTv7wdVt6
3N1hrmiXcrfodNXHfoar8uNkBZEKPAGq5yR: -0.01000000 Waves
2023.06.17 16:18 [2626683] smart account 3N1hrmiXcrfodNXHfoar8uNkBZEKPAGq5yR > SELF 0.00000000 Waves
{
"type": 13,
"id": "5D8Tp3SoMxSTyPg5xzLTHkh2XTADTHrSY19pTv7wdVt6",
"fee": 1000000,
"feeAssetId": null,
"timestamp": 1687007937850,
"version": 2,
"chainId": 84,
"sender": "3N1hrmiXcrfodNXHfoar8uNkBZEKPAGq5yR",
"senderPublicKey": "GP66F4kgVMbC7uyGiB6JeXvJFRco3fTdGeaUFSmf7YbB",
"proofs": [
"24SSbM5nyt5ttF6FW1knPgFQkFYmXcXfUx2z9BrbyW3izTC8zsj6NgPLztgafFHz1APrGyDSC1JpriiJDAP5w5FY"
],
"script": "base64:BgIHCAISAwoBAQMABWV0aElEAiwzVnVWNVdUbUR6NDdEbWRuM1FwY1lqemJTZGlwalFFNEpNZE5lMXhacFgxMwAHd2F2ZXNJRAIsREhnd3JSdlZ5cUpzZXBkMzJZYkJxVWVESDRHSjFOOTg0WDhRb2VramdIOEoBEHJhdGlvQ2FsY3VsYXRpb24CCWFtb3VudEVUSAthbW91bnRXQVZFUwUDbmlsAQFpAQhleGNoYW5nZQEGYW1vdW50BQNuaWwAeJUR9Q==",
"height": 2626683,
"applicationStatus": "succeeded",
"spentComplexity": 0
}
View: original | compacted
Prev: DPNheDLF9Uwf9D2PL4VGz5fJi31WBddt3rhQRuXEDWqR
Next: DpZUFPv2E7GUa61K8hTLM9WBTWs3sRUrNVFfzEPQzxqT
Full:
Old | New | | Differences |
---|
1 | 1 | | {-# STDLIB_VERSION 6 #-} |
---|
2 | 2 | | {-# SCRIPT_TYPE ACCOUNT #-} |
---|
3 | 3 | | {-# CONTENT_TYPE DAPP #-} |
---|
4 | | - | let kassetId = "AssetID" |
---|
| 4 | + | let ethID = "3VuV5WTmDz47Dmdn3QpcYjzbSdipjQE4JMdNe1xZpX13" |
---|
5 | 5 | | |
---|
6 | | - | @Callable(i) |
---|
7 | | - | func tokenIssuance () = { |
---|
8 | | - | let name = "BebraToken" |
---|
9 | | - | let lendescription = "Bebra by Kringe" |
---|
10 | | - | let quantity = 100000 |
---|
11 | | - | let decimals = 3 |
---|
12 | | - | let issueBebra = Issue(name, lendescription, quantity, decimals, true) |
---|
13 | | - | let assetId = calculateAssetId(issueBebra) |
---|
14 | | - | let knewToken = "Token" |
---|
15 | | - | let getNewToken = valueOrErrorMessage(getString(this, knewToken), "BebraToken is not defined") |
---|
16 | | - | [issueBebra, BinaryEntry(kassetId, assetId), StringEntry(knewToken, issueBebra.name)] |
---|
17 | | - | } |
---|
| 6 | + | let wavesID = "DHgwrRvVyqJsepd32YbBqUeDH4GJ1N984X8QoekjgH8J" |
---|
18 | 7 | | |
---|
| 8 | + | func ratioCalculation (amountETH,amountWAVES) = nil |
---|
19 | 9 | | |
---|
20 | 10 | | |
---|
21 | 11 | | @Callable(i) |
---|
22 | | - | func senderToken () = { |
---|
23 | | - | let f = valueOrErrorMessage(getBinaryValue(this, kassetId), "error") |
---|
24 | | - | [ScriptTransfer(i.caller, 20, f)] |
---|
25 | | - | } |
---|
| 12 | + | func exchange (amount) = nil |
---|
26 | 13 | | |
---|
27 | 14 | | |
---|