Contract 0x355f313709553e7bd78a4a276da1910f39f0d567

Balance:0 ETH
Name:DebitTransfer

Recent Activity

HashBlockTypeFromToAmount

Code

0x60806040526004361061005b577c01000000000000000000000000000000000000000000000000000000006000350463095bcdb681146100605780630afca69f146100a15780638da5cb5b146100d2578063f2fde38b146100e7575b600080fd5b34801561006c57600080fd5b5061009f6004803603606081101561008357600080fd5b50600160a060020a03813516906020810135906040013561011a565b005b3480156100ad57600080fd5b506100b661032e565b60408051600160a060020a039092168252519081900360200190f35b3480156100de57600080fd5b506100b661033d565b3480156100f357600080fd5b5061009f6004803603602081101561010a57600080fd5b5035600160a060020a031661034c565b600154604080517fceae342400000000000000000000000000000000000000000000000000000000815233600482015290518492600160a060020a03169163ceae34249160248083019260209291908290030181600087803b15801561017f57600080fd5b505af1158015610193573d6000803e3d6000fd5b505050506040513d60208110156101a957600080fd5b5051600154604080517fbeb2b55d00000000000000000000000000000000000000000000000000000000815233600482015290519390920192600160a060020a039091169163beb2b55d9160248083019260209291908290030181600087803b15801561021557600080fd5b505af1158015610229573d6000803e3d6000fd5b505050506040513d602081101561023f57600080fd5b50511061005b57600154604080517f700f55b2000000000000000000000000000000000000000000000000000000008152336004820152600160a060020a03868116602483015260448201869052606482018590529151919092169163700f55b291608480830192600092919082900301818387803b1580156102c157600080fd5b505af11580156102d5573d6000803e3d6000fd5b505060408051338152600160a060020a03871660208201528082018690526060810185905290517f9ed053bb818ff08b8353cd46f78db1f0799f31c9e4458fdb425c10eccd2efc449350908190036080019150a1505050565b600154600160a060020a031681565b600054600160a060020a031681565b600054600160a060020a0316331461036357600080fd5b60005460408051600160a060020a039283168152918316602083015280517ffde8e7d7be5607c2e5922b2a6fdb6106620225daaea86b34e0335c1b673467cc9281900390910190a16000805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a039290921691909117905556fea165627a7a723058207440d6b12e5de2cd6c934c06f6990296a0e7117fb74614e91425d44b7ccb30fa0029

Source

contract DebitTransfer is owned {
    Stromkonto public stromkonto;
    event Transfer(address from,address to,uint256 value,uint256 base);
    constructor(Stromkonto _stromkonto) public {
        stromkonto = _stromkonto;
    }
    
    function transfer(address _to,uint256 _value,uint256 _base) public {
        if(stromkonto.balanceHaben(msg.sender)>=stromkonto.balanceSoll(msg.sender)+_value) {
           stromkonto.addTx(msg.sender,_to,_value,_base); 
           emit Transfer(msg.sender,_to,_value,_base);
        }  else revert(); 
    }
}
contra

ABI

Constructor

0x608060405234801561001057600080fd5b506040516020806104758339810180604052602081101561003057600080fd5b505160008054600160a060020a0319908116331790915560018054600160a060020a03909316929091169190911790556104068061006f6000396000f3fe60806040526004361061005b577c01000000000000000000000000000000000000000000000000000000006000350463095bcdb681146100605780630afca69f146100a15780638da5cb5b146100d2578063f2fde38b146100e7575b600080fd5b34801561006c57600080fd5b5061009f6004803603606081101561008357600080fd5b50600160a060020a03813516906020810135906040013561011a565b005b3480156100ad57600080fd5b506100b661032e565b60408051600160a060020a039092168252519081900360200190f35b3480156100de57600080fd5b506100b661033d565b3480156100f357600080fd5b5061009f6004803603602081101561010a57600080fd5b5035600160a060020a031661034c565b600154604080517fceae342400000000000000000000000000000000000000000000000000000000815233600482015290518492600160a060020a03169163ceae34249160248083019260209291908290030181600087803b15801561017f57600080fd5b505af1158015610193573d6000803e3d6000fd5b505050506040513d60208110156101a957600080fd5b5051600154604080517fbeb2b55d00000000000000000000000000000000000000000000000000000000815233600482015290519390920192600160a060020a039091169163beb2b55d9160248083019260209291908290030181600087803b15801561021557600080fd5b505af1158015610229573d6000803e3d6000fd5b505050506040513d602081101561023f57600080fd5b50511061005b57600154604080517f700f55b2000000000000000000000000000000000000000000000000000000008152336004820152600160a060020a03868116602483015260448201869052606482018590529151919092169163700f55b291608480830192600092919082900301818387803b1580156102c157600080fd5b505af11580156102d5573d6000803e3d6000fd5b505060408051338152600160a060020a03871660208201528082018690526060810185905290517f9ed053bb818ff08b8353cd46f78db1f0799f31c9e4458fdb425c10eccd2efc449350908190036080019150a1505050565b600154600160a060020a031681565b600054600160a060020a031681565b600054600160a060020a0316331461036357600080fd5b60005460408051600160a060020a039283168152918316602083015280517ffde8e7d7be5607c2e5922b2a6fdb6106620225daaea86b34e0335c1b673467cc9281900390910190a16000805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a039290921691909117905556fe0000000000000000000000008e93e70d8ac18dbaa38dd557acd4901f843e04e3

Current contract state

FunctionResult