@@ -39,13 +39,10 @@ async fn main() -> Result<()> {
3939 incentive. getRange ( ) . call ( ) . await ?;
4040 let FastUpdatesIncentiveManager :: getScaleReturn { _0 : scale } =
4141 incentive. getScale ( ) . call ( ) . await ?;
42- println ! (
43- "Sample Size Increase Price: {:?} " ,
44- sample_size_increase_price
45- ) ;
46- println ! ( "Current Sample Size: {:?} " , expected_sample_size) ;
47- println ! ( "Current Range: {:?} " , range) ;
48- println ! ( "Current Scale: {:?} " , scale) ;
42+ println ! ( "Sample Size Increase Price: {sample_size_increase_price:?}" ) ;
43+ println ! ( "Current Sample Size: {expected_sample_size:?}" ) ;
44+ println ! ( "Current Range: {range:?}" ) ;
45+ println ! ( "Current Scale: {scale:?}" ) ;
4946
5047 // Offer the incentive
5148 let offer = FastUpdatesIncentiveManager :: IncentiveOffer {
@@ -59,7 +56,7 @@ async fn main() -> Result<()> {
5956 . await ?
6057 . watch ( )
6158 . await ?;
62- println ! ( "Offer Incentive Tx Hash: {:?}" , tx_hash ) ;
59+ println ! ( "Offer Incentive Tx Hash: {tx_hash :?}" ) ;
6360
6461 // Get the new sample size increase price, sample size, range, and scale
6562 let FastUpdatesIncentiveManager :: getCurrentSampleSizeIncreasePriceReturn {
@@ -72,12 +69,9 @@ async fn main() -> Result<()> {
7269 incentive. getRange ( ) . call ( ) . await ?;
7370 let FastUpdatesIncentiveManager :: getScaleReturn { _0 : scale } =
7471 incentive. getScale ( ) . call ( ) . await ?;
75- println ! (
76- "Sample Size Increase Price: {:?} " ,
77- sample_size_increase_price
78- ) ;
79- println ! ( "Current Sample Size: {:?} " , exp_sample_size) ;
80- println ! ( "Current Range: {:?} " , range) ;
81- println ! ( "Current Scale: {:?} " , scale) ;
72+ println ! ( "Sample Size Increase Price: {sample_size_increase_price:?} " ) ;
73+ println ! ( "Current Sample Size: {exp_sample_size:?}" ) ;
74+ println ! ( "Current Range: {range:?}" ) ;
75+ println ! ( "Current Scale: {scale:?}" ) ;
8276 Ok ( ( ) )
8377}
0 commit comments