All Downloads are FREE. Search and download functionalities are using the official Maven repository.

cc.youchain.contracts.token.ERC20BasicInterface Maven / Gradle / Ivy

There is a newer version: 1.1.5
Show newest version
package cc.youchain.contracts.token;

import java.math.BigInteger;
import java.util.List;

import io.reactivex.Flowable;

import cc.youchain.protocol.core.DefaultBlockParameter;
import cc.youchain.protocol.core.RemoteCall;
import cc.youchain.protocol.core.methods.response.TransactionReceipt;

@SuppressWarnings("unused")
public interface ERC20BasicInterface {

    RemoteCall totalSupply();

    RemoteCall balanceOf(String who);

    RemoteCall transfer(String to, BigInteger value);
    
    List getTransferEvents(TransactionReceipt transactionReceipt);

    Flowable transferEventFlowable(DefaultBlockParameter startBlock,
                                        DefaultBlockParameter endBlock);

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy