fn raw_encode(&self) -> Bytes {
        let tokens = vec![
            Token::Uint(self.seed),
            Token::Uint(self.nonce),
            Token::Array(self.worker_params.workers.iter().map(|a| Token::Address(*a)).collect()),
            Token::Array(self.worker_params.stakes.iter().map(|s| Token::Uint(*s)).collect()),
        ];
        encode(&tokens)
    }
/// Encode the Epoch as Ethereum ABI parameters
Encode the Epoch as Ethereum ABI parameters
Encode the Epoch as Ethereum ABI parameters
fn raw_encode(&self) -> Bytes {
        let tokens = vec![
            Token::Uint(self.seed),
            Token::Uint(self.nonce),
            Token::Array(self.worker_params.workers.iter().map(|a| Token::Address(*a)).collect()),
            Token::Array(self.worker_params.stakes.iter().map(|s| Token::Uint(*s)).collect()),
        ];
        encode(&tokens)
    }
fn raw_encode ( & self ) -> Bytes { let tokens = vec ! [ Token Uint ( self seed ) Token Uint ( self nonce ) Token Array ( self worker_params workers iter ( ) map ( a Token Address ( a ) ) collect ( ) ) Token Array ( self worker_params stakes iter ( ) map ( s Token Uint ( s ) ) collect ( ) ) ] ; encode ( & tokens ) }
Encode the Epoch as Ethereum ABI parameters
Encode the Epoch as Ethereum ABI parameters
&self
&self