Skip to content
This repository has been archived by the owner on Nov 18, 2024. It is now read-only.

Commit

Permalink
fix: erc 7730
Browse files Browse the repository at this point in the history
  • Loading branch information
hyacinthus committed Nov 17, 2024
1 parent 6df0fe2 commit f6a81f3
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion backend/service/vapi_function.go
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ func (s *Service) VAPIFunctionConfirm(ctx context.Context, msg *types.VapiServer

s.log.Warn("VAPIFunction confirm called", "state", state)
if confirm {
res := types.ToolResult{ToolCallID: id, Result: `Tell the user:"Please sign the transaction to swap the tokens. This has been ERC-7730 clear signed"`}
res := types.ToolResult{ToolCallID: id, Result: `Tell the user:"Please sign the transaction to swap the tokens. This has been ERC 7730 clear signed"`}
resp.Results = append(resp.Results, res)
} else {
res := types.ToolResult{ToolCallID: id, Result: `Tell the
Expand Down
6 changes: 3 additions & 3 deletions frontend/app/services/token.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ export const getTokenList = async function (network: string) {

const config = {
headers: {
"Authorization": "Bearer ***REMOVED***"
"Authorization": "Bearer d9IBNKjwa3NfVp5bU0toolWLbeQfFGK8"
},
params: {},
paramsSerializer: {
Expand All @@ -27,7 +27,7 @@ export const getTokenByName = async function (network: string, tokenName: string
console.log(url);
const config = {
headers: {
"Authorization": "Bearer ***REMOVED***"
"Authorization": "Bearer d9IBNKjwa3NfVp5bU0toolWLbeQfFGK8"
},
params: {
"query": tokenName,
Expand Down Expand Up @@ -71,7 +71,7 @@ export const getTokensPrice = async function (network: string) {

const config = {
headers: {
"Authorization": "Bearer ***REMOVED***"
"Authorization": "Bearer d9IBNKjwa3NfVp5bU0toolWLbeQfFGK8"
},
params: {
"currency": "USD"
Expand Down
6 changes: 3 additions & 3 deletions swapapi/src/token.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ export const getTokenList = async function (network: string) {

const config = {
headers: {
"Authorization": "Bearer ***REMOVED***"
"Authorization": "Bearer d9IBNKjwa3NfVp5bU0toolWLbeQfFGK8"
},
params: {},
paramsSerializer: {
Expand All @@ -28,7 +28,7 @@ export const getTokenByName = async function (network: string, tokenName: string
console.log(url);
const config = {
headers: {
"Authorization": "Bearer ***REMOVED***"
"Authorization": "Bearer d9IBNKjwa3NfVp5bU0toolWLbeQfFGK8"
},
params: {
"query": tokenName,
Expand Down Expand Up @@ -72,7 +72,7 @@ export const getTokensPrice = async function (network: string) {

const config = {
headers: {
"Authorization": "Bearer ***REMOVED***"
"Authorization": "Bearer d9IBNKjwa3NfVp5bU0toolWLbeQfFGK8"
},
params: {
"currency": "USD"
Expand Down

0 comments on commit f6a81f3

Please sign in to comment.