@@ -367,6 +367,13 @@ export class Augur extends Controlled {
367
367
return < boolean > result [ 0 ] ;
368
368
}
369
369
370
+ public isKnownUniverse_ = async ( universe : string , options ?: { sender ?: string } ) : Promise < boolean > => {
371
+ options = options || { } ;
372
+ const abi : AbiFunction = { "constant" :true , "inputs" :[ { "name" :"_universe" , "type" :"address" } ] , "name" :"isKnownUniverse" , "outputs" :[ { "name" :"" , "type" :"bool" } ] , "payable" :false , "stateMutability" :"view" , "type" :"function" } ;
373
+ const result = await this . localCall ( abi , [ universe ] , options . sender ) ;
374
+ return < boolean > result [ 0 ] ;
375
+ }
376
+
370
377
public logFeeWindowCreated = async ( feeWindow : string , id : BN , options ?: { sender ?: string , gasPrice ?: BN } ) : Promise < string > => {
371
378
options = options || { } ;
372
379
const abi : AbiFunction = { "constant" :false , "inputs" :[ { "name" :"_feeWindow" , "type" :"address" } , { "name" :"_id" , "type" :"uint256" } ] , "name" :"logFeeWindowCreated" , "outputs" :[ { "name" :"" , "type" :"bool" } ] , "payable" :false , "stateMutability" :"nonpayable" , "type" :"function" } ;
@@ -471,13 +478,6 @@ export class Augur extends Controlled {
471
478
return < boolean > result [ 0 ] ;
472
479
}
473
480
474
- public isKnownUniverse_ = async ( universe : string , options ?: { sender ?: string } ) : Promise < boolean > => {
475
- options = options || { } ;
476
- const abi : AbiFunction = { "constant" :true , "inputs" :[ { "name" :"_universe" , "type" :"address" } ] , "name" :"isKnownUniverse" , "outputs" :[ { "name" :"" , "type" :"bool" } ] , "payable" :false , "stateMutability" :"view" , "type" :"function" } ;
477
- const result = await this . localCall ( abi , [ universe ] , options . sender ) ;
478
- return < boolean > result [ 0 ] ;
479
- }
480
-
481
481
public createChildUniverse = async ( parentPayoutDistributionHash : string , options ?: { sender ?: string , gasPrice ?: BN } ) : Promise < string > => {
482
482
options = options || { } ;
483
483
const abi : AbiFunction = { "constant" :false , "inputs" :[ { "name" :"_parentPayoutDistributionHash" , "type" :"bytes32" } ] , "name" :"createChildUniverse" , "outputs" :[ { "name" :"" , "type" :"address" } ] , "payable" :false , "stateMutability" :"nonpayable" , "type" :"function" } ;
@@ -4014,16 +4014,16 @@ export class CancelOrder extends Controlled {
4014
4014
return < boolean > result [ 0 ] ;
4015
4015
}
4016
4016
4017
- public cancelOrder = async ( orderId : string , type : BN , market : string , outcome : BN , options ?: { sender ?: string , gasPrice ?: BN } ) : Promise < string > => {
4017
+ public cancelOrder = async ( orderId : string , options ?: { sender ?: string , gasPrice ?: BN } ) : Promise < string > => {
4018
4018
options = options || { } ;
4019
- const abi : AbiFunction = { "constant" :false , "inputs" :[ { "name" :"_orderId" , "type" :"bytes32" } , { "name" : "_type" , "type" : "uint8" } , { "name" : "_market" , "type" : "address" } , { "name" : "_outcome" , "type" : "uint8" } ] , "name" :"cancelOrder" , "outputs" :[ { "name" :"" , "type" :"bool" } ] , "payable" :false , "stateMutability" :"nonpayable" , "type" :"function" } ;
4020
- return await this . remoteCall ( abi , [ orderId , type , market , outcome ] , options . sender , options . gasPrice ) ;
4019
+ const abi : AbiFunction = { "constant" :false , "inputs" :[ { "name" :"_orderId" , "type" :"bytes32" } ] , "name" :"cancelOrder" , "outputs" :[ { "name" :"" , "type" :"bool" } ] , "payable" :false , "stateMutability" :"nonpayable" , "type" :"function" } ;
4020
+ return await this . remoteCall ( abi , [ orderId ] , options . sender , options . gasPrice ) ;
4021
4021
}
4022
4022
4023
- public cancelOrder_ = async ( orderId : string , type : BN , market : string , outcome : BN , options ?: { sender ?: string } ) : Promise < boolean > => {
4023
+ public cancelOrder_ = async ( orderId : string , options ?: { sender ?: string } ) : Promise < boolean > => {
4024
4024
options = options || { } ;
4025
- const abi : AbiFunction = { "constant" :false , "inputs" :[ { "name" :"_orderId" , "type" :"bytes32" } , { "name" : "_type" , "type" : "uint8" } , { "name" : "_market" , "type" : "address" } , { "name" : "_outcome" , "type" : "uint8" } ] , "name" :"cancelOrder" , "outputs" :[ { "name" :"" , "type" :"bool" } ] , "payable" :false , "stateMutability" :"nonpayable" , "type" :"function" } ;
4026
- const result = await this . localCall ( abi , [ orderId , type , market , outcome ] , options . sender ) ;
4025
+ const abi : AbiFunction = { "constant" :false , "inputs" :[ { "name" :"_orderId" , "type" :"bytes32" } ] , "name" :"cancelOrder" , "outputs" :[ { "name" :"" , "type" :"bool" } ] , "payable" :false , "stateMutability" :"nonpayable" , "type" :"function" } ;
4026
+ const result = await this . localCall ( abi , [ orderId ] , options . sender ) ;
4027
4027
return < boolean > result [ 0 ] ;
4028
4028
}
4029
4029
@@ -5190,6 +5190,19 @@ export class ShareToken extends Controlled {
5190
5190
return < boolean > result [ 0 ] ;
5191
5191
}
5192
5192
5193
+ public trustedCancelOrderTransfer = async ( source : string , destination : string , attotokens : BN , options ?: { sender ?: string , gasPrice ?: BN } ) : Promise < string > => {
5194
+ options = options || { } ;
5195
+ const abi : AbiFunction = { "constant" :false , "inputs" :[ { "name" :"_source" , "type" :"address" } , { "name" :"_destination" , "type" :"address" } , { "name" :"_attotokens" , "type" :"uint256" } ] , "name" :"trustedCancelOrderTransfer" , "outputs" :[ { "name" :"" , "type" :"bool" } ] , "payable" :false , "stateMutability" :"nonpayable" , "type" :"function" } ;
5196
+ return await this . remoteCall ( abi , [ source , destination , attotokens ] , options . sender , options . gasPrice ) ;
5197
+ }
5198
+
5199
+ public trustedCancelOrderTransfer_ = async ( source : string , destination : string , attotokens : BN , options ?: { sender ?: string } ) : Promise < boolean > => {
5200
+ options = options || { } ;
5201
+ const abi : AbiFunction = { "constant" :false , "inputs" :[ { "name" :"_source" , "type" :"address" } , { "name" :"_destination" , "type" :"address" } , { "name" :"_attotokens" , "type" :"uint256" } ] , "name" :"trustedCancelOrderTransfer" , "outputs" :[ { "name" :"" , "type" :"bool" } ] , "payable" :false , "stateMutability" :"nonpayable" , "type" :"function" } ;
5202
+ const result = await this . localCall ( abi , [ source , destination , attotokens ] , options . sender ) ;
5203
+ return < boolean > result [ 0 ] ;
5204
+ }
5205
+
5193
5206
public getOutcome_ = async ( options ?: { sender ?: string } ) : Promise < BN > => {
5194
5207
options = options || { } ;
5195
5208
const abi : AbiFunction = { "constant" :true , "inputs" :[ ] , "name" :"getOutcome" , "outputs" :[ { "name" :"" , "type" :"uint8" } ] , "payable" :false , "stateMutability" :"view" , "type" :"function" } ;
0 commit comments