21 $x =
new EthBlockParam(
'0x3facfa472e86e3edaeaa837f6ba038ac01f7f539');
22 $this->assertSame($x->val(),
'363523949029425027178585641663023053417725031737');
23 $this->assertSame($x->hexVal(),
'0x3facfa472e86e3edaeaa837f6ba038ac01f7f539');
26 $x =
new EthBlockParam(
'0x3facfa472e86e3edaeaa837f6ba038ac01f7f539');
27 $this->assertSame($x->val(),
'363523949029425027178585641663023053417725031737');
28 $this->assertSame($x->hexVal(),
'0x3facfa472e86e3edaeaa837f6ba038ac01f7f539');
29 $this->assertSame($x->getSchemaType(),
"Q|T");
36 $this->assertSame($x->val(),
'latest');
37 $this->assertSame($x->hexVal(),
'latest');
44 $this->assertSame($x->val(),
'pending');
45 $this->assertSame($x->hexVal(),
'pending');
52 $this->assertSame($x->val(),
'earliest');
53 $this->assertSame($x->hexVal(),
'earliest');
testEthBlockParam__address()
testEthBlockParam__tagLatest()
testEthBlockParam__tagErliest()
testEthBlockParam__tagPending()