53 lines
1.8 KiB
Python
53 lines
1.8 KiB
Python
"""The Switchboard Python v2 Wrapper."""
|
|
|
|
from switchboardpy.aggregator import (
|
|
AggregatorAccount,
|
|
AggregatorHistoryRow,
|
|
AggregatorInitParams,
|
|
AggregatorOpenRoundParams,
|
|
AggregatorSaveResultParams,
|
|
AggregatorSetHistoryBufferParams
|
|
)
|
|
from switchboardpy.compiled import OracleJob
|
|
from switchboardpy.common import SBV2_DEVNET_PID, AccountParams, SwitchboardDecimal
|
|
from switchboardpy.crank import CrankAccount, CrankPopParams, CrankInitParams, CrankPushParams, CrankRow
|
|
from switchboardpy.job import JobAccount, JobInitParams
|
|
from switchboardpy.lease import LeaseAccount, LeaseExtendParams, LeaseInitParams, LeaseWithdrawParams
|
|
from switchboardpy.oracle import OracleAccount, OracleInitParams, OracleWithdrawParams
|
|
from switchboardpy.oraclequeue import OracleQueueAccount, OracleQueueInitParams
|
|
from switchboardpy.permission import PermissionAccount, PermissionInitParams, PermissionSetParams
|
|
from switchboardpy.program import ProgramStateAccount, ProgramInitParams, VaultTransferParams
|
|
|
|
__all__ = [
|
|
"AccountParams",
|
|
"AggregatorAccount",
|
|
"AggregatorHistoryRow",
|
|
"AggregatorInitParams",
|
|
"AggregatorOpenRoundParams",
|
|
"AggregatorSaveResultParams",
|
|
"AggregatorSetHistoryBufferParams",
|
|
"CrankAccount",
|
|
"CrankPopParams",
|
|
"CrankInitParams",
|
|
"CrankPushParams",
|
|
"CrankRow",
|
|
"JobAccount",
|
|
"JobInitParams",
|
|
"LeaseAccount",
|
|
"LeaseExtendParams",
|
|
"LeaseInitParams",
|
|
"LeaseWithdrawParams",
|
|
"OracleAccount",
|
|
"OracleInitParams",
|
|
"OracleWithdrawParams",
|
|
"OracleQueueAccount",
|
|
"OracleQueueInitParams",
|
|
"OracleJob",
|
|
"PermissionAccount",
|
|
"PermissionInitParams",
|
|
"PermissionSetParams",
|
|
"ProgramStateAccount",
|
|
"ProgramInitParams",
|
|
"VaultTransferParams",
|
|
"SwitchboardDecimal"
|
|
] |