juncaswap

package
v0.2.8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 10, 2023 License: GPL-3.0 Imports: 3 Imported by: 0

README

build JuncaswapFactory

solc0.5.16 --abi --bin contract/JuncaswapFactory.sol -o contract/build --overwrite --optimize
go run ../../cmd/abigen/ --abi contract/build/JuncaswapV2Factory.abi --bin contract/build/JuncaswapV2Factory.bin --pkg contract --type JuncaswapFactory --out contract/JuncaswapFactory.go

build JuncaswapRouter

solc0.6.6 --abi --bin contract/JuncaswapRouter.sol -o contract/build/ --overwrite --optimize
go run ../../cmd/abigen/ --abi contract/build/JuncaswapV2Router02.abi --bin contract/build/JuncaswapV2Router02.bin --pkg contract --type JuncaswapRouter --out contract/JuncaswapRouter.go

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type JuncaswapFactory

type JuncaswapFactory struct {
	*contract.JuncaswapFactorySession
	// contains filtered or unexported fields
}

func DeployJuncaswapFactory

func DeployJuncaswapFactory(transactOpts *bind.TransactOpts, contractBackend bind.ContractBackend, feeToSetter common.Address) (common.Address, *JuncaswapFactory, error)

func NewJuncaswapFactory

func NewJuncaswapFactory(transactOpts *bind.TransactOpts, contractAddr common.Address, contractBackend bind.ContractBackend) (*JuncaswapFactory, error)

type JuncaswapRouter

type JuncaswapRouter struct {
	*contract.JuncaswapRouterSession
	// contains filtered or unexported fields
}

func DeployJuncaswapRouter

func DeployJuncaswapRouter(transactOpts *bind.TransactOpts, contractBackend bind.ContractBackend,
	factory, weth common.Address) (common.Address, *JuncaswapRouter, error)

func NewJuncaswapRouter

func NewJuncaswapRouter(transactOpts *bind.TransactOpts, contractAddr common.Address,
	contractBackend bind.ContractBackend) (*JuncaswapRouter, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL