Hi. I want to call the nominator inside the contract now.
I want to use the deposit and withdrawal functions, but I'm not sure what data to put in. Can I get a document shared for people who want to write an application contract using the nominator?
And I want to save the deposit information about the user in the control, but when several users say they use this product, is there a general storage method like using Map data type in Solidity? I'd like to ask if I can share some example code links for me if there is.

Apr 13, 2023, 8:49 AM
ah. i use FunC language
Apr 13, 2023, 8:53 AM
I'm not sure I got your issue correctly, but maybe these references will be helpful:

The description and source code of the Nominator contract is placed in its GitHub repository - https://github.com/ton-blockchain/nominator-pool

MyTonWallet staking UI implementation - https://github.com/mytonwalletorg/mytonwallet/tree/master/src/components/staking
Apr 13, 2023, 9:05 AM

© 2024 Draquery.com All rights reserved.