Tutorial About Api




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

def storage:
  get is uint256 at storage 0
  stor32 is uint256 at storage 32

def get(): # not payable
  require get != caller
  return get


#
#  Regular functions
#


def die() payable: 
  require caller == stor32
  selfdestruct(stor32)


def unknown7909947a() payable: 
  # nil


def _fallback() payable: # default function
  revert 


def set(uint256 _fee) payable: 
  mem[64] = 96
  require not call.value
  _1 = mem[256]
  _2 = mem[256]
  mem[256] = mem[256] + 32
  mem[_2 + 32] = _1
  _3 = mem[256]
  mem[256] = mem[256] + 32
  mem[_3 + 32] = 836
  _4 = mem[256]
  mem[256] = mem[256] + 32
  mem[_4 + 32] = _fee
  _5 = mem[256]
  mem[256] = mem[256] + 32
  mem[_5 + 32] = 0
  stor[mem[mem[256]]] = mem[mem[256] - 32]
  mem[256] = mem[256] - 32
  mem[256] = mem[256] - 32
  ...  # unusual jump ('remco jump', ('mem', ('range', ('mem', ('range', 256, 32)), 32))), couldn't decompile, sorry