///
import BN = require('bn.js');
import { AbiFunction } from 'ethereum';
import { AccountManager } from './AccountManager';
import { Connector } from './Connector';
/**
* By convention, pure/view methods have a `_` suffix on them indicating to the caller that the function will be executed locally and return the function's result. payable/nonpayable functions have both a localy version and a remote version (distinguished by the trailing `_`). If the remote method is called, you will only get back a transaction hash which can be used to lookup the transaction receipt for success/failure (due to EVM limitations you will not get the function results back).
*/
export declare class Contract {
protected readonly connector: Connector;
protected readonly accountManager: AccountManager;
readonly address: string;
protected readonly defaultGasPrice: BN;
protected constructor(connector: Connector, accountManager: AccountManager, address: string, defaultGasPrice: BN);
protected localCall(abi: AbiFunction, parameters: Array, sender?: string, attachedEth?: BN): Promise>;
protected remoteCall(abi: AbiFunction, parameters: Array, txName: String, sender?: string, gasPrice?: BN, attachedEth?: BN): Promise;
}
export declare class Controlled extends Contract {
constructor(connector: Connector, accountManager: AccountManager, address: string, defaultGasPrice: BN);
getController_: (options?: {
sender?: string | undefined;
} | undefined) => Promise;
setController: (controller: string, options?: {
sender?: string | undefined;
gasPrice?: BN | undefined;
} | undefined) => Promise;
setController_: (controller: string, options?: {
sender?: string | undefined;
} | undefined) => Promise;
}
export declare class Augur extends Controlled {
constructor(connector: Connector, accountManager: AccountManager, address: string, defaultGasPrice: BN);
logDisputeCrowdsourcerRedeemed: (universe: string, reporter: string, market: string, amountRedeemed: BN, repReceived: BN, reportingFeesReceived: BN, payoutNumerators: BN[], options?: {
sender?: string | undefined;
gasPrice?: BN | undefined;
} | undefined) => Promise;
logDisputeCrowdsourcerRedeemed_: (universe: string, reporter: string, market: string, amountRedeemed: BN, repReceived: BN, reportingFeesReceived: BN, payoutNumerators: BN[], options?: {
sender?: string | undefined;
} | undefined) => Promise;
logMarketCreated: (topic: string, description: string, extraInfo: string, universe: string, market: string, marketCreator: string, outcomes: string[], minPrice: BN, maxPrice: BN, marketType: BN, options?: {
sender?: string | undefined;
gasPrice?: BN | undefined;
} | undefined) => Promise;
logMarketCreated_: (topic: string, description: string, extraInfo: string, universe: string, market: string, marketCreator: string, outcomes: string[], minPrice: BN, maxPrice: BN, marketType: BN, options?: {
sender?: string | undefined;
} | undefined) => Promise;
logOrderCreated: (orderType: BN, amount: BN, price: BN, creator: string, moneyEscrowed: BN, sharesEscrowed: BN, tradeGroupId: string, orderId: string, universe: string, shareToken: string, options?: {
sender?: string | undefined;
gasPrice?: BN | undefined;
} | undefined) => Promise;
logOrderCreated_: (orderType: BN, amount: BN, price: BN, creator: string, moneyEscrowed: BN, sharesEscrowed: BN, tradeGroupId: string, orderId: string, universe: string, shareToken: string, options?: {
sender?: string | undefined;
} | undefined) => Promise;
logDisputeCrowdsourcerTokensBurned: (universe: string, target: string, amount: BN, options?: {
sender?: string | undefined;
gasPrice?: BN | undefined;
} | undefined) => Promise;
logDisputeCrowdsourcerTokensBurned_: (universe: string, target: string, amount: BN, options?: {
sender?: string | undefined;
} | undefined) => Promise;
logReportingParticipantDisavowed: (universe: string, market: string, options?: {
sender?: string | undefined;
gasPrice?: BN | undefined;
} | undefined) => Promise;
logReportingParticipantDisavowed_: (universe: string, market: string, options?: {
sender?: string | undefined;
} | undefined) => Promise;
logMarketMigrated: (market: string, originalUniverse: string, options?: {
sender?: string | undefined;
gasPrice?: BN | undefined;
} | undefined) => Promise;
logMarketMigrated_: (market: string, originalUniverse: string, options?: {
sender?: string | undefined;
} | undefined) => Promise;
logMarketTransferred: (universe: string, from: string, to: string, options?: {
sender?: string | undefined;
gasPrice?: BN | undefined;
} | undefined) => Promise;
logMarketTransferred_: (universe: string, from: string, to: string, options?: {
sender?: string | undefined;
} | undefined) => Promise;
logFeeTokenMinted: (universe: string, target: string, amount: BN, options?: {
sender?: string | undefined;
gasPrice?: BN | undefined;
} | undefined) => Promise;
logFeeTokenMinted_: (universe: string, target: string, amount: BN, options?: {
sender?: string | undefined;
} | undefined) => Promise;
logMarketFinalized: (universe: string, options?: {
sender?: string | undefined;
gasPrice?: BN | undefined;
} | undefined) => Promise;
logMarketFinalized_: (universe: string, options?: {
sender?: string | undefined;
} | undefined) => Promise;
getController_: (options?: {
sender?: string | undefined;
} | undefined) => Promise;
logMarketMailboxTransferred: (universe: string, market: string, from: string, to: string, options?: {
sender?: string | undefined;
gasPrice?: BN | undefined;
} | undefined) => Promise;
logMarketMailboxTransferred_: (universe: string, market: string, from: string, to: string, options?: {
sender?: string | undefined;
} | undefined) => Promise;
logFeeTokenTransferred: (universe: string, from: string, to: string, value: BN, options?: {
sender?: string | undefined;
gasPrice?: BN | undefined;
} | undefined) => Promise;
logFeeTokenTransferred_: (universe: string, from: string, to: string, value: BN, options?: {
sender?: string | undefined;
} | undefined) => Promise;
logFeeWindowRedeemed: (universe: string, reporter: string, amountRedeemed: BN, reportingFeesReceived: BN, options?: {
sender?: string | undefined;
gasPrice?: BN | undefined;
} | undefined) => Promise;
logFeeWindowRedeemed_: (universe: string, reporter: string, amountRedeemed: BN, reportingFeesReceived: BN, options?: {
sender?: string | undefined;
} | undefined) => Promise;
logReputationTokenBurned: (universe: string, target: string, amount: BN, options?: {
sender?: string | undefined;
gasPrice?: BN | undefined;
} | undefined) => Promise;
logReputationTokenBurned_: (universe: string, target: string, amount: BN, options?: {
sender?: string | undefined;
} | undefined) => Promise;
logUniverseForked: (options?: {
sender?: string | undefined;
gasPrice?: BN | undefined;
} | undefined) => Promise;
logUniverseForked_: (options?: {
sender?: string | undefined;
} | undefined) => Promise;
logDisputeCrowdsourcerCompleted: (universe: string, market: string, disputeCrowdsourcer: string, options?: {
sender?: string | undefined;
gasPrice?: BN | undefined;
} | undefined) => Promise;
logDisputeCrowdsourcerCompleted_: (universe: string, market: string, disputeCrowdsourcer: string, options?: {
sender?: string | undefined;
} | undefined) => Promise;
logDisputeCrowdsourcerTokensTransferred: (universe: string, from: string, to: string, value: BN, options?: {
sender?: string | undefined;
gasPrice?: BN | undefined;
} | undefined) => Promise;
logDisputeCrowdsourcerTokensTransferred_: (universe: string, from: string, to: string, value: BN, options?: {
sender?: string | undefined;
} | undefined) => Promise;
logDisputeCrowdsourcerContribution: (universe: string, reporter: string, market: string, disputeCrowdsourcer: string, amountStaked: BN, options?: {
sender?: string | undefined;
gasPrice?: BN | undefined;
} | undefined) => Promise;
logDisputeCrowdsourcerContribution_: (universe: string, reporter: string, market: string, disputeCrowdsourcer: string, amountStaked: BN, options?: {
sender?: string | undefined;
} | undefined) => Promise;
logFeeWindowBurned: (universe: string, target: string, amount: BN, options?: {
sender?: string | undefined;
gasPrice?: BN | undefined;
} | undefined) => Promise;
logFeeWindowBurned_: (universe: string, target: string, amount: BN, options?: {
sender?: string | undefined;
} | undefined) => Promise;
logTradingProceedsClaimed: (universe: string, shareToken: string, sender: string, market: string, numShares: BN, numPayoutTokens: BN, finalTokenBalance: BN, options?: {
sender?: string | undefined;
gasPrice?: BN | undefined;
} | undefined) => Promise;
logTradingProceedsClaimed_: (universe: string, shareToken: string, sender: string, market: string, numShares: BN, numPayoutTokens: BN, finalTokenBalance: BN, options?: {
sender?: string | undefined;
} | undefined) => Promise;
logFeeWindowMinted: (universe: string, target: string, amount: BN, options?: {
sender?: string | undefined;
gasPrice?: BN | undefined;
} | undefined) => Promise;
logFeeWindowMinted_: (universe: string, target: string, amount: BN, options?: {
sender?: string | undefined;
} | undefined) => Promise;
logOrderCanceled: (universe: string, shareToken: string, sender: string, orderId: string, orderType: BN, tokenRefund: BN, sharesRefund: BN, options?: {
sender?: string | undefined;
gasPrice?: BN | undefined;
} | undefined) => Promise;
logOrderCanceled_: (universe: string, shareToken: string, sender: string, orderId: string, orderType: BN, tokenRefund: BN, sharesRefund: BN, options?: {
sender?: string | undefined;
} | undefined) => Promise;
logInitialReportSubmitted: (universe: string, reporter: string, market: string, amountStaked: BN, isDesignatedReporter: boolean, payoutNumerators: BN[], invalid: boolean, options?: {
sender?: string | undefined;
gasPrice?: BN | undefined;
} | undefined) => Promise;
logInitialReportSubmitted_: (universe: string, reporter: string, market: string, amountStaked: BN, isDesignatedReporter: boolean, payoutNumerators: BN[], invalid: boolean, options?: {
sender?: string | undefined;
} | undefined) => Promise;
logFeeWindowTransferred: (universe: string, from: string, to: string, value: BN, options?: {
sender?: string | undefined;
gasPrice?: BN | undefined;
} | undefined) => Promise;
logFeeWindowTransferred_: (universe: string, from: string, to: string, value: BN, options?: {
sender?: string | undefined;
} | undefined) => Promise;
logReputationTokenMinted: (universe: string, target: string, amount: BN, options?: {
sender?: string | undefined;
gasPrice?: BN | undefined;
} | undefined) => Promise;
logReputationTokenMinted_: (universe: string, target: string, amount: BN, options?: {
sender?: string | undefined;
} | undefined) => Promise;
disputeCrowdsourcerCreated: (universe: string, market: string, disputeCrowdsourcer: string, payoutNumerators: BN[], size: BN, invalid: boolean, options?: {
sender?: string | undefined;
gasPrice?: BN | undefined;
} | undefined) => Promise;
disputeCrowdsourcerCreated_: (universe: string, market: string, disputeCrowdsourcer: string, payoutNumerators: BN[], size: BN, invalid: boolean, options?: {
sender?: string | undefined;
} | undefined) => Promise;
logOrderFilled: (universe: string, shareToken: string, filler: string, orderId: string, numCreatorShares: BN, numCreatorTokens: BN, numFillerShares: BN, numFillerTokens: BN, marketCreatorFees: BN, reporterFees: BN, amountFilled: BN, tradeGroupId: string, options?: {
sender?: string | undefined;
gasPrice?: BN | undefined;
} | undefined) => Promise;
logOrderFilled_: (universe: string, shareToken: string, filler: string, orderId: string, numCreatorShares: BN, numCreatorTokens: BN, numFillerShares: BN, numFillerTokens: BN, marketCreatorFees: BN, reporterFees: BN, amountFilled: BN, tradeGroupId: string, options?: {
sender?: string | undefined;
} | undefined) => Promise;
logShareTokensTransferred: (universe: string, from: string, to: string, value: BN, options?: {
sender?: string | undefined;
gasPrice?: BN | undefined;
} | undefined) => Promise;
logShareTokensTransferred_: (universe: string, from: string, to: string, value: BN, options?: {
sender?: string | undefined;
} | undefined) => Promise;
createChildUniverse: (parentPayoutDistributionHash: string, parentPayoutNumerators: BN[], parentInvalid: boolean, options?: {
sender?: string | undefined;
gasPrice?: BN | undefined;
} | undefined) => Promise;
createChildUniverse_: (parentPayoutDistributionHash: string, parentPayoutNumerators: BN[], parentInvalid: boolean, options?: {
sender?: string | undefined;
} | undefined) => Promise;
isKnownUniverse_: (universe: string, options?: {
sender?: string | undefined;
} | undefined) => Promise;
logFeeWindowCreated: (feeWindow: string, id: BN, options?: {
sender?: string | undefined;
gasPrice?: BN | undefined;
} | undefined) => Promise;
logFeeWindowCreated_: (feeWindow: string, id: BN, options?: {
sender?: string | undefined;
} | undefined) => Promise;
setController: (controller: string, options?: {
sender?: string | undefined;
gasPrice?: BN | undefined;
} | undefined) => Promise;
setController_: (controller: string, options?: {
sender?: string | undefined;
} | undefined) => Promise;
createGenesisUniverse: (options?: {
sender?: string | undefined;
gasPrice?: BN | undefined;
} | undefined) => Promise;
createGenesisUniverse_: (options?: {
sender?: string | undefined;
} | undefined) => Promise;
logFeeTokenBurned: (universe: string, target: string, amount: BN, options?: {
sender?: string | undefined;
gasPrice?: BN | undefined;
} | undefined) => Promise;
logFeeTokenBurned_: (universe: string, target: string, amount: BN, options?: {
sender?: string | undefined;
} | undefined) => Promise;
logShareTokenBurned: (universe: string, target: string, amount: BN, options?: {
sender?: string | undefined;
gasPrice?: BN | undefined;
} | undefined) => Promise;
logShareTokenBurned_: (universe: string, target: string, amount: BN, options?: {
sender?: string | undefined;
} | undefined) => Promise;
logShareTokenMinted: (universe: string, target: string, amount: BN, options?: {
sender?: string | undefined;
gasPrice?: BN | undefined;
} | undefined) => Promise;
logShareTokenMinted_: (universe: string, target: string, amount: BN, options?: {
sender?: string | undefined;
} | undefined) => Promise;
logEscapeHatchChanged: (isOn: boolean, options?: {
sender?: string | undefined;
gasPrice?: BN | undefined;
} | undefined) => Promise;
logEscapeHatchChanged_: (isOn: boolean, options?: {
sender?: string | undefined;
} | undefined) => Promise;
logDisputeCrowdsourcerTokensMinted: (universe: string, target: string, amount: BN, options?: {
sender?: string | undefined;
gasPrice?: BN | undefined;
} | undefined) => Promise;
logDisputeCrowdsourcerTokensMinted_: (universe: string, target: string, amount: BN, options?: {
sender?: string | undefined;
} | undefined) => Promise;
isKnownCrowdsourcer_: (crowdsourcer: string, options?: {
sender?: string | undefined;
} | undefined) => Promise;
logCompleteSetsPurchased: (universe: string, market: string, account: string, numCompleteSets: BN, options?: {
sender?: string | undefined;
gasPrice?: BN | undefined;
} | undefined) => Promise;
logCompleteSetsPurchased_: (universe: string, market: string, account: string, numCompleteSets: BN, options?: {
sender?: string | undefined;
} | undefined) => Promise;
logMarketParticipantsDisavowed: (universe: string, options?: {
sender?: string | undefined;
gasPrice?: BN | undefined;
} | undefined) => Promise;
logMarketParticipantsDisavowed_: (universe: string, options?: {
sender?: string | undefined;
} | undefined) => Promise;
logTimestampSet: (newTimestamp: BN, options?: {
sender?: string | undefined;
gasPrice?: BN | undefined;
} | undefined) => Promise;
logTimestampSet_: (newTimestamp: BN, options?: {
sender?: string | undefined;
} | undefined) => Promise;
logInitialReporterTransferred: (universe: string, market: string, from: string, to: string, options?: {
sender?: string | undefined;
gasPrice?: BN | undefined;
} | undefined) => Promise;
logInitialReporterTransferred_: (universe: string, market: string, from: string, to: string, options?: {
sender?: string | undefined;
} | undefined) => Promise;
logInitialReporterRedeemed: (universe: string, reporter: string, market: string, amountRedeemed: BN, repReceived: BN, reportingFeesReceived: BN, payoutNumerators: BN[], options?: {
sender?: string | undefined;
gasPrice?: BN | undefined;
} | undefined) => Promise;
logInitialReporterRedeemed_: (universe: string, reporter: string, market: string, amountRedeemed: BN, repReceived: BN, reportingFeesReceived: BN, payoutNumerators: BN[], options?: {
sender?: string | undefined;
} | undefined) => Promise;
trustedTransfer: (token: string, from: string, to: string, amount: BN, options?: {
sender?: string | undefined;
gasPrice?: BN | undefined;
} | undefined) => Promise;
trustedTransfer_: (token: string, from: string, to: string, amount: BN, options?: {
sender?: string | undefined;
} | undefined) => Promise;
logReputationTokensTransferred: (universe: string, from: string, to: string, value: BN, options?: {
sender?: string | undefined;
gasPrice?: BN | undefined;
} | undefined) => Promise;
logReputationTokensTransferred_: (universe: string, from: string, to: string, value: BN, options?: {
sender?: string | undefined;
} | undefined) => Promise;
logCompleteSetsSold: (universe: string, market: string, account: string, numCompleteSets: BN, options?: {
sender?: string | undefined;
gasPrice?: BN | undefined;
} | undefined) => Promise;
logCompleteSetsSold_: (universe: string, market: string, account: string, numCompleteSets: BN, options?: {
sender?: string | undefined;
} | undefined) => Promise;
}
export declare class Controller extends Contract {
constructor(connector: Connector, accountManager: AccountManager, address: string, defaultGasPrice: BN);
getContractDetails_: (key: string, options?: {
sender?: string | undefined;
} | undefined) => Promise;
getTimestamp_: (options?: {
sender?: string | undefined;
} | undefined) => Promise;
stopInEmergency_: (options?: {
sender?: string | undefined;
} | undefined) => Promise;
registerContract: (key: string, address: string, commitHash: string, bytecodeHash: string, options?: {
sender?: string | undefined;
gasPrice?: BN | undefined;
} | undefined) => Promise;
registerContract_: (key: string, address: string, commitHash: string, bytecodeHash: string, options?: {
sender?: string | undefined;
} | undefined) => Promise;
onlyInEmergency_: (options?: {
sender?: string | undefined;
} | undefined) => Promise;
assertIsWhitelisted_: (target: string, options?: {
sender?: string | undefined;
} | undefined) => Promise;
getAugur_: (options?: {
sender?: string | undefined;
} | undefined) => Promise;
emergencyStop: (options?: {
sender?: string | undefined;
gasPrice?: BN | undefined;
} | undefined) => Promise;
emergencyStop_: (options?: {
sender?: string | undefined;
} | undefined) => Promise;
stopped_: (options?: {
sender?: string | undefined;
} | undefined) => Promise;
registry_: (arg0: string, options?: {
sender?: string | undefined;
} | undefined) => Promise;
removeFromWhitelist: (target: string, options?: {
sender?: string | undefined;
gasPrice?: BN | undefined;
} | undefined) => Promise;
removeFromWhitelist_: (target: string, options?: {
sender?: string | undefined;
} | undefined) => Promise;
owner_: (options?: {
sender?: string | undefined;
} | undefined) => Promise;
whitelist_: (arg0: string, options?: {
sender?: string | undefined;
} | undefined) => Promise;
addToWhitelist: (target: string, options?: {
sender?: string | undefined;
gasPrice?: BN | undefined;
} | undefined) => Promise;
addToWhitelist_: (target: string, options?: {
sender?: string | undefined;
} | undefined) => Promise;
transferOwnership: (newOwner: string, options?: {
sender?: string | undefined;
gasPrice?: BN | undefined;
} | undefined) => Promise;
transferOwnership_: (newOwner: string, options?: {
sender?: string | undefined;
} | undefined) => Promise;
lookup_: (key: string, options?: {
sender?: string | undefined;
} | undefined) => Promise;
}
export declare class LegacyReputationToken extends Contract {
constructor(connector: Connector, accountManager: AccountManager, address: string, defaultGasPrice: BN);
name_: (options?: {
sender?: string | undefined;
} | undefined) => Promise;
approve: (spender: string, value: BN, options?: {
sender?: string | undefined;
gasPrice?: BN | undefined;
} | undefined) => Promise;
approve_: (spender: string, value: BN, options?: {
sender?: string | undefined;
} | undefined) => Promise;
totalSupply_: (options?: {
sender?: string | undefined;
} | undefined) => Promise;
transferFrom: (from: string, to: string, value: BN, options?: {
sender?: string | undefined;
gasPrice?: BN | undefined;
} | undefined) => Promise;
transferFrom_: (from: string, to: string, value: BN, options?: {
sender?: string | undefined;
} | undefined) => Promise;
decimals_: (options?: {
sender?: string | undefined;
} | undefined) => Promise;
unpause: (options?: {
sender?: string | undefined;
gasPrice?: BN | undefined;
} | undefined) => Promise;
unpause_: (options?: {
sender?: string | undefined;
} | undefined) => Promise;
faucet: (amount: BN, options?: {
sender?: string | undefined;
gasPrice?: BN | undefined;
} | undefined) => Promise;
faucet_: (amount: BN, options?: {
sender?: string | undefined;
} | undefined) => Promise;
paused_: (options?: {
sender?: string | undefined;
} | undefined) => Promise;
ETERNAL_APPROVAL_VALUE_: (options?: {
sender?: string | undefined;
} | undefined) => Promise;
decreaseApproval: (spender: string, subtractedValue: BN, options?: {
sender?: string | undefined;
gasPrice?: BN | undefined;
} | undefined) => Promise;
decreaseApproval_: (spender: string, subtractedValue: BN, options?: {
sender?: string | undefined;
} | undefined) => Promise;
balanceOf_: (owner: string, options?: {
sender?: string | undefined;
} | undefined) => Promise;
pause: (options?: {
sender?: string | undefined;
gasPrice?: BN | undefined;
} | undefined) => Promise;
pause_: (options?: {
sender?: string | undefined;
} | undefined) => Promise;
getOwner_: (options?: {
sender?: string | undefined;
} | undefined) => Promise;
symbol_: (options?: {
sender?: string | undefined;
} | undefined) => Promise;
transfer: (to: string, value: BN, options?: {
sender?: string | undefined;
gasPrice?: BN | undefined;
} | undefined) => Promise;
transfer_: (to: string, value: BN, options?: {
sender?: string | undefined;
} | undefined) => Promise;
increaseApproval: (spender: string, addedValue: BN, options?: {
sender?: string | undefined;
gasPrice?: BN | undefined;
} | undefined) => Promise;
increaseApproval_: (spender: string, addedValue: BN, options?: {
sender?: string | undefined;
} | undefined) => Promise;
allowance_: (owner: string, spender: string, options?: {
sender?: string | undefined;
} | undefined) => Promise;
transferOwnership: (newOwner: string, options?: {
sender?: string | undefined;
gasPrice?: BN | undefined;
} | undefined) => Promise;
transferOwnership_: (newOwner: string, options?: {
sender?: string | undefined;
} | undefined) => Promise;
}
export declare class TestNetReputationToken extends Controlled {
constructor(connector: Connector, accountManager: AccountManager, address: string, defaultGasPrice: BN);
name_: (options?: {
sender?: string | undefined;
} | undefined) => Promise;
approve: (spender: string, value: BN, options?: {
sender?: string | undefined;
gasPrice?: BN | undefined;
} | undefined) => Promise;
approve_: (spender: string, value: BN, options?: {
sender?: string | undefined;
} | undefined) => Promise;
totalSupply_: (options?: {
sender?: string | undefined;
} | undefined) => Promise;
getTotalTheoreticalSupply_: (options?: {
sender?: string | undefined;
} | undefined) => Promise;
transferFrom: (from: string, to: string, value: BN, options?: {
sender?: string | undefined;
gasPrice?: BN | undefined;
} | undefined) => Promise;
transferFrom_: (from: string, to: string, value: BN, options?: {
sender?: string | undefined;
} | undefined) => Promise;
getController_: (options?: {
sender?: string | undefined;
} | undefined) => Promise;
decimals_: (options?: {
sender?: string | undefined;
} | undefined) => Promise;
migrateOutByPayout: (payoutNumerators: BN[], invalid: boolean, attotokens: BN, options?: {
sender?: string | undefined;
gasPrice?: BN | undefined;
} | undefined) => Promise;
migrateOutByPayout_: (payoutNumerators: BN[], invalid: boolean, attotokens: BN, options?: {
sender?: string | undefined;
} | undefined) => Promise;
faucet: (amount: BN, options?: {
sender?: string | undefined;
gasPrice?: BN | undefined;
} | undefined) => Promise;
faucet_: (amount: BN, options?: {
sender?: string | undefined;
} | undefined) => Promise;
ETERNAL_APPROVAL_VALUE_: (options?: {
sender?: string | undefined;
} | undefined) => Promise;
decreaseApproval: (spender: string, subtractedValue: BN, options?: {
sender?: string | undefined;
gasPrice?: BN | undefined;
} | undefined) => Promise;
decreaseApproval_: (spender: string, subtractedValue: BN, options?: {
sender?: string | undefined;
} | undefined) => Promise;
migrateOut: (destination: string, attotokens: BN, options?: {
sender?: string | undefined;
gasPrice?: BN | undefined;
} | undefined) => Promise;
migrateOut_: (destination: string, attotokens: BN, options?: {
sender?: string | undefined;
} | undefined) => Promise;
balanceOf_: (owner: string, options?: {
sender?: string | undefined;
} | undefined) => Promise;
getLegacyRepToken_: (options?: {
sender?: string | undefined;
} | undefined) => Promise;
getIsMigratingFromLegacy_: (options?: {
sender?: string | undefined;
} | undefined) => Promise;
migrateBalancesFromLegacyRep: (holders: string[], options?: {
sender?: string | undefined;
gasPrice?: BN | undefined;
} | undefined) => Promise;
migrateBalancesFromLegacyRep_: (holders: string[], options?: {
sender?: string | undefined;
} | undefined) => Promise;
getUniverse_: (options?: {
sender?: string | undefined;
} | undefined) => Promise;
trustedFeeWindowTransfer: (source: string, destination: string, attotokens: BN, options?: {
sender?: string | undefined;
gasPrice?: BN | undefined;
} | undefined) => Promise;
trustedFeeWindowTransfer_: (source: string, destination: string, attotokens: BN, options?: {
sender?: string | undefined;
} | undefined) => Promise;
getTotalMigrated_: (options?: {
sender?: string | undefined;
} | undefined) => Promise;
setController: (controller: string, options?: {
sender?: string | undefined;
gasPrice?: BN | undefined;
} | undefined) => Promise;
setController_: (controller: string, options?: {
sender?: string | undefined;
} | undefined) => Promise;
symbol_: (options?: {
sender?: string | undefined;
} | undefined) => Promise;
migrateIn: (reporter: string, attotokens: BN, options?: {
sender?: string | undefined;
gasPrice?: BN | undefined;
} | undefined) => Promise;
migrateIn_: (reporter: string, attotokens: BN, options?: {
sender?: string | undefined;
} | undefined) => Promise;
updateParentTotalTheoreticalSupply: (options?: {
sender?: string | undefined;
gasPrice?: BN | undefined;
} | undefined) => Promise;
updateParentTotalTheoreticalSupply_: (options?: {
sender?: string | undefined;
} | undefined) => Promise;
transfer: (to: string, value: BN, options?: {
sender?: string | undefined;
gasPrice?: BN | undefined;
} | undefined) => Promise;
transfer_: (to: string, value: BN, options?: {
sender?: string | undefined;
} | undefined) => Promise;
trustedReportingParticipantTransfer: (source: string, destination: string, attotokens: BN, options?: {
sender?: string | undefined;
gasPrice?: BN | undefined;
} | undefined) => Promise;
trustedReportingParticipantTransfer_: (source: string, destination: string, attotokens: BN, options?: {
sender?: string | undefined;
} | undefined) => Promise;
controllerLookupName_: (options?: {
sender?: string | undefined;
} | undefined) => Promise;
initialize: (universe: string, options?: {
sender?: string | undefined;
gasPrice?: BN | undefined;
} | undefined) => Promise;
initialize_: (universe: string, options?: {
sender?: string | undefined;
} | undefined) => Promise;
increaseApproval: (spender: string, addedValue: BN, options?: {
sender?: string | undefined;
gasPrice?: BN | undefined;
} | undefined) => Promise;
increaseApproval_: (spender: string, addedValue: BN, options?: {
sender?: string | undefined;
} | undefined) => Promise;
updateSiblingMigrationTotal: (token: string, options?: {
sender?: string | undefined;
gasPrice?: BN | undefined;
} | undefined) => Promise;
updateSiblingMigrationTotal_: (token: string, options?: {
sender?: string | undefined;
} | undefined) => Promise;
mintForReportingParticipant: (amountMigrated: BN, options?: {
sender?: string | undefined;
gasPrice?: BN | undefined;
} | undefined) => Promise;
mintForReportingParticipant_: (amountMigrated: BN, options?: {
sender?: string | undefined;
} | undefined) => Promise;
getTypeName_: (options?: {
sender?: string | undefined;
} | undefined) => Promise;
allowance_: (owner: string, spender: string, options?: {
sender?: string | undefined;
} | undefined) => Promise;
migrateAllowancesFromLegacyRep: (owners: string[], spenders: string[], options?: {
sender?: string | undefined;
gasPrice?: BN | undefined;
} | undefined) => Promise;
migrateAllowancesFromLegacyRep_: (owners: string[], spenders: string[], options?: {
sender?: string | undefined;
} | undefined) => Promise;
getTargetSupply_: (options?: {
sender?: string | undefined;
} | undefined) => Promise;
getInitialized_: (options?: {
sender?: string | undefined;
} | undefined) => Promise;
trustedMarketTransfer: (source: string, destination: string, attotokens: BN, options?: {
sender?: string | undefined;
gasPrice?: BN | undefined;
} | undefined) => Promise;
trustedMarketTransfer_: (source: string, destination: string, attotokens: BN, options?: {
sender?: string | undefined;
} | undefined) => Promise;
trustedUniverseTransfer: (source: string, destination: string, attotokens: BN, options?: {
sender?: string | undefined;
gasPrice?: BN | undefined;
} | undefined) => Promise;
trustedUniverseTransfer_: (source: string, destination: string, attotokens: BN, options?: {
sender?: string | undefined;
} | undefined) => Promise;
}
export declare class Time extends Controlled {
constructor(connector: Connector, accountManager: AccountManager, address: string, defaultGasPrice: BN);
getTimestamp_: (options?: {
sender?: string | undefined;
} | undefined) => Promise;
getController_: (options?: {
sender?: string | undefined;
} | undefined) => Promise;
setController: (controller: string, options?: {
sender?: string | undefined;
gasPrice?: BN | undefined;
} | undefined) => Promise;
setController_: (controller: string, options?: {
sender?: string | undefined;
} | undefined) => Promise;
getTypeName_: (options?: {
sender?: string | undefined;
} | undefined) => Promise;
}
export declare class TimeControlled extends Controlled {
constructor(connector: Connector, accountManager: AccountManager, address: string, defaultGasPrice: BN);
getTimestamp_: (options?: {
sender?: string | undefined;
} | undefined) => Promise;
getController_: (options?: {
sender?: string | undefined;
} | undefined) => Promise;
getOwner_: (options?: {
sender?: string | undefined;
} | undefined) => Promise;
setController: (controller: string, options?: {
sender?: string | undefined;
gasPrice?: BN | undefined;
} | undefined) => Promise;
setController_: (controller: string, options?: {
sender?: string | undefined;
} | undefined) => Promise;
setTimestamp: (timestamp: BN, options?: {
sender?: string | undefined;
gasPrice?: BN | undefined;
} | undefined) => Promise;
setTimestamp_: (timestamp: BN, options?: {
sender?: string | undefined;
} | undefined) => Promise;
incrementTimestamp: (amount: BN, options?: {
sender?: string | undefined;
gasPrice?: BN | undefined;
} | undefined) => Promise;
incrementTimestamp_: (amount: BN, options?: {
sender?: string | undefined;
} | undefined) => Promise;
getTypeName_: (options?: {
sender?: string | undefined;
} | undefined) => Promise;
transferOwnership: (newOwner: string, options?: {
sender?: string | undefined;
gasPrice?: BN | undefined;
} | undefined) => Promise;
transferOwnership_: (newOwner: string, options?: {
sender?: string | undefined;
} | undefined) => Promise;
}
export declare class EscapeHatchController extends Contract {
constructor(connector: Connector, accountManager: AccountManager, address: string, defaultGasPrice: BN);
emergencyStop: (options?: {
sender?: string | undefined;
gasPrice?: BN | undefined;
} | undefined) => Promise;
emergencyStop_: (options?: {
sender?: string | undefined;
} | undefined) => Promise;
getOwner_: (options?: {
sender?: string | undefined;
} | undefined) => Promise;
setController: (controller: string, options?: {
sender?: string | undefined;
gasPrice?: BN | undefined;
} | undefined) => Promise;
setController_: (controller: string, options?: {
sender?: string | undefined;
} | undefined) => Promise;
transferOwnership: (newOwner: string, options?: {
sender?: string | undefined;
gasPrice?: BN | undefined;
} | undefined) => Promise;
transferOwnership_: (newOwner: string, options?: {
sender?: string | undefined;
} | undefined) => Promise;
controller_: (options?: {
sender?: string | undefined;
} | undefined) => Promise;
}
export declare class OrdersFinder extends Contract {
constructor(connector: Connector, accountManager: AccountManager, address: string, defaultGasPrice: BN);
getExistingOrders5_: (type: BN, market: string, outcome: BN, options?: {
sender?: string | undefined;
} | undefined) => Promise;
getExistingOrders20_: (type: BN, market: string, outcome: BN, options?: {
sender?: string | undefined;
} | undefined) => Promise;
orders_: (options?: {
sender?: string | undefined;
} | undefined) => Promise;
getExistingOrders1000_: (type: BN, market: string, outcome: BN, options?: {
sender?: string | undefined;
} | undefined) => Promise;
getExistingOrders50_: (type: BN, market: string, outcome: BN, options?: {
sender?: string | undefined;
} | undefined) => Promise;
getExistingOrders500_: (type: BN, market: string, outcome: BN, options?: {
sender?: string | undefined;
} | undefined) => Promise;
getExistingOrders200_: (type: BN, market: string, outcome: BN, options?: {
sender?: string | undefined;
} | undefined) => Promise;
getExistingOrders100_: (type: BN, market: string, outcome: BN, options?: {
sender?: string | undefined;
} | undefined) => Promise;
getExistingOrders10_: (type: BN, market: string, outcome: BN, options?: {
sender?: string | undefined;
} | undefined) => Promise;
}
export declare class DisputeCrowdsourcerFactory extends Contract {
constructor(connector: Connector, accountManager: AccountManager, address: string, defaultGasPrice: BN);
createDisputeCrowdsourcer: (controller: string, market: string, size: BN, payoutDistributionHash: string, payoutNumerators: BN[], invalid: boolean, options?: {
sender?: string | undefined;
gasPrice?: BN | undefined;
} | undefined) => Promise;
createDisputeCrowdsourcer_: (controller: string, market: string, size: BN, payoutDistributionHash: string, payoutNumerators: BN[], invalid: boolean, options?: {
sender?: string | undefined;
} | undefined) => Promise;
}
export declare class FeeTokenFactory extends Contract {
constructor(connector: Connector, accountManager: AccountManager, address: string, defaultGasPrice: BN);
createFeeToken: (controller: string, feeWindow: string, options?: {
sender?: string | undefined;
gasPrice?: BN | undefined;
} | undefined) => Promise;
createFeeToken_: (controller: string, feeWindow: string, options?: {
sender?: string | undefined;
} | undefined) => Promise;
}
export declare class FeeWindowFactory extends Contract {
constructor(connector: Connector, accountManager: AccountManager, address: string, defaultGasPrice: BN);
createFeeWindow: (controller: string, universe: string, feeWindowId: BN, options?: {
sender?: string | undefined;
gasPrice?: BN | undefined;
} | undefined) => Promise;
createFeeWindow_: (controller: string, universe: string, feeWindowId: BN, options?: {
sender?: string | undefined;
} | undefined) => Promise;
}
export declare class InitialReporterFactory extends Contract {
constructor(connector: Connector, accountManager: AccountManager, address: string, defaultGasPrice: BN);
createInitialReporter: (controller: string, market: string, designatedReporter: string, options?: {
sender?: string | undefined;
gasPrice?: BN | undefined;
} | undefined) => Promise;
createInitialReporter_: (controller: string, market: string, designatedReporter: string, options?: {
sender?: string | undefined;
} | undefined) => Promise;
}
export declare class MailboxFactory extends Contract {
constructor(connector: Connector, accountManager: AccountManager, address: string, defaultGasPrice: BN);
createMailbox: (controller: string, owner: string, market: string, options?: {
sender?: string | undefined;
gasPrice?: BN | undefined;
} | undefined) => Promise;
createMailbox_: (controller: string, owner: string, market: string, options?: {
sender?: string | undefined;
} | undefined) => Promise;
}
export declare class MapFactory extends Contract {
constructor(connector: Connector, accountManager: AccountManager, address: string, defaultGasPrice: BN);
createMap: (controller: string, owner: string, options?: {
sender?: string | undefined;
gasPrice?: BN | undefined;
} | undefined) => Promise;
createMap_: (controller: string, owner: string, options?: {
sender?: string | undefined;
} | undefined) => Promise;
}
export declare class MarketFactory extends Contract {
constructor(connector: Connector, accountManager: AccountManager, address: string, defaultGasPrice: BN);
createMarket: (controller: string, universe: string, endTime: BN, feePerEthInWei: BN, denominationToken: string, designatedReporterAddress: string, sender: string, numOutcomes: BN, numTicks: BN, options?: {
sender?: string | undefined;
gasPrice?: BN | undefined;
attachedEth?: BN | undefined;
} | undefined) => Promise;
createMarket_: (controller: string, universe: string, endTime: BN, feePerEthInWei: BN, denominationToken: string, designatedReporterAddress: string, sender: string, numOutcomes: BN, numTicks: BN, options?: {
sender?: string | undefined;
attachedEth?: BN | undefined;
} | undefined) => Promise;
}
export declare class ReputationTokenFactory extends Contract {
constructor(connector: Connector, accountManager: AccountManager, address: string, defaultGasPrice: BN);
createReputationToken: (controller: string, universe: string, options?: {
sender?: string | undefined;
gasPrice?: BN | undefined;
} | undefined) => Promise;
createReputationToken_: (controller: string, universe: string, options?: {
sender?: string | undefined;
} | undefined) => Promise;
}
export declare class ShareTokenFactory extends Contract {
constructor(connector: Connector, accountManager: AccountManager, address: string, defaultGasPrice: BN);
createShareToken: (controller: string, market: string, outcome: BN, options?: {
sender?: string | undefined;
gasPrice?: BN | undefined;
} | undefined) => Promise;
createShareToken_: (controller: string, market: string, outcome: BN, options?: {
sender?: string | undefined;
} | undefined) => Promise