The current single offer and liquidity pool contracts follow a model where tokens need to be transferred to the contract methods like trade or deposit are called in the same transaction. A "router" contract is required to safely run these contract functions, so we should provide these examples as well.
The current single offer and liquidity pool contracts follow a model where tokens need to be transferred to the contract methods like
trade
ordeposit
are called in the same transaction. A "router" contract is required to safely run these contract functions, so we should provide these examples as well.