contract

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: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var JuncaswapFactoryABI = JuncaswapFactoryMetaData.ABI

JuncaswapFactoryABI is the input ABI used to generate the binding from. Deprecated: Use JuncaswapFactoryMetaData.ABI instead.

View Source
var JuncaswapFactoryBin = JuncaswapFactoryMetaData.Bin

JuncaswapFactoryBin is the compiled bytecode used for deploying new contracts. Deprecated: Use JuncaswapFactoryMetaData.Bin instead.

View Source
var JuncaswapFactoryMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_feeToSetter\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"token0\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"token1\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"pair\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"name\":\"PairCreated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"token0\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"token1\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"pair\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"PairCreated\",\"type\":\"event\"},{\"constant\":true,\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"allPairs\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"allPairsLength\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"address\",\"name\":\"tokenA\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"tokenB\",\"type\":\"address\"},{\"internalType\":\"bool\",\"name\":\"_gasless\",\"type\":\"bool\"}],\"name\":\"createPair\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"pair\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"feeTo\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"feeToSetter\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"gasPerTx\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"getCodeHash\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"payable\":false,\"stateMutability\":\"pure\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"getPair\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"address\",\"name\":\"_feeTo\",\"type\":\"address\"}],\"name\":\"setFeeTo\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"address\",\"name\":\"_feeToSetter\",\"type\":\"address\"}],\"name\":\"setFeeToSetter\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_gasPerTx\",\"type\":\"uint256\"}],\"name\":\"setGasPerTx\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
	Bin: "0x60806040526611c37937e0800060025534801561001b57600080fd5b506040516135093803806135098339818101604052602081101561003e57600080fd5b5051600180546001600160a01b0319166001600160a01b0390921691909117905561349b8061006e6000396000f3fe608060405234801561001057600080fd5b50600436106100a95760003560e01c80635d96feb1116100715780635d96feb11461011957806382dfdce41461013857806383dd41c614610170578063a2e74af614610178578063e6a439051461019e578063f46901ed146101cc576100a9565b8063017e7e58146100ae578063094b7415146100d25780631e3dd18b146100da5780633fe43f40146100f7578063574f2ba314610111575b600080fd5b6100b66101f2565b604080516001600160a01b039092168252519081900360200190f35b6100b6610201565b6100b6600480360360208110156100f057600080fd5b5035610210565b6100ff610237565b60408051918252519081900360200190f35b6100ff61023d565b6101366004803603602081101561012f57600080fd5b5035610243565b005b6100b66004803603606081101561014e57600080fd5b506001600160a01b0381358116916020810135909116906040013515156102a0565b6100ff6105f1565b6101366004803603602081101561018e57600080fd5b50356001600160a01b0316610623565b6100b6600480360360408110156101b457600080fd5b506001600160a01b038135811691602001351661069d565b610136600480360360208110156101e257600080fd5b50356001600160a01b03166106c3565b6000546001600160a01b031681565b6001546001600160a01b031681565b6004818154811061021d57fe5b6000918252602090912001546001600160a01b0316905081565b60025481565b60045490565b6001546001600160a01b0316331461029b576040805162461bcd60e51b8152602060048201526016602482015275253ab731b0b9bbb0b82b191d102327a92124a22222a760511b604482015290519081900360640190fd5b600255565b6000826001600160a01b0316846001600160a01b03161415610309576040805162461bcd60e51b815260206004820181905260248201527f4a756e63617377617056323a204944454e544943414c5f414444524553534553604482015290519081900360640190fd5b600080846001600160a01b0316866001600160a01b03161061032c57848661032f565b85855b90925090506001600160a01b03821661038f576040805162461bcd60e51b815260206004820152601960248201527f4a756e63617377617056323a205a45524f5f4144445245535300000000000000604482015290519081900360640190fd5b6001600160a01b03828116600090815260036020908152604080832085851684529091529020541615610409576040805162461bcd60e51b815260206004820152601860248201527f4a756e63617377617056323a20504149525f4558495354530000000000000000604482015290519081900360640190fd5b60606040518060200161041b9061073d565b6020820181038252601f19601f8201166040525090506000838360405160200180836001600160a01b03166001600160a01b031660601b8152601401826001600160a01b03166001600160a01b031660601b815260140192505050604051602081830303815290604052805190602001209050808251602084016000f560408051633fb3e5cd60e21b81526001600160a01b0387811660048301528681166024830152336044830152891515606483015291519297509087169163fecf97349160848082019260009290919082900301818387803b1580156104fc57600080fd5b505af1158015610510573d6000803e3d6000fd5b5050506001600160a01b0380861660008181526003602081815260408084208a87168086529083528185208054978e166001600160a01b031998891681179091559383528185208686528352818520805488168517905560048054600181018255958190527f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19b9095018054909716841790965592548351928352908201528a151581830152905192935090917f30fcf386678f0a00ca73486610fda45a0bd09cb9ede7e2e5078f4c842f21b1da9181900360600190a3505050509392505050565b6000604051806020016106039061073d565b6020820181038252601f19601f8201166040525080519060200120905090565b6001546001600160a01b0316331461067b576040805162461bcd60e51b8152602060048201526016602482015275253ab731b0b9bbb0b82b191d102327a92124a22222a760511b604482015290519081900360640190fd5b600180546001600160a01b0319166001600160a01b0392909216919091179055565b60036020908152600092835260408084209091529082529020546001600160a01b031681565b6001546001600160a01b0316331461071b576040805162461bcd60e51b8152602060048201526016602482015275253ab731b0b9bbb0b82b191d102327a92124a22222a760511b604482015290519081900360640190fd5b600080546001600160a01b0319166001600160a01b0392909216919091179055565b612d1c8061074b8339019056fe60806040526001600c55670de0b6b3a7640000600e5534801561002157600080fd5b506040514690806052612cca8239604080519182900360520182208282018252600983526804a756e6361737761760bc1b6020938401528151808301835260018152603160f81b908401528151808401919091527f264c154eeef56d3848be68170b1728390c8488187af6632050762da8dfe77213818301527fc89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc6606082015260808101949094523060a0808601919091528151808603909101815260c09094019052825192019190912060035550600580546001600160a01b03191633179055612bba806101106000396000f3fe6080604052600436106102045760003560e01c80635a3d549311610118578063bc25cf77116100a0578063dd62ed3e1161006f578063dd62ed3e1461075e578063df49804a14610799578063f96cab27146107ae578063fecf9734146107de578063fff6cae91461082957610204565b8063bc25cf77146106a3578063c45a0155146106d6578063d21220a7146106eb578063d505accf1461070057610204565b80637ecebe00116100e75780637ecebe00146105c157806389afcb44146105f457806395d89b4114610640578063a9059cbb14610655578063ba9a7a561461068e57610204565b80635a3d5493146105315780636a6278421461054657806370a08231146105795780637464fc3d146105ac57610204565b8063264adff81161019b5780633619c6691161016a5780633619c669146104c85780633644e515146104dd578063391e0cc8146104f25780633fe43f40146105075780635909c0d51461051c57610204565b8063264adff8146102045780632ddb301b1461047357806330adf81f14610488578063313ce5671461049d57610204565b80630dfe1681116101d75780630dfe1681146103c357806318160ddd146103f45780631d1438481461041b57806323b872dd1461043057610204565b8063022c0d9f1461020e57806306fdde03146102a75780630902f1ac14610331578063095ea7b314610376575b61020c61083e565b005b34801561021a57600080fd5b5061020c6004803603608081101561023157600080fd5b8135916020810135916001600160a01b03604083013516919081019060808101606082013564010000000081111561026857600080fd5b82018360208201111561027a57600080fd5b8035906020019184600183028401116401000000008311171561029c57600080fd5b5090925090506108b8565b3480156102b357600080fd5b506102bc611096565b6040805160208082528351818301528351919283929083019185019080838360005b838110156102f65781810151838201526020016102de565b50505050905090810190601f1680156103235780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561033d57600080fd5b506103466110bb565b604080516001600160701b03948516815292909316602083015263ffffffff168183015290519081900360600190f35b34801561038257600080fd5b506103af6004803603604081101561039957600080fd5b506001600160a01b0381351690602001356110e5565b604080519115158252519081900360200190f35b3480156103cf57600080fd5b506103d86110fc565b604080516001600160a01b039092168252519081900360200190f35b34801561040057600080fd5b5061040961110b565b60408051918252519081900360200190f35b34801561042757600080fd5b506103d8611111565b34801561043c57600080fd5b506103af6004803603606081101561045357600080fd5b506001600160a01b03813581169160208101359091169060400135611125565b34801561047f57600080fd5b506104096111bf565b34801561049457600080fd5b506104096111c4565b3480156104a957600080fd5b506104b26111e8565b6040805160ff9092168252519081900360200190f35b3480156104d457600080fd5b506104096111ed565b3480156104e957600080fd5b506104096111f3565b3480156104fe57600080fd5b506103af6111f9565b34801561051357600080fd5b50610409611202565b34801561052857600080fd5b50610409611297565b34801561053d57600080fd5b5061040961129d565b34801561055257600080fd5b506104096004803603602081101561056957600080fd5b50356001600160a01b03166112a3565b34801561058557600080fd5b506104096004803603602081101561059c57600080fd5b50356001600160a01b031661165f565b3480156105b857600080fd5b50610409611671565b3480156105cd57600080fd5b50610409600480360360208110156105e457600080fd5b50356001600160a01b0316611677565b34801561060057600080fd5b506106276004803603602081101561061757600080fd5b50356001600160a01b0316611689565b6040805192835260208301919091528051918290030190f35b34801561064c57600080fd5b506102bc611aeb565b34801561066157600080fd5b506103af6004803603604081101561067857600080fd5b506001600160a01b038135169060200135611b0f565b34801561069a57600080fd5b50610409611b1c565b3480156106af57600080fd5b5061020c600480360360208110156106c657600080fd5b50356001600160a01b0316611b22565b3480156106e257600080fd5b506103d8611c8f565b3480156106f757600080fd5b506103d8611c9e565b34801561070c57600080fd5b5061020c600480360360e081101561072357600080fd5b506001600160a01b03813581169160208101359091169060408101359060608101359060ff6080820135169060a08101359060c00135611cad565b34801561076a57600080fd5b506104096004803603604081101561078157600080fd5b506001600160a01b0381358116916020013516611eb1565b3480156107a557600080fd5b50610627611ece565b3480156107ba57600080fd5b5061020c600480360360408110156107d157600080fd5b5080359060200135611ed8565b3480156107ea57600080fd5b5061020c6004803603608081101561080157600080fd5b506001600160a01b038135811691602081013582169160408201351690606001351515611f41565b34801561083557600080fd5b5061020c611ff3565b670de0b6b3a764000034101580156108585750600d5460ff165b610895576040805162461bcd60e51b81526020600482015260096024820152682327a92124a22222a760b91b604482015290519081900360640190fd5b600e5447116108b657600d8054610100600160a81b03191633610100021790555b565b600c54600114610905576040805162461bcd60e51b8152602060048201526013602482015272129d5b98d85cddd85c158c8e881313d0d2d151606a1b604482015290519081900360640190fd5b6000600c55600d5460ff1615610967576f4a756e636173776170526f75746572323314610967576040805162461bcd60e51b815260206004820152601d6024820152600080516020612b1d833981519152604482015290519081900360640190fd5b600d5460ff166109c4576f4a756e636173776170526f75746572323314156109c4576040805162461bcd60e51b815260206004820152601d6024820152600080516020612b1d833981519152604482015290519081900360640190fd5b60008511806109d35750600084115b610a0e5760405162461bcd60e51b8152600401808060200182810382526027815260200180612aa26027913960400191505060405180910390fd5b600080610a196110bb565b5091509150816001600160701b031687108015610a3e5750806001600160701b031686105b610a795760405162461bcd60e51b8152600401808060200182810382526023815260200180612b3d6023913960400191505060405180910390fd5b600d5460ff1615610b7b576005546040805162ff90fd60e61b815290516000926001600160a01b031691633fe43f40916004808301926020929190829003018186803b158015610ac857600080fd5b505afa158015610adc573d6000803e3d6000fd5b505050506040513d6020811015610af257600080fd5b5051905047811115610b4b576040805162461bcd60e51b815260206004820152601d60248201527f4a756e63617377617056323a2047415320494e53554646494349454e54000000604482015290519081900360640190fd5b604051419082156108fc029083906000818181858888f19350505050158015610b78573d6000803e3d6000fd5b50505b60065460075460009182916001600160a01b03918216919081169089168214801590610bb95750806001600160a01b0316896001600160a01b031614155b610c0a576040805162461bcd60e51b815260206004820152601760248201527f4a756e63617377617056323a20494e56414c49445f544f000000000000000000604482015290519081900360640190fd5b8a15610c1b57610c1b828a8d612157565b8915610c2c57610c2c818a8c612157565b8615610ce757886001600160a01b031663a7de6e5b338d8d8c8c6040518663ffffffff1660e01b815260040180866001600160a01b03166001600160a01b03168152602001858152602001848152602001806020018281038252848482818152602001925080828437600081840152601f19601f8201169050808301925050509650505050505050600060405180830381600087803b158015610cce57600080fd5b505af1158015610ce2573d6000803e3d6000fd5b505050505b604080516370a0823160e01b815230600482015290516001600160a01b038416916370a08231916024808301926020929190829003018186803b158015610d2d57600080fd5b505afa158015610d41573d6000803e3d6000fd5b505050506040513d6020811015610d5757600080fd5b5051604080516370a0823160e01b815230600482015290519195506001600160a01b038316916370a0823191602480820192602092909190829003018186803b158015610da357600080fd5b505afa158015610db7573d6000803e3d6000fd5b505050506040513d6020811015610dcd57600080fd5b5051925060009150506001600160701b0385168a90038311610df0576000610dff565b89856001600160701b03160383035b9050600089856001600160701b0316038311610e1c576000610e2b565b89856001600160701b03160383035b90506000821180610e3c5750600081115b610e775760405162461bcd60e51b8152600401808060200182810382526026815260200180612b606026913960400191505060405180910390fd5b600d5460ff168015610e895750600082115b15610ee457600f548211610ee4576040805162461bcd60e51b815260206004820152601e60248201527f4a756e63617377617056323a494e5055545f414d4f554e545f4c494d49540000604482015290519081900360640190fd5b600d5460ff168015610ef65750600081115b15610f51576010548111610f51576040805162461bcd60e51b815260206004820152601e60248201527f4a756e63617377617056323a494e5055545f414d4f554e545f4c494d49540000604482015290519081900360640190fd5b6000610f85610f6784600363ffffffff6122f116565b610f79876103e863ffffffff6122f116565b9063ffffffff61235416565b90506000610f9d610f6784600363ffffffff6122f116565b9050610fce620f4240610fc26001600160701b038b8116908b1663ffffffff6122f116565b9063ffffffff6122f116565b610fde838363ffffffff6122f116565b1015611022576040805162461bcd60e51b815260206004820152600e60248201526d4a756e63617377617056323a204b60901b604482015290519081900360640190fd5b5050611030848488886123a4565b60408051838152602081018390528082018d9052606081018c905290516001600160a01b038b169133917fd78ad95fa46c994b6551d0da85fc275fe613ce37657fb8d5e3d130840159d8229181900360800190a350506001600c55505050505050505050565b6040518060400160405280600981526020016804a756e6361737761760bc1b81525081565b6008546001600160701b0380821692600160701b830490911691600160e01b900463ffffffff1690565b60006110f233848461256b565b5060015b92915050565b6006546001600160a01b031681565b60005481565b600d5461010090046001600160a01b031681565b6001600160a01b0383166000908152600260209081526040808320338452909152812054600019146111aa576001600160a01b0384166000908152600260209081526040808320338452909152902054611185908363ffffffff61235416565b6001600160a01b03851660009081526002602090815260408083203384529091529020555b6111b58484846125cd565b5060019392505050565b475b90565b7f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c981565b601281565b600e5481565b60035481565b600d5460ff1681565b600d5460009060ff161561129157600560009054906101000a90046001600160a01b03166001600160a01b0316633fe43f406040518163ffffffff1660e01b815260040160206040518083038186803b15801561125e57600080fd5b505afa158015611272573d6000803e3d6000fd5b505050506040513d602081101561128857600080fd5b505190506111c1565b50600090565b60095481565b600a5481565b6000600c546001146112f2576040805162461bcd60e51b8152602060048201526013602482015272129d5b98d85cddd85c158c8e881313d0d2d151606a1b604482015290519081900360640190fd5b6000600c55600d5460ff1615611354576f4a756e636173776170526f75746572323314611354576040805162461bcd60e51b815260206004820152601d6024820152600080516020612b1d833981519152604482015290519081900360640190fd5b600d5460ff166113b1576f4a756e636173776170526f75746572323314156113b1576040805162461bcd60e51b815260206004820152601d6024820152600080516020612b1d833981519152604482015290519081900360640190fd5b6000806113bc6110bb565b50600654604080516370a0823160e01b815230600482015290519395509193506000926001600160a01b03909116916370a08231916024808301926020929190829003018186803b15801561141057600080fd5b505afa158015611424573d6000803e3d6000fd5b505050506040513d602081101561143a57600080fd5b5051600754604080516370a0823160e01b815230600482015290519293506000926001600160a01b03909216916370a0823191602480820192602092909190829003018186803b15801561148d57600080fd5b505afa1580156114a1573d6000803e3d6000fd5b505050506040513d60208110156114b757600080fd5b5051905060006114d6836001600160701b03871663ffffffff61235416565b905060006114f3836001600160701b03871663ffffffff61235416565b905060006115018787612687565b6000549091508061153e5761152a6103e8610f79611525878763ffffffff6122f116565b61287d565b985061153960006103e86128cf565b61158d565b61158a6001600160701b03891661155b868463ffffffff6122f116565b8161156257fe5b046001600160701b03891661157d868563ffffffff6122f116565b8161158457fe5b04612965565b98505b600089116115cc5760405162461bcd60e51b815260040180806020018281038252602a815260200180612af3602a913960400191505060405180910390fd5b6115d68a8a6128cf565b6115e286868a8a6123a4565b81156116125760085461160e906001600160701b0380821691600160701b90041663ffffffff6122f116565b600b555b6040805185815260208101859052815133927f4c209b5fc8ad50758f13e2e1088ba56a560dff690a1c6fef26394f4c03821c4f928290030190a250506001600c5550949695505050505050565b60016020526000908152604090205481565b600b5481565b60046020526000908152604090205481565b600080600c546001146116d9576040805162461bcd60e51b8152602060048201526013602482015272129d5b98d85cddd85c158c8e881313d0d2d151606a1b604482015290519081900360640190fd5b6000600c55600d5460ff161561173b576f4a756e636173776170526f7574657232331461173b576040805162461bcd60e51b815260206004820152601d6024820152600080516020612b1d833981519152604482015290519081900360640190fd5b600d5460ff16611798576f4a756e636173776170526f7574657232331415611798576040805162461bcd60e51b815260206004820152601d6024820152600080516020612b1d833981519152604482015290519081900360640190fd5b6000806117a36110bb565b50600654600754604080516370a0823160e01b815230600482015290519496509294506001600160a01b039182169391169160009184916370a08231916024808301926020929190829003018186803b1580156117ff57600080fd5b505afa158015611813573d6000803e3d6000fd5b505050506040513d602081101561182957600080fd5b5051604080516370a0823160e01b815230600482015290519192506000916001600160a01b038516916370a08231916024808301926020929190829003018186803b15801561187757600080fd5b505afa15801561188b573d6000803e3d6000fd5b505050506040513d60208110156118a157600080fd5b5051306000908152600160205260408120549192506118c08888612687565b600054909150806118d7848763ffffffff6122f116565b816118de57fe5b049a50806118f2848663ffffffff6122f116565b816118f957fe5b04995060008b11801561190c575060008a115b6119475760405162461bcd60e51b815260040180806020018281038252602a815260200180612ac9602a913960400191505060405180910390fd5b611951308461297d565b61195c878d8d612157565b611967868d8c612157565b604080516370a0823160e01b815230600482015290516001600160a01b038916916370a08231916024808301926020929190829003018186803b1580156119ad57600080fd5b505afa1580156119c1573d6000803e3d6000fd5b505050506040513d60208110156119d757600080fd5b5051604080516370a0823160e01b815230600482015290519196506001600160a01b038816916370a0823191602480820192602092909190829003018186803b158015611a2357600080fd5b505afa158015611a37573d6000803e3d6000fd5b505050506040513d6020811015611a4d57600080fd5b50519350611a5d85858b8b6123a4565b8115611a8d57600854611a89906001600160701b0380821691600160701b90041663ffffffff6122f116565b600b555b604080518c8152602081018c905281516001600160a01b038f169233927fdccd412f0b1252819cb1fd330b93224ca42612892bb3f4f789976e6d81936496929081900390910190a35050505050505050506001600c81905550915091565b6040518060400160405280600881526020016704a756e63612d4c560c41b81525081565b60006110f23384846125cd565b6103e881565b600c54600114611b6f576040805162461bcd60e51b8152602060048201526013602482015272129d5b98d85cddd85c158c8e881313d0d2d151606a1b604482015290519081900360640190fd5b6000600c55600654600754600854604080516370a0823160e01b815230600482015290516001600160a01b039485169490931692611c1e9285928792611c19926001600160701b03169185916370a0823191602480820192602092909190829003018186803b158015611be157600080fd5b505afa158015611bf5573d6000803e3d6000fd5b505050506040513d6020811015611c0b57600080fd5b50519063ffffffff61235416565b612157565b600854604080516370a0823160e01b81523060048201529051611c859284928792611c1992600160701b90046001600160701b0316916001600160a01b038616916370a0823191602480820192602092909190829003018186803b158015611be157600080fd5b50506001600c5550565b6005546001600160a01b031681565b6007546001600160a01b031681565b42841015611cf9576040805162461bcd60e51b8152602060048201526014602482015273129d5b98d85cddd85c158c8e881156141254915160621b604482015290519081900360640190fd5b6003546001600160a01b0380891660008181526004602090815260408083208054600180820190925582517f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c98186015280840196909652958d166060860152608085018c905260a085019590955260c08085018b90528151808603909101815260e08501825280519083012061190160f01b6101008601526101028501969096526101228085019690965280518085039096018652610142840180825286519683019690962095839052610162840180825286905260ff89166101828501526101a284018890526101c28401879052519193926101e280820193601f1981019281900390910190855afa158015611e14573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b03811615801590611e4a5750886001600160a01b0316816001600160a01b0316145b611e9b576040805162461bcd60e51b815260206004820152601e60248201527f4a756e63617377617056323a20494e56414c49445f5349474e41545552450000604482015290519081900360640190fd5b611ea689898961256b565b505050505050505050565b600260209081526000928352604080842090915290825290205481565b600f546010549091565b600d5461010090046001600160a01b031633148015611ef95750600d5460ff165b611f36576040805162461bcd60e51b81526020600482015260096024820152682327a92124a22222a760b91b604482015290519081900360640190fd5b600f91909155601055565b6005546001600160a01b03163314611f99576040805162461bcd60e51b8152602060048201526016602482015275253ab731b0b9bbb0b82b191d102327a92124a22222a760511b604482015290519081900360640190fd5b600680546001600160a01b03199081166001600160a01b03968716179091556007805490911693851693909317909255600d8054610100600160a81b03191661010092909416919091029290921760ff1916901515179055565b600c54600114612040576040805162461bcd60e51b8152602060048201526013602482015272129d5b98d85cddd85c158c8e881313d0d2d151606a1b604482015290519081900360640190fd5b6000600c55600654604080516370a0823160e01b81523060048201529051612150926001600160a01b0316916370a08231916024808301926020929190829003018186803b15801561209157600080fd5b505afa1580156120a5573d6000803e3d6000fd5b505050506040513d60208110156120bb57600080fd5b5051600754604080516370a0823160e01b815230600482015290516001600160a01b03909216916370a0823191602480820192602092909190829003018186803b15801561210857600080fd5b505afa15801561211c573d6000803e3d6000fd5b505050506040513d602081101561213257600080fd5b50516008546001600160701b0380821691600160701b9004166123a4565b6001600c55565b604080518082018252601981527f7472616e7366657228616464726573732c75696e74323536290000000000000060209182015281516001600160a01b0385811660248301526044808301869052845180840390910181526064909201845291810180516001600160e01b031663a9059cbb60e01b1781529251815160009460609489169392918291908083835b602083106122045780518252601f1990920191602091820191016121e5565b6001836020036101000a0380198251168184511680821785525050505050509050019150506000604051808303816000865af19150503d8060008114612266576040519150601f19603f3d011682016040523d82523d6000602084013e61226b565b606091505b5091509150818015612299575080511580612299575080806020019051602081101561229657600080fd5b50515b6122ea576040805162461bcd60e51b815260206004820152601c60248201527f4a756e63617377617056323a205452414e534645525f4641494c454400000000604482015290519081900360640190fd5b5050505050565b600081158061230c5750508082028282828161230957fe5b04145b6110f6576040805162461bcd60e51b815260206004820152601460248201527364732d6d6174682d6d756c2d6f766572666c6f7760601b604482015290519081900360640190fd5b808203828111156110f6576040805162461bcd60e51b815260206004820152601560248201527464732d6d6174682d7375622d756e646572666c6f7760581b604482015290519081900360640190fd5b6001600160701b0384118015906123c257506001600160701b038311155b61240b576040805162461bcd60e51b81526020600482015260156024820152744a756e63617377617056323a204f564552464c4f5760581b604482015290519081900360640190fd5b60085463ffffffff42811691600160e01b9004811682039081161580159061243b57506001600160701b03841615155b801561244f57506001600160701b03831615155b156124c0578063ffffffff1661247d8561246886612a1b565b6001600160e01b03169063ffffffff612a2d16565b600980546001600160e01b03929092169290920201905563ffffffff81166124a88461246887612a1b565b600a80546001600160e01b0392909216929092020190555b600880546dffffffffffffffffffffffffffff19166001600160701b03888116919091176dffffffffffffffffffffffffffff60701b1916600160701b8883168102919091176001600160e01b0316600160e01b63ffffffff871602179283905560408051848416815291909304909116602082015281517f1c411e9a96e071241c2f21f7726b17ae89e3cab4c78be50e062b03a9fffbbad1929181900390910190a1505050505050565b6001600160a01b03808416600081815260026020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b6001600160a01b0383166000908152600160205260409020546125f6908263ffffffff61235416565b6001600160a01b03808516600090815260016020526040808220939093559084168152205461262b908263ffffffff612a5216565b6001600160a01b0380841660008181526001602090815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b600080600560009054906101000a90046001600160a01b03166001600160a01b031663017e7e586040518163ffffffff1660e01b815260040160206040518083038186803b1580156126d857600080fd5b505afa1580156126ec573d6000803e3d6000fd5b505050506040513d602081101561270257600080fd5b5051600b546001600160a01b0382161580159450919250906128695780156128645760006127456115256001600160701b0388811690881663ffffffff6122f116565b905060006127528361287d565b9050808211156128615760006127856005610fc2612776868663ffffffff61235416565b6000549063ffffffff6122f116565b905060006127ba61279d84600563ffffffff6122f116565b6127ae86601963ffffffff6122f116565b9063ffffffff612a5216565b905060008183816127c757fe5b04905080156127da576127da87826128cf565b5050600d5460ff16159050612861576000612803600a610fc2612776868663ffffffff61235416565b9050600061282c61281b84600a63ffffffff6122f116565b6127ae86601463ffffffff6122f116565b9050600081838161283957fe5b049050801561285d57600d5461285d9061010090046001600160a01b0316826128cf565b5050505b50505b612875565b8015612875576000600b555b505092915050565b600060038211156128c0575080600160028204015b818110156128ba578091506002818285816128a957fe5b0401816128b257fe5b049050612892565b506128ca565b81156128ca575060015b919050565b6000546128e2908263ffffffff612a5216565b60009081556001600160a01b03831681526001602052604090205461290d908263ffffffff612a5216565b6001600160a01b03831660008181526001602090815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b60008183106129745781612976565b825b9392505050565b6001600160a01b0382166000908152600160205260409020546129a6908263ffffffff61235416565b6001600160a01b038316600090815260016020526040812091909155546129d3908263ffffffff61235416565b60009081556040805183815290516001600160a01b038516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef919081900360200190a35050565b6001600160701b0316600160701b0290565b60006001600160701b0382166001600160e01b03841681612a4a57fe5b049392505050565b808201828110156110f6576040805162461bcd60e51b815260206004820152601460248201527364732d6d6174682d6164642d6f766572666c6f7760601b604482015290519081900360640190fdfe4a756e63617377617056323a20494e53554646494349454e545f4f55545055545f414d4f554e544a756e63617377617056323a20494e53554646494349454e545f4c49515549444954595f4255524e45444a756e63617377617056323a20494e53554646494349454e545f4c49515549444954595f4d494e5445444a756e63617377617056323a2043414c4c455220464f5242494444454e0000004a756e63617377617056323a20494e53554646494349454e545f4c49515549444954594a756e63617377617056323a20494e53554646494349454e545f494e5055545f414d4f554e54a265627a7a723158200adbbfb50eb0c9ac0192870e0d63ea010d0e3665dcb44d76032f40c4f819f32f64736f6c63430005100032454950373132446f6d61696e28737472696e67206e616d652c737472696e672076657273696f6e2c75696e7432353620636861696e49642c6164647265737320766572696679696e67436f6e747261637429a265627a7a72315820fa8b75cca4550c1867f5c2b403d5a803973dfda4ab1866d640a20b35d3960c5864736f6c63430005100032",
}

JuncaswapFactoryMetaData contains all meta data concerning the JuncaswapFactory contract.

View Source
var JuncaswapRouterABI = JuncaswapRouterMetaData.ABI

JuncaswapRouterABI is the input ABI used to generate the binding from. Deprecated: Use JuncaswapRouterMetaData.ABI instead.

View Source
var JuncaswapRouterBin = JuncaswapRouterMetaData.Bin

JuncaswapRouterBin is the compiled bytecode used for deploying new contracts. Deprecated: Use JuncaswapRouterMetaData.Bin instead.

View Source
var JuncaswapRouterMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_factory\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_WETH\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"inputs\":[],\"name\":\"WETH\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"tokenA\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"tokenB\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amountADesired\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amountBDesired\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amountAMin\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amountBMin\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"}],\"name\":\"addLiquidity\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"amountA\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amountB\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"liquidity\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amountTokenDesired\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amountTokenMin\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amountETHMin\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"}],\"name\":\"addLiquidityETH\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"amountToken\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amountETH\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"liquidity\",\"type\":\"uint256\"}],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"factory\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"amountOut\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"reserveIn\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"reserveOut\",\"type\":\"uint256\"}],\"name\":\"getAmountIn\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"amountIn\",\"type\":\"uint256\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"amountIn\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"reserveIn\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"reserveOut\",\"type\":\"uint256\"}],\"name\":\"getAmountOut\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"amountOut\",\"type\":\"uint256\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"amountOut\",\"type\":\"uint256\"},{\"internalType\":\"address[]\",\"name\":\"path\",\"type\":\"address[]\"}],\"name\":\"getAmountsIn\",\"outputs\":[{\"internalType\":\"uint256[]\",\"name\":\"amounts\",\"type\":\"uint256[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"amountIn\",\"type\":\"uint256\"},{\"internalType\":\"address[]\",\"name\":\"path\",\"type\":\"address[]\"}],\"name\":\"getAmountsOut\",\"outputs\":[{\"internalType\":\"uint256[]\",\"name\":\"amounts\",\"type\":\"uint256[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"amountA\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"reserveA\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"reserveB\",\"type\":\"uint256\"}],\"name\":\"quote\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"amountB\",\"type\":\"uint256\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"tokenA\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"tokenB\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"liquidity\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amountAMin\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amountBMin\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"}],\"name\":\"removeLiquidity\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"amountA\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amountB\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"liquidity\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amountTokenMin\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amountETHMin\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"}],\"name\":\"removeLiquidityETH\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"amountToken\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amountETH\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"liquidity\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amountTokenMin\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amountETHMin\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"}],\"name\":\"removeLiquidityETHSupportingFeeOnTransferTokens\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"amountETH\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"liquidity\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amountTokenMin\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amountETHMin\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"},{\"internalType\":\"bool\",\"name\":\"approveMax\",\"type\":\"bool\"},{\"internalType\":\"uint8\",\"name\":\"v\",\"type\":\"uint8\"},{\"internalType\":\"bytes32\",\"name\":\"r\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"s\",\"type\":\"bytes32\"}],\"name\":\"removeLiquidityETHWithPermit\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"amountToken\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amountETH\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"liquidity\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amountTokenMin\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amountETHMin\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"},{\"internalType\":\"bool\",\"name\":\"approveMax\",\"type\":\"bool\"},{\"internalType\":\"uint8\",\"name\":\"v\",\"type\":\"uint8\"},{\"internalType\":\"bytes32\",\"name\":\"r\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"s\",\"type\":\"bytes32\"}],\"name\":\"removeLiquidityETHWithPermitSupportingFeeOnTransferTokens\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"amountETH\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"tokenA\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"tokenB\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"liquidity\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amountAMin\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amountBMin\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"},{\"internalType\":\"bool\",\"name\":\"approveMax\",\"type\":\"bool\"},{\"internalType\":\"uint8\",\"name\":\"v\",\"type\":\"uint8\"},{\"internalType\":\"bytes32\",\"name\":\"r\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"s\",\"type\":\"bytes32\"}],\"name\":\"removeLiquidityWithPermit\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"amountA\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amountB\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"amountOut\",\"type\":\"uint256\"},{\"internalType\":\"address[]\",\"name\":\"path\",\"type\":\"address[]\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"}],\"name\":\"swapETHForExactTokens\",\"outputs\":[{\"internalType\":\"uint256[]\",\"name\":\"amounts\",\"type\":\"uint256[]\"}],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"amountOutMin\",\"type\":\"uint256\"},{\"internalType\":\"address[]\",\"name\":\"path\",\"type\":\"address[]\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"}],\"name\":\"swapExactETHForTokens\",\"outputs\":[{\"internalType\":\"uint256[]\",\"name\":\"amounts\",\"type\":\"uint256[]\"}],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"amountOutMin\",\"type\":\"uint256\"},{\"internalType\":\"address[]\",\"name\":\"path\",\"type\":\"address[]\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"}],\"name\":\"swapExactETHForTokensSupportingFeeOnTransferTokens\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"amountIn\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amountOutMin\",\"type\":\"uint256\"},{\"internalType\":\"address[]\",\"name\":\"path\",\"type\":\"address[]\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"}],\"name\":\"swapExactTokensForETH\",\"outputs\":[{\"internalType\":\"uint256[]\",\"name\":\"amounts\",\"type\":\"uint256[]\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"amountIn\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amountOutMin\",\"type\":\"uint256\"},{\"internalType\":\"address[]\",\"name\":\"path\",\"type\":\"address[]\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"}],\"name\":\"swapExactTokensForETHSupportingFeeOnTransferTokens\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"amountIn\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amountOutMin\",\"type\":\"uint256\"},{\"internalType\":\"address[]\",\"name\":\"path\",\"type\":\"address[]\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"}],\"name\":\"swapExactTokensForTokens\",\"outputs\":[{\"internalType\":\"uint256[]\",\"name\":\"amounts\",\"type\":\"uint256[]\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"amountIn\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amountOutMin\",\"type\":\"uint256\"},{\"internalType\":\"address[]\",\"name\":\"path\",\"type\":\"address[]\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"}],\"name\":\"swapExactTokensForTokensSupportingFeeOnTransferTokens\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"amountOut\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amountInMax\",\"type\":\"uint256\"},{\"internalType\":\"address[]\",\"name\":\"path\",\"type\":\"address[]\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"}],\"name\":\"swapTokensForExactETH\",\"outputs\":[{\"internalType\":\"uint256[]\",\"name\":\"amounts\",\"type\":\"uint256[]\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"amountOut\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amountInMax\",\"type\":\"uint256\"},{\"internalType\":\"address[]\",\"name\":\"path\",\"type\":\"address[]\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"}],\"name\":\"swapTokensForExactTokens\",\"outputs\":[{\"internalType\":\"uint256[]\",\"name\":\"amounts\",\"type\":\"uint256[]\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"stateMutability\":\"payable\",\"type\":\"receive\"}]",
	Bin: "0x60c060405234801561001057600080fd5b5060405162004784380380620047848339818101604052604081101561003557600080fd5b5080516020909101516001600160601b0319606092831b8116608052911b1660a05260805160601c60a05160601c6145ff620001856000398061015f5280610ce45280610d1f5280610e16528061103452806113be528061152452806118eb52806119e55280611a9b5280611b695280611caf5280611d375280611f7c5280611ff752806120a652806121725280612207528061227b528061277952806129ec5280612a425280612a765280612aea5280612c8a5280612dcd5280612e55525080610ea45280610f7b52806110fa5280611133528061126e528061144c528061150252806116725280611bfc5280611d695280611ecc52806122ad528061250652806126fe5280612727528061275752806128c45280612a205280612d1d5280612e87528061372e52806137715280613a545280613bd3528061400352806140ba528061413b52506145ff6000f3fe60806040526004361061014f5760003560e01c80638803dbee116100b6578063c45a01551161006f578063c45a015514610a10578063d06ca61f14610a25578063ded9382a14610ada578063e8e3370014610b4d578063f305d71914610bcd578063fb3bdb4114610c1357610188565b80638803dbee146107df578063ad5c464814610875578063ad615dec146108a6578063af2979eb146108dc578063b6f9de951461092f578063baa2abde146109b357610188565b80634a25d94a116101085780634a25d94a146104f05780635b0d5984146105865780635c11d795146105f9578063791ac9471461068f5780637ff36ab51461072557806385f8c259146107a957610188565b806302751cec1461018d578063054d50d4146101f957806318cbafe5146102415780631f00ca74146103275780632195995c146103dc57806338ed17391461045a57610188565b3661018857336001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000161461018657fe5b005b600080fd5b34801561019957600080fd5b506101e0600480360360c08110156101b057600080fd5b506001600160a01b0381358116916020810135916040820135916060810135916080820135169060a00135610c97565b6040805192835260208301919091528051918290030190f35b34801561020557600080fd5b5061022f6004803603606081101561021c57600080fd5b5080359060208101359060400135610db1565b60408051918252519081900360200190f35b34801561024d57600080fd5b506102d7600480360360a081101561026457600080fd5b813591602081013591810190606081016040820135600160201b81111561028a57600080fd5b82018360208201111561029c57600080fd5b803590602001918460208302840111600160201b831117156102bd57600080fd5b91935091506001600160a01b038135169060200135610dc6565b60408051602080825283518183015283519192839290830191858101910280838360005b838110156103135781810151838201526020016102fb565b505050509050019250505060405180910390f35b34801561033357600080fd5b506102d76004803603604081101561034a57600080fd5b81359190810190604081016020820135600160201b81111561036b57600080fd5b82018360208201111561037d57600080fd5b803590602001918460208302840111600160201b8311171561039e57600080fd5b9190808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152509295506110f3945050505050565b3480156103e857600080fd5b506101e0600480360361016081101561040057600080fd5b506001600160a01b038135811691602081013582169160408201359160608101359160808201359160a08101359091169060c08101359060e081013515159060ff6101008201351690610120810135906101400135611129565b34801561046657600080fd5b506102d7600480360360a081101561047d57600080fd5b813591602081013591810190606081016040820135600160201b8111156104a357600080fd5b8201836020820111156104b557600080fd5b803590602001918460208302840111600160201b831117156104d657600080fd5b91935091506001600160a01b038135169060200135611223565b3480156104fc57600080fd5b506102d7600480360360a081101561051357600080fd5b813591602081013591810190606081016040820135600160201b81111561053957600080fd5b82018360208201111561054b57600080fd5b803590602001918460208302840111600160201b8311171561056c57600080fd5b91935091506001600160a01b03813516906020013561136e565b34801561059257600080fd5b5061022f60048036036101408110156105aa57600080fd5b506001600160a01b0381358116916020810135916040820135916060810135916080820135169060a08101359060c081013515159060ff60e082013516906101008101359061012001356114fa565b34801561060557600080fd5b50610186600480360360a081101561061c57600080fd5b813591602081013591810190606081016040820135600160201b81111561064257600080fd5b82018360208201111561065457600080fd5b803590602001918460208302840111600160201b8311171561067557600080fd5b91935091506001600160a01b038135169060200135611608565b34801561069b57600080fd5b50610186600480360360a08110156106b257600080fd5b813591602081013591810190606081016040820135600160201b8111156106d857600080fd5b8201836020820111156106ea57600080fd5b803590602001918460208302840111600160201b8311171561070b57600080fd5b91935091506001600160a01b03813516906020013561189d565b6102d76004803603608081101561073b57600080fd5b81359190810190604081016020820135600160201b81111561075c57600080fd5b82018360208201111561076e57600080fd5b803590602001918460208302840111600160201b8311171561078f57600080fd5b91935091506001600160a01b038135169060200135611b21565b3480156107b557600080fd5b5061022f600480360360608110156107cc57600080fd5b5080359060208101359060400135611e74565b3480156107eb57600080fd5b506102d7600480360360a081101561080257600080fd5b813591602081013591810190606081016040820135600160201b81111561082857600080fd5b82018360208201111561083a57600080fd5b803590602001918460208302840111600160201b8311171561085b57600080fd5b91935091506001600160a01b038135169060200135611e81565b34801561088157600080fd5b5061088a611f7a565b604080516001600160a01b039092168252519081900360200190f35b3480156108b257600080fd5b5061022f600480360360608110156108c957600080fd5b5080359060208101359060400135611f9e565b3480156108e857600080fd5b5061022f600480360360c08110156108ff57600080fd5b506001600160a01b0381358116916020810135916040820135916060810135916080820135169060a00135611fab565b6101866004803603608081101561094557600080fd5b81359190810190604081016020820135600160201b81111561096657600080fd5b82018360208201111561097857600080fd5b803590602001918460208302840111600160201b8311171561099957600080fd5b91935091506001600160a01b03813516906020013561212c565b3480156109bf57600080fd5b506101e0600480360360e08110156109d657600080fd5b506001600160a01b038135811691602081013582169160408201359160608101359160808201359160a08101359091169060c001356124b8565b348015610a1c57600080fd5b5061088a6126fc565b348015610a3157600080fd5b506102d760048036036040811015610a4857600080fd5b81359190810190604081016020820135600160201b811115610a6957600080fd5b820183602082011115610a7b57600080fd5b803590602001918460208302840111600160201b83111715610a9c57600080fd5b919080806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250929550612720945050505050565b348015610ae657600080fd5b506101e06004803603610140811015610afe57600080fd5b506001600160a01b0381358116916020810135916040820135916060810135916080820135169060a08101359060c081013515159060ff60e0820135169061010081013590610120013561274d565b348015610b5957600080fd5b50610baf6004803603610100811015610b7157600080fd5b506001600160a01b038135811691602081013582169160408201359160608101359160808201359160a08101359160c0820135169060e00135612861565b60408051938452602084019290925282820152519081900360600190f35b610baf600480360360c0811015610be357600080fd5b506001600160a01b0381358116916020810135916040820135916060810135916080820135169060a0013561299d565b6102d760048036036080811015610c2957600080fd5b81359190810190604081016020820135600160201b811115610c4a57600080fd5b820183602082011115610c5c57600080fd5b803590602001918460208302840111600160201b83111715610c7d57600080fd5b91935091506001600160a01b038135169060200135612c42565b6000808242811015610cde576040805162461bcd60e51b815260206004820152601a6024820152600080516020614421833981519152604482015290519081900360640190fd5b610d0d897f00000000000000000000000000000000000000000000000000000000000000008a8a8a308a6124b8565b9093509150610d1d898685612fc4565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316632e1a7d4d836040518263ffffffff1660e01b815260040180828152602001915050600060405180830381600087803b158015610d8357600080fd5b505af1158015610d97573d6000803e3d6000fd5b50505050610da5858361312e565b50965096945050505050565b6000610dbe848484613226565b949350505050565b60608142811015610e0c576040805162461bcd60e51b815260206004820152601a6024820152600080516020614421833981519152604482015290519081900360640190fd5b6001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001686866000198101818110610e4657fe5b905060200201356001600160a01b03166001600160a01b031614610e9f576040805162461bcd60e51b815260206004820152601f6024820152600080516020614441833981519152604482015290519081900360640190fd5b610efd7f00000000000000000000000000000000000000000000000000000000000000008988888080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525061331692505050565b91508682600184510381518110610f1057fe5b60200260200101511015610f555760405162461bcd60e51b815260040180806020018281038252602d8152602001806143f4602d913960400191505060405180910390fd5b610ff386866000818110610f6557fe5b905060200201356001600160a01b031633610fd97f00000000000000000000000000000000000000000000000000000000000000008a8a6000818110610fa757fe5b905060200201356001600160a01b03168b8b6001818110610fc457fe5b905060200201356001600160a01b0316613462565b85600081518110610fe657fe5b6020026020010151613522565b6110328287878080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525030925061367f915050565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316632e1a7d4d8360018551038151811061107157fe5b60200260200101516040518263ffffffff1660e01b815260040180828152602001915050600060405180830381600087803b1580156110af57600080fd5b505af11580156110c3573d6000803e3d6000fd5b505050506110e884836001855103815181106110db57fe5b602002602001015161312e565b509695505050505050565b60606111207f000000000000000000000000000000000000000000000000000000000000000084846138c5565b90505b92915050565b60008060006111597f00000000000000000000000000000000000000000000000000000000000000008f8f613462565b9050600087611168578c61116c565b6000195b6040805163d505accf60e01b815233600482015230602482015260448101839052606481018c905260ff8a16608482015260a4810189905260c4810188905290519192506001600160a01b0384169163d505accf9160e48082019260009290919082900301818387803b1580156111e257600080fd5b505af11580156111f6573d6000803e3d6000fd5b505050506112098f8f8f8f8f8f8f6124b8565b809450819550505050509b509b9950505050505050505050565b60608142811015611269576040805162461bcd60e51b815260206004820152601a6024820152600080516020614421833981519152604482015290519081900360640190fd5b6112c77f00000000000000000000000000000000000000000000000000000000000000008988888080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525061331692505050565b915086826001845103815181106112da57fe5b6020026020010151101561131f5760405162461bcd60e51b815260040180806020018281038252602d8152602001806143f4602d913960400191505060405180910390fd5b61132f86866000818110610f6557fe5b6110e88287878080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525089925061367f915050565b606081428110156113b4576040805162461bcd60e51b815260206004820152601a6024820152600080516020614421833981519152604482015290519081900360640190fd5b6001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016868660001981018181106113ee57fe5b905060200201356001600160a01b03166001600160a01b031614611447576040805162461bcd60e51b815260206004820152601f6024820152600080516020614441833981519152604482015290519081900360640190fd5b6114a57f0000000000000000000000000000000000000000000000000000000000000000898888808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152506138c592505050565b915086826000815181106114b557fe5b60200260200101511115610f555760405162461bcd60e51b81526004018080602001828103825260298152602001806145566029913960400191505060405180910390fd5b6000806115487f00000000000000000000000000000000000000000000000000000000000000008d7f0000000000000000000000000000000000000000000000000000000000000000613462565b9050600086611557578b61155b565b6000195b6040805163d505accf60e01b815233600482015230602482015260448101839052606481018b905260ff8916608482015260a4810188905260c4810187905290519192506001600160a01b0384169163d505accf9160e48082019260009290919082900301818387803b1580156115d157600080fd5b505af11580156115e5573d6000803e3d6000fd5b505050506115f78d8d8d8d8d8d611fab565b9d9c50505050505050505050505050565b804281101561164c576040805162461bcd60e51b815260206004820152601a6024820152600080516020614421833981519152604482015290519081900360640190fd5b6116c18585600081811061165c57fe5b905060200201356001600160a01b0316336116bb7f00000000000000000000000000000000000000000000000000000000000000008989600081811061169e57fe5b905060200201356001600160a01b03168a8a6001818110610fc457fe5b8a613522565b6000858560001981018181106116d357fe5b905060200201356001600160a01b03166001600160a01b03166370a08231856040518263ffffffff1660e01b815260040180826001600160a01b03166001600160a01b0316815260200191505060206040518083038186803b15801561173857600080fd5b505afa15801561174c573d6000803e3d6000fd5b505050506040513d602081101561176257600080fd5b505160408051602088810282810182019093528882529293506117a49290918991899182918501908490808284376000920191909152508892506139fd915050565b8661185682888860001981018181106117b957fe5b905060200201356001600160a01b03166001600160a01b03166370a08231886040518263ffffffff1660e01b815260040180826001600160a01b03166001600160a01b0316815260200191505060206040518083038186803b15801561181e57600080fd5b505afa158015611832573d6000803e3d6000fd5b505050506040513d602081101561184857600080fd5b50519063ffffffff613d0816565b10156118935760405162461bcd60e51b815260040180806020018281038252602d8152602001806143f4602d913960400191505060405180910390fd5b5050505050505050565b80428110156118e1576040805162461bcd60e51b815260206004820152601a6024820152600080516020614421833981519152604482015290519081900360640190fd5b6001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000168585600019810181811061191b57fe5b905060200201356001600160a01b03166001600160a01b031614611974576040805162461bcd60e51b815260206004820152601f6024820152600080516020614441833981519152604482015290519081900360640190fd5b6119848585600081811061165c57fe5b6119c28585808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152503092506139fd915050565b604080516370a0823160e01b815230600482015290516000916001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016916370a0823191602480820192602092909190829003018186803b158015611a2c57600080fd5b505afa158015611a40573d6000803e3d6000fd5b505050506040513d6020811015611a5657600080fd5b5051905086811015611a995760405162461bcd60e51b815260040180806020018281038252602d8152602001806143f4602d913960400191505060405180910390fd5b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316632e1a7d4d826040518263ffffffff1660e01b815260040180828152602001915050600060405180830381600087803b158015611aff57600080fd5b505af1158015611b13573d6000803e3d6000fd5b50505050611893848261312e565b60608142811015611b67576040805162461bcd60e51b815260206004820152601a6024820152600080516020614421833981519152604482015290519081900360640190fd5b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031686866000818110611b9e57fe5b905060200201356001600160a01b03166001600160a01b031614611bf7576040805162461bcd60e51b815260206004820152601f6024820152600080516020614441833981519152604482015290519081900360640190fd5b611c557f00000000000000000000000000000000000000000000000000000000000000003488888080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525061331692505050565b91508682600184510381518110611c6857fe5b60200260200101511015611cad5760405162461bcd60e51b815260040180806020018281038252602d8152602001806143f4602d913960400191505060405180910390fd5b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663d0e30db083600081518110611ce957fe5b60200260200101516040518263ffffffff1660e01b81526004016000604051808303818588803b158015611d1c57600080fd5b505af1158015611d30573d6000803e3d6000fd5b50505050507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663a9059cbb611d957f00000000000000000000000000000000000000000000000000000000000000008989600081811061169e57fe5b84600081518110611da257fe5b60200260200101516040518363ffffffff1660e01b815260040180836001600160a01b03166001600160a01b0316815260200182815260200192505050602060405180830381600087803b158015611df957600080fd5b505af1158015611e0d573d6000803e3d6000fd5b505050506040513d6020811015611e2357600080fd5b5051611e2b57fe5b611e6a8287878080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525089925061367f915050565b5095945050505050565b6000610dbe848484613d58565b60608142811015611ec7576040805162461bcd60e51b815260206004820152601a6024820152600080516020614421833981519152604482015290519081900360640190fd5b611f257f0000000000000000000000000000000000000000000000000000000000000000898888808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152506138c592505050565b91508682600081518110611f3557fe5b6020026020010151111561131f5760405162461bcd60e51b81526004018080602001828103825260298152602001806145566029913960400191505060405180910390fd5b7f000000000000000000000000000000000000000000000000000000000000000081565b6000610dbe848484613e48565b60008142811015611ff1576040805162461bcd60e51b815260206004820152601a6024820152600080516020614421833981519152604482015290519081900360640190fd5b612020887f000000000000000000000000000000000000000000000000000000000000000089898930896124b8565b604080516370a0823160e01b815230600482015290519194506120a492508a9187916001600160a01b038416916370a0823191602480820192602092909190829003018186803b15801561207357600080fd5b505afa158015612087573d6000803e3d6000fd5b505050506040513d602081101561209d57600080fd5b5051612fc4565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316632e1a7d4d836040518263ffffffff1660e01b815260040180828152602001915050600060405180830381600087803b15801561210a57600080fd5b505af115801561211e573d6000803e3d6000fd5b505050506110e8848361312e565b8042811015612170576040805162461bcd60e51b815260206004820152601a6024820152600080516020614421833981519152604482015290519081900360640190fd5b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316858560008181106121a757fe5b905060200201356001600160a01b03166001600160a01b031614612200576040805162461bcd60e51b815260206004820152601f6024820152600080516020614441833981519152604482015290519081900360640190fd5b60003490507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663d0e30db0826040518263ffffffff1660e01b81526004016000604051808303818588803b15801561226057600080fd5b505af1158015612274573d6000803e3d6000fd5b50505050507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663a9059cbb6122d97f00000000000000000000000000000000000000000000000000000000000000008989600081811061169e57fe5b836040518363ffffffff1660e01b815260040180836001600160a01b03166001600160a01b0316815260200182815260200192505050602060405180830381600087803b15801561232957600080fd5b505af115801561233d573d6000803e3d6000fd5b505050506040513d602081101561235357600080fd5b505161235b57fe5b60008686600019810181811061236d57fe5b905060200201356001600160a01b03166001600160a01b03166370a08231866040518263ffffffff1660e01b815260040180826001600160a01b03166001600160a01b0316815260200191505060206040518083038186803b1580156123d257600080fd5b505afa1580156123e6573d6000803e3d6000fd5b505050506040513d60208110156123fc57600080fd5b5051604080516020898102828101820190935289825292935061243e9290918a918a9182918501908490808284376000920191909152508992506139fd915050565b87611856828989600019810181811061245357fe5b905060200201356001600160a01b03166001600160a01b03166370a08231896040518263ffffffff1660e01b815260040180826001600160a01b03166001600160a01b0316815260200191505060206040518083038186803b15801561181e57600080fd5b60008082428110156124ff576040805162461bcd60e51b815260206004820152601a6024820152600080516020614421833981519152604482015290519081900360640190fd5b600061252c7f00000000000000000000000000000000000000000000000000000000000000008c8c613462565b604080516323b872dd60e01b81523360048201526001600160a01b03831660248201819052604482018d9052915192935090916323b872dd916064808201926020929091908290030181600087803b15801561258757600080fd5b505af115801561259b573d6000803e3d6000fd5b505050506040513d60208110156125b157600080fd5b50506040805163226bf2d160e21b81526001600160a01b03888116600483015282516000938493928616926389afcb44926024808301939282900301818787803b1580156125fe57600080fd5b505af1158015612612573d6000803e3d6000fd5b505050506040513d604081101561262857600080fd5b508051602090910151909250905060006126428e8e613ef4565b509050806001600160a01b03168e6001600160a01b031614612665578183612668565b82825b90975095508a8710156126ac5760405162461bcd60e51b815260040180806020018281038252602881526020018061450b6028913960400191505060405180910390fd5b898610156126eb5760405162461bcd60e51b81526004018080602001828103825260288152602001806144616028913960400191505060405180910390fd5b505050505097509795505050505050565b7f000000000000000000000000000000000000000000000000000000000000000081565b60606111207f00000000000000000000000000000000000000000000000000000000000000008484613316565b600080600061279d7f00000000000000000000000000000000000000000000000000000000000000008e7f0000000000000000000000000000000000000000000000000000000000000000613462565b90506000876127ac578c6127b0565b6000195b6040805163d505accf60e01b815233600482015230602482015260448101839052606481018c905260ff8a16608482015260a4810189905260c4810188905290519192506001600160a01b0384169163d505accf9160e48082019260009290919082900301818387803b15801561282657600080fd5b505af115801561283a573d6000803e3d6000fd5b5050505061284c8e8e8e8e8e8e610c97565b909f909e509c50505050505050505050505050565b600080600083428110156128aa576040805162461bcd60e51b815260206004820152601a6024820152600080516020614421833981519152604482015290519081900360640190fd5b6128b88c8c8c8c8c8c613fd2565b909450925060006128ea7f00000000000000000000000000000000000000000000000000000000000000008e8e613462565b90506128f88d338388613522565b6129048c338387613522565b806001600160a01b0316636a627842886040518263ffffffff1660e01b815260040180826001600160a01b03166001600160a01b03168152602001915050602060405180830381600087803b15801561295c57600080fd5b505af1158015612970573d6000803e3d6000fd5b505050506040513d602081101561298657600080fd5b5051949d939c50939a509198505050505050505050565b600080600083428110156129e6576040805162461bcd60e51b815260206004820152601a6024820152600080516020614421833981519152604482015290519081900360640190fd5b612a148a7f00000000000000000000000000000000000000000000000000000000000000008b348c8c613fd2565b90945092506000612a667f00000000000000000000000000000000000000000000000000000000000000008c7f0000000000000000000000000000000000000000000000000000000000000000613462565b9050612a748b338388613522565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663d0e30db0856040518263ffffffff1660e01b81526004016000604051808303818588803b158015612acf57600080fd5b505af1158015612ae3573d6000803e3d6000fd5b50505050507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663a9059cbb82866040518363ffffffff1660e01b815260040180836001600160a01b03166001600160a01b0316815260200182815260200192505050602060405180830381600087803b158015612b6857600080fd5b505af1158015612b7c573d6000803e3d6000fd5b505050506040513d6020811015612b9257600080fd5b5051612b9a57fe5b806001600160a01b0316636a627842886040518263ffffffff1660e01b815260040180826001600160a01b03166001600160a01b03168152602001915050602060405180830381600087803b158015612bf257600080fd5b505af1158015612c06573d6000803e3d6000fd5b505050506040513d6020811015612c1c57600080fd5b5051925034841015612c3457612c343385340361312e565b505096509650969350505050565b60608142811015612c88576040805162461bcd60e51b815260206004820152601a6024820152600080516020614421833981519152604482015290519081900360640190fd5b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031686866000818110612cbf57fe5b905060200201356001600160a01b03166001600160a01b031614612d18576040805162461bcd60e51b815260206004820152601f6024820152600080516020614441833981519152604482015290519081900360640190fd5b612d767f0000000000000000000000000000000000000000000000000000000000000000888888808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152506138c592505050565b91503482600081518110612d8657fe5b60200260200101511115612dcb5760405162461bcd60e51b81526004018080602001828103825260298152602001806145566029913960400191505060405180910390fd5b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663d0e30db083600081518110612e0757fe5b60200260200101516040518263ffffffff1660e01b81526004016000604051808303818588803b158015612e3a57600080fd5b505af1158015612e4e573d6000803e3d6000fd5b50505050507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663a9059cbb612eb37f00000000000000000000000000000000000000000000000000000000000000008989600081811061169e57fe5b84600081518110612ec057fe5b60200260200101516040518363ffffffff1660e01b815260040180836001600160a01b03166001600160a01b0316815260200182815260200192505050602060405180830381600087803b158015612f1757600080fd5b505af1158015612f2b573d6000803e3d6000fd5b505050506040513d6020811015612f4157600080fd5b5051612f4957fe5b612f888287878080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525089925061367f915050565b81600081518110612f9557fe5b6020026020010151341115611e6a57611e6a3383600081518110612fb557fe5b6020026020010151340361312e565b604080516001600160a01b038481166024830152604480830185905283518084039091018152606490920183526020820180516001600160e01b031663a9059cbb60e01b178152925182516000946060949389169392918291908083835b602083106130415780518252601f199092019160209182019101613022565b6001836020036101000a0380198251168184511680821785525050505050509050019150506000604051808303816000865af19150503d80600081146130a3576040519150601f19603f3d011682016040523d82523d6000602084013e6130a8565b606091505b50915091508180156130d65750805115806130d657508080602001905160208110156130d357600080fd5b50515b613127576040805162461bcd60e51b815260206004820152601f60248201527f5472616e7366657248656c7065723a205452414e534645525f4641494c454400604482015290519081900360640190fd5b5050505050565b604080516000808252602082019092526001600160a01b0384169083906040518082805190602001908083835b6020831061317a5780518252601f19909201916020918201910161315b565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d80600081146131dc576040519150601f19603f3d011682016040523d82523d6000602084013e6131e1565b606091505b50509050806132215760405162461bcd60e51b81526004018080602001828103825260238152602001806145336023913960400191505060405180910390fd5b505050565b60008084116132665760405162461bcd60e51b815260040180806020018281038252602d8152602001806144de602d913960400191505060405180910390fd5b6000831180156132765750600082115b6132b15760405162461bcd60e51b815260040180806020018281038252602a8152602001806143ca602a913960400191505060405180910390fd5b60006132c5856103e563ffffffff61425016565b905060006132d9828563ffffffff61425016565b905060006132ff836132f3886103e863ffffffff61425016565b9063ffffffff6142b316565b905080828161330a57fe5b04979650505050505050565b606060028251101561336f576040805162461bcd60e51b815260206004820181905260248201527f4a756e63617377617056324c6962726172793a20494e56414c49445f50415448604482015290519081900360640190fd5b815167ffffffffffffffff8111801561338757600080fd5b506040519080825280602002602001820160405280156133b1578160200160208202803683370190505b50905082816000815181106133c257fe5b60200260200101818152505060005b600183510381101561345a57600080613414878685815181106133f057fe5b602002602001015187866001018151811061340757fe5b6020026020010151614302565b9150915061343684848151811061342757fe5b60200260200101518383613226565b84846001018151811061344557fe5b602090810291909101015250506001016133d1565b509392505050565b60008060006134718585613ef4565b604080516bffffffffffffffffffffffff19606094851b811660208084019190915293851b81166034830152825160288184030181526048830184528051908501206001600160f81b031960688401529a90941b9093166069840152607d8301989098527f40756719280cc191de6684a3ab5350a8f6a4e1c2f4d257a14ca9e8a067354a10609d808401919091528851808403909101815260bd909201909752805196019590952095945050505050565b604080516001600160a01b0385811660248301528481166044830152606480830185905283518084039091018152608490920183526020820180516001600160e01b03166323b872dd60e01b17815292518251600094606094938a169392918291908083835b602083106135a75780518252601f199092019160209182019101613588565b6001836020036101000a0380198251168184511680821785525050505050509050019150506000604051808303816000865af19150503d8060008114613609576040519150601f19603f3d011682016040523d82523d6000602084013e61360e565b606091505b509150915081801561363c57508051158061363c575080806020019051602081101561363957600080fd5b50515b6136775760405162461bcd60e51b815260040180806020018281038252602481526020018061457f6024913960400191505060405180910390fd5b505050505050565b60005b60018351038110156138bf5760008084838151811061369d57fe5b60200260200101518584600101815181106136b457fe5b60200260200101519150915060006136cc8383613ef4565b50905060008785600101815181106136e057fe5b60200260200101519050600080836001600160a01b0316866001600160a01b03161461370e57826000613712565b6000835b91509150600060028a51038810613729578861376a565b61376a7f0000000000000000000000000000000000000000000000000000000000000000878c8b6002018151811061375d57fe5b6020026020010151613462565b90506137977f00000000000000000000000000000000000000000000000000000000000000008888613462565b6001600160a01b031663022c0d9f84848460006040519080825280601f01601f1916602001820160405280156137d4576020820181803683370190505b506040518563ffffffff1660e01b815260040180858152602001848152602001836001600160a01b03166001600160a01b0316815260200180602001828103825283818151815260200191508051906020019080838360005b8381101561384557818101518382015260200161382d565b50505050905090810190601f1680156138725780820380516001836020036101000a031916815260200191505b5095505050505050600060405180830381600087803b15801561389457600080fd5b505af11580156138a8573d6000803e3d6000fd5b505060019099019850613682975050505050505050565b50505050565b606060028251101561391e576040805162461bcd60e51b815260206004820181905260248201527f4a756e63617377617056324c6962726172793a20494e56414c49445f50415448604482015290519081900360640190fd5b815167ffffffffffffffff8111801561393657600080fd5b50604051908082528060200260200182016040528015613960578160200160208202803683370190505b509050828160018351038151811061397457fe5b60209081029190910101528151600019015b801561345a576000806139b6878660018603815181106139a257fe5b602002602001015187868151811061340757fe5b915091506139d88484815181106139c957fe5b60200260200101518383613d58565b8460018503815181106139e757fe5b6020908102919091010152505060001901613986565b60005b600183510381101561322157600080848381518110613a1b57fe5b6020026020010151858460010181518110613a3257fe5b6020026020010151915091506000613a4a8383613ef4565b5090506000613a7a7f00000000000000000000000000000000000000000000000000000000000000008585613462565b9050600080600080846001600160a01b0316630902f1ac6040518163ffffffff1660e01b815260040160606040518083038186803b158015613abb57600080fd5b505afa158015613acf573d6000803e3d6000fd5b505050506040513d6060811015613ae557600080fd5b5080516020909101516001600160701b0391821693501690506000806001600160a01b038a811690891614613b1b578284613b1e565b83835b91509150613b7c828b6001600160a01b03166370a082318a6040518263ffffffff1660e01b815260040180826001600160a01b03166001600160a01b0316815260200191505060206040518083038186803b15801561181e57600080fd5b9550613b89868383613226565b945050505050600080856001600160a01b0316886001600160a01b031614613bb357826000613bb7565b6000835b91509150600060028c51038a10613bce578a613c02565b613c027f0000000000000000000000000000000000000000000000000000000000000000898e8d6002018151811061375d57fe5b604080516000808252602082019283905263022c0d9f60e01b835260248201878152604483018790526001600160a01b038086166064850152608060848501908152845160a48601819052969750908c169563022c0d9f958a958a958a9591949193919260c486019290918190849084905b83811015613c8c578181015183820152602001613c74565b50505050905090810190601f168015613cb95780820380516001836020036101000a031916815260200191505b5095505050505050600060405180830381600087803b158015613cdb57600080fd5b505af1158015613cef573d6000803e3d6000fd5b50506001909b019a50613a009950505050505050505050565b80820382811115611123576040805162461bcd60e51b815260206004820152601560248201527464732d6d6174682d7375622d756e646572666c6f7760581b604482015290519081900360640190fd5b6000808411613d985760405162461bcd60e51b815260040180806020018281038252602e8152602001806144b0602e913960400191505060405180910390fd5b600083118015613da85750600082115b613de35760405162461bcd60e51b815260040180806020018281038252602a8152602001806143ca602a913960400191505060405180910390fd5b6000613e076103e8613dfb868863ffffffff61425016565b9063ffffffff61425016565b90506000613e216103e5613dfb868963ffffffff613d0816565b9050613e3e6001828481613e3157fe5b049063ffffffff6142b316565b9695505050505050565b6000808411613e885760405162461bcd60e51b81526004018080602001828103825260278152602001806145a36027913960400191505060405180910390fd5b600083118015613e985750600082115b613ed35760405162461bcd60e51b815260040180806020018281038252602a8152602001806143ca602a913960400191505060405180910390fd5b82613ee4858463ffffffff61425016565b81613eeb57fe5b04949350505050565b600080826001600160a01b0316846001600160a01b03161415613f485760405162461bcd60e51b81526004018080602001828103825260278152602001806144896027913960400191505060405180910390fd5b826001600160a01b0316846001600160a01b031610613f68578284613f6b565b83835b90925090506001600160a01b038216613fcb576040805162461bcd60e51b815260206004820181905260248201527f4a756e63617377617056324c6962726172793a205a45524f5f41444452455353604482015290519081900360640190fd5b9250929050565b6040805163e6a4390560e01b81526001600160a01b03888116600483015287811660248301529151600092839283927f00000000000000000000000000000000000000000000000000000000000000009092169163e6a4390591604480820192602092909190829003018186803b15801561404c57600080fd5b505afa158015614060573d6000803e3d6000fd5b505050506040513d602081101561407657600080fd5b50516001600160a01b0316141561413357604080516320b7f73960e21b81526001600160a01b038a81166004830152898116602483015260006044830181905292517f0000000000000000000000000000000000000000000000000000000000000000909116926382dfdce492606480820193602093909283900390910190829087803b15801561410657600080fd5b505af115801561411a573d6000803e3d6000fd5b505050506040513d602081101561413057600080fd5b50505b6000806141617f00000000000000000000000000000000000000000000000000000000000000008b8b614302565b91509150816000148015614173575080155b1561418357879350869250614243565b6000614190898484613e48565b90508781116141e357858110156141d85760405162461bcd60e51b81526004018080602001828103825260288152602001806144616028913960400191505060405180910390fd5b889450925082614241565b60006141f0898486613e48565b9050898111156141fc57fe5b8781101561423b5760405162461bcd60e51b815260040180806020018281038252602881526020018061450b6028913960400191505060405180910390fd5b94508793505b505b5050965096945050505050565b600081158061426b5750508082028282828161426857fe5b04145b611123576040805162461bcd60e51b815260206004820152601460248201527364732d6d6174682d6d756c2d6f766572666c6f7760601b604482015290519081900360640190fd5b80820182811015611123576040805162461bcd60e51b815260206004820152601460248201527364732d6d6174682d6164642d6f766572666c6f7760601b604482015290519081900360640190fd5b60008060006143118585613ef4565b509050600080614322888888613462565b6001600160a01b0316630902f1ac6040518163ffffffff1660e01b815260040160606040518083038186803b15801561435a57600080fd5b505afa15801561436e573d6000803e3d6000fd5b505050506040513d606081101561438457600080fd5b5080516020909101516001600160701b0391821693501690506001600160a01b03878116908416146143b75780826143ba565b81815b9099909850965050505050505056fe4a756e63617377617056324c6962726172793a20494e53554646494349454e545f4c49515549444954594a756e6361737761705632526f757465723a20494e53554646494349454e545f4f55545055545f414d4f554e544a756e6361737761705632526f757465723a20455850495245440000000000004a756e6361737761705632526f757465723a20494e56414c49445f50415448004a756e6361737761705632526f757465723a20494e53554646494349454e545f425f414d4f554e544a756e63617377617056324c6962726172793a204944454e544943414c5f4144445245535345534a756e63617377617056324c6962726172793a20494e53554646494349454e545f4f55545055545f414d4f554e544a756e63617377617056324c6962726172793a20494e53554646494349454e545f494e5055545f414d4f554e544a756e6361737761705632526f757465723a20494e53554646494349454e545f415f414d4f554e545472616e7366657248656c7065723a204554485f5452414e534645525f4641494c45444a756e6361737761705632526f757465723a204558434553534956455f494e5055545f414d4f554e545472616e7366657248656c7065723a205452414e534645525f46524f4d5f4641494c45444a756e63617377617056324c6962726172793a20494e53554646494349454e545f414d4f554e54a26469706673582212203d843b0437731ce0e34fa2bfed66f778b20bb9f4c886b688635a031b685a3b0764736f6c63430006060033",
}

JuncaswapRouterMetaData contains all meta data concerning the JuncaswapRouter contract.

Functions

This section is empty.

Types

type JuncaswapFactory

type JuncaswapFactory struct {
	JuncaswapFactoryCaller     // Read-only binding to the contract
	JuncaswapFactoryTransactor // Write-only binding to the contract
	JuncaswapFactoryFilterer   // Log filterer for contract events
}

JuncaswapFactory is an auto generated Go binding around an Ethereum contract.

func DeployJuncaswapFactory

func DeployJuncaswapFactory(auth *bind.TransactOpts, backend bind.ContractBackend, _feeToSetter common.Address) (common.Address, *types.Transaction, *JuncaswapFactory, error)

DeployJuncaswapFactory deploys a new Ethereum contract, binding an instance of JuncaswapFactory to it.

func NewJuncaswapFactory

func NewJuncaswapFactory(address common.Address, backend bind.ContractBackend) (*JuncaswapFactory, error)

NewJuncaswapFactory creates a new instance of JuncaswapFactory, bound to a specific deployed contract.

type JuncaswapFactoryCaller

type JuncaswapFactoryCaller struct {
	// contains filtered or unexported fields
}

JuncaswapFactoryCaller is an auto generated read-only Go binding around an Ethereum contract.

func NewJuncaswapFactoryCaller

func NewJuncaswapFactoryCaller(address common.Address, caller bind.ContractCaller) (*JuncaswapFactoryCaller, error)

NewJuncaswapFactoryCaller creates a new read-only instance of JuncaswapFactory, bound to a specific deployed contract.

func (*JuncaswapFactoryCaller) AllPairs

func (_JuncaswapFactory *JuncaswapFactoryCaller) AllPairs(opts *bind.CallOpts, arg0 *big.Int) (common.Address, error)

AllPairs is a free data retrieval call binding the contract method 0x1e3dd18b.

Solidity: function allPairs(uint256 ) view returns(address)

func (*JuncaswapFactoryCaller) AllPairsLength

func (_JuncaswapFactory *JuncaswapFactoryCaller) AllPairsLength(opts *bind.CallOpts) (*big.Int, error)

AllPairsLength is a free data retrieval call binding the contract method 0x574f2ba3.

Solidity: function allPairsLength() view returns(uint256)

func (*JuncaswapFactoryCaller) FeeTo

func (_JuncaswapFactory *JuncaswapFactoryCaller) FeeTo(opts *bind.CallOpts) (common.Address, error)

FeeTo is a free data retrieval call binding the contract method 0x017e7e58.

Solidity: function feeTo() view returns(address)

func (*JuncaswapFactoryCaller) FeeToSetter

func (_JuncaswapFactory *JuncaswapFactoryCaller) FeeToSetter(opts *bind.CallOpts) (common.Address, error)

FeeToSetter is a free data retrieval call binding the contract method 0x094b7415.

Solidity: function feeToSetter() view returns(address)

func (*JuncaswapFactoryCaller) GasPerTx

func (_JuncaswapFactory *JuncaswapFactoryCaller) GasPerTx(opts *bind.CallOpts) (*big.Int, error)

GasPerTx is a free data retrieval call binding the contract method 0x3fe43f40.

Solidity: function gasPerTx() view returns(uint256)

func (*JuncaswapFactoryCaller) GetCodeHash

func (_JuncaswapFactory *JuncaswapFactoryCaller) GetCodeHash(opts *bind.CallOpts) ([32]byte, error)

GetCodeHash is a free data retrieval call binding the contract method 0x83dd41c6.

Solidity: function getCodeHash() pure returns(bytes32)

func (*JuncaswapFactoryCaller) GetPair

func (_JuncaswapFactory *JuncaswapFactoryCaller) GetPair(opts *bind.CallOpts, arg0 common.Address, arg1 common.Address) (common.Address, error)

GetPair is a free data retrieval call binding the contract method 0xe6a43905.

Solidity: function getPair(address , address ) view returns(address)

type JuncaswapFactoryCallerRaw

type JuncaswapFactoryCallerRaw struct {
	Contract *JuncaswapFactoryCaller // Generic read-only contract binding to access the raw methods on
}

JuncaswapFactoryCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.

func (*JuncaswapFactoryCallerRaw) Call

func (_JuncaswapFactory *JuncaswapFactoryCallerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error

Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.

type JuncaswapFactoryCallerSession

type JuncaswapFactoryCallerSession struct {
	Contract *JuncaswapFactoryCaller // Generic contract caller binding to set the session for
	CallOpts bind.CallOpts           // Call options to use throughout this session
}

JuncaswapFactoryCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.

func (*JuncaswapFactoryCallerSession) AllPairs

func (_JuncaswapFactory *JuncaswapFactoryCallerSession) AllPairs(arg0 *big.Int) (common.Address, error)

AllPairs is a free data retrieval call binding the contract method 0x1e3dd18b.

Solidity: function allPairs(uint256 ) view returns(address)

func (*JuncaswapFactoryCallerSession) AllPairsLength

func (_JuncaswapFactory *JuncaswapFactoryCallerSession) AllPairsLength() (*big.Int, error)

AllPairsLength is a free data retrieval call binding the contract method 0x574f2ba3.

Solidity: function allPairsLength() view returns(uint256)

func (*JuncaswapFactoryCallerSession) FeeTo

func (_JuncaswapFactory *JuncaswapFactoryCallerSession) FeeTo() (common.Address, error)

FeeTo is a free data retrieval call binding the contract method 0x017e7e58.

Solidity: function feeTo() view returns(address)

func (*JuncaswapFactoryCallerSession) FeeToSetter

func (_JuncaswapFactory *JuncaswapFactoryCallerSession) FeeToSetter() (common.Address, error)

FeeToSetter is a free data retrieval call binding the contract method 0x094b7415.

Solidity: function feeToSetter() view returns(address)

func (*JuncaswapFactoryCallerSession) GasPerTx

func (_JuncaswapFactory *JuncaswapFactoryCallerSession) GasPerTx() (*big.Int, error)

GasPerTx is a free data retrieval call binding the contract method 0x3fe43f40.

Solidity: function gasPerTx() view returns(uint256)

func (*JuncaswapFactoryCallerSession) GetCodeHash

func (_JuncaswapFactory *JuncaswapFactoryCallerSession) GetCodeHash() ([32]byte, error)

GetCodeHash is a free data retrieval call binding the contract method 0x83dd41c6.

Solidity: function getCodeHash() pure returns(bytes32)

func (*JuncaswapFactoryCallerSession) GetPair

func (_JuncaswapFactory *JuncaswapFactoryCallerSession) GetPair(arg0 common.Address, arg1 common.Address) (common.Address, error)

GetPair is a free data retrieval call binding the contract method 0xe6a43905.

Solidity: function getPair(address , address ) view returns(address)

type JuncaswapFactoryFilterer

type JuncaswapFactoryFilterer struct {
	// contains filtered or unexported fields
}

JuncaswapFactoryFilterer is an auto generated log filtering Go binding around an Ethereum contract events.

func NewJuncaswapFactoryFilterer

func NewJuncaswapFactoryFilterer(address common.Address, filterer bind.ContractFilterer) (*JuncaswapFactoryFilterer, error)

NewJuncaswapFactoryFilterer creates a new log filterer instance of JuncaswapFactory, bound to a specific deployed contract.

func (*JuncaswapFactoryFilterer) FilterPairCreated

func (_JuncaswapFactory *JuncaswapFactoryFilterer) FilterPairCreated(opts *bind.FilterOpts, token0 []common.Address, token1 []common.Address) (*JuncaswapFactoryPairCreatedIterator, error)

FilterPairCreated is a free log retrieval operation binding the contract event 0x30fcf386678f0a00ca73486610fda45a0bd09cb9ede7e2e5078f4c842f21b1da.

Solidity: event PairCreated(address indexed token0, address indexed token1, address pair, uint256 arg3, bool arg4)

func (*JuncaswapFactoryFilterer) FilterPairCreated0

func (_JuncaswapFactory *JuncaswapFactoryFilterer) FilterPairCreated0(opts *bind.FilterOpts, token0 []common.Address, token1 []common.Address) (*JuncaswapFactoryPairCreated0Iterator, error)

FilterPairCreated0 is a free log retrieval operation binding the contract event 0x0d3648bd0f6ba80134a33ba9275ac585d9d315f0ad8355cddefde31afa28d0e9.

Solidity: event PairCreated(address indexed token0, address indexed token1, address pair, uint256 arg3)

func (*JuncaswapFactoryFilterer) ParsePairCreated

func (_JuncaswapFactory *JuncaswapFactoryFilterer) ParsePairCreated(log types.Log) (*JuncaswapFactoryPairCreated, error)

ParsePairCreated is a log parse operation binding the contract event 0x30fcf386678f0a00ca73486610fda45a0bd09cb9ede7e2e5078f4c842f21b1da.

Solidity: event PairCreated(address indexed token0, address indexed token1, address pair, uint256 arg3, bool arg4)

func (*JuncaswapFactoryFilterer) ParsePairCreated0

func (_JuncaswapFactory *JuncaswapFactoryFilterer) ParsePairCreated0(log types.Log) (*JuncaswapFactoryPairCreated0, error)

ParsePairCreated0 is a log parse operation binding the contract event 0x0d3648bd0f6ba80134a33ba9275ac585d9d315f0ad8355cddefde31afa28d0e9.

Solidity: event PairCreated(address indexed token0, address indexed token1, address pair, uint256 arg3)

func (*JuncaswapFactoryFilterer) WatchPairCreated

func (_JuncaswapFactory *JuncaswapFactoryFilterer) WatchPairCreated(opts *bind.WatchOpts, sink chan<- *JuncaswapFactoryPairCreated, token0 []common.Address, token1 []common.Address) (event.Subscription, error)

WatchPairCreated is a free log subscription operation binding the contract event 0x30fcf386678f0a00ca73486610fda45a0bd09cb9ede7e2e5078f4c842f21b1da.

Solidity: event PairCreated(address indexed token0, address indexed token1, address pair, uint256 arg3, bool arg4)

func (*JuncaswapFactoryFilterer) WatchPairCreated0

func (_JuncaswapFactory *JuncaswapFactoryFilterer) WatchPairCreated0(opts *bind.WatchOpts, sink chan<- *JuncaswapFactoryPairCreated0, token0 []common.Address, token1 []common.Address) (event.Subscription, error)

WatchPairCreated0 is a free log subscription operation binding the contract event 0x0d3648bd0f6ba80134a33ba9275ac585d9d315f0ad8355cddefde31afa28d0e9.

Solidity: event PairCreated(address indexed token0, address indexed token1, address pair, uint256 arg3)

type JuncaswapFactoryPairCreated

type JuncaswapFactoryPairCreated struct {
	Token0 common.Address
	Token1 common.Address
	Pair   common.Address
	Arg3   *big.Int
	Arg4   bool
	Raw    types.Log // Blockchain specific contextual infos
}

JuncaswapFactoryPairCreated represents a PairCreated event raised by the JuncaswapFactory contract.

type JuncaswapFactoryPairCreated0

type JuncaswapFactoryPairCreated0 struct {
	Token0 common.Address
	Token1 common.Address
	Pair   common.Address
	Arg3   *big.Int
	Raw    types.Log // Blockchain specific contextual infos
}

JuncaswapFactoryPairCreated0 represents a PairCreated0 event raised by the JuncaswapFactory contract.

type JuncaswapFactoryPairCreated0Iterator

type JuncaswapFactoryPairCreated0Iterator struct {
	Event *JuncaswapFactoryPairCreated0 // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

JuncaswapFactoryPairCreated0Iterator is returned from FilterPairCreated0 and is used to iterate over the raw logs and unpacked data for PairCreated0 events raised by the JuncaswapFactory contract.

func (*JuncaswapFactoryPairCreated0Iterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*JuncaswapFactoryPairCreated0Iterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*JuncaswapFactoryPairCreated0Iterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type JuncaswapFactoryPairCreatedIterator

type JuncaswapFactoryPairCreatedIterator struct {
	Event *JuncaswapFactoryPairCreated // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

JuncaswapFactoryPairCreatedIterator is returned from FilterPairCreated and is used to iterate over the raw logs and unpacked data for PairCreated events raised by the JuncaswapFactory contract.

func (*JuncaswapFactoryPairCreatedIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*JuncaswapFactoryPairCreatedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*JuncaswapFactoryPairCreatedIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type JuncaswapFactoryRaw

type JuncaswapFactoryRaw struct {
	Contract *JuncaswapFactory // Generic contract binding to access the raw methods on
}

JuncaswapFactoryRaw is an auto generated low-level Go binding around an Ethereum contract.

func (*JuncaswapFactoryRaw) Call

func (_JuncaswapFactory *JuncaswapFactoryRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error

Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.

func (*JuncaswapFactoryRaw) Transact

func (_JuncaswapFactory *JuncaswapFactoryRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*JuncaswapFactoryRaw) Transfer

func (_JuncaswapFactory *JuncaswapFactoryRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.

type JuncaswapFactorySession

type JuncaswapFactorySession struct {
	Contract     *JuncaswapFactory // Generic contract binding to set the session for
	CallOpts     bind.CallOpts     // Call options to use throughout this session
	TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session
}

JuncaswapFactorySession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.

func (*JuncaswapFactorySession) AllPairs

func (_JuncaswapFactory *JuncaswapFactorySession) AllPairs(arg0 *big.Int) (common.Address, error)

AllPairs is a free data retrieval call binding the contract method 0x1e3dd18b.

Solidity: function allPairs(uint256 ) view returns(address)

func (*JuncaswapFactorySession) AllPairsLength

func (_JuncaswapFactory *JuncaswapFactorySession) AllPairsLength() (*big.Int, error)

AllPairsLength is a free data retrieval call binding the contract method 0x574f2ba3.

Solidity: function allPairsLength() view returns(uint256)

func (*JuncaswapFactorySession) CreatePair

func (_JuncaswapFactory *JuncaswapFactorySession) CreatePair(tokenA common.Address, tokenB common.Address, _gasless bool) (*types.Transaction, error)

CreatePair is a paid mutator transaction binding the contract method 0x82dfdce4.

Solidity: function createPair(address tokenA, address tokenB, bool _gasless) returns(address pair)

func (*JuncaswapFactorySession) FeeTo

func (_JuncaswapFactory *JuncaswapFactorySession) FeeTo() (common.Address, error)

FeeTo is a free data retrieval call binding the contract method 0x017e7e58.

Solidity: function feeTo() view returns(address)

func (*JuncaswapFactorySession) FeeToSetter

func (_JuncaswapFactory *JuncaswapFactorySession) FeeToSetter() (common.Address, error)

FeeToSetter is a free data retrieval call binding the contract method 0x094b7415.

Solidity: function feeToSetter() view returns(address)

func (*JuncaswapFactorySession) GasPerTx

func (_JuncaswapFactory *JuncaswapFactorySession) GasPerTx() (*big.Int, error)

GasPerTx is a free data retrieval call binding the contract method 0x3fe43f40.

Solidity: function gasPerTx() view returns(uint256)

func (*JuncaswapFactorySession) GetCodeHash

func (_JuncaswapFactory *JuncaswapFactorySession) GetCodeHash() ([32]byte, error)

GetCodeHash is a free data retrieval call binding the contract method 0x83dd41c6.

Solidity: function getCodeHash() pure returns(bytes32)

func (*JuncaswapFactorySession) GetPair

func (_JuncaswapFactory *JuncaswapFactorySession) GetPair(arg0 common.Address, arg1 common.Address) (common.Address, error)

GetPair is a free data retrieval call binding the contract method 0xe6a43905.

Solidity: function getPair(address , address ) view returns(address)

func (*JuncaswapFactorySession) SetFeeTo

func (_JuncaswapFactory *JuncaswapFactorySession) SetFeeTo(_feeTo common.Address) (*types.Transaction, error)

SetFeeTo is a paid mutator transaction binding the contract method 0xf46901ed.

Solidity: function setFeeTo(address _feeTo) returns()

func (*JuncaswapFactorySession) SetFeeToSetter

func (_JuncaswapFactory *JuncaswapFactorySession) SetFeeToSetter(_feeToSetter common.Address) (*types.Transaction, error)

SetFeeToSetter is a paid mutator transaction binding the contract method 0xa2e74af6.

Solidity: function setFeeToSetter(address _feeToSetter) returns()

func (*JuncaswapFactorySession) SetGasPerTx

func (_JuncaswapFactory *JuncaswapFactorySession) SetGasPerTx(_gasPerTx *big.Int) (*types.Transaction, error)

SetGasPerTx is a paid mutator transaction binding the contract method 0x5d96feb1.

Solidity: function setGasPerTx(uint256 _gasPerTx) returns()

type JuncaswapFactoryTransactor

type JuncaswapFactoryTransactor struct {
	// contains filtered or unexported fields
}

JuncaswapFactoryTransactor is an auto generated write-only Go binding around an Ethereum contract.

func NewJuncaswapFactoryTransactor

func NewJuncaswapFactoryTransactor(address common.Address, transactor bind.ContractTransactor) (*JuncaswapFactoryTransactor, error)

NewJuncaswapFactoryTransactor creates a new write-only instance of JuncaswapFactory, bound to a specific deployed contract.

func (*JuncaswapFactoryTransactor) CreatePair

func (_JuncaswapFactory *JuncaswapFactoryTransactor) CreatePair(opts *bind.TransactOpts, tokenA common.Address, tokenB common.Address, _gasless bool) (*types.Transaction, error)

CreatePair is a paid mutator transaction binding the contract method 0x82dfdce4.

Solidity: function createPair(address tokenA, address tokenB, bool _gasless) returns(address pair)

func (*JuncaswapFactoryTransactor) SetFeeTo

func (_JuncaswapFactory *JuncaswapFactoryTransactor) SetFeeTo(opts *bind.TransactOpts, _feeTo common.Address) (*types.Transaction, error)

SetFeeTo is a paid mutator transaction binding the contract method 0xf46901ed.

Solidity: function setFeeTo(address _feeTo) returns()

func (*JuncaswapFactoryTransactor) SetFeeToSetter

func (_JuncaswapFactory *JuncaswapFactoryTransactor) SetFeeToSetter(opts *bind.TransactOpts, _feeToSetter common.Address) (*types.Transaction, error)

SetFeeToSetter is a paid mutator transaction binding the contract method 0xa2e74af6.

Solidity: function setFeeToSetter(address _feeToSetter) returns()

func (*JuncaswapFactoryTransactor) SetGasPerTx

func (_JuncaswapFactory *JuncaswapFactoryTransactor) SetGasPerTx(opts *bind.TransactOpts, _gasPerTx *big.Int) (*types.Transaction, error)

SetGasPerTx is a paid mutator transaction binding the contract method 0x5d96feb1.

Solidity: function setGasPerTx(uint256 _gasPerTx) returns()

type JuncaswapFactoryTransactorRaw

type JuncaswapFactoryTransactorRaw struct {
	Contract *JuncaswapFactoryTransactor // Generic write-only contract binding to access the raw methods on
}

JuncaswapFactoryTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.

func (*JuncaswapFactoryTransactorRaw) Transact

func (_JuncaswapFactory *JuncaswapFactoryTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*JuncaswapFactoryTransactorRaw) Transfer

func (_JuncaswapFactory *JuncaswapFactoryTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.

type JuncaswapFactoryTransactorSession

type JuncaswapFactoryTransactorSession struct {
	Contract     *JuncaswapFactoryTransactor // Generic contract transactor binding to set the session for
	TransactOpts bind.TransactOpts           // Transaction auth options to use throughout this session
}

JuncaswapFactoryTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.

func (*JuncaswapFactoryTransactorSession) CreatePair

func (_JuncaswapFactory *JuncaswapFactoryTransactorSession) CreatePair(tokenA common.Address, tokenB common.Address, _gasless bool) (*types.Transaction, error)

CreatePair is a paid mutator transaction binding the contract method 0x82dfdce4.

Solidity: function createPair(address tokenA, address tokenB, bool _gasless) returns(address pair)

func (*JuncaswapFactoryTransactorSession) SetFeeTo

func (_JuncaswapFactory *JuncaswapFactoryTransactorSession) SetFeeTo(_feeTo common.Address) (*types.Transaction, error)

SetFeeTo is a paid mutator transaction binding the contract method 0xf46901ed.

Solidity: function setFeeTo(address _feeTo) returns()

func (*JuncaswapFactoryTransactorSession) SetFeeToSetter

func (_JuncaswapFactory *JuncaswapFactoryTransactorSession) SetFeeToSetter(_feeToSetter common.Address) (*types.Transaction, error)

SetFeeToSetter is a paid mutator transaction binding the contract method 0xa2e74af6.

Solidity: function setFeeToSetter(address _feeToSetter) returns()

func (*JuncaswapFactoryTransactorSession) SetGasPerTx

func (_JuncaswapFactory *JuncaswapFactoryTransactorSession) SetGasPerTx(_gasPerTx *big.Int) (*types.Transaction, error)

SetGasPerTx is a paid mutator transaction binding the contract method 0x5d96feb1.

Solidity: function setGasPerTx(uint256 _gasPerTx) returns()

type JuncaswapRouter

type JuncaswapRouter struct {
	JuncaswapRouterCaller     // Read-only binding to the contract
	JuncaswapRouterTransactor // Write-only binding to the contract
	JuncaswapRouterFilterer   // Log filterer for contract events
}

JuncaswapRouter is an auto generated Go binding around an Ethereum contract.

func DeployJuncaswapRouter

func DeployJuncaswapRouter(auth *bind.TransactOpts, backend bind.ContractBackend, _factory common.Address, _WETH common.Address) (common.Address, *types.Transaction, *JuncaswapRouter, error)

DeployJuncaswapRouter deploys a new Ethereum contract, binding an instance of JuncaswapRouter to it.

func NewJuncaswapRouter

func NewJuncaswapRouter(address common.Address, backend bind.ContractBackend) (*JuncaswapRouter, error)

NewJuncaswapRouter creates a new instance of JuncaswapRouter, bound to a specific deployed contract.

type JuncaswapRouterCaller

type JuncaswapRouterCaller struct {
	// contains filtered or unexported fields
}

JuncaswapRouterCaller is an auto generated read-only Go binding around an Ethereum contract.

func NewJuncaswapRouterCaller

func NewJuncaswapRouterCaller(address common.Address, caller bind.ContractCaller) (*JuncaswapRouterCaller, error)

NewJuncaswapRouterCaller creates a new read-only instance of JuncaswapRouter, bound to a specific deployed contract.

func (*JuncaswapRouterCaller) Factory

func (_JuncaswapRouter *JuncaswapRouterCaller) Factory(opts *bind.CallOpts) (common.Address, error)

Factory is a free data retrieval call binding the contract method 0xc45a0155.

Solidity: function factory() view returns(address)

func (*JuncaswapRouterCaller) GetAmountIn

func (_JuncaswapRouter *JuncaswapRouterCaller) GetAmountIn(opts *bind.CallOpts, amountOut *big.Int, reserveIn *big.Int, reserveOut *big.Int) (*big.Int, error)

GetAmountIn is a free data retrieval call binding the contract method 0x85f8c259.

Solidity: function getAmountIn(uint256 amountOut, uint256 reserveIn, uint256 reserveOut) pure returns(uint256 amountIn)

func (*JuncaswapRouterCaller) GetAmountOut

func (_JuncaswapRouter *JuncaswapRouterCaller) GetAmountOut(opts *bind.CallOpts, amountIn *big.Int, reserveIn *big.Int, reserveOut *big.Int) (*big.Int, error)

GetAmountOut is a free data retrieval call binding the contract method 0x054d50d4.

Solidity: function getAmountOut(uint256 amountIn, uint256 reserveIn, uint256 reserveOut) pure returns(uint256 amountOut)

func (*JuncaswapRouterCaller) GetAmountsIn

func (_JuncaswapRouter *JuncaswapRouterCaller) GetAmountsIn(opts *bind.CallOpts, amountOut *big.Int, path []common.Address) ([]*big.Int, error)

GetAmountsIn is a free data retrieval call binding the contract method 0x1f00ca74.

Solidity: function getAmountsIn(uint256 amountOut, address[] path) view returns(uint256[] amounts)

func (*JuncaswapRouterCaller) GetAmountsOut

func (_JuncaswapRouter *JuncaswapRouterCaller) GetAmountsOut(opts *bind.CallOpts, amountIn *big.Int, path []common.Address) ([]*big.Int, error)

GetAmountsOut is a free data retrieval call binding the contract method 0xd06ca61f.

Solidity: function getAmountsOut(uint256 amountIn, address[] path) view returns(uint256[] amounts)

func (*JuncaswapRouterCaller) Quote

func (_JuncaswapRouter *JuncaswapRouterCaller) Quote(opts *bind.CallOpts, amountA *big.Int, reserveA *big.Int, reserveB *big.Int) (*big.Int, error)

Quote is a free data retrieval call binding the contract method 0xad615dec.

Solidity: function quote(uint256 amountA, uint256 reserveA, uint256 reserveB) pure returns(uint256 amountB)

func (*JuncaswapRouterCaller) WETH

func (_JuncaswapRouter *JuncaswapRouterCaller) WETH(opts *bind.CallOpts) (common.Address, error)

WETH is a free data retrieval call binding the contract method 0xad5c4648.

Solidity: function WETH() view returns(address)

type JuncaswapRouterCallerRaw

type JuncaswapRouterCallerRaw struct {
	Contract *JuncaswapRouterCaller // Generic read-only contract binding to access the raw methods on
}

JuncaswapRouterCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.

func (*JuncaswapRouterCallerRaw) Call

func (_JuncaswapRouter *JuncaswapRouterCallerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error

Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.

type JuncaswapRouterCallerSession

type JuncaswapRouterCallerSession struct {
	Contract *JuncaswapRouterCaller // Generic contract caller binding to set the session for
	CallOpts bind.CallOpts          // Call options to use throughout this session
}

JuncaswapRouterCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.

func (*JuncaswapRouterCallerSession) Factory

func (_JuncaswapRouter *JuncaswapRouterCallerSession) Factory() (common.Address, error)

Factory is a free data retrieval call binding the contract method 0xc45a0155.

Solidity: function factory() view returns(address)

func (*JuncaswapRouterCallerSession) GetAmountIn

func (_JuncaswapRouter *JuncaswapRouterCallerSession) GetAmountIn(amountOut *big.Int, reserveIn *big.Int, reserveOut *big.Int) (*big.Int, error)

GetAmountIn is a free data retrieval call binding the contract method 0x85f8c259.

Solidity: function getAmountIn(uint256 amountOut, uint256 reserveIn, uint256 reserveOut) pure returns(uint256 amountIn)

func (*JuncaswapRouterCallerSession) GetAmountOut

func (_JuncaswapRouter *JuncaswapRouterCallerSession) GetAmountOut(amountIn *big.Int, reserveIn *big.Int, reserveOut *big.Int) (*big.Int, error)

GetAmountOut is a free data retrieval call binding the contract method 0x054d50d4.

Solidity: function getAmountOut(uint256 amountIn, uint256 reserveIn, uint256 reserveOut) pure returns(uint256 amountOut)

func (*JuncaswapRouterCallerSession) GetAmountsIn

func (_JuncaswapRouter *JuncaswapRouterCallerSession) GetAmountsIn(amountOut *big.Int, path []common.Address) ([]*big.Int, error)

GetAmountsIn is a free data retrieval call binding the contract method 0x1f00ca74.

Solidity: function getAmountsIn(uint256 amountOut, address[] path) view returns(uint256[] amounts)

func (*JuncaswapRouterCallerSession) GetAmountsOut

func (_JuncaswapRouter *JuncaswapRouterCallerSession) GetAmountsOut(amountIn *big.Int, path []common.Address) ([]*big.Int, error)

GetAmountsOut is a free data retrieval call binding the contract method 0xd06ca61f.

Solidity: function getAmountsOut(uint256 amountIn, address[] path) view returns(uint256[] amounts)

func (*JuncaswapRouterCallerSession) Quote

func (_JuncaswapRouter *JuncaswapRouterCallerSession) Quote(amountA *big.Int, reserveA *big.Int, reserveB *big.Int) (*big.Int, error)

Quote is a free data retrieval call binding the contract method 0xad615dec.

Solidity: function quote(uint256 amountA, uint256 reserveA, uint256 reserveB) pure returns(uint256 amountB)

func (*JuncaswapRouterCallerSession) WETH

func (_JuncaswapRouter *JuncaswapRouterCallerSession) WETH() (common.Address, error)

WETH is a free data retrieval call binding the contract method 0xad5c4648.

Solidity: function WETH() view returns(address)

type JuncaswapRouterFilterer

type JuncaswapRouterFilterer struct {
	// contains filtered or unexported fields
}

JuncaswapRouterFilterer is an auto generated log filtering Go binding around an Ethereum contract events.

func NewJuncaswapRouterFilterer

func NewJuncaswapRouterFilterer(address common.Address, filterer bind.ContractFilterer) (*JuncaswapRouterFilterer, error)

NewJuncaswapRouterFilterer creates a new log filterer instance of JuncaswapRouter, bound to a specific deployed contract.

type JuncaswapRouterRaw

type JuncaswapRouterRaw struct {
	Contract *JuncaswapRouter // Generic contract binding to access the raw methods on
}

JuncaswapRouterRaw is an auto generated low-level Go binding around an Ethereum contract.

func (*JuncaswapRouterRaw) Call

func (_JuncaswapRouter *JuncaswapRouterRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error

Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.

func (*JuncaswapRouterRaw) Transact

func (_JuncaswapRouter *JuncaswapRouterRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*JuncaswapRouterRaw) Transfer

func (_JuncaswapRouter *JuncaswapRouterRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.

type JuncaswapRouterSession

type JuncaswapRouterSession struct {
	Contract     *JuncaswapRouter  // Generic contract binding to set the session for
	CallOpts     bind.CallOpts     // Call options to use throughout this session
	TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session
}

JuncaswapRouterSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.

func (*JuncaswapRouterSession) AddLiquidity

func (_JuncaswapRouter *JuncaswapRouterSession) AddLiquidity(tokenA common.Address, tokenB common.Address, amountADesired *big.Int, amountBDesired *big.Int, amountAMin *big.Int, amountBMin *big.Int, to common.Address, deadline *big.Int) (*types.Transaction, error)

AddLiquidity is a paid mutator transaction binding the contract method 0xe8e33700.

Solidity: function addLiquidity(address tokenA, address tokenB, uint256 amountADesired, uint256 amountBDesired, uint256 amountAMin, uint256 amountBMin, address to, uint256 deadline) returns(uint256 amountA, uint256 amountB, uint256 liquidity)

func (*JuncaswapRouterSession) AddLiquidityETH

func (_JuncaswapRouter *JuncaswapRouterSession) AddLiquidityETH(token common.Address, amountTokenDesired *big.Int, amountTokenMin *big.Int, amountETHMin *big.Int, to common.Address, deadline *big.Int) (*types.Transaction, error)

AddLiquidityETH is a paid mutator transaction binding the contract method 0xf305d719.

Solidity: function addLiquidityETH(address token, uint256 amountTokenDesired, uint256 amountTokenMin, uint256 amountETHMin, address to, uint256 deadline) payable returns(uint256 amountToken, uint256 amountETH, uint256 liquidity)

func (*JuncaswapRouterSession) Factory

func (_JuncaswapRouter *JuncaswapRouterSession) Factory() (common.Address, error)

Factory is a free data retrieval call binding the contract method 0xc45a0155.

Solidity: function factory() view returns(address)

func (*JuncaswapRouterSession) GetAmountIn

func (_JuncaswapRouter *JuncaswapRouterSession) GetAmountIn(amountOut *big.Int, reserveIn *big.Int, reserveOut *big.Int) (*big.Int, error)

GetAmountIn is a free data retrieval call binding the contract method 0x85f8c259.

Solidity: function getAmountIn(uint256 amountOut, uint256 reserveIn, uint256 reserveOut) pure returns(uint256 amountIn)

func (*JuncaswapRouterSession) GetAmountOut

func (_JuncaswapRouter *JuncaswapRouterSession) GetAmountOut(amountIn *big.Int, reserveIn *big.Int, reserveOut *big.Int) (*big.Int, error)

GetAmountOut is a free data retrieval call binding the contract method 0x054d50d4.

Solidity: function getAmountOut(uint256 amountIn, uint256 reserveIn, uint256 reserveOut) pure returns(uint256 amountOut)

func (*JuncaswapRouterSession) GetAmountsIn

func (_JuncaswapRouter *JuncaswapRouterSession) GetAmountsIn(amountOut *big.Int, path []common.Address) ([]*big.Int, error)

GetAmountsIn is a free data retrieval call binding the contract method 0x1f00ca74.

Solidity: function getAmountsIn(uint256 amountOut, address[] path) view returns(uint256[] amounts)

func (*JuncaswapRouterSession) GetAmountsOut

func (_JuncaswapRouter *JuncaswapRouterSession) GetAmountsOut(amountIn *big.Int, path []common.Address) ([]*big.Int, error)

GetAmountsOut is a free data retrieval call binding the contract method 0xd06ca61f.

Solidity: function getAmountsOut(uint256 amountIn, address[] path) view returns(uint256[] amounts)

func (*JuncaswapRouterSession) Quote

func (_JuncaswapRouter *JuncaswapRouterSession) Quote(amountA *big.Int, reserveA *big.Int, reserveB *big.Int) (*big.Int, error)

Quote is a free data retrieval call binding the contract method 0xad615dec.

Solidity: function quote(uint256 amountA, uint256 reserveA, uint256 reserveB) pure returns(uint256 amountB)

func (*JuncaswapRouterSession) Receive

func (_JuncaswapRouter *JuncaswapRouterSession) Receive() (*types.Transaction, error)

Receive is a paid mutator transaction binding the contract receive function.

Solidity: receive() payable returns()

func (*JuncaswapRouterSession) RemoveLiquidity

func (_JuncaswapRouter *JuncaswapRouterSession) RemoveLiquidity(tokenA common.Address, tokenB common.Address, liquidity *big.Int, amountAMin *big.Int, amountBMin *big.Int, to common.Address, deadline *big.Int) (*types.Transaction, error)

RemoveLiquidity is a paid mutator transaction binding the contract method 0xbaa2abde.

Solidity: function removeLiquidity(address tokenA, address tokenB, uint256 liquidity, uint256 amountAMin, uint256 amountBMin, address to, uint256 deadline) returns(uint256 amountA, uint256 amountB)

func (*JuncaswapRouterSession) RemoveLiquidityETH

func (_JuncaswapRouter *JuncaswapRouterSession) RemoveLiquidityETH(token common.Address, liquidity *big.Int, amountTokenMin *big.Int, amountETHMin *big.Int, to common.Address, deadline *big.Int) (*types.Transaction, error)

RemoveLiquidityETH is a paid mutator transaction binding the contract method 0x02751cec.

Solidity: function removeLiquidityETH(address token, uint256 liquidity, uint256 amountTokenMin, uint256 amountETHMin, address to, uint256 deadline) returns(uint256 amountToken, uint256 amountETH)

func (*JuncaswapRouterSession) RemoveLiquidityETHSupportingFeeOnTransferTokens

func (_JuncaswapRouter *JuncaswapRouterSession) RemoveLiquidityETHSupportingFeeOnTransferTokens(token common.Address, liquidity *big.Int, amountTokenMin *big.Int, amountETHMin *big.Int, to common.Address, deadline *big.Int) (*types.Transaction, error)

RemoveLiquidityETHSupportingFeeOnTransferTokens is a paid mutator transaction binding the contract method 0xaf2979eb.

Solidity: function removeLiquidityETHSupportingFeeOnTransferTokens(address token, uint256 liquidity, uint256 amountTokenMin, uint256 amountETHMin, address to, uint256 deadline) returns(uint256 amountETH)

func (*JuncaswapRouterSession) RemoveLiquidityETHWithPermit

func (_JuncaswapRouter *JuncaswapRouterSession) RemoveLiquidityETHWithPermit(token common.Address, liquidity *big.Int, amountTokenMin *big.Int, amountETHMin *big.Int, to common.Address, deadline *big.Int, approveMax bool, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)

RemoveLiquidityETHWithPermit is a paid mutator transaction binding the contract method 0xded9382a.

Solidity: function removeLiquidityETHWithPermit(address token, uint256 liquidity, uint256 amountTokenMin, uint256 amountETHMin, address to, uint256 deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s) returns(uint256 amountToken, uint256 amountETH)

func (*JuncaswapRouterSession) RemoveLiquidityETHWithPermitSupportingFeeOnTransferTokens

func (_JuncaswapRouter *JuncaswapRouterSession) RemoveLiquidityETHWithPermitSupportingFeeOnTransferTokens(token common.Address, liquidity *big.Int, amountTokenMin *big.Int, amountETHMin *big.Int, to common.Address, deadline *big.Int, approveMax bool, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)

RemoveLiquidityETHWithPermitSupportingFeeOnTransferTokens is a paid mutator transaction binding the contract method 0x5b0d5984.

Solidity: function removeLiquidityETHWithPermitSupportingFeeOnTransferTokens(address token, uint256 liquidity, uint256 amountTokenMin, uint256 amountETHMin, address to, uint256 deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s) returns(uint256 amountETH)

func (*JuncaswapRouterSession) RemoveLiquidityWithPermit

func (_JuncaswapRouter *JuncaswapRouterSession) RemoveLiquidityWithPermit(tokenA common.Address, tokenB common.Address, liquidity *big.Int, amountAMin *big.Int, amountBMin *big.Int, to common.Address, deadline *big.Int, approveMax bool, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)

RemoveLiquidityWithPermit is a paid mutator transaction binding the contract method 0x2195995c.

Solidity: function removeLiquidityWithPermit(address tokenA, address tokenB, uint256 liquidity, uint256 amountAMin, uint256 amountBMin, address to, uint256 deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s) returns(uint256 amountA, uint256 amountB)

func (*JuncaswapRouterSession) SwapETHForExactTokens

func (_JuncaswapRouter *JuncaswapRouterSession) SwapETHForExactTokens(amountOut *big.Int, path []common.Address, to common.Address, deadline *big.Int) (*types.Transaction, error)

SwapETHForExactTokens is a paid mutator transaction binding the contract method 0xfb3bdb41.

Solidity: function swapETHForExactTokens(uint256 amountOut, address[] path, address to, uint256 deadline) payable returns(uint256[] amounts)

func (*JuncaswapRouterSession) SwapExactETHForTokens

func (_JuncaswapRouter *JuncaswapRouterSession) SwapExactETHForTokens(amountOutMin *big.Int, path []common.Address, to common.Address, deadline *big.Int) (*types.Transaction, error)

SwapExactETHForTokens is a paid mutator transaction binding the contract method 0x7ff36ab5.

Solidity: function swapExactETHForTokens(uint256 amountOutMin, address[] path, address to, uint256 deadline) payable returns(uint256[] amounts)

func (*JuncaswapRouterSession) SwapExactETHForTokensSupportingFeeOnTransferTokens

func (_JuncaswapRouter *JuncaswapRouterSession) SwapExactETHForTokensSupportingFeeOnTransferTokens(amountOutMin *big.Int, path []common.Address, to common.Address, deadline *big.Int) (*types.Transaction, error)

SwapExactETHForTokensSupportingFeeOnTransferTokens is a paid mutator transaction binding the contract method 0xb6f9de95.

Solidity: function swapExactETHForTokensSupportingFeeOnTransferTokens(uint256 amountOutMin, address[] path, address to, uint256 deadline) payable returns()

func (*JuncaswapRouterSession) SwapExactTokensForETH

func (_JuncaswapRouter *JuncaswapRouterSession) SwapExactTokensForETH(amountIn *big.Int, amountOutMin *big.Int, path []common.Address, to common.Address, deadline *big.Int) (*types.Transaction, error)

SwapExactTokensForETH is a paid mutator transaction binding the contract method 0x18cbafe5.

Solidity: function swapExactTokensForETH(uint256 amountIn, uint256 amountOutMin, address[] path, address to, uint256 deadline) returns(uint256[] amounts)

func (*JuncaswapRouterSession) SwapExactTokensForETHSupportingFeeOnTransferTokens

func (_JuncaswapRouter *JuncaswapRouterSession) SwapExactTokensForETHSupportingFeeOnTransferTokens(amountIn *big.Int, amountOutMin *big.Int, path []common.Address, to common.Address, deadline *big.Int) (*types.Transaction, error)

SwapExactTokensForETHSupportingFeeOnTransferTokens is a paid mutator transaction binding the contract method 0x791ac947.

Solidity: function swapExactTokensForETHSupportingFeeOnTransferTokens(uint256 amountIn, uint256 amountOutMin, address[] path, address to, uint256 deadline) returns()

func (*JuncaswapRouterSession) SwapExactTokensForTokens

func (_JuncaswapRouter *JuncaswapRouterSession) SwapExactTokensForTokens(amountIn *big.Int, amountOutMin *big.Int, path []common.Address, to common.Address, deadline *big.Int) (*types.Transaction, error)

SwapExactTokensForTokens is a paid mutator transaction binding the contract method 0x38ed1739.

Solidity: function swapExactTokensForTokens(uint256 amountIn, uint256 amountOutMin, address[] path, address to, uint256 deadline) returns(uint256[] amounts)

func (*JuncaswapRouterSession) SwapExactTokensForTokensSupportingFeeOnTransferTokens

func (_JuncaswapRouter *JuncaswapRouterSession) SwapExactTokensForTokensSupportingFeeOnTransferTokens(amountIn *big.Int, amountOutMin *big.Int, path []common.Address, to common.Address, deadline *big.Int) (*types.Transaction, error)

SwapExactTokensForTokensSupportingFeeOnTransferTokens is a paid mutator transaction binding the contract method 0x5c11d795.

Solidity: function swapExactTokensForTokensSupportingFeeOnTransferTokens(uint256 amountIn, uint256 amountOutMin, address[] path, address to, uint256 deadline) returns()

func (*JuncaswapRouterSession) SwapTokensForExactETH

func (_JuncaswapRouter *JuncaswapRouterSession) SwapTokensForExactETH(amountOut *big.Int, amountInMax *big.Int, path []common.Address, to common.Address, deadline *big.Int) (*types.Transaction, error)

SwapTokensForExactETH is a paid mutator transaction binding the contract method 0x4a25d94a.

Solidity: function swapTokensForExactETH(uint256 amountOut, uint256 amountInMax, address[] path, address to, uint256 deadline) returns(uint256[] amounts)

func (*JuncaswapRouterSession) SwapTokensForExactTokens

func (_JuncaswapRouter *JuncaswapRouterSession) SwapTokensForExactTokens(amountOut *big.Int, amountInMax *big.Int, path []common.Address, to common.Address, deadline *big.Int) (*types.Transaction, error)

SwapTokensForExactTokens is a paid mutator transaction binding the contract method 0x8803dbee.

Solidity: function swapTokensForExactTokens(uint256 amountOut, uint256 amountInMax, address[] path, address to, uint256 deadline) returns(uint256[] amounts)

func (*JuncaswapRouterSession) WETH

func (_JuncaswapRouter *JuncaswapRouterSession) WETH() (common.Address, error)

WETH is a free data retrieval call binding the contract method 0xad5c4648.

Solidity: function WETH() view returns(address)

type JuncaswapRouterTransactor

type JuncaswapRouterTransactor struct {
	// contains filtered or unexported fields
}

JuncaswapRouterTransactor is an auto generated write-only Go binding around an Ethereum contract.

func NewJuncaswapRouterTransactor

func NewJuncaswapRouterTransactor(address common.Address, transactor bind.ContractTransactor) (*JuncaswapRouterTransactor, error)

NewJuncaswapRouterTransactor creates a new write-only instance of JuncaswapRouter, bound to a specific deployed contract.

func (*JuncaswapRouterTransactor) AddLiquidity

func (_JuncaswapRouter *JuncaswapRouterTransactor) AddLiquidity(opts *bind.TransactOpts, tokenA common.Address, tokenB common.Address, amountADesired *big.Int, amountBDesired *big.Int, amountAMin *big.Int, amountBMin *big.Int, to common.Address, deadline *big.Int) (*types.Transaction, error)

AddLiquidity is a paid mutator transaction binding the contract method 0xe8e33700.

Solidity: function addLiquidity(address tokenA, address tokenB, uint256 amountADesired, uint256 amountBDesired, uint256 amountAMin, uint256 amountBMin, address to, uint256 deadline) returns(uint256 amountA, uint256 amountB, uint256 liquidity)

func (*JuncaswapRouterTransactor) AddLiquidityETH

func (_JuncaswapRouter *JuncaswapRouterTransactor) AddLiquidityETH(opts *bind.TransactOpts, token common.Address, amountTokenDesired *big.Int, amountTokenMin *big.Int, amountETHMin *big.Int, to common.Address, deadline *big.Int) (*types.Transaction, error)

AddLiquidityETH is a paid mutator transaction binding the contract method 0xf305d719.

Solidity: function addLiquidityETH(address token, uint256 amountTokenDesired, uint256 amountTokenMin, uint256 amountETHMin, address to, uint256 deadline) payable returns(uint256 amountToken, uint256 amountETH, uint256 liquidity)

func (*JuncaswapRouterTransactor) Receive

func (_JuncaswapRouter *JuncaswapRouterTransactor) Receive(opts *bind.TransactOpts) (*types.Transaction, error)

Receive is a paid mutator transaction binding the contract receive function.

Solidity: receive() payable returns()

func (*JuncaswapRouterTransactor) RemoveLiquidity

func (_JuncaswapRouter *JuncaswapRouterTransactor) RemoveLiquidity(opts *bind.TransactOpts, tokenA common.Address, tokenB common.Address, liquidity *big.Int, amountAMin *big.Int, amountBMin *big.Int, to common.Address, deadline *big.Int) (*types.Transaction, error)

RemoveLiquidity is a paid mutator transaction binding the contract method 0xbaa2abde.

Solidity: function removeLiquidity(address tokenA, address tokenB, uint256 liquidity, uint256 amountAMin, uint256 amountBMin, address to, uint256 deadline) returns(uint256 amountA, uint256 amountB)

func (*JuncaswapRouterTransactor) RemoveLiquidityETH

func (_JuncaswapRouter *JuncaswapRouterTransactor) RemoveLiquidityETH(opts *bind.TransactOpts, token common.Address, liquidity *big.Int, amountTokenMin *big.Int, amountETHMin *big.Int, to common.Address, deadline *big.Int) (*types.Transaction, error)

RemoveLiquidityETH is a paid mutator transaction binding the contract method 0x02751cec.

Solidity: function removeLiquidityETH(address token, uint256 liquidity, uint256 amountTokenMin, uint256 amountETHMin, address to, uint256 deadline) returns(uint256 amountToken, uint256 amountETH)

func (*JuncaswapRouterTransactor) RemoveLiquidityETHSupportingFeeOnTransferTokens

func (_JuncaswapRouter *JuncaswapRouterTransactor) RemoveLiquidityETHSupportingFeeOnTransferTokens(opts *bind.TransactOpts, token common.Address, liquidity *big.Int, amountTokenMin *big.Int, amountETHMin *big.Int, to common.Address, deadline *big.Int) (*types.Transaction, error)

RemoveLiquidityETHSupportingFeeOnTransferTokens is a paid mutator transaction binding the contract method 0xaf2979eb.

Solidity: function removeLiquidityETHSupportingFeeOnTransferTokens(address token, uint256 liquidity, uint256 amountTokenMin, uint256 amountETHMin, address to, uint256 deadline) returns(uint256 amountETH)

func (*JuncaswapRouterTransactor) RemoveLiquidityETHWithPermit

func (_JuncaswapRouter *JuncaswapRouterTransactor) RemoveLiquidityETHWithPermit(opts *bind.TransactOpts, token common.Address, liquidity *big.Int, amountTokenMin *big.Int, amountETHMin *big.Int, to common.Address, deadline *big.Int, approveMax bool, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)

RemoveLiquidityETHWithPermit is a paid mutator transaction binding the contract method 0xded9382a.

Solidity: function removeLiquidityETHWithPermit(address token, uint256 liquidity, uint256 amountTokenMin, uint256 amountETHMin, address to, uint256 deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s) returns(uint256 amountToken, uint256 amountETH)

func (*JuncaswapRouterTransactor) RemoveLiquidityETHWithPermitSupportingFeeOnTransferTokens

func (_JuncaswapRouter *JuncaswapRouterTransactor) RemoveLiquidityETHWithPermitSupportingFeeOnTransferTokens(opts *bind.TransactOpts, token common.Address, liquidity *big.Int, amountTokenMin *big.Int, amountETHMin *big.Int, to common.Address, deadline *big.Int, approveMax bool, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)

RemoveLiquidityETHWithPermitSupportingFeeOnTransferTokens is a paid mutator transaction binding the contract method 0x5b0d5984.

Solidity: function removeLiquidityETHWithPermitSupportingFeeOnTransferTokens(address token, uint256 liquidity, uint256 amountTokenMin, uint256 amountETHMin, address to, uint256 deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s) returns(uint256 amountETH)

func (*JuncaswapRouterTransactor) RemoveLiquidityWithPermit

func (_JuncaswapRouter *JuncaswapRouterTransactor) RemoveLiquidityWithPermit(opts *bind.TransactOpts, tokenA common.Address, tokenB common.Address, liquidity *big.Int, amountAMin *big.Int, amountBMin *big.Int, to common.Address, deadline *big.Int, approveMax bool, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)

RemoveLiquidityWithPermit is a paid mutator transaction binding the contract method 0x2195995c.

Solidity: function removeLiquidityWithPermit(address tokenA, address tokenB, uint256 liquidity, uint256 amountAMin, uint256 amountBMin, address to, uint256 deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s) returns(uint256 amountA, uint256 amountB)

func (*JuncaswapRouterTransactor) SwapETHForExactTokens

func (_JuncaswapRouter *JuncaswapRouterTransactor) SwapETHForExactTokens(opts *bind.TransactOpts, amountOut *big.Int, path []common.Address, to common.Address, deadline *big.Int) (*types.Transaction, error)

SwapETHForExactTokens is a paid mutator transaction binding the contract method 0xfb3bdb41.

Solidity: function swapETHForExactTokens(uint256 amountOut, address[] path, address to, uint256 deadline) payable returns(uint256[] amounts)

func (*JuncaswapRouterTransactor) SwapExactETHForTokens

func (_JuncaswapRouter *JuncaswapRouterTransactor) SwapExactETHForTokens(opts *bind.TransactOpts, amountOutMin *big.Int, path []common.Address, to common.Address, deadline *big.Int) (*types.Transaction, error)

SwapExactETHForTokens is a paid mutator transaction binding the contract method 0x7ff36ab5.

Solidity: function swapExactETHForTokens(uint256 amountOutMin, address[] path, address to, uint256 deadline) payable returns(uint256[] amounts)

func (*JuncaswapRouterTransactor) SwapExactETHForTokensSupportingFeeOnTransferTokens

func (_JuncaswapRouter *JuncaswapRouterTransactor) SwapExactETHForTokensSupportingFeeOnTransferTokens(opts *bind.TransactOpts, amountOutMin *big.Int, path []common.Address, to common.Address, deadline *big.Int) (*types.Transaction, error)

SwapExactETHForTokensSupportingFeeOnTransferTokens is a paid mutator transaction binding the contract method 0xb6f9de95.

Solidity: function swapExactETHForTokensSupportingFeeOnTransferTokens(uint256 amountOutMin, address[] path, address to, uint256 deadline) payable returns()

func (*JuncaswapRouterTransactor) SwapExactTokensForETH

func (_JuncaswapRouter *JuncaswapRouterTransactor) SwapExactTokensForETH(opts *bind.TransactOpts, amountIn *big.Int, amountOutMin *big.Int, path []common.Address, to common.Address, deadline *big.Int) (*types.Transaction, error)

SwapExactTokensForETH is a paid mutator transaction binding the contract method 0x18cbafe5.

Solidity: function swapExactTokensForETH(uint256 amountIn, uint256 amountOutMin, address[] path, address to, uint256 deadline) returns(uint256[] amounts)

func (*JuncaswapRouterTransactor) SwapExactTokensForETHSupportingFeeOnTransferTokens

func (_JuncaswapRouter *JuncaswapRouterTransactor) SwapExactTokensForETHSupportingFeeOnTransferTokens(opts *bind.TransactOpts, amountIn *big.Int, amountOutMin *big.Int, path []common.Address, to common.Address, deadline *big.Int) (*types.Transaction, error)

SwapExactTokensForETHSupportingFeeOnTransferTokens is a paid mutator transaction binding the contract method 0x791ac947.

Solidity: function swapExactTokensForETHSupportingFeeOnTransferTokens(uint256 amountIn, uint256 amountOutMin, address[] path, address to, uint256 deadline) returns()

func (*JuncaswapRouterTransactor) SwapExactTokensForTokens

func (_JuncaswapRouter *JuncaswapRouterTransactor) SwapExactTokensForTokens(opts *bind.TransactOpts, amountIn *big.Int, amountOutMin *big.Int, path []common.Address, to common.Address, deadline *big.Int) (*types.Transaction, error)

SwapExactTokensForTokens is a paid mutator transaction binding the contract method 0x38ed1739.

Solidity: function swapExactTokensForTokens(uint256 amountIn, uint256 amountOutMin, address[] path, address to, uint256 deadline) returns(uint256[] amounts)

func (*JuncaswapRouterTransactor) SwapExactTokensForTokensSupportingFeeOnTransferTokens

func (_JuncaswapRouter *JuncaswapRouterTransactor) SwapExactTokensForTokensSupportingFeeOnTransferTokens(opts *bind.TransactOpts, amountIn *big.Int, amountOutMin *big.Int, path []common.Address, to common.Address, deadline *big.Int) (*types.Transaction, error)

SwapExactTokensForTokensSupportingFeeOnTransferTokens is a paid mutator transaction binding the contract method 0x5c11d795.

Solidity: function swapExactTokensForTokensSupportingFeeOnTransferTokens(uint256 amountIn, uint256 amountOutMin, address[] path, address to, uint256 deadline) returns()

func (*JuncaswapRouterTransactor) SwapTokensForExactETH

func (_JuncaswapRouter *JuncaswapRouterTransactor) SwapTokensForExactETH(opts *bind.TransactOpts, amountOut *big.Int, amountInMax *big.Int, path []common.Address, to common.Address, deadline *big.Int) (*types.Transaction, error)

SwapTokensForExactETH is a paid mutator transaction binding the contract method 0x4a25d94a.

Solidity: function swapTokensForExactETH(uint256 amountOut, uint256 amountInMax, address[] path, address to, uint256 deadline) returns(uint256[] amounts)

func (*JuncaswapRouterTransactor) SwapTokensForExactTokens

func (_JuncaswapRouter *JuncaswapRouterTransactor) SwapTokensForExactTokens(opts *bind.TransactOpts, amountOut *big.Int, amountInMax *big.Int, path []common.Address, to common.Address, deadline *big.Int) (*types.Transaction, error)

SwapTokensForExactTokens is a paid mutator transaction binding the contract method 0x8803dbee.

Solidity: function swapTokensForExactTokens(uint256 amountOut, uint256 amountInMax, address[] path, address to, uint256 deadline) returns(uint256[] amounts)

type JuncaswapRouterTransactorRaw

type JuncaswapRouterTransactorRaw struct {
	Contract *JuncaswapRouterTransactor // Generic write-only contract binding to access the raw methods on
}

JuncaswapRouterTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.

func (*JuncaswapRouterTransactorRaw) Transact

func (_JuncaswapRouter *JuncaswapRouterTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*JuncaswapRouterTransactorRaw) Transfer

func (_JuncaswapRouter *JuncaswapRouterTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.

type JuncaswapRouterTransactorSession

type JuncaswapRouterTransactorSession struct {
	Contract     *JuncaswapRouterTransactor // Generic contract transactor binding to set the session for
	TransactOpts bind.TransactOpts          // Transaction auth options to use throughout this session
}

JuncaswapRouterTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.

func (*JuncaswapRouterTransactorSession) AddLiquidity

func (_JuncaswapRouter *JuncaswapRouterTransactorSession) AddLiquidity(tokenA common.Address, tokenB common.Address, amountADesired *big.Int, amountBDesired *big.Int, amountAMin *big.Int, amountBMin *big.Int, to common.Address, deadline *big.Int) (*types.Transaction, error)

AddLiquidity is a paid mutator transaction binding the contract method 0xe8e33700.

Solidity: function addLiquidity(address tokenA, address tokenB, uint256 amountADesired, uint256 amountBDesired, uint256 amountAMin, uint256 amountBMin, address to, uint256 deadline) returns(uint256 amountA, uint256 amountB, uint256 liquidity)

func (*JuncaswapRouterTransactorSession) AddLiquidityETH

func (_JuncaswapRouter *JuncaswapRouterTransactorSession) AddLiquidityETH(token common.Address, amountTokenDesired *big.Int, amountTokenMin *big.Int, amountETHMin *big.Int, to common.Address, deadline *big.Int) (*types.Transaction, error)

AddLiquidityETH is a paid mutator transaction binding the contract method 0xf305d719.

Solidity: function addLiquidityETH(address token, uint256 amountTokenDesired, uint256 amountTokenMin, uint256 amountETHMin, address to, uint256 deadline) payable returns(uint256 amountToken, uint256 amountETH, uint256 liquidity)

func (*JuncaswapRouterTransactorSession) Receive

func (_JuncaswapRouter *JuncaswapRouterTransactorSession) Receive() (*types.Transaction, error)

Receive is a paid mutator transaction binding the contract receive function.

Solidity: receive() payable returns()

func (*JuncaswapRouterTransactorSession) RemoveLiquidity

func (_JuncaswapRouter *JuncaswapRouterTransactorSession) RemoveLiquidity(tokenA common.Address, tokenB common.Address, liquidity *big.Int, amountAMin *big.Int, amountBMin *big.Int, to common.Address, deadline *big.Int) (*types.Transaction, error)

RemoveLiquidity is a paid mutator transaction binding the contract method 0xbaa2abde.

Solidity: function removeLiquidity(address tokenA, address tokenB, uint256 liquidity, uint256 amountAMin, uint256 amountBMin, address to, uint256 deadline) returns(uint256 amountA, uint256 amountB)

func (*JuncaswapRouterTransactorSession) RemoveLiquidityETH

func (_JuncaswapRouter *JuncaswapRouterTransactorSession) RemoveLiquidityETH(token common.Address, liquidity *big.Int, amountTokenMin *big.Int, amountETHMin *big.Int, to common.Address, deadline *big.Int) (*types.Transaction, error)

RemoveLiquidityETH is a paid mutator transaction binding the contract method 0x02751cec.

Solidity: function removeLiquidityETH(address token, uint256 liquidity, uint256 amountTokenMin, uint256 amountETHMin, address to, uint256 deadline) returns(uint256 amountToken, uint256 amountETH)

func (*JuncaswapRouterTransactorSession) RemoveLiquidityETHSupportingFeeOnTransferTokens

func (_JuncaswapRouter *JuncaswapRouterTransactorSession) RemoveLiquidityETHSupportingFeeOnTransferTokens(token common.Address, liquidity *big.Int, amountTokenMin *big.Int, amountETHMin *big.Int, to common.Address, deadline *big.Int) (*types.Transaction, error)

RemoveLiquidityETHSupportingFeeOnTransferTokens is a paid mutator transaction binding the contract method 0xaf2979eb.

Solidity: function removeLiquidityETHSupportingFeeOnTransferTokens(address token, uint256 liquidity, uint256 amountTokenMin, uint256 amountETHMin, address to, uint256 deadline) returns(uint256 amountETH)

func (*JuncaswapRouterTransactorSession) RemoveLiquidityETHWithPermit

func (_JuncaswapRouter *JuncaswapRouterTransactorSession) RemoveLiquidityETHWithPermit(token common.Address, liquidity *big.Int, amountTokenMin *big.Int, amountETHMin *big.Int, to common.Address, deadline *big.Int, approveMax bool, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)

RemoveLiquidityETHWithPermit is a paid mutator transaction binding the contract method 0xded9382a.

Solidity: function removeLiquidityETHWithPermit(address token, uint256 liquidity, uint256 amountTokenMin, uint256 amountETHMin, address to, uint256 deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s) returns(uint256 amountToken, uint256 amountETH)

func (*JuncaswapRouterTransactorSession) RemoveLiquidityETHWithPermitSupportingFeeOnTransferTokens

func (_JuncaswapRouter *JuncaswapRouterTransactorSession) RemoveLiquidityETHWithPermitSupportingFeeOnTransferTokens(token common.Address, liquidity *big.Int, amountTokenMin *big.Int, amountETHMin *big.Int, to common.Address, deadline *big.Int, approveMax bool, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)

RemoveLiquidityETHWithPermitSupportingFeeOnTransferTokens is a paid mutator transaction binding the contract method 0x5b0d5984.

Solidity: function removeLiquidityETHWithPermitSupportingFeeOnTransferTokens(address token, uint256 liquidity, uint256 amountTokenMin, uint256 amountETHMin, address to, uint256 deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s) returns(uint256 amountETH)

func (*JuncaswapRouterTransactorSession) RemoveLiquidityWithPermit

func (_JuncaswapRouter *JuncaswapRouterTransactorSession) RemoveLiquidityWithPermit(tokenA common.Address, tokenB common.Address, liquidity *big.Int, amountAMin *big.Int, amountBMin *big.Int, to common.Address, deadline *big.Int, approveMax bool, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)

RemoveLiquidityWithPermit is a paid mutator transaction binding the contract method 0x2195995c.

Solidity: function removeLiquidityWithPermit(address tokenA, address tokenB, uint256 liquidity, uint256 amountAMin, uint256 amountBMin, address to, uint256 deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s) returns(uint256 amountA, uint256 amountB)

func (*JuncaswapRouterTransactorSession) SwapETHForExactTokens

func (_JuncaswapRouter *JuncaswapRouterTransactorSession) SwapETHForExactTokens(amountOut *big.Int, path []common.Address, to common.Address, deadline *big.Int) (*types.Transaction, error)

SwapETHForExactTokens is a paid mutator transaction binding the contract method 0xfb3bdb41.

Solidity: function swapETHForExactTokens(uint256 amountOut, address[] path, address to, uint256 deadline) payable returns(uint256[] amounts)

func (*JuncaswapRouterTransactorSession) SwapExactETHForTokens

func (_JuncaswapRouter *JuncaswapRouterTransactorSession) SwapExactETHForTokens(amountOutMin *big.Int, path []common.Address, to common.Address, deadline *big.Int) (*types.Transaction, error)

SwapExactETHForTokens is a paid mutator transaction binding the contract method 0x7ff36ab5.

Solidity: function swapExactETHForTokens(uint256 amountOutMin, address[] path, address to, uint256 deadline) payable returns(uint256[] amounts)

func (*JuncaswapRouterTransactorSession) SwapExactETHForTokensSupportingFeeOnTransferTokens

func (_JuncaswapRouter *JuncaswapRouterTransactorSession) SwapExactETHForTokensSupportingFeeOnTransferTokens(amountOutMin *big.Int, path []common.Address, to common.Address, deadline *big.Int) (*types.Transaction, error)

SwapExactETHForTokensSupportingFeeOnTransferTokens is a paid mutator transaction binding the contract method 0xb6f9de95.

Solidity: function swapExactETHForTokensSupportingFeeOnTransferTokens(uint256 amountOutMin, address[] path, address to, uint256 deadline) payable returns()

func (*JuncaswapRouterTransactorSession) SwapExactTokensForETH

func (_JuncaswapRouter *JuncaswapRouterTransactorSession) SwapExactTokensForETH(amountIn *big.Int, amountOutMin *big.Int, path []common.Address, to common.Address, deadline *big.Int) (*types.Transaction, error)

SwapExactTokensForETH is a paid mutator transaction binding the contract method 0x18cbafe5.

Solidity: function swapExactTokensForETH(uint256 amountIn, uint256 amountOutMin, address[] path, address to, uint256 deadline) returns(uint256[] amounts)

func (*JuncaswapRouterTransactorSession) SwapExactTokensForETHSupportingFeeOnTransferTokens

func (_JuncaswapRouter *JuncaswapRouterTransactorSession) SwapExactTokensForETHSupportingFeeOnTransferTokens(amountIn *big.Int, amountOutMin *big.Int, path []common.Address, to common.Address, deadline *big.Int) (*types.Transaction, error)

SwapExactTokensForETHSupportingFeeOnTransferTokens is a paid mutator transaction binding the contract method 0x791ac947.

Solidity: function swapExactTokensForETHSupportingFeeOnTransferTokens(uint256 amountIn, uint256 amountOutMin, address[] path, address to, uint256 deadline) returns()

func (*JuncaswapRouterTransactorSession) SwapExactTokensForTokens

func (_JuncaswapRouter *JuncaswapRouterTransactorSession) SwapExactTokensForTokens(amountIn *big.Int, amountOutMin *big.Int, path []common.Address, to common.Address, deadline *big.Int) (*types.Transaction, error)

SwapExactTokensForTokens is a paid mutator transaction binding the contract method 0x38ed1739.

Solidity: function swapExactTokensForTokens(uint256 amountIn, uint256 amountOutMin, address[] path, address to, uint256 deadline) returns(uint256[] amounts)

func (*JuncaswapRouterTransactorSession) SwapExactTokensForTokensSupportingFeeOnTransferTokens

func (_JuncaswapRouter *JuncaswapRouterTransactorSession) SwapExactTokensForTokensSupportingFeeOnTransferTokens(amountIn *big.Int, amountOutMin *big.Int, path []common.Address, to common.Address, deadline *big.Int) (*types.Transaction, error)

SwapExactTokensForTokensSupportingFeeOnTransferTokens is a paid mutator transaction binding the contract method 0x5c11d795.

Solidity: function swapExactTokensForTokensSupportingFeeOnTransferTokens(uint256 amountIn, uint256 amountOutMin, address[] path, address to, uint256 deadline) returns()

func (*JuncaswapRouterTransactorSession) SwapTokensForExactETH

func (_JuncaswapRouter *JuncaswapRouterTransactorSession) SwapTokensForExactETH(amountOut *big.Int, amountInMax *big.Int, path []common.Address, to common.Address, deadline *big.Int) (*types.Transaction, error)

SwapTokensForExactETH is a paid mutator transaction binding the contract method 0x4a25d94a.

Solidity: function swapTokensForExactETH(uint256 amountOut, uint256 amountInMax, address[] path, address to, uint256 deadline) returns(uint256[] amounts)

func (*JuncaswapRouterTransactorSession) SwapTokensForExactTokens

func (_JuncaswapRouter *JuncaswapRouterTransactorSession) SwapTokensForExactTokens(amountOut *big.Int, amountInMax *big.Int, path []common.Address, to common.Address, deadline *big.Int) (*types.Transaction, error)

SwapTokensForExactTokens is a paid mutator transaction binding the contract method 0x8803dbee.

Solidity: function swapTokensForExactTokens(uint256 amountOut, uint256 amountInMax, address[] path, address to, uint256 deadline) returns(uint256[] amounts)

Jump to

Keyboard shortcuts

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