Skip to content

Commit

Permalink
Update function names
Browse files Browse the repository at this point in the history
  • Loading branch information
af-afk committed Dec 19, 2024
1 parent efacba0 commit f2cfd37
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion pkg/sol/SeawaterAMM.sol
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,7 @@ contract SeawaterAMM is ISeawaterAMM {
}

/// @inheritdoc ISeawaterExecutorQuoteB
function quote2A9EFFCC6(
function swap2ExactInED91BB1D(
address /* from */,
address /* to */,
uint256 /* amount */,
Expand Down
2 changes: 1 addition & 1 deletion web/src/components/ConfirmSwap.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ export const ConfirmSwap = () => {
writeContractSwap({
address: ammContract.address,
abi: ammContract.abi,
functionName: "swap2ExactIn41203F1D",
functionName: "swap2ExactInED91BB1D",
args: [
token0.address,
token1.address,
Expand Down
4 changes: 2 additions & 2 deletions web/src/components/SwapForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ export const SwapForm = () => {
return {
address: ammContract.address,
abi: ammContract.abi,
functionName: "swap2ExactIn41203F1D",
functionName: "swap2ExactInED91BB1D",
args: [
token0.address,
token1.address,
Expand Down Expand Up @@ -268,7 +268,7 @@ export const SwapForm = () => {
address: ammContract.address,
abi: ammContract.abi,
account: simulateAccount,
functionName: "quote2CD06B86E",
functionName: "quote2A9EFFCC6",
args: [
token0.address,
token1.address,
Expand Down
4 changes: 2 additions & 2 deletions web/src/config/abi/ISeawaterAMM.ts
Original file line number Diff line number Diff line change
Expand Up @@ -462,7 +462,7 @@ const ISeawaterAMM = [
},
{
type: "function",
name: "quote2CD06B86E",
name: "quote2A9EFFCC6",
inputs: [
{
name: "from",
Expand Down Expand Up @@ -555,7 +555,7 @@ const ISeawaterAMM = [
},
{
type: "function",
name: "swap2ExactIn41203F1D",
name: "swap2ExactInED91BB1D",
inputs: [
{
name: "_tokenA",
Expand Down

0 comments on commit f2cfd37

Please sign in to comment.