Skip to content
Verified contractPartialApache-2.0

DODOCpProxy

Address0x048b8926bb0ee9c52e05d61fdffbccffbee06fc2
Balance

0 ETH

 

Transactions

40

 

Compiler

solc 0.6.9

 

Same code

Only this contract

 

Details

Compiler
solc 0.6.9+commit.3e3065ac
Language
solidity
Optimization
Yes, 200 runs
EVM version
istanbul
License
Apache-2.0
Match
Partialcreation code: yes, runtime code: yes
Verified on Sourcify
Created in block
12,332,691
Creation transaction
0xaee57f9e5c…8ac341b254

Read4

  • _CP_FACTORY_() → (address)
  • _DODO_APPROVE_PROXY_() → (address)
  • _UPCP_FACTORY_() → (address)
  • _WETH_() → (address)

Write2

  • createCrowdPooling(address,address,uint256,uint256[],uint256[],bool,uint256) → (address)
  • createUpCrowdPooling(address,address,uint256,uint256[],uint256[],bool,uint256) → (address)

ABI as JSON

[
  {
    "type": "constructor",
    "inputs": [
      {
        "name": "weth",
        "type": "address",
        "internalType": "address payable"
      },
      {
        "name": "cpFactory",
        "type": "address",
        "internalType": "address"
      },
      {
        "name": "upCpFactory",
        "type": "address",
        "internalType": "address"
      },
      {
        "name": "dodoApproveProxy",
        "type": "address",
        "internalType": "address"
      }
    ],
    "stateMutability": "nonpayable"
  },
  {
    "type": "fallback",
    "stateMutability": "payable"
  },
  {
    "name": "_CP_FACTORY_",
    "type": "function",
    "inputs": [],
    "outputs": [
      {
        "name": "",
        "type": "address",
        "internalType": "address"
      }
    ],
    "stateMutability": "view"
  },
  {
    "name": "_DODO_APPROVE_PROXY_",
    "type": "function",
    "inputs": [],
    "outputs": [
      {
        "name": "",
        "type": "address",
        "internalType": "address"
      }
    ],
    "stateMutability": "view"
  },
  {
    "name": "_UPCP_FACTORY_",
    "type": "function",
    "inputs": [],
    "outputs": [
      {
        "name": "",
        "type": "address",
        "internalType": "address"
      }
    ],
    "stateMutability": "view"
  },
  {
    "name": "_WETH_",
    "type": "function",
    "inputs": [],
    "outputs": [
      {
        "name": "",
        "type": "address",
        "internalType": "address"
      }
    ],
    "stateMutability": "view"
  },
  {
    "name": "createCrowdPooling",
    "type": "function",
    "inputs": [
      {
        "name": "baseToken",
        "type": "address",
        "internalType": "address"
      },
      {
        "name": "quoteToken",
        "type": "address",
        "internalType": "address"
      },
      {
        "name": "baseInAmount",
        "type": "uint256",
        "internalType": "uint256"
      },
      {
        "name": "timeLine",
        "type": "uint256[]",
        "internalType": "uint256[]"
      },
      {
        "name": "valueList",
        "type": "uint256[]",
        "internalType": "uint256[]"
      },
      {
        "name": "isOpenTWAP",
        "type": "bool",
        "internalType": "bool"
      },
      {
        "name": "deadLine",
        "type": "uint256",
        "internalType": "uint256"
      }
    ],
    "outputs": [
      {
        "name": "newCrowdPooling",
        "type": "address",
        "internalType": "address payable"
      }
    ],
    "stateMutability": "payable"
  },
  {
    "name": "createUpCrowdPooling",
    "type": "function",
    "inputs": [
      {
        "name": "baseToken",
        "type": "address",
        "internalType": "address"
      },
      {
        "name": "quoteToken",
        "type": "address",
        "internalType": "address"
      },
      {
        "name": "baseInAmount",
        "type": "uint256",
        "internalType": "uint256"
      },
      {
        "name": "timeLine",
        "type": "uint256[]",
        "internalType": "uint256[]"
      },
      {
        "name": "valueList",
        "type": "uint256[]",
        "internalType": "uint256[]"
      },
      {
        "name": "isOpenTWAP",
        "type": "bool",
        "internalType": "bool"
      },
      {
        "name": "deadLine",
        "type": "uint256",
        "internalType": "uint256"
      }
    ],
    "outputs": [
      {
        "name": "newUpCrowdPooling",
        "type": "address",
        "internalType": "address payable"
      }
    ],
    "stateMutability": "payable"
  },
  {
    "type": "receive",
    "stateMutability": "payable"
  }
]

Source code and metadata: Sourcify.

The source code belongs to the authors of the contract.