Tutorial About Api




#
#  Eveem.org 26 Apr 2019 
#  Decompiled source of 0x949A6aC29B9347B3eB9a420272A9DD7890B787A3
# 
#  Let's make the world open source 
# 

def storage:
  stor0 is addr at storage 0
  stor1 is uint16 at storage 1
  stor1 is uint256 at storage 1
  stor2 is mapping of uint256 at storage 2

def _fallback() payable: # default function
  revert


def unknown2a0f7696(uint16 _param1): # not payable
  if _param1 != uint16(stor1):
      return 0
  return stor2[caller]


def Withdraw(uint256 _amount): # not payable
  require caller == stor0
  call caller with:
     value _amount wei
       gas 2300 * is_zero(value) wei
  require ext_call.success


def unknown9f1b3bad() payable: 
  hash = sha256hash(call.value) # precompiled
  require sha256hash.result
  stor2[caller] = hash xor uint256(stor1)