Skip to content
Verified contractPartial

WalletV2

Address0xa2182e07fa9cdcc56d02e83d966c7f875d2fe2cb
Balance

0.100025 ETH

 

Transactions

11

 

Compiler

solc 0.4.24

 

Same code

2,320 more contracts

 

Details

Compiler
solc 0.4.24+commit.e67f0147
Language
solidity
Optimization
Yes, 200 runs
EVM version
byzantium
License
Not stated
Match
Partialcreation code: yes, runtime code: yes
Verified on Sourcify
Created in block
7,733,054
Creation transaction
0x559114b06a…3c0e7f1cc3
Main copy (most transactions)
0x252a4e8d…814f0b9c

Read6

  • logic_() → (address)
  • birthBlock_() → (uint256)
  • balanceOf(address) → (uint256)
  • exchange_() → (address)
  • owner_() → (address)
  • tokenBalances_(address) → (uint256)

Write7

  • depositERC20Token(address,uint256) → (bool)
  • updateBalance(address,uint256,bool) → (bool)
  • verifyOrder(address,uint256,uint256,address) → (bool)
  • updateExchange(address) → (bool)
  • depositEther()
  • updateLogic(uint256) → (bool)
  • withdraw(address,uint256) → (bool)

Events3

  • LogDeposit(address,uint256,uint256)
  • LogWithdrawal(address,uint256,uint256)
  • LogErrorString(string)

ABI as JSON

[
  {
    "name": "depositERC20Token",
    "type": "function",
    "inputs": [
      {
        "name": "_token",
        "type": "address"
      },
      {
        "name": "_amount",
        "type": "uint256"
      }
    ],
    "outputs": [
      {
        "name": "",
        "type": "bool"
      }
    ],
    "payable": false,
    "constant": false,
    "stateMutability": "nonpayable"
  },
  {
    "name": "logic_",
    "type": "function",
    "inputs": [],
    "outputs": [
      {
        "name": "",
        "type": "address"
      }
    ],
    "payable": false,
    "constant": true,
    "stateMutability": "view"
  },
  {
    "name": "updateBalance",
    "type": "function",
    "inputs": [
      {
        "name": "_token",
        "type": "address"
      },
      {
        "name": "_amount",
        "type": "uint256"
      },
      {
        "name": "_subtractionFlag",
        "type": "bool"
      }
    ],
    "outputs": [
      {
        "name": "",
        "type": "bool"
      }
    ],
    "payable": false,
    "constant": false,
    "stateMutability": "nonpayable"
  },
  {
    "name": "verifyOrder",
    "type": "function",
    "inputs": [
      {
        "name": "_token",
        "type": "address"
      },
      {
        "name": "_amount",
        "type": "uint256"
      },
      {
        "name": "_fee",
        "type": "uint256"
      },
      {
        "name": "_feeToken",
        "type": "address"
      }
    ],
    "outputs": [
      {
        "name": "",
        "type": "bool"
      }
    ],
    "payable": false,
    "constant": false,
    "stateMutability": "nonpayable"
  },
  {
    "name": "updateExchange",
    "type": "function",
    "inputs": [
      {
        "name": "_exchange",
        "type": "address"
      }
    ],
    "outputs": [
      {
        "name": "",
        "type": "bool"
      }
    ],
    "payable": false,
    "constant": false,
    "stateMutability": "nonpayable"
  },
  {
    "name": "birthBlock_",
    "type": "function",
    "inputs": [],
    "outputs": [
      {
        "name": "",
        "type": "uint256"
      }
    ],
    "payable": false,
    "constant": true,
    "stateMutability": "view"
  },
  {
    "name": "balanceOf",
    "type": "function",
    "inputs": [
      {
        "name": "_token",
        "type": "address"
      }
    ],
    "outputs": [
      {
        "name": "",
        "type": "uint256"
      }
    ],
    "payable": false,
    "constant": true,
    "stateMutability": "view"
  },
  {
    "name": "depositEther",
    "type": "function",
    "inputs": [],
    "outputs": [],
    "payable": true,
    "constant": false,
    "stateMutability": "payable"
  },
  {
    "name": "exchange_",
    "type": "function",
    "inputs": [],
    "outputs": [
      {
        "name": "",
        "type": "address"
      }
    ],
    "payable": false,
    "constant": true,
    "stateMutability": "view"
  },
  {
    "name": "updateLogic",
    "type": "function",
    "inputs": [
      {
        "name": "_version",
        "type": "uint256"
      }
    ],
    "outputs": [
      {
        "name": "",
        "type": "bool"
      }
    ],
    "payable": false,
    "constant": false,
    "stateMutability": "nonpayable"
  },
  {
    "name": "owner_",
    "type": "function",
    "inputs": [],
    "outputs": [
      {
        "name": "",
        "type": "address"
      }
    ],
    "payable": false,
    "constant": true,
    "stateMutability": "view"
  },
  {
    "name": "withdraw",
    "type": "function",
    "inputs": [
      {
        "name": "_token",
        "type": "address"
      },
      {
        "name": "_amount",
        "type": "uint256"
      }
    ],
    "outputs": [
      {
        "name": "",
        "type": "bool"
      }
    ],
    "payable": false,
    "constant": false,
    "stateMutability": "nonpayable"
  },
  {
    "name": "tokenBalances_",
    "type": "function",
    "inputs": [
      {
        "name": "",
        "type": "address"
      }
    ],
    "outputs": [
      {
        "name": "",
        "type": "uint256"
      }
    ],
    "payable": false,
    "constant": true,
    "stateMutability": "view"
  },
  {
    "type": "constructor",
    "inputs": [
      {
        "name": "_owner",
        "type": "address"
      },
      {
        "name": "_connector",
        "type": "address"
      }
    ],
    "payable": false,
    "stateMutability": "nonpayable"
  },
  {
    "type": "fallback",
    "payable": true,
    "stateMutability": "payable"
  },
  {
    "name": "LogDeposit",
    "type": "event",
    "inputs": [
      {
        "name": "token",
        "type": "address",
        "indexed": false
      },
      {
        "name": "amount",
        "type": "uint256",
        "indexed": false
      },
      {
        "name": "balance",
        "type": "uint256",
        "indexed": false
      }
    ],
    "anonymous": false
  },
  {
    "name": "LogWithdrawal",
    "type": "event",
    "inputs": [
      {
        "name": "token",
        "type": "address",
        "indexed": false
      },
      {
        "name": "amount",
        "type": "uint256",
        "indexed": false
      },
      {
        "name": "balance",
        "type": "uint256",
        "indexed": false
      }
    ],
    "anonymous": false
  },
  {
    "name": "LogErrorString",
    "type": "event",
    "inputs": [
      {
        "name": "errorString",
        "type": "string",
        "indexed": false
      }
    ],
    "anonymous": false
  }
]

Source code and metadata: Sourcify.

The source code belongs to the authors of the contract.