func (s *FullContractState) View(cb func(AccessInterface) error) error {
	return s.tree.View(func(tx csmt.TreeTransactionAccess) error {
		return cb(newFullShardStateAccess(tx.(*csmt.TreeTransaction)))
	})
}
// View views the underlying state.
View views the underlying state.
// View views the underlying state .
func (s *FullContractState) View(cb func(AccessInterface) error) error {
	return s.tree.View(func(tx csmt.TreeTransactionAccess) error {
		return cb(newFullShardStateAccess(tx.(*csmt.TreeTransaction)))
	})
}
func ( s * FullContractState ) View ( cb func ( AccessInterface ) error ) error { return s . tree . View ( func ( tx csmt . TreeTransactionAccess ) error { return cb ( newFullShardStateAccess ( tx . ( * csmt . TreeTransaction ) ) ) } ) }
View views the underlying state.
View views the underlying state .