Changed the buy in amounts in client as well
Some checks failed
CI / Foundry project (push) Has been cancelled
CI / Foundry project (pull_request) Has been cancelled

This commit is contained in:
mic0 2024-10-30 00:31:06 +01:00
parent 81170fd8ec
commit ee6c9ec710
Signed by: mico
GPG Key ID: A3F8023524CF1C8D

View File

@ -108,7 +108,7 @@ const PlayerProvider = ({ children }: { children: ReactNode }) => {
abi, abi,
address: contractAddress, address: contractAddress,
functionName: 'register_eth', functionName: 'register_eth',
value: parseEther("0.0005"), value: parseEther("0.00005"),
}, { }, {
onSuccess: (hash) => { onSuccess: (hash) => {
setHashAndCallback([hash, resetHashAndCallback]) setHashAndCallback([hash, resetHashAndCallback])
@ -119,7 +119,7 @@ const PlayerProvider = ({ children }: { children: ReactNode }) => {
abi, abi,
address: daoTokenAddress, address: daoTokenAddress,
functionName: 'approve', functionName: 'approve',
args: [contractAddress, parseEther("500")], args: [contractAddress, parseEther("50")],
}, { }, {
onSuccess: (hash) => { onSuccess: (hash) => {
setHashAndCallback([ setHashAndCallback([