everx-labs / ton-labs-contracts Goto Github PK
View Code? Open in Web Editor NEWSmart contracts for TON blockchain.
License: GNU Affero General Public License v3.0
Smart contracts for TON blockchain.
License: GNU Affero General Public License v3.0
Hi! Readme in C++ tokens-nonfungible folder is just a copy from fungible one. Can it be changed? There are not so much information about NFT in Free TON community, so every line of text is gold
need --abi parameter
"allBalance" - use true (and value = 0) if you need to transfer all contract funds. Don't use value equal to contract balance to send all remaining tokens, such transaction will fail because before the value is subtracted from balance, gas and storage fees are consumed and the remaining balance will be less than value.
This documentation has contradiction with solidity code, where min value set in 1e6
The checking that mentioned above won't be passed.
We see that "realValue" won't equal to the balance because gas will continue to be spending due to later the code will be invoked.
The question is appeared because we couldn't be able to send all balance due to insufficient balance error. Even if we bypass limitation when set initial value as 1e6 for the passing checking with min value, we will have error "Account has insufficient balance for the requested operation. Send some value to account balance"
Hello!
I trying to compile setcodemultisig contract and getting a lot of warning and 3 errors.
I have fixed warnings but i don't know what doing with following errors:
Error: Different number of components on the left hand side (2) than on the right hand side (1).
--> SetcodeMultisigWallet.sol:209:9:
|
209 | (bool exists, uint8 index) = m_custodians.fetch(senderKey);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Error: Type optional(uint8) is not implicitly convertible to expected type bool.
--> SetcodeMultisigWallet.sol:209:9:
|
209 | (bool exists, uint8 index) = m_custodians.fetch(senderKey);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Error: Member "transLT" not found or not visible after argument-dependent lookup in tvm.
--> SetcodeMultisigWallet.sol:216:39:
|
216 | return (uint64(now) << 32) | (tvm.transLT() & 0xFFFFFFFF);
| ^^^^^^^^^^^
Somebody know how handle with it?
May be i need use other compiler ?
Now i use compiler with tondev package
6.4. Minting new tokens
./tonos-cli call <root_address> mint '{"tokens":""}' --sign "<seed_phrase>"
need .abi file
please change "withdrawPart" to "stake withdrawPart"
Need .abi file
./tonos-cli call <root_address> grant '{"dest":"","tokens":"","grams":""}' --sign "<seed_phrase>"
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.