read.cash Log in
@ircrp more from that month

Got to the bottom of the issue I faced yesterday and described under https://noise.cash/post/1zm52w36 in regards to not being able to supply liquidity for a brand new pair on Benswap's smart contracts I deployed on testnet. Turns out the hardcoded init code hash in Router.sol indeed needs to be changed to a value of the PancakePair creation code's hash which is computed by the Factory.sol and exposed in the deployed smart contract for read only access. Now I am able to create a brand new pair and supply liquidity for it, happy days. https://github.com/BenTokenFinance/benswapbch-contracts/blob/master/Contracts/Factory.sol#L508 #NoiseCash

No comments yet

Log in to join in Reading is open to everyone. Replying needs an account.