forked from mico/idle_moloch
Changed the buy in amounts in client as well
This commit is contained in:
parent
81170fd8ec
commit
ee6c9ec710
@ -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([
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user