use of org.tron.core.capsule.AccountCapsule in project java-tron by tronprotocol.
the class AccountStore method getBlackhole.
/**
* Min TRX account.
*/
public AccountCapsule getBlackhole() {
byte[] data = dbSource.getData(ByteString.copyFrom(ByteArray.fromHexString(ACCOUNT_BLACKHOLE_ADDRESS)).toByteArray());
AccountCapsule accountCapsule = new AccountCapsule(data);
return accountCapsule;
}
use of org.tron.core.capsule.AccountCapsule in project java-tron by tronprotocol.
the class AccountStore method getZion.
/**
* Get foundation account info.
*/
public AccountCapsule getZion() {
byte[] data = dbSource.getData(ByteString.copyFrom(ByteArray.fromHexString(ACCOUNT_ZION_ADDRESS)).toByteArray());
AccountCapsule accountCapsule = new AccountCapsule(data);
return accountCapsule;
}
Aggregations