Documentation
¶
Index ¶
- func CreateClient(ctx context.Context, url string) (*ton.APIClient, error)
- func CreateRandomHighloadWallet(client ton.APIClientWrapped) (*wallet.Wallet, error)deprecated
- func CreateRandomWallet(client ton.APIClientWrapped, version wallet.VersionConfig, ...) (*wallet.Wallet, error)deprecated
- func DataStoreToAddressBook(ds *ds.MemoryDataStore) (*cldf.AddressBookMap, error)
- func FundWallets(t *testing.T, client ton.APIClientWrapped, recipients []*address.Address, ...) error
- func FundWalletsNoT(client ton.APIClientWrapped, recipients []*address.Address, ...) error
- func FundWalletsWithCtx(ctx context.Context, client ton.APIClientWrapped, ...) error
- func GetLocalnetFunderWallet(client ton.APIClientWrapped) (*wallet.Wallet, error)deprecated
- func InvokeDeployContractOperation(b operations.Bundle, dp *dep.DependencyProvider, chainSelector uint64, ...) (*ds.AddressRef, error)
- func StartChain(t *testing.T, chainID uint64, once *sync.Once) (cldf_ton.Chain, error)
- type CompiledContractData
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateRandomHighloadWallet
deprecated
func CreateRandomHighloadWallet(client ton.APIClientWrapped) (*wallet.Wallet, error)
Deprecated: use tvm.NewRandomHighloadV3TestWallet instead
func CreateRandomWallet
deprecated
func CreateRandomWallet(client ton.APIClientWrapped, version wallet.VersionConfig, option wallet.Option) (*wallet.Wallet, error)
Deprecated: use tvm.NewRandomTestWallet instead
func DataStoreToAddressBook ¶
func DataStoreToAddressBook(ds *ds.MemoryDataStore) (*cldf.AddressBookMap, error)
DataStoreToAddressBook is a temp function to transform a DataStore to the legacy AddressBook. Couldn't find any utility function to do this. Once we adopt this new change set in CLD we can remove returning AddressBook at all :)
func FundWallets ¶
func FundWalletsNoT ¶
func FundWalletsWithCtx ¶
func GetLocalnetFunderWallet
deprecated
func GetLocalnetFunderWallet(client ton.APIClientWrapped) (*wallet.Wallet, error)
Deprecated: use tvm.MyLocalTONWalletDefault instead
func InvokeDeployContractOperation ¶
func InvokeDeployContractOperation(b operations.Bundle, dp *dep.DependencyProvider, chainSelector uint64, compiledContract CompiledContractData, storage any, messageBody any, coin string, semver *semver.Version) (*ds.AddressRef, error)
InvokeDeployContractOperation deploys a TON contract if it's not already deployed. It checks the current address, executes the deployment operation if needed, Returns an error if the deployment fails.
Types ¶
type CompiledContractData ¶
Click to show internal directories.
Click to hide internal directories.