2022-03-22 14:58:59 +00:00
|
|
|
//SPDX-License-Identifier: MIT
|
2021-10-02 16:07:42 +00:00
|
|
|
pragma solidity ^0.7.0;
|
|
|
|
pragma experimental ABIEncoderV2;
|
|
|
|
|
|
|
|
import { DSMath } from "../../common/math.sol";
|
|
|
|
import { Basic } from "../../common/basic.sol";
|
|
|
|
import { ListInterface } from "./interface.sol";
|
|
|
|
|
|
|
|
abstract contract Helpers is DSMath, Basic {
|
|
|
|
ListInterface internal constant listContract = ListInterface(0x3565F6057b7fFE36984779A507fC87b31EFb0f09);
|
|
|
|
|
|
|
|
function checkAuthCount() internal view returns (uint count) {
|
|
|
|
uint64 accountId = listContract.accountID(address(this));
|
|
|
|
count = listContract.accountLink(accountId).count;
|
|
|
|
}
|
|
|
|
}
|