feat: Add swap external function to AMM contract
#117
Merged
swap external function to AMM contract
#117