diff --git a/src/components/SignalInterest.tsx b/src/components/SignalInterest.tsx index 42ef01d..7e8e95f 100644 --- a/src/components/SignalInterest.tsx +++ b/src/components/SignalInterest.tsx @@ -76,6 +76,7 @@ interface ISignalInterest { title?: string, tokenAddress: string, tokenId: string, + tokenNetwork: string, } const SignalInterest = (props: PropsFromRedux & ISignalInterest) => { @@ -93,6 +94,7 @@ const SignalInterest = (props: PropsFromRedux & ISignalInterest) => { darkMode, tokenAddress, tokenId, + tokenNetwork, } = props; const signOfferMessage = async (proAmount: string) => { @@ -111,10 +113,11 @@ const SignalInterest = (props: PropsFromRedux & ISignalInterest) => { signerAccount, nonce, salt, - "make_offer", + "make_offchain_offer", { token_address: tokenAddress, token_id: tokenId, + token_network: tokenNetwork, offer_token_address: PRO_TOKEN_ADDRESS, offer_token_amount: utils.parseUnits(proAmount.toString(), PRO_TOKEN_DECIMALS).toString() } diff --git a/src/pages/SingleTokenPage.tsx b/src/pages/SingleTokenPage.tsx index 1e1dc75..115adcb 100644 --- a/src/pages/SingleTokenPage.tsx +++ b/src/pages/SingleTokenPage.tsx @@ -259,10 +259,10 @@ const SingleTokenPage = () => { } {tokenEventRecord && } - {allowSignalInterest && tokenId && tokenAddress && + {allowSignalInterest && tokenId && tokenAddress && network && <> - + }