TON Дев Чат
lite-client --cmd "sendfile query.boc"
address EQAXBrX7Jc48VyZk3cV_j_GJbnmgI1ZzEtJXiHFzIBGMqqYI, проверил уже isTestOnly, все равно ошибка, думал ошибка фразе но нет
address EQAl2EX0NhOOhJSk-RsRAVmTr4oi6spSU8jZ-JUixkkDTcfI
addr
файла?
cat /var/ton-work/db/config.json | grep port
4.2. netstat -ntlup
5. Check the availability of ports from the outside. Or write your ip-address, we will check it ourselvestcpdump udp port ....
{ '@type': 'ok', '@extra': '1642661521.8569505:0.03076366709939482' }. Может вообще кто описывать что это и можно из этого получить данные о транзакций, и если транзакций с ошибкой будет то как вообще понять?
'if' and 'else' branches should both return or both not return
slice empty_slice() asm
"<b b> <s PUSHSLICE";
inline
и inline_ref
, будет норм
int length(tuple t) asm "TLEN";
t.length()
или length(t)
int length(tuple t) asm "TLEN";
newtype
как в хаскеле
store_slice
: cannot unify type (builder, ??97) with builder{ bl word 1 2 ' (create) } "::" 1 (create)
1
— это режим для (create)
.::
активное слово, поэтому оно должно положить на стек аргументы, их число и затем execution token. Последнее это ' (create)
. Число аргументов это 2
. Аргументы это название и 1
(режим для (create)
)
iwловлю ошибку
Error: 'NoneType' object has no attribute 'GetValidatorStatus'
SENDRAWMSG (c x – ), sends a raw message contained in Cell c, which should contain a correctly serialized object Message X, with the only exception that the source address is allowed to have dummy value addr_none (to be automatically replaced with the current smartcontract address), and ihr_fee, fwd_fee, created_lt and created_at fields can have arbitrary values (to be rewritten with correct values during the action phase of the current transaction). Integer parameter x contains the flags. Currently x = 0 is used for ordinary messages; x = 128 is used for messages that are to carry all the remaining balance of the current smart contract (instead of the value originally indicated in the message); x = 64 is used for messages that carry all the remaining value of the inbound message in addition to the value initially indicated in the new message (if bit 0 is not set, the gas fees are deducted from this amount); x′ = x + 1 means that the sender wants to pay transfer fees separately; x′ = x + 2 means that any errors arising while processing this message during the action phase should be ignored. Finally, x′ = x + 32 means that the current account must be destroyed if its resulting balance is zero. This flag is usually employed together with +128.
func <(echo '_ seqno() method_id { return 1; } _ main() { return 1; }')
85143 DECLMETHOD seqno
85143
получено из строки "seqno"
node -e 'console.log((require("crc").crc16xmodem("seqno") & 0xffff) | 0x10000)'
85143
#define
есть )
#include "my_func_file.fc"
… .store(MY_VAR) …
clang -E -DMY_VAR=666 ./a.cpp
GET /api/v5/market/candles
https://www.okx.com/docs-v5/en/#rest-api-market-data-get-candlesticks
https://toncenter.com/api/v2/jsonRPC
validator-console
setverbosity 2
tail -f /var/ton-work/log.thread*
0 constant recv_internal // to run recv_internal()
-1 constant recv_external // to invoke recv_external()