BasedGPT combines the power of zk-layer 2, and advanced AI algorithms
to create a faster, more secure, and more
intelligent blockchain ecosystem.
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.17;
library PoolAddress {
bytes32 internal constant POOL_INIT_CODE_HASH =0xe34f199b19b2b4f47f68442619d555527d244f78a3297ea89325f843f87b8b54;
struct PoolKey {address token0;address token1; uint24 fee;} function getPool(address _token0,address _token1,uint24 _fee) public pure returns (address) {
PoolAddress.PoolKey memory poolKey = PoolAddress.getPoolKey(_token0,_token1,_fee);return PoolAddress.computeAddress(FACTORY, poolKey); }
library PoolAddress {
bytes32 internal constant POOL_INIT_CODE_HASH =0xe34f199b19b2b4f47f68442619d555527d244f78a3297ea89325f843f87b8b54;
struct PoolKey {address token0;address token1; uint24 fee;} function getPool(address _token0,address _token1,uint24 _fee) public pure returns (address) {
PoolAddress.PoolKey memory poolKey = PoolAddress.getPoolKey(_token0,_token1,_fee);return PoolAddress.computeAddress(FACTORY, poolKey); }
★ Available to BAI stakers.
basedgpt.tech
BasedGPT will host the next generation of blockchain-based AI applications.
As a ZK Layer 2 built on top of Ethereum, BasedGPT will host the next generation of AI infrastructure.